xactengine3_7: Implement IXACT3SoundBank Interface.
[wine.git] / configure
blob13c2078221ca62dd6f9a013a531abfb55b782a78
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.14.
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.14'
584 PACKAGE_STRING='Wine 5.14'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_LIBS
636 VKD3D_CFLAGS
637 NETAPI_LIBS
638 NETAPI_CFLAGS
639 PROCSTAT_LIBS
640 KSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 GSSAPI_LIBS
650 GSSAPI_CFLAGS
651 KRB5_LIBS
652 KRB5_CFLAGS
653 FONTCONFIG_LIBS
654 FONTCONFIG_CFLAGS
655 CUPS_LIBS
656 CUPS_CFLAGS
657 CAPI20_LIBS
658 CAPI20_CFLAGS
659 FAUDIO_LIBS
660 FAUDIO_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UNWIND_LIBS
664 UNWIND_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_LIBS
668 OSS4_CFLAGS
669 ALSA_LIBS
670 GSTREAMER_LIBS
671 GSTREAMER_CFLAGS
672 PULSE_LIBS
673 PULSE_CFLAGS
674 GETTEXTPO_LIBS
675 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 USB_LIBS
685 USB_CFLAGS
686 SANE_LIBS
687 SANE_CFLAGS
688 GNUTLS_LIBS
689 GNUTLS_CFLAGS
690 HAL_LIBS
691 HAL_CFLAGS
692 DBUS_LIBS
693 DBUS_CFLAGS
694 INOTIFY_LIBS
695 INOTIFY_CFLAGS
696 XSLT_LIBS
697 XSLT_CFLAGS
698 XML2_LIBS
699 XML2_CFLAGS
700 PCAP_LIBS
701 X_EXTRA_LIBS
702 X_LIBS
703 X_PRE_LIBS
704 X_CFLAGS
705 XMKMF
706 PTHREAD_LIBS
707 EXCESS_PRECISION_CFLAGS
708 CROSSDEBUG
709 DELAYLOADFLAG
710 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 LDEXECFLAGS
752 LDDLLFLAGS
753 LDRPATH_LOCAL
754 LDRPATH_INSTALL
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 enable_werror
845 with_alsa
846 with_capi
847 with_cms
848 with_coreaudio
849 with_cups
850 with_curses
851 with_dbus
852 with_faudio
853 with_float_abi
854 with_fontconfig
855 with_freetype
856 with_gettext
857 with_gettextpo
858 with_gphoto
859 with_glu
860 with_gnutls
861 with_gsm
862 with_gssapi
863 with_gstreamer
864 with_hal
865 with_inotify
866 with_jpeg
867 with_krb5
868 with_ldap
869 with_mingw
870 with_mpg123
871 with_netapi
872 with_openal
873 with_opencl
874 with_opengl
875 with_osmesa
876 with_oss
877 with_pcap
878 with_png
879 with_pthread
880 with_pulse
881 with_sane
882 with_sdl
883 with_tiff
884 with_udev
885 with_unwind
886 with_usb
887 with_v4l2
888 with_vkd3d
889 with_vulkan
890 with_xcomposite
891 with_xcursor
892 with_xfixes
893 with_xinerama
894 with_xinput
895 with_xinput2
896 with_xml
897 with_xrandr
898 with_xrender
899 with_xshape
900 with_xshm
901 with_xslt
902 with_xxf86vm
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_adsiid
913 enable_adsldp
914 enable_adsldpc
915 enable_advapi32
916 enable_advpack
917 enable_amsi
918 enable_amstream
919 enable_api_ms_win_appmodel_identity_l1_1_0
920 enable_api_ms_win_appmodel_runtime_l1_1_1
921 enable_api_ms_win_appmodel_runtime_l1_1_2
922 enable_api_ms_win_core_apiquery_l1_1_0
923 enable_api_ms_win_core_appcompat_l1_1_1
924 enable_api_ms_win_core_appinit_l1_1_0
925 enable_api_ms_win_core_atoms_l1_1_0
926 enable_api_ms_win_core_bem_l1_1_0
927 enable_api_ms_win_core_com_l1_1_0
928 enable_api_ms_win_core_com_l1_1_1
929 enable_api_ms_win_core_com_private_l1_1_0
930 enable_api_ms_win_core_comm_l1_1_0
931 enable_api_ms_win_core_console_l1_1_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_crt_l1_1_0
934 enable_api_ms_win_core_crt_l2_1_0
935 enable_api_ms_win_core_datetime_l1_1_0
936 enable_api_ms_win_core_datetime_l1_1_1
937 enable_api_ms_win_core_debug_l1_1_0
938 enable_api_ms_win_core_debug_l1_1_1
939 enable_api_ms_win_core_delayload_l1_1_0
940 enable_api_ms_win_core_delayload_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_0
942 enable_api_ms_win_core_errorhandling_l1_1_1
943 enable_api_ms_win_core_errorhandling_l1_1_2
944 enable_api_ms_win_core_errorhandling_l1_1_3
945 enable_api_ms_win_core_fibers_l1_1_0
946 enable_api_ms_win_core_fibers_l1_1_1
947 enable_api_ms_win_core_file_ansi_l2_1_0
948 enable_api_ms_win_core_file_fromapp_l1_1_0
949 enable_api_ms_win_core_file_l1_1_0
950 enable_api_ms_win_core_file_l1_2_0
951 enable_api_ms_win_core_file_l1_2_1
952 enable_api_ms_win_core_file_l1_2_2
953 enable_api_ms_win_core_file_l2_1_0
954 enable_api_ms_win_core_file_l2_1_1
955 enable_api_ms_win_core_file_l2_1_2
956 enable_api_ms_win_core_handle_l1_1_0
957 enable_api_ms_win_core_heap_l1_1_0
958 enable_api_ms_win_core_heap_l1_2_0
959 enable_api_ms_win_core_heap_l2_1_0
960 enable_api_ms_win_core_heap_obsolete_l1_1_0
961 enable_api_ms_win_core_interlocked_l1_1_0
962 enable_api_ms_win_core_interlocked_l1_2_0
963 enable_api_ms_win_core_io_l1_1_0
964 enable_api_ms_win_core_io_l1_1_1
965 enable_api_ms_win_core_job_l1_1_0
966 enable_api_ms_win_core_job_l2_1_0
967 enable_api_ms_win_core_kernel32_legacy_l1_1_0
968 enable_api_ms_win_core_kernel32_legacy_l1_1_1
969 enable_api_ms_win_core_kernel32_private_l1_1_1
970 enable_api_ms_win_core_largeinteger_l1_1_0
971 enable_api_ms_win_core_libraryloader_l1_1_0
972 enable_api_ms_win_core_libraryloader_l1_1_1
973 enable_api_ms_win_core_libraryloader_l1_2_0
974 enable_api_ms_win_core_libraryloader_l1_2_1
975 enable_api_ms_win_core_libraryloader_l1_2_2
976 enable_api_ms_win_core_libraryloader_l2_1_0
977 enable_api_ms_win_core_localization_l1_1_0
978 enable_api_ms_win_core_localization_l1_2_0
979 enable_api_ms_win_core_localization_l1_2_1
980 enable_api_ms_win_core_localization_l1_2_2
981 enable_api_ms_win_core_localization_l2_1_0
982 enable_api_ms_win_core_localization_obsolete_l1_1_0
983 enable_api_ms_win_core_localization_obsolete_l1_2_0
984 enable_api_ms_win_core_localization_obsolete_l1_3_0
985 enable_api_ms_win_core_localization_private_l1_1_0
986 enable_api_ms_win_core_localregistry_l1_1_0
987 enable_api_ms_win_core_memory_l1_1_0
988 enable_api_ms_win_core_memory_l1_1_1
989 enable_api_ms_win_core_memory_l1_1_2
990 enable_api_ms_win_core_memory_l1_1_3
991 enable_api_ms_win_core_memory_l1_1_4
992 enable_api_ms_win_core_misc_l1_1_0
993 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
994 enable_api_ms_win_core_namedpipe_l1_1_0
995 enable_api_ms_win_core_namedpipe_l1_2_0
996 enable_api_ms_win_core_namespace_l1_1_0
997 enable_api_ms_win_core_normalization_l1_1_0
998 enable_api_ms_win_core_path_l1_1_0
999 enable_api_ms_win_core_privateprofile_l1_1_1
1000 enable_api_ms_win_core_processenvironment_l1_1_0
1001 enable_api_ms_win_core_processenvironment_l1_2_0
1002 enable_api_ms_win_core_processthreads_l1_1_0
1003 enable_api_ms_win_core_processthreads_l1_1_1
1004 enable_api_ms_win_core_processthreads_l1_1_2
1005 enable_api_ms_win_core_processthreads_l1_1_3
1006 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1007 enable_api_ms_win_core_profile_l1_1_0
1008 enable_api_ms_win_core_psapi_ansi_l1_1_0
1009 enable_api_ms_win_core_psapi_l1_1_0
1010 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1011 enable_api_ms_win_core_quirks_l1_1_0
1012 enable_api_ms_win_core_realtime_l1_1_0
1013 enable_api_ms_win_core_registry_l1_1_0
1014 enable_api_ms_win_core_registry_l2_1_0
1015 enable_api_ms_win_core_registry_l2_2_0
1016 enable_api_ms_win_core_registryuserspecific_l1_1_0
1017 enable_api_ms_win_core_rtlsupport_l1_1_0
1018 enable_api_ms_win_core_rtlsupport_l1_2_0
1019 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1020 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1021 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1022 enable_api_ms_win_core_shutdown_l1_1_0
1023 enable_api_ms_win_core_sidebyside_l1_1_0
1024 enable_api_ms_win_core_string_l1_1_0
1025 enable_api_ms_win_core_string_l2_1_0
1026 enable_api_ms_win_core_string_obsolete_l1_1_0
1027 enable_api_ms_win_core_stringansi_l1_1_0
1028 enable_api_ms_win_core_stringloader_l1_1_1
1029 enable_api_ms_win_core_synch_ansi_l1_1_0
1030 enable_api_ms_win_core_synch_l1_1_0
1031 enable_api_ms_win_core_synch_l1_2_0
1032 enable_api_ms_win_core_synch_l1_2_1
1033 enable_api_ms_win_core_sysinfo_l1_1_0
1034 enable_api_ms_win_core_sysinfo_l1_2_0
1035 enable_api_ms_win_core_sysinfo_l1_2_1
1036 enable_api_ms_win_core_systemtopology_l1_1_0
1037 enable_api_ms_win_core_threadpool_l1_1_0
1038 enable_api_ms_win_core_threadpool_l1_2_0
1039 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1040 enable_api_ms_win_core_threadpool_private_l1_1_0
1041 enable_api_ms_win_core_timezone_l1_1_0
1042 enable_api_ms_win_core_toolhelp_l1_1_0
1043 enable_api_ms_win_core_url_l1_1_0
1044 enable_api_ms_win_core_util_l1_1_0
1045 enable_api_ms_win_core_version_l1_1_0
1046 enable_api_ms_win_core_version_l1_1_1
1047 enable_api_ms_win_core_version_private_l1_1_0
1048 enable_api_ms_win_core_versionansi_l1_1_0
1049 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1050 enable_api_ms_win_core_winrt_error_l1_1_0
1051 enable_api_ms_win_core_winrt_error_l1_1_1
1052 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1053 enable_api_ms_win_core_winrt_l1_1_0
1054 enable_api_ms_win_core_winrt_registration_l1_1_0
1055 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1056 enable_api_ms_win_core_winrt_string_l1_1_0
1057 enable_api_ms_win_core_winrt_string_l1_1_1
1058 enable_api_ms_win_core_wow64_l1_1_0
1059 enable_api_ms_win_core_wow64_l1_1_1
1060 enable_api_ms_win_core_xstate_l1_1_0
1061 enable_api_ms_win_core_xstate_l2_1_0
1062 enable_api_ms_win_crt_conio_l1_1_0
1063 enable_api_ms_win_crt_convert_l1_1_0
1064 enable_api_ms_win_crt_environment_l1_1_0
1065 enable_api_ms_win_crt_filesystem_l1_1_0
1066 enable_api_ms_win_crt_heap_l1_1_0
1067 enable_api_ms_win_crt_locale_l1_1_0
1068 enable_api_ms_win_crt_math_l1_1_0
1069 enable_api_ms_win_crt_multibyte_l1_1_0
1070 enable_api_ms_win_crt_private_l1_1_0
1071 enable_api_ms_win_crt_process_l1_1_0
1072 enable_api_ms_win_crt_runtime_l1_1_0
1073 enable_api_ms_win_crt_stdio_l1_1_0
1074 enable_api_ms_win_crt_string_l1_1_0
1075 enable_api_ms_win_crt_time_l1_1_0
1076 enable_api_ms_win_crt_utility_l1_1_0
1077 enable_api_ms_win_devices_config_l1_1_0
1078 enable_api_ms_win_devices_config_l1_1_1
1079 enable_api_ms_win_devices_query_l1_1_1
1080 enable_api_ms_win_downlevel_advapi32_l1_1_0
1081 enable_api_ms_win_downlevel_advapi32_l2_1_0
1082 enable_api_ms_win_downlevel_kernel32_l2_1_0
1083 enable_api_ms_win_downlevel_normaliz_l1_1_0
1084 enable_api_ms_win_downlevel_ole32_l1_1_0
1085 enable_api_ms_win_downlevel_shell32_l1_1_0
1086 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1087 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1088 enable_api_ms_win_downlevel_user32_l1_1_0
1089 enable_api_ms_win_downlevel_version_l1_1_0
1090 enable_api_ms_win_dx_d3dkmt_l1_1_0
1091 enable_api_ms_win_eventing_classicprovider_l1_1_0
1092 enable_api_ms_win_eventing_consumer_l1_1_0
1093 enable_api_ms_win_eventing_controller_l1_1_0
1094 enable_api_ms_win_eventing_legacy_l1_1_0
1095 enable_api_ms_win_eventing_provider_l1_1_0
1096 enable_api_ms_win_eventlog_legacy_l1_1_0
1097 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1098 enable_api_ms_win_mm_joystick_l1_1_0
1099 enable_api_ms_win_mm_misc_l1_1_1
1100 enable_api_ms_win_mm_mme_l1_1_0
1101 enable_api_ms_win_mm_time_l1_1_0
1102 enable_api_ms_win_ntuser_dc_access_l1_1_0
1103 enable_api_ms_win_ntuser_rectangle_l1_1_0
1104 enable_api_ms_win_ntuser_sysparams_l1_1_0
1105 enable_api_ms_win_perf_legacy_l1_1_0
1106 enable_api_ms_win_power_base_l1_1_0
1107 enable_api_ms_win_power_setting_l1_1_0
1108 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1110 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1111 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1115 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1116 enable_api_ms_win_security_audit_l1_1_1
1117 enable_api_ms_win_security_base_l1_1_0
1118 enable_api_ms_win_security_base_l1_2_0
1119 enable_api_ms_win_security_base_private_l1_1_1
1120 enable_api_ms_win_security_credentials_l1_1_0
1121 enable_api_ms_win_security_cryptoapi_l1_1_0
1122 enable_api_ms_win_security_grouppolicy_l1_1_0
1123 enable_api_ms_win_security_lsalookup_l1_1_0
1124 enable_api_ms_win_security_lsalookup_l1_1_1
1125 enable_api_ms_win_security_lsalookup_l2_1_0
1126 enable_api_ms_win_security_lsalookup_l2_1_1
1127 enable_api_ms_win_security_lsapolicy_l1_1_0
1128 enable_api_ms_win_security_provider_l1_1_0
1129 enable_api_ms_win_security_sddl_l1_1_0
1130 enable_api_ms_win_security_systemfunctions_l1_1_0
1131 enable_api_ms_win_service_core_l1_1_0
1132 enable_api_ms_win_service_core_l1_1_1
1133 enable_api_ms_win_service_management_l1_1_0
1134 enable_api_ms_win_service_management_l2_1_0
1135 enable_api_ms_win_service_private_l1_1_1
1136 enable_api_ms_win_service_winsvc_l1_1_0
1137 enable_api_ms_win_service_winsvc_l1_2_0
1138 enable_api_ms_win_shcore_obsolete_l1_1_0
1139 enable_api_ms_win_shcore_scaling_l1_1_1
1140 enable_api_ms_win_shcore_stream_l1_1_0
1141 enable_api_ms_win_shcore_thread_l1_1_0
1142 enable_api_ms_win_shell_shellcom_l1_1_0
1143 enable_api_ms_win_shell_shellfolders_l1_1_0
1144 enable_apphelp
1145 enable_appwiz_cpl
1146 enable_atl
1147 enable_atl100
1148 enable_atl110
1149 enable_atl80
1150 enable_atl90
1151 enable_atlthunk
1152 enable_atmlib
1153 enable_authz
1154 enable_avicap32
1155 enable_avifil32
1156 enable_avrt
1157 enable_bcrypt
1158 enable_bluetoothapis
1159 enable_browseui
1160 enable_bthprops_cpl
1161 enable_cabinet
1162 enable_capi2032
1163 enable_cards
1164 enable_cdosys
1165 enable_cfgmgr32
1166 enable_clusapi
1167 enable_combase
1168 enable_comcat
1169 enable_comctl32
1170 enable_comdlg32
1171 enable_compstui
1172 enable_comsvcs
1173 enable_concrt140
1174 enable_connect
1175 enable_credui
1176 enable_crtdll
1177 enable_crypt32
1178 enable_cryptdlg
1179 enable_cryptdll
1180 enable_cryptext
1181 enable_cryptnet
1182 enable_cryptui
1183 enable_ctapi32
1184 enable_ctl3d32
1185 enable_d2d1
1186 enable_d3d10
1187 enable_d3d10_1
1188 enable_d3d10core
1189 enable_d3d11
1190 enable_d3d12
1191 enable_d3d8
1192 enable_d3d9
1193 enable_d3dcompiler_33
1194 enable_d3dcompiler_34
1195 enable_d3dcompiler_35
1196 enable_d3dcompiler_36
1197 enable_d3dcompiler_37
1198 enable_d3dcompiler_38
1199 enable_d3dcompiler_39
1200 enable_d3dcompiler_40
1201 enable_d3dcompiler_41
1202 enable_d3dcompiler_42
1203 enable_d3dcompiler_43
1204 enable_d3dcompiler_46
1205 enable_d3dcompiler_47
1206 enable_d3dim
1207 enable_d3drm
1208 enable_d3dx10_33
1209 enable_d3dx10_34
1210 enable_d3dx10_35
1211 enable_d3dx10_36
1212 enable_d3dx10_37
1213 enable_d3dx10_38
1214 enable_d3dx10_39
1215 enable_d3dx10_40
1216 enable_d3dx10_41
1217 enable_d3dx10_42
1218 enable_d3dx10_43
1219 enable_d3dx11_42
1220 enable_d3dx11_43
1221 enable_d3dx9_24
1222 enable_d3dx9_25
1223 enable_d3dx9_26
1224 enable_d3dx9_27
1225 enable_d3dx9_28
1226 enable_d3dx9_29
1227 enable_d3dx9_30
1228 enable_d3dx9_31
1229 enable_d3dx9_32
1230 enable_d3dx9_33
1231 enable_d3dx9_34
1232 enable_d3dx9_35
1233 enable_d3dx9_36
1234 enable_d3dx9_37
1235 enable_d3dx9_38
1236 enable_d3dx9_39
1237 enable_d3dx9_40
1238 enable_d3dx9_41
1239 enable_d3dx9_42
1240 enable_d3dx9_43
1241 enable_d3dxof
1242 enable_davclnt
1243 enable_dbgeng
1244 enable_dbghelp
1245 enable_dciman32
1246 enable_ddraw
1247 enable_ddrawex
1248 enable_devenum
1249 enable_dhcpcsvc
1250 enable_dhtmled_ocx
1251 enable_difxapi
1252 enable_dinput
1253 enable_dinput8
1254 enable_directmanipulation
1255 enable_dispex
1256 enable_dmband
1257 enable_dmcompos
1258 enable_dmime
1259 enable_dmloader
1260 enable_dmoguids
1261 enable_dmscript
1262 enable_dmstyle
1263 enable_dmsynth
1264 enable_dmusic
1265 enable_dmusic32
1266 enable_dnsapi
1267 enable_dplay
1268 enable_dplayx
1269 enable_dpnaddr
1270 enable_dpnet
1271 enable_dpnhpast
1272 enable_dpnlobby
1273 enable_dpvoice
1274 enable_dpwsockx
1275 enable_drmclien
1276 enable_dsdmo
1277 enable_dsound
1278 enable_dsquery
1279 enable_dssenh
1280 enable_dsuiext
1281 enable_dswave
1282 enable_dwmapi
1283 enable_dwrite
1284 enable_dx8vb
1285 enable_dxdiagn
1286 enable_dxerr8
1287 enable_dxerr9
1288 enable_dxgi
1289 enable_dxguid
1290 enable_dxva2
1291 enable_esent
1292 enable_evr
1293 enable_explorerframe
1294 enable_ext_ms_win_authz_context_l1_1_0
1295 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1296 enable_ext_ms_win_dwmapi_ext_l1_1_0
1297 enable_ext_ms_win_gdi_dc_create_l1_1_0
1298 enable_ext_ms_win_gdi_dc_create_l1_1_1
1299 enable_ext_ms_win_gdi_dc_l1_2_0
1300 enable_ext_ms_win_gdi_devcaps_l1_1_0
1301 enable_ext_ms_win_gdi_draw_l1_1_0
1302 enable_ext_ms_win_gdi_draw_l1_1_1
1303 enable_ext_ms_win_gdi_font_l1_1_0
1304 enable_ext_ms_win_gdi_font_l1_1_1
1305 enable_ext_ms_win_gdi_render_l1_1_0
1306 enable_ext_ms_win_kernel32_package_current_l1_1_0
1307 enable_ext_ms_win_kernel32_package_l1_1_1
1308 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1309 enable_ext_ms_win_ntuser_draw_l1_1_0
1310 enable_ext_ms_win_ntuser_gui_l1_1_0
1311 enable_ext_ms_win_ntuser_gui_l1_3_0
1312 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1313 enable_ext_ms_win_ntuser_message_l1_1_0
1314 enable_ext_ms_win_ntuser_message_l1_1_1
1315 enable_ext_ms_win_ntuser_misc_l1_1_0
1316 enable_ext_ms_win_ntuser_misc_l1_2_0
1317 enable_ext_ms_win_ntuser_misc_l1_5_1
1318 enable_ext_ms_win_ntuser_mouse_l1_1_0
1319 enable_ext_ms_win_ntuser_private_l1_1_1
1320 enable_ext_ms_win_ntuser_private_l1_3_1
1321 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1322 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1323 enable_ext_ms_win_ntuser_window_l1_1_0
1324 enable_ext_ms_win_ntuser_window_l1_1_1
1325 enable_ext_ms_win_ntuser_window_l1_1_4
1326 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1327 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1328 enable_ext_ms_win_oleacc_l1_1_0
1329 enable_ext_ms_win_ras_rasapi32_l1_1_0
1330 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1331 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1332 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1333 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1334 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1335 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1336 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1337 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1338 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1339 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1340 enable_ext_ms_win_security_credui_l1_1_0
1341 enable_ext_ms_win_security_cryptui_l1_1_0
1342 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1343 enable_ext_ms_win_shell_comdlg32_l1_1_0
1344 enable_ext_ms_win_shell_shell32_l1_2_0
1345 enable_ext_ms_win_uxtheme_themes_l1_1_0
1346 enable_faultrep
1347 enable_feclient
1348 enable_fltlib
1349 enable_fltmgr_sys
1350 enable_fntcache
1351 enable_fontsub
1352 enable_fusion
1353 enable_fwpuclnt
1354 enable_gameux
1355 enable_gdi32
1356 enable_gdiplus
1357 enable_glu32
1358 enable_gphoto2_ds
1359 enable_gpkcsp
1360 enable_hal
1361 enable_hhctrl_ocx
1362 enable_hid
1363 enable_hidclass_sys
1364 enable_hlink
1365 enable_hnetcfg
1366 enable_http_sys
1367 enable_httpapi
1368 enable_iccvid
1369 enable_icmp
1370 enable_ieframe
1371 enable_ieproxy
1372 enable_imaadp32_acm
1373 enable_imagehlp
1374 enable_imm32
1375 enable_inetcomm
1376 enable_inetcpl_cpl
1377 enable_inetmib1
1378 enable_infosoft
1379 enable_initpki
1380 enable_inkobj
1381 enable_inseng
1382 enable_iphlpapi
1383 enable_iprop
1384 enable_irprops_cpl
1385 enable_itircl
1386 enable_itss
1387 enable_joy_cpl
1388 enable_jscript
1389 enable_jsproxy
1390 enable_kerberos
1391 enable_kernel32
1392 enable_kernelbase
1393 enable_ksecdd_sys
1394 enable_ksproxy_ax
1395 enable_ksuser
1396 enable_ktmw32
1397 enable_l3codeca_acm
1398 enable_loadperf
1399 enable_localspl
1400 enable_localui
1401 enable_lz32
1402 enable_mapi32
1403 enable_mapistub
1404 enable_mciavi32
1405 enable_mcicda
1406 enable_mciqtz32
1407 enable_mciseq
1408 enable_mciwave
1409 enable_mf
1410 enable_mf3216
1411 enable_mferror
1412 enable_mfmediaengine
1413 enable_mfplat
1414 enable_mfplay
1415 enable_mfreadwrite
1416 enable_mfuuid
1417 enable_mgmtapi
1418 enable_midimap
1419 enable_mlang
1420 enable_mmcndmgr
1421 enable_mmdevapi
1422 enable_mountmgr_sys
1423 enable_mp3dmod
1424 enable_mpr
1425 enable_mprapi
1426 enable_msacm32_drv
1427 enable_msacm32
1428 enable_msado15
1429 enable_msadp32_acm
1430 enable_msasn1
1431 enable_mscat32
1432 enable_mscms
1433 enable_mscoree
1434 enable_mscorwks
1435 enable_msctf
1436 enable_msctfp
1437 enable_msdaps
1438 enable_msdelta
1439 enable_msdmo
1440 enable_msdrm
1441 enable_msftedit
1442 enable_msg711_acm
1443 enable_msgsm32_acm
1444 enable_mshtml_tlb
1445 enable_mshtml
1446 enable_msi
1447 enable_msident
1448 enable_msimg32
1449 enable_msimsg
1450 enable_msimtf
1451 enable_msisip
1452 enable_msisys_ocx
1453 enable_msls31
1454 enable_msnet32
1455 enable_mspatcha
1456 enable_msports
1457 enable_msrle32
1458 enable_msscript_ocx
1459 enable_mssign32
1460 enable_mssip32
1461 enable_mstask
1462 enable_msvcirt
1463 enable_msvcm80
1464 enable_msvcm90
1465 enable_msvcp100
1466 enable_msvcp110
1467 enable_msvcp120
1468 enable_msvcp120_app
1469 enable_msvcp140
1470 enable_msvcp140_1
1471 enable_msvcp60
1472 enable_msvcp70
1473 enable_msvcp71
1474 enable_msvcp80
1475 enable_msvcp90
1476 enable_msvcr100
1477 enable_msvcr110
1478 enable_msvcr120
1479 enable_msvcr120_app
1480 enable_msvcr70
1481 enable_msvcr71
1482 enable_msvcr80
1483 enable_msvcr90
1484 enable_msvcrt
1485 enable_msvcrt20
1486 enable_msvcrt40
1487 enable_msvcrtd
1488 enable_msvfw32
1489 enable_msvidc32
1490 enable_mswsock
1491 enable_msxml
1492 enable_msxml2
1493 enable_msxml3
1494 enable_msxml4
1495 enable_msxml6
1496 enable_mtxdm
1497 enable_ncrypt
1498 enable_nddeapi
1499 enable_ndis_sys
1500 enable_netapi32
1501 enable_netcfgx
1502 enable_netio_sys
1503 enable_netprofm
1504 enable_newdev
1505 enable_ninput
1506 enable_normaliz
1507 enable_npmshtml
1508 enable_npptools
1509 enable_ntdll
1510 enable_ntdsapi
1511 enable_ntoskrnl_exe
1512 enable_ntprint
1513 enable_objsel
1514 enable_odbc32
1515 enable_odbcbcp
1516 enable_odbccp32
1517 enable_odbccu32
1518 enable_ole32
1519 enable_oleacc
1520 enable_oleaut32
1521 enable_olecli32
1522 enable_oledb32
1523 enable_oledlg
1524 enable_olepro32
1525 enable_olesvr32
1526 enable_olethk32
1527 enable_opcservices
1528 enable_openal32
1529 enable_opencl
1530 enable_opengl32
1531 enable_packager
1532 enable_pdh
1533 enable_photometadatahandler
1534 enable_pidgen
1535 enable_powrprof
1536 enable_printui
1537 enable_prntvpt
1538 enable_propsys
1539 enable_psapi
1540 enable_pstorec
1541 enable_pwrshplugin
1542 enable_qasf
1543 enable_qcap
1544 enable_qdvd
1545 enable_qedit
1546 enable_qmgr
1547 enable_qmgrprxy
1548 enable_quartz
1549 enable_query
1550 enable_qwave
1551 enable_rasapi32
1552 enable_rasdlg
1553 enable_regapi
1554 enable_resutils
1555 enable_riched20
1556 enable_riched32
1557 enable_rpcrt4
1558 enable_rsabase
1559 enable_rsaenh
1560 enable_rstrtmgr
1561 enable_rtutils
1562 enable_rtworkq
1563 enable_samlib
1564 enable_sane_ds
1565 enable_sapi
1566 enable_sas
1567 enable_scarddlg
1568 enable_sccbase
1569 enable_schannel
1570 enable_schedsvc
1571 enable_scrobj
1572 enable_scrrun
1573 enable_scsiport_sys
1574 enable_sechost
1575 enable_secur32
1576 enable_security
1577 enable_sensapi
1578 enable_serialui
1579 enable_setupapi
1580 enable_sfc
1581 enable_sfc_os
1582 enable_shcore
1583 enable_shdoclc
1584 enable_shdocvw
1585 enable_shell32
1586 enable_shfolder
1587 enable_shlwapi
1588 enable_slbcsp
1589 enable_slc
1590 enable_snmpapi
1591 enable_softpub
1592 enable_spoolss
1593 enable_srclient
1594 enable_sspicli
1595 enable_stdole2_tlb
1596 enable_stdole32_tlb
1597 enable_sti
1598 enable_strmbase
1599 enable_strmdll
1600 enable_strmiids
1601 enable_svrapi
1602 enable_sxs
1603 enable_t2embed
1604 enable_tapi32
1605 enable_taskschd
1606 enable_tdh
1607 enable_tdi_sys
1608 enable_traffic
1609 enable_twain_32
1610 enable_tzres
1611 enable_ucrtbase
1612 enable_uianimation
1613 enable_uiautomationcore
1614 enable_uiribbon
1615 enable_unicows
1616 enable_updspapi
1617 enable_url
1618 enable_urlmon
1619 enable_usbd_sys
1620 enable_user32
1621 enable_userenv
1622 enable_usp10
1623 enable_utildll
1624 enable_uuid
1625 enable_uxtheme
1626 enable_vbscript
1627 enable_vcomp
1628 enable_vcomp100
1629 enable_vcomp110
1630 enable_vcomp120
1631 enable_vcomp140
1632 enable_vcomp90
1633 enable_vcruntime140
1634 enable_vcruntime140_1
1635 enable_vdmdbg
1636 enable_version
1637 enable_vga
1638 enable_virtdisk
1639 enable_vssapi
1640 enable_vulkan_1
1641 enable_wbemdisp
1642 enable_wbemprox
1643 enable_wbemuuid
1644 enable_wdscore
1645 enable_webservices
1646 enable_wer
1647 enable_wevtapi
1648 enable_wiaservc
1649 enable_wimgapi
1650 enable_windowscodecs
1651 enable_windowscodecsext
1652 enable_winealsa_drv
1653 enable_wineandroid_drv
1654 enable_winebus_sys
1655 enable_winecoreaudio_drv
1656 enable_winecrt0
1657 enable_wined3d
1658 enable_winegstreamer
1659 enable_winehid_sys
1660 enable_winejoystick_drv
1661 enable_winemac_drv
1662 enable_winemapi
1663 enable_wineoss_drv
1664 enable_wineps_drv
1665 enable_winepulse_drv
1666 enable_wineqtdecoder
1667 enable_wineusb_sys
1668 enable_winevulkan
1669 enable_winex11_drv
1670 enable_wing32
1671 enable_winhttp
1672 enable_wininet
1673 enable_winmm
1674 enable_winnls32
1675 enable_winscard
1676 enable_winspool_drv
1677 enable_winsta
1678 enable_wintab32
1679 enable_wintrust
1680 enable_winusb
1681 enable_wlanapi
1682 enable_wlanui
1683 enable_wldap32
1684 enable_wmasf
1685 enable_wmcodecdspuuid
1686 enable_wmi
1687 enable_wmiutils
1688 enable_wmp
1689 enable_wmphoto
1690 enable_wmvcore
1691 enable_wnaspi32
1692 enable_wpc
1693 enable_wpcap
1694 enable_ws2_32
1695 enable_wsdapi
1696 enable_wshom_ocx
1697 enable_wsnmp32
1698 enable_wsock32
1699 enable_wtsapi32
1700 enable_wuapi
1701 enable_wuaueng
1702 enable_x3daudio1_0
1703 enable_x3daudio1_1
1704 enable_x3daudio1_2
1705 enable_x3daudio1_3
1706 enable_x3daudio1_4
1707 enable_x3daudio1_5
1708 enable_x3daudio1_6
1709 enable_x3daudio1_7
1710 enable_xactengine3_7
1711 enable_xapofx1_1
1712 enable_xapofx1_2
1713 enable_xapofx1_3
1714 enable_xapofx1_4
1715 enable_xapofx1_5
1716 enable_xaudio2_0
1717 enable_xaudio2_1
1718 enable_xaudio2_2
1719 enable_xaudio2_3
1720 enable_xaudio2_4
1721 enable_xaudio2_5
1722 enable_xaudio2_6
1723 enable_xaudio2_7
1724 enable_xaudio2_8
1725 enable_xaudio2_9
1726 enable_xinput1_1
1727 enable_xinput1_2
1728 enable_xinput1_3
1729 enable_xinput1_4
1730 enable_xinput9_1_0
1731 enable_xmllite
1732 enable_xolehlp
1733 enable_xpsprint
1734 enable_xpssvcs
1735 enable_fonts
1736 enable_include
1737 enable_port
1738 enable_wine
1739 enable_wpp
1740 enable_loader
1741 enable_nls
1742 enable_po
1743 enable_arp
1744 enable_aspnet_regiis
1745 enable_attrib
1746 enable_cabarc
1747 enable_cacls
1748 enable_chcp_com
1749 enable_clock
1750 enable_cmd
1751 enable_conhost
1752 enable_control
1753 enable_cscript
1754 enable_dism
1755 enable_dpnsvr
1756 enable_dxdiag
1757 enable_eject
1758 enable_expand
1759 enable_explorer
1760 enable_extrac32
1761 enable_fc
1762 enable_find
1763 enable_findstr
1764 enable_fsutil
1765 enable_hh
1766 enable_hostname
1767 enable_icacls
1768 enable_icinfo
1769 enable_iexplore
1770 enable_ipconfig
1771 enable_lodctr
1772 enable_mofcomp
1773 enable_mshta
1774 enable_msidb
1775 enable_msiexec
1776 enable_msinfo32
1777 enable_net
1778 enable_netsh
1779 enable_netstat
1780 enable_ngen
1781 enable_notepad
1782 enable_oleview
1783 enable_ping
1784 enable_plugplay
1785 enable_powershell
1786 enable_presentationfontcache
1787 enable_progman
1788 enable_reg
1789 enable_regasm
1790 enable_regedit
1791 enable_regini
1792 enable_regsvcs
1793 enable_regsvr32
1794 enable_rpcss
1795 enable_rundll32
1796 enable_sc
1797 enable_schtasks
1798 enable_sdbinst
1799 enable_secedit
1800 enable_servicemodelreg
1801 enable_services
1802 enable_shutdown
1803 enable_spoolsv
1804 enable_start
1805 enable_subst
1806 enable_svchost
1807 enable_systeminfo
1808 enable_taskkill
1809 enable_tasklist
1810 enable_taskmgr
1811 enable_termsv
1812 enable_uninstaller
1813 enable_unlodctr
1814 enable_view
1815 enable_wevtutil
1816 enable_where
1817 enable_whoami
1818 enable_wineboot
1819 enable_winebrowser
1820 enable_winecfg
1821 enable_wineconsole
1822 enable_winedbg
1823 enable_winedevice
1824 enable_winefile
1825 enable_winemenubuilder
1826 enable_winemine
1827 enable_winemsibuilder
1828 enable_winepath
1829 enable_winetest
1830 enable_winhlp32
1831 enable_winmgmt
1832 enable_winver
1833 enable_wmic
1834 enable_wmplayer
1835 enable_wordpad
1836 enable_write
1837 enable_wscript
1838 enable_wuauserv
1839 enable_wusa
1840 enable_xcopy
1841 enable_server
1842 enable_tools
1843 enable_sfnt2fon
1844 enable_widl
1845 enable_winebuild
1846 enable_winedump
1847 enable_winegcc
1848 enable_winemaker
1849 enable_wmc
1850 enable_wrc
1852 ac_precious_vars='build_alias
1853 host_alias
1854 target_alias
1856 CFLAGS
1857 LDFLAGS
1858 LIBS
1859 CPPFLAGS
1861 CXXFLAGS
1864 OBJC
1865 OBJCFLAGS
1866 OBJCPP
1867 XMKMF
1868 XML2_CFLAGS
1869 XML2_LIBS
1870 XSLT_CFLAGS
1871 XSLT_LIBS
1872 INOTIFY_CFLAGS
1873 INOTIFY_LIBS
1874 DBUS_CFLAGS
1875 DBUS_LIBS
1876 HAL_CFLAGS
1877 HAL_LIBS
1878 GNUTLS_CFLAGS
1879 GNUTLS_LIBS
1880 SANE_CFLAGS
1881 SANE_LIBS
1882 USB_CFLAGS
1883 USB_LIBS
1884 GPHOTO2_CFLAGS
1885 GPHOTO2_LIBS
1886 GPHOTO2_PORT_CFLAGS
1887 GPHOTO2_PORT_LIBS
1888 LCMS2_CFLAGS
1889 LCMS2_LIBS
1890 FREETYPE_CFLAGS
1891 FREETYPE_LIBS
1892 PULSE_CFLAGS
1893 PULSE_LIBS
1894 GSTREAMER_CFLAGS
1895 GSTREAMER_LIBS
1896 UDEV_CFLAGS
1897 UDEV_LIBS
1898 UNWIND_CFLAGS
1899 UNWIND_LIBS
1900 SDL2_CFLAGS
1901 SDL2_LIBS
1902 FAUDIO_CFLAGS
1903 FAUDIO_LIBS
1904 CAPI20_CFLAGS
1905 CAPI20_LIBS
1906 CUPS_CFLAGS
1907 CUPS_LIBS
1908 FONTCONFIG_CFLAGS
1909 FONTCONFIG_LIBS
1910 KRB5_CFLAGS
1911 KRB5_LIBS
1912 GSSAPI_CFLAGS
1913 GSSAPI_LIBS
1914 JPEG_CFLAGS
1915 JPEG_LIBS
1916 PNG_CFLAGS
1917 PNG_LIBS
1918 TIFF_CFLAGS
1919 TIFF_LIBS
1920 MPG123_CFLAGS
1921 MPG123_LIBS
1922 NETAPI_CFLAGS
1923 NETAPI_LIBS
1924 VKD3D_CFLAGS
1925 VKD3D_LIBS
1926 LDAP_CFLAGS
1927 LDAP_LIBS'
1930 # Initialize some variables set by options.
1931 ac_init_help=
1932 ac_init_version=false
1933 ac_unrecognized_opts=
1934 ac_unrecognized_sep=
1935 # The variables have the same names as the options, with
1936 # dashes changed to underlines.
1937 cache_file=/dev/null
1938 exec_prefix=NONE
1939 no_create=
1940 no_recursion=
1941 prefix=NONE
1942 program_prefix=NONE
1943 program_suffix=NONE
1944 program_transform_name=s,x,x,
1945 silent=
1946 site=
1947 srcdir=
1948 verbose=
1949 x_includes=NONE
1950 x_libraries=NONE
1952 # Installation directory options.
1953 # These are left unexpanded so users can "make install exec_prefix=/foo"
1954 # and all the variables that are supposed to be based on exec_prefix
1955 # by default will actually change.
1956 # Use braces instead of parens because sh, perl, etc. also accept them.
1957 # (The list follows the same order as the GNU Coding Standards.)
1958 bindir='${exec_prefix}/bin'
1959 sbindir='${exec_prefix}/sbin'
1960 libexecdir='${exec_prefix}/libexec'
1961 datarootdir='${prefix}/share'
1962 datadir='${datarootdir}'
1963 sysconfdir='${prefix}/etc'
1964 sharedstatedir='${prefix}/com'
1965 localstatedir='${prefix}/var'
1966 runstatedir='${localstatedir}/run'
1967 includedir='${prefix}/include'
1968 oldincludedir='/usr/include'
1969 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1970 infodir='${datarootdir}/info'
1971 htmldir='${docdir}'
1972 dvidir='${docdir}'
1973 pdfdir='${docdir}'
1974 psdir='${docdir}'
1975 libdir='${exec_prefix}/lib'
1976 localedir='${datarootdir}/locale'
1977 mandir='${datarootdir}/man'
1979 ac_prev=
1980 ac_dashdash=
1981 for ac_option
1983 # If the previous option needs an argument, assign it.
1984 if test -n "$ac_prev"; then
1985 eval $ac_prev=\$ac_option
1986 ac_prev=
1987 continue
1990 case $ac_option in
1991 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1992 *=) ac_optarg= ;;
1993 *) ac_optarg=yes ;;
1994 esac
1996 # Accept the important Cygnus configure options, so we can diagnose typos.
1998 case $ac_dashdash$ac_option in
2000 ac_dashdash=yes ;;
2002 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2003 ac_prev=bindir ;;
2004 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2005 bindir=$ac_optarg ;;
2007 -build | --build | --buil | --bui | --bu)
2008 ac_prev=build_alias ;;
2009 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2010 build_alias=$ac_optarg ;;
2012 -cache-file | --cache-file | --cache-fil | --cache-fi \
2013 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2014 ac_prev=cache_file ;;
2015 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2016 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2017 cache_file=$ac_optarg ;;
2019 --config-cache | -C)
2020 cache_file=config.cache ;;
2022 -datadir | --datadir | --datadi | --datad)
2023 ac_prev=datadir ;;
2024 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2025 datadir=$ac_optarg ;;
2027 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2028 | --dataroo | --dataro | --datar)
2029 ac_prev=datarootdir ;;
2030 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2031 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2032 datarootdir=$ac_optarg ;;
2034 -disable-* | --disable-*)
2035 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2036 # Reject names that are not valid shell variable names.
2037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2038 as_fn_error $? "invalid feature name: $ac_useropt"
2039 ac_useropt_orig=$ac_useropt
2040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2041 case $ac_user_opts in
2043 "enable_$ac_useropt"
2044 "*) ;;
2045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2046 ac_unrecognized_sep=', ';;
2047 esac
2048 eval enable_$ac_useropt=no ;;
2050 -docdir | --docdir | --docdi | --doc | --do)
2051 ac_prev=docdir ;;
2052 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2053 docdir=$ac_optarg ;;
2055 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2056 ac_prev=dvidir ;;
2057 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2058 dvidir=$ac_optarg ;;
2060 -enable-* | --enable-*)
2061 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2062 # Reject names that are not valid shell variable names.
2063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2064 as_fn_error $? "invalid feature name: $ac_useropt"
2065 ac_useropt_orig=$ac_useropt
2066 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2067 case $ac_user_opts in
2069 "enable_$ac_useropt"
2070 "*) ;;
2071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2072 ac_unrecognized_sep=', ';;
2073 esac
2074 eval enable_$ac_useropt=\$ac_optarg ;;
2076 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2077 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2078 | --exec | --exe | --ex)
2079 ac_prev=exec_prefix ;;
2080 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2081 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2082 | --exec=* | --exe=* | --ex=*)
2083 exec_prefix=$ac_optarg ;;
2085 -gas | --gas | --ga | --g)
2086 # Obsolete; use --with-gas.
2087 with_gas=yes ;;
2089 -help | --help | --hel | --he | -h)
2090 ac_init_help=long ;;
2091 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2092 ac_init_help=recursive ;;
2093 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2094 ac_init_help=short ;;
2096 -host | --host | --hos | --ho)
2097 ac_prev=host_alias ;;
2098 -host=* | --host=* | --hos=* | --ho=*)
2099 host_alias=$ac_optarg ;;
2101 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2102 ac_prev=htmldir ;;
2103 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2104 | --ht=*)
2105 htmldir=$ac_optarg ;;
2107 -includedir | --includedir | --includedi | --included | --include \
2108 | --includ | --inclu | --incl | --inc)
2109 ac_prev=includedir ;;
2110 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2111 | --includ=* | --inclu=* | --incl=* | --inc=*)
2112 includedir=$ac_optarg ;;
2114 -infodir | --infodir | --infodi | --infod | --info | --inf)
2115 ac_prev=infodir ;;
2116 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2117 infodir=$ac_optarg ;;
2119 -libdir | --libdir | --libdi | --libd)
2120 ac_prev=libdir ;;
2121 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2122 libdir=$ac_optarg ;;
2124 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2125 | --libexe | --libex | --libe)
2126 ac_prev=libexecdir ;;
2127 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2128 | --libexe=* | --libex=* | --libe=*)
2129 libexecdir=$ac_optarg ;;
2131 -localedir | --localedir | --localedi | --localed | --locale)
2132 ac_prev=localedir ;;
2133 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2134 localedir=$ac_optarg ;;
2136 -localstatedir | --localstatedir | --localstatedi | --localstated \
2137 | --localstate | --localstat | --localsta | --localst | --locals)
2138 ac_prev=localstatedir ;;
2139 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2140 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2141 localstatedir=$ac_optarg ;;
2143 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2144 ac_prev=mandir ;;
2145 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2146 mandir=$ac_optarg ;;
2148 -nfp | --nfp | --nf)
2149 # Obsolete; use --without-fp.
2150 with_fp=no ;;
2152 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2153 | --no-cr | --no-c | -n)
2154 no_create=yes ;;
2156 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2157 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2158 no_recursion=yes ;;
2160 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2161 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2162 | --oldin | --oldi | --old | --ol | --o)
2163 ac_prev=oldincludedir ;;
2164 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2165 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2166 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2167 oldincludedir=$ac_optarg ;;
2169 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2170 ac_prev=prefix ;;
2171 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2172 prefix=$ac_optarg ;;
2174 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2175 | --program-pre | --program-pr | --program-p)
2176 ac_prev=program_prefix ;;
2177 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2178 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2179 program_prefix=$ac_optarg ;;
2181 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2182 | --program-suf | --program-su | --program-s)
2183 ac_prev=program_suffix ;;
2184 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2185 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2186 program_suffix=$ac_optarg ;;
2188 -program-transform-name | --program-transform-name \
2189 | --program-transform-nam | --program-transform-na \
2190 | --program-transform-n | --program-transform- \
2191 | --program-transform | --program-transfor \
2192 | --program-transfo | --program-transf \
2193 | --program-trans | --program-tran \
2194 | --progr-tra | --program-tr | --program-t)
2195 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
2205 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2206 ac_prev=pdfdir ;;
2207 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2208 pdfdir=$ac_optarg ;;
2210 -psdir | --psdir | --psdi | --psd | --ps)
2211 ac_prev=psdir ;;
2212 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2213 psdir=$ac_optarg ;;
2215 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2216 | -silent | --silent | --silen | --sile | --sil)
2217 silent=yes ;;
2219 -runstatedir | --runstatedir | --runstatedi | --runstated \
2220 | --runstate | --runstat | --runsta | --runst | --runs \
2221 | --run | --ru | --r)
2222 ac_prev=runstatedir ;;
2223 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2224 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2225 | --run=* | --ru=* | --r=*)
2226 runstatedir=$ac_optarg ;;
2228 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2229 ac_prev=sbindir ;;
2230 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2231 | --sbi=* | --sb=*)
2232 sbindir=$ac_optarg ;;
2234 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2235 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2236 | --sharedst | --shareds | --shared | --share | --shar \
2237 | --sha | --sh)
2238 ac_prev=sharedstatedir ;;
2239 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2240 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2241 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2242 | --sha=* | --sh=*)
2243 sharedstatedir=$ac_optarg ;;
2245 -site | --site | --sit)
2246 ac_prev=site ;;
2247 -site=* | --site=* | --sit=*)
2248 site=$ac_optarg ;;
2250 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2251 ac_prev=srcdir ;;
2252 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2253 srcdir=$ac_optarg ;;
2255 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2256 | --syscon | --sysco | --sysc | --sys | --sy)
2257 ac_prev=sysconfdir ;;
2258 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2259 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2260 sysconfdir=$ac_optarg ;;
2262 -target | --target | --targe | --targ | --tar | --ta | --t)
2263 ac_prev=target_alias ;;
2264 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2265 target_alias=$ac_optarg ;;
2267 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2268 verbose=yes ;;
2270 -version | --version | --versio | --versi | --vers | -V)
2271 ac_init_version=: ;;
2273 -with-* | --with-*)
2274 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2275 # Reject names that are not valid shell variable names.
2276 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2277 as_fn_error $? "invalid package name: $ac_useropt"
2278 ac_useropt_orig=$ac_useropt
2279 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2280 case $ac_user_opts in
2282 "with_$ac_useropt"
2283 "*) ;;
2284 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2285 ac_unrecognized_sep=', ';;
2286 esac
2287 eval with_$ac_useropt=\$ac_optarg ;;
2289 -without-* | --without-*)
2290 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2291 # Reject names that are not valid shell variable names.
2292 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2293 as_fn_error $? "invalid package name: $ac_useropt"
2294 ac_useropt_orig=$ac_useropt
2295 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2296 case $ac_user_opts in
2298 "with_$ac_useropt"
2299 "*) ;;
2300 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2301 ac_unrecognized_sep=', ';;
2302 esac
2303 eval with_$ac_useropt=no ;;
2305 --x)
2306 # Obsolete; use --with-x.
2307 with_x=yes ;;
2309 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2310 | --x-incl | --x-inc | --x-in | --x-i)
2311 ac_prev=x_includes ;;
2312 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2313 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2314 x_includes=$ac_optarg ;;
2316 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2317 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2318 ac_prev=x_libraries ;;
2319 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2320 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2321 x_libraries=$ac_optarg ;;
2323 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2324 Try \`$0 --help' for more information"
2327 *=*)
2328 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2329 # Reject names that are not valid shell variable names.
2330 case $ac_envvar in #(
2331 '' | [0-9]* | *[!_$as_cr_alnum]* )
2332 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2333 esac
2334 eval $ac_envvar=\$ac_optarg
2335 export $ac_envvar ;;
2338 # FIXME: should be removed in autoconf 3.0.
2339 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2340 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2341 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2342 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2345 esac
2346 done
2348 if test -n "$ac_prev"; then
2349 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2350 as_fn_error $? "missing argument to $ac_option"
2353 if test -n "$ac_unrecognized_opts"; then
2354 case $enable_option_checking in
2355 no) ;;
2356 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2357 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2358 esac
2361 # Check all directory arguments for consistency.
2362 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2363 datadir sysconfdir sharedstatedir localstatedir includedir \
2364 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2365 libdir localedir mandir runstatedir
2367 eval ac_val=\$$ac_var
2368 # Remove trailing slashes.
2369 case $ac_val in
2370 */ )
2371 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2372 eval $ac_var=\$ac_val;;
2373 esac
2374 # Be sure to have absolute directory names.
2375 case $ac_val in
2376 [\\/$]* | ?:[\\/]* ) continue;;
2377 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2378 esac
2379 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2380 done
2382 # There might be people who depend on the old broken behavior: `$host'
2383 # used to hold the argument of --host etc.
2384 # FIXME: To remove some day.
2385 build=$build_alias
2386 host=$host_alias
2387 target=$target_alias
2389 # FIXME: To remove some day.
2390 if test "x$host_alias" != x; then
2391 if test "x$build_alias" = x; then
2392 cross_compiling=maybe
2393 elif test "x$build_alias" != "x$host_alias"; then
2394 cross_compiling=yes
2398 ac_tool_prefix=
2399 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2401 test "$silent" = yes && exec 6>/dev/null
2404 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2405 ac_ls_di=`ls -di .` &&
2406 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2407 as_fn_error $? "working directory cannot be determined"
2408 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2409 as_fn_error $? "pwd does not report name of working directory"
2412 # Find the source files, if location was not specified.
2413 if test -z "$srcdir"; then
2414 ac_srcdir_defaulted=yes
2415 # Try the directory containing this script, then the parent directory.
2416 ac_confdir=`$as_dirname -- "$as_myself" ||
2417 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2418 X"$as_myself" : 'X\(//\)[^/]' \| \
2419 X"$as_myself" : 'X\(//\)$' \| \
2420 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2421 $as_echo X"$as_myself" |
2422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2423 s//\1/
2426 /^X\(\/\/\)[^/].*/{
2427 s//\1/
2430 /^X\(\/\/\)$/{
2431 s//\1/
2434 /^X\(\/\).*/{
2435 s//\1/
2438 s/.*/./; q'`
2439 srcdir=$ac_confdir
2440 if test ! -r "$srcdir/$ac_unique_file"; then
2441 srcdir=..
2443 else
2444 ac_srcdir_defaulted=no
2446 if test ! -r "$srcdir/$ac_unique_file"; then
2447 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2448 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2450 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2451 ac_abs_confdir=`(
2452 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2453 pwd)`
2454 # When building in place, set srcdir=.
2455 if test "$ac_abs_confdir" = "$ac_pwd"; then
2456 srcdir=.
2458 # Remove unnecessary trailing slashes from srcdir.
2459 # Double slashes in file names in object file debugging info
2460 # mess up M-x gdb in Emacs.
2461 case $srcdir in
2462 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2463 esac
2464 for ac_var in $ac_precious_vars; do
2465 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2466 eval ac_env_${ac_var}_value=\$${ac_var}
2467 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2468 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2469 done
2472 # Report the --help message.
2474 if test "$ac_init_help" = "long"; then
2475 # Omit some internal or obsolete options to make the list less imposing.
2476 # This message is too long to be a string in the A/UX 3.1 sh.
2477 cat <<_ACEOF
2478 \`configure' configures Wine 5.14 to adapt to many kinds of systems.
2480 Usage: $0 [OPTION]... [VAR=VALUE]...
2482 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2483 VAR=VALUE. See below for descriptions of some of the useful variables.
2485 Defaults for the options are specified in brackets.
2487 Configuration:
2488 -h, --help display this help and exit
2489 --help=short display options specific to this package
2490 --help=recursive display the short help of all the included packages
2491 -V, --version display version information and exit
2492 -q, --quiet, --silent do not print \`checking ...' messages
2493 --cache-file=FILE cache test results in FILE [disabled]
2494 -C, --config-cache alias for \`--cache-file=config.cache'
2495 -n, --no-create do not create output files
2496 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2498 Installation directories:
2499 --prefix=PREFIX install architecture-independent files in PREFIX
2500 [$ac_default_prefix]
2501 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2502 [PREFIX]
2504 By default, \`make install' will install all the files in
2505 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2506 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2507 for instance \`--prefix=\$HOME'.
2509 For better control, use the options below.
2511 Fine tuning of the installation directories:
2512 --bindir=DIR user executables [EPREFIX/bin]
2513 --sbindir=DIR system admin executables [EPREFIX/sbin]
2514 --libexecdir=DIR program executables [EPREFIX/libexec]
2515 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2516 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2517 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2518 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2519 --libdir=DIR object code libraries [EPREFIX/lib]
2520 --includedir=DIR C header files [PREFIX/include]
2521 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2522 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2523 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2524 --infodir=DIR info documentation [DATAROOTDIR/info]
2525 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2526 --mandir=DIR man documentation [DATAROOTDIR/man]
2527 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2528 --htmldir=DIR html documentation [DOCDIR]
2529 --dvidir=DIR dvi documentation [DOCDIR]
2530 --pdfdir=DIR pdf documentation [DOCDIR]
2531 --psdir=DIR ps documentation [DOCDIR]
2532 _ACEOF
2534 cat <<\_ACEOF
2536 X features:
2537 --x-includes=DIR X include files are in DIR
2538 --x-libraries=DIR X library files are in DIR
2540 System types:
2541 --build=BUILD configure for building on BUILD [guessed]
2542 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2543 _ACEOF
2546 if test -n "$ac_init_help"; then
2547 case $ac_init_help in
2548 short | recursive ) echo "Configuration of Wine 5.14:";;
2549 esac
2550 cat <<\_ACEOF
2552 Optional Features:
2553 --disable-option-checking ignore unrecognized --enable/--with options
2554 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2555 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2556 --disable-win16 do not include Win16 support
2557 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2558 binaries)
2559 --disable-tests do not build the regression tests
2560 --enable-maintainer-mode
2561 enable maintainer-specific build rules
2562 --enable-werror treat compilation warnings as errors
2563 --disable-largefile omit support for large files
2565 Optional Packages:
2566 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2567 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2568 --without-alsa do not use the Alsa sound support
2569 --without-capi do not use CAPI (ISDN support)
2570 --without-cms do not use CMS (color management support)
2571 --without-coreaudio do not use the CoreAudio sound support
2572 --without-cups do not use CUPS
2573 --without-curses do not use (n)curses
2574 --without-dbus do not use DBus (dynamic device support)
2575 --without-faudio do not use FAudio (XAudio2 support)
2576 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2577 --without-fontconfig do not use fontconfig
2578 --without-freetype do not use the FreeType library
2579 --without-gettext do not use gettext
2580 --with-gettextpo use the GetTextPO library to rebuild po files
2581 --without-gphoto do not use gphoto (Digital Camera support)
2582 --without-glu do not use the GLU library
2583 --without-gnutls do not use GnuTLS (schannel support)
2584 --without-gsm do not use libgsm (GSM 06.10 codec support)
2585 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2586 --without-gstreamer do not use GStreamer (codecs support)
2587 --without-hal do not use HAL (dynamic device support)
2588 --without-inotify do not use inotify (filesystem change notifications)
2589 --without-jpeg do not use JPEG
2590 --without-krb5 do not use krb5 (Kerberos)
2591 --without-ldap do not use LDAP
2592 --without-mingw do not use the MinGW cross-compiler
2593 --without-mpg123 do not use the mpg123 library
2594 --without-netapi do not use the Samba NetAPI library
2595 --without-openal do not use OpenAL
2596 --without-opencl do not use OpenCL
2597 --without-opengl do not use OpenGL
2598 --without-osmesa do not use the OSMesa library
2599 --without-oss do not use the OSS sound support
2600 --without-pcap do not use the Packet Capture library
2601 --without-png do not use PNG
2602 --without-pthread do not use the pthread library
2603 --without-pulse do not use PulseAudio sound support
2604 --without-sane do not use SANE (scanner support)
2605 --without-sdl do not use SDL
2606 --without-tiff do not use TIFF
2607 --without-udev do not use udev (plug and play support)
2608 --without-unwind do not use the libunwind library (exception
2609 handling)
2610 --without-usb do not use the libusb library
2611 --without-v4l2 do not use v4l2 (video capture)
2612 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2613 --without-vulkan do not use Vulkan
2614 --without-xcomposite do not use the Xcomposite extension
2615 --without-xcursor do not use the Xcursor extension
2616 --without-xfixes do not use Xfixes for clipboard change notifications
2617 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2618 --without-xinput do not use the Xinput extension
2619 --without-xinput2 do not use the Xinput 2 extension
2620 --without-xml do not use XML
2621 --without-xrandr do not use Xrandr (multi-monitor support)
2622 --without-xrender do not use the Xrender extension
2623 --without-xshape do not use the Xshape extension
2624 --without-xshm do not use XShm (shared memory extension)
2625 --without-xslt do not use XSLT
2626 --without-xxf86vm do not use XFree video mode extension
2627 --with-wine-tools=DIR use Wine tools from directory DIR
2628 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2629 --with-x use the X Window System
2631 Some influential environment variables:
2632 CC C compiler command
2633 CFLAGS C compiler flags
2634 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2635 nonstandard directory <lib dir>
2636 LIBS libraries to pass to the linker, e.g. -l<library>
2637 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2638 you have headers in a nonstandard directory <include dir>
2639 CXX C++ compiler command
2640 CXXFLAGS C++ compiler flags
2641 CPP C preprocessor
2642 OBJC Objective C compiler command
2643 OBJCFLAGS Objective C compiler flags
2644 OBJCPP Objective C preprocessor
2645 XMKMF Path to xmkmf, Makefile generator for X Window System
2646 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2647 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2648 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2649 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2650 INOTIFY_CFLAGS
2651 C compiler flags for libinotify, overriding pkg-config
2652 INOTIFY_LIBS
2653 Linker flags for libinotify, overriding pkg-config
2654 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2655 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2656 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2657 HAL_LIBS Linker flags for hal, overriding pkg-config
2658 GNUTLS_CFLAGS
2659 C compiler flags for gnutls, overriding pkg-config
2660 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2661 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2662 SANE_LIBS Linker flags for libsane, overriding pkg-config
2663 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2664 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2665 GPHOTO2_CFLAGS
2666 C compiler flags for libgphoto2, overriding pkg-config
2667 GPHOTO2_LIBS
2668 Linker flags for libgphoto2, overriding pkg-config
2669 GPHOTO2_PORT_CFLAGS
2670 C compiler flags for libgphoto2_port, overriding pkg-config
2671 GPHOTO2_PORT_LIBS
2672 Linker flags for libgphoto2_port, overriding pkg-config
2673 LCMS2_CFLAGS
2674 C compiler flags for lcms2, overriding pkg-config
2675 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2676 FREETYPE_CFLAGS
2677 C compiler flags for freetype2, overriding pkg-config
2678 FREETYPE_LIBS
2679 Linker flags for freetype2, overriding pkg-config
2680 PULSE_CFLAGS
2681 C compiler flags for libpulse, overriding pkg-config
2682 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2683 GSTREAMER_CFLAGS
2684 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2685 gstreamer-audio-1.0, overriding pkg-config
2686 GSTREAMER_LIBS
2687 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2688 gstreamer-audio-1.0, overriding pkg-config
2689 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2690 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2691 UNWIND_CFLAGS
2692 C compiler flags for libunwind, overriding pkg-config
2693 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2694 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2695 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2696 FAUDIO_CFLAGS
2697 C compiler flags for faudio, overriding pkg-config
2698 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2699 CAPI20_CFLAGS
2700 C compiler flags for capi20, overriding pkg-config
2701 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2702 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2703 CUPS_LIBS Linker flags for cups, overriding pkg-config
2704 FONTCONFIG_CFLAGS
2705 C compiler flags for fontconfig, overriding pkg-config
2706 FONTCONFIG_LIBS
2707 Linker flags for fontconfig, overriding pkg-config
2708 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2709 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2710 GSSAPI_CFLAGS
2711 C compiler flags for krb5-gssapi, overriding pkg-config
2712 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2713 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2714 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2715 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2716 PNG_LIBS Linker flags for libpng, overriding pkg-config
2717 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2718 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2719 MPG123_CFLAGS
2720 C compiler flags for libmpg123, overriding pkg-config
2721 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2722 NETAPI_CFLAGS
2723 C compiler flags for netapi, overriding pkg-config
2724 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2725 VKD3D_CFLAGS
2726 C compiler flags for libvkd3d, overriding pkg-config
2727 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2728 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2729 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2731 Use these variables to override the choices made by `configure' or to help
2732 it to find libraries and programs with nonstandard names/locations.
2734 Report bugs to <wine-devel@winehq.org>.
2735 Wine home page: <https://www.winehq.org>.
2736 _ACEOF
2737 ac_status=$?
2740 if test "$ac_init_help" = "recursive"; then
2741 # If there are subdirs, report their specific --help.
2742 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2743 test -d "$ac_dir" ||
2744 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2745 continue
2746 ac_builddir=.
2748 case "$ac_dir" in
2749 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2751 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2752 # A ".." for each directory in $ac_dir_suffix.
2753 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2754 case $ac_top_builddir_sub in
2755 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2756 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2757 esac ;;
2758 esac
2759 ac_abs_top_builddir=$ac_pwd
2760 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2761 # for backward compatibility:
2762 ac_top_builddir=$ac_top_build_prefix
2764 case $srcdir in
2765 .) # We are building in place.
2766 ac_srcdir=.
2767 ac_top_srcdir=$ac_top_builddir_sub
2768 ac_abs_top_srcdir=$ac_pwd ;;
2769 [\\/]* | ?:[\\/]* ) # Absolute name.
2770 ac_srcdir=$srcdir$ac_dir_suffix;
2771 ac_top_srcdir=$srcdir
2772 ac_abs_top_srcdir=$srcdir ;;
2773 *) # Relative name.
2774 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2775 ac_top_srcdir=$ac_top_build_prefix$srcdir
2776 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2777 esac
2778 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2780 cd "$ac_dir" || { ac_status=$?; continue; }
2781 # Check for guested configure.
2782 if test -f "$ac_srcdir/configure.gnu"; then
2783 echo &&
2784 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2785 elif test -f "$ac_srcdir/configure"; then
2786 echo &&
2787 $SHELL "$ac_srcdir/configure" --help=recursive
2788 else
2789 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2790 fi || ac_status=$?
2791 cd "$ac_pwd" || { ac_status=$?; break; }
2792 done
2795 test -n "$ac_init_help" && exit $ac_status
2796 if $ac_init_version; then
2797 cat <<\_ACEOF
2798 Wine configure 5.14
2799 generated by GNU Autoconf 2.69
2801 Copyright (C) 2012 Free Software Foundation, Inc.
2802 This configure script is free software; the Free Software Foundation
2803 gives unlimited permission to copy, distribute and modify it.
2804 _ACEOF
2805 exit
2808 ## ------------------------ ##
2809 ## Autoconf initialization. ##
2810 ## ------------------------ ##
2812 # ac_fn_c_try_compile LINENO
2813 # --------------------------
2814 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2815 ac_fn_c_try_compile ()
2817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2818 rm -f conftest.$ac_objext
2819 if { { ac_try="$ac_compile"
2820 case "(($ac_try" in
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2823 esac
2824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2825 $as_echo "$ac_try_echo"; } >&5
2826 (eval "$ac_compile") 2>conftest.err
2827 ac_status=$?
2828 if test -s conftest.err; then
2829 grep -v '^ *+' conftest.err >conftest.er1
2830 cat conftest.er1 >&5
2831 mv -f conftest.er1 conftest.err
2833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2834 test $ac_status = 0; } && {
2835 test -z "$ac_c_werror_flag" ||
2836 test ! -s conftest.err
2837 } && test -s conftest.$ac_objext; then :
2838 ac_retval=0
2839 else
2840 $as_echo "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.$ac_ext >&5
2843 ac_retval=1
2845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2846 as_fn_set_status $ac_retval
2848 } # ac_fn_c_try_compile
2850 # ac_fn_cxx_try_compile LINENO
2851 # ----------------------------
2852 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2853 ac_fn_cxx_try_compile ()
2855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2856 rm -f conftest.$ac_objext
2857 if { { ac_try="$ac_compile"
2858 case "(($ac_try" in
2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860 *) ac_try_echo=$ac_try;;
2861 esac
2862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2863 $as_echo "$ac_try_echo"; } >&5
2864 (eval "$ac_compile") 2>conftest.err
2865 ac_status=$?
2866 if test -s conftest.err; then
2867 grep -v '^ *+' conftest.err >conftest.er1
2868 cat conftest.er1 >&5
2869 mv -f conftest.er1 conftest.err
2871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2872 test $ac_status = 0; } && {
2873 test -z "$ac_cxx_werror_flag" ||
2874 test ! -s conftest.err
2875 } && test -s conftest.$ac_objext; then :
2876 ac_retval=0
2877 else
2878 $as_echo "$as_me: failed program was:" >&5
2879 sed 's/^/| /' conftest.$ac_ext >&5
2881 ac_retval=1
2883 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2884 as_fn_set_status $ac_retval
2886 } # ac_fn_cxx_try_compile
2888 # ac_fn_c_try_link LINENO
2889 # -----------------------
2890 # Try to link conftest.$ac_ext, and return whether this succeeded.
2891 ac_fn_c_try_link ()
2893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2894 rm -f conftest.$ac_objext conftest$ac_exeext
2895 if { { ac_try="$ac_link"
2896 case "(($ac_try" in
2897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2898 *) ac_try_echo=$ac_try;;
2899 esac
2900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2901 $as_echo "$ac_try_echo"; } >&5
2902 (eval "$ac_link") 2>conftest.err
2903 ac_status=$?
2904 if test -s conftest.err; then
2905 grep -v '^ *+' conftest.err >conftest.er1
2906 cat conftest.er1 >&5
2907 mv -f conftest.er1 conftest.err
2909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2910 test $ac_status = 0; } && {
2911 test -z "$ac_c_werror_flag" ||
2912 test ! -s conftest.err
2913 } && test -s conftest$ac_exeext && {
2914 test "$cross_compiling" = yes ||
2915 test -x conftest$ac_exeext
2916 }; then :
2917 ac_retval=0
2918 else
2919 $as_echo "$as_me: failed program was:" >&5
2920 sed 's/^/| /' conftest.$ac_ext >&5
2922 ac_retval=1
2924 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2925 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2926 # interfere with the next link command; also delete a directory that is
2927 # left behind by Apple's compiler. We do this before executing the actions.
2928 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2930 as_fn_set_status $ac_retval
2932 } # ac_fn_c_try_link
2934 # ac_fn_c_try_cpp LINENO
2935 # ----------------------
2936 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2937 ac_fn_c_try_cpp ()
2939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2940 if { { ac_try="$ac_cpp conftest.$ac_ext"
2941 case "(($ac_try" in
2942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2944 esac
2945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2946 $as_echo "$ac_try_echo"; } >&5
2947 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2948 ac_status=$?
2949 if test -s conftest.err; then
2950 grep -v '^ *+' conftest.err >conftest.er1
2951 cat conftest.er1 >&5
2952 mv -f conftest.er1 conftest.err
2954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2955 test $ac_status = 0; } > conftest.i && {
2956 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2957 test ! -s conftest.err
2958 }; then :
2959 ac_retval=0
2960 else
2961 $as_echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2964 ac_retval=1
2966 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2967 as_fn_set_status $ac_retval
2969 } # ac_fn_c_try_cpp
2971 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2972 # -------------------------------------------------------
2973 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2974 # the include files in INCLUDES and setting the cache variable VAR
2975 # accordingly.
2976 ac_fn_c_check_header_mongrel ()
2978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2979 if eval \${$3+:} false; then :
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2981 $as_echo_n "checking for $2... " >&6; }
2982 if eval \${$3+:} false; then :
2983 $as_echo_n "(cached) " >&6
2985 eval ac_res=\$$3
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2987 $as_echo "$ac_res" >&6; }
2988 else
2989 # Is the header compilable?
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2991 $as_echo_n "checking $2 usability... " >&6; }
2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
2995 #include <$2>
2996 _ACEOF
2997 if ac_fn_c_try_compile "$LINENO"; then :
2998 ac_header_compiler=yes
2999 else
3000 ac_header_compiler=no
3002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3004 $as_echo "$ac_header_compiler" >&6; }
3006 # Is the header present?
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3008 $as_echo_n "checking $2 presence... " >&6; }
3009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3010 /* end confdefs.h. */
3011 #include <$2>
3012 _ACEOF
3013 if ac_fn_c_try_cpp "$LINENO"; then :
3014 ac_header_preproc=yes
3015 else
3016 ac_header_preproc=no
3018 rm -f conftest.err conftest.i conftest.$ac_ext
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3020 $as_echo "$ac_header_preproc" >&6; }
3022 # So? What about this header?
3023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3024 yes:no: )
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3026 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3028 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3030 no:yes:* )
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3032 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3034 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3036 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3038 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3040 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3041 ( $as_echo "## ------------------------------------ ##
3042 ## Report this to wine-devel@winehq.org ##
3043 ## ------------------------------------ ##"
3044 ) | sed "s/^/$as_me: WARNING: /" >&2
3046 esac
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3048 $as_echo_n "checking for $2... " >&6; }
3049 if eval \${$3+:} false; then :
3050 $as_echo_n "(cached) " >&6
3051 else
3052 eval "$3=\$ac_header_compiler"
3054 eval ac_res=\$$3
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3056 $as_echo "$ac_res" >&6; }
3058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3060 } # ac_fn_c_check_header_mongrel
3062 # ac_fn_c_try_run LINENO
3063 # ----------------------
3064 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3065 # that executables *can* be run.
3066 ac_fn_c_try_run ()
3068 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3069 if { { ac_try="$ac_link"
3070 case "(($ac_try" in
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3073 esac
3074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075 $as_echo "$ac_try_echo"; } >&5
3076 (eval "$ac_link") 2>&5
3077 ac_status=$?
3078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3079 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3080 { { case "(($ac_try" in
3081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082 *) ac_try_echo=$ac_try;;
3083 esac
3084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3085 $as_echo "$ac_try_echo"; } >&5
3086 (eval "$ac_try") 2>&5
3087 ac_status=$?
3088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3089 test $ac_status = 0; }; }; then :
3090 ac_retval=0
3091 else
3092 $as_echo "$as_me: program exited with status $ac_status" >&5
3093 $as_echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.$ac_ext >&5
3096 ac_retval=$ac_status
3098 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3100 as_fn_set_status $ac_retval
3102 } # ac_fn_c_try_run
3104 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3105 # -------------------------------------------------------
3106 # Tests whether HEADER exists and can be compiled using the include files in
3107 # INCLUDES, setting the cache variable VAR accordingly.
3108 ac_fn_c_check_header_compile ()
3110 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3112 $as_echo_n "checking for $2... " >&6; }
3113 if eval \${$3+:} false; then :
3114 $as_echo_n "(cached) " >&6
3115 else
3116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3117 /* end confdefs.h. */
3119 #include <$2>
3120 _ACEOF
3121 if ac_fn_c_try_compile "$LINENO"; then :
3122 eval "$3=yes"
3123 else
3124 eval "$3=no"
3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3128 eval ac_res=\$$3
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3130 $as_echo "$ac_res" >&6; }
3131 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3133 } # ac_fn_c_check_header_compile
3135 # ac_fn_objc_try_compile LINENO
3136 # -----------------------------
3137 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3138 ac_fn_objc_try_compile ()
3140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3141 rm -f conftest.$ac_objext
3142 if { { ac_try="$ac_compile"
3143 case "(($ac_try" in
3144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3146 esac
3147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3148 $as_echo "$ac_try_echo"; } >&5
3149 (eval "$ac_compile") 2>conftest.err
3150 ac_status=$?
3151 if test -s conftest.err; then
3152 grep -v '^ *+' conftest.err >conftest.er1
3153 cat conftest.er1 >&5
3154 mv -f conftest.er1 conftest.err
3156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3157 test $ac_status = 0; } && {
3158 test -z "$ac_objc_werror_flag" ||
3159 test ! -s conftest.err
3160 } && test -s conftest.$ac_objext; then :
3161 ac_retval=0
3162 else
3163 $as_echo "$as_me: failed program was:" >&5
3164 sed 's/^/| /' conftest.$ac_ext >&5
3166 ac_retval=1
3168 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3169 as_fn_set_status $ac_retval
3171 } # ac_fn_objc_try_compile
3173 # ac_fn_objc_try_cpp LINENO
3174 # -------------------------
3175 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3176 ac_fn_objc_try_cpp ()
3178 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3179 if { { ac_try="$ac_cpp conftest.$ac_ext"
3180 case "(($ac_try" in
3181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3182 *) ac_try_echo=$ac_try;;
3183 esac
3184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3185 $as_echo "$ac_try_echo"; } >&5
3186 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3187 ac_status=$?
3188 if test -s conftest.err; then
3189 grep -v '^ *+' conftest.err >conftest.er1
3190 cat conftest.er1 >&5
3191 mv -f conftest.er1 conftest.err
3193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3194 test $ac_status = 0; } > conftest.i && {
3195 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3196 test ! -s conftest.err
3197 }; then :
3198 ac_retval=0
3199 else
3200 $as_echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3203 ac_retval=1
3205 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3206 as_fn_set_status $ac_retval
3208 } # ac_fn_objc_try_cpp
3210 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3211 # ----------------------------------------------------------
3212 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3213 # the include files in INCLUDES and setting the cache variable VAR
3214 # accordingly.
3215 ac_fn_objc_check_header_mongrel ()
3217 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3218 if eval \${$3+:} false; then :
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3220 $as_echo_n "checking for $2... " >&6; }
3221 if eval \${$3+:} false; then :
3222 $as_echo_n "(cached) " >&6
3224 eval ac_res=\$$3
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3226 $as_echo "$ac_res" >&6; }
3227 else
3228 # Is the header compilable?
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3230 $as_echo_n "checking $2 usability... " >&6; }
3231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3232 /* end confdefs.h. */
3234 #include <$2>
3235 _ACEOF
3236 if ac_fn_objc_try_compile "$LINENO"; then :
3237 ac_header_compiler=yes
3238 else
3239 ac_header_compiler=no
3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3243 $as_echo "$ac_header_compiler" >&6; }
3245 # Is the header present?
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3247 $as_echo_n "checking $2 presence... " >&6; }
3248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249 /* end confdefs.h. */
3250 #include <$2>
3251 _ACEOF
3252 if ac_fn_objc_try_cpp "$LINENO"; then :
3253 ac_header_preproc=yes
3254 else
3255 ac_header_preproc=no
3257 rm -f conftest.err conftest.i conftest.$ac_ext
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3259 $as_echo "$ac_header_preproc" >&6; }
3261 # So? What about this header?
3262 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3263 yes:no: )
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3265 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3267 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3269 no:yes:* )
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3271 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3273 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3275 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3277 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3279 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3280 ( $as_echo "## ------------------------------------ ##
3281 ## Report this to wine-devel@winehq.org ##
3282 ## ------------------------------------ ##"
3283 ) | sed "s/^/$as_me: WARNING: /" >&2
3285 esac
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3287 $as_echo_n "checking for $2... " >&6; }
3288 if eval \${$3+:} false; then :
3289 $as_echo_n "(cached) " >&6
3290 else
3291 eval "$3=\$ac_header_compiler"
3293 eval ac_res=\$$3
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3295 $as_echo "$ac_res" >&6; }
3297 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3299 } # ac_fn_objc_check_header_mongrel
3301 # ac_fn_c_check_func LINENO FUNC VAR
3302 # ----------------------------------
3303 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3304 ac_fn_c_check_func ()
3306 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3308 $as_echo_n "checking for $2... " >&6; }
3309 if eval \${$3+:} false; then :
3310 $as_echo_n "(cached) " >&6
3311 else
3312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3314 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3316 #define $2 innocuous_$2
3318 /* System header to define __stub macros and hopefully few prototypes,
3319 which can conflict with char $2 (); below.
3320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3321 <limits.h> exists even on freestanding compilers. */
3323 #ifdef __STDC__
3324 # include <limits.h>
3325 #else
3326 # include <assert.h>
3327 #endif
3329 #undef $2
3331 /* Override any GCC internal prototype to avoid an error.
3332 Use char because int might match the return type of a GCC
3333 builtin and then its argument prototype would still apply. */
3334 #ifdef __cplusplus
3335 extern "C"
3336 #endif
3337 char $2 ();
3338 /* The GNU C library defines this for functions which it implements
3339 to always fail with ENOSYS. Some functions are actually named
3340 something starting with __ and the normal name is an alias. */
3341 #if defined __stub_$2 || defined __stub___$2
3342 choke me
3343 #endif
3346 main ()
3348 return $2 ();
3350 return 0;
3352 _ACEOF
3353 if ac_fn_c_try_link "$LINENO"; then :
3354 eval "$3=yes"
3355 else
3356 eval "$3=no"
3358 rm -f core conftest.err conftest.$ac_objext \
3359 conftest$ac_exeext conftest.$ac_ext
3361 eval ac_res=\$$3
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3363 $as_echo "$ac_res" >&6; }
3364 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3366 } # ac_fn_c_check_func
3368 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3369 # ----------------------------------------------------
3370 # Tries to find if the field MEMBER exists in type AGGR, after including
3371 # INCLUDES, setting cache variable VAR accordingly.
3372 ac_fn_c_check_member ()
3374 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3376 $as_echo_n "checking for $2.$3... " >&6; }
3377 if eval \${$4+:} false; then :
3378 $as_echo_n "(cached) " >&6
3379 else
3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3384 main ()
3386 static $2 ac_aggr;
3387 if (ac_aggr.$3)
3388 return 0;
3390 return 0;
3392 _ACEOF
3393 if ac_fn_c_try_compile "$LINENO"; then :
3394 eval "$4=yes"
3395 else
3396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h. */
3400 main ()
3402 static $2 ac_aggr;
3403 if (sizeof ac_aggr.$3)
3404 return 0;
3406 return 0;
3408 _ACEOF
3409 if ac_fn_c_try_compile "$LINENO"; then :
3410 eval "$4=yes"
3411 else
3412 eval "$4=no"
3414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3418 eval ac_res=\$$4
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3420 $as_echo "$ac_res" >&6; }
3421 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3423 } # ac_fn_c_check_member
3425 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3426 # -------------------------------------------
3427 # Tests whether TYPE exists after having included INCLUDES, setting cache
3428 # variable VAR accordingly.
3429 ac_fn_c_check_type ()
3431 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3433 $as_echo_n "checking for $2... " >&6; }
3434 if eval \${$3+:} false; then :
3435 $as_echo_n "(cached) " >&6
3436 else
3437 eval "$3=no"
3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3439 /* end confdefs.h. */
3442 main ()
3444 if (sizeof ($2))
3445 return 0;
3447 return 0;
3449 _ACEOF
3450 if ac_fn_c_try_compile "$LINENO"; then :
3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452 /* end confdefs.h. */
3455 main ()
3457 if (sizeof (($2)))
3458 return 0;
3460 return 0;
3462 _ACEOF
3463 if ac_fn_c_try_compile "$LINENO"; then :
3465 else
3466 eval "$3=yes"
3468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3472 eval ac_res=\$$3
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3474 $as_echo "$ac_res" >&6; }
3475 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3477 } # ac_fn_c_check_type
3478 cat >config.log <<_ACEOF
3479 This file contains any messages produced by compilers while
3480 running configure, to aid debugging if configure makes a mistake.
3482 It was created by Wine $as_me 5.14, which was
3483 generated by GNU Autoconf 2.69. Invocation command line was
3485 $ $0 $@
3487 _ACEOF
3488 exec 5>>config.log
3490 cat <<_ASUNAME
3491 ## --------- ##
3492 ## Platform. ##
3493 ## --------- ##
3495 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3496 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3497 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3498 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3499 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3501 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3502 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3504 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3505 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3506 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3507 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3508 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3509 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3510 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3512 _ASUNAME
3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3515 for as_dir in $PATH
3517 IFS=$as_save_IFS
3518 test -z "$as_dir" && as_dir=.
3519 $as_echo "PATH: $as_dir"
3520 done
3521 IFS=$as_save_IFS
3523 } >&5
3525 cat >&5 <<_ACEOF
3528 ## ----------- ##
3529 ## Core tests. ##
3530 ## ----------- ##
3532 _ACEOF
3535 # Keep a trace of the command line.
3536 # Strip out --no-create and --no-recursion so they do not pile up.
3537 # Strip out --silent because we don't want to record it for future runs.
3538 # Also quote any args containing shell meta-characters.
3539 # Make two passes to allow for proper duplicate-argument suppression.
3540 ac_configure_args=
3541 ac_configure_args0=
3542 ac_configure_args1=
3543 ac_must_keep_next=false
3544 for ac_pass in 1 2
3546 for ac_arg
3548 case $ac_arg in
3549 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3550 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3551 | -silent | --silent | --silen | --sile | --sil)
3552 continue ;;
3553 *\'*)
3554 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3555 esac
3556 case $ac_pass in
3557 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3559 as_fn_append ac_configure_args1 " '$ac_arg'"
3560 if test $ac_must_keep_next = true; then
3561 ac_must_keep_next=false # Got value, back to normal.
3562 else
3563 case $ac_arg in
3564 *=* | --config-cache | -C | -disable-* | --disable-* \
3565 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3566 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3567 | -with-* | --with-* | -without-* | --without-* | --x)
3568 case "$ac_configure_args0 " in
3569 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3570 esac
3572 -* ) ac_must_keep_next=true ;;
3573 esac
3575 as_fn_append ac_configure_args " '$ac_arg'"
3577 esac
3578 done
3579 done
3580 { ac_configure_args0=; unset ac_configure_args0;}
3581 { ac_configure_args1=; unset ac_configure_args1;}
3583 # When interrupted or exit'd, cleanup temporary files, and complete
3584 # config.log. We remove comments because anyway the quotes in there
3585 # would cause problems or look ugly.
3586 # WARNING: Use '\'' to represent an apostrophe within the trap.
3587 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3588 trap 'exit_status=$?
3589 # Save into config.log some information that might help in debugging.
3591 echo
3593 $as_echo "## ---------------- ##
3594 ## Cache variables. ##
3595 ## ---------------- ##"
3596 echo
3597 # The following way of writing the cache mishandles newlines in values,
3599 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3600 eval ac_val=\$$ac_var
3601 case $ac_val in #(
3602 *${as_nl}*)
3603 case $ac_var in #(
3604 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3605 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3606 esac
3607 case $ac_var in #(
3608 _ | IFS | as_nl) ;; #(
3609 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3610 *) { eval $ac_var=; unset $ac_var;} ;;
3611 esac ;;
3612 esac
3613 done
3614 (set) 2>&1 |
3615 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3616 *${as_nl}ac_space=\ *)
3617 sed -n \
3618 "s/'\''/'\''\\\\'\'''\''/g;
3619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3620 ;; #(
3622 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3624 esac |
3625 sort
3627 echo
3629 $as_echo "## ----------------- ##
3630 ## Output variables. ##
3631 ## ----------------- ##"
3632 echo
3633 for ac_var in $ac_subst_vars
3635 eval ac_val=\$$ac_var
3636 case $ac_val in
3637 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3638 esac
3639 $as_echo "$ac_var='\''$ac_val'\''"
3640 done | sort
3641 echo
3643 if test -n "$ac_subst_files"; then
3644 $as_echo "## ------------------- ##
3645 ## File substitutions. ##
3646 ## ------------------- ##"
3647 echo
3648 for ac_var in $ac_subst_files
3650 eval ac_val=\$$ac_var
3651 case $ac_val in
3652 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3653 esac
3654 $as_echo "$ac_var='\''$ac_val'\''"
3655 done | sort
3656 echo
3659 if test -s confdefs.h; then
3660 $as_echo "## ----------- ##
3661 ## confdefs.h. ##
3662 ## ----------- ##"
3663 echo
3664 cat confdefs.h
3665 echo
3667 test "$ac_signal" != 0 &&
3668 $as_echo "$as_me: caught signal $ac_signal"
3669 $as_echo "$as_me: exit $exit_status"
3670 } >&5
3671 rm -f core *.core core.conftest.* &&
3672 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3673 exit $exit_status
3675 for ac_signal in 1 2 13 15; do
3676 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3677 done
3678 ac_signal=0
3680 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3681 rm -f -r conftest* confdefs.h
3683 $as_echo "/* confdefs.h */" > confdefs.h
3685 # Predefined preprocessor variables.
3687 cat >>confdefs.h <<_ACEOF
3688 #define PACKAGE_NAME "$PACKAGE_NAME"
3689 _ACEOF
3691 cat >>confdefs.h <<_ACEOF
3692 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3693 _ACEOF
3695 cat >>confdefs.h <<_ACEOF
3696 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3697 _ACEOF
3699 cat >>confdefs.h <<_ACEOF
3700 #define PACKAGE_STRING "$PACKAGE_STRING"
3701 _ACEOF
3703 cat >>confdefs.h <<_ACEOF
3704 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3705 _ACEOF
3707 cat >>confdefs.h <<_ACEOF
3708 #define PACKAGE_URL "$PACKAGE_URL"
3709 _ACEOF
3712 # Let the site file select an alternate cache file if it wants to.
3713 # Prefer an explicitly selected file to automatically selected ones.
3714 ac_site_file1=NONE
3715 ac_site_file2=NONE
3716 if test -n "$CONFIG_SITE"; then
3717 # We do not want a PATH search for config.site.
3718 case $CONFIG_SITE in #((
3719 -*) ac_site_file1=./$CONFIG_SITE;;
3720 */*) ac_site_file1=$CONFIG_SITE;;
3721 *) ac_site_file1=./$CONFIG_SITE;;
3722 esac
3723 elif test "x$prefix" != xNONE; then
3724 ac_site_file1=$prefix/share/config.site
3725 ac_site_file2=$prefix/etc/config.site
3726 else
3727 ac_site_file1=$ac_default_prefix/share/config.site
3728 ac_site_file2=$ac_default_prefix/etc/config.site
3730 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3732 test "x$ac_site_file" = xNONE && continue
3733 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3735 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3736 sed 's/^/| /' "$ac_site_file" >&5
3737 . "$ac_site_file" \
3738 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3740 as_fn_error $? "failed to load site script $ac_site_file
3741 See \`config.log' for more details" "$LINENO" 5; }
3743 done
3745 if test -r "$cache_file"; then
3746 # Some versions of bash will fail to source /dev/null (special files
3747 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3748 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3750 $as_echo "$as_me: loading cache $cache_file" >&6;}
3751 case $cache_file in
3752 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3753 *) . "./$cache_file";;
3754 esac
3756 else
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3758 $as_echo "$as_me: creating cache $cache_file" >&6;}
3759 >$cache_file
3762 # Check that the precious variables saved in the cache have kept the same
3763 # value.
3764 ac_cache_corrupted=false
3765 for ac_var in $ac_precious_vars; do
3766 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3767 eval ac_new_set=\$ac_env_${ac_var}_set
3768 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3769 eval ac_new_val=\$ac_env_${ac_var}_value
3770 case $ac_old_set,$ac_new_set in
3771 set,)
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3773 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3774 ac_cache_corrupted=: ;;
3775 ,set)
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3777 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3778 ac_cache_corrupted=: ;;
3779 ,);;
3781 if test "x$ac_old_val" != "x$ac_new_val"; then
3782 # differences in whitespace do not lead to failure.
3783 ac_old_val_w=`echo x $ac_old_val`
3784 ac_new_val_w=`echo x $ac_new_val`
3785 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3787 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3788 ac_cache_corrupted=:
3789 else
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3791 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3792 eval $ac_var=\$ac_old_val
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3795 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3797 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3798 fi;;
3799 esac
3800 # Pass precious variables to config.status.
3801 if test "$ac_new_set" = set; then
3802 case $ac_new_val in
3803 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3804 *) ac_arg=$ac_var=$ac_new_val ;;
3805 esac
3806 case " $ac_configure_args " in
3807 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3808 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3809 esac
3811 done
3812 if $ac_cache_corrupted; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3816 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3817 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3819 ## -------------------- ##
3820 ## Main body of script. ##
3821 ## -------------------- ##
3823 ac_ext=c
3824 ac_cpp='$CPP $CPPFLAGS'
3825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3831 ac_config_headers="$ac_config_headers include/config.h"
3833 ac_aux_dir=
3834 for ac_dir in tools "$srcdir"/tools; do
3835 if test -f "$ac_dir/install-sh"; then
3836 ac_aux_dir=$ac_dir
3837 ac_install_sh="$ac_aux_dir/install-sh -c"
3838 break
3839 elif test -f "$ac_dir/install.sh"; then
3840 ac_aux_dir=$ac_dir
3841 ac_install_sh="$ac_aux_dir/install.sh -c"
3842 break
3843 elif test -f "$ac_dir/shtool"; then
3844 ac_aux_dir=$ac_dir
3845 ac_install_sh="$ac_aux_dir/shtool install -c"
3846 break
3848 done
3849 if test -z "$ac_aux_dir"; then
3850 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3853 # These three variables are undocumented and unsupported,
3854 # and are intended to be withdrawn in a future Autoconf release.
3855 # They can cause serious problems if a builder's source tree is in a directory
3856 # whose full name contains unusual characters.
3857 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3858 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3859 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3863 libwine_version="1.0"
3867 # Check whether --enable-win16 was given.
3868 if test "${enable_win16+set}" = set; then :
3869 enableval=$enable_win16;
3872 # Check whether --enable-win64 was given.
3873 if test "${enable_win64+set}" = set; then :
3874 enableval=$enable_win64;
3877 # Check whether --enable-tests was given.
3878 if test "${enable_tests+set}" = set; then :
3879 enableval=$enable_tests;
3882 # Check whether --enable-maintainer-mode was given.
3883 if test "${enable_maintainer_mode+set}" = set; then :
3884 enableval=$enable_maintainer_mode;
3887 # Check whether --enable-werror was given.
3888 if test "${enable_werror+set}" = set; then :
3889 enableval=$enable_werror;
3894 # Check whether --with-alsa was given.
3895 if test "${with_alsa+set}" = set; then :
3896 withval=$with_alsa;
3900 # Check whether --with-capi was given.
3901 if test "${with_capi+set}" = set; then :
3902 withval=$with_capi;
3906 # Check whether --with-cms was given.
3907 if test "${with_cms+set}" = set; then :
3908 withval=$with_cms;
3912 # Check whether --with-coreaudio was given.
3913 if test "${with_coreaudio+set}" = set; then :
3914 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3918 # Check whether --with-cups was given.
3919 if test "${with_cups+set}" = set; then :
3920 withval=$with_cups;
3924 # Check whether --with-curses was given.
3925 if test "${with_curses+set}" = set; then :
3926 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3930 # Check whether --with-dbus was given.
3931 if test "${with_dbus+set}" = set; then :
3932 withval=$with_dbus;
3936 # Check whether --with-faudio was given.
3937 if test "${with_faudio+set}" = set; then :
3938 withval=$with_faudio;
3942 # Check whether --with-float-abi was given.
3943 if test "${with_float_abi+set}" = set; then :
3944 withval=$with_float_abi;
3948 # Check whether --with-fontconfig was given.
3949 if test "${with_fontconfig+set}" = set; then :
3950 withval=$with_fontconfig;
3954 # Check whether --with-freetype was given.
3955 if test "${with_freetype+set}" = set; then :
3956 withval=$with_freetype;
3960 # Check whether --with-gettext was given.
3961 if test "${with_gettext+set}" = set; then :
3962 withval=$with_gettext;
3966 # Check whether --with-gettextpo was given.
3967 if test "${with_gettextpo+set}" = set; then :
3968 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3972 # Check whether --with-gphoto was given.
3973 if test "${with_gphoto+set}" = set; then :
3974 withval=$with_gphoto;
3978 # Check whether --with-glu was given.
3979 if test "${with_glu+set}" = set; then :
3980 withval=$with_glu;
3984 # Check whether --with-gnutls was given.
3985 if test "${with_gnutls+set}" = set; then :
3986 withval=$with_gnutls;
3990 # Check whether --with-gsm was given.
3991 if test "${with_gsm+set}" = set; then :
3992 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3996 # Check whether --with-gssapi was given.
3997 if test "${with_gssapi+set}" = set; then :
3998 withval=$with_gssapi;
4002 # Check whether --with-gstreamer was given.
4003 if test "${with_gstreamer+set}" = set; then :
4004 withval=$with_gstreamer;
4008 # Check whether --with-hal was given.
4009 if test "${with_hal+set}" = set; then :
4010 withval=$with_hal;
4014 # Check whether --with-inotify was given.
4015 if test "${with_inotify+set}" = set; then :
4016 withval=$with_inotify;
4020 # Check whether --with-jpeg was given.
4021 if test "${with_jpeg+set}" = set; then :
4022 withval=$with_jpeg;
4026 # Check whether --with-krb5 was given.
4027 if test "${with_krb5+set}" = set; then :
4028 withval=$with_krb5;
4032 # Check whether --with-ldap was given.
4033 if test "${with_ldap+set}" = set; then :
4034 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4038 # Check whether --with-mingw was given.
4039 if test "${with_mingw+set}" = set; then :
4040 withval=$with_mingw;
4044 # Check whether --with-mpg123 was given.
4045 if test "${with_mpg123+set}" = set; then :
4046 withval=$with_mpg123;
4050 # Check whether --with-netapi was given.
4051 if test "${with_netapi+set}" = set; then :
4052 withval=$with_netapi;
4056 # Check whether --with-openal was given.
4057 if test "${with_openal+set}" = set; then :
4058 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4062 # Check whether --with-opencl was given.
4063 if test "${with_opencl+set}" = set; then :
4064 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4068 # Check whether --with-opengl was given.
4069 if test "${with_opengl+set}" = set; then :
4070 withval=$with_opengl;
4074 # Check whether --with-osmesa was given.
4075 if test "${with_osmesa+set}" = set; then :
4076 withval=$with_osmesa;
4080 # Check whether --with-oss was given.
4081 if test "${with_oss+set}" = set; then :
4082 withval=$with_oss;
4086 # Check whether --with-pcap was given.
4087 if test "${with_pcap+set}" = set; then :
4088 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4092 # Check whether --with-png was given.
4093 if test "${with_png+set}" = set; then :
4094 withval=$with_png;
4098 # Check whether --with-pthread was given.
4099 if test "${with_pthread+set}" = set; then :
4100 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4104 # Check whether --with-pulse was given.
4105 if test "${with_pulse+set}" = set; then :
4106 withval=$with_pulse;
4110 # Check whether --with-sane was given.
4111 if test "${with_sane+set}" = set; then :
4112 withval=$with_sane;
4116 # Check whether --with-sdl was given.
4117 if test "${with_sdl+set}" = set; then :
4118 withval=$with_sdl;
4122 # Check whether --with-tiff was given.
4123 if test "${with_tiff+set}" = set; then :
4124 withval=$with_tiff;
4128 # Check whether --with-udev was given.
4129 if test "${with_udev+set}" = set; then :
4130 withval=$with_udev;
4134 # Check whether --with-unwind was given.
4135 if test "${with_unwind+set}" = set; then :
4136 withval=$with_unwind;
4140 # Check whether --with-usb was given.
4141 if test "${with_usb+set}" = set; then :
4142 withval=$with_usb;
4146 # Check whether --with-v4l2 was given.
4147 if test "${with_v4l2+set}" = set; then :
4148 withval=$with_v4l2;
4152 # Check whether --with-vkd3d was given.
4153 if test "${with_vkd3d+set}" = set; then :
4154 withval=$with_vkd3d;
4158 # Check whether --with-vulkan was given.
4159 if test "${with_vulkan+set}" = set; then :
4160 withval=$with_vulkan;
4164 # Check whether --with-xcomposite was given.
4165 if test "${with_xcomposite+set}" = set; then :
4166 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4170 # Check whether --with-xcursor was given.
4171 if test "${with_xcursor+set}" = set; then :
4172 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4176 # Check whether --with-xfixes was given.
4177 if test "${with_xfixes+set}" = set; then :
4178 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4182 # Check whether --with-xinerama was given.
4183 if test "${with_xinerama+set}" = set; then :
4184 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4188 # Check whether --with-xinput was given.
4189 if test "${with_xinput+set}" = set; then :
4190 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4194 # Check whether --with-xinput2 was given.
4195 if test "${with_xinput2+set}" = set; then :
4196 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4200 # Check whether --with-xml was given.
4201 if test "${with_xml+set}" = set; then :
4202 withval=$with_xml;
4206 # Check whether --with-xrandr was given.
4207 if test "${with_xrandr+set}" = set; then :
4208 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4212 # Check whether --with-xrender was given.
4213 if test "${with_xrender+set}" = set; then :
4214 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4218 # Check whether --with-xshape was given.
4219 if test "${with_xshape+set}" = set; then :
4220 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4224 # Check whether --with-xshm was given.
4225 if test "${with_xshm+set}" = set; then :
4226 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4230 # Check whether --with-xslt was given.
4231 if test "${with_xslt+set}" = set; then :
4232 withval=$with_xslt;
4236 # Check whether --with-xxf86vm was given.
4237 if test "${with_xxf86vm+set}" = set; then :
4238 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
4243 # Check whether --with-wine-tools was given.
4244 if test "${with_wine_tools+set}" = set; then :
4245 withval=$with_wine_tools;
4249 # Check whether --with-wine64 was given.
4250 if test "${with_wine64+set}" = set; then :
4251 withval=$with_wine64;
4255 # Make sure we can run config.sub.
4256 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4257 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4260 $as_echo_n "checking build system type... " >&6; }
4261 if ${ac_cv_build+:} false; then :
4262 $as_echo_n "(cached) " >&6
4263 else
4264 ac_build_alias=$build_alias
4265 test "x$ac_build_alias" = x &&
4266 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4267 test "x$ac_build_alias" = x &&
4268 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4269 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4270 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4274 $as_echo "$ac_cv_build" >&6; }
4275 case $ac_cv_build in
4276 *-*-*) ;;
4277 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4278 esac
4279 build=$ac_cv_build
4280 ac_save_IFS=$IFS; IFS='-'
4281 set x $ac_cv_build
4282 shift
4283 build_cpu=$1
4284 build_vendor=$2
4285 shift; shift
4286 # Remember, the first character of IFS is used to create $*,
4287 # except with old shells:
4288 build_os=$*
4289 IFS=$ac_save_IFS
4290 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4294 $as_echo_n "checking host system type... " >&6; }
4295 if ${ac_cv_host+:} false; then :
4296 $as_echo_n "(cached) " >&6
4297 else
4298 if test "x$host_alias" = x; then
4299 ac_cv_host=$ac_cv_build
4300 else
4301 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4302 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4307 $as_echo "$ac_cv_host" >&6; }
4308 case $ac_cv_host in
4309 *-*-*) ;;
4310 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4311 esac
4312 host=$ac_cv_host
4313 ac_save_IFS=$IFS; IFS='-'
4314 set x $ac_cv_host
4315 shift
4316 host_cpu=$1
4317 host_vendor=$2
4318 shift; shift
4319 # Remember, the first character of IFS is used to create $*,
4320 # except with old shells:
4321 host_os=$*
4322 IFS=$ac_save_IFS
4323 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4329 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4330 set x ${MAKE-make}
4331 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4332 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4333 $as_echo_n "(cached) " >&6
4334 else
4335 cat >conftest.make <<\_ACEOF
4336 SHELL = /bin/sh
4337 all:
4338 @echo '@@@%%%=$(MAKE)=@@@%%%'
4339 _ACEOF
4340 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4341 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4342 *@@@%%%=?*=@@@%%%*)
4343 eval ac_cv_prog_make_${ac_make}_set=yes;;
4345 eval ac_cv_prog_make_${ac_make}_set=no;;
4346 esac
4347 rm -f conftest.make
4349 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4351 $as_echo "yes" >&6; }
4352 SET_MAKE=
4353 else
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4355 $as_echo "no" >&6; }
4356 SET_MAKE="MAKE=${MAKE-make}"
4359 ac_ext=c
4360 ac_cpp='$CPP $CPPFLAGS'
4361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4364 if test -n "$ac_tool_prefix"; then
4365 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4366 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4368 $as_echo_n "checking for $ac_word... " >&6; }
4369 if ${ac_cv_prog_CC+:} false; then :
4370 $as_echo_n "(cached) " >&6
4371 else
4372 if test -n "$CC"; then
4373 ac_cv_prog_CC="$CC" # Let the user override the test.
4374 else
4375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4376 for as_dir in $PATH
4378 IFS=$as_save_IFS
4379 test -z "$as_dir" && as_dir=.
4380 for ac_exec_ext in '' $ac_executable_extensions; do
4381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4382 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4384 break 2
4386 done
4387 done
4388 IFS=$as_save_IFS
4392 CC=$ac_cv_prog_CC
4393 if test -n "$CC"; then
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4395 $as_echo "$CC" >&6; }
4396 else
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4398 $as_echo "no" >&6; }
4403 if test -z "$ac_cv_prog_CC"; then
4404 ac_ct_CC=$CC
4405 # Extract the first word of "gcc", so it can be a program name with args.
4406 set dummy gcc; ac_word=$2
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4408 $as_echo_n "checking for $ac_word... " >&6; }
4409 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4410 $as_echo_n "(cached) " >&6
4411 else
4412 if test -n "$ac_ct_CC"; then
4413 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4414 else
4415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4416 for as_dir in $PATH
4418 IFS=$as_save_IFS
4419 test -z "$as_dir" && as_dir=.
4420 for ac_exec_ext in '' $ac_executable_extensions; do
4421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4422 ac_cv_prog_ac_ct_CC="gcc"
4423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4424 break 2
4426 done
4427 done
4428 IFS=$as_save_IFS
4432 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4433 if test -n "$ac_ct_CC"; then
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4435 $as_echo "$ac_ct_CC" >&6; }
4436 else
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4438 $as_echo "no" >&6; }
4441 if test "x$ac_ct_CC" = x; then
4442 CC=""
4443 else
4444 case $cross_compiling:$ac_tool_warned in
4445 yes:)
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4449 esac
4450 CC=$ac_ct_CC
4452 else
4453 CC="$ac_cv_prog_CC"
4456 if test -z "$CC"; then
4457 if test -n "$ac_tool_prefix"; then
4458 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4459 set dummy ${ac_tool_prefix}cc; ac_word=$2
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4461 $as_echo_n "checking for $ac_word... " >&6; }
4462 if ${ac_cv_prog_CC+:} false; then :
4463 $as_echo_n "(cached) " >&6
4464 else
4465 if test -n "$CC"; then
4466 ac_cv_prog_CC="$CC" # Let the user override the test.
4467 else
4468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4469 for as_dir in $PATH
4471 IFS=$as_save_IFS
4472 test -z "$as_dir" && as_dir=.
4473 for ac_exec_ext in '' $ac_executable_extensions; do
4474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4475 ac_cv_prog_CC="${ac_tool_prefix}cc"
4476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4477 break 2
4479 done
4480 done
4481 IFS=$as_save_IFS
4485 CC=$ac_cv_prog_CC
4486 if test -n "$CC"; then
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4488 $as_echo "$CC" >&6; }
4489 else
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4491 $as_echo "no" >&6; }
4497 if test -z "$CC"; then
4498 # Extract the first word of "cc", so it can be a program name with args.
4499 set dummy cc; ac_word=$2
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4501 $as_echo_n "checking for $ac_word... " >&6; }
4502 if ${ac_cv_prog_CC+:} false; then :
4503 $as_echo_n "(cached) " >&6
4504 else
4505 if test -n "$CC"; then
4506 ac_cv_prog_CC="$CC" # Let the user override the test.
4507 else
4508 ac_prog_rejected=no
4509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4510 for as_dir in $PATH
4512 IFS=$as_save_IFS
4513 test -z "$as_dir" && as_dir=.
4514 for ac_exec_ext in '' $ac_executable_extensions; do
4515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4516 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4517 ac_prog_rejected=yes
4518 continue
4520 ac_cv_prog_CC="cc"
4521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 break 2
4524 done
4525 done
4526 IFS=$as_save_IFS
4528 if test $ac_prog_rejected = yes; then
4529 # We found a bogon in the path, so make sure we never use it.
4530 set dummy $ac_cv_prog_CC
4531 shift
4532 if test $# != 0; then
4533 # We chose a different compiler from the bogus one.
4534 # However, it has the same basename, so the bogon will be chosen
4535 # first if we set CC to just the basename; use the full file name.
4536 shift
4537 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4542 CC=$ac_cv_prog_CC
4543 if test -n "$CC"; then
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4545 $as_echo "$CC" >&6; }
4546 else
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4548 $as_echo "no" >&6; }
4553 if test -z "$CC"; then
4554 if test -n "$ac_tool_prefix"; then
4555 for ac_prog in cl.exe
4557 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4558 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4560 $as_echo_n "checking for $ac_word... " >&6; }
4561 if ${ac_cv_prog_CC+:} false; then :
4562 $as_echo_n "(cached) " >&6
4563 else
4564 if test -n "$CC"; then
4565 ac_cv_prog_CC="$CC" # Let the user override the test.
4566 else
4567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568 for as_dir in $PATH
4570 IFS=$as_save_IFS
4571 test -z "$as_dir" && as_dir=.
4572 for ac_exec_ext in '' $ac_executable_extensions; do
4573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4574 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4576 break 2
4578 done
4579 done
4580 IFS=$as_save_IFS
4584 CC=$ac_cv_prog_CC
4585 if test -n "$CC"; then
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4587 $as_echo "$CC" >&6; }
4588 else
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4590 $as_echo "no" >&6; }
4594 test -n "$CC" && break
4595 done
4597 if test -z "$CC"; then
4598 ac_ct_CC=$CC
4599 for ac_prog in cl.exe
4601 # Extract the first word of "$ac_prog", so it can be a program name with args.
4602 set dummy $ac_prog; ac_word=$2
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4604 $as_echo_n "checking for $ac_word... " >&6; }
4605 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4606 $as_echo_n "(cached) " >&6
4607 else
4608 if test -n "$ac_ct_CC"; then
4609 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4610 else
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 for as_dir in $PATH
4614 IFS=$as_save_IFS
4615 test -z "$as_dir" && as_dir=.
4616 for ac_exec_ext in '' $ac_executable_extensions; do
4617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4618 ac_cv_prog_ac_ct_CC="$ac_prog"
4619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 break 2
4622 done
4623 done
4624 IFS=$as_save_IFS
4628 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4629 if test -n "$ac_ct_CC"; then
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4631 $as_echo "$ac_ct_CC" >&6; }
4632 else
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4638 test -n "$ac_ct_CC" && break
4639 done
4641 if test "x$ac_ct_CC" = x; then
4642 CC=""
4643 else
4644 case $cross_compiling:$ac_tool_warned in
4645 yes:)
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4648 ac_tool_warned=yes ;;
4649 esac
4650 CC=$ac_ct_CC
4657 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4659 as_fn_error $? "no acceptable C compiler found in \$PATH
4660 See \`config.log' for more details" "$LINENO" 5; }
4662 # Provide some information about the compiler.
4663 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4664 set X $ac_compile
4665 ac_compiler=$2
4666 for ac_option in --version -v -V -qversion; do
4667 { { ac_try="$ac_compiler $ac_option >&5"
4668 case "(($ac_try" in
4669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4670 *) ac_try_echo=$ac_try;;
4671 esac
4672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4673 $as_echo "$ac_try_echo"; } >&5
4674 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4675 ac_status=$?
4676 if test -s conftest.err; then
4677 sed '10a\
4678 ... rest of stderr output deleted ...
4679 10q' conftest.err >conftest.er1
4680 cat conftest.er1 >&5
4682 rm -f conftest.er1 conftest.err
4683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4684 test $ac_status = 0; }
4685 done
4687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4688 /* end confdefs.h. */
4691 main ()
4695 return 0;
4697 _ACEOF
4698 ac_clean_files_save=$ac_clean_files
4699 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4700 # Try to create an executable without -o first, disregard a.out.
4701 # It will help us diagnose broken compilers, and finding out an intuition
4702 # of exeext.
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4704 $as_echo_n "checking whether the C compiler works... " >&6; }
4705 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4707 # The possible output files:
4708 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4710 ac_rmfiles=
4711 for ac_file in $ac_files
4713 case $ac_file in
4714 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4715 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4716 esac
4717 done
4718 rm -f $ac_rmfiles
4720 if { { ac_try="$ac_link_default"
4721 case "(($ac_try" in
4722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4723 *) ac_try_echo=$ac_try;;
4724 esac
4725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4726 $as_echo "$ac_try_echo"; } >&5
4727 (eval "$ac_link_default") 2>&5
4728 ac_status=$?
4729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4730 test $ac_status = 0; }; then :
4731 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4732 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4733 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4734 # so that the user can short-circuit this test for compilers unknown to
4735 # Autoconf.
4736 for ac_file in $ac_files ''
4738 test -f "$ac_file" || continue
4739 case $ac_file in
4740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4742 [ab].out )
4743 # We found the default executable, but exeext='' is most
4744 # certainly right.
4745 break;;
4746 *.* )
4747 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4748 then :; else
4749 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4751 # We set ac_cv_exeext here because the later test for it is not
4752 # safe: cross compilers may not add the suffix if given an `-o'
4753 # argument, so we may need to know it at that point already.
4754 # Even if this section looks crufty: it has the advantage of
4755 # actually working.
4756 break;;
4758 break;;
4759 esac
4760 done
4761 test "$ac_cv_exeext" = no && ac_cv_exeext=
4763 else
4764 ac_file=''
4766 if test -z "$ac_file"; then :
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4769 $as_echo "$as_me: failed program was:" >&5
4770 sed 's/^/| /' conftest.$ac_ext >&5
4772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4774 as_fn_error 77 "C compiler cannot create executables
4775 See \`config.log' for more details" "$LINENO" 5; }
4776 else
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4778 $as_echo "yes" >&6; }
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4781 $as_echo_n "checking for C compiler default output file name... " >&6; }
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4783 $as_echo "$ac_file" >&6; }
4784 ac_exeext=$ac_cv_exeext
4786 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4787 ac_clean_files=$ac_clean_files_save
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4789 $as_echo_n "checking for suffix of executables... " >&6; }
4790 if { { ac_try="$ac_link"
4791 case "(($ac_try" in
4792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4793 *) ac_try_echo=$ac_try;;
4794 esac
4795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4796 $as_echo "$ac_try_echo"; } >&5
4797 (eval "$ac_link") 2>&5
4798 ac_status=$?
4799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4800 test $ac_status = 0; }; then :
4801 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4802 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4803 # work properly (i.e., refer to `conftest.exe'), while it won't with
4804 # `rm'.
4805 for ac_file in conftest.exe conftest conftest.*; do
4806 test -f "$ac_file" || continue
4807 case $ac_file in
4808 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4809 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4810 break;;
4811 * ) break;;
4812 esac
4813 done
4814 else
4815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4817 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4818 See \`config.log' for more details" "$LINENO" 5; }
4820 rm -f conftest conftest$ac_cv_exeext
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4822 $as_echo "$ac_cv_exeext" >&6; }
4824 rm -f conftest.$ac_ext
4825 EXEEXT=$ac_cv_exeext
4826 ac_exeext=$EXEEXT
4827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4828 /* end confdefs.h. */
4829 #include <stdio.h>
4831 main ()
4833 FILE *f = fopen ("conftest.out", "w");
4834 return ferror (f) || fclose (f) != 0;
4837 return 0;
4839 _ACEOF
4840 ac_clean_files="$ac_clean_files conftest.out"
4841 # Check that the compiler produces executables we can run. If not, either
4842 # the compiler is broken, or we cross compile.
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4844 $as_echo_n "checking whether we are cross compiling... " >&6; }
4845 if test "$cross_compiling" != yes; then
4846 { { ac_try="$ac_link"
4847 case "(($ac_try" in
4848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4849 *) ac_try_echo=$ac_try;;
4850 esac
4851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4852 $as_echo "$ac_try_echo"; } >&5
4853 (eval "$ac_link") 2>&5
4854 ac_status=$?
4855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4856 test $ac_status = 0; }
4857 if { ac_try='./conftest$ac_cv_exeext'
4858 { { case "(($ac_try" in
4859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4860 *) ac_try_echo=$ac_try;;
4861 esac
4862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4863 $as_echo "$ac_try_echo"; } >&5
4864 (eval "$ac_try") 2>&5
4865 ac_status=$?
4866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4867 test $ac_status = 0; }; }; then
4868 cross_compiling=no
4869 else
4870 if test "$cross_compiling" = maybe; then
4871 cross_compiling=yes
4872 else
4873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4875 as_fn_error $? "cannot run C compiled programs.
4876 If you meant to cross compile, use \`--host'.
4877 See \`config.log' for more details" "$LINENO" 5; }
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4882 $as_echo "$cross_compiling" >&6; }
4884 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4885 ac_clean_files=$ac_clean_files_save
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4887 $as_echo_n "checking for suffix of object files... " >&6; }
4888 if ${ac_cv_objext+:} false; then :
4889 $as_echo_n "(cached) " >&6
4890 else
4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4892 /* end confdefs.h. */
4895 main ()
4899 return 0;
4901 _ACEOF
4902 rm -f conftest.o conftest.obj
4903 if { { ac_try="$ac_compile"
4904 case "(($ac_try" in
4905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4906 *) ac_try_echo=$ac_try;;
4907 esac
4908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4909 $as_echo "$ac_try_echo"; } >&5
4910 (eval "$ac_compile") 2>&5
4911 ac_status=$?
4912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4913 test $ac_status = 0; }; then :
4914 for ac_file in conftest.o conftest.obj conftest.*; do
4915 test -f "$ac_file" || continue;
4916 case $ac_file in
4917 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4918 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4919 break;;
4920 esac
4921 done
4922 else
4923 $as_echo "$as_me: failed program was:" >&5
4924 sed 's/^/| /' conftest.$ac_ext >&5
4926 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4928 as_fn_error $? "cannot compute suffix of object files: cannot compile
4929 See \`config.log' for more details" "$LINENO" 5; }
4931 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4934 $as_echo "$ac_cv_objext" >&6; }
4935 OBJEXT=$ac_cv_objext
4936 ac_objext=$OBJEXT
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4938 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4939 if ${ac_cv_c_compiler_gnu+:} false; then :
4940 $as_echo_n "(cached) " >&6
4941 else
4942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4943 /* end confdefs.h. */
4946 main ()
4948 #ifndef __GNUC__
4949 choke me
4950 #endif
4953 return 0;
4955 _ACEOF
4956 if ac_fn_c_try_compile "$LINENO"; then :
4957 ac_compiler_gnu=yes
4958 else
4959 ac_compiler_gnu=no
4961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4962 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4966 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4967 if test $ac_compiler_gnu = yes; then
4968 GCC=yes
4969 else
4970 GCC=
4972 ac_test_CFLAGS=${CFLAGS+set}
4973 ac_save_CFLAGS=$CFLAGS
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4975 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4976 if ${ac_cv_prog_cc_g+:} false; then :
4977 $as_echo_n "(cached) " >&6
4978 else
4979 ac_save_c_werror_flag=$ac_c_werror_flag
4980 ac_c_werror_flag=yes
4981 ac_cv_prog_cc_g=no
4982 CFLAGS="-g"
4983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4987 main ()
4991 return 0;
4993 _ACEOF
4994 if ac_fn_c_try_compile "$LINENO"; then :
4995 ac_cv_prog_cc_g=yes
4996 else
4997 CFLAGS=""
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 :
5011 else
5012 ac_c_werror_flag=$ac_save_c_werror_flag
5013 CFLAGS="-g"
5014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5015 /* end confdefs.h. */
5018 main ()
5022 return 0;
5024 _ACEOF
5025 if ac_fn_c_try_compile "$LINENO"; then :
5026 ac_cv_prog_cc_g=yes
5028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5033 ac_c_werror_flag=$ac_save_c_werror_flag
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5036 $as_echo "$ac_cv_prog_cc_g" >&6; }
5037 if test "$ac_test_CFLAGS" = set; then
5038 CFLAGS=$ac_save_CFLAGS
5039 elif test $ac_cv_prog_cc_g = yes; then
5040 if test "$GCC" = yes; then
5041 CFLAGS="-g -O2"
5042 else
5043 CFLAGS="-g"
5045 else
5046 if test "$GCC" = yes; then
5047 CFLAGS="-O2"
5048 else
5049 CFLAGS=
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5053 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5054 if ${ac_cv_prog_cc_c89+:} false; then :
5055 $as_echo_n "(cached) " >&6
5056 else
5057 ac_cv_prog_cc_c89=no
5058 ac_save_CC=$CC
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5061 #include <stdarg.h>
5062 #include <stdio.h>
5063 struct stat;
5064 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5065 struct buf { int x; };
5066 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5067 static char *e (p, i)
5068 char **p;
5069 int i;
5071 return p[i];
5073 static char *f (char * (*g) (char **, int), char **p, ...)
5075 char *s;
5076 va_list v;
5077 va_start (v,p);
5078 s = g (p, va_arg (v,int));
5079 va_end (v);
5080 return s;
5083 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5084 function prototypes and stuff, but not '\xHH' hex character constants.
5085 These don't provoke an error unfortunately, instead are silently treated
5086 as 'x'. The following induces an error, until -std is added to get
5087 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5088 array size at least. It's necessary to write '\x00'==0 to get something
5089 that's true only with -std. */
5090 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5092 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5093 inside strings and character constants. */
5094 #define FOO(x) 'x'
5095 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5097 int test (int i, double x);
5098 struct s1 {int (*f) (int a);};
5099 struct s2 {int (*f) (double a);};
5100 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5101 int argc;
5102 char **argv;
5104 main ()
5106 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5108 return 0;
5110 _ACEOF
5111 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5112 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5114 CC="$ac_save_CC $ac_arg"
5115 if ac_fn_c_try_compile "$LINENO"; then :
5116 ac_cv_prog_cc_c89=$ac_arg
5118 rm -f core conftest.err conftest.$ac_objext
5119 test "x$ac_cv_prog_cc_c89" != "xno" && break
5120 done
5121 rm -f conftest.$ac_ext
5122 CC=$ac_save_CC
5125 # AC_CACHE_VAL
5126 case "x$ac_cv_prog_cc_c89" in
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5129 $as_echo "none needed" >&6; } ;;
5130 xno)
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5132 $as_echo "unsupported" >&6; } ;;
5134 CC="$CC $ac_cv_prog_cc_c89"
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5136 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5137 esac
5138 if test "x$ac_cv_prog_cc_c89" != xno; then :
5142 ac_ext=c
5143 ac_cpp='$CPP $CPPFLAGS'
5144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5148 ac_ext=cpp
5149 ac_cpp='$CXXCPP $CPPFLAGS'
5150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5153 if test -z "$CXX"; then
5154 if test -n "$CCC"; then
5155 CXX=$CCC
5156 else
5157 if test -n "$ac_tool_prefix"; then
5158 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5160 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5161 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if ${ac_cv_prog_CXX+:} false; then :
5165 $as_echo_n "(cached) " >&6
5166 else
5167 if test -n "$CXX"; then
5168 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5169 else
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH
5173 IFS=$as_save_IFS
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5177 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 break 2
5181 done
5182 done
5183 IFS=$as_save_IFS
5187 CXX=$ac_cv_prog_CXX
5188 if test -n "$CXX"; then
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5190 $as_echo "$CXX" >&6; }
5191 else
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5197 test -n "$CXX" && break
5198 done
5200 if test -z "$CXX"; then
5201 ac_ct_CXX=$CXX
5202 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5204 # Extract the first word of "$ac_prog", so it can be a program name with args.
5205 set dummy $ac_prog; ac_word=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5209 $as_echo_n "(cached) " >&6
5210 else
5211 if test -n "$ac_ct_CXX"; then
5212 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5213 else
5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5215 for as_dir in $PATH
5217 IFS=$as_save_IFS
5218 test -z "$as_dir" && as_dir=.
5219 for ac_exec_ext in '' $ac_executable_extensions; do
5220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5221 ac_cv_prog_ac_ct_CXX="$ac_prog"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 break 2
5225 done
5226 done
5227 IFS=$as_save_IFS
5231 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5232 if test -n "$ac_ct_CXX"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5234 $as_echo "$ac_ct_CXX" >&6; }
5235 else
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5241 test -n "$ac_ct_CXX" && break
5242 done
5244 if test "x$ac_ct_CXX" = x; then
5245 CXX="g++"
5246 else
5247 case $cross_compiling:$ac_tool_warned in
5248 yes:)
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5251 ac_tool_warned=yes ;;
5252 esac
5253 CXX=$ac_ct_CXX
5259 # Provide some information about the compiler.
5260 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5261 set X $ac_compile
5262 ac_compiler=$2
5263 for ac_option in --version -v -V -qversion; do
5264 { { ac_try="$ac_compiler $ac_option >&5"
5265 case "(($ac_try" in
5266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5267 *) ac_try_echo=$ac_try;;
5268 esac
5269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5270 $as_echo "$ac_try_echo"; } >&5
5271 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5272 ac_status=$?
5273 if test -s conftest.err; then
5274 sed '10a\
5275 ... rest of stderr output deleted ...
5276 10q' conftest.err >conftest.er1
5277 cat conftest.er1 >&5
5279 rm -f conftest.er1 conftest.err
5280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5281 test $ac_status = 0; }
5282 done
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5285 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5286 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5287 $as_echo_n "(cached) " >&6
5288 else
5289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5290 /* end confdefs.h. */
5293 main ()
5295 #ifndef __GNUC__
5296 choke me
5297 #endif
5300 return 0;
5302 _ACEOF
5303 if ac_fn_cxx_try_compile "$LINENO"; then :
5304 ac_compiler_gnu=yes
5305 else
5306 ac_compiler_gnu=no
5308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5309 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5313 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5314 if test $ac_compiler_gnu = yes; then
5315 GXX=yes
5316 else
5317 GXX=
5319 ac_test_CXXFLAGS=${CXXFLAGS+set}
5320 ac_save_CXXFLAGS=$CXXFLAGS
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5322 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5323 if ${ac_cv_prog_cxx_g+:} false; then :
5324 $as_echo_n "(cached) " >&6
5325 else
5326 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5327 ac_cxx_werror_flag=yes
5328 ac_cv_prog_cxx_g=no
5329 CXXFLAGS="-g"
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5334 main ()
5338 return 0;
5340 _ACEOF
5341 if ac_fn_cxx_try_compile "$LINENO"; then :
5342 ac_cv_prog_cxx_g=yes
5343 else
5344 CXXFLAGS=""
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 :
5358 else
5359 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5360 CXXFLAGS="-g"
5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5365 main ()
5369 return 0;
5371 _ACEOF
5372 if ac_fn_cxx_try_compile "$LINENO"; then :
5373 ac_cv_prog_cxx_g=yes
5375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5380 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5383 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5384 if test "$ac_test_CXXFLAGS" = set; then
5385 CXXFLAGS=$ac_save_CXXFLAGS
5386 elif test $ac_cv_prog_cxx_g = yes; then
5387 if test "$GXX" = yes; then
5388 CXXFLAGS="-g -O2"
5389 else
5390 CXXFLAGS="-g"
5392 else
5393 if test "$GXX" = yes; then
5394 CXXFLAGS="-O2"
5395 else
5396 CXXFLAGS=
5399 ac_ext=c
5400 ac_cpp='$CPP $CPPFLAGS'
5401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5405 if test -n "$ac_tool_prefix"; then
5406 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5407 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_prog_CPPBIN+:} false; then :
5411 $as_echo_n "(cached) " >&6
5412 else
5413 if test -n "$CPPBIN"; then
5414 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5415 else
5416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5417 for as_dir in $PATH
5419 IFS=$as_save_IFS
5420 test -z "$as_dir" && as_dir=.
5421 for ac_exec_ext in '' $ac_executable_extensions; do
5422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5423 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 break 2
5427 done
5428 done
5429 IFS=$as_save_IFS
5433 CPPBIN=$ac_cv_prog_CPPBIN
5434 if test -n "$CPPBIN"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5436 $as_echo "$CPPBIN" >&6; }
5437 else
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5444 if test -z "$ac_cv_prog_CPPBIN"; then
5445 ac_ct_CPPBIN=$CPPBIN
5446 # Extract the first word of "cpp", so it can be a program name with args.
5447 set dummy cpp; ac_word=$2
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5449 $as_echo_n "checking for $ac_word... " >&6; }
5450 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5451 $as_echo_n "(cached) " >&6
5452 else
5453 if test -n "$ac_ct_CPPBIN"; then
5454 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5455 else
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 for as_dir in $PATH
5459 IFS=$as_save_IFS
5460 test -z "$as_dir" && as_dir=.
5461 for ac_exec_ext in '' $ac_executable_extensions; do
5462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5463 ac_cv_prog_ac_ct_CPPBIN="cpp"
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5465 break 2
5467 done
5468 done
5469 IFS=$as_save_IFS
5473 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5474 if test -n "$ac_ct_CPPBIN"; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5476 $as_echo "$ac_ct_CPPBIN" >&6; }
5477 else
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5482 if test "x$ac_ct_CPPBIN" = x; then
5483 CPPBIN="cpp"
5484 else
5485 case $cross_compiling:$ac_tool_warned in
5486 yes:)
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5489 ac_tool_warned=yes ;;
5490 esac
5491 CPPBIN=$ac_ct_CPPBIN
5493 else
5494 CPPBIN="$ac_cv_prog_CPPBIN"
5498 cat >>confdefs.h <<_ACEOF
5499 #define EXEEXT "$ac_exeext"
5500 _ACEOF
5502 if test -n "$ac_tool_prefix"; then
5503 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5504 set dummy ${ac_tool_prefix}ld; ac_word=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if ${ac_cv_prog_LD+:} false; then :
5508 $as_echo_n "(cached) " >&6
5509 else
5510 if test -n "$LD"; then
5511 ac_cv_prog_LD="$LD" # Let the user override the test.
5512 else
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5514 for as_dir in $PATH
5516 IFS=$as_save_IFS
5517 test -z "$as_dir" && as_dir=.
5518 for ac_exec_ext in '' $ac_executable_extensions; do
5519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5520 ac_cv_prog_LD="${ac_tool_prefix}ld"
5521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 break 2
5524 done
5525 done
5526 IFS=$as_save_IFS
5530 LD=$ac_cv_prog_LD
5531 if test -n "$LD"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5533 $as_echo "$LD" >&6; }
5534 else
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5541 if test -z "$ac_cv_prog_LD"; then
5542 ac_ct_LD=$LD
5543 # Extract the first word of "ld", so it can be a program name with args.
5544 set dummy ld; ac_word=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5548 $as_echo_n "(cached) " >&6
5549 else
5550 if test -n "$ac_ct_LD"; then
5551 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5552 else
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 for as_dir in $PATH
5556 IFS=$as_save_IFS
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5560 ac_cv_prog_ac_ct_LD="ld"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5562 break 2
5564 done
5565 done
5566 IFS=$as_save_IFS
5570 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5571 if test -n "$ac_ct_LD"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5573 $as_echo "$ac_ct_LD" >&6; }
5574 else
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5579 if test "x$ac_ct_LD" = x; then
5580 LD=""
5581 else
5582 case $cross_compiling:$ac_tool_warned in
5583 yes:)
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5586 ac_tool_warned=yes ;;
5587 esac
5588 LD=$ac_ct_LD
5590 else
5591 LD="$ac_cv_prog_LD"
5595 case $host in
5596 *-darwin*)
5597 with_fontconfig=${with_fontconfig:-no}
5599 *-mingw32*|*-cygwin*)
5600 enable_win16=${enable_win16:-no}
5601 with_mingw=${with_mingw:-no}
5602 CFLAGS="$CFLAGS -D_WIN32"
5604 esac
5606 case $host in
5607 x86_64*|amd64*)
5608 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5609 then
5610 CC="$CC -m32"
5611 CXX="$CXX -m32"
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5614 $as_echo_n "checking whether $CC works... " >&6; }
5615 if ${wine_cv_cc_m32+:} false; then :
5616 $as_echo_n "(cached) " >&6
5617 else
5618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5619 /* end confdefs.h. */
5622 main ()
5626 return 0;
5628 _ACEOF
5629 if ac_fn_c_try_link "$LINENO"; then :
5630 wine_cv_cc_m32=yes
5631 else
5632 wine_cv_cc_m32=no
5634 rm -f core conftest.err conftest.$ac_objext \
5635 conftest$ac_exeext conftest.$ac_ext
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5638 $as_echo "$wine_cv_cc_m32" >&6; }
5639 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
5640 host_cpu="i386"
5641 notice_platform="32-bit "
5642 TARGETFLAGS="-m32"
5644 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5645 export PKG_CONFIG_PATH
5646 enable_win16=${enable_win16:-yes}
5647 with_unwind=${with_unwind:-no}
5648 else
5649 if test "x${GCC}" = "xyes"
5650 then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5652 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5653 if ${wine_cv_builtin_ms_va_list+:} false; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5657 /* end confdefs.h. */
5658 #include <stdarg.h>
5660 main ()
5662 void func(__builtin_ms_va_list *args);
5664 return 0;
5666 _ACEOF
5667 if ac_fn_c_try_compile "$LINENO"; then :
5668 wine_cv_builtin_ms_va_list=yes
5669 else
5670 wine_cv_builtin_ms_va_list=no
5672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5675 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5676 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
5678 CC="$CC -m64"
5679 CXX="$CXX -m64"
5680 host_cpu="x86_64"
5681 notice_platform="64-bit "
5682 TARGETFLAGS="-m64"
5686 arm*)
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5688 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5689 if ${wine_cv_thumb+:} false; then :
5690 $as_echo_n "(cached) " >&6
5691 else
5692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5693 /* end confdefs.h. */
5694 int ac_test(int i) { return i; }
5696 main ()
5698 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5700 return 0;
5702 _ACEOF
5703 if ac_fn_c_try_link "$LINENO"; then :
5704 wine_cv_thumb=yes
5705 else
5706 wine_cv_thumb=no
5708 rm -f core conftest.err conftest.$ac_objext \
5709 conftest$ac_exeext conftest.$ac_ext
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5712 $as_echo "$wine_cv_thumb" >&6; }
5713 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5714 case $with_float_abi in
5715 soft|softfp|hard)
5716 float_abi=$with_float_abi ;;
5718 case $host_os in
5719 *eabihf)
5720 float_abi=hard ;;
5722 float_abi=softfp
5723 saved_CFLAGS=$CFLAGS
5724 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5726 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5727 if ${wine_cv_float_abi+:} false; then :
5728 $as_echo_n "(cached) " >&6
5729 else
5730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5731 /* end confdefs.h. */
5734 main ()
5736 asm("vmrs r2,fpscr");
5738 return 0;
5740 _ACEOF
5741 if ac_fn_c_try_link "$LINENO"; then :
5742 wine_cv_float_abi=yes
5743 else
5744 wine_cv_float_abi=no
5746 rm -f core conftest.err conftest.$ac_objext \
5747 conftest$ac_exeext conftest.$ac_ext
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5750 $as_echo "$wine_cv_float_abi" >&6; }
5751 if test $wine_cv_float_abi = no
5752 then
5753 float_abi=soft
5754 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5756 CFLAGS=$saved_CFLAGS
5757 esac
5759 esac
5760 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5761 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5764 aarch64*)
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5766 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5767 if ${wine_cv_builtin_ms_va_list+:} false; then :
5768 $as_echo_n "(cached) " >&6
5769 else
5770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5771 /* end confdefs.h. */
5772 #include <stdarg.h>
5774 main ()
5776 void func(__builtin_ms_va_list *args);
5778 return 0;
5780 _ACEOF
5781 if ac_fn_c_try_compile "$LINENO"; then :
5782 wine_cv_builtin_ms_va_list=yes
5783 else
5784 wine_cv_builtin_ms_va_list=no
5786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5789 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5790 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5792 i[3456789]86*)
5793 enable_win16=${enable_win16:-yes}
5794 with_unwind=${with_unwind:-no}
5796 esac
5798 enable_win16=${enable_win16:-no}
5799 enable_win64=${enable_win64:-no}
5801 enable_winetest=${enable_winetest:-$enable_tests}
5803 if test "x$enable_win64" = "xyes"
5804 then
5805 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5806 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5807 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5811 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5812 if ${wine_cv_toolsdir+:} false; then :
5813 $as_echo_n "(cached) " >&6
5814 else
5815 wine_cv_toolsdir="$with_wine_tools"
5816 if test -z "$with_wine_tools"; then
5817 if test "$cross_compiling" = "yes"; then
5818 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5819 elif test -n "$with_wine64"; then
5820 wine_cv_toolsdir="$with_wine64"
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5825 $as_echo "$wine_cv_toolsdir" >&6; }
5826 if test -z "$wine_cv_toolsdir"; then
5827 wine_makedep=tools/makedep
5828 TOOLSDIR="\$(top_builddir)"
5830 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5831 wine_makedep=$wine_cv_toolsdir/tools/makedep
5832 case "$wine_cv_toolsdir" in
5833 /*) TOOLSDIR=$wine_cv_toolsdir
5835 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5837 esac
5838 enable_tools=${enable_tools:-no}
5839 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5840 else
5841 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5843 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5844 then
5845 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5849 for ac_prog in flex
5851 # Extract the first word of "$ac_prog", so it can be a program name with args.
5852 set dummy $ac_prog; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if ${ac_cv_prog_FLEX+:} false; then :
5856 $as_echo_n "(cached) " >&6
5857 else
5858 if test -n "$FLEX"; then
5859 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5860 else
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in $PATH
5864 IFS=$as_save_IFS
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5868 ac_cv_prog_FLEX="$ac_prog"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 break 2
5872 done
5873 done
5874 IFS=$as_save_IFS
5878 FLEX=$ac_cv_prog_FLEX
5879 if test -n "$FLEX"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5881 $as_echo "$FLEX" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5888 test -n "$FLEX" && break
5889 done
5890 test -n "$FLEX" || FLEX="none"
5892 if test "$FLEX" = "none"
5893 then
5894 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5897 $as_echo_n "checking whether flex is recent enough... " >&6; }
5898 if ${wine_cv_recent_flex+:} false; then :
5899 $as_echo_n "(cached) " >&6
5900 else
5901 cat >conftest.l <<EOF
5902 %top{
5903 #include "prediluvian.h"
5907 if $FLEX -t conftest.l >/dev/null 2>&5
5908 then
5909 wine_cv_recent_flex=yes
5910 else
5911 wine_cv_recent_flex=no
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5915 $as_echo "$wine_cv_recent_flex" >&6; }
5916 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
5918 for ac_prog in bison
5920 # Extract the first word of "$ac_prog", so it can be a program name with args.
5921 set dummy $ac_prog; ac_word=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923 $as_echo_n "checking for $ac_word... " >&6; }
5924 if ${ac_cv_prog_BISON+:} false; then :
5925 $as_echo_n "(cached) " >&6
5926 else
5927 if test -n "$BISON"; then
5928 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5929 else
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931 for as_dir in $PATH
5933 IFS=$as_save_IFS
5934 test -z "$as_dir" && as_dir=.
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5937 ac_cv_prog_BISON="$ac_prog"
5938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5939 break 2
5941 done
5942 done
5943 IFS=$as_save_IFS
5947 BISON=$ac_cv_prog_BISON
5948 if test -n "$BISON"; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5950 $as_echo "$BISON" >&6; }
5951 else
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953 $as_echo "no" >&6; }
5957 test -n "$BISON" && break
5958 done
5959 test -n "$BISON" || BISON="none"
5961 if test "$BISON" = "none"
5962 then
5963 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5966 $as_echo_n "checking whether bison is recent enough... " >&6; }
5967 if ${wine_cv_recent_bison+:} false; then :
5968 $as_echo_n "(cached) " >&6
5969 else
5970 cat >conftest.y <<EOF
5971 %define parse.error verbose
5973 empty: ;
5975 if $BISON conftest.y >/dev/null 2>&5
5976 then
5977 wine_cv_recent_bison=yes
5978 else
5979 wine_cv_recent_bison=no
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5983 $as_echo "$wine_cv_recent_bison" >&6; }
5984 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
5986 if test -n "$ac_tool_prefix"; then
5987 for ac_prog in ar gar
5989 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5990 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5992 $as_echo_n "checking for $ac_word... " >&6; }
5993 if ${ac_cv_prog_AR+:} false; then :
5994 $as_echo_n "(cached) " >&6
5995 else
5996 if test -n "$AR"; then
5997 ac_cv_prog_AR="$AR" # Let the user override the test.
5998 else
5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6000 for as_dir in $PATH
6002 IFS=$as_save_IFS
6003 test -z "$as_dir" && as_dir=.
6004 for ac_exec_ext in '' $ac_executable_extensions; do
6005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6006 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6008 break 2
6010 done
6011 done
6012 IFS=$as_save_IFS
6016 AR=$ac_cv_prog_AR
6017 if test -n "$AR"; then
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6019 $as_echo "$AR" >&6; }
6020 else
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6022 $as_echo "no" >&6; }
6026 test -n "$AR" && break
6027 done
6029 if test -z "$AR"; then
6030 ac_ct_AR=$AR
6031 for ac_prog in ar gar
6033 # Extract the first word of "$ac_prog", so it can be a program name with args.
6034 set dummy $ac_prog; ac_word=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6038 $as_echo_n "(cached) " >&6
6039 else
6040 if test -n "$ac_ct_AR"; then
6041 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6042 else
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044 for as_dir in $PATH
6046 IFS=$as_save_IFS
6047 test -z "$as_dir" && as_dir=.
6048 for ac_exec_ext in '' $ac_executable_extensions; do
6049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6050 ac_cv_prog_ac_ct_AR="$ac_prog"
6051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6052 break 2
6054 done
6055 done
6056 IFS=$as_save_IFS
6060 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6061 if test -n "$ac_ct_AR"; then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6063 $as_echo "$ac_ct_AR" >&6; }
6064 else
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6070 test -n "$ac_ct_AR" && break
6071 done
6073 if test "x$ac_ct_AR" = x; then
6074 AR="ar"
6075 else
6076 case $cross_compiling:$ac_tool_warned in
6077 yes:)
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6080 ac_tool_warned=yes ;;
6081 esac
6082 AR=$ac_ct_AR
6086 if test -n "$ac_tool_prefix"; then
6087 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6088 set dummy ${ac_tool_prefix}strip; ac_word=$2
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6090 $as_echo_n "checking for $ac_word... " >&6; }
6091 if ${ac_cv_prog_STRIP+:} false; then :
6092 $as_echo_n "(cached) " >&6
6093 else
6094 if test -n "$STRIP"; then
6095 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6096 else
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 for as_dir in $PATH
6100 IFS=$as_save_IFS
6101 test -z "$as_dir" && as_dir=.
6102 for ac_exec_ext in '' $ac_executable_extensions; do
6103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6104 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 break 2
6108 done
6109 done
6110 IFS=$as_save_IFS
6114 STRIP=$ac_cv_prog_STRIP
6115 if test -n "$STRIP"; then
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6117 $as_echo "$STRIP" >&6; }
6118 else
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6120 $as_echo "no" >&6; }
6125 if test -z "$ac_cv_prog_STRIP"; then
6126 ac_ct_STRIP=$STRIP
6127 # Extract the first word of "strip", so it can be a program name with args.
6128 set dummy strip; ac_word=$2
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6130 $as_echo_n "checking for $ac_word... " >&6; }
6131 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6132 $as_echo_n "(cached) " >&6
6133 else
6134 if test -n "$ac_ct_STRIP"; then
6135 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6136 else
6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6138 for as_dir in $PATH
6140 IFS=$as_save_IFS
6141 test -z "$as_dir" && as_dir=.
6142 for ac_exec_ext in '' $ac_executable_extensions; do
6143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6144 ac_cv_prog_ac_ct_STRIP="strip"
6145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6146 break 2
6148 done
6149 done
6150 IFS=$as_save_IFS
6154 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6155 if test -n "$ac_ct_STRIP"; then
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6157 $as_echo "$ac_ct_STRIP" >&6; }
6158 else
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6160 $as_echo "no" >&6; }
6163 if test "x$ac_ct_STRIP" = x; then
6164 STRIP="strip"
6165 else
6166 case $cross_compiling:$ac_tool_warned in
6167 yes:)
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6170 ac_tool_warned=yes ;;
6171 esac
6172 STRIP=$ac_ct_STRIP
6174 else
6175 STRIP="$ac_cv_prog_STRIP"
6178 if test -n "$ac_tool_prefix"; then
6179 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6180 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6182 $as_echo_n "checking for $ac_word... " >&6; }
6183 if ${ac_cv_prog_RANLIB+:} false; then :
6184 $as_echo_n "(cached) " >&6
6185 else
6186 if test -n "$RANLIB"; then
6187 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6188 else
6189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6190 for as_dir in $PATH
6192 IFS=$as_save_IFS
6193 test -z "$as_dir" && as_dir=.
6194 for ac_exec_ext in '' $ac_executable_extensions; do
6195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6196 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6198 break 2
6200 done
6201 done
6202 IFS=$as_save_IFS
6206 RANLIB=$ac_cv_prog_RANLIB
6207 if test -n "$RANLIB"; then
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6209 $as_echo "$RANLIB" >&6; }
6210 else
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6212 $as_echo "no" >&6; }
6217 if test -z "$ac_cv_prog_RANLIB"; then
6218 ac_ct_RANLIB=$RANLIB
6219 # Extract the first word of "ranlib", so it can be a program name with args.
6220 set dummy ranlib; ac_word=$2
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6222 $as_echo_n "checking for $ac_word... " >&6; }
6223 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6224 $as_echo_n "(cached) " >&6
6225 else
6226 if test -n "$ac_ct_RANLIB"; then
6227 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6228 else
6229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6230 for as_dir in $PATH
6232 IFS=$as_save_IFS
6233 test -z "$as_dir" && as_dir=.
6234 for ac_exec_ext in '' $ac_executable_extensions; do
6235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6236 ac_cv_prog_ac_ct_RANLIB="ranlib"
6237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6238 break 2
6240 done
6241 done
6242 IFS=$as_save_IFS
6246 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6247 if test -n "$ac_ct_RANLIB"; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6249 $as_echo "$ac_ct_RANLIB" >&6; }
6250 else
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6252 $as_echo "no" >&6; }
6255 if test "x$ac_ct_RANLIB" = x; then
6256 RANLIB=":"
6257 else
6258 case $cross_compiling:$ac_tool_warned in
6259 yes:)
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6262 ac_tool_warned=yes ;;
6263 esac
6264 RANLIB=$ac_ct_RANLIB
6266 else
6267 RANLIB="$ac_cv_prog_RANLIB"
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6271 $as_echo_n "checking whether ln -s works... " >&6; }
6272 LN_S=$as_ln_s
6273 if test "$LN_S" = "ln -s"; then
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6275 $as_echo "yes" >&6; }
6276 else
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6278 $as_echo "no, using $LN_S" >&6; }
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6282 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6283 if ${ac_cv_path_GREP+:} false; then :
6284 $as_echo_n "(cached) " >&6
6285 else
6286 if test -z "$GREP"; then
6287 ac_path_GREP_found=false
6288 # Loop through the user's path and test for each of PROGNAME-LIST
6289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6292 IFS=$as_save_IFS
6293 test -z "$as_dir" && as_dir=.
6294 for ac_prog in grep ggrep; do
6295 for ac_exec_ext in '' $ac_executable_extensions; do
6296 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6297 as_fn_executable_p "$ac_path_GREP" || continue
6298 # Check for GNU ac_path_GREP and select it if it is found.
6299 # Check for GNU $ac_path_GREP
6300 case `"$ac_path_GREP" --version 2>&1` in
6301 *GNU*)
6302 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6304 ac_count=0
6305 $as_echo_n 0123456789 >"conftest.in"
6306 while :
6308 cat "conftest.in" "conftest.in" >"conftest.tmp"
6309 mv "conftest.tmp" "conftest.in"
6310 cp "conftest.in" "conftest.nl"
6311 $as_echo 'GREP' >> "conftest.nl"
6312 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6313 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6314 as_fn_arith $ac_count + 1 && ac_count=$as_val
6315 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6316 # Best one so far, save it but keep looking for a better one
6317 ac_cv_path_GREP="$ac_path_GREP"
6318 ac_path_GREP_max=$ac_count
6320 # 10*(2^10) chars as input seems more than enough
6321 test $ac_count -gt 10 && break
6322 done
6323 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6324 esac
6326 $ac_path_GREP_found && break 3
6327 done
6328 done
6329 done
6330 IFS=$as_save_IFS
6331 if test -z "$ac_cv_path_GREP"; then
6332 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6334 else
6335 ac_cv_path_GREP=$GREP
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6340 $as_echo "$ac_cv_path_GREP" >&6; }
6341 GREP="$ac_cv_path_GREP"
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6345 $as_echo_n "checking for egrep... " >&6; }
6346 if ${ac_cv_path_EGREP+:} false; then :
6347 $as_echo_n "(cached) " >&6
6348 else
6349 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6350 then ac_cv_path_EGREP="$GREP -E"
6351 else
6352 if test -z "$EGREP"; then
6353 ac_path_EGREP_found=false
6354 # Loop through the user's path and test for each of PROGNAME-LIST
6355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6356 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6358 IFS=$as_save_IFS
6359 test -z "$as_dir" && as_dir=.
6360 for ac_prog in egrep; do
6361 for ac_exec_ext in '' $ac_executable_extensions; do
6362 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6363 as_fn_executable_p "$ac_path_EGREP" || continue
6364 # Check for GNU ac_path_EGREP and select it if it is found.
6365 # Check for GNU $ac_path_EGREP
6366 case `"$ac_path_EGREP" --version 2>&1` in
6367 *GNU*)
6368 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6370 ac_count=0
6371 $as_echo_n 0123456789 >"conftest.in"
6372 while :
6374 cat "conftest.in" "conftest.in" >"conftest.tmp"
6375 mv "conftest.tmp" "conftest.in"
6376 cp "conftest.in" "conftest.nl"
6377 $as_echo 'EGREP' >> "conftest.nl"
6378 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6379 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6380 as_fn_arith $ac_count + 1 && ac_count=$as_val
6381 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6382 # Best one so far, save it but keep looking for a better one
6383 ac_cv_path_EGREP="$ac_path_EGREP"
6384 ac_path_EGREP_max=$ac_count
6386 # 10*(2^10) chars as input seems more than enough
6387 test $ac_count -gt 10 && break
6388 done
6389 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6390 esac
6392 $ac_path_EGREP_found && break 3
6393 done
6394 done
6395 done
6396 IFS=$as_save_IFS
6397 if test -z "$ac_cv_path_EGREP"; then
6398 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6400 else
6401 ac_cv_path_EGREP=$EGREP
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6407 $as_echo "$ac_cv_path_EGREP" >&6; }
6408 EGREP="$ac_cv_path_EGREP"
6411 # Extract the first word of "ldconfig", so it can be a program name with args.
6412 set dummy ldconfig; ac_word=$2
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6414 $as_echo_n "checking for $ac_word... " >&6; }
6415 if ${ac_cv_path_LDCONFIG+:} false; then :
6416 $as_echo_n "(cached) " >&6
6417 else
6418 case $LDCONFIG in
6419 [\\/]* | ?:[\\/]*)
6420 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6424 for as_dir in /sbin /usr/sbin $PATH
6426 IFS=$as_save_IFS
6427 test -z "$as_dir" && as_dir=.
6428 for ac_exec_ext in '' $ac_executable_extensions; do
6429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6430 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6432 break 2
6434 done
6435 done
6436 IFS=$as_save_IFS
6438 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6440 esac
6442 LDCONFIG=$ac_cv_path_LDCONFIG
6443 if test -n "$LDCONFIG"; then
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6445 $as_echo "$LDCONFIG" >&6; }
6446 else
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6448 $as_echo "no" >&6; }
6452 for ac_prog in msgfmt
6454 # Extract the first word of "$ac_prog", so it can be a program name with args.
6455 set dummy $ac_prog; ac_word=$2
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457 $as_echo_n "checking for $ac_word... " >&6; }
6458 if ${ac_cv_prog_MSGFMT+:} false; then :
6459 $as_echo_n "(cached) " >&6
6460 else
6461 if test -n "$MSGFMT"; then
6462 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6463 else
6464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6465 for as_dir in $PATH
6467 IFS=$as_save_IFS
6468 test -z "$as_dir" && as_dir=.
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6471 ac_cv_prog_MSGFMT="$ac_prog"
6472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6473 break 2
6475 done
6476 done
6477 IFS=$as_save_IFS
6481 MSGFMT=$ac_cv_prog_MSGFMT
6482 if test -n "$MSGFMT"; then
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6484 $as_echo "$MSGFMT" >&6; }
6485 else
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487 $as_echo "no" >&6; }
6491 test -n "$MSGFMT" && break
6492 done
6493 test -n "$MSGFMT" || MSGFMT="false"
6495 if ${ac_tool_prefix+:} false; then :
6496 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6497 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6499 $as_echo_n "checking for $ac_word... " >&6; }
6500 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6501 $as_echo_n "(cached) " >&6
6502 else
6503 if test -n "$PKG_CONFIG"; then
6504 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6505 else
6506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6507 for as_dir in $PATH
6509 IFS=$as_save_IFS
6510 test -z "$as_dir" && as_dir=.
6511 for ac_exec_ext in '' $ac_executable_extensions; do
6512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6513 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6515 break 2
6517 done
6518 done
6519 IFS=$as_save_IFS
6523 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6524 if test -n "$PKG_CONFIG"; then
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6526 $as_echo "$PKG_CONFIG" >&6; }
6527 else
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6529 $as_echo "no" >&6; }
6534 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6535 if test "x$cross_compiling" = xyes; then :
6537 else
6538 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6539 # Extract the first word of "pkg-config", so it can be a program name with args.
6540 set dummy pkg-config; ac_word=$2
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542 $as_echo_n "checking for $ac_word... " >&6; }
6543 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6544 $as_echo_n "(cached) " >&6
6545 else
6546 if test -n "$PKG_CONFIG"; then
6547 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6548 else
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6550 for as_dir in $PATH
6552 IFS=$as_save_IFS
6553 test -z "$as_dir" && as_dir=.
6554 for ac_exec_ext in '' $ac_executable_extensions; do
6555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6556 ac_cv_prog_PKG_CONFIG="pkg-config"
6557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6558 break 2
6560 done
6561 done
6562 IFS=$as_save_IFS
6566 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6567 if test -n "$PKG_CONFIG"; then
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6569 $as_echo "$PKG_CONFIG" >&6; }
6570 else
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6572 $as_echo "no" >&6; }
6577 else
6578 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6581 if test "x$enable_maintainer_mode" != "xyes"
6582 then
6583 FONTFORGE=""
6584 RSVG=""
6585 CONVERT=""
6586 ICOTOOL=""
6587 else
6588 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6589 for ac_prog in fontforge
6591 # Extract the first word of "$ac_prog", so it can be a program name with args.
6592 set dummy $ac_prog; ac_word=$2
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6594 $as_echo_n "checking for $ac_word... " >&6; }
6595 if ${ac_cv_prog_FONTFORGE+:} false; then :
6596 $as_echo_n "(cached) " >&6
6597 else
6598 if test -n "$FONTFORGE"; then
6599 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6600 else
6601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6602 for as_dir in $PATH
6604 IFS=$as_save_IFS
6605 test -z "$as_dir" && as_dir=.
6606 for ac_exec_ext in '' $ac_executable_extensions; do
6607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6608 ac_cv_prog_FONTFORGE="$ac_prog"
6609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6610 break 2
6612 done
6613 done
6614 IFS=$as_save_IFS
6618 FONTFORGE=$ac_cv_prog_FONTFORGE
6619 if test -n "$FONTFORGE"; then
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6621 $as_echo "$FONTFORGE" >&6; }
6622 else
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6624 $as_echo "no" >&6; }
6628 test -n "$FONTFORGE" && break
6629 done
6630 test -n "$FONTFORGE" || FONTFORGE="false"
6632 for ac_prog in rsvg-convert rsvg
6634 # Extract the first word of "$ac_prog", so it can be a program name with args.
6635 set dummy $ac_prog; ac_word=$2
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6637 $as_echo_n "checking for $ac_word... " >&6; }
6638 if ${ac_cv_prog_RSVG+:} false; then :
6639 $as_echo_n "(cached) " >&6
6640 else
6641 if test -n "$RSVG"; then
6642 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6643 else
6644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6645 for as_dir in $PATH
6647 IFS=$as_save_IFS
6648 test -z "$as_dir" && as_dir=.
6649 for ac_exec_ext in '' $ac_executable_extensions; do
6650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6651 ac_cv_prog_RSVG="$ac_prog"
6652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6653 break 2
6655 done
6656 done
6657 IFS=$as_save_IFS
6661 RSVG=$ac_cv_prog_RSVG
6662 if test -n "$RSVG"; then
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6664 $as_echo "$RSVG" >&6; }
6665 else
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6667 $as_echo "no" >&6; }
6671 test -n "$RSVG" && break
6672 done
6673 test -n "$RSVG" || RSVG="false"
6675 for ac_prog in convert
6677 # Extract the first word of "$ac_prog", so it can be a program name with args.
6678 set dummy $ac_prog; ac_word=$2
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6680 $as_echo_n "checking for $ac_word... " >&6; }
6681 if ${ac_cv_prog_CONVERT+:} false; then :
6682 $as_echo_n "(cached) " >&6
6683 else
6684 if test -n "$CONVERT"; then
6685 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6686 else
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688 for as_dir in $PATH
6690 IFS=$as_save_IFS
6691 test -z "$as_dir" && as_dir=.
6692 for ac_exec_ext in '' $ac_executable_extensions; do
6693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6694 ac_cv_prog_CONVERT="$ac_prog"
6695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6696 break 2
6698 done
6699 done
6700 IFS=$as_save_IFS
6704 CONVERT=$ac_cv_prog_CONVERT
6705 if test -n "$CONVERT"; then
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6707 $as_echo "$CONVERT" >&6; }
6708 else
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710 $as_echo "no" >&6; }
6714 test -n "$CONVERT" && break
6715 done
6716 test -n "$CONVERT" || CONVERT="false"
6718 for ac_prog in icotool
6720 # Extract the first word of "$ac_prog", so it can be a program name with args.
6721 set dummy $ac_prog; ac_word=$2
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6723 $as_echo_n "checking for $ac_word... " >&6; }
6724 if ${ac_cv_prog_ICOTOOL+:} false; then :
6725 $as_echo_n "(cached) " >&6
6726 else
6727 if test -n "$ICOTOOL"; then
6728 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6729 else
6730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731 for as_dir in $PATH
6733 IFS=$as_save_IFS
6734 test -z "$as_dir" && as_dir=.
6735 for ac_exec_ext in '' $ac_executable_extensions; do
6736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6737 ac_cv_prog_ICOTOOL="$ac_prog"
6738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6739 break 2
6741 done
6742 done
6743 IFS=$as_save_IFS
6747 ICOTOOL=$ac_cv_prog_ICOTOOL
6748 if test -n "$ICOTOOL"; then
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6750 $as_echo "$ICOTOOL" >&6; }
6751 else
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753 $as_echo "no" >&6; }
6757 test -n "$ICOTOOL" && break
6758 done
6759 test -n "$ICOTOOL" || ICOTOOL="false"
6761 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6762 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6764 if test "$CONVERT" = false
6765 then
6766 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6767 else
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6769 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6770 convert_version=`convert --version | head -n1`
6771 if test "x$convert_version" != "x"
6772 then
6773 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6774 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6775 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6776 then
6777 CONVERT=false
6780 if test "$CONVERT" = false
6781 then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6783 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6784 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6785 else
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6787 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6791 if test "$ICOTOOL" = false
6792 then
6793 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6794 else
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6796 $as_echo_n "checking for recent enough icotool... " >&6; }
6797 icotool_version=`icotool --version | head -n1`
6798 if test "x$icotool_version" != "x"
6799 then
6800 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6801 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6802 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6803 then
6804 ICOTOOL=false
6805 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6808 if test "$ICOTOOL" = false
6809 then
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6811 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6812 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6813 else
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6815 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6819 with_gettext=yes
6820 with_gettextpo=yes
6822 enable_werror=yes
6825 test "x$with_gettext" != xno || MSGFMT=false
6826 if test "$MSGFMT" != "false"
6827 then
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6829 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6830 if ${wine_cv_msgfmt_contexts+:} false; then :
6831 $as_echo_n "(cached) " >&6
6832 else
6833 cat >conftest.po <<EOF
6834 # comment
6835 msgctxt "ctxt"
6836 msgid "id"
6837 msgstr "str"
6839 if $MSGFMT -o /dev/null conftest.po 2>&5
6840 then
6841 wine_cv_msgfmt_contexts=yes
6842 else
6843 wine_cv_msgfmt_contexts=no
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6847 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6848 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6850 if test "$MSGFMT" = false; then :
6851 case "x$with_gettext" in
6852 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6853 xno) ;;
6854 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6855 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6856 esac
6857 enable_po=${enable_po:-no}
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6862 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6863 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6864 $as_echo_n "(cached) " >&6
6865 else
6866 ac_check_lib_save_LIBS=$LIBS
6867 LIBS="-li386 $LIBS"
6868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6869 /* end confdefs.h. */
6871 /* Override any GCC internal prototype to avoid an error.
6872 Use char because int might match the return type of a GCC
6873 builtin and then its argument prototype would still apply. */
6874 #ifdef __cplusplus
6875 extern "C"
6876 #endif
6877 char i386_set_ldt ();
6879 main ()
6881 return i386_set_ldt ();
6883 return 0;
6885 _ACEOF
6886 if ac_fn_c_try_link "$LINENO"; then :
6887 ac_cv_lib_i386_i386_set_ldt=yes
6888 else
6889 ac_cv_lib_i386_i386_set_ldt=no
6891 rm -f core conftest.err conftest.$ac_objext \
6892 conftest$ac_exeext conftest.$ac_ext
6893 LIBS=$ac_check_lib_save_LIBS
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6896 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6897 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6898 I386_LIBS="-li386"
6903 OPENGL_LIBS=""
6907 # Check whether --enable-largefile was given.
6908 if test "${enable_largefile+set}" = set; then :
6909 enableval=$enable_largefile;
6912 if test "$enable_largefile" != no; then
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6915 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6916 if ${ac_cv_sys_largefile_CC+:} false; then :
6917 $as_echo_n "(cached) " >&6
6918 else
6919 ac_cv_sys_largefile_CC=no
6920 if test "$GCC" != yes; then
6921 ac_save_CC=$CC
6922 while :; do
6923 # IRIX 6.2 and later do not support large files by default,
6924 # so use the C compiler's -n32 option if that helps.
6925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6926 /* end confdefs.h. */
6927 #include <sys/types.h>
6928 /* Check that off_t can represent 2**63 - 1 correctly.
6929 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6930 since some C++ compilers masquerading as C compilers
6931 incorrectly reject 9223372036854775807. */
6932 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6933 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6934 && LARGE_OFF_T % 2147483647 == 1)
6935 ? 1 : -1];
6937 main ()
6941 return 0;
6943 _ACEOF
6944 if ac_fn_c_try_compile "$LINENO"; then :
6945 break
6947 rm -f core conftest.err conftest.$ac_objext
6948 CC="$CC -n32"
6949 if ac_fn_c_try_compile "$LINENO"; then :
6950 ac_cv_sys_largefile_CC=' -n32'; break
6952 rm -f core conftest.err conftest.$ac_objext
6953 break
6954 done
6955 CC=$ac_save_CC
6956 rm -f conftest.$ac_ext
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6960 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6961 if test "$ac_cv_sys_largefile_CC" != no; then
6962 CC=$CC$ac_cv_sys_largefile_CC
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6966 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6967 if ${ac_cv_sys_file_offset_bits+:} false; then :
6968 $as_echo_n "(cached) " >&6
6969 else
6970 while :; do
6971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6972 /* end confdefs.h. */
6973 #include <sys/types.h>
6974 /* Check that off_t can represent 2**63 - 1 correctly.
6975 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6976 since some C++ compilers masquerading as C compilers
6977 incorrectly reject 9223372036854775807. */
6978 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6979 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6980 && LARGE_OFF_T % 2147483647 == 1)
6981 ? 1 : -1];
6983 main ()
6987 return 0;
6989 _ACEOF
6990 if ac_fn_c_try_compile "$LINENO"; then :
6991 ac_cv_sys_file_offset_bits=no; break
6993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6995 /* end confdefs.h. */
6996 #define _FILE_OFFSET_BITS 64
6997 #include <sys/types.h>
6998 /* Check that off_t can represent 2**63 - 1 correctly.
6999 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7000 since some C++ compilers masquerading as C compilers
7001 incorrectly reject 9223372036854775807. */
7002 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7003 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7004 && LARGE_OFF_T % 2147483647 == 1)
7005 ? 1 : -1];
7007 main ()
7011 return 0;
7013 _ACEOF
7014 if ac_fn_c_try_compile "$LINENO"; then :
7015 ac_cv_sys_file_offset_bits=64; break
7017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7018 ac_cv_sys_file_offset_bits=unknown
7019 break
7020 done
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7023 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7024 case $ac_cv_sys_file_offset_bits in #(
7025 no | unknown) ;;
7027 cat >>confdefs.h <<_ACEOF
7028 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7029 _ACEOF
7031 esac
7032 rm -rf conftest*
7033 if test $ac_cv_sys_file_offset_bits = unknown; then
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7035 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7036 if ${ac_cv_sys_large_files+:} false; then :
7037 $as_echo_n "(cached) " >&6
7038 else
7039 while :; do
7040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7041 /* end confdefs.h. */
7042 #include <sys/types.h>
7043 /* Check that off_t can represent 2**63 - 1 correctly.
7044 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7045 since some C++ compilers masquerading as C compilers
7046 incorrectly reject 9223372036854775807. */
7047 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7048 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7049 && LARGE_OFF_T % 2147483647 == 1)
7050 ? 1 : -1];
7052 main ()
7056 return 0;
7058 _ACEOF
7059 if ac_fn_c_try_compile "$LINENO"; then :
7060 ac_cv_sys_large_files=no; break
7062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7064 /* end confdefs.h. */
7065 #define _LARGE_FILES 1
7066 #include <sys/types.h>
7067 /* Check that off_t can represent 2**63 - 1 correctly.
7068 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7069 since some C++ compilers masquerading as C compilers
7070 incorrectly reject 9223372036854775807. */
7071 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7072 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7073 && LARGE_OFF_T % 2147483647 == 1)
7074 ? 1 : -1];
7076 main ()
7080 return 0;
7082 _ACEOF
7083 if ac_fn_c_try_compile "$LINENO"; then :
7084 ac_cv_sys_large_files=1; break
7086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7087 ac_cv_sys_large_files=unknown
7088 break
7089 done
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7092 $as_echo "$ac_cv_sys_large_files" >&6; }
7093 case $ac_cv_sys_large_files in #(
7094 no | unknown) ;;
7096 cat >>confdefs.h <<_ACEOF
7097 #define _LARGE_FILES $ac_cv_sys_large_files
7098 _ACEOF
7100 esac
7101 rm -rf conftest*
7108 ac_ext=c
7109 ac_cpp='$CPP $CPPFLAGS'
7110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7114 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7115 # On Suns, sometimes $CPP names a directory.
7116 if test -n "$CPP" && test -d "$CPP"; then
7117 CPP=
7119 if test -z "$CPP"; then
7120 if ${ac_cv_prog_CPP+:} false; then :
7121 $as_echo_n "(cached) " >&6
7122 else
7123 # Double quotes because CPP needs to be expanded
7124 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7126 ac_preproc_ok=false
7127 for ac_c_preproc_warn_flag in '' yes
7129 # Use a header file that comes with gcc, so configuring glibc
7130 # with a fresh cross-compiler works.
7131 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7132 # <limits.h> exists even on freestanding compilers.
7133 # On the NeXT, cc -E runs the code through the compiler's parser,
7134 # not just through cpp. "Syntax error" is here to catch this case.
7135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7136 /* end confdefs.h. */
7137 #ifdef __STDC__
7138 # include <limits.h>
7139 #else
7140 # include <assert.h>
7141 #endif
7142 Syntax error
7143 _ACEOF
7144 if ac_fn_c_try_cpp "$LINENO"; then :
7146 else
7147 # Broken: fails on valid input.
7148 continue
7150 rm -f conftest.err conftest.i conftest.$ac_ext
7152 # OK, works on sane cases. Now check whether nonexistent headers
7153 # can be detected and how.
7154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7155 /* end confdefs.h. */
7156 #include <ac_nonexistent.h>
7157 _ACEOF
7158 if ac_fn_c_try_cpp "$LINENO"; then :
7159 # Broken: success on invalid input.
7160 continue
7161 else
7162 # Passes both tests.
7163 ac_preproc_ok=:
7164 break
7166 rm -f conftest.err conftest.i conftest.$ac_ext
7168 done
7169 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7170 rm -f conftest.i conftest.err conftest.$ac_ext
7171 if $ac_preproc_ok; then :
7172 break
7175 done
7176 ac_cv_prog_CPP=$CPP
7179 CPP=$ac_cv_prog_CPP
7180 else
7181 ac_cv_prog_CPP=$CPP
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7184 $as_echo "$CPP" >&6; }
7185 ac_preproc_ok=false
7186 for ac_c_preproc_warn_flag in '' yes
7188 # Use a header file that comes with gcc, so configuring glibc
7189 # with a fresh cross-compiler works.
7190 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7191 # <limits.h> exists even on freestanding compilers.
7192 # On the NeXT, cc -E runs the code through the compiler's parser,
7193 # not just through cpp. "Syntax error" is here to catch this case.
7194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7195 /* end confdefs.h. */
7196 #ifdef __STDC__
7197 # include <limits.h>
7198 #else
7199 # include <assert.h>
7200 #endif
7201 Syntax error
7202 _ACEOF
7203 if ac_fn_c_try_cpp "$LINENO"; then :
7205 else
7206 # Broken: fails on valid input.
7207 continue
7209 rm -f conftest.err conftest.i conftest.$ac_ext
7211 # OK, works on sane cases. Now check whether nonexistent headers
7212 # can be detected and how.
7213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7214 /* end confdefs.h. */
7215 #include <ac_nonexistent.h>
7216 _ACEOF
7217 if ac_fn_c_try_cpp "$LINENO"; then :
7218 # Broken: success on invalid input.
7219 continue
7220 else
7221 # Passes both tests.
7222 ac_preproc_ok=:
7223 break
7225 rm -f conftest.err conftest.i conftest.$ac_ext
7227 done
7228 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7229 rm -f conftest.i conftest.err conftest.$ac_ext
7230 if $ac_preproc_ok; then :
7232 else
7233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7235 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7236 See \`config.log' for more details" "$LINENO" 5; }
7239 ac_ext=c
7240 ac_cpp='$CPP $CPPFLAGS'
7241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7247 $as_echo_n "checking for ANSI C header files... " >&6; }
7248 if ${ac_cv_header_stdc+:} false; then :
7249 $as_echo_n "(cached) " >&6
7250 else
7251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7252 /* end confdefs.h. */
7253 #include <stdlib.h>
7254 #include <stdarg.h>
7255 #include <string.h>
7256 #include <float.h>
7259 main ()
7263 return 0;
7265 _ACEOF
7266 if ac_fn_c_try_compile "$LINENO"; then :
7267 ac_cv_header_stdc=yes
7268 else
7269 ac_cv_header_stdc=no
7271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7273 if test $ac_cv_header_stdc = yes; then
7274 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h. */
7277 #include <string.h>
7279 _ACEOF
7280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7281 $EGREP "memchr" >/dev/null 2>&1; then :
7283 else
7284 ac_cv_header_stdc=no
7286 rm -f conftest*
7290 if test $ac_cv_header_stdc = yes; then
7291 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7293 /* end confdefs.h. */
7294 #include <stdlib.h>
7296 _ACEOF
7297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7298 $EGREP "free" >/dev/null 2>&1; then :
7300 else
7301 ac_cv_header_stdc=no
7303 rm -f conftest*
7307 if test $ac_cv_header_stdc = yes; then
7308 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7309 if test "$cross_compiling" = yes; then :
7311 else
7312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7313 /* end confdefs.h. */
7314 #include <ctype.h>
7315 #include <stdlib.h>
7316 #if ((' ' & 0x0FF) == 0x020)
7317 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7318 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7319 #else
7320 # define ISLOWER(c) \
7321 (('a' <= (c) && (c) <= 'i') \
7322 || ('j' <= (c) && (c) <= 'r') \
7323 || ('s' <= (c) && (c) <= 'z'))
7324 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7325 #endif
7327 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7329 main ()
7331 int i;
7332 for (i = 0; i < 256; i++)
7333 if (XOR (islower (i), ISLOWER (i))
7334 || toupper (i) != TOUPPER (i))
7335 return 2;
7336 return 0;
7338 _ACEOF
7339 if ac_fn_c_try_run "$LINENO"; then :
7341 else
7342 ac_cv_header_stdc=no
7344 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7345 conftest.$ac_objext conftest.beam conftest.$ac_ext
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7351 $as_echo "$ac_cv_header_stdc" >&6; }
7352 if test $ac_cv_header_stdc = yes; then
7354 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7358 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7359 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7360 inttypes.h stdint.h unistd.h
7361 do :
7362 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7363 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7365 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7366 cat >>confdefs.h <<_ACEOF
7367 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7368 _ACEOF
7372 done
7375 for ac_header in \
7376 AL/al.h \
7377 ApplicationServices/ApplicationServices.h \
7378 AudioToolbox/AudioConverter.h \
7379 AudioUnit/AudioUnit.h \
7380 AudioUnit/AudioComponent.h \
7381 CL/cl.h \
7382 Carbon/Carbon.h \
7383 CommonCrypto/CommonCryptor.h \
7384 CoreAudio/CoreAudio.h \
7385 CoreServices/CoreServices.h \
7386 DiskArbitration/DiskArbitration.h \
7387 EGL/egl.h \
7388 IOKit/IOKitLib.h \
7389 IOKit/hid/IOHIDLib.h \
7390 OpenAL/al.h \
7391 OpenCL/opencl.h \
7392 QuickTime/ImageCompression.h \
7393 Security/Security.h \
7394 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7395 SystemConfiguration/SCNetworkConfiguration.h \
7396 alias.h \
7397 arpa/inet.h \
7398 arpa/nameser.h \
7399 asm/types.h \
7400 asm/user.h \
7401 curses.h \
7402 dirent.h \
7403 dlfcn.h \
7404 elf.h \
7405 float.h \
7406 fnmatch.h \
7407 getopt.h \
7408 gettext-po.h \
7409 grp.h \
7410 gsm.h \
7411 gsm/gsm.h \
7412 ieeefp.h \
7413 inet/mib2.h \
7414 kstat.h \
7415 libproc.h \
7416 link.h \
7417 linux/cdrom.h \
7418 linux/compiler.h \
7419 linux/filter.h \
7420 linux/hdreg.h \
7421 linux/hidraw.h \
7422 linux/input.h \
7423 linux/ioctl.h \
7424 linux/joystick.h \
7425 linux/major.h \
7426 linux/param.h \
7427 linux/serial.h \
7428 linux/types.h \
7429 linux/ucdrom.h \
7430 lwp.h \
7431 mach-o/nlist.h \
7432 mach-o/loader.h \
7433 mach/mach.h \
7434 mach/machine.h \
7435 machine/cpu.h \
7436 machine/sysarch.h \
7437 mntent.h \
7438 ncurses.h \
7439 netdb.h \
7440 netinet/in.h \
7441 netinet/in_systm.h \
7442 netinet/tcp.h \
7443 netinet/tcp_fsm.h \
7444 pcap/pcap.h \
7445 poll.h \
7446 port.h \
7447 pthread.h \
7448 pwd.h \
7449 sasl/sasl.h \
7450 sched.h \
7451 scsi/scsi.h \
7452 scsi/scsi_ioctl.h \
7453 scsi/sg.h \
7454 stdbool.h \
7455 stdint.h \
7456 stropts.h \
7457 sys/attr.h \
7458 sys/auxv.h \
7459 sys/cdio.h \
7460 sys/epoll.h \
7461 sys/event.h \
7462 sys/filio.h \
7463 sys/ioctl.h \
7464 sys/ipc.h \
7465 sys/link.h \
7466 sys/mman.h \
7467 sys/modem.h \
7468 sys/msg.h \
7469 sys/mtio.h \
7470 sys/param.h \
7471 sys/poll.h \
7472 sys/prctl.h \
7473 sys/protosw.h \
7474 sys/ptrace.h \
7475 sys/queue.h \
7476 sys/resource.h \
7477 sys/scsiio.h \
7478 sys/shm.h \
7479 sys/signal.h \
7480 sys/socket.h \
7481 sys/socketvar.h \
7482 sys/sockio.h \
7483 sys/statvfs.h \
7484 sys/strtio.h \
7485 sys/syscall.h \
7486 sys/sysinfo.h \
7487 sys/tihdr.h \
7488 sys/time.h \
7489 sys/timeout.h \
7490 sys/times.h \
7491 sys/uio.h \
7492 sys/user.h \
7493 sys/utsname.h \
7494 sys/vnode.h \
7495 sys/wait.h \
7496 syscall.h \
7497 termios.h \
7498 unistd.h \
7499 utime.h \
7500 valgrind/memcheck.h \
7501 valgrind/valgrind.h
7503 do :
7504 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7505 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7506 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7507 cat >>confdefs.h <<_ACEOF
7508 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7509 _ACEOF
7513 done
7515 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7516 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7518 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7523 if test $ac_cv_header_sys_mkdev_h = no; then
7524 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7525 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7527 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7534 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7535 if ${ac_cv_header_stat_broken+:} false; then :
7536 $as_echo_n "(cached) " >&6
7537 else
7538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7539 /* end confdefs.h. */
7540 #include <sys/types.h>
7541 #include <sys/stat.h>
7543 #if defined S_ISBLK && defined S_IFDIR
7544 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7545 #endif
7547 #if defined S_ISBLK && defined S_IFCHR
7548 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7549 #endif
7551 #if defined S_ISLNK && defined S_IFREG
7552 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7553 #endif
7555 #if defined S_ISSOCK && defined S_IFREG
7556 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7557 #endif
7559 _ACEOF
7560 if ac_fn_c_try_compile "$LINENO"; then :
7561 ac_cv_header_stat_broken=no
7562 else
7563 ac_cv_header_stat_broken=yes
7565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7568 $as_echo "$ac_cv_header_stat_broken" >&6; }
7569 if test $ac_cv_header_stat_broken = yes; then
7571 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7577 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7578 do :
7579 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7580 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7581 #ifdef HAVE_SYS_PARAM_H
7582 # include <sys/param.h>
7583 #endif
7585 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7586 cat >>confdefs.h <<_ACEOF
7587 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7588 _ACEOF
7592 done
7595 saved_sysctl_h_CFLAGS=$CFLAGS
7596 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7597 for ac_header in sys/sysctl.h
7598 do :
7599 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7600 #ifdef HAVE_SYS_PARAM_H
7601 # include <sys/param.h>
7602 #endif
7604 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7605 cat >>confdefs.h <<_ACEOF
7606 #define HAVE_SYS_SYSCTL_H 1
7607 _ACEOF
7611 done
7613 CFLAGS=$saved_sysctl_h_CFLAGS
7615 for ac_header in \
7616 netinet/ip.h \
7617 net/if.h \
7618 net/if_arp.h \
7619 net/if_dl.h \
7620 net/if_types.h \
7621 net/route.h \
7622 netinet/if_ether.h \
7623 netinet/if_inarp.h \
7624 netinet/in_pcb.h \
7625 netinet/ip_icmp.h \
7626 netinet/ip_var.h \
7627 netinet/udp.h \
7628 netipx/ipx.h \
7629 sys/un.h \
7631 do :
7632 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7633 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7634 #ifdef HAVE_SYS_SOCKET_H
7635 # include <sys/socket.h>
7636 #endif
7637 #ifdef HAVE_SYS_SOCKETVAR_H
7638 # include <sys/socketvar.h>
7639 #endif
7640 #ifdef HAVE_NET_ROUTE_H
7641 # include <net/route.h>
7642 #endif
7643 #ifdef HAVE_NETINET_IN_H
7644 # include <netinet/in.h>
7645 #endif
7646 #ifdef HAVE_NETINET_IN_SYSTM_H
7647 # include <netinet/in_systm.h>
7648 #endif
7649 #ifdef HAVE_NET_IF_H
7650 # include <net/if.h>
7651 #endif
7652 #ifdef HAVE_NETINET_IP_H
7653 # include <netinet/ip.h>
7654 #endif
7656 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7657 cat >>confdefs.h <<_ACEOF
7658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7659 _ACEOF
7663 done
7666 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7667 do :
7668 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7669 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7670 #ifdef HAVE_ALIAS_H
7671 # include <alias.h>
7672 #endif
7673 #ifdef HAVE_SYS_SOCKET_H
7674 # include <sys/socket.h>
7675 #endif
7676 #ifdef HAVE_SYS_SOCKETVAR_H
7677 # include <sys/socketvar.h>
7678 #endif
7679 #ifdef HAVE_SYS_TIMEOUT_H
7680 # include <sys/timeout.h>
7681 #endif
7682 #ifdef HAVE_NETINET_IN_H
7683 # include <netinet/in.h>
7684 #endif
7685 #ifdef HAVE_NETINET_IN_SYSTM_H
7686 # include <netinet/in_systm.h>
7687 #endif
7688 #ifdef HAVE_NETINET_IP_H
7689 # include <netinet/ip.h>
7690 #endif
7691 #ifdef HAVE_NETINET_IP_VAR_H
7692 # include <netinet/ip_var.h>
7693 #endif
7694 #ifdef HAVE_NETINET_IP_ICMP_H
7695 # include <netinet/ip_icmp.h>
7696 #endif
7697 #ifdef HAVE_NETINET_UDP_H
7698 # include <netinet/udp.h>
7699 #endif
7700 #ifdef HAVE_NETINET_TCP_H
7701 # include <netinet/tcp.h>
7702 #endif
7703 #ifdef HAVE_NETINET_TCP_TIMER_H
7704 #include <netinet/tcp_timer.h>
7705 #endif
7707 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7708 cat >>confdefs.h <<_ACEOF
7709 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7710 _ACEOF
7714 done
7717 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7718 do :
7719 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7720 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7721 #ifdef HAVE_ASM_TYPES_H
7722 # include <asm/types.h>
7723 #endif
7724 #ifdef HAVE_SYS_SOCKET_H
7725 # include <sys/socket.h>
7726 #endif
7727 #ifdef HAVE_LINUX_TYPES_H
7728 # include <linux/types.h>
7729 #endif
7731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7732 cat >>confdefs.h <<_ACEOF
7733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7734 _ACEOF
7738 done
7741 for ac_header in resolv.h
7742 do :
7743 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7744 #ifdef HAVE_SYS_SOCKET_H
7745 # include <sys/socket.h>
7746 #endif
7747 #ifdef HAVE_NETINET_IN_H
7748 # include <netinet/in.h>
7749 #endif
7750 #ifdef HAVE_ARPA_NAMESER_H
7751 # include <arpa/nameser.h>
7752 #endif
7754 if test "x$ac_cv_header_resolv_h" = xyes; then :
7755 cat >>confdefs.h <<_ACEOF
7756 #define HAVE_RESOLV_H 1
7757 _ACEOF
7761 done
7764 for ac_header in ifaddrs.h
7765 do :
7766 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7768 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7769 cat >>confdefs.h <<_ACEOF
7770 #define HAVE_IFADDRS_H 1
7771 _ACEOF
7775 done
7778 for ac_header in sys/ucontext.h
7779 do :
7780 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7782 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7783 cat >>confdefs.h <<_ACEOF
7784 #define HAVE_SYS_UCONTEXT_H 1
7785 _ACEOF
7789 done
7792 for ac_header in sys/thr.h
7793 do :
7794 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7795 #ifdef HAVE_SYS_UCONTEXT_H
7796 #include <sys/ucontext.h>
7797 #endif
7799 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7800 cat >>confdefs.h <<_ACEOF
7801 #define HAVE_SYS_THR_H 1
7802 _ACEOF
7806 done
7809 for ac_header in pthread_np.h
7810 do :
7811 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7812 #include <pthread.h>
7813 #endif
7815 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7816 cat >>confdefs.h <<_ACEOF
7817 #define HAVE_PTHREAD_NP_H 1
7818 _ACEOF
7822 done
7825 for ac_header in linux/videodev2.h
7826 do :
7827 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7828 #include <sys/time.h>
7829 #endif
7830 #include <sys/types.h>
7831 #ifdef HAVE_ASM_TYPES_H
7832 #include <asm/types.h>
7833 #endif
7835 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7836 cat >>confdefs.h <<_ACEOF
7837 #define HAVE_LINUX_VIDEODEV2_H 1
7838 _ACEOF
7842 done
7845 for ac_header in libprocstat.h
7846 do :
7847 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7848 #include <sys/param.h>
7849 #endif
7850 #ifdef HAVE_SYS_QUEUE_H
7851 #include <sys/queue.h>
7852 #endif
7853 #ifdef HAVE_SYS_SOCKET_H
7854 #include <sys/socket.h>
7855 #endif
7857 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7858 cat >>confdefs.h <<_ACEOF
7859 #define HAVE_LIBPROCSTAT_H 1
7860 _ACEOF
7864 done
7868 DLLFLAGS="-D_REENTRANT"
7870 LDRPATH_INSTALL=""
7872 LDRPATH_LOCAL=""
7874 LDDLLFLAGS=""
7876 LDEXECFLAGS=""
7878 TOP_INSTALL_LIB=""
7880 TOP_INSTALL_DEV=""
7882 WINELOADER_LDFLAGS=""
7884 WINEPRELOADER_LDFLAGS=""
7886 LIBEXT="so"
7887 DLLEXT=".so"
7888 # Extract the first word of "ldd", so it can be a program name with args.
7889 set dummy ldd; ac_word=$2
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7891 $as_echo_n "checking for $ac_word... " >&6; }
7892 if ${ac_cv_path_LDD+:} false; then :
7893 $as_echo_n "(cached) " >&6
7894 else
7895 case $LDD in
7896 [\\/]* | ?:[\\/]*)
7897 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7901 as_dummy="/sbin:/usr/sbin:$PATH"
7902 for as_dir in $as_dummy
7904 IFS=$as_save_IFS
7905 test -z "$as_dir" && as_dir=.
7906 for ac_exec_ext in '' $ac_executable_extensions; do
7907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7908 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7910 break 2
7912 done
7913 done
7914 IFS=$as_save_IFS
7916 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7918 esac
7920 LDD=$ac_cv_path_LDD
7921 if test -n "$LDD"; then
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7923 $as_echo "$LDD" >&6; }
7924 else
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7926 $as_echo "no" >&6; }
7930 if test -n "$ac_tool_prefix"; then
7931 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7932 set dummy ${ac_tool_prefix}otool; ac_word=$2
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7934 $as_echo_n "checking for $ac_word... " >&6; }
7935 if ${ac_cv_prog_OTOOL+:} false; then :
7936 $as_echo_n "(cached) " >&6
7937 else
7938 if test -n "$OTOOL"; then
7939 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7940 else
7941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7942 for as_dir in $PATH
7944 IFS=$as_save_IFS
7945 test -z "$as_dir" && as_dir=.
7946 for ac_exec_ext in '' $ac_executable_extensions; do
7947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7948 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7950 break 2
7952 done
7953 done
7954 IFS=$as_save_IFS
7958 OTOOL=$ac_cv_prog_OTOOL
7959 if test -n "$OTOOL"; then
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7961 $as_echo "$OTOOL" >&6; }
7962 else
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7964 $as_echo "no" >&6; }
7969 if test -z "$ac_cv_prog_OTOOL"; then
7970 ac_ct_OTOOL=$OTOOL
7971 # Extract the first word of "otool", so it can be a program name with args.
7972 set dummy otool; ac_word=$2
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7974 $as_echo_n "checking for $ac_word... " >&6; }
7975 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7976 $as_echo_n "(cached) " >&6
7977 else
7978 if test -n "$ac_ct_OTOOL"; then
7979 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7980 else
7981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7982 for as_dir in $PATH
7984 IFS=$as_save_IFS
7985 test -z "$as_dir" && as_dir=.
7986 for ac_exec_ext in '' $ac_executable_extensions; do
7987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7988 ac_cv_prog_ac_ct_OTOOL="otool"
7989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7990 break 2
7992 done
7993 done
7994 IFS=$as_save_IFS
7998 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7999 if test -n "$ac_ct_OTOOL"; then
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8001 $as_echo "$ac_ct_OTOOL" >&6; }
8002 else
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8004 $as_echo "no" >&6; }
8007 if test "x$ac_ct_OTOOL" = x; then
8008 OTOOL="otool"
8009 else
8010 case $cross_compiling:$ac_tool_warned in
8011 yes:)
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8014 ac_tool_warned=yes ;;
8015 esac
8016 OTOOL=$ac_ct_OTOOL
8018 else
8019 OTOOL="$ac_cv_prog_OTOOL"
8022 if test -n "$ac_tool_prefix"; then
8023 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8024 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8026 $as_echo_n "checking for $ac_word... " >&6; }
8027 if ${ac_cv_prog_READELF+:} false; then :
8028 $as_echo_n "(cached) " >&6
8029 else
8030 if test -n "$READELF"; then
8031 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8032 else
8033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8034 for as_dir in $PATH
8036 IFS=$as_save_IFS
8037 test -z "$as_dir" && as_dir=.
8038 for ac_exec_ext in '' $ac_executable_extensions; do
8039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8040 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 break 2
8044 done
8045 done
8046 IFS=$as_save_IFS
8050 READELF=$ac_cv_prog_READELF
8051 if test -n "$READELF"; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8053 $as_echo "$READELF" >&6; }
8054 else
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8056 $as_echo "no" >&6; }
8061 if test -z "$ac_cv_prog_READELF"; then
8062 ac_ct_READELF=$READELF
8063 # Extract the first word of "readelf", so it can be a program name with args.
8064 set dummy readelf; ac_word=$2
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8066 $as_echo_n "checking for $ac_word... " >&6; }
8067 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8068 $as_echo_n "(cached) " >&6
8069 else
8070 if test -n "$ac_ct_READELF"; then
8071 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8072 else
8073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8074 for as_dir in $PATH
8076 IFS=$as_save_IFS
8077 test -z "$as_dir" && as_dir=.
8078 for ac_exec_ext in '' $ac_executable_extensions; do
8079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8080 ac_cv_prog_ac_ct_READELF="readelf"
8081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8082 break 2
8084 done
8085 done
8086 IFS=$as_save_IFS
8090 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8091 if test -n "$ac_ct_READELF"; then
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8093 $as_echo "$ac_ct_READELF" >&6; }
8094 else
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8096 $as_echo "no" >&6; }
8099 if test "x$ac_ct_READELF" = x; then
8100 READELF="true"
8101 else
8102 case $cross_compiling:$ac_tool_warned in
8103 yes:)
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8106 ac_tool_warned=yes ;;
8107 esac
8108 READELF=$ac_ct_READELF
8110 else
8111 READELF="$ac_cv_prog_READELF"
8114 wine_rules_file=conf$$rules.make
8115 rm -f $wine_rules_file
8116 SUBDIRS=""
8118 DISABLED_SUBDIRS=""
8120 CONFIGURE_TARGETS=""
8123 wine_fn_append_file ()
8125 as_fn_append $1 " \\$as_nl $2"
8128 wine_fn_append_rule ()
8130 $as_echo "$1" >>$wine_rules_file
8133 wine_fn_config_makefile ()
8135 wine_fn_append_file SUBDIRS $1
8136 if eval test \"x\$"$2"\" = x"no"; then :
8137 wine_fn_append_file DISABLED_SUBDIRS $1
8141 wine_fn_config_symlink ()
8143 ac_links=$@
8144 wine_fn_append_rule \
8145 "$ac_links:
8146 @./config.status \$@"
8147 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8150 wine_binary="wine"
8151 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8152 WINELOADER_PROGRAMS="$wine_binary"
8154 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8156 case $host_os in
8157 cygwin*|mingw32*)
8158 if test -n "$ac_tool_prefix"; then
8159 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8160 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8162 $as_echo_n "checking for $ac_word... " >&6; }
8163 if ${ac_cv_prog_DLLTOOL+:} false; then :
8164 $as_echo_n "(cached) " >&6
8165 else
8166 if test -n "$DLLTOOL"; then
8167 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8168 else
8169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8170 for as_dir in $PATH
8172 IFS=$as_save_IFS
8173 test -z "$as_dir" && as_dir=.
8174 for ac_exec_ext in '' $ac_executable_extensions; do
8175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8176 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8178 break 2
8180 done
8181 done
8182 IFS=$as_save_IFS
8186 DLLTOOL=$ac_cv_prog_DLLTOOL
8187 if test -n "$DLLTOOL"; then
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8189 $as_echo "$DLLTOOL" >&6; }
8190 else
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8192 $as_echo "no" >&6; }
8197 if test -z "$ac_cv_prog_DLLTOOL"; then
8198 ac_ct_DLLTOOL=$DLLTOOL
8199 # Extract the first word of "dlltool", so it can be a program name with args.
8200 set dummy dlltool; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202 $as_echo_n "checking for $ac_word... " >&6; }
8203 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8204 $as_echo_n "(cached) " >&6
8205 else
8206 if test -n "$ac_ct_DLLTOOL"; then
8207 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8208 else
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210 for as_dir in $PATH
8212 IFS=$as_save_IFS
8213 test -z "$as_dir" && as_dir=.
8214 for ac_exec_ext in '' $ac_executable_extensions; do
8215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8216 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8218 break 2
8220 done
8221 done
8222 IFS=$as_save_IFS
8226 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8227 if test -n "$ac_ct_DLLTOOL"; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8229 $as_echo "$ac_ct_DLLTOOL" >&6; }
8230 else
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8235 if test "x$ac_ct_DLLTOOL" = x; then
8236 DLLTOOL="false"
8237 else
8238 case $cross_compiling:$ac_tool_warned in
8239 yes:)
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8242 ac_tool_warned=yes ;;
8243 esac
8244 DLLTOOL=$ac_ct_DLLTOOL
8246 else
8247 DLLTOOL="$ac_cv_prog_DLLTOOL"
8250 LIBEXT="dll"
8251 DLLEXT=""
8252 case $host_cpu in
8253 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8254 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8255 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8256 $as_echo_n "(cached) " >&6
8257 else
8258 ac_wine_try_cflags_saved=$CFLAGS
8259 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8261 /* end confdefs.h. */
8262 int main(int argc, char **argv) { return 0; }
8263 _ACEOF
8264 if ac_fn_c_try_link "$LINENO"; then :
8265 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8266 else
8267 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8269 rm -f core conftest.err conftest.$ac_objext \
8270 conftest$ac_exeext conftest.$ac_ext
8271 CFLAGS=$ac_wine_try_cflags_saved
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8274 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8275 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8276 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8277 fi ;;
8278 esac
8279 enable_iphlpapi=${enable_iphlpapi:-no}
8280 enable_kernel32=${enable_kernel32:-no}
8281 enable_ntdll=${enable_ntdll:-no}
8282 enable_ws2_32=${enable_ws2_32:-no}
8283 enable_loader=${enable_loader:-no}
8284 enable_server=${enable_server:-no}
8285 with_x=${with_x:-no}
8286 with_pthread=${with_pthread:-no}
8289 darwin*|macosx*)
8290 ac_ext=m
8291 ac_cpp='$OBJCPP $CPPFLAGS'
8292 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8293 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8294 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8296 ac_ext=m
8297 ac_cpp='$OBJCPP $CPPFLAGS'
8298 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8299 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8300 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8301 if test -n "$ac_tool_prefix"; then
8302 for ac_prog in gcc objcc objc cc CC
8304 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8305 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8307 $as_echo_n "checking for $ac_word... " >&6; }
8308 if ${ac_cv_prog_OBJC+:} false; then :
8309 $as_echo_n "(cached) " >&6
8310 else
8311 if test -n "$OBJC"; then
8312 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8313 else
8314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8315 for as_dir in $PATH
8317 IFS=$as_save_IFS
8318 test -z "$as_dir" && as_dir=.
8319 for ac_exec_ext in '' $ac_executable_extensions; do
8320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8321 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8323 break 2
8325 done
8326 done
8327 IFS=$as_save_IFS
8331 OBJC=$ac_cv_prog_OBJC
8332 if test -n "$OBJC"; then
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8334 $as_echo "$OBJC" >&6; }
8335 else
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8337 $as_echo "no" >&6; }
8341 test -n "$OBJC" && break
8342 done
8344 if test -z "$OBJC"; then
8345 ac_ct_OBJC=$OBJC
8346 for ac_prog in gcc objcc objc cc CC
8348 # Extract the first word of "$ac_prog", so it can be a program name with args.
8349 set dummy $ac_prog; ac_word=$2
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8351 $as_echo_n "checking for $ac_word... " >&6; }
8352 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8353 $as_echo_n "(cached) " >&6
8354 else
8355 if test -n "$ac_ct_OBJC"; then
8356 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8357 else
8358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8359 for as_dir in $PATH
8361 IFS=$as_save_IFS
8362 test -z "$as_dir" && as_dir=.
8363 for ac_exec_ext in '' $ac_executable_extensions; do
8364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8365 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8367 break 2
8369 done
8370 done
8371 IFS=$as_save_IFS
8375 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8376 if test -n "$ac_ct_OBJC"; then
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8378 $as_echo "$ac_ct_OBJC" >&6; }
8379 else
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8381 $as_echo "no" >&6; }
8385 test -n "$ac_ct_OBJC" && break
8386 done
8388 if test "x$ac_ct_OBJC" = x; then
8389 OBJC="gcc"
8390 else
8391 case $cross_compiling:$ac_tool_warned in
8392 yes:)
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8395 ac_tool_warned=yes ;;
8396 esac
8397 OBJC=$ac_ct_OBJC
8401 # Provide some information about the compiler.
8402 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8403 set X $ac_compile
8404 ac_compiler=$2
8405 for ac_option in --version -v -V -qversion; do
8406 { { ac_try="$ac_compiler $ac_option >&5"
8407 case "(($ac_try" in
8408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8409 *) ac_try_echo=$ac_try;;
8410 esac
8411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8412 $as_echo "$ac_try_echo"; } >&5
8413 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8414 ac_status=$?
8415 if test -s conftest.err; then
8416 sed '10a\
8417 ... rest of stderr output deleted ...
8418 10q' conftest.err >conftest.er1
8419 cat conftest.er1 >&5
8421 rm -f conftest.er1 conftest.err
8422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8423 test $ac_status = 0; }
8424 done
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8427 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8428 if ${ac_cv_objc_compiler_gnu+:} false; then :
8429 $as_echo_n "(cached) " >&6
8430 else
8431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8432 /* end confdefs.h. */
8435 main ()
8437 #ifndef __GNUC__
8438 choke me
8439 #endif
8442 return 0;
8444 _ACEOF
8445 if ac_fn_objc_try_compile "$LINENO"; then :
8446 ac_compiler_gnu=yes
8447 else
8448 ac_compiler_gnu=no
8450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8451 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8455 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8456 if test $ac_compiler_gnu = yes; then
8457 GOBJC=yes
8458 else
8459 GOBJC=
8461 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8462 ac_save_OBJCFLAGS=$OBJCFLAGS
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8464 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8465 if ${ac_cv_prog_objc_g+:} false; then :
8466 $as_echo_n "(cached) " >&6
8467 else
8468 ac_save_objc_werror_flag=$ac_objc_werror_flag
8469 ac_objc_werror_flag=yes
8470 ac_cv_prog_objc_g=no
8471 OBJCFLAGS="-g"
8472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8473 /* end confdefs.h. */
8476 main ()
8480 return 0;
8482 _ACEOF
8483 if ac_fn_objc_try_compile "$LINENO"; then :
8484 ac_cv_prog_objc_g=yes
8485 else
8486 OBJCFLAGS=""
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 :
8500 else
8501 ac_objc_werror_flag=$ac_save_objc_werror_flag
8502 OBJCFLAGS="-g"
8503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8504 /* end confdefs.h. */
8507 main ()
8511 return 0;
8513 _ACEOF
8514 if ac_fn_objc_try_compile "$LINENO"; then :
8515 ac_cv_prog_objc_g=yes
8517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8522 ac_objc_werror_flag=$ac_save_objc_werror_flag
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8525 $as_echo "$ac_cv_prog_objc_g" >&6; }
8526 if test "$ac_test_OBJCFLAGS" = set; then
8527 OBJCFLAGS=$ac_save_OBJCFLAGS
8528 elif test $ac_cv_prog_objc_g = yes; then
8529 if test "$GOBJC" = yes; then
8530 OBJCFLAGS="-g -O2"
8531 else
8532 OBJCFLAGS="-g"
8534 else
8535 if test "$GOBJC" = yes; then
8536 OBJCFLAGS="-O2"
8537 else
8538 OBJCFLAGS=
8541 ac_ext=m
8542 ac_cpp='$OBJCPP $CPPFLAGS'
8543 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8544 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8545 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8548 ac_ext=m
8549 ac_cpp='$OBJCPP $CPPFLAGS'
8550 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8551 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8552 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8554 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8555 if test -z "$OBJCPP"; then
8556 if ${ac_cv_prog_OBJCPP+:} false; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 # Double quotes because OBJCPP needs to be expanded
8560 for OBJCPP in "$OBJC -E" "/lib/cpp"
8562 ac_preproc_ok=false
8563 for ac_objc_preproc_warn_flag in '' yes
8565 # Use a header file that comes with gcc, so configuring glibc
8566 # with a fresh cross-compiler works.
8567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8568 # <limits.h> exists even on freestanding compilers.
8569 # On the NeXT, cc -E runs the code through the compiler's parser,
8570 # not just through cpp. "Syntax error" is here to catch this case.
8571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8573 #ifdef __STDC__
8574 # include <limits.h>
8575 #else
8576 # include <assert.h>
8577 #endif
8578 Syntax error
8579 _ACEOF
8580 if ac_fn_objc_try_cpp "$LINENO"; then :
8582 else
8583 # Broken: fails on valid input.
8584 continue
8586 rm -f conftest.err conftest.i conftest.$ac_ext
8588 # OK, works on sane cases. Now check whether nonexistent headers
8589 # can be detected and how.
8590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8592 #include <ac_nonexistent.h>
8593 _ACEOF
8594 if ac_fn_objc_try_cpp "$LINENO"; then :
8595 # Broken: success on invalid input.
8596 continue
8597 else
8598 # Passes both tests.
8599 ac_preproc_ok=:
8600 break
8602 rm -f conftest.err conftest.i conftest.$ac_ext
8604 done
8605 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8606 rm -f conftest.i conftest.err conftest.$ac_ext
8607 if $ac_preproc_ok; then :
8608 break
8611 done
8612 ac_cv_prog_OBJCPP=$OBJCPP
8615 OBJCPP=$ac_cv_prog_OBJCPP
8616 else
8617 ac_cv_prog_OBJCPP=$OBJCPP
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8620 $as_echo "$OBJCPP" >&6; }
8621 ac_preproc_ok=false
8622 for ac_objc_preproc_warn_flag in '' yes
8624 # Use a header file that comes with gcc, so configuring glibc
8625 # with a fresh cross-compiler works.
8626 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8627 # <limits.h> exists even on freestanding compilers.
8628 # On the NeXT, cc -E runs the code through the compiler's parser,
8629 # not just through cpp. "Syntax error" is here to catch this case.
8630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8631 /* end confdefs.h. */
8632 #ifdef __STDC__
8633 # include <limits.h>
8634 #else
8635 # include <assert.h>
8636 #endif
8637 Syntax error
8638 _ACEOF
8639 if ac_fn_objc_try_cpp "$LINENO"; then :
8641 else
8642 # Broken: fails on valid input.
8643 continue
8645 rm -f conftest.err conftest.i conftest.$ac_ext
8647 # OK, works on sane cases. Now check whether nonexistent headers
8648 # can be detected and how.
8649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8650 /* end confdefs.h. */
8651 #include <ac_nonexistent.h>
8652 _ACEOF
8653 if ac_fn_objc_try_cpp "$LINENO"; then :
8654 # Broken: success on invalid input.
8655 continue
8656 else
8657 # Passes both tests.
8658 ac_preproc_ok=:
8659 break
8661 rm -f conftest.err conftest.i conftest.$ac_ext
8663 done
8664 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8665 rm -f conftest.i conftest.err conftest.$ac_ext
8666 if $ac_preproc_ok; then :
8668 else
8669 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8671 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8672 See \`config.log' for more details" "$LINENO" 5; }
8675 ac_ext=m
8676 ac_cpp='$OBJCPP $CPPFLAGS'
8677 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8678 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8679 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8682 for ac_header in Metal/Metal.h
8683 do :
8684 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8685 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8686 cat >>confdefs.h <<_ACEOF
8687 #define HAVE_METAL_METAL_H 1
8688 _ACEOF
8692 done
8694 ac_ext=c
8695 ac_cpp='$CPP $CPPFLAGS'
8696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8700 LIBEXT="dylib"
8701 DLLFLAGS="$DLLFLAGS -fPIC"
8702 LDDLLFLAGS="-fPIC"
8703 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8704 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8705 COREFOUNDATION_LIBS="-framework CoreFoundation"
8707 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8709 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8711 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8713 CORESERVICES_LIBS="-framework CoreServices"
8715 APPKIT_LIBS="-framework AppKit"
8717 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8720 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8722 wine_can_build_preloader=yes
8723 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8725 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8726 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8727 $as_echo_n "(cached) " >&6
8728 else
8729 ac_wine_try_cflags_saved=$CFLAGS
8730 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8733 int main(int argc, char **argv) { return 0; }
8734 _ACEOF
8735 if ac_fn_c_try_link "$LINENO"; then :
8736 ac_cv_cflags__Wl__no_new_main__e__main=yes
8737 else
8738 ac_cv_cflags__Wl__no_new_main__e__main=no
8740 rm -f core conftest.err conftest.$ac_objext \
8741 conftest$ac_exeext conftest.$ac_ext
8742 CFLAGS=$ac_wine_try_cflags_saved
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8745 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8746 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8747 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8749 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8750 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8751 $as_echo_n "(cached) " >&6
8752 else
8753 ac_wine_try_cflags_saved=$CFLAGS
8754 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8756 /* end confdefs.h. */
8757 int main(int argc, char **argv) { return 0; }
8758 _ACEOF
8759 if ac_fn_c_try_link "$LINENO"; then :
8760 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8761 else
8762 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8764 rm -f core conftest.err conftest.$ac_objext \
8765 conftest$ac_exeext conftest.$ac_ext
8766 CFLAGS=$ac_wine_try_cflags_saved
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8769 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8770 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8771 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8772 else
8773 { $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
8774 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8775 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8776 $as_echo_n "(cached) " >&6
8777 else
8778 ac_wine_try_cflags_saved=$CFLAGS
8779 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8781 /* end confdefs.h. */
8782 int main(int argc, char **argv) { return 0; }
8783 _ACEOF
8784 if ac_fn_c_try_link "$LINENO"; then :
8785 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8786 else
8787 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8789 rm -f core conftest.err conftest.$ac_objext \
8790 conftest$ac_exeext conftest.$ac_ext
8791 CFLAGS=$ac_wine_try_cflags_saved
8793 { $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
8794 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8795 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8796 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8797 else
8798 wine_can_build_preloader=no
8801 else
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8803 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8804 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8805 $as_echo_n "(cached) " >&6
8806 else
8807 ac_wine_try_cflags_saved=$CFLAGS
8808 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8810 /* end confdefs.h. */
8811 int main(int argc, char **argv) { return 0; }
8812 _ACEOF
8813 if ac_fn_c_try_link "$LINENO"; then :
8814 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8815 else
8816 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8818 rm -f core conftest.err conftest.$ac_objext \
8819 conftest$ac_exeext conftest.$ac_ext
8820 CFLAGS=$ac_wine_try_cflags_saved
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8823 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8824 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8825 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8826 else
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8828 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8829 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8830 $as_echo_n "(cached) " >&6
8831 else
8832 ac_wine_try_cflags_saved=$CFLAGS
8833 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8835 /* end confdefs.h. */
8836 int main(int argc, char **argv) { return 0; }
8837 _ACEOF
8838 if ac_fn_c_try_link "$LINENO"; then :
8839 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8840 else
8841 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8843 rm -f core conftest.err conftest.$ac_objext \
8844 conftest$ac_exeext conftest.$ac_ext
8845 CFLAGS=$ac_wine_try_cflags_saved
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8848 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8849 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8850 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8851 else
8852 wine_can_build_preloader=no
8856 if test "$wine_can_build_preloader" = "yes"
8857 then
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8859 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8860 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8861 $as_echo_n "(cached) " >&6
8862 else
8863 ac_wine_try_cflags_saved=$CFLAGS
8864 CFLAGS="$CFLAGS -Wl,-no_pie"
8865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8866 /* end confdefs.h. */
8867 int main(int argc, char **argv) { return 0; }
8868 _ACEOF
8869 if ac_fn_c_try_link "$LINENO"; then :
8870 ac_cv_cflags__Wl__no_pie=yes
8871 else
8872 ac_cv_cflags__Wl__no_pie=no
8874 rm -f core conftest.err conftest.$ac_objext \
8875 conftest$ac_exeext conftest.$ac_ext
8876 CFLAGS=$ac_wine_try_cflags_saved
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8879 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8880 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8881 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8883 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8884 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8885 else
8886 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8889 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8890 then
8891 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8894 if test "$ac_cv_header_Security_Security_h" = "yes"
8895 then
8896 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8898 ac_save_LIBS="$LIBS"
8899 LIBS="$LIBS $SECURITY_LIBS"
8900 for ac_func in SSLCopyPeerCertificates
8901 do :
8902 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8903 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8904 cat >>confdefs.h <<_ACEOF
8905 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8906 _ACEOF
8909 done
8911 LIBS="$ac_save_LIBS"
8913 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8914 then
8915 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8916 then
8917 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8919 else
8920 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8923 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8924 ac_save_LIBS="$LIBS"
8925 LIBS="$LIBS $COREAUDIO_LIBS"
8926 for ac_func in AUGraphAddNode
8927 do :
8928 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8929 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8930 cat >>confdefs.h <<_ACEOF
8931 #define HAVE_AUGRAPHADDNODE 1
8932 _ACEOF
8935 done
8937 LIBS="$ac_save_LIBS"
8939 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8940 then
8941 OPENAL_LIBS="-framework OpenAL"
8944 cat >>confdefs.h <<_ACEOF
8945 #define HAVE_OPENAL 1
8946 _ACEOF
8948 ac_cv_lib_openal=yes
8950 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8951 then
8952 OPENCL_LIBS="-framework OpenCL"
8954 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8956 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8957 then
8958 ac_save_LIBS="$LIBS"
8959 LIBS="$LIBS $IOKIT_LIBS"
8960 for ac_func in IOHIDManagerCreate
8961 do :
8962 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8963 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8964 cat >>confdefs.h <<_ACEOF
8965 #define HAVE_IOHIDMANAGERCREATE 1
8966 _ACEOF
8969 done
8971 LIBS="$ac_save_LIBS"
8973 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8974 then
8975 ac_save_LIBS="$LIBS"
8976 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8978 $as_echo_n "checking for the QuickTime framework... " >&6; }
8979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8980 /* end confdefs.h. */
8981 #include <QuickTime/ImageCompression.h>
8983 main ()
8985 CodecManagerVersion(NULL);
8987 return 0;
8989 _ACEOF
8990 if ac_fn_c_try_link "$LINENO"; then :
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8992 $as_echo "yes" >&6; }
8993 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8995 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8996 else
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8998 $as_echo "no" >&6; }
8999 ac_cv_header_QuickTime_ImageCompression_h=no
9001 rm -f core conftest.err conftest.$ac_objext \
9002 conftest$ac_exeext conftest.$ac_ext
9003 LIBS="$ac_save_LIBS"
9005 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
9006 then
9007 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
9009 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9010 then
9011 CARBON_LIBS="-framework Carbon"
9014 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9015 then
9016 METAL_LIBS="-framework Metal -framework QuartzCore"
9020 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9021 then
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9023 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9024 ac_ext=m
9025 ac_cpp='$OBJCPP $CPPFLAGS'
9026 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9027 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9028 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9031 /* end confdefs.h. */
9032 #include <Metal/Metal.h>
9034 main ()
9036 id<MTLDevice> device; device.registryID;
9038 return 0;
9040 _ACEOF
9041 if ac_fn_objc_try_compile "$LINENO"; then :
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9043 $as_echo "yes" >&6; }
9045 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9047 else
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9049 $as_echo "no" >&6; }
9051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9052 ac_ext=c
9053 ac_cpp='$CPP $CPPFLAGS'
9054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9060 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9061 then
9062 ac_save_LIBS="$LIBS"
9063 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9064 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9065 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9066 enable_winemac_drv=${enable_winemac_drv:-yes}
9069 LIBS="$ac_save_LIBS"
9072 if test "x$enable_win16" = "xyes"
9073 then
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9075 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9076 if test "$cross_compiling" = yes; then :
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9078 $as_echo "cross-compiling, assuming yes" >&6; }
9079 else
9080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9081 /* end confdefs.h. */
9082 asm(".text\n"
9083 "bad:\tnop;nop\n"
9084 "good:\tnop;nop\n\t"
9085 ".globl _testfunc\n"
9086 "_testfunc:\tcallw good");
9087 extern void testfunc();
9089 main ()
9091 unsigned short *p = (unsigned short *)testfunc;
9092 return p[0] != 0xe866 || p[1] != 0xfffa
9094 return 0;
9096 _ACEOF
9097 if ac_fn_c_try_run "$LINENO"; then :
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9099 $as_echo "yes" >&6; }
9100 else
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9102 $as_echo "no" >&6; }
9103 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
9105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9106 conftest.$ac_objext conftest.beam conftest.$ac_ext
9111 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9113 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9115 WINELOADER_DEPENDS="wine_info.plist"
9117 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9118 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9121 linux-android*)
9122 DLLFLAGS="$DLLFLAGS -fPIC"
9123 LDDLLFLAGS="-fPIC"
9124 LDEXECFLAGS="-Wl,-pie"
9125 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9127 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9128 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9129 $as_echo_n "(cached) " >&6
9130 else
9131 ac_wine_try_cflags_saved=$CFLAGS
9132 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9134 /* end confdefs.h. */
9135 int main(int argc, char **argv) { return 0; }
9136 _ACEOF
9137 if ac_fn_c_try_link "$LINENO"; then :
9138 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9139 else
9140 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9142 rm -f core conftest.err conftest.$ac_objext \
9143 conftest$ac_exeext conftest.$ac_ext
9144 CFLAGS=$ac_wine_try_cflags_saved
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9147 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9148 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9149 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9151 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9152 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9154 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9155 if eval \${$as_ac_var+:} false; then :
9156 $as_echo_n "(cached) " >&6
9157 else
9158 ac_wine_try_cflags_saved=$CFLAGS
9159 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9162 int main(int argc, char **argv) { return 0; }
9163 _ACEOF
9164 if ac_fn_c_try_link "$LINENO"; then :
9165 eval "$as_ac_var=yes"
9166 else
9167 eval "$as_ac_var=no"
9169 rm -f core conftest.err conftest.$ac_objext \
9170 conftest$ac_exeext conftest.$ac_ext
9171 CFLAGS=$ac_wine_try_cflags_saved
9173 eval ac_res=\$$as_ac_var
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9175 $as_echo "$ac_res" >&6; }
9176 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9177 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9178 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9179 else
9180 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9182 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9183 if eval \${$as_ac_var+:} false; then :
9184 $as_echo_n "(cached) " >&6
9185 else
9186 ac_wine_try_cflags_saved=$CFLAGS
9187 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h. */
9190 int main(int argc, char **argv) { return 0; }
9191 _ACEOF
9192 if ac_fn_c_try_link "$LINENO"; then :
9193 eval "$as_ac_var=yes"
9194 else
9195 eval "$as_ac_var=no"
9197 rm -f core conftest.err conftest.$ac_objext \
9198 conftest$ac_exeext conftest.$ac_ext
9199 CFLAGS=$ac_wine_try_cflags_saved
9201 eval ac_res=\$$as_ac_var
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9203 $as_echo "$ac_res" >&6; }
9204 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9205 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9206 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9210 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9211 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9212 $as_echo_n "(cached) " >&6
9213 else
9214 ac_wine_try_cflags_saved=$CFLAGS
9215 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9217 /* end confdefs.h. */
9218 int main(int argc, char **argv) { return 0; }
9219 _ACEOF
9220 if ac_fn_c_try_link "$LINENO"; then :
9221 ac_cv_cflags__Wl___enable_new_dtags=yes
9222 else
9223 ac_cv_cflags__Wl___enable_new_dtags=no
9225 rm -f core conftest.err conftest.$ac_objext \
9226 conftest$ac_exeext conftest.$ac_ext
9227 CFLAGS=$ac_wine_try_cflags_saved
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9230 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9231 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9232 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9235 LIBWINE_SHAREDLIB="libwine.so"
9237 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9239 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9242 $as_echo_n "checking for -lEGL... " >&6; }
9243 if ${ac_cv_lib_soname_EGL+:} false; then :
9244 $as_echo_n "(cached) " >&6
9245 else
9246 ac_check_soname_save_LIBS=$LIBS
9247 LIBS="-lEGL $LIBS"
9248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9249 /* end confdefs.h. */
9251 /* Override any GCC internal prototype to avoid an error.
9252 Use char because int might match the return type of a GCC
9253 builtin and then its argument prototype would still apply. */
9254 #ifdef __cplusplus
9255 extern "C"
9256 #endif
9257 char eglGetProcAddress ();
9259 main ()
9261 return eglGetProcAddress ();
9263 return 0;
9265 _ACEOF
9266 if ac_fn_c_try_link "$LINENO"; then :
9267 case "$LIBEXT" in
9268 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9269 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'` ;;
9270 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9271 if ${ac_cv_lib_soname_EGL:+false} :; then :
9272 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9273 fi ;;
9274 esac
9275 else
9276 ac_cv_lib_soname_EGL=
9278 rm -f core conftest.err conftest.$ac_objext \
9279 conftest$ac_exeext conftest.$ac_ext
9280 LIBS=$ac_check_soname_save_LIBS
9282 if ${ac_cv_lib_soname_EGL:+false} :; then :
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9284 $as_echo "not found" >&6; }
9286 else
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9288 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9290 cat >>confdefs.h <<_ACEOF
9291 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9292 _ACEOF
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9297 $as_echo_n "checking for -lGLESv2... " >&6; }
9298 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9299 $as_echo_n "(cached) " >&6
9300 else
9301 ac_check_soname_save_LIBS=$LIBS
9302 LIBS="-lGLESv2 $LIBS"
9303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9304 /* end confdefs.h. */
9306 /* Override any GCC internal prototype to avoid an error.
9307 Use char because int might match the return type of a GCC
9308 builtin and then its argument prototype would still apply. */
9309 #ifdef __cplusplus
9310 extern "C"
9311 #endif
9312 char glFlush ();
9314 main ()
9316 return glFlush ();
9318 return 0;
9320 _ACEOF
9321 if ac_fn_c_try_link "$LINENO"; then :
9322 case "$LIBEXT" in
9323 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9324 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'` ;;
9325 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9326 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9327 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9328 fi ;;
9329 esac
9330 else
9331 ac_cv_lib_soname_GLESv2=
9333 rm -f core conftest.err conftest.$ac_objext \
9334 conftest$ac_exeext conftest.$ac_ext
9335 LIBS=$ac_check_soname_save_LIBS
9337 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9339 $as_echo "not found" >&6; }
9341 else
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9343 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9345 cat >>confdefs.h <<_ACEOF
9346 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9347 _ACEOF
9352 if test "x$exec_prefix" = xNONE
9353 then
9354 case $host_cpu in
9355 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9356 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9357 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9358 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9359 esac
9364 case $host_cpu in
9365 *i[3456789]86*)
9366 DLLFLAGS="$DLLFLAGS -fno-PIC"
9367 LDDLLFLAGS="-fno-PIC" ;;
9369 DLLFLAGS="$DLLFLAGS -fPIC"
9370 LDDLLFLAGS="-fPIC" ;;
9371 esac
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9373 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9374 if ${ac_cv_c_dll_gnuelf+:} false; then :
9375 $as_echo_n "(cached) " >&6
9376 else
9377 ac_wine_try_cflags_saved=$CFLAGS
9378 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9380 /* end confdefs.h. */
9381 void myfunc() {}
9382 _ACEOF
9383 if ac_fn_c_try_link "$LINENO"; then :
9384 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9385 else
9386 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9388 rm -f core conftest.err conftest.$ac_objext \
9389 conftest$ac_exeext conftest.$ac_ext
9390 CFLAGS=$ac_wine_try_cflags_saved
9391 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9392 ac_cv_c_dll_gnuelf="yes"
9393 else
9394 ac_cv_c_dll_gnuelf="no"
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9398 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9399 if test "$ac_cv_c_dll_gnuelf" = "yes"
9400 then
9401 LIBWINE_LDFLAGS="-shared"
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9403 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9404 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9405 $as_echo_n "(cached) " >&6
9406 else
9407 ac_wine_try_cflags_saved=$CFLAGS
9408 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9410 /* end confdefs.h. */
9411 int main(int argc, char **argv) { return 0; }
9412 _ACEOF
9413 if ac_fn_c_try_link "$LINENO"; then :
9414 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9415 else
9416 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9418 rm -f core conftest.err conftest.$ac_objext \
9419 conftest$ac_exeext conftest.$ac_ext
9420 CFLAGS=$ac_wine_try_cflags_saved
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9423 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9424 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9425 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9426 else
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9428 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9429 if ${ac_cv_cflags__shared__Wl__h_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,-h,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__h_confest_so_1=yes
9440 else
9441 ac_cv_cflags__shared__Wl__h_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__h_confest_so_1" >&5
9448 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9449 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9450 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9454 echo '{ global: *; };' >conftest.map
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9456 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9457 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9458 $as_echo_n "(cached) " >&6
9459 else
9460 ac_wine_try_cflags_saved=$CFLAGS
9461 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9463 /* end confdefs.h. */
9464 int main(int argc, char **argv) { return 0; }
9465 _ACEOF
9466 if ac_fn_c_try_link "$LINENO"; then :
9467 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9468 else
9469 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9471 rm -f core conftest.err conftest.$ac_objext \
9472 conftest$ac_exeext conftest.$ac_ext
9473 CFLAGS=$ac_wine_try_cflags_saved
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9476 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9477 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9478 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9480 rm -f conftest.map
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9483 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9484 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9485 $as_echo_n "(cached) " >&6
9486 else
9487 ac_wine_try_cflags_saved=$CFLAGS
9488 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9490 /* end confdefs.h. */
9491 int main(int argc, char **argv) { return 0; }
9492 _ACEOF
9493 if ac_fn_c_try_link "$LINENO"; then :
9494 ac_cv_cflags__Wl___export_dynamic=yes
9495 else
9496 ac_cv_cflags__Wl___export_dynamic=no
9498 rm -f core conftest.err conftest.$ac_objext \
9499 conftest$ac_exeext conftest.$ac_ext
9500 CFLAGS=$ac_wine_try_cflags_saved
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9503 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9504 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9505 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9507 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9509 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9511 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9512 if eval \${$as_ac_var+:} false; then :
9513 $as_echo_n "(cached) " >&6
9514 else
9515 ac_wine_try_cflags_saved=$CFLAGS
9516 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9518 /* end confdefs.h. */
9519 int main(int argc, char **argv) { return 0; }
9520 _ACEOF
9521 if ac_fn_c_try_link "$LINENO"; then :
9522 eval "$as_ac_var=yes"
9523 else
9524 eval "$as_ac_var=no"
9526 rm -f core conftest.err conftest.$ac_objext \
9527 conftest$ac_exeext conftest.$ac_ext
9528 CFLAGS=$ac_wine_try_cflags_saved
9530 eval ac_res=\$$as_ac_var
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9532 $as_echo "$ac_res" >&6; }
9533 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9534 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9535 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9536 else
9537 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9539 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9540 if eval \${$as_ac_var+:} false; then :
9541 $as_echo_n "(cached) " >&6
9542 else
9543 ac_wine_try_cflags_saved=$CFLAGS
9544 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9546 /* end confdefs.h. */
9547 int main(int argc, char **argv) { return 0; }
9548 _ACEOF
9549 if ac_fn_c_try_link "$LINENO"; then :
9550 eval "$as_ac_var=yes"
9551 else
9552 eval "$as_ac_var=no"
9554 rm -f core conftest.err conftest.$ac_objext \
9555 conftest$ac_exeext conftest.$ac_ext
9556 CFLAGS=$ac_wine_try_cflags_saved
9558 eval ac_res=\$$as_ac_var
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9560 $as_echo "$ac_res" >&6; }
9561 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9562 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9563 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9568 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9569 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9570 $as_echo_n "(cached) " >&6
9571 else
9572 ac_wine_try_cflags_saved=$CFLAGS
9573 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9575 /* end confdefs.h. */
9576 int main(int argc, char **argv) { return 0; }
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9579 ac_cv_cflags__Wl___enable_new_dtags=yes
9580 else
9581 ac_cv_cflags__Wl___enable_new_dtags=no
9583 rm -f core conftest.err conftest.$ac_objext \
9584 conftest$ac_exeext conftest.$ac_ext
9585 CFLAGS=$ac_wine_try_cflags_saved
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9588 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9589 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9590 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9593 case $host_cpu in
9594 *i[3456789]86* | x86_64 | *aarch64*)
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9596 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9597 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9598 $as_echo_n "(cached) " >&6
9599 else
9600 ac_wine_try_cflags_saved=$CFLAGS
9601 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9603 /* end confdefs.h. */
9604 int main(int argc, char **argv) { return 0; }
9605 _ACEOF
9606 if ac_fn_c_try_link "$LINENO"; then :
9607 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9608 else
9609 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9611 rm -f core conftest.err conftest.$ac_objext \
9612 conftest$ac_exeext conftest.$ac_ext
9613 CFLAGS=$ac_wine_try_cflags_saved
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9616 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9617 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9618 case $host_os in
9619 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9620 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9621 esac
9622 else
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9624 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9625 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9626 $as_echo_n "(cached) " >&6
9627 else
9628 ac_wine_try_cflags_saved=$CFLAGS
9629 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9632 int main(int argc, char **argv) { return 0; }
9633 _ACEOF
9634 if ac_fn_c_try_link "$LINENO"; then :
9635 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9636 else
9637 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9639 rm -f core conftest.err conftest.$ac_objext \
9640 conftest$ac_exeext conftest.$ac_ext
9641 CFLAGS=$ac_wine_try_cflags_saved
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9644 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9645 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9646 case $host_os in
9647 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9648 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9649 esac
9651 # Extract the first word of "prelink", so it can be a program name with args.
9652 set dummy prelink; ac_word=$2
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9654 $as_echo_n "checking for $ac_word... " >&6; }
9655 if ${ac_cv_path_PRELINK+:} false; then :
9656 $as_echo_n "(cached) " >&6
9657 else
9658 case $PRELINK in
9659 [\\/]* | ?:[\\/]*)
9660 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9664 for as_dir in /sbin /usr/sbin $PATH
9666 IFS=$as_save_IFS
9667 test -z "$as_dir" && as_dir=.
9668 for ac_exec_ext in '' $ac_executable_extensions; do
9669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9670 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9672 break 2
9674 done
9675 done
9676 IFS=$as_save_IFS
9678 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9680 esac
9682 PRELINK=$ac_cv_path_PRELINK
9683 if test -n "$PRELINK"; then
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9685 $as_echo "$PRELINK" >&6; }
9686 else
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9688 $as_echo "no" >&6; }
9692 if test "x$PRELINK" = xfalse
9693 then
9694 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9698 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9699 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9700 $as_echo_n "(cached) " >&6
9701 else
9702 ac_wine_try_cflags_saved=$CFLAGS
9703 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9705 /* end confdefs.h. */
9706 int main(int argc, char **argv) { return 0; }
9707 _ACEOF
9708 if ac_fn_c_try_link "$LINENO"; then :
9709 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9710 else
9711 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9713 rm -f core conftest.err conftest.$ac_objext \
9714 conftest$ac_exeext conftest.$ac_ext
9715 CFLAGS=$ac_wine_try_cflags_saved
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9718 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9719 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9720 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9723 esac
9725 else
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9727 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9728 if ${ac_cv_c_dll_unixware+:} false; then :
9729 $as_echo_n "(cached) " >&6
9730 else
9731 ac_wine_try_cflags_saved=$CFLAGS
9732 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h. */
9735 void myfunc() {}
9736 _ACEOF
9737 if ac_fn_c_try_link "$LINENO"; then :
9738 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9739 else
9740 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9742 rm -f core conftest.err conftest.$ac_objext \
9743 conftest$ac_exeext conftest.$ac_ext
9744 CFLAGS=$ac_wine_try_cflags_saved
9745 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9746 ac_cv_c_dll_unixware="yes"
9747 else
9748 ac_cv_c_dll_unixware="no"
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9752 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9753 if test "$ac_cv_c_dll_unixware" = "yes"
9754 then
9755 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9758 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9760 LIBWINE_DEPENDS="wine.map"
9762 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9763 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9765 esac
9767 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9768 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9769 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9770 enable_winemac_drv=${enable_winemac_drv:-no}
9771 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9774 if test "x$with_mingw" != xno
9775 then
9776 case "x$with_mingw" in
9777 x|xyes) case "$host_cpu" in
9778 aarch64*)
9779 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9780 arm*)
9781 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9782 i[3456789]86*)
9783 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
9784 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9785 mingw32-gcc" ;;
9786 x86_64)
9787 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
9788 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9790 ac_prefix_list="" ;;
9791 esac
9792 for ac_prog in $ac_prefix_list
9794 # Extract the first word of "$ac_prog", so it can be a program name with args.
9795 set dummy $ac_prog; ac_word=$2
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9797 $as_echo_n "checking for $ac_word... " >&6; }
9798 if ${ac_cv_prog_CROSSCC+:} false; then :
9799 $as_echo_n "(cached) " >&6
9800 else
9801 if test -n "$CROSSCC"; then
9802 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9803 else
9804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9805 for as_dir in $PATH
9807 IFS=$as_save_IFS
9808 test -z "$as_dir" && as_dir=.
9809 for ac_exec_ext in '' $ac_executable_extensions; do
9810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9811 ac_cv_prog_CROSSCC="$ac_prog"
9812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9813 break 2
9815 done
9816 done
9817 IFS=$as_save_IFS
9821 CROSSCC=$ac_cv_prog_CROSSCC
9822 if test -n "$CROSSCC"; then
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9824 $as_echo "$CROSSCC" >&6; }
9825 else
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9827 $as_echo "no" >&6; }
9831 test -n "$CROSSCC" && break
9832 done
9833 test -n "$CROSSCC" || CROSSCC="false"
9835 *) CROSSCC=$with_mingw ;;
9836 esac
9837 if test "$CROSSCC" != "false"
9838 then
9839 ac_save_CC="$CC"
9840 saved_CFLAGS=$CFLAGS
9841 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9843 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9847 CC="$CROSSCC"
9848 CFLAGS=$CROSSCFLAGS
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9850 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9851 if ${wine_cv_crosscc+:} false; then :
9852 $as_echo_n "(cached) " >&6
9853 else
9854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h. */
9858 main ()
9862 return 0;
9864 _ACEOF
9865 if ac_fn_c_try_compile "$LINENO"; then :
9866 wine_cv_crosscc=yes
9867 else
9868 wine_cv_crosscc=no
9870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9873 $as_echo "$wine_cv_crosscc" >&6; }
9874 if test $wine_cv_crosscc = yes
9875 then
9876 set x $CROSSCC
9877 shift
9878 while test $# -ge 1
9880 case "$1" in
9881 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9882 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9883 esac
9884 shift
9885 done
9887 llvm_target=$CROSSTARGET
9888 llvm_cflags="-fuse-ld=lld"
9889 if test -z "$llvm_target"
9890 then
9891 case $host_cpu in
9892 *i[3456789]86*) llvm_target=i686-windows ;;
9893 *) llvm_target=$host_cpu-windows ;;
9894 esac
9896 case $llvm_target in
9897 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9898 esac
9899 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9901 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9902 if eval \${$as_ac_var+:} false; then :
9903 $as_echo_n "(cached) " >&6
9904 else
9905 ac_wine_try_cflags_saved=$CFLAGS
9906 ac_wine_try_cflags_saved_cc=$CC
9907 ac_wine_try_cflags_saved_exeext=$ac_exeext
9908 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9909 CC="$CROSSCC"
9910 ac_exeext=".exe"
9911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9912 /* end confdefs.h. */
9913 int __cdecl mainCRTStartup(void) { return 0; }
9914 _ACEOF
9915 if ac_fn_c_try_link "$LINENO"; then :
9916 eval "$as_ac_var=yes"
9917 else
9918 eval "$as_ac_var=no"
9920 rm -f core conftest.err conftest.$ac_objext \
9921 conftest$ac_exeext conftest.$ac_ext
9922 CFLAGS=$ac_wine_try_cflags_saved
9923 CC=$ac_wine_try_cflags_saved_cc
9924 ac_exeext=$ac_wine_try_cflags_saved_exeext
9926 eval ac_res=\$$as_ac_var
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9928 $as_echo "$ac_res" >&6; }
9929 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9930 CROSSTARGET=$llvm_target
9931 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9932 DELAYLOADFLAG="-Wl,-delayload,"
9934 CFLAGS="$CFLAGS $llvm_cflags"
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9938 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9939 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9940 $as_echo_n "(cached) " >&6
9941 else
9942 ac_wine_try_cflags_saved=$CFLAGS
9943 ac_wine_try_cflags_saved_cc=$CC
9944 ac_wine_try_cflags_saved_exeext=$ac_exeext
9945 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9946 CC="$CROSSCC"
9947 ac_exeext=".exe"
9948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9950 int __cdecl mainCRTStartup(void) { return 0; }
9951 _ACEOF
9952 if ac_fn_c_try_link "$LINENO"; then :
9953 ac_cv_crosscflags__fno_strict_aliasing=yes
9954 else
9955 ac_cv_crosscflags__fno_strict_aliasing=no
9957 rm -f core conftest.err conftest.$ac_objext \
9958 conftest$ac_exeext conftest.$ac_ext
9959 CFLAGS=$ac_wine_try_cflags_saved
9960 CC=$ac_wine_try_cflags_saved_cc
9961 ac_exeext=$ac_wine_try_cflags_saved_exeext
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9964 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9965 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9966 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9969 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9970 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9971 $as_echo_n "(cached) " >&6
9972 else
9973 ac_wine_try_cflags_saved=$CFLAGS
9974 ac_wine_try_cflags_saved_cc=$CC
9975 ac_wine_try_cflags_saved_exeext=$ac_exeext
9976 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9977 CC="$CROSSCC"
9978 ac_exeext=".exe"
9979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9980 /* end confdefs.h. */
9981 int __cdecl mainCRTStartup(void) { return 0; }
9982 _ACEOF
9983 if ac_fn_c_try_link "$LINENO"; then :
9984 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9985 else
9986 ac_cv_crosscflags__Werror_unknown_warning_option=no
9988 rm -f core conftest.err conftest.$ac_objext \
9989 conftest$ac_exeext conftest.$ac_ext
9990 CFLAGS=$ac_wine_try_cflags_saved
9991 CC=$ac_wine_try_cflags_saved_cc
9992 ac_exeext=$ac_wine_try_cflags_saved_exeext
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9995 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9996 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9997 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10000 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10001 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
10002 $as_echo_n "(cached) " >&6
10003 else
10004 ac_wine_try_cflags_saved=$CFLAGS
10005 ac_wine_try_cflags_saved_cc=$CC
10006 ac_wine_try_cflags_saved_exeext=$ac_exeext
10007 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10008 CC="$CROSSCC"
10009 ac_exeext=".exe"
10010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10012 int __cdecl mainCRTStartup(void) { return 0; }
10013 _ACEOF
10014 if ac_fn_c_try_link "$LINENO"; then :
10015 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10016 else
10017 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10019 rm -f core conftest.err conftest.$ac_objext \
10020 conftest$ac_exeext conftest.$ac_ext
10021 CFLAGS=$ac_wine_try_cflags_saved
10022 CC=$ac_wine_try_cflags_saved_cc
10023 ac_exeext=$ac_wine_try_cflags_saved_exeext
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10026 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10027 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
10028 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10031 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10032 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
10033 $as_echo_n "(cached) " >&6
10034 else
10035 ac_wine_try_cflags_saved=$CFLAGS
10036 ac_wine_try_cflags_saved_cc=$CC
10037 ac_wine_try_cflags_saved_exeext=$ac_exeext
10038 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10039 CC="$CROSSCC"
10040 ac_exeext=".exe"
10041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10043 int __cdecl mainCRTStartup(void) { return 0; }
10044 _ACEOF
10045 if ac_fn_c_try_link "$LINENO"; then :
10046 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10047 else
10048 ac_cv_crosscflags__Wdeclaration_after_statement=no
10050 rm -f core conftest.err conftest.$ac_objext \
10051 conftest$ac_exeext conftest.$ac_ext
10052 CFLAGS=$ac_wine_try_cflags_saved
10053 CC=$ac_wine_try_cflags_saved_cc
10054 ac_exeext=$ac_wine_try_cflags_saved_exeext
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10057 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10058 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
10059 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10062 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10063 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
10064 $as_echo_n "(cached) " >&6
10065 else
10066 ac_wine_try_cflags_saved=$CFLAGS
10067 ac_wine_try_cflags_saved_cc=$CC
10068 ac_wine_try_cflags_saved_exeext=$ac_exeext
10069 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10070 CC="$CROSSCC"
10071 ac_exeext=".exe"
10072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10073 /* end confdefs.h. */
10074 int __cdecl mainCRTStartup(void) { return 0; }
10075 _ACEOF
10076 if ac_fn_c_try_link "$LINENO"; then :
10077 ac_cv_crosscflags__Wempty_body=yes
10078 else
10079 ac_cv_crosscflags__Wempty_body=no
10081 rm -f core conftest.err conftest.$ac_objext \
10082 conftest$ac_exeext conftest.$ac_ext
10083 CFLAGS=$ac_wine_try_cflags_saved
10084 CC=$ac_wine_try_cflags_saved_cc
10085 ac_exeext=$ac_wine_try_cflags_saved_exeext
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10088 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10089 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10090 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10093 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10094 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10095 $as_echo_n "(cached) " >&6
10096 else
10097 ac_wine_try_cflags_saved=$CFLAGS
10098 ac_wine_try_cflags_saved_cc=$CC
10099 ac_wine_try_cflags_saved_exeext=$ac_exeext
10100 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10101 CC="$CROSSCC"
10102 ac_exeext=".exe"
10103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10104 /* end confdefs.h. */
10105 int __cdecl mainCRTStartup(void) { return 0; }
10106 _ACEOF
10107 if ac_fn_c_try_link "$LINENO"; then :
10108 ac_cv_crosscflags__Wignored_qualifiers=yes
10109 else
10110 ac_cv_crosscflags__Wignored_qualifiers=no
10112 rm -f core conftest.err conftest.$ac_objext \
10113 conftest$ac_exeext conftest.$ac_ext
10114 CFLAGS=$ac_wine_try_cflags_saved
10115 CC=$ac_wine_try_cflags_saved_cc
10116 ac_exeext=$ac_wine_try_cflags_saved_exeext
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10119 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10120 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10121 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10124 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10125 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10126 $as_echo_n "(cached) " >&6
10127 else
10128 ac_wine_try_cflags_saved=$CFLAGS
10129 ac_wine_try_cflags_saved_cc=$CC
10130 ac_wine_try_cflags_saved_exeext=$ac_exeext
10131 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10132 CC="$CROSSCC"
10133 ac_exeext=".exe"
10134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10135 /* end confdefs.h. */
10136 int __cdecl mainCRTStartup(void) { return 0; }
10137 _ACEOF
10138 if ac_fn_c_try_link "$LINENO"; then :
10139 ac_cv_crosscflags__Wpacked_not_aligned=yes
10140 else
10141 ac_cv_crosscflags__Wpacked_not_aligned=no
10143 rm -f core conftest.err conftest.$ac_objext \
10144 conftest$ac_exeext conftest.$ac_ext
10145 CFLAGS=$ac_wine_try_cflags_saved
10146 CC=$ac_wine_try_cflags_saved_cc
10147 ac_exeext=$ac_wine_try_cflags_saved_exeext
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10150 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10151 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10152 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10155 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10156 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10157 $as_echo_n "(cached) " >&6
10158 else
10159 ac_wine_try_cflags_saved=$CFLAGS
10160 ac_wine_try_cflags_saved_cc=$CC
10161 ac_wine_try_cflags_saved_exeext=$ac_exeext
10162 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10163 CC="$CROSSCC"
10164 ac_exeext=".exe"
10165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h. */
10167 int __cdecl mainCRTStartup(void) { return 0; }
10168 _ACEOF
10169 if ac_fn_c_try_link "$LINENO"; then :
10170 ac_cv_crosscflags__Wpragma_pack=yes
10171 else
10172 ac_cv_crosscflags__Wpragma_pack=no
10174 rm -f core conftest.err conftest.$ac_objext \
10175 conftest$ac_exeext conftest.$ac_ext
10176 CFLAGS=$ac_wine_try_cflags_saved
10177 CC=$ac_wine_try_cflags_saved_cc
10178 ac_exeext=$ac_wine_try_cflags_saved_exeext
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10181 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10182 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10183 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10186 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10187 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10188 $as_echo_n "(cached) " >&6
10189 else
10190 ac_wine_try_cflags_saved=$CFLAGS
10191 ac_wine_try_cflags_saved_cc=$CC
10192 ac_wine_try_cflags_saved_exeext=$ac_exeext
10193 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10194 CC="$CROSSCC"
10195 ac_exeext=".exe"
10196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10197 /* end confdefs.h. */
10198 int __cdecl mainCRTStartup(void) { return 0; }
10199 _ACEOF
10200 if ac_fn_c_try_link "$LINENO"; then :
10201 ac_cv_crosscflags__Wshift_overflow_2=yes
10202 else
10203 ac_cv_crosscflags__Wshift_overflow_2=no
10205 rm -f core conftest.err conftest.$ac_objext \
10206 conftest$ac_exeext conftest.$ac_ext
10207 CFLAGS=$ac_wine_try_cflags_saved
10208 CC=$ac_wine_try_cflags_saved_cc
10209 ac_exeext=$ac_wine_try_cflags_saved_exeext
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10212 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10213 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10214 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10217 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10218 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10219 $as_echo_n "(cached) " >&6
10220 else
10221 ac_wine_try_cflags_saved=$CFLAGS
10222 ac_wine_try_cflags_saved_cc=$CC
10223 ac_wine_try_cflags_saved_exeext=$ac_exeext
10224 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10225 CC="$CROSSCC"
10226 ac_exeext=".exe"
10227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10228 /* end confdefs.h. */
10229 int __cdecl mainCRTStartup(void) { return 0; }
10230 _ACEOF
10231 if ac_fn_c_try_link "$LINENO"; then :
10232 ac_cv_crosscflags__Wstrict_prototypes=yes
10233 else
10234 ac_cv_crosscflags__Wstrict_prototypes=no
10236 rm -f core conftest.err conftest.$ac_objext \
10237 conftest$ac_exeext conftest.$ac_ext
10238 CFLAGS=$ac_wine_try_cflags_saved
10239 CC=$ac_wine_try_cflags_saved_cc
10240 ac_exeext=$ac_wine_try_cflags_saved_exeext
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10243 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10244 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10245 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10248 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10249 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10250 $as_echo_n "(cached) " >&6
10251 else
10252 ac_wine_try_cflags_saved=$CFLAGS
10253 ac_wine_try_cflags_saved_cc=$CC
10254 ac_wine_try_cflags_saved_exeext=$ac_exeext
10255 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10256 CC="$CROSSCC"
10257 ac_exeext=".exe"
10258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10259 /* end confdefs.h. */
10260 int __cdecl mainCRTStartup(void) { return 0; }
10261 _ACEOF
10262 if ac_fn_c_try_link "$LINENO"; then :
10263 ac_cv_crosscflags__Wtype_limits=yes
10264 else
10265 ac_cv_crosscflags__Wtype_limits=no
10267 rm -f core conftest.err conftest.$ac_objext \
10268 conftest$ac_exeext conftest.$ac_ext
10269 CFLAGS=$ac_wine_try_cflags_saved
10270 CC=$ac_wine_try_cflags_saved_cc
10271 ac_exeext=$ac_wine_try_cflags_saved_exeext
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10274 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10275 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10276 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10279 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10280 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10281 $as_echo_n "(cached) " >&6
10282 else
10283 ac_wine_try_cflags_saved=$CFLAGS
10284 ac_wine_try_cflags_saved_cc=$CC
10285 ac_wine_try_cflags_saved_exeext=$ac_exeext
10286 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10287 CC="$CROSSCC"
10288 ac_exeext=".exe"
10289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10290 /* end confdefs.h. */
10291 int __cdecl mainCRTStartup(void) { return 0; }
10292 _ACEOF
10293 if ac_fn_c_try_link "$LINENO"; then :
10294 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10295 else
10296 ac_cv_crosscflags__Wunused_but_set_parameter=no
10298 rm -f core conftest.err conftest.$ac_objext \
10299 conftest$ac_exeext conftest.$ac_ext
10300 CFLAGS=$ac_wine_try_cflags_saved
10301 CC=$ac_wine_try_cflags_saved_cc
10302 ac_exeext=$ac_wine_try_cflags_saved_exeext
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10305 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10306 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10307 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10310 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10311 if ${ac_cv_crosscflags__Wvla+:} false; then :
10312 $as_echo_n "(cached) " >&6
10313 else
10314 ac_wine_try_cflags_saved=$CFLAGS
10315 ac_wine_try_cflags_saved_cc=$CC
10316 ac_wine_try_cflags_saved_exeext=$ac_exeext
10317 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10318 CC="$CROSSCC"
10319 ac_exeext=".exe"
10320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10321 /* end confdefs.h. */
10322 int __cdecl mainCRTStartup(void) { return 0; }
10323 _ACEOF
10324 if ac_fn_c_try_link "$LINENO"; then :
10325 ac_cv_crosscflags__Wvla=yes
10326 else
10327 ac_cv_crosscflags__Wvla=no
10329 rm -f core conftest.err conftest.$ac_objext \
10330 conftest$ac_exeext conftest.$ac_ext
10331 CFLAGS=$ac_wine_try_cflags_saved
10332 CC=$ac_wine_try_cflags_saved_cc
10333 ac_exeext=$ac_wine_try_cflags_saved_exeext
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10336 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10337 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10338 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10341 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10342 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10343 $as_echo_n "(cached) " >&6
10344 else
10345 ac_wine_try_cflags_saved=$CFLAGS
10346 ac_wine_try_cflags_saved_cc=$CC
10347 ac_wine_try_cflags_saved_exeext=$ac_exeext
10348 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10349 CC="$CROSSCC"
10350 ac_exeext=".exe"
10351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10352 /* end confdefs.h. */
10353 int __cdecl mainCRTStartup(void) { return 0; }
10354 _ACEOF
10355 if ac_fn_c_try_link "$LINENO"; then :
10356 ac_cv_crosscflags__Wwrite_strings=yes
10357 else
10358 ac_cv_crosscflags__Wwrite_strings=no
10360 rm -f core conftest.err conftest.$ac_objext \
10361 conftest$ac_exeext conftest.$ac_ext
10362 CFLAGS=$ac_wine_try_cflags_saved
10363 CC=$ac_wine_try_cflags_saved_cc
10364 ac_exeext=$ac_wine_try_cflags_saved_exeext
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10367 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10368 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10369 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10372 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10373 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10374 $as_echo_n "(cached) " >&6
10375 else
10376 ac_wine_try_cflags_saved=$CFLAGS
10377 ac_wine_try_cflags_saved_cc=$CC
10378 ac_wine_try_cflags_saved_exeext=$ac_exeext
10379 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10380 CC="$CROSSCC"
10381 ac_exeext=".exe"
10382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10383 /* end confdefs.h. */
10384 int __cdecl mainCRTStartup(void) { return 0; }
10385 _ACEOF
10386 if ac_fn_c_try_link "$LINENO"; then :
10387 ac_cv_crosscflags__Wpointer_arith=yes
10388 else
10389 ac_cv_crosscflags__Wpointer_arith=no
10391 rm -f core conftest.err conftest.$ac_objext \
10392 conftest$ac_exeext conftest.$ac_ext
10393 CFLAGS=$ac_wine_try_cflags_saved
10394 CC=$ac_wine_try_cflags_saved_cc
10395 ac_exeext=$ac_wine_try_cflags_saved_exeext
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10398 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10399 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10400 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10403 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10404 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10405 $as_echo_n "(cached) " >&6
10406 else
10407 ac_wine_try_cflags_saved=$CFLAGS
10408 ac_wine_try_cflags_saved_cc=$CC
10409 ac_wine_try_cflags_saved_exeext=$ac_exeext
10410 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10411 CC="$CROSSCC"
10412 ac_exeext=".exe"
10413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10414 /* end confdefs.h. */
10415 int __cdecl mainCRTStartup(void) { return 0; }
10416 _ACEOF
10417 if ac_fn_c_try_link "$LINENO"; then :
10418 ac_cv_crosscflags__Wlogical_op=yes
10419 else
10420 ac_cv_crosscflags__Wlogical_op=no
10422 rm -f core conftest.err conftest.$ac_objext \
10423 conftest$ac_exeext conftest.$ac_ext
10424 CFLAGS=$ac_wine_try_cflags_saved
10425 CC=$ac_wine_try_cflags_saved_cc
10426 ac_exeext=$ac_wine_try_cflags_saved_exeext
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10429 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10430 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10431 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10434 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10435 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10436 $as_echo_n "(cached) " >&6
10437 else
10438 ac_wine_try_cflags_saved=$CFLAGS
10439 ac_wine_try_cflags_saved_cc=$CC
10440 ac_wine_try_cflags_saved_exeext=$ac_exeext
10441 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10442 CC="$CROSSCC"
10443 ac_exeext=".exe"
10444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h. */
10446 int __cdecl mainCRTStartup(void) { return 0; }
10447 _ACEOF
10448 if ac_fn_c_try_link "$LINENO"; then :
10449 ac_cv_crosscflags__Wabsolute_value=yes
10450 else
10451 ac_cv_crosscflags__Wabsolute_value=no
10453 rm -f core conftest.err conftest.$ac_objext \
10454 conftest$ac_exeext conftest.$ac_ext
10455 CFLAGS=$ac_wine_try_cflags_saved
10456 CC=$ac_wine_try_cflags_saved_cc
10457 ac_exeext=$ac_wine_try_cflags_saved_exeext
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10460 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10461 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10462 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10465 case $host_cpu in
10466 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10467 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10468 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10469 $as_echo_n "(cached) " >&6
10470 else
10471 ac_wine_try_cflags_saved=$CFLAGS
10472 ac_wine_try_cflags_saved_cc=$CC
10473 ac_wine_try_cflags_saved_exeext=$ac_exeext
10474 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10475 CC="$CROSSCC"
10476 ac_exeext=".exe"
10477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10478 /* end confdefs.h. */
10479 int __cdecl mainCRTStartup(void) { return 0; }
10480 _ACEOF
10481 if ac_fn_c_try_link "$LINENO"; then :
10482 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10483 else
10484 ac_cv_crosscflags__fno_omit_frame_pointer=no
10486 rm -f core conftest.err conftest.$ac_objext \
10487 conftest$ac_exeext conftest.$ac_ext
10488 CFLAGS=$ac_wine_try_cflags_saved
10489 CC=$ac_wine_try_cflags_saved_cc
10490 ac_exeext=$ac_wine_try_cflags_saved_exeext
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10493 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10494 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10495 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10496 fi ;;
10497 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10498 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10499 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10500 $as_echo_n "(cached) " >&6
10501 else
10502 ac_wine_try_cflags_saved=$CFLAGS
10503 ac_wine_try_cflags_saved_cc=$CC
10504 ac_wine_try_cflags_saved_exeext=$ac_exeext
10505 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10506 CC="$CROSSCC"
10507 ac_exeext=".exe"
10508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10509 /* end confdefs.h. */
10510 int __cdecl mainCRTStartup(void) { return 0; }
10511 _ACEOF
10512 if ac_fn_c_try_link "$LINENO"; then :
10513 ac_cv_crosscflags__Wno_format=yes
10514 else
10515 ac_cv_crosscflags__Wno_format=no
10517 rm -f core conftest.err conftest.$ac_objext \
10518 conftest$ac_exeext conftest.$ac_ext
10519 CFLAGS=$ac_wine_try_cflags_saved
10520 CC=$ac_wine_try_cflags_saved_cc
10521 ac_exeext=$ac_wine_try_cflags_saved_exeext
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10524 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10525 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10526 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10529 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10530 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10531 $as_echo_n "(cached) " >&6
10532 else
10533 ac_wine_try_cflags_saved=$CFLAGS
10534 ac_wine_try_cflags_saved_cc=$CC
10535 ac_wine_try_cflags_saved_exeext=$ac_exeext
10536 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10537 CC="$CROSSCC"
10538 ac_exeext=".exe"
10539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10540 /* end confdefs.h. */
10541 int __cdecl mainCRTStartup(void) { return 0; }
10542 _ACEOF
10543 if ac_fn_c_try_link "$LINENO"; then :
10544 ac_cv_crosscflags__Wformat_overflow=yes
10545 else
10546 ac_cv_crosscflags__Wformat_overflow=no
10548 rm -f core conftest.err conftest.$ac_objext \
10549 conftest$ac_exeext conftest.$ac_ext
10550 CFLAGS=$ac_wine_try_cflags_saved
10551 CC=$ac_wine_try_cflags_saved_cc
10552 ac_exeext=$ac_wine_try_cflags_saved_exeext
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10555 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10556 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10557 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10560 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10561 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10562 $as_echo_n "(cached) " >&6
10563 else
10564 ac_wine_try_cflags_saved=$CFLAGS
10565 ac_wine_try_cflags_saved_cc=$CC
10566 ac_wine_try_cflags_saved_exeext=$ac_exeext
10567 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10568 CC="$CROSSCC"
10569 ac_exeext=".exe"
10570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10571 /* end confdefs.h. */
10572 int __cdecl mainCRTStartup(void) { return 0; }
10573 _ACEOF
10574 if ac_fn_c_try_link "$LINENO"; then :
10575 ac_cv_crosscflags__Wnonnull=yes
10576 else
10577 ac_cv_crosscflags__Wnonnull=no
10579 rm -f core conftest.err conftest.$ac_objext \
10580 conftest$ac_exeext conftest.$ac_ext
10581 CFLAGS=$ac_wine_try_cflags_saved
10582 CC=$ac_wine_try_cflags_saved_cc
10583 ac_exeext=$ac_wine_try_cflags_saved_exeext
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10586 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10587 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10588 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10591 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10592 if ${ac_cv_crosscflags__mcx16+:} false; then :
10593 $as_echo_n "(cached) " >&6
10594 else
10595 ac_wine_try_cflags_saved=$CFLAGS
10596 ac_wine_try_cflags_saved_cc=$CC
10597 ac_wine_try_cflags_saved_exeext=$ac_exeext
10598 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10599 CC="$CROSSCC"
10600 ac_exeext=".exe"
10601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10602 /* end confdefs.h. */
10603 int __cdecl mainCRTStartup(void) { return 0; }
10604 _ACEOF
10605 if ac_fn_c_try_link "$LINENO"; then :
10606 ac_cv_crosscflags__mcx16=yes
10607 else
10608 ac_cv_crosscflags__mcx16=no
10610 rm -f core conftest.err conftest.$ac_objext \
10611 conftest$ac_exeext conftest.$ac_ext
10612 CFLAGS=$ac_wine_try_cflags_saved
10613 CC=$ac_wine_try_cflags_saved_cc
10614 ac_exeext=$ac_wine_try_cflags_saved_exeext
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10617 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10618 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10619 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10620 fi ;;
10621 esac
10624 if test -z "$CROSSDEBUG"
10625 then
10626 for ac_flag in $CROSSCFLAGS; do
10627 case $ac_flag in
10628 -gdwarf*) CROSSDEBUG=dwarf ;;
10629 -gcodeview) CROSSDEBUG=pdb ;;
10630 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10631 esac
10632 done
10634 case $CROSSDEBUG in
10635 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10636 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10637 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10638 $as_echo_n "(cached) " >&6
10639 else
10640 ac_wine_try_cflags_saved=$CFLAGS
10641 ac_wine_try_cflags_saved_cc=$CC
10642 ac_wine_try_cflags_saved_exeext=$ac_exeext
10643 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10644 CC="$CROSSCC"
10645 ac_exeext=".exe"
10646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10647 /* end confdefs.h. */
10648 int __cdecl mainCRTStartup(void) { return 0; }
10649 _ACEOF
10650 if ac_fn_c_try_link "$LINENO"; then :
10651 ac_cv_crosscflags__gdwarf_2=yes
10652 else
10653 ac_cv_crosscflags__gdwarf_2=no
10655 rm -f core conftest.err conftest.$ac_objext \
10656 conftest$ac_exeext conftest.$ac_ext
10657 CFLAGS=$ac_wine_try_cflags_saved
10658 CC=$ac_wine_try_cflags_saved_cc
10659 ac_exeext=$ac_wine_try_cflags_saved_exeext
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10662 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10663 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10664 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10667 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10668 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10669 $as_echo_n "(cached) " >&6
10670 else
10671 ac_wine_try_cflags_saved=$CFLAGS
10672 ac_wine_try_cflags_saved_cc=$CC
10673 ac_wine_try_cflags_saved_exeext=$ac_exeext
10674 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10675 CC="$CROSSCC"
10676 ac_exeext=".exe"
10677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10678 /* end confdefs.h. */
10679 int __cdecl mainCRTStartup(void) { return 0; }
10680 _ACEOF
10681 if ac_fn_c_try_link "$LINENO"; then :
10682 ac_cv_crosscflags__gstrict_dwarf=yes
10683 else
10684 ac_cv_crosscflags__gstrict_dwarf=no
10686 rm -f core conftest.err conftest.$ac_objext \
10687 conftest$ac_exeext conftest.$ac_ext
10688 CFLAGS=$ac_wine_try_cflags_saved
10689 CC=$ac_wine_try_cflags_saved_cc
10690 ac_exeext=$ac_wine_try_cflags_saved_exeext
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10693 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10694 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10695 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10696 fi ;;
10697 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10698 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10699 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10700 $as_echo_n "(cached) " >&6
10701 else
10702 ac_wine_try_cflags_saved=$CFLAGS
10703 ac_wine_try_cflags_saved_cc=$CC
10704 ac_wine_try_cflags_saved_exeext=$ac_exeext
10705 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10706 CC="$CROSSCC"
10707 ac_exeext=".exe"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10710 int __cdecl mainCRTStartup(void) { return 0; }
10711 _ACEOF
10712 if ac_fn_c_try_link "$LINENO"; then :
10713 ac_cv_crosscflags__gcodeview=yes
10714 else
10715 ac_cv_crosscflags__gcodeview=no
10717 rm -f core conftest.err conftest.$ac_objext \
10718 conftest$ac_exeext conftest.$ac_ext
10719 CFLAGS=$ac_wine_try_cflags_saved
10720 CC=$ac_wine_try_cflags_saved_cc
10721 ac_exeext=$ac_wine_try_cflags_saved_exeext
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10724 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10725 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10726 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10727 fi ;;
10728 esac
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10731 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10732 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10733 $as_echo_n "(cached) " >&6
10734 else
10735 ac_wine_try_cflags_saved=$CFLAGS
10736 ac_wine_try_cflags_saved_cc=$CC
10737 ac_wine_try_cflags_saved_exeext=$ac_exeext
10738 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10739 CC="$CROSSCC"
10740 ac_exeext=".exe"
10741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h. */
10743 int __cdecl mainCRTStartup(void) { return 0; }
10744 _ACEOF
10745 if ac_fn_c_try_link "$LINENO"; then :
10746 ac_cv_crosscflags__fexcess_precision_standard=yes
10747 else
10748 ac_cv_crosscflags__fexcess_precision_standard=no
10750 rm -f core conftest.err conftest.$ac_objext \
10751 conftest$ac_exeext conftest.$ac_ext
10752 CFLAGS=$ac_wine_try_cflags_saved
10753 CC=$ac_wine_try_cflags_saved_cc
10754 ac_exeext=$ac_wine_try_cflags_saved_exeext
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10757 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10758 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10759 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10763 if test "x$enable_werror" = "xyes"
10764 then
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10766 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10767 if ${ac_cv_crosscflags__Werror+:} false; then :
10768 $as_echo_n "(cached) " >&6
10769 else
10770 ac_wine_try_cflags_saved=$CFLAGS
10771 ac_wine_try_cflags_saved_cc=$CC
10772 ac_wine_try_cflags_saved_exeext=$ac_exeext
10773 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10774 CC="$CROSSCC"
10775 ac_exeext=".exe"
10776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10777 /* end confdefs.h. */
10778 int __cdecl mainCRTStartup(void) { return 0; }
10779 _ACEOF
10780 if ac_fn_c_try_link "$LINENO"; then :
10781 ac_cv_crosscflags__Werror=yes
10782 else
10783 ac_cv_crosscflags__Werror=no
10785 rm -f core conftest.err conftest.$ac_objext \
10786 conftest$ac_exeext conftest.$ac_ext
10787 CFLAGS=$ac_wine_try_cflags_saved
10788 CC=$ac_wine_try_cflags_saved_cc
10789 ac_exeext=$ac_wine_try_cflags_saved_exeext
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10792 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10793 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10794 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10798 CFLAGS=$saved_CFLAGS
10799 CC="$ac_save_CC"
10802 if test "x$CROSSTARGET" = "x"; then :
10803 case "x$with_mingw" in
10804 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10805 xno) ;;
10806 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10807 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10808 esac
10813 if test "$ac_cv_header_pthread_h" = "yes"
10814 then
10815 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10816 if test "x$ac_cv_func_pthread_create" = xyes; then :
10818 else
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10820 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10821 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10822 $as_echo_n "(cached) " >&6
10823 else
10824 ac_check_lib_save_LIBS=$LIBS
10825 LIBS="-lpthread $LIBS"
10826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10829 /* Override any GCC internal prototype to avoid an error.
10830 Use char because int might match the return type of a GCC
10831 builtin and then its argument prototype would still apply. */
10832 #ifdef __cplusplus
10833 extern "C"
10834 #endif
10835 char pthread_create ();
10837 main ()
10839 return pthread_create ();
10841 return 0;
10843 _ACEOF
10844 if ac_fn_c_try_link "$LINENO"; then :
10845 ac_cv_lib_pthread_pthread_create=yes
10846 else
10847 ac_cv_lib_pthread_pthread_create=no
10849 rm -f core conftest.err conftest.$ac_objext \
10850 conftest$ac_exeext conftest.$ac_ext
10851 LIBS=$ac_check_lib_save_LIBS
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10854 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10855 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10856 PTHREAD_LIBS="-lpthread"
10863 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10864 case "x$with_pthread" in
10865 xno) ;;
10866 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10867 Wine cannot support threads without libpthread.
10868 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10869 esac
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10875 $as_echo_n "checking for X... " >&6; }
10878 # Check whether --with-x was given.
10879 if test "${with_x+set}" = set; then :
10880 withval=$with_x;
10883 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10884 if test "x$with_x" = xno; then
10885 # The user explicitly disabled X.
10886 have_x=disabled
10887 else
10888 case $x_includes,$x_libraries in #(
10889 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10890 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10891 $as_echo_n "(cached) " >&6
10892 else
10893 # One or both of the vars are not set, and there is no cached value.
10894 ac_x_includes=no ac_x_libraries=no
10895 rm -f -r conftest.dir
10896 if mkdir conftest.dir; then
10897 cd conftest.dir
10898 cat >Imakefile <<'_ACEOF'
10899 incroot:
10900 @echo incroot='${INCROOT}'
10901 usrlibdir:
10902 @echo usrlibdir='${USRLIBDIR}'
10903 libdir:
10904 @echo libdir='${LIBDIR}'
10905 _ACEOF
10906 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10907 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10908 for ac_var in incroot usrlibdir libdir; do
10909 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10910 done
10911 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10912 for ac_extension in a so sl dylib la dll; do
10913 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10914 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10915 ac_im_usrlibdir=$ac_im_libdir; break
10917 done
10918 # Screen out bogus values from the imake configuration. They are
10919 # bogus both because they are the default anyway, and because
10920 # using them would break gcc on systems where it needs fixed includes.
10921 case $ac_im_incroot in
10922 /usr/include) ac_x_includes= ;;
10923 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10924 esac
10925 case $ac_im_usrlibdir in
10926 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10927 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10928 esac
10930 cd ..
10931 rm -f -r conftest.dir
10934 # Standard set of common directories for X headers.
10935 # Check X11 before X11Rn because it is often a symlink to the current release.
10936 ac_x_header_dirs='
10937 /usr/X11/include
10938 /usr/X11R7/include
10939 /usr/X11R6/include
10940 /usr/X11R5/include
10941 /usr/X11R4/include
10943 /usr/include/X11
10944 /usr/include/X11R7
10945 /usr/include/X11R6
10946 /usr/include/X11R5
10947 /usr/include/X11R4
10949 /usr/local/X11/include
10950 /usr/local/X11R7/include
10951 /usr/local/X11R6/include
10952 /usr/local/X11R5/include
10953 /usr/local/X11R4/include
10955 /usr/local/include/X11
10956 /usr/local/include/X11R7
10957 /usr/local/include/X11R6
10958 /usr/local/include/X11R5
10959 /usr/local/include/X11R4
10961 /usr/X386/include
10962 /usr/x386/include
10963 /usr/XFree86/include/X11
10965 /usr/include
10966 /usr/local/include
10967 /usr/unsupported/include
10968 /usr/athena/include
10969 /usr/local/x11r5/include
10970 /usr/lpp/Xamples/include
10972 /usr/openwin/include
10973 /usr/openwin/share/include'
10975 if test "$ac_x_includes" = no; then
10976 # Guess where to find include files, by looking for Xlib.h.
10977 # First, try using that file with no special directory specified.
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10980 #include <X11/Xlib.h>
10981 _ACEOF
10982 if ac_fn_c_try_cpp "$LINENO"; then :
10983 # We can compile using X headers with no special include directory.
10984 ac_x_includes=
10985 else
10986 for ac_dir in $ac_x_header_dirs; do
10987 if test -r "$ac_dir/X11/Xlib.h"; then
10988 ac_x_includes=$ac_dir
10989 break
10991 done
10993 rm -f conftest.err conftest.i conftest.$ac_ext
10994 fi # $ac_x_includes = no
10996 if test "$ac_x_libraries" = no; then
10997 # Check for the libraries.
10998 # See if we find them without any special options.
10999 # Don't add to $LIBS permanently.
11000 ac_save_LIBS=$LIBS
11001 LIBS="-lX11 $LIBS"
11002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11003 /* end confdefs.h. */
11004 #include <X11/Xlib.h>
11006 main ()
11008 XrmInitialize ()
11010 return 0;
11012 _ACEOF
11013 if ac_fn_c_try_link "$LINENO"; then :
11014 LIBS=$ac_save_LIBS
11015 # We can link X programs with no special library path.
11016 ac_x_libraries=
11017 else
11018 LIBS=$ac_save_LIBS
11019 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11021 # Don't even attempt the hair of trying to link an X program!
11022 for ac_extension in a so sl dylib la dll; do
11023 if test -r "$ac_dir/libX11.$ac_extension"; then
11024 ac_x_libraries=$ac_dir
11025 break 2
11027 done
11028 done
11030 rm -f core conftest.err conftest.$ac_objext \
11031 conftest$ac_exeext conftest.$ac_ext
11032 fi # $ac_x_libraries = no
11034 case $ac_x_includes,$ac_x_libraries in #(
11035 no,* | *,no | *\'*)
11036 # Didn't find X, or a directory has "'" in its name.
11037 ac_cv_have_x="have_x=no";; #(
11039 # Record where we found X for the cache.
11040 ac_cv_have_x="have_x=yes\
11041 ac_x_includes='$ac_x_includes'\
11042 ac_x_libraries='$ac_x_libraries'"
11043 esac
11045 ;; #(
11046 *) have_x=yes;;
11047 esac
11048 eval "$ac_cv_have_x"
11049 fi # $with_x != no
11051 if test "$have_x" != yes; then
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11053 $as_echo "$have_x" >&6; }
11054 no_x=yes
11055 else
11056 # If each of the values was on the command line, it overrides each guess.
11057 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11058 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11059 # Update the cache value to reflect the command line values.
11060 ac_cv_have_x="have_x=yes\
11061 ac_x_includes='$x_includes'\
11062 ac_x_libraries='$x_libraries'"
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11064 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11067 if test "$no_x" = yes; then
11068 # Not all programs may use this symbol, but it does not hurt to define it.
11070 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11072 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11073 else
11074 if test -n "$x_includes"; then
11075 X_CFLAGS="$X_CFLAGS -I$x_includes"
11078 # It would also be nice to do this for all -L options, not just this one.
11079 if test -n "$x_libraries"; then
11080 X_LIBS="$X_LIBS -L$x_libraries"
11081 # For Solaris; some versions of Sun CC require a space after -R and
11082 # others require no space. Words are not sufficient . . . .
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11084 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11085 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11086 ac_xsave_c_werror_flag=$ac_c_werror_flag
11087 ac_c_werror_flag=yes
11088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11089 /* end confdefs.h. */
11092 main ()
11096 return 0;
11098 _ACEOF
11099 if ac_fn_c_try_link "$LINENO"; then :
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11101 $as_echo "no" >&6; }
11102 X_LIBS="$X_LIBS -R$x_libraries"
11103 else
11104 LIBS="$ac_xsave_LIBS -R $x_libraries"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11109 main ()
11113 return 0;
11115 _ACEOF
11116 if ac_fn_c_try_link "$LINENO"; then :
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11118 $as_echo "yes" >&6; }
11119 X_LIBS="$X_LIBS -R $x_libraries"
11120 else
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11122 $as_echo "neither works" >&6; }
11124 rm -f core conftest.err conftest.$ac_objext \
11125 conftest$ac_exeext conftest.$ac_ext
11127 rm -f core conftest.err conftest.$ac_objext \
11128 conftest$ac_exeext conftest.$ac_ext
11129 ac_c_werror_flag=$ac_xsave_c_werror_flag
11130 LIBS=$ac_xsave_LIBS
11133 # Check for system-dependent libraries X programs must link with.
11134 # Do this before checking for the system-independent R6 libraries
11135 # (-lICE), since we may need -lsocket or whatever for X linking.
11137 if test "$ISC" = yes; then
11138 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11139 else
11140 # Martyn Johnson says this is needed for Ultrix, if the X
11141 # libraries were built with DECnet support. And Karl Berry says
11142 # the Alpha needs dnet_stub (dnet does not exist).
11143 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11147 /* Override any GCC internal prototype to avoid an error.
11148 Use char because int might match the return type of a GCC
11149 builtin and then its argument prototype would still apply. */
11150 #ifdef __cplusplus
11151 extern "C"
11152 #endif
11153 char XOpenDisplay ();
11155 main ()
11157 return XOpenDisplay ();
11159 return 0;
11161 _ACEOF
11162 if ac_fn_c_try_link "$LINENO"; then :
11164 else
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11166 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11167 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11168 $as_echo_n "(cached) " >&6
11169 else
11170 ac_check_lib_save_LIBS=$LIBS
11171 LIBS="-ldnet $LIBS"
11172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h. */
11175 /* Override any GCC internal prototype to avoid an error.
11176 Use char because int might match the return type of a GCC
11177 builtin and then its argument prototype would still apply. */
11178 #ifdef __cplusplus
11179 extern "C"
11180 #endif
11181 char dnet_ntoa ();
11183 main ()
11185 return dnet_ntoa ();
11187 return 0;
11189 _ACEOF
11190 if ac_fn_c_try_link "$LINENO"; then :
11191 ac_cv_lib_dnet_dnet_ntoa=yes
11192 else
11193 ac_cv_lib_dnet_dnet_ntoa=no
11195 rm -f core conftest.err conftest.$ac_objext \
11196 conftest$ac_exeext conftest.$ac_ext
11197 LIBS=$ac_check_lib_save_LIBS
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11200 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11201 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11202 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11205 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11207 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11208 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11209 $as_echo_n "(cached) " >&6
11210 else
11211 ac_check_lib_save_LIBS=$LIBS
11212 LIBS="-ldnet_stub $LIBS"
11213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11214 /* end confdefs.h. */
11216 /* Override any GCC internal prototype to avoid an error.
11217 Use char because int might match the return type of a GCC
11218 builtin and then its argument prototype would still apply. */
11219 #ifdef __cplusplus
11220 extern "C"
11221 #endif
11222 char dnet_ntoa ();
11224 main ()
11226 return dnet_ntoa ();
11228 return 0;
11230 _ACEOF
11231 if ac_fn_c_try_link "$LINENO"; then :
11232 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11233 else
11234 ac_cv_lib_dnet_stub_dnet_ntoa=no
11236 rm -f core conftest.err conftest.$ac_objext \
11237 conftest$ac_exeext conftest.$ac_ext
11238 LIBS=$ac_check_lib_save_LIBS
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11241 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11242 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11243 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11248 rm -f core conftest.err conftest.$ac_objext \
11249 conftest$ac_exeext conftest.$ac_ext
11250 LIBS="$ac_xsave_LIBS"
11252 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11253 # to get the SysV transport functions.
11254 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11255 # needs -lnsl.
11256 # The nsl library prevents programs from opening the X display
11257 # on Irix 5.2, according to T.E. Dickey.
11258 # The functions gethostbyname, getservbyname, and inet_addr are
11259 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11260 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11261 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11265 if test $ac_cv_func_gethostbyname = no; then
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11267 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11268 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11269 $as_echo_n "(cached) " >&6
11270 else
11271 ac_check_lib_save_LIBS=$LIBS
11272 LIBS="-lnsl $LIBS"
11273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11274 /* end confdefs.h. */
11276 /* Override any GCC internal prototype to avoid an error.
11277 Use char because int might match the return type of a GCC
11278 builtin and then its argument prototype would still apply. */
11279 #ifdef __cplusplus
11280 extern "C"
11281 #endif
11282 char gethostbyname ();
11284 main ()
11286 return gethostbyname ();
11288 return 0;
11290 _ACEOF
11291 if ac_fn_c_try_link "$LINENO"; then :
11292 ac_cv_lib_nsl_gethostbyname=yes
11293 else
11294 ac_cv_lib_nsl_gethostbyname=no
11296 rm -f core conftest.err conftest.$ac_objext \
11297 conftest$ac_exeext conftest.$ac_ext
11298 LIBS=$ac_check_lib_save_LIBS
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11301 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11302 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11303 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11306 if test $ac_cv_lib_nsl_gethostbyname = no; then
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11308 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11309 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11310 $as_echo_n "(cached) " >&6
11311 else
11312 ac_check_lib_save_LIBS=$LIBS
11313 LIBS="-lbsd $LIBS"
11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h. */
11317 /* Override any GCC internal prototype to avoid an error.
11318 Use char because int might match the return type of a GCC
11319 builtin and then its argument prototype would still apply. */
11320 #ifdef __cplusplus
11321 extern "C"
11322 #endif
11323 char gethostbyname ();
11325 main ()
11327 return gethostbyname ();
11329 return 0;
11331 _ACEOF
11332 if ac_fn_c_try_link "$LINENO"; then :
11333 ac_cv_lib_bsd_gethostbyname=yes
11334 else
11335 ac_cv_lib_bsd_gethostbyname=no
11337 rm -f core conftest.err conftest.$ac_objext \
11338 conftest$ac_exeext conftest.$ac_ext
11339 LIBS=$ac_check_lib_save_LIBS
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11342 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11343 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11344 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11350 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11351 # socket/setsockopt and other routines are undefined under SCO ODT
11352 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11353 # on later versions), says Simon Leinen: it contains gethostby*
11354 # variants that don't use the name server (or something). -lsocket
11355 # must be given before -lnsl if both are needed. We assume that
11356 # if connect needs -lnsl, so does gethostbyname.
11357 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11358 if test "x$ac_cv_func_connect" = xyes; then :
11362 if test $ac_cv_func_connect = no; then
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11364 $as_echo_n "checking for connect in -lsocket... " >&6; }
11365 if ${ac_cv_lib_socket_connect+:} false; then :
11366 $as_echo_n "(cached) " >&6
11367 else
11368 ac_check_lib_save_LIBS=$LIBS
11369 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11376 #ifdef __cplusplus
11377 extern "C"
11378 #endif
11379 char connect ();
11381 main ()
11383 return connect ();
11385 return 0;
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"; then :
11389 ac_cv_lib_socket_connect=yes
11390 else
11391 ac_cv_lib_socket_connect=no
11393 rm -f core conftest.err conftest.$ac_objext \
11394 conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11398 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11399 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11400 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11405 # Guillermo Gomez says -lposix is necessary on A/UX.
11406 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11407 if test "x$ac_cv_func_remove" = xyes; then :
11411 if test $ac_cv_func_remove = no; then
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11413 $as_echo_n "checking for remove in -lposix... " >&6; }
11414 if ${ac_cv_lib_posix_remove+:} false; then :
11415 $as_echo_n "(cached) " >&6
11416 else
11417 ac_check_lib_save_LIBS=$LIBS
11418 LIBS="-lposix $LIBS"
11419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h. */
11422 /* Override any GCC internal prototype to avoid an error.
11423 Use char because int might match the return type of a GCC
11424 builtin and then its argument prototype would still apply. */
11425 #ifdef __cplusplus
11426 extern "C"
11427 #endif
11428 char remove ();
11430 main ()
11432 return remove ();
11434 return 0;
11436 _ACEOF
11437 if ac_fn_c_try_link "$LINENO"; then :
11438 ac_cv_lib_posix_remove=yes
11439 else
11440 ac_cv_lib_posix_remove=no
11442 rm -f core conftest.err conftest.$ac_objext \
11443 conftest$ac_exeext conftest.$ac_ext
11444 LIBS=$ac_check_lib_save_LIBS
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11447 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11448 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11449 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11454 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11455 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11456 if test "x$ac_cv_func_shmat" = xyes; then :
11460 if test $ac_cv_func_shmat = no; then
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11462 $as_echo_n "checking for shmat in -lipc... " >&6; }
11463 if ${ac_cv_lib_ipc_shmat+:} false; then :
11464 $as_echo_n "(cached) " >&6
11465 else
11466 ac_check_lib_save_LIBS=$LIBS
11467 LIBS="-lipc $LIBS"
11468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11471 /* Override any GCC internal prototype to avoid an error.
11472 Use char because int might match the return type of a GCC
11473 builtin and then its argument prototype would still apply. */
11474 #ifdef __cplusplus
11475 extern "C"
11476 #endif
11477 char shmat ();
11479 main ()
11481 return shmat ();
11483 return 0;
11485 _ACEOF
11486 if ac_fn_c_try_link "$LINENO"; then :
11487 ac_cv_lib_ipc_shmat=yes
11488 else
11489 ac_cv_lib_ipc_shmat=no
11491 rm -f core conftest.err conftest.$ac_objext \
11492 conftest$ac_exeext conftest.$ac_ext
11493 LIBS=$ac_check_lib_save_LIBS
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11496 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11497 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11498 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11504 # Check for libraries that X11R6 Xt/Xaw programs need.
11505 ac_save_LDFLAGS=$LDFLAGS
11506 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11507 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11508 # check for ICE first), but we must link in the order -lSM -lICE or
11509 # we get undefined symbols. So assume we have SM if we have ICE.
11510 # These have to be linked with before -lX11, unlike the other
11511 # libraries we check for below, so use a different variable.
11512 # John Interrante, Karl Berry
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11514 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11515 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11516 $as_echo_n "(cached) " >&6
11517 else
11518 ac_check_lib_save_LIBS=$LIBS
11519 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11523 /* Override any GCC internal prototype to avoid an error.
11524 Use char because int might match the return type of a GCC
11525 builtin and then its argument prototype would still apply. */
11526 #ifdef __cplusplus
11527 extern "C"
11528 #endif
11529 char IceConnectionNumber ();
11531 main ()
11533 return IceConnectionNumber ();
11535 return 0;
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"; then :
11539 ac_cv_lib_ICE_IceConnectionNumber=yes
11540 else
11541 ac_cv_lib_ICE_IceConnectionNumber=no
11543 rm -f core conftest.err conftest.$ac_objext \
11544 conftest$ac_exeext conftest.$ac_ext
11545 LIBS=$ac_check_lib_save_LIBS
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11548 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11549 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11550 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11553 LDFLAGS=$ac_save_LDFLAGS
11558 if test "$have_x" = "yes"
11559 then
11560 ac_save_CPPFLAGS="$CPPFLAGS"
11561 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11564 $as_echo_n "checking for -lX11... " >&6; }
11565 if ${ac_cv_lib_soname_X11+:} false; then :
11566 $as_echo_n "(cached) " >&6
11567 else
11568 ac_check_soname_save_LIBS=$LIBS
11569 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11571 /* end confdefs.h. */
11573 /* Override any GCC internal prototype to avoid an error.
11574 Use char because int might match the return type of a GCC
11575 builtin and then its argument prototype would still apply. */
11576 #ifdef __cplusplus
11577 extern "C"
11578 #endif
11579 char XCreateWindow ();
11581 main ()
11583 return XCreateWindow ();
11585 return 0;
11587 _ACEOF
11588 if ac_fn_c_try_link "$LINENO"; then :
11589 case "$LIBEXT" in
11590 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11591 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'` ;;
11592 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11593 if ${ac_cv_lib_soname_X11:+false} :; then :
11594 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11595 fi ;;
11596 esac
11597 else
11598 ac_cv_lib_soname_X11=
11600 rm -f core conftest.err conftest.$ac_objext \
11601 conftest$ac_exeext conftest.$ac_ext
11602 LIBS=$ac_check_soname_save_LIBS
11604 if ${ac_cv_lib_soname_X11:+false} :; then :
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11606 $as_echo "not found" >&6; }
11608 else
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11610 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11612 cat >>confdefs.h <<_ACEOF
11613 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11614 _ACEOF
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11619 $as_echo_n "checking for -lXext... " >&6; }
11620 if ${ac_cv_lib_soname_Xext+:} false; then :
11621 $as_echo_n "(cached) " >&6
11622 else
11623 ac_check_soname_save_LIBS=$LIBS
11624 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11628 /* Override any GCC internal prototype to avoid an error.
11629 Use char because int might match the return type of a GCC
11630 builtin and then its argument prototype would still apply. */
11631 #ifdef __cplusplus
11632 extern "C"
11633 #endif
11634 char XextCreateExtension ();
11636 main ()
11638 return XextCreateExtension ();
11640 return 0;
11642 _ACEOF
11643 if ac_fn_c_try_link "$LINENO"; then :
11644 case "$LIBEXT" in
11645 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11646 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'` ;;
11647 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11648 if ${ac_cv_lib_soname_Xext:+false} :; then :
11649 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11650 fi ;;
11651 esac
11652 else
11653 ac_cv_lib_soname_Xext=
11655 rm -f core conftest.err conftest.$ac_objext \
11656 conftest$ac_exeext conftest.$ac_ext
11657 LIBS=$ac_check_soname_save_LIBS
11659 if ${ac_cv_lib_soname_Xext:+false} :; then :
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11661 $as_echo "not found" >&6; }
11663 else
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11665 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11667 cat >>confdefs.h <<_ACEOF
11668 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11669 _ACEOF
11671 X_LIBS="$X_LIBS -lXext"
11673 X_LIBS="$X_LIBS -lX11"
11675 for ac_header in X11/Xlib.h \
11676 X11/XKBlib.h \
11677 X11/Xutil.h \
11678 X11/Xcursor/Xcursor.h \
11679 X11/extensions/shape.h \
11680 X11/extensions/XInput.h \
11681 X11/extensions/XInput2.h \
11682 X11/extensions/XShm.h \
11683 X11/extensions/Xcomposite.h \
11684 X11/extensions/Xfixes.h \
11685 X11/extensions/Xinerama.h \
11686 X11/extensions/Xrandr.h \
11687 X11/extensions/Xrender.h \
11688 X11/extensions/xf86vmode.h \
11689 X11/extensions/xf86vmproto.h
11690 do :
11691 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11692 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11693 # include <X11/Xlib.h>
11694 #endif
11695 #ifdef HAVE_X11_XUTIL_H
11696 # include <X11/Xutil.h>
11697 #endif
11699 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11700 cat >>confdefs.h <<_ACEOF
11701 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11702 _ACEOF
11706 done
11709 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11710 then
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11712 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11713 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11714 $as_echo_n "(cached) " >&6
11715 else
11716 ac_check_lib_save_LIBS=$LIBS
11717 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11719 /* end confdefs.h. */
11721 /* Override any GCC internal prototype to avoid an error.
11722 Use char because int might match the return type of a GCC
11723 builtin and then its argument prototype would still apply. */
11724 #ifdef __cplusplus
11725 extern "C"
11726 #endif
11727 char XkbQueryExtension ();
11729 main ()
11731 return XkbQueryExtension ();
11733 return 0;
11735 _ACEOF
11736 if ac_fn_c_try_link "$LINENO"; then :
11737 ac_cv_lib_X11_XkbQueryExtension=yes
11738 else
11739 ac_cv_lib_X11_XkbQueryExtension=no
11741 rm -f core conftest.err conftest.$ac_objext \
11742 conftest$ac_exeext conftest.$ac_ext
11743 LIBS=$ac_check_lib_save_LIBS
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11746 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11747 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11749 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11755 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11756 then
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11758 $as_echo_n "checking for -lXcursor... " >&6; }
11759 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11760 $as_echo_n "(cached) " >&6
11761 else
11762 ac_check_soname_save_LIBS=$LIBS
11763 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11765 /* end confdefs.h. */
11767 /* Override any GCC internal prototype to avoid an error.
11768 Use char because int might match the return type of a GCC
11769 builtin and then its argument prototype would still apply. */
11770 #ifdef __cplusplus
11771 extern "C"
11772 #endif
11773 char XcursorImageLoadCursor ();
11775 main ()
11777 return XcursorImageLoadCursor ();
11779 return 0;
11781 _ACEOF
11782 if ac_fn_c_try_link "$LINENO"; then :
11783 case "$LIBEXT" in
11784 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11785 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'` ;;
11786 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11787 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11788 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11789 fi ;;
11790 esac
11791 else
11792 ac_cv_lib_soname_Xcursor=
11794 rm -f core conftest.err conftest.$ac_objext \
11795 conftest$ac_exeext conftest.$ac_ext
11796 LIBS=$ac_check_soname_save_LIBS
11798 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11800 $as_echo "not found" >&6; }
11802 else
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11804 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11806 cat >>confdefs.h <<_ACEOF
11807 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11808 _ACEOF
11813 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11814 case "x$with_xcursor" in
11815 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11816 xno) ;;
11817 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11818 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11819 esac
11823 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11824 then
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11826 $as_echo_n "checking for -lXi... " >&6; }
11827 if ${ac_cv_lib_soname_Xi+:} false; then :
11828 $as_echo_n "(cached) " >&6
11829 else
11830 ac_check_soname_save_LIBS=$LIBS
11831 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11838 #ifdef __cplusplus
11839 extern "C"
11840 #endif
11841 char XOpenDevice ();
11843 main ()
11845 return XOpenDevice ();
11847 return 0;
11849 _ACEOF
11850 if ac_fn_c_try_link "$LINENO"; then :
11851 case "$LIBEXT" in
11852 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11853 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'` ;;
11854 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11855 if ${ac_cv_lib_soname_Xi:+false} :; then :
11856 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11857 fi ;;
11858 esac
11859 else
11860 ac_cv_lib_soname_Xi=
11862 rm -f core conftest.err conftest.$ac_objext \
11863 conftest$ac_exeext conftest.$ac_ext
11864 LIBS=$ac_check_soname_save_LIBS
11866 if ${ac_cv_lib_soname_Xi:+false} :; then :
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11868 $as_echo "not found" >&6; }
11870 else
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11872 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11874 cat >>confdefs.h <<_ACEOF
11875 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11876 _ACEOF
11881 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11882 case "x$with_xinput" in
11883 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11884 xno) ;;
11885 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11886 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11887 esac
11891 if test "x$ac_cv_lib_soname_Xi" != x
11892 then
11893 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11894 case "x$with_xinput2" in
11895 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11896 xno) ;;
11897 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11898 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11899 esac
11904 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11905 then
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11907 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11908 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11909 $as_echo_n "(cached) " >&6
11910 else
11911 ac_check_lib_save_LIBS=$LIBS
11912 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11914 /* end confdefs.h. */
11916 /* Override any GCC internal prototype to avoid an error.
11917 Use char because int might match the return type of a GCC
11918 builtin and then its argument prototype would still apply. */
11919 #ifdef __cplusplus
11920 extern "C"
11921 #endif
11922 char XShmQueryExtension ();
11924 main ()
11926 return XShmQueryExtension ();
11928 return 0;
11930 _ACEOF
11931 if ac_fn_c_try_link "$LINENO"; then :
11932 ac_cv_lib_Xext_XShmQueryExtension=yes
11933 else
11934 ac_cv_lib_Xext_XShmQueryExtension=no
11936 rm -f core conftest.err conftest.$ac_objext \
11937 conftest$ac_exeext conftest.$ac_ext
11938 LIBS=$ac_check_lib_save_LIBS
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11941 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11942 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11944 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11949 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11950 case "x$with_xshm" in
11951 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11952 xno) ;;
11953 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11954 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11955 esac
11959 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11960 then
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11962 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11963 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11964 $as_echo_n "(cached) " >&6
11965 else
11966 ac_check_lib_save_LIBS=$LIBS
11967 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11969 /* end confdefs.h. */
11971 /* Override any GCC internal prototype to avoid an error.
11972 Use char because int might match the return type of a GCC
11973 builtin and then its argument prototype would still apply. */
11974 #ifdef __cplusplus
11975 extern "C"
11976 #endif
11977 char XShapeQueryExtension ();
11979 main ()
11981 return XShapeQueryExtension ();
11983 return 0;
11985 _ACEOF
11986 if ac_fn_c_try_link "$LINENO"; then :
11987 ac_cv_lib_Xext_XShapeQueryExtension=yes
11988 else
11989 ac_cv_lib_Xext_XShapeQueryExtension=no
11991 rm -f core conftest.err conftest.$ac_objext \
11992 conftest$ac_exeext conftest.$ac_ext
11993 LIBS=$ac_check_lib_save_LIBS
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11996 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11997 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11999 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
12004 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
12005 case "x$with_xshape" in
12006 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
12007 xno) ;;
12008 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
12009 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
12010 esac
12014 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
12015 then
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
12017 $as_echo_n "checking for -lXxf86vm... " >&6; }
12018 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
12019 $as_echo_n "(cached) " >&6
12020 else
12021 ac_check_soname_save_LIBS=$LIBS
12022 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
12023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12024 /* end confdefs.h. */
12026 /* Override any GCC internal prototype to avoid an error.
12027 Use char because int might match the return type of a GCC
12028 builtin and then its argument prototype would still apply. */
12029 #ifdef __cplusplus
12030 extern "C"
12031 #endif
12032 char XF86VidModeQueryExtension ();
12034 main ()
12036 return XF86VidModeQueryExtension ();
12038 return 0;
12040 _ACEOF
12041 if ac_fn_c_try_link "$LINENO"; then :
12042 case "$LIBEXT" in
12043 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12044 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'` ;;
12045 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12046 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12047 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12048 fi ;;
12049 esac
12050 else
12051 ac_cv_lib_soname_Xxf86vm=
12053 rm -f core conftest.err conftest.$ac_objext \
12054 conftest$ac_exeext conftest.$ac_ext
12055 LIBS=$ac_check_soname_save_LIBS
12057 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12059 $as_echo "not found" >&6; }
12061 else
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12063 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12065 cat >>confdefs.h <<_ACEOF
12066 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12067 _ACEOF
12072 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12073 case "x$with_xxf86vm" in
12074 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12075 xno) ;;
12076 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12077 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12078 esac
12082 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12083 then
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12085 $as_echo_n "checking for -lXrender... " >&6; }
12086 if ${ac_cv_lib_soname_Xrender+:} false; then :
12087 $as_echo_n "(cached) " >&6
12088 else
12089 ac_check_soname_save_LIBS=$LIBS
12090 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12092 /* end confdefs.h. */
12094 /* Override any GCC internal prototype to avoid an error.
12095 Use char because int might match the return type of a GCC
12096 builtin and then its argument prototype would still apply. */
12097 #ifdef __cplusplus
12098 extern "C"
12099 #endif
12100 char XRenderQueryExtension ();
12102 main ()
12104 return XRenderQueryExtension ();
12106 return 0;
12108 _ACEOF
12109 if ac_fn_c_try_link "$LINENO"; then :
12110 case "$LIBEXT" in
12111 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12112 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'` ;;
12113 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12114 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12115 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12116 fi ;;
12117 esac
12118 else
12119 ac_cv_lib_soname_Xrender=
12121 rm -f core conftest.err conftest.$ac_objext \
12122 conftest$ac_exeext conftest.$ac_ext
12123 LIBS=$ac_check_soname_save_LIBS
12125 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12127 $as_echo "not found" >&6; }
12129 else
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12131 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12133 cat >>confdefs.h <<_ACEOF
12134 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12135 _ACEOF
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12138 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12139 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12140 $as_echo_n "(cached) " >&6
12141 else
12142 ac_check_lib_save_LIBS=$LIBS
12143 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12145 /* end confdefs.h. */
12147 /* Override any GCC internal prototype to avoid an error.
12148 Use char because int might match the return type of a GCC
12149 builtin and then its argument prototype would still apply. */
12150 #ifdef __cplusplus
12151 extern "C"
12152 #endif
12153 char XRenderSetPictureTransform ();
12155 main ()
12157 return XRenderSetPictureTransform ();
12159 return 0;
12161 _ACEOF
12162 if ac_fn_c_try_link "$LINENO"; then :
12163 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12164 else
12165 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12167 rm -f core conftest.err conftest.$ac_objext \
12168 conftest$ac_exeext conftest.$ac_ext
12169 LIBS=$ac_check_lib_save_LIBS
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12172 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12173 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12175 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12180 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12181 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12182 $as_echo_n "(cached) " >&6
12183 else
12184 ac_check_lib_save_LIBS=$LIBS
12185 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12192 #ifdef __cplusplus
12193 extern "C"
12194 #endif
12195 char XRenderCreateLinearGradient ();
12197 main ()
12199 return XRenderCreateLinearGradient ();
12201 return 0;
12203 _ACEOF
12204 if ac_fn_c_try_link "$LINENO"; then :
12205 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12206 else
12207 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12209 rm -f core conftest.err conftest.$ac_objext \
12210 conftest$ac_exeext conftest.$ac_ext
12211 LIBS=$ac_check_lib_save_LIBS
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12214 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12215 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12217 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12224 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12225 case "x$with_xrender" in
12226 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12227 xno) ;;
12228 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12229 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12230 esac
12234 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12235 then
12236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12237 /* end confdefs.h. */
12238 #include <X11/Xlib.h>
12239 #include <X11/extensions/Xrandr.h>
12241 main ()
12243 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12245 return 0;
12247 _ACEOF
12248 if ac_fn_c_try_compile "$LINENO"; then :
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12250 $as_echo_n "checking for -lXrandr... " >&6; }
12251 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12252 $as_echo_n "(cached) " >&6
12253 else
12254 ac_check_soname_save_LIBS=$LIBS
12255 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12259 /* Override any GCC internal prototype to avoid an error.
12260 Use char because int might match the return type of a GCC
12261 builtin and then its argument prototype would still apply. */
12262 #ifdef __cplusplus
12263 extern "C"
12264 #endif
12265 char XRRQueryExtension ();
12267 main ()
12269 return XRRQueryExtension ();
12271 return 0;
12273 _ACEOF
12274 if ac_fn_c_try_link "$LINENO"; then :
12275 case "$LIBEXT" in
12276 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12277 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'` ;;
12278 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12279 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12280 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12281 fi ;;
12282 esac
12283 else
12284 ac_cv_lib_soname_Xrandr=
12286 rm -f core conftest.err conftest.$ac_objext \
12287 conftest$ac_exeext conftest.$ac_ext
12288 LIBS=$ac_check_soname_save_LIBS
12290 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12292 $as_echo "not found" >&6; }
12294 else
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12296 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12298 cat >>confdefs.h <<_ACEOF
12299 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12300 _ACEOF
12302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12304 #include <X11/Xlib.h>
12305 #include <X11/extensions/Xrandr.h>
12307 main ()
12309 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12311 return 0;
12313 _ACEOF
12314 if ac_fn_c_try_compile "$LINENO"; then :
12316 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12318 else
12319 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12326 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12327 case "x$with_xrandr" in
12328 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12329 xno) ;;
12330 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12331 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12332 esac
12336 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12337 then
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12340 #include <X11/Xlib.h>
12341 #include <X11/extensions/Xfixes.h>
12343 main ()
12345 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12347 return 0;
12349 _ACEOF
12350 if ac_fn_c_try_compile "$LINENO"; then :
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12352 $as_echo_n "checking for -lXfixes... " >&6; }
12353 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12354 $as_echo_n "(cached) " >&6
12355 else
12356 ac_check_soname_save_LIBS=$LIBS
12357 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12359 /* end confdefs.h. */
12361 /* Override any GCC internal prototype to avoid an error.
12362 Use char because int might match the return type of a GCC
12363 builtin and then its argument prototype would still apply. */
12364 #ifdef __cplusplus
12365 extern "C"
12366 #endif
12367 char XFixesQueryVersion ();
12369 main ()
12371 return XFixesQueryVersion ();
12373 return 0;
12375 _ACEOF
12376 if ac_fn_c_try_link "$LINENO"; then :
12377 case "$LIBEXT" in
12378 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12379 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'` ;;
12380 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12381 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12382 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12383 fi ;;
12384 esac
12385 else
12386 ac_cv_lib_soname_Xfixes=
12388 rm -f core conftest.err conftest.$ac_objext \
12389 conftest$ac_exeext conftest.$ac_ext
12390 LIBS=$ac_check_soname_save_LIBS
12392 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12394 $as_echo "not found" >&6; }
12396 else
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12398 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12400 cat >>confdefs.h <<_ACEOF
12401 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12402 _ACEOF
12407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12409 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12410 case "x$with_xfixes" in
12411 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12412 xno) ;;
12413 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12414 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12415 esac
12419 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12420 then
12421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12422 /* end confdefs.h. */
12423 #include <X11/Xlib.h>
12424 #include <X11/extensions/Xinerama.h>
12426 main ()
12428 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12430 return 0;
12432 _ACEOF
12433 if ac_fn_c_try_compile "$LINENO"; then :
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12435 $as_echo_n "checking for -lXinerama... " >&6; }
12436 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12437 $as_echo_n "(cached) " >&6
12438 else
12439 ac_check_soname_save_LIBS=$LIBS
12440 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12442 /* end confdefs.h. */
12444 /* Override any GCC internal prototype to avoid an error.
12445 Use char because int might match the return type of a GCC
12446 builtin and then its argument prototype would still apply. */
12447 #ifdef __cplusplus
12448 extern "C"
12449 #endif
12450 char XineramaQueryScreens ();
12452 main ()
12454 return XineramaQueryScreens ();
12456 return 0;
12458 _ACEOF
12459 if ac_fn_c_try_link "$LINENO"; then :
12460 case "$LIBEXT" in
12461 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12462 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'` ;;
12463 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12464 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12465 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12466 fi ;;
12467 esac
12468 else
12469 ac_cv_lib_soname_Xinerama=
12471 rm -f core conftest.err conftest.$ac_objext \
12472 conftest$ac_exeext conftest.$ac_ext
12473 LIBS=$ac_check_soname_save_LIBS
12475 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12477 $as_echo "not found" >&6; }
12479 else
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12481 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12483 cat >>confdefs.h <<_ACEOF
12484 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12485 _ACEOF
12490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12492 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12493 case "x$with_xinerama" in
12494 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12495 xno) ;;
12496 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12497 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12498 esac
12502 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12503 then
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12505 $as_echo_n "checking for -lXcomposite... " >&6; }
12506 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12507 $as_echo_n "(cached) " >&6
12508 else
12509 ac_check_soname_save_LIBS=$LIBS
12510 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12512 /* end confdefs.h. */
12514 /* Override any GCC internal prototype to avoid an error.
12515 Use char because int might match the return type of a GCC
12516 builtin and then its argument prototype would still apply. */
12517 #ifdef __cplusplus
12518 extern "C"
12519 #endif
12520 char XCompositeRedirectWindow ();
12522 main ()
12524 return XCompositeRedirectWindow ();
12526 return 0;
12528 _ACEOF
12529 if ac_fn_c_try_link "$LINENO"; then :
12530 case "$LIBEXT" in
12531 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12532 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'` ;;
12533 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12534 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12535 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12536 fi ;;
12537 esac
12538 else
12539 ac_cv_lib_soname_Xcomposite=
12541 rm -f core conftest.err conftest.$ac_objext \
12542 conftest$ac_exeext conftest.$ac_ext
12543 LIBS=$ac_check_soname_save_LIBS
12545 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12547 $as_echo "not found" >&6; }
12549 else
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12551 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12553 cat >>confdefs.h <<_ACEOF
12554 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12555 _ACEOF
12560 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12561 case "x$with_xcomposite" in
12562 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12563 xno) ;;
12564 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12565 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12566 esac
12570 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12571 #include <X11/Xlib.h>
12572 #endif
12574 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12576 cat >>confdefs.h <<_ACEOF
12577 #define HAVE_XICCALLBACK_CALLBACK 1
12578 _ACEOF
12582 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12583 #include <X11/Xlib.h>
12584 #endif
12586 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12588 cat >>confdefs.h <<_ACEOF
12589 #define HAVE_XEVENT_XCOOKIE 1
12590 _ACEOF
12597 opengl_msg=""
12598 if test "x$with_opengl" != "xno"
12599 then
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12601 $as_echo_n "checking for -lGL... " >&6; }
12602 if ${ac_cv_lib_soname_GL+:} false; then :
12603 $as_echo_n "(cached) " >&6
12604 else
12605 ac_check_soname_save_LIBS=$LIBS
12606 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h. */
12610 /* Override any GCC internal prototype to avoid an error.
12611 Use char because int might match the return type of a GCC
12612 builtin and then its argument prototype would still apply. */
12613 #ifdef __cplusplus
12614 extern "C"
12615 #endif
12616 char glXCreateContext ();
12618 main ()
12620 return glXCreateContext ();
12622 return 0;
12624 _ACEOF
12625 if ac_fn_c_try_link "$LINENO"; then :
12626 case "$LIBEXT" in
12627 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12628 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'` ;;
12629 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12630 if ${ac_cv_lib_soname_GL:+false} :; then :
12631 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12632 fi ;;
12633 esac
12634 else
12635 ac_cv_lib_soname_GL=
12637 rm -f core conftest.err conftest.$ac_objext \
12638 conftest$ac_exeext conftest.$ac_ext
12639 LIBS=$ac_check_soname_save_LIBS
12641 if ${ac_cv_lib_soname_GL:+false} :; then :
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12643 $as_echo "not found" >&6; }
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12645 $as_echo_n "checking for -lGL... " >&6; }
12646 if ${ac_cv_lib_soname_GL+:} false; then :
12647 $as_echo_n "(cached) " >&6
12648 else
12649 ac_check_soname_save_LIBS=$LIBS
12650 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"
12651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12652 /* end confdefs.h. */
12654 /* Override any GCC internal prototype to avoid an error.
12655 Use char because int might match the return type of a GCC
12656 builtin and then its argument prototype would still apply. */
12657 #ifdef __cplusplus
12658 extern "C"
12659 #endif
12660 char glXCreateContext ();
12662 main ()
12664 return glXCreateContext ();
12666 return 0;
12668 _ACEOF
12669 if ac_fn_c_try_link "$LINENO"; then :
12670 case "$LIBEXT" in
12671 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12672 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'` ;;
12673 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12674 if ${ac_cv_lib_soname_GL:+false} :; then :
12675 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12676 fi ;;
12677 esac
12678 else
12679 ac_cv_lib_soname_GL=
12681 rm -f core conftest.err conftest.$ac_objext \
12682 conftest$ac_exeext conftest.$ac_ext
12683 LIBS=$ac_check_soname_save_LIBS
12685 if ${ac_cv_lib_soname_GL:+false} :; then :
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12687 $as_echo "not found" >&6; }
12688 if test -f /usr/X11R6/lib/libGL.a
12689 then
12690 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12691 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12692 else
12693 opengl_msg="No OpenGL library found on this system."
12695 else
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12697 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12699 cat >>confdefs.h <<_ACEOF
12700 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12701 _ACEOF
12703 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"
12705 else
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12707 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12709 cat >>confdefs.h <<_ACEOF
12710 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12711 _ACEOF
12713 OPENGL_LIBS="-lGL"
12715 if test "x$with_glu" != "xno"
12716 then
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12718 $as_echo_n "checking for -lGLU... " >&6; }
12719 if ${ac_cv_lib_soname_GLU+:} false; then :
12720 $as_echo_n "(cached) " >&6
12721 else
12722 ac_check_soname_save_LIBS=$LIBS
12723 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12725 /* end confdefs.h. */
12727 /* Override any GCC internal prototype to avoid an error.
12728 Use char because int might match the return type of a GCC
12729 builtin and then its argument prototype would still apply. */
12730 #ifdef __cplusplus
12731 extern "C"
12732 #endif
12733 char gluLookAt ();
12735 main ()
12737 return gluLookAt ();
12739 return 0;
12741 _ACEOF
12742 if ac_fn_c_try_link "$LINENO"; then :
12743 case "$LIBEXT" in
12744 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12745 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'` ;;
12746 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12747 if ${ac_cv_lib_soname_GLU:+false} :; then :
12748 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12749 fi ;;
12750 esac
12751 else
12752 ac_cv_lib_soname_GLU=
12754 rm -f core conftest.err conftest.$ac_objext \
12755 conftest$ac_exeext conftest.$ac_ext
12756 LIBS=$ac_check_soname_save_LIBS
12758 if ${ac_cv_lib_soname_GLU:+false} :; then :
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12760 $as_echo "not found" >&6; }
12762 else
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12764 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12766 cat >>confdefs.h <<_ACEOF
12767 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12768 _ACEOF
12772 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12773 case "x$with_glu" in
12774 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12775 xno) ;;
12776 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12777 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12778 esac
12783 if test "x$with_osmesa" != "xno"
12784 then
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12786 $as_echo_n "checking for -lOSMesa... " >&6; }
12787 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12788 $as_echo_n "(cached) " >&6
12789 else
12790 ac_check_soname_save_LIBS=$LIBS
12791 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12793 /* end confdefs.h. */
12795 /* Override any GCC internal prototype to avoid an error.
12796 Use char because int might match the return type of a GCC
12797 builtin and then its argument prototype would still apply. */
12798 #ifdef __cplusplus
12799 extern "C"
12800 #endif
12801 char OSMesaGetProcAddress ();
12803 main ()
12805 return OSMesaGetProcAddress ();
12807 return 0;
12809 _ACEOF
12810 if ac_fn_c_try_link "$LINENO"; then :
12811 case "$LIBEXT" in
12812 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12813 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'` ;;
12814 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12815 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12816 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12817 fi ;;
12818 esac
12819 else
12820 ac_cv_lib_soname_OSMesa=
12822 rm -f core conftest.err conftest.$ac_objext \
12823 conftest$ac_exeext conftest.$ac_ext
12824 LIBS=$ac_check_soname_save_LIBS
12826 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12828 $as_echo "not found" >&6; }
12830 else
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12832 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12834 cat >>confdefs.h <<_ACEOF
12835 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12836 _ACEOF
12840 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12841 case "x$with_osmesa" in
12842 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12843 xno) ;;
12844 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12845 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12846 esac
12851 if test -n "$opengl_msg"; then :
12852 case "x$with_opengl" in
12853 x) as_fn_append wine_warnings "|$opengl_msg
12854 OpenGL and Direct3D won't be supported." ;;
12855 xno) ;;
12856 *) as_fn_error $? "$opengl_msg
12857 OpenGL and Direct3D won't be supported.
12858 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12859 esac
12863 CPPFLAGS="$ac_save_CPPFLAGS"
12864 else
12865 X_CFLAGS=""
12866 X_LIBS=""
12869 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12870 then
12871 if test "x$X_LIBS" = "x"; then :
12872 case "x$with_x" in
12873 xno) ;;
12874 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12875 without X support, which probably isn't what you want. You will need
12876 to install ${notice_platform}development packages of Xlib at the very least.
12877 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12878 esac
12879 enable_winex11_drv=${enable_winex11_drv:-no}
12881 else
12882 if test "x$X_LIBS" = "x"; then :
12883 case "x$with_x" in
12884 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12885 xno) ;;
12886 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12887 This is an error since --with-x was requested." "$LINENO" 5 ;;
12888 esac
12889 enable_winex11_drv=${enable_winex11_drv:-no}
12893 if test "$ac_cv_header_CL_cl_h" = "yes"
12894 then
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12896 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12897 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12898 $as_echo_n "(cached) " >&6
12899 else
12900 ac_check_lib_save_LIBS=$LIBS
12901 LIBS="-lOpenCL $LIBS"
12902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12903 /* end confdefs.h. */
12905 /* Override any GCC internal prototype to avoid an error.
12906 Use char because int might match the return type of a GCC
12907 builtin and then its argument prototype would still apply. */
12908 #ifdef __cplusplus
12909 extern "C"
12910 #endif
12911 char clGetPlatformInfo ();
12913 main ()
12915 return clGetPlatformInfo ();
12917 return 0;
12919 _ACEOF
12920 if ac_fn_c_try_link "$LINENO"; then :
12921 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12922 else
12923 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12925 rm -f core conftest.err conftest.$ac_objext \
12926 conftest$ac_exeext conftest.$ac_ext
12927 LIBS=$ac_check_lib_save_LIBS
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12930 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12931 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12932 OPENCL_LIBS="-lOpenCL"
12937 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12938 case "x$with_opencl" in
12939 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12940 xno) ;;
12941 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12942 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12943 esac
12944 enable_opencl=${enable_opencl:-no}
12947 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12948 then
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12950 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12951 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12952 $as_echo_n "(cached) " >&6
12953 else
12954 ac_check_lib_save_LIBS=$LIBS
12955 LIBS="-lpcap $LIBS"
12956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12959 /* Override any GCC internal prototype to avoid an error.
12960 Use char because int might match the return type of a GCC
12961 builtin and then its argument prototype would still apply. */
12962 #ifdef __cplusplus
12963 extern "C"
12964 #endif
12965 char pcap_create ();
12967 main ()
12969 return pcap_create ();
12971 return 0;
12973 _ACEOF
12974 if ac_fn_c_try_link "$LINENO"; then :
12975 ac_cv_lib_pcap_pcap_create=yes
12976 else
12977 ac_cv_lib_pcap_pcap_create=no
12979 rm -f core conftest.err conftest.$ac_objext \
12980 conftest$ac_exeext conftest.$ac_ext
12981 LIBS=$ac_check_lib_save_LIBS
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12984 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12985 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12986 PCAP_LIBS="-lpcap"
12991 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12992 case "x$with_pcap" in
12993 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12994 xno) ;;
12995 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12996 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12997 esac
12998 enable_wpcap=${enable_wpcap:-no}
13002 if test "x$with_xml" != "xno"
13003 then
13004 if ${XML2_CFLAGS:+false} :; then :
13005 if ${PKG_CONFIG+:} false; then :
13006 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
13009 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
13010 if ${XML2_LIBS:+false} :; then :
13011 if ${PKG_CONFIG+:} false; then :
13012 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
13015 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
13016 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
13017 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
13018 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
13019 ac_save_CPPFLAGS=$CPPFLAGS
13020 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
13021 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
13022 do :
13023 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13024 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13025 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13026 cat >>confdefs.h <<_ACEOF
13027 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13028 _ACEOF
13032 done
13034 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"
13035 then
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
13037 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
13038 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
13039 $as_echo_n "(cached) " >&6
13040 else
13041 ac_check_lib_save_LIBS=$LIBS
13042 LIBS="-lxml2 $XML2_LIBS $LIBS"
13043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13044 /* end confdefs.h. */
13046 /* Override any GCC internal prototype to avoid an error.
13047 Use char because int might match the return type of a GCC
13048 builtin and then its argument prototype would still apply. */
13049 #ifdef __cplusplus
13050 extern "C"
13051 #endif
13052 char xmlParseMemory ();
13054 main ()
13056 return xmlParseMemory ();
13058 return 0;
13060 _ACEOF
13061 if ac_fn_c_try_link "$LINENO"; then :
13062 ac_cv_lib_xml2_xmlParseMemory=yes
13063 else
13064 ac_cv_lib_xml2_xmlParseMemory=no
13066 rm -f core conftest.err conftest.$ac_objext \
13067 conftest$ac_exeext conftest.$ac_ext
13068 LIBS=$ac_check_lib_save_LIBS
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
13071 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
13072 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
13074 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
13076 else
13077 XML2_LIBS=""
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
13081 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
13082 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
13083 $as_echo_n "(cached) " >&6
13084 else
13085 ac_check_lib_save_LIBS=$LIBS
13086 LIBS="-lxml2 $XML2_LIBS $LIBS"
13087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13088 /* end confdefs.h. */
13090 /* Override any GCC internal prototype to avoid an error.
13091 Use char because int might match the return type of a GCC
13092 builtin and then its argument prototype would still apply. */
13093 #ifdef __cplusplus
13094 extern "C"
13095 #endif
13096 char xmlReadMemory ();
13098 main ()
13100 return xmlReadMemory ();
13102 return 0;
13104 _ACEOF
13105 if ac_fn_c_try_link "$LINENO"; then :
13106 ac_cv_lib_xml2_xmlReadMemory=yes
13107 else
13108 ac_cv_lib_xml2_xmlReadMemory=no
13110 rm -f core conftest.err conftest.$ac_objext \
13111 conftest$ac_exeext conftest.$ac_ext
13112 LIBS=$ac_check_lib_save_LIBS
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13115 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13116 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13118 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13123 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13124 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13125 $as_echo_n "(cached) " >&6
13126 else
13127 ac_check_lib_save_LIBS=$LIBS
13128 LIBS="-lxml2 $XML2_LIBS $LIBS"
13129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13130 /* end confdefs.h. */
13132 /* Override any GCC internal prototype to avoid an error.
13133 Use char because int might match the return type of a GCC
13134 builtin and then its argument prototype would still apply. */
13135 #ifdef __cplusplus
13136 extern "C"
13137 #endif
13138 char xmlNewDocPI ();
13140 main ()
13142 return xmlNewDocPI ();
13144 return 0;
13146 _ACEOF
13147 if ac_fn_c_try_link "$LINENO"; then :
13148 ac_cv_lib_xml2_xmlNewDocPI=yes
13149 else
13150 ac_cv_lib_xml2_xmlNewDocPI=no
13152 rm -f core conftest.err conftest.$ac_objext \
13153 conftest$ac_exeext conftest.$ac_ext
13154 LIBS=$ac_check_lib_save_LIBS
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13157 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13158 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13160 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13165 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13166 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13167 $as_echo_n "(cached) " >&6
13168 else
13169 ac_check_lib_save_LIBS=$LIBS
13170 LIBS="-lxml2 $XML2_LIBS $LIBS"
13171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13172 /* end confdefs.h. */
13174 /* Override any GCC internal prototype to avoid an error.
13175 Use char because int might match the return type of a GCC
13176 builtin and then its argument prototype would still apply. */
13177 #ifdef __cplusplus
13178 extern "C"
13179 #endif
13180 char xmlSchemaSetParserStructuredErrors ();
13182 main ()
13184 return xmlSchemaSetParserStructuredErrors ();
13186 return 0;
13188 _ACEOF
13189 if ac_fn_c_try_link "$LINENO"; then :
13190 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13191 else
13192 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13194 rm -f core conftest.err conftest.$ac_objext \
13195 conftest$ac_exeext conftest.$ac_ext
13196 LIBS=$ac_check_lib_save_LIBS
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13199 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13200 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13202 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13207 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13208 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13209 $as_echo_n "(cached) " >&6
13210 else
13211 ac_check_lib_save_LIBS=$LIBS
13212 LIBS="-lxml2 $XML2_LIBS $LIBS"
13213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13214 /* end confdefs.h. */
13216 /* Override any GCC internal prototype to avoid an error.
13217 Use char because int might match the return type of a GCC
13218 builtin and then its argument prototype would still apply. */
13219 #ifdef __cplusplus
13220 extern "C"
13221 #endif
13222 char xmlSchemaSetValidStructuredErrors ();
13224 main ()
13226 return xmlSchemaSetValidStructuredErrors ();
13228 return 0;
13230 _ACEOF
13231 if ac_fn_c_try_link "$LINENO"; then :
13232 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13233 else
13234 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13236 rm -f core conftest.err conftest.$ac_objext \
13237 conftest$ac_exeext conftest.$ac_ext
13238 LIBS=$ac_check_lib_save_LIBS
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13241 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13242 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13244 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13249 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13250 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13251 $as_echo_n "(cached) " >&6
13252 else
13253 ac_check_lib_save_LIBS=$LIBS
13254 LIBS="-lxml2 $XML2_LIBS $LIBS"
13255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13256 /* end confdefs.h. */
13258 /* Override any GCC internal prototype to avoid an error.
13259 Use char because int might match the return type of a GCC
13260 builtin and then its argument prototype would still apply. */
13261 #ifdef __cplusplus
13262 extern "C"
13263 #endif
13264 char xmlFirstElementChild ();
13266 main ()
13268 return xmlFirstElementChild ();
13270 return 0;
13272 _ACEOF
13273 if ac_fn_c_try_link "$LINENO"; then :
13274 ac_cv_lib_xml2_xmlFirstElementChild=yes
13275 else
13276 ac_cv_lib_xml2_xmlFirstElementChild=no
13278 rm -f core conftest.err conftest.$ac_objext \
13279 conftest$ac_exeext conftest.$ac_ext
13280 LIBS=$ac_check_lib_save_LIBS
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13283 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13284 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13286 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13290 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13292 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13294 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13298 else
13299 XML2_CFLAGS=""
13300 XML2_LIBS=""
13302 CPPFLAGS=$ac_save_CPPFLAGS
13303 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13304 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13307 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13308 case "x$with_xml" in
13309 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13310 xno) ;;
13311 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13312 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13313 esac
13317 if test "x$with_xslt" != "xno"
13318 then
13319 if ${XSLT_CFLAGS:+false} :; then :
13320 if ${PKG_CONFIG+:} false; then :
13321 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13324 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13325 if ${XSLT_LIBS:+false} :; then :
13326 if ${PKG_CONFIG+:} false; then :
13327 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13330 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13331 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13332 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13333 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13334 ac_save_CPPFLAGS=$CPPFLAGS
13335 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13336 for ac_header in libxslt/pattern.h libxslt/transform.h
13337 do :
13338 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13339 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13340 # include <libxslt/pattern.h>
13341 #endif
13343 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13344 cat >>confdefs.h <<_ACEOF
13345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13346 _ACEOF
13350 done
13352 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13353 then
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13355 $as_echo_n "checking for -lxslt... " >&6; }
13356 if ${ac_cv_lib_soname_xslt+:} false; then :
13357 $as_echo_n "(cached) " >&6
13358 else
13359 ac_check_soname_save_LIBS=$LIBS
13360 LIBS="-lxslt $XSLT_LIBS $LIBS"
13361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13362 /* end confdefs.h. */
13364 /* Override any GCC internal prototype to avoid an error.
13365 Use char because int might match the return type of a GCC
13366 builtin and then its argument prototype would still apply. */
13367 #ifdef __cplusplus
13368 extern "C"
13369 #endif
13370 char xsltCompilePattern ();
13372 main ()
13374 return xsltCompilePattern ();
13376 return 0;
13378 _ACEOF
13379 if ac_fn_c_try_link "$LINENO"; then :
13380 case "$LIBEXT" in
13381 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13382 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'` ;;
13383 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13384 if ${ac_cv_lib_soname_xslt:+false} :; then :
13385 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13386 fi ;;
13387 esac
13388 else
13389 ac_cv_lib_soname_xslt=
13391 rm -f core conftest.err conftest.$ac_objext \
13392 conftest$ac_exeext conftest.$ac_ext
13393 LIBS=$ac_check_soname_save_LIBS
13395 if ${ac_cv_lib_soname_xslt:+false} :; then :
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13397 $as_echo "not found" >&6; }
13399 else
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13401 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13403 cat >>confdefs.h <<_ACEOF
13404 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13405 _ACEOF
13409 else
13410 XSLT_CFLAGS=""
13412 CPPFLAGS=$ac_save_CPPFLAGS
13413 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13414 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13417 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13418 case "x$with_xslt" in
13419 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13420 xno) ;;
13421 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13422 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13423 esac
13427 if test "x$with_inotify" != "xno"
13428 then
13429 if ${INOTIFY_CFLAGS:+false} :; then :
13430 if ${PKG_CONFIG+:} false; then :
13431 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13435 if ${INOTIFY_LIBS:+false} :; then :
13436 if ${PKG_CONFIG+:} false; then :
13437 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13442 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13443 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13444 ac_save_CPPFLAGS=$CPPFLAGS
13445 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13446 for ac_header in sys/inotify.h
13447 do :
13448 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13449 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13450 cat >>confdefs.h <<_ACEOF
13451 #define HAVE_SYS_INOTIFY_H 1
13452 _ACEOF
13456 done
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13459 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13460 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13461 $as_echo_n "(cached) " >&6
13462 else
13463 ac_check_lib_save_LIBS=$LIBS
13464 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13466 /* end confdefs.h. */
13468 /* Override any GCC internal prototype to avoid an error.
13469 Use char because int might match the return type of a GCC
13470 builtin and then its argument prototype would still apply. */
13471 #ifdef __cplusplus
13472 extern "C"
13473 #endif
13474 char inotify_add_watch ();
13476 main ()
13478 return inotify_add_watch ();
13480 return 0;
13482 _ACEOF
13483 if ac_fn_c_try_link "$LINENO"; then :
13484 ac_cv_lib_inotify_inotify_add_watch=yes
13485 else
13486 ac_cv_lib_inotify_inotify_add_watch=no
13488 rm -f core conftest.err conftest.$ac_objext \
13489 conftest$ac_exeext conftest.$ac_ext
13490 LIBS=$ac_check_lib_save_LIBS
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13493 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13494 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13496 else
13497 INOTIFY_LIBS=""
13500 CPPFLAGS=$ac_save_CPPFLAGS
13501 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13502 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13505 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13506 case "x$with_inotify" in
13507 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13508 xno) ;;
13509 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13510 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13511 esac
13515 if test "x$with_dbus" != "xno"
13516 then
13517 if ${DBUS_CFLAGS:+false} :; then :
13518 if ${PKG_CONFIG+:} false; then :
13519 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13523 if ${DBUS_LIBS:+false} :; then :
13524 if ${PKG_CONFIG+:} false; then :
13525 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13530 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13531 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13532 ac_save_CPPFLAGS=$CPPFLAGS
13533 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13534 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13535 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13537 $as_echo_n "checking for -ldbus-1... " >&6; }
13538 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13539 $as_echo_n "(cached) " >&6
13540 else
13541 ac_check_soname_save_LIBS=$LIBS
13542 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13544 /* end confdefs.h. */
13546 /* Override any GCC internal prototype to avoid an error.
13547 Use char because int might match the return type of a GCC
13548 builtin and then its argument prototype would still apply. */
13549 #ifdef __cplusplus
13550 extern "C"
13551 #endif
13552 char dbus_connection_close ();
13554 main ()
13556 return dbus_connection_close ();
13558 return 0;
13560 _ACEOF
13561 if ac_fn_c_try_link "$LINENO"; then :
13562 case "$LIBEXT" in
13563 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13564 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'` ;;
13565 *) 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'`
13566 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13567 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13568 fi ;;
13569 esac
13570 else
13571 ac_cv_lib_soname_dbus_1=
13573 rm -f core conftest.err conftest.$ac_objext \
13574 conftest$ac_exeext conftest.$ac_ext
13575 LIBS=$ac_check_soname_save_LIBS
13577 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13579 $as_echo "not found" >&6; }
13580 DBUS_CFLAGS=""
13581 else
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13583 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13585 cat >>confdefs.h <<_ACEOF
13586 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13587 _ACEOF
13591 else
13592 DBUS_CFLAGS=""
13596 CPPFLAGS=$ac_save_CPPFLAGS
13597 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13598 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13601 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13602 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13603 case "x$with_dbus" in
13604 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13605 xno) ;;
13606 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13607 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13608 esac
13612 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13613 then
13614 if ${HAL_CFLAGS:+false} :; then :
13615 if ${PKG_CONFIG+:} false; then :
13616 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13620 if ${HAL_LIBS:+false} :; then :
13621 if ${PKG_CONFIG+:} false; then :
13622 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13626 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13627 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13628 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13629 ac_save_CPPFLAGS=$CPPFLAGS
13630 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13631 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13632 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13634 $as_echo_n "checking for -lhal... " >&6; }
13635 if ${ac_cv_lib_soname_hal+:} false; then :
13636 $as_echo_n "(cached) " >&6
13637 else
13638 ac_check_soname_save_LIBS=$LIBS
13639 LIBS="-lhal $HAL_LIBS $LIBS"
13640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13641 /* end confdefs.h. */
13643 /* Override any GCC internal prototype to avoid an error.
13644 Use char because int might match the return type of a GCC
13645 builtin and then its argument prototype would still apply. */
13646 #ifdef __cplusplus
13647 extern "C"
13648 #endif
13649 char libhal_ctx_new ();
13651 main ()
13653 return libhal_ctx_new ();
13655 return 0;
13657 _ACEOF
13658 if ac_fn_c_try_link "$LINENO"; then :
13659 case "$LIBEXT" in
13660 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13661 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'` ;;
13662 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13663 if ${ac_cv_lib_soname_hal:+false} :; then :
13664 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13665 fi ;;
13666 esac
13667 else
13668 ac_cv_lib_soname_hal=
13670 rm -f core conftest.err conftest.$ac_objext \
13671 conftest$ac_exeext conftest.$ac_ext
13672 LIBS=$ac_check_soname_save_LIBS
13674 if ${ac_cv_lib_soname_hal:+false} :; then :
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13676 $as_echo "not found" >&6; }
13677 HAL_CFLAGS=""
13678 else
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13680 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13682 cat >>confdefs.h <<_ACEOF
13683 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13684 _ACEOF
13688 else
13689 HAL_CFLAGS=""
13693 CPPFLAGS=$ac_save_CPPFLAGS
13694 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13695 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13697 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13698 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13699 case "x$with_hal" in
13700 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13701 xno) ;;
13702 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13703 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13704 esac
13709 if test "x$with_gnutls" != "xno"
13710 then
13711 if ${GNUTLS_CFLAGS:+false} :; then :
13712 if ${PKG_CONFIG+:} false; then :
13713 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13717 if ${GNUTLS_LIBS:+false} :; then :
13718 if ${PKG_CONFIG+:} false; then :
13719 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13723 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13724 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13725 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13726 ac_save_CPPFLAGS=$CPPFLAGS
13727 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13728 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13729 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13732 #include <gnutls/gnutls.h>
13733 #include <gnutls/crypto.h>
13735 main ()
13737 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13739 return 0;
13741 _ACEOF
13742 if ac_fn_c_try_compile "$LINENO"; then :
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13744 $as_echo_n "checking for -lgnutls... " >&6; }
13745 if ${ac_cv_lib_soname_gnutls+:} false; then :
13746 $as_echo_n "(cached) " >&6
13747 else
13748 ac_check_soname_save_LIBS=$LIBS
13749 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13751 /* end confdefs.h. */
13753 /* Override any GCC internal prototype to avoid an error.
13754 Use char because int might match the return type of a GCC
13755 builtin and then its argument prototype would still apply. */
13756 #ifdef __cplusplus
13757 extern "C"
13758 #endif
13759 char gnutls_global_init ();
13761 main ()
13763 return gnutls_global_init ();
13765 return 0;
13767 _ACEOF
13768 if ac_fn_c_try_link "$LINENO"; then :
13769 case "$LIBEXT" in
13770 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13771 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'` ;;
13772 *) 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'`
13773 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13774 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'`
13775 fi ;;
13776 esac
13777 else
13778 ac_cv_lib_soname_gnutls=
13780 rm -f core conftest.err conftest.$ac_objext \
13781 conftest$ac_exeext conftest.$ac_ext
13782 LIBS=$ac_check_soname_save_LIBS
13784 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13786 $as_echo "not found" >&6; }
13787 GNUTLS_CFLAGS=""
13788 else
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13790 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13792 cat >>confdefs.h <<_ACEOF
13793 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13794 _ACEOF
13798 ac_wine_check_funcs_save_LIBS="$LIBS"
13799 LIBS="$LIBS $GNUTLS_LIBS"
13800 for ac_func in gnutls_cipher_init
13801 do :
13802 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13803 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13804 cat >>confdefs.h <<_ACEOF
13805 #define HAVE_GNUTLS_CIPHER_INIT 1
13806 _ACEOF
13808 else
13809 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13811 done
13813 LIBS="$ac_wine_check_funcs_save_LIBS"
13815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13816 else
13817 GNUTLS_CFLAGS=""
13821 CPPFLAGS=$ac_save_CPPFLAGS
13822 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13823 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13826 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13827 case "x$with_gnutls" in
13828 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13829 xno) ;;
13830 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13831 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13832 esac
13836 CURSES_LIBS=""
13837 if test "$ac_cv_header_ncurses_h" = "yes"
13838 then
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13840 $as_echo_n "checking for -lncurses... " >&6; }
13841 if ${ac_cv_lib_soname_ncurses+:} false; then :
13842 $as_echo_n "(cached) " >&6
13843 else
13844 ac_check_soname_save_LIBS=$LIBS
13845 LIBS="-lncurses $LIBS"
13846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13849 /* Override any GCC internal prototype to avoid an error.
13850 Use char because int might match the return type of a GCC
13851 builtin and then its argument prototype would still apply. */
13852 #ifdef __cplusplus
13853 extern "C"
13854 #endif
13855 char waddch ();
13857 main ()
13859 return waddch ();
13861 return 0;
13863 _ACEOF
13864 if ac_fn_c_try_link "$LINENO"; then :
13865 case "$LIBEXT" in
13866 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13867 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'` ;;
13868 *) 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'`
13869 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13870 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13871 fi ;;
13872 esac
13873 else
13874 ac_cv_lib_soname_ncurses=
13876 rm -f core conftest.err conftest.$ac_objext \
13877 conftest$ac_exeext conftest.$ac_ext
13878 LIBS=$ac_check_soname_save_LIBS
13880 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13882 $as_echo "not found" >&6; }
13884 else
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13886 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13888 cat >>confdefs.h <<_ACEOF
13889 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13890 _ACEOF
13892 CURSES_LIBS="-lncurses"
13894 elif test "$ac_cv_header_curses_h" = "yes"
13895 then
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13897 $as_echo_n "checking for -lcurses... " >&6; }
13898 if ${ac_cv_lib_soname_curses+:} false; then :
13899 $as_echo_n "(cached) " >&6
13900 else
13901 ac_check_soname_save_LIBS=$LIBS
13902 LIBS="-lcurses $LIBS"
13903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13906 /* Override any GCC internal prototype to avoid an error.
13907 Use char because int might match the return type of a GCC
13908 builtin and then its argument prototype would still apply. */
13909 #ifdef __cplusplus
13910 extern "C"
13911 #endif
13912 char waddch ();
13914 main ()
13916 return waddch ();
13918 return 0;
13920 _ACEOF
13921 if ac_fn_c_try_link "$LINENO"; then :
13922 case "$LIBEXT" in
13923 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13924 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'` ;;
13925 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13926 if ${ac_cv_lib_soname_curses:+false} :; then :
13927 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13928 fi ;;
13929 esac
13930 else
13931 ac_cv_lib_soname_curses=
13933 rm -f core conftest.err conftest.$ac_objext \
13934 conftest$ac_exeext conftest.$ac_ext
13935 LIBS=$ac_check_soname_save_LIBS
13937 if ${ac_cv_lib_soname_curses:+false} :; then :
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13939 $as_echo "not found" >&6; }
13941 else
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13943 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13945 cat >>confdefs.h <<_ACEOF
13946 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13947 _ACEOF
13949 CURSES_LIBS="-lcurses"
13952 ac_save_LIBS="$LIBS"
13953 LIBS="$LIBS $CURSES_LIBS"
13954 for ac_func in mousemask
13955 do :
13956 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13957 if test "x$ac_cv_func_mousemask" = xyes; then :
13958 cat >>confdefs.h <<_ACEOF
13959 #define HAVE_MOUSEMASK 1
13960 _ACEOF
13963 done
13965 LIBS="$ac_save_LIBS"
13966 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13967 case "x$with_curses" in
13968 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13969 xno) ;;
13970 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13971 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13972 esac
13976 if test "x$with_sane" != "xno"
13977 then
13978 if ${SANE_CFLAGS:+false} :; then :
13979 if ${PKG_CONFIG+:} false; then :
13980 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13983 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13984 if ${SANE_LIBS:+false} :; then :
13985 if ${PKG_CONFIG+:} false; then :
13986 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13989 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13991 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13992 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13993 ac_save_CPPFLAGS=$CPPFLAGS
13994 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13995 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13996 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13998 $as_echo_n "checking for -lsane... " >&6; }
13999 if ${ac_cv_lib_soname_sane+:} false; then :
14000 $as_echo_n "(cached) " >&6
14001 else
14002 ac_check_soname_save_LIBS=$LIBS
14003 LIBS="-lsane $SANE_LIBS $LIBS"
14004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14007 /* Override any GCC internal prototype to avoid an error.
14008 Use char because int might match the return type of a GCC
14009 builtin and then its argument prototype would still apply. */
14010 #ifdef __cplusplus
14011 extern "C"
14012 #endif
14013 char sane_init ();
14015 main ()
14017 return sane_init ();
14019 return 0;
14021 _ACEOF
14022 if ac_fn_c_try_link "$LINENO"; then :
14023 case "$LIBEXT" in
14024 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14025 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'` ;;
14026 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14027 if ${ac_cv_lib_soname_sane:+false} :; then :
14028 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14029 fi ;;
14030 esac
14031 else
14032 ac_cv_lib_soname_sane=
14034 rm -f core conftest.err conftest.$ac_objext \
14035 conftest$ac_exeext conftest.$ac_ext
14036 LIBS=$ac_check_soname_save_LIBS
14038 if ${ac_cv_lib_soname_sane:+false} :; then :
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14040 $as_echo "not found" >&6; }
14041 SANE_CFLAGS=""
14042 else
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
14044 $as_echo "$ac_cv_lib_soname_sane" >&6; }
14046 cat >>confdefs.h <<_ACEOF
14047 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
14048 _ACEOF
14052 else
14053 SANE_CFLAGS=""
14057 CPPFLAGS=$ac_save_CPPFLAGS
14058 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14059 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14062 if test "x$ac_cv_lib_soname_sane" = "x"; then :
14063 case "x$with_sane" in
14064 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
14065 xno) ;;
14066 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
14067 This is an error since --with-sane was requested." "$LINENO" 5 ;;
14068 esac
14072 if test "x$with_usb" != "xno"
14073 then
14074 if ${USB_CFLAGS:+false} :; then :
14075 if ${PKG_CONFIG+:} false; then :
14076 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
14080 if ${USB_LIBS:+false} :; then :
14081 if ${PKG_CONFIG+:} false; then :
14082 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
14086 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
14087 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
14088 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
14089 ac_save_CPPFLAGS=$CPPFLAGS
14090 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
14091 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
14092 if test "x$ac_cv_header_libusb_h" = xyes; then :
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
14094 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
14095 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
14096 $as_echo_n "(cached) " >&6
14097 else
14098 ac_check_lib_save_LIBS=$LIBS
14099 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
14100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14103 /* Override any GCC internal prototype to avoid an error.
14104 Use char because int might match the return type of a GCC
14105 builtin and then its argument prototype would still apply. */
14106 #ifdef __cplusplus
14107 extern "C"
14108 #endif
14109 char libusb_interrupt_event_handler ();
14111 main ()
14113 return libusb_interrupt_event_handler ();
14115 return 0;
14117 _ACEOF
14118 if ac_fn_c_try_link "$LINENO"; then :
14119 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
14120 else
14121 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
14123 rm -f core conftest.err conftest.$ac_objext \
14124 conftest$ac_exeext conftest.$ac_ext
14125 LIBS=$ac_check_lib_save_LIBS
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
14128 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
14129 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
14131 else
14132 USB_LIBS=""
14135 else
14136 USB_LIBS=""
14140 CPPFLAGS=$ac_save_CPPFLAGS
14141 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14142 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14145 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
14146 case "x$with_usb" in
14147 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14148 xno) ;;
14149 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14150 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14151 esac
14152 enable_wineusb_sys=${enable_wineusb_sys:-no}
14155 if test "x$with_v4l2" != "xno"
14156 then
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14158 $as_echo_n "checking for -lv4l2... " >&6; }
14159 if ${ac_cv_lib_soname_v4l2+:} false; then :
14160 $as_echo_n "(cached) " >&6
14161 else
14162 ac_check_soname_save_LIBS=$LIBS
14163 LIBS="-lv4l2 $LIBS"
14164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14165 /* end confdefs.h. */
14167 /* Override any GCC internal prototype to avoid an error.
14168 Use char because int might match the return type of a GCC
14169 builtin and then its argument prototype would still apply. */
14170 #ifdef __cplusplus
14171 extern "C"
14172 #endif
14173 char v4l2_open ();
14175 main ()
14177 return v4l2_open ();
14179 return 0;
14181 _ACEOF
14182 if ac_fn_c_try_link "$LINENO"; then :
14183 case "$LIBEXT" in
14184 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14185 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'` ;;
14186 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14187 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14188 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14189 fi ;;
14190 esac
14191 else
14192 ac_cv_lib_soname_v4l2=
14194 rm -f core conftest.err conftest.$ac_objext \
14195 conftest$ac_exeext conftest.$ac_ext
14196 LIBS=$ac_check_soname_save_LIBS
14198 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14200 $as_echo "not found" >&6; }
14202 else
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14204 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14206 cat >>confdefs.h <<_ACEOF
14207 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14208 _ACEOF
14213 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14214 case "x$with_v4l2" in
14215 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14216 xno) ;;
14217 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14218 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14219 esac
14223 if test "x$with_gphoto" != "xno"
14224 then
14225 if ${GPHOTO2_CFLAGS:+false} :; then :
14226 if ${PKG_CONFIG+:} false; then :
14227 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14230 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14231 if ${GPHOTO2_LIBS:+false} :; then :
14232 if ${PKG_CONFIG+:} false; then :
14233 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14236 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14237 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14238 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14239 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14240 ac_save_CPPFLAGS=$CPPFLAGS
14241 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14242 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14243 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14245 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14246 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14247 $as_echo_n "(cached) " >&6
14248 else
14249 ac_check_lib_save_LIBS=$LIBS
14250 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14252 /* end confdefs.h. */
14254 /* Override any GCC internal prototype to avoid an error.
14255 Use char because int might match the return type of a GCC
14256 builtin and then its argument prototype would still apply. */
14257 #ifdef __cplusplus
14258 extern "C"
14259 #endif
14260 char gp_camera_new ();
14262 main ()
14264 return gp_camera_new ();
14266 return 0;
14268 _ACEOF
14269 if ac_fn_c_try_link "$LINENO"; then :
14270 ac_cv_lib_gphoto2_gp_camera_new=yes
14271 else
14272 ac_cv_lib_gphoto2_gp_camera_new=no
14274 rm -f core conftest.err conftest.$ac_objext \
14275 conftest$ac_exeext conftest.$ac_ext
14276 LIBS=$ac_check_lib_save_LIBS
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14279 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14280 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14282 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14284 else
14285 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14288 else
14289 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14293 CPPFLAGS=$ac_save_CPPFLAGS
14294 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14295 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14297 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14298 if ${PKG_CONFIG+:} false; then :
14299 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14302 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14303 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14304 if ${PKG_CONFIG+:} false; then :
14305 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14308 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14309 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14310 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14311 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14312 ac_save_CPPFLAGS=$CPPFLAGS
14313 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14314 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14315 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14317 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14318 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14319 $as_echo_n "(cached) " >&6
14320 else
14321 ac_check_lib_save_LIBS=$LIBS
14322 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14326 /* Override any GCC internal prototype to avoid an error.
14327 Use char because int might match the return type of a GCC
14328 builtin and then its argument prototype would still apply. */
14329 #ifdef __cplusplus
14330 extern "C"
14331 #endif
14332 char gp_port_info_list_new ();
14334 main ()
14336 return gp_port_info_list_new ();
14338 return 0;
14340 _ACEOF
14341 if ac_fn_c_try_link "$LINENO"; then :
14342 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14343 else
14344 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14346 rm -f core conftest.err conftest.$ac_objext \
14347 conftest$ac_exeext conftest.$ac_ext
14348 LIBS=$ac_check_lib_save_LIBS
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14351 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14352 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14354 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14356 else
14357 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14360 else
14361 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14365 CPPFLAGS=$ac_save_CPPFLAGS
14366 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14367 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14370 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14371 case "x$with_gphoto" in
14372 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14373 xno) ;;
14374 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14375 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14376 esac
14379 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14380 case "x$with_gphoto" in
14381 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14382 xno) ;;
14383 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14384 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14385 esac
14390 if test "$ac_cv_header_resolv_h" = "yes"
14391 then
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14393 $as_echo_n "checking for resolver library... " >&6; }
14394 if ${ac_cv_have_resolv+:} false; then :
14395 $as_echo_n "(cached) " >&6
14396 else
14397 ac_save_LIBS="$LIBS"
14398 for lib in '' -lresolv
14400 LIBS="$lib $ac_save_LIBS"
14401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14402 /* end confdefs.h. */
14403 #ifdef HAVE_NETINET_IN_H
14404 #include <netinet/in.h>
14405 #endif
14406 #include <resolv.h>
14408 main ()
14410 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14412 return 0;
14414 _ACEOF
14415 if ac_fn_c_try_link "$LINENO"; then :
14416 ac_cv_have_resolv=${lib:-"none required"}
14417 else
14418 ac_cv_have_resolv="not found"
14420 rm -f core conftest.err conftest.$ac_objext \
14421 conftest$ac_exeext conftest.$ac_ext
14422 test "x$ac_cv_have_resolv" = "xnot found" || break
14423 done
14424 LIBS="$ac_save_LIBS"
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14427 $as_echo "$ac_cv_have_resolv" >&6; }
14429 case "$ac_cv_have_resolv" in
14430 "not found") ;;
14431 "none required")
14433 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14436 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14438 RESOLV_LIBS=$ac_cv_have_resolv
14440 esac
14442 if test "x$ac_cv_have_resolv" != "xnot found"
14443 then
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14445 $as_echo_n "checking for res_getservers... " >&6; }
14446 if ${ac_cv_have_res_getservers+:} false; then :
14447 $as_echo_n "(cached) " >&6
14448 else
14449 ac_save_LIBS="$LIBS"
14450 LIBS="$RESOLV_LIBS $LIBS"
14451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14452 /* end confdefs.h. */
14453 #include <resolv.h>
14455 main ()
14457 res_getservers(NULL, NULL, 0);
14459 return 0;
14461 _ACEOF
14462 if ac_fn_c_try_link "$LINENO"; then :
14463 ac_cv_have_res_getservers=yes
14464 else
14465 ac_cv_have_res_getservers=no
14467 rm -f core conftest.err conftest.$ac_objext \
14468 conftest$ac_exeext conftest.$ac_ext
14469 LIBS="$ac_save_LIBS"
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14472 $as_echo "$ac_cv_have_res_getservers" >&6; }
14473 if test "$ac_cv_have_res_getservers" = "yes"
14474 then
14476 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14482 if test "x$with_cms" != "xno"
14483 then
14484 if ${LCMS2_CFLAGS:+false} :; then :
14485 if ${PKG_CONFIG+:} false; then :
14486 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14490 if ${LCMS2_LIBS:+false} :; then :
14491 if ${PKG_CONFIG+:} false; then :
14492 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14496 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14497 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14498 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14499 ac_save_CPPFLAGS=$CPPFLAGS
14500 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14501 for ac_header in lcms2.h
14502 do :
14503 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14504 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14505 cat >>confdefs.h <<_ACEOF
14506 #define HAVE_LCMS2_H 1
14507 _ACEOF
14511 done
14513 if test "$ac_cv_header_lcms2_h" = "yes"
14514 then
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14516 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14517 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14518 $as_echo_n "(cached) " >&6
14519 else
14520 ac_check_lib_save_LIBS=$LIBS
14521 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14523 /* end confdefs.h. */
14525 /* Override any GCC internal prototype to avoid an error.
14526 Use char because int might match the return type of a GCC
14527 builtin and then its argument prototype would still apply. */
14528 #ifdef __cplusplus
14529 extern "C"
14530 #endif
14531 char cmsOpenProfileFromFile ();
14533 main ()
14535 return cmsOpenProfileFromFile ();
14537 return 0;
14539 _ACEOF
14540 if ac_fn_c_try_link "$LINENO"; then :
14541 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14542 else
14543 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14545 rm -f core conftest.err conftest.$ac_objext \
14546 conftest$ac_exeext conftest.$ac_ext
14547 LIBS=$ac_check_lib_save_LIBS
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14550 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14551 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14553 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14555 else
14556 LCMS2_LIBS=""
14559 else
14560 LCMS2_CFLAGS=""
14561 LCMS2_LIBS=""
14563 CPPFLAGS=$ac_save_CPPFLAGS
14564 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14565 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14568 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14569 case "x$with_cms" in
14570 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14571 xno) ;;
14572 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14573 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14574 esac
14578 if test "x$with_freetype" != "xno"
14579 then
14580 if ${FREETYPE_CFLAGS:+false} :; then :
14581 if ${PKG_CONFIG+:} false; then :
14582 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14585 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14586 if ${FREETYPE_LIBS:+false} :; then :
14587 if ${PKG_CONFIG+:} false; then :
14588 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14591 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14592 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14593 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14594 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14595 ac_save_CPPFLAGS=$CPPFLAGS
14596 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14597 for ac_header in ft2build.h
14598 do :
14599 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14600 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14601 cat >>confdefs.h <<_ACEOF
14602 #define HAVE_FT2BUILD_H 1
14603 _ACEOF
14607 done
14609 if test "$ac_cv_header_ft2build_h" = "yes"
14610 then
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14612 $as_echo_n "checking for -lfreetype... " >&6; }
14613 if ${ac_cv_lib_soname_freetype+:} false; then :
14614 $as_echo_n "(cached) " >&6
14615 else
14616 ac_check_soname_save_LIBS=$LIBS
14617 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14619 /* end confdefs.h. */
14621 /* Override any GCC internal prototype to avoid an error.
14622 Use char because int might match the return type of a GCC
14623 builtin and then its argument prototype would still apply. */
14624 #ifdef __cplusplus
14625 extern "C"
14626 #endif
14627 char FT_Init_FreeType ();
14629 main ()
14631 return FT_Init_FreeType ();
14633 return 0;
14635 _ACEOF
14636 if ac_fn_c_try_link "$LINENO"; then :
14637 case "$LIBEXT" in
14638 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14639 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'` ;;
14640 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14641 if ${ac_cv_lib_soname_freetype:+false} :; then :
14642 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14643 fi ;;
14644 esac
14645 else
14646 ac_cv_lib_soname_freetype=
14648 rm -f core conftest.err conftest.$ac_objext \
14649 conftest$ac_exeext conftest.$ac_ext
14650 LIBS=$ac_check_soname_save_LIBS
14652 if ${ac_cv_lib_soname_freetype:+false} :; then :
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14654 $as_echo "not found" >&6; }
14655 FREETYPE_LIBS=""
14656 else
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14658 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14660 cat >>confdefs.h <<_ACEOF
14661 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14662 _ACEOF
14665 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14667 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14668 #include FT_MODULE_H
14670 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14672 cat >>confdefs.h <<_ACEOF
14673 #define HAVE_FT_TRUETYPEENGINETYPE 1
14674 _ACEOF
14680 else
14681 FREETYPE_CFLAGS=""
14682 FREETYPE_LIBS=""
14684 CPPFLAGS=$ac_save_CPPFLAGS
14685 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14686 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14689 if test "x$ac_cv_lib_soname_freetype" = x; then :
14690 case "x$with_freetype" in
14691 xno) ;;
14692 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14693 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14694 esac
14695 enable_fonts=${enable_fonts:-no}
14698 ac_wine_check_funcs_save_LIBS="$LIBS"
14699 LIBS="$LIBS $PTHREAD_LIBS"
14700 for ac_func in \
14701 pthread_getthreadid_np
14702 do :
14703 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14704 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14705 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14706 cat >>confdefs.h <<_ACEOF
14707 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14708 _ACEOF
14711 done
14713 LIBS="$ac_wine_check_funcs_save_LIBS"
14715 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14716 then
14717 if test "$ac_cv_header_gettext_po_h" = "yes"
14718 then
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14720 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14721 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14722 $as_echo_n "(cached) " >&6
14723 else
14724 ac_check_lib_save_LIBS=$LIBS
14725 LIBS="-lgettextpo $LIBS"
14726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h. */
14729 /* Override any GCC internal prototype to avoid an error.
14730 Use char because int might match the return type of a GCC
14731 builtin and then its argument prototype would still apply. */
14732 #ifdef __cplusplus
14733 extern "C"
14734 #endif
14735 char po_message_msgctxt ();
14737 main ()
14739 return po_message_msgctxt ();
14741 return 0;
14743 _ACEOF
14744 if ac_fn_c_try_link "$LINENO"; then :
14745 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14746 else
14747 ac_cv_lib_gettextpo_po_message_msgctxt=no
14749 rm -f core conftest.err conftest.$ac_objext \
14750 conftest$ac_exeext conftest.$ac_ext
14751 LIBS=$ac_check_lib_save_LIBS
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14754 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14755 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14757 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14759 GETTEXTPO_LIBS="-lgettextpo"
14764 if test "x$GETTEXTPO_LIBS" = "x"; then :
14765 case "x$with_gettextpo" in
14766 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14767 xno) ;;
14768 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14769 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14770 esac
14773 if test "$srcdir" != .; then :
14774 case "x$with_gettextpo" in
14775 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14776 xno) ;;
14777 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14778 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14779 esac
14784 if test "x$with_pulse" != "xno";
14785 then
14786 if ${PULSE_CFLAGS:+false} :; then :
14787 if ${PKG_CONFIG+:} false; then :
14788 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14792 if ${PULSE_LIBS:+false} :; then :
14793 if ${PKG_CONFIG+:} false; then :
14794 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14799 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14800 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14801 ac_save_CPPFLAGS=$CPPFLAGS
14802 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14803 for ac_header in pulse/pulseaudio.h
14804 do :
14805 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14806 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14807 cat >>confdefs.h <<_ACEOF
14808 #define HAVE_PULSE_PULSEAUDIO_H 1
14809 _ACEOF
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14811 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14812 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14813 $as_echo_n "(cached) " >&6
14814 else
14815 ac_check_lib_save_LIBS=$LIBS
14816 LIBS="-lpulse $PULSE_LIBS $LIBS"
14817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14818 /* end confdefs.h. */
14820 /* Override any GCC internal prototype to avoid an error.
14821 Use char because int might match the return type of a GCC
14822 builtin and then its argument prototype would still apply. */
14823 #ifdef __cplusplus
14824 extern "C"
14825 #endif
14826 char pa_stream_is_corked ();
14828 main ()
14830 return pa_stream_is_corked ();
14832 return 0;
14834 _ACEOF
14835 if ac_fn_c_try_link "$LINENO"; then :
14836 ac_cv_lib_pulse_pa_stream_is_corked=yes
14837 else
14838 ac_cv_lib_pulse_pa_stream_is_corked=no
14840 rm -f core conftest.err conftest.$ac_objext \
14841 conftest$ac_exeext conftest.$ac_ext
14842 LIBS=$ac_check_lib_save_LIBS
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14845 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14846 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14848 else
14849 PULSE_LIBS=""
14852 else
14853 PULSE_LIBS=""
14856 done
14858 CPPFLAGS=$ac_save_CPPFLAGS
14859 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14860 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14863 if test -z "$PULSE_LIBS"; then :
14864 case "x$with_pulse" in
14865 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14866 xno) ;;
14867 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14868 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14869 esac
14870 enable_winepulse_drv=${enable_winepulse_drv:-no}
14873 if test "x$with_gstreamer" != "xno"
14874 then
14875 if ${GSTREAMER_CFLAGS:+false} :; then :
14876 if ${PKG_CONFIG+:} false; then :
14877 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14881 if ${GSTREAMER_LIBS:+false} :; then :
14882 if ${PKG_CONFIG+:} false; then :
14883 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14888 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14889 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14890 ac_save_CPPFLAGS=$CPPFLAGS
14891 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14892 ac_gst_incl=""
14893 for i in $GSTREAMER_CFLAGS
14895 case "$i" in
14896 -I*) ac_gst_incl="$ac_gst_incl $i";;
14897 esac
14898 done
14899 GSTREAMER_CFLAGS=$ac_gst_incl
14900 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14901 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14902 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14904 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14906 /* end confdefs.h. */
14907 #include <gst/gst.h>
14909 main ()
14911 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14913 return 0;
14915 _ACEOF
14916 if ac_fn_c_try_compile "$LINENO"; then :
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14918 $as_echo "yes" >&6; }
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14920 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14921 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14922 $as_echo_n "(cached) " >&6
14923 else
14924 ac_check_lib_save_LIBS=$LIBS
14925 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14927 /* end confdefs.h. */
14929 /* Override any GCC internal prototype to avoid an error.
14930 Use char because int might match the return type of a GCC
14931 builtin and then its argument prototype would still apply. */
14932 #ifdef __cplusplus
14933 extern "C"
14934 #endif
14935 char gst_pad_new ();
14937 main ()
14939 return gst_pad_new ();
14941 return 0;
14943 _ACEOF
14944 if ac_fn_c_try_link "$LINENO"; then :
14945 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14946 else
14947 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14949 rm -f core conftest.err conftest.$ac_objext \
14950 conftest$ac_exeext conftest.$ac_ext
14951 LIBS=$ac_check_lib_save_LIBS
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14954 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14955 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14959 else
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14961 $as_echo "no" >&6; }
14962 ac_glib2_broken=yes
14963 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14969 CPPFLAGS=$ac_save_CPPFLAGS
14970 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14971 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14974 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 :
14975 case "x$with_gstreamer" in
14976 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14977 xno) ;;
14978 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14979 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14980 esac
14983 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14985 ALSA_LIBS=""
14987 if test "x$with_alsa" != "xno"
14988 then
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14990 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14991 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14992 $as_echo_n "(cached) " >&6
14993 else
14994 ac_check_lib_save_LIBS=$LIBS
14995 LIBS="-lasound $LIBS"
14996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14997 /* end confdefs.h. */
14999 /* Override any GCC internal prototype to avoid an error.
15000 Use char because int might match the return type of a GCC
15001 builtin and then its argument prototype would still apply. */
15002 #ifdef __cplusplus
15003 extern "C"
15004 #endif
15005 char snd_pcm_hw_params_get_access_mask ();
15007 main ()
15009 return snd_pcm_hw_params_get_access_mask ();
15011 return 0;
15013 _ACEOF
15014 if ac_fn_c_try_link "$LINENO"; then :
15015 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
15016 else
15017 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
15019 rm -f core conftest.err conftest.$ac_objext \
15020 conftest$ac_exeext conftest.$ac_ext
15021 LIBS=$ac_check_lib_save_LIBS
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
15024 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
15025 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
15026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15028 #include <alsa/asoundlib.h>
15030 main ()
15032 snd_pcm_hw_params_get_access_mask(NULL, NULL)
15034 return 0;
15036 _ACEOF
15037 if ac_fn_c_try_compile "$LINENO"; then :
15038 ALSA_LIBS="-lasound"
15040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15044 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
15046 if test "x$with_oss" != xno
15047 then
15048 ac_save_CPPFLAGS="$CPPFLAGS"
15049 if test -f /etc/oss.conf
15050 then
15051 . /etc/oss.conf
15053 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
15054 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
15055 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
15056 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
15057 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
15059 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
15061 cat >>confdefs.h <<_ACEOF
15062 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
15063 _ACEOF
15065 OSS4_CFLAGS="$ac_oss_incl"
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
15068 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
15069 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
15070 $as_echo_n "(cached) " >&6
15071 else
15072 ac_check_lib_save_LIBS=$LIBS
15073 LIBS="-lossaudio $LIBS"
15074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 /* end confdefs.h. */
15077 /* Override any GCC internal prototype to avoid an error.
15078 Use char because int might match the return type of a GCC
15079 builtin and then its argument prototype would still apply. */
15080 #ifdef __cplusplus
15081 extern "C"
15082 #endif
15083 char _oss_ioctl ();
15085 main ()
15087 return _oss_ioctl ();
15089 return 0;
15091 _ACEOF
15092 if ac_fn_c_try_link "$LINENO"; then :
15093 ac_cv_lib_ossaudio__oss_ioctl=yes
15094 else
15095 ac_cv_lib_ossaudio__oss_ioctl=no
15097 rm -f core conftest.err conftest.$ac_objext \
15098 conftest$ac_exeext conftest.$ac_ext
15099 LIBS=$ac_check_lib_save_LIBS
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
15102 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
15103 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
15104 OSS4_LIBS="-lossaudio"
15113 CPPFLAGS="$ac_save_CPPFLAGS"
15115 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
15116 case "x$with_oss" in
15117 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
15118 xno) ;;
15119 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
15120 This is an error since --with-oss was requested." "$LINENO" 5 ;;
15121 esac
15122 enable_wineoss_drv=${enable_wineoss_drv:-no}
15125 if test "x$with_udev" != "xno"
15126 then
15127 if ${UDEV_CFLAGS:+false} :; then :
15128 if ${PKG_CONFIG+:} false; then :
15129 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
15133 if ${UDEV_LIBS:+false} :; then :
15134 if ${PKG_CONFIG+:} false; then :
15135 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
15139 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
15140 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
15141 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
15142 ac_save_CPPFLAGS=$CPPFLAGS
15143 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
15144 for ac_header in libudev.h
15145 do :
15146 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15147 if test "x$ac_cv_header_libudev_h" = xyes; then :
15148 cat >>confdefs.h <<_ACEOF
15149 #define HAVE_LIBUDEV_H 1
15150 _ACEOF
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15152 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15153 if ${ac_cv_lib_udev_udev_new+:} false; then :
15154 $as_echo_n "(cached) " >&6
15155 else
15156 ac_check_lib_save_LIBS=$LIBS
15157 LIBS="-ludev $UDEV_LIBS $LIBS"
15158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15159 /* end confdefs.h. */
15161 /* Override any GCC internal prototype to avoid an error.
15162 Use char because int might match the return type of a GCC
15163 builtin and then its argument prototype would still apply. */
15164 #ifdef __cplusplus
15165 extern "C"
15166 #endif
15167 char udev_new ();
15169 main ()
15171 return udev_new ();
15173 return 0;
15175 _ACEOF
15176 if ac_fn_c_try_link "$LINENO"; then :
15177 ac_cv_lib_udev_udev_new=yes
15178 else
15179 ac_cv_lib_udev_udev_new=no
15181 rm -f core conftest.err conftest.$ac_objext \
15182 conftest$ac_exeext conftest.$ac_ext
15183 LIBS=$ac_check_lib_save_LIBS
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15186 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15187 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15189 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15191 else
15192 UDEV_LIBS=""
15195 else
15196 UDEV_LIBS=""
15199 done
15201 CPPFLAGS=$ac_save_CPPFLAGS
15202 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15203 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15206 if test "x$UDEV_LIBS" = "x"; then :
15207 case "x$with_udev" in
15208 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15209 xno) ;;
15210 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15211 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15212 esac
15216 if test "x$with_unwind" != xno
15217 then
15218 if ${UNWIND_CFLAGS:+false} :; then :
15219 if ${PKG_CONFIG+:} false; then :
15220 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15224 if ${UNWIND_LIBS:+false} :; then :
15225 if ${PKG_CONFIG+:} false; then :
15226 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15230 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15231 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15232 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15233 ac_save_CPPFLAGS=$CPPFLAGS
15234 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15236 $as_echo_n "checking for unw_step... " >&6; }
15237 if ${wine_cv_have_unw_step+:} false; then :
15238 $as_echo_n "(cached) " >&6
15239 else
15240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15241 /* end confdefs.h. */
15242 #define UNW_LOCAL_ONLY
15243 #include <libunwind.h>
15245 main ()
15247 unw_cursor_t cursor; unw_step( &cursor );
15249 return 0;
15251 _ACEOF
15252 if ac_fn_c_try_link "$LINENO"; then :
15253 wine_cv_have_unw_step="yes"
15254 else
15255 wine_cv_have_unw_step="no"
15257 rm -f core conftest.err conftest.$ac_objext \
15258 conftest$ac_exeext conftest.$ac_ext
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15261 $as_echo "$wine_cv_have_unw_step" >&6; }
15262 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15263 then
15264 save_libs=$LIBS
15265 LIBS="$UNWIND_LIBS $LIBS"
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15267 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15268 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15269 $as_echo_n "(cached) " >&6
15270 else
15271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15273 #define UNW_LOCAL_ONLY
15274 #include <libunwind.h>
15276 main ()
15278 unw_cursor_t cursor; unw_step( &cursor );
15280 return 0;
15282 _ACEOF
15283 if ac_fn_c_try_link "$LINENO"; then :
15284 wine_cv_have_libunwind_unw_step="yes"
15285 else
15286 wine_cv_have_libunwind_unw_step="no"
15288 rm -f core conftest.err conftest.$ac_objext \
15289 conftest$ac_exeext conftest.$ac_ext
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15292 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15293 LIBS=$save_libs
15295 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15296 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15297 then
15299 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15302 CPPFLAGS=$ac_save_CPPFLAGS
15303 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15304 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15307 case $host in
15308 aarch64*|*-darwin*)
15309 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15310 case "x$with_unwind" in
15311 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15312 xno) ;;
15313 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15314 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15315 esac
15317 fi ;;
15318 esac
15320 if test "x$with_sdl" != "xno"
15321 then
15322 if ${SDL2_CFLAGS:+false} :; then :
15323 if ${PKG_CONFIG+:} false; then :
15324 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15328 if ${SDL2_LIBS:+false} :; then :
15329 if ${PKG_CONFIG+:} false; then :
15330 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15334 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15335 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15336 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15337 ac_save_CPPFLAGS=$CPPFLAGS
15338 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15339 for ac_header in SDL2/SDL.h
15340 do :
15341 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15342 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15343 cat >>confdefs.h <<_ACEOF
15344 #define HAVE_SDL2_SDL_H 1
15345 _ACEOF
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15347 $as_echo_n "checking for -lSDL2... " >&6; }
15348 if ${ac_cv_lib_soname_SDL2+:} false; then :
15349 $as_echo_n "(cached) " >&6
15350 else
15351 ac_check_soname_save_LIBS=$LIBS
15352 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354 /* end confdefs.h. */
15356 /* Override any GCC internal prototype to avoid an error.
15357 Use char because int might match the return type of a GCC
15358 builtin and then its argument prototype would still apply. */
15359 #ifdef __cplusplus
15360 extern "C"
15361 #endif
15362 char SDL_Init ();
15364 main ()
15366 return SDL_Init ();
15368 return 0;
15370 _ACEOF
15371 if ac_fn_c_try_link "$LINENO"; then :
15372 case "$LIBEXT" in
15373 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15374 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'` ;;
15375 *) 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'`
15376 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15377 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15378 fi ;;
15379 esac
15380 else
15381 ac_cv_lib_soname_SDL2=
15383 rm -f core conftest.err conftest.$ac_objext \
15384 conftest$ac_exeext conftest.$ac_ext
15385 LIBS=$ac_check_soname_save_LIBS
15387 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15389 $as_echo "not found" >&6; }
15391 else
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15393 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15395 cat >>confdefs.h <<_ACEOF
15396 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15397 _ACEOF
15403 done
15405 CPPFLAGS=$ac_save_CPPFLAGS
15406 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15407 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15410 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15411 case "x$with_sdl" in
15412 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15413 xno) ;;
15414 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15415 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15416 esac
15420 if test "x$with_faudio" != "xno"
15421 then
15422 if ${FAUDIO_CFLAGS:+false} :; then :
15423 if ${PKG_CONFIG+:} false; then :
15424 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15428 if ${FAUDIO_LIBS:+false} :; then :
15429 if ${PKG_CONFIG+:} false; then :
15430 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15434 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15435 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15436 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15437 ac_save_CPPFLAGS=$CPPFLAGS
15438 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15439 for ac_header in FAudio.h
15440 do :
15441 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15442 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15443 cat >>confdefs.h <<_ACEOF
15444 #define HAVE_FAUDIO_H 1
15445 _ACEOF
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15447 $as_echo_n "checking for -lFAudio... " >&6; }
15448 if ${ac_cv_lib_soname_FAudio+:} false; then :
15449 $as_echo_n "(cached) " >&6
15450 else
15451 ac_check_soname_save_LIBS=$LIBS
15452 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15454 /* end confdefs.h. */
15456 /* Override any GCC internal prototype to avoid an error.
15457 Use char because int might match the return type of a GCC
15458 builtin and then its argument prototype would still apply. */
15459 #ifdef __cplusplus
15460 extern "C"
15461 #endif
15462 char FAudioCreate ();
15464 main ()
15466 return FAudioCreate ();
15468 return 0;
15470 _ACEOF
15471 if ac_fn_c_try_link "$LINENO"; then :
15472 case "$LIBEXT" in
15473 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15474 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'` ;;
15475 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15476 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15477 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15478 fi ;;
15479 esac
15480 else
15481 ac_cv_lib_soname_FAudio=
15483 rm -f core conftest.err conftest.$ac_objext \
15484 conftest$ac_exeext conftest.$ac_ext
15485 LIBS=$ac_check_soname_save_LIBS
15487 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15489 $as_echo "not found" >&6; }
15491 else
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15493 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15495 cat >>confdefs.h <<_ACEOF
15496 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15497 _ACEOF
15503 done
15505 ac_wine_check_funcs_save_LIBS="$LIBS"
15506 LIBS="$LIBS $FAUDIO_LIBS"
15507 for ac_func in FAudio_CommitOperationSet \
15508 F3DAudioInitialize8 \
15509 FAudioLinkedVersion
15510 do :
15511 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15512 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15513 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15514 cat >>confdefs.h <<_ACEOF
15515 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15516 _ACEOF
15519 done
15521 LIBS="$ac_wine_check_funcs_save_LIBS"
15523 CPPFLAGS=$ac_save_CPPFLAGS
15524 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15525 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15528 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15529 case "x$with_faudio" in
15530 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15531 xno) ;;
15532 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15533 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15534 esac
15538 if test "x$with_capi" != "xno"
15539 then
15540 if ${CAPI20_CFLAGS:+false} :; then :
15541 if ${PKG_CONFIG+:} false; then :
15542 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15546 if ${CAPI20_LIBS:+false} :; then :
15547 if ${PKG_CONFIG+:} false; then :
15548 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15553 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15554 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15555 ac_save_CPPFLAGS=$CPPFLAGS
15556 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15557 for ac_header in capi20.h linux/capi.h
15558 do :
15559 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15560 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15562 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15563 cat >>confdefs.h <<_ACEOF
15564 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15565 _ACEOF
15569 done
15571 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15572 then
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15574 $as_echo_n "checking for -lcapi20... " >&6; }
15575 if ${ac_cv_lib_soname_capi20+:} false; then :
15576 $as_echo_n "(cached) " >&6
15577 else
15578 ac_check_soname_save_LIBS=$LIBS
15579 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15581 /* end confdefs.h. */
15583 /* Override any GCC internal prototype to avoid an error.
15584 Use char because int might match the return type of a GCC
15585 builtin and then its argument prototype would still apply. */
15586 #ifdef __cplusplus
15587 extern "C"
15588 #endif
15589 char capi20_register ();
15591 main ()
15593 return capi20_register ();
15595 return 0;
15597 _ACEOF
15598 if ac_fn_c_try_link "$LINENO"; then :
15599 case "$LIBEXT" in
15600 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15601 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'` ;;
15602 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15603 if ${ac_cv_lib_soname_capi20:+false} :; then :
15604 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15605 fi ;;
15606 esac
15607 else
15608 ac_cv_lib_soname_capi20=
15610 rm -f core conftest.err conftest.$ac_objext \
15611 conftest$ac_exeext conftest.$ac_ext
15612 LIBS=$ac_check_soname_save_LIBS
15614 if ${ac_cv_lib_soname_capi20:+false} :; then :
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15616 $as_echo "not found" >&6; }
15618 else
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15620 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15622 cat >>confdefs.h <<_ACEOF
15623 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15624 _ACEOF
15629 CPPFLAGS=$ac_save_CPPFLAGS
15630 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15631 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15634 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15635 case "x$with_capi" in
15636 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15637 xno) ;;
15638 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15639 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15640 esac
15644 if test "x$with_cups" != "xno"
15645 then
15646 if ${CUPS_CFLAGS:+false} :; then :
15647 if ${PKG_CONFIG+:} false; then :
15648 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15651 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15652 if ${CUPS_LIBS:+false} :; then :
15653 if ${PKG_CONFIG+:} false; then :
15654 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15657 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15658 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15659 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15660 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15661 ac_save_CPPFLAGS=$CPPFLAGS
15662 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15663 for ac_header in cups/cups.h cups/ppd.h
15664 do :
15665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15666 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15667 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15668 cat >>confdefs.h <<_ACEOF
15669 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15670 _ACEOF
15674 done
15676 if test "$ac_cv_header_cups_cups_h" = "yes"
15677 then
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15679 $as_echo_n "checking for -lcups... " >&6; }
15680 if ${ac_cv_lib_soname_cups+:} false; then :
15681 $as_echo_n "(cached) " >&6
15682 else
15683 ac_check_soname_save_LIBS=$LIBS
15684 LIBS="-lcups $CUPS_LIBS $LIBS"
15685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15686 /* end confdefs.h. */
15688 /* Override any GCC internal prototype to avoid an error.
15689 Use char because int might match the return type of a GCC
15690 builtin and then its argument prototype would still apply. */
15691 #ifdef __cplusplus
15692 extern "C"
15693 #endif
15694 char cupsGetDefault ();
15696 main ()
15698 return cupsGetDefault ();
15700 return 0;
15702 _ACEOF
15703 if ac_fn_c_try_link "$LINENO"; then :
15704 case "$LIBEXT" in
15705 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15706 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'` ;;
15707 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15708 if ${ac_cv_lib_soname_cups:+false} :; then :
15709 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15710 fi ;;
15711 esac
15712 else
15713 ac_cv_lib_soname_cups=
15715 rm -f core conftest.err conftest.$ac_objext \
15716 conftest$ac_exeext conftest.$ac_ext
15717 LIBS=$ac_check_soname_save_LIBS
15719 if ${ac_cv_lib_soname_cups:+false} :; then :
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15721 $as_echo "not found" >&6; }
15722 CUPS_LIBS=""
15723 else
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15725 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15727 cat >>confdefs.h <<_ACEOF
15728 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15729 _ACEOF
15733 else
15734 CUPS_CFLAGS=""
15735 CUPS_LIBS=""
15737 CPPFLAGS=$ac_save_CPPFLAGS
15738 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15739 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15742 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15743 case "x$with_cups" in
15744 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15745 xno) ;;
15746 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15747 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15748 esac
15752 if test "x$with_fontconfig" != "xno"
15753 then
15754 if ${FONTCONFIG_CFLAGS:+false} :; then :
15755 if ${PKG_CONFIG+:} false; then :
15756 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15759 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15760 if ${FONTCONFIG_LIBS:+false} :; then :
15761 if ${PKG_CONFIG+:} false; then :
15762 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15765 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15767 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15768 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15769 ac_save_CPPFLAGS=$CPPFLAGS
15770 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15771 for ac_header in fontconfig/fontconfig.h
15772 do :
15773 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15774 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15775 cat >>confdefs.h <<_ACEOF
15776 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15777 _ACEOF
15781 done
15783 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15784 then
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15786 $as_echo_n "checking for -lfontconfig... " >&6; }
15787 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15788 $as_echo_n "(cached) " >&6
15789 else
15790 ac_check_soname_save_LIBS=$LIBS
15791 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15793 /* end confdefs.h. */
15795 /* Override any GCC internal prototype to avoid an error.
15796 Use char because int might match the return type of a GCC
15797 builtin and then its argument prototype would still apply. */
15798 #ifdef __cplusplus
15799 extern "C"
15800 #endif
15801 char FcInit ();
15803 main ()
15805 return FcInit ();
15807 return 0;
15809 _ACEOF
15810 if ac_fn_c_try_link "$LINENO"; then :
15811 case "$LIBEXT" in
15812 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15813 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'` ;;
15814 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15815 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15816 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15817 fi ;;
15818 esac
15819 else
15820 ac_cv_lib_soname_fontconfig=
15822 rm -f core conftest.err conftest.$ac_objext \
15823 conftest$ac_exeext conftest.$ac_ext
15824 LIBS=$ac_check_soname_save_LIBS
15826 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15828 $as_echo "not found" >&6; }
15829 FONTCONFIG_CFLAGS=""
15830 else
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15832 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15834 cat >>confdefs.h <<_ACEOF
15835 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15836 _ACEOF
15840 else
15841 FONTCONFIG_CFLAGS=""
15843 CPPFLAGS=$ac_save_CPPFLAGS
15844 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15845 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15848 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15849 case "x$with_fontconfig" in
15850 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15851 xno) ;;
15852 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15853 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15854 esac
15858 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15859 then
15860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15861 $as_echo_n "checking for -lgsm... " >&6; }
15862 if ${ac_cv_lib_soname_gsm+:} false; then :
15863 $as_echo_n "(cached) " >&6
15864 else
15865 ac_check_soname_save_LIBS=$LIBS
15866 LIBS="-lgsm $LIBS"
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15870 /* Override any GCC internal prototype to avoid an error.
15871 Use char because int might match the return type of a GCC
15872 builtin and then its argument prototype would still apply. */
15873 #ifdef __cplusplus
15874 extern "C"
15875 #endif
15876 char gsm_create ();
15878 main ()
15880 return gsm_create ();
15882 return 0;
15884 _ACEOF
15885 if ac_fn_c_try_link "$LINENO"; then :
15886 case "$LIBEXT" in
15887 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15888 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'` ;;
15889 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15890 if ${ac_cv_lib_soname_gsm:+false} :; then :
15891 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15892 fi ;;
15893 esac
15894 else
15895 ac_cv_lib_soname_gsm=
15897 rm -f core conftest.err conftest.$ac_objext \
15898 conftest$ac_exeext conftest.$ac_ext
15899 LIBS=$ac_check_soname_save_LIBS
15901 if ${ac_cv_lib_soname_gsm:+false} :; then :
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15903 $as_echo "not found" >&6; }
15905 else
15906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15907 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15909 cat >>confdefs.h <<_ACEOF
15910 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15911 _ACEOF
15916 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15917 case "x$with_gsm" in
15918 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15919 xno) ;;
15920 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15921 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15922 esac
15926 if test "x$with_krb5" != "xno"
15927 then
15928 if ${KRB5_CFLAGS:+false} :; then :
15929 if ${PKG_CONFIG+:} false; then :
15930 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15933 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15934 if ${KRB5_LIBS:+false} :; then :
15935 if ${PKG_CONFIG+:} false; then :
15936 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15939 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15941 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15942 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15943 ac_save_CPPFLAGS=$CPPFLAGS
15944 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15945 for ac_header in krb5/krb5.h
15946 do :
15947 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15948 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15949 cat >>confdefs.h <<_ACEOF
15950 #define HAVE_KRB5_KRB5_H 1
15951 _ACEOF
15955 done
15957 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15958 then
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15960 $as_echo_n "checking for -lkrb5... " >&6; }
15961 if ${ac_cv_lib_soname_krb5+:} false; then :
15962 $as_echo_n "(cached) " >&6
15963 else
15964 ac_check_soname_save_LIBS=$LIBS
15965 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15967 /* end confdefs.h. */
15969 /* Override any GCC internal prototype to avoid an error.
15970 Use char because int might match the return type of a GCC
15971 builtin and then its argument prototype would still apply. */
15972 #ifdef __cplusplus
15973 extern "C"
15974 #endif
15975 char krb5_is_config_principal ();
15977 main ()
15979 return krb5_is_config_principal ();
15981 return 0;
15983 _ACEOF
15984 if ac_fn_c_try_link "$LINENO"; then :
15985 case "$LIBEXT" in
15986 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15987 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'` ;;
15988 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15989 if ${ac_cv_lib_soname_krb5:+false} :; then :
15990 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15991 fi ;;
15992 esac
15993 else
15994 ac_cv_lib_soname_krb5=
15996 rm -f core conftest.err conftest.$ac_objext \
15997 conftest$ac_exeext conftest.$ac_ext
15998 LIBS=$ac_check_soname_save_LIBS
16000 if ${ac_cv_lib_soname_krb5:+false} :; then :
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16002 $as_echo "not found" >&6; }
16003 KRB5_CFLAGS=""
16004 else
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
16006 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
16008 cat >>confdefs.h <<_ACEOF
16009 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
16010 _ACEOF
16014 else
16015 KRB5_CFLAGS=""
16017 CPPFLAGS=$ac_save_CPPFLAGS
16018 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16019 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16022 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
16023 case "x$with_krb5" in
16024 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
16025 xno) ;;
16026 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
16027 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
16028 esac
16031 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
16033 if test "x$with_gssapi" != "xno"
16034 then
16035 if ${GSSAPI_CFLAGS:+false} :; then :
16036 if ${PKG_CONFIG+:} false; then :
16037 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
16040 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
16041 if ${GSSAPI_LIBS:+false} :; then :
16042 if ${PKG_CONFIG+:} false; then :
16043 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
16046 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
16048 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
16049 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
16050 ac_save_CPPFLAGS=$CPPFLAGS
16051 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
16052 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
16053 do :
16054 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16055 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16056 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16057 cat >>confdefs.h <<_ACEOF
16058 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16059 _ACEOF
16063 done
16065 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
16066 then
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
16068 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
16069 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
16070 $as_echo_n "(cached) " >&6
16071 else
16072 ac_check_soname_save_LIBS=$LIBS
16073 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
16074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16075 /* end confdefs.h. */
16077 /* Override any GCC internal prototype to avoid an error.
16078 Use char because int might match the return type of a GCC
16079 builtin and then its argument prototype would still apply. */
16080 #ifdef __cplusplus
16081 extern "C"
16082 #endif
16083 char gss_init_sec_context ();
16085 main ()
16087 return gss_init_sec_context ();
16089 return 0;
16091 _ACEOF
16092 if ac_fn_c_try_link "$LINENO"; then :
16093 case "$LIBEXT" in
16094 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16095 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'` ;;
16096 *) 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'`
16097 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16098 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16099 fi ;;
16100 esac
16101 else
16102 ac_cv_lib_soname_gssapi_krb5=
16104 rm -f core conftest.err conftest.$ac_objext \
16105 conftest$ac_exeext conftest.$ac_ext
16106 LIBS=$ac_check_soname_save_LIBS
16108 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16110 $as_echo "not found" >&6; }
16111 GSSAPI_CFLAGS=""
16112 else
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
16114 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
16116 cat >>confdefs.h <<_ACEOF
16117 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
16118 _ACEOF
16122 else
16123 GSSAPI_CFLAGS=""
16125 CPPFLAGS=$ac_save_CPPFLAGS
16126 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16127 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16130 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
16131 case "x$with_gssapi" in
16132 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
16133 xno) ;;
16134 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
16135 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
16136 esac
16140 if test "x$with_jpeg" != "xno"
16141 then
16142 if ${JPEG_CFLAGS:+false} :; then :
16143 if ${PKG_CONFIG+:} false; then :
16144 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16148 if ${JPEG_LIBS:+false} :; then :
16149 if ${PKG_CONFIG+:} false; then :
16150 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16155 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16156 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16157 ac_save_CPPFLAGS=$CPPFLAGS
16158 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16159 for ac_header in jpeglib.h
16160 do :
16161 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16162 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16163 cat >>confdefs.h <<_ACEOF
16164 #define HAVE_JPEGLIB_H 1
16165 _ACEOF
16169 done
16171 if test "$ac_cv_header_jpeglib_h" = "yes"
16172 then
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16174 $as_echo_n "checking for -ljpeg... " >&6; }
16175 if ${ac_cv_lib_soname_jpeg+:} false; then :
16176 $as_echo_n "(cached) " >&6
16177 else
16178 ac_check_soname_save_LIBS=$LIBS
16179 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16181 /* end confdefs.h. */
16183 /* Override any GCC internal prototype to avoid an error.
16184 Use char because int might match the return type of a GCC
16185 builtin and then its argument prototype would still apply. */
16186 #ifdef __cplusplus
16187 extern "C"
16188 #endif
16189 char jpeg_start_decompress ();
16191 main ()
16193 return jpeg_start_decompress ();
16195 return 0;
16197 _ACEOF
16198 if ac_fn_c_try_link "$LINENO"; then :
16199 case "$LIBEXT" in
16200 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16201 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'` ;;
16202 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16203 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16204 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16205 fi ;;
16206 esac
16207 else
16208 ac_cv_lib_soname_jpeg=
16210 rm -f core conftest.err conftest.$ac_objext \
16211 conftest$ac_exeext conftest.$ac_ext
16212 LIBS=$ac_check_soname_save_LIBS
16214 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16216 $as_echo "not found" >&6; }
16217 JPEG_CFLAGS=""
16218 else
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16220 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16222 cat >>confdefs.h <<_ACEOF
16223 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16224 _ACEOF
16228 else
16229 JPEG_CFLAGS=""
16231 CPPFLAGS=$ac_save_CPPFLAGS
16232 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16233 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16236 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16237 case "x$with_jpeg" in
16238 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16239 xno) ;;
16240 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16241 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16242 esac
16246 if test "x$with_png" != "xno"
16247 then
16248 if ${PNG_CFLAGS:+false} :; then :
16249 if ${PKG_CONFIG+:} false; then :
16250 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16253 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16254 if ${PNG_LIBS:+false} :; then :
16255 if ${PKG_CONFIG+:} false; then :
16256 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16259 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16261 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16262 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16263 ac_save_CPPFLAGS=$CPPFLAGS
16264 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16265 for ac_header in png.h
16266 do :
16267 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16268 if test "x$ac_cv_header_png_h" = xyes; then :
16269 cat >>confdefs.h <<_ACEOF
16270 #define HAVE_PNG_H 1
16271 _ACEOF
16275 done
16277 if test "$ac_cv_header_png_h" = "yes"
16278 then
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16280 $as_echo_n "checking for -lpng... " >&6; }
16281 if ${ac_cv_lib_soname_png+:} false; then :
16282 $as_echo_n "(cached) " >&6
16283 else
16284 ac_check_soname_save_LIBS=$LIBS
16285 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16287 /* end confdefs.h. */
16289 /* Override any GCC internal prototype to avoid an error.
16290 Use char because int might match the return type of a GCC
16291 builtin and then its argument prototype would still apply. */
16292 #ifdef __cplusplus
16293 extern "C"
16294 #endif
16295 char png_create_read_struct ();
16297 main ()
16299 return png_create_read_struct ();
16301 return 0;
16303 _ACEOF
16304 if ac_fn_c_try_link "$LINENO"; then :
16305 case "$LIBEXT" in
16306 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16307 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'` ;;
16308 *) 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'`
16309 if ${ac_cv_lib_soname_png:+false} :; then :
16310 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16311 fi ;;
16312 esac
16313 else
16314 ac_cv_lib_soname_png=
16316 rm -f core conftest.err conftest.$ac_objext \
16317 conftest$ac_exeext conftest.$ac_ext
16318 LIBS=$ac_check_soname_save_LIBS
16320 if ${ac_cv_lib_soname_png:+false} :; then :
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16322 $as_echo "not found" >&6; }
16323 PNG_CFLAGS=""
16324 else
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16326 $as_echo "$ac_cv_lib_soname_png" >&6; }
16328 cat >>confdefs.h <<_ACEOF
16329 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16330 _ACEOF
16334 else
16335 PNG_CFLAGS=""
16337 CPPFLAGS=$ac_save_CPPFLAGS
16338 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16339 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16342 if test "x$ac_cv_lib_soname_png" = "x"; then :
16343 case "x$with_png" in
16344 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16345 xno) ;;
16346 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16347 This is an error since --with-png was requested." "$LINENO" 5 ;;
16348 esac
16352 if test "x$with_tiff" != "xno"
16353 then
16354 if ${TIFF_CFLAGS:+false} :; then :
16355 if ${PKG_CONFIG+:} false; then :
16356 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16360 if ${TIFF_LIBS:+false} :; then :
16361 if ${PKG_CONFIG+:} false; then :
16362 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16367 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16368 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16369 ac_save_CPPFLAGS=$CPPFLAGS
16370 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16371 for ac_header in tiffio.h
16372 do :
16373 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16374 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16375 cat >>confdefs.h <<_ACEOF
16376 #define HAVE_TIFFIO_H 1
16377 _ACEOF
16381 done
16383 if test "$ac_cv_header_tiffio_h" = "yes"
16384 then
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16386 $as_echo_n "checking for -ltiff... " >&6; }
16387 if ${ac_cv_lib_soname_tiff+:} false; then :
16388 $as_echo_n "(cached) " >&6
16389 else
16390 ac_check_soname_save_LIBS=$LIBS
16391 LIBS="-ltiff $TIFF_LIBS $LIBS"
16392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16395 /* Override any GCC internal prototype to avoid an error.
16396 Use char because int might match the return type of a GCC
16397 builtin and then its argument prototype would still apply. */
16398 #ifdef __cplusplus
16399 extern "C"
16400 #endif
16401 char TIFFClientOpen ();
16403 main ()
16405 return TIFFClientOpen ();
16407 return 0;
16409 _ACEOF
16410 if ac_fn_c_try_link "$LINENO"; then :
16411 case "$LIBEXT" in
16412 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16413 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'` ;;
16414 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16415 if ${ac_cv_lib_soname_tiff:+false} :; then :
16416 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16417 fi ;;
16418 esac
16419 else
16420 ac_cv_lib_soname_tiff=
16422 rm -f core conftest.err conftest.$ac_objext \
16423 conftest$ac_exeext conftest.$ac_ext
16424 LIBS=$ac_check_soname_save_LIBS
16426 if ${ac_cv_lib_soname_tiff:+false} :; then :
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16428 $as_echo "not found" >&6; }
16430 else
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16432 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16434 cat >>confdefs.h <<_ACEOF
16435 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16436 _ACEOF
16441 CPPFLAGS=$ac_save_CPPFLAGS
16442 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16443 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16446 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16447 case "x$with_tiff" in
16448 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16449 xno) ;;
16450 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16451 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16452 esac
16456 if test "x$with_mpg123" != "xno"
16457 then
16458 if ${MPG123_CFLAGS:+false} :; then :
16459 if ${PKG_CONFIG+:} false; then :
16460 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16464 if ${MPG123_LIBS:+false} :; then :
16465 if ${PKG_CONFIG+:} false; then :
16466 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16470 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16471 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16472 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16473 ac_save_CPPFLAGS=$CPPFLAGS
16474 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16475 for ac_header in mpg123.h
16476 do :
16477 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16478 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16479 cat >>confdefs.h <<_ACEOF
16480 #define HAVE_MPG123_H 1
16481 _ACEOF
16485 done
16487 if test "$ac_cv_header_mpg123_h" = "yes"
16488 then
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16490 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16491 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16492 $as_echo_n "(cached) " >&6
16493 else
16494 ac_check_lib_save_LIBS=$LIBS
16495 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16497 /* end confdefs.h. */
16499 /* Override any GCC internal prototype to avoid an error.
16500 Use char because int might match the return type of a GCC
16501 builtin and then its argument prototype would still apply. */
16502 #ifdef __cplusplus
16503 extern "C"
16504 #endif
16505 char mpg123_feed ();
16507 main ()
16509 return mpg123_feed ();
16511 return 0;
16513 _ACEOF
16514 if ac_fn_c_try_link "$LINENO"; then :
16515 ac_cv_lib_mpg123_mpg123_feed=yes
16516 else
16517 ac_cv_lib_mpg123_mpg123_feed=no
16519 rm -f core conftest.err conftest.$ac_objext \
16520 conftest$ac_exeext conftest.$ac_ext
16521 LIBS=$ac_check_lib_save_LIBS
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16524 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16525 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16527 else
16528 MPG123_LIBS=""
16531 else
16532 MPG123_CFLAGS=""
16533 MPG123_LIBS=""
16535 CPPFLAGS=$ac_save_CPPFLAGS
16536 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16537 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16540 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16541 case "x$with_mpg123" in
16542 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16543 xno) ;;
16544 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16545 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16546 esac
16547 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16549 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16551 if test "$ac_cv_header_AL_al_h" = "yes"
16552 then
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16554 $as_echo_n "checking for -lopenal... " >&6; }
16555 if ${ac_cv_lib_soname_openal+:} false; then :
16556 $as_echo_n "(cached) " >&6
16557 else
16558 ac_check_soname_save_LIBS=$LIBS
16559 LIBS="-lopenal $LIBS"
16560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16561 /* end confdefs.h. */
16563 /* Override any GCC internal prototype to avoid an error.
16564 Use char because int might match the return type of a GCC
16565 builtin and then its argument prototype would still apply. */
16566 #ifdef __cplusplus
16567 extern "C"
16568 #endif
16569 char alGetSource3i ();
16571 main ()
16573 return alGetSource3i ();
16575 return 0;
16577 _ACEOF
16578 if ac_fn_c_try_link "$LINENO"; then :
16579 case "$LIBEXT" in
16580 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16581 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'` ;;
16582 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16583 if ${ac_cv_lib_soname_openal:+false} :; then :
16584 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16585 fi ;;
16586 esac
16587 else
16588 ac_cv_lib_soname_openal=
16590 rm -f core conftest.err conftest.$ac_objext \
16591 conftest$ac_exeext conftest.$ac_ext
16592 LIBS=$ac_check_soname_save_LIBS
16594 if ${ac_cv_lib_soname_openal:+false} :; then :
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16596 $as_echo "not found" >&6; }
16598 else
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16600 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16602 cat >>confdefs.h <<_ACEOF
16603 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16604 _ACEOF
16606 OPENAL_LIBS="-lopenal"
16608 ac_cv_lib_openal=yes
16610 cat >>confdefs.h <<_ACEOF
16611 #define HAVE_OPENAL 1
16612 _ACEOF
16616 if test "x$ac_cv_lib_openal" != xyes; then :
16617 case "x$with_openal" in
16618 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16619 xno) ;;
16620 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16621 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16622 esac
16623 enable_openal32=${enable_openal32:-no}
16626 if test "x$ac_cv_lib_soname_FAudio" = "x"
16627 then
16628 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16629 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16630 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16631 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16632 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16633 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16634 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16635 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16636 enable_xactengine3_7=${enable_xactengine3_7:-no}
16637 enable_xapofx1_1=${enable_xapofx1_1:-no}
16638 enable_xapofx1_2=${enable_xapofx1_2:-no}
16639 enable_xapofx1_3=${enable_xapofx1_3:-no}
16640 enable_xapofx1_4=${enable_xapofx1_4:-no}
16641 enable_xapofx1_5=${enable_xapofx1_5:-no}
16642 enable_xaudio2_0=${enable_xaudio2_0:-no}
16643 enable_xaudio2_1=${enable_xaudio2_1:-no}
16644 enable_xaudio2_2=${enable_xaudio2_2:-no}
16645 enable_xaudio2_3=${enable_xaudio2_3:-no}
16646 enable_xaudio2_4=${enable_xaudio2_4:-no}
16647 enable_xaudio2_5=${enable_xaudio2_5:-no}
16648 enable_xaudio2_6=${enable_xaudio2_6:-no}
16649 enable_xaudio2_7=${enable_xaudio2_7:-no}
16650 enable_xaudio2_8=${enable_xaudio2_8:-no}
16651 enable_xaudio2_9=${enable_xaudio2_9:-no}
16654 if test "$ac_cv_header_kstat_h" = "yes"
16655 then
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16657 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16658 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16659 $as_echo_n "(cached) " >&6
16660 else
16661 ac_check_lib_save_LIBS=$LIBS
16662 LIBS="-lkstat $LIBS"
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16666 /* Override any GCC internal prototype to avoid an error.
16667 Use char because int might match the return type of a GCC
16668 builtin and then its argument prototype would still apply. */
16669 #ifdef __cplusplus
16670 extern "C"
16671 #endif
16672 char kstat_open ();
16674 main ()
16676 return kstat_open ();
16678 return 0;
16680 _ACEOF
16681 if ac_fn_c_try_link "$LINENO"; then :
16682 ac_cv_lib_kstat_kstat_open=yes
16683 else
16684 ac_cv_lib_kstat_kstat_open=no
16686 rm -f core conftest.err conftest.$ac_objext \
16687 conftest$ac_exeext conftest.$ac_ext
16688 LIBS=$ac_check_lib_save_LIBS
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16691 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16692 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16694 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16696 KSTAT_LIBS="-lkstat"
16702 if test "$ac_cv_header_libprocstat_h" = "yes"
16703 then
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16705 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16706 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16707 $as_echo_n "(cached) " >&6
16708 else
16709 ac_check_lib_save_LIBS=$LIBS
16710 LIBS="-lprocstat $LIBS"
16711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16712 /* end confdefs.h. */
16714 /* Override any GCC internal prototype to avoid an error.
16715 Use char because int might match the return type of a GCC
16716 builtin and then its argument prototype would still apply. */
16717 #ifdef __cplusplus
16718 extern "C"
16719 #endif
16720 char procstat_open_sysctl ();
16722 main ()
16724 return procstat_open_sysctl ();
16726 return 0;
16728 _ACEOF
16729 if ac_fn_c_try_link "$LINENO"; then :
16730 ac_cv_lib_procstat_procstat_open_sysctl=yes
16731 else
16732 ac_cv_lib_procstat_procstat_open_sysctl=no
16734 rm -f core conftest.err conftest.$ac_objext \
16735 conftest$ac_exeext conftest.$ac_ext
16736 LIBS=$ac_check_lib_save_LIBS
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16739 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16740 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16742 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16744 PROCSTAT_LIBS="-lprocstat"
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16751 $as_echo_n "checking for -lodbc... " >&6; }
16752 if ${ac_cv_lib_soname_odbc+:} false; then :
16753 $as_echo_n "(cached) " >&6
16754 else
16755 ac_check_soname_save_LIBS=$LIBS
16756 LIBS="-lodbc $LIBS"
16757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16758 /* end confdefs.h. */
16760 /* Override any GCC internal prototype to avoid an error.
16761 Use char because int might match the return type of a GCC
16762 builtin and then its argument prototype would still apply. */
16763 #ifdef __cplusplus
16764 extern "C"
16765 #endif
16766 char SQLConnect ();
16768 main ()
16770 return SQLConnect ();
16772 return 0;
16774 _ACEOF
16775 if ac_fn_c_try_link "$LINENO"; then :
16776 case "$LIBEXT" in
16777 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16778 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'` ;;
16779 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16780 if ${ac_cv_lib_soname_odbc:+false} :; then :
16781 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16782 fi ;;
16783 esac
16784 else
16785 ac_cv_lib_soname_odbc=
16787 rm -f core conftest.err conftest.$ac_objext \
16788 conftest$ac_exeext conftest.$ac_ext
16789 LIBS=$ac_check_soname_save_LIBS
16791 if ${ac_cv_lib_soname_odbc:+false} :; then :
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16793 $as_echo "not found" >&6; }
16794 cat >>confdefs.h <<_ACEOF
16795 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16796 _ACEOF
16798 else
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16800 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16802 cat >>confdefs.h <<_ACEOF
16803 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16804 _ACEOF
16809 if test "x$with_netapi" != "xno"
16810 then
16811 if ${NETAPI_CFLAGS:+false} :; then :
16812 if ${PKG_CONFIG+:} false; then :
16813 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16817 if ${NETAPI_LIBS:+false} :; then :
16818 if ${PKG_CONFIG+:} false; then :
16819 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16824 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16825 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16826 ac_save_CPPFLAGS=$CPPFLAGS
16827 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16829 $as_echo_n "checking for -lnetapi... " >&6; }
16830 if ${ac_cv_lib_soname_netapi+:} false; then :
16831 $as_echo_n "(cached) " >&6
16832 else
16833 ac_check_soname_save_LIBS=$LIBS
16834 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16836 /* end confdefs.h. */
16838 /* Override any GCC internal prototype to avoid an error.
16839 Use char because int might match the return type of a GCC
16840 builtin and then its argument prototype would still apply. */
16841 #ifdef __cplusplus
16842 extern "C"
16843 #endif
16844 char libnetapi_init ();
16846 main ()
16848 return libnetapi_init ();
16850 return 0;
16852 _ACEOF
16853 if ac_fn_c_try_link "$LINENO"; then :
16854 case "$LIBEXT" in
16855 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16856 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'` ;;
16857 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16858 if ${ac_cv_lib_soname_netapi:+false} :; then :
16859 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16860 fi ;;
16861 esac
16862 else
16863 ac_cv_lib_soname_netapi=
16865 rm -f core conftest.err conftest.$ac_objext \
16866 conftest$ac_exeext conftest.$ac_ext
16867 LIBS=$ac_check_soname_save_LIBS
16869 if ${ac_cv_lib_soname_netapi:+false} :; then :
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16871 $as_echo "not found" >&6; }
16872 cat >>confdefs.h <<_ACEOF
16873 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16874 _ACEOF
16876 else
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16878 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16880 cat >>confdefs.h <<_ACEOF
16881 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16882 _ACEOF
16886 CPPFLAGS=$ac_save_CPPFLAGS
16887 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16888 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16892 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16893 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16894 then
16895 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16898 if test "x$with_vulkan" != "xno"
16899 then
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16901 $as_echo_n "checking for -lvulkan... " >&6; }
16902 if ${ac_cv_lib_soname_vulkan+:} false; then :
16903 $as_echo_n "(cached) " >&6
16904 else
16905 ac_check_soname_save_LIBS=$LIBS
16906 LIBS="-lvulkan $LIBS"
16907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16908 /* end confdefs.h. */
16910 /* Override any GCC internal prototype to avoid an error.
16911 Use char because int might match the return type of a GCC
16912 builtin and then its argument prototype would still apply. */
16913 #ifdef __cplusplus
16914 extern "C"
16915 #endif
16916 char vkGetInstanceProcAddr ();
16918 main ()
16920 return vkGetInstanceProcAddr ();
16922 return 0;
16924 _ACEOF
16925 if ac_fn_c_try_link "$LINENO"; then :
16926 case "$LIBEXT" in
16927 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16928 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'` ;;
16929 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16930 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16931 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16932 fi ;;
16933 esac
16934 else
16935 ac_cv_lib_soname_vulkan=
16937 rm -f core conftest.err conftest.$ac_objext \
16938 conftest$ac_exeext conftest.$ac_ext
16939 LIBS=$ac_check_soname_save_LIBS
16941 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16943 $as_echo "not found" >&6; }
16945 else
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16947 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16949 cat >>confdefs.h <<_ACEOF
16950 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16951 _ACEOF
16955 if test "x$ac_cv_lib_soname_vulkan" = "x"
16956 then
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16958 $as_echo_n "checking for -lMoltenVK... " >&6; }
16959 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16960 $as_echo_n "(cached) " >&6
16961 else
16962 ac_check_soname_save_LIBS=$LIBS
16963 LIBS="-lMoltenVK $LIBS"
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16967 /* Override any GCC internal prototype to avoid an error.
16968 Use char because int might match the return type of a GCC
16969 builtin and then its argument prototype would still apply. */
16970 #ifdef __cplusplus
16971 extern "C"
16972 #endif
16973 char vkGetInstanceProcAddr ();
16975 main ()
16977 return vkGetInstanceProcAddr ();
16979 return 0;
16981 _ACEOF
16982 if ac_fn_c_try_link "$LINENO"; then :
16983 case "$LIBEXT" in
16984 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16985 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'` ;;
16986 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16987 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16988 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16989 fi ;;
16990 esac
16991 else
16992 ac_cv_lib_soname_MoltenVK=
16994 rm -f core conftest.err conftest.$ac_objext \
16995 conftest$ac_exeext conftest.$ac_ext
16996 LIBS=$ac_check_soname_save_LIBS
16998 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17000 $as_echo "not found" >&6; }
17002 else
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
17004 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
17006 cat >>confdefs.h <<_ACEOF
17007 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
17008 _ACEOF
17014 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
17015 case "x$with_vulkan" in
17016 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
17017 xno) ;;
17018 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
17019 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
17020 esac
17024 if test "x$with_vkd3d" != "xno"
17025 then
17026 if ${VKD3D_CFLAGS:+false} :; then :
17027 if ${PKG_CONFIG+:} false; then :
17028 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
17032 if ${VKD3D_LIBS:+false} :; then :
17033 if ${PKG_CONFIG+:} false; then :
17034 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
17039 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
17040 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
17041 ac_save_CPPFLAGS=$CPPFLAGS
17042 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
17044 $as_echo_n "checking for -lvkd3d... " >&6; }
17045 if ${ac_cv_lib_soname_vkd3d+:} false; then :
17046 $as_echo_n "(cached) " >&6
17047 else
17048 ac_check_soname_save_LIBS=$LIBS
17049 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
17050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17051 /* end confdefs.h. */
17053 /* Override any GCC internal prototype to avoid an error.
17054 Use char because int might match the return type of a GCC
17055 builtin and then its argument prototype would still apply. */
17056 #ifdef __cplusplus
17057 extern "C"
17058 #endif
17059 char vkd3d_get_dxgi_format ();
17061 main ()
17063 return vkd3d_get_dxgi_format ();
17065 return 0;
17067 _ACEOF
17068 if ac_fn_c_try_link "$LINENO"; then :
17069 case "$LIBEXT" in
17070 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17071 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'` ;;
17072 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17073 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17074 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17075 fi ;;
17076 esac
17077 else
17078 ac_cv_lib_soname_vkd3d=
17080 rm -f core conftest.err conftest.$ac_objext \
17081 conftest$ac_exeext conftest.$ac_ext
17082 LIBS=$ac_check_soname_save_LIBS
17084 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17086 $as_echo "not found" >&6; }
17088 else
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17090 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
17092 cat >>confdefs.h <<_ACEOF
17093 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
17094 _ACEOF
17098 CPPFLAGS=$ac_save_CPPFLAGS
17099 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17100 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17103 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17104 case "x$with_vkd3d" in
17105 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17106 xno) ;;
17107 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17108 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17109 esac
17112 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17115 EXTRACFLAGS=""
17117 if test "x${GCC}" = "xyes"
17118 then
17119 EXTRACFLAGS="-Wall -pipe"
17121 saved_CFLAGS=$CFLAGS
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17123 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17124 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17125 $as_echo_n "(cached) " >&6
17126 else
17127 ac_wine_try_cflags_saved=$CFLAGS
17128 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130 /* end confdefs.h. */
17131 int main(int argc, char **argv) { return 0; }
17132 _ACEOF
17133 if ac_fn_c_try_link "$LINENO"; then :
17134 ac_cv_cflags__Werror_unknown_warning_option=yes
17135 else
17136 ac_cv_cflags__Werror_unknown_warning_option=no
17138 rm -f core conftest.err conftest.$ac_objext \
17139 conftest$ac_exeext conftest.$ac_ext
17140 CFLAGS=$ac_wine_try_cflags_saved
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17143 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17144 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17145 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17148 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17149 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17150 $as_echo_n "(cached) " >&6
17151 else
17152 ac_wine_try_cflags_saved=$CFLAGS
17153 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17155 /* end confdefs.h. */
17156 int main(int argc, char **argv) { return 0; }
17157 _ACEOF
17158 if ac_fn_c_try_link "$LINENO"; then :
17159 ac_cv_cflags__Werror_unused_command_line_argument=yes
17160 else
17161 ac_cv_cflags__Werror_unused_command_line_argument=no
17163 rm -f core conftest.err conftest.$ac_objext \
17164 conftest$ac_exeext conftest.$ac_ext
17165 CFLAGS=$ac_wine_try_cflags_saved
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17168 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17169 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17170 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17173 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17174 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17175 $as_echo_n "(cached) " >&6
17176 else
17177 ac_wine_try_cflags_saved=$CFLAGS
17178 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180 /* end confdefs.h. */
17181 int main(int argc, char **argv) { return 0; }
17182 _ACEOF
17183 if ac_fn_c_try_link "$LINENO"; then :
17184 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17185 else
17186 ac_cv_cflags__Werror_ignored_optimization_argument=no
17188 rm -f core conftest.err conftest.$ac_objext \
17189 conftest$ac_exeext conftest.$ac_ext
17190 CFLAGS=$ac_wine_try_cflags_saved
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17193 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17194 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17195 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17198 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17199 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17200 $as_echo_n "(cached) " >&6
17201 else
17202 ac_wine_try_cflags_saved=$CFLAGS
17203 CFLAGS="$CFLAGS -fcf-protection=none"
17204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17205 /* end confdefs.h. */
17206 int main(int argc, char **argv) { return 0; }
17207 _ACEOF
17208 if ac_fn_c_try_link "$LINENO"; then :
17209 ac_cv_cflags__fcf_protection_none=yes
17210 else
17211 ac_cv_cflags__fcf_protection_none=no
17213 rm -f core conftest.err conftest.$ac_objext \
17214 conftest$ac_exeext conftest.$ac_ext
17215 CFLAGS=$ac_wine_try_cflags_saved
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17218 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17219 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17220 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17223 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17224 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17225 $as_echo_n "(cached) " >&6
17226 else
17227 ac_wine_try_cflags_saved=$CFLAGS
17228 CFLAGS="$CFLAGS -fno-stack-protector"
17229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17230 /* end confdefs.h. */
17231 int main(int argc, char **argv) { return 0; }
17232 _ACEOF
17233 if ac_fn_c_try_link "$LINENO"; then :
17234 ac_cv_cflags__fno_stack_protector=yes
17235 else
17236 ac_cv_cflags__fno_stack_protector=no
17238 rm -f core conftest.err conftest.$ac_objext \
17239 conftest$ac_exeext conftest.$ac_ext
17240 CFLAGS=$ac_wine_try_cflags_saved
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17243 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17244 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17245 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17248 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17249 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17250 $as_echo_n "(cached) " >&6
17251 else
17252 ac_wine_try_cflags_saved=$CFLAGS
17253 CFLAGS="$CFLAGS -fno-strict-aliasing"
17254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17255 /* end confdefs.h. */
17256 int main(int argc, char **argv) { return 0; }
17257 _ACEOF
17258 if ac_fn_c_try_link "$LINENO"; then :
17259 ac_cv_cflags__fno_strict_aliasing=yes
17260 else
17261 ac_cv_cflags__fno_strict_aliasing=no
17263 rm -f core conftest.err conftest.$ac_objext \
17264 conftest$ac_exeext conftest.$ac_ext
17265 CFLAGS=$ac_wine_try_cflags_saved
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17268 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17269 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17270 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17273 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17274 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17275 $as_echo_n "(cached) " >&6
17276 else
17277 ac_wine_try_cflags_saved=$CFLAGS
17278 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17281 int main(int argc, char **argv) { return 0; }
17282 _ACEOF
17283 if ac_fn_c_try_link "$LINENO"; then :
17284 ac_cv_cflags__Wdeclaration_after_statement=yes
17285 else
17286 ac_cv_cflags__Wdeclaration_after_statement=no
17288 rm -f core conftest.err conftest.$ac_objext \
17289 conftest$ac_exeext conftest.$ac_ext
17290 CFLAGS=$ac_wine_try_cflags_saved
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17293 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17294 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17295 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17298 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17299 if ${ac_cv_cflags__Wempty_body+:} false; then :
17300 $as_echo_n "(cached) " >&6
17301 else
17302 ac_wine_try_cflags_saved=$CFLAGS
17303 CFLAGS="$CFLAGS -Wempty-body"
17304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17305 /* end confdefs.h. */
17306 int main(int argc, char **argv) { return 0; }
17307 _ACEOF
17308 if ac_fn_c_try_link "$LINENO"; then :
17309 ac_cv_cflags__Wempty_body=yes
17310 else
17311 ac_cv_cflags__Wempty_body=no
17313 rm -f core conftest.err conftest.$ac_objext \
17314 conftest$ac_exeext conftest.$ac_ext
17315 CFLAGS=$ac_wine_try_cflags_saved
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17318 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17319 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17320 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17323 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17324 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17325 $as_echo_n "(cached) " >&6
17326 else
17327 ac_wine_try_cflags_saved=$CFLAGS
17328 CFLAGS="$CFLAGS -Wignored-qualifiers"
17329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17331 int main(int argc, char **argv) { return 0; }
17332 _ACEOF
17333 if ac_fn_c_try_link "$LINENO"; then :
17334 ac_cv_cflags__Wignored_qualifiers=yes
17335 else
17336 ac_cv_cflags__Wignored_qualifiers=no
17338 rm -f core conftest.err conftest.$ac_objext \
17339 conftest$ac_exeext conftest.$ac_ext
17340 CFLAGS=$ac_wine_try_cflags_saved
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17343 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17344 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17345 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17348 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17349 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17350 $as_echo_n "(cached) " >&6
17351 else
17352 ac_wine_try_cflags_saved=$CFLAGS
17353 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17356 int main(int argc, char **argv) { return 0; }
17357 _ACEOF
17358 if ac_fn_c_try_link "$LINENO"; then :
17359 ac_cv_cflags__Wpacked_not_aligned=yes
17360 else
17361 ac_cv_cflags__Wpacked_not_aligned=no
17363 rm -f core conftest.err conftest.$ac_objext \
17364 conftest$ac_exeext conftest.$ac_ext
17365 CFLAGS=$ac_wine_try_cflags_saved
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17368 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17369 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17370 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17373 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17374 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17375 $as_echo_n "(cached) " >&6
17376 else
17377 ac_wine_try_cflags_saved=$CFLAGS
17378 CFLAGS="$CFLAGS -Wpragma-pack"
17379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h. */
17381 int main(int argc, char **argv) { return 0; }
17382 _ACEOF
17383 if ac_fn_c_try_link "$LINENO"; then :
17384 ac_cv_cflags__Wpragma_pack=yes
17385 else
17386 ac_cv_cflags__Wpragma_pack=no
17388 rm -f core conftest.err conftest.$ac_objext \
17389 conftest$ac_exeext conftest.$ac_ext
17390 CFLAGS=$ac_wine_try_cflags_saved
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17393 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17394 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17395 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17398 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17399 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17400 $as_echo_n "(cached) " >&6
17401 else
17402 ac_wine_try_cflags_saved=$CFLAGS
17403 CFLAGS="$CFLAGS -Wshift-overflow=2"
17404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17405 /* end confdefs.h. */
17406 int main(int argc, char **argv) { return 0; }
17407 _ACEOF
17408 if ac_fn_c_try_link "$LINENO"; then :
17409 ac_cv_cflags__Wshift_overflow_2=yes
17410 else
17411 ac_cv_cflags__Wshift_overflow_2=no
17413 rm -f core conftest.err conftest.$ac_objext \
17414 conftest$ac_exeext conftest.$ac_ext
17415 CFLAGS=$ac_wine_try_cflags_saved
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17418 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17419 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17420 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17423 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17424 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17425 $as_echo_n "(cached) " >&6
17426 else
17427 ac_wine_try_cflags_saved=$CFLAGS
17428 CFLAGS="$CFLAGS -Wstrict-prototypes"
17429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17430 /* end confdefs.h. */
17431 int main(int argc, char **argv) { return 0; }
17432 _ACEOF
17433 if ac_fn_c_try_link "$LINENO"; then :
17434 ac_cv_cflags__Wstrict_prototypes=yes
17435 else
17436 ac_cv_cflags__Wstrict_prototypes=no
17438 rm -f core conftest.err conftest.$ac_objext \
17439 conftest$ac_exeext conftest.$ac_ext
17440 CFLAGS=$ac_wine_try_cflags_saved
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17443 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17444 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17445 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17448 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17449 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17450 $as_echo_n "(cached) " >&6
17451 else
17452 ac_wine_try_cflags_saved=$CFLAGS
17453 CFLAGS="$CFLAGS -Wtype-limits"
17454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17455 /* end confdefs.h. */
17456 int main(int argc, char **argv) { return 0; }
17457 _ACEOF
17458 if ac_fn_c_try_link "$LINENO"; then :
17459 ac_cv_cflags__Wtype_limits=yes
17460 else
17461 ac_cv_cflags__Wtype_limits=no
17463 rm -f core conftest.err conftest.$ac_objext \
17464 conftest$ac_exeext conftest.$ac_ext
17465 CFLAGS=$ac_wine_try_cflags_saved
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17468 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17469 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17470 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17473 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17474 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17475 $as_echo_n "(cached) " >&6
17476 else
17477 ac_wine_try_cflags_saved=$CFLAGS
17478 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17480 /* end confdefs.h. */
17481 int main(int argc, char **argv) { return 0; }
17482 _ACEOF
17483 if ac_fn_c_try_link "$LINENO"; then :
17484 ac_cv_cflags__Wunused_but_set_parameter=yes
17485 else
17486 ac_cv_cflags__Wunused_but_set_parameter=no
17488 rm -f core conftest.err conftest.$ac_objext \
17489 conftest$ac_exeext conftest.$ac_ext
17490 CFLAGS=$ac_wine_try_cflags_saved
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17493 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17494 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17495 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17498 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17499 if ${ac_cv_cflags__Wvla+:} false; then :
17500 $as_echo_n "(cached) " >&6
17501 else
17502 ac_wine_try_cflags_saved=$CFLAGS
17503 CFLAGS="$CFLAGS -Wvla"
17504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h. */
17506 int main(int argc, char **argv) { return 0; }
17507 _ACEOF
17508 if ac_fn_c_try_link "$LINENO"; then :
17509 ac_cv_cflags__Wvla=yes
17510 else
17511 ac_cv_cflags__Wvla=no
17513 rm -f core conftest.err conftest.$ac_objext \
17514 conftest$ac_exeext conftest.$ac_ext
17515 CFLAGS=$ac_wine_try_cflags_saved
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17518 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17519 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17520 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17523 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17524 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17525 $as_echo_n "(cached) " >&6
17526 else
17527 ac_wine_try_cflags_saved=$CFLAGS
17528 CFLAGS="$CFLAGS -Wwrite-strings"
17529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17530 /* end confdefs.h. */
17531 int main(int argc, char **argv) { return 0; }
17532 _ACEOF
17533 if ac_fn_c_try_link "$LINENO"; then :
17534 ac_cv_cflags__Wwrite_strings=yes
17535 else
17536 ac_cv_cflags__Wwrite_strings=no
17538 rm -f core conftest.err conftest.$ac_objext \
17539 conftest$ac_exeext conftest.$ac_ext
17540 CFLAGS=$ac_wine_try_cflags_saved
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17543 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17544 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17545 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17548 if test -z "$CROSSTARGET"
17549 then
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17551 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17552 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17553 $as_echo_n "(cached) " >&6
17554 else
17555 ac_wine_try_cflags_saved=$CFLAGS
17556 CFLAGS="$CFLAGS -fexcess-precision=standard"
17557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17558 /* end confdefs.h. */
17559 int main(int argc, char **argv) { return 0; }
17560 _ACEOF
17561 if ac_fn_c_try_link "$LINENO"; then :
17562 ac_cv_cflags__fexcess_precision_standard=yes
17563 else
17564 ac_cv_cflags__fexcess_precision_standard=no
17566 rm -f core conftest.err conftest.$ac_objext \
17567 conftest$ac_exeext conftest.$ac_ext
17568 CFLAGS=$ac_wine_try_cflags_saved
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17571 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17572 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17573 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17579 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17580 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17581 $as_echo_n "(cached) " >&6
17582 else
17583 ac_wine_try_cflags_saved=$CFLAGS
17584 CFLAGS="$CFLAGS -Wpointer-arith"
17585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17586 /* end confdefs.h. */
17587 int main(int argc, char **argv) { return 0; }
17588 _ACEOF
17589 if ac_fn_c_try_link "$LINENO"; then :
17590 ac_cv_cflags__Wpointer_arith=yes
17591 else
17592 ac_cv_cflags__Wpointer_arith=no
17594 rm -f core conftest.err conftest.$ac_objext \
17595 conftest$ac_exeext conftest.$ac_ext
17596 CFLAGS=$ac_wine_try_cflags_saved
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17599 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17600 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17601 saved_string_h_CFLAGS=$CFLAGS
17602 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17604 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17605 if ${ac_cv_c_string_h_warnings+:} false; then :
17606 $as_echo_n "(cached) " >&6
17607 else
17608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17609 /* end confdefs.h. */
17610 #include <string.h>
17612 main ()
17616 return 0;
17618 _ACEOF
17619 if ac_fn_c_try_compile "$LINENO"; then :
17620 ac_cv_c_string_h_warnings=no
17621 else
17622 ac_cv_c_string_h_warnings=yes
17624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17627 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17628 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17629 CFLAGS=$saved_string_h_CFLAGS
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17633 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17634 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17635 $as_echo_n "(cached) " >&6
17636 else
17637 ac_wine_try_cflags_saved=$CFLAGS
17638 CFLAGS="$CFLAGS -Wlogical-op"
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 int main(int argc, char **argv) { return 0; }
17642 _ACEOF
17643 if ac_fn_c_try_link "$LINENO"; then :
17644 ac_cv_cflags__Wlogical_op=yes
17645 else
17646 ac_cv_cflags__Wlogical_op=no
17648 rm -f core conftest.err conftest.$ac_objext \
17649 conftest$ac_exeext conftest.$ac_ext
17650 CFLAGS=$ac_wine_try_cflags_saved
17652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17653 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17654 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17655 saved_string_h_CFLAGS=$CFLAGS
17656 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17658 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17659 if ${ac_cv_c_logicalop_noisy+:} false; then :
17660 $as_echo_n "(cached) " >&6
17661 else
17662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17663 /* end confdefs.h. */
17664 #include <string.h>
17665 char*f(const char *h,char n) {return strchr(h,n);}
17667 main ()
17671 return 0;
17673 _ACEOF
17674 if ac_fn_c_try_compile "$LINENO"; then :
17675 ac_cv_c_logicalop_noisy=no
17676 else
17677 ac_cv_c_logicalop_noisy=yes
17679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17682 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17683 CFLAGS=$saved_string_h_CFLAGS
17684 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17687 for ac_flag in $CFLAGS; do
17688 case $ac_flag in
17689 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17690 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17691 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17692 $as_echo_n "(cached) " >&6
17693 else
17694 ac_wine_try_cflags_saved=$CFLAGS
17695 CFLAGS="$CFLAGS -gdwarf-2"
17696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17697 /* end confdefs.h. */
17698 int main(int argc, char **argv) { return 0; }
17699 _ACEOF
17700 if ac_fn_c_try_link "$LINENO"; then :
17701 ac_cv_cflags__gdwarf_2=yes
17702 else
17703 ac_cv_cflags__gdwarf_2=no
17705 rm -f core conftest.err conftest.$ac_objext \
17706 conftest$ac_exeext conftest.$ac_ext
17707 CFLAGS=$ac_wine_try_cflags_saved
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17710 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17711 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17712 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17715 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17716 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17717 $as_echo_n "(cached) " >&6
17718 else
17719 ac_wine_try_cflags_saved=$CFLAGS
17720 CFLAGS="$CFLAGS -gstrict-dwarf"
17721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17722 /* end confdefs.h. */
17723 int main(int argc, char **argv) { return 0; }
17724 _ACEOF
17725 if ac_fn_c_try_link "$LINENO"; then :
17726 ac_cv_cflags__gstrict_dwarf=yes
17727 else
17728 ac_cv_cflags__gstrict_dwarf=no
17730 rm -f core conftest.err conftest.$ac_objext \
17731 conftest$ac_exeext conftest.$ac_ext
17732 CFLAGS=$ac_wine_try_cflags_saved
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17735 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17736 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17737 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17738 fi ;;
17739 esac
17740 done
17742 MSVCRTFLAGS=""
17744 case $host_os in
17745 mingw32*) ;;
17746 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17747 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17748 if ${ac_cv_cflags__fno_builtin+:} false; then :
17749 $as_echo_n "(cached) " >&6
17750 else
17751 ac_wine_try_cflags_saved=$CFLAGS
17752 CFLAGS="$CFLAGS -fno-builtin"
17753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17754 /* end confdefs.h. */
17755 int main(int argc, char **argv) { return 0; }
17756 _ACEOF
17757 if ac_fn_c_try_link "$LINENO"; then :
17758 ac_cv_cflags__fno_builtin=yes
17759 else
17760 ac_cv_cflags__fno_builtin=no
17762 rm -f core conftest.err conftest.$ac_objext \
17763 conftest$ac_exeext conftest.$ac_ext
17764 CFLAGS=$ac_wine_try_cflags_saved
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17767 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17768 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17769 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17772 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17773 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17774 $as_echo_n "(cached) " >&6
17775 else
17776 ac_wine_try_cflags_saved=$CFLAGS
17777 CFLAGS="$CFLAGS -fshort-wchar"
17778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17779 /* end confdefs.h. */
17780 int main(int argc, char **argv) { return 0; }
17781 _ACEOF
17782 if ac_fn_c_try_link "$LINENO"; then :
17783 ac_cv_cflags__fshort_wchar=yes
17784 else
17785 ac_cv_cflags__fshort_wchar=no
17787 rm -f core conftest.err conftest.$ac_objext \
17788 conftest$ac_exeext conftest.$ac_ext
17789 CFLAGS=$ac_wine_try_cflags_saved
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17792 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17793 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17794 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17795 fi ;;
17796 esac
17798 case $host_cpu in
17799 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17800 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17801 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17802 $as_echo_n "(cached) " >&6
17803 else
17804 ac_wine_try_cflags_saved=$CFLAGS
17805 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17808 int main(int argc, char **argv) { return 0; }
17809 _ACEOF
17810 if ac_fn_c_try_link "$LINENO"; then :
17811 ac_cv_cflags__fno_omit_frame_pointer=yes
17812 else
17813 ac_cv_cflags__fno_omit_frame_pointer=no
17815 rm -f core conftest.err conftest.$ac_objext \
17816 conftest$ac_exeext conftest.$ac_ext
17817 CFLAGS=$ac_wine_try_cflags_saved
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17820 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17821 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17822 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17823 fi ;;
17824 *x86_64*)
17825 case $host_os in
17826 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17827 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17828 if ${ac_cv_cflags__Wno_format+:} false; then :
17829 $as_echo_n "(cached) " >&6
17830 else
17831 ac_wine_try_cflags_saved=$CFLAGS
17832 CFLAGS="$CFLAGS -Wno-format"
17833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17834 /* end confdefs.h. */
17835 int main(int argc, char **argv) { return 0; }
17836 _ACEOF
17837 if ac_fn_c_try_link "$LINENO"; then :
17838 ac_cv_cflags__Wno_format=yes
17839 else
17840 ac_cv_cflags__Wno_format=no
17842 rm -f core conftest.err conftest.$ac_objext \
17843 conftest$ac_exeext conftest.$ac_ext
17844 CFLAGS=$ac_wine_try_cflags_saved
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17847 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17848 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17849 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17850 fi ;;
17851 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17852 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17853 if ${ac_cv_cflags__mabi_ms+:} false; then :
17854 $as_echo_n "(cached) " >&6
17855 else
17856 ac_wine_try_cflags_saved=$CFLAGS
17857 CFLAGS="$CFLAGS -mabi=ms"
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17860 int main(int argc, char **argv) { return 0; }
17861 _ACEOF
17862 if ac_fn_c_try_link "$LINENO"; then :
17863 ac_cv_cflags__mabi_ms=yes
17864 else
17865 ac_cv_cflags__mabi_ms=no
17867 rm -f core conftest.err conftest.$ac_objext \
17868 conftest$ac_exeext conftest.$ac_ext
17869 CFLAGS=$ac_wine_try_cflags_saved
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17872 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17873 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17874 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17875 fi ;;
17876 esac ;;
17877 esac
17879 CFLAGS=$saved_CFLAGS
17881 if test "x$enable_werror" = "xyes"
17882 then
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17884 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17885 if ${ac_cv_cflags__Werror+:} false; then :
17886 $as_echo_n "(cached) " >&6
17887 else
17888 ac_wine_try_cflags_saved=$CFLAGS
17889 CFLAGS="$CFLAGS -Werror"
17890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17891 /* end confdefs.h. */
17892 int main(int argc, char **argv) { return 0; }
17893 _ACEOF
17894 if ac_fn_c_try_link "$LINENO"; then :
17895 ac_cv_cflags__Werror=yes
17896 else
17897 ac_cv_cflags__Werror=no
17899 rm -f core conftest.err conftest.$ac_objext \
17900 conftest$ac_exeext conftest.$ac_ext
17901 CFLAGS=$ac_wine_try_cflags_saved
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17904 $as_echo "$ac_cv_cflags__Werror" >&6; }
17905 if test "x$ac_cv_cflags__Werror" = xyes; then :
17906 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17913 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17914 if ${ac_cv_c_fortify_enabled+:} false; then :
17915 $as_echo_n "(cached) " >&6
17916 else
17917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17918 /* end confdefs.h. */
17919 #include <string.h>
17921 main ()
17923 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17924 #error Fortify enabled
17925 #endif
17927 return 0;
17929 _ACEOF
17930 if ac_fn_c_try_compile "$LINENO"; then :
17931 ac_cv_c_fortify_enabled=no
17932 else
17933 ac_cv_c_fortify_enabled=yes
17935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17938 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17939 if test "$ac_cv_c_fortify_enabled" = yes
17940 then
17941 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17946 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17947 if ${ac_cv_c_cfi_support+:} false; then :
17948 $as_echo_n "(cached) " >&6
17949 else
17950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17951 /* end confdefs.h. */
17952 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17954 main ()
17958 return 0;
17960 _ACEOF
17961 if ac_fn_c_try_compile "$LINENO"; then :
17962 ac_cv_c_cfi_support="yes"
17963 else
17964 ac_cv_c_cfi_support="no"
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17969 $as_echo "$ac_cv_c_cfi_support" >&6; }
17970 if test "$ac_cv_c_cfi_support" = "yes"
17971 then
17972 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17973 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17974 else
17975 if test "x$enable_win64" = "xyes"
17976 then
17977 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17982 case $build_os in
17983 cygwin*|mingw32*) TOOLSEXT=".exe"
17985 esac
17987 case $host_os in
17988 linux*)
17989 case $host_cpu in
17990 *i[3456789]86*|x86_64*|*aarch64*)
17991 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17992 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17994 esac
17996 esac
17999 ac_save_CFLAGS="$CFLAGS"
18000 CFLAGS="$CFLAGS $BUILTINFLAG"
18001 for ac_func in \
18002 __res_get_state \
18003 __res_getservers \
18004 _spawnvp \
18005 epoll_create \
18006 ffs \
18007 finitef \
18008 fnmatch \
18009 fork \
18010 fpclass \
18011 fstatfs \
18012 fstatvfs \
18013 futimens \
18014 futimes \
18015 futimesat \
18016 getattrlist \
18017 getauxval \
18018 getifaddrs \
18019 getopt_long_only \
18020 kqueue \
18021 lstat \
18022 mach_continuous_time \
18023 pipe2 \
18024 poll \
18025 port_create \
18026 prctl \
18027 pread \
18028 proc_pidinfo \
18029 pwrite \
18030 readdir \
18031 readlink \
18032 sched_yield \
18033 select \
18034 setproctitle \
18035 setprogname \
18036 settimeofday \
18037 sigprocmask \
18038 statfs \
18039 statvfs \
18040 strnlen \
18041 strtold \
18042 symlink \
18043 sysinfo \
18044 tcdrain \
18045 thr_kill2 \
18046 usleep
18048 do :
18049 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18050 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18051 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18052 cat >>confdefs.h <<_ACEOF
18053 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18054 _ACEOF
18057 done
18059 CFLAGS="$ac_save_CFLAGS"
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18062 $as_echo_n "checking for library containing dlopen... " >&6; }
18063 if ${ac_cv_search_dlopen+:} false; then :
18064 $as_echo_n "(cached) " >&6
18065 else
18066 ac_func_search_save_LIBS=$LIBS
18067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18068 /* end confdefs.h. */
18070 /* Override any GCC internal prototype to avoid an error.
18071 Use char because int might match the return type of a GCC
18072 builtin and then its argument prototype would still apply. */
18073 #ifdef __cplusplus
18074 extern "C"
18075 #endif
18076 char dlopen ();
18078 main ()
18080 return dlopen ();
18082 return 0;
18084 _ACEOF
18085 for ac_lib in '' dl; do
18086 if test -z "$ac_lib"; then
18087 ac_res="none required"
18088 else
18089 ac_res=-l$ac_lib
18090 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18092 if ac_fn_c_try_link "$LINENO"; then :
18093 ac_cv_search_dlopen=$ac_res
18095 rm -f core conftest.err conftest.$ac_objext \
18096 conftest$ac_exeext
18097 if ${ac_cv_search_dlopen+:} false; then :
18098 break
18100 done
18101 if ${ac_cv_search_dlopen+:} false; then :
18103 else
18104 ac_cv_search_dlopen=no
18106 rm conftest.$ac_ext
18107 LIBS=$ac_func_search_save_LIBS
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18110 $as_echo "$ac_cv_search_dlopen" >&6; }
18111 ac_res=$ac_cv_search_dlopen
18112 if test "$ac_res" != no; then :
18113 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18117 ac_wine_check_funcs_save_LIBS="$LIBS"
18118 LIBS="$LIBS $DL_LIBS"
18119 for ac_func in dladdr dlinfo
18120 do :
18121 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18122 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18123 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18124 cat >>confdefs.h <<_ACEOF
18125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18126 _ACEOF
18129 done
18131 LIBS="$ac_wine_check_funcs_save_LIBS"
18133 if test "$ac_cv_func_poll" = no
18134 then
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18136 $as_echo_n "checking for poll in -lpoll... " >&6; }
18137 if ${ac_cv_lib_poll_poll+:} false; then :
18138 $as_echo_n "(cached) " >&6
18139 else
18140 ac_check_lib_save_LIBS=$LIBS
18141 LIBS="-lpoll $LIBS"
18142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18143 /* end confdefs.h. */
18145 /* Override any GCC internal prototype to avoid an error.
18146 Use char because int might match the return type of a GCC
18147 builtin and then its argument prototype would still apply. */
18148 #ifdef __cplusplus
18149 extern "C"
18150 #endif
18151 char poll ();
18153 main ()
18155 return poll ();
18157 return 0;
18159 _ACEOF
18160 if ac_fn_c_try_link "$LINENO"; then :
18161 ac_cv_lib_poll_poll=yes
18162 else
18163 ac_cv_lib_poll_poll=no
18165 rm -f core conftest.err conftest.$ac_objext \
18166 conftest$ac_exeext conftest.$ac_ext
18167 LIBS=$ac_check_lib_save_LIBS
18169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18170 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18171 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18172 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18173 POLL_LIBS="-lpoll"
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18180 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18181 if ${ac_cv_search_gethostbyname+:} false; then :
18182 $as_echo_n "(cached) " >&6
18183 else
18184 ac_func_search_save_LIBS=$LIBS
18185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18186 /* end confdefs.h. */
18188 /* Override any GCC internal prototype to avoid an error.
18189 Use char because int might match the return type of a GCC
18190 builtin and then its argument prototype would still apply. */
18191 #ifdef __cplusplus
18192 extern "C"
18193 #endif
18194 char gethostbyname ();
18196 main ()
18198 return gethostbyname ();
18200 return 0;
18202 _ACEOF
18203 for ac_lib in '' nsl; do
18204 if test -z "$ac_lib"; then
18205 ac_res="none required"
18206 else
18207 ac_res=-l$ac_lib
18208 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18210 if ac_fn_c_try_link "$LINENO"; then :
18211 ac_cv_search_gethostbyname=$ac_res
18213 rm -f core conftest.err conftest.$ac_objext \
18214 conftest$ac_exeext
18215 if ${ac_cv_search_gethostbyname+:} false; then :
18216 break
18218 done
18219 if ${ac_cv_search_gethostbyname+:} false; then :
18221 else
18222 ac_cv_search_gethostbyname=no
18224 rm conftest.$ac_ext
18225 LIBS=$ac_func_search_save_LIBS
18227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18228 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18229 ac_res=$ac_cv_search_gethostbyname
18230 if test "$ac_res" != no; then :
18231 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18237 $as_echo_n "checking for library containing connect... " >&6; }
18238 if ${ac_cv_search_connect+:} false; then :
18239 $as_echo_n "(cached) " >&6
18240 else
18241 ac_func_search_save_LIBS=$LIBS
18242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18245 /* Override any GCC internal prototype to avoid an error.
18246 Use char because int might match the return type of a GCC
18247 builtin and then its argument prototype would still apply. */
18248 #ifdef __cplusplus
18249 extern "C"
18250 #endif
18251 char connect ();
18253 main ()
18255 return connect ();
18257 return 0;
18259 _ACEOF
18260 for ac_lib in '' socket; do
18261 if test -z "$ac_lib"; then
18262 ac_res="none required"
18263 else
18264 ac_res=-l$ac_lib
18265 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18267 if ac_fn_c_try_link "$LINENO"; then :
18268 ac_cv_search_connect=$ac_res
18270 rm -f core conftest.err conftest.$ac_objext \
18271 conftest$ac_exeext
18272 if ${ac_cv_search_connect+:} false; then :
18273 break
18275 done
18276 if ${ac_cv_search_connect+:} false; then :
18278 else
18279 ac_cv_search_connect=no
18281 rm conftest.$ac_ext
18282 LIBS=$ac_func_search_save_LIBS
18284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18285 $as_echo "$ac_cv_search_connect" >&6; }
18286 ac_res=$ac_cv_search_connect
18287 if test "$ac_res" != no; then :
18288 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18294 $as_echo_n "checking for library containing inet_aton... " >&6; }
18295 if ${ac_cv_search_inet_aton+:} false; then :
18296 $as_echo_n "(cached) " >&6
18297 else
18298 ac_func_search_save_LIBS=$LIBS
18299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18300 /* end confdefs.h. */
18302 /* Override any GCC internal prototype to avoid an error.
18303 Use char because int might match the return type of a GCC
18304 builtin and then its argument prototype would still apply. */
18305 #ifdef __cplusplus
18306 extern "C"
18307 #endif
18308 char inet_aton ();
18310 main ()
18312 return inet_aton ();
18314 return 0;
18316 _ACEOF
18317 for ac_lib in '' resolv; do
18318 if test -z "$ac_lib"; then
18319 ac_res="none required"
18320 else
18321 ac_res=-l$ac_lib
18322 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18324 if ac_fn_c_try_link "$LINENO"; then :
18325 ac_cv_search_inet_aton=$ac_res
18327 rm -f core conftest.err conftest.$ac_objext \
18328 conftest$ac_exeext
18329 if ${ac_cv_search_inet_aton+:} false; then :
18330 break
18332 done
18333 if ${ac_cv_search_inet_aton+:} false; then :
18335 else
18336 ac_cv_search_inet_aton=no
18338 rm conftest.$ac_ext
18339 LIBS=$ac_func_search_save_LIBS
18341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18342 $as_echo "$ac_cv_search_inet_aton" >&6; }
18343 ac_res=$ac_cv_search_inet_aton
18344 if test "$ac_res" != no; then :
18345 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18350 for ac_func in \
18351 getaddrinfo \
18352 getnameinfo \
18353 getnetbyname \
18354 getservbyport \
18356 do :
18357 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18358 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18359 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18360 cat >>confdefs.h <<_ACEOF
18361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18362 _ACEOF
18365 done
18368 case $host_os in
18369 darwin*|macosx*) ;;
18370 *) ac_save_LIBS=$LIBS
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18372 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18373 if ${ac_cv_search_clock_gettime+:} false; then :
18374 $as_echo_n "(cached) " >&6
18375 else
18376 ac_func_search_save_LIBS=$LIBS
18377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18378 /* end confdefs.h. */
18380 /* Override any GCC internal prototype to avoid an error.
18381 Use char because int might match the return type of a GCC
18382 builtin and then its argument prototype would still apply. */
18383 #ifdef __cplusplus
18384 extern "C"
18385 #endif
18386 char clock_gettime ();
18388 main ()
18390 return clock_gettime ();
18392 return 0;
18394 _ACEOF
18395 for ac_lib in '' rt; do
18396 if test -z "$ac_lib"; then
18397 ac_res="none required"
18398 else
18399 ac_res=-l$ac_lib
18400 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18402 if ac_fn_c_try_link "$LINENO"; then :
18403 ac_cv_search_clock_gettime=$ac_res
18405 rm -f core conftest.err conftest.$ac_objext \
18406 conftest$ac_exeext
18407 if ${ac_cv_search_clock_gettime+:} false; then :
18408 break
18410 done
18411 if ${ac_cv_search_clock_gettime+:} false; then :
18413 else
18414 ac_cv_search_clock_gettime=no
18416 rm conftest.$ac_ext
18417 LIBS=$ac_func_search_save_LIBS
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18420 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18421 ac_res=$ac_cv_search_clock_gettime
18422 if test "$ac_res" != no; then :
18423 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18425 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18427 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18431 LIBS=$ac_save_LIBS
18433 esac
18435 if test "x$with_ldap" != "xno"
18436 then
18437 if ${LDAP_CFLAGS:+false} :; then :
18438 if ${PKG_CONFIG+:} false; then :
18439 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18443 if ${LDAP_LIBS:+false} :; then :
18444 if ${PKG_CONFIG+:} false; then :
18445 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18449 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18450 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18451 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18452 ac_save_CPPFLAGS=$CPPFLAGS
18453 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18454 for ac_header in ldap.h lber.h
18455 do :
18456 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18457 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18458 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18459 cat >>confdefs.h <<_ACEOF
18460 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18461 _ACEOF
18465 done
18467 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18468 then
18469 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18471 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18473 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18474 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18475 $as_echo_n "(cached) " >&6
18476 else
18477 ac_check_lib_save_LIBS=$LIBS
18478 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18482 /* Override any GCC internal prototype to avoid an error.
18483 Use char because int might match the return type of a GCC
18484 builtin and then its argument prototype would still apply. */
18485 #ifdef __cplusplus
18486 extern "C"
18487 #endif
18488 char ldap_initialize ();
18490 main ()
18492 return ldap_initialize ();
18494 return 0;
18496 _ACEOF
18497 if ac_fn_c_try_link "$LINENO"; then :
18498 ac_cv_lib_ldap_r_ldap_initialize=yes
18499 else
18500 ac_cv_lib_ldap_r_ldap_initialize=no
18502 rm -f core conftest.err conftest.$ac_objext \
18503 conftest$ac_exeext conftest.$ac_ext
18504 LIBS=$ac_check_lib_save_LIBS
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18507 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18508 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18510 $as_echo_n "checking for ber_init in -llber... " >&6; }
18511 if ${ac_cv_lib_lber_ber_init+:} false; then :
18512 $as_echo_n "(cached) " >&6
18513 else
18514 ac_check_lib_save_LIBS=$LIBS
18515 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18517 /* end confdefs.h. */
18519 /* Override any GCC internal prototype to avoid an error.
18520 Use char because int might match the return type of a GCC
18521 builtin and then its argument prototype would still apply. */
18522 #ifdef __cplusplus
18523 extern "C"
18524 #endif
18525 char ber_init ();
18527 main ()
18529 return ber_init ();
18531 return 0;
18533 _ACEOF
18534 if ac_fn_c_try_link "$LINENO"; then :
18535 ac_cv_lib_lber_ber_init=yes
18536 else
18537 ac_cv_lib_lber_ber_init=no
18539 rm -f core conftest.err conftest.$ac_objext \
18540 conftest$ac_exeext conftest.$ac_ext
18541 LIBS=$ac_check_lib_save_LIBS
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18544 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18545 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18547 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18549 else
18550 LDAP_LIBS=""
18553 else
18554 LDAP_LIBS=""
18557 else
18558 LDAP_LIBS=""
18561 ac_wine_check_funcs_save_LIBS="$LIBS"
18562 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18563 for ac_func in \
18564 ldap_count_references \
18565 ldap_first_reference \
18566 ldap_next_reference \
18567 ldap_parse_reference \
18568 ldap_parse_sort_control \
18569 ldap_parse_sortresponse_control \
18570 ldap_parse_vlv_control \
18571 ldap_parse_vlvresponse_control
18572 do :
18573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18575 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18576 cat >>confdefs.h <<_ACEOF
18577 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18578 _ACEOF
18581 done
18583 LIBS="$ac_wine_check_funcs_save_LIBS"
18584 else
18585 LDAP_LIBS=""
18587 CPPFLAGS=$ac_save_CPPFLAGS
18588 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18589 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18592 if test "x$LDAP_LIBS" = "x"; then :
18593 case "x$with_ldap" in
18594 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18595 xno) ;;
18596 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18597 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18598 esac
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18603 $as_echo_n "checking for sched_setaffinity... " >&6; }
18604 if ${wine_cv_have_sched_setaffinity+:} false; then :
18605 $as_echo_n "(cached) " >&6
18606 else
18607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18608 /* end confdefs.h. */
18609 #define _GNU_SOURCE
18610 #include <sched.h>
18612 main ()
18614 sched_setaffinity(0, 0, 0);
18616 return 0;
18618 _ACEOF
18619 if ac_fn_c_try_link "$LINENO"; then :
18620 wine_cv_have_sched_setaffinity=yes
18621 else
18622 wine_cv_have_sched_setaffinity=no
18624 rm -f core conftest.err conftest.$ac_objext \
18625 conftest$ac_exeext conftest.$ac_ext
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18628 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18629 if test "$wine_cv_have_sched_setaffinity" = "yes"
18630 then
18632 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18637 $as_echo_n "checking for fallocate... " >&6; }
18638 if ${wine_cv_have_fallocate+:} 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 <fcntl.h>
18646 main ()
18648 fallocate(-1, 0, 0, 0);
18650 return 0;
18652 _ACEOF
18653 if ac_fn_c_try_link "$LINENO"; then :
18654 wine_cv_have_fallocate=yes
18655 else
18656 wine_cv_have_fallocate=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_fallocate" >&5
18662 $as_echo "$wine_cv_have_fallocate" >&6; }
18663 if test "$wine_cv_have_fallocate" = "yes"
18664 then
18666 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18672 $as_echo_n "checking for inline... " >&6; }
18673 if ${ac_cv_c_inline+:} false; then :
18674 $as_echo_n "(cached) " >&6
18675 else
18676 ac_cv_c_inline=no
18677 for ac_kw in inline __inline__ __inline; do
18678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18679 /* end confdefs.h. */
18680 #ifndef __cplusplus
18681 typedef int foo_t;
18682 static $ac_kw foo_t static_foo () {return 0; }
18683 $ac_kw foo_t foo () {return 0; }
18684 #endif
18686 _ACEOF
18687 if ac_fn_c_try_compile "$LINENO"; then :
18688 ac_cv_c_inline=$ac_kw
18690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18691 test "$ac_cv_c_inline" != no && break
18692 done
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18696 $as_echo "$ac_cv_c_inline" >&6; }
18698 case $ac_cv_c_inline in
18699 inline | yes) ;;
18701 case $ac_cv_c_inline in
18702 no) ac_val=;;
18703 *) ac_val=$ac_cv_c_inline;;
18704 esac
18705 cat >>confdefs.h <<_ACEOF
18706 #ifndef __cplusplus
18707 #define inline $ac_val
18708 #endif
18709 _ACEOF
18711 esac
18713 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18714 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18716 cat >>confdefs.h <<_ACEOF
18717 #define HAVE_FSBLKCNT_T 1
18718 _ACEOF
18722 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18723 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18725 cat >>confdefs.h <<_ACEOF
18726 #define HAVE_FSFILCNT_T 1
18727 _ACEOF
18732 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18733 #include <signal.h>
18735 if test "x$ac_cv_type_sigset_t" = xyes; then :
18737 cat >>confdefs.h <<_ACEOF
18738 #define HAVE_SIGSET_T 1
18739 _ACEOF
18744 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18746 if test "x$ac_cv_type_request_sense" = xyes; then :
18748 cat >>confdefs.h <<_ACEOF
18749 #define HAVE_REQUEST_SENSE 1
18750 _ACEOF
18756 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18757 #ifdef HAVE_SYS_SOCKET_H
18758 #include <sys/socket.h>
18759 #endif
18760 #ifdef HAVE_SYS_SOCKETVAR_H
18761 #include <sys/socketvar.h>
18762 #endif
18763 #ifdef HAVE_NET_ROUTE_H
18764 #include <net/route.h>
18765 #endif
18766 #ifdef HAVE_NETINET_IN_H
18767 #include <netinet/in.h>
18768 #endif
18769 #ifdef HAVE_NETINET_IN_SYSTM_H
18770 #include <netinet/in_systm.h>
18771 #endif
18772 #ifdef HAVE_NETINET_IP_H
18773 #include <netinet/ip.h>
18774 #endif
18775 #ifdef HAVE_NETINET_IN_PCB_H
18776 #include <netinet/in_pcb.h>
18777 #endif
18779 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18781 cat >>confdefs.h <<_ACEOF
18782 #define HAVE_STRUCT_XINPGEN 1
18783 _ACEOF
18789 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18790 #include <linux/input.h>
18791 #endif
18793 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18795 cat >>confdefs.h <<_ACEOF
18796 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18797 _ACEOF
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18804 $as_echo_n "checking for if_nameindex... " >&6; }
18805 if ${wine_cv_have_if_nameindex+:} false; then :
18806 $as_echo_n "(cached) " >&6
18807 else
18808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18810 #ifdef HAVE_SYS_TYPES_H
18811 #include <sys/types.h>
18812 #endif
18813 #ifdef HAVE_SYS_SOCKET_H
18814 #include <sys/socket.h>
18815 #endif
18816 #ifdef HAVE_NET_IF_H
18817 # include <net/if.h>
18818 #endif
18820 main ()
18822 struct if_nameindex *p = if_nameindex(); return p->if_index;
18824 return 0;
18826 _ACEOF
18827 if ac_fn_c_try_link "$LINENO"; then :
18828 wine_cv_have_if_nameindex=yes
18829 else
18830 wine_cv_have_if_nameindex=no
18832 rm -f core conftest.err conftest.$ac_objext \
18833 conftest$ac_exeext conftest.$ac_ext
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18836 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18837 if test "$wine_cv_have_if_nameindex" = "yes"
18838 then
18840 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18845 $as_echo_n "checking for sigaddset... " >&6; }
18846 if ${wine_cv_have_sigaddset+:} false; then :
18847 $as_echo_n "(cached) " >&6
18848 else
18849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18850 /* end confdefs.h. */
18851 #include <signal.h>
18853 main ()
18855 sigset_t set; sigaddset(&set,SIGTERM);
18857 return 0;
18859 _ACEOF
18860 if ac_fn_c_try_link "$LINENO"; then :
18861 wine_cv_have_sigaddset=yes
18862 else
18863 wine_cv_have_sigaddset=no
18865 rm -f core conftest.err conftest.$ac_objext \
18866 conftest$ac_exeext conftest.$ac_ext
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18869 $as_echo "$wine_cv_have_sigaddset" >&6; }
18870 if test "$wine_cv_have_sigaddset" = "yes"
18871 then
18873 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18879 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18880 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18881 $as_echo_n "(cached) " >&6
18882 else
18883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 #include <netdb.h>
18887 main ()
18890 char *name=0;
18891 struct hostent he;
18892 struct hostent *result;
18893 char *buf=0;
18894 int bufsize=0;
18895 int errnr;
18896 char *addr=0;
18897 int addrlen=0;
18898 int addrtype=0;
18899 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18900 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18903 return 0;
18905 _ACEOF
18906 if ac_fn_c_try_link "$LINENO"; then :
18907 wine_cv_linux_gethostbyname_r_6=yes
18908 else
18909 wine_cv_linux_gethostbyname_r_6=no
18912 rm -f core conftest.err conftest.$ac_objext \
18913 conftest$ac_exeext conftest.$ac_ext
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18917 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18918 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18919 then
18921 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18925 if test "$ac_cv_header_linux_joystick_h" = "yes"
18926 then
18927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18928 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18929 if ${wine_cv_linux_joystick_22_api+:} false; then :
18930 $as_echo_n "(cached) " >&6
18931 else
18932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h. */
18935 #include <sys/ioctl.h>
18936 #include <sys/types.h>
18937 #include <linux/joystick.h>
18939 struct js_event blub;
18940 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18941 #error "no 2.2 header"
18942 #endif
18945 main ()
18947 /*empty*/
18949 return 0;
18951 _ACEOF
18952 if ac_fn_c_try_compile "$LINENO"; then :
18953 wine_cv_linux_joystick_22_api=yes
18954 else
18955 wine_cv_linux_joystick_22_api=no
18957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18961 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18962 if test "$wine_cv_linux_joystick_22_api" = "yes"
18963 then
18965 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18971 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18972 #ifdef HAVE_SYS_PARAM_H
18973 # include <sys/param.h>
18974 #endif
18975 #ifdef HAVE_SYS_MOUNT_H
18976 # include <sys/mount.h>
18977 #endif
18978 #ifdef HAVE_SYS_VFS_H
18979 # include <sys/vfs.h>
18980 #endif
18981 #ifdef HAVE_SYS_STATFS_H
18982 # include <sys/statfs.h>
18983 #endif
18985 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18987 cat >>confdefs.h <<_ACEOF
18988 #define HAVE_STRUCT_STATFS_F_BFREE 1
18989 _ACEOF
18993 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18994 #ifdef HAVE_SYS_PARAM_H
18995 # include <sys/param.h>
18996 #endif
18997 #ifdef HAVE_SYS_MOUNT_H
18998 # include <sys/mount.h>
18999 #endif
19000 #ifdef HAVE_SYS_VFS_H
19001 # include <sys/vfs.h>
19002 #endif
19003 #ifdef HAVE_SYS_STATFS_H
19004 # include <sys/statfs.h>
19005 #endif
19007 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
19009 cat >>confdefs.h <<_ACEOF
19010 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19011 _ACEOF
19015 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
19016 #ifdef HAVE_SYS_PARAM_H
19017 # include <sys/param.h>
19018 #endif
19019 #ifdef HAVE_SYS_MOUNT_H
19020 # include <sys/mount.h>
19021 #endif
19022 #ifdef HAVE_SYS_VFS_H
19023 # include <sys/vfs.h>
19024 #endif
19025 #ifdef HAVE_SYS_STATFS_H
19026 # include <sys/statfs.h>
19027 #endif
19029 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
19031 cat >>confdefs.h <<_ACEOF
19032 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19033 _ACEOF
19037 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
19038 #ifdef HAVE_SYS_PARAM_H
19039 # include <sys/param.h>
19040 #endif
19041 #ifdef HAVE_SYS_MOUNT_H
19042 # include <sys/mount.h>
19043 #endif
19044 #ifdef HAVE_SYS_VFS_H
19045 # include <sys/vfs.h>
19046 #endif
19047 #ifdef HAVE_SYS_STATFS_H
19048 # include <sys/statfs.h>
19049 #endif
19051 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
19053 cat >>confdefs.h <<_ACEOF
19054 #define HAVE_STRUCT_STATFS_F_FFREE 1
19055 _ACEOF
19059 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
19060 #ifdef HAVE_SYS_PARAM_H
19061 # include <sys/param.h>
19062 #endif
19063 #ifdef HAVE_SYS_MOUNT_H
19064 # include <sys/mount.h>
19065 #endif
19066 #ifdef HAVE_SYS_VFS_H
19067 # include <sys/vfs.h>
19068 #endif
19069 #ifdef HAVE_SYS_STATFS_H
19070 # include <sys/statfs.h>
19071 #endif
19073 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
19075 cat >>confdefs.h <<_ACEOF
19076 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19077 _ACEOF
19081 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
19082 #ifdef HAVE_SYS_PARAM_H
19083 # include <sys/param.h>
19084 #endif
19085 #ifdef HAVE_SYS_MOUNT_H
19086 # include <sys/mount.h>
19087 #endif
19088 #ifdef HAVE_SYS_VFS_H
19089 # include <sys/vfs.h>
19090 #endif
19091 #ifdef HAVE_SYS_STATFS_H
19092 # include <sys/statfs.h>
19093 #endif
19095 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
19097 cat >>confdefs.h <<_ACEOF
19098 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19099 _ACEOF
19105 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
19106 #include <sys/statvfs.h>
19107 #endif
19109 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
19111 cat >>confdefs.h <<_ACEOF
19112 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19113 _ACEOF
19119 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
19120 #include <dirent.h>
19121 #endif
19123 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
19125 cat >>confdefs.h <<_ACEOF
19126 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
19127 _ACEOF
19133 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19134 #ifdef HAVE_SYS_SOCKET_H
19135 # include <sys/socket.h>
19136 #endif
19137 #ifdef HAVE_SYS_UN_H
19138 # include <sys/un.h>
19139 #endif
19141 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
19143 cat >>confdefs.h <<_ACEOF
19144 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19145 _ACEOF
19149 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19150 #ifdef HAVE_SYS_SOCKET_H
19151 # include <sys/socket.h>
19152 #endif
19153 #ifdef HAVE_SYS_UN_H
19154 # include <sys/un.h>
19155 #endif
19157 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19159 cat >>confdefs.h <<_ACEOF
19160 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19161 _ACEOF
19165 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19166 #ifdef HAVE_SYS_SOCKET_H
19167 # include <sys/socket.h>
19168 #endif
19169 #ifdef HAVE_SYS_UN_H
19170 # include <sys/un.h>
19171 #endif
19173 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19175 cat >>confdefs.h <<_ACEOF
19176 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19177 _ACEOF
19183 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19184 #ifdef HAVE_SCSI_SG_H
19185 #include <scsi/sg.h>
19186 #endif
19188 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19190 cat >>confdefs.h <<_ACEOF
19191 #define HAVE_SCSIREQ_T_CMD 1
19192 _ACEOF
19196 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>
19197 #ifdef HAVE_SCSI_SG_H
19198 #include <scsi/sg.h>
19199 #endif
19201 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19203 cat >>confdefs.h <<_ACEOF
19204 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19205 _ACEOF
19211 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19213 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19215 cat >>confdefs.h <<_ACEOF
19216 #define HAVE_SIGINFO_T_SI_FD 1
19217 _ACEOF
19223 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19224 #ifdef HAVE_SYS_MTIO_H
19225 #include <sys/mtio.h>
19226 #endif
19228 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19230 cat >>confdefs.h <<_ACEOF
19231 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19232 _ACEOF
19236 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19237 #ifdef HAVE_SYS_MTIO_H
19238 #include <sys/mtio.h>
19239 #endif
19241 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19243 cat >>confdefs.h <<_ACEOF
19244 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19245 _ACEOF
19249 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19250 #ifdef HAVE_SYS_MTIO_H
19251 #include <sys/mtio.h>
19252 #endif
19254 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19256 cat >>confdefs.h <<_ACEOF
19257 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19258 _ACEOF
19264 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19265 #include <getopt.h>
19266 #endif
19268 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19270 cat >>confdefs.h <<_ACEOF
19271 #define HAVE_STRUCT_OPTION_NAME 1
19272 _ACEOF
19278 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19279 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19281 cat >>confdefs.h <<_ACEOF
19282 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19283 _ACEOF
19287 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19288 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19290 cat >>confdefs.h <<_ACEOF
19291 #define HAVE_STRUCT_STAT_ST_MTIM 1
19292 _ACEOF
19296 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19297 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19299 cat >>confdefs.h <<_ACEOF
19300 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19301 _ACEOF
19305 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19306 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19308 cat >>confdefs.h <<_ACEOF
19309 #define HAVE_STRUCT_STAT_ST_CTIM 1
19310 _ACEOF
19314 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19315 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19317 cat >>confdefs.h <<_ACEOF
19318 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19319 _ACEOF
19323 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19324 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19326 cat >>confdefs.h <<_ACEOF
19327 #define HAVE_STRUCT_STAT_ST_ATIM 1
19328 _ACEOF
19332 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19333 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19335 cat >>confdefs.h <<_ACEOF
19336 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19337 _ACEOF
19341 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19342 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19344 cat >>confdefs.h <<_ACEOF
19345 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19346 _ACEOF
19350 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19351 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19353 cat >>confdefs.h <<_ACEOF
19354 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19355 _ACEOF
19359 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19360 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19362 cat >>confdefs.h <<_ACEOF
19363 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19364 _ACEOF
19368 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19369 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19371 cat >>confdefs.h <<_ACEOF
19372 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19373 _ACEOF
19377 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19378 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19380 cat >>confdefs.h <<_ACEOF
19381 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19382 _ACEOF
19388 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
19389 #include <sys/types.h>
19390 #endif
19391 #ifdef HAVE_NETINET_IN_H
19392 #include <netinet/in.h>
19393 #endif
19395 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19397 cat >>confdefs.h <<_ACEOF
19398 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19399 _ACEOF
19405 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19406 #include <sys/types.h>
19407 #endif
19408 #ifdef HAVE_NETINET_IN_H
19409 #include <netinet/in.h>
19410 #endif
19411 #ifdef HAVE_RESOLV_H
19412 #include <resolv.h>
19413 #endif
19415 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19417 cat >>confdefs.h <<_ACEOF
19418 #define HAVE_STRUCT___RES_STATE 1
19419 _ACEOF
19425 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
19426 #include <resolv.h>
19427 #endif
19429 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19431 cat >>confdefs.h <<_ACEOF
19432 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19433 _ACEOF
19439 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#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_ARPA_NAMESER_H
19446 # include <arpa/nameser.h>
19447 #endif
19449 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19451 cat >>confdefs.h <<_ACEOF
19452 #define HAVE_NS_MSG__MSG_PTR 1
19453 _ACEOF
19459 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19460 #include <sys/types.h>
19461 #endif
19462 #ifdef HAVE_NETINET_IN_H
19463 #include <netinet/in.h>
19464 #endif
19465 #ifdef HAVE_NETINET_IP_H
19466 #include <netinet/ip.h>
19467 #endif
19468 #ifdef HAVE_NETINET_IP_ICMP_H
19469 #include <netinet/ip_icmp.h>
19470 #endif
19471 #ifdef HAVE_NETINET_ICMP_VAR_H
19472 #include <netinet/icmp_var.h>
19473 #endif
19475 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19477 cat >>confdefs.h <<_ACEOF
19478 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19479 _ACEOF
19485 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19486 #include <sys/types.h>
19487 #endif
19488 #ifdef HAVE_ALIAS_H
19489 #include <alias.h>
19490 #endif
19491 #ifdef HAVE_SYS_SOCKET_H
19492 #include <sys/socket.h>
19493 #endif
19494 #ifdef HAVE_SYS_SOCKETVAR_H
19495 #include <sys/socketvar.h>
19496 #endif
19497 #ifdef HAVE_SYS_TIMEOUT_H
19498 #include <sys/timeout.h>
19499 #endif
19500 #ifdef HAVE_NETINET_IN_H
19501 #include <netinet/in.h>
19502 #endif
19503 #ifdef HAVE_NETINET_IN_SYSTM_H
19504 #include <netinet/in_systm.h>
19505 #endif
19506 #ifdef HAVE_NETINET_IP_H
19507 #include <netinet/ip.h>
19508 #endif
19509 #ifdef HAVE_NETINET_IP_VAR_H
19510 #include <netinet/ip_var.h>
19511 #endif
19512 #ifdef HAVE_NETINET_IP_ICMP_H
19513 #include <netinet/ip_icmp.h>
19514 #endif
19515 #ifdef HAVE_NETINET_ICMP_VAR_H
19516 #include <netinet/icmp_var.h>
19517 #endif
19519 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19521 cat >>confdefs.h <<_ACEOF
19522 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19523 _ACEOF
19529 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19530 #include <sys/types.h>
19531 #endif
19532 #ifdef HAVE_SYS_SOCKETVAR_H
19533 #include <sys/socketvar.h>
19534 #endif
19535 #ifdef HAVE_NETINET_IN_H
19536 #include <netinet/in.h>
19537 #endif
19538 #ifdef HAVE_NETINET_IP_VAR_H
19539 #include <netinet/ip_var.h>
19540 #endif
19542 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19544 cat >>confdefs.h <<_ACEOF
19545 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19546 _ACEOF
19552 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
19553 #include <netinet/ip_var.h>
19554 #endif
19556 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19558 cat >>confdefs.h <<_ACEOF
19559 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19560 _ACEOF
19566 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19567 #include <sys/types.h>
19568 #endif
19569 #ifdef HAVE_SYS_SOCKETVAR_H
19570 #include <sys/socketvar.h>
19571 #endif
19572 #ifdef HAVE_NETINET_IN_H
19573 #include <netinet/in.h>
19574 #endif
19575 #ifdef HAVE_NETINET_TCP_H
19576 #include <netinet/tcp.h>
19577 #endif
19578 #ifdef HAVE_NETINET_TCP_VAR_H
19579 #include <netinet/tcp_var.h>
19580 #endif
19582 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19584 cat >>confdefs.h <<_ACEOF
19585 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19586 _ACEOF
19592 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
19593 #include <netinet/tcp_var.h>
19594 #endif
19596 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19598 cat >>confdefs.h <<_ACEOF
19599 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19600 _ACEOF
19606 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19607 #include <sys/types.h>
19608 #endif
19609 #ifdef HAVE_NETINET_IN_H
19610 #include <netinet/in.h>
19611 #endif
19612 #ifdef HAVE_NETINET_IP_VAR_H
19613 #include <netinet/ip_var.h>
19614 #endif
19615 #ifdef HAVE_NETINET_UDP_H
19616 #include <netinet/udp.h>
19617 #endif
19618 #ifdef HAVE_NETINET_UDP_VAR_H
19619 #include <netinet/udp_var.h>
19620 #endif
19622 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19624 cat >>confdefs.h <<_ACEOF
19625 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19626 _ACEOF
19632 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19633 #include <sys/types.h>
19634 #endif
19635 #ifdef HAVE_NET_IF_H
19636 # include <net/if.h>
19637 #endif
19639 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19641 cat >>confdefs.h <<_ACEOF
19642 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19643 _ACEOF
19649 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19650 # include <sys/sysinfo.h>
19651 #endif
19653 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19655 cat >>confdefs.h <<_ACEOF
19656 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19657 _ACEOF
19661 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19662 # include <sys/sysinfo.h>
19663 #endif
19665 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19667 cat >>confdefs.h <<_ACEOF
19668 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19669 _ACEOF
19675 ac_save_LIBS="$LIBS"
19676 LIBS="$LIBS -lm"
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19678 $as_echo_n "checking for isfinite... " >&6; }
19679 if ${ac_cv_have_isfinite+:} false; then :
19680 $as_echo_n "(cached) " >&6
19681 else
19682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19683 /* end confdefs.h. */
19684 #define _GNU_SOURCE
19685 #include <math.h>
19687 main ()
19689 float f = 0.0; return isfinite(f)
19691 return 0;
19693 _ACEOF
19694 if ac_fn_c_try_link "$LINENO"; then :
19695 ac_cv_have_isfinite="yes"
19696 else
19697 ac_cv_have_isfinite="no"
19699 rm -f core conftest.err conftest.$ac_objext \
19700 conftest$ac_exeext conftest.$ac_ext
19702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19703 $as_echo "$ac_cv_have_isfinite" >&6; }
19704 if test "$ac_cv_have_isfinite" = "yes"
19705 then
19707 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19712 $as_echo_n "checking for isinf... " >&6; }
19713 if ${ac_cv_have_isinf+:} false; then :
19714 $as_echo_n "(cached) " >&6
19715 else
19716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19717 /* end confdefs.h. */
19718 #include <math.h>
19720 main ()
19722 float f = 0.0; return isinf(f)
19724 return 0;
19726 _ACEOF
19727 if ac_fn_c_try_link "$LINENO"; then :
19728 ac_cv_have_isinf="yes"
19729 else
19730 ac_cv_have_isinf="no"
19732 rm -f core conftest.err conftest.$ac_objext \
19733 conftest$ac_exeext conftest.$ac_ext
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19736 $as_echo "$ac_cv_have_isinf" >&6; }
19737 if test "$ac_cv_have_isinf" = "yes"
19738 then
19740 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19745 $as_echo_n "checking for isnan... " >&6; }
19746 if ${ac_cv_have_isnan+:} false; then :
19747 $as_echo_n "(cached) " >&6
19748 else
19749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19750 /* end confdefs.h. */
19751 #include <math.h>
19753 main ()
19755 float f = 0.0; return isnan(f)
19757 return 0;
19759 _ACEOF
19760 if ac_fn_c_try_link "$LINENO"; then :
19761 ac_cv_have_isnan="yes"
19762 else
19763 ac_cv_have_isnan="no"
19765 rm -f core conftest.err conftest.$ac_objext \
19766 conftest$ac_exeext conftest.$ac_ext
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19769 $as_echo "$ac_cv_have_isnan" >&6; }
19770 if test "$ac_cv_have_isnan" = "yes"
19771 then
19773 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19777 for ac_func in \
19778 acosh \
19779 acoshf \
19780 asinh \
19781 asinhf \
19782 atanh \
19783 atanhf \
19784 cbrt \
19785 cbrtf \
19786 erf \
19787 erfc \
19788 erfcf \
19789 erff \
19790 exp2 \
19791 exp2f \
19792 expm1 \
19793 expm1f \
19794 fma \
19795 fmaf \
19796 ilogb \
19797 ilogbf \
19798 j0 \
19799 j1 \
19800 jn \
19801 lgamma \
19802 lgammaf \
19803 llrint \
19804 llrintf \
19805 llround \
19806 llroundf \
19807 log1p \
19808 log1pf \
19809 log2 \
19810 log2f \
19811 lrint \
19812 lrintf \
19813 lround \
19814 lroundf \
19815 nearbyint \
19816 nearbyintf \
19817 nexttoward \
19818 nexttowardf \
19819 remainder \
19820 remainderf \
19821 remquo \
19822 remquof \
19823 rint \
19824 rintf \
19825 round \
19826 roundf \
19827 tgamma \
19828 tgammaf \
19829 trunc \
19830 truncf \
19831 y0 \
19832 y1 \
19835 do :
19836 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19837 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19838 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19839 cat >>confdefs.h <<_ACEOF
19840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19841 _ACEOF
19844 done
19846 LIBS="$ac_save_LIBS"
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19849 $as_echo_n "checking for __builtin_popcount... " >&6; }
19850 if ${ac_cv_have___builtin_popcount+:} false; then :
19851 $as_echo_n "(cached) " >&6
19852 else
19853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19854 /* end confdefs.h. */
19857 main ()
19859 return __builtin_popcount(1)
19861 return 0;
19863 _ACEOF
19864 if ac_fn_c_try_link "$LINENO"; then :
19865 ac_cv_have___builtin_popcount="yes"
19866 else
19867 ac_cv_have___builtin_popcount="no"
19869 rm -f core conftest.err conftest.$ac_objext \
19870 conftest$ac_exeext conftest.$ac_ext
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19873 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19874 if test "$ac_cv_have___builtin_popcount" = "yes"
19875 then
19877 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19882 $as_echo_n "checking for __clear_cache... " >&6; }
19883 if ${ac_cv_have___clear_cache+:} false; then :
19884 $as_echo_n "(cached) " >&6
19885 else
19886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19887 /* end confdefs.h. */
19890 main ()
19892 __clear_cache((void*)0, (void*)0); return 0;
19894 return 0;
19896 _ACEOF
19897 if ac_fn_c_try_link "$LINENO"; then :
19898 ac_cv_have___clear_cache="yes"
19899 else
19900 ac_cv_have___clear_cache="no"
19902 rm -f core conftest.err conftest.$ac_objext \
19903 conftest$ac_exeext conftest.$ac_ext
19905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19906 $as_echo "$ac_cv_have___clear_cache" >&6; }
19907 if test "$ac_cv_have___clear_cache" = "yes"
19908 then
19910 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19915 case $host_cpu in
19916 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19917 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19918 if ${ac_cv_cpp_def___i386__+:} false; then :
19919 $as_echo_n "(cached) " >&6
19920 else
19921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19922 /* end confdefs.h. */
19923 #ifndef __i386__
19925 #endif
19926 _ACEOF
19927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19928 $EGREP "yes" >/dev/null 2>&1; then :
19929 ac_cv_cpp_def___i386__=yes
19930 else
19931 ac_cv_cpp_def___i386__=no
19933 rm -f conftest*
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19937 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19938 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19939 CFLAGS="$CFLAGS -D__i386__"
19940 LINTFLAGS="$LINTFLAGS -D__i386__"
19941 fi ;;
19942 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19943 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19944 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19945 $as_echo_n "(cached) " >&6
19946 else
19947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19948 /* end confdefs.h. */
19949 #ifndef __x86_64__
19951 #endif
19952 _ACEOF
19953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19954 $EGREP "yes" >/dev/null 2>&1; then :
19955 ac_cv_cpp_def___x86_64__=yes
19956 else
19957 ac_cv_cpp_def___x86_64__=no
19959 rm -f conftest*
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19963 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19964 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19965 CFLAGS="$CFLAGS -D__x86_64__"
19966 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19967 fi ;;
19968 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19969 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19970 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19971 $as_echo_n "(cached) " >&6
19972 else
19973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19974 /* end confdefs.h. */
19975 #ifndef __sparc64__
19977 #endif
19978 _ACEOF
19979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19980 $EGREP "yes" >/dev/null 2>&1; then :
19981 ac_cv_cpp_def___sparc64__=yes
19982 else
19983 ac_cv_cpp_def___sparc64__=no
19985 rm -f conftest*
19988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19989 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19990 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19991 CFLAGS="$CFLAGS -D__sparc64__"
19992 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19993 fi ;;
19994 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19995 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19996 if ${ac_cv_cpp_def___sparc__+:} false; then :
19997 $as_echo_n "(cached) " >&6
19998 else
19999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20000 /* end confdefs.h. */
20001 #ifndef __sparc__
20003 #endif
20004 _ACEOF
20005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20006 $EGREP "yes" >/dev/null 2>&1; then :
20007 ac_cv_cpp_def___sparc__=yes
20008 else
20009 ac_cv_cpp_def___sparc__=no
20011 rm -f conftest*
20014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20015 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
20016 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
20017 CFLAGS="$CFLAGS -D__sparc__"
20018 LINTFLAGS="$LINTFLAGS -D__sparc__"
20019 fi ;;
20020 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20021 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
20022 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
20023 $as_echo_n "(cached) " >&6
20024 else
20025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20026 /* end confdefs.h. */
20027 #ifndef __powerpc64__
20029 #endif
20030 _ACEOF
20031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20032 $EGREP "yes" >/dev/null 2>&1; then :
20033 ac_cv_cpp_def___powerpc64__=yes
20034 else
20035 ac_cv_cpp_def___powerpc64__=no
20037 rm -f conftest*
20040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20041 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
20042 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
20043 CFLAGS="$CFLAGS -D__powerpc64__"
20044 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20045 fi ;;
20046 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20047 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
20048 if ${ac_cv_cpp_def___powerpc__+:} false; then :
20049 $as_echo_n "(cached) " >&6
20050 else
20051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20052 /* end confdefs.h. */
20053 #ifndef __powerpc__
20055 #endif
20056 _ACEOF
20057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20058 $EGREP "yes" >/dev/null 2>&1; then :
20059 ac_cv_cpp_def___powerpc__=yes
20060 else
20061 ac_cv_cpp_def___powerpc__=no
20063 rm -f conftest*
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20067 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
20068 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
20069 CFLAGS="$CFLAGS -D__powerpc__"
20070 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20071 fi ;;
20072 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20073 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
20074 if ${ac_cv_cpp_def___aarch64__+:} false; then :
20075 $as_echo_n "(cached) " >&6
20076 else
20077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20078 /* end confdefs.h. */
20079 #ifndef __aarch64__
20081 #endif
20082 _ACEOF
20083 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20084 $EGREP "yes" >/dev/null 2>&1; then :
20085 ac_cv_cpp_def___aarch64__=yes
20086 else
20087 ac_cv_cpp_def___aarch64__=no
20089 rm -f conftest*
20092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20093 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
20094 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
20095 CFLAGS="$CFLAGS -D__aarch64__"
20096 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20097 fi ;;
20098 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20099 $as_echo_n "checking whether we need to define __arm__... " >&6; }
20100 if ${ac_cv_cpp_def___arm__+:} false; then :
20101 $as_echo_n "(cached) " >&6
20102 else
20103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20104 /* end confdefs.h. */
20105 #ifndef __arm__
20107 #endif
20108 _ACEOF
20109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20110 $EGREP "yes" >/dev/null 2>&1; then :
20111 ac_cv_cpp_def___arm__=yes
20112 else
20113 ac_cv_cpp_def___arm__=no
20115 rm -f conftest*
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20119 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
20120 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
20121 CFLAGS="$CFLAGS -D__arm__"
20122 LINTFLAGS="$LINTFLAGS -D__arm__"
20123 fi ;;
20124 esac
20126 case $host_vendor in
20127 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20128 $as_echo_n "checking whether we need to define __sun__... " >&6; }
20129 if ${ac_cv_cpp_def___sun__+:} false; then :
20130 $as_echo_n "(cached) " >&6
20131 else
20132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20133 /* end confdefs.h. */
20134 #ifndef __sun__
20136 #endif
20137 _ACEOF
20138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20139 $EGREP "yes" >/dev/null 2>&1; then :
20140 ac_cv_cpp_def___sun__=yes
20141 else
20142 ac_cv_cpp_def___sun__=no
20144 rm -f conftest*
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20148 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
20149 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
20150 CFLAGS="$CFLAGS -D__sun__"
20151 LINTFLAGS="$LINTFLAGS -D__sun__"
20152 fi ;;
20153 esac
20159 ac_config_commands="$ac_config_commands include/stamp-h"
20161 $as_echo_n "creating Makefile rules..." >&6
20163 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
20164 OPENGL_LIBS = $OPENGL_LIBS
20165 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20166 IOKIT_LIBS = $IOKIT_LIBS
20167 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
20168 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20169 CORESERVICES_LIBS = $CORESERVICES_LIBS
20170 APPKIT_LIBS = $APPKIT_LIBS
20171 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20172 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20173 SECURITY_LIBS = $SECURITY_LIBS
20174 COREAUDIO_LIBS = $COREAUDIO_LIBS
20175 OPENAL_LIBS = $OPENAL_LIBS
20176 OPENCL_LIBS = $OPENCL_LIBS
20177 QUICKTIME_LIBS = $QUICKTIME_LIBS
20178 CARBON_LIBS = $CARBON_LIBS
20179 METAL_LIBS = $METAL_LIBS
20180 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20181 PTHREAD_LIBS = $PTHREAD_LIBS
20182 X_CFLAGS = $X_CFLAGS
20183 X_PRE_LIBS = $X_PRE_LIBS
20184 X_LIBS = $X_LIBS
20185 X_EXTRA_LIBS = $X_EXTRA_LIBS
20186 PCAP_LIBS = $PCAP_LIBS
20187 XML2_CFLAGS = $XML2_CFLAGS
20188 XML2_LIBS = $XML2_LIBS
20189 XSLT_CFLAGS = $XSLT_CFLAGS
20190 XSLT_LIBS = $XSLT_LIBS
20191 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20192 INOTIFY_LIBS = $INOTIFY_LIBS
20193 DBUS_CFLAGS = $DBUS_CFLAGS
20194 DBUS_LIBS = $DBUS_LIBS
20195 HAL_CFLAGS = $HAL_CFLAGS
20196 HAL_LIBS = $HAL_LIBS
20197 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20198 GNUTLS_LIBS = $GNUTLS_LIBS
20199 SANE_CFLAGS = $SANE_CFLAGS
20200 SANE_LIBS = $SANE_LIBS
20201 USB_CFLAGS = $USB_CFLAGS
20202 USB_LIBS = $USB_LIBS
20203 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20204 GPHOTO2_LIBS = $GPHOTO2_LIBS
20205 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20206 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20207 RESOLV_LIBS = $RESOLV_LIBS
20208 LCMS2_CFLAGS = $LCMS2_CFLAGS
20209 LCMS2_LIBS = $LCMS2_LIBS
20210 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20211 FREETYPE_LIBS = $FREETYPE_LIBS
20212 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20213 PULSE_CFLAGS = $PULSE_CFLAGS
20214 PULSE_LIBS = $PULSE_LIBS
20215 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20216 GSTREAMER_LIBS = $GSTREAMER_LIBS
20217 ALSA_LIBS = $ALSA_LIBS
20218 OSS4_CFLAGS = $OSS4_CFLAGS
20219 OSS4_LIBS = $OSS4_LIBS
20220 UDEV_CFLAGS = $UDEV_CFLAGS
20221 UDEV_LIBS = $UDEV_LIBS
20222 UNWIND_CFLAGS = $UNWIND_CFLAGS
20223 UNWIND_LIBS = $UNWIND_LIBS
20224 SDL2_CFLAGS = $SDL2_CFLAGS
20225 SDL2_LIBS = $SDL2_LIBS
20226 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20227 FAUDIO_LIBS = $FAUDIO_LIBS
20228 CAPI20_CFLAGS = $CAPI20_CFLAGS
20229 CAPI20_LIBS = $CAPI20_LIBS
20230 CUPS_CFLAGS = $CUPS_CFLAGS
20231 CUPS_LIBS = $CUPS_LIBS
20232 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20233 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20234 KRB5_CFLAGS = $KRB5_CFLAGS
20235 KRB5_LIBS = $KRB5_LIBS
20236 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20237 GSSAPI_LIBS = $GSSAPI_LIBS
20238 JPEG_CFLAGS = $JPEG_CFLAGS
20239 JPEG_LIBS = $JPEG_LIBS
20240 PNG_CFLAGS = $PNG_CFLAGS
20241 PNG_LIBS = $PNG_LIBS
20242 TIFF_CFLAGS = $TIFF_CFLAGS
20243 TIFF_LIBS = $TIFF_LIBS
20244 MPG123_CFLAGS = $MPG123_CFLAGS
20245 MPG123_LIBS = $MPG123_LIBS
20246 KSTAT_LIBS = $KSTAT_LIBS
20247 PROCSTAT_LIBS = $PROCSTAT_LIBS
20248 NETAPI_CFLAGS = $NETAPI_CFLAGS
20249 NETAPI_LIBS = $NETAPI_LIBS
20250 VKD3D_CFLAGS = $VKD3D_CFLAGS
20251 VKD3D_LIBS = $VKD3D_LIBS
20252 POLL_LIBS = $POLL_LIBS
20253 RT_LIBS = $RT_LIBS
20254 LDAP_CFLAGS = $LDAP_CFLAGS
20255 LDAP_LIBS = $LDAP_LIBS
20260 wine_fn_append_rule "
20261 # Rules automatically generated by configure
20263 .INIT: Makefile
20264 .MAKEFILEDEPS:
20265 all: Makefile
20266 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20267 @./config.status Make.tmp Makefile
20268 depend: \$(MAKEDEP) dummy
20269 \$(MAKEDEP)"
20271 ac_config_links="$ac_config_links wine:tools/winewrapper"
20272 wine_fn_config_symlink wine
20273 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20274 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20275 wine_fn_config_symlink wine64
20278 wine_fn_config_makefile dlls/acledit enable_acledit
20279 wine_fn_config_makefile dlls/aclui enable_aclui
20280 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20281 wine_fn_config_makefile dlls/activeds enable_activeds
20282 wine_fn_config_makefile dlls/activeds/tests enable_tests
20283 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20284 wine_fn_config_makefile dlls/adsiid enable_adsiid
20285 wine_fn_config_makefile dlls/adsldp enable_adsldp
20286 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20287 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20288 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20289 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20290 wine_fn_config_makefile dlls/advpack enable_advpack
20291 wine_fn_config_makefile dlls/advpack/tests enable_tests
20292 wine_fn_config_makefile dlls/amsi enable_amsi
20293 wine_fn_config_makefile dlls/amstream enable_amstream
20294 wine_fn_config_makefile dlls/amstream/tests enable_tests
20295 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20297 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20298 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20300 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20305 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20313 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20315 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20317 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20319 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20320 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20321 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20323 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20327 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20328 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20329 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20331 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20332 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20335 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20339 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20341 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20345 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20346 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20349 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20350 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20351 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20352 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20353 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20355 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20356 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20357 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20358 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20359 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20360 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20361 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20362 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20363 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20364 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20365 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20366 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20367 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20368 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20369 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20370 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20371 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20372 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20373 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20374 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20375 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20376 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20377 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20378 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20379 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20380 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20381 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20382 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20383 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20384 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20385 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20386 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20387 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20388 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20389 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20390 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20391 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20392 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20393 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20394 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20395 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20396 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20397 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20398 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20399 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20400 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20401 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20402 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20403 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20404 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20405 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20406 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20407 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20408 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20409 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20410 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20411 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20412 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20413 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20414 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20415 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20416 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20417 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20418 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20419 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20420 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20421 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20422 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20423 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20424 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20425 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20426 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20427 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20428 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20429 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20430 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20431 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20432 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20433 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20434 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20435 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20436 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20437 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20438 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20439 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20440 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20441 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20442 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20443 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20444 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20445 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20446 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20447 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20448 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20449 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20450 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20451 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20452 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20453 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20454 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20455 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20456 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20457 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20458 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20459 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20460 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20461 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20462 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20463 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20464 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20465 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20466 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20467 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20468 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20469 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20470 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20471 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20472 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20473 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20474 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20475 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20476 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20477 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20478 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20479 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20480 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20481 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20482 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20483 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20484 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20485 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20486 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20487 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20488 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20489 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20490 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20491 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20492 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20493 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20494 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20495 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20496 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20497 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20498 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20499 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20500 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20501 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20502 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20503 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20504 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20505 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20506 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20507 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20508 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20509 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20510 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20511 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20512 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20513 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20514 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20515 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20516 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20517 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20518 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20519 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20520 wine_fn_config_makefile dlls/apphelp enable_apphelp
20521 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20522 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20523 wine_fn_config_makefile dlls/atl enable_atl
20524 wine_fn_config_makefile dlls/atl/tests enable_tests
20525 wine_fn_config_makefile dlls/atl100 enable_atl100
20526 wine_fn_config_makefile dlls/atl100/tests enable_tests
20527 wine_fn_config_makefile dlls/atl110 enable_atl110
20528 wine_fn_config_makefile dlls/atl80 enable_atl80
20529 wine_fn_config_makefile dlls/atl80/tests enable_tests
20530 wine_fn_config_makefile dlls/atl90 enable_atl90
20531 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20532 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20533 wine_fn_config_makefile dlls/atmlib enable_atmlib
20534 wine_fn_config_makefile dlls/authz enable_authz
20535 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20536 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20537 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20538 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20539 wine_fn_config_makefile dlls/avrt enable_avrt
20540 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20541 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20542 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20543 wine_fn_config_makefile dlls/browseui enable_browseui
20544 wine_fn_config_makefile dlls/browseui/tests enable_tests
20545 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20546 wine_fn_config_makefile dlls/cabinet enable_cabinet
20547 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20548 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20549 wine_fn_config_makefile dlls/cards enable_cards
20550 wine_fn_config_makefile dlls/cdosys enable_cdosys
20551 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20552 wine_fn_config_makefile dlls/clusapi enable_clusapi
20553 wine_fn_config_makefile dlls/combase enable_combase
20554 wine_fn_config_makefile dlls/combase/tests enable_tests
20555 wine_fn_config_makefile dlls/comcat enable_comcat
20556 wine_fn_config_makefile dlls/comcat/tests enable_tests
20557 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20558 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20559 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20560 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20561 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20562 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20563 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20564 wine_fn_config_makefile dlls/compstui enable_compstui
20565 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20566 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20567 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20568 wine_fn_config_makefile dlls/connect enable_connect
20569 wine_fn_config_makefile dlls/credui enable_credui
20570 wine_fn_config_makefile dlls/credui/tests enable_tests
20571 wine_fn_config_makefile dlls/crtdll enable_crtdll
20572 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20573 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20574 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20575 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20576 wine_fn_config_makefile dlls/cryptext enable_cryptext
20577 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20578 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20579 wine_fn_config_makefile dlls/cryptui enable_cryptui
20580 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20581 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20582 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20583 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20584 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20585 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20586 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20587 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20588 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20589 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20590 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20591 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20592 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20593 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20594 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20595 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20596 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20597 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20598 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20599 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20600 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20601 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20602 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20603 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20604 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20605 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20606 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20607 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20608 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20609 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20610 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20611 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20612 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20613 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20614 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20615 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20616 wine_fn_config_makefile dlls/d3dim enable_d3dim
20617 wine_fn_config_makefile dlls/d3drm enable_d3drm
20618 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20619 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20620 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20621 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20622 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20623 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20624 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20625 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20626 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20627 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20628 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20629 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20630 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20631 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20632 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20633 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20634 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20635 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20636 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20637 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20638 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20639 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20640 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20641 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20642 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20643 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20644 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20645 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20646 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20647 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20648 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20649 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20650 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20651 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20652 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20653 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20654 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20655 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20656 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20657 wine_fn_config_makefile dlls/davclnt enable_davclnt
20658 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20659 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20660 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20661 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20662 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20663 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20664 wine_fn_config_makefile dlls/ddraw enable_ddraw
20665 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20666 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20667 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20668 wine_fn_config_makefile dlls/devenum enable_devenum
20669 wine_fn_config_makefile dlls/devenum/tests enable_tests
20670 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20671 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20672 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20673 wine_fn_config_makefile dlls/difxapi enable_difxapi
20674 wine_fn_config_makefile dlls/dinput enable_dinput
20675 wine_fn_config_makefile dlls/dinput/tests enable_tests
20676 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20677 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20678 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20679 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20680 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20681 wine_fn_config_makefile dlls/dispex enable_dispex
20682 wine_fn_config_makefile dlls/dispex/tests enable_tests
20683 wine_fn_config_makefile dlls/display.drv16 enable_win16
20684 wine_fn_config_makefile dlls/dmband enable_dmband
20685 wine_fn_config_makefile dlls/dmband/tests enable_tests
20686 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20687 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20688 wine_fn_config_makefile dlls/dmime enable_dmime
20689 wine_fn_config_makefile dlls/dmime/tests enable_tests
20690 wine_fn_config_makefile dlls/dmloader enable_dmloader
20691 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20692 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20693 wine_fn_config_makefile dlls/dmscript enable_dmscript
20694 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20695 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20696 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20697 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20698 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20699 wine_fn_config_makefile dlls/dmusic enable_dmusic
20700 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20701 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20702 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20703 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20704 wine_fn_config_makefile dlls/dplay enable_dplay
20705 wine_fn_config_makefile dlls/dplayx enable_dplayx
20706 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20707 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20708 wine_fn_config_makefile dlls/dpnet enable_dpnet
20709 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20710 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20711 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20712 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20713 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20714 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20715 wine_fn_config_makefile dlls/drmclien enable_drmclien
20716 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20717 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20718 wine_fn_config_makefile dlls/dsound enable_dsound
20719 wine_fn_config_makefile dlls/dsound/tests enable_tests
20720 wine_fn_config_makefile dlls/dsquery enable_dsquery
20721 wine_fn_config_makefile dlls/dssenh enable_dssenh
20722 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20723 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20724 wine_fn_config_makefile dlls/dswave enable_dswave
20725 wine_fn_config_makefile dlls/dswave/tests enable_tests
20726 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20727 wine_fn_config_makefile dlls/dwrite enable_dwrite
20728 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20729 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20730 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20731 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20732 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20733 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20734 wine_fn_config_makefile dlls/dxgi enable_dxgi
20735 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20736 wine_fn_config_makefile dlls/dxguid enable_dxguid
20737 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20738 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20739 wine_fn_config_makefile dlls/esent enable_esent
20740 wine_fn_config_makefile dlls/evr enable_evr
20741 wine_fn_config_makefile dlls/evr/tests enable_tests
20742 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20743 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20744 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20745 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20746 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20747 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20748 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20749 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20750 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20751 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20752 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20753 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20754 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20755 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20756 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20757 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20758 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20759 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20760 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20761 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20762 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20763 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20764 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20765 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20766 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20767 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20768 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20769 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20770 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20771 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20772 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20773 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20774 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20775 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20776 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20777 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20778 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20779 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20780 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20781 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20782 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20783 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20784 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
20785 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20786 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20787 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20788 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20789 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20790 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20791 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20792 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20793 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20794 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20795 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20796 wine_fn_config_makefile dlls/faultrep enable_faultrep
20797 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20798 wine_fn_config_makefile dlls/feclient enable_feclient
20799 wine_fn_config_makefile dlls/fltlib enable_fltlib
20800 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20801 wine_fn_config_makefile dlls/fntcache enable_fntcache
20802 wine_fn_config_makefile dlls/fontsub enable_fontsub
20803 wine_fn_config_makefile dlls/fusion enable_fusion
20804 wine_fn_config_makefile dlls/fusion/tests enable_tests
20805 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20806 wine_fn_config_makefile dlls/gameux enable_gameux
20807 wine_fn_config_makefile dlls/gameux/tests enable_tests
20808 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20809 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20810 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20811 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20812 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20813 wine_fn_config_makefile dlls/glu32 enable_glu32
20814 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20815 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20816 wine_fn_config_makefile dlls/hal enable_hal
20817 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20818 wine_fn_config_makefile dlls/hid enable_hid
20819 wine_fn_config_makefile dlls/hid/tests enable_tests
20820 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20821 wine_fn_config_makefile dlls/hlink enable_hlink
20822 wine_fn_config_makefile dlls/hlink/tests enable_tests
20823 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20824 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20825 wine_fn_config_makefile dlls/http.sys enable_http_sys
20826 wine_fn_config_makefile dlls/httpapi enable_httpapi
20827 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20828 wine_fn_config_makefile dlls/iccvid enable_iccvid
20829 wine_fn_config_makefile dlls/icmp enable_icmp
20830 wine_fn_config_makefile dlls/ieframe enable_ieframe
20831 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20832 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20833 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20834 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20835 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20836 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20837 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20838 wine_fn_config_makefile dlls/imm32 enable_imm32
20839 wine_fn_config_makefile dlls/imm32/tests enable_tests
20840 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20841 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20842 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20843 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20844 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20845 wine_fn_config_makefile dlls/infosoft enable_infosoft
20846 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20847 wine_fn_config_makefile dlls/initpki enable_initpki
20848 wine_fn_config_makefile dlls/inkobj enable_inkobj
20849 wine_fn_config_makefile dlls/inseng enable_inseng
20850 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20851 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20852 wine_fn_config_makefile dlls/iprop enable_iprop
20853 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20854 wine_fn_config_makefile dlls/itircl enable_itircl
20855 wine_fn_config_makefile dlls/itss enable_itss
20856 wine_fn_config_makefile dlls/itss/tests enable_tests
20857 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20858 wine_fn_config_makefile dlls/jscript enable_jscript
20859 wine_fn_config_makefile dlls/jscript/tests enable_tests
20860 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20861 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20862 wine_fn_config_makefile dlls/kerberos enable_kerberos
20863 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20864 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20865 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20866 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20867 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20868 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20869 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20870 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20871 wine_fn_config_makefile dlls/ksuser enable_ksuser
20872 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20873 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20874 wine_fn_config_makefile dlls/loadperf enable_loadperf
20875 wine_fn_config_makefile dlls/localspl enable_localspl
20876 wine_fn_config_makefile dlls/localspl/tests enable_tests
20877 wine_fn_config_makefile dlls/localui enable_localui
20878 wine_fn_config_makefile dlls/localui/tests enable_tests
20879 wine_fn_config_makefile dlls/lz32 enable_lz32
20880 wine_fn_config_makefile dlls/lz32/tests enable_tests
20881 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20882 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20883 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20884 wine_fn_config_makefile dlls/mapistub enable_mapistub
20885 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20886 wine_fn_config_makefile dlls/mcicda enable_mcicda
20887 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20888 wine_fn_config_makefile dlls/mciseq enable_mciseq
20889 wine_fn_config_makefile dlls/mciwave enable_mciwave
20890 wine_fn_config_makefile dlls/mf enable_mf
20891 wine_fn_config_makefile dlls/mf/tests enable_tests
20892 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20893 wine_fn_config_makefile dlls/mferror enable_mferror
20894 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20895 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20896 wine_fn_config_makefile dlls/mfplat enable_mfplat
20897 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20898 wine_fn_config_makefile dlls/mfplay enable_mfplay
20899 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20900 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20901 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20902 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20903 wine_fn_config_makefile dlls/midimap enable_midimap
20904 wine_fn_config_makefile dlls/mlang enable_mlang
20905 wine_fn_config_makefile dlls/mlang/tests enable_tests
20906 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20907 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20908 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20909 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20910 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20911 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20912 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20913 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20914 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20915 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20916 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20917 wine_fn_config_makefile dlls/mpr enable_mpr
20918 wine_fn_config_makefile dlls/mpr/tests enable_tests
20919 wine_fn_config_makefile dlls/mprapi enable_mprapi
20920 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20921 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20922 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20923 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20924 wine_fn_config_makefile dlls/msado15 enable_msado15
20925 wine_fn_config_makefile dlls/msado15/tests enable_tests
20926 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20927 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20928 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20929 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20930 wine_fn_config_makefile dlls/mscms enable_mscms
20931 wine_fn_config_makefile dlls/mscms/tests enable_tests
20932 wine_fn_config_makefile dlls/mscoree enable_mscoree
20933 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20934 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20935 wine_fn_config_makefile dlls/msctf enable_msctf
20936 wine_fn_config_makefile dlls/msctf/tests enable_tests
20937 wine_fn_config_makefile dlls/msctfp enable_msctfp
20938 wine_fn_config_makefile dlls/msdaps enable_msdaps
20939 wine_fn_config_makefile dlls/msdelta enable_msdelta
20940 wine_fn_config_makefile dlls/msdmo enable_msdmo
20941 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20942 wine_fn_config_makefile dlls/msdrm enable_msdrm
20943 wine_fn_config_makefile dlls/msftedit enable_msftedit
20944 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20945 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20946 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20947 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20948 wine_fn_config_makefile dlls/mshtml enable_mshtml
20949 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20950 wine_fn_config_makefile dlls/msi enable_msi
20951 wine_fn_config_makefile dlls/msi/tests enable_tests
20952 wine_fn_config_makefile dlls/msident enable_msident
20953 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20954 wine_fn_config_makefile dlls/msimsg enable_msimsg
20955 wine_fn_config_makefile dlls/msimtf enable_msimtf
20956 wine_fn_config_makefile dlls/msisip enable_msisip
20957 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20958 wine_fn_config_makefile dlls/msls31 enable_msls31
20959 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20960 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20961 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20962 wine_fn_config_makefile dlls/msports enable_msports
20963 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20964 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20965 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20966 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20967 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20968 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20969 wine_fn_config_makefile dlls/mstask enable_mstask
20970 wine_fn_config_makefile dlls/mstask/tests enable_tests
20971 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20972 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20973 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20974 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20975 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20976 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20977 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20978 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20979 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20980 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20981 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20982 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20983 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20984 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20985 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20986 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20987 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20988 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20989 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20990 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20991 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20992 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20993 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20994 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20995 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20996 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20997 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20998 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20999 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21000 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21001 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21002 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21003 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21004 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21005 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21006 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21007 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21008 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21009 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21010 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21011 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21012 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21013 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21014 wine_fn_config_makefile dlls/mswsock enable_mswsock
21015 wine_fn_config_makefile dlls/msxml enable_msxml
21016 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21017 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21018 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21019 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21020 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21021 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21022 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21023 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21024 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21025 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21026 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21027 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21028 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21029 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21030 wine_fn_config_makefile dlls/netprofm enable_netprofm
21031 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21032 wine_fn_config_makefile dlls/newdev enable_newdev
21033 wine_fn_config_makefile dlls/ninput enable_ninput
21034 wine_fn_config_makefile dlls/ninput/tests enable_tests
21035 wine_fn_config_makefile dlls/normaliz enable_normaliz
21036 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21037 wine_fn_config_makefile dlls/npptools enable_npptools
21038 wine_fn_config_makefile dlls/ntdll enable_ntdll
21039 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21040 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21041 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21042 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21043 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21044 wine_fn_config_makefile dlls/ntprint enable_ntprint
21045 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21046 wine_fn_config_makefile dlls/objsel enable_objsel
21047 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21048 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21049 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21050 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21051 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21052 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21053 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21054 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21055 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21056 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21057 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21058 wine_fn_config_makefile dlls/ole32 enable_ole32
21059 wine_fn_config_makefile dlls/ole32/tests enable_tests
21060 wine_fn_config_makefile dlls/oleacc enable_oleacc
21061 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21062 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21063 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21064 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21065 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21066 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21067 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21068 wine_fn_config_makefile dlls/oledlg enable_oledlg
21069 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21070 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21071 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21072 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21073 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21074 wine_fn_config_makefile dlls/opcservices enable_opcservices
21075 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21076 wine_fn_config_makefile dlls/openal32 enable_openal32
21077 wine_fn_config_makefile dlls/opencl enable_opencl
21078 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21079 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21080 wine_fn_config_makefile dlls/packager enable_packager
21081 wine_fn_config_makefile dlls/packager/tests enable_tests
21082 wine_fn_config_makefile dlls/pdh enable_pdh
21083 wine_fn_config_makefile dlls/pdh/tests enable_tests
21084 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21085 wine_fn_config_makefile dlls/pidgen enable_pidgen
21086 wine_fn_config_makefile dlls/powrprof enable_powrprof
21087 wine_fn_config_makefile dlls/printui enable_printui
21088 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21089 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21090 wine_fn_config_makefile dlls/propsys enable_propsys
21091 wine_fn_config_makefile dlls/propsys/tests enable_tests
21092 wine_fn_config_makefile dlls/psapi enable_psapi
21093 wine_fn_config_makefile dlls/psapi/tests enable_tests
21094 wine_fn_config_makefile dlls/pstorec enable_pstorec
21095 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21096 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21097 wine_fn_config_makefile dlls/qasf enable_qasf
21098 wine_fn_config_makefile dlls/qasf/tests enable_tests
21099 wine_fn_config_makefile dlls/qcap enable_qcap
21100 wine_fn_config_makefile dlls/qcap/tests enable_tests
21101 wine_fn_config_makefile dlls/qdvd enable_qdvd
21102 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21103 wine_fn_config_makefile dlls/qedit enable_qedit
21104 wine_fn_config_makefile dlls/qedit/tests enable_tests
21105 wine_fn_config_makefile dlls/qmgr enable_qmgr
21106 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21107 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21108 wine_fn_config_makefile dlls/quartz enable_quartz
21109 wine_fn_config_makefile dlls/quartz/tests enable_tests
21110 wine_fn_config_makefile dlls/query enable_query
21111 wine_fn_config_makefile dlls/qwave enable_qwave
21112 wine_fn_config_makefile dlls/qwave/tests enable_tests
21113 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21114 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21115 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21116 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21117 wine_fn_config_makefile dlls/regapi enable_regapi
21118 wine_fn_config_makefile dlls/resutils enable_resutils
21119 wine_fn_config_makefile dlls/riched20 enable_riched20
21120 wine_fn_config_makefile dlls/riched20/tests enable_tests
21121 wine_fn_config_makefile dlls/riched32 enable_riched32
21122 wine_fn_config_makefile dlls/riched32/tests enable_tests
21123 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21124 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21125 wine_fn_config_makefile dlls/rsabase enable_rsabase
21126 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21127 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21128 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21129 wine_fn_config_makefile dlls/rtutils enable_rtutils
21130 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21131 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21132 wine_fn_config_makefile dlls/samlib enable_samlib
21133 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21134 wine_fn_config_makefile dlls/sapi enable_sapi
21135 wine_fn_config_makefile dlls/sapi/tests enable_tests
21136 wine_fn_config_makefile dlls/sas enable_sas
21137 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21138 wine_fn_config_makefile dlls/sccbase enable_sccbase
21139 wine_fn_config_makefile dlls/schannel enable_schannel
21140 wine_fn_config_makefile dlls/schannel/tests enable_tests
21141 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21142 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21143 wine_fn_config_makefile dlls/scrobj enable_scrobj
21144 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21145 wine_fn_config_makefile dlls/scrrun enable_scrrun
21146 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21147 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21148 wine_fn_config_makefile dlls/sechost enable_sechost
21149 wine_fn_config_makefile dlls/secur32 enable_secur32
21150 wine_fn_config_makefile dlls/secur32/tests enable_tests
21151 wine_fn_config_makefile dlls/security enable_security
21152 wine_fn_config_makefile dlls/sensapi enable_sensapi
21153 wine_fn_config_makefile dlls/serialui enable_serialui
21154 wine_fn_config_makefile dlls/serialui/tests enable_tests
21155 wine_fn_config_makefile dlls/setupapi enable_setupapi
21156 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21157 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21158 wine_fn_config_makefile dlls/sfc enable_sfc
21159 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21160 wine_fn_config_makefile dlls/shcore enable_shcore
21161 wine_fn_config_makefile dlls/shcore/tests enable_tests
21162 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21163 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21164 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21165 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21166 wine_fn_config_makefile dlls/shell32 enable_shell32
21167 wine_fn_config_makefile dlls/shell32/tests enable_tests
21168 wine_fn_config_makefile dlls/shfolder enable_shfolder
21169 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21170 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21171 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21172 wine_fn_config_makefile dlls/slc enable_slc
21173 wine_fn_config_makefile dlls/slc/tests enable_tests
21174 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21175 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21176 wine_fn_config_makefile dlls/softpub enable_softpub
21177 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21178 wine_fn_config_makefile dlls/spoolss enable_spoolss
21179 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21180 wine_fn_config_makefile dlls/srclient enable_srclient
21181 wine_fn_config_makefile dlls/sspicli enable_sspicli
21182 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21183 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21184 wine_fn_config_makefile dlls/sti enable_sti
21185 wine_fn_config_makefile dlls/sti/tests enable_tests
21186 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21187 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21188 wine_fn_config_makefile dlls/strmbase enable_strmbase
21189 wine_fn_config_makefile dlls/strmdll enable_strmdll
21190 wine_fn_config_makefile dlls/strmiids enable_strmiids
21191 wine_fn_config_makefile dlls/svrapi enable_svrapi
21192 wine_fn_config_makefile dlls/sxs enable_sxs
21193 wine_fn_config_makefile dlls/sxs/tests enable_tests
21194 wine_fn_config_makefile dlls/system.drv16 enable_win16
21195 wine_fn_config_makefile dlls/t2embed enable_t2embed
21196 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21197 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21198 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21199 wine_fn_config_makefile dlls/taskschd enable_taskschd
21200 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21201 wine_fn_config_makefile dlls/tdh enable_tdh
21202 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21203 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21204 wine_fn_config_makefile dlls/traffic enable_traffic
21205 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21206 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21207 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21208 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21209 wine_fn_config_makefile dlls/tzres enable_tzres
21210 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21211 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21212 wine_fn_config_makefile dlls/uianimation enable_uianimation
21213 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21214 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21215 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21216 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21217 wine_fn_config_makefile dlls/unicows enable_unicows
21218 wine_fn_config_makefile dlls/updspapi enable_updspapi
21219 wine_fn_config_makefile dlls/url enable_url
21220 wine_fn_config_makefile dlls/urlmon enable_urlmon
21221 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21222 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21223 wine_fn_config_makefile dlls/user.exe16 enable_win16
21224 wine_fn_config_makefile dlls/user32 enable_user32
21225 wine_fn_config_makefile dlls/user32/tests enable_tests
21226 wine_fn_config_makefile dlls/userenv enable_userenv
21227 wine_fn_config_makefile dlls/userenv/tests enable_tests
21228 wine_fn_config_makefile dlls/usp10 enable_usp10
21229 wine_fn_config_makefile dlls/usp10/tests enable_tests
21230 wine_fn_config_makefile dlls/utildll enable_utildll
21231 wine_fn_config_makefile dlls/uuid enable_uuid
21232 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21233 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21234 wine_fn_config_makefile dlls/vbscript enable_vbscript
21235 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21236 wine_fn_config_makefile dlls/vcomp enable_vcomp
21237 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21238 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21239 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21240 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21241 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21242 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21243 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21244 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21245 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21246 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21247 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21248 wine_fn_config_makefile dlls/version enable_version
21249 wine_fn_config_makefile dlls/version/tests enable_tests
21250 wine_fn_config_makefile dlls/vga enable_vga
21251 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21252 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21253 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21254 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21255 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21256 wine_fn_config_makefile dlls/vssapi enable_vssapi
21257 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21258 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21259 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21260 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21261 wine_fn_config_makefile dlls/w32skrnl enable_win16
21262 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21263 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21264 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21265 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21266 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21267 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21268 wine_fn_config_makefile dlls/wdscore enable_wdscore
21269 wine_fn_config_makefile dlls/webservices enable_webservices
21270 wine_fn_config_makefile dlls/webservices/tests enable_tests
21271 wine_fn_config_makefile dlls/wer enable_wer
21272 wine_fn_config_makefile dlls/wer/tests enable_tests
21273 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21274 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21275 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21276 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21277 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21278 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21279 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21280 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21281 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21282 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21283 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21284 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21285 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21286 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21287 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21288 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21289 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21290 wine_fn_config_makefile dlls/wined3d enable_wined3d
21291 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21292 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21293 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21294 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21295 wine_fn_config_makefile dlls/winemapi enable_winemapi
21296 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21297 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21298 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21299 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21300 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21301 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21302 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21303 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21304 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21305 wine_fn_config_makefile dlls/wing32 enable_wing32
21306 wine_fn_config_makefile dlls/winhttp enable_winhttp
21307 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21308 wine_fn_config_makefile dlls/wininet enable_wininet
21309 wine_fn_config_makefile dlls/wininet/tests enable_tests
21310 wine_fn_config_makefile dlls/winmm enable_winmm
21311 wine_fn_config_makefile dlls/winmm/tests enable_tests
21312 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21313 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21314 wine_fn_config_makefile dlls/winscard enable_winscard
21315 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21316 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21317 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21318 wine_fn_config_makefile dlls/winsta enable_winsta
21319 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21320 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21321 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21322 wine_fn_config_makefile dlls/wintrust enable_wintrust
21323 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21324 wine_fn_config_makefile dlls/winusb enable_winusb
21325 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21326 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21327 wine_fn_config_makefile dlls/wlanui enable_wlanui
21328 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21329 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21330 wine_fn_config_makefile dlls/wmasf enable_wmasf
21331 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21332 wine_fn_config_makefile dlls/wmi enable_wmi
21333 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21334 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21335 wine_fn_config_makefile dlls/wmp enable_wmp
21336 wine_fn_config_makefile dlls/wmp/tests enable_tests
21337 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21338 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21339 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21340 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21341 wine_fn_config_makefile dlls/wow32 enable_win16
21342 wine_fn_config_makefile dlls/wpc enable_wpc
21343 wine_fn_config_makefile dlls/wpc/tests enable_tests
21344 wine_fn_config_makefile dlls/wpcap enable_wpcap
21345 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21346 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21347 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21348 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21349 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21350 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21351 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21352 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21353 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21354 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21355 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21356 wine_fn_config_makefile dlls/wuapi enable_wuapi
21357 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21358 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21359 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21360 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21361 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21362 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21363 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21364 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21365 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21366 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21367 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21368 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21369 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21370 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21371 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21372 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21373 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21374 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21375 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21376 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21377 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21378 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21379 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21380 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21381 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21382 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21383 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21384 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21385 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21386 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21387 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21388 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21389 wine_fn_config_makefile dlls/xmllite enable_xmllite
21390 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21391 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21392 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21393 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21394 wine_fn_config_makefile fonts enable_fonts
21395 wine_fn_config_makefile include enable_include
21396 wine_fn_config_makefile libs/port enable_port
21397 wine_fn_config_makefile libs/wine enable_wine
21398 wine_fn_config_makefile libs/wpp enable_wpp
21399 wine_fn_config_makefile loader enable_loader
21400 wine_fn_config_makefile nls enable_nls
21401 wine_fn_config_makefile po enable_po
21402 wine_fn_config_makefile programs/arp enable_arp
21403 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21404 wine_fn_config_makefile programs/attrib enable_attrib
21405 wine_fn_config_makefile programs/cabarc enable_cabarc
21406 wine_fn_config_makefile programs/cacls enable_cacls
21407 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21408 wine_fn_config_makefile programs/clock enable_clock
21409 wine_fn_config_makefile programs/cmd enable_cmd
21410 wine_fn_config_makefile programs/cmd/tests enable_tests
21411 wine_fn_config_makefile programs/conhost enable_conhost
21412 wine_fn_config_makefile programs/control enable_control
21413 wine_fn_config_makefile programs/cscript enable_cscript
21414 wine_fn_config_makefile programs/dism enable_dism
21415 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21416 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21417 wine_fn_config_makefile programs/eject enable_eject
21418 wine_fn_config_makefile programs/expand enable_expand
21419 wine_fn_config_makefile programs/explorer enable_explorer
21420 wine_fn_config_makefile programs/extrac32 enable_extrac32
21421 wine_fn_config_makefile programs/fc enable_fc
21422 wine_fn_config_makefile programs/find enable_find
21423 wine_fn_config_makefile programs/find/tests enable_tests
21424 wine_fn_config_makefile programs/findstr enable_findstr
21425 wine_fn_config_makefile programs/fsutil enable_fsutil
21426 wine_fn_config_makefile programs/hh enable_hh
21427 wine_fn_config_makefile programs/hostname enable_hostname
21428 wine_fn_config_makefile programs/icacls enable_icacls
21429 wine_fn_config_makefile programs/icinfo enable_icinfo
21430 wine_fn_config_makefile programs/iexplore enable_iexplore
21431 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21432 wine_fn_config_makefile programs/lodctr enable_lodctr
21433 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21434 wine_fn_config_makefile programs/mshta enable_mshta
21435 wine_fn_config_makefile programs/msidb enable_msidb
21436 wine_fn_config_makefile programs/msiexec enable_msiexec
21437 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21438 wine_fn_config_makefile programs/net enable_net
21439 wine_fn_config_makefile programs/netsh enable_netsh
21440 wine_fn_config_makefile programs/netstat enable_netstat
21441 wine_fn_config_makefile programs/ngen enable_ngen
21442 wine_fn_config_makefile programs/notepad enable_notepad
21443 wine_fn_config_makefile programs/oleview enable_oleview
21444 wine_fn_config_makefile programs/ping enable_ping
21445 wine_fn_config_makefile programs/plugplay enable_plugplay
21446 wine_fn_config_makefile programs/powershell enable_powershell
21447 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21448 wine_fn_config_makefile programs/progman enable_progman
21449 wine_fn_config_makefile programs/reg enable_reg
21450 wine_fn_config_makefile programs/reg/tests enable_tests
21451 wine_fn_config_makefile programs/regasm enable_regasm
21452 wine_fn_config_makefile programs/regedit enable_regedit
21453 wine_fn_config_makefile programs/regedit/tests enable_tests
21454 wine_fn_config_makefile programs/regini enable_regini
21455 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21456 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21457 wine_fn_config_makefile programs/rpcss enable_rpcss
21458 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21459 wine_fn_config_makefile programs/rundll32 enable_rundll32
21460 wine_fn_config_makefile programs/sc enable_sc
21461 wine_fn_config_makefile programs/schtasks enable_schtasks
21462 wine_fn_config_makefile programs/schtasks/tests enable_tests
21463 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21464 wine_fn_config_makefile programs/secedit enable_secedit
21465 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21466 wine_fn_config_makefile programs/services enable_services
21467 wine_fn_config_makefile programs/services/tests enable_tests
21468 wine_fn_config_makefile programs/shutdown enable_shutdown
21469 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21470 wine_fn_config_makefile programs/start enable_start
21471 wine_fn_config_makefile programs/subst enable_subst
21472 wine_fn_config_makefile programs/svchost enable_svchost
21473 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21474 wine_fn_config_makefile programs/taskkill enable_taskkill
21475 wine_fn_config_makefile programs/tasklist enable_tasklist
21476 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21477 wine_fn_config_makefile programs/termsv enable_termsv
21478 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21479 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21480 wine_fn_config_makefile programs/view enable_view
21481 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21482 wine_fn_config_makefile programs/where enable_where
21483 wine_fn_config_makefile programs/whoami enable_whoami
21484 wine_fn_config_makefile programs/wineboot enable_wineboot
21485 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21486 wine_fn_config_makefile programs/winecfg enable_winecfg
21487 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21488 wine_fn_config_makefile programs/winedbg enable_winedbg
21489 wine_fn_config_makefile programs/winedevice enable_winedevice
21490 wine_fn_config_makefile programs/winefile enable_winefile
21491 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21492 wine_fn_config_makefile programs/winemine enable_winemine
21493 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21494 wine_fn_config_makefile programs/winepath enable_winepath
21495 wine_fn_config_makefile programs/winetest enable_winetest
21496 wine_fn_config_makefile programs/winevdm enable_win16
21497 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21498 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21499 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21500 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21501 wine_fn_config_makefile programs/winver enable_winver
21502 wine_fn_config_makefile programs/wmic enable_wmic
21503 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21504 wine_fn_config_makefile programs/wordpad enable_wordpad
21505 wine_fn_config_makefile programs/write enable_write
21506 wine_fn_config_makefile programs/wscript enable_wscript
21507 wine_fn_config_makefile programs/wscript/tests enable_tests
21508 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21509 wine_fn_config_makefile programs/wusa enable_wusa
21510 wine_fn_config_makefile programs/xcopy enable_xcopy
21511 wine_fn_config_makefile programs/xcopy/tests enable_tests
21512 wine_fn_config_makefile server enable_server
21513 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21514 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21515 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21516 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21517 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21518 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21519 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21520 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21521 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21524 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21525 wine_fn_append_file CONFIGURE_TARGETS "tags"
21526 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21527 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21528 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21529 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21530 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21531 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21533 if test "x$enable_tools" != xno
21534 then
21535 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21536 ac_config_commands="$ac_config_commands tools/makedep"
21540 ac_config_commands="$ac_config_commands Makefile"
21543 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21547 if test "x$enable_maintainer_mode" = xyes
21548 then
21549 wine_fn_append_rule "configure: configure.ac aclocal.m4
21550 autoconf --warnings=all
21551 include/config.h.in: include/stamp-h.in
21552 include/stamp-h.in: configure.ac aclocal.m4
21553 autoheader --warnings=all
21554 @echo timestamp > \$@"
21557 if test "x$enable_tools" != xno
21558 then
21559 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21560 @./config.status tools/makedep
21561 Makefile: tools/makedep$ac_exeext
21562 fonts: tools/sfnt2fon
21563 include: tools tools/widl"
21564 else
21565 wine_fn_append_rule "\$(MAKEDEP):
21566 @echo \"You need to run make in $TOOLSDIR first\" && false"
21569 if test -n "$with_wine64"
21570 then
21571 case "$with_wine64" in
21572 /*) reldir="" ;;
21573 *) reldir="../" ;;
21574 esac
21575 rm -f fonts server 2>/dev/null
21576 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21577 loader/wine64 loader/wine64-preloader:
21578 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21579 $with_wine64/loader/wine:
21580 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21581 $with_wine64/loader/wine-preloader:
21582 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21583 clean::
21584 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21585 else
21586 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21587 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21588 fonts \
21589 loader/wine.inf \
21590 loader/winebus.inf \
21591 loader/winehid.inf \
21592 loader/wineusb.inf \
21593 nls \
21594 programs/msidb/msidb \
21595 programs/msiexec/msiexec \
21596 programs/notepad/notepad \
21597 programs/regedit/regedit \
21598 programs/regsvr32/regsvr32 \
21599 programs/wineboot/wineboot \
21600 programs/winecfg/winecfg \
21601 programs/wineconsole/wineconsole \
21602 programs/winedbg/winedbg \
21603 programs/winefile/winefile \
21604 programs/winemine/winemine \
21605 programs/winepath/winepath \
21606 server/wineserver"
21608 case $host_os in
21609 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21610 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21611 esac
21614 $as_echo " done" >&6
21615 cat >confcache <<\_ACEOF
21616 # This file is a shell script that caches the results of configure
21617 # tests run on this system so they can be shared between configure
21618 # scripts and configure runs, see configure's option --config-cache.
21619 # It is not useful on other systems. If it contains results you don't
21620 # want to keep, you may remove or edit it.
21622 # config.status only pays attention to the cache file if you give it
21623 # the --recheck option to rerun configure.
21625 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21626 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21627 # following values.
21629 _ACEOF
21631 # The following way of writing the cache mishandles newlines in values,
21632 # but we know of no workaround that is simple, portable, and efficient.
21633 # So, we kill variables containing newlines.
21634 # Ultrix sh set writes to stderr and can't be redirected directly,
21635 # and sets the high bit in the cache file unless we assign to the vars.
21637 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21638 eval ac_val=\$$ac_var
21639 case $ac_val in #(
21640 *${as_nl}*)
21641 case $ac_var in #(
21642 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21643 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21644 esac
21645 case $ac_var in #(
21646 _ | IFS | as_nl) ;; #(
21647 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21648 *) { eval $ac_var=; unset $ac_var;} ;;
21649 esac ;;
21650 esac
21651 done
21653 (set) 2>&1 |
21654 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21655 *${as_nl}ac_space=\ *)
21656 # `set' does not quote correctly, so add quotes: double-quote
21657 # substitution turns \\\\ into \\, and sed turns \\ into \.
21658 sed -n \
21659 "s/'/'\\\\''/g;
21660 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21661 ;; #(
21663 # `set' quotes correctly as required by POSIX, so do not add quotes.
21664 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21666 esac |
21667 sort
21669 sed '
21670 /^ac_cv_env_/b end
21671 t clear
21672 :clear
21673 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21674 t end
21675 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21676 :end' >>confcache
21677 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21678 if test -w "$cache_file"; then
21679 if test "x$cache_file" != "x/dev/null"; then
21680 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21681 $as_echo "$as_me: updating cache $cache_file" >&6;}
21682 if test ! -f "$cache_file" || test -h "$cache_file"; then
21683 cat confcache >"$cache_file"
21684 else
21685 case $cache_file in #(
21686 */* | ?:*)
21687 mv -f confcache "$cache_file"$$ &&
21688 mv -f "$cache_file"$$ "$cache_file" ;; #(
21690 mv -f confcache "$cache_file" ;;
21691 esac
21694 else
21695 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21696 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21699 rm -f confcache
21701 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21702 # Let make expand exec_prefix.
21703 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21705 DEFS=-DHAVE_CONFIG_H
21707 ac_libobjs=
21708 ac_ltlibobjs=
21710 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21711 # 1. Remove the extension, and $U if already installed.
21712 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21713 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21714 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21715 # will be set to the directory where LIBOBJS objects are built.
21716 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21717 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21718 done
21719 LIBOBJS=$ac_libobjs
21721 LTLIBOBJS=$ac_ltlibobjs
21725 : "${CONFIG_STATUS=./config.status}"
21726 ac_write_fail=0
21727 ac_clean_files_save=$ac_clean_files
21728 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21729 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21730 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21731 as_write_fail=0
21732 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21733 #! $SHELL
21734 # Generated by $as_me.
21735 # Run this file to recreate the current configuration.
21736 # Compiler output produced by configure, useful for debugging
21737 # configure, is in config.log if it exists.
21739 debug=false
21740 ac_cs_recheck=false
21741 ac_cs_silent=false
21743 SHELL=\${CONFIG_SHELL-$SHELL}
21744 export SHELL
21745 _ASEOF
21746 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21747 ## -------------------- ##
21748 ## M4sh Initialization. ##
21749 ## -------------------- ##
21751 # Be more Bourne compatible
21752 DUALCASE=1; export DUALCASE # for MKS sh
21753 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21754 emulate sh
21755 NULLCMD=:
21756 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21757 # is contrary to our usage. Disable this feature.
21758 alias -g '${1+"$@"}'='"$@"'
21759 setopt NO_GLOB_SUBST
21760 else
21761 case `(set -o) 2>/dev/null` in #(
21762 *posix*) :
21763 set -o posix ;; #(
21764 *) :
21766 esac
21770 as_nl='
21772 export as_nl
21773 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21774 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21775 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21776 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21777 # Prefer a ksh shell builtin over an external printf program on Solaris,
21778 # but without wasting forks for bash or zsh.
21779 if test -z "$BASH_VERSION$ZSH_VERSION" \
21780 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21781 as_echo='print -r --'
21782 as_echo_n='print -rn --'
21783 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21784 as_echo='printf %s\n'
21785 as_echo_n='printf %s'
21786 else
21787 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21788 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21789 as_echo_n='/usr/ucb/echo -n'
21790 else
21791 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21792 as_echo_n_body='eval
21793 arg=$1;
21794 case $arg in #(
21795 *"$as_nl"*)
21796 expr "X$arg" : "X\\(.*\\)$as_nl";
21797 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21798 esac;
21799 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21801 export as_echo_n_body
21802 as_echo_n='sh -c $as_echo_n_body as_echo'
21804 export as_echo_body
21805 as_echo='sh -c $as_echo_body as_echo'
21808 # The user is always right.
21809 if test "${PATH_SEPARATOR+set}" != set; then
21810 PATH_SEPARATOR=:
21811 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21812 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21813 PATH_SEPARATOR=';'
21818 # IFS
21819 # We need space, tab and new line, in precisely that order. Quoting is
21820 # there to prevent editors from complaining about space-tab.
21821 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21822 # splitting by setting IFS to empty value.)
21823 IFS=" "" $as_nl"
21825 # Find who we are. Look in the path if we contain no directory separator.
21826 as_myself=
21827 case $0 in #((
21828 *[\\/]* ) as_myself=$0 ;;
21829 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21830 for as_dir in $PATH
21832 IFS=$as_save_IFS
21833 test -z "$as_dir" && as_dir=.
21834 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21835 done
21836 IFS=$as_save_IFS
21839 esac
21840 # We did not find ourselves, most probably we were run as `sh COMMAND'
21841 # in which case we are not to be found in the path.
21842 if test "x$as_myself" = x; then
21843 as_myself=$0
21845 if test ! -f "$as_myself"; then
21846 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21847 exit 1
21850 # Unset variables that we do not need and which cause bugs (e.g. in
21851 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21852 # suppresses any "Segmentation fault" message there. '((' could
21853 # trigger a bug in pdksh 5.2.14.
21854 for as_var in BASH_ENV ENV MAIL MAILPATH
21855 do eval test x\${$as_var+set} = xset \
21856 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21857 done
21858 PS1='$ '
21859 PS2='> '
21860 PS4='+ '
21862 # NLS nuisances.
21863 LC_ALL=C
21864 export LC_ALL
21865 LANGUAGE=C
21866 export LANGUAGE
21868 # CDPATH.
21869 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21872 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21873 # ----------------------------------------
21874 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21875 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21876 # script with STATUS, using 1 if that was 0.
21877 as_fn_error ()
21879 as_status=$1; test $as_status -eq 0 && as_status=1
21880 if test "$4"; then
21881 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21882 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21884 $as_echo "$as_me: error: $2" >&2
21885 as_fn_exit $as_status
21886 } # as_fn_error
21889 # as_fn_set_status STATUS
21890 # -----------------------
21891 # Set $? to STATUS, without forking.
21892 as_fn_set_status ()
21894 return $1
21895 } # as_fn_set_status
21897 # as_fn_exit STATUS
21898 # -----------------
21899 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21900 as_fn_exit ()
21902 set +e
21903 as_fn_set_status $1
21904 exit $1
21905 } # as_fn_exit
21907 # as_fn_unset VAR
21908 # ---------------
21909 # Portably unset VAR.
21910 as_fn_unset ()
21912 { eval $1=; unset $1;}
21914 as_unset=as_fn_unset
21915 # as_fn_append VAR VALUE
21916 # ----------------------
21917 # Append the text in VALUE to the end of the definition contained in VAR. Take
21918 # advantage of any shell optimizations that allow amortized linear growth over
21919 # repeated appends, instead of the typical quadratic growth present in naive
21920 # implementations.
21921 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21922 eval 'as_fn_append ()
21924 eval $1+=\$2
21926 else
21927 as_fn_append ()
21929 eval $1=\$$1\$2
21931 fi # as_fn_append
21933 # as_fn_arith ARG...
21934 # ------------------
21935 # Perform arithmetic evaluation on the ARGs, and store the result in the
21936 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21937 # must be portable across $(()) and expr.
21938 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21939 eval 'as_fn_arith ()
21941 as_val=$(( $* ))
21943 else
21944 as_fn_arith ()
21946 as_val=`expr "$@" || test $? -eq 1`
21948 fi # as_fn_arith
21951 if expr a : '\(a\)' >/dev/null 2>&1 &&
21952 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21953 as_expr=expr
21954 else
21955 as_expr=false
21958 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21959 as_basename=basename
21960 else
21961 as_basename=false
21964 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21965 as_dirname=dirname
21966 else
21967 as_dirname=false
21970 as_me=`$as_basename -- "$0" ||
21971 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21972 X"$0" : 'X\(//\)$' \| \
21973 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21974 $as_echo X/"$0" |
21975 sed '/^.*\/\([^/][^/]*\)\/*$/{
21976 s//\1/
21979 /^X\/\(\/\/\)$/{
21980 s//\1/
21983 /^X\/\(\/\).*/{
21984 s//\1/
21987 s/.*/./; q'`
21989 # Avoid depending upon Character Ranges.
21990 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21991 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21992 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21993 as_cr_digits='0123456789'
21994 as_cr_alnum=$as_cr_Letters$as_cr_digits
21996 ECHO_C= ECHO_N= ECHO_T=
21997 case `echo -n x` in #(((((
21998 -n*)
21999 case `echo 'xy\c'` in
22000 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22001 xy) ECHO_C='\c';;
22002 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22003 ECHO_T=' ';;
22004 esac;;
22006 ECHO_N='-n';;
22007 esac
22009 rm -f conf$$ conf$$.exe conf$$.file
22010 if test -d conf$$.dir; then
22011 rm -f conf$$.dir/conf$$.file
22012 else
22013 rm -f conf$$.dir
22014 mkdir conf$$.dir 2>/dev/null
22016 if (echo >conf$$.file) 2>/dev/null; then
22017 if ln -s conf$$.file conf$$ 2>/dev/null; then
22018 as_ln_s='ln -s'
22019 # ... but there are two gotchas:
22020 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22021 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22022 # In both cases, we have to default to `cp -pR'.
22023 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22024 as_ln_s='cp -pR'
22025 elif ln conf$$.file conf$$ 2>/dev/null; then
22026 as_ln_s=ln
22027 else
22028 as_ln_s='cp -pR'
22030 else
22031 as_ln_s='cp -pR'
22033 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22034 rmdir conf$$.dir 2>/dev/null
22037 # as_fn_mkdir_p
22038 # -------------
22039 # Create "$as_dir" as a directory, including parents if necessary.
22040 as_fn_mkdir_p ()
22043 case $as_dir in #(
22044 -*) as_dir=./$as_dir;;
22045 esac
22046 test -d "$as_dir" || eval $as_mkdir_p || {
22047 as_dirs=
22048 while :; do
22049 case $as_dir in #(
22050 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22051 *) as_qdir=$as_dir;;
22052 esac
22053 as_dirs="'$as_qdir' $as_dirs"
22054 as_dir=`$as_dirname -- "$as_dir" ||
22055 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22056 X"$as_dir" : 'X\(//\)[^/]' \| \
22057 X"$as_dir" : 'X\(//\)$' \| \
22058 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22059 $as_echo X"$as_dir" |
22060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22061 s//\1/
22064 /^X\(\/\/\)[^/].*/{
22065 s//\1/
22068 /^X\(\/\/\)$/{
22069 s//\1/
22072 /^X\(\/\).*/{
22073 s//\1/
22076 s/.*/./; q'`
22077 test -d "$as_dir" && break
22078 done
22079 test -z "$as_dirs" || eval "mkdir $as_dirs"
22080 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22083 } # as_fn_mkdir_p
22084 if mkdir -p . 2>/dev/null; then
22085 as_mkdir_p='mkdir -p "$as_dir"'
22086 else
22087 test -d ./-p && rmdir ./-p
22088 as_mkdir_p=false
22092 # as_fn_executable_p FILE
22093 # -----------------------
22094 # Test if FILE is an executable regular file.
22095 as_fn_executable_p ()
22097 test -f "$1" && test -x "$1"
22098 } # as_fn_executable_p
22099 as_test_x='test -x'
22100 as_executable_p=as_fn_executable_p
22102 # Sed expression to map a string onto a valid CPP name.
22103 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22105 # Sed expression to map a string onto a valid variable name.
22106 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22109 exec 6>&1
22110 ## ----------------------------------- ##
22111 ## Main body of $CONFIG_STATUS script. ##
22112 ## ----------------------------------- ##
22113 _ASEOF
22114 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22117 # Save the log message, to keep $0 and so on meaningful, and to
22118 # report actual input values of CONFIG_FILES etc. instead of their
22119 # values after options handling.
22120 ac_log="
22121 This file was extended by Wine $as_me 5.14, which was
22122 generated by GNU Autoconf 2.69. Invocation command line was
22124 CONFIG_FILES = $CONFIG_FILES
22125 CONFIG_HEADERS = $CONFIG_HEADERS
22126 CONFIG_LINKS = $CONFIG_LINKS
22127 CONFIG_COMMANDS = $CONFIG_COMMANDS
22128 $ $0 $@
22130 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22133 _ACEOF
22135 case $ac_config_files in *"
22136 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22137 esac
22139 case $ac_config_headers in *"
22140 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22141 esac
22144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22145 # Files that config.status was made for.
22146 config_files="$ac_config_files"
22147 config_headers="$ac_config_headers"
22148 config_links="$ac_config_links"
22149 config_commands="$ac_config_commands"
22151 _ACEOF
22153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22154 ac_cs_usage="\
22155 \`$as_me' instantiates files and other configuration actions
22156 from templates according to the current configuration. Unless the files
22157 and actions are specified as TAGs, all are instantiated by default.
22159 Usage: $0 [OPTION]... [TAG]...
22161 -h, --help print this help, then exit
22162 -V, --version print version number and configuration settings, then exit
22163 --config print configuration, then exit
22164 -q, --quiet, --silent
22165 do not print progress messages
22166 -d, --debug don't remove temporary files
22167 --recheck update $as_me by reconfiguring in the same conditions
22168 --file=FILE[:TEMPLATE]
22169 instantiate the configuration file FILE
22170 --header=FILE[:TEMPLATE]
22171 instantiate the configuration header FILE
22173 Configuration files:
22174 $config_files
22176 Configuration headers:
22177 $config_headers
22179 Configuration links:
22180 $config_links
22182 Configuration commands:
22183 $config_commands
22185 Report bugs to <wine-devel@winehq.org>.
22186 Wine home page: <https://www.winehq.org>."
22188 _ACEOF
22189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22190 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22191 ac_cs_version="\\
22192 Wine config.status 5.14
22193 configured by $0, generated by GNU Autoconf 2.69,
22194 with options \\"\$ac_cs_config\\"
22196 Copyright (C) 2012 Free Software Foundation, Inc.
22197 This config.status script is free software; the Free Software Foundation
22198 gives unlimited permission to copy, distribute and modify it."
22200 ac_pwd='$ac_pwd'
22201 srcdir='$srcdir'
22202 test -n "\$AWK" || AWK=awk
22203 _ACEOF
22205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22206 # The default lists apply if the user does not specify any file.
22207 ac_need_defaults=:
22208 while test $# != 0
22210 case $1 in
22211 --*=?*)
22212 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22213 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22214 ac_shift=:
22216 --*=)
22217 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22218 ac_optarg=
22219 ac_shift=:
22222 ac_option=$1
22223 ac_optarg=$2
22224 ac_shift=shift
22226 esac
22228 case $ac_option in
22229 # Handling of the options.
22230 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22231 ac_cs_recheck=: ;;
22232 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22233 $as_echo "$ac_cs_version"; exit ;;
22234 --config | --confi | --conf | --con | --co | --c )
22235 $as_echo "$ac_cs_config"; exit ;;
22236 --debug | --debu | --deb | --de | --d | -d )
22237 debug=: ;;
22238 --file | --fil | --fi | --f )
22239 $ac_shift
22240 case $ac_optarg in
22241 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22242 '') as_fn_error $? "missing file argument" ;;
22243 esac
22244 as_fn_append CONFIG_FILES " '$ac_optarg'"
22245 ac_need_defaults=false;;
22246 --header | --heade | --head | --hea )
22247 $ac_shift
22248 case $ac_optarg in
22249 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22250 esac
22251 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22252 ac_need_defaults=false;;
22253 --he | --h)
22254 # Conflict between --help and --header
22255 as_fn_error $? "ambiguous option: \`$1'
22256 Try \`$0 --help' for more information.";;
22257 --help | --hel | -h )
22258 $as_echo "$ac_cs_usage"; exit ;;
22259 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22260 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22261 ac_cs_silent=: ;;
22263 # This is an error.
22264 -*) as_fn_error $? "unrecognized option: \`$1'
22265 Try \`$0 --help' for more information." ;;
22267 *) as_fn_append ac_config_targets " $1"
22268 ac_need_defaults=false ;;
22270 esac
22271 shift
22272 done
22274 ac_configure_extra_args=
22276 if $ac_cs_silent; then
22277 exec 6>/dev/null
22278 ac_configure_extra_args="$ac_configure_extra_args --silent"
22281 _ACEOF
22282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22283 if \$ac_cs_recheck; then
22284 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22285 shift
22286 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22287 CONFIG_SHELL='$SHELL'
22288 export CONFIG_SHELL
22289 exec "\$@"
22292 _ACEOF
22293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22294 exec 5>>config.log
22296 echo
22297 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22298 ## Running $as_me. ##
22299 _ASBOX
22300 $as_echo "$ac_log"
22301 } >&5
22303 _ACEOF
22304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22306 # INIT-COMMANDS
22308 wine_fn_output_makedep ()
22310 as_dir=tools; as_fn_mkdir_p
22311 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22313 wine_fn_output_makefile ()
22315 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22316 `cat $wine_rules_file`
22317 _WINE_EOF
22318 as_fn_error $? "could not create Makefile" "$LINENO" 5
22321 _ACEOF
22323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22325 # Handling of arguments.
22326 for ac_config_target in $ac_config_targets
22328 case $ac_config_target in
22329 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22330 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22331 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22332 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22333 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22334 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22335 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22337 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22338 esac
22339 done
22342 # If the user did not use the arguments to specify the items to instantiate,
22343 # then the envvar interface is used. Set only those that are not.
22344 # We use the long form for the default assignment because of an extremely
22345 # bizarre bug on SunOS 4.1.3.
22346 if $ac_need_defaults; then
22347 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22348 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22349 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22350 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22353 # Have a temporary directory for convenience. Make it in the build tree
22354 # simply because there is no reason against having it here, and in addition,
22355 # creating and moving files from /tmp can sometimes cause problems.
22356 # Hook for its removal unless debugging.
22357 # Note that there is a small window in which the directory will not be cleaned:
22358 # after its creation but before its name has been assigned to `$tmp'.
22359 $debug ||
22361 tmp= ac_tmp=
22362 trap 'exit_status=$?
22363 : "${ac_tmp:=$tmp}"
22364 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22366 trap 'as_fn_exit 1' 1 2 13 15
22368 # Create a (secure) tmp directory for tmp files.
22371 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22372 test -d "$tmp"
22373 } ||
22375 tmp=./conf$$-$RANDOM
22376 (umask 077 && mkdir "$tmp")
22377 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22378 ac_tmp=$tmp
22380 # Set up the scripts for CONFIG_FILES section.
22381 # No need to generate them if there are no CONFIG_FILES.
22382 # This happens for instance with `./config.status config.h'.
22383 if test -n "$CONFIG_FILES"; then
22386 ac_cr=`echo X | tr X '\015'`
22387 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22388 # But we know of no other shell where ac_cr would be empty at this
22389 # point, so we can use a bashism as a fallback.
22390 if test "x$ac_cr" = x; then
22391 eval ac_cr=\$\'\\r\'
22393 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22394 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22395 ac_cs_awk_cr='\\r'
22396 else
22397 ac_cs_awk_cr=$ac_cr
22400 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22401 _ACEOF
22405 echo "cat >conf$$subs.awk <<_ACEOF" &&
22406 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22407 echo "_ACEOF"
22408 } >conf$$subs.sh ||
22409 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22410 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22411 ac_delim='%!_!# '
22412 for ac_last_try in false false false false false :; do
22413 . ./conf$$subs.sh ||
22414 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22416 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22417 if test $ac_delim_n = $ac_delim_num; then
22418 break
22419 elif $ac_last_try; then
22420 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22421 else
22422 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22424 done
22425 rm -f conf$$subs.sh
22427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22428 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22429 _ACEOF
22430 sed -n '
22432 s/^/S["/; s/!.*/"]=/
22435 s/^[^!]*!//
22436 :repl
22437 t repl
22438 s/'"$ac_delim"'$//
22439 t delim
22442 s/\(.\{148\}\)..*/\1/
22443 t more1
22444 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22447 b repl
22448 :more1
22449 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22452 s/.\{148\}//
22453 t nl
22454 :delim
22456 s/\(.\{148\}\)..*/\1/
22457 t more2
22458 s/["\\]/\\&/g; s/^/"/; s/$/"/
22461 :more2
22462 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22465 s/.\{148\}//
22466 t delim
22467 ' <conf$$subs.awk | sed '
22468 /^[^""]/{
22470 s/\n//
22472 ' >>$CONFIG_STATUS || ac_write_fail=1
22473 rm -f conf$$subs.awk
22474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22475 _ACAWK
22476 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22477 for (key in S) S_is_set[key] = 1
22478 FS = "\a"
22482 line = $ 0
22483 nfields = split(line, field, "@")
22484 substed = 0
22485 len = length(field[1])
22486 for (i = 2; i < nfields; i++) {
22487 key = field[i]
22488 keylen = length(key)
22489 if (S_is_set[key]) {
22490 value = S[key]
22491 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22492 len += length(value) + length(field[++i])
22493 substed = 1
22494 } else
22495 len += 1 + keylen
22498 print line
22501 _ACAWK
22502 _ACEOF
22503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22504 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22505 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22506 else
22508 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22509 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22510 _ACEOF
22512 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22513 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22514 # trailing colons and then remove the whole line if VPATH becomes empty
22515 # (actually we leave an empty line to preserve line numbers).
22516 if test "x$srcdir" = x.; then
22517 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22519 s///
22520 s/^/:/
22521 s/[ ]*$/:/
22522 s/:\$(srcdir):/:/g
22523 s/:\${srcdir}:/:/g
22524 s/:@srcdir@:/:/g
22525 s/^:*//
22526 s/:*$//
22528 s/\(=[ ]*\).*/\1/
22530 s/\n//
22531 s/^[^=]*=[ ]*$//
22535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22536 fi # test -n "$CONFIG_FILES"
22538 # Set up the scripts for CONFIG_HEADERS section.
22539 # No need to generate them if there are no CONFIG_HEADERS.
22540 # This happens for instance with `./config.status Makefile'.
22541 if test -n "$CONFIG_HEADERS"; then
22542 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22543 BEGIN {
22544 _ACEOF
22546 # Transform confdefs.h into an awk script `defines.awk', embedded as
22547 # here-document in config.status, that substitutes the proper values into
22548 # config.h.in to produce config.h.
22550 # Create a delimiter string that does not exist in confdefs.h, to ease
22551 # handling of long lines.
22552 ac_delim='%!_!# '
22553 for ac_last_try in false false :; do
22554 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22555 if test -z "$ac_tt"; then
22556 break
22557 elif $ac_last_try; then
22558 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22559 else
22560 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22562 done
22564 # For the awk script, D is an array of macro values keyed by name,
22565 # likewise P contains macro parameters if any. Preserve backslash
22566 # newline sequences.
22568 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22569 sed -n '
22570 s/.\{148\}/&'"$ac_delim"'/g
22571 t rset
22572 :rset
22573 s/^[ ]*#[ ]*define[ ][ ]*/ /
22574 t def
22576 :def
22577 s/\\$//
22578 t bsnl
22579 s/["\\]/\\&/g
22580 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22581 D["\1"]=" \3"/p
22582 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22584 :bsnl
22585 s/["\\]/\\&/g
22586 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22587 D["\1"]=" \3\\\\\\n"\\/p
22588 t cont
22589 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22590 t cont
22592 :cont
22594 s/.\{148\}/&'"$ac_delim"'/g
22595 t clear
22596 :clear
22597 s/\\$//
22598 t bsnlc
22599 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22601 :bsnlc
22602 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22603 b cont
22604 ' <confdefs.h | sed '
22605 s/'"$ac_delim"'/"\\\
22606 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22609 for (key in D) D_is_set[key] = 1
22610 FS = "\a"
22612 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22613 line = \$ 0
22614 split(line, arg, " ")
22615 if (arg[1] == "#") {
22616 defundef = arg[2]
22617 mac1 = arg[3]
22618 } else {
22619 defundef = substr(arg[1], 2)
22620 mac1 = arg[2]
22622 split(mac1, mac2, "(") #)
22623 macro = mac2[1]
22624 prefix = substr(line, 1, index(line, defundef) - 1)
22625 if (D_is_set[macro]) {
22626 # Preserve the white space surrounding the "#".
22627 print prefix "define", macro P[macro] D[macro]
22628 next
22629 } else {
22630 # Replace #undef with comments. This is necessary, for example,
22631 # in the case of _POSIX_SOURCE, which is predefined and required
22632 # on some systems where configure will not decide to define it.
22633 if (defundef == "undef") {
22634 print "/*", prefix defundef, macro, "*/"
22635 next
22639 { print }
22640 _ACAWK
22641 _ACEOF
22642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22643 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22644 fi # test -n "$CONFIG_HEADERS"
22647 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22648 shift
22649 for ac_tag
22651 case $ac_tag in
22652 :[FHLC]) ac_mode=$ac_tag; continue;;
22653 esac
22654 case $ac_mode$ac_tag in
22655 :[FHL]*:*);;
22656 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22657 :[FH]-) ac_tag=-:-;;
22658 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22659 esac
22660 ac_save_IFS=$IFS
22661 IFS=:
22662 set x $ac_tag
22663 IFS=$ac_save_IFS
22664 shift
22665 ac_file=$1
22666 shift
22668 case $ac_mode in
22669 :L) ac_source=$1;;
22670 :[FH])
22671 ac_file_inputs=
22672 for ac_f
22674 case $ac_f in
22675 -) ac_f="$ac_tmp/stdin";;
22676 *) # Look for the file first in the build tree, then in the source tree
22677 # (if the path is not absolute). The absolute path cannot be DOS-style,
22678 # because $ac_f cannot contain `:'.
22679 test -f "$ac_f" ||
22680 case $ac_f in
22681 [\\/$]*) false;;
22682 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22683 esac ||
22684 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22685 esac
22686 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22687 as_fn_append ac_file_inputs " '$ac_f'"
22688 done
22690 # Let's still pretend it is `configure' which instantiates (i.e., don't
22691 # use $as_me), people would be surprised to read:
22692 # /* config.h. Generated by config.status. */
22693 configure_input='Generated from '`
22694 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22695 `' by configure.'
22696 if test x"$ac_file" != x-; then
22697 configure_input="$ac_file. $configure_input"
22698 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22699 $as_echo "$as_me: creating $ac_file" >&6;}
22701 # Neutralize special characters interpreted by sed in replacement strings.
22702 case $configure_input in #(
22703 *\&* | *\|* | *\\* )
22704 ac_sed_conf_input=`$as_echo "$configure_input" |
22705 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22706 *) ac_sed_conf_input=$configure_input;;
22707 esac
22709 case $ac_tag in
22710 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22711 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22712 esac
22714 esac
22716 ac_dir=`$as_dirname -- "$ac_file" ||
22717 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22718 X"$ac_file" : 'X\(//\)[^/]' \| \
22719 X"$ac_file" : 'X\(//\)$' \| \
22720 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22721 $as_echo X"$ac_file" |
22722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22723 s//\1/
22726 /^X\(\/\/\)[^/].*/{
22727 s//\1/
22730 /^X\(\/\/\)$/{
22731 s//\1/
22734 /^X\(\/\).*/{
22735 s//\1/
22738 s/.*/./; q'`
22739 as_dir="$ac_dir"; as_fn_mkdir_p
22740 ac_builddir=.
22742 case "$ac_dir" in
22743 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22745 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22746 # A ".." for each directory in $ac_dir_suffix.
22747 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22748 case $ac_top_builddir_sub in
22749 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22750 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22751 esac ;;
22752 esac
22753 ac_abs_top_builddir=$ac_pwd
22754 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22755 # for backward compatibility:
22756 ac_top_builddir=$ac_top_build_prefix
22758 case $srcdir in
22759 .) # We are building in place.
22760 ac_srcdir=.
22761 ac_top_srcdir=$ac_top_builddir_sub
22762 ac_abs_top_srcdir=$ac_pwd ;;
22763 [\\/]* | ?:[\\/]* ) # Absolute name.
22764 ac_srcdir=$srcdir$ac_dir_suffix;
22765 ac_top_srcdir=$srcdir
22766 ac_abs_top_srcdir=$srcdir ;;
22767 *) # Relative name.
22768 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22769 ac_top_srcdir=$ac_top_build_prefix$srcdir
22770 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22771 esac
22772 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22775 case $ac_mode in
22778 # CONFIG_FILE
22781 _ACEOF
22783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22784 # If the template does not know about datarootdir, expand it.
22785 # FIXME: This hack should be removed a few years after 2.60.
22786 ac_datarootdir_hack=; ac_datarootdir_seen=
22787 ac_sed_dataroot='
22788 /datarootdir/ {
22792 /@datadir@/p
22793 /@docdir@/p
22794 /@infodir@/p
22795 /@localedir@/p
22796 /@mandir@/p'
22797 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22798 *datarootdir*) ac_datarootdir_seen=yes;;
22799 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22801 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22802 _ACEOF
22803 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22804 ac_datarootdir_hack='
22805 s&@datadir@&$datadir&g
22806 s&@docdir@&$docdir&g
22807 s&@infodir@&$infodir&g
22808 s&@localedir@&$localedir&g
22809 s&@mandir@&$mandir&g
22810 s&\\\${datarootdir}&$datarootdir&g' ;;
22811 esac
22812 _ACEOF
22814 # Neutralize VPATH when `$srcdir' = `.'.
22815 # Shell code in configure.ac might set extrasub.
22816 # FIXME: do we really want to maintain this feature?
22817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22818 ac_sed_extra="$ac_vpsub
22819 $extrasub
22820 _ACEOF
22821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22823 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22824 s|@configure_input@|$ac_sed_conf_input|;t t
22825 s&@top_builddir@&$ac_top_builddir_sub&;t t
22826 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22827 s&@srcdir@&$ac_srcdir&;t t
22828 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22829 s&@top_srcdir@&$ac_top_srcdir&;t t
22830 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22831 s&@builddir@&$ac_builddir&;t t
22832 s&@abs_builddir@&$ac_abs_builddir&;t t
22833 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22834 $ac_datarootdir_hack
22836 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22837 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22839 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22840 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22841 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22842 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22844 which seems to be undefined. Please make sure it is defined" >&5
22845 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22846 which seems to be undefined. Please make sure it is defined" >&2;}
22848 rm -f "$ac_tmp/stdin"
22849 case $ac_file in
22850 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22851 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22852 esac \
22853 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22857 # CONFIG_HEADER
22859 if test x"$ac_file" != x-; then
22861 $as_echo "/* $configure_input */" \
22862 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22863 } >"$ac_tmp/config.h" \
22864 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22865 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22866 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22867 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22868 else
22869 rm -f "$ac_file"
22870 mv "$ac_tmp/config.h" "$ac_file" \
22871 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22873 else
22874 $as_echo "/* $configure_input */" \
22875 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22876 || as_fn_error $? "could not create -" "$LINENO" 5
22881 # CONFIG_LINK
22884 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22886 else
22887 # Prefer the file from the source tree if names are identical.
22888 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22889 ac_source=$srcdir/$ac_source
22892 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22893 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22895 if test ! -r "$ac_source"; then
22896 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22898 rm -f "$ac_file"
22900 # Try a relative symlink, then a hard link, then a copy.
22901 case $ac_source in
22902 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22903 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22904 esac
22905 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22906 ln "$ac_source" "$ac_file" 2>/dev/null ||
22907 cp -p "$ac_source" "$ac_file" ||
22908 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22911 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22912 $as_echo "$as_me: executing $ac_file commands" >&6;}
22914 esac
22917 case $ac_file$ac_mode in
22918 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22919 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22920 "Makefile":C) wine_fn_output_makefile Makefile ;;
22922 esac
22923 done # for ac_tag
22926 as_fn_exit 0
22927 _ACEOF
22928 ac_clean_files=$ac_clean_files_save
22930 test $ac_write_fail = 0 ||
22931 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22934 # configure is writing to config.log, and then calls config.status.
22935 # config.status does its own redirection, appending to config.log.
22936 # Unfortunately, on DOS this fails, as config.log is still kept open
22937 # by configure, so config.status won't be able to write to it; its
22938 # output is simply discarded. So we exec the FD to /dev/null,
22939 # effectively closing config.log, so it can be properly (re)opened and
22940 # appended to by config.status. When coming back to configure, we
22941 # need to make the FD available again.
22942 if test "$no_create" != yes; then
22943 ac_cs_success=:
22944 ac_config_status_args=
22945 test "$silent" = yes &&
22946 ac_config_status_args="$ac_config_status_args --quiet"
22947 exec 5>/dev/null
22948 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22949 exec 5>>config.log
22950 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22951 # would make configure fail if this is the last instruction.
22952 $ac_cs_success || as_fn_exit 1
22954 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22956 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22960 if test "$no_create" = "yes"
22961 then
22962 exit 0
22965 ac_save_IFS="$IFS"
22966 if test "x$wine_notices" != x; then
22967 echo >&6
22968 IFS="|"
22969 for msg in $wine_notices; do
22970 IFS="$ac_save_IFS"
22971 if ${msg:+false} :; then :
22973 else
22974 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22975 $as_echo "$as_me: $msg" >&6;}
22977 done
22979 IFS="|"
22980 for msg in $wine_warnings; do
22981 IFS="$ac_save_IFS"
22982 if ${msg:+false} :; then :
22984 else
22985 echo >&2
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22987 $as_echo "$as_me: WARNING: $msg" >&2;}
22989 done
22990 IFS="$ac_save_IFS"
22992 $as_echo "
22993 $as_me: Finished. Do '${ac_make}' to compile Wine.
22994 " >&6