xactengine3_6: New DLL.
[wine.git] / configure
blobfd67234faab0b9aae53f8e209f412cb500212692
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_6
1711 enable_xactengine3_7
1712 enable_xapofx1_1
1713 enable_xapofx1_2
1714 enable_xapofx1_3
1715 enable_xapofx1_4
1716 enable_xapofx1_5
1717 enable_xaudio2_0
1718 enable_xaudio2_1
1719 enable_xaudio2_2
1720 enable_xaudio2_3
1721 enable_xaudio2_4
1722 enable_xaudio2_5
1723 enable_xaudio2_6
1724 enable_xaudio2_7
1725 enable_xaudio2_8
1726 enable_xaudio2_9
1727 enable_xinput1_1
1728 enable_xinput1_2
1729 enable_xinput1_3
1730 enable_xinput1_4
1731 enable_xinput9_1_0
1732 enable_xmllite
1733 enable_xolehlp
1734 enable_xpsprint
1735 enable_xpssvcs
1736 enable_fonts
1737 enable_include
1738 enable_port
1739 enable_wine
1740 enable_wpp
1741 enable_loader
1742 enable_nls
1743 enable_po
1744 enable_arp
1745 enable_aspnet_regiis
1746 enable_attrib
1747 enable_cabarc
1748 enable_cacls
1749 enable_chcp_com
1750 enable_clock
1751 enable_cmd
1752 enable_conhost
1753 enable_control
1754 enable_cscript
1755 enable_dism
1756 enable_dpnsvr
1757 enable_dxdiag
1758 enable_eject
1759 enable_expand
1760 enable_explorer
1761 enable_extrac32
1762 enable_fc
1763 enable_find
1764 enable_findstr
1765 enable_fsutil
1766 enable_hh
1767 enable_hostname
1768 enable_icacls
1769 enable_icinfo
1770 enable_iexplore
1771 enable_ipconfig
1772 enable_lodctr
1773 enable_mofcomp
1774 enable_mshta
1775 enable_msidb
1776 enable_msiexec
1777 enable_msinfo32
1778 enable_net
1779 enable_netsh
1780 enable_netstat
1781 enable_ngen
1782 enable_notepad
1783 enable_oleview
1784 enable_ping
1785 enable_plugplay
1786 enable_powershell
1787 enable_presentationfontcache
1788 enable_progman
1789 enable_reg
1790 enable_regasm
1791 enable_regedit
1792 enable_regini
1793 enable_regsvcs
1794 enable_regsvr32
1795 enable_rpcss
1796 enable_rundll32
1797 enable_sc
1798 enable_schtasks
1799 enable_sdbinst
1800 enable_secedit
1801 enable_servicemodelreg
1802 enable_services
1803 enable_shutdown
1804 enable_spoolsv
1805 enable_start
1806 enable_subst
1807 enable_svchost
1808 enable_systeminfo
1809 enable_taskkill
1810 enable_tasklist
1811 enable_taskmgr
1812 enable_termsv
1813 enable_uninstaller
1814 enable_unlodctr
1815 enable_view
1816 enable_wevtutil
1817 enable_where
1818 enable_whoami
1819 enable_wineboot
1820 enable_winebrowser
1821 enable_winecfg
1822 enable_wineconsole
1823 enable_winedbg
1824 enable_winedevice
1825 enable_winefile
1826 enable_winemenubuilder
1827 enable_winemine
1828 enable_winemsibuilder
1829 enable_winepath
1830 enable_winetest
1831 enable_winhlp32
1832 enable_winmgmt
1833 enable_winver
1834 enable_wmic
1835 enable_wmplayer
1836 enable_wordpad
1837 enable_write
1838 enable_wscript
1839 enable_wuauserv
1840 enable_wusa
1841 enable_xcopy
1842 enable_server
1843 enable_tools
1844 enable_sfnt2fon
1845 enable_widl
1846 enable_winebuild
1847 enable_winedump
1848 enable_winegcc
1849 enable_winemaker
1850 enable_wmc
1851 enable_wrc
1853 ac_precious_vars='build_alias
1854 host_alias
1855 target_alias
1857 CFLAGS
1858 LDFLAGS
1859 LIBS
1860 CPPFLAGS
1862 CXXFLAGS
1865 OBJC
1866 OBJCFLAGS
1867 OBJCPP
1868 XMKMF
1869 XML2_CFLAGS
1870 XML2_LIBS
1871 XSLT_CFLAGS
1872 XSLT_LIBS
1873 INOTIFY_CFLAGS
1874 INOTIFY_LIBS
1875 DBUS_CFLAGS
1876 DBUS_LIBS
1877 HAL_CFLAGS
1878 HAL_LIBS
1879 GNUTLS_CFLAGS
1880 GNUTLS_LIBS
1881 SANE_CFLAGS
1882 SANE_LIBS
1883 USB_CFLAGS
1884 USB_LIBS
1885 GPHOTO2_CFLAGS
1886 GPHOTO2_LIBS
1887 GPHOTO2_PORT_CFLAGS
1888 GPHOTO2_PORT_LIBS
1889 LCMS2_CFLAGS
1890 LCMS2_LIBS
1891 FREETYPE_CFLAGS
1892 FREETYPE_LIBS
1893 PULSE_CFLAGS
1894 PULSE_LIBS
1895 GSTREAMER_CFLAGS
1896 GSTREAMER_LIBS
1897 UDEV_CFLAGS
1898 UDEV_LIBS
1899 UNWIND_CFLAGS
1900 UNWIND_LIBS
1901 SDL2_CFLAGS
1902 SDL2_LIBS
1903 FAUDIO_CFLAGS
1904 FAUDIO_LIBS
1905 CAPI20_CFLAGS
1906 CAPI20_LIBS
1907 CUPS_CFLAGS
1908 CUPS_LIBS
1909 FONTCONFIG_CFLAGS
1910 FONTCONFIG_LIBS
1911 KRB5_CFLAGS
1912 KRB5_LIBS
1913 GSSAPI_CFLAGS
1914 GSSAPI_LIBS
1915 JPEG_CFLAGS
1916 JPEG_LIBS
1917 PNG_CFLAGS
1918 PNG_LIBS
1919 TIFF_CFLAGS
1920 TIFF_LIBS
1921 MPG123_CFLAGS
1922 MPG123_LIBS
1923 NETAPI_CFLAGS
1924 NETAPI_LIBS
1925 VKD3D_CFLAGS
1926 VKD3D_LIBS
1927 LDAP_CFLAGS
1928 LDAP_LIBS'
1931 # Initialize some variables set by options.
1932 ac_init_help=
1933 ac_init_version=false
1934 ac_unrecognized_opts=
1935 ac_unrecognized_sep=
1936 # The variables have the same names as the options, with
1937 # dashes changed to underlines.
1938 cache_file=/dev/null
1939 exec_prefix=NONE
1940 no_create=
1941 no_recursion=
1942 prefix=NONE
1943 program_prefix=NONE
1944 program_suffix=NONE
1945 program_transform_name=s,x,x,
1946 silent=
1947 site=
1948 srcdir=
1949 verbose=
1950 x_includes=NONE
1951 x_libraries=NONE
1953 # Installation directory options.
1954 # These are left unexpanded so users can "make install exec_prefix=/foo"
1955 # and all the variables that are supposed to be based on exec_prefix
1956 # by default will actually change.
1957 # Use braces instead of parens because sh, perl, etc. also accept them.
1958 # (The list follows the same order as the GNU Coding Standards.)
1959 bindir='${exec_prefix}/bin'
1960 sbindir='${exec_prefix}/sbin'
1961 libexecdir='${exec_prefix}/libexec'
1962 datarootdir='${prefix}/share'
1963 datadir='${datarootdir}'
1964 sysconfdir='${prefix}/etc'
1965 sharedstatedir='${prefix}/com'
1966 localstatedir='${prefix}/var'
1967 runstatedir='${localstatedir}/run'
1968 includedir='${prefix}/include'
1969 oldincludedir='/usr/include'
1970 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1971 infodir='${datarootdir}/info'
1972 htmldir='${docdir}'
1973 dvidir='${docdir}'
1974 pdfdir='${docdir}'
1975 psdir='${docdir}'
1976 libdir='${exec_prefix}/lib'
1977 localedir='${datarootdir}/locale'
1978 mandir='${datarootdir}/man'
1980 ac_prev=
1981 ac_dashdash=
1982 for ac_option
1984 # If the previous option needs an argument, assign it.
1985 if test -n "$ac_prev"; then
1986 eval $ac_prev=\$ac_option
1987 ac_prev=
1988 continue
1991 case $ac_option in
1992 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1993 *=) ac_optarg= ;;
1994 *) ac_optarg=yes ;;
1995 esac
1997 # Accept the important Cygnus configure options, so we can diagnose typos.
1999 case $ac_dashdash$ac_option in
2001 ac_dashdash=yes ;;
2003 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2004 ac_prev=bindir ;;
2005 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2006 bindir=$ac_optarg ;;
2008 -build | --build | --buil | --bui | --bu)
2009 ac_prev=build_alias ;;
2010 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2011 build_alias=$ac_optarg ;;
2013 -cache-file | --cache-file | --cache-fil | --cache-fi \
2014 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2015 ac_prev=cache_file ;;
2016 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2017 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2018 cache_file=$ac_optarg ;;
2020 --config-cache | -C)
2021 cache_file=config.cache ;;
2023 -datadir | --datadir | --datadi | --datad)
2024 ac_prev=datadir ;;
2025 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2026 datadir=$ac_optarg ;;
2028 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2029 | --dataroo | --dataro | --datar)
2030 ac_prev=datarootdir ;;
2031 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2032 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2033 datarootdir=$ac_optarg ;;
2035 -disable-* | --disable-*)
2036 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2037 # Reject names that are not valid shell variable names.
2038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2039 as_fn_error $? "invalid feature name: $ac_useropt"
2040 ac_useropt_orig=$ac_useropt
2041 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2042 case $ac_user_opts in
2044 "enable_$ac_useropt"
2045 "*) ;;
2046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2047 ac_unrecognized_sep=', ';;
2048 esac
2049 eval enable_$ac_useropt=no ;;
2051 -docdir | --docdir | --docdi | --doc | --do)
2052 ac_prev=docdir ;;
2053 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2054 docdir=$ac_optarg ;;
2056 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2057 ac_prev=dvidir ;;
2058 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2059 dvidir=$ac_optarg ;;
2061 -enable-* | --enable-*)
2062 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2063 # Reject names that are not valid shell variable names.
2064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2065 as_fn_error $? "invalid feature name: $ac_useropt"
2066 ac_useropt_orig=$ac_useropt
2067 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2068 case $ac_user_opts in
2070 "enable_$ac_useropt"
2071 "*) ;;
2072 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2073 ac_unrecognized_sep=', ';;
2074 esac
2075 eval enable_$ac_useropt=\$ac_optarg ;;
2077 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2078 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2079 | --exec | --exe | --ex)
2080 ac_prev=exec_prefix ;;
2081 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2082 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2083 | --exec=* | --exe=* | --ex=*)
2084 exec_prefix=$ac_optarg ;;
2086 -gas | --gas | --ga | --g)
2087 # Obsolete; use --with-gas.
2088 with_gas=yes ;;
2090 -help | --help | --hel | --he | -h)
2091 ac_init_help=long ;;
2092 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2093 ac_init_help=recursive ;;
2094 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2095 ac_init_help=short ;;
2097 -host | --host | --hos | --ho)
2098 ac_prev=host_alias ;;
2099 -host=* | --host=* | --hos=* | --ho=*)
2100 host_alias=$ac_optarg ;;
2102 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2103 ac_prev=htmldir ;;
2104 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2105 | --ht=*)
2106 htmldir=$ac_optarg ;;
2108 -includedir | --includedir | --includedi | --included | --include \
2109 | --includ | --inclu | --incl | --inc)
2110 ac_prev=includedir ;;
2111 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2112 | --includ=* | --inclu=* | --incl=* | --inc=*)
2113 includedir=$ac_optarg ;;
2115 -infodir | --infodir | --infodi | --infod | --info | --inf)
2116 ac_prev=infodir ;;
2117 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2118 infodir=$ac_optarg ;;
2120 -libdir | --libdir | --libdi | --libd)
2121 ac_prev=libdir ;;
2122 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2123 libdir=$ac_optarg ;;
2125 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2126 | --libexe | --libex | --libe)
2127 ac_prev=libexecdir ;;
2128 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2129 | --libexe=* | --libex=* | --libe=*)
2130 libexecdir=$ac_optarg ;;
2132 -localedir | --localedir | --localedi | --localed | --locale)
2133 ac_prev=localedir ;;
2134 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2135 localedir=$ac_optarg ;;
2137 -localstatedir | --localstatedir | --localstatedi | --localstated \
2138 | --localstate | --localstat | --localsta | --localst | --locals)
2139 ac_prev=localstatedir ;;
2140 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2141 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2142 localstatedir=$ac_optarg ;;
2144 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2145 ac_prev=mandir ;;
2146 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2147 mandir=$ac_optarg ;;
2149 -nfp | --nfp | --nf)
2150 # Obsolete; use --without-fp.
2151 with_fp=no ;;
2153 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2154 | --no-cr | --no-c | -n)
2155 no_create=yes ;;
2157 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2158 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2159 no_recursion=yes ;;
2161 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2162 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2163 | --oldin | --oldi | --old | --ol | --o)
2164 ac_prev=oldincludedir ;;
2165 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2166 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2167 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2168 oldincludedir=$ac_optarg ;;
2170 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2171 ac_prev=prefix ;;
2172 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2173 prefix=$ac_optarg ;;
2175 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2176 | --program-pre | --program-pr | --program-p)
2177 ac_prev=program_prefix ;;
2178 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2179 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2180 program_prefix=$ac_optarg ;;
2182 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2183 | --program-suf | --program-su | --program-s)
2184 ac_prev=program_suffix ;;
2185 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2186 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2187 program_suffix=$ac_optarg ;;
2189 -program-transform-name | --program-transform-name \
2190 | --program-transform-nam | --program-transform-na \
2191 | --program-transform-n | --program-transform- \
2192 | --program-transform | --program-transfor \
2193 | --program-transfo | --program-transf \
2194 | --program-trans | --program-tran \
2195 | --progr-tra | --program-tr | --program-t)
2196 ac_prev=program_transform_name ;;
2197 -program-transform-name=* | --program-transform-name=* \
2198 | --program-transform-nam=* | --program-transform-na=* \
2199 | --program-transform-n=* | --program-transform-=* \
2200 | --program-transform=* | --program-transfor=* \
2201 | --program-transfo=* | --program-transf=* \
2202 | --program-trans=* | --program-tran=* \
2203 | --progr-tra=* | --program-tr=* | --program-t=*)
2204 program_transform_name=$ac_optarg ;;
2206 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2207 ac_prev=pdfdir ;;
2208 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2209 pdfdir=$ac_optarg ;;
2211 -psdir | --psdir | --psdi | --psd | --ps)
2212 ac_prev=psdir ;;
2213 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2214 psdir=$ac_optarg ;;
2216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2217 | -silent | --silent | --silen | --sile | --sil)
2218 silent=yes ;;
2220 -runstatedir | --runstatedir | --runstatedi | --runstated \
2221 | --runstate | --runstat | --runsta | --runst | --runs \
2222 | --run | --ru | --r)
2223 ac_prev=runstatedir ;;
2224 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2225 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2226 | --run=* | --ru=* | --r=*)
2227 runstatedir=$ac_optarg ;;
2229 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2230 ac_prev=sbindir ;;
2231 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2232 | --sbi=* | --sb=*)
2233 sbindir=$ac_optarg ;;
2235 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2236 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2237 | --sharedst | --shareds | --shared | --share | --shar \
2238 | --sha | --sh)
2239 ac_prev=sharedstatedir ;;
2240 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2241 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2242 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2243 | --sha=* | --sh=*)
2244 sharedstatedir=$ac_optarg ;;
2246 -site | --site | --sit)
2247 ac_prev=site ;;
2248 -site=* | --site=* | --sit=*)
2249 site=$ac_optarg ;;
2251 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2252 ac_prev=srcdir ;;
2253 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2254 srcdir=$ac_optarg ;;
2256 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2257 | --syscon | --sysco | --sysc | --sys | --sy)
2258 ac_prev=sysconfdir ;;
2259 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2260 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2261 sysconfdir=$ac_optarg ;;
2263 -target | --target | --targe | --targ | --tar | --ta | --t)
2264 ac_prev=target_alias ;;
2265 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2266 target_alias=$ac_optarg ;;
2268 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2269 verbose=yes ;;
2271 -version | --version | --versio | --versi | --vers | -V)
2272 ac_init_version=: ;;
2274 -with-* | --with-*)
2275 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2276 # Reject names that are not valid shell variable names.
2277 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2278 as_fn_error $? "invalid package name: $ac_useropt"
2279 ac_useropt_orig=$ac_useropt
2280 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2281 case $ac_user_opts in
2283 "with_$ac_useropt"
2284 "*) ;;
2285 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2286 ac_unrecognized_sep=', ';;
2287 esac
2288 eval with_$ac_useropt=\$ac_optarg ;;
2290 -without-* | --without-*)
2291 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2292 # Reject names that are not valid shell variable names.
2293 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2294 as_fn_error $? "invalid package name: $ac_useropt"
2295 ac_useropt_orig=$ac_useropt
2296 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2297 case $ac_user_opts in
2299 "with_$ac_useropt"
2300 "*) ;;
2301 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2302 ac_unrecognized_sep=', ';;
2303 esac
2304 eval with_$ac_useropt=no ;;
2306 --x)
2307 # Obsolete; use --with-x.
2308 with_x=yes ;;
2310 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2311 | --x-incl | --x-inc | --x-in | --x-i)
2312 ac_prev=x_includes ;;
2313 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2314 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2315 x_includes=$ac_optarg ;;
2317 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2318 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2319 ac_prev=x_libraries ;;
2320 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2321 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2322 x_libraries=$ac_optarg ;;
2324 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2325 Try \`$0 --help' for more information"
2328 *=*)
2329 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2330 # Reject names that are not valid shell variable names.
2331 case $ac_envvar in #(
2332 '' | [0-9]* | *[!_$as_cr_alnum]* )
2333 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2334 esac
2335 eval $ac_envvar=\$ac_optarg
2336 export $ac_envvar ;;
2339 # FIXME: should be removed in autoconf 3.0.
2340 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2341 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2342 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2343 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2346 esac
2347 done
2349 if test -n "$ac_prev"; then
2350 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2351 as_fn_error $? "missing argument to $ac_option"
2354 if test -n "$ac_unrecognized_opts"; then
2355 case $enable_option_checking in
2356 no) ;;
2357 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2358 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2359 esac
2362 # Check all directory arguments for consistency.
2363 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2364 datadir sysconfdir sharedstatedir localstatedir includedir \
2365 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2366 libdir localedir mandir runstatedir
2368 eval ac_val=\$$ac_var
2369 # Remove trailing slashes.
2370 case $ac_val in
2371 */ )
2372 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2373 eval $ac_var=\$ac_val;;
2374 esac
2375 # Be sure to have absolute directory names.
2376 case $ac_val in
2377 [\\/$]* | ?:[\\/]* ) continue;;
2378 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2379 esac
2380 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2381 done
2383 # There might be people who depend on the old broken behavior: `$host'
2384 # used to hold the argument of --host etc.
2385 # FIXME: To remove some day.
2386 build=$build_alias
2387 host=$host_alias
2388 target=$target_alias
2390 # FIXME: To remove some day.
2391 if test "x$host_alias" != x; then
2392 if test "x$build_alias" = x; then
2393 cross_compiling=maybe
2394 elif test "x$build_alias" != "x$host_alias"; then
2395 cross_compiling=yes
2399 ac_tool_prefix=
2400 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2402 test "$silent" = yes && exec 6>/dev/null
2405 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2406 ac_ls_di=`ls -di .` &&
2407 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2408 as_fn_error $? "working directory cannot be determined"
2409 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2410 as_fn_error $? "pwd does not report name of working directory"
2413 # Find the source files, if location was not specified.
2414 if test -z "$srcdir"; then
2415 ac_srcdir_defaulted=yes
2416 # Try the directory containing this script, then the parent directory.
2417 ac_confdir=`$as_dirname -- "$as_myself" ||
2418 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2419 X"$as_myself" : 'X\(//\)[^/]' \| \
2420 X"$as_myself" : 'X\(//\)$' \| \
2421 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2422 $as_echo X"$as_myself" |
2423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2424 s//\1/
2427 /^X\(\/\/\)[^/].*/{
2428 s//\1/
2431 /^X\(\/\/\)$/{
2432 s//\1/
2435 /^X\(\/\).*/{
2436 s//\1/
2439 s/.*/./; q'`
2440 srcdir=$ac_confdir
2441 if test ! -r "$srcdir/$ac_unique_file"; then
2442 srcdir=..
2444 else
2445 ac_srcdir_defaulted=no
2447 if test ! -r "$srcdir/$ac_unique_file"; then
2448 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2449 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2451 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2452 ac_abs_confdir=`(
2453 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2454 pwd)`
2455 # When building in place, set srcdir=.
2456 if test "$ac_abs_confdir" = "$ac_pwd"; then
2457 srcdir=.
2459 # Remove unnecessary trailing slashes from srcdir.
2460 # Double slashes in file names in object file debugging info
2461 # mess up M-x gdb in Emacs.
2462 case $srcdir in
2463 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2464 esac
2465 for ac_var in $ac_precious_vars; do
2466 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2467 eval ac_env_${ac_var}_value=\$${ac_var}
2468 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2469 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2470 done
2473 # Report the --help message.
2475 if test "$ac_init_help" = "long"; then
2476 # Omit some internal or obsolete options to make the list less imposing.
2477 # This message is too long to be a string in the A/UX 3.1 sh.
2478 cat <<_ACEOF
2479 \`configure' configures Wine 5.14 to adapt to many kinds of systems.
2481 Usage: $0 [OPTION]... [VAR=VALUE]...
2483 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2484 VAR=VALUE. See below for descriptions of some of the useful variables.
2486 Defaults for the options are specified in brackets.
2488 Configuration:
2489 -h, --help display this help and exit
2490 --help=short display options specific to this package
2491 --help=recursive display the short help of all the included packages
2492 -V, --version display version information and exit
2493 -q, --quiet, --silent do not print \`checking ...' messages
2494 --cache-file=FILE cache test results in FILE [disabled]
2495 -C, --config-cache alias for \`--cache-file=config.cache'
2496 -n, --no-create do not create output files
2497 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2499 Installation directories:
2500 --prefix=PREFIX install architecture-independent files in PREFIX
2501 [$ac_default_prefix]
2502 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2503 [PREFIX]
2505 By default, \`make install' will install all the files in
2506 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2507 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2508 for instance \`--prefix=\$HOME'.
2510 For better control, use the options below.
2512 Fine tuning of the installation directories:
2513 --bindir=DIR user executables [EPREFIX/bin]
2514 --sbindir=DIR system admin executables [EPREFIX/sbin]
2515 --libexecdir=DIR program executables [EPREFIX/libexec]
2516 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2517 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2518 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2519 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2520 --libdir=DIR object code libraries [EPREFIX/lib]
2521 --includedir=DIR C header files [PREFIX/include]
2522 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2523 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2524 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2525 --infodir=DIR info documentation [DATAROOTDIR/info]
2526 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2527 --mandir=DIR man documentation [DATAROOTDIR/man]
2528 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2529 --htmldir=DIR html documentation [DOCDIR]
2530 --dvidir=DIR dvi documentation [DOCDIR]
2531 --pdfdir=DIR pdf documentation [DOCDIR]
2532 --psdir=DIR ps documentation [DOCDIR]
2533 _ACEOF
2535 cat <<\_ACEOF
2537 X features:
2538 --x-includes=DIR X include files are in DIR
2539 --x-libraries=DIR X library files are in DIR
2541 System types:
2542 --build=BUILD configure for building on BUILD [guessed]
2543 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2544 _ACEOF
2547 if test -n "$ac_init_help"; then
2548 case $ac_init_help in
2549 short | recursive ) echo "Configuration of Wine 5.14:";;
2550 esac
2551 cat <<\_ACEOF
2553 Optional Features:
2554 --disable-option-checking ignore unrecognized --enable/--with options
2555 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2556 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2557 --disable-win16 do not include Win16 support
2558 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2559 binaries)
2560 --disable-tests do not build the regression tests
2561 --enable-maintainer-mode
2562 enable maintainer-specific build rules
2563 --enable-werror treat compilation warnings as errors
2564 --disable-largefile omit support for large files
2566 Optional Packages:
2567 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2568 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2569 --without-alsa do not use the Alsa sound support
2570 --without-capi do not use CAPI (ISDN support)
2571 --without-cms do not use CMS (color management support)
2572 --without-coreaudio do not use the CoreAudio sound support
2573 --without-cups do not use CUPS
2574 --without-curses do not use (n)curses
2575 --without-dbus do not use DBus (dynamic device support)
2576 --without-faudio do not use FAudio (XAudio2 support)
2577 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2578 --without-fontconfig do not use fontconfig
2579 --without-freetype do not use the FreeType library
2580 --without-gettext do not use gettext
2581 --with-gettextpo use the GetTextPO library to rebuild po files
2582 --without-gphoto do not use gphoto (Digital Camera support)
2583 --without-glu do not use the GLU library
2584 --without-gnutls do not use GnuTLS (schannel support)
2585 --without-gsm do not use libgsm (GSM 06.10 codec support)
2586 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2587 --without-gstreamer do not use GStreamer (codecs support)
2588 --without-hal do not use HAL (dynamic device support)
2589 --without-inotify do not use inotify (filesystem change notifications)
2590 --without-jpeg do not use JPEG
2591 --without-krb5 do not use krb5 (Kerberos)
2592 --without-ldap do not use LDAP
2593 --without-mingw do not use the MinGW cross-compiler
2594 --without-mpg123 do not use the mpg123 library
2595 --without-netapi do not use the Samba NetAPI library
2596 --without-openal do not use OpenAL
2597 --without-opencl do not use OpenCL
2598 --without-opengl do not use OpenGL
2599 --without-osmesa do not use the OSMesa library
2600 --without-oss do not use the OSS sound support
2601 --without-pcap do not use the Packet Capture library
2602 --without-png do not use PNG
2603 --without-pthread do not use the pthread library
2604 --without-pulse do not use PulseAudio sound support
2605 --without-sane do not use SANE (scanner support)
2606 --without-sdl do not use SDL
2607 --without-tiff do not use TIFF
2608 --without-udev do not use udev (plug and play support)
2609 --without-unwind do not use the libunwind library (exception
2610 handling)
2611 --without-usb do not use the libusb library
2612 --without-v4l2 do not use v4l2 (video capture)
2613 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2614 --without-vulkan do not use Vulkan
2615 --without-xcomposite do not use the Xcomposite extension
2616 --without-xcursor do not use the Xcursor extension
2617 --without-xfixes do not use Xfixes for clipboard change notifications
2618 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2619 --without-xinput do not use the Xinput extension
2620 --without-xinput2 do not use the Xinput 2 extension
2621 --without-xml do not use XML
2622 --without-xrandr do not use Xrandr (multi-monitor support)
2623 --without-xrender do not use the Xrender extension
2624 --without-xshape do not use the Xshape extension
2625 --without-xshm do not use XShm (shared memory extension)
2626 --without-xslt do not use XSLT
2627 --without-xxf86vm do not use XFree video mode extension
2628 --with-wine-tools=DIR use Wine tools from directory DIR
2629 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2630 --with-x use the X Window System
2632 Some influential environment variables:
2633 CC C compiler command
2634 CFLAGS C compiler flags
2635 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2636 nonstandard directory <lib dir>
2637 LIBS libraries to pass to the linker, e.g. -l<library>
2638 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2639 you have headers in a nonstandard directory <include dir>
2640 CXX C++ compiler command
2641 CXXFLAGS C++ compiler flags
2642 CPP C preprocessor
2643 OBJC Objective C compiler command
2644 OBJCFLAGS Objective C compiler flags
2645 OBJCPP Objective C preprocessor
2646 XMKMF Path to xmkmf, Makefile generator for X Window System
2647 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2648 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2649 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2650 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2651 INOTIFY_CFLAGS
2652 C compiler flags for libinotify, overriding pkg-config
2653 INOTIFY_LIBS
2654 Linker flags for libinotify, overriding pkg-config
2655 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2656 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2657 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2658 HAL_LIBS Linker flags for hal, overriding pkg-config
2659 GNUTLS_CFLAGS
2660 C compiler flags for gnutls, overriding pkg-config
2661 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2662 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2663 SANE_LIBS Linker flags for libsane, overriding pkg-config
2664 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2665 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2666 GPHOTO2_CFLAGS
2667 C compiler flags for libgphoto2, overriding pkg-config
2668 GPHOTO2_LIBS
2669 Linker flags for libgphoto2, overriding pkg-config
2670 GPHOTO2_PORT_CFLAGS
2671 C compiler flags for libgphoto2_port, overriding pkg-config
2672 GPHOTO2_PORT_LIBS
2673 Linker flags for libgphoto2_port, overriding pkg-config
2674 LCMS2_CFLAGS
2675 C compiler flags for lcms2, overriding pkg-config
2676 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2677 FREETYPE_CFLAGS
2678 C compiler flags for freetype2, overriding pkg-config
2679 FREETYPE_LIBS
2680 Linker flags for freetype2, overriding pkg-config
2681 PULSE_CFLAGS
2682 C compiler flags for libpulse, overriding pkg-config
2683 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2684 GSTREAMER_CFLAGS
2685 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2686 gstreamer-audio-1.0, overriding pkg-config
2687 GSTREAMER_LIBS
2688 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2689 gstreamer-audio-1.0, overriding pkg-config
2690 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2691 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2692 UNWIND_CFLAGS
2693 C compiler flags for libunwind, overriding pkg-config
2694 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2695 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2696 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2697 FAUDIO_CFLAGS
2698 C compiler flags for faudio, overriding pkg-config
2699 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2700 CAPI20_CFLAGS
2701 C compiler flags for capi20, overriding pkg-config
2702 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2703 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2704 CUPS_LIBS Linker flags for cups, overriding pkg-config
2705 FONTCONFIG_CFLAGS
2706 C compiler flags for fontconfig, overriding pkg-config
2707 FONTCONFIG_LIBS
2708 Linker flags for fontconfig, overriding pkg-config
2709 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2710 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2711 GSSAPI_CFLAGS
2712 C compiler flags for krb5-gssapi, overriding pkg-config
2713 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2714 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2715 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2716 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2717 PNG_LIBS Linker flags for libpng, overriding pkg-config
2718 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2719 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2720 MPG123_CFLAGS
2721 C compiler flags for libmpg123, overriding pkg-config
2722 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2723 NETAPI_CFLAGS
2724 C compiler flags for netapi, overriding pkg-config
2725 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2726 VKD3D_CFLAGS
2727 C compiler flags for libvkd3d, overriding pkg-config
2728 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2729 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2730 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2732 Use these variables to override the choices made by `configure' or to help
2733 it to find libraries and programs with nonstandard names/locations.
2735 Report bugs to <wine-devel@winehq.org>.
2736 Wine home page: <https://www.winehq.org>.
2737 _ACEOF
2738 ac_status=$?
2741 if test "$ac_init_help" = "recursive"; then
2742 # If there are subdirs, report their specific --help.
2743 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2744 test -d "$ac_dir" ||
2745 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2746 continue
2747 ac_builddir=.
2749 case "$ac_dir" in
2750 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2752 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2753 # A ".." for each directory in $ac_dir_suffix.
2754 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2755 case $ac_top_builddir_sub in
2756 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2757 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2758 esac ;;
2759 esac
2760 ac_abs_top_builddir=$ac_pwd
2761 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2762 # for backward compatibility:
2763 ac_top_builddir=$ac_top_build_prefix
2765 case $srcdir in
2766 .) # We are building in place.
2767 ac_srcdir=.
2768 ac_top_srcdir=$ac_top_builddir_sub
2769 ac_abs_top_srcdir=$ac_pwd ;;
2770 [\\/]* | ?:[\\/]* ) # Absolute name.
2771 ac_srcdir=$srcdir$ac_dir_suffix;
2772 ac_top_srcdir=$srcdir
2773 ac_abs_top_srcdir=$srcdir ;;
2774 *) # Relative name.
2775 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2776 ac_top_srcdir=$ac_top_build_prefix$srcdir
2777 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2778 esac
2779 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2781 cd "$ac_dir" || { ac_status=$?; continue; }
2782 # Check for guested configure.
2783 if test -f "$ac_srcdir/configure.gnu"; then
2784 echo &&
2785 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2786 elif test -f "$ac_srcdir/configure"; then
2787 echo &&
2788 $SHELL "$ac_srcdir/configure" --help=recursive
2789 else
2790 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2791 fi || ac_status=$?
2792 cd "$ac_pwd" || { ac_status=$?; break; }
2793 done
2796 test -n "$ac_init_help" && exit $ac_status
2797 if $ac_init_version; then
2798 cat <<\_ACEOF
2799 Wine configure 5.14
2800 generated by GNU Autoconf 2.69
2802 Copyright (C) 2012 Free Software Foundation, Inc.
2803 This configure script is free software; the Free Software Foundation
2804 gives unlimited permission to copy, distribute and modify it.
2805 _ACEOF
2806 exit
2809 ## ------------------------ ##
2810 ## Autoconf initialization. ##
2811 ## ------------------------ ##
2813 # ac_fn_c_try_compile LINENO
2814 # --------------------------
2815 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2816 ac_fn_c_try_compile ()
2818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2819 rm -f conftest.$ac_objext
2820 if { { ac_try="$ac_compile"
2821 case "(($ac_try" in
2822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2824 esac
2825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2826 $as_echo "$ac_try_echo"; } >&5
2827 (eval "$ac_compile") 2>conftest.err
2828 ac_status=$?
2829 if test -s conftest.err; then
2830 grep -v '^ *+' conftest.err >conftest.er1
2831 cat conftest.er1 >&5
2832 mv -f conftest.er1 conftest.err
2834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2835 test $ac_status = 0; } && {
2836 test -z "$ac_c_werror_flag" ||
2837 test ! -s conftest.err
2838 } && test -s conftest.$ac_objext; then :
2839 ac_retval=0
2840 else
2841 $as_echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2844 ac_retval=1
2846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2847 as_fn_set_status $ac_retval
2849 } # ac_fn_c_try_compile
2851 # ac_fn_cxx_try_compile LINENO
2852 # ----------------------------
2853 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2854 ac_fn_cxx_try_compile ()
2856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2857 rm -f conftest.$ac_objext
2858 if { { ac_try="$ac_compile"
2859 case "(($ac_try" in
2860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2862 esac
2863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2864 $as_echo "$ac_try_echo"; } >&5
2865 (eval "$ac_compile") 2>conftest.err
2866 ac_status=$?
2867 if test -s conftest.err; then
2868 grep -v '^ *+' conftest.err >conftest.er1
2869 cat conftest.er1 >&5
2870 mv -f conftest.er1 conftest.err
2872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2873 test $ac_status = 0; } && {
2874 test -z "$ac_cxx_werror_flag" ||
2875 test ! -s conftest.err
2876 } && test -s conftest.$ac_objext; then :
2877 ac_retval=0
2878 else
2879 $as_echo "$as_me: failed program was:" >&5
2880 sed 's/^/| /' conftest.$ac_ext >&5
2882 ac_retval=1
2884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2885 as_fn_set_status $ac_retval
2887 } # ac_fn_cxx_try_compile
2889 # ac_fn_c_try_link LINENO
2890 # -----------------------
2891 # Try to link conftest.$ac_ext, and return whether this succeeded.
2892 ac_fn_c_try_link ()
2894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2895 rm -f conftest.$ac_objext conftest$ac_exeext
2896 if { { ac_try="$ac_link"
2897 case "(($ac_try" in
2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2899 *) ac_try_echo=$ac_try;;
2900 esac
2901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2902 $as_echo "$ac_try_echo"; } >&5
2903 (eval "$ac_link") 2>conftest.err
2904 ac_status=$?
2905 if test -s conftest.err; then
2906 grep -v '^ *+' conftest.err >conftest.er1
2907 cat conftest.er1 >&5
2908 mv -f conftest.er1 conftest.err
2910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2911 test $ac_status = 0; } && {
2912 test -z "$ac_c_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest$ac_exeext && {
2915 test "$cross_compiling" = yes ||
2916 test -x conftest$ac_exeext
2917 }; then :
2918 ac_retval=0
2919 else
2920 $as_echo "$as_me: failed program was:" >&5
2921 sed 's/^/| /' conftest.$ac_ext >&5
2923 ac_retval=1
2925 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2926 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2927 # interfere with the next link command; also delete a directory that is
2928 # left behind by Apple's compiler. We do this before executing the actions.
2929 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2931 as_fn_set_status $ac_retval
2933 } # ac_fn_c_try_link
2935 # ac_fn_c_try_cpp LINENO
2936 # ----------------------
2937 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2938 ac_fn_c_try_cpp ()
2940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2941 if { { ac_try="$ac_cpp conftest.$ac_ext"
2942 case "(($ac_try" in
2943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2945 esac
2946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2947 $as_echo "$ac_try_echo"; } >&5
2948 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2949 ac_status=$?
2950 if test -s conftest.err; then
2951 grep -v '^ *+' conftest.err >conftest.er1
2952 cat conftest.er1 >&5
2953 mv -f conftest.er1 conftest.err
2955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2956 test $ac_status = 0; } > conftest.i && {
2957 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2958 test ! -s conftest.err
2959 }; then :
2960 ac_retval=0
2961 else
2962 $as_echo "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.$ac_ext >&5
2965 ac_retval=1
2967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2968 as_fn_set_status $ac_retval
2970 } # ac_fn_c_try_cpp
2972 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2973 # -------------------------------------------------------
2974 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2975 # the include files in INCLUDES and setting the cache variable VAR
2976 # accordingly.
2977 ac_fn_c_check_header_mongrel ()
2979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2980 if eval \${$3+:} false; then :
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2982 $as_echo_n "checking for $2... " >&6; }
2983 if eval \${$3+:} false; then :
2984 $as_echo_n "(cached) " >&6
2986 eval ac_res=\$$3
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2988 $as_echo "$ac_res" >&6; }
2989 else
2990 # Is the header compilable?
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2992 $as_echo_n "checking $2 usability... " >&6; }
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
2996 #include <$2>
2997 _ACEOF
2998 if ac_fn_c_try_compile "$LINENO"; then :
2999 ac_header_compiler=yes
3000 else
3001 ac_header_compiler=no
3003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3005 $as_echo "$ac_header_compiler" >&6; }
3007 # Is the header present?
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3009 $as_echo_n "checking $2 presence... " >&6; }
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3012 #include <$2>
3013 _ACEOF
3014 if ac_fn_c_try_cpp "$LINENO"; then :
3015 ac_header_preproc=yes
3016 else
3017 ac_header_preproc=no
3019 rm -f conftest.err conftest.i conftest.$ac_ext
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3021 $as_echo "$ac_header_preproc" >&6; }
3023 # So? What about this header?
3024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3025 yes:no: )
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3027 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3029 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3031 no:yes:* )
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3033 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3035 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3037 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3039 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3041 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3042 ( $as_echo "## ------------------------------------ ##
3043 ## Report this to wine-devel@winehq.org ##
3044 ## ------------------------------------ ##"
3045 ) | sed "s/^/$as_me: WARNING: /" >&2
3047 esac
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3049 $as_echo_n "checking for $2... " >&6; }
3050 if eval \${$3+:} false; then :
3051 $as_echo_n "(cached) " >&6
3052 else
3053 eval "$3=\$ac_header_compiler"
3055 eval ac_res=\$$3
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3057 $as_echo "$ac_res" >&6; }
3059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3061 } # ac_fn_c_check_header_mongrel
3063 # ac_fn_c_try_run LINENO
3064 # ----------------------
3065 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3066 # that executables *can* be run.
3067 ac_fn_c_try_run ()
3069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3070 if { { ac_try="$ac_link"
3071 case "(($ac_try" in
3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3074 esac
3075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3076 $as_echo "$ac_try_echo"; } >&5
3077 (eval "$ac_link") 2>&5
3078 ac_status=$?
3079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3080 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3081 { { case "(($ac_try" in
3082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3084 esac
3085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3086 $as_echo "$ac_try_echo"; } >&5
3087 (eval "$ac_try") 2>&5
3088 ac_status=$?
3089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3090 test $ac_status = 0; }; }; then :
3091 ac_retval=0
3092 else
3093 $as_echo "$as_me: program exited with status $ac_status" >&5
3094 $as_echo "$as_me: failed program was:" >&5
3095 sed 's/^/| /' conftest.$ac_ext >&5
3097 ac_retval=$ac_status
3099 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3101 as_fn_set_status $ac_retval
3103 } # ac_fn_c_try_run
3105 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3106 # -------------------------------------------------------
3107 # Tests whether HEADER exists and can be compiled using the include files in
3108 # INCLUDES, setting the cache variable VAR accordingly.
3109 ac_fn_c_check_header_compile ()
3111 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3113 $as_echo_n "checking for $2... " >&6; }
3114 if eval \${$3+:} false; then :
3115 $as_echo_n "(cached) " >&6
3116 else
3117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3120 #include <$2>
3121 _ACEOF
3122 if ac_fn_c_try_compile "$LINENO"; then :
3123 eval "$3=yes"
3124 else
3125 eval "$3=no"
3127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3129 eval ac_res=\$$3
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3131 $as_echo "$ac_res" >&6; }
3132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3134 } # ac_fn_c_check_header_compile
3136 # ac_fn_objc_try_compile LINENO
3137 # -----------------------------
3138 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3139 ac_fn_objc_try_compile ()
3141 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3142 rm -f conftest.$ac_objext
3143 if { { ac_try="$ac_compile"
3144 case "(($ac_try" in
3145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3146 *) ac_try_echo=$ac_try;;
3147 esac
3148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3149 $as_echo "$ac_try_echo"; } >&5
3150 (eval "$ac_compile") 2>conftest.err
3151 ac_status=$?
3152 if test -s conftest.err; then
3153 grep -v '^ *+' conftest.err >conftest.er1
3154 cat conftest.er1 >&5
3155 mv -f conftest.er1 conftest.err
3157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3158 test $ac_status = 0; } && {
3159 test -z "$ac_objc_werror_flag" ||
3160 test ! -s conftest.err
3161 } && test -s conftest.$ac_objext; then :
3162 ac_retval=0
3163 else
3164 $as_echo "$as_me: failed program was:" >&5
3165 sed 's/^/| /' conftest.$ac_ext >&5
3167 ac_retval=1
3169 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3170 as_fn_set_status $ac_retval
3172 } # ac_fn_objc_try_compile
3174 # ac_fn_objc_try_cpp LINENO
3175 # -------------------------
3176 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3177 ac_fn_objc_try_cpp ()
3179 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3180 if { { ac_try="$ac_cpp conftest.$ac_ext"
3181 case "(($ac_try" in
3182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3183 *) ac_try_echo=$ac_try;;
3184 esac
3185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3186 $as_echo "$ac_try_echo"; } >&5
3187 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3188 ac_status=$?
3189 if test -s conftest.err; then
3190 grep -v '^ *+' conftest.err >conftest.er1
3191 cat conftest.er1 >&5
3192 mv -f conftest.er1 conftest.err
3194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3195 test $ac_status = 0; } > conftest.i && {
3196 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3197 test ! -s conftest.err
3198 }; then :
3199 ac_retval=0
3200 else
3201 $as_echo "$as_me: failed program was:" >&5
3202 sed 's/^/| /' conftest.$ac_ext >&5
3204 ac_retval=1
3206 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3207 as_fn_set_status $ac_retval
3209 } # ac_fn_objc_try_cpp
3211 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3212 # ----------------------------------------------------------
3213 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3214 # the include files in INCLUDES and setting the cache variable VAR
3215 # accordingly.
3216 ac_fn_objc_check_header_mongrel ()
3218 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3219 if eval \${$3+:} false; then :
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3221 $as_echo_n "checking for $2... " >&6; }
3222 if eval \${$3+:} false; then :
3223 $as_echo_n "(cached) " >&6
3225 eval ac_res=\$$3
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3227 $as_echo "$ac_res" >&6; }
3228 else
3229 # Is the header compilable?
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3231 $as_echo_n "checking $2 usability... " >&6; }
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3235 #include <$2>
3236 _ACEOF
3237 if ac_fn_objc_try_compile "$LINENO"; then :
3238 ac_header_compiler=yes
3239 else
3240 ac_header_compiler=no
3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3244 $as_echo "$ac_header_compiler" >&6; }
3246 # Is the header present?
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3248 $as_echo_n "checking $2 presence... " >&6; }
3249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3251 #include <$2>
3252 _ACEOF
3253 if ac_fn_objc_try_cpp "$LINENO"; then :
3254 ac_header_preproc=yes
3255 else
3256 ac_header_preproc=no
3258 rm -f conftest.err conftest.i conftest.$ac_ext
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3260 $as_echo "$ac_header_preproc" >&6; }
3262 # So? What about this header?
3263 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3264 yes:no: )
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3266 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3268 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3270 no:yes:* )
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3272 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3274 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3276 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3278 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3280 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3281 ( $as_echo "## ------------------------------------ ##
3282 ## Report this to wine-devel@winehq.org ##
3283 ## ------------------------------------ ##"
3284 ) | sed "s/^/$as_me: WARNING: /" >&2
3286 esac
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3288 $as_echo_n "checking for $2... " >&6; }
3289 if eval \${$3+:} false; then :
3290 $as_echo_n "(cached) " >&6
3291 else
3292 eval "$3=\$ac_header_compiler"
3294 eval ac_res=\$$3
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3296 $as_echo "$ac_res" >&6; }
3298 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3300 } # ac_fn_objc_check_header_mongrel
3302 # ac_fn_c_check_func LINENO FUNC VAR
3303 # ----------------------------------
3304 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3305 ac_fn_c_check_func ()
3307 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3309 $as_echo_n "checking for $2... " >&6; }
3310 if eval \${$3+:} false; then :
3311 $as_echo_n "(cached) " >&6
3312 else
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3315 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3317 #define $2 innocuous_$2
3319 /* System header to define __stub macros and hopefully few prototypes,
3320 which can conflict with char $2 (); below.
3321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3322 <limits.h> exists even on freestanding compilers. */
3324 #ifdef __STDC__
3325 # include <limits.h>
3326 #else
3327 # include <assert.h>
3328 #endif
3330 #undef $2
3332 /* Override any GCC internal prototype to avoid an error.
3333 Use char because int might match the return type of a GCC
3334 builtin and then its argument prototype would still apply. */
3335 #ifdef __cplusplus
3336 extern "C"
3337 #endif
3338 char $2 ();
3339 /* The GNU C library defines this for functions which it implements
3340 to always fail with ENOSYS. Some functions are actually named
3341 something starting with __ and the normal name is an alias. */
3342 #if defined __stub_$2 || defined __stub___$2
3343 choke me
3344 #endif
3347 main ()
3349 return $2 ();
3351 return 0;
3353 _ACEOF
3354 if ac_fn_c_try_link "$LINENO"; then :
3355 eval "$3=yes"
3356 else
3357 eval "$3=no"
3359 rm -f core conftest.err conftest.$ac_objext \
3360 conftest$ac_exeext conftest.$ac_ext
3362 eval ac_res=\$$3
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3364 $as_echo "$ac_res" >&6; }
3365 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3367 } # ac_fn_c_check_func
3369 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3370 # ----------------------------------------------------
3371 # Tries to find if the field MEMBER exists in type AGGR, after including
3372 # INCLUDES, setting cache variable VAR accordingly.
3373 ac_fn_c_check_member ()
3375 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3377 $as_echo_n "checking for $2.$3... " >&6; }
3378 if eval \${$4+:} false; then :
3379 $as_echo_n "(cached) " >&6
3380 else
3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3385 main ()
3387 static $2 ac_aggr;
3388 if (ac_aggr.$3)
3389 return 0;
3391 return 0;
3393 _ACEOF
3394 if ac_fn_c_try_compile "$LINENO"; then :
3395 eval "$4=yes"
3396 else
3397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3401 main ()
3403 static $2 ac_aggr;
3404 if (sizeof ac_aggr.$3)
3405 return 0;
3407 return 0;
3409 _ACEOF
3410 if ac_fn_c_try_compile "$LINENO"; then :
3411 eval "$4=yes"
3412 else
3413 eval "$4=no"
3415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3419 eval ac_res=\$$4
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3421 $as_echo "$ac_res" >&6; }
3422 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3424 } # ac_fn_c_check_member
3426 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3427 # -------------------------------------------
3428 # Tests whether TYPE exists after having included INCLUDES, setting cache
3429 # variable VAR accordingly.
3430 ac_fn_c_check_type ()
3432 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3434 $as_echo_n "checking for $2... " >&6; }
3435 if eval \${$3+:} false; then :
3436 $as_echo_n "(cached) " >&6
3437 else
3438 eval "$3=no"
3439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3440 /* end confdefs.h. */
3443 main ()
3445 if (sizeof ($2))
3446 return 0;
3448 return 0;
3450 _ACEOF
3451 if ac_fn_c_try_compile "$LINENO"; then :
3452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453 /* end confdefs.h. */
3456 main ()
3458 if (sizeof (($2)))
3459 return 0;
3461 return 0;
3463 _ACEOF
3464 if ac_fn_c_try_compile "$LINENO"; then :
3466 else
3467 eval "$3=yes"
3469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3473 eval ac_res=\$$3
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3475 $as_echo "$ac_res" >&6; }
3476 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3478 } # ac_fn_c_check_type
3479 cat >config.log <<_ACEOF
3480 This file contains any messages produced by compilers while
3481 running configure, to aid debugging if configure makes a mistake.
3483 It was created by Wine $as_me 5.14, which was
3484 generated by GNU Autoconf 2.69. Invocation command line was
3486 $ $0 $@
3488 _ACEOF
3489 exec 5>>config.log
3491 cat <<_ASUNAME
3492 ## --------- ##
3493 ## Platform. ##
3494 ## --------- ##
3496 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3497 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3498 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3499 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3500 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3502 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3503 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3505 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3506 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3507 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3508 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3509 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3510 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3511 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3513 _ASUNAME
3515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3516 for as_dir in $PATH
3518 IFS=$as_save_IFS
3519 test -z "$as_dir" && as_dir=.
3520 $as_echo "PATH: $as_dir"
3521 done
3522 IFS=$as_save_IFS
3524 } >&5
3526 cat >&5 <<_ACEOF
3529 ## ----------- ##
3530 ## Core tests. ##
3531 ## ----------- ##
3533 _ACEOF
3536 # Keep a trace of the command line.
3537 # Strip out --no-create and --no-recursion so they do not pile up.
3538 # Strip out --silent because we don't want to record it for future runs.
3539 # Also quote any args containing shell meta-characters.
3540 # Make two passes to allow for proper duplicate-argument suppression.
3541 ac_configure_args=
3542 ac_configure_args0=
3543 ac_configure_args1=
3544 ac_must_keep_next=false
3545 for ac_pass in 1 2
3547 for ac_arg
3549 case $ac_arg in
3550 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3551 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3552 | -silent | --silent | --silen | --sile | --sil)
3553 continue ;;
3554 *\'*)
3555 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3556 esac
3557 case $ac_pass in
3558 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3560 as_fn_append ac_configure_args1 " '$ac_arg'"
3561 if test $ac_must_keep_next = true; then
3562 ac_must_keep_next=false # Got value, back to normal.
3563 else
3564 case $ac_arg in
3565 *=* | --config-cache | -C | -disable-* | --disable-* \
3566 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3567 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3568 | -with-* | --with-* | -without-* | --without-* | --x)
3569 case "$ac_configure_args0 " in
3570 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3571 esac
3573 -* ) ac_must_keep_next=true ;;
3574 esac
3576 as_fn_append ac_configure_args " '$ac_arg'"
3578 esac
3579 done
3580 done
3581 { ac_configure_args0=; unset ac_configure_args0;}
3582 { ac_configure_args1=; unset ac_configure_args1;}
3584 # When interrupted or exit'd, cleanup temporary files, and complete
3585 # config.log. We remove comments because anyway the quotes in there
3586 # would cause problems or look ugly.
3587 # WARNING: Use '\'' to represent an apostrophe within the trap.
3588 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3589 trap 'exit_status=$?
3590 # Save into config.log some information that might help in debugging.
3592 echo
3594 $as_echo "## ---------------- ##
3595 ## Cache variables. ##
3596 ## ---------------- ##"
3597 echo
3598 # The following way of writing the cache mishandles newlines in values,
3600 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3601 eval ac_val=\$$ac_var
3602 case $ac_val in #(
3603 *${as_nl}*)
3604 case $ac_var in #(
3605 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3606 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3607 esac
3608 case $ac_var in #(
3609 _ | IFS | as_nl) ;; #(
3610 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3611 *) { eval $ac_var=; unset $ac_var;} ;;
3612 esac ;;
3613 esac
3614 done
3615 (set) 2>&1 |
3616 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3617 *${as_nl}ac_space=\ *)
3618 sed -n \
3619 "s/'\''/'\''\\\\'\'''\''/g;
3620 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3621 ;; #(
3623 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3625 esac |
3626 sort
3628 echo
3630 $as_echo "## ----------------- ##
3631 ## Output variables. ##
3632 ## ----------------- ##"
3633 echo
3634 for ac_var in $ac_subst_vars
3636 eval ac_val=\$$ac_var
3637 case $ac_val in
3638 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3639 esac
3640 $as_echo "$ac_var='\''$ac_val'\''"
3641 done | sort
3642 echo
3644 if test -n "$ac_subst_files"; then
3645 $as_echo "## ------------------- ##
3646 ## File substitutions. ##
3647 ## ------------------- ##"
3648 echo
3649 for ac_var in $ac_subst_files
3651 eval ac_val=\$$ac_var
3652 case $ac_val in
3653 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3654 esac
3655 $as_echo "$ac_var='\''$ac_val'\''"
3656 done | sort
3657 echo
3660 if test -s confdefs.h; then
3661 $as_echo "## ----------- ##
3662 ## confdefs.h. ##
3663 ## ----------- ##"
3664 echo
3665 cat confdefs.h
3666 echo
3668 test "$ac_signal" != 0 &&
3669 $as_echo "$as_me: caught signal $ac_signal"
3670 $as_echo "$as_me: exit $exit_status"
3671 } >&5
3672 rm -f core *.core core.conftest.* &&
3673 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3674 exit $exit_status
3676 for ac_signal in 1 2 13 15; do
3677 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3678 done
3679 ac_signal=0
3681 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3682 rm -f -r conftest* confdefs.h
3684 $as_echo "/* confdefs.h */" > confdefs.h
3686 # Predefined preprocessor variables.
3688 cat >>confdefs.h <<_ACEOF
3689 #define PACKAGE_NAME "$PACKAGE_NAME"
3690 _ACEOF
3692 cat >>confdefs.h <<_ACEOF
3693 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3694 _ACEOF
3696 cat >>confdefs.h <<_ACEOF
3697 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3698 _ACEOF
3700 cat >>confdefs.h <<_ACEOF
3701 #define PACKAGE_STRING "$PACKAGE_STRING"
3702 _ACEOF
3704 cat >>confdefs.h <<_ACEOF
3705 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3706 _ACEOF
3708 cat >>confdefs.h <<_ACEOF
3709 #define PACKAGE_URL "$PACKAGE_URL"
3710 _ACEOF
3713 # Let the site file select an alternate cache file if it wants to.
3714 # Prefer an explicitly selected file to automatically selected ones.
3715 ac_site_file1=NONE
3716 ac_site_file2=NONE
3717 if test -n "$CONFIG_SITE"; then
3718 # We do not want a PATH search for config.site.
3719 case $CONFIG_SITE in #((
3720 -*) ac_site_file1=./$CONFIG_SITE;;
3721 */*) ac_site_file1=$CONFIG_SITE;;
3722 *) ac_site_file1=./$CONFIG_SITE;;
3723 esac
3724 elif test "x$prefix" != xNONE; then
3725 ac_site_file1=$prefix/share/config.site
3726 ac_site_file2=$prefix/etc/config.site
3727 else
3728 ac_site_file1=$ac_default_prefix/share/config.site
3729 ac_site_file2=$ac_default_prefix/etc/config.site
3731 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3733 test "x$ac_site_file" = xNONE && continue
3734 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3736 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3737 sed 's/^/| /' "$ac_site_file" >&5
3738 . "$ac_site_file" \
3739 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3741 as_fn_error $? "failed to load site script $ac_site_file
3742 See \`config.log' for more details" "$LINENO" 5; }
3744 done
3746 if test -r "$cache_file"; then
3747 # Some versions of bash will fail to source /dev/null (special files
3748 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3749 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3751 $as_echo "$as_me: loading cache $cache_file" >&6;}
3752 case $cache_file in
3753 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3754 *) . "./$cache_file";;
3755 esac
3757 else
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3759 $as_echo "$as_me: creating cache $cache_file" >&6;}
3760 >$cache_file
3763 # Check that the precious variables saved in the cache have kept the same
3764 # value.
3765 ac_cache_corrupted=false
3766 for ac_var in $ac_precious_vars; do
3767 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3768 eval ac_new_set=\$ac_env_${ac_var}_set
3769 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3770 eval ac_new_val=\$ac_env_${ac_var}_value
3771 case $ac_old_set,$ac_new_set in
3772 set,)
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3774 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3775 ac_cache_corrupted=: ;;
3776 ,set)
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3778 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3779 ac_cache_corrupted=: ;;
3780 ,);;
3782 if test "x$ac_old_val" != "x$ac_new_val"; then
3783 # differences in whitespace do not lead to failure.
3784 ac_old_val_w=`echo x $ac_old_val`
3785 ac_new_val_w=`echo x $ac_new_val`
3786 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3788 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3789 ac_cache_corrupted=:
3790 else
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3792 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3793 eval $ac_var=\$ac_old_val
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3796 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3798 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3799 fi;;
3800 esac
3801 # Pass precious variables to config.status.
3802 if test "$ac_new_set" = set; then
3803 case $ac_new_val in
3804 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3805 *) ac_arg=$ac_var=$ac_new_val ;;
3806 esac
3807 case " $ac_configure_args " in
3808 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3809 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3810 esac
3812 done
3813 if $ac_cache_corrupted; then
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3817 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3818 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3820 ## -------------------- ##
3821 ## Main body of script. ##
3822 ## -------------------- ##
3824 ac_ext=c
3825 ac_cpp='$CPP $CPPFLAGS'
3826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3832 ac_config_headers="$ac_config_headers include/config.h"
3834 ac_aux_dir=
3835 for ac_dir in tools "$srcdir"/tools; do
3836 if test -f "$ac_dir/install-sh"; then
3837 ac_aux_dir=$ac_dir
3838 ac_install_sh="$ac_aux_dir/install-sh -c"
3839 break
3840 elif test -f "$ac_dir/install.sh"; then
3841 ac_aux_dir=$ac_dir
3842 ac_install_sh="$ac_aux_dir/install.sh -c"
3843 break
3844 elif test -f "$ac_dir/shtool"; then
3845 ac_aux_dir=$ac_dir
3846 ac_install_sh="$ac_aux_dir/shtool install -c"
3847 break
3849 done
3850 if test -z "$ac_aux_dir"; then
3851 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3854 # These three variables are undocumented and unsupported,
3855 # and are intended to be withdrawn in a future Autoconf release.
3856 # They can cause serious problems if a builder's source tree is in a directory
3857 # whose full name contains unusual characters.
3858 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3859 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3860 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3864 libwine_version="1.0"
3868 # Check whether --enable-win16 was given.
3869 if test "${enable_win16+set}" = set; then :
3870 enableval=$enable_win16;
3873 # Check whether --enable-win64 was given.
3874 if test "${enable_win64+set}" = set; then :
3875 enableval=$enable_win64;
3878 # Check whether --enable-tests was given.
3879 if test "${enable_tests+set}" = set; then :
3880 enableval=$enable_tests;
3883 # Check whether --enable-maintainer-mode was given.
3884 if test "${enable_maintainer_mode+set}" = set; then :
3885 enableval=$enable_maintainer_mode;
3888 # Check whether --enable-werror was given.
3889 if test "${enable_werror+set}" = set; then :
3890 enableval=$enable_werror;
3895 # Check whether --with-alsa was given.
3896 if test "${with_alsa+set}" = set; then :
3897 withval=$with_alsa;
3901 # Check whether --with-capi was given.
3902 if test "${with_capi+set}" = set; then :
3903 withval=$with_capi;
3907 # Check whether --with-cms was given.
3908 if test "${with_cms+set}" = set; then :
3909 withval=$with_cms;
3913 # Check whether --with-coreaudio was given.
3914 if test "${with_coreaudio+set}" = set; then :
3915 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3919 # Check whether --with-cups was given.
3920 if test "${with_cups+set}" = set; then :
3921 withval=$with_cups;
3925 # Check whether --with-curses was given.
3926 if test "${with_curses+set}" = set; then :
3927 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3931 # Check whether --with-dbus was given.
3932 if test "${with_dbus+set}" = set; then :
3933 withval=$with_dbus;
3937 # Check whether --with-faudio was given.
3938 if test "${with_faudio+set}" = set; then :
3939 withval=$with_faudio;
3943 # Check whether --with-float-abi was given.
3944 if test "${with_float_abi+set}" = set; then :
3945 withval=$with_float_abi;
3949 # Check whether --with-fontconfig was given.
3950 if test "${with_fontconfig+set}" = set; then :
3951 withval=$with_fontconfig;
3955 # Check whether --with-freetype was given.
3956 if test "${with_freetype+set}" = set; then :
3957 withval=$with_freetype;
3961 # Check whether --with-gettext was given.
3962 if test "${with_gettext+set}" = set; then :
3963 withval=$with_gettext;
3967 # Check whether --with-gettextpo was given.
3968 if test "${with_gettextpo+set}" = set; then :
3969 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3973 # Check whether --with-gphoto was given.
3974 if test "${with_gphoto+set}" = set; then :
3975 withval=$with_gphoto;
3979 # Check whether --with-glu was given.
3980 if test "${with_glu+set}" = set; then :
3981 withval=$with_glu;
3985 # Check whether --with-gnutls was given.
3986 if test "${with_gnutls+set}" = set; then :
3987 withval=$with_gnutls;
3991 # Check whether --with-gsm was given.
3992 if test "${with_gsm+set}" = set; then :
3993 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3997 # Check whether --with-gssapi was given.
3998 if test "${with_gssapi+set}" = set; then :
3999 withval=$with_gssapi;
4003 # Check whether --with-gstreamer was given.
4004 if test "${with_gstreamer+set}" = set; then :
4005 withval=$with_gstreamer;
4009 # Check whether --with-hal was given.
4010 if test "${with_hal+set}" = set; then :
4011 withval=$with_hal;
4015 # Check whether --with-inotify was given.
4016 if test "${with_inotify+set}" = set; then :
4017 withval=$with_inotify;
4021 # Check whether --with-jpeg was given.
4022 if test "${with_jpeg+set}" = set; then :
4023 withval=$with_jpeg;
4027 # Check whether --with-krb5 was given.
4028 if test "${with_krb5+set}" = set; then :
4029 withval=$with_krb5;
4033 # Check whether --with-ldap was given.
4034 if test "${with_ldap+set}" = set; then :
4035 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4039 # Check whether --with-mingw was given.
4040 if test "${with_mingw+set}" = set; then :
4041 withval=$with_mingw;
4045 # Check whether --with-mpg123 was given.
4046 if test "${with_mpg123+set}" = set; then :
4047 withval=$with_mpg123;
4051 # Check whether --with-netapi was given.
4052 if test "${with_netapi+set}" = set; then :
4053 withval=$with_netapi;
4057 # Check whether --with-openal was given.
4058 if test "${with_openal+set}" = set; then :
4059 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4063 # Check whether --with-opencl was given.
4064 if test "${with_opencl+set}" = set; then :
4065 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4069 # Check whether --with-opengl was given.
4070 if test "${with_opengl+set}" = set; then :
4071 withval=$with_opengl;
4075 # Check whether --with-osmesa was given.
4076 if test "${with_osmesa+set}" = set; then :
4077 withval=$with_osmesa;
4081 # Check whether --with-oss was given.
4082 if test "${with_oss+set}" = set; then :
4083 withval=$with_oss;
4087 # Check whether --with-pcap was given.
4088 if test "${with_pcap+set}" = set; then :
4089 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4093 # Check whether --with-png was given.
4094 if test "${with_png+set}" = set; then :
4095 withval=$with_png;
4099 # Check whether --with-pthread was given.
4100 if test "${with_pthread+set}" = set; then :
4101 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4105 # Check whether --with-pulse was given.
4106 if test "${with_pulse+set}" = set; then :
4107 withval=$with_pulse;
4111 # Check whether --with-sane was given.
4112 if test "${with_sane+set}" = set; then :
4113 withval=$with_sane;
4117 # Check whether --with-sdl was given.
4118 if test "${with_sdl+set}" = set; then :
4119 withval=$with_sdl;
4123 # Check whether --with-tiff was given.
4124 if test "${with_tiff+set}" = set; then :
4125 withval=$with_tiff;
4129 # Check whether --with-udev was given.
4130 if test "${with_udev+set}" = set; then :
4131 withval=$with_udev;
4135 # Check whether --with-unwind was given.
4136 if test "${with_unwind+set}" = set; then :
4137 withval=$with_unwind;
4141 # Check whether --with-usb was given.
4142 if test "${with_usb+set}" = set; then :
4143 withval=$with_usb;
4147 # Check whether --with-v4l2 was given.
4148 if test "${with_v4l2+set}" = set; then :
4149 withval=$with_v4l2;
4153 # Check whether --with-vkd3d was given.
4154 if test "${with_vkd3d+set}" = set; then :
4155 withval=$with_vkd3d;
4159 # Check whether --with-vulkan was given.
4160 if test "${with_vulkan+set}" = set; then :
4161 withval=$with_vulkan;
4165 # Check whether --with-xcomposite was given.
4166 if test "${with_xcomposite+set}" = set; then :
4167 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4171 # Check whether --with-xcursor was given.
4172 if test "${with_xcursor+set}" = set; then :
4173 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4177 # Check whether --with-xfixes was given.
4178 if test "${with_xfixes+set}" = set; then :
4179 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4183 # Check whether --with-xinerama was given.
4184 if test "${with_xinerama+set}" = set; then :
4185 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4189 # Check whether --with-xinput was given.
4190 if test "${with_xinput+set}" = set; then :
4191 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4195 # Check whether --with-xinput2 was given.
4196 if test "${with_xinput2+set}" = set; then :
4197 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4201 # Check whether --with-xml was given.
4202 if test "${with_xml+set}" = set; then :
4203 withval=$with_xml;
4207 # Check whether --with-xrandr was given.
4208 if test "${with_xrandr+set}" = set; then :
4209 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4213 # Check whether --with-xrender was given.
4214 if test "${with_xrender+set}" = set; then :
4215 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4219 # Check whether --with-xshape was given.
4220 if test "${with_xshape+set}" = set; then :
4221 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4225 # Check whether --with-xshm was given.
4226 if test "${with_xshm+set}" = set; then :
4227 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4231 # Check whether --with-xslt was given.
4232 if test "${with_xslt+set}" = set; then :
4233 withval=$with_xslt;
4237 # Check whether --with-xxf86vm was given.
4238 if test "${with_xxf86vm+set}" = set; then :
4239 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
4244 # Check whether --with-wine-tools was given.
4245 if test "${with_wine_tools+set}" = set; then :
4246 withval=$with_wine_tools;
4250 # Check whether --with-wine64 was given.
4251 if test "${with_wine64+set}" = set; then :
4252 withval=$with_wine64;
4256 # Make sure we can run config.sub.
4257 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4258 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4261 $as_echo_n "checking build system type... " >&6; }
4262 if ${ac_cv_build+:} false; then :
4263 $as_echo_n "(cached) " >&6
4264 else
4265 ac_build_alias=$build_alias
4266 test "x$ac_build_alias" = x &&
4267 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4268 test "x$ac_build_alias" = x &&
4269 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4270 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4271 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4275 $as_echo "$ac_cv_build" >&6; }
4276 case $ac_cv_build in
4277 *-*-*) ;;
4278 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4279 esac
4280 build=$ac_cv_build
4281 ac_save_IFS=$IFS; IFS='-'
4282 set x $ac_cv_build
4283 shift
4284 build_cpu=$1
4285 build_vendor=$2
4286 shift; shift
4287 # Remember, the first character of IFS is used to create $*,
4288 # except with old shells:
4289 build_os=$*
4290 IFS=$ac_save_IFS
4291 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4295 $as_echo_n "checking host system type... " >&6; }
4296 if ${ac_cv_host+:} false; then :
4297 $as_echo_n "(cached) " >&6
4298 else
4299 if test "x$host_alias" = x; then
4300 ac_cv_host=$ac_cv_build
4301 else
4302 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4303 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4308 $as_echo "$ac_cv_host" >&6; }
4309 case $ac_cv_host in
4310 *-*-*) ;;
4311 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4312 esac
4313 host=$ac_cv_host
4314 ac_save_IFS=$IFS; IFS='-'
4315 set x $ac_cv_host
4316 shift
4317 host_cpu=$1
4318 host_vendor=$2
4319 shift; shift
4320 # Remember, the first character of IFS is used to create $*,
4321 # except with old shells:
4322 host_os=$*
4323 IFS=$ac_save_IFS
4324 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4330 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4331 set x ${MAKE-make}
4332 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4333 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4334 $as_echo_n "(cached) " >&6
4335 else
4336 cat >conftest.make <<\_ACEOF
4337 SHELL = /bin/sh
4338 all:
4339 @echo '@@@%%%=$(MAKE)=@@@%%%'
4340 _ACEOF
4341 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4342 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4343 *@@@%%%=?*=@@@%%%*)
4344 eval ac_cv_prog_make_${ac_make}_set=yes;;
4346 eval ac_cv_prog_make_${ac_make}_set=no;;
4347 esac
4348 rm -f conftest.make
4350 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4352 $as_echo "yes" >&6; }
4353 SET_MAKE=
4354 else
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4356 $as_echo "no" >&6; }
4357 SET_MAKE="MAKE=${MAKE-make}"
4360 ac_ext=c
4361 ac_cpp='$CPP $CPPFLAGS'
4362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4365 if test -n "$ac_tool_prefix"; then
4366 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4367 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4369 $as_echo_n "checking for $ac_word... " >&6; }
4370 if ${ac_cv_prog_CC+:} false; then :
4371 $as_echo_n "(cached) " >&6
4372 else
4373 if test -n "$CC"; then
4374 ac_cv_prog_CC="$CC" # Let the user override the test.
4375 else
4376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4377 for as_dir in $PATH
4379 IFS=$as_save_IFS
4380 test -z "$as_dir" && as_dir=.
4381 for ac_exec_ext in '' $ac_executable_extensions; do
4382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4383 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4385 break 2
4387 done
4388 done
4389 IFS=$as_save_IFS
4393 CC=$ac_cv_prog_CC
4394 if test -n "$CC"; then
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4396 $as_echo "$CC" >&6; }
4397 else
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4399 $as_echo "no" >&6; }
4404 if test -z "$ac_cv_prog_CC"; then
4405 ac_ct_CC=$CC
4406 # Extract the first word of "gcc", so it can be a program name with args.
4407 set dummy gcc; ac_word=$2
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4409 $as_echo_n "checking for $ac_word... " >&6; }
4410 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4411 $as_echo_n "(cached) " >&6
4412 else
4413 if test -n "$ac_ct_CC"; then
4414 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4415 else
4416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4417 for as_dir in $PATH
4419 IFS=$as_save_IFS
4420 test -z "$as_dir" && as_dir=.
4421 for ac_exec_ext in '' $ac_executable_extensions; do
4422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4423 ac_cv_prog_ac_ct_CC="gcc"
4424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4425 break 2
4427 done
4428 done
4429 IFS=$as_save_IFS
4433 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4434 if test -n "$ac_ct_CC"; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4436 $as_echo "$ac_ct_CC" >&6; }
4437 else
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439 $as_echo "no" >&6; }
4442 if test "x$ac_ct_CC" = x; then
4443 CC=""
4444 else
4445 case $cross_compiling:$ac_tool_warned in
4446 yes:)
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4449 ac_tool_warned=yes ;;
4450 esac
4451 CC=$ac_ct_CC
4453 else
4454 CC="$ac_cv_prog_CC"
4457 if test -z "$CC"; then
4458 if test -n "$ac_tool_prefix"; then
4459 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4460 set dummy ${ac_tool_prefix}cc; ac_word=$2
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4462 $as_echo_n "checking for $ac_word... " >&6; }
4463 if ${ac_cv_prog_CC+:} false; then :
4464 $as_echo_n "(cached) " >&6
4465 else
4466 if test -n "$CC"; then
4467 ac_cv_prog_CC="$CC" # Let the user override the test.
4468 else
4469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4470 for as_dir in $PATH
4472 IFS=$as_save_IFS
4473 test -z "$as_dir" && as_dir=.
4474 for ac_exec_ext in '' $ac_executable_extensions; do
4475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4476 ac_cv_prog_CC="${ac_tool_prefix}cc"
4477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 break 2
4480 done
4481 done
4482 IFS=$as_save_IFS
4486 CC=$ac_cv_prog_CC
4487 if test -n "$CC"; then
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4489 $as_echo "$CC" >&6; }
4490 else
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4492 $as_echo "no" >&6; }
4498 if test -z "$CC"; then
4499 # Extract the first word of "cc", so it can be a program name with args.
4500 set dummy cc; ac_word=$2
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4502 $as_echo_n "checking for $ac_word... " >&6; }
4503 if ${ac_cv_prog_CC+:} false; then :
4504 $as_echo_n "(cached) " >&6
4505 else
4506 if test -n "$CC"; then
4507 ac_cv_prog_CC="$CC" # Let the user override the test.
4508 else
4509 ac_prog_rejected=no
4510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4511 for as_dir in $PATH
4513 IFS=$as_save_IFS
4514 test -z "$as_dir" && as_dir=.
4515 for ac_exec_ext in '' $ac_executable_extensions; do
4516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4517 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4518 ac_prog_rejected=yes
4519 continue
4521 ac_cv_prog_CC="cc"
4522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4523 break 2
4525 done
4526 done
4527 IFS=$as_save_IFS
4529 if test $ac_prog_rejected = yes; then
4530 # We found a bogon in the path, so make sure we never use it.
4531 set dummy $ac_cv_prog_CC
4532 shift
4533 if test $# != 0; then
4534 # We chose a different compiler from the bogus one.
4535 # However, it has the same basename, so the bogon will be chosen
4536 # first if we set CC to just the basename; use the full file name.
4537 shift
4538 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4543 CC=$ac_cv_prog_CC
4544 if test -n "$CC"; then
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4546 $as_echo "$CC" >&6; }
4547 else
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4549 $as_echo "no" >&6; }
4554 if test -z "$CC"; then
4555 if test -n "$ac_tool_prefix"; then
4556 for ac_prog in cl.exe
4558 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4559 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4561 $as_echo_n "checking for $ac_word... " >&6; }
4562 if ${ac_cv_prog_CC+:} false; then :
4563 $as_echo_n "(cached) " >&6
4564 else
4565 if test -n "$CC"; then
4566 ac_cv_prog_CC="$CC" # Let the user override the test.
4567 else
4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4569 for as_dir in $PATH
4571 IFS=$as_save_IFS
4572 test -z "$as_dir" && as_dir=.
4573 for ac_exec_ext in '' $ac_executable_extensions; do
4574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4575 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4577 break 2
4579 done
4580 done
4581 IFS=$as_save_IFS
4585 CC=$ac_cv_prog_CC
4586 if test -n "$CC"; then
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4588 $as_echo "$CC" >&6; }
4589 else
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4595 test -n "$CC" && break
4596 done
4598 if test -z "$CC"; then
4599 ac_ct_CC=$CC
4600 for ac_prog in cl.exe
4602 # Extract the first word of "$ac_prog", so it can be a program name with args.
4603 set dummy $ac_prog; ac_word=$2
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605 $as_echo_n "checking for $ac_word... " >&6; }
4606 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 if test -n "$ac_ct_CC"; then
4610 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4611 else
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 for as_dir in $PATH
4615 IFS=$as_save_IFS
4616 test -z "$as_dir" && as_dir=.
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4619 ac_cv_prog_ac_ct_CC="$ac_prog"
4620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 break 2
4623 done
4624 done
4625 IFS=$as_save_IFS
4629 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4630 if test -n "$ac_ct_CC"; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4632 $as_echo "$ac_ct_CC" >&6; }
4633 else
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635 $as_echo "no" >&6; }
4639 test -n "$ac_ct_CC" && break
4640 done
4642 if test "x$ac_ct_CC" = x; then
4643 CC=""
4644 else
4645 case $cross_compiling:$ac_tool_warned in
4646 yes:)
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4649 ac_tool_warned=yes ;;
4650 esac
4651 CC=$ac_ct_CC
4658 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4660 as_fn_error $? "no acceptable C compiler found in \$PATH
4661 See \`config.log' for more details" "$LINENO" 5; }
4663 # Provide some information about the compiler.
4664 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4665 set X $ac_compile
4666 ac_compiler=$2
4667 for ac_option in --version -v -V -qversion; do
4668 { { ac_try="$ac_compiler $ac_option >&5"
4669 case "(($ac_try" in
4670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4671 *) ac_try_echo=$ac_try;;
4672 esac
4673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4674 $as_echo "$ac_try_echo"; } >&5
4675 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4676 ac_status=$?
4677 if test -s conftest.err; then
4678 sed '10a\
4679 ... rest of stderr output deleted ...
4680 10q' conftest.err >conftest.er1
4681 cat conftest.er1 >&5
4683 rm -f conftest.er1 conftest.err
4684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4685 test $ac_status = 0; }
4686 done
4688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4689 /* end confdefs.h. */
4692 main ()
4696 return 0;
4698 _ACEOF
4699 ac_clean_files_save=$ac_clean_files
4700 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4701 # Try to create an executable without -o first, disregard a.out.
4702 # It will help us diagnose broken compilers, and finding out an intuition
4703 # of exeext.
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4705 $as_echo_n "checking whether the C compiler works... " >&6; }
4706 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4708 # The possible output files:
4709 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4711 ac_rmfiles=
4712 for ac_file in $ac_files
4714 case $ac_file in
4715 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4716 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4717 esac
4718 done
4719 rm -f $ac_rmfiles
4721 if { { ac_try="$ac_link_default"
4722 case "(($ac_try" in
4723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4724 *) ac_try_echo=$ac_try;;
4725 esac
4726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4727 $as_echo "$ac_try_echo"; } >&5
4728 (eval "$ac_link_default") 2>&5
4729 ac_status=$?
4730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4731 test $ac_status = 0; }; then :
4732 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4733 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4734 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4735 # so that the user can short-circuit this test for compilers unknown to
4736 # Autoconf.
4737 for ac_file in $ac_files ''
4739 test -f "$ac_file" || continue
4740 case $ac_file in
4741 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4743 [ab].out )
4744 # We found the default executable, but exeext='' is most
4745 # certainly right.
4746 break;;
4747 *.* )
4748 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4749 then :; else
4750 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4752 # We set ac_cv_exeext here because the later test for it is not
4753 # safe: cross compilers may not add the suffix if given an `-o'
4754 # argument, so we may need to know it at that point already.
4755 # Even if this section looks crufty: it has the advantage of
4756 # actually working.
4757 break;;
4759 break;;
4760 esac
4761 done
4762 test "$ac_cv_exeext" = no && ac_cv_exeext=
4764 else
4765 ac_file=''
4767 if test -z "$ac_file"; then :
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769 $as_echo "no" >&6; }
4770 $as_echo "$as_me: failed program was:" >&5
4771 sed 's/^/| /' conftest.$ac_ext >&5
4773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4775 as_fn_error 77 "C compiler cannot create executables
4776 See \`config.log' for more details" "$LINENO" 5; }
4777 else
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4779 $as_echo "yes" >&6; }
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4782 $as_echo_n "checking for C compiler default output file name... " >&6; }
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4784 $as_echo "$ac_file" >&6; }
4785 ac_exeext=$ac_cv_exeext
4787 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4788 ac_clean_files=$ac_clean_files_save
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4790 $as_echo_n "checking for suffix of executables... " >&6; }
4791 if { { ac_try="$ac_link"
4792 case "(($ac_try" in
4793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4794 *) ac_try_echo=$ac_try;;
4795 esac
4796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4797 $as_echo "$ac_try_echo"; } >&5
4798 (eval "$ac_link") 2>&5
4799 ac_status=$?
4800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4801 test $ac_status = 0; }; then :
4802 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4803 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4804 # work properly (i.e., refer to `conftest.exe'), while it won't with
4805 # `rm'.
4806 for ac_file in conftest.exe conftest conftest.*; do
4807 test -f "$ac_file" || continue
4808 case $ac_file in
4809 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4810 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4811 break;;
4812 * ) break;;
4813 esac
4814 done
4815 else
4816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4818 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4819 See \`config.log' for more details" "$LINENO" 5; }
4821 rm -f conftest conftest$ac_cv_exeext
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4823 $as_echo "$ac_cv_exeext" >&6; }
4825 rm -f conftest.$ac_ext
4826 EXEEXT=$ac_cv_exeext
4827 ac_exeext=$EXEEXT
4828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4829 /* end confdefs.h. */
4830 #include <stdio.h>
4832 main ()
4834 FILE *f = fopen ("conftest.out", "w");
4835 return ferror (f) || fclose (f) != 0;
4838 return 0;
4840 _ACEOF
4841 ac_clean_files="$ac_clean_files conftest.out"
4842 # Check that the compiler produces executables we can run. If not, either
4843 # the compiler is broken, or we cross compile.
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4845 $as_echo_n "checking whether we are cross compiling... " >&6; }
4846 if test "$cross_compiling" != yes; then
4847 { { ac_try="$ac_link"
4848 case "(($ac_try" in
4849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4850 *) ac_try_echo=$ac_try;;
4851 esac
4852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4853 $as_echo "$ac_try_echo"; } >&5
4854 (eval "$ac_link") 2>&5
4855 ac_status=$?
4856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4857 test $ac_status = 0; }
4858 if { ac_try='./conftest$ac_cv_exeext'
4859 { { case "(($ac_try" in
4860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4861 *) ac_try_echo=$ac_try;;
4862 esac
4863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4864 $as_echo "$ac_try_echo"; } >&5
4865 (eval "$ac_try") 2>&5
4866 ac_status=$?
4867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4868 test $ac_status = 0; }; }; then
4869 cross_compiling=no
4870 else
4871 if test "$cross_compiling" = maybe; then
4872 cross_compiling=yes
4873 else
4874 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4876 as_fn_error $? "cannot run C compiled programs.
4877 If you meant to cross compile, use \`--host'.
4878 See \`config.log' for more details" "$LINENO" 5; }
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4883 $as_echo "$cross_compiling" >&6; }
4885 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4886 ac_clean_files=$ac_clean_files_save
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4888 $as_echo_n "checking for suffix of object files... " >&6; }
4889 if ${ac_cv_objext+:} false; then :
4890 $as_echo_n "(cached) " >&6
4891 else
4892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4893 /* end confdefs.h. */
4896 main ()
4900 return 0;
4902 _ACEOF
4903 rm -f conftest.o conftest.obj
4904 if { { ac_try="$ac_compile"
4905 case "(($ac_try" in
4906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4907 *) ac_try_echo=$ac_try;;
4908 esac
4909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4910 $as_echo "$ac_try_echo"; } >&5
4911 (eval "$ac_compile") 2>&5
4912 ac_status=$?
4913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4914 test $ac_status = 0; }; then :
4915 for ac_file in conftest.o conftest.obj conftest.*; do
4916 test -f "$ac_file" || continue;
4917 case $ac_file in
4918 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4919 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4920 break;;
4921 esac
4922 done
4923 else
4924 $as_echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.$ac_ext >&5
4927 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4929 as_fn_error $? "cannot compute suffix of object files: cannot compile
4930 See \`config.log' for more details" "$LINENO" 5; }
4932 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4935 $as_echo "$ac_cv_objext" >&6; }
4936 OBJEXT=$ac_cv_objext
4937 ac_objext=$OBJEXT
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4939 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4940 if ${ac_cv_c_compiler_gnu+:} false; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4944 /* end confdefs.h. */
4947 main ()
4949 #ifndef __GNUC__
4950 choke me
4951 #endif
4954 return 0;
4956 _ACEOF
4957 if ac_fn_c_try_compile "$LINENO"; then :
4958 ac_compiler_gnu=yes
4959 else
4960 ac_compiler_gnu=no
4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4963 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4967 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4968 if test $ac_compiler_gnu = yes; then
4969 GCC=yes
4970 else
4971 GCC=
4973 ac_test_CFLAGS=${CFLAGS+set}
4974 ac_save_CFLAGS=$CFLAGS
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4976 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4977 if ${ac_cv_prog_cc_g+:} false; then :
4978 $as_echo_n "(cached) " >&6
4979 else
4980 ac_save_c_werror_flag=$ac_c_werror_flag
4981 ac_c_werror_flag=yes
4982 ac_cv_prog_cc_g=no
4983 CFLAGS="-g"
4984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4985 /* end confdefs.h. */
4988 main ()
4992 return 0;
4994 _ACEOF
4995 if ac_fn_c_try_compile "$LINENO"; then :
4996 ac_cv_prog_cc_g=yes
4997 else
4998 CFLAGS=""
4999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5000 /* end confdefs.h. */
5003 main ()
5007 return 0;
5009 _ACEOF
5010 if ac_fn_c_try_compile "$LINENO"; then :
5012 else
5013 ac_c_werror_flag=$ac_save_c_werror_flag
5014 CFLAGS="-g"
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5019 main ()
5023 return 0;
5025 _ACEOF
5026 if ac_fn_c_try_compile "$LINENO"; then :
5027 ac_cv_prog_cc_g=yes
5029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5034 ac_c_werror_flag=$ac_save_c_werror_flag
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5037 $as_echo "$ac_cv_prog_cc_g" >&6; }
5038 if test "$ac_test_CFLAGS" = set; then
5039 CFLAGS=$ac_save_CFLAGS
5040 elif test $ac_cv_prog_cc_g = yes; then
5041 if test "$GCC" = yes; then
5042 CFLAGS="-g -O2"
5043 else
5044 CFLAGS="-g"
5046 else
5047 if test "$GCC" = yes; then
5048 CFLAGS="-O2"
5049 else
5050 CFLAGS=
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5054 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5055 if ${ac_cv_prog_cc_c89+:} false; then :
5056 $as_echo_n "(cached) " >&6
5057 else
5058 ac_cv_prog_cc_c89=no
5059 ac_save_CC=$CC
5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5062 #include <stdarg.h>
5063 #include <stdio.h>
5064 struct stat;
5065 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5066 struct buf { int x; };
5067 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5068 static char *e (p, i)
5069 char **p;
5070 int i;
5072 return p[i];
5074 static char *f (char * (*g) (char **, int), char **p, ...)
5076 char *s;
5077 va_list v;
5078 va_start (v,p);
5079 s = g (p, va_arg (v,int));
5080 va_end (v);
5081 return s;
5084 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5085 function prototypes and stuff, but not '\xHH' hex character constants.
5086 These don't provoke an error unfortunately, instead are silently treated
5087 as 'x'. The following induces an error, until -std is added to get
5088 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5089 array size at least. It's necessary to write '\x00'==0 to get something
5090 that's true only with -std. */
5091 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5093 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5094 inside strings and character constants. */
5095 #define FOO(x) 'x'
5096 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5098 int test (int i, double x);
5099 struct s1 {int (*f) (int a);};
5100 struct s2 {int (*f) (double a);};
5101 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5102 int argc;
5103 char **argv;
5105 main ()
5107 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5109 return 0;
5111 _ACEOF
5112 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5113 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5115 CC="$ac_save_CC $ac_arg"
5116 if ac_fn_c_try_compile "$LINENO"; then :
5117 ac_cv_prog_cc_c89=$ac_arg
5119 rm -f core conftest.err conftest.$ac_objext
5120 test "x$ac_cv_prog_cc_c89" != "xno" && break
5121 done
5122 rm -f conftest.$ac_ext
5123 CC=$ac_save_CC
5126 # AC_CACHE_VAL
5127 case "x$ac_cv_prog_cc_c89" in
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5130 $as_echo "none needed" >&6; } ;;
5131 xno)
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5133 $as_echo "unsupported" >&6; } ;;
5135 CC="$CC $ac_cv_prog_cc_c89"
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5137 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5138 esac
5139 if test "x$ac_cv_prog_cc_c89" != xno; then :
5143 ac_ext=c
5144 ac_cpp='$CPP $CPPFLAGS'
5145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5149 ac_ext=cpp
5150 ac_cpp='$CXXCPP $CPPFLAGS'
5151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5154 if test -z "$CXX"; then
5155 if test -n "$CCC"; then
5156 CXX=$CCC
5157 else
5158 if test -n "$ac_tool_prefix"; then
5159 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5161 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5162 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5164 $as_echo_n "checking for $ac_word... " >&6; }
5165 if ${ac_cv_prog_CXX+:} false; then :
5166 $as_echo_n "(cached) " >&6
5167 else
5168 if test -n "$CXX"; then
5169 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5170 else
5171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172 for as_dir in $PATH
5174 IFS=$as_save_IFS
5175 test -z "$as_dir" && as_dir=.
5176 for ac_exec_ext in '' $ac_executable_extensions; do
5177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5178 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 break 2
5182 done
5183 done
5184 IFS=$as_save_IFS
5188 CXX=$ac_cv_prog_CXX
5189 if test -n "$CXX"; then
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5191 $as_echo "$CXX" >&6; }
5192 else
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5194 $as_echo "no" >&6; }
5198 test -n "$CXX" && break
5199 done
5201 if test -z "$CXX"; then
5202 ac_ct_CXX=$CXX
5203 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5205 # Extract the first word of "$ac_prog", so it can be a program name with args.
5206 set dummy $ac_prog; ac_word=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5210 $as_echo_n "(cached) " >&6
5211 else
5212 if test -n "$ac_ct_CXX"; then
5213 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5214 else
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 for as_dir in $PATH
5218 IFS=$as_save_IFS
5219 test -z "$as_dir" && as_dir=.
5220 for ac_exec_ext in '' $ac_executable_extensions; do
5221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222 ac_cv_prog_ac_ct_CXX="$ac_prog"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 break 2
5226 done
5227 done
5228 IFS=$as_save_IFS
5232 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5233 if test -n "$ac_ct_CXX"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5235 $as_echo "$ac_ct_CXX" >&6; }
5236 else
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5242 test -n "$ac_ct_CXX" && break
5243 done
5245 if test "x$ac_ct_CXX" = x; then
5246 CXX="g++"
5247 else
5248 case $cross_compiling:$ac_tool_warned in
5249 yes:)
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5252 ac_tool_warned=yes ;;
5253 esac
5254 CXX=$ac_ct_CXX
5260 # Provide some information about the compiler.
5261 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5262 set X $ac_compile
5263 ac_compiler=$2
5264 for ac_option in --version -v -V -qversion; do
5265 { { ac_try="$ac_compiler $ac_option >&5"
5266 case "(($ac_try" in
5267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5268 *) ac_try_echo=$ac_try;;
5269 esac
5270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5271 $as_echo "$ac_try_echo"; } >&5
5272 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5273 ac_status=$?
5274 if test -s conftest.err; then
5275 sed '10a\
5276 ... rest of stderr output deleted ...
5277 10q' conftest.err >conftest.er1
5278 cat conftest.er1 >&5
5280 rm -f conftest.er1 conftest.err
5281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5282 test $ac_status = 0; }
5283 done
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5286 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5287 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5288 $as_echo_n "(cached) " >&6
5289 else
5290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5291 /* end confdefs.h. */
5294 main ()
5296 #ifndef __GNUC__
5297 choke me
5298 #endif
5301 return 0;
5303 _ACEOF
5304 if ac_fn_cxx_try_compile "$LINENO"; then :
5305 ac_compiler_gnu=yes
5306 else
5307 ac_compiler_gnu=no
5309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5310 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5314 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5315 if test $ac_compiler_gnu = yes; then
5316 GXX=yes
5317 else
5318 GXX=
5320 ac_test_CXXFLAGS=${CXXFLAGS+set}
5321 ac_save_CXXFLAGS=$CXXFLAGS
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5323 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5324 if ${ac_cv_prog_cxx_g+:} false; then :
5325 $as_echo_n "(cached) " >&6
5326 else
5327 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5328 ac_cxx_werror_flag=yes
5329 ac_cv_prog_cxx_g=no
5330 CXXFLAGS="-g"
5331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332 /* end confdefs.h. */
5335 main ()
5339 return 0;
5341 _ACEOF
5342 if ac_fn_cxx_try_compile "$LINENO"; then :
5343 ac_cv_prog_cxx_g=yes
5344 else
5345 CXXFLAGS=""
5346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5350 main ()
5354 return 0;
5356 _ACEOF
5357 if ac_fn_cxx_try_compile "$LINENO"; then :
5359 else
5360 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5361 CXXFLAGS="-g"
5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5366 main ()
5370 return 0;
5372 _ACEOF
5373 if ac_fn_cxx_try_compile "$LINENO"; then :
5374 ac_cv_prog_cxx_g=yes
5376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5381 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5384 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5385 if test "$ac_test_CXXFLAGS" = set; then
5386 CXXFLAGS=$ac_save_CXXFLAGS
5387 elif test $ac_cv_prog_cxx_g = yes; then
5388 if test "$GXX" = yes; then
5389 CXXFLAGS="-g -O2"
5390 else
5391 CXXFLAGS="-g"
5393 else
5394 if test "$GXX" = yes; then
5395 CXXFLAGS="-O2"
5396 else
5397 CXXFLAGS=
5400 ac_ext=c
5401 ac_cpp='$CPP $CPPFLAGS'
5402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5406 if test -n "$ac_tool_prefix"; then
5407 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5408 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5410 $as_echo_n "checking for $ac_word... " >&6; }
5411 if ${ac_cv_prog_CPPBIN+:} false; then :
5412 $as_echo_n "(cached) " >&6
5413 else
5414 if test -n "$CPPBIN"; then
5415 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5416 else
5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5418 for as_dir in $PATH
5420 IFS=$as_save_IFS
5421 test -z "$as_dir" && as_dir=.
5422 for ac_exec_ext in '' $ac_executable_extensions; do
5423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5424 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5426 break 2
5428 done
5429 done
5430 IFS=$as_save_IFS
5434 CPPBIN=$ac_cv_prog_CPPBIN
5435 if test -n "$CPPBIN"; then
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5437 $as_echo "$CPPBIN" >&6; }
5438 else
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5440 $as_echo "no" >&6; }
5445 if test -z "$ac_cv_prog_CPPBIN"; then
5446 ac_ct_CPPBIN=$CPPBIN
5447 # Extract the first word of "cpp", so it can be a program name with args.
5448 set dummy cpp; ac_word=$2
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5450 $as_echo_n "checking for $ac_word... " >&6; }
5451 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5452 $as_echo_n "(cached) " >&6
5453 else
5454 if test -n "$ac_ct_CPPBIN"; then
5455 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5456 else
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5458 for as_dir in $PATH
5460 IFS=$as_save_IFS
5461 test -z "$as_dir" && as_dir=.
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5464 ac_cv_prog_ac_ct_CPPBIN="cpp"
5465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5466 break 2
5468 done
5469 done
5470 IFS=$as_save_IFS
5474 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5475 if test -n "$ac_ct_CPPBIN"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5477 $as_echo "$ac_ct_CPPBIN" >&6; }
5478 else
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5483 if test "x$ac_ct_CPPBIN" = x; then
5484 CPPBIN="cpp"
5485 else
5486 case $cross_compiling:$ac_tool_warned in
5487 yes:)
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5490 ac_tool_warned=yes ;;
5491 esac
5492 CPPBIN=$ac_ct_CPPBIN
5494 else
5495 CPPBIN="$ac_cv_prog_CPPBIN"
5499 cat >>confdefs.h <<_ACEOF
5500 #define EXEEXT "$ac_exeext"
5501 _ACEOF
5503 if test -n "$ac_tool_prefix"; then
5504 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5505 set dummy ${ac_tool_prefix}ld; ac_word=$2
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5507 $as_echo_n "checking for $ac_word... " >&6; }
5508 if ${ac_cv_prog_LD+:} false; then :
5509 $as_echo_n "(cached) " >&6
5510 else
5511 if test -n "$LD"; then
5512 ac_cv_prog_LD="$LD" # Let the user override the test.
5513 else
5514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5515 for as_dir in $PATH
5517 IFS=$as_save_IFS
5518 test -z "$as_dir" && as_dir=.
5519 for ac_exec_ext in '' $ac_executable_extensions; do
5520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5521 ac_cv_prog_LD="${ac_tool_prefix}ld"
5522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5523 break 2
5525 done
5526 done
5527 IFS=$as_save_IFS
5531 LD=$ac_cv_prog_LD
5532 if test -n "$LD"; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5534 $as_echo "$LD" >&6; }
5535 else
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5542 if test -z "$ac_cv_prog_LD"; then
5543 ac_ct_LD=$LD
5544 # Extract the first word of "ld", so it can be a program name with args.
5545 set dummy ld; ac_word=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5549 $as_echo_n "(cached) " >&6
5550 else
5551 if test -n "$ac_ct_LD"; then
5552 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5553 else
5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5555 for as_dir in $PATH
5557 IFS=$as_save_IFS
5558 test -z "$as_dir" && as_dir=.
5559 for ac_exec_ext in '' $ac_executable_extensions; do
5560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_prog_ac_ct_LD="ld"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563 break 2
5565 done
5566 done
5567 IFS=$as_save_IFS
5571 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5572 if test -n "$ac_ct_LD"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5574 $as_echo "$ac_ct_LD" >&6; }
5575 else
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5580 if test "x$ac_ct_LD" = x; then
5581 LD=""
5582 else
5583 case $cross_compiling:$ac_tool_warned in
5584 yes:)
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5587 ac_tool_warned=yes ;;
5588 esac
5589 LD=$ac_ct_LD
5591 else
5592 LD="$ac_cv_prog_LD"
5596 case $host in
5597 *-darwin*)
5598 with_fontconfig=${with_fontconfig:-no}
5600 *-mingw32*|*-cygwin*)
5601 enable_win16=${enable_win16:-no}
5602 with_mingw=${with_mingw:-no}
5603 CFLAGS="$CFLAGS -D_WIN32"
5605 esac
5607 case $host in
5608 x86_64*|amd64*)
5609 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5610 then
5611 CC="$CC -m32"
5612 CXX="$CXX -m32"
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5615 $as_echo_n "checking whether $CC works... " >&6; }
5616 if ${wine_cv_cc_m32+:} false; then :
5617 $as_echo_n "(cached) " >&6
5618 else
5619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5620 /* end confdefs.h. */
5623 main ()
5627 return 0;
5629 _ACEOF
5630 if ac_fn_c_try_link "$LINENO"; then :
5631 wine_cv_cc_m32=yes
5632 else
5633 wine_cv_cc_m32=no
5635 rm -f core conftest.err conftest.$ac_objext \
5636 conftest$ac_exeext conftest.$ac_ext
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5639 $as_echo "$wine_cv_cc_m32" >&6; }
5640 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
5641 host_cpu="i386"
5642 notice_platform="32-bit "
5643 TARGETFLAGS="-m32"
5645 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5646 export PKG_CONFIG_PATH
5647 enable_win16=${enable_win16:-yes}
5648 with_unwind=${with_unwind:-no}
5649 else
5650 if test "x${GCC}" = "xyes"
5651 then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5653 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5654 if ${wine_cv_builtin_ms_va_list+:} false; then :
5655 $as_echo_n "(cached) " >&6
5656 else
5657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5658 /* end confdefs.h. */
5659 #include <stdarg.h>
5661 main ()
5663 void func(__builtin_ms_va_list *args);
5665 return 0;
5667 _ACEOF
5668 if ac_fn_c_try_compile "$LINENO"; then :
5669 wine_cv_builtin_ms_va_list=yes
5670 else
5671 wine_cv_builtin_ms_va_list=no
5673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5676 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5677 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
5679 CC="$CC -m64"
5680 CXX="$CXX -m64"
5681 host_cpu="x86_64"
5682 notice_platform="64-bit "
5683 TARGETFLAGS="-m64"
5687 arm*)
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5689 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5690 if ${wine_cv_thumb+:} false; then :
5691 $as_echo_n "(cached) " >&6
5692 else
5693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5694 /* end confdefs.h. */
5695 int ac_test(int i) { return i; }
5697 main ()
5699 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5701 return 0;
5703 _ACEOF
5704 if ac_fn_c_try_link "$LINENO"; then :
5705 wine_cv_thumb=yes
5706 else
5707 wine_cv_thumb=no
5709 rm -f core conftest.err conftest.$ac_objext \
5710 conftest$ac_exeext conftest.$ac_ext
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5713 $as_echo "$wine_cv_thumb" >&6; }
5714 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5715 case $with_float_abi in
5716 soft|softfp|hard)
5717 float_abi=$with_float_abi ;;
5719 case $host_os in
5720 *eabihf)
5721 float_abi=hard ;;
5723 float_abi=softfp
5724 saved_CFLAGS=$CFLAGS
5725 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5727 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5728 if ${wine_cv_float_abi+:} false; then :
5729 $as_echo_n "(cached) " >&6
5730 else
5731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5732 /* end confdefs.h. */
5735 main ()
5737 asm("vmrs r2,fpscr");
5739 return 0;
5741 _ACEOF
5742 if ac_fn_c_try_link "$LINENO"; then :
5743 wine_cv_float_abi=yes
5744 else
5745 wine_cv_float_abi=no
5747 rm -f core conftest.err conftest.$ac_objext \
5748 conftest$ac_exeext conftest.$ac_ext
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5751 $as_echo "$wine_cv_float_abi" >&6; }
5752 if test $wine_cv_float_abi = no
5753 then
5754 float_abi=soft
5755 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5757 CFLAGS=$saved_CFLAGS
5758 esac
5760 esac
5761 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5762 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5765 aarch64*)
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5767 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5768 if ${wine_cv_builtin_ms_va_list+:} false; then :
5769 $as_echo_n "(cached) " >&6
5770 else
5771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5772 /* end confdefs.h. */
5773 #include <stdarg.h>
5775 main ()
5777 void func(__builtin_ms_va_list *args);
5779 return 0;
5781 _ACEOF
5782 if ac_fn_c_try_compile "$LINENO"; then :
5783 wine_cv_builtin_ms_va_list=yes
5784 else
5785 wine_cv_builtin_ms_va_list=no
5787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5790 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5791 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5793 i[3456789]86*)
5794 enable_win16=${enable_win16:-yes}
5795 with_unwind=${with_unwind:-no}
5797 esac
5799 enable_win16=${enable_win16:-no}
5800 enable_win64=${enable_win64:-no}
5802 enable_winetest=${enable_winetest:-$enable_tests}
5804 if test "x$enable_win64" = "xyes"
5805 then
5806 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5807 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5808 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5812 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5813 if ${wine_cv_toolsdir+:} false; then :
5814 $as_echo_n "(cached) " >&6
5815 else
5816 wine_cv_toolsdir="$with_wine_tools"
5817 if test -z "$with_wine_tools"; then
5818 if test "$cross_compiling" = "yes"; then
5819 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5820 elif test -n "$with_wine64"; then
5821 wine_cv_toolsdir="$with_wine64"
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5826 $as_echo "$wine_cv_toolsdir" >&6; }
5827 if test -z "$wine_cv_toolsdir"; then
5828 wine_makedep=tools/makedep
5829 TOOLSDIR="\$(top_builddir)"
5831 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5832 wine_makedep=$wine_cv_toolsdir/tools/makedep
5833 case "$wine_cv_toolsdir" in
5834 /*) TOOLSDIR=$wine_cv_toolsdir
5836 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5838 esac
5839 enable_tools=${enable_tools:-no}
5840 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5841 else
5842 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5844 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5845 then
5846 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5850 for ac_prog in flex
5852 # Extract the first word of "$ac_prog", so it can be a program name with args.
5853 set dummy $ac_prog; ac_word=$2
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5855 $as_echo_n "checking for $ac_word... " >&6; }
5856 if ${ac_cv_prog_FLEX+:} false; then :
5857 $as_echo_n "(cached) " >&6
5858 else
5859 if test -n "$FLEX"; then
5860 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5861 else
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 for as_dir in $PATH
5865 IFS=$as_save_IFS
5866 test -z "$as_dir" && as_dir=.
5867 for ac_exec_ext in '' $ac_executable_extensions; do
5868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5869 ac_cv_prog_FLEX="$ac_prog"
5870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5871 break 2
5873 done
5874 done
5875 IFS=$as_save_IFS
5879 FLEX=$ac_cv_prog_FLEX
5880 if test -n "$FLEX"; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5882 $as_echo "$FLEX" >&6; }
5883 else
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }
5889 test -n "$FLEX" && break
5890 done
5891 test -n "$FLEX" || FLEX="none"
5893 if test "$FLEX" = "none"
5894 then
5895 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5898 $as_echo_n "checking whether flex is recent enough... " >&6; }
5899 if ${wine_cv_recent_flex+:} false; then :
5900 $as_echo_n "(cached) " >&6
5901 else
5902 cat >conftest.l <<EOF
5903 %top{
5904 #include "prediluvian.h"
5908 if $FLEX -t conftest.l >/dev/null 2>&5
5909 then
5910 wine_cv_recent_flex=yes
5911 else
5912 wine_cv_recent_flex=no
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5916 $as_echo "$wine_cv_recent_flex" >&6; }
5917 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
5919 for ac_prog in bison
5921 # Extract the first word of "$ac_prog", so it can be a program name with args.
5922 set dummy $ac_prog; ac_word=$2
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5924 $as_echo_n "checking for $ac_word... " >&6; }
5925 if ${ac_cv_prog_BISON+:} false; then :
5926 $as_echo_n "(cached) " >&6
5927 else
5928 if test -n "$BISON"; then
5929 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5930 else
5931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 for as_dir in $PATH
5934 IFS=$as_save_IFS
5935 test -z "$as_dir" && as_dir=.
5936 for ac_exec_ext in '' $ac_executable_extensions; do
5937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5938 ac_cv_prog_BISON="$ac_prog"
5939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5940 break 2
5942 done
5943 done
5944 IFS=$as_save_IFS
5948 BISON=$ac_cv_prog_BISON
5949 if test -n "$BISON"; then
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5951 $as_echo "$BISON" >&6; }
5952 else
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5954 $as_echo "no" >&6; }
5958 test -n "$BISON" && break
5959 done
5960 test -n "$BISON" || BISON="none"
5962 if test "$BISON" = "none"
5963 then
5964 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5967 $as_echo_n "checking whether bison is recent enough... " >&6; }
5968 if ${wine_cv_recent_bison+:} false; then :
5969 $as_echo_n "(cached) " >&6
5970 else
5971 cat >conftest.y <<EOF
5972 %define parse.error verbose
5974 empty: ;
5976 if $BISON conftest.y >/dev/null 2>&5
5977 then
5978 wine_cv_recent_bison=yes
5979 else
5980 wine_cv_recent_bison=no
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5984 $as_echo "$wine_cv_recent_bison" >&6; }
5985 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
5987 if test -n "$ac_tool_prefix"; then
5988 for ac_prog in ar gar
5990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5993 $as_echo_n "checking for $ac_word... " >&6; }
5994 if ${ac_cv_prog_AR+:} false; then :
5995 $as_echo_n "(cached) " >&6
5996 else
5997 if test -n "$AR"; then
5998 ac_cv_prog_AR="$AR" # Let the user override the test.
5999 else
6000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6001 for as_dir in $PATH
6003 IFS=$as_save_IFS
6004 test -z "$as_dir" && as_dir=.
6005 for ac_exec_ext in '' $ac_executable_extensions; do
6006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6007 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6009 break 2
6011 done
6012 done
6013 IFS=$as_save_IFS
6017 AR=$ac_cv_prog_AR
6018 if test -n "$AR"; then
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6020 $as_echo "$AR" >&6; }
6021 else
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6023 $as_echo "no" >&6; }
6027 test -n "$AR" && break
6028 done
6030 if test -z "$AR"; then
6031 ac_ct_AR=$AR
6032 for ac_prog in ar gar
6034 # Extract the first word of "$ac_prog", so it can be a program name with args.
6035 set dummy $ac_prog; ac_word=$2
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037 $as_echo_n "checking for $ac_word... " >&6; }
6038 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6039 $as_echo_n "(cached) " >&6
6040 else
6041 if test -n "$ac_ct_AR"; then
6042 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6043 else
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 for as_dir in $PATH
6047 IFS=$as_save_IFS
6048 test -z "$as_dir" && as_dir=.
6049 for ac_exec_ext in '' $ac_executable_extensions; do
6050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6051 ac_cv_prog_ac_ct_AR="$ac_prog"
6052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6053 break 2
6055 done
6056 done
6057 IFS=$as_save_IFS
6061 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6062 if test -n "$ac_ct_AR"; then
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6064 $as_echo "$ac_ct_AR" >&6; }
6065 else
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6067 $as_echo "no" >&6; }
6071 test -n "$ac_ct_AR" && break
6072 done
6074 if test "x$ac_ct_AR" = x; then
6075 AR="ar"
6076 else
6077 case $cross_compiling:$ac_tool_warned in
6078 yes:)
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6081 ac_tool_warned=yes ;;
6082 esac
6083 AR=$ac_ct_AR
6087 if test -n "$ac_tool_prefix"; then
6088 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6089 set dummy ${ac_tool_prefix}strip; ac_word=$2
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6091 $as_echo_n "checking for $ac_word... " >&6; }
6092 if ${ac_cv_prog_STRIP+:} false; then :
6093 $as_echo_n "(cached) " >&6
6094 else
6095 if test -n "$STRIP"; then
6096 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6097 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH
6101 IFS=$as_save_IFS
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6105 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 break 2
6109 done
6110 done
6111 IFS=$as_save_IFS
6115 STRIP=$ac_cv_prog_STRIP
6116 if test -n "$STRIP"; then
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6118 $as_echo "$STRIP" >&6; }
6119 else
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121 $as_echo "no" >&6; }
6126 if test -z "$ac_cv_prog_STRIP"; then
6127 ac_ct_STRIP=$STRIP
6128 # Extract the first word of "strip", so it can be a program name with args.
6129 set dummy strip; ac_word=$2
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 $as_echo_n "checking for $ac_word... " >&6; }
6132 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6133 $as_echo_n "(cached) " >&6
6134 else
6135 if test -n "$ac_ct_STRIP"; then
6136 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6137 else
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 for as_dir in $PATH
6141 IFS=$as_save_IFS
6142 test -z "$as_dir" && as_dir=.
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6145 ac_cv_prog_ac_ct_STRIP="strip"
6146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6147 break 2
6149 done
6150 done
6151 IFS=$as_save_IFS
6155 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6156 if test -n "$ac_ct_STRIP"; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6158 $as_echo "$ac_ct_STRIP" >&6; }
6159 else
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 $as_echo "no" >&6; }
6164 if test "x$ac_ct_STRIP" = x; then
6165 STRIP="strip"
6166 else
6167 case $cross_compiling:$ac_tool_warned in
6168 yes:)
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6171 ac_tool_warned=yes ;;
6172 esac
6173 STRIP=$ac_ct_STRIP
6175 else
6176 STRIP="$ac_cv_prog_STRIP"
6179 if test -n "$ac_tool_prefix"; then
6180 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6181 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6183 $as_echo_n "checking for $ac_word... " >&6; }
6184 if ${ac_cv_prog_RANLIB+:} false; then :
6185 $as_echo_n "(cached) " >&6
6186 else
6187 if test -n "$RANLIB"; then
6188 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6189 else
6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 for as_dir in $PATH
6193 IFS=$as_save_IFS
6194 test -z "$as_dir" && as_dir=.
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6197 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 break 2
6201 done
6202 done
6203 IFS=$as_save_IFS
6207 RANLIB=$ac_cv_prog_RANLIB
6208 if test -n "$RANLIB"; then
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6210 $as_echo "$RANLIB" >&6; }
6211 else
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6213 $as_echo "no" >&6; }
6218 if test -z "$ac_cv_prog_RANLIB"; then
6219 ac_ct_RANLIB=$RANLIB
6220 # Extract the first word of "ranlib", so it can be a program name with args.
6221 set dummy ranlib; ac_word=$2
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6223 $as_echo_n "checking for $ac_word... " >&6; }
6224 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6225 $as_echo_n "(cached) " >&6
6226 else
6227 if test -n "$ac_ct_RANLIB"; then
6228 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6229 else
6230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 for as_dir in $PATH
6233 IFS=$as_save_IFS
6234 test -z "$as_dir" && as_dir=.
6235 for ac_exec_ext in '' $ac_executable_extensions; do
6236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6237 ac_cv_prog_ac_ct_RANLIB="ranlib"
6238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6239 break 2
6241 done
6242 done
6243 IFS=$as_save_IFS
6247 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6248 if test -n "$ac_ct_RANLIB"; then
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6250 $as_echo "$ac_ct_RANLIB" >&6; }
6251 else
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6253 $as_echo "no" >&6; }
6256 if test "x$ac_ct_RANLIB" = x; then
6257 RANLIB=":"
6258 else
6259 case $cross_compiling:$ac_tool_warned in
6260 yes:)
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6263 ac_tool_warned=yes ;;
6264 esac
6265 RANLIB=$ac_ct_RANLIB
6267 else
6268 RANLIB="$ac_cv_prog_RANLIB"
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6272 $as_echo_n "checking whether ln -s works... " >&6; }
6273 LN_S=$as_ln_s
6274 if test "$LN_S" = "ln -s"; then
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6276 $as_echo "yes" >&6; }
6277 else
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6279 $as_echo "no, using $LN_S" >&6; }
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6283 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6284 if ${ac_cv_path_GREP+:} false; then :
6285 $as_echo_n "(cached) " >&6
6286 else
6287 if test -z "$GREP"; then
6288 ac_path_GREP_found=false
6289 # Loop through the user's path and test for each of PROGNAME-LIST
6290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6291 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6293 IFS=$as_save_IFS
6294 test -z "$as_dir" && as_dir=.
6295 for ac_prog in grep ggrep; do
6296 for ac_exec_ext in '' $ac_executable_extensions; do
6297 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6298 as_fn_executable_p "$ac_path_GREP" || continue
6299 # Check for GNU ac_path_GREP and select it if it is found.
6300 # Check for GNU $ac_path_GREP
6301 case `"$ac_path_GREP" --version 2>&1` in
6302 *GNU*)
6303 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6305 ac_count=0
6306 $as_echo_n 0123456789 >"conftest.in"
6307 while :
6309 cat "conftest.in" "conftest.in" >"conftest.tmp"
6310 mv "conftest.tmp" "conftest.in"
6311 cp "conftest.in" "conftest.nl"
6312 $as_echo 'GREP' >> "conftest.nl"
6313 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6314 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6315 as_fn_arith $ac_count + 1 && ac_count=$as_val
6316 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6317 # Best one so far, save it but keep looking for a better one
6318 ac_cv_path_GREP="$ac_path_GREP"
6319 ac_path_GREP_max=$ac_count
6321 # 10*(2^10) chars as input seems more than enough
6322 test $ac_count -gt 10 && break
6323 done
6324 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6325 esac
6327 $ac_path_GREP_found && break 3
6328 done
6329 done
6330 done
6331 IFS=$as_save_IFS
6332 if test -z "$ac_cv_path_GREP"; then
6333 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6335 else
6336 ac_cv_path_GREP=$GREP
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6341 $as_echo "$ac_cv_path_GREP" >&6; }
6342 GREP="$ac_cv_path_GREP"
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6346 $as_echo_n "checking for egrep... " >&6; }
6347 if ${ac_cv_path_EGREP+:} false; then :
6348 $as_echo_n "(cached) " >&6
6349 else
6350 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6351 then ac_cv_path_EGREP="$GREP -E"
6352 else
6353 if test -z "$EGREP"; then
6354 ac_path_EGREP_found=false
6355 # Loop through the user's path and test for each of PROGNAME-LIST
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6357 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6359 IFS=$as_save_IFS
6360 test -z "$as_dir" && as_dir=.
6361 for ac_prog in egrep; do
6362 for ac_exec_ext in '' $ac_executable_extensions; do
6363 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6364 as_fn_executable_p "$ac_path_EGREP" || continue
6365 # Check for GNU ac_path_EGREP and select it if it is found.
6366 # Check for GNU $ac_path_EGREP
6367 case `"$ac_path_EGREP" --version 2>&1` in
6368 *GNU*)
6369 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6371 ac_count=0
6372 $as_echo_n 0123456789 >"conftest.in"
6373 while :
6375 cat "conftest.in" "conftest.in" >"conftest.tmp"
6376 mv "conftest.tmp" "conftest.in"
6377 cp "conftest.in" "conftest.nl"
6378 $as_echo 'EGREP' >> "conftest.nl"
6379 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6380 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6381 as_fn_arith $ac_count + 1 && ac_count=$as_val
6382 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6383 # Best one so far, save it but keep looking for a better one
6384 ac_cv_path_EGREP="$ac_path_EGREP"
6385 ac_path_EGREP_max=$ac_count
6387 # 10*(2^10) chars as input seems more than enough
6388 test $ac_count -gt 10 && break
6389 done
6390 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6391 esac
6393 $ac_path_EGREP_found && break 3
6394 done
6395 done
6396 done
6397 IFS=$as_save_IFS
6398 if test -z "$ac_cv_path_EGREP"; then
6399 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6401 else
6402 ac_cv_path_EGREP=$EGREP
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6408 $as_echo "$ac_cv_path_EGREP" >&6; }
6409 EGREP="$ac_cv_path_EGREP"
6412 # Extract the first word of "ldconfig", so it can be a program name with args.
6413 set dummy ldconfig; ac_word=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415 $as_echo_n "checking for $ac_word... " >&6; }
6416 if ${ac_cv_path_LDCONFIG+:} false; then :
6417 $as_echo_n "(cached) " >&6
6418 else
6419 case $LDCONFIG in
6420 [\\/]* | ?:[\\/]*)
6421 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6425 for as_dir in /sbin /usr/sbin $PATH
6427 IFS=$as_save_IFS
6428 test -z "$as_dir" && as_dir=.
6429 for ac_exec_ext in '' $ac_executable_extensions; do
6430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6431 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6433 break 2
6435 done
6436 done
6437 IFS=$as_save_IFS
6439 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6441 esac
6443 LDCONFIG=$ac_cv_path_LDCONFIG
6444 if test -n "$LDCONFIG"; then
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6446 $as_echo "$LDCONFIG" >&6; }
6447 else
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6449 $as_echo "no" >&6; }
6453 for ac_prog in msgfmt
6455 # Extract the first word of "$ac_prog", so it can be a program name with args.
6456 set dummy $ac_prog; ac_word=$2
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6458 $as_echo_n "checking for $ac_word... " >&6; }
6459 if ${ac_cv_prog_MSGFMT+:} false; then :
6460 $as_echo_n "(cached) " >&6
6461 else
6462 if test -n "$MSGFMT"; then
6463 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6464 else
6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 for as_dir in $PATH
6468 IFS=$as_save_IFS
6469 test -z "$as_dir" && as_dir=.
6470 for ac_exec_ext in '' $ac_executable_extensions; do
6471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6472 ac_cv_prog_MSGFMT="$ac_prog"
6473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6474 break 2
6476 done
6477 done
6478 IFS=$as_save_IFS
6482 MSGFMT=$ac_cv_prog_MSGFMT
6483 if test -n "$MSGFMT"; then
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6485 $as_echo "$MSGFMT" >&6; }
6486 else
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6488 $as_echo "no" >&6; }
6492 test -n "$MSGFMT" && break
6493 done
6494 test -n "$MSGFMT" || MSGFMT="false"
6496 if ${ac_tool_prefix+:} false; then :
6497 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6498 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6500 $as_echo_n "checking for $ac_word... " >&6; }
6501 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6502 $as_echo_n "(cached) " >&6
6503 else
6504 if test -n "$PKG_CONFIG"; then
6505 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6506 else
6507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6508 for as_dir in $PATH
6510 IFS=$as_save_IFS
6511 test -z "$as_dir" && as_dir=.
6512 for ac_exec_ext in '' $ac_executable_extensions; do
6513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6514 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6516 break 2
6518 done
6519 done
6520 IFS=$as_save_IFS
6524 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6525 if test -n "$PKG_CONFIG"; then
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6527 $as_echo "$PKG_CONFIG" >&6; }
6528 else
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6530 $as_echo "no" >&6; }
6535 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6536 if test "x$cross_compiling" = xyes; then :
6538 else
6539 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6540 # Extract the first word of "pkg-config", so it can be a program name with args.
6541 set dummy pkg-config; ac_word=$2
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543 $as_echo_n "checking for $ac_word... " >&6; }
6544 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6545 $as_echo_n "(cached) " >&6
6546 else
6547 if test -n "$PKG_CONFIG"; then
6548 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6549 else
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 for as_dir in $PATH
6553 IFS=$as_save_IFS
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6557 ac_cv_prog_PKG_CONFIG="pkg-config"
6558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 break 2
6561 done
6562 done
6563 IFS=$as_save_IFS
6567 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6568 if test -n "$PKG_CONFIG"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6570 $as_echo "$PKG_CONFIG" >&6; }
6571 else
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6578 else
6579 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6582 if test "x$enable_maintainer_mode" != "xyes"
6583 then
6584 FONTFORGE=""
6585 RSVG=""
6586 CONVERT=""
6587 ICOTOOL=""
6588 else
6589 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6590 for ac_prog in fontforge
6592 # Extract the first word of "$ac_prog", so it can be a program name with args.
6593 set dummy $ac_prog; ac_word=$2
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6595 $as_echo_n "checking for $ac_word... " >&6; }
6596 if ${ac_cv_prog_FONTFORGE+:} false; then :
6597 $as_echo_n "(cached) " >&6
6598 else
6599 if test -n "$FONTFORGE"; then
6600 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6601 else
6602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6603 for as_dir in $PATH
6605 IFS=$as_save_IFS
6606 test -z "$as_dir" && as_dir=.
6607 for ac_exec_ext in '' $ac_executable_extensions; do
6608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6609 ac_cv_prog_FONTFORGE="$ac_prog"
6610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6611 break 2
6613 done
6614 done
6615 IFS=$as_save_IFS
6619 FONTFORGE=$ac_cv_prog_FONTFORGE
6620 if test -n "$FONTFORGE"; then
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6622 $as_echo "$FONTFORGE" >&6; }
6623 else
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6625 $as_echo "no" >&6; }
6629 test -n "$FONTFORGE" && break
6630 done
6631 test -n "$FONTFORGE" || FONTFORGE="false"
6633 for ac_prog in rsvg-convert rsvg
6635 # Extract the first word of "$ac_prog", so it can be a program name with args.
6636 set dummy $ac_prog; ac_word=$2
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6638 $as_echo_n "checking for $ac_word... " >&6; }
6639 if ${ac_cv_prog_RSVG+:} false; then :
6640 $as_echo_n "(cached) " >&6
6641 else
6642 if test -n "$RSVG"; then
6643 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6644 else
6645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6646 for as_dir in $PATH
6648 IFS=$as_save_IFS
6649 test -z "$as_dir" && as_dir=.
6650 for ac_exec_ext in '' $ac_executable_extensions; do
6651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6652 ac_cv_prog_RSVG="$ac_prog"
6653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6654 break 2
6656 done
6657 done
6658 IFS=$as_save_IFS
6662 RSVG=$ac_cv_prog_RSVG
6663 if test -n "$RSVG"; then
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6665 $as_echo "$RSVG" >&6; }
6666 else
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668 $as_echo "no" >&6; }
6672 test -n "$RSVG" && break
6673 done
6674 test -n "$RSVG" || RSVG="false"
6676 for ac_prog in convert
6678 # Extract the first word of "$ac_prog", so it can be a program name with args.
6679 set dummy $ac_prog; ac_word=$2
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6681 $as_echo_n "checking for $ac_word... " >&6; }
6682 if ${ac_cv_prog_CONVERT+:} false; then :
6683 $as_echo_n "(cached) " >&6
6684 else
6685 if test -n "$CONVERT"; then
6686 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6687 else
6688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6689 for as_dir in $PATH
6691 IFS=$as_save_IFS
6692 test -z "$as_dir" && as_dir=.
6693 for ac_exec_ext in '' $ac_executable_extensions; do
6694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6695 ac_cv_prog_CONVERT="$ac_prog"
6696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6697 break 2
6699 done
6700 done
6701 IFS=$as_save_IFS
6705 CONVERT=$ac_cv_prog_CONVERT
6706 if test -n "$CONVERT"; then
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6708 $as_echo "$CONVERT" >&6; }
6709 else
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6711 $as_echo "no" >&6; }
6715 test -n "$CONVERT" && break
6716 done
6717 test -n "$CONVERT" || CONVERT="false"
6719 for ac_prog in icotool
6721 # Extract the first word of "$ac_prog", so it can be a program name with args.
6722 set dummy $ac_prog; ac_word=$2
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6724 $as_echo_n "checking for $ac_word... " >&6; }
6725 if ${ac_cv_prog_ICOTOOL+:} false; then :
6726 $as_echo_n "(cached) " >&6
6727 else
6728 if test -n "$ICOTOOL"; then
6729 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6730 else
6731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 for as_dir in $PATH
6734 IFS=$as_save_IFS
6735 test -z "$as_dir" && as_dir=.
6736 for ac_exec_ext in '' $ac_executable_extensions; do
6737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6738 ac_cv_prog_ICOTOOL="$ac_prog"
6739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6740 break 2
6742 done
6743 done
6744 IFS=$as_save_IFS
6748 ICOTOOL=$ac_cv_prog_ICOTOOL
6749 if test -n "$ICOTOOL"; then
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6751 $as_echo "$ICOTOOL" >&6; }
6752 else
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6754 $as_echo "no" >&6; }
6758 test -n "$ICOTOOL" && break
6759 done
6760 test -n "$ICOTOOL" || ICOTOOL="false"
6762 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6763 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6765 if test "$CONVERT" = false
6766 then
6767 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6768 else
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6770 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6771 convert_version=`convert --version | head -n1`
6772 if test "x$convert_version" != "x"
6773 then
6774 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6775 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6776 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6777 then
6778 CONVERT=false
6781 if test "$CONVERT" = false
6782 then
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6784 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6785 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6786 else
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6788 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6792 if test "$ICOTOOL" = false
6793 then
6794 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6795 else
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6797 $as_echo_n "checking for recent enough icotool... " >&6; }
6798 icotool_version=`icotool --version | head -n1`
6799 if test "x$icotool_version" != "x"
6800 then
6801 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6802 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6803 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6804 then
6805 ICOTOOL=false
6806 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6809 if test "$ICOTOOL" = false
6810 then
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6812 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6813 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6814 else
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6816 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6820 with_gettext=yes
6821 with_gettextpo=yes
6823 enable_werror=yes
6826 test "x$with_gettext" != xno || MSGFMT=false
6827 if test "$MSGFMT" != "false"
6828 then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6830 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6831 if ${wine_cv_msgfmt_contexts+:} false; then :
6832 $as_echo_n "(cached) " >&6
6833 else
6834 cat >conftest.po <<EOF
6835 # comment
6836 msgctxt "ctxt"
6837 msgid "id"
6838 msgstr "str"
6840 if $MSGFMT -o /dev/null conftest.po 2>&5
6841 then
6842 wine_cv_msgfmt_contexts=yes
6843 else
6844 wine_cv_msgfmt_contexts=no
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6848 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6849 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6851 if test "$MSGFMT" = false; then :
6852 case "x$with_gettext" in
6853 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6854 xno) ;;
6855 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6856 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6857 esac
6858 enable_po=${enable_po:-no}
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6863 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6864 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6865 $as_echo_n "(cached) " >&6
6866 else
6867 ac_check_lib_save_LIBS=$LIBS
6868 LIBS="-li386 $LIBS"
6869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6870 /* end confdefs.h. */
6872 /* Override any GCC internal prototype to avoid an error.
6873 Use char because int might match the return type of a GCC
6874 builtin and then its argument prototype would still apply. */
6875 #ifdef __cplusplus
6876 extern "C"
6877 #endif
6878 char i386_set_ldt ();
6880 main ()
6882 return i386_set_ldt ();
6884 return 0;
6886 _ACEOF
6887 if ac_fn_c_try_link "$LINENO"; then :
6888 ac_cv_lib_i386_i386_set_ldt=yes
6889 else
6890 ac_cv_lib_i386_i386_set_ldt=no
6892 rm -f core conftest.err conftest.$ac_objext \
6893 conftest$ac_exeext conftest.$ac_ext
6894 LIBS=$ac_check_lib_save_LIBS
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6897 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6898 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6899 I386_LIBS="-li386"
6904 OPENGL_LIBS=""
6908 # Check whether --enable-largefile was given.
6909 if test "${enable_largefile+set}" = set; then :
6910 enableval=$enable_largefile;
6913 if test "$enable_largefile" != no; then
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6916 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6917 if ${ac_cv_sys_largefile_CC+:} false; then :
6918 $as_echo_n "(cached) " >&6
6919 else
6920 ac_cv_sys_largefile_CC=no
6921 if test "$GCC" != yes; then
6922 ac_save_CC=$CC
6923 while :; do
6924 # IRIX 6.2 and later do not support large files by default,
6925 # so use the C compiler's -n32 option if that helps.
6926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6927 /* end confdefs.h. */
6928 #include <sys/types.h>
6929 /* Check that off_t can represent 2**63 - 1 correctly.
6930 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6931 since some C++ compilers masquerading as C compilers
6932 incorrectly reject 9223372036854775807. */
6933 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6934 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6935 && LARGE_OFF_T % 2147483647 == 1)
6936 ? 1 : -1];
6938 main ()
6942 return 0;
6944 _ACEOF
6945 if ac_fn_c_try_compile "$LINENO"; then :
6946 break
6948 rm -f core conftest.err conftest.$ac_objext
6949 CC="$CC -n32"
6950 if ac_fn_c_try_compile "$LINENO"; then :
6951 ac_cv_sys_largefile_CC=' -n32'; break
6953 rm -f core conftest.err conftest.$ac_objext
6954 break
6955 done
6956 CC=$ac_save_CC
6957 rm -f conftest.$ac_ext
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6961 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6962 if test "$ac_cv_sys_largefile_CC" != no; then
6963 CC=$CC$ac_cv_sys_largefile_CC
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6967 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6968 if ${ac_cv_sys_file_offset_bits+:} false; then :
6969 $as_echo_n "(cached) " >&6
6970 else
6971 while :; do
6972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6973 /* end confdefs.h. */
6974 #include <sys/types.h>
6975 /* Check that off_t can represent 2**63 - 1 correctly.
6976 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6977 since some C++ compilers masquerading as C compilers
6978 incorrectly reject 9223372036854775807. */
6979 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6980 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6981 && LARGE_OFF_T % 2147483647 == 1)
6982 ? 1 : -1];
6984 main ()
6988 return 0;
6990 _ACEOF
6991 if ac_fn_c_try_compile "$LINENO"; then :
6992 ac_cv_sys_file_offset_bits=no; break
6994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6996 /* end confdefs.h. */
6997 #define _FILE_OFFSET_BITS 64
6998 #include <sys/types.h>
6999 /* Check that off_t can represent 2**63 - 1 correctly.
7000 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7001 since some C++ compilers masquerading as C compilers
7002 incorrectly reject 9223372036854775807. */
7003 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7004 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7005 && LARGE_OFF_T % 2147483647 == 1)
7006 ? 1 : -1];
7008 main ()
7012 return 0;
7014 _ACEOF
7015 if ac_fn_c_try_compile "$LINENO"; then :
7016 ac_cv_sys_file_offset_bits=64; break
7018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7019 ac_cv_sys_file_offset_bits=unknown
7020 break
7021 done
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7024 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7025 case $ac_cv_sys_file_offset_bits in #(
7026 no | unknown) ;;
7028 cat >>confdefs.h <<_ACEOF
7029 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7030 _ACEOF
7032 esac
7033 rm -rf conftest*
7034 if test $ac_cv_sys_file_offset_bits = unknown; then
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7036 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7037 if ${ac_cv_sys_large_files+:} false; then :
7038 $as_echo_n "(cached) " >&6
7039 else
7040 while :; do
7041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7042 /* end confdefs.h. */
7043 #include <sys/types.h>
7044 /* Check that off_t can represent 2**63 - 1 correctly.
7045 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7046 since some C++ compilers masquerading as C compilers
7047 incorrectly reject 9223372036854775807. */
7048 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7049 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7050 && LARGE_OFF_T % 2147483647 == 1)
7051 ? 1 : -1];
7053 main ()
7057 return 0;
7059 _ACEOF
7060 if ac_fn_c_try_compile "$LINENO"; then :
7061 ac_cv_sys_large_files=no; break
7063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7065 /* end confdefs.h. */
7066 #define _LARGE_FILES 1
7067 #include <sys/types.h>
7068 /* Check that off_t can represent 2**63 - 1 correctly.
7069 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7070 since some C++ compilers masquerading as C compilers
7071 incorrectly reject 9223372036854775807. */
7072 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7073 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7074 && LARGE_OFF_T % 2147483647 == 1)
7075 ? 1 : -1];
7077 main ()
7081 return 0;
7083 _ACEOF
7084 if ac_fn_c_try_compile "$LINENO"; then :
7085 ac_cv_sys_large_files=1; break
7087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7088 ac_cv_sys_large_files=unknown
7089 break
7090 done
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7093 $as_echo "$ac_cv_sys_large_files" >&6; }
7094 case $ac_cv_sys_large_files in #(
7095 no | unknown) ;;
7097 cat >>confdefs.h <<_ACEOF
7098 #define _LARGE_FILES $ac_cv_sys_large_files
7099 _ACEOF
7101 esac
7102 rm -rf conftest*
7109 ac_ext=c
7110 ac_cpp='$CPP $CPPFLAGS'
7111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7115 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7116 # On Suns, sometimes $CPP names a directory.
7117 if test -n "$CPP" && test -d "$CPP"; then
7118 CPP=
7120 if test -z "$CPP"; then
7121 if ${ac_cv_prog_CPP+:} false; then :
7122 $as_echo_n "(cached) " >&6
7123 else
7124 # Double quotes because CPP needs to be expanded
7125 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7127 ac_preproc_ok=false
7128 for ac_c_preproc_warn_flag in '' yes
7130 # Use a header file that comes with gcc, so configuring glibc
7131 # with a fresh cross-compiler works.
7132 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7133 # <limits.h> exists even on freestanding compilers.
7134 # On the NeXT, cc -E runs the code through the compiler's parser,
7135 # not just through cpp. "Syntax error" is here to catch this case.
7136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7137 /* end confdefs.h. */
7138 #ifdef __STDC__
7139 # include <limits.h>
7140 #else
7141 # include <assert.h>
7142 #endif
7143 Syntax error
7144 _ACEOF
7145 if ac_fn_c_try_cpp "$LINENO"; then :
7147 else
7148 # Broken: fails on valid input.
7149 continue
7151 rm -f conftest.err conftest.i conftest.$ac_ext
7153 # OK, works on sane cases. Now check whether nonexistent headers
7154 # can be detected and how.
7155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7156 /* end confdefs.h. */
7157 #include <ac_nonexistent.h>
7158 _ACEOF
7159 if ac_fn_c_try_cpp "$LINENO"; then :
7160 # Broken: success on invalid input.
7161 continue
7162 else
7163 # Passes both tests.
7164 ac_preproc_ok=:
7165 break
7167 rm -f conftest.err conftest.i conftest.$ac_ext
7169 done
7170 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7171 rm -f conftest.i conftest.err conftest.$ac_ext
7172 if $ac_preproc_ok; then :
7173 break
7176 done
7177 ac_cv_prog_CPP=$CPP
7180 CPP=$ac_cv_prog_CPP
7181 else
7182 ac_cv_prog_CPP=$CPP
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7185 $as_echo "$CPP" >&6; }
7186 ac_preproc_ok=false
7187 for ac_c_preproc_warn_flag in '' yes
7189 # Use a header file that comes with gcc, so configuring glibc
7190 # with a fresh cross-compiler works.
7191 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7192 # <limits.h> exists even on freestanding compilers.
7193 # On the NeXT, cc -E runs the code through the compiler's parser,
7194 # not just through cpp. "Syntax error" is here to catch this case.
7195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7196 /* end confdefs.h. */
7197 #ifdef __STDC__
7198 # include <limits.h>
7199 #else
7200 # include <assert.h>
7201 #endif
7202 Syntax error
7203 _ACEOF
7204 if ac_fn_c_try_cpp "$LINENO"; then :
7206 else
7207 # Broken: fails on valid input.
7208 continue
7210 rm -f conftest.err conftest.i conftest.$ac_ext
7212 # OK, works on sane cases. Now check whether nonexistent headers
7213 # can be detected and how.
7214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7215 /* end confdefs.h. */
7216 #include <ac_nonexistent.h>
7217 _ACEOF
7218 if ac_fn_c_try_cpp "$LINENO"; then :
7219 # Broken: success on invalid input.
7220 continue
7221 else
7222 # Passes both tests.
7223 ac_preproc_ok=:
7224 break
7226 rm -f conftest.err conftest.i conftest.$ac_ext
7228 done
7229 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7230 rm -f conftest.i conftest.err conftest.$ac_ext
7231 if $ac_preproc_ok; then :
7233 else
7234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7236 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7237 See \`config.log' for more details" "$LINENO" 5; }
7240 ac_ext=c
7241 ac_cpp='$CPP $CPPFLAGS'
7242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7248 $as_echo_n "checking for ANSI C header files... " >&6; }
7249 if ${ac_cv_header_stdc+:} false; then :
7250 $as_echo_n "(cached) " >&6
7251 else
7252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253 /* end confdefs.h. */
7254 #include <stdlib.h>
7255 #include <stdarg.h>
7256 #include <string.h>
7257 #include <float.h>
7260 main ()
7264 return 0;
7266 _ACEOF
7267 if ac_fn_c_try_compile "$LINENO"; then :
7268 ac_cv_header_stdc=yes
7269 else
7270 ac_cv_header_stdc=no
7272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7274 if test $ac_cv_header_stdc = yes; then
7275 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277 /* end confdefs.h. */
7278 #include <string.h>
7280 _ACEOF
7281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7282 $EGREP "memchr" >/dev/null 2>&1; then :
7284 else
7285 ac_cv_header_stdc=no
7287 rm -f conftest*
7291 if test $ac_cv_header_stdc = yes; then
7292 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7294 /* end confdefs.h. */
7295 #include <stdlib.h>
7297 _ACEOF
7298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7299 $EGREP "free" >/dev/null 2>&1; then :
7301 else
7302 ac_cv_header_stdc=no
7304 rm -f conftest*
7308 if test $ac_cv_header_stdc = yes; then
7309 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7310 if test "$cross_compiling" = yes; then :
7312 else
7313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7314 /* end confdefs.h. */
7315 #include <ctype.h>
7316 #include <stdlib.h>
7317 #if ((' ' & 0x0FF) == 0x020)
7318 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7319 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7320 #else
7321 # define ISLOWER(c) \
7322 (('a' <= (c) && (c) <= 'i') \
7323 || ('j' <= (c) && (c) <= 'r') \
7324 || ('s' <= (c) && (c) <= 'z'))
7325 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7326 #endif
7328 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7330 main ()
7332 int i;
7333 for (i = 0; i < 256; i++)
7334 if (XOR (islower (i), ISLOWER (i))
7335 || toupper (i) != TOUPPER (i))
7336 return 2;
7337 return 0;
7339 _ACEOF
7340 if ac_fn_c_try_run "$LINENO"; then :
7342 else
7343 ac_cv_header_stdc=no
7345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7346 conftest.$ac_objext conftest.beam conftest.$ac_ext
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7352 $as_echo "$ac_cv_header_stdc" >&6; }
7353 if test $ac_cv_header_stdc = yes; then
7355 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7359 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7360 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7361 inttypes.h stdint.h unistd.h
7362 do :
7363 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7364 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7366 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7367 cat >>confdefs.h <<_ACEOF
7368 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7369 _ACEOF
7373 done
7376 for ac_header in \
7377 AL/al.h \
7378 ApplicationServices/ApplicationServices.h \
7379 AudioToolbox/AudioConverter.h \
7380 AudioUnit/AudioUnit.h \
7381 AudioUnit/AudioComponent.h \
7382 CL/cl.h \
7383 Carbon/Carbon.h \
7384 CommonCrypto/CommonCryptor.h \
7385 CoreAudio/CoreAudio.h \
7386 CoreServices/CoreServices.h \
7387 DiskArbitration/DiskArbitration.h \
7388 EGL/egl.h \
7389 IOKit/IOKitLib.h \
7390 IOKit/hid/IOHIDLib.h \
7391 OpenAL/al.h \
7392 OpenCL/opencl.h \
7393 QuickTime/ImageCompression.h \
7394 Security/Security.h \
7395 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7396 SystemConfiguration/SCNetworkConfiguration.h \
7397 alias.h \
7398 arpa/inet.h \
7399 arpa/nameser.h \
7400 asm/types.h \
7401 asm/user.h \
7402 curses.h \
7403 dirent.h \
7404 dlfcn.h \
7405 elf.h \
7406 float.h \
7407 fnmatch.h \
7408 getopt.h \
7409 gettext-po.h \
7410 grp.h \
7411 gsm.h \
7412 gsm/gsm.h \
7413 ieeefp.h \
7414 inet/mib2.h \
7415 kstat.h \
7416 libproc.h \
7417 link.h \
7418 linux/cdrom.h \
7419 linux/compiler.h \
7420 linux/filter.h \
7421 linux/hdreg.h \
7422 linux/hidraw.h \
7423 linux/input.h \
7424 linux/ioctl.h \
7425 linux/joystick.h \
7426 linux/major.h \
7427 linux/param.h \
7428 linux/serial.h \
7429 linux/types.h \
7430 linux/ucdrom.h \
7431 lwp.h \
7432 mach-o/nlist.h \
7433 mach-o/loader.h \
7434 mach/mach.h \
7435 mach/machine.h \
7436 machine/cpu.h \
7437 machine/sysarch.h \
7438 mntent.h \
7439 ncurses.h \
7440 netdb.h \
7441 netinet/in.h \
7442 netinet/in_systm.h \
7443 netinet/tcp.h \
7444 netinet/tcp_fsm.h \
7445 pcap/pcap.h \
7446 poll.h \
7447 port.h \
7448 pthread.h \
7449 pwd.h \
7450 sasl/sasl.h \
7451 sched.h \
7452 scsi/scsi.h \
7453 scsi/scsi_ioctl.h \
7454 scsi/sg.h \
7455 stdbool.h \
7456 stdint.h \
7457 stropts.h \
7458 sys/attr.h \
7459 sys/auxv.h \
7460 sys/cdio.h \
7461 sys/epoll.h \
7462 sys/event.h \
7463 sys/filio.h \
7464 sys/ioctl.h \
7465 sys/ipc.h \
7466 sys/link.h \
7467 sys/mman.h \
7468 sys/modem.h \
7469 sys/msg.h \
7470 sys/mtio.h \
7471 sys/param.h \
7472 sys/poll.h \
7473 sys/prctl.h \
7474 sys/protosw.h \
7475 sys/ptrace.h \
7476 sys/queue.h \
7477 sys/resource.h \
7478 sys/scsiio.h \
7479 sys/shm.h \
7480 sys/signal.h \
7481 sys/socket.h \
7482 sys/socketvar.h \
7483 sys/sockio.h \
7484 sys/statvfs.h \
7485 sys/strtio.h \
7486 sys/syscall.h \
7487 sys/sysinfo.h \
7488 sys/tihdr.h \
7489 sys/time.h \
7490 sys/timeout.h \
7491 sys/times.h \
7492 sys/uio.h \
7493 sys/user.h \
7494 sys/utsname.h \
7495 sys/vnode.h \
7496 sys/wait.h \
7497 syscall.h \
7498 termios.h \
7499 unistd.h \
7500 utime.h \
7501 valgrind/memcheck.h \
7502 valgrind/valgrind.h
7504 do :
7505 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7506 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7507 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7508 cat >>confdefs.h <<_ACEOF
7509 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7510 _ACEOF
7514 done
7516 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7517 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7519 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7524 if test $ac_cv_header_sys_mkdev_h = no; then
7525 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7526 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7528 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7535 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7536 if ${ac_cv_header_stat_broken+:} false; then :
7537 $as_echo_n "(cached) " >&6
7538 else
7539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7540 /* end confdefs.h. */
7541 #include <sys/types.h>
7542 #include <sys/stat.h>
7544 #if defined S_ISBLK && defined S_IFDIR
7545 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7546 #endif
7548 #if defined S_ISBLK && defined S_IFCHR
7549 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7550 #endif
7552 #if defined S_ISLNK && defined S_IFREG
7553 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7554 #endif
7556 #if defined S_ISSOCK && defined S_IFREG
7557 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7558 #endif
7560 _ACEOF
7561 if ac_fn_c_try_compile "$LINENO"; then :
7562 ac_cv_header_stat_broken=no
7563 else
7564 ac_cv_header_stat_broken=yes
7566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7569 $as_echo "$ac_cv_header_stat_broken" >&6; }
7570 if test $ac_cv_header_stat_broken = yes; then
7572 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7578 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7579 do :
7580 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7581 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7582 #ifdef HAVE_SYS_PARAM_H
7583 # include <sys/param.h>
7584 #endif
7586 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7587 cat >>confdefs.h <<_ACEOF
7588 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7589 _ACEOF
7593 done
7596 saved_sysctl_h_CFLAGS=$CFLAGS
7597 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7598 for ac_header in sys/sysctl.h
7599 do :
7600 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7601 #ifdef HAVE_SYS_PARAM_H
7602 # include <sys/param.h>
7603 #endif
7605 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7606 cat >>confdefs.h <<_ACEOF
7607 #define HAVE_SYS_SYSCTL_H 1
7608 _ACEOF
7612 done
7614 CFLAGS=$saved_sysctl_h_CFLAGS
7616 for ac_header in \
7617 netinet/ip.h \
7618 net/if.h \
7619 net/if_arp.h \
7620 net/if_dl.h \
7621 net/if_types.h \
7622 net/route.h \
7623 netinet/if_ether.h \
7624 netinet/if_inarp.h \
7625 netinet/in_pcb.h \
7626 netinet/ip_icmp.h \
7627 netinet/ip_var.h \
7628 netinet/udp.h \
7629 netipx/ipx.h \
7630 sys/un.h \
7632 do :
7633 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7634 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7635 #ifdef HAVE_SYS_SOCKET_H
7636 # include <sys/socket.h>
7637 #endif
7638 #ifdef HAVE_SYS_SOCKETVAR_H
7639 # include <sys/socketvar.h>
7640 #endif
7641 #ifdef HAVE_NET_ROUTE_H
7642 # include <net/route.h>
7643 #endif
7644 #ifdef HAVE_NETINET_IN_H
7645 # include <netinet/in.h>
7646 #endif
7647 #ifdef HAVE_NETINET_IN_SYSTM_H
7648 # include <netinet/in_systm.h>
7649 #endif
7650 #ifdef HAVE_NET_IF_H
7651 # include <net/if.h>
7652 #endif
7653 #ifdef HAVE_NETINET_IP_H
7654 # include <netinet/ip.h>
7655 #endif
7657 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7658 cat >>confdefs.h <<_ACEOF
7659 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7660 _ACEOF
7664 done
7667 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7668 do :
7669 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7670 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7671 #ifdef HAVE_ALIAS_H
7672 # include <alias.h>
7673 #endif
7674 #ifdef HAVE_SYS_SOCKET_H
7675 # include <sys/socket.h>
7676 #endif
7677 #ifdef HAVE_SYS_SOCKETVAR_H
7678 # include <sys/socketvar.h>
7679 #endif
7680 #ifdef HAVE_SYS_TIMEOUT_H
7681 # include <sys/timeout.h>
7682 #endif
7683 #ifdef HAVE_NETINET_IN_H
7684 # include <netinet/in.h>
7685 #endif
7686 #ifdef HAVE_NETINET_IN_SYSTM_H
7687 # include <netinet/in_systm.h>
7688 #endif
7689 #ifdef HAVE_NETINET_IP_H
7690 # include <netinet/ip.h>
7691 #endif
7692 #ifdef HAVE_NETINET_IP_VAR_H
7693 # include <netinet/ip_var.h>
7694 #endif
7695 #ifdef HAVE_NETINET_IP_ICMP_H
7696 # include <netinet/ip_icmp.h>
7697 #endif
7698 #ifdef HAVE_NETINET_UDP_H
7699 # include <netinet/udp.h>
7700 #endif
7701 #ifdef HAVE_NETINET_TCP_H
7702 # include <netinet/tcp.h>
7703 #endif
7704 #ifdef HAVE_NETINET_TCP_TIMER_H
7705 #include <netinet/tcp_timer.h>
7706 #endif
7708 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7709 cat >>confdefs.h <<_ACEOF
7710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7711 _ACEOF
7715 done
7718 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7719 do :
7720 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7721 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7722 #ifdef HAVE_ASM_TYPES_H
7723 # include <asm/types.h>
7724 #endif
7725 #ifdef HAVE_SYS_SOCKET_H
7726 # include <sys/socket.h>
7727 #endif
7728 #ifdef HAVE_LINUX_TYPES_H
7729 # include <linux/types.h>
7730 #endif
7732 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7733 cat >>confdefs.h <<_ACEOF
7734 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7735 _ACEOF
7739 done
7742 for ac_header in resolv.h
7743 do :
7744 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7745 #ifdef HAVE_SYS_SOCKET_H
7746 # include <sys/socket.h>
7747 #endif
7748 #ifdef HAVE_NETINET_IN_H
7749 # include <netinet/in.h>
7750 #endif
7751 #ifdef HAVE_ARPA_NAMESER_H
7752 # include <arpa/nameser.h>
7753 #endif
7755 if test "x$ac_cv_header_resolv_h" = xyes; then :
7756 cat >>confdefs.h <<_ACEOF
7757 #define HAVE_RESOLV_H 1
7758 _ACEOF
7762 done
7765 for ac_header in ifaddrs.h
7766 do :
7767 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7769 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7770 cat >>confdefs.h <<_ACEOF
7771 #define HAVE_IFADDRS_H 1
7772 _ACEOF
7776 done
7779 for ac_header in sys/ucontext.h
7780 do :
7781 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7783 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7784 cat >>confdefs.h <<_ACEOF
7785 #define HAVE_SYS_UCONTEXT_H 1
7786 _ACEOF
7790 done
7793 for ac_header in sys/thr.h
7794 do :
7795 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7796 #ifdef HAVE_SYS_UCONTEXT_H
7797 #include <sys/ucontext.h>
7798 #endif
7800 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7801 cat >>confdefs.h <<_ACEOF
7802 #define HAVE_SYS_THR_H 1
7803 _ACEOF
7807 done
7810 for ac_header in pthread_np.h
7811 do :
7812 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7813 #include <pthread.h>
7814 #endif
7816 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7817 cat >>confdefs.h <<_ACEOF
7818 #define HAVE_PTHREAD_NP_H 1
7819 _ACEOF
7823 done
7826 for ac_header in linux/videodev2.h
7827 do :
7828 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7829 #include <sys/time.h>
7830 #endif
7831 #include <sys/types.h>
7832 #ifdef HAVE_ASM_TYPES_H
7833 #include <asm/types.h>
7834 #endif
7836 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7837 cat >>confdefs.h <<_ACEOF
7838 #define HAVE_LINUX_VIDEODEV2_H 1
7839 _ACEOF
7843 done
7846 for ac_header in libprocstat.h
7847 do :
7848 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7849 #include <sys/param.h>
7850 #endif
7851 #ifdef HAVE_SYS_QUEUE_H
7852 #include <sys/queue.h>
7853 #endif
7854 #ifdef HAVE_SYS_SOCKET_H
7855 #include <sys/socket.h>
7856 #endif
7858 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7859 cat >>confdefs.h <<_ACEOF
7860 #define HAVE_LIBPROCSTAT_H 1
7861 _ACEOF
7865 done
7869 DLLFLAGS="-D_REENTRANT"
7871 LDRPATH_INSTALL=""
7873 LDRPATH_LOCAL=""
7875 LDDLLFLAGS=""
7877 LDEXECFLAGS=""
7879 TOP_INSTALL_LIB=""
7881 TOP_INSTALL_DEV=""
7883 WINELOADER_LDFLAGS=""
7885 WINEPRELOADER_LDFLAGS=""
7887 LIBEXT="so"
7888 DLLEXT=".so"
7889 # Extract the first word of "ldd", so it can be a program name with args.
7890 set dummy ldd; ac_word=$2
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7892 $as_echo_n "checking for $ac_word... " >&6; }
7893 if ${ac_cv_path_LDD+:} false; then :
7894 $as_echo_n "(cached) " >&6
7895 else
7896 case $LDD in
7897 [\\/]* | ?:[\\/]*)
7898 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7902 as_dummy="/sbin:/usr/sbin:$PATH"
7903 for as_dir in $as_dummy
7905 IFS=$as_save_IFS
7906 test -z "$as_dir" && as_dir=.
7907 for ac_exec_ext in '' $ac_executable_extensions; do
7908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7909 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7911 break 2
7913 done
7914 done
7915 IFS=$as_save_IFS
7917 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7919 esac
7921 LDD=$ac_cv_path_LDD
7922 if test -n "$LDD"; then
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7924 $as_echo "$LDD" >&6; }
7925 else
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7927 $as_echo "no" >&6; }
7931 if test -n "$ac_tool_prefix"; then
7932 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7933 set dummy ${ac_tool_prefix}otool; ac_word=$2
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7935 $as_echo_n "checking for $ac_word... " >&6; }
7936 if ${ac_cv_prog_OTOOL+:} false; then :
7937 $as_echo_n "(cached) " >&6
7938 else
7939 if test -n "$OTOOL"; then
7940 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7941 else
7942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7943 for as_dir in $PATH
7945 IFS=$as_save_IFS
7946 test -z "$as_dir" && as_dir=.
7947 for ac_exec_ext in '' $ac_executable_extensions; do
7948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7949 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7951 break 2
7953 done
7954 done
7955 IFS=$as_save_IFS
7959 OTOOL=$ac_cv_prog_OTOOL
7960 if test -n "$OTOOL"; then
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7962 $as_echo "$OTOOL" >&6; }
7963 else
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7965 $as_echo "no" >&6; }
7970 if test -z "$ac_cv_prog_OTOOL"; then
7971 ac_ct_OTOOL=$OTOOL
7972 # Extract the first word of "otool", so it can be a program name with args.
7973 set dummy otool; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7975 $as_echo_n "checking for $ac_word... " >&6; }
7976 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7977 $as_echo_n "(cached) " >&6
7978 else
7979 if test -n "$ac_ct_OTOOL"; then
7980 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7981 else
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7983 for as_dir in $PATH
7985 IFS=$as_save_IFS
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7989 ac_cv_prog_ac_ct_OTOOL="otool"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7991 break 2
7993 done
7994 done
7995 IFS=$as_save_IFS
7999 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8000 if test -n "$ac_ct_OTOOL"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8002 $as_echo "$ac_ct_OTOOL" >&6; }
8003 else
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 $as_echo "no" >&6; }
8008 if test "x$ac_ct_OTOOL" = x; then
8009 OTOOL="otool"
8010 else
8011 case $cross_compiling:$ac_tool_warned in
8012 yes:)
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8015 ac_tool_warned=yes ;;
8016 esac
8017 OTOOL=$ac_ct_OTOOL
8019 else
8020 OTOOL="$ac_cv_prog_OTOOL"
8023 if test -n "$ac_tool_prefix"; then
8024 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8025 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8027 $as_echo_n "checking for $ac_word... " >&6; }
8028 if ${ac_cv_prog_READELF+:} false; then :
8029 $as_echo_n "(cached) " >&6
8030 else
8031 if test -n "$READELF"; then
8032 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8033 else
8034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8035 for as_dir in $PATH
8037 IFS=$as_save_IFS
8038 test -z "$as_dir" && as_dir=.
8039 for ac_exec_ext in '' $ac_executable_extensions; do
8040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8041 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8043 break 2
8045 done
8046 done
8047 IFS=$as_save_IFS
8051 READELF=$ac_cv_prog_READELF
8052 if test -n "$READELF"; then
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8054 $as_echo "$READELF" >&6; }
8055 else
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8057 $as_echo "no" >&6; }
8062 if test -z "$ac_cv_prog_READELF"; then
8063 ac_ct_READELF=$READELF
8064 # Extract the first word of "readelf", so it can be a program name with args.
8065 set dummy readelf; ac_word=$2
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8067 $as_echo_n "checking for $ac_word... " >&6; }
8068 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8069 $as_echo_n "(cached) " >&6
8070 else
8071 if test -n "$ac_ct_READELF"; then
8072 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8073 else
8074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8075 for as_dir in $PATH
8077 IFS=$as_save_IFS
8078 test -z "$as_dir" && as_dir=.
8079 for ac_exec_ext in '' $ac_executable_extensions; do
8080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8081 ac_cv_prog_ac_ct_READELF="readelf"
8082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8083 break 2
8085 done
8086 done
8087 IFS=$as_save_IFS
8091 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8092 if test -n "$ac_ct_READELF"; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8094 $as_echo "$ac_ct_READELF" >&6; }
8095 else
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8097 $as_echo "no" >&6; }
8100 if test "x$ac_ct_READELF" = x; then
8101 READELF="true"
8102 else
8103 case $cross_compiling:$ac_tool_warned in
8104 yes:)
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8107 ac_tool_warned=yes ;;
8108 esac
8109 READELF=$ac_ct_READELF
8111 else
8112 READELF="$ac_cv_prog_READELF"
8115 wine_rules_file=conf$$rules.make
8116 rm -f $wine_rules_file
8117 SUBDIRS=""
8119 DISABLED_SUBDIRS=""
8121 CONFIGURE_TARGETS=""
8124 wine_fn_append_file ()
8126 as_fn_append $1 " \\$as_nl $2"
8129 wine_fn_append_rule ()
8131 $as_echo "$1" >>$wine_rules_file
8134 wine_fn_config_makefile ()
8136 wine_fn_append_file SUBDIRS $1
8137 if eval test \"x\$"$2"\" = x"no"; then :
8138 wine_fn_append_file DISABLED_SUBDIRS $1
8142 wine_fn_config_symlink ()
8144 ac_links=$@
8145 wine_fn_append_rule \
8146 "$ac_links:
8147 @./config.status \$@"
8148 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8151 wine_binary="wine"
8152 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8153 WINELOADER_PROGRAMS="$wine_binary"
8155 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8157 case $host_os in
8158 cygwin*|mingw32*)
8159 if test -n "$ac_tool_prefix"; then
8160 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8161 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8163 $as_echo_n "checking for $ac_word... " >&6; }
8164 if ${ac_cv_prog_DLLTOOL+:} false; then :
8165 $as_echo_n "(cached) " >&6
8166 else
8167 if test -n "$DLLTOOL"; then
8168 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8169 else
8170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8171 for as_dir in $PATH
8173 IFS=$as_save_IFS
8174 test -z "$as_dir" && as_dir=.
8175 for ac_exec_ext in '' $ac_executable_extensions; do
8176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8177 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8179 break 2
8181 done
8182 done
8183 IFS=$as_save_IFS
8187 DLLTOOL=$ac_cv_prog_DLLTOOL
8188 if test -n "$DLLTOOL"; then
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8190 $as_echo "$DLLTOOL" >&6; }
8191 else
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8193 $as_echo "no" >&6; }
8198 if test -z "$ac_cv_prog_DLLTOOL"; then
8199 ac_ct_DLLTOOL=$DLLTOOL
8200 # Extract the first word of "dlltool", so it can be a program name with args.
8201 set dummy dlltool; ac_word=$2
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8203 $as_echo_n "checking for $ac_word... " >&6; }
8204 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8205 $as_echo_n "(cached) " >&6
8206 else
8207 if test -n "$ac_ct_DLLTOOL"; then
8208 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8209 else
8210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8211 for as_dir in $PATH
8213 IFS=$as_save_IFS
8214 test -z "$as_dir" && as_dir=.
8215 for ac_exec_ext in '' $ac_executable_extensions; do
8216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8217 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8219 break 2
8221 done
8222 done
8223 IFS=$as_save_IFS
8227 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8228 if test -n "$ac_ct_DLLTOOL"; then
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8230 $as_echo "$ac_ct_DLLTOOL" >&6; }
8231 else
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8233 $as_echo "no" >&6; }
8236 if test "x$ac_ct_DLLTOOL" = x; then
8237 DLLTOOL="false"
8238 else
8239 case $cross_compiling:$ac_tool_warned in
8240 yes:)
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8243 ac_tool_warned=yes ;;
8244 esac
8245 DLLTOOL=$ac_ct_DLLTOOL
8247 else
8248 DLLTOOL="$ac_cv_prog_DLLTOOL"
8251 LIBEXT="dll"
8252 DLLEXT=""
8253 case $host_cpu in
8254 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8255 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8256 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8257 $as_echo_n "(cached) " >&6
8258 else
8259 ac_wine_try_cflags_saved=$CFLAGS
8260 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8262 /* end confdefs.h. */
8263 int main(int argc, char **argv) { return 0; }
8264 _ACEOF
8265 if ac_fn_c_try_link "$LINENO"; then :
8266 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8267 else
8268 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8270 rm -f core conftest.err conftest.$ac_objext \
8271 conftest$ac_exeext conftest.$ac_ext
8272 CFLAGS=$ac_wine_try_cflags_saved
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8275 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8276 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8277 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8278 fi ;;
8279 esac
8280 enable_iphlpapi=${enable_iphlpapi:-no}
8281 enable_kernel32=${enable_kernel32:-no}
8282 enable_ntdll=${enable_ntdll:-no}
8283 enable_ws2_32=${enable_ws2_32:-no}
8284 enable_loader=${enable_loader:-no}
8285 enable_server=${enable_server:-no}
8286 with_x=${with_x:-no}
8287 with_pthread=${with_pthread:-no}
8290 darwin*|macosx*)
8291 ac_ext=m
8292 ac_cpp='$OBJCPP $CPPFLAGS'
8293 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8294 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8295 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8297 ac_ext=m
8298 ac_cpp='$OBJCPP $CPPFLAGS'
8299 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8300 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8301 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8302 if test -n "$ac_tool_prefix"; then
8303 for ac_prog in gcc objcc objc cc CC
8305 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8306 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8308 $as_echo_n "checking for $ac_word... " >&6; }
8309 if ${ac_cv_prog_OBJC+:} false; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 if test -n "$OBJC"; then
8313 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8314 else
8315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8316 for as_dir in $PATH
8318 IFS=$as_save_IFS
8319 test -z "$as_dir" && as_dir=.
8320 for ac_exec_ext in '' $ac_executable_extensions; do
8321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8322 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8324 break 2
8326 done
8327 done
8328 IFS=$as_save_IFS
8332 OBJC=$ac_cv_prog_OBJC
8333 if test -n "$OBJC"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8335 $as_echo "$OBJC" >&6; }
8336 else
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8342 test -n "$OBJC" && break
8343 done
8345 if test -z "$OBJC"; then
8346 ac_ct_OBJC=$OBJC
8347 for ac_prog in gcc objcc objc cc CC
8349 # Extract the first word of "$ac_prog", so it can be a program name with args.
8350 set dummy $ac_prog; ac_word=$2
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8352 $as_echo_n "checking for $ac_word... " >&6; }
8353 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8354 $as_echo_n "(cached) " >&6
8355 else
8356 if test -n "$ac_ct_OBJC"; then
8357 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8358 else
8359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8360 for as_dir in $PATH
8362 IFS=$as_save_IFS
8363 test -z "$as_dir" && as_dir=.
8364 for ac_exec_ext in '' $ac_executable_extensions; do
8365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8366 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8368 break 2
8370 done
8371 done
8372 IFS=$as_save_IFS
8376 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8377 if test -n "$ac_ct_OBJC"; then
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8379 $as_echo "$ac_ct_OBJC" >&6; }
8380 else
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8382 $as_echo "no" >&6; }
8386 test -n "$ac_ct_OBJC" && break
8387 done
8389 if test "x$ac_ct_OBJC" = x; then
8390 OBJC="gcc"
8391 else
8392 case $cross_compiling:$ac_tool_warned in
8393 yes:)
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8396 ac_tool_warned=yes ;;
8397 esac
8398 OBJC=$ac_ct_OBJC
8402 # Provide some information about the compiler.
8403 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8404 set X $ac_compile
8405 ac_compiler=$2
8406 for ac_option in --version -v -V -qversion; do
8407 { { ac_try="$ac_compiler $ac_option >&5"
8408 case "(($ac_try" in
8409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8410 *) ac_try_echo=$ac_try;;
8411 esac
8412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8413 $as_echo "$ac_try_echo"; } >&5
8414 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8415 ac_status=$?
8416 if test -s conftest.err; then
8417 sed '10a\
8418 ... rest of stderr output deleted ...
8419 10q' conftest.err >conftest.er1
8420 cat conftest.er1 >&5
8422 rm -f conftest.er1 conftest.err
8423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8424 test $ac_status = 0; }
8425 done
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8428 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8429 if ${ac_cv_objc_compiler_gnu+:} false; then :
8430 $as_echo_n "(cached) " >&6
8431 else
8432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8433 /* end confdefs.h. */
8436 main ()
8438 #ifndef __GNUC__
8439 choke me
8440 #endif
8443 return 0;
8445 _ACEOF
8446 if ac_fn_objc_try_compile "$LINENO"; then :
8447 ac_compiler_gnu=yes
8448 else
8449 ac_compiler_gnu=no
8451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8452 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8456 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8457 if test $ac_compiler_gnu = yes; then
8458 GOBJC=yes
8459 else
8460 GOBJC=
8462 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8463 ac_save_OBJCFLAGS=$OBJCFLAGS
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8465 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8466 if ${ac_cv_prog_objc_g+:} false; then :
8467 $as_echo_n "(cached) " >&6
8468 else
8469 ac_save_objc_werror_flag=$ac_objc_werror_flag
8470 ac_objc_werror_flag=yes
8471 ac_cv_prog_objc_g=no
8472 OBJCFLAGS="-g"
8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8474 /* end confdefs.h. */
8477 main ()
8481 return 0;
8483 _ACEOF
8484 if ac_fn_objc_try_compile "$LINENO"; then :
8485 ac_cv_prog_objc_g=yes
8486 else
8487 OBJCFLAGS=""
8488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8492 main ()
8496 return 0;
8498 _ACEOF
8499 if ac_fn_objc_try_compile "$LINENO"; then :
8501 else
8502 ac_objc_werror_flag=$ac_save_objc_werror_flag
8503 OBJCFLAGS="-g"
8504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505 /* end confdefs.h. */
8508 main ()
8512 return 0;
8514 _ACEOF
8515 if ac_fn_objc_try_compile "$LINENO"; then :
8516 ac_cv_prog_objc_g=yes
8518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8523 ac_objc_werror_flag=$ac_save_objc_werror_flag
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8526 $as_echo "$ac_cv_prog_objc_g" >&6; }
8527 if test "$ac_test_OBJCFLAGS" = set; then
8528 OBJCFLAGS=$ac_save_OBJCFLAGS
8529 elif test $ac_cv_prog_objc_g = yes; then
8530 if test "$GOBJC" = yes; then
8531 OBJCFLAGS="-g -O2"
8532 else
8533 OBJCFLAGS="-g"
8535 else
8536 if test "$GOBJC" = yes; then
8537 OBJCFLAGS="-O2"
8538 else
8539 OBJCFLAGS=
8542 ac_ext=m
8543 ac_cpp='$OBJCPP $CPPFLAGS'
8544 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8545 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8546 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8549 ac_ext=m
8550 ac_cpp='$OBJCPP $CPPFLAGS'
8551 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8552 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8553 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8555 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8556 if test -z "$OBJCPP"; then
8557 if ${ac_cv_prog_OBJCPP+:} false; then :
8558 $as_echo_n "(cached) " >&6
8559 else
8560 # Double quotes because OBJCPP needs to be expanded
8561 for OBJCPP in "$OBJC -E" "/lib/cpp"
8563 ac_preproc_ok=false
8564 for ac_objc_preproc_warn_flag in '' yes
8566 # Use a header file that comes with gcc, so configuring glibc
8567 # with a fresh cross-compiler works.
8568 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8569 # <limits.h> exists even on freestanding compilers.
8570 # On the NeXT, cc -E runs the code through the compiler's parser,
8571 # not just through cpp. "Syntax error" is here to catch this case.
8572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8573 /* end confdefs.h. */
8574 #ifdef __STDC__
8575 # include <limits.h>
8576 #else
8577 # include <assert.h>
8578 #endif
8579 Syntax error
8580 _ACEOF
8581 if ac_fn_objc_try_cpp "$LINENO"; then :
8583 else
8584 # Broken: fails on valid input.
8585 continue
8587 rm -f conftest.err conftest.i conftest.$ac_ext
8589 # OK, works on sane cases. Now check whether nonexistent headers
8590 # can be detected and how.
8591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8592 /* end confdefs.h. */
8593 #include <ac_nonexistent.h>
8594 _ACEOF
8595 if ac_fn_objc_try_cpp "$LINENO"; then :
8596 # Broken: success on invalid input.
8597 continue
8598 else
8599 # Passes both tests.
8600 ac_preproc_ok=:
8601 break
8603 rm -f conftest.err conftest.i conftest.$ac_ext
8605 done
8606 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8607 rm -f conftest.i conftest.err conftest.$ac_ext
8608 if $ac_preproc_ok; then :
8609 break
8612 done
8613 ac_cv_prog_OBJCPP=$OBJCPP
8616 OBJCPP=$ac_cv_prog_OBJCPP
8617 else
8618 ac_cv_prog_OBJCPP=$OBJCPP
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8621 $as_echo "$OBJCPP" >&6; }
8622 ac_preproc_ok=false
8623 for ac_objc_preproc_warn_flag in '' yes
8625 # Use a header file that comes with gcc, so configuring glibc
8626 # with a fresh cross-compiler works.
8627 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8628 # <limits.h> exists even on freestanding compilers.
8629 # On the NeXT, cc -E runs the code through the compiler's parser,
8630 # not just through cpp. "Syntax error" is here to catch this case.
8631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8632 /* end confdefs.h. */
8633 #ifdef __STDC__
8634 # include <limits.h>
8635 #else
8636 # include <assert.h>
8637 #endif
8638 Syntax error
8639 _ACEOF
8640 if ac_fn_objc_try_cpp "$LINENO"; then :
8642 else
8643 # Broken: fails on valid input.
8644 continue
8646 rm -f conftest.err conftest.i conftest.$ac_ext
8648 # OK, works on sane cases. Now check whether nonexistent headers
8649 # can be detected and how.
8650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8651 /* end confdefs.h. */
8652 #include <ac_nonexistent.h>
8653 _ACEOF
8654 if ac_fn_objc_try_cpp "$LINENO"; then :
8655 # Broken: success on invalid input.
8656 continue
8657 else
8658 # Passes both tests.
8659 ac_preproc_ok=:
8660 break
8662 rm -f conftest.err conftest.i conftest.$ac_ext
8664 done
8665 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8666 rm -f conftest.i conftest.err conftest.$ac_ext
8667 if $ac_preproc_ok; then :
8669 else
8670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8672 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8673 See \`config.log' for more details" "$LINENO" 5; }
8676 ac_ext=m
8677 ac_cpp='$OBJCPP $CPPFLAGS'
8678 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8679 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8680 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8683 for ac_header in Metal/Metal.h
8684 do :
8685 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8686 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8687 cat >>confdefs.h <<_ACEOF
8688 #define HAVE_METAL_METAL_H 1
8689 _ACEOF
8693 done
8695 ac_ext=c
8696 ac_cpp='$CPP $CPPFLAGS'
8697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8701 LIBEXT="dylib"
8702 DLLFLAGS="$DLLFLAGS -fPIC"
8703 LDDLLFLAGS="-fPIC"
8704 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8705 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8706 COREFOUNDATION_LIBS="-framework CoreFoundation"
8708 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8710 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8712 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8714 CORESERVICES_LIBS="-framework CoreServices"
8716 APPKIT_LIBS="-framework AppKit"
8718 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8721 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8723 wine_can_build_preloader=yes
8724 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8726 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8727 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8728 $as_echo_n "(cached) " >&6
8729 else
8730 ac_wine_try_cflags_saved=$CFLAGS
8731 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8733 /* end confdefs.h. */
8734 int main(int argc, char **argv) { return 0; }
8735 _ACEOF
8736 if ac_fn_c_try_link "$LINENO"; then :
8737 ac_cv_cflags__Wl__no_new_main__e__main=yes
8738 else
8739 ac_cv_cflags__Wl__no_new_main__e__main=no
8741 rm -f core conftest.err conftest.$ac_objext \
8742 conftest$ac_exeext conftest.$ac_ext
8743 CFLAGS=$ac_wine_try_cflags_saved
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8746 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8747 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8748 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8750 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8751 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8752 $as_echo_n "(cached) " >&6
8753 else
8754 ac_wine_try_cflags_saved=$CFLAGS
8755 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8757 /* end confdefs.h. */
8758 int main(int argc, char **argv) { return 0; }
8759 _ACEOF
8760 if ac_fn_c_try_link "$LINENO"; then :
8761 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8762 else
8763 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8765 rm -f core conftest.err conftest.$ac_objext \
8766 conftest$ac_exeext conftest.$ac_ext
8767 CFLAGS=$ac_wine_try_cflags_saved
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8770 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8771 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8772 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8773 else
8774 { $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
8775 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8776 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8777 $as_echo_n "(cached) " >&6
8778 else
8779 ac_wine_try_cflags_saved=$CFLAGS
8780 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8782 /* end confdefs.h. */
8783 int main(int argc, char **argv) { return 0; }
8784 _ACEOF
8785 if ac_fn_c_try_link "$LINENO"; then :
8786 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8787 else
8788 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8790 rm -f core conftest.err conftest.$ac_objext \
8791 conftest$ac_exeext conftest.$ac_ext
8792 CFLAGS=$ac_wine_try_cflags_saved
8794 { $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
8795 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8796 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8797 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8798 else
8799 wine_can_build_preloader=no
8802 else
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8804 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8805 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8806 $as_echo_n "(cached) " >&6
8807 else
8808 ac_wine_try_cflags_saved=$CFLAGS
8809 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8811 /* end confdefs.h. */
8812 int main(int argc, char **argv) { return 0; }
8813 _ACEOF
8814 if ac_fn_c_try_link "$LINENO"; then :
8815 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8816 else
8817 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8819 rm -f core conftest.err conftest.$ac_objext \
8820 conftest$ac_exeext conftest.$ac_ext
8821 CFLAGS=$ac_wine_try_cflags_saved
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8824 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8825 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8826 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8827 else
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8829 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8830 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8831 $as_echo_n "(cached) " >&6
8832 else
8833 ac_wine_try_cflags_saved=$CFLAGS
8834 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8836 /* end confdefs.h. */
8837 int main(int argc, char **argv) { return 0; }
8838 _ACEOF
8839 if ac_fn_c_try_link "$LINENO"; then :
8840 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8841 else
8842 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8844 rm -f core conftest.err conftest.$ac_objext \
8845 conftest$ac_exeext conftest.$ac_ext
8846 CFLAGS=$ac_wine_try_cflags_saved
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8849 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8850 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8851 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8852 else
8853 wine_can_build_preloader=no
8857 if test "$wine_can_build_preloader" = "yes"
8858 then
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8860 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8861 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8862 $as_echo_n "(cached) " >&6
8863 else
8864 ac_wine_try_cflags_saved=$CFLAGS
8865 CFLAGS="$CFLAGS -Wl,-no_pie"
8866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8867 /* end confdefs.h. */
8868 int main(int argc, char **argv) { return 0; }
8869 _ACEOF
8870 if ac_fn_c_try_link "$LINENO"; then :
8871 ac_cv_cflags__Wl__no_pie=yes
8872 else
8873 ac_cv_cflags__Wl__no_pie=no
8875 rm -f core conftest.err conftest.$ac_objext \
8876 conftest$ac_exeext conftest.$ac_ext
8877 CFLAGS=$ac_wine_try_cflags_saved
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8880 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8881 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8882 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8884 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8885 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8886 else
8887 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8890 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8891 then
8892 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8895 if test "$ac_cv_header_Security_Security_h" = "yes"
8896 then
8897 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8899 ac_save_LIBS="$LIBS"
8900 LIBS="$LIBS $SECURITY_LIBS"
8901 for ac_func in SSLCopyPeerCertificates
8902 do :
8903 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8904 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8905 cat >>confdefs.h <<_ACEOF
8906 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8907 _ACEOF
8910 done
8912 LIBS="$ac_save_LIBS"
8914 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8915 then
8916 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8917 then
8918 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8920 else
8921 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8924 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8925 ac_save_LIBS="$LIBS"
8926 LIBS="$LIBS $COREAUDIO_LIBS"
8927 for ac_func in AUGraphAddNode
8928 do :
8929 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8930 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8931 cat >>confdefs.h <<_ACEOF
8932 #define HAVE_AUGRAPHADDNODE 1
8933 _ACEOF
8936 done
8938 LIBS="$ac_save_LIBS"
8940 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8941 then
8942 OPENAL_LIBS="-framework OpenAL"
8945 cat >>confdefs.h <<_ACEOF
8946 #define HAVE_OPENAL 1
8947 _ACEOF
8949 ac_cv_lib_openal=yes
8951 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8952 then
8953 OPENCL_LIBS="-framework OpenCL"
8955 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8957 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8958 then
8959 ac_save_LIBS="$LIBS"
8960 LIBS="$LIBS $IOKIT_LIBS"
8961 for ac_func in IOHIDManagerCreate
8962 do :
8963 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8964 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8965 cat >>confdefs.h <<_ACEOF
8966 #define HAVE_IOHIDMANAGERCREATE 1
8967 _ACEOF
8970 done
8972 LIBS="$ac_save_LIBS"
8974 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8975 then
8976 ac_save_LIBS="$LIBS"
8977 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8979 $as_echo_n "checking for the QuickTime framework... " >&6; }
8980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8981 /* end confdefs.h. */
8982 #include <QuickTime/ImageCompression.h>
8984 main ()
8986 CodecManagerVersion(NULL);
8988 return 0;
8990 _ACEOF
8991 if ac_fn_c_try_link "$LINENO"; then :
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8993 $as_echo "yes" >&6; }
8994 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8996 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8997 else
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8999 $as_echo "no" >&6; }
9000 ac_cv_header_QuickTime_ImageCompression_h=no
9002 rm -f core conftest.err conftest.$ac_objext \
9003 conftest$ac_exeext conftest.$ac_ext
9004 LIBS="$ac_save_LIBS"
9006 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
9007 then
9008 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
9010 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9011 then
9012 CARBON_LIBS="-framework Carbon"
9015 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9016 then
9017 METAL_LIBS="-framework Metal -framework QuartzCore"
9021 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9022 then
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9024 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9025 ac_ext=m
9026 ac_cpp='$OBJCPP $CPPFLAGS'
9027 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9028 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9029 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9032 /* end confdefs.h. */
9033 #include <Metal/Metal.h>
9035 main ()
9037 id<MTLDevice> device; device.registryID;
9039 return 0;
9041 _ACEOF
9042 if ac_fn_objc_try_compile "$LINENO"; then :
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9044 $as_echo "yes" >&6; }
9046 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9048 else
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9050 $as_echo "no" >&6; }
9052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9053 ac_ext=c
9054 ac_cpp='$CPP $CPPFLAGS'
9055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9061 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9062 then
9063 ac_save_LIBS="$LIBS"
9064 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9065 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9066 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9067 enable_winemac_drv=${enable_winemac_drv:-yes}
9070 LIBS="$ac_save_LIBS"
9073 if test "x$enable_win16" = "xyes"
9074 then
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9076 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9077 if test "$cross_compiling" = yes; then :
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9079 $as_echo "cross-compiling, assuming yes" >&6; }
9080 else
9081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9082 /* end confdefs.h. */
9083 asm(".text\n"
9084 "bad:\tnop;nop\n"
9085 "good:\tnop;nop\n\t"
9086 ".globl _testfunc\n"
9087 "_testfunc:\tcallw good");
9088 extern void testfunc();
9090 main ()
9092 unsigned short *p = (unsigned short *)testfunc;
9093 return p[0] != 0xe866 || p[1] != 0xfffa
9095 return 0;
9097 _ACEOF
9098 if ac_fn_c_try_run "$LINENO"; then :
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9100 $as_echo "yes" >&6; }
9101 else
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9103 $as_echo "no" >&6; }
9104 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
9106 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9107 conftest.$ac_objext conftest.beam conftest.$ac_ext
9112 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9114 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9116 WINELOADER_DEPENDS="wine_info.plist"
9118 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9119 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9122 linux-android*)
9123 DLLFLAGS="$DLLFLAGS -fPIC"
9124 LDDLLFLAGS="-fPIC"
9125 LDEXECFLAGS="-Wl,-pie"
9126 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9128 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9129 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9130 $as_echo_n "(cached) " >&6
9131 else
9132 ac_wine_try_cflags_saved=$CFLAGS
9133 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9136 int main(int argc, char **argv) { return 0; }
9137 _ACEOF
9138 if ac_fn_c_try_link "$LINENO"; then :
9139 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9140 else
9141 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9143 rm -f core conftest.err conftest.$ac_objext \
9144 conftest$ac_exeext conftest.$ac_ext
9145 CFLAGS=$ac_wine_try_cflags_saved
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9148 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9149 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9150 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9152 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9153 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9155 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9156 if eval \${$as_ac_var+:} false; then :
9157 $as_echo_n "(cached) " >&6
9158 else
9159 ac_wine_try_cflags_saved=$CFLAGS
9160 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9162 /* end confdefs.h. */
9163 int main(int argc, char **argv) { return 0; }
9164 _ACEOF
9165 if ac_fn_c_try_link "$LINENO"; then :
9166 eval "$as_ac_var=yes"
9167 else
9168 eval "$as_ac_var=no"
9170 rm -f core conftest.err conftest.$ac_objext \
9171 conftest$ac_exeext conftest.$ac_ext
9172 CFLAGS=$ac_wine_try_cflags_saved
9174 eval ac_res=\$$as_ac_var
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9176 $as_echo "$ac_res" >&6; }
9177 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9178 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9179 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9180 else
9181 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9183 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9184 if eval \${$as_ac_var+:} false; then :
9185 $as_echo_n "(cached) " >&6
9186 else
9187 ac_wine_try_cflags_saved=$CFLAGS
9188 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9190 /* end confdefs.h. */
9191 int main(int argc, char **argv) { return 0; }
9192 _ACEOF
9193 if ac_fn_c_try_link "$LINENO"; then :
9194 eval "$as_ac_var=yes"
9195 else
9196 eval "$as_ac_var=no"
9198 rm -f core conftest.err conftest.$ac_objext \
9199 conftest$ac_exeext conftest.$ac_ext
9200 CFLAGS=$ac_wine_try_cflags_saved
9202 eval ac_res=\$$as_ac_var
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9204 $as_echo "$ac_res" >&6; }
9205 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9206 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9207 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9211 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9212 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9213 $as_echo_n "(cached) " >&6
9214 else
9215 ac_wine_try_cflags_saved=$CFLAGS
9216 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9218 /* end confdefs.h. */
9219 int main(int argc, char **argv) { return 0; }
9220 _ACEOF
9221 if ac_fn_c_try_link "$LINENO"; then :
9222 ac_cv_cflags__Wl___enable_new_dtags=yes
9223 else
9224 ac_cv_cflags__Wl___enable_new_dtags=no
9226 rm -f core conftest.err conftest.$ac_objext \
9227 conftest$ac_exeext conftest.$ac_ext
9228 CFLAGS=$ac_wine_try_cflags_saved
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9231 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9232 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9233 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9236 LIBWINE_SHAREDLIB="libwine.so"
9238 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9240 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9243 $as_echo_n "checking for -lEGL... " >&6; }
9244 if ${ac_cv_lib_soname_EGL+:} false; then :
9245 $as_echo_n "(cached) " >&6
9246 else
9247 ac_check_soname_save_LIBS=$LIBS
9248 LIBS="-lEGL $LIBS"
9249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9250 /* end confdefs.h. */
9252 /* Override any GCC internal prototype to avoid an error.
9253 Use char because int might match the return type of a GCC
9254 builtin and then its argument prototype would still apply. */
9255 #ifdef __cplusplus
9256 extern "C"
9257 #endif
9258 char eglGetProcAddress ();
9260 main ()
9262 return eglGetProcAddress ();
9264 return 0;
9266 _ACEOF
9267 if ac_fn_c_try_link "$LINENO"; then :
9268 case "$LIBEXT" in
9269 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9270 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'` ;;
9271 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9272 if ${ac_cv_lib_soname_EGL:+false} :; then :
9273 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9274 fi ;;
9275 esac
9276 else
9277 ac_cv_lib_soname_EGL=
9279 rm -f core conftest.err conftest.$ac_objext \
9280 conftest$ac_exeext conftest.$ac_ext
9281 LIBS=$ac_check_soname_save_LIBS
9283 if ${ac_cv_lib_soname_EGL:+false} :; then :
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9285 $as_echo "not found" >&6; }
9287 else
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9289 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9291 cat >>confdefs.h <<_ACEOF
9292 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9293 _ACEOF
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9298 $as_echo_n "checking for -lGLESv2... " >&6; }
9299 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9300 $as_echo_n "(cached) " >&6
9301 else
9302 ac_check_soname_save_LIBS=$LIBS
9303 LIBS="-lGLESv2 $LIBS"
9304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9305 /* end confdefs.h. */
9307 /* Override any GCC internal prototype to avoid an error.
9308 Use char because int might match the return type of a GCC
9309 builtin and then its argument prototype would still apply. */
9310 #ifdef __cplusplus
9311 extern "C"
9312 #endif
9313 char glFlush ();
9315 main ()
9317 return glFlush ();
9319 return 0;
9321 _ACEOF
9322 if ac_fn_c_try_link "$LINENO"; then :
9323 case "$LIBEXT" in
9324 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9325 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'` ;;
9326 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9327 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9328 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9329 fi ;;
9330 esac
9331 else
9332 ac_cv_lib_soname_GLESv2=
9334 rm -f core conftest.err conftest.$ac_objext \
9335 conftest$ac_exeext conftest.$ac_ext
9336 LIBS=$ac_check_soname_save_LIBS
9338 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9340 $as_echo "not found" >&6; }
9342 else
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9344 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9346 cat >>confdefs.h <<_ACEOF
9347 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9348 _ACEOF
9353 if test "x$exec_prefix" = xNONE
9354 then
9355 case $host_cpu in
9356 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9357 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9358 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9359 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9360 esac
9365 case $host_cpu in
9366 *i[3456789]86*)
9367 DLLFLAGS="$DLLFLAGS -fno-PIC"
9368 LDDLLFLAGS="-fno-PIC" ;;
9370 DLLFLAGS="$DLLFLAGS -fPIC"
9371 LDDLLFLAGS="-fPIC" ;;
9372 esac
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9374 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9375 if ${ac_cv_c_dll_gnuelf+:} false; then :
9376 $as_echo_n "(cached) " >&6
9377 else
9378 ac_wine_try_cflags_saved=$CFLAGS
9379 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h. */
9382 void myfunc() {}
9383 _ACEOF
9384 if ac_fn_c_try_link "$LINENO"; then :
9385 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9386 else
9387 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9389 rm -f core conftest.err conftest.$ac_objext \
9390 conftest$ac_exeext conftest.$ac_ext
9391 CFLAGS=$ac_wine_try_cflags_saved
9392 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9393 ac_cv_c_dll_gnuelf="yes"
9394 else
9395 ac_cv_c_dll_gnuelf="no"
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9399 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9400 if test "$ac_cv_c_dll_gnuelf" = "yes"
9401 then
9402 LIBWINE_LDFLAGS="-shared"
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9404 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9405 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9406 $as_echo_n "(cached) " >&6
9407 else
9408 ac_wine_try_cflags_saved=$CFLAGS
9409 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9412 int main(int argc, char **argv) { return 0; }
9413 _ACEOF
9414 if ac_fn_c_try_link "$LINENO"; then :
9415 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9416 else
9417 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9419 rm -f core conftest.err conftest.$ac_objext \
9420 conftest$ac_exeext conftest.$ac_ext
9421 CFLAGS=$ac_wine_try_cflags_saved
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9424 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9425 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9426 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9427 else
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9429 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9430 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9431 $as_echo_n "(cached) " >&6
9432 else
9433 ac_wine_try_cflags_saved=$CFLAGS
9434 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9436 /* end confdefs.h. */
9437 int main(int argc, char **argv) { return 0; }
9438 _ACEOF
9439 if ac_fn_c_try_link "$LINENO"; then :
9440 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9441 else
9442 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9444 rm -f core conftest.err conftest.$ac_objext \
9445 conftest$ac_exeext conftest.$ac_ext
9446 CFLAGS=$ac_wine_try_cflags_saved
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9449 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9450 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9451 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9455 echo '{ global: *; };' >conftest.map
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9457 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9458 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9459 $as_echo_n "(cached) " >&6
9460 else
9461 ac_wine_try_cflags_saved=$CFLAGS
9462 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9464 /* end confdefs.h. */
9465 int main(int argc, char **argv) { return 0; }
9466 _ACEOF
9467 if ac_fn_c_try_link "$LINENO"; then :
9468 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9469 else
9470 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9472 rm -f core conftest.err conftest.$ac_objext \
9473 conftest$ac_exeext conftest.$ac_ext
9474 CFLAGS=$ac_wine_try_cflags_saved
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9477 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9478 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9479 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9481 rm -f conftest.map
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9484 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9485 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9486 $as_echo_n "(cached) " >&6
9487 else
9488 ac_wine_try_cflags_saved=$CFLAGS
9489 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9492 int main(int argc, char **argv) { return 0; }
9493 _ACEOF
9494 if ac_fn_c_try_link "$LINENO"; then :
9495 ac_cv_cflags__Wl___export_dynamic=yes
9496 else
9497 ac_cv_cflags__Wl___export_dynamic=no
9499 rm -f core conftest.err conftest.$ac_objext \
9500 conftest$ac_exeext conftest.$ac_ext
9501 CFLAGS=$ac_wine_try_cflags_saved
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9504 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9505 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9506 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9508 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9510 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9512 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9513 if eval \${$as_ac_var+:} false; then :
9514 $as_echo_n "(cached) " >&6
9515 else
9516 ac_wine_try_cflags_saved=$CFLAGS
9517 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9519 /* end confdefs.h. */
9520 int main(int argc, char **argv) { return 0; }
9521 _ACEOF
9522 if ac_fn_c_try_link "$LINENO"; then :
9523 eval "$as_ac_var=yes"
9524 else
9525 eval "$as_ac_var=no"
9527 rm -f core conftest.err conftest.$ac_objext \
9528 conftest$ac_exeext conftest.$ac_ext
9529 CFLAGS=$ac_wine_try_cflags_saved
9531 eval ac_res=\$$as_ac_var
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9533 $as_echo "$ac_res" >&6; }
9534 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9535 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9536 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9537 else
9538 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9540 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9541 if eval \${$as_ac_var+:} false; then :
9542 $as_echo_n "(cached) " >&6
9543 else
9544 ac_wine_try_cflags_saved=$CFLAGS
9545 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9547 /* end confdefs.h. */
9548 int main(int argc, char **argv) { return 0; }
9549 _ACEOF
9550 if ac_fn_c_try_link "$LINENO"; then :
9551 eval "$as_ac_var=yes"
9552 else
9553 eval "$as_ac_var=no"
9555 rm -f core conftest.err conftest.$ac_objext \
9556 conftest$ac_exeext conftest.$ac_ext
9557 CFLAGS=$ac_wine_try_cflags_saved
9559 eval ac_res=\$$as_ac_var
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9561 $as_echo "$ac_res" >&6; }
9562 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9563 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9564 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9569 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9570 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9571 $as_echo_n "(cached) " >&6
9572 else
9573 ac_wine_try_cflags_saved=$CFLAGS
9574 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9576 /* end confdefs.h. */
9577 int main(int argc, char **argv) { return 0; }
9578 _ACEOF
9579 if ac_fn_c_try_link "$LINENO"; then :
9580 ac_cv_cflags__Wl___enable_new_dtags=yes
9581 else
9582 ac_cv_cflags__Wl___enable_new_dtags=no
9584 rm -f core conftest.err conftest.$ac_objext \
9585 conftest$ac_exeext conftest.$ac_ext
9586 CFLAGS=$ac_wine_try_cflags_saved
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9589 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9590 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9591 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9594 case $host_cpu in
9595 *i[3456789]86* | x86_64 | *aarch64*)
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9597 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9598 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9599 $as_echo_n "(cached) " >&6
9600 else
9601 ac_wine_try_cflags_saved=$CFLAGS
9602 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9604 /* end confdefs.h. */
9605 int main(int argc, char **argv) { return 0; }
9606 _ACEOF
9607 if ac_fn_c_try_link "$LINENO"; then :
9608 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9609 else
9610 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9612 rm -f core conftest.err conftest.$ac_objext \
9613 conftest$ac_exeext conftest.$ac_ext
9614 CFLAGS=$ac_wine_try_cflags_saved
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9617 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9618 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9619 case $host_os in
9620 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9621 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9622 esac
9623 else
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9625 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9626 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9627 $as_echo_n "(cached) " >&6
9628 else
9629 ac_wine_try_cflags_saved=$CFLAGS
9630 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9632 /* end confdefs.h. */
9633 int main(int argc, char **argv) { return 0; }
9634 _ACEOF
9635 if ac_fn_c_try_link "$LINENO"; then :
9636 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9637 else
9638 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9640 rm -f core conftest.err conftest.$ac_objext \
9641 conftest$ac_exeext conftest.$ac_ext
9642 CFLAGS=$ac_wine_try_cflags_saved
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9645 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9646 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9647 case $host_os in
9648 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9649 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9650 esac
9652 # Extract the first word of "prelink", so it can be a program name with args.
9653 set dummy prelink; ac_word=$2
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9655 $as_echo_n "checking for $ac_word... " >&6; }
9656 if ${ac_cv_path_PRELINK+:} false; then :
9657 $as_echo_n "(cached) " >&6
9658 else
9659 case $PRELINK in
9660 [\\/]* | ?:[\\/]*)
9661 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9665 for as_dir in /sbin /usr/sbin $PATH
9667 IFS=$as_save_IFS
9668 test -z "$as_dir" && as_dir=.
9669 for ac_exec_ext in '' $ac_executable_extensions; do
9670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9671 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9673 break 2
9675 done
9676 done
9677 IFS=$as_save_IFS
9679 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9681 esac
9683 PRELINK=$ac_cv_path_PRELINK
9684 if test -n "$PRELINK"; then
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9686 $as_echo "$PRELINK" >&6; }
9687 else
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9689 $as_echo "no" >&6; }
9693 if test "x$PRELINK" = xfalse
9694 then
9695 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9699 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9700 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9701 $as_echo_n "(cached) " >&6
9702 else
9703 ac_wine_try_cflags_saved=$CFLAGS
9704 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9706 /* end confdefs.h. */
9707 int main(int argc, char **argv) { return 0; }
9708 _ACEOF
9709 if ac_fn_c_try_link "$LINENO"; then :
9710 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9711 else
9712 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9714 rm -f core conftest.err conftest.$ac_objext \
9715 conftest$ac_exeext conftest.$ac_ext
9716 CFLAGS=$ac_wine_try_cflags_saved
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9719 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9720 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9721 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9724 esac
9726 else
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9728 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9729 if ${ac_cv_c_dll_unixware+:} false; then :
9730 $as_echo_n "(cached) " >&6
9731 else
9732 ac_wine_try_cflags_saved=$CFLAGS
9733 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9735 /* end confdefs.h. */
9736 void myfunc() {}
9737 _ACEOF
9738 if ac_fn_c_try_link "$LINENO"; then :
9739 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9740 else
9741 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9743 rm -f core conftest.err conftest.$ac_objext \
9744 conftest$ac_exeext conftest.$ac_ext
9745 CFLAGS=$ac_wine_try_cflags_saved
9746 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9747 ac_cv_c_dll_unixware="yes"
9748 else
9749 ac_cv_c_dll_unixware="no"
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9753 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9754 if test "$ac_cv_c_dll_unixware" = "yes"
9755 then
9756 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9759 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9761 LIBWINE_DEPENDS="wine.map"
9763 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9764 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9766 esac
9768 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9769 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9770 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9771 enable_winemac_drv=${enable_winemac_drv:-no}
9772 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9775 if test "x$with_mingw" != xno
9776 then
9777 case "x$with_mingw" in
9778 x|xyes) case "$host_cpu" in
9779 aarch64*)
9780 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9781 arm*)
9782 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9783 i[3456789]86*)
9784 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
9785 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9786 mingw32-gcc" ;;
9787 x86_64)
9788 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
9789 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9791 ac_prefix_list="" ;;
9792 esac
9793 for ac_prog in $ac_prefix_list
9795 # Extract the first word of "$ac_prog", so it can be a program name with args.
9796 set dummy $ac_prog; ac_word=$2
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9798 $as_echo_n "checking for $ac_word... " >&6; }
9799 if ${ac_cv_prog_CROSSCC+:} false; then :
9800 $as_echo_n "(cached) " >&6
9801 else
9802 if test -n "$CROSSCC"; then
9803 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9804 else
9805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9806 for as_dir in $PATH
9808 IFS=$as_save_IFS
9809 test -z "$as_dir" && as_dir=.
9810 for ac_exec_ext in '' $ac_executable_extensions; do
9811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9812 ac_cv_prog_CROSSCC="$ac_prog"
9813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9814 break 2
9816 done
9817 done
9818 IFS=$as_save_IFS
9822 CROSSCC=$ac_cv_prog_CROSSCC
9823 if test -n "$CROSSCC"; then
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9825 $as_echo "$CROSSCC" >&6; }
9826 else
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9828 $as_echo "no" >&6; }
9832 test -n "$CROSSCC" && break
9833 done
9834 test -n "$CROSSCC" || CROSSCC="false"
9836 *) CROSSCC=$with_mingw ;;
9837 esac
9838 if test "$CROSSCC" != "false"
9839 then
9840 ac_save_CC="$CC"
9841 saved_CFLAGS=$CFLAGS
9842 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9844 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9848 CC="$CROSSCC"
9849 CFLAGS=$CROSSCFLAGS
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9851 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9852 if ${wine_cv_crosscc+:} false; then :
9853 $as_echo_n "(cached) " >&6
9854 else
9855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9856 /* end confdefs.h. */
9859 main ()
9863 return 0;
9865 _ACEOF
9866 if ac_fn_c_try_compile "$LINENO"; then :
9867 wine_cv_crosscc=yes
9868 else
9869 wine_cv_crosscc=no
9871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9874 $as_echo "$wine_cv_crosscc" >&6; }
9875 if test $wine_cv_crosscc = yes
9876 then
9877 set x $CROSSCC
9878 shift
9879 while test $# -ge 1
9881 case "$1" in
9882 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9883 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9884 esac
9885 shift
9886 done
9888 llvm_target=$CROSSTARGET
9889 llvm_cflags="-fuse-ld=lld"
9890 if test -z "$llvm_target"
9891 then
9892 case $host_cpu in
9893 *i[3456789]86*) llvm_target=i686-windows ;;
9894 *) llvm_target=$host_cpu-windows ;;
9895 esac
9897 case $llvm_target in
9898 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9899 esac
9900 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9902 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9903 if eval \${$as_ac_var+:} false; then :
9904 $as_echo_n "(cached) " >&6
9905 else
9906 ac_wine_try_cflags_saved=$CFLAGS
9907 ac_wine_try_cflags_saved_cc=$CC
9908 ac_wine_try_cflags_saved_exeext=$ac_exeext
9909 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9910 CC="$CROSSCC"
9911 ac_exeext=".exe"
9912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9913 /* end confdefs.h. */
9914 int __cdecl mainCRTStartup(void) { return 0; }
9915 _ACEOF
9916 if ac_fn_c_try_link "$LINENO"; then :
9917 eval "$as_ac_var=yes"
9918 else
9919 eval "$as_ac_var=no"
9921 rm -f core conftest.err conftest.$ac_objext \
9922 conftest$ac_exeext conftest.$ac_ext
9923 CFLAGS=$ac_wine_try_cflags_saved
9924 CC=$ac_wine_try_cflags_saved_cc
9925 ac_exeext=$ac_wine_try_cflags_saved_exeext
9927 eval ac_res=\$$as_ac_var
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9929 $as_echo "$ac_res" >&6; }
9930 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9931 CROSSTARGET=$llvm_target
9932 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9933 DELAYLOADFLAG="-Wl,-delayload,"
9935 CFLAGS="$CFLAGS $llvm_cflags"
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9939 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9940 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9941 $as_echo_n "(cached) " >&6
9942 else
9943 ac_wine_try_cflags_saved=$CFLAGS
9944 ac_wine_try_cflags_saved_cc=$CC
9945 ac_wine_try_cflags_saved_exeext=$ac_exeext
9946 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9947 CC="$CROSSCC"
9948 ac_exeext=".exe"
9949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9950 /* end confdefs.h. */
9951 int __cdecl mainCRTStartup(void) { return 0; }
9952 _ACEOF
9953 if ac_fn_c_try_link "$LINENO"; then :
9954 ac_cv_crosscflags__fno_strict_aliasing=yes
9955 else
9956 ac_cv_crosscflags__fno_strict_aliasing=no
9958 rm -f core conftest.err conftest.$ac_objext \
9959 conftest$ac_exeext conftest.$ac_ext
9960 CFLAGS=$ac_wine_try_cflags_saved
9961 CC=$ac_wine_try_cflags_saved_cc
9962 ac_exeext=$ac_wine_try_cflags_saved_exeext
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9965 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9966 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9967 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9970 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9971 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9972 $as_echo_n "(cached) " >&6
9973 else
9974 ac_wine_try_cflags_saved=$CFLAGS
9975 ac_wine_try_cflags_saved_cc=$CC
9976 ac_wine_try_cflags_saved_exeext=$ac_exeext
9977 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9978 CC="$CROSSCC"
9979 ac_exeext=".exe"
9980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9981 /* end confdefs.h. */
9982 int __cdecl mainCRTStartup(void) { return 0; }
9983 _ACEOF
9984 if ac_fn_c_try_link "$LINENO"; then :
9985 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9986 else
9987 ac_cv_crosscflags__Werror_unknown_warning_option=no
9989 rm -f core conftest.err conftest.$ac_objext \
9990 conftest$ac_exeext conftest.$ac_ext
9991 CFLAGS=$ac_wine_try_cflags_saved
9992 CC=$ac_wine_try_cflags_saved_cc
9993 ac_exeext=$ac_wine_try_cflags_saved_exeext
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9996 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9997 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9998 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10001 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10002 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
10003 $as_echo_n "(cached) " >&6
10004 else
10005 ac_wine_try_cflags_saved=$CFLAGS
10006 ac_wine_try_cflags_saved_cc=$CC
10007 ac_wine_try_cflags_saved_exeext=$ac_exeext
10008 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10009 CC="$CROSSCC"
10010 ac_exeext=".exe"
10011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10012 /* end confdefs.h. */
10013 int __cdecl mainCRTStartup(void) { return 0; }
10014 _ACEOF
10015 if ac_fn_c_try_link "$LINENO"; then :
10016 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10017 else
10018 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10020 rm -f core conftest.err conftest.$ac_objext \
10021 conftest$ac_exeext conftest.$ac_ext
10022 CFLAGS=$ac_wine_try_cflags_saved
10023 CC=$ac_wine_try_cflags_saved_cc
10024 ac_exeext=$ac_wine_try_cflags_saved_exeext
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10027 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10028 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
10029 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10032 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10033 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
10034 $as_echo_n "(cached) " >&6
10035 else
10036 ac_wine_try_cflags_saved=$CFLAGS
10037 ac_wine_try_cflags_saved_cc=$CC
10038 ac_wine_try_cflags_saved_exeext=$ac_exeext
10039 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10040 CC="$CROSSCC"
10041 ac_exeext=".exe"
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10044 int __cdecl mainCRTStartup(void) { return 0; }
10045 _ACEOF
10046 if ac_fn_c_try_link "$LINENO"; then :
10047 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10048 else
10049 ac_cv_crosscflags__Wdeclaration_after_statement=no
10051 rm -f core conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10053 CFLAGS=$ac_wine_try_cflags_saved
10054 CC=$ac_wine_try_cflags_saved_cc
10055 ac_exeext=$ac_wine_try_cflags_saved_exeext
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10058 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10059 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
10060 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10063 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10064 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
10065 $as_echo_n "(cached) " >&6
10066 else
10067 ac_wine_try_cflags_saved=$CFLAGS
10068 ac_wine_try_cflags_saved_cc=$CC
10069 ac_wine_try_cflags_saved_exeext=$ac_exeext
10070 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10071 CC="$CROSSCC"
10072 ac_exeext=".exe"
10073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10074 /* end confdefs.h. */
10075 int __cdecl mainCRTStartup(void) { return 0; }
10076 _ACEOF
10077 if ac_fn_c_try_link "$LINENO"; then :
10078 ac_cv_crosscflags__Wempty_body=yes
10079 else
10080 ac_cv_crosscflags__Wempty_body=no
10082 rm -f core conftest.err conftest.$ac_objext \
10083 conftest$ac_exeext conftest.$ac_ext
10084 CFLAGS=$ac_wine_try_cflags_saved
10085 CC=$ac_wine_try_cflags_saved_cc
10086 ac_exeext=$ac_wine_try_cflags_saved_exeext
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10089 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10090 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10091 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10094 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10095 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10096 $as_echo_n "(cached) " >&6
10097 else
10098 ac_wine_try_cflags_saved=$CFLAGS
10099 ac_wine_try_cflags_saved_cc=$CC
10100 ac_wine_try_cflags_saved_exeext=$ac_exeext
10101 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10102 CC="$CROSSCC"
10103 ac_exeext=".exe"
10104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10105 /* end confdefs.h. */
10106 int __cdecl mainCRTStartup(void) { return 0; }
10107 _ACEOF
10108 if ac_fn_c_try_link "$LINENO"; then :
10109 ac_cv_crosscflags__Wignored_qualifiers=yes
10110 else
10111 ac_cv_crosscflags__Wignored_qualifiers=no
10113 rm -f core conftest.err conftest.$ac_objext \
10114 conftest$ac_exeext conftest.$ac_ext
10115 CFLAGS=$ac_wine_try_cflags_saved
10116 CC=$ac_wine_try_cflags_saved_cc
10117 ac_exeext=$ac_wine_try_cflags_saved_exeext
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10120 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10121 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10122 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10125 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10126 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10127 $as_echo_n "(cached) " >&6
10128 else
10129 ac_wine_try_cflags_saved=$CFLAGS
10130 ac_wine_try_cflags_saved_cc=$CC
10131 ac_wine_try_cflags_saved_exeext=$ac_exeext
10132 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10133 CC="$CROSSCC"
10134 ac_exeext=".exe"
10135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h. */
10137 int __cdecl mainCRTStartup(void) { return 0; }
10138 _ACEOF
10139 if ac_fn_c_try_link "$LINENO"; then :
10140 ac_cv_crosscflags__Wpacked_not_aligned=yes
10141 else
10142 ac_cv_crosscflags__Wpacked_not_aligned=no
10144 rm -f core conftest.err conftest.$ac_objext \
10145 conftest$ac_exeext conftest.$ac_ext
10146 CFLAGS=$ac_wine_try_cflags_saved
10147 CC=$ac_wine_try_cflags_saved_cc
10148 ac_exeext=$ac_wine_try_cflags_saved_exeext
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10151 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10152 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10153 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10156 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10157 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 ac_wine_try_cflags_saved=$CFLAGS
10161 ac_wine_try_cflags_saved_cc=$CC
10162 ac_wine_try_cflags_saved_exeext=$ac_exeext
10163 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10164 CC="$CROSSCC"
10165 ac_exeext=".exe"
10166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10168 int __cdecl mainCRTStartup(void) { return 0; }
10169 _ACEOF
10170 if ac_fn_c_try_link "$LINENO"; then :
10171 ac_cv_crosscflags__Wpragma_pack=yes
10172 else
10173 ac_cv_crosscflags__Wpragma_pack=no
10175 rm -f core conftest.err conftest.$ac_objext \
10176 conftest$ac_exeext conftest.$ac_ext
10177 CFLAGS=$ac_wine_try_cflags_saved
10178 CC=$ac_wine_try_cflags_saved_cc
10179 ac_exeext=$ac_wine_try_cflags_saved_exeext
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10182 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10183 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10184 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10187 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10188 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10189 $as_echo_n "(cached) " >&6
10190 else
10191 ac_wine_try_cflags_saved=$CFLAGS
10192 ac_wine_try_cflags_saved_cc=$CC
10193 ac_wine_try_cflags_saved_exeext=$ac_exeext
10194 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10195 CC="$CROSSCC"
10196 ac_exeext=".exe"
10197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10198 /* end confdefs.h. */
10199 int __cdecl mainCRTStartup(void) { return 0; }
10200 _ACEOF
10201 if ac_fn_c_try_link "$LINENO"; then :
10202 ac_cv_crosscflags__Wshift_overflow_2=yes
10203 else
10204 ac_cv_crosscflags__Wshift_overflow_2=no
10206 rm -f core conftest.err conftest.$ac_objext \
10207 conftest$ac_exeext conftest.$ac_ext
10208 CFLAGS=$ac_wine_try_cflags_saved
10209 CC=$ac_wine_try_cflags_saved_cc
10210 ac_exeext=$ac_wine_try_cflags_saved_exeext
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10213 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10214 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10215 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10218 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10219 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10220 $as_echo_n "(cached) " >&6
10221 else
10222 ac_wine_try_cflags_saved=$CFLAGS
10223 ac_wine_try_cflags_saved_cc=$CC
10224 ac_wine_try_cflags_saved_exeext=$ac_exeext
10225 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10226 CC="$CROSSCC"
10227 ac_exeext=".exe"
10228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10229 /* end confdefs.h. */
10230 int __cdecl mainCRTStartup(void) { return 0; }
10231 _ACEOF
10232 if ac_fn_c_try_link "$LINENO"; then :
10233 ac_cv_crosscflags__Wstrict_prototypes=yes
10234 else
10235 ac_cv_crosscflags__Wstrict_prototypes=no
10237 rm -f core conftest.err conftest.$ac_objext \
10238 conftest$ac_exeext conftest.$ac_ext
10239 CFLAGS=$ac_wine_try_cflags_saved
10240 CC=$ac_wine_try_cflags_saved_cc
10241 ac_exeext=$ac_wine_try_cflags_saved_exeext
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10244 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10245 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10246 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10249 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10250 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10251 $as_echo_n "(cached) " >&6
10252 else
10253 ac_wine_try_cflags_saved=$CFLAGS
10254 ac_wine_try_cflags_saved_cc=$CC
10255 ac_wine_try_cflags_saved_exeext=$ac_exeext
10256 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10257 CC="$CROSSCC"
10258 ac_exeext=".exe"
10259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10260 /* end confdefs.h. */
10261 int __cdecl mainCRTStartup(void) { return 0; }
10262 _ACEOF
10263 if ac_fn_c_try_link "$LINENO"; then :
10264 ac_cv_crosscflags__Wtype_limits=yes
10265 else
10266 ac_cv_crosscflags__Wtype_limits=no
10268 rm -f core conftest.err conftest.$ac_objext \
10269 conftest$ac_exeext conftest.$ac_ext
10270 CFLAGS=$ac_wine_try_cflags_saved
10271 CC=$ac_wine_try_cflags_saved_cc
10272 ac_exeext=$ac_wine_try_cflags_saved_exeext
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10275 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10276 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10277 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10280 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10281 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10282 $as_echo_n "(cached) " >&6
10283 else
10284 ac_wine_try_cflags_saved=$CFLAGS
10285 ac_wine_try_cflags_saved_cc=$CC
10286 ac_wine_try_cflags_saved_exeext=$ac_exeext
10287 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10288 CC="$CROSSCC"
10289 ac_exeext=".exe"
10290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10292 int __cdecl mainCRTStartup(void) { return 0; }
10293 _ACEOF
10294 if ac_fn_c_try_link "$LINENO"; then :
10295 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10296 else
10297 ac_cv_crosscflags__Wunused_but_set_parameter=no
10299 rm -f core conftest.err conftest.$ac_objext \
10300 conftest$ac_exeext conftest.$ac_ext
10301 CFLAGS=$ac_wine_try_cflags_saved
10302 CC=$ac_wine_try_cflags_saved_cc
10303 ac_exeext=$ac_wine_try_cflags_saved_exeext
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10306 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10307 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10308 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10311 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10312 if ${ac_cv_crosscflags__Wvla+:} false; then :
10313 $as_echo_n "(cached) " >&6
10314 else
10315 ac_wine_try_cflags_saved=$CFLAGS
10316 ac_wine_try_cflags_saved_cc=$CC
10317 ac_wine_try_cflags_saved_exeext=$ac_exeext
10318 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10319 CC="$CROSSCC"
10320 ac_exeext=".exe"
10321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10323 int __cdecl mainCRTStartup(void) { return 0; }
10324 _ACEOF
10325 if ac_fn_c_try_link "$LINENO"; then :
10326 ac_cv_crosscflags__Wvla=yes
10327 else
10328 ac_cv_crosscflags__Wvla=no
10330 rm -f core conftest.err conftest.$ac_objext \
10331 conftest$ac_exeext conftest.$ac_ext
10332 CFLAGS=$ac_wine_try_cflags_saved
10333 CC=$ac_wine_try_cflags_saved_cc
10334 ac_exeext=$ac_wine_try_cflags_saved_exeext
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10337 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10338 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10339 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10342 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10343 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10344 $as_echo_n "(cached) " >&6
10345 else
10346 ac_wine_try_cflags_saved=$CFLAGS
10347 ac_wine_try_cflags_saved_cc=$CC
10348 ac_wine_try_cflags_saved_exeext=$ac_exeext
10349 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10350 CC="$CROSSCC"
10351 ac_exeext=".exe"
10352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10353 /* end confdefs.h. */
10354 int __cdecl mainCRTStartup(void) { return 0; }
10355 _ACEOF
10356 if ac_fn_c_try_link "$LINENO"; then :
10357 ac_cv_crosscflags__Wwrite_strings=yes
10358 else
10359 ac_cv_crosscflags__Wwrite_strings=no
10361 rm -f core conftest.err conftest.$ac_objext \
10362 conftest$ac_exeext conftest.$ac_ext
10363 CFLAGS=$ac_wine_try_cflags_saved
10364 CC=$ac_wine_try_cflags_saved_cc
10365 ac_exeext=$ac_wine_try_cflags_saved_exeext
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10368 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10369 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10370 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10373 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10374 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10375 $as_echo_n "(cached) " >&6
10376 else
10377 ac_wine_try_cflags_saved=$CFLAGS
10378 ac_wine_try_cflags_saved_cc=$CC
10379 ac_wine_try_cflags_saved_exeext=$ac_exeext
10380 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10381 CC="$CROSSCC"
10382 ac_exeext=".exe"
10383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10384 /* end confdefs.h. */
10385 int __cdecl mainCRTStartup(void) { return 0; }
10386 _ACEOF
10387 if ac_fn_c_try_link "$LINENO"; then :
10388 ac_cv_crosscflags__Wpointer_arith=yes
10389 else
10390 ac_cv_crosscflags__Wpointer_arith=no
10392 rm -f core conftest.err conftest.$ac_objext \
10393 conftest$ac_exeext conftest.$ac_ext
10394 CFLAGS=$ac_wine_try_cflags_saved
10395 CC=$ac_wine_try_cflags_saved_cc
10396 ac_exeext=$ac_wine_try_cflags_saved_exeext
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10399 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10400 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10401 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10404 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10405 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10406 $as_echo_n "(cached) " >&6
10407 else
10408 ac_wine_try_cflags_saved=$CFLAGS
10409 ac_wine_try_cflags_saved_cc=$CC
10410 ac_wine_try_cflags_saved_exeext=$ac_exeext
10411 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10412 CC="$CROSSCC"
10413 ac_exeext=".exe"
10414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10415 /* end confdefs.h. */
10416 int __cdecl mainCRTStartup(void) { return 0; }
10417 _ACEOF
10418 if ac_fn_c_try_link "$LINENO"; then :
10419 ac_cv_crosscflags__Wlogical_op=yes
10420 else
10421 ac_cv_crosscflags__Wlogical_op=no
10423 rm -f core conftest.err conftest.$ac_objext \
10424 conftest$ac_exeext conftest.$ac_ext
10425 CFLAGS=$ac_wine_try_cflags_saved
10426 CC=$ac_wine_try_cflags_saved_cc
10427 ac_exeext=$ac_wine_try_cflags_saved_exeext
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10430 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10431 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10432 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10435 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10436 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10437 $as_echo_n "(cached) " >&6
10438 else
10439 ac_wine_try_cflags_saved=$CFLAGS
10440 ac_wine_try_cflags_saved_cc=$CC
10441 ac_wine_try_cflags_saved_exeext=$ac_exeext
10442 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10443 CC="$CROSSCC"
10444 ac_exeext=".exe"
10445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10446 /* end confdefs.h. */
10447 int __cdecl mainCRTStartup(void) { return 0; }
10448 _ACEOF
10449 if ac_fn_c_try_link "$LINENO"; then :
10450 ac_cv_crosscflags__Wabsolute_value=yes
10451 else
10452 ac_cv_crosscflags__Wabsolute_value=no
10454 rm -f core conftest.err conftest.$ac_objext \
10455 conftest$ac_exeext conftest.$ac_ext
10456 CFLAGS=$ac_wine_try_cflags_saved
10457 CC=$ac_wine_try_cflags_saved_cc
10458 ac_exeext=$ac_wine_try_cflags_saved_exeext
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10461 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10462 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10463 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10466 case $host_cpu in
10467 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10468 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10469 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10470 $as_echo_n "(cached) " >&6
10471 else
10472 ac_wine_try_cflags_saved=$CFLAGS
10473 ac_wine_try_cflags_saved_cc=$CC
10474 ac_wine_try_cflags_saved_exeext=$ac_exeext
10475 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10476 CC="$CROSSCC"
10477 ac_exeext=".exe"
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10480 int __cdecl mainCRTStartup(void) { return 0; }
10481 _ACEOF
10482 if ac_fn_c_try_link "$LINENO"; then :
10483 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10484 else
10485 ac_cv_crosscflags__fno_omit_frame_pointer=no
10487 rm -f core conftest.err conftest.$ac_objext \
10488 conftest$ac_exeext conftest.$ac_ext
10489 CFLAGS=$ac_wine_try_cflags_saved
10490 CC=$ac_wine_try_cflags_saved_cc
10491 ac_exeext=$ac_wine_try_cflags_saved_exeext
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10494 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10495 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10496 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10497 fi ;;
10498 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10499 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10500 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10501 $as_echo_n "(cached) " >&6
10502 else
10503 ac_wine_try_cflags_saved=$CFLAGS
10504 ac_wine_try_cflags_saved_cc=$CC
10505 ac_wine_try_cflags_saved_exeext=$ac_exeext
10506 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10507 CC="$CROSSCC"
10508 ac_exeext=".exe"
10509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10510 /* end confdefs.h. */
10511 int __cdecl mainCRTStartup(void) { return 0; }
10512 _ACEOF
10513 if ac_fn_c_try_link "$LINENO"; then :
10514 ac_cv_crosscflags__Wno_format=yes
10515 else
10516 ac_cv_crosscflags__Wno_format=no
10518 rm -f core conftest.err conftest.$ac_objext \
10519 conftest$ac_exeext conftest.$ac_ext
10520 CFLAGS=$ac_wine_try_cflags_saved
10521 CC=$ac_wine_try_cflags_saved_cc
10522 ac_exeext=$ac_wine_try_cflags_saved_exeext
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10525 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10526 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10527 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10530 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10531 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10532 $as_echo_n "(cached) " >&6
10533 else
10534 ac_wine_try_cflags_saved=$CFLAGS
10535 ac_wine_try_cflags_saved_cc=$CC
10536 ac_wine_try_cflags_saved_exeext=$ac_exeext
10537 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10538 CC="$CROSSCC"
10539 ac_exeext=".exe"
10540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10541 /* end confdefs.h. */
10542 int __cdecl mainCRTStartup(void) { return 0; }
10543 _ACEOF
10544 if ac_fn_c_try_link "$LINENO"; then :
10545 ac_cv_crosscflags__Wformat_overflow=yes
10546 else
10547 ac_cv_crosscflags__Wformat_overflow=no
10549 rm -f core conftest.err conftest.$ac_objext \
10550 conftest$ac_exeext conftest.$ac_ext
10551 CFLAGS=$ac_wine_try_cflags_saved
10552 CC=$ac_wine_try_cflags_saved_cc
10553 ac_exeext=$ac_wine_try_cflags_saved_exeext
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10556 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10557 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10558 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10561 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10562 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10563 $as_echo_n "(cached) " >&6
10564 else
10565 ac_wine_try_cflags_saved=$CFLAGS
10566 ac_wine_try_cflags_saved_cc=$CC
10567 ac_wine_try_cflags_saved_exeext=$ac_exeext
10568 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10569 CC="$CROSSCC"
10570 ac_exeext=".exe"
10571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10572 /* end confdefs.h. */
10573 int __cdecl mainCRTStartup(void) { return 0; }
10574 _ACEOF
10575 if ac_fn_c_try_link "$LINENO"; then :
10576 ac_cv_crosscflags__Wnonnull=yes
10577 else
10578 ac_cv_crosscflags__Wnonnull=no
10580 rm -f core conftest.err conftest.$ac_objext \
10581 conftest$ac_exeext conftest.$ac_ext
10582 CFLAGS=$ac_wine_try_cflags_saved
10583 CC=$ac_wine_try_cflags_saved_cc
10584 ac_exeext=$ac_wine_try_cflags_saved_exeext
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10587 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10588 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10589 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10592 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10593 if ${ac_cv_crosscflags__mcx16+:} false; then :
10594 $as_echo_n "(cached) " >&6
10595 else
10596 ac_wine_try_cflags_saved=$CFLAGS
10597 ac_wine_try_cflags_saved_cc=$CC
10598 ac_wine_try_cflags_saved_exeext=$ac_exeext
10599 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10600 CC="$CROSSCC"
10601 ac_exeext=".exe"
10602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10603 /* end confdefs.h. */
10604 int __cdecl mainCRTStartup(void) { return 0; }
10605 _ACEOF
10606 if ac_fn_c_try_link "$LINENO"; then :
10607 ac_cv_crosscflags__mcx16=yes
10608 else
10609 ac_cv_crosscflags__mcx16=no
10611 rm -f core conftest.err conftest.$ac_objext \
10612 conftest$ac_exeext conftest.$ac_ext
10613 CFLAGS=$ac_wine_try_cflags_saved
10614 CC=$ac_wine_try_cflags_saved_cc
10615 ac_exeext=$ac_wine_try_cflags_saved_exeext
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10618 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10619 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10620 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10621 fi ;;
10622 esac
10625 if test -z "$CROSSDEBUG"
10626 then
10627 for ac_flag in $CROSSCFLAGS; do
10628 case $ac_flag in
10629 -gdwarf*) CROSSDEBUG=dwarf ;;
10630 -gcodeview) CROSSDEBUG=pdb ;;
10631 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10632 esac
10633 done
10635 case $CROSSDEBUG in
10636 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10637 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10638 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10639 $as_echo_n "(cached) " >&6
10640 else
10641 ac_wine_try_cflags_saved=$CFLAGS
10642 ac_wine_try_cflags_saved_cc=$CC
10643 ac_wine_try_cflags_saved_exeext=$ac_exeext
10644 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10645 CC="$CROSSCC"
10646 ac_exeext=".exe"
10647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10649 int __cdecl mainCRTStartup(void) { return 0; }
10650 _ACEOF
10651 if ac_fn_c_try_link "$LINENO"; then :
10652 ac_cv_crosscflags__gdwarf_2=yes
10653 else
10654 ac_cv_crosscflags__gdwarf_2=no
10656 rm -f core conftest.err conftest.$ac_objext \
10657 conftest$ac_exeext conftest.$ac_ext
10658 CFLAGS=$ac_wine_try_cflags_saved
10659 CC=$ac_wine_try_cflags_saved_cc
10660 ac_exeext=$ac_wine_try_cflags_saved_exeext
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10663 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10664 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10665 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10668 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10669 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10670 $as_echo_n "(cached) " >&6
10671 else
10672 ac_wine_try_cflags_saved=$CFLAGS
10673 ac_wine_try_cflags_saved_cc=$CC
10674 ac_wine_try_cflags_saved_exeext=$ac_exeext
10675 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10676 CC="$CROSSCC"
10677 ac_exeext=".exe"
10678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10679 /* end confdefs.h. */
10680 int __cdecl mainCRTStartup(void) { return 0; }
10681 _ACEOF
10682 if ac_fn_c_try_link "$LINENO"; then :
10683 ac_cv_crosscflags__gstrict_dwarf=yes
10684 else
10685 ac_cv_crosscflags__gstrict_dwarf=no
10687 rm -f core conftest.err conftest.$ac_objext \
10688 conftest$ac_exeext conftest.$ac_ext
10689 CFLAGS=$ac_wine_try_cflags_saved
10690 CC=$ac_wine_try_cflags_saved_cc
10691 ac_exeext=$ac_wine_try_cflags_saved_exeext
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10694 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10695 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10696 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10697 fi ;;
10698 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10699 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10700 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10701 $as_echo_n "(cached) " >&6
10702 else
10703 ac_wine_try_cflags_saved=$CFLAGS
10704 ac_wine_try_cflags_saved_cc=$CC
10705 ac_wine_try_cflags_saved_exeext=$ac_exeext
10706 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10707 CC="$CROSSCC"
10708 ac_exeext=".exe"
10709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10711 int __cdecl mainCRTStartup(void) { return 0; }
10712 _ACEOF
10713 if ac_fn_c_try_link "$LINENO"; then :
10714 ac_cv_crosscflags__gcodeview=yes
10715 else
10716 ac_cv_crosscflags__gcodeview=no
10718 rm -f core conftest.err conftest.$ac_objext \
10719 conftest$ac_exeext conftest.$ac_ext
10720 CFLAGS=$ac_wine_try_cflags_saved
10721 CC=$ac_wine_try_cflags_saved_cc
10722 ac_exeext=$ac_wine_try_cflags_saved_exeext
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10725 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10726 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10727 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10728 fi ;;
10729 esac
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10732 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10733 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10734 $as_echo_n "(cached) " >&6
10735 else
10736 ac_wine_try_cflags_saved=$CFLAGS
10737 ac_wine_try_cflags_saved_cc=$CC
10738 ac_wine_try_cflags_saved_exeext=$ac_exeext
10739 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10740 CC="$CROSSCC"
10741 ac_exeext=".exe"
10742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10743 /* end confdefs.h. */
10744 int __cdecl mainCRTStartup(void) { return 0; }
10745 _ACEOF
10746 if ac_fn_c_try_link "$LINENO"; then :
10747 ac_cv_crosscflags__fexcess_precision_standard=yes
10748 else
10749 ac_cv_crosscflags__fexcess_precision_standard=no
10751 rm -f core conftest.err conftest.$ac_objext \
10752 conftest$ac_exeext conftest.$ac_ext
10753 CFLAGS=$ac_wine_try_cflags_saved
10754 CC=$ac_wine_try_cflags_saved_cc
10755 ac_exeext=$ac_wine_try_cflags_saved_exeext
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10758 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10759 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10760 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10764 if test "x$enable_werror" = "xyes"
10765 then
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10767 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10768 if ${ac_cv_crosscflags__Werror+:} false; then :
10769 $as_echo_n "(cached) " >&6
10770 else
10771 ac_wine_try_cflags_saved=$CFLAGS
10772 ac_wine_try_cflags_saved_cc=$CC
10773 ac_wine_try_cflags_saved_exeext=$ac_exeext
10774 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10775 CC="$CROSSCC"
10776 ac_exeext=".exe"
10777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10778 /* end confdefs.h. */
10779 int __cdecl mainCRTStartup(void) { return 0; }
10780 _ACEOF
10781 if ac_fn_c_try_link "$LINENO"; then :
10782 ac_cv_crosscflags__Werror=yes
10783 else
10784 ac_cv_crosscflags__Werror=no
10786 rm -f core conftest.err conftest.$ac_objext \
10787 conftest$ac_exeext conftest.$ac_ext
10788 CFLAGS=$ac_wine_try_cflags_saved
10789 CC=$ac_wine_try_cflags_saved_cc
10790 ac_exeext=$ac_wine_try_cflags_saved_exeext
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10793 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10794 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10795 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10799 CFLAGS=$saved_CFLAGS
10800 CC="$ac_save_CC"
10803 if test "x$CROSSTARGET" = "x"; then :
10804 case "x$with_mingw" in
10805 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10806 xno) ;;
10807 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10808 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10809 esac
10814 if test "$ac_cv_header_pthread_h" = "yes"
10815 then
10816 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10817 if test "x$ac_cv_func_pthread_create" = xyes; then :
10819 else
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10821 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10822 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10823 $as_echo_n "(cached) " >&6
10824 else
10825 ac_check_lib_save_LIBS=$LIBS
10826 LIBS="-lpthread $LIBS"
10827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10828 /* end confdefs.h. */
10830 /* Override any GCC internal prototype to avoid an error.
10831 Use char because int might match the return type of a GCC
10832 builtin and then its argument prototype would still apply. */
10833 #ifdef __cplusplus
10834 extern "C"
10835 #endif
10836 char pthread_create ();
10838 main ()
10840 return pthread_create ();
10842 return 0;
10844 _ACEOF
10845 if ac_fn_c_try_link "$LINENO"; then :
10846 ac_cv_lib_pthread_pthread_create=yes
10847 else
10848 ac_cv_lib_pthread_pthread_create=no
10850 rm -f core conftest.err conftest.$ac_objext \
10851 conftest$ac_exeext conftest.$ac_ext
10852 LIBS=$ac_check_lib_save_LIBS
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10855 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10856 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10857 PTHREAD_LIBS="-lpthread"
10864 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10865 case "x$with_pthread" in
10866 xno) ;;
10867 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10868 Wine cannot support threads without libpthread.
10869 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10870 esac
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10876 $as_echo_n "checking for X... " >&6; }
10879 # Check whether --with-x was given.
10880 if test "${with_x+set}" = set; then :
10881 withval=$with_x;
10884 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10885 if test "x$with_x" = xno; then
10886 # The user explicitly disabled X.
10887 have_x=disabled
10888 else
10889 case $x_includes,$x_libraries in #(
10890 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10891 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10892 $as_echo_n "(cached) " >&6
10893 else
10894 # One or both of the vars are not set, and there is no cached value.
10895 ac_x_includes=no ac_x_libraries=no
10896 rm -f -r conftest.dir
10897 if mkdir conftest.dir; then
10898 cd conftest.dir
10899 cat >Imakefile <<'_ACEOF'
10900 incroot:
10901 @echo incroot='${INCROOT}'
10902 usrlibdir:
10903 @echo usrlibdir='${USRLIBDIR}'
10904 libdir:
10905 @echo libdir='${LIBDIR}'
10906 _ACEOF
10907 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10908 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10909 for ac_var in incroot usrlibdir libdir; do
10910 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10911 done
10912 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10913 for ac_extension in a so sl dylib la dll; do
10914 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10915 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10916 ac_im_usrlibdir=$ac_im_libdir; break
10918 done
10919 # Screen out bogus values from the imake configuration. They are
10920 # bogus both because they are the default anyway, and because
10921 # using them would break gcc on systems where it needs fixed includes.
10922 case $ac_im_incroot in
10923 /usr/include) ac_x_includes= ;;
10924 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10925 esac
10926 case $ac_im_usrlibdir in
10927 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10928 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10929 esac
10931 cd ..
10932 rm -f -r conftest.dir
10935 # Standard set of common directories for X headers.
10936 # Check X11 before X11Rn because it is often a symlink to the current release.
10937 ac_x_header_dirs='
10938 /usr/X11/include
10939 /usr/X11R7/include
10940 /usr/X11R6/include
10941 /usr/X11R5/include
10942 /usr/X11R4/include
10944 /usr/include/X11
10945 /usr/include/X11R7
10946 /usr/include/X11R6
10947 /usr/include/X11R5
10948 /usr/include/X11R4
10950 /usr/local/X11/include
10951 /usr/local/X11R7/include
10952 /usr/local/X11R6/include
10953 /usr/local/X11R5/include
10954 /usr/local/X11R4/include
10956 /usr/local/include/X11
10957 /usr/local/include/X11R7
10958 /usr/local/include/X11R6
10959 /usr/local/include/X11R5
10960 /usr/local/include/X11R4
10962 /usr/X386/include
10963 /usr/x386/include
10964 /usr/XFree86/include/X11
10966 /usr/include
10967 /usr/local/include
10968 /usr/unsupported/include
10969 /usr/athena/include
10970 /usr/local/x11r5/include
10971 /usr/lpp/Xamples/include
10973 /usr/openwin/include
10974 /usr/openwin/share/include'
10976 if test "$ac_x_includes" = no; then
10977 # Guess where to find include files, by looking for Xlib.h.
10978 # First, try using that file with no special directory specified.
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10981 #include <X11/Xlib.h>
10982 _ACEOF
10983 if ac_fn_c_try_cpp "$LINENO"; then :
10984 # We can compile using X headers with no special include directory.
10985 ac_x_includes=
10986 else
10987 for ac_dir in $ac_x_header_dirs; do
10988 if test -r "$ac_dir/X11/Xlib.h"; then
10989 ac_x_includes=$ac_dir
10990 break
10992 done
10994 rm -f conftest.err conftest.i conftest.$ac_ext
10995 fi # $ac_x_includes = no
10997 if test "$ac_x_libraries" = no; then
10998 # Check for the libraries.
10999 # See if we find them without any special options.
11000 # Don't add to $LIBS permanently.
11001 ac_save_LIBS=$LIBS
11002 LIBS="-lX11 $LIBS"
11003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11004 /* end confdefs.h. */
11005 #include <X11/Xlib.h>
11007 main ()
11009 XrmInitialize ()
11011 return 0;
11013 _ACEOF
11014 if ac_fn_c_try_link "$LINENO"; then :
11015 LIBS=$ac_save_LIBS
11016 # We can link X programs with no special library path.
11017 ac_x_libraries=
11018 else
11019 LIBS=$ac_save_LIBS
11020 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11022 # Don't even attempt the hair of trying to link an X program!
11023 for ac_extension in a so sl dylib la dll; do
11024 if test -r "$ac_dir/libX11.$ac_extension"; then
11025 ac_x_libraries=$ac_dir
11026 break 2
11028 done
11029 done
11031 rm -f core conftest.err conftest.$ac_objext \
11032 conftest$ac_exeext conftest.$ac_ext
11033 fi # $ac_x_libraries = no
11035 case $ac_x_includes,$ac_x_libraries in #(
11036 no,* | *,no | *\'*)
11037 # Didn't find X, or a directory has "'" in its name.
11038 ac_cv_have_x="have_x=no";; #(
11040 # Record where we found X for the cache.
11041 ac_cv_have_x="have_x=yes\
11042 ac_x_includes='$ac_x_includes'\
11043 ac_x_libraries='$ac_x_libraries'"
11044 esac
11046 ;; #(
11047 *) have_x=yes;;
11048 esac
11049 eval "$ac_cv_have_x"
11050 fi # $with_x != no
11052 if test "$have_x" != yes; then
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11054 $as_echo "$have_x" >&6; }
11055 no_x=yes
11056 else
11057 # If each of the values was on the command line, it overrides each guess.
11058 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11059 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11060 # Update the cache value to reflect the command line values.
11061 ac_cv_have_x="have_x=yes\
11062 ac_x_includes='$x_includes'\
11063 ac_x_libraries='$x_libraries'"
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11065 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11068 if test "$no_x" = yes; then
11069 # Not all programs may use this symbol, but it does not hurt to define it.
11071 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11073 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11074 else
11075 if test -n "$x_includes"; then
11076 X_CFLAGS="$X_CFLAGS -I$x_includes"
11079 # It would also be nice to do this for all -L options, not just this one.
11080 if test -n "$x_libraries"; then
11081 X_LIBS="$X_LIBS -L$x_libraries"
11082 # For Solaris; some versions of Sun CC require a space after -R and
11083 # others require no space. Words are not sufficient . . . .
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11085 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11086 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11087 ac_xsave_c_werror_flag=$ac_c_werror_flag
11088 ac_c_werror_flag=yes
11089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11093 main ()
11097 return 0;
11099 _ACEOF
11100 if ac_fn_c_try_link "$LINENO"; then :
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11102 $as_echo "no" >&6; }
11103 X_LIBS="$X_LIBS -R$x_libraries"
11104 else
11105 LIBS="$ac_xsave_LIBS -R $x_libraries"
11106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11107 /* end confdefs.h. */
11110 main ()
11114 return 0;
11116 _ACEOF
11117 if ac_fn_c_try_link "$LINENO"; then :
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11119 $as_echo "yes" >&6; }
11120 X_LIBS="$X_LIBS -R $x_libraries"
11121 else
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11123 $as_echo "neither works" >&6; }
11125 rm -f core conftest.err conftest.$ac_objext \
11126 conftest$ac_exeext conftest.$ac_ext
11128 rm -f core conftest.err conftest.$ac_objext \
11129 conftest$ac_exeext conftest.$ac_ext
11130 ac_c_werror_flag=$ac_xsave_c_werror_flag
11131 LIBS=$ac_xsave_LIBS
11134 # Check for system-dependent libraries X programs must link with.
11135 # Do this before checking for the system-independent R6 libraries
11136 # (-lICE), since we may need -lsocket or whatever for X linking.
11138 if test "$ISC" = yes; then
11139 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11140 else
11141 # Martyn Johnson says this is needed for Ultrix, if the X
11142 # libraries were built with DECnet support. And Karl Berry says
11143 # the Alpha needs dnet_stub (dnet does not exist).
11144 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11146 /* end confdefs.h. */
11148 /* Override any GCC internal prototype to avoid an error.
11149 Use char because int might match the return type of a GCC
11150 builtin and then its argument prototype would still apply. */
11151 #ifdef __cplusplus
11152 extern "C"
11153 #endif
11154 char XOpenDisplay ();
11156 main ()
11158 return XOpenDisplay ();
11160 return 0;
11162 _ACEOF
11163 if ac_fn_c_try_link "$LINENO"; then :
11165 else
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11167 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11168 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11169 $as_echo_n "(cached) " >&6
11170 else
11171 ac_check_lib_save_LIBS=$LIBS
11172 LIBS="-ldnet $LIBS"
11173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11174 /* end confdefs.h. */
11176 /* Override any GCC internal prototype to avoid an error.
11177 Use char because int might match the return type of a GCC
11178 builtin and then its argument prototype would still apply. */
11179 #ifdef __cplusplus
11180 extern "C"
11181 #endif
11182 char dnet_ntoa ();
11184 main ()
11186 return dnet_ntoa ();
11188 return 0;
11190 _ACEOF
11191 if ac_fn_c_try_link "$LINENO"; then :
11192 ac_cv_lib_dnet_dnet_ntoa=yes
11193 else
11194 ac_cv_lib_dnet_dnet_ntoa=no
11196 rm -f core conftest.err conftest.$ac_objext \
11197 conftest$ac_exeext conftest.$ac_ext
11198 LIBS=$ac_check_lib_save_LIBS
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11201 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11202 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11203 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11206 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11208 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11209 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11210 $as_echo_n "(cached) " >&6
11211 else
11212 ac_check_lib_save_LIBS=$LIBS
11213 LIBS="-ldnet_stub $LIBS"
11214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11215 /* end confdefs.h. */
11217 /* Override any GCC internal prototype to avoid an error.
11218 Use char because int might match the return type of a GCC
11219 builtin and then its argument prototype would still apply. */
11220 #ifdef __cplusplus
11221 extern "C"
11222 #endif
11223 char dnet_ntoa ();
11225 main ()
11227 return dnet_ntoa ();
11229 return 0;
11231 _ACEOF
11232 if ac_fn_c_try_link "$LINENO"; then :
11233 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11234 else
11235 ac_cv_lib_dnet_stub_dnet_ntoa=no
11237 rm -f core conftest.err conftest.$ac_objext \
11238 conftest$ac_exeext conftest.$ac_ext
11239 LIBS=$ac_check_lib_save_LIBS
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11242 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11243 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11244 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11249 rm -f core conftest.err conftest.$ac_objext \
11250 conftest$ac_exeext conftest.$ac_ext
11251 LIBS="$ac_xsave_LIBS"
11253 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11254 # to get the SysV transport functions.
11255 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11256 # needs -lnsl.
11257 # The nsl library prevents programs from opening the X display
11258 # on Irix 5.2, according to T.E. Dickey.
11259 # The functions gethostbyname, getservbyname, and inet_addr are
11260 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11261 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11262 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11266 if test $ac_cv_func_gethostbyname = no; then
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11268 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11269 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11270 $as_echo_n "(cached) " >&6
11271 else
11272 ac_check_lib_save_LIBS=$LIBS
11273 LIBS="-lnsl $LIBS"
11274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11275 /* end confdefs.h. */
11277 /* Override any GCC internal prototype to avoid an error.
11278 Use char because int might match the return type of a GCC
11279 builtin and then its argument prototype would still apply. */
11280 #ifdef __cplusplus
11281 extern "C"
11282 #endif
11283 char gethostbyname ();
11285 main ()
11287 return gethostbyname ();
11289 return 0;
11291 _ACEOF
11292 if ac_fn_c_try_link "$LINENO"; then :
11293 ac_cv_lib_nsl_gethostbyname=yes
11294 else
11295 ac_cv_lib_nsl_gethostbyname=no
11297 rm -f core conftest.err conftest.$ac_objext \
11298 conftest$ac_exeext conftest.$ac_ext
11299 LIBS=$ac_check_lib_save_LIBS
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11302 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11303 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11304 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11307 if test $ac_cv_lib_nsl_gethostbyname = no; then
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11309 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11310 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11311 $as_echo_n "(cached) " >&6
11312 else
11313 ac_check_lib_save_LIBS=$LIBS
11314 LIBS="-lbsd $LIBS"
11315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11318 /* Override any GCC internal prototype to avoid an error.
11319 Use char because int might match the return type of a GCC
11320 builtin and then its argument prototype would still apply. */
11321 #ifdef __cplusplus
11322 extern "C"
11323 #endif
11324 char gethostbyname ();
11326 main ()
11328 return gethostbyname ();
11330 return 0;
11332 _ACEOF
11333 if ac_fn_c_try_link "$LINENO"; then :
11334 ac_cv_lib_bsd_gethostbyname=yes
11335 else
11336 ac_cv_lib_bsd_gethostbyname=no
11338 rm -f core conftest.err conftest.$ac_objext \
11339 conftest$ac_exeext conftest.$ac_ext
11340 LIBS=$ac_check_lib_save_LIBS
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11343 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11344 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11345 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11351 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11352 # socket/setsockopt and other routines are undefined under SCO ODT
11353 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11354 # on later versions), says Simon Leinen: it contains gethostby*
11355 # variants that don't use the name server (or something). -lsocket
11356 # must be given before -lnsl if both are needed. We assume that
11357 # if connect needs -lnsl, so does gethostbyname.
11358 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11359 if test "x$ac_cv_func_connect" = xyes; then :
11363 if test $ac_cv_func_connect = no; then
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11365 $as_echo_n "checking for connect in -lsocket... " >&6; }
11366 if ${ac_cv_lib_socket_connect+:} false; then :
11367 $as_echo_n "(cached) " >&6
11368 else
11369 ac_check_lib_save_LIBS=$LIBS
11370 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11377 #ifdef __cplusplus
11378 extern "C"
11379 #endif
11380 char connect ();
11382 main ()
11384 return connect ();
11386 return 0;
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"; then :
11390 ac_cv_lib_socket_connect=yes
11391 else
11392 ac_cv_lib_socket_connect=no
11394 rm -f core conftest.err conftest.$ac_objext \
11395 conftest$ac_exeext conftest.$ac_ext
11396 LIBS=$ac_check_lib_save_LIBS
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11399 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11400 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11401 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11406 # Guillermo Gomez says -lposix is necessary on A/UX.
11407 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11408 if test "x$ac_cv_func_remove" = xyes; then :
11412 if test $ac_cv_func_remove = no; then
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11414 $as_echo_n "checking for remove in -lposix... " >&6; }
11415 if ${ac_cv_lib_posix_remove+:} false; then :
11416 $as_echo_n "(cached) " >&6
11417 else
11418 ac_check_lib_save_LIBS=$LIBS
11419 LIBS="-lposix $LIBS"
11420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11421 /* end confdefs.h. */
11423 /* Override any GCC internal prototype to avoid an error.
11424 Use char because int might match the return type of a GCC
11425 builtin and then its argument prototype would still apply. */
11426 #ifdef __cplusplus
11427 extern "C"
11428 #endif
11429 char remove ();
11431 main ()
11433 return remove ();
11435 return 0;
11437 _ACEOF
11438 if ac_fn_c_try_link "$LINENO"; then :
11439 ac_cv_lib_posix_remove=yes
11440 else
11441 ac_cv_lib_posix_remove=no
11443 rm -f core conftest.err conftest.$ac_objext \
11444 conftest$ac_exeext conftest.$ac_ext
11445 LIBS=$ac_check_lib_save_LIBS
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11448 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11449 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11455 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11456 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11457 if test "x$ac_cv_func_shmat" = xyes; then :
11461 if test $ac_cv_func_shmat = no; then
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11463 $as_echo_n "checking for shmat in -lipc... " >&6; }
11464 if ${ac_cv_lib_ipc_shmat+:} false; then :
11465 $as_echo_n "(cached) " >&6
11466 else
11467 ac_check_lib_save_LIBS=$LIBS
11468 LIBS="-lipc $LIBS"
11469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h. */
11472 /* Override any GCC internal prototype to avoid an error.
11473 Use char because int might match the return type of a GCC
11474 builtin and then its argument prototype would still apply. */
11475 #ifdef __cplusplus
11476 extern "C"
11477 #endif
11478 char shmat ();
11480 main ()
11482 return shmat ();
11484 return 0;
11486 _ACEOF
11487 if ac_fn_c_try_link "$LINENO"; then :
11488 ac_cv_lib_ipc_shmat=yes
11489 else
11490 ac_cv_lib_ipc_shmat=no
11492 rm -f core conftest.err conftest.$ac_objext \
11493 conftest$ac_exeext conftest.$ac_ext
11494 LIBS=$ac_check_lib_save_LIBS
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11497 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11498 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11499 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11505 # Check for libraries that X11R6 Xt/Xaw programs need.
11506 ac_save_LDFLAGS=$LDFLAGS
11507 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11508 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11509 # check for ICE first), but we must link in the order -lSM -lICE or
11510 # we get undefined symbols. So assume we have SM if we have ICE.
11511 # These have to be linked with before -lX11, unlike the other
11512 # libraries we check for below, so use a different variable.
11513 # John Interrante, Karl Berry
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11515 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11516 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11517 $as_echo_n "(cached) " >&6
11518 else
11519 ac_check_lib_save_LIBS=$LIBS
11520 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11522 /* end confdefs.h. */
11524 /* Override any GCC internal prototype to avoid an error.
11525 Use char because int might match the return type of a GCC
11526 builtin and then its argument prototype would still apply. */
11527 #ifdef __cplusplus
11528 extern "C"
11529 #endif
11530 char IceConnectionNumber ();
11532 main ()
11534 return IceConnectionNumber ();
11536 return 0;
11538 _ACEOF
11539 if ac_fn_c_try_link "$LINENO"; then :
11540 ac_cv_lib_ICE_IceConnectionNumber=yes
11541 else
11542 ac_cv_lib_ICE_IceConnectionNumber=no
11544 rm -f core conftest.err conftest.$ac_objext \
11545 conftest$ac_exeext conftest.$ac_ext
11546 LIBS=$ac_check_lib_save_LIBS
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11549 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11550 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11551 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11554 LDFLAGS=$ac_save_LDFLAGS
11559 if test "$have_x" = "yes"
11560 then
11561 ac_save_CPPFLAGS="$CPPFLAGS"
11562 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11565 $as_echo_n "checking for -lX11... " >&6; }
11566 if ${ac_cv_lib_soname_X11+:} false; then :
11567 $as_echo_n "(cached) " >&6
11568 else
11569 ac_check_soname_save_LIBS=$LIBS
11570 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11574 /* Override any GCC internal prototype to avoid an error.
11575 Use char because int might match the return type of a GCC
11576 builtin and then its argument prototype would still apply. */
11577 #ifdef __cplusplus
11578 extern "C"
11579 #endif
11580 char XCreateWindow ();
11582 main ()
11584 return XCreateWindow ();
11586 return 0;
11588 _ACEOF
11589 if ac_fn_c_try_link "$LINENO"; then :
11590 case "$LIBEXT" in
11591 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11592 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'` ;;
11593 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11594 if ${ac_cv_lib_soname_X11:+false} :; then :
11595 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11596 fi ;;
11597 esac
11598 else
11599 ac_cv_lib_soname_X11=
11601 rm -f core conftest.err conftest.$ac_objext \
11602 conftest$ac_exeext conftest.$ac_ext
11603 LIBS=$ac_check_soname_save_LIBS
11605 if ${ac_cv_lib_soname_X11:+false} :; then :
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11607 $as_echo "not found" >&6; }
11609 else
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11611 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11613 cat >>confdefs.h <<_ACEOF
11614 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11615 _ACEOF
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11620 $as_echo_n "checking for -lXext... " >&6; }
11621 if ${ac_cv_lib_soname_Xext+:} false; then :
11622 $as_echo_n "(cached) " >&6
11623 else
11624 ac_check_soname_save_LIBS=$LIBS
11625 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11627 /* end confdefs.h. */
11629 /* Override any GCC internal prototype to avoid an error.
11630 Use char because int might match the return type of a GCC
11631 builtin and then its argument prototype would still apply. */
11632 #ifdef __cplusplus
11633 extern "C"
11634 #endif
11635 char XextCreateExtension ();
11637 main ()
11639 return XextCreateExtension ();
11641 return 0;
11643 _ACEOF
11644 if ac_fn_c_try_link "$LINENO"; then :
11645 case "$LIBEXT" in
11646 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11647 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'` ;;
11648 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11649 if ${ac_cv_lib_soname_Xext:+false} :; then :
11650 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11651 fi ;;
11652 esac
11653 else
11654 ac_cv_lib_soname_Xext=
11656 rm -f core conftest.err conftest.$ac_objext \
11657 conftest$ac_exeext conftest.$ac_ext
11658 LIBS=$ac_check_soname_save_LIBS
11660 if ${ac_cv_lib_soname_Xext:+false} :; then :
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11662 $as_echo "not found" >&6; }
11664 else
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11666 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11668 cat >>confdefs.h <<_ACEOF
11669 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11670 _ACEOF
11672 X_LIBS="$X_LIBS -lXext"
11674 X_LIBS="$X_LIBS -lX11"
11676 for ac_header in X11/Xlib.h \
11677 X11/XKBlib.h \
11678 X11/Xutil.h \
11679 X11/Xcursor/Xcursor.h \
11680 X11/extensions/shape.h \
11681 X11/extensions/XInput.h \
11682 X11/extensions/XInput2.h \
11683 X11/extensions/XShm.h \
11684 X11/extensions/Xcomposite.h \
11685 X11/extensions/Xfixes.h \
11686 X11/extensions/Xinerama.h \
11687 X11/extensions/Xrandr.h \
11688 X11/extensions/Xrender.h \
11689 X11/extensions/xf86vmode.h \
11690 X11/extensions/xf86vmproto.h
11691 do :
11692 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11693 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11694 # include <X11/Xlib.h>
11695 #endif
11696 #ifdef HAVE_X11_XUTIL_H
11697 # include <X11/Xutil.h>
11698 #endif
11700 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11701 cat >>confdefs.h <<_ACEOF
11702 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11703 _ACEOF
11707 done
11710 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11711 then
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11713 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11714 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11715 $as_echo_n "(cached) " >&6
11716 else
11717 ac_check_lib_save_LIBS=$LIBS
11718 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11720 /* end confdefs.h. */
11722 /* Override any GCC internal prototype to avoid an error.
11723 Use char because int might match the return type of a GCC
11724 builtin and then its argument prototype would still apply. */
11725 #ifdef __cplusplus
11726 extern "C"
11727 #endif
11728 char XkbQueryExtension ();
11730 main ()
11732 return XkbQueryExtension ();
11734 return 0;
11736 _ACEOF
11737 if ac_fn_c_try_link "$LINENO"; then :
11738 ac_cv_lib_X11_XkbQueryExtension=yes
11739 else
11740 ac_cv_lib_X11_XkbQueryExtension=no
11742 rm -f core conftest.err conftest.$ac_objext \
11743 conftest$ac_exeext conftest.$ac_ext
11744 LIBS=$ac_check_lib_save_LIBS
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11747 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11748 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11750 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11756 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11757 then
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11759 $as_echo_n "checking for -lXcursor... " >&6; }
11760 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11761 $as_echo_n "(cached) " >&6
11762 else
11763 ac_check_soname_save_LIBS=$LIBS
11764 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11766 /* end confdefs.h. */
11768 /* Override any GCC internal prototype to avoid an error.
11769 Use char because int might match the return type of a GCC
11770 builtin and then its argument prototype would still apply. */
11771 #ifdef __cplusplus
11772 extern "C"
11773 #endif
11774 char XcursorImageLoadCursor ();
11776 main ()
11778 return XcursorImageLoadCursor ();
11780 return 0;
11782 _ACEOF
11783 if ac_fn_c_try_link "$LINENO"; then :
11784 case "$LIBEXT" in
11785 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11786 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'` ;;
11787 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11788 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11789 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11790 fi ;;
11791 esac
11792 else
11793 ac_cv_lib_soname_Xcursor=
11795 rm -f core conftest.err conftest.$ac_objext \
11796 conftest$ac_exeext conftest.$ac_ext
11797 LIBS=$ac_check_soname_save_LIBS
11799 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11801 $as_echo "not found" >&6; }
11803 else
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11805 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11807 cat >>confdefs.h <<_ACEOF
11808 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11809 _ACEOF
11814 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11815 case "x$with_xcursor" in
11816 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11817 xno) ;;
11818 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11819 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11820 esac
11824 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11825 then
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11827 $as_echo_n "checking for -lXi... " >&6; }
11828 if ${ac_cv_lib_soname_Xi+:} false; then :
11829 $as_echo_n "(cached) " >&6
11830 else
11831 ac_check_soname_save_LIBS=$LIBS
11832 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11836 /* Override any GCC internal prototype to avoid an error.
11837 Use char because int might match the return type of a GCC
11838 builtin and then its argument prototype would still apply. */
11839 #ifdef __cplusplus
11840 extern "C"
11841 #endif
11842 char XOpenDevice ();
11844 main ()
11846 return XOpenDevice ();
11848 return 0;
11850 _ACEOF
11851 if ac_fn_c_try_link "$LINENO"; then :
11852 case "$LIBEXT" in
11853 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11854 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'` ;;
11855 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11856 if ${ac_cv_lib_soname_Xi:+false} :; then :
11857 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11858 fi ;;
11859 esac
11860 else
11861 ac_cv_lib_soname_Xi=
11863 rm -f core conftest.err conftest.$ac_objext \
11864 conftest$ac_exeext conftest.$ac_ext
11865 LIBS=$ac_check_soname_save_LIBS
11867 if ${ac_cv_lib_soname_Xi:+false} :; then :
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11869 $as_echo "not found" >&6; }
11871 else
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11873 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11875 cat >>confdefs.h <<_ACEOF
11876 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11877 _ACEOF
11882 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11883 case "x$with_xinput" in
11884 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11885 xno) ;;
11886 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11887 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11888 esac
11892 if test "x$ac_cv_lib_soname_Xi" != x
11893 then
11894 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11895 case "x$with_xinput2" in
11896 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11897 xno) ;;
11898 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11899 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11900 esac
11905 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11906 then
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11908 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11909 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11910 $as_echo_n "(cached) " >&6
11911 else
11912 ac_check_lib_save_LIBS=$LIBS
11913 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11915 /* end confdefs.h. */
11917 /* Override any GCC internal prototype to avoid an error.
11918 Use char because int might match the return type of a GCC
11919 builtin and then its argument prototype would still apply. */
11920 #ifdef __cplusplus
11921 extern "C"
11922 #endif
11923 char XShmQueryExtension ();
11925 main ()
11927 return XShmQueryExtension ();
11929 return 0;
11931 _ACEOF
11932 if ac_fn_c_try_link "$LINENO"; then :
11933 ac_cv_lib_Xext_XShmQueryExtension=yes
11934 else
11935 ac_cv_lib_Xext_XShmQueryExtension=no
11937 rm -f core conftest.err conftest.$ac_objext \
11938 conftest$ac_exeext conftest.$ac_ext
11939 LIBS=$ac_check_lib_save_LIBS
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11942 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11943 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11945 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11950 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11951 case "x$with_xshm" in
11952 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11953 xno) ;;
11954 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11955 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11956 esac
11960 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11961 then
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11963 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11964 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11965 $as_echo_n "(cached) " >&6
11966 else
11967 ac_check_lib_save_LIBS=$LIBS
11968 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11972 /* Override any GCC internal prototype to avoid an error.
11973 Use char because int might match the return type of a GCC
11974 builtin and then its argument prototype would still apply. */
11975 #ifdef __cplusplus
11976 extern "C"
11977 #endif
11978 char XShapeQueryExtension ();
11980 main ()
11982 return XShapeQueryExtension ();
11984 return 0;
11986 _ACEOF
11987 if ac_fn_c_try_link "$LINENO"; then :
11988 ac_cv_lib_Xext_XShapeQueryExtension=yes
11989 else
11990 ac_cv_lib_Xext_XShapeQueryExtension=no
11992 rm -f core conftest.err conftest.$ac_objext \
11993 conftest$ac_exeext conftest.$ac_ext
11994 LIBS=$ac_check_lib_save_LIBS
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11997 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11998 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
12000 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
12005 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
12006 case "x$with_xshape" in
12007 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
12008 xno) ;;
12009 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
12010 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
12011 esac
12015 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
12016 then
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
12018 $as_echo_n "checking for -lXxf86vm... " >&6; }
12019 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
12020 $as_echo_n "(cached) " >&6
12021 else
12022 ac_check_soname_save_LIBS=$LIBS
12023 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12027 /* Override any GCC internal prototype to avoid an error.
12028 Use char because int might match the return type of a GCC
12029 builtin and then its argument prototype would still apply. */
12030 #ifdef __cplusplus
12031 extern "C"
12032 #endif
12033 char XF86VidModeQueryExtension ();
12035 main ()
12037 return XF86VidModeQueryExtension ();
12039 return 0;
12041 _ACEOF
12042 if ac_fn_c_try_link "$LINENO"; then :
12043 case "$LIBEXT" in
12044 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12045 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'` ;;
12046 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12047 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12048 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12049 fi ;;
12050 esac
12051 else
12052 ac_cv_lib_soname_Xxf86vm=
12054 rm -f core conftest.err conftest.$ac_objext \
12055 conftest$ac_exeext conftest.$ac_ext
12056 LIBS=$ac_check_soname_save_LIBS
12058 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12060 $as_echo "not found" >&6; }
12062 else
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12064 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12066 cat >>confdefs.h <<_ACEOF
12067 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12068 _ACEOF
12073 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12074 case "x$with_xxf86vm" in
12075 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12076 xno) ;;
12077 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12078 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12079 esac
12083 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12084 then
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12086 $as_echo_n "checking for -lXrender... " >&6; }
12087 if ${ac_cv_lib_soname_Xrender+:} false; then :
12088 $as_echo_n "(cached) " >&6
12089 else
12090 ac_check_soname_save_LIBS=$LIBS
12091 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12095 /* Override any GCC internal prototype to avoid an error.
12096 Use char because int might match the return type of a GCC
12097 builtin and then its argument prototype would still apply. */
12098 #ifdef __cplusplus
12099 extern "C"
12100 #endif
12101 char XRenderQueryExtension ();
12103 main ()
12105 return XRenderQueryExtension ();
12107 return 0;
12109 _ACEOF
12110 if ac_fn_c_try_link "$LINENO"; then :
12111 case "$LIBEXT" in
12112 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12113 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'` ;;
12114 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12115 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12116 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12117 fi ;;
12118 esac
12119 else
12120 ac_cv_lib_soname_Xrender=
12122 rm -f core conftest.err conftest.$ac_objext \
12123 conftest$ac_exeext conftest.$ac_ext
12124 LIBS=$ac_check_soname_save_LIBS
12126 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12128 $as_echo "not found" >&6; }
12130 else
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12132 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12134 cat >>confdefs.h <<_ACEOF
12135 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12136 _ACEOF
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12139 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12140 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12141 $as_echo_n "(cached) " >&6
12142 else
12143 ac_check_lib_save_LIBS=$LIBS
12144 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12148 /* Override any GCC internal prototype to avoid an error.
12149 Use char because int might match the return type of a GCC
12150 builtin and then its argument prototype would still apply. */
12151 #ifdef __cplusplus
12152 extern "C"
12153 #endif
12154 char XRenderSetPictureTransform ();
12156 main ()
12158 return XRenderSetPictureTransform ();
12160 return 0;
12162 _ACEOF
12163 if ac_fn_c_try_link "$LINENO"; then :
12164 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12165 else
12166 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12168 rm -f core conftest.err conftest.$ac_objext \
12169 conftest$ac_exeext conftest.$ac_ext
12170 LIBS=$ac_check_lib_save_LIBS
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12173 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12174 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12176 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12181 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12182 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12183 $as_echo_n "(cached) " >&6
12184 else
12185 ac_check_lib_save_LIBS=$LIBS
12186 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12190 /* Override any GCC internal prototype to avoid an error.
12191 Use char because int might match the return type of a GCC
12192 builtin and then its argument prototype would still apply. */
12193 #ifdef __cplusplus
12194 extern "C"
12195 #endif
12196 char XRenderCreateLinearGradient ();
12198 main ()
12200 return XRenderCreateLinearGradient ();
12202 return 0;
12204 _ACEOF
12205 if ac_fn_c_try_link "$LINENO"; then :
12206 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12207 else
12208 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12210 rm -f core conftest.err conftest.$ac_objext \
12211 conftest$ac_exeext conftest.$ac_ext
12212 LIBS=$ac_check_lib_save_LIBS
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12215 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12216 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12218 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12225 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12226 case "x$with_xrender" in
12227 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12228 xno) ;;
12229 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12230 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12231 esac
12235 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12236 then
12237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12238 /* end confdefs.h. */
12239 #include <X11/Xlib.h>
12240 #include <X11/extensions/Xrandr.h>
12242 main ()
12244 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12246 return 0;
12248 _ACEOF
12249 if ac_fn_c_try_compile "$LINENO"; then :
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12251 $as_echo_n "checking for -lXrandr... " >&6; }
12252 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12253 $as_echo_n "(cached) " >&6
12254 else
12255 ac_check_soname_save_LIBS=$LIBS
12256 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12258 /* end confdefs.h. */
12260 /* Override any GCC internal prototype to avoid an error.
12261 Use char because int might match the return type of a GCC
12262 builtin and then its argument prototype would still apply. */
12263 #ifdef __cplusplus
12264 extern "C"
12265 #endif
12266 char XRRQueryExtension ();
12268 main ()
12270 return XRRQueryExtension ();
12272 return 0;
12274 _ACEOF
12275 if ac_fn_c_try_link "$LINENO"; then :
12276 case "$LIBEXT" in
12277 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12278 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'` ;;
12279 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12280 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12281 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12282 fi ;;
12283 esac
12284 else
12285 ac_cv_lib_soname_Xrandr=
12287 rm -f core conftest.err conftest.$ac_objext \
12288 conftest$ac_exeext conftest.$ac_ext
12289 LIBS=$ac_check_soname_save_LIBS
12291 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12293 $as_echo "not found" >&6; }
12295 else
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12297 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12299 cat >>confdefs.h <<_ACEOF
12300 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12301 _ACEOF
12303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12304 /* end confdefs.h. */
12305 #include <X11/Xlib.h>
12306 #include <X11/extensions/Xrandr.h>
12308 main ()
12310 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12312 return 0;
12314 _ACEOF
12315 if ac_fn_c_try_compile "$LINENO"; then :
12317 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12319 else
12320 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12327 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12328 case "x$with_xrandr" in
12329 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12330 xno) ;;
12331 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12332 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12333 esac
12337 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12338 then
12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h. */
12341 #include <X11/Xlib.h>
12342 #include <X11/extensions/Xfixes.h>
12344 main ()
12346 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12348 return 0;
12350 _ACEOF
12351 if ac_fn_c_try_compile "$LINENO"; then :
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12353 $as_echo_n "checking for -lXfixes... " >&6; }
12354 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12355 $as_echo_n "(cached) " >&6
12356 else
12357 ac_check_soname_save_LIBS=$LIBS
12358 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12362 /* Override any GCC internal prototype to avoid an error.
12363 Use char because int might match the return type of a GCC
12364 builtin and then its argument prototype would still apply. */
12365 #ifdef __cplusplus
12366 extern "C"
12367 #endif
12368 char XFixesQueryVersion ();
12370 main ()
12372 return XFixesQueryVersion ();
12374 return 0;
12376 _ACEOF
12377 if ac_fn_c_try_link "$LINENO"; then :
12378 case "$LIBEXT" in
12379 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12380 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'` ;;
12381 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12382 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12383 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12384 fi ;;
12385 esac
12386 else
12387 ac_cv_lib_soname_Xfixes=
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 LIBS=$ac_check_soname_save_LIBS
12393 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12395 $as_echo "not found" >&6; }
12397 else
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12399 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12401 cat >>confdefs.h <<_ACEOF
12402 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12403 _ACEOF
12408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12410 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12411 case "x$with_xfixes" in
12412 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12413 xno) ;;
12414 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12415 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12416 esac
12420 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12421 then
12422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12424 #include <X11/Xlib.h>
12425 #include <X11/extensions/Xinerama.h>
12427 main ()
12429 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12431 return 0;
12433 _ACEOF
12434 if ac_fn_c_try_compile "$LINENO"; then :
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12436 $as_echo_n "checking for -lXinerama... " >&6; }
12437 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12438 $as_echo_n "(cached) " >&6
12439 else
12440 ac_check_soname_save_LIBS=$LIBS
12441 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12443 /* end confdefs.h. */
12445 /* Override any GCC internal prototype to avoid an error.
12446 Use char because int might match the return type of a GCC
12447 builtin and then its argument prototype would still apply. */
12448 #ifdef __cplusplus
12449 extern "C"
12450 #endif
12451 char XineramaQueryScreens ();
12453 main ()
12455 return XineramaQueryScreens ();
12457 return 0;
12459 _ACEOF
12460 if ac_fn_c_try_link "$LINENO"; then :
12461 case "$LIBEXT" in
12462 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12463 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'` ;;
12464 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12465 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12466 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12467 fi ;;
12468 esac
12469 else
12470 ac_cv_lib_soname_Xinerama=
12472 rm -f core conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12474 LIBS=$ac_check_soname_save_LIBS
12476 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12478 $as_echo "not found" >&6; }
12480 else
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12482 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12484 cat >>confdefs.h <<_ACEOF
12485 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12486 _ACEOF
12491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12493 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12494 case "x$with_xinerama" in
12495 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12496 xno) ;;
12497 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12498 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12499 esac
12503 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12504 then
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12506 $as_echo_n "checking for -lXcomposite... " >&6; }
12507 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12508 $as_echo_n "(cached) " >&6
12509 else
12510 ac_check_soname_save_LIBS=$LIBS
12511 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12515 /* Override any GCC internal prototype to avoid an error.
12516 Use char because int might match the return type of a GCC
12517 builtin and then its argument prototype would still apply. */
12518 #ifdef __cplusplus
12519 extern "C"
12520 #endif
12521 char XCompositeRedirectWindow ();
12523 main ()
12525 return XCompositeRedirectWindow ();
12527 return 0;
12529 _ACEOF
12530 if ac_fn_c_try_link "$LINENO"; then :
12531 case "$LIBEXT" in
12532 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12533 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'` ;;
12534 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12535 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12536 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12537 fi ;;
12538 esac
12539 else
12540 ac_cv_lib_soname_Xcomposite=
12542 rm -f core conftest.err conftest.$ac_objext \
12543 conftest$ac_exeext conftest.$ac_ext
12544 LIBS=$ac_check_soname_save_LIBS
12546 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12548 $as_echo "not found" >&6; }
12550 else
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12552 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12554 cat >>confdefs.h <<_ACEOF
12555 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12556 _ACEOF
12561 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12562 case "x$with_xcomposite" in
12563 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12564 xno) ;;
12565 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12566 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12567 esac
12571 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12572 #include <X11/Xlib.h>
12573 #endif
12575 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12577 cat >>confdefs.h <<_ACEOF
12578 #define HAVE_XICCALLBACK_CALLBACK 1
12579 _ACEOF
12583 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12584 #include <X11/Xlib.h>
12585 #endif
12587 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12589 cat >>confdefs.h <<_ACEOF
12590 #define HAVE_XEVENT_XCOOKIE 1
12591 _ACEOF
12598 opengl_msg=""
12599 if test "x$with_opengl" != "xno"
12600 then
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12602 $as_echo_n "checking for -lGL... " >&6; }
12603 if ${ac_cv_lib_soname_GL+:} false; then :
12604 $as_echo_n "(cached) " >&6
12605 else
12606 ac_check_soname_save_LIBS=$LIBS
12607 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12609 /* end confdefs.h. */
12611 /* Override any GCC internal prototype to avoid an error.
12612 Use char because int might match the return type of a GCC
12613 builtin and then its argument prototype would still apply. */
12614 #ifdef __cplusplus
12615 extern "C"
12616 #endif
12617 char glXCreateContext ();
12619 main ()
12621 return glXCreateContext ();
12623 return 0;
12625 _ACEOF
12626 if ac_fn_c_try_link "$LINENO"; then :
12627 case "$LIBEXT" in
12628 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12629 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'` ;;
12630 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12631 if ${ac_cv_lib_soname_GL:+false} :; then :
12632 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12633 fi ;;
12634 esac
12635 else
12636 ac_cv_lib_soname_GL=
12638 rm -f core conftest.err conftest.$ac_objext \
12639 conftest$ac_exeext conftest.$ac_ext
12640 LIBS=$ac_check_soname_save_LIBS
12642 if ${ac_cv_lib_soname_GL:+false} :; then :
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12644 $as_echo "not found" >&6; }
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12646 $as_echo_n "checking for -lGL... " >&6; }
12647 if ${ac_cv_lib_soname_GL+:} false; then :
12648 $as_echo_n "(cached) " >&6
12649 else
12650 ac_check_soname_save_LIBS=$LIBS
12651 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"
12652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12653 /* end confdefs.h. */
12655 /* Override any GCC internal prototype to avoid an error.
12656 Use char because int might match the return type of a GCC
12657 builtin and then its argument prototype would still apply. */
12658 #ifdef __cplusplus
12659 extern "C"
12660 #endif
12661 char glXCreateContext ();
12663 main ()
12665 return glXCreateContext ();
12667 return 0;
12669 _ACEOF
12670 if ac_fn_c_try_link "$LINENO"; then :
12671 case "$LIBEXT" in
12672 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12673 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'` ;;
12674 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12675 if ${ac_cv_lib_soname_GL:+false} :; then :
12676 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12677 fi ;;
12678 esac
12679 else
12680 ac_cv_lib_soname_GL=
12682 rm -f core conftest.err conftest.$ac_objext \
12683 conftest$ac_exeext conftest.$ac_ext
12684 LIBS=$ac_check_soname_save_LIBS
12686 if ${ac_cv_lib_soname_GL:+false} :; then :
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12688 $as_echo "not found" >&6; }
12689 if test -f /usr/X11R6/lib/libGL.a
12690 then
12691 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12692 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12693 else
12694 opengl_msg="No OpenGL library found on this system."
12696 else
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12698 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12700 cat >>confdefs.h <<_ACEOF
12701 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12702 _ACEOF
12704 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"
12706 else
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12708 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12710 cat >>confdefs.h <<_ACEOF
12711 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12712 _ACEOF
12714 OPENGL_LIBS="-lGL"
12716 if test "x$with_glu" != "xno"
12717 then
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12719 $as_echo_n "checking for -lGLU... " >&6; }
12720 if ${ac_cv_lib_soname_GLU+:} false; then :
12721 $as_echo_n "(cached) " >&6
12722 else
12723 ac_check_soname_save_LIBS=$LIBS
12724 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12726 /* end confdefs.h. */
12728 /* Override any GCC internal prototype to avoid an error.
12729 Use char because int might match the return type of a GCC
12730 builtin and then its argument prototype would still apply. */
12731 #ifdef __cplusplus
12732 extern "C"
12733 #endif
12734 char gluLookAt ();
12736 main ()
12738 return gluLookAt ();
12740 return 0;
12742 _ACEOF
12743 if ac_fn_c_try_link "$LINENO"; then :
12744 case "$LIBEXT" in
12745 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12746 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'` ;;
12747 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12748 if ${ac_cv_lib_soname_GLU:+false} :; then :
12749 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12750 fi ;;
12751 esac
12752 else
12753 ac_cv_lib_soname_GLU=
12755 rm -f core conftest.err conftest.$ac_objext \
12756 conftest$ac_exeext conftest.$ac_ext
12757 LIBS=$ac_check_soname_save_LIBS
12759 if ${ac_cv_lib_soname_GLU:+false} :; then :
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12761 $as_echo "not found" >&6; }
12763 else
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12765 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12767 cat >>confdefs.h <<_ACEOF
12768 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12769 _ACEOF
12773 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12774 case "x$with_glu" in
12775 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12776 xno) ;;
12777 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12778 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12779 esac
12784 if test "x$with_osmesa" != "xno"
12785 then
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12787 $as_echo_n "checking for -lOSMesa... " >&6; }
12788 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12789 $as_echo_n "(cached) " >&6
12790 else
12791 ac_check_soname_save_LIBS=$LIBS
12792 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12794 /* end confdefs.h. */
12796 /* Override any GCC internal prototype to avoid an error.
12797 Use char because int might match the return type of a GCC
12798 builtin and then its argument prototype would still apply. */
12799 #ifdef __cplusplus
12800 extern "C"
12801 #endif
12802 char OSMesaGetProcAddress ();
12804 main ()
12806 return OSMesaGetProcAddress ();
12808 return 0;
12810 _ACEOF
12811 if ac_fn_c_try_link "$LINENO"; then :
12812 case "$LIBEXT" in
12813 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12814 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'` ;;
12815 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12816 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12817 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12818 fi ;;
12819 esac
12820 else
12821 ac_cv_lib_soname_OSMesa=
12823 rm -f core conftest.err conftest.$ac_objext \
12824 conftest$ac_exeext conftest.$ac_ext
12825 LIBS=$ac_check_soname_save_LIBS
12827 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12829 $as_echo "not found" >&6; }
12831 else
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12833 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12835 cat >>confdefs.h <<_ACEOF
12836 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12837 _ACEOF
12841 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12842 case "x$with_osmesa" in
12843 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12844 xno) ;;
12845 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12846 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12847 esac
12852 if test -n "$opengl_msg"; then :
12853 case "x$with_opengl" in
12854 x) as_fn_append wine_warnings "|$opengl_msg
12855 OpenGL and Direct3D won't be supported." ;;
12856 xno) ;;
12857 *) as_fn_error $? "$opengl_msg
12858 OpenGL and Direct3D won't be supported.
12859 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12860 esac
12864 CPPFLAGS="$ac_save_CPPFLAGS"
12865 else
12866 X_CFLAGS=""
12867 X_LIBS=""
12870 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12871 then
12872 if test "x$X_LIBS" = "x"; then :
12873 case "x$with_x" in
12874 xno) ;;
12875 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12876 without X support, which probably isn't what you want. You will need
12877 to install ${notice_platform}development packages of Xlib at the very least.
12878 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12879 esac
12880 enable_winex11_drv=${enable_winex11_drv:-no}
12882 else
12883 if test "x$X_LIBS" = "x"; then :
12884 case "x$with_x" in
12885 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12886 xno) ;;
12887 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12888 This is an error since --with-x was requested." "$LINENO" 5 ;;
12889 esac
12890 enable_winex11_drv=${enable_winex11_drv:-no}
12894 if test "$ac_cv_header_CL_cl_h" = "yes"
12895 then
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12897 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12898 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12899 $as_echo_n "(cached) " >&6
12900 else
12901 ac_check_lib_save_LIBS=$LIBS
12902 LIBS="-lOpenCL $LIBS"
12903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12904 /* end confdefs.h. */
12906 /* Override any GCC internal prototype to avoid an error.
12907 Use char because int might match the return type of a GCC
12908 builtin and then its argument prototype would still apply. */
12909 #ifdef __cplusplus
12910 extern "C"
12911 #endif
12912 char clGetPlatformInfo ();
12914 main ()
12916 return clGetPlatformInfo ();
12918 return 0;
12920 _ACEOF
12921 if ac_fn_c_try_link "$LINENO"; then :
12922 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12923 else
12924 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12926 rm -f core conftest.err conftest.$ac_objext \
12927 conftest$ac_exeext conftest.$ac_ext
12928 LIBS=$ac_check_lib_save_LIBS
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12931 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12932 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12933 OPENCL_LIBS="-lOpenCL"
12938 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12939 case "x$with_opencl" in
12940 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12941 xno) ;;
12942 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12943 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12944 esac
12945 enable_opencl=${enable_opencl:-no}
12948 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12949 then
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12951 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12952 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12953 $as_echo_n "(cached) " >&6
12954 else
12955 ac_check_lib_save_LIBS=$LIBS
12956 LIBS="-lpcap $LIBS"
12957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12958 /* end confdefs.h. */
12960 /* Override any GCC internal prototype to avoid an error.
12961 Use char because int might match the return type of a GCC
12962 builtin and then its argument prototype would still apply. */
12963 #ifdef __cplusplus
12964 extern "C"
12965 #endif
12966 char pcap_create ();
12968 main ()
12970 return pcap_create ();
12972 return 0;
12974 _ACEOF
12975 if ac_fn_c_try_link "$LINENO"; then :
12976 ac_cv_lib_pcap_pcap_create=yes
12977 else
12978 ac_cv_lib_pcap_pcap_create=no
12980 rm -f core conftest.err conftest.$ac_objext \
12981 conftest$ac_exeext conftest.$ac_ext
12982 LIBS=$ac_check_lib_save_LIBS
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12985 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12986 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12987 PCAP_LIBS="-lpcap"
12992 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12993 case "x$with_pcap" in
12994 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12995 xno) ;;
12996 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12997 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12998 esac
12999 enable_wpcap=${enable_wpcap:-no}
13003 if test "x$with_xml" != "xno"
13004 then
13005 if ${XML2_CFLAGS:+false} :; then :
13006 if ${PKG_CONFIG+:} false; then :
13007 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
13010 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
13011 if ${XML2_LIBS:+false} :; then :
13012 if ${PKG_CONFIG+:} false; then :
13013 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
13016 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
13017 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
13018 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
13019 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
13020 ac_save_CPPFLAGS=$CPPFLAGS
13021 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
13022 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
13023 do :
13024 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13025 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13026 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13027 cat >>confdefs.h <<_ACEOF
13028 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13029 _ACEOF
13033 done
13035 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"
13036 then
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
13038 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
13039 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
13040 $as_echo_n "(cached) " >&6
13041 else
13042 ac_check_lib_save_LIBS=$LIBS
13043 LIBS="-lxml2 $XML2_LIBS $LIBS"
13044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13045 /* end confdefs.h. */
13047 /* Override any GCC internal prototype to avoid an error.
13048 Use char because int might match the return type of a GCC
13049 builtin and then its argument prototype would still apply. */
13050 #ifdef __cplusplus
13051 extern "C"
13052 #endif
13053 char xmlParseMemory ();
13055 main ()
13057 return xmlParseMemory ();
13059 return 0;
13061 _ACEOF
13062 if ac_fn_c_try_link "$LINENO"; then :
13063 ac_cv_lib_xml2_xmlParseMemory=yes
13064 else
13065 ac_cv_lib_xml2_xmlParseMemory=no
13067 rm -f core conftest.err conftest.$ac_objext \
13068 conftest$ac_exeext conftest.$ac_ext
13069 LIBS=$ac_check_lib_save_LIBS
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
13072 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
13073 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
13075 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
13077 else
13078 XML2_LIBS=""
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
13082 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
13083 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
13084 $as_echo_n "(cached) " >&6
13085 else
13086 ac_check_lib_save_LIBS=$LIBS
13087 LIBS="-lxml2 $XML2_LIBS $LIBS"
13088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13089 /* end confdefs.h. */
13091 /* Override any GCC internal prototype to avoid an error.
13092 Use char because int might match the return type of a GCC
13093 builtin and then its argument prototype would still apply. */
13094 #ifdef __cplusplus
13095 extern "C"
13096 #endif
13097 char xmlReadMemory ();
13099 main ()
13101 return xmlReadMemory ();
13103 return 0;
13105 _ACEOF
13106 if ac_fn_c_try_link "$LINENO"; then :
13107 ac_cv_lib_xml2_xmlReadMemory=yes
13108 else
13109 ac_cv_lib_xml2_xmlReadMemory=no
13111 rm -f core conftest.err conftest.$ac_objext \
13112 conftest$ac_exeext conftest.$ac_ext
13113 LIBS=$ac_check_lib_save_LIBS
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13116 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13117 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13119 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13124 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13125 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13126 $as_echo_n "(cached) " >&6
13127 else
13128 ac_check_lib_save_LIBS=$LIBS
13129 LIBS="-lxml2 $XML2_LIBS $LIBS"
13130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13131 /* end confdefs.h. */
13133 /* Override any GCC internal prototype to avoid an error.
13134 Use char because int might match the return type of a GCC
13135 builtin and then its argument prototype would still apply. */
13136 #ifdef __cplusplus
13137 extern "C"
13138 #endif
13139 char xmlNewDocPI ();
13141 main ()
13143 return xmlNewDocPI ();
13145 return 0;
13147 _ACEOF
13148 if ac_fn_c_try_link "$LINENO"; then :
13149 ac_cv_lib_xml2_xmlNewDocPI=yes
13150 else
13151 ac_cv_lib_xml2_xmlNewDocPI=no
13153 rm -f core conftest.err conftest.$ac_objext \
13154 conftest$ac_exeext conftest.$ac_ext
13155 LIBS=$ac_check_lib_save_LIBS
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13158 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13159 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13161 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13166 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13167 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13168 $as_echo_n "(cached) " >&6
13169 else
13170 ac_check_lib_save_LIBS=$LIBS
13171 LIBS="-lxml2 $XML2_LIBS $LIBS"
13172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13175 /* Override any GCC internal prototype to avoid an error.
13176 Use char because int might match the return type of a GCC
13177 builtin and then its argument prototype would still apply. */
13178 #ifdef __cplusplus
13179 extern "C"
13180 #endif
13181 char xmlSchemaSetParserStructuredErrors ();
13183 main ()
13185 return xmlSchemaSetParserStructuredErrors ();
13187 return 0;
13189 _ACEOF
13190 if ac_fn_c_try_link "$LINENO"; then :
13191 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13192 else
13193 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13195 rm -f core conftest.err conftest.$ac_objext \
13196 conftest$ac_exeext conftest.$ac_ext
13197 LIBS=$ac_check_lib_save_LIBS
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13200 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13201 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13203 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13208 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13209 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13210 $as_echo_n "(cached) " >&6
13211 else
13212 ac_check_lib_save_LIBS=$LIBS
13213 LIBS="-lxml2 $XML2_LIBS $LIBS"
13214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13215 /* end confdefs.h. */
13217 /* Override any GCC internal prototype to avoid an error.
13218 Use char because int might match the return type of a GCC
13219 builtin and then its argument prototype would still apply. */
13220 #ifdef __cplusplus
13221 extern "C"
13222 #endif
13223 char xmlSchemaSetValidStructuredErrors ();
13225 main ()
13227 return xmlSchemaSetValidStructuredErrors ();
13229 return 0;
13231 _ACEOF
13232 if ac_fn_c_try_link "$LINENO"; then :
13233 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13234 else
13235 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13237 rm -f core conftest.err conftest.$ac_objext \
13238 conftest$ac_exeext conftest.$ac_ext
13239 LIBS=$ac_check_lib_save_LIBS
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13242 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13243 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13245 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13250 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13251 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13252 $as_echo_n "(cached) " >&6
13253 else
13254 ac_check_lib_save_LIBS=$LIBS
13255 LIBS="-lxml2 $XML2_LIBS $LIBS"
13256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h. */
13259 /* Override any GCC internal prototype to avoid an error.
13260 Use char because int might match the return type of a GCC
13261 builtin and then its argument prototype would still apply. */
13262 #ifdef __cplusplus
13263 extern "C"
13264 #endif
13265 char xmlFirstElementChild ();
13267 main ()
13269 return xmlFirstElementChild ();
13271 return 0;
13273 _ACEOF
13274 if ac_fn_c_try_link "$LINENO"; then :
13275 ac_cv_lib_xml2_xmlFirstElementChild=yes
13276 else
13277 ac_cv_lib_xml2_xmlFirstElementChild=no
13279 rm -f core conftest.err conftest.$ac_objext \
13280 conftest$ac_exeext conftest.$ac_ext
13281 LIBS=$ac_check_lib_save_LIBS
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13284 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13285 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13287 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13291 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13293 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13295 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13299 else
13300 XML2_CFLAGS=""
13301 XML2_LIBS=""
13303 CPPFLAGS=$ac_save_CPPFLAGS
13304 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13305 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13308 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13309 case "x$with_xml" in
13310 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13311 xno) ;;
13312 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13313 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13314 esac
13318 if test "x$with_xslt" != "xno"
13319 then
13320 if ${XSLT_CFLAGS:+false} :; then :
13321 if ${PKG_CONFIG+:} false; then :
13322 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13325 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13326 if ${XSLT_LIBS:+false} :; then :
13327 if ${PKG_CONFIG+:} false; then :
13328 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13331 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13332 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13333 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13334 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13335 ac_save_CPPFLAGS=$CPPFLAGS
13336 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13337 for ac_header in libxslt/pattern.h libxslt/transform.h
13338 do :
13339 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13340 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13341 # include <libxslt/pattern.h>
13342 #endif
13344 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13345 cat >>confdefs.h <<_ACEOF
13346 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13347 _ACEOF
13351 done
13353 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13354 then
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13356 $as_echo_n "checking for -lxslt... " >&6; }
13357 if ${ac_cv_lib_soname_xslt+:} false; then :
13358 $as_echo_n "(cached) " >&6
13359 else
13360 ac_check_soname_save_LIBS=$LIBS
13361 LIBS="-lxslt $XSLT_LIBS $LIBS"
13362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13363 /* end confdefs.h. */
13365 /* Override any GCC internal prototype to avoid an error.
13366 Use char because int might match the return type of a GCC
13367 builtin and then its argument prototype would still apply. */
13368 #ifdef __cplusplus
13369 extern "C"
13370 #endif
13371 char xsltCompilePattern ();
13373 main ()
13375 return xsltCompilePattern ();
13377 return 0;
13379 _ACEOF
13380 if ac_fn_c_try_link "$LINENO"; then :
13381 case "$LIBEXT" in
13382 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13383 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'` ;;
13384 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13385 if ${ac_cv_lib_soname_xslt:+false} :; then :
13386 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13387 fi ;;
13388 esac
13389 else
13390 ac_cv_lib_soname_xslt=
13392 rm -f core conftest.err conftest.$ac_objext \
13393 conftest$ac_exeext conftest.$ac_ext
13394 LIBS=$ac_check_soname_save_LIBS
13396 if ${ac_cv_lib_soname_xslt:+false} :; then :
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13398 $as_echo "not found" >&6; }
13400 else
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13402 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13404 cat >>confdefs.h <<_ACEOF
13405 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13406 _ACEOF
13410 else
13411 XSLT_CFLAGS=""
13413 CPPFLAGS=$ac_save_CPPFLAGS
13414 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13415 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13418 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13419 case "x$with_xslt" in
13420 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13421 xno) ;;
13422 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13423 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13424 esac
13428 if test "x$with_inotify" != "xno"
13429 then
13430 if ${INOTIFY_CFLAGS:+false} :; then :
13431 if ${PKG_CONFIG+:} false; then :
13432 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13436 if ${INOTIFY_LIBS:+false} :; then :
13437 if ${PKG_CONFIG+:} false; then :
13438 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13443 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13444 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13445 ac_save_CPPFLAGS=$CPPFLAGS
13446 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13447 for ac_header in sys/inotify.h
13448 do :
13449 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13450 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13451 cat >>confdefs.h <<_ACEOF
13452 #define HAVE_SYS_INOTIFY_H 1
13453 _ACEOF
13457 done
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13460 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13461 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13462 $as_echo_n "(cached) " >&6
13463 else
13464 ac_check_lib_save_LIBS=$LIBS
13465 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13467 /* end confdefs.h. */
13469 /* Override any GCC internal prototype to avoid an error.
13470 Use char because int might match the return type of a GCC
13471 builtin and then its argument prototype would still apply. */
13472 #ifdef __cplusplus
13473 extern "C"
13474 #endif
13475 char inotify_add_watch ();
13477 main ()
13479 return inotify_add_watch ();
13481 return 0;
13483 _ACEOF
13484 if ac_fn_c_try_link "$LINENO"; then :
13485 ac_cv_lib_inotify_inotify_add_watch=yes
13486 else
13487 ac_cv_lib_inotify_inotify_add_watch=no
13489 rm -f core conftest.err conftest.$ac_objext \
13490 conftest$ac_exeext conftest.$ac_ext
13491 LIBS=$ac_check_lib_save_LIBS
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13494 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13495 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13497 else
13498 INOTIFY_LIBS=""
13501 CPPFLAGS=$ac_save_CPPFLAGS
13502 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13503 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13506 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13507 case "x$with_inotify" in
13508 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13509 xno) ;;
13510 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13511 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13512 esac
13516 if test "x$with_dbus" != "xno"
13517 then
13518 if ${DBUS_CFLAGS:+false} :; then :
13519 if ${PKG_CONFIG+:} false; then :
13520 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13524 if ${DBUS_LIBS:+false} :; then :
13525 if ${PKG_CONFIG+:} false; then :
13526 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13531 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13532 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13533 ac_save_CPPFLAGS=$CPPFLAGS
13534 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13535 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13536 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13538 $as_echo_n "checking for -ldbus-1... " >&6; }
13539 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13540 $as_echo_n "(cached) " >&6
13541 else
13542 ac_check_soname_save_LIBS=$LIBS
13543 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13545 /* end confdefs.h. */
13547 /* Override any GCC internal prototype to avoid an error.
13548 Use char because int might match the return type of a GCC
13549 builtin and then its argument prototype would still apply. */
13550 #ifdef __cplusplus
13551 extern "C"
13552 #endif
13553 char dbus_connection_close ();
13555 main ()
13557 return dbus_connection_close ();
13559 return 0;
13561 _ACEOF
13562 if ac_fn_c_try_link "$LINENO"; then :
13563 case "$LIBEXT" in
13564 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13565 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'` ;;
13566 *) 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'`
13567 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13568 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13569 fi ;;
13570 esac
13571 else
13572 ac_cv_lib_soname_dbus_1=
13574 rm -f core conftest.err conftest.$ac_objext \
13575 conftest$ac_exeext conftest.$ac_ext
13576 LIBS=$ac_check_soname_save_LIBS
13578 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13580 $as_echo "not found" >&6; }
13581 DBUS_CFLAGS=""
13582 else
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13584 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13586 cat >>confdefs.h <<_ACEOF
13587 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13588 _ACEOF
13592 else
13593 DBUS_CFLAGS=""
13597 CPPFLAGS=$ac_save_CPPFLAGS
13598 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13599 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13602 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13603 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13604 case "x$with_dbus" in
13605 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13606 xno) ;;
13607 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13608 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13609 esac
13613 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13614 then
13615 if ${HAL_CFLAGS:+false} :; then :
13616 if ${PKG_CONFIG+:} false; then :
13617 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13621 if ${HAL_LIBS:+false} :; then :
13622 if ${PKG_CONFIG+:} false; then :
13623 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13627 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13628 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13629 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13630 ac_save_CPPFLAGS=$CPPFLAGS
13631 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13632 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13633 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13635 $as_echo_n "checking for -lhal... " >&6; }
13636 if ${ac_cv_lib_soname_hal+:} false; then :
13637 $as_echo_n "(cached) " >&6
13638 else
13639 ac_check_soname_save_LIBS=$LIBS
13640 LIBS="-lhal $HAL_LIBS $LIBS"
13641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13642 /* end confdefs.h. */
13644 /* Override any GCC internal prototype to avoid an error.
13645 Use char because int might match the return type of a GCC
13646 builtin and then its argument prototype would still apply. */
13647 #ifdef __cplusplus
13648 extern "C"
13649 #endif
13650 char libhal_ctx_new ();
13652 main ()
13654 return libhal_ctx_new ();
13656 return 0;
13658 _ACEOF
13659 if ac_fn_c_try_link "$LINENO"; then :
13660 case "$LIBEXT" in
13661 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13662 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'` ;;
13663 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13664 if ${ac_cv_lib_soname_hal:+false} :; then :
13665 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13666 fi ;;
13667 esac
13668 else
13669 ac_cv_lib_soname_hal=
13671 rm -f core conftest.err conftest.$ac_objext \
13672 conftest$ac_exeext conftest.$ac_ext
13673 LIBS=$ac_check_soname_save_LIBS
13675 if ${ac_cv_lib_soname_hal:+false} :; then :
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13677 $as_echo "not found" >&6; }
13678 HAL_CFLAGS=""
13679 else
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13681 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13683 cat >>confdefs.h <<_ACEOF
13684 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13685 _ACEOF
13689 else
13690 HAL_CFLAGS=""
13694 CPPFLAGS=$ac_save_CPPFLAGS
13695 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13696 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13698 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13699 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13700 case "x$with_hal" in
13701 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13702 xno) ;;
13703 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13704 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13705 esac
13710 if test "x$with_gnutls" != "xno"
13711 then
13712 if ${GNUTLS_CFLAGS:+false} :; then :
13713 if ${PKG_CONFIG+:} false; then :
13714 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13718 if ${GNUTLS_LIBS:+false} :; then :
13719 if ${PKG_CONFIG+:} false; then :
13720 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13724 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13725 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13726 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13727 ac_save_CPPFLAGS=$CPPFLAGS
13728 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13729 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13730 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13732 /* end confdefs.h. */
13733 #include <gnutls/gnutls.h>
13734 #include <gnutls/crypto.h>
13736 main ()
13738 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13740 return 0;
13742 _ACEOF
13743 if ac_fn_c_try_compile "$LINENO"; then :
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13745 $as_echo_n "checking for -lgnutls... " >&6; }
13746 if ${ac_cv_lib_soname_gnutls+:} false; then :
13747 $as_echo_n "(cached) " >&6
13748 else
13749 ac_check_soname_save_LIBS=$LIBS
13750 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13752 /* end confdefs.h. */
13754 /* Override any GCC internal prototype to avoid an error.
13755 Use char because int might match the return type of a GCC
13756 builtin and then its argument prototype would still apply. */
13757 #ifdef __cplusplus
13758 extern "C"
13759 #endif
13760 char gnutls_global_init ();
13762 main ()
13764 return gnutls_global_init ();
13766 return 0;
13768 _ACEOF
13769 if ac_fn_c_try_link "$LINENO"; then :
13770 case "$LIBEXT" in
13771 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13772 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'` ;;
13773 *) 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'`
13774 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13775 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'`
13776 fi ;;
13777 esac
13778 else
13779 ac_cv_lib_soname_gnutls=
13781 rm -f core conftest.err conftest.$ac_objext \
13782 conftest$ac_exeext conftest.$ac_ext
13783 LIBS=$ac_check_soname_save_LIBS
13785 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13787 $as_echo "not found" >&6; }
13788 GNUTLS_CFLAGS=""
13789 else
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13791 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13793 cat >>confdefs.h <<_ACEOF
13794 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13795 _ACEOF
13799 ac_wine_check_funcs_save_LIBS="$LIBS"
13800 LIBS="$LIBS $GNUTLS_LIBS"
13801 for ac_func in gnutls_cipher_init
13802 do :
13803 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13804 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13805 cat >>confdefs.h <<_ACEOF
13806 #define HAVE_GNUTLS_CIPHER_INIT 1
13807 _ACEOF
13809 else
13810 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13812 done
13814 LIBS="$ac_wine_check_funcs_save_LIBS"
13816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13817 else
13818 GNUTLS_CFLAGS=""
13822 CPPFLAGS=$ac_save_CPPFLAGS
13823 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13824 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13827 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13828 case "x$with_gnutls" in
13829 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13830 xno) ;;
13831 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13832 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13833 esac
13837 CURSES_LIBS=""
13838 if test "$ac_cv_header_ncurses_h" = "yes"
13839 then
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13841 $as_echo_n "checking for -lncurses... " >&6; }
13842 if ${ac_cv_lib_soname_ncurses+:} false; then :
13843 $as_echo_n "(cached) " >&6
13844 else
13845 ac_check_soname_save_LIBS=$LIBS
13846 LIBS="-lncurses $LIBS"
13847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13848 /* end confdefs.h. */
13850 /* Override any GCC internal prototype to avoid an error.
13851 Use char because int might match the return type of a GCC
13852 builtin and then its argument prototype would still apply. */
13853 #ifdef __cplusplus
13854 extern "C"
13855 #endif
13856 char waddch ();
13858 main ()
13860 return waddch ();
13862 return 0;
13864 _ACEOF
13865 if ac_fn_c_try_link "$LINENO"; then :
13866 case "$LIBEXT" in
13867 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13868 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'` ;;
13869 *) 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'`
13870 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13871 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13872 fi ;;
13873 esac
13874 else
13875 ac_cv_lib_soname_ncurses=
13877 rm -f core conftest.err conftest.$ac_objext \
13878 conftest$ac_exeext conftest.$ac_ext
13879 LIBS=$ac_check_soname_save_LIBS
13881 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13883 $as_echo "not found" >&6; }
13885 else
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13887 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13889 cat >>confdefs.h <<_ACEOF
13890 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13891 _ACEOF
13893 CURSES_LIBS="-lncurses"
13895 elif test "$ac_cv_header_curses_h" = "yes"
13896 then
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13898 $as_echo_n "checking for -lcurses... " >&6; }
13899 if ${ac_cv_lib_soname_curses+:} false; then :
13900 $as_echo_n "(cached) " >&6
13901 else
13902 ac_check_soname_save_LIBS=$LIBS
13903 LIBS="-lcurses $LIBS"
13904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13907 /* Override any GCC internal prototype to avoid an error.
13908 Use char because int might match the return type of a GCC
13909 builtin and then its argument prototype would still apply. */
13910 #ifdef __cplusplus
13911 extern "C"
13912 #endif
13913 char waddch ();
13915 main ()
13917 return waddch ();
13919 return 0;
13921 _ACEOF
13922 if ac_fn_c_try_link "$LINENO"; then :
13923 case "$LIBEXT" in
13924 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13925 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'` ;;
13926 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13927 if ${ac_cv_lib_soname_curses:+false} :; then :
13928 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13929 fi ;;
13930 esac
13931 else
13932 ac_cv_lib_soname_curses=
13934 rm -f core conftest.err conftest.$ac_objext \
13935 conftest$ac_exeext conftest.$ac_ext
13936 LIBS=$ac_check_soname_save_LIBS
13938 if ${ac_cv_lib_soname_curses:+false} :; then :
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13940 $as_echo "not found" >&6; }
13942 else
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13944 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13946 cat >>confdefs.h <<_ACEOF
13947 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13948 _ACEOF
13950 CURSES_LIBS="-lcurses"
13953 ac_save_LIBS="$LIBS"
13954 LIBS="$LIBS $CURSES_LIBS"
13955 for ac_func in mousemask
13956 do :
13957 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13958 if test "x$ac_cv_func_mousemask" = xyes; then :
13959 cat >>confdefs.h <<_ACEOF
13960 #define HAVE_MOUSEMASK 1
13961 _ACEOF
13964 done
13966 LIBS="$ac_save_LIBS"
13967 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13968 case "x$with_curses" in
13969 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13970 xno) ;;
13971 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13972 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13973 esac
13977 if test "x$with_sane" != "xno"
13978 then
13979 if ${SANE_CFLAGS:+false} :; then :
13980 if ${PKG_CONFIG+:} false; then :
13981 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13984 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13985 if ${SANE_LIBS:+false} :; then :
13986 if ${PKG_CONFIG+:} false; then :
13987 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13990 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13992 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13993 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13994 ac_save_CPPFLAGS=$CPPFLAGS
13995 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13996 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13997 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13999 $as_echo_n "checking for -lsane... " >&6; }
14000 if ${ac_cv_lib_soname_sane+:} false; then :
14001 $as_echo_n "(cached) " >&6
14002 else
14003 ac_check_soname_save_LIBS=$LIBS
14004 LIBS="-lsane $SANE_LIBS $LIBS"
14005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14008 /* Override any GCC internal prototype to avoid an error.
14009 Use char because int might match the return type of a GCC
14010 builtin and then its argument prototype would still apply. */
14011 #ifdef __cplusplus
14012 extern "C"
14013 #endif
14014 char sane_init ();
14016 main ()
14018 return sane_init ();
14020 return 0;
14022 _ACEOF
14023 if ac_fn_c_try_link "$LINENO"; then :
14024 case "$LIBEXT" in
14025 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14026 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'` ;;
14027 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14028 if ${ac_cv_lib_soname_sane:+false} :; then :
14029 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14030 fi ;;
14031 esac
14032 else
14033 ac_cv_lib_soname_sane=
14035 rm -f core conftest.err conftest.$ac_objext \
14036 conftest$ac_exeext conftest.$ac_ext
14037 LIBS=$ac_check_soname_save_LIBS
14039 if ${ac_cv_lib_soname_sane:+false} :; then :
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14041 $as_echo "not found" >&6; }
14042 SANE_CFLAGS=""
14043 else
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
14045 $as_echo "$ac_cv_lib_soname_sane" >&6; }
14047 cat >>confdefs.h <<_ACEOF
14048 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
14049 _ACEOF
14053 else
14054 SANE_CFLAGS=""
14058 CPPFLAGS=$ac_save_CPPFLAGS
14059 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14060 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14063 if test "x$ac_cv_lib_soname_sane" = "x"; then :
14064 case "x$with_sane" in
14065 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
14066 xno) ;;
14067 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
14068 This is an error since --with-sane was requested." "$LINENO" 5 ;;
14069 esac
14073 if test "x$with_usb" != "xno"
14074 then
14075 if ${USB_CFLAGS:+false} :; then :
14076 if ${PKG_CONFIG+:} false; then :
14077 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
14081 if ${USB_LIBS:+false} :; then :
14082 if ${PKG_CONFIG+:} false; then :
14083 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
14087 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
14088 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
14089 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
14090 ac_save_CPPFLAGS=$CPPFLAGS
14091 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
14092 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
14093 if test "x$ac_cv_header_libusb_h" = xyes; then :
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
14095 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
14096 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
14097 $as_echo_n "(cached) " >&6
14098 else
14099 ac_check_lib_save_LIBS=$LIBS
14100 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
14101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14102 /* end confdefs.h. */
14104 /* Override any GCC internal prototype to avoid an error.
14105 Use char because int might match the return type of a GCC
14106 builtin and then its argument prototype would still apply. */
14107 #ifdef __cplusplus
14108 extern "C"
14109 #endif
14110 char libusb_interrupt_event_handler ();
14112 main ()
14114 return libusb_interrupt_event_handler ();
14116 return 0;
14118 _ACEOF
14119 if ac_fn_c_try_link "$LINENO"; then :
14120 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
14121 else
14122 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
14124 rm -f core conftest.err conftest.$ac_objext \
14125 conftest$ac_exeext conftest.$ac_ext
14126 LIBS=$ac_check_lib_save_LIBS
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
14129 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
14130 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
14132 else
14133 USB_LIBS=""
14136 else
14137 USB_LIBS=""
14141 CPPFLAGS=$ac_save_CPPFLAGS
14142 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14143 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14146 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
14147 case "x$with_usb" in
14148 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14149 xno) ;;
14150 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14151 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14152 esac
14153 enable_wineusb_sys=${enable_wineusb_sys:-no}
14156 if test "x$with_v4l2" != "xno"
14157 then
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14159 $as_echo_n "checking for -lv4l2... " >&6; }
14160 if ${ac_cv_lib_soname_v4l2+:} false; then :
14161 $as_echo_n "(cached) " >&6
14162 else
14163 ac_check_soname_save_LIBS=$LIBS
14164 LIBS="-lv4l2 $LIBS"
14165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h. */
14168 /* Override any GCC internal prototype to avoid an error.
14169 Use char because int might match the return type of a GCC
14170 builtin and then its argument prototype would still apply. */
14171 #ifdef __cplusplus
14172 extern "C"
14173 #endif
14174 char v4l2_open ();
14176 main ()
14178 return v4l2_open ();
14180 return 0;
14182 _ACEOF
14183 if ac_fn_c_try_link "$LINENO"; then :
14184 case "$LIBEXT" in
14185 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14186 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'` ;;
14187 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14188 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14189 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14190 fi ;;
14191 esac
14192 else
14193 ac_cv_lib_soname_v4l2=
14195 rm -f core conftest.err conftest.$ac_objext \
14196 conftest$ac_exeext conftest.$ac_ext
14197 LIBS=$ac_check_soname_save_LIBS
14199 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14201 $as_echo "not found" >&6; }
14203 else
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14205 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14207 cat >>confdefs.h <<_ACEOF
14208 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14209 _ACEOF
14214 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14215 case "x$with_v4l2" in
14216 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14217 xno) ;;
14218 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14219 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14220 esac
14224 if test "x$with_gphoto" != "xno"
14225 then
14226 if ${GPHOTO2_CFLAGS:+false} :; then :
14227 if ${PKG_CONFIG+:} false; then :
14228 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14231 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14232 if ${GPHOTO2_LIBS:+false} :; then :
14233 if ${PKG_CONFIG+:} false; then :
14234 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14237 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14238 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14239 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14240 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14241 ac_save_CPPFLAGS=$CPPFLAGS
14242 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14243 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14244 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14246 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14247 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14248 $as_echo_n "(cached) " >&6
14249 else
14250 ac_check_lib_save_LIBS=$LIBS
14251 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14255 /* Override any GCC internal prototype to avoid an error.
14256 Use char because int might match the return type of a GCC
14257 builtin and then its argument prototype would still apply. */
14258 #ifdef __cplusplus
14259 extern "C"
14260 #endif
14261 char gp_camera_new ();
14263 main ()
14265 return gp_camera_new ();
14267 return 0;
14269 _ACEOF
14270 if ac_fn_c_try_link "$LINENO"; then :
14271 ac_cv_lib_gphoto2_gp_camera_new=yes
14272 else
14273 ac_cv_lib_gphoto2_gp_camera_new=no
14275 rm -f core conftest.err conftest.$ac_objext \
14276 conftest$ac_exeext conftest.$ac_ext
14277 LIBS=$ac_check_lib_save_LIBS
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14280 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14281 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14283 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14285 else
14286 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14289 else
14290 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14294 CPPFLAGS=$ac_save_CPPFLAGS
14295 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14296 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14298 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14299 if ${PKG_CONFIG+:} false; then :
14300 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14303 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14304 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14305 if ${PKG_CONFIG+:} false; then :
14306 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14309 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14310 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14311 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14312 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14313 ac_save_CPPFLAGS=$CPPFLAGS
14314 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14315 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14316 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14318 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14319 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14320 $as_echo_n "(cached) " >&6
14321 else
14322 ac_check_lib_save_LIBS=$LIBS
14323 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14325 /* end confdefs.h. */
14327 /* Override any GCC internal prototype to avoid an error.
14328 Use char because int might match the return type of a GCC
14329 builtin and then its argument prototype would still apply. */
14330 #ifdef __cplusplus
14331 extern "C"
14332 #endif
14333 char gp_port_info_list_new ();
14335 main ()
14337 return gp_port_info_list_new ();
14339 return 0;
14341 _ACEOF
14342 if ac_fn_c_try_link "$LINENO"; then :
14343 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14344 else
14345 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14347 rm -f core conftest.err conftest.$ac_objext \
14348 conftest$ac_exeext conftest.$ac_ext
14349 LIBS=$ac_check_lib_save_LIBS
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14352 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14353 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14355 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14357 else
14358 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14361 else
14362 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14366 CPPFLAGS=$ac_save_CPPFLAGS
14367 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14368 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14371 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14372 case "x$with_gphoto" in
14373 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14374 xno) ;;
14375 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14376 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14377 esac
14380 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14381 case "x$with_gphoto" in
14382 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14383 xno) ;;
14384 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14385 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14386 esac
14391 if test "$ac_cv_header_resolv_h" = "yes"
14392 then
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14394 $as_echo_n "checking for resolver library... " >&6; }
14395 if ${ac_cv_have_resolv+:} false; then :
14396 $as_echo_n "(cached) " >&6
14397 else
14398 ac_save_LIBS="$LIBS"
14399 for lib in '' -lresolv
14401 LIBS="$lib $ac_save_LIBS"
14402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14403 /* end confdefs.h. */
14404 #ifdef HAVE_NETINET_IN_H
14405 #include <netinet/in.h>
14406 #endif
14407 #include <resolv.h>
14409 main ()
14411 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14413 return 0;
14415 _ACEOF
14416 if ac_fn_c_try_link "$LINENO"; then :
14417 ac_cv_have_resolv=${lib:-"none required"}
14418 else
14419 ac_cv_have_resolv="not found"
14421 rm -f core conftest.err conftest.$ac_objext \
14422 conftest$ac_exeext conftest.$ac_ext
14423 test "x$ac_cv_have_resolv" = "xnot found" || break
14424 done
14425 LIBS="$ac_save_LIBS"
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14428 $as_echo "$ac_cv_have_resolv" >&6; }
14430 case "$ac_cv_have_resolv" in
14431 "not found") ;;
14432 "none required")
14434 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14437 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14439 RESOLV_LIBS=$ac_cv_have_resolv
14441 esac
14443 if test "x$ac_cv_have_resolv" != "xnot found"
14444 then
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14446 $as_echo_n "checking for res_getservers... " >&6; }
14447 if ${ac_cv_have_res_getservers+:} false; then :
14448 $as_echo_n "(cached) " >&6
14449 else
14450 ac_save_LIBS="$LIBS"
14451 LIBS="$RESOLV_LIBS $LIBS"
14452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14453 /* end confdefs.h. */
14454 #include <resolv.h>
14456 main ()
14458 res_getservers(NULL, NULL, 0);
14460 return 0;
14462 _ACEOF
14463 if ac_fn_c_try_link "$LINENO"; then :
14464 ac_cv_have_res_getservers=yes
14465 else
14466 ac_cv_have_res_getservers=no
14468 rm -f core conftest.err conftest.$ac_objext \
14469 conftest$ac_exeext conftest.$ac_ext
14470 LIBS="$ac_save_LIBS"
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14473 $as_echo "$ac_cv_have_res_getservers" >&6; }
14474 if test "$ac_cv_have_res_getservers" = "yes"
14475 then
14477 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14483 if test "x$with_cms" != "xno"
14484 then
14485 if ${LCMS2_CFLAGS:+false} :; then :
14486 if ${PKG_CONFIG+:} false; then :
14487 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14491 if ${LCMS2_LIBS:+false} :; then :
14492 if ${PKG_CONFIG+:} false; then :
14493 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14497 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14498 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14499 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14500 ac_save_CPPFLAGS=$CPPFLAGS
14501 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14502 for ac_header in lcms2.h
14503 do :
14504 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14505 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14506 cat >>confdefs.h <<_ACEOF
14507 #define HAVE_LCMS2_H 1
14508 _ACEOF
14512 done
14514 if test "$ac_cv_header_lcms2_h" = "yes"
14515 then
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14517 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14518 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14519 $as_echo_n "(cached) " >&6
14520 else
14521 ac_check_lib_save_LIBS=$LIBS
14522 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14524 /* end confdefs.h. */
14526 /* Override any GCC internal prototype to avoid an error.
14527 Use char because int might match the return type of a GCC
14528 builtin and then its argument prototype would still apply. */
14529 #ifdef __cplusplus
14530 extern "C"
14531 #endif
14532 char cmsOpenProfileFromFile ();
14534 main ()
14536 return cmsOpenProfileFromFile ();
14538 return 0;
14540 _ACEOF
14541 if ac_fn_c_try_link "$LINENO"; then :
14542 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14543 else
14544 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14546 rm -f core conftest.err conftest.$ac_objext \
14547 conftest$ac_exeext conftest.$ac_ext
14548 LIBS=$ac_check_lib_save_LIBS
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14551 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14552 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14554 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14556 else
14557 LCMS2_LIBS=""
14560 else
14561 LCMS2_CFLAGS=""
14562 LCMS2_LIBS=""
14564 CPPFLAGS=$ac_save_CPPFLAGS
14565 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14566 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14569 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14570 case "x$with_cms" in
14571 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14572 xno) ;;
14573 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14574 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14575 esac
14579 if test "x$with_freetype" != "xno"
14580 then
14581 if ${FREETYPE_CFLAGS:+false} :; then :
14582 if ${PKG_CONFIG+:} false; then :
14583 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14586 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14587 if ${FREETYPE_LIBS:+false} :; then :
14588 if ${PKG_CONFIG+:} false; then :
14589 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14592 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14593 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14594 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14595 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14596 ac_save_CPPFLAGS=$CPPFLAGS
14597 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14598 for ac_header in ft2build.h
14599 do :
14600 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14601 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14602 cat >>confdefs.h <<_ACEOF
14603 #define HAVE_FT2BUILD_H 1
14604 _ACEOF
14608 done
14610 if test "$ac_cv_header_ft2build_h" = "yes"
14611 then
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14613 $as_echo_n "checking for -lfreetype... " >&6; }
14614 if ${ac_cv_lib_soname_freetype+:} false; then :
14615 $as_echo_n "(cached) " >&6
14616 else
14617 ac_check_soname_save_LIBS=$LIBS
14618 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14620 /* end confdefs.h. */
14622 /* Override any GCC internal prototype to avoid an error.
14623 Use char because int might match the return type of a GCC
14624 builtin and then its argument prototype would still apply. */
14625 #ifdef __cplusplus
14626 extern "C"
14627 #endif
14628 char FT_Init_FreeType ();
14630 main ()
14632 return FT_Init_FreeType ();
14634 return 0;
14636 _ACEOF
14637 if ac_fn_c_try_link "$LINENO"; then :
14638 case "$LIBEXT" in
14639 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14640 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'` ;;
14641 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14642 if ${ac_cv_lib_soname_freetype:+false} :; then :
14643 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14644 fi ;;
14645 esac
14646 else
14647 ac_cv_lib_soname_freetype=
14649 rm -f core conftest.err conftest.$ac_objext \
14650 conftest$ac_exeext conftest.$ac_ext
14651 LIBS=$ac_check_soname_save_LIBS
14653 if ${ac_cv_lib_soname_freetype:+false} :; then :
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14655 $as_echo "not found" >&6; }
14656 FREETYPE_LIBS=""
14657 else
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14659 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14661 cat >>confdefs.h <<_ACEOF
14662 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14663 _ACEOF
14666 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14668 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14669 #include FT_MODULE_H
14671 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14673 cat >>confdefs.h <<_ACEOF
14674 #define HAVE_FT_TRUETYPEENGINETYPE 1
14675 _ACEOF
14681 else
14682 FREETYPE_CFLAGS=""
14683 FREETYPE_LIBS=""
14685 CPPFLAGS=$ac_save_CPPFLAGS
14686 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14687 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14690 if test "x$ac_cv_lib_soname_freetype" = x; then :
14691 case "x$with_freetype" in
14692 xno) ;;
14693 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14694 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14695 esac
14696 enable_fonts=${enable_fonts:-no}
14699 ac_wine_check_funcs_save_LIBS="$LIBS"
14700 LIBS="$LIBS $PTHREAD_LIBS"
14701 for ac_func in \
14702 pthread_getthreadid_np
14703 do :
14704 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14705 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14706 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14707 cat >>confdefs.h <<_ACEOF
14708 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14709 _ACEOF
14712 done
14714 LIBS="$ac_wine_check_funcs_save_LIBS"
14716 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14717 then
14718 if test "$ac_cv_header_gettext_po_h" = "yes"
14719 then
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14721 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14722 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14723 $as_echo_n "(cached) " >&6
14724 else
14725 ac_check_lib_save_LIBS=$LIBS
14726 LIBS="-lgettextpo $LIBS"
14727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14728 /* end confdefs.h. */
14730 /* Override any GCC internal prototype to avoid an error.
14731 Use char because int might match the return type of a GCC
14732 builtin and then its argument prototype would still apply. */
14733 #ifdef __cplusplus
14734 extern "C"
14735 #endif
14736 char po_message_msgctxt ();
14738 main ()
14740 return po_message_msgctxt ();
14742 return 0;
14744 _ACEOF
14745 if ac_fn_c_try_link "$LINENO"; then :
14746 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14747 else
14748 ac_cv_lib_gettextpo_po_message_msgctxt=no
14750 rm -f core conftest.err conftest.$ac_objext \
14751 conftest$ac_exeext conftest.$ac_ext
14752 LIBS=$ac_check_lib_save_LIBS
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14755 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14756 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14758 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14760 GETTEXTPO_LIBS="-lgettextpo"
14765 if test "x$GETTEXTPO_LIBS" = "x"; then :
14766 case "x$with_gettextpo" in
14767 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14768 xno) ;;
14769 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14770 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14771 esac
14774 if test "$srcdir" != .; then :
14775 case "x$with_gettextpo" in
14776 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14777 xno) ;;
14778 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14779 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14780 esac
14785 if test "x$with_pulse" != "xno";
14786 then
14787 if ${PULSE_CFLAGS:+false} :; then :
14788 if ${PKG_CONFIG+:} false; then :
14789 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14793 if ${PULSE_LIBS:+false} :; then :
14794 if ${PKG_CONFIG+:} false; then :
14795 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14800 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14801 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14802 ac_save_CPPFLAGS=$CPPFLAGS
14803 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14804 for ac_header in pulse/pulseaudio.h
14805 do :
14806 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14807 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14808 cat >>confdefs.h <<_ACEOF
14809 #define HAVE_PULSE_PULSEAUDIO_H 1
14810 _ACEOF
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14812 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14813 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14814 $as_echo_n "(cached) " >&6
14815 else
14816 ac_check_lib_save_LIBS=$LIBS
14817 LIBS="-lpulse $PULSE_LIBS $LIBS"
14818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14821 /* Override any GCC internal prototype to avoid an error.
14822 Use char because int might match the return type of a GCC
14823 builtin and then its argument prototype would still apply. */
14824 #ifdef __cplusplus
14825 extern "C"
14826 #endif
14827 char pa_stream_is_corked ();
14829 main ()
14831 return pa_stream_is_corked ();
14833 return 0;
14835 _ACEOF
14836 if ac_fn_c_try_link "$LINENO"; then :
14837 ac_cv_lib_pulse_pa_stream_is_corked=yes
14838 else
14839 ac_cv_lib_pulse_pa_stream_is_corked=no
14841 rm -f core conftest.err conftest.$ac_objext \
14842 conftest$ac_exeext conftest.$ac_ext
14843 LIBS=$ac_check_lib_save_LIBS
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14846 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14847 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14849 else
14850 PULSE_LIBS=""
14853 else
14854 PULSE_LIBS=""
14857 done
14859 CPPFLAGS=$ac_save_CPPFLAGS
14860 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14861 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14864 if test -z "$PULSE_LIBS"; then :
14865 case "x$with_pulse" in
14866 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14867 xno) ;;
14868 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14869 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14870 esac
14871 enable_winepulse_drv=${enable_winepulse_drv:-no}
14874 if test "x$with_gstreamer" != "xno"
14875 then
14876 if ${GSTREAMER_CFLAGS:+false} :; then :
14877 if ${PKG_CONFIG+:} false; then :
14878 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14882 if ${GSTREAMER_LIBS:+false} :; then :
14883 if ${PKG_CONFIG+:} false; then :
14884 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14889 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14890 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14891 ac_save_CPPFLAGS=$CPPFLAGS
14892 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14893 ac_gst_incl=""
14894 for i in $GSTREAMER_CFLAGS
14896 case "$i" in
14897 -I*) ac_gst_incl="$ac_gst_incl $i";;
14898 esac
14899 done
14900 GSTREAMER_CFLAGS=$ac_gst_incl
14901 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14902 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14903 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14905 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14908 #include <gst/gst.h>
14910 main ()
14912 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14914 return 0;
14916 _ACEOF
14917 if ac_fn_c_try_compile "$LINENO"; then :
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14919 $as_echo "yes" >&6; }
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14921 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14922 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14923 $as_echo_n "(cached) " >&6
14924 else
14925 ac_check_lib_save_LIBS=$LIBS
14926 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14928 /* end confdefs.h. */
14930 /* Override any GCC internal prototype to avoid an error.
14931 Use char because int might match the return type of a GCC
14932 builtin and then its argument prototype would still apply. */
14933 #ifdef __cplusplus
14934 extern "C"
14935 #endif
14936 char gst_pad_new ();
14938 main ()
14940 return gst_pad_new ();
14942 return 0;
14944 _ACEOF
14945 if ac_fn_c_try_link "$LINENO"; then :
14946 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14947 else
14948 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14950 rm -f core conftest.err conftest.$ac_objext \
14951 conftest$ac_exeext conftest.$ac_ext
14952 LIBS=$ac_check_lib_save_LIBS
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14955 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14956 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14960 else
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14962 $as_echo "no" >&6; }
14963 ac_glib2_broken=yes
14964 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14970 CPPFLAGS=$ac_save_CPPFLAGS
14971 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14972 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14975 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 :
14976 case "x$with_gstreamer" in
14977 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14978 xno) ;;
14979 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14980 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14981 esac
14984 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14986 ALSA_LIBS=""
14988 if test "x$with_alsa" != "xno"
14989 then
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14991 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14992 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14993 $as_echo_n "(cached) " >&6
14994 else
14995 ac_check_lib_save_LIBS=$LIBS
14996 LIBS="-lasound $LIBS"
14997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14998 /* end confdefs.h. */
15000 /* Override any GCC internal prototype to avoid an error.
15001 Use char because int might match the return type of a GCC
15002 builtin and then its argument prototype would still apply. */
15003 #ifdef __cplusplus
15004 extern "C"
15005 #endif
15006 char snd_pcm_hw_params_get_access_mask ();
15008 main ()
15010 return snd_pcm_hw_params_get_access_mask ();
15012 return 0;
15014 _ACEOF
15015 if ac_fn_c_try_link "$LINENO"; then :
15016 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
15017 else
15018 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
15020 rm -f core conftest.err conftest.$ac_objext \
15021 conftest$ac_exeext conftest.$ac_ext
15022 LIBS=$ac_check_lib_save_LIBS
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
15025 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
15026 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
15027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15028 /* end confdefs.h. */
15029 #include <alsa/asoundlib.h>
15031 main ()
15033 snd_pcm_hw_params_get_access_mask(NULL, NULL)
15035 return 0;
15037 _ACEOF
15038 if ac_fn_c_try_compile "$LINENO"; then :
15039 ALSA_LIBS="-lasound"
15041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15045 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
15047 if test "x$with_oss" != xno
15048 then
15049 ac_save_CPPFLAGS="$CPPFLAGS"
15050 if test -f /etc/oss.conf
15051 then
15052 . /etc/oss.conf
15054 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
15055 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
15056 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
15057 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
15058 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
15060 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
15062 cat >>confdefs.h <<_ACEOF
15063 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
15064 _ACEOF
15066 OSS4_CFLAGS="$ac_oss_incl"
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
15069 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
15070 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
15071 $as_echo_n "(cached) " >&6
15072 else
15073 ac_check_lib_save_LIBS=$LIBS
15074 LIBS="-lossaudio $LIBS"
15075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15078 /* Override any GCC internal prototype to avoid an error.
15079 Use char because int might match the return type of a GCC
15080 builtin and then its argument prototype would still apply. */
15081 #ifdef __cplusplus
15082 extern "C"
15083 #endif
15084 char _oss_ioctl ();
15086 main ()
15088 return _oss_ioctl ();
15090 return 0;
15092 _ACEOF
15093 if ac_fn_c_try_link "$LINENO"; then :
15094 ac_cv_lib_ossaudio__oss_ioctl=yes
15095 else
15096 ac_cv_lib_ossaudio__oss_ioctl=no
15098 rm -f core conftest.err conftest.$ac_objext \
15099 conftest$ac_exeext conftest.$ac_ext
15100 LIBS=$ac_check_lib_save_LIBS
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
15103 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
15104 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
15105 OSS4_LIBS="-lossaudio"
15114 CPPFLAGS="$ac_save_CPPFLAGS"
15116 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
15117 case "x$with_oss" in
15118 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
15119 xno) ;;
15120 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
15121 This is an error since --with-oss was requested." "$LINENO" 5 ;;
15122 esac
15123 enable_wineoss_drv=${enable_wineoss_drv:-no}
15126 if test "x$with_udev" != "xno"
15127 then
15128 if ${UDEV_CFLAGS:+false} :; then :
15129 if ${PKG_CONFIG+:} false; then :
15130 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
15134 if ${UDEV_LIBS:+false} :; then :
15135 if ${PKG_CONFIG+:} false; then :
15136 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
15140 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
15141 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
15142 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
15143 ac_save_CPPFLAGS=$CPPFLAGS
15144 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
15145 for ac_header in libudev.h
15146 do :
15147 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15148 if test "x$ac_cv_header_libudev_h" = xyes; then :
15149 cat >>confdefs.h <<_ACEOF
15150 #define HAVE_LIBUDEV_H 1
15151 _ACEOF
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15153 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15154 if ${ac_cv_lib_udev_udev_new+:} false; then :
15155 $as_echo_n "(cached) " >&6
15156 else
15157 ac_check_lib_save_LIBS=$LIBS
15158 LIBS="-ludev $UDEV_LIBS $LIBS"
15159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15162 /* Override any GCC internal prototype to avoid an error.
15163 Use char because int might match the return type of a GCC
15164 builtin and then its argument prototype would still apply. */
15165 #ifdef __cplusplus
15166 extern "C"
15167 #endif
15168 char udev_new ();
15170 main ()
15172 return udev_new ();
15174 return 0;
15176 _ACEOF
15177 if ac_fn_c_try_link "$LINENO"; then :
15178 ac_cv_lib_udev_udev_new=yes
15179 else
15180 ac_cv_lib_udev_udev_new=no
15182 rm -f core conftest.err conftest.$ac_objext \
15183 conftest$ac_exeext conftest.$ac_ext
15184 LIBS=$ac_check_lib_save_LIBS
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15187 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15188 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15190 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15192 else
15193 UDEV_LIBS=""
15196 else
15197 UDEV_LIBS=""
15200 done
15202 CPPFLAGS=$ac_save_CPPFLAGS
15203 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15204 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15207 if test "x$UDEV_LIBS" = "x"; then :
15208 case "x$with_udev" in
15209 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15210 xno) ;;
15211 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15212 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15213 esac
15217 if test "x$with_unwind" != xno
15218 then
15219 if ${UNWIND_CFLAGS:+false} :; then :
15220 if ${PKG_CONFIG+:} false; then :
15221 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15225 if ${UNWIND_LIBS:+false} :; then :
15226 if ${PKG_CONFIG+:} false; then :
15227 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15231 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15232 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15233 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15234 ac_save_CPPFLAGS=$CPPFLAGS
15235 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15237 $as_echo_n "checking for unw_step... " >&6; }
15238 if ${wine_cv_have_unw_step+:} false; then :
15239 $as_echo_n "(cached) " >&6
15240 else
15241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15242 /* end confdefs.h. */
15243 #define UNW_LOCAL_ONLY
15244 #include <libunwind.h>
15246 main ()
15248 unw_cursor_t cursor; unw_step( &cursor );
15250 return 0;
15252 _ACEOF
15253 if ac_fn_c_try_link "$LINENO"; then :
15254 wine_cv_have_unw_step="yes"
15255 else
15256 wine_cv_have_unw_step="no"
15258 rm -f core conftest.err conftest.$ac_objext \
15259 conftest$ac_exeext conftest.$ac_ext
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15262 $as_echo "$wine_cv_have_unw_step" >&6; }
15263 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15264 then
15265 save_libs=$LIBS
15266 LIBS="$UNWIND_LIBS $LIBS"
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15268 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15269 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15270 $as_echo_n "(cached) " >&6
15271 else
15272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15273 /* end confdefs.h. */
15274 #define UNW_LOCAL_ONLY
15275 #include <libunwind.h>
15277 main ()
15279 unw_cursor_t cursor; unw_step( &cursor );
15281 return 0;
15283 _ACEOF
15284 if ac_fn_c_try_link "$LINENO"; then :
15285 wine_cv_have_libunwind_unw_step="yes"
15286 else
15287 wine_cv_have_libunwind_unw_step="no"
15289 rm -f core conftest.err conftest.$ac_objext \
15290 conftest$ac_exeext conftest.$ac_ext
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15293 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15294 LIBS=$save_libs
15296 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15297 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15298 then
15300 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15303 CPPFLAGS=$ac_save_CPPFLAGS
15304 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15305 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15308 case $host in
15309 aarch64*|*-darwin*)
15310 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15311 case "x$with_unwind" in
15312 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15313 xno) ;;
15314 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15315 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15316 esac
15318 fi ;;
15319 esac
15321 if test "x$with_sdl" != "xno"
15322 then
15323 if ${SDL2_CFLAGS:+false} :; then :
15324 if ${PKG_CONFIG+:} false; then :
15325 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15329 if ${SDL2_LIBS:+false} :; then :
15330 if ${PKG_CONFIG+:} false; then :
15331 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15335 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15336 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15337 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15338 ac_save_CPPFLAGS=$CPPFLAGS
15339 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15340 for ac_header in SDL2/SDL.h
15341 do :
15342 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15343 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15344 cat >>confdefs.h <<_ACEOF
15345 #define HAVE_SDL2_SDL_H 1
15346 _ACEOF
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15348 $as_echo_n "checking for -lSDL2... " >&6; }
15349 if ${ac_cv_lib_soname_SDL2+:} false; then :
15350 $as_echo_n "(cached) " >&6
15351 else
15352 ac_check_soname_save_LIBS=$LIBS
15353 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15355 /* end confdefs.h. */
15357 /* Override any GCC internal prototype to avoid an error.
15358 Use char because int might match the return type of a GCC
15359 builtin and then its argument prototype would still apply. */
15360 #ifdef __cplusplus
15361 extern "C"
15362 #endif
15363 char SDL_Init ();
15365 main ()
15367 return SDL_Init ();
15369 return 0;
15371 _ACEOF
15372 if ac_fn_c_try_link "$LINENO"; then :
15373 case "$LIBEXT" in
15374 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15375 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'` ;;
15376 *) 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'`
15377 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15378 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15379 fi ;;
15380 esac
15381 else
15382 ac_cv_lib_soname_SDL2=
15384 rm -f core conftest.err conftest.$ac_objext \
15385 conftest$ac_exeext conftest.$ac_ext
15386 LIBS=$ac_check_soname_save_LIBS
15388 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15390 $as_echo "not found" >&6; }
15392 else
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15394 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15396 cat >>confdefs.h <<_ACEOF
15397 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15398 _ACEOF
15404 done
15406 CPPFLAGS=$ac_save_CPPFLAGS
15407 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15408 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15411 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15412 case "x$with_sdl" in
15413 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15414 xno) ;;
15415 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15416 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15417 esac
15421 if test "x$with_faudio" != "xno"
15422 then
15423 if ${FAUDIO_CFLAGS:+false} :; then :
15424 if ${PKG_CONFIG+:} false; then :
15425 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15429 if ${FAUDIO_LIBS:+false} :; then :
15430 if ${PKG_CONFIG+:} false; then :
15431 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15435 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15436 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15437 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15438 ac_save_CPPFLAGS=$CPPFLAGS
15439 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15440 for ac_header in FAudio.h
15441 do :
15442 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15443 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15444 cat >>confdefs.h <<_ACEOF
15445 #define HAVE_FAUDIO_H 1
15446 _ACEOF
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15448 $as_echo_n "checking for -lFAudio... " >&6; }
15449 if ${ac_cv_lib_soname_FAudio+:} false; then :
15450 $as_echo_n "(cached) " >&6
15451 else
15452 ac_check_soname_save_LIBS=$LIBS
15453 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15455 /* end confdefs.h. */
15457 /* Override any GCC internal prototype to avoid an error.
15458 Use char because int might match the return type of a GCC
15459 builtin and then its argument prototype would still apply. */
15460 #ifdef __cplusplus
15461 extern "C"
15462 #endif
15463 char FAudioCreate ();
15465 main ()
15467 return FAudioCreate ();
15469 return 0;
15471 _ACEOF
15472 if ac_fn_c_try_link "$LINENO"; then :
15473 case "$LIBEXT" in
15474 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15475 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'` ;;
15476 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15477 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15478 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15479 fi ;;
15480 esac
15481 else
15482 ac_cv_lib_soname_FAudio=
15484 rm -f core conftest.err conftest.$ac_objext \
15485 conftest$ac_exeext conftest.$ac_ext
15486 LIBS=$ac_check_soname_save_LIBS
15488 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15490 $as_echo "not found" >&6; }
15492 else
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15494 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15496 cat >>confdefs.h <<_ACEOF
15497 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15498 _ACEOF
15504 done
15506 ac_wine_check_funcs_save_LIBS="$LIBS"
15507 LIBS="$LIBS $FAUDIO_LIBS"
15508 for ac_func in FAudio_CommitOperationSet \
15509 F3DAudioInitialize8 \
15510 FAudioLinkedVersion
15511 do :
15512 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15514 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15515 cat >>confdefs.h <<_ACEOF
15516 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15517 _ACEOF
15520 done
15522 LIBS="$ac_wine_check_funcs_save_LIBS"
15524 CPPFLAGS=$ac_save_CPPFLAGS
15525 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15526 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15529 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15530 case "x$with_faudio" in
15531 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15532 xno) ;;
15533 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15534 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15535 esac
15539 if test "x$with_capi" != "xno"
15540 then
15541 if ${CAPI20_CFLAGS:+false} :; then :
15542 if ${PKG_CONFIG+:} false; then :
15543 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15547 if ${CAPI20_LIBS:+false} :; then :
15548 if ${PKG_CONFIG+:} false; then :
15549 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15554 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15555 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15556 ac_save_CPPFLAGS=$CPPFLAGS
15557 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15558 for ac_header in capi20.h linux/capi.h
15559 do :
15560 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15561 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15563 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15564 cat >>confdefs.h <<_ACEOF
15565 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15566 _ACEOF
15570 done
15572 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15573 then
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15575 $as_echo_n "checking for -lcapi20... " >&6; }
15576 if ${ac_cv_lib_soname_capi20+:} false; then :
15577 $as_echo_n "(cached) " >&6
15578 else
15579 ac_check_soname_save_LIBS=$LIBS
15580 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15582 /* end confdefs.h. */
15584 /* Override any GCC internal prototype to avoid an error.
15585 Use char because int might match the return type of a GCC
15586 builtin and then its argument prototype would still apply. */
15587 #ifdef __cplusplus
15588 extern "C"
15589 #endif
15590 char capi20_register ();
15592 main ()
15594 return capi20_register ();
15596 return 0;
15598 _ACEOF
15599 if ac_fn_c_try_link "$LINENO"; then :
15600 case "$LIBEXT" in
15601 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15602 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'` ;;
15603 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15604 if ${ac_cv_lib_soname_capi20:+false} :; then :
15605 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15606 fi ;;
15607 esac
15608 else
15609 ac_cv_lib_soname_capi20=
15611 rm -f core conftest.err conftest.$ac_objext \
15612 conftest$ac_exeext conftest.$ac_ext
15613 LIBS=$ac_check_soname_save_LIBS
15615 if ${ac_cv_lib_soname_capi20:+false} :; then :
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15617 $as_echo "not found" >&6; }
15619 else
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15621 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15623 cat >>confdefs.h <<_ACEOF
15624 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15625 _ACEOF
15630 CPPFLAGS=$ac_save_CPPFLAGS
15631 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15632 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15635 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15636 case "x$with_capi" in
15637 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15638 xno) ;;
15639 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15640 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15641 esac
15645 if test "x$with_cups" != "xno"
15646 then
15647 if ${CUPS_CFLAGS:+false} :; then :
15648 if ${PKG_CONFIG+:} false; then :
15649 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15652 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15653 if ${CUPS_LIBS:+false} :; then :
15654 if ${PKG_CONFIG+:} false; then :
15655 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15658 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15659 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15660 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15661 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15662 ac_save_CPPFLAGS=$CPPFLAGS
15663 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15664 for ac_header in cups/cups.h cups/ppd.h
15665 do :
15666 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15667 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15668 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15669 cat >>confdefs.h <<_ACEOF
15670 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15671 _ACEOF
15675 done
15677 if test "$ac_cv_header_cups_cups_h" = "yes"
15678 then
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15680 $as_echo_n "checking for -lcups... " >&6; }
15681 if ${ac_cv_lib_soname_cups+:} false; then :
15682 $as_echo_n "(cached) " >&6
15683 else
15684 ac_check_soname_save_LIBS=$LIBS
15685 LIBS="-lcups $CUPS_LIBS $LIBS"
15686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15687 /* end confdefs.h. */
15689 /* Override any GCC internal prototype to avoid an error.
15690 Use char because int might match the return type of a GCC
15691 builtin and then its argument prototype would still apply. */
15692 #ifdef __cplusplus
15693 extern "C"
15694 #endif
15695 char cupsGetDefault ();
15697 main ()
15699 return cupsGetDefault ();
15701 return 0;
15703 _ACEOF
15704 if ac_fn_c_try_link "$LINENO"; then :
15705 case "$LIBEXT" in
15706 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15707 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'` ;;
15708 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15709 if ${ac_cv_lib_soname_cups:+false} :; then :
15710 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15711 fi ;;
15712 esac
15713 else
15714 ac_cv_lib_soname_cups=
15716 rm -f core conftest.err conftest.$ac_objext \
15717 conftest$ac_exeext conftest.$ac_ext
15718 LIBS=$ac_check_soname_save_LIBS
15720 if ${ac_cv_lib_soname_cups:+false} :; then :
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15722 $as_echo "not found" >&6; }
15723 CUPS_LIBS=""
15724 else
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15726 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15728 cat >>confdefs.h <<_ACEOF
15729 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15730 _ACEOF
15734 else
15735 CUPS_CFLAGS=""
15736 CUPS_LIBS=""
15738 CPPFLAGS=$ac_save_CPPFLAGS
15739 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15740 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15743 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15744 case "x$with_cups" in
15745 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15746 xno) ;;
15747 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15748 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15749 esac
15753 if test "x$with_fontconfig" != "xno"
15754 then
15755 if ${FONTCONFIG_CFLAGS:+false} :; then :
15756 if ${PKG_CONFIG+:} false; then :
15757 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15760 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15761 if ${FONTCONFIG_LIBS:+false} :; then :
15762 if ${PKG_CONFIG+:} false; then :
15763 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15766 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15768 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15769 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15770 ac_save_CPPFLAGS=$CPPFLAGS
15771 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15772 for ac_header in fontconfig/fontconfig.h
15773 do :
15774 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15775 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15776 cat >>confdefs.h <<_ACEOF
15777 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15778 _ACEOF
15782 done
15784 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15785 then
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15787 $as_echo_n "checking for -lfontconfig... " >&6; }
15788 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15789 $as_echo_n "(cached) " >&6
15790 else
15791 ac_check_soname_save_LIBS=$LIBS
15792 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15794 /* end confdefs.h. */
15796 /* Override any GCC internal prototype to avoid an error.
15797 Use char because int might match the return type of a GCC
15798 builtin and then its argument prototype would still apply. */
15799 #ifdef __cplusplus
15800 extern "C"
15801 #endif
15802 char FcInit ();
15804 main ()
15806 return FcInit ();
15808 return 0;
15810 _ACEOF
15811 if ac_fn_c_try_link "$LINENO"; then :
15812 case "$LIBEXT" in
15813 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15814 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'` ;;
15815 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15816 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15817 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15818 fi ;;
15819 esac
15820 else
15821 ac_cv_lib_soname_fontconfig=
15823 rm -f core conftest.err conftest.$ac_objext \
15824 conftest$ac_exeext conftest.$ac_ext
15825 LIBS=$ac_check_soname_save_LIBS
15827 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15829 $as_echo "not found" >&6; }
15830 FONTCONFIG_CFLAGS=""
15831 else
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15833 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15835 cat >>confdefs.h <<_ACEOF
15836 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15837 _ACEOF
15841 else
15842 FONTCONFIG_CFLAGS=""
15844 CPPFLAGS=$ac_save_CPPFLAGS
15845 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15846 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15849 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15850 case "x$with_fontconfig" in
15851 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15852 xno) ;;
15853 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15854 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15855 esac
15859 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15860 then
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15862 $as_echo_n "checking for -lgsm... " >&6; }
15863 if ${ac_cv_lib_soname_gsm+:} false; then :
15864 $as_echo_n "(cached) " >&6
15865 else
15866 ac_check_soname_save_LIBS=$LIBS
15867 LIBS="-lgsm $LIBS"
15868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15869 /* end confdefs.h. */
15871 /* Override any GCC internal prototype to avoid an error.
15872 Use char because int might match the return type of a GCC
15873 builtin and then its argument prototype would still apply. */
15874 #ifdef __cplusplus
15875 extern "C"
15876 #endif
15877 char gsm_create ();
15879 main ()
15881 return gsm_create ();
15883 return 0;
15885 _ACEOF
15886 if ac_fn_c_try_link "$LINENO"; then :
15887 case "$LIBEXT" in
15888 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15889 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'` ;;
15890 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15891 if ${ac_cv_lib_soname_gsm:+false} :; then :
15892 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15893 fi ;;
15894 esac
15895 else
15896 ac_cv_lib_soname_gsm=
15898 rm -f core conftest.err conftest.$ac_objext \
15899 conftest$ac_exeext conftest.$ac_ext
15900 LIBS=$ac_check_soname_save_LIBS
15902 if ${ac_cv_lib_soname_gsm:+false} :; then :
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15904 $as_echo "not found" >&6; }
15906 else
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15908 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15910 cat >>confdefs.h <<_ACEOF
15911 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15912 _ACEOF
15917 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15918 case "x$with_gsm" in
15919 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15920 xno) ;;
15921 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15922 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15923 esac
15927 if test "x$with_krb5" != "xno"
15928 then
15929 if ${KRB5_CFLAGS:+false} :; then :
15930 if ${PKG_CONFIG+:} false; then :
15931 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15934 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15935 if ${KRB5_LIBS:+false} :; then :
15936 if ${PKG_CONFIG+:} false; then :
15937 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15940 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15942 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15943 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15944 ac_save_CPPFLAGS=$CPPFLAGS
15945 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15946 for ac_header in krb5/krb5.h
15947 do :
15948 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15949 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15950 cat >>confdefs.h <<_ACEOF
15951 #define HAVE_KRB5_KRB5_H 1
15952 _ACEOF
15956 done
15958 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15959 then
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15961 $as_echo_n "checking for -lkrb5... " >&6; }
15962 if ${ac_cv_lib_soname_krb5+:} false; then :
15963 $as_echo_n "(cached) " >&6
15964 else
15965 ac_check_soname_save_LIBS=$LIBS
15966 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15968 /* end confdefs.h. */
15970 /* Override any GCC internal prototype to avoid an error.
15971 Use char because int might match the return type of a GCC
15972 builtin and then its argument prototype would still apply. */
15973 #ifdef __cplusplus
15974 extern "C"
15975 #endif
15976 char krb5_is_config_principal ();
15978 main ()
15980 return krb5_is_config_principal ();
15982 return 0;
15984 _ACEOF
15985 if ac_fn_c_try_link "$LINENO"; then :
15986 case "$LIBEXT" in
15987 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15988 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'` ;;
15989 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15990 if ${ac_cv_lib_soname_krb5:+false} :; then :
15991 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15992 fi ;;
15993 esac
15994 else
15995 ac_cv_lib_soname_krb5=
15997 rm -f core conftest.err conftest.$ac_objext \
15998 conftest$ac_exeext conftest.$ac_ext
15999 LIBS=$ac_check_soname_save_LIBS
16001 if ${ac_cv_lib_soname_krb5:+false} :; then :
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16003 $as_echo "not found" >&6; }
16004 KRB5_CFLAGS=""
16005 else
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
16007 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
16009 cat >>confdefs.h <<_ACEOF
16010 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
16011 _ACEOF
16015 else
16016 KRB5_CFLAGS=""
16018 CPPFLAGS=$ac_save_CPPFLAGS
16019 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16020 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16023 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
16024 case "x$with_krb5" in
16025 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
16026 xno) ;;
16027 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
16028 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
16029 esac
16032 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
16034 if test "x$with_gssapi" != "xno"
16035 then
16036 if ${GSSAPI_CFLAGS:+false} :; then :
16037 if ${PKG_CONFIG+:} false; then :
16038 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
16041 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
16042 if ${GSSAPI_LIBS:+false} :; then :
16043 if ${PKG_CONFIG+:} false; then :
16044 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
16047 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
16049 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
16050 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
16051 ac_save_CPPFLAGS=$CPPFLAGS
16052 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
16053 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
16054 do :
16055 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16056 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16057 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16058 cat >>confdefs.h <<_ACEOF
16059 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16060 _ACEOF
16064 done
16066 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
16067 then
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
16069 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
16070 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
16071 $as_echo_n "(cached) " >&6
16072 else
16073 ac_check_soname_save_LIBS=$LIBS
16074 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
16075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16076 /* end confdefs.h. */
16078 /* Override any GCC internal prototype to avoid an error.
16079 Use char because int might match the return type of a GCC
16080 builtin and then its argument prototype would still apply. */
16081 #ifdef __cplusplus
16082 extern "C"
16083 #endif
16084 char gss_init_sec_context ();
16086 main ()
16088 return gss_init_sec_context ();
16090 return 0;
16092 _ACEOF
16093 if ac_fn_c_try_link "$LINENO"; then :
16094 case "$LIBEXT" in
16095 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16096 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'` ;;
16097 *) 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'`
16098 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16099 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16100 fi ;;
16101 esac
16102 else
16103 ac_cv_lib_soname_gssapi_krb5=
16105 rm -f core conftest.err conftest.$ac_objext \
16106 conftest$ac_exeext conftest.$ac_ext
16107 LIBS=$ac_check_soname_save_LIBS
16109 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16111 $as_echo "not found" >&6; }
16112 GSSAPI_CFLAGS=""
16113 else
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
16115 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
16117 cat >>confdefs.h <<_ACEOF
16118 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
16119 _ACEOF
16123 else
16124 GSSAPI_CFLAGS=""
16126 CPPFLAGS=$ac_save_CPPFLAGS
16127 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16128 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16131 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
16132 case "x$with_gssapi" in
16133 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
16134 xno) ;;
16135 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
16136 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
16137 esac
16141 if test "x$with_jpeg" != "xno"
16142 then
16143 if ${JPEG_CFLAGS:+false} :; then :
16144 if ${PKG_CONFIG+:} false; then :
16145 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16149 if ${JPEG_LIBS:+false} :; then :
16150 if ${PKG_CONFIG+:} false; then :
16151 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16156 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16157 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16158 ac_save_CPPFLAGS=$CPPFLAGS
16159 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16160 for ac_header in jpeglib.h
16161 do :
16162 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16163 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16164 cat >>confdefs.h <<_ACEOF
16165 #define HAVE_JPEGLIB_H 1
16166 _ACEOF
16170 done
16172 if test "$ac_cv_header_jpeglib_h" = "yes"
16173 then
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16175 $as_echo_n "checking for -ljpeg... " >&6; }
16176 if ${ac_cv_lib_soname_jpeg+:} false; then :
16177 $as_echo_n "(cached) " >&6
16178 else
16179 ac_check_soname_save_LIBS=$LIBS
16180 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16182 /* end confdefs.h. */
16184 /* Override any GCC internal prototype to avoid an error.
16185 Use char because int might match the return type of a GCC
16186 builtin and then its argument prototype would still apply. */
16187 #ifdef __cplusplus
16188 extern "C"
16189 #endif
16190 char jpeg_start_decompress ();
16192 main ()
16194 return jpeg_start_decompress ();
16196 return 0;
16198 _ACEOF
16199 if ac_fn_c_try_link "$LINENO"; then :
16200 case "$LIBEXT" in
16201 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16202 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'` ;;
16203 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16204 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16205 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16206 fi ;;
16207 esac
16208 else
16209 ac_cv_lib_soname_jpeg=
16211 rm -f core conftest.err conftest.$ac_objext \
16212 conftest$ac_exeext conftest.$ac_ext
16213 LIBS=$ac_check_soname_save_LIBS
16215 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16217 $as_echo "not found" >&6; }
16218 JPEG_CFLAGS=""
16219 else
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16221 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16223 cat >>confdefs.h <<_ACEOF
16224 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16225 _ACEOF
16229 else
16230 JPEG_CFLAGS=""
16232 CPPFLAGS=$ac_save_CPPFLAGS
16233 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16234 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16237 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16238 case "x$with_jpeg" in
16239 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16240 xno) ;;
16241 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16242 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16243 esac
16247 if test "x$with_png" != "xno"
16248 then
16249 if ${PNG_CFLAGS:+false} :; then :
16250 if ${PKG_CONFIG+:} false; then :
16251 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16254 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16255 if ${PNG_LIBS:+false} :; then :
16256 if ${PKG_CONFIG+:} false; then :
16257 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16260 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16262 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16263 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16264 ac_save_CPPFLAGS=$CPPFLAGS
16265 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16266 for ac_header in png.h
16267 do :
16268 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16269 if test "x$ac_cv_header_png_h" = xyes; then :
16270 cat >>confdefs.h <<_ACEOF
16271 #define HAVE_PNG_H 1
16272 _ACEOF
16276 done
16278 if test "$ac_cv_header_png_h" = "yes"
16279 then
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16281 $as_echo_n "checking for -lpng... " >&6; }
16282 if ${ac_cv_lib_soname_png+:} false; then :
16283 $as_echo_n "(cached) " >&6
16284 else
16285 ac_check_soname_save_LIBS=$LIBS
16286 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16288 /* end confdefs.h. */
16290 /* Override any GCC internal prototype to avoid an error.
16291 Use char because int might match the return type of a GCC
16292 builtin and then its argument prototype would still apply. */
16293 #ifdef __cplusplus
16294 extern "C"
16295 #endif
16296 char png_create_read_struct ();
16298 main ()
16300 return png_create_read_struct ();
16302 return 0;
16304 _ACEOF
16305 if ac_fn_c_try_link "$LINENO"; then :
16306 case "$LIBEXT" in
16307 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16308 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'` ;;
16309 *) 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'`
16310 if ${ac_cv_lib_soname_png:+false} :; then :
16311 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16312 fi ;;
16313 esac
16314 else
16315 ac_cv_lib_soname_png=
16317 rm -f core conftest.err conftest.$ac_objext \
16318 conftest$ac_exeext conftest.$ac_ext
16319 LIBS=$ac_check_soname_save_LIBS
16321 if ${ac_cv_lib_soname_png:+false} :; then :
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16323 $as_echo "not found" >&6; }
16324 PNG_CFLAGS=""
16325 else
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16327 $as_echo "$ac_cv_lib_soname_png" >&6; }
16329 cat >>confdefs.h <<_ACEOF
16330 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16331 _ACEOF
16335 else
16336 PNG_CFLAGS=""
16338 CPPFLAGS=$ac_save_CPPFLAGS
16339 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16340 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16343 if test "x$ac_cv_lib_soname_png" = "x"; then :
16344 case "x$with_png" in
16345 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16346 xno) ;;
16347 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16348 This is an error since --with-png was requested." "$LINENO" 5 ;;
16349 esac
16353 if test "x$with_tiff" != "xno"
16354 then
16355 if ${TIFF_CFLAGS:+false} :; then :
16356 if ${PKG_CONFIG+:} false; then :
16357 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16361 if ${TIFF_LIBS:+false} :; then :
16362 if ${PKG_CONFIG+:} false; then :
16363 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16368 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16369 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16370 ac_save_CPPFLAGS=$CPPFLAGS
16371 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16372 for ac_header in tiffio.h
16373 do :
16374 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_TIFFIO_H 1
16378 _ACEOF
16382 done
16384 if test "$ac_cv_header_tiffio_h" = "yes"
16385 then
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16387 $as_echo_n "checking for -ltiff... " >&6; }
16388 if ${ac_cv_lib_soname_tiff+:} false; then :
16389 $as_echo_n "(cached) " >&6
16390 else
16391 ac_check_soname_save_LIBS=$LIBS
16392 LIBS="-ltiff $TIFF_LIBS $LIBS"
16393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16394 /* end confdefs.h. */
16396 /* Override any GCC internal prototype to avoid an error.
16397 Use char because int might match the return type of a GCC
16398 builtin and then its argument prototype would still apply. */
16399 #ifdef __cplusplus
16400 extern "C"
16401 #endif
16402 char TIFFClientOpen ();
16404 main ()
16406 return TIFFClientOpen ();
16408 return 0;
16410 _ACEOF
16411 if ac_fn_c_try_link "$LINENO"; then :
16412 case "$LIBEXT" in
16413 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16414 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'` ;;
16415 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16416 if ${ac_cv_lib_soname_tiff:+false} :; then :
16417 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16418 fi ;;
16419 esac
16420 else
16421 ac_cv_lib_soname_tiff=
16423 rm -f core conftest.err conftest.$ac_objext \
16424 conftest$ac_exeext conftest.$ac_ext
16425 LIBS=$ac_check_soname_save_LIBS
16427 if ${ac_cv_lib_soname_tiff:+false} :; then :
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16429 $as_echo "not found" >&6; }
16431 else
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16433 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16435 cat >>confdefs.h <<_ACEOF
16436 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16437 _ACEOF
16442 CPPFLAGS=$ac_save_CPPFLAGS
16443 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16444 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16447 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16448 case "x$with_tiff" in
16449 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16450 xno) ;;
16451 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16452 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16453 esac
16457 if test "x$with_mpg123" != "xno"
16458 then
16459 if ${MPG123_CFLAGS:+false} :; then :
16460 if ${PKG_CONFIG+:} false; then :
16461 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16465 if ${MPG123_LIBS:+false} :; then :
16466 if ${PKG_CONFIG+:} false; then :
16467 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16471 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16472 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16473 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16474 ac_save_CPPFLAGS=$CPPFLAGS
16475 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16476 for ac_header in mpg123.h
16477 do :
16478 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16479 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16480 cat >>confdefs.h <<_ACEOF
16481 #define HAVE_MPG123_H 1
16482 _ACEOF
16486 done
16488 if test "$ac_cv_header_mpg123_h" = "yes"
16489 then
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16491 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16492 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16493 $as_echo_n "(cached) " >&6
16494 else
16495 ac_check_lib_save_LIBS=$LIBS
16496 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16498 /* end confdefs.h. */
16500 /* Override any GCC internal prototype to avoid an error.
16501 Use char because int might match the return type of a GCC
16502 builtin and then its argument prototype would still apply. */
16503 #ifdef __cplusplus
16504 extern "C"
16505 #endif
16506 char mpg123_feed ();
16508 main ()
16510 return mpg123_feed ();
16512 return 0;
16514 _ACEOF
16515 if ac_fn_c_try_link "$LINENO"; then :
16516 ac_cv_lib_mpg123_mpg123_feed=yes
16517 else
16518 ac_cv_lib_mpg123_mpg123_feed=no
16520 rm -f core conftest.err conftest.$ac_objext \
16521 conftest$ac_exeext conftest.$ac_ext
16522 LIBS=$ac_check_lib_save_LIBS
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16525 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16526 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16528 else
16529 MPG123_LIBS=""
16532 else
16533 MPG123_CFLAGS=""
16534 MPG123_LIBS=""
16536 CPPFLAGS=$ac_save_CPPFLAGS
16537 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16538 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16541 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16542 case "x$with_mpg123" in
16543 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16544 xno) ;;
16545 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16546 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16547 esac
16548 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16550 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16552 if test "$ac_cv_header_AL_al_h" = "yes"
16553 then
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16555 $as_echo_n "checking for -lopenal... " >&6; }
16556 if ${ac_cv_lib_soname_openal+:} false; then :
16557 $as_echo_n "(cached) " >&6
16558 else
16559 ac_check_soname_save_LIBS=$LIBS
16560 LIBS="-lopenal $LIBS"
16561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16562 /* end confdefs.h. */
16564 /* Override any GCC internal prototype to avoid an error.
16565 Use char because int might match the return type of a GCC
16566 builtin and then its argument prototype would still apply. */
16567 #ifdef __cplusplus
16568 extern "C"
16569 #endif
16570 char alGetSource3i ();
16572 main ()
16574 return alGetSource3i ();
16576 return 0;
16578 _ACEOF
16579 if ac_fn_c_try_link "$LINENO"; then :
16580 case "$LIBEXT" in
16581 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16582 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'` ;;
16583 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16584 if ${ac_cv_lib_soname_openal:+false} :; then :
16585 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16586 fi ;;
16587 esac
16588 else
16589 ac_cv_lib_soname_openal=
16591 rm -f core conftest.err conftest.$ac_objext \
16592 conftest$ac_exeext conftest.$ac_ext
16593 LIBS=$ac_check_soname_save_LIBS
16595 if ${ac_cv_lib_soname_openal:+false} :; then :
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16597 $as_echo "not found" >&6; }
16599 else
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16601 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16603 cat >>confdefs.h <<_ACEOF
16604 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16605 _ACEOF
16607 OPENAL_LIBS="-lopenal"
16609 ac_cv_lib_openal=yes
16611 cat >>confdefs.h <<_ACEOF
16612 #define HAVE_OPENAL 1
16613 _ACEOF
16617 if test "x$ac_cv_lib_openal" != xyes; then :
16618 case "x$with_openal" in
16619 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16620 xno) ;;
16621 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16622 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16623 esac
16624 enable_openal32=${enable_openal32:-no}
16627 if test "x$ac_cv_lib_soname_FAudio" = "x"
16628 then
16629 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16630 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16631 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16632 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16633 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16634 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16635 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16636 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16637 enable_xactengine3_6=${enable_xactengine3_6:-no}
16638 enable_xactengine3_7=${enable_xactengine3_7:-no}
16639 enable_xapofx1_1=${enable_xapofx1_1:-no}
16640 enable_xapofx1_2=${enable_xapofx1_2:-no}
16641 enable_xapofx1_3=${enable_xapofx1_3:-no}
16642 enable_xapofx1_4=${enable_xapofx1_4:-no}
16643 enable_xapofx1_5=${enable_xapofx1_5:-no}
16644 enable_xaudio2_0=${enable_xaudio2_0:-no}
16645 enable_xaudio2_1=${enable_xaudio2_1:-no}
16646 enable_xaudio2_2=${enable_xaudio2_2:-no}
16647 enable_xaudio2_3=${enable_xaudio2_3:-no}
16648 enable_xaudio2_4=${enable_xaudio2_4:-no}
16649 enable_xaudio2_5=${enable_xaudio2_5:-no}
16650 enable_xaudio2_6=${enable_xaudio2_6:-no}
16651 enable_xaudio2_7=${enable_xaudio2_7:-no}
16652 enable_xaudio2_8=${enable_xaudio2_8:-no}
16653 enable_xaudio2_9=${enable_xaudio2_9:-no}
16656 if test "$ac_cv_header_kstat_h" = "yes"
16657 then
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16659 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16660 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16661 $as_echo_n "(cached) " >&6
16662 else
16663 ac_check_lib_save_LIBS=$LIBS
16664 LIBS="-lkstat $LIBS"
16665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16666 /* end confdefs.h. */
16668 /* Override any GCC internal prototype to avoid an error.
16669 Use char because int might match the return type of a GCC
16670 builtin and then its argument prototype would still apply. */
16671 #ifdef __cplusplus
16672 extern "C"
16673 #endif
16674 char kstat_open ();
16676 main ()
16678 return kstat_open ();
16680 return 0;
16682 _ACEOF
16683 if ac_fn_c_try_link "$LINENO"; then :
16684 ac_cv_lib_kstat_kstat_open=yes
16685 else
16686 ac_cv_lib_kstat_kstat_open=no
16688 rm -f core conftest.err conftest.$ac_objext \
16689 conftest$ac_exeext conftest.$ac_ext
16690 LIBS=$ac_check_lib_save_LIBS
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16693 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16694 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16696 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16698 KSTAT_LIBS="-lkstat"
16704 if test "$ac_cv_header_libprocstat_h" = "yes"
16705 then
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16707 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16708 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16709 $as_echo_n "(cached) " >&6
16710 else
16711 ac_check_lib_save_LIBS=$LIBS
16712 LIBS="-lprocstat $LIBS"
16713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16714 /* end confdefs.h. */
16716 /* Override any GCC internal prototype to avoid an error.
16717 Use char because int might match the return type of a GCC
16718 builtin and then its argument prototype would still apply. */
16719 #ifdef __cplusplus
16720 extern "C"
16721 #endif
16722 char procstat_open_sysctl ();
16724 main ()
16726 return procstat_open_sysctl ();
16728 return 0;
16730 _ACEOF
16731 if ac_fn_c_try_link "$LINENO"; then :
16732 ac_cv_lib_procstat_procstat_open_sysctl=yes
16733 else
16734 ac_cv_lib_procstat_procstat_open_sysctl=no
16736 rm -f core conftest.err conftest.$ac_objext \
16737 conftest$ac_exeext conftest.$ac_ext
16738 LIBS=$ac_check_lib_save_LIBS
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16741 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16742 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16744 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16746 PROCSTAT_LIBS="-lprocstat"
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16753 $as_echo_n "checking for -lodbc... " >&6; }
16754 if ${ac_cv_lib_soname_odbc+:} false; then :
16755 $as_echo_n "(cached) " >&6
16756 else
16757 ac_check_soname_save_LIBS=$LIBS
16758 LIBS="-lodbc $LIBS"
16759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16762 /* Override any GCC internal prototype to avoid an error.
16763 Use char because int might match the return type of a GCC
16764 builtin and then its argument prototype would still apply. */
16765 #ifdef __cplusplus
16766 extern "C"
16767 #endif
16768 char SQLConnect ();
16770 main ()
16772 return SQLConnect ();
16774 return 0;
16776 _ACEOF
16777 if ac_fn_c_try_link "$LINENO"; then :
16778 case "$LIBEXT" in
16779 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16780 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'` ;;
16781 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16782 if ${ac_cv_lib_soname_odbc:+false} :; then :
16783 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16784 fi ;;
16785 esac
16786 else
16787 ac_cv_lib_soname_odbc=
16789 rm -f core conftest.err conftest.$ac_objext \
16790 conftest$ac_exeext conftest.$ac_ext
16791 LIBS=$ac_check_soname_save_LIBS
16793 if ${ac_cv_lib_soname_odbc:+false} :; then :
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16795 $as_echo "not found" >&6; }
16796 cat >>confdefs.h <<_ACEOF
16797 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16798 _ACEOF
16800 else
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16802 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16804 cat >>confdefs.h <<_ACEOF
16805 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16806 _ACEOF
16811 if test "x$with_netapi" != "xno"
16812 then
16813 if ${NETAPI_CFLAGS:+false} :; then :
16814 if ${PKG_CONFIG+:} false; then :
16815 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16819 if ${NETAPI_LIBS:+false} :; then :
16820 if ${PKG_CONFIG+:} false; then :
16821 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16826 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16827 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16828 ac_save_CPPFLAGS=$CPPFLAGS
16829 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16831 $as_echo_n "checking for -lnetapi... " >&6; }
16832 if ${ac_cv_lib_soname_netapi+:} false; then :
16833 $as_echo_n "(cached) " >&6
16834 else
16835 ac_check_soname_save_LIBS=$LIBS
16836 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16838 /* end confdefs.h. */
16840 /* Override any GCC internal prototype to avoid an error.
16841 Use char because int might match the return type of a GCC
16842 builtin and then its argument prototype would still apply. */
16843 #ifdef __cplusplus
16844 extern "C"
16845 #endif
16846 char libnetapi_init ();
16848 main ()
16850 return libnetapi_init ();
16852 return 0;
16854 _ACEOF
16855 if ac_fn_c_try_link "$LINENO"; then :
16856 case "$LIBEXT" in
16857 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16858 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'` ;;
16859 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16860 if ${ac_cv_lib_soname_netapi:+false} :; then :
16861 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16862 fi ;;
16863 esac
16864 else
16865 ac_cv_lib_soname_netapi=
16867 rm -f core conftest.err conftest.$ac_objext \
16868 conftest$ac_exeext conftest.$ac_ext
16869 LIBS=$ac_check_soname_save_LIBS
16871 if ${ac_cv_lib_soname_netapi:+false} :; then :
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16873 $as_echo "not found" >&6; }
16874 cat >>confdefs.h <<_ACEOF
16875 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16876 _ACEOF
16878 else
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16880 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16882 cat >>confdefs.h <<_ACEOF
16883 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16884 _ACEOF
16888 CPPFLAGS=$ac_save_CPPFLAGS
16889 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16890 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16894 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16895 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16896 then
16897 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16900 if test "x$with_vulkan" != "xno"
16901 then
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16903 $as_echo_n "checking for -lvulkan... " >&6; }
16904 if ${ac_cv_lib_soname_vulkan+:} false; then :
16905 $as_echo_n "(cached) " >&6
16906 else
16907 ac_check_soname_save_LIBS=$LIBS
16908 LIBS="-lvulkan $LIBS"
16909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16910 /* end confdefs.h. */
16912 /* Override any GCC internal prototype to avoid an error.
16913 Use char because int might match the return type of a GCC
16914 builtin and then its argument prototype would still apply. */
16915 #ifdef __cplusplus
16916 extern "C"
16917 #endif
16918 char vkGetInstanceProcAddr ();
16920 main ()
16922 return vkGetInstanceProcAddr ();
16924 return 0;
16926 _ACEOF
16927 if ac_fn_c_try_link "$LINENO"; then :
16928 case "$LIBEXT" in
16929 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16930 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'` ;;
16931 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16932 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16933 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16934 fi ;;
16935 esac
16936 else
16937 ac_cv_lib_soname_vulkan=
16939 rm -f core conftest.err conftest.$ac_objext \
16940 conftest$ac_exeext conftest.$ac_ext
16941 LIBS=$ac_check_soname_save_LIBS
16943 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16945 $as_echo "not found" >&6; }
16947 else
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16949 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16951 cat >>confdefs.h <<_ACEOF
16952 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16953 _ACEOF
16957 if test "x$ac_cv_lib_soname_vulkan" = "x"
16958 then
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16960 $as_echo_n "checking for -lMoltenVK... " >&6; }
16961 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16962 $as_echo_n "(cached) " >&6
16963 else
16964 ac_check_soname_save_LIBS=$LIBS
16965 LIBS="-lMoltenVK $LIBS"
16966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16967 /* end confdefs.h. */
16969 /* Override any GCC internal prototype to avoid an error.
16970 Use char because int might match the return type of a GCC
16971 builtin and then its argument prototype would still apply. */
16972 #ifdef __cplusplus
16973 extern "C"
16974 #endif
16975 char vkGetInstanceProcAddr ();
16977 main ()
16979 return vkGetInstanceProcAddr ();
16981 return 0;
16983 _ACEOF
16984 if ac_fn_c_try_link "$LINENO"; then :
16985 case "$LIBEXT" in
16986 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16987 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'` ;;
16988 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16989 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16990 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16991 fi ;;
16992 esac
16993 else
16994 ac_cv_lib_soname_MoltenVK=
16996 rm -f core conftest.err conftest.$ac_objext \
16997 conftest$ac_exeext conftest.$ac_ext
16998 LIBS=$ac_check_soname_save_LIBS
17000 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17002 $as_echo "not found" >&6; }
17004 else
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
17006 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
17008 cat >>confdefs.h <<_ACEOF
17009 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
17010 _ACEOF
17016 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
17017 case "x$with_vulkan" in
17018 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
17019 xno) ;;
17020 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
17021 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
17022 esac
17026 if test "x$with_vkd3d" != "xno"
17027 then
17028 if ${VKD3D_CFLAGS:+false} :; then :
17029 if ${PKG_CONFIG+:} false; then :
17030 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
17034 if ${VKD3D_LIBS:+false} :; then :
17035 if ${PKG_CONFIG+:} false; then :
17036 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
17041 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
17042 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
17043 ac_save_CPPFLAGS=$CPPFLAGS
17044 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
17046 $as_echo_n "checking for -lvkd3d... " >&6; }
17047 if ${ac_cv_lib_soname_vkd3d+:} false; then :
17048 $as_echo_n "(cached) " >&6
17049 else
17050 ac_check_soname_save_LIBS=$LIBS
17051 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
17052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17055 /* Override any GCC internal prototype to avoid an error.
17056 Use char because int might match the return type of a GCC
17057 builtin and then its argument prototype would still apply. */
17058 #ifdef __cplusplus
17059 extern "C"
17060 #endif
17061 char vkd3d_get_dxgi_format ();
17063 main ()
17065 return vkd3d_get_dxgi_format ();
17067 return 0;
17069 _ACEOF
17070 if ac_fn_c_try_link "$LINENO"; then :
17071 case "$LIBEXT" in
17072 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17073 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'` ;;
17074 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17075 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17076 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17077 fi ;;
17078 esac
17079 else
17080 ac_cv_lib_soname_vkd3d=
17082 rm -f core conftest.err conftest.$ac_objext \
17083 conftest$ac_exeext conftest.$ac_ext
17084 LIBS=$ac_check_soname_save_LIBS
17086 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17088 $as_echo "not found" >&6; }
17090 else
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17092 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
17094 cat >>confdefs.h <<_ACEOF
17095 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
17096 _ACEOF
17100 CPPFLAGS=$ac_save_CPPFLAGS
17101 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17102 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17105 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17106 case "x$with_vkd3d" in
17107 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17108 xno) ;;
17109 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17110 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17111 esac
17114 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17117 EXTRACFLAGS=""
17119 if test "x${GCC}" = "xyes"
17120 then
17121 EXTRACFLAGS="-Wall -pipe"
17123 saved_CFLAGS=$CFLAGS
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17125 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17126 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17127 $as_echo_n "(cached) " >&6
17128 else
17129 ac_wine_try_cflags_saved=$CFLAGS
17130 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17133 int main(int argc, char **argv) { return 0; }
17134 _ACEOF
17135 if ac_fn_c_try_link "$LINENO"; then :
17136 ac_cv_cflags__Werror_unknown_warning_option=yes
17137 else
17138 ac_cv_cflags__Werror_unknown_warning_option=no
17140 rm -f core conftest.err conftest.$ac_objext \
17141 conftest$ac_exeext conftest.$ac_ext
17142 CFLAGS=$ac_wine_try_cflags_saved
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17145 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17146 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17147 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17150 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17151 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17152 $as_echo_n "(cached) " >&6
17153 else
17154 ac_wine_try_cflags_saved=$CFLAGS
17155 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17157 /* end confdefs.h. */
17158 int main(int argc, char **argv) { return 0; }
17159 _ACEOF
17160 if ac_fn_c_try_link "$LINENO"; then :
17161 ac_cv_cflags__Werror_unused_command_line_argument=yes
17162 else
17163 ac_cv_cflags__Werror_unused_command_line_argument=no
17165 rm -f core conftest.err conftest.$ac_objext \
17166 conftest$ac_exeext conftest.$ac_ext
17167 CFLAGS=$ac_wine_try_cflags_saved
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17170 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17171 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17172 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17175 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17176 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17177 $as_echo_n "(cached) " >&6
17178 else
17179 ac_wine_try_cflags_saved=$CFLAGS
17180 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17183 int main(int argc, char **argv) { return 0; }
17184 _ACEOF
17185 if ac_fn_c_try_link "$LINENO"; then :
17186 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17187 else
17188 ac_cv_cflags__Werror_ignored_optimization_argument=no
17190 rm -f core conftest.err conftest.$ac_objext \
17191 conftest$ac_exeext conftest.$ac_ext
17192 CFLAGS=$ac_wine_try_cflags_saved
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17195 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17196 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17197 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17200 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17201 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17202 $as_echo_n "(cached) " >&6
17203 else
17204 ac_wine_try_cflags_saved=$CFLAGS
17205 CFLAGS="$CFLAGS -fcf-protection=none"
17206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17208 int main(int argc, char **argv) { return 0; }
17209 _ACEOF
17210 if ac_fn_c_try_link "$LINENO"; then :
17211 ac_cv_cflags__fcf_protection_none=yes
17212 else
17213 ac_cv_cflags__fcf_protection_none=no
17215 rm -f core conftest.err conftest.$ac_objext \
17216 conftest$ac_exeext conftest.$ac_ext
17217 CFLAGS=$ac_wine_try_cflags_saved
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17220 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17221 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17222 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17225 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17226 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17227 $as_echo_n "(cached) " >&6
17228 else
17229 ac_wine_try_cflags_saved=$CFLAGS
17230 CFLAGS="$CFLAGS -fno-stack-protector"
17231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17233 int main(int argc, char **argv) { return 0; }
17234 _ACEOF
17235 if ac_fn_c_try_link "$LINENO"; then :
17236 ac_cv_cflags__fno_stack_protector=yes
17237 else
17238 ac_cv_cflags__fno_stack_protector=no
17240 rm -f core conftest.err conftest.$ac_objext \
17241 conftest$ac_exeext conftest.$ac_ext
17242 CFLAGS=$ac_wine_try_cflags_saved
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17245 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17246 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17247 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17250 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17251 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17252 $as_echo_n "(cached) " >&6
17253 else
17254 ac_wine_try_cflags_saved=$CFLAGS
17255 CFLAGS="$CFLAGS -fno-strict-aliasing"
17256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17257 /* end confdefs.h. */
17258 int main(int argc, char **argv) { return 0; }
17259 _ACEOF
17260 if ac_fn_c_try_link "$LINENO"; then :
17261 ac_cv_cflags__fno_strict_aliasing=yes
17262 else
17263 ac_cv_cflags__fno_strict_aliasing=no
17265 rm -f core conftest.err conftest.$ac_objext \
17266 conftest$ac_exeext conftest.$ac_ext
17267 CFLAGS=$ac_wine_try_cflags_saved
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17270 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17271 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17272 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17275 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17276 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17277 $as_echo_n "(cached) " >&6
17278 else
17279 ac_wine_try_cflags_saved=$CFLAGS
17280 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17282 /* end confdefs.h. */
17283 int main(int argc, char **argv) { return 0; }
17284 _ACEOF
17285 if ac_fn_c_try_link "$LINENO"; then :
17286 ac_cv_cflags__Wdeclaration_after_statement=yes
17287 else
17288 ac_cv_cflags__Wdeclaration_after_statement=no
17290 rm -f core conftest.err conftest.$ac_objext \
17291 conftest$ac_exeext conftest.$ac_ext
17292 CFLAGS=$ac_wine_try_cflags_saved
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17295 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17296 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17297 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17300 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17301 if ${ac_cv_cflags__Wempty_body+:} false; then :
17302 $as_echo_n "(cached) " >&6
17303 else
17304 ac_wine_try_cflags_saved=$CFLAGS
17305 CFLAGS="$CFLAGS -Wempty-body"
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17308 int main(int argc, char **argv) { return 0; }
17309 _ACEOF
17310 if ac_fn_c_try_link "$LINENO"; then :
17311 ac_cv_cflags__Wempty_body=yes
17312 else
17313 ac_cv_cflags__Wempty_body=no
17315 rm -f core conftest.err conftest.$ac_objext \
17316 conftest$ac_exeext conftest.$ac_ext
17317 CFLAGS=$ac_wine_try_cflags_saved
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17320 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17321 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17322 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17325 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17326 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17327 $as_echo_n "(cached) " >&6
17328 else
17329 ac_wine_try_cflags_saved=$CFLAGS
17330 CFLAGS="$CFLAGS -Wignored-qualifiers"
17331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17333 int main(int argc, char **argv) { return 0; }
17334 _ACEOF
17335 if ac_fn_c_try_link "$LINENO"; then :
17336 ac_cv_cflags__Wignored_qualifiers=yes
17337 else
17338 ac_cv_cflags__Wignored_qualifiers=no
17340 rm -f core conftest.err conftest.$ac_objext \
17341 conftest$ac_exeext conftest.$ac_ext
17342 CFLAGS=$ac_wine_try_cflags_saved
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17345 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17346 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17347 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17350 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17351 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17352 $as_echo_n "(cached) " >&6
17353 else
17354 ac_wine_try_cflags_saved=$CFLAGS
17355 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17357 /* end confdefs.h. */
17358 int main(int argc, char **argv) { return 0; }
17359 _ACEOF
17360 if ac_fn_c_try_link "$LINENO"; then :
17361 ac_cv_cflags__Wpacked_not_aligned=yes
17362 else
17363 ac_cv_cflags__Wpacked_not_aligned=no
17365 rm -f core conftest.err conftest.$ac_objext \
17366 conftest$ac_exeext conftest.$ac_ext
17367 CFLAGS=$ac_wine_try_cflags_saved
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17370 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17371 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17372 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17375 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17376 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17377 $as_echo_n "(cached) " >&6
17378 else
17379 ac_wine_try_cflags_saved=$CFLAGS
17380 CFLAGS="$CFLAGS -Wpragma-pack"
17381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17382 /* end confdefs.h. */
17383 int main(int argc, char **argv) { return 0; }
17384 _ACEOF
17385 if ac_fn_c_try_link "$LINENO"; then :
17386 ac_cv_cflags__Wpragma_pack=yes
17387 else
17388 ac_cv_cflags__Wpragma_pack=no
17390 rm -f core conftest.err conftest.$ac_objext \
17391 conftest$ac_exeext conftest.$ac_ext
17392 CFLAGS=$ac_wine_try_cflags_saved
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17395 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17396 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17397 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17400 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17401 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17402 $as_echo_n "(cached) " >&6
17403 else
17404 ac_wine_try_cflags_saved=$CFLAGS
17405 CFLAGS="$CFLAGS -Wshift-overflow=2"
17406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17407 /* end confdefs.h. */
17408 int main(int argc, char **argv) { return 0; }
17409 _ACEOF
17410 if ac_fn_c_try_link "$LINENO"; then :
17411 ac_cv_cflags__Wshift_overflow_2=yes
17412 else
17413 ac_cv_cflags__Wshift_overflow_2=no
17415 rm -f core conftest.err conftest.$ac_objext \
17416 conftest$ac_exeext conftest.$ac_ext
17417 CFLAGS=$ac_wine_try_cflags_saved
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17420 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17421 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17422 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17425 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17426 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17427 $as_echo_n "(cached) " >&6
17428 else
17429 ac_wine_try_cflags_saved=$CFLAGS
17430 CFLAGS="$CFLAGS -Wstrict-prototypes"
17431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h. */
17433 int main(int argc, char **argv) { return 0; }
17434 _ACEOF
17435 if ac_fn_c_try_link "$LINENO"; then :
17436 ac_cv_cflags__Wstrict_prototypes=yes
17437 else
17438 ac_cv_cflags__Wstrict_prototypes=no
17440 rm -f core conftest.err conftest.$ac_objext \
17441 conftest$ac_exeext conftest.$ac_ext
17442 CFLAGS=$ac_wine_try_cflags_saved
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17445 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17446 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17447 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17450 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17451 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17452 $as_echo_n "(cached) " >&6
17453 else
17454 ac_wine_try_cflags_saved=$CFLAGS
17455 CFLAGS="$CFLAGS -Wtype-limits"
17456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h. */
17458 int main(int argc, char **argv) { return 0; }
17459 _ACEOF
17460 if ac_fn_c_try_link "$LINENO"; then :
17461 ac_cv_cflags__Wtype_limits=yes
17462 else
17463 ac_cv_cflags__Wtype_limits=no
17465 rm -f core conftest.err conftest.$ac_objext \
17466 conftest$ac_exeext conftest.$ac_ext
17467 CFLAGS=$ac_wine_try_cflags_saved
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17470 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17471 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17472 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17475 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17476 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17477 $as_echo_n "(cached) " >&6
17478 else
17479 ac_wine_try_cflags_saved=$CFLAGS
17480 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17482 /* end confdefs.h. */
17483 int main(int argc, char **argv) { return 0; }
17484 _ACEOF
17485 if ac_fn_c_try_link "$LINENO"; then :
17486 ac_cv_cflags__Wunused_but_set_parameter=yes
17487 else
17488 ac_cv_cflags__Wunused_but_set_parameter=no
17490 rm -f core conftest.err conftest.$ac_objext \
17491 conftest$ac_exeext conftest.$ac_ext
17492 CFLAGS=$ac_wine_try_cflags_saved
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17495 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17496 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17497 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17500 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17501 if ${ac_cv_cflags__Wvla+:} false; then :
17502 $as_echo_n "(cached) " >&6
17503 else
17504 ac_wine_try_cflags_saved=$CFLAGS
17505 CFLAGS="$CFLAGS -Wvla"
17506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17507 /* end confdefs.h. */
17508 int main(int argc, char **argv) { return 0; }
17509 _ACEOF
17510 if ac_fn_c_try_link "$LINENO"; then :
17511 ac_cv_cflags__Wvla=yes
17512 else
17513 ac_cv_cflags__Wvla=no
17515 rm -f core conftest.err conftest.$ac_objext \
17516 conftest$ac_exeext conftest.$ac_ext
17517 CFLAGS=$ac_wine_try_cflags_saved
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17520 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17521 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17522 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17525 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17526 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17527 $as_echo_n "(cached) " >&6
17528 else
17529 ac_wine_try_cflags_saved=$CFLAGS
17530 CFLAGS="$CFLAGS -Wwrite-strings"
17531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h. */
17533 int main(int argc, char **argv) { return 0; }
17534 _ACEOF
17535 if ac_fn_c_try_link "$LINENO"; then :
17536 ac_cv_cflags__Wwrite_strings=yes
17537 else
17538 ac_cv_cflags__Wwrite_strings=no
17540 rm -f core conftest.err conftest.$ac_objext \
17541 conftest$ac_exeext conftest.$ac_ext
17542 CFLAGS=$ac_wine_try_cflags_saved
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17545 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17546 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17547 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17550 if test -z "$CROSSTARGET"
17551 then
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17553 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17554 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17555 $as_echo_n "(cached) " >&6
17556 else
17557 ac_wine_try_cflags_saved=$CFLAGS
17558 CFLAGS="$CFLAGS -fexcess-precision=standard"
17559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h. */
17561 int main(int argc, char **argv) { return 0; }
17562 _ACEOF
17563 if ac_fn_c_try_link "$LINENO"; then :
17564 ac_cv_cflags__fexcess_precision_standard=yes
17565 else
17566 ac_cv_cflags__fexcess_precision_standard=no
17568 rm -f core conftest.err conftest.$ac_objext \
17569 conftest$ac_exeext conftest.$ac_ext
17570 CFLAGS=$ac_wine_try_cflags_saved
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17573 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17574 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17575 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17581 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17582 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17583 $as_echo_n "(cached) " >&6
17584 else
17585 ac_wine_try_cflags_saved=$CFLAGS
17586 CFLAGS="$CFLAGS -Wpointer-arith"
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17589 int main(int argc, char **argv) { return 0; }
17590 _ACEOF
17591 if ac_fn_c_try_link "$LINENO"; then :
17592 ac_cv_cflags__Wpointer_arith=yes
17593 else
17594 ac_cv_cflags__Wpointer_arith=no
17596 rm -f core conftest.err conftest.$ac_objext \
17597 conftest$ac_exeext conftest.$ac_ext
17598 CFLAGS=$ac_wine_try_cflags_saved
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17601 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17602 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17603 saved_string_h_CFLAGS=$CFLAGS
17604 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17606 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17607 if ${ac_cv_c_string_h_warnings+:} false; then :
17608 $as_echo_n "(cached) " >&6
17609 else
17610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17611 /* end confdefs.h. */
17612 #include <string.h>
17614 main ()
17618 return 0;
17620 _ACEOF
17621 if ac_fn_c_try_compile "$LINENO"; then :
17622 ac_cv_c_string_h_warnings=no
17623 else
17624 ac_cv_c_string_h_warnings=yes
17626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17629 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17630 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17631 CFLAGS=$saved_string_h_CFLAGS
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17635 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17636 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17637 $as_echo_n "(cached) " >&6
17638 else
17639 ac_wine_try_cflags_saved=$CFLAGS
17640 CFLAGS="$CFLAGS -Wlogical-op"
17641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17642 /* end confdefs.h. */
17643 int main(int argc, char **argv) { return 0; }
17644 _ACEOF
17645 if ac_fn_c_try_link "$LINENO"; then :
17646 ac_cv_cflags__Wlogical_op=yes
17647 else
17648 ac_cv_cflags__Wlogical_op=no
17650 rm -f core conftest.err conftest.$ac_objext \
17651 conftest$ac_exeext conftest.$ac_ext
17652 CFLAGS=$ac_wine_try_cflags_saved
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17655 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17656 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17657 saved_string_h_CFLAGS=$CFLAGS
17658 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17660 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17661 if ${ac_cv_c_logicalop_noisy+:} false; then :
17662 $as_echo_n "(cached) " >&6
17663 else
17664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h. */
17666 #include <string.h>
17667 char*f(const char *h,char n) {return strchr(h,n);}
17669 main ()
17673 return 0;
17675 _ACEOF
17676 if ac_fn_c_try_compile "$LINENO"; then :
17677 ac_cv_c_logicalop_noisy=no
17678 else
17679 ac_cv_c_logicalop_noisy=yes
17681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17684 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17685 CFLAGS=$saved_string_h_CFLAGS
17686 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17689 for ac_flag in $CFLAGS; do
17690 case $ac_flag in
17691 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17692 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17693 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17694 $as_echo_n "(cached) " >&6
17695 else
17696 ac_wine_try_cflags_saved=$CFLAGS
17697 CFLAGS="$CFLAGS -gdwarf-2"
17698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17699 /* end confdefs.h. */
17700 int main(int argc, char **argv) { return 0; }
17701 _ACEOF
17702 if ac_fn_c_try_link "$LINENO"; then :
17703 ac_cv_cflags__gdwarf_2=yes
17704 else
17705 ac_cv_cflags__gdwarf_2=no
17707 rm -f core conftest.err conftest.$ac_objext \
17708 conftest$ac_exeext conftest.$ac_ext
17709 CFLAGS=$ac_wine_try_cflags_saved
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17712 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17713 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17714 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17717 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17718 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17719 $as_echo_n "(cached) " >&6
17720 else
17721 ac_wine_try_cflags_saved=$CFLAGS
17722 CFLAGS="$CFLAGS -gstrict-dwarf"
17723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17725 int main(int argc, char **argv) { return 0; }
17726 _ACEOF
17727 if ac_fn_c_try_link "$LINENO"; then :
17728 ac_cv_cflags__gstrict_dwarf=yes
17729 else
17730 ac_cv_cflags__gstrict_dwarf=no
17732 rm -f core conftest.err conftest.$ac_objext \
17733 conftest$ac_exeext conftest.$ac_ext
17734 CFLAGS=$ac_wine_try_cflags_saved
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17737 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17738 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17739 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17740 fi ;;
17741 esac
17742 done
17744 MSVCRTFLAGS=""
17746 case $host_os in
17747 mingw32*) ;;
17748 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17749 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17750 if ${ac_cv_cflags__fno_builtin+:} false; then :
17751 $as_echo_n "(cached) " >&6
17752 else
17753 ac_wine_try_cflags_saved=$CFLAGS
17754 CFLAGS="$CFLAGS -fno-builtin"
17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17757 int main(int argc, char **argv) { return 0; }
17758 _ACEOF
17759 if ac_fn_c_try_link "$LINENO"; then :
17760 ac_cv_cflags__fno_builtin=yes
17761 else
17762 ac_cv_cflags__fno_builtin=no
17764 rm -f core conftest.err conftest.$ac_objext \
17765 conftest$ac_exeext conftest.$ac_ext
17766 CFLAGS=$ac_wine_try_cflags_saved
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17769 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17770 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17771 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17774 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17775 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17776 $as_echo_n "(cached) " >&6
17777 else
17778 ac_wine_try_cflags_saved=$CFLAGS
17779 CFLAGS="$CFLAGS -fshort-wchar"
17780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17781 /* end confdefs.h. */
17782 int main(int argc, char **argv) { return 0; }
17783 _ACEOF
17784 if ac_fn_c_try_link "$LINENO"; then :
17785 ac_cv_cflags__fshort_wchar=yes
17786 else
17787 ac_cv_cflags__fshort_wchar=no
17789 rm -f core conftest.err conftest.$ac_objext \
17790 conftest$ac_exeext conftest.$ac_ext
17791 CFLAGS=$ac_wine_try_cflags_saved
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17794 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17795 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17796 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17797 fi ;;
17798 esac
17800 case $host_cpu in
17801 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17802 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17803 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17804 $as_echo_n "(cached) " >&6
17805 else
17806 ac_wine_try_cflags_saved=$CFLAGS
17807 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17809 /* end confdefs.h. */
17810 int main(int argc, char **argv) { return 0; }
17811 _ACEOF
17812 if ac_fn_c_try_link "$LINENO"; then :
17813 ac_cv_cflags__fno_omit_frame_pointer=yes
17814 else
17815 ac_cv_cflags__fno_omit_frame_pointer=no
17817 rm -f core conftest.err conftest.$ac_objext \
17818 conftest$ac_exeext conftest.$ac_ext
17819 CFLAGS=$ac_wine_try_cflags_saved
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17822 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17823 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17824 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17825 fi ;;
17826 *x86_64*)
17827 case $host_os in
17828 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17829 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17830 if ${ac_cv_cflags__Wno_format+:} false; then :
17831 $as_echo_n "(cached) " >&6
17832 else
17833 ac_wine_try_cflags_saved=$CFLAGS
17834 CFLAGS="$CFLAGS -Wno-format"
17835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h. */
17837 int main(int argc, char **argv) { return 0; }
17838 _ACEOF
17839 if ac_fn_c_try_link "$LINENO"; then :
17840 ac_cv_cflags__Wno_format=yes
17841 else
17842 ac_cv_cflags__Wno_format=no
17844 rm -f core conftest.err conftest.$ac_objext \
17845 conftest$ac_exeext conftest.$ac_ext
17846 CFLAGS=$ac_wine_try_cflags_saved
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17849 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17850 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17851 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17852 fi ;;
17853 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17854 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17855 if ${ac_cv_cflags__mabi_ms+:} false; then :
17856 $as_echo_n "(cached) " >&6
17857 else
17858 ac_wine_try_cflags_saved=$CFLAGS
17859 CFLAGS="$CFLAGS -mabi=ms"
17860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17861 /* end confdefs.h. */
17862 int main(int argc, char **argv) { return 0; }
17863 _ACEOF
17864 if ac_fn_c_try_link "$LINENO"; then :
17865 ac_cv_cflags__mabi_ms=yes
17866 else
17867 ac_cv_cflags__mabi_ms=no
17869 rm -f core conftest.err conftest.$ac_objext \
17870 conftest$ac_exeext conftest.$ac_ext
17871 CFLAGS=$ac_wine_try_cflags_saved
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17874 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17875 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17876 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17877 fi ;;
17878 esac ;;
17879 esac
17881 CFLAGS=$saved_CFLAGS
17883 if test "x$enable_werror" = "xyes"
17884 then
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17886 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17887 if ${ac_cv_cflags__Werror+:} false; then :
17888 $as_echo_n "(cached) " >&6
17889 else
17890 ac_wine_try_cflags_saved=$CFLAGS
17891 CFLAGS="$CFLAGS -Werror"
17892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17893 /* end confdefs.h. */
17894 int main(int argc, char **argv) { return 0; }
17895 _ACEOF
17896 if ac_fn_c_try_link "$LINENO"; then :
17897 ac_cv_cflags__Werror=yes
17898 else
17899 ac_cv_cflags__Werror=no
17901 rm -f core conftest.err conftest.$ac_objext \
17902 conftest$ac_exeext conftest.$ac_ext
17903 CFLAGS=$ac_wine_try_cflags_saved
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17906 $as_echo "$ac_cv_cflags__Werror" >&6; }
17907 if test "x$ac_cv_cflags__Werror" = xyes; then :
17908 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17915 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17916 if ${ac_cv_c_fortify_enabled+:} false; then :
17917 $as_echo_n "(cached) " >&6
17918 else
17919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h. */
17921 #include <string.h>
17923 main ()
17925 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17926 #error Fortify enabled
17927 #endif
17929 return 0;
17931 _ACEOF
17932 if ac_fn_c_try_compile "$LINENO"; then :
17933 ac_cv_c_fortify_enabled=no
17934 else
17935 ac_cv_c_fortify_enabled=yes
17937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17940 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17941 if test "$ac_cv_c_fortify_enabled" = yes
17942 then
17943 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17948 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17949 if ${ac_cv_c_cfi_support+:} false; then :
17950 $as_echo_n "(cached) " >&6
17951 else
17952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h. */
17954 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17956 main ()
17960 return 0;
17962 _ACEOF
17963 if ac_fn_c_try_compile "$LINENO"; then :
17964 ac_cv_c_cfi_support="yes"
17965 else
17966 ac_cv_c_cfi_support="no"
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17971 $as_echo "$ac_cv_c_cfi_support" >&6; }
17972 if test "$ac_cv_c_cfi_support" = "yes"
17973 then
17974 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17975 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17976 else
17977 if test "x$enable_win64" = "xyes"
17978 then
17979 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17984 case $build_os in
17985 cygwin*|mingw32*) TOOLSEXT=".exe"
17987 esac
17989 case $host_os in
17990 linux*)
17991 case $host_cpu in
17992 *i[3456789]86*|x86_64*|*aarch64*)
17993 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17994 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17996 esac
17998 esac
18001 ac_save_CFLAGS="$CFLAGS"
18002 CFLAGS="$CFLAGS $BUILTINFLAG"
18003 for ac_func in \
18004 __res_get_state \
18005 __res_getservers \
18006 _spawnvp \
18007 epoll_create \
18008 ffs \
18009 finitef \
18010 fnmatch \
18011 fork \
18012 fpclass \
18013 fstatfs \
18014 fstatvfs \
18015 futimens \
18016 futimes \
18017 futimesat \
18018 getattrlist \
18019 getauxval \
18020 getifaddrs \
18021 getopt_long_only \
18022 kqueue \
18023 lstat \
18024 mach_continuous_time \
18025 pipe2 \
18026 poll \
18027 port_create \
18028 prctl \
18029 pread \
18030 proc_pidinfo \
18031 pwrite \
18032 readdir \
18033 readlink \
18034 sched_yield \
18035 select \
18036 setproctitle \
18037 setprogname \
18038 settimeofday \
18039 sigprocmask \
18040 statfs \
18041 statvfs \
18042 strnlen \
18043 strtold \
18044 symlink \
18045 sysinfo \
18046 tcdrain \
18047 thr_kill2 \
18048 usleep
18050 do :
18051 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18052 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18053 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18054 cat >>confdefs.h <<_ACEOF
18055 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18056 _ACEOF
18059 done
18061 CFLAGS="$ac_save_CFLAGS"
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18064 $as_echo_n "checking for library containing dlopen... " >&6; }
18065 if ${ac_cv_search_dlopen+:} false; then :
18066 $as_echo_n "(cached) " >&6
18067 else
18068 ac_func_search_save_LIBS=$LIBS
18069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18070 /* end confdefs.h. */
18072 /* Override any GCC internal prototype to avoid an error.
18073 Use char because int might match the return type of a GCC
18074 builtin and then its argument prototype would still apply. */
18075 #ifdef __cplusplus
18076 extern "C"
18077 #endif
18078 char dlopen ();
18080 main ()
18082 return dlopen ();
18084 return 0;
18086 _ACEOF
18087 for ac_lib in '' dl; do
18088 if test -z "$ac_lib"; then
18089 ac_res="none required"
18090 else
18091 ac_res=-l$ac_lib
18092 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18094 if ac_fn_c_try_link "$LINENO"; then :
18095 ac_cv_search_dlopen=$ac_res
18097 rm -f core conftest.err conftest.$ac_objext \
18098 conftest$ac_exeext
18099 if ${ac_cv_search_dlopen+:} false; then :
18100 break
18102 done
18103 if ${ac_cv_search_dlopen+:} false; then :
18105 else
18106 ac_cv_search_dlopen=no
18108 rm conftest.$ac_ext
18109 LIBS=$ac_func_search_save_LIBS
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18112 $as_echo "$ac_cv_search_dlopen" >&6; }
18113 ac_res=$ac_cv_search_dlopen
18114 if test "$ac_res" != no; then :
18115 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18119 ac_wine_check_funcs_save_LIBS="$LIBS"
18120 LIBS="$LIBS $DL_LIBS"
18121 for ac_func in dladdr dlinfo
18122 do :
18123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18125 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18126 cat >>confdefs.h <<_ACEOF
18127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18128 _ACEOF
18131 done
18133 LIBS="$ac_wine_check_funcs_save_LIBS"
18135 if test "$ac_cv_func_poll" = no
18136 then
18137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18138 $as_echo_n "checking for poll in -lpoll... " >&6; }
18139 if ${ac_cv_lib_poll_poll+:} false; then :
18140 $as_echo_n "(cached) " >&6
18141 else
18142 ac_check_lib_save_LIBS=$LIBS
18143 LIBS="-lpoll $LIBS"
18144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18145 /* end confdefs.h. */
18147 /* Override any GCC internal prototype to avoid an error.
18148 Use char because int might match the return type of a GCC
18149 builtin and then its argument prototype would still apply. */
18150 #ifdef __cplusplus
18151 extern "C"
18152 #endif
18153 char poll ();
18155 main ()
18157 return poll ();
18159 return 0;
18161 _ACEOF
18162 if ac_fn_c_try_link "$LINENO"; then :
18163 ac_cv_lib_poll_poll=yes
18164 else
18165 ac_cv_lib_poll_poll=no
18167 rm -f core conftest.err conftest.$ac_objext \
18168 conftest$ac_exeext conftest.$ac_ext
18169 LIBS=$ac_check_lib_save_LIBS
18171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18172 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18173 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18174 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18175 POLL_LIBS="-lpoll"
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18182 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18183 if ${ac_cv_search_gethostbyname+:} false; then :
18184 $as_echo_n "(cached) " >&6
18185 else
18186 ac_func_search_save_LIBS=$LIBS
18187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18188 /* end confdefs.h. */
18190 /* Override any GCC internal prototype to avoid an error.
18191 Use char because int might match the return type of a GCC
18192 builtin and then its argument prototype would still apply. */
18193 #ifdef __cplusplus
18194 extern "C"
18195 #endif
18196 char gethostbyname ();
18198 main ()
18200 return gethostbyname ();
18202 return 0;
18204 _ACEOF
18205 for ac_lib in '' nsl; do
18206 if test -z "$ac_lib"; then
18207 ac_res="none required"
18208 else
18209 ac_res=-l$ac_lib
18210 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18212 if ac_fn_c_try_link "$LINENO"; then :
18213 ac_cv_search_gethostbyname=$ac_res
18215 rm -f core conftest.err conftest.$ac_objext \
18216 conftest$ac_exeext
18217 if ${ac_cv_search_gethostbyname+:} false; then :
18218 break
18220 done
18221 if ${ac_cv_search_gethostbyname+:} false; then :
18223 else
18224 ac_cv_search_gethostbyname=no
18226 rm conftest.$ac_ext
18227 LIBS=$ac_func_search_save_LIBS
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18230 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18231 ac_res=$ac_cv_search_gethostbyname
18232 if test "$ac_res" != no; then :
18233 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18239 $as_echo_n "checking for library containing connect... " >&6; }
18240 if ${ac_cv_search_connect+:} false; then :
18241 $as_echo_n "(cached) " >&6
18242 else
18243 ac_func_search_save_LIBS=$LIBS
18244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18245 /* end confdefs.h. */
18247 /* Override any GCC internal prototype to avoid an error.
18248 Use char because int might match the return type of a GCC
18249 builtin and then its argument prototype would still apply. */
18250 #ifdef __cplusplus
18251 extern "C"
18252 #endif
18253 char connect ();
18255 main ()
18257 return connect ();
18259 return 0;
18261 _ACEOF
18262 for ac_lib in '' socket; do
18263 if test -z "$ac_lib"; then
18264 ac_res="none required"
18265 else
18266 ac_res=-l$ac_lib
18267 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18269 if ac_fn_c_try_link "$LINENO"; then :
18270 ac_cv_search_connect=$ac_res
18272 rm -f core conftest.err conftest.$ac_objext \
18273 conftest$ac_exeext
18274 if ${ac_cv_search_connect+:} false; then :
18275 break
18277 done
18278 if ${ac_cv_search_connect+:} false; then :
18280 else
18281 ac_cv_search_connect=no
18283 rm conftest.$ac_ext
18284 LIBS=$ac_func_search_save_LIBS
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18287 $as_echo "$ac_cv_search_connect" >&6; }
18288 ac_res=$ac_cv_search_connect
18289 if test "$ac_res" != no; then :
18290 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18296 $as_echo_n "checking for library containing inet_aton... " >&6; }
18297 if ${ac_cv_search_inet_aton+:} false; then :
18298 $as_echo_n "(cached) " >&6
18299 else
18300 ac_func_search_save_LIBS=$LIBS
18301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18302 /* end confdefs.h. */
18304 /* Override any GCC internal prototype to avoid an error.
18305 Use char because int might match the return type of a GCC
18306 builtin and then its argument prototype would still apply. */
18307 #ifdef __cplusplus
18308 extern "C"
18309 #endif
18310 char inet_aton ();
18312 main ()
18314 return inet_aton ();
18316 return 0;
18318 _ACEOF
18319 for ac_lib in '' resolv; do
18320 if test -z "$ac_lib"; then
18321 ac_res="none required"
18322 else
18323 ac_res=-l$ac_lib
18324 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18326 if ac_fn_c_try_link "$LINENO"; then :
18327 ac_cv_search_inet_aton=$ac_res
18329 rm -f core conftest.err conftest.$ac_objext \
18330 conftest$ac_exeext
18331 if ${ac_cv_search_inet_aton+:} false; then :
18332 break
18334 done
18335 if ${ac_cv_search_inet_aton+:} false; then :
18337 else
18338 ac_cv_search_inet_aton=no
18340 rm conftest.$ac_ext
18341 LIBS=$ac_func_search_save_LIBS
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18344 $as_echo "$ac_cv_search_inet_aton" >&6; }
18345 ac_res=$ac_cv_search_inet_aton
18346 if test "$ac_res" != no; then :
18347 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18352 for ac_func in \
18353 getaddrinfo \
18354 getnameinfo \
18355 getnetbyname \
18356 getservbyport \
18358 do :
18359 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18360 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18361 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18362 cat >>confdefs.h <<_ACEOF
18363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18364 _ACEOF
18367 done
18370 case $host_os in
18371 darwin*|macosx*) ;;
18372 *) ac_save_LIBS=$LIBS
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18374 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18375 if ${ac_cv_search_clock_gettime+:} false; then :
18376 $as_echo_n "(cached) " >&6
18377 else
18378 ac_func_search_save_LIBS=$LIBS
18379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18380 /* end confdefs.h. */
18382 /* Override any GCC internal prototype to avoid an error.
18383 Use char because int might match the return type of a GCC
18384 builtin and then its argument prototype would still apply. */
18385 #ifdef __cplusplus
18386 extern "C"
18387 #endif
18388 char clock_gettime ();
18390 main ()
18392 return clock_gettime ();
18394 return 0;
18396 _ACEOF
18397 for ac_lib in '' rt; do
18398 if test -z "$ac_lib"; then
18399 ac_res="none required"
18400 else
18401 ac_res=-l$ac_lib
18402 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18404 if ac_fn_c_try_link "$LINENO"; then :
18405 ac_cv_search_clock_gettime=$ac_res
18407 rm -f core conftest.err conftest.$ac_objext \
18408 conftest$ac_exeext
18409 if ${ac_cv_search_clock_gettime+:} false; then :
18410 break
18412 done
18413 if ${ac_cv_search_clock_gettime+:} false; then :
18415 else
18416 ac_cv_search_clock_gettime=no
18418 rm conftest.$ac_ext
18419 LIBS=$ac_func_search_save_LIBS
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18422 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18423 ac_res=$ac_cv_search_clock_gettime
18424 if test "$ac_res" != no; then :
18425 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18427 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18429 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18433 LIBS=$ac_save_LIBS
18435 esac
18437 if test "x$with_ldap" != "xno"
18438 then
18439 if ${LDAP_CFLAGS:+false} :; then :
18440 if ${PKG_CONFIG+:} false; then :
18441 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18445 if ${LDAP_LIBS:+false} :; then :
18446 if ${PKG_CONFIG+:} false; then :
18447 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18451 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18452 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18453 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18454 ac_save_CPPFLAGS=$CPPFLAGS
18455 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18456 for ac_header in ldap.h lber.h
18457 do :
18458 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18459 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18460 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18461 cat >>confdefs.h <<_ACEOF
18462 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18463 _ACEOF
18467 done
18469 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18470 then
18471 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18473 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18475 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18476 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18477 $as_echo_n "(cached) " >&6
18478 else
18479 ac_check_lib_save_LIBS=$LIBS
18480 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18484 /* Override any GCC internal prototype to avoid an error.
18485 Use char because int might match the return type of a GCC
18486 builtin and then its argument prototype would still apply. */
18487 #ifdef __cplusplus
18488 extern "C"
18489 #endif
18490 char ldap_initialize ();
18492 main ()
18494 return ldap_initialize ();
18496 return 0;
18498 _ACEOF
18499 if ac_fn_c_try_link "$LINENO"; then :
18500 ac_cv_lib_ldap_r_ldap_initialize=yes
18501 else
18502 ac_cv_lib_ldap_r_ldap_initialize=no
18504 rm -f core conftest.err conftest.$ac_objext \
18505 conftest$ac_exeext conftest.$ac_ext
18506 LIBS=$ac_check_lib_save_LIBS
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18509 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18510 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18512 $as_echo_n "checking for ber_init in -llber... " >&6; }
18513 if ${ac_cv_lib_lber_ber_init+:} false; then :
18514 $as_echo_n "(cached) " >&6
18515 else
18516 ac_check_lib_save_LIBS=$LIBS
18517 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18521 /* Override any GCC internal prototype to avoid an error.
18522 Use char because int might match the return type of a GCC
18523 builtin and then its argument prototype would still apply. */
18524 #ifdef __cplusplus
18525 extern "C"
18526 #endif
18527 char ber_init ();
18529 main ()
18531 return ber_init ();
18533 return 0;
18535 _ACEOF
18536 if ac_fn_c_try_link "$LINENO"; then :
18537 ac_cv_lib_lber_ber_init=yes
18538 else
18539 ac_cv_lib_lber_ber_init=no
18541 rm -f core conftest.err conftest.$ac_objext \
18542 conftest$ac_exeext conftest.$ac_ext
18543 LIBS=$ac_check_lib_save_LIBS
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18546 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18547 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18549 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18551 else
18552 LDAP_LIBS=""
18555 else
18556 LDAP_LIBS=""
18559 else
18560 LDAP_LIBS=""
18563 ac_wine_check_funcs_save_LIBS="$LIBS"
18564 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18565 for ac_func in \
18566 ldap_count_references \
18567 ldap_first_reference \
18568 ldap_next_reference \
18569 ldap_parse_reference \
18570 ldap_parse_sort_control \
18571 ldap_parse_sortresponse_control \
18572 ldap_parse_vlv_control \
18573 ldap_parse_vlvresponse_control
18574 do :
18575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18577 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18578 cat >>confdefs.h <<_ACEOF
18579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18580 _ACEOF
18583 done
18585 LIBS="$ac_wine_check_funcs_save_LIBS"
18586 else
18587 LDAP_LIBS=""
18589 CPPFLAGS=$ac_save_CPPFLAGS
18590 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18591 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18594 if test "x$LDAP_LIBS" = "x"; then :
18595 case "x$with_ldap" in
18596 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18597 xno) ;;
18598 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18599 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18600 esac
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18605 $as_echo_n "checking for sched_setaffinity... " >&6; }
18606 if ${wine_cv_have_sched_setaffinity+:} false; then :
18607 $as_echo_n "(cached) " >&6
18608 else
18609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18610 /* end confdefs.h. */
18611 #define _GNU_SOURCE
18612 #include <sched.h>
18614 main ()
18616 sched_setaffinity(0, 0, 0);
18618 return 0;
18620 _ACEOF
18621 if ac_fn_c_try_link "$LINENO"; then :
18622 wine_cv_have_sched_setaffinity=yes
18623 else
18624 wine_cv_have_sched_setaffinity=no
18626 rm -f core conftest.err conftest.$ac_objext \
18627 conftest$ac_exeext conftest.$ac_ext
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18630 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18631 if test "$wine_cv_have_sched_setaffinity" = "yes"
18632 then
18634 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18639 $as_echo_n "checking for fallocate... " >&6; }
18640 if ${wine_cv_have_fallocate+:} false; then :
18641 $as_echo_n "(cached) " >&6
18642 else
18643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644 /* end confdefs.h. */
18645 #define _GNU_SOURCE
18646 #include <fcntl.h>
18648 main ()
18650 fallocate(-1, 0, 0, 0);
18652 return 0;
18654 _ACEOF
18655 if ac_fn_c_try_link "$LINENO"; then :
18656 wine_cv_have_fallocate=yes
18657 else
18658 wine_cv_have_fallocate=no
18660 rm -f core conftest.err conftest.$ac_objext \
18661 conftest$ac_exeext conftest.$ac_ext
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18664 $as_echo "$wine_cv_have_fallocate" >&6; }
18665 if test "$wine_cv_have_fallocate" = "yes"
18666 then
18668 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18674 $as_echo_n "checking for inline... " >&6; }
18675 if ${ac_cv_c_inline+:} false; then :
18676 $as_echo_n "(cached) " >&6
18677 else
18678 ac_cv_c_inline=no
18679 for ac_kw in inline __inline__ __inline; do
18680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18681 /* end confdefs.h. */
18682 #ifndef __cplusplus
18683 typedef int foo_t;
18684 static $ac_kw foo_t static_foo () {return 0; }
18685 $ac_kw foo_t foo () {return 0; }
18686 #endif
18688 _ACEOF
18689 if ac_fn_c_try_compile "$LINENO"; then :
18690 ac_cv_c_inline=$ac_kw
18692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18693 test "$ac_cv_c_inline" != no && break
18694 done
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18698 $as_echo "$ac_cv_c_inline" >&6; }
18700 case $ac_cv_c_inline in
18701 inline | yes) ;;
18703 case $ac_cv_c_inline in
18704 no) ac_val=;;
18705 *) ac_val=$ac_cv_c_inline;;
18706 esac
18707 cat >>confdefs.h <<_ACEOF
18708 #ifndef __cplusplus
18709 #define inline $ac_val
18710 #endif
18711 _ACEOF
18713 esac
18715 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18716 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18718 cat >>confdefs.h <<_ACEOF
18719 #define HAVE_FSBLKCNT_T 1
18720 _ACEOF
18724 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18725 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18727 cat >>confdefs.h <<_ACEOF
18728 #define HAVE_FSFILCNT_T 1
18729 _ACEOF
18734 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18735 #include <signal.h>
18737 if test "x$ac_cv_type_sigset_t" = xyes; then :
18739 cat >>confdefs.h <<_ACEOF
18740 #define HAVE_SIGSET_T 1
18741 _ACEOF
18746 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18748 if test "x$ac_cv_type_request_sense" = xyes; then :
18750 cat >>confdefs.h <<_ACEOF
18751 #define HAVE_REQUEST_SENSE 1
18752 _ACEOF
18758 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18759 #ifdef HAVE_SYS_SOCKET_H
18760 #include <sys/socket.h>
18761 #endif
18762 #ifdef HAVE_SYS_SOCKETVAR_H
18763 #include <sys/socketvar.h>
18764 #endif
18765 #ifdef HAVE_NET_ROUTE_H
18766 #include <net/route.h>
18767 #endif
18768 #ifdef HAVE_NETINET_IN_H
18769 #include <netinet/in.h>
18770 #endif
18771 #ifdef HAVE_NETINET_IN_SYSTM_H
18772 #include <netinet/in_systm.h>
18773 #endif
18774 #ifdef HAVE_NETINET_IP_H
18775 #include <netinet/ip.h>
18776 #endif
18777 #ifdef HAVE_NETINET_IN_PCB_H
18778 #include <netinet/in_pcb.h>
18779 #endif
18781 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18783 cat >>confdefs.h <<_ACEOF
18784 #define HAVE_STRUCT_XINPGEN 1
18785 _ACEOF
18791 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18792 #include <linux/input.h>
18793 #endif
18795 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18797 cat >>confdefs.h <<_ACEOF
18798 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18799 _ACEOF
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18806 $as_echo_n "checking for if_nameindex... " >&6; }
18807 if ${wine_cv_have_if_nameindex+:} false; then :
18808 $as_echo_n "(cached) " >&6
18809 else
18810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18811 /* end confdefs.h. */
18812 #ifdef HAVE_SYS_TYPES_H
18813 #include <sys/types.h>
18814 #endif
18815 #ifdef HAVE_SYS_SOCKET_H
18816 #include <sys/socket.h>
18817 #endif
18818 #ifdef HAVE_NET_IF_H
18819 # include <net/if.h>
18820 #endif
18822 main ()
18824 struct if_nameindex *p = if_nameindex(); return p->if_index;
18826 return 0;
18828 _ACEOF
18829 if ac_fn_c_try_link "$LINENO"; then :
18830 wine_cv_have_if_nameindex=yes
18831 else
18832 wine_cv_have_if_nameindex=no
18834 rm -f core conftest.err conftest.$ac_objext \
18835 conftest$ac_exeext conftest.$ac_ext
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18838 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18839 if test "$wine_cv_have_if_nameindex" = "yes"
18840 then
18842 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18847 $as_echo_n "checking for sigaddset... " >&6; }
18848 if ${wine_cv_have_sigaddset+:} false; then :
18849 $as_echo_n "(cached) " >&6
18850 else
18851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18852 /* end confdefs.h. */
18853 #include <signal.h>
18855 main ()
18857 sigset_t set; sigaddset(&set,SIGTERM);
18859 return 0;
18861 _ACEOF
18862 if ac_fn_c_try_link "$LINENO"; then :
18863 wine_cv_have_sigaddset=yes
18864 else
18865 wine_cv_have_sigaddset=no
18867 rm -f core conftest.err conftest.$ac_objext \
18868 conftest$ac_exeext conftest.$ac_ext
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18871 $as_echo "$wine_cv_have_sigaddset" >&6; }
18872 if test "$wine_cv_have_sigaddset" = "yes"
18873 then
18875 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18881 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18882 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18883 $as_echo_n "(cached) " >&6
18884 else
18885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18886 /* end confdefs.h. */
18887 #include <netdb.h>
18889 main ()
18892 char *name=0;
18893 struct hostent he;
18894 struct hostent *result;
18895 char *buf=0;
18896 int bufsize=0;
18897 int errnr;
18898 char *addr=0;
18899 int addrlen=0;
18900 int addrtype=0;
18901 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18902 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18905 return 0;
18907 _ACEOF
18908 if ac_fn_c_try_link "$LINENO"; then :
18909 wine_cv_linux_gethostbyname_r_6=yes
18910 else
18911 wine_cv_linux_gethostbyname_r_6=no
18914 rm -f core conftest.err conftest.$ac_objext \
18915 conftest$ac_exeext conftest.$ac_ext
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18919 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18920 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18921 then
18923 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18927 if test "$ac_cv_header_linux_joystick_h" = "yes"
18928 then
18929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18930 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18931 if ${wine_cv_linux_joystick_22_api+:} false; then :
18932 $as_echo_n "(cached) " >&6
18933 else
18934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18935 /* end confdefs.h. */
18937 #include <sys/ioctl.h>
18938 #include <sys/types.h>
18939 #include <linux/joystick.h>
18941 struct js_event blub;
18942 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18943 #error "no 2.2 header"
18944 #endif
18947 main ()
18949 /*empty*/
18951 return 0;
18953 _ACEOF
18954 if ac_fn_c_try_compile "$LINENO"; then :
18955 wine_cv_linux_joystick_22_api=yes
18956 else
18957 wine_cv_linux_joystick_22_api=no
18959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18963 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18964 if test "$wine_cv_linux_joystick_22_api" = "yes"
18965 then
18967 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18973 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18974 #ifdef HAVE_SYS_PARAM_H
18975 # include <sys/param.h>
18976 #endif
18977 #ifdef HAVE_SYS_MOUNT_H
18978 # include <sys/mount.h>
18979 #endif
18980 #ifdef HAVE_SYS_VFS_H
18981 # include <sys/vfs.h>
18982 #endif
18983 #ifdef HAVE_SYS_STATFS_H
18984 # include <sys/statfs.h>
18985 #endif
18987 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18989 cat >>confdefs.h <<_ACEOF
18990 #define HAVE_STRUCT_STATFS_F_BFREE 1
18991 _ACEOF
18995 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18996 #ifdef HAVE_SYS_PARAM_H
18997 # include <sys/param.h>
18998 #endif
18999 #ifdef HAVE_SYS_MOUNT_H
19000 # include <sys/mount.h>
19001 #endif
19002 #ifdef HAVE_SYS_VFS_H
19003 # include <sys/vfs.h>
19004 #endif
19005 #ifdef HAVE_SYS_STATFS_H
19006 # include <sys/statfs.h>
19007 #endif
19009 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
19011 cat >>confdefs.h <<_ACEOF
19012 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19013 _ACEOF
19017 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
19018 #ifdef HAVE_SYS_PARAM_H
19019 # include <sys/param.h>
19020 #endif
19021 #ifdef HAVE_SYS_MOUNT_H
19022 # include <sys/mount.h>
19023 #endif
19024 #ifdef HAVE_SYS_VFS_H
19025 # include <sys/vfs.h>
19026 #endif
19027 #ifdef HAVE_SYS_STATFS_H
19028 # include <sys/statfs.h>
19029 #endif
19031 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
19033 cat >>confdefs.h <<_ACEOF
19034 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19035 _ACEOF
19039 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
19040 #ifdef HAVE_SYS_PARAM_H
19041 # include <sys/param.h>
19042 #endif
19043 #ifdef HAVE_SYS_MOUNT_H
19044 # include <sys/mount.h>
19045 #endif
19046 #ifdef HAVE_SYS_VFS_H
19047 # include <sys/vfs.h>
19048 #endif
19049 #ifdef HAVE_SYS_STATFS_H
19050 # include <sys/statfs.h>
19051 #endif
19053 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
19055 cat >>confdefs.h <<_ACEOF
19056 #define HAVE_STRUCT_STATFS_F_FFREE 1
19057 _ACEOF
19061 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
19062 #ifdef HAVE_SYS_PARAM_H
19063 # include <sys/param.h>
19064 #endif
19065 #ifdef HAVE_SYS_MOUNT_H
19066 # include <sys/mount.h>
19067 #endif
19068 #ifdef HAVE_SYS_VFS_H
19069 # include <sys/vfs.h>
19070 #endif
19071 #ifdef HAVE_SYS_STATFS_H
19072 # include <sys/statfs.h>
19073 #endif
19075 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
19077 cat >>confdefs.h <<_ACEOF
19078 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19079 _ACEOF
19083 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
19084 #ifdef HAVE_SYS_PARAM_H
19085 # include <sys/param.h>
19086 #endif
19087 #ifdef HAVE_SYS_MOUNT_H
19088 # include <sys/mount.h>
19089 #endif
19090 #ifdef HAVE_SYS_VFS_H
19091 # include <sys/vfs.h>
19092 #endif
19093 #ifdef HAVE_SYS_STATFS_H
19094 # include <sys/statfs.h>
19095 #endif
19097 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
19099 cat >>confdefs.h <<_ACEOF
19100 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19101 _ACEOF
19107 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
19108 #include <sys/statvfs.h>
19109 #endif
19111 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
19113 cat >>confdefs.h <<_ACEOF
19114 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19115 _ACEOF
19121 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
19122 #include <dirent.h>
19123 #endif
19125 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
19127 cat >>confdefs.h <<_ACEOF
19128 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
19129 _ACEOF
19135 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19136 #ifdef HAVE_SYS_SOCKET_H
19137 # include <sys/socket.h>
19138 #endif
19139 #ifdef HAVE_SYS_UN_H
19140 # include <sys/un.h>
19141 #endif
19143 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19147 _ACEOF
19151 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19152 #ifdef HAVE_SYS_SOCKET_H
19153 # include <sys/socket.h>
19154 #endif
19155 #ifdef HAVE_SYS_UN_H
19156 # include <sys/un.h>
19157 #endif
19159 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19161 cat >>confdefs.h <<_ACEOF
19162 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19163 _ACEOF
19167 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19168 #ifdef HAVE_SYS_SOCKET_H
19169 # include <sys/socket.h>
19170 #endif
19171 #ifdef HAVE_SYS_UN_H
19172 # include <sys/un.h>
19173 #endif
19175 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19177 cat >>confdefs.h <<_ACEOF
19178 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19179 _ACEOF
19185 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19186 #ifdef HAVE_SCSI_SG_H
19187 #include <scsi/sg.h>
19188 #endif
19190 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19192 cat >>confdefs.h <<_ACEOF
19193 #define HAVE_SCSIREQ_T_CMD 1
19194 _ACEOF
19198 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>
19199 #ifdef HAVE_SCSI_SG_H
19200 #include <scsi/sg.h>
19201 #endif
19203 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19205 cat >>confdefs.h <<_ACEOF
19206 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19207 _ACEOF
19213 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19215 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19217 cat >>confdefs.h <<_ACEOF
19218 #define HAVE_SIGINFO_T_SI_FD 1
19219 _ACEOF
19225 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19226 #ifdef HAVE_SYS_MTIO_H
19227 #include <sys/mtio.h>
19228 #endif
19230 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19232 cat >>confdefs.h <<_ACEOF
19233 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19234 _ACEOF
19238 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19239 #ifdef HAVE_SYS_MTIO_H
19240 #include <sys/mtio.h>
19241 #endif
19243 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19245 cat >>confdefs.h <<_ACEOF
19246 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19247 _ACEOF
19251 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19252 #ifdef HAVE_SYS_MTIO_H
19253 #include <sys/mtio.h>
19254 #endif
19256 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19258 cat >>confdefs.h <<_ACEOF
19259 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19260 _ACEOF
19266 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19267 #include <getopt.h>
19268 #endif
19270 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19272 cat >>confdefs.h <<_ACEOF
19273 #define HAVE_STRUCT_OPTION_NAME 1
19274 _ACEOF
19280 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19281 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19283 cat >>confdefs.h <<_ACEOF
19284 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19285 _ACEOF
19289 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19290 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19292 cat >>confdefs.h <<_ACEOF
19293 #define HAVE_STRUCT_STAT_ST_MTIM 1
19294 _ACEOF
19298 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19299 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19301 cat >>confdefs.h <<_ACEOF
19302 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19303 _ACEOF
19307 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19308 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19310 cat >>confdefs.h <<_ACEOF
19311 #define HAVE_STRUCT_STAT_ST_CTIM 1
19312 _ACEOF
19316 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19317 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19319 cat >>confdefs.h <<_ACEOF
19320 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19321 _ACEOF
19325 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19326 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19328 cat >>confdefs.h <<_ACEOF
19329 #define HAVE_STRUCT_STAT_ST_ATIM 1
19330 _ACEOF
19334 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19335 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19337 cat >>confdefs.h <<_ACEOF
19338 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19339 _ACEOF
19343 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19344 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19346 cat >>confdefs.h <<_ACEOF
19347 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19348 _ACEOF
19352 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19353 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19355 cat >>confdefs.h <<_ACEOF
19356 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19357 _ACEOF
19361 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19362 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19364 cat >>confdefs.h <<_ACEOF
19365 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19366 _ACEOF
19370 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19371 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19373 cat >>confdefs.h <<_ACEOF
19374 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19375 _ACEOF
19379 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19380 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19382 cat >>confdefs.h <<_ACEOF
19383 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19384 _ACEOF
19390 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
19391 #include <sys/types.h>
19392 #endif
19393 #ifdef HAVE_NETINET_IN_H
19394 #include <netinet/in.h>
19395 #endif
19397 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19399 cat >>confdefs.h <<_ACEOF
19400 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19401 _ACEOF
19407 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19408 #include <sys/types.h>
19409 #endif
19410 #ifdef HAVE_NETINET_IN_H
19411 #include <netinet/in.h>
19412 #endif
19413 #ifdef HAVE_RESOLV_H
19414 #include <resolv.h>
19415 #endif
19417 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19419 cat >>confdefs.h <<_ACEOF
19420 #define HAVE_STRUCT___RES_STATE 1
19421 _ACEOF
19427 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
19428 #include <resolv.h>
19429 #endif
19431 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19433 cat >>confdefs.h <<_ACEOF
19434 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19435 _ACEOF
19441 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19442 #include <sys/types.h>
19443 #endif
19444 #ifdef HAVE_NETINET_IN_H
19445 # include <netinet/in.h>
19446 #endif
19447 #ifdef HAVE_ARPA_NAMESER_H
19448 # include <arpa/nameser.h>
19449 #endif
19451 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19453 cat >>confdefs.h <<_ACEOF
19454 #define HAVE_NS_MSG__MSG_PTR 1
19455 _ACEOF
19461 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19462 #include <sys/types.h>
19463 #endif
19464 #ifdef HAVE_NETINET_IN_H
19465 #include <netinet/in.h>
19466 #endif
19467 #ifdef HAVE_NETINET_IP_H
19468 #include <netinet/ip.h>
19469 #endif
19470 #ifdef HAVE_NETINET_IP_ICMP_H
19471 #include <netinet/ip_icmp.h>
19472 #endif
19473 #ifdef HAVE_NETINET_ICMP_VAR_H
19474 #include <netinet/icmp_var.h>
19475 #endif
19477 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19479 cat >>confdefs.h <<_ACEOF
19480 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19481 _ACEOF
19487 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19488 #include <sys/types.h>
19489 #endif
19490 #ifdef HAVE_ALIAS_H
19491 #include <alias.h>
19492 #endif
19493 #ifdef HAVE_SYS_SOCKET_H
19494 #include <sys/socket.h>
19495 #endif
19496 #ifdef HAVE_SYS_SOCKETVAR_H
19497 #include <sys/socketvar.h>
19498 #endif
19499 #ifdef HAVE_SYS_TIMEOUT_H
19500 #include <sys/timeout.h>
19501 #endif
19502 #ifdef HAVE_NETINET_IN_H
19503 #include <netinet/in.h>
19504 #endif
19505 #ifdef HAVE_NETINET_IN_SYSTM_H
19506 #include <netinet/in_systm.h>
19507 #endif
19508 #ifdef HAVE_NETINET_IP_H
19509 #include <netinet/ip.h>
19510 #endif
19511 #ifdef HAVE_NETINET_IP_VAR_H
19512 #include <netinet/ip_var.h>
19513 #endif
19514 #ifdef HAVE_NETINET_IP_ICMP_H
19515 #include <netinet/ip_icmp.h>
19516 #endif
19517 #ifdef HAVE_NETINET_ICMP_VAR_H
19518 #include <netinet/icmp_var.h>
19519 #endif
19521 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19523 cat >>confdefs.h <<_ACEOF
19524 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19525 _ACEOF
19531 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19532 #include <sys/types.h>
19533 #endif
19534 #ifdef HAVE_SYS_SOCKETVAR_H
19535 #include <sys/socketvar.h>
19536 #endif
19537 #ifdef HAVE_NETINET_IN_H
19538 #include <netinet/in.h>
19539 #endif
19540 #ifdef HAVE_NETINET_IP_VAR_H
19541 #include <netinet/ip_var.h>
19542 #endif
19544 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19546 cat >>confdefs.h <<_ACEOF
19547 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19548 _ACEOF
19554 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
19555 #include <netinet/ip_var.h>
19556 #endif
19558 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19560 cat >>confdefs.h <<_ACEOF
19561 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19562 _ACEOF
19568 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19569 #include <sys/types.h>
19570 #endif
19571 #ifdef HAVE_SYS_SOCKETVAR_H
19572 #include <sys/socketvar.h>
19573 #endif
19574 #ifdef HAVE_NETINET_IN_H
19575 #include <netinet/in.h>
19576 #endif
19577 #ifdef HAVE_NETINET_TCP_H
19578 #include <netinet/tcp.h>
19579 #endif
19580 #ifdef HAVE_NETINET_TCP_VAR_H
19581 #include <netinet/tcp_var.h>
19582 #endif
19584 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19586 cat >>confdefs.h <<_ACEOF
19587 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19588 _ACEOF
19594 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
19595 #include <netinet/tcp_var.h>
19596 #endif
19598 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19600 cat >>confdefs.h <<_ACEOF
19601 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19602 _ACEOF
19608 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19609 #include <sys/types.h>
19610 #endif
19611 #ifdef HAVE_NETINET_IN_H
19612 #include <netinet/in.h>
19613 #endif
19614 #ifdef HAVE_NETINET_IP_VAR_H
19615 #include <netinet/ip_var.h>
19616 #endif
19617 #ifdef HAVE_NETINET_UDP_H
19618 #include <netinet/udp.h>
19619 #endif
19620 #ifdef HAVE_NETINET_UDP_VAR_H
19621 #include <netinet/udp_var.h>
19622 #endif
19624 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19626 cat >>confdefs.h <<_ACEOF
19627 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19628 _ACEOF
19634 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19635 #include <sys/types.h>
19636 #endif
19637 #ifdef HAVE_NET_IF_H
19638 # include <net/if.h>
19639 #endif
19641 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19643 cat >>confdefs.h <<_ACEOF
19644 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19645 _ACEOF
19651 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19652 # include <sys/sysinfo.h>
19653 #endif
19655 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19657 cat >>confdefs.h <<_ACEOF
19658 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19659 _ACEOF
19663 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19664 # include <sys/sysinfo.h>
19665 #endif
19667 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19669 cat >>confdefs.h <<_ACEOF
19670 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19671 _ACEOF
19677 ac_save_LIBS="$LIBS"
19678 LIBS="$LIBS -lm"
19679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19680 $as_echo_n "checking for isfinite... " >&6; }
19681 if ${ac_cv_have_isfinite+:} false; then :
19682 $as_echo_n "(cached) " >&6
19683 else
19684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19685 /* end confdefs.h. */
19686 #define _GNU_SOURCE
19687 #include <math.h>
19689 main ()
19691 float f = 0.0; return isfinite(f)
19693 return 0;
19695 _ACEOF
19696 if ac_fn_c_try_link "$LINENO"; then :
19697 ac_cv_have_isfinite="yes"
19698 else
19699 ac_cv_have_isfinite="no"
19701 rm -f core conftest.err conftest.$ac_objext \
19702 conftest$ac_exeext conftest.$ac_ext
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19705 $as_echo "$ac_cv_have_isfinite" >&6; }
19706 if test "$ac_cv_have_isfinite" = "yes"
19707 then
19709 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19714 $as_echo_n "checking for isinf... " >&6; }
19715 if ${ac_cv_have_isinf+:} false; then :
19716 $as_echo_n "(cached) " >&6
19717 else
19718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19719 /* end confdefs.h. */
19720 #include <math.h>
19722 main ()
19724 float f = 0.0; return isinf(f)
19726 return 0;
19728 _ACEOF
19729 if ac_fn_c_try_link "$LINENO"; then :
19730 ac_cv_have_isinf="yes"
19731 else
19732 ac_cv_have_isinf="no"
19734 rm -f core conftest.err conftest.$ac_objext \
19735 conftest$ac_exeext conftest.$ac_ext
19737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19738 $as_echo "$ac_cv_have_isinf" >&6; }
19739 if test "$ac_cv_have_isinf" = "yes"
19740 then
19742 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19747 $as_echo_n "checking for isnan... " >&6; }
19748 if ${ac_cv_have_isnan+:} false; then :
19749 $as_echo_n "(cached) " >&6
19750 else
19751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19752 /* end confdefs.h. */
19753 #include <math.h>
19755 main ()
19757 float f = 0.0; return isnan(f)
19759 return 0;
19761 _ACEOF
19762 if ac_fn_c_try_link "$LINENO"; then :
19763 ac_cv_have_isnan="yes"
19764 else
19765 ac_cv_have_isnan="no"
19767 rm -f core conftest.err conftest.$ac_objext \
19768 conftest$ac_exeext conftest.$ac_ext
19770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19771 $as_echo "$ac_cv_have_isnan" >&6; }
19772 if test "$ac_cv_have_isnan" = "yes"
19773 then
19775 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19779 for ac_func in \
19780 acosh \
19781 acoshf \
19782 asinh \
19783 asinhf \
19784 atanh \
19785 atanhf \
19786 cbrt \
19787 cbrtf \
19788 erf \
19789 erfc \
19790 erfcf \
19791 erff \
19792 exp2 \
19793 exp2f \
19794 expm1 \
19795 expm1f \
19796 fma \
19797 fmaf \
19798 ilogb \
19799 ilogbf \
19800 j0 \
19801 j1 \
19802 jn \
19803 lgamma \
19804 lgammaf \
19805 llrint \
19806 llrintf \
19807 llround \
19808 llroundf \
19809 log1p \
19810 log1pf \
19811 log2 \
19812 log2f \
19813 lrint \
19814 lrintf \
19815 lround \
19816 lroundf \
19817 nearbyint \
19818 nearbyintf \
19819 nexttoward \
19820 nexttowardf \
19821 remainder \
19822 remainderf \
19823 remquo \
19824 remquof \
19825 rint \
19826 rintf \
19827 round \
19828 roundf \
19829 tgamma \
19830 tgammaf \
19831 trunc \
19832 truncf \
19833 y0 \
19834 y1 \
19837 do :
19838 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19839 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19840 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19841 cat >>confdefs.h <<_ACEOF
19842 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19843 _ACEOF
19846 done
19848 LIBS="$ac_save_LIBS"
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19851 $as_echo_n "checking for __builtin_popcount... " >&6; }
19852 if ${ac_cv_have___builtin_popcount+:} false; then :
19853 $as_echo_n "(cached) " >&6
19854 else
19855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19856 /* end confdefs.h. */
19859 main ()
19861 return __builtin_popcount(1)
19863 return 0;
19865 _ACEOF
19866 if ac_fn_c_try_link "$LINENO"; then :
19867 ac_cv_have___builtin_popcount="yes"
19868 else
19869 ac_cv_have___builtin_popcount="no"
19871 rm -f core conftest.err conftest.$ac_objext \
19872 conftest$ac_exeext conftest.$ac_ext
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19875 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19876 if test "$ac_cv_have___builtin_popcount" = "yes"
19877 then
19879 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19884 $as_echo_n "checking for __clear_cache... " >&6; }
19885 if ${ac_cv_have___clear_cache+:} false; then :
19886 $as_echo_n "(cached) " >&6
19887 else
19888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19889 /* end confdefs.h. */
19892 main ()
19894 __clear_cache((void*)0, (void*)0); return 0;
19896 return 0;
19898 _ACEOF
19899 if ac_fn_c_try_link "$LINENO"; then :
19900 ac_cv_have___clear_cache="yes"
19901 else
19902 ac_cv_have___clear_cache="no"
19904 rm -f core conftest.err conftest.$ac_objext \
19905 conftest$ac_exeext conftest.$ac_ext
19907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19908 $as_echo "$ac_cv_have___clear_cache" >&6; }
19909 if test "$ac_cv_have___clear_cache" = "yes"
19910 then
19912 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19917 case $host_cpu in
19918 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19919 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19920 if ${ac_cv_cpp_def___i386__+:} false; then :
19921 $as_echo_n "(cached) " >&6
19922 else
19923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19924 /* end confdefs.h. */
19925 #ifndef __i386__
19927 #endif
19928 _ACEOF
19929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19930 $EGREP "yes" >/dev/null 2>&1; then :
19931 ac_cv_cpp_def___i386__=yes
19932 else
19933 ac_cv_cpp_def___i386__=no
19935 rm -f conftest*
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19939 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19940 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19941 CFLAGS="$CFLAGS -D__i386__"
19942 LINTFLAGS="$LINTFLAGS -D__i386__"
19943 fi ;;
19944 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19945 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19946 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19947 $as_echo_n "(cached) " >&6
19948 else
19949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19950 /* end confdefs.h. */
19951 #ifndef __x86_64__
19953 #endif
19954 _ACEOF
19955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19956 $EGREP "yes" >/dev/null 2>&1; then :
19957 ac_cv_cpp_def___x86_64__=yes
19958 else
19959 ac_cv_cpp_def___x86_64__=no
19961 rm -f conftest*
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19965 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19966 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19967 CFLAGS="$CFLAGS -D__x86_64__"
19968 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19969 fi ;;
19970 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19971 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19972 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19973 $as_echo_n "(cached) " >&6
19974 else
19975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19976 /* end confdefs.h. */
19977 #ifndef __sparc64__
19979 #endif
19980 _ACEOF
19981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19982 $EGREP "yes" >/dev/null 2>&1; then :
19983 ac_cv_cpp_def___sparc64__=yes
19984 else
19985 ac_cv_cpp_def___sparc64__=no
19987 rm -f conftest*
19990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19991 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19992 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19993 CFLAGS="$CFLAGS -D__sparc64__"
19994 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19995 fi ;;
19996 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19997 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19998 if ${ac_cv_cpp_def___sparc__+:} false; then :
19999 $as_echo_n "(cached) " >&6
20000 else
20001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20002 /* end confdefs.h. */
20003 #ifndef __sparc__
20005 #endif
20006 _ACEOF
20007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20008 $EGREP "yes" >/dev/null 2>&1; then :
20009 ac_cv_cpp_def___sparc__=yes
20010 else
20011 ac_cv_cpp_def___sparc__=no
20013 rm -f conftest*
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20017 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
20018 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
20019 CFLAGS="$CFLAGS -D__sparc__"
20020 LINTFLAGS="$LINTFLAGS -D__sparc__"
20021 fi ;;
20022 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20023 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
20024 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
20025 $as_echo_n "(cached) " >&6
20026 else
20027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20028 /* end confdefs.h. */
20029 #ifndef __powerpc64__
20031 #endif
20032 _ACEOF
20033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20034 $EGREP "yes" >/dev/null 2>&1; then :
20035 ac_cv_cpp_def___powerpc64__=yes
20036 else
20037 ac_cv_cpp_def___powerpc64__=no
20039 rm -f conftest*
20042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20043 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
20044 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
20045 CFLAGS="$CFLAGS -D__powerpc64__"
20046 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20047 fi ;;
20048 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20049 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
20050 if ${ac_cv_cpp_def___powerpc__+:} false; then :
20051 $as_echo_n "(cached) " >&6
20052 else
20053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20054 /* end confdefs.h. */
20055 #ifndef __powerpc__
20057 #endif
20058 _ACEOF
20059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20060 $EGREP "yes" >/dev/null 2>&1; then :
20061 ac_cv_cpp_def___powerpc__=yes
20062 else
20063 ac_cv_cpp_def___powerpc__=no
20065 rm -f conftest*
20068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20069 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
20070 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
20071 CFLAGS="$CFLAGS -D__powerpc__"
20072 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20073 fi ;;
20074 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20075 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
20076 if ${ac_cv_cpp_def___aarch64__+:} false; then :
20077 $as_echo_n "(cached) " >&6
20078 else
20079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20080 /* end confdefs.h. */
20081 #ifndef __aarch64__
20083 #endif
20084 _ACEOF
20085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20086 $EGREP "yes" >/dev/null 2>&1; then :
20087 ac_cv_cpp_def___aarch64__=yes
20088 else
20089 ac_cv_cpp_def___aarch64__=no
20091 rm -f conftest*
20094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20095 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
20096 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
20097 CFLAGS="$CFLAGS -D__aarch64__"
20098 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20099 fi ;;
20100 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20101 $as_echo_n "checking whether we need to define __arm__... " >&6; }
20102 if ${ac_cv_cpp_def___arm__+:} false; then :
20103 $as_echo_n "(cached) " >&6
20104 else
20105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20106 /* end confdefs.h. */
20107 #ifndef __arm__
20109 #endif
20110 _ACEOF
20111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20112 $EGREP "yes" >/dev/null 2>&1; then :
20113 ac_cv_cpp_def___arm__=yes
20114 else
20115 ac_cv_cpp_def___arm__=no
20117 rm -f conftest*
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20121 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
20122 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
20123 CFLAGS="$CFLAGS -D__arm__"
20124 LINTFLAGS="$LINTFLAGS -D__arm__"
20125 fi ;;
20126 esac
20128 case $host_vendor in
20129 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20130 $as_echo_n "checking whether we need to define __sun__... " >&6; }
20131 if ${ac_cv_cpp_def___sun__+:} false; then :
20132 $as_echo_n "(cached) " >&6
20133 else
20134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20135 /* end confdefs.h. */
20136 #ifndef __sun__
20138 #endif
20139 _ACEOF
20140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20141 $EGREP "yes" >/dev/null 2>&1; then :
20142 ac_cv_cpp_def___sun__=yes
20143 else
20144 ac_cv_cpp_def___sun__=no
20146 rm -f conftest*
20149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20150 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
20151 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
20152 CFLAGS="$CFLAGS -D__sun__"
20153 LINTFLAGS="$LINTFLAGS -D__sun__"
20154 fi ;;
20155 esac
20161 ac_config_commands="$ac_config_commands include/stamp-h"
20163 $as_echo_n "creating Makefile rules..." >&6
20165 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
20166 OPENGL_LIBS = $OPENGL_LIBS
20167 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20168 IOKIT_LIBS = $IOKIT_LIBS
20169 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
20170 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20171 CORESERVICES_LIBS = $CORESERVICES_LIBS
20172 APPKIT_LIBS = $APPKIT_LIBS
20173 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20174 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20175 SECURITY_LIBS = $SECURITY_LIBS
20176 COREAUDIO_LIBS = $COREAUDIO_LIBS
20177 OPENAL_LIBS = $OPENAL_LIBS
20178 OPENCL_LIBS = $OPENCL_LIBS
20179 QUICKTIME_LIBS = $QUICKTIME_LIBS
20180 CARBON_LIBS = $CARBON_LIBS
20181 METAL_LIBS = $METAL_LIBS
20182 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20183 PTHREAD_LIBS = $PTHREAD_LIBS
20184 X_CFLAGS = $X_CFLAGS
20185 X_PRE_LIBS = $X_PRE_LIBS
20186 X_LIBS = $X_LIBS
20187 X_EXTRA_LIBS = $X_EXTRA_LIBS
20188 PCAP_LIBS = $PCAP_LIBS
20189 XML2_CFLAGS = $XML2_CFLAGS
20190 XML2_LIBS = $XML2_LIBS
20191 XSLT_CFLAGS = $XSLT_CFLAGS
20192 XSLT_LIBS = $XSLT_LIBS
20193 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20194 INOTIFY_LIBS = $INOTIFY_LIBS
20195 DBUS_CFLAGS = $DBUS_CFLAGS
20196 DBUS_LIBS = $DBUS_LIBS
20197 HAL_CFLAGS = $HAL_CFLAGS
20198 HAL_LIBS = $HAL_LIBS
20199 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20200 GNUTLS_LIBS = $GNUTLS_LIBS
20201 SANE_CFLAGS = $SANE_CFLAGS
20202 SANE_LIBS = $SANE_LIBS
20203 USB_CFLAGS = $USB_CFLAGS
20204 USB_LIBS = $USB_LIBS
20205 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20206 GPHOTO2_LIBS = $GPHOTO2_LIBS
20207 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20208 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20209 RESOLV_LIBS = $RESOLV_LIBS
20210 LCMS2_CFLAGS = $LCMS2_CFLAGS
20211 LCMS2_LIBS = $LCMS2_LIBS
20212 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20213 FREETYPE_LIBS = $FREETYPE_LIBS
20214 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20215 PULSE_CFLAGS = $PULSE_CFLAGS
20216 PULSE_LIBS = $PULSE_LIBS
20217 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20218 GSTREAMER_LIBS = $GSTREAMER_LIBS
20219 ALSA_LIBS = $ALSA_LIBS
20220 OSS4_CFLAGS = $OSS4_CFLAGS
20221 OSS4_LIBS = $OSS4_LIBS
20222 UDEV_CFLAGS = $UDEV_CFLAGS
20223 UDEV_LIBS = $UDEV_LIBS
20224 UNWIND_CFLAGS = $UNWIND_CFLAGS
20225 UNWIND_LIBS = $UNWIND_LIBS
20226 SDL2_CFLAGS = $SDL2_CFLAGS
20227 SDL2_LIBS = $SDL2_LIBS
20228 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20229 FAUDIO_LIBS = $FAUDIO_LIBS
20230 CAPI20_CFLAGS = $CAPI20_CFLAGS
20231 CAPI20_LIBS = $CAPI20_LIBS
20232 CUPS_CFLAGS = $CUPS_CFLAGS
20233 CUPS_LIBS = $CUPS_LIBS
20234 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20235 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20236 KRB5_CFLAGS = $KRB5_CFLAGS
20237 KRB5_LIBS = $KRB5_LIBS
20238 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20239 GSSAPI_LIBS = $GSSAPI_LIBS
20240 JPEG_CFLAGS = $JPEG_CFLAGS
20241 JPEG_LIBS = $JPEG_LIBS
20242 PNG_CFLAGS = $PNG_CFLAGS
20243 PNG_LIBS = $PNG_LIBS
20244 TIFF_CFLAGS = $TIFF_CFLAGS
20245 TIFF_LIBS = $TIFF_LIBS
20246 MPG123_CFLAGS = $MPG123_CFLAGS
20247 MPG123_LIBS = $MPG123_LIBS
20248 KSTAT_LIBS = $KSTAT_LIBS
20249 PROCSTAT_LIBS = $PROCSTAT_LIBS
20250 NETAPI_CFLAGS = $NETAPI_CFLAGS
20251 NETAPI_LIBS = $NETAPI_LIBS
20252 VKD3D_CFLAGS = $VKD3D_CFLAGS
20253 VKD3D_LIBS = $VKD3D_LIBS
20254 POLL_LIBS = $POLL_LIBS
20255 RT_LIBS = $RT_LIBS
20256 LDAP_CFLAGS = $LDAP_CFLAGS
20257 LDAP_LIBS = $LDAP_LIBS
20262 wine_fn_append_rule "
20263 # Rules automatically generated by configure
20265 .INIT: Makefile
20266 .MAKEFILEDEPS:
20267 all: Makefile
20268 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20269 @./config.status Make.tmp Makefile
20270 depend: \$(MAKEDEP) dummy
20271 \$(MAKEDEP)"
20273 ac_config_links="$ac_config_links wine:tools/winewrapper"
20274 wine_fn_config_symlink wine
20275 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20276 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20277 wine_fn_config_symlink wine64
20280 wine_fn_config_makefile dlls/acledit enable_acledit
20281 wine_fn_config_makefile dlls/aclui enable_aclui
20282 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20283 wine_fn_config_makefile dlls/activeds enable_activeds
20284 wine_fn_config_makefile dlls/activeds/tests enable_tests
20285 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20286 wine_fn_config_makefile dlls/adsiid enable_adsiid
20287 wine_fn_config_makefile dlls/adsldp enable_adsldp
20288 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20289 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20290 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20291 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20292 wine_fn_config_makefile dlls/advpack enable_advpack
20293 wine_fn_config_makefile dlls/advpack/tests enable_tests
20294 wine_fn_config_makefile dlls/amsi enable_amsi
20295 wine_fn_config_makefile dlls/amstream enable_amstream
20296 wine_fn_config_makefile dlls/amstream/tests enable_tests
20297 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20299 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20300 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20302 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20307 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20315 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20317 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20319 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20321 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20322 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20323 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20325 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20329 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20330 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20331 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20333 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20334 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20337 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20341 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20343 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20347 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20348 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20351 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20352 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20353 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20354 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20355 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20357 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20358 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20359 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20360 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20361 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20362 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20363 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20364 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20365 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20366 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20367 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20368 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20369 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20370 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20371 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20372 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20373 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20374 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20375 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20376 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20377 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20378 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20379 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20380 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20381 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20382 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20383 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20384 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20385 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20386 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20387 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20388 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20389 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20390 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20391 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20392 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20393 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20394 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20395 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20396 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20397 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20398 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20399 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20400 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20401 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20402 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20403 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20404 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20405 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20406 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20407 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20408 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20409 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20410 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20411 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20412 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20413 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20414 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20415 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20416 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20417 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20418 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20419 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20420 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20421 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20422 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20423 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20424 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20425 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20426 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20427 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20428 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20429 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20430 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20431 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20432 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20433 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20434 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20435 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20436 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20437 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20438 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20439 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20440 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20441 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20442 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20443 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20444 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20445 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20446 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20447 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20448 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20449 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20450 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20451 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20452 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20453 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20454 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20455 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20456 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20457 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20458 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20459 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20460 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20461 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20462 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20463 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20464 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20465 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20466 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20467 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20468 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20469 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20470 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20471 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20472 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20473 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20474 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20475 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20476 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20477 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20478 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20479 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20480 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20481 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20482 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20483 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20484 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20485 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20486 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20487 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20488 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20489 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20490 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20491 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20492 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20493 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20494 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20495 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20496 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20497 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20498 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20499 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20500 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20501 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20502 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20503 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20504 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20505 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20506 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20507 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20508 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20509 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20510 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20511 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20512 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20513 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20514 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20515 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20516 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20517 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20518 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20519 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20520 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20521 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20522 wine_fn_config_makefile dlls/apphelp enable_apphelp
20523 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20524 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20525 wine_fn_config_makefile dlls/atl enable_atl
20526 wine_fn_config_makefile dlls/atl/tests enable_tests
20527 wine_fn_config_makefile dlls/atl100 enable_atl100
20528 wine_fn_config_makefile dlls/atl100/tests enable_tests
20529 wine_fn_config_makefile dlls/atl110 enable_atl110
20530 wine_fn_config_makefile dlls/atl80 enable_atl80
20531 wine_fn_config_makefile dlls/atl80/tests enable_tests
20532 wine_fn_config_makefile dlls/atl90 enable_atl90
20533 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20534 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20535 wine_fn_config_makefile dlls/atmlib enable_atmlib
20536 wine_fn_config_makefile dlls/authz enable_authz
20537 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20538 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20539 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20540 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20541 wine_fn_config_makefile dlls/avrt enable_avrt
20542 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20543 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20544 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20545 wine_fn_config_makefile dlls/browseui enable_browseui
20546 wine_fn_config_makefile dlls/browseui/tests enable_tests
20547 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20548 wine_fn_config_makefile dlls/cabinet enable_cabinet
20549 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20550 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20551 wine_fn_config_makefile dlls/cards enable_cards
20552 wine_fn_config_makefile dlls/cdosys enable_cdosys
20553 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20554 wine_fn_config_makefile dlls/clusapi enable_clusapi
20555 wine_fn_config_makefile dlls/combase enable_combase
20556 wine_fn_config_makefile dlls/combase/tests enable_tests
20557 wine_fn_config_makefile dlls/comcat enable_comcat
20558 wine_fn_config_makefile dlls/comcat/tests enable_tests
20559 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20560 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20561 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20562 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20563 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20564 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20565 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20566 wine_fn_config_makefile dlls/compstui enable_compstui
20567 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20568 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20569 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20570 wine_fn_config_makefile dlls/connect enable_connect
20571 wine_fn_config_makefile dlls/credui enable_credui
20572 wine_fn_config_makefile dlls/credui/tests enable_tests
20573 wine_fn_config_makefile dlls/crtdll enable_crtdll
20574 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20575 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20576 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20577 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20578 wine_fn_config_makefile dlls/cryptext enable_cryptext
20579 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20580 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20581 wine_fn_config_makefile dlls/cryptui enable_cryptui
20582 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20583 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20584 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20585 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20586 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20587 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20588 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20589 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20590 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20591 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20592 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20593 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20594 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20595 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20596 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20597 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20598 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20599 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20600 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20601 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20602 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20603 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20604 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20605 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20606 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20607 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20608 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20609 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20610 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20611 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20612 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20613 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20614 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20615 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20616 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20617 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20618 wine_fn_config_makefile dlls/d3dim enable_d3dim
20619 wine_fn_config_makefile dlls/d3drm enable_d3drm
20620 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20621 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20622 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20623 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20624 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20625 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20626 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20627 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20628 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20629 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20630 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20631 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20632 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20633 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20634 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20635 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20636 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20637 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20638 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20639 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20640 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20641 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20642 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20643 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20644 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20645 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20646 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20647 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20648 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20649 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20650 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20651 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20652 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20653 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20654 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20655 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20656 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20657 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20658 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20659 wine_fn_config_makefile dlls/davclnt enable_davclnt
20660 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20661 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20662 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20663 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20664 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20665 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20666 wine_fn_config_makefile dlls/ddraw enable_ddraw
20667 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20668 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20669 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20670 wine_fn_config_makefile dlls/devenum enable_devenum
20671 wine_fn_config_makefile dlls/devenum/tests enable_tests
20672 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20673 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20674 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20675 wine_fn_config_makefile dlls/difxapi enable_difxapi
20676 wine_fn_config_makefile dlls/dinput enable_dinput
20677 wine_fn_config_makefile dlls/dinput/tests enable_tests
20678 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20679 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20680 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20681 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20682 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20683 wine_fn_config_makefile dlls/dispex enable_dispex
20684 wine_fn_config_makefile dlls/dispex/tests enable_tests
20685 wine_fn_config_makefile dlls/display.drv16 enable_win16
20686 wine_fn_config_makefile dlls/dmband enable_dmband
20687 wine_fn_config_makefile dlls/dmband/tests enable_tests
20688 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20689 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20690 wine_fn_config_makefile dlls/dmime enable_dmime
20691 wine_fn_config_makefile dlls/dmime/tests enable_tests
20692 wine_fn_config_makefile dlls/dmloader enable_dmloader
20693 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20694 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20695 wine_fn_config_makefile dlls/dmscript enable_dmscript
20696 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20697 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20698 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20699 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20700 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20701 wine_fn_config_makefile dlls/dmusic enable_dmusic
20702 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20703 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20704 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20705 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20706 wine_fn_config_makefile dlls/dplay enable_dplay
20707 wine_fn_config_makefile dlls/dplayx enable_dplayx
20708 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20709 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20710 wine_fn_config_makefile dlls/dpnet enable_dpnet
20711 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20712 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20713 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20714 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20715 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20716 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20717 wine_fn_config_makefile dlls/drmclien enable_drmclien
20718 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20719 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20720 wine_fn_config_makefile dlls/dsound enable_dsound
20721 wine_fn_config_makefile dlls/dsound/tests enable_tests
20722 wine_fn_config_makefile dlls/dsquery enable_dsquery
20723 wine_fn_config_makefile dlls/dssenh enable_dssenh
20724 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20725 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20726 wine_fn_config_makefile dlls/dswave enable_dswave
20727 wine_fn_config_makefile dlls/dswave/tests enable_tests
20728 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20729 wine_fn_config_makefile dlls/dwrite enable_dwrite
20730 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20731 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20732 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20733 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20734 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20735 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20736 wine_fn_config_makefile dlls/dxgi enable_dxgi
20737 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20738 wine_fn_config_makefile dlls/dxguid enable_dxguid
20739 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20740 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20741 wine_fn_config_makefile dlls/esent enable_esent
20742 wine_fn_config_makefile dlls/evr enable_evr
20743 wine_fn_config_makefile dlls/evr/tests enable_tests
20744 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20745 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20746 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20747 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20748 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20749 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20750 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20751 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20752 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20753 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20754 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20755 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20756 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20757 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20758 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20759 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20760 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20761 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20762 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20763 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20764 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20765 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20766 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20767 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20768 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20769 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20770 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20771 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20772 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20773 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20774 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20775 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20776 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20777 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20778 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20779 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20780 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20781 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20782 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20783 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20784 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20785 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20786 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
20787 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20788 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20789 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20790 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20791 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20792 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20793 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20794 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20795 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20796 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20797 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20798 wine_fn_config_makefile dlls/faultrep enable_faultrep
20799 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20800 wine_fn_config_makefile dlls/feclient enable_feclient
20801 wine_fn_config_makefile dlls/fltlib enable_fltlib
20802 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20803 wine_fn_config_makefile dlls/fntcache enable_fntcache
20804 wine_fn_config_makefile dlls/fontsub enable_fontsub
20805 wine_fn_config_makefile dlls/fusion enable_fusion
20806 wine_fn_config_makefile dlls/fusion/tests enable_tests
20807 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20808 wine_fn_config_makefile dlls/gameux enable_gameux
20809 wine_fn_config_makefile dlls/gameux/tests enable_tests
20810 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20811 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20812 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20813 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20814 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20815 wine_fn_config_makefile dlls/glu32 enable_glu32
20816 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20817 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20818 wine_fn_config_makefile dlls/hal enable_hal
20819 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20820 wine_fn_config_makefile dlls/hid enable_hid
20821 wine_fn_config_makefile dlls/hid/tests enable_tests
20822 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20823 wine_fn_config_makefile dlls/hlink enable_hlink
20824 wine_fn_config_makefile dlls/hlink/tests enable_tests
20825 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20826 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20827 wine_fn_config_makefile dlls/http.sys enable_http_sys
20828 wine_fn_config_makefile dlls/httpapi enable_httpapi
20829 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20830 wine_fn_config_makefile dlls/iccvid enable_iccvid
20831 wine_fn_config_makefile dlls/icmp enable_icmp
20832 wine_fn_config_makefile dlls/ieframe enable_ieframe
20833 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20834 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20835 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20836 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20837 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20838 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20839 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20840 wine_fn_config_makefile dlls/imm32 enable_imm32
20841 wine_fn_config_makefile dlls/imm32/tests enable_tests
20842 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20843 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20844 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20845 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20846 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20847 wine_fn_config_makefile dlls/infosoft enable_infosoft
20848 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20849 wine_fn_config_makefile dlls/initpki enable_initpki
20850 wine_fn_config_makefile dlls/inkobj enable_inkobj
20851 wine_fn_config_makefile dlls/inseng enable_inseng
20852 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20853 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20854 wine_fn_config_makefile dlls/iprop enable_iprop
20855 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20856 wine_fn_config_makefile dlls/itircl enable_itircl
20857 wine_fn_config_makefile dlls/itss enable_itss
20858 wine_fn_config_makefile dlls/itss/tests enable_tests
20859 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20860 wine_fn_config_makefile dlls/jscript enable_jscript
20861 wine_fn_config_makefile dlls/jscript/tests enable_tests
20862 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20863 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20864 wine_fn_config_makefile dlls/kerberos enable_kerberos
20865 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20866 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20867 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20868 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20869 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20870 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20871 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20872 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20873 wine_fn_config_makefile dlls/ksuser enable_ksuser
20874 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20875 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20876 wine_fn_config_makefile dlls/loadperf enable_loadperf
20877 wine_fn_config_makefile dlls/localspl enable_localspl
20878 wine_fn_config_makefile dlls/localspl/tests enable_tests
20879 wine_fn_config_makefile dlls/localui enable_localui
20880 wine_fn_config_makefile dlls/localui/tests enable_tests
20881 wine_fn_config_makefile dlls/lz32 enable_lz32
20882 wine_fn_config_makefile dlls/lz32/tests enable_tests
20883 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20884 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20885 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20886 wine_fn_config_makefile dlls/mapistub enable_mapistub
20887 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20888 wine_fn_config_makefile dlls/mcicda enable_mcicda
20889 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20890 wine_fn_config_makefile dlls/mciseq enable_mciseq
20891 wine_fn_config_makefile dlls/mciwave enable_mciwave
20892 wine_fn_config_makefile dlls/mf enable_mf
20893 wine_fn_config_makefile dlls/mf/tests enable_tests
20894 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20895 wine_fn_config_makefile dlls/mferror enable_mferror
20896 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20897 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20898 wine_fn_config_makefile dlls/mfplat enable_mfplat
20899 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20900 wine_fn_config_makefile dlls/mfplay enable_mfplay
20901 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20902 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20903 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20904 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20905 wine_fn_config_makefile dlls/midimap enable_midimap
20906 wine_fn_config_makefile dlls/mlang enable_mlang
20907 wine_fn_config_makefile dlls/mlang/tests enable_tests
20908 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20909 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20910 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20911 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20912 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20913 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20914 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20915 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20916 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20917 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20918 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20919 wine_fn_config_makefile dlls/mpr enable_mpr
20920 wine_fn_config_makefile dlls/mpr/tests enable_tests
20921 wine_fn_config_makefile dlls/mprapi enable_mprapi
20922 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20923 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20924 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20925 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20926 wine_fn_config_makefile dlls/msado15 enable_msado15
20927 wine_fn_config_makefile dlls/msado15/tests enable_tests
20928 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20929 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20930 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20931 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20932 wine_fn_config_makefile dlls/mscms enable_mscms
20933 wine_fn_config_makefile dlls/mscms/tests enable_tests
20934 wine_fn_config_makefile dlls/mscoree enable_mscoree
20935 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20936 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20937 wine_fn_config_makefile dlls/msctf enable_msctf
20938 wine_fn_config_makefile dlls/msctf/tests enable_tests
20939 wine_fn_config_makefile dlls/msctfp enable_msctfp
20940 wine_fn_config_makefile dlls/msdaps enable_msdaps
20941 wine_fn_config_makefile dlls/msdelta enable_msdelta
20942 wine_fn_config_makefile dlls/msdmo enable_msdmo
20943 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20944 wine_fn_config_makefile dlls/msdrm enable_msdrm
20945 wine_fn_config_makefile dlls/msftedit enable_msftedit
20946 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20947 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20948 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20949 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20950 wine_fn_config_makefile dlls/mshtml enable_mshtml
20951 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20952 wine_fn_config_makefile dlls/msi enable_msi
20953 wine_fn_config_makefile dlls/msi/tests enable_tests
20954 wine_fn_config_makefile dlls/msident enable_msident
20955 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20956 wine_fn_config_makefile dlls/msimsg enable_msimsg
20957 wine_fn_config_makefile dlls/msimtf enable_msimtf
20958 wine_fn_config_makefile dlls/msisip enable_msisip
20959 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20960 wine_fn_config_makefile dlls/msls31 enable_msls31
20961 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20962 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20963 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20964 wine_fn_config_makefile dlls/msports enable_msports
20965 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20966 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20967 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20968 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20969 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20970 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20971 wine_fn_config_makefile dlls/mstask enable_mstask
20972 wine_fn_config_makefile dlls/mstask/tests enable_tests
20973 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20974 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20975 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20976 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20977 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20978 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20979 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20980 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20981 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20982 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20983 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20984 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20985 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20986 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20987 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20988 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20989 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20990 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20991 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20992 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20993 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20994 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20995 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20996 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20997 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20998 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20999 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21000 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21001 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21002 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21003 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21004 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21005 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21006 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21007 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21008 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21009 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21010 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21011 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21012 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21013 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21014 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21015 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21016 wine_fn_config_makefile dlls/mswsock enable_mswsock
21017 wine_fn_config_makefile dlls/msxml enable_msxml
21018 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21019 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21020 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21021 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21022 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21023 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21024 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21025 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21026 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21027 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21028 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21029 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21030 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21031 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21032 wine_fn_config_makefile dlls/netprofm enable_netprofm
21033 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21034 wine_fn_config_makefile dlls/newdev enable_newdev
21035 wine_fn_config_makefile dlls/ninput enable_ninput
21036 wine_fn_config_makefile dlls/ninput/tests enable_tests
21037 wine_fn_config_makefile dlls/normaliz enable_normaliz
21038 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21039 wine_fn_config_makefile dlls/npptools enable_npptools
21040 wine_fn_config_makefile dlls/ntdll enable_ntdll
21041 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21042 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21043 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21044 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21045 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21046 wine_fn_config_makefile dlls/ntprint enable_ntprint
21047 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21048 wine_fn_config_makefile dlls/objsel enable_objsel
21049 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21050 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21051 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21052 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21053 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21054 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21055 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21056 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21057 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21058 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21059 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21060 wine_fn_config_makefile dlls/ole32 enable_ole32
21061 wine_fn_config_makefile dlls/ole32/tests enable_tests
21062 wine_fn_config_makefile dlls/oleacc enable_oleacc
21063 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21064 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21065 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21066 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21067 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21068 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21069 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21070 wine_fn_config_makefile dlls/oledlg enable_oledlg
21071 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21072 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21073 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21074 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21075 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21076 wine_fn_config_makefile dlls/opcservices enable_opcservices
21077 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21078 wine_fn_config_makefile dlls/openal32 enable_openal32
21079 wine_fn_config_makefile dlls/opencl enable_opencl
21080 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21081 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21082 wine_fn_config_makefile dlls/packager enable_packager
21083 wine_fn_config_makefile dlls/packager/tests enable_tests
21084 wine_fn_config_makefile dlls/pdh enable_pdh
21085 wine_fn_config_makefile dlls/pdh/tests enable_tests
21086 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21087 wine_fn_config_makefile dlls/pidgen enable_pidgen
21088 wine_fn_config_makefile dlls/powrprof enable_powrprof
21089 wine_fn_config_makefile dlls/printui enable_printui
21090 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21091 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21092 wine_fn_config_makefile dlls/propsys enable_propsys
21093 wine_fn_config_makefile dlls/propsys/tests enable_tests
21094 wine_fn_config_makefile dlls/psapi enable_psapi
21095 wine_fn_config_makefile dlls/psapi/tests enable_tests
21096 wine_fn_config_makefile dlls/pstorec enable_pstorec
21097 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21098 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21099 wine_fn_config_makefile dlls/qasf enable_qasf
21100 wine_fn_config_makefile dlls/qasf/tests enable_tests
21101 wine_fn_config_makefile dlls/qcap enable_qcap
21102 wine_fn_config_makefile dlls/qcap/tests enable_tests
21103 wine_fn_config_makefile dlls/qdvd enable_qdvd
21104 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21105 wine_fn_config_makefile dlls/qedit enable_qedit
21106 wine_fn_config_makefile dlls/qedit/tests enable_tests
21107 wine_fn_config_makefile dlls/qmgr enable_qmgr
21108 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21109 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21110 wine_fn_config_makefile dlls/quartz enable_quartz
21111 wine_fn_config_makefile dlls/quartz/tests enable_tests
21112 wine_fn_config_makefile dlls/query enable_query
21113 wine_fn_config_makefile dlls/qwave enable_qwave
21114 wine_fn_config_makefile dlls/qwave/tests enable_tests
21115 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21116 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21117 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21118 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21119 wine_fn_config_makefile dlls/regapi enable_regapi
21120 wine_fn_config_makefile dlls/resutils enable_resutils
21121 wine_fn_config_makefile dlls/riched20 enable_riched20
21122 wine_fn_config_makefile dlls/riched20/tests enable_tests
21123 wine_fn_config_makefile dlls/riched32 enable_riched32
21124 wine_fn_config_makefile dlls/riched32/tests enable_tests
21125 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21126 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21127 wine_fn_config_makefile dlls/rsabase enable_rsabase
21128 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21129 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21130 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21131 wine_fn_config_makefile dlls/rtutils enable_rtutils
21132 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21133 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21134 wine_fn_config_makefile dlls/samlib enable_samlib
21135 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21136 wine_fn_config_makefile dlls/sapi enable_sapi
21137 wine_fn_config_makefile dlls/sapi/tests enable_tests
21138 wine_fn_config_makefile dlls/sas enable_sas
21139 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21140 wine_fn_config_makefile dlls/sccbase enable_sccbase
21141 wine_fn_config_makefile dlls/schannel enable_schannel
21142 wine_fn_config_makefile dlls/schannel/tests enable_tests
21143 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21144 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21145 wine_fn_config_makefile dlls/scrobj enable_scrobj
21146 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21147 wine_fn_config_makefile dlls/scrrun enable_scrrun
21148 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21149 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21150 wine_fn_config_makefile dlls/sechost enable_sechost
21151 wine_fn_config_makefile dlls/secur32 enable_secur32
21152 wine_fn_config_makefile dlls/secur32/tests enable_tests
21153 wine_fn_config_makefile dlls/security enable_security
21154 wine_fn_config_makefile dlls/sensapi enable_sensapi
21155 wine_fn_config_makefile dlls/serialui enable_serialui
21156 wine_fn_config_makefile dlls/serialui/tests enable_tests
21157 wine_fn_config_makefile dlls/setupapi enable_setupapi
21158 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21159 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21160 wine_fn_config_makefile dlls/sfc enable_sfc
21161 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21162 wine_fn_config_makefile dlls/shcore enable_shcore
21163 wine_fn_config_makefile dlls/shcore/tests enable_tests
21164 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21165 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21166 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21167 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21168 wine_fn_config_makefile dlls/shell32 enable_shell32
21169 wine_fn_config_makefile dlls/shell32/tests enable_tests
21170 wine_fn_config_makefile dlls/shfolder enable_shfolder
21171 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21172 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21173 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21174 wine_fn_config_makefile dlls/slc enable_slc
21175 wine_fn_config_makefile dlls/slc/tests enable_tests
21176 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21177 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21178 wine_fn_config_makefile dlls/softpub enable_softpub
21179 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21180 wine_fn_config_makefile dlls/spoolss enable_spoolss
21181 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21182 wine_fn_config_makefile dlls/srclient enable_srclient
21183 wine_fn_config_makefile dlls/sspicli enable_sspicli
21184 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21185 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21186 wine_fn_config_makefile dlls/sti enable_sti
21187 wine_fn_config_makefile dlls/sti/tests enable_tests
21188 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21189 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21190 wine_fn_config_makefile dlls/strmbase enable_strmbase
21191 wine_fn_config_makefile dlls/strmdll enable_strmdll
21192 wine_fn_config_makefile dlls/strmiids enable_strmiids
21193 wine_fn_config_makefile dlls/svrapi enable_svrapi
21194 wine_fn_config_makefile dlls/sxs enable_sxs
21195 wine_fn_config_makefile dlls/sxs/tests enable_tests
21196 wine_fn_config_makefile dlls/system.drv16 enable_win16
21197 wine_fn_config_makefile dlls/t2embed enable_t2embed
21198 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21199 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21200 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21201 wine_fn_config_makefile dlls/taskschd enable_taskschd
21202 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21203 wine_fn_config_makefile dlls/tdh enable_tdh
21204 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21205 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21206 wine_fn_config_makefile dlls/traffic enable_traffic
21207 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21208 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21209 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21210 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21211 wine_fn_config_makefile dlls/tzres enable_tzres
21212 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21213 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21214 wine_fn_config_makefile dlls/uianimation enable_uianimation
21215 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21216 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21217 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21218 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21219 wine_fn_config_makefile dlls/unicows enable_unicows
21220 wine_fn_config_makefile dlls/updspapi enable_updspapi
21221 wine_fn_config_makefile dlls/url enable_url
21222 wine_fn_config_makefile dlls/urlmon enable_urlmon
21223 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21224 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21225 wine_fn_config_makefile dlls/user.exe16 enable_win16
21226 wine_fn_config_makefile dlls/user32 enable_user32
21227 wine_fn_config_makefile dlls/user32/tests enable_tests
21228 wine_fn_config_makefile dlls/userenv enable_userenv
21229 wine_fn_config_makefile dlls/userenv/tests enable_tests
21230 wine_fn_config_makefile dlls/usp10 enable_usp10
21231 wine_fn_config_makefile dlls/usp10/tests enable_tests
21232 wine_fn_config_makefile dlls/utildll enable_utildll
21233 wine_fn_config_makefile dlls/uuid enable_uuid
21234 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21235 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21236 wine_fn_config_makefile dlls/vbscript enable_vbscript
21237 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21238 wine_fn_config_makefile dlls/vcomp enable_vcomp
21239 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21240 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21241 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21242 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21243 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21244 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21245 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21246 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21247 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21248 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21249 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21250 wine_fn_config_makefile dlls/version enable_version
21251 wine_fn_config_makefile dlls/version/tests enable_tests
21252 wine_fn_config_makefile dlls/vga enable_vga
21253 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21254 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21255 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21256 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21257 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21258 wine_fn_config_makefile dlls/vssapi enable_vssapi
21259 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21260 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21261 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21262 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21263 wine_fn_config_makefile dlls/w32skrnl enable_win16
21264 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21265 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21266 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21267 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21268 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21269 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21270 wine_fn_config_makefile dlls/wdscore enable_wdscore
21271 wine_fn_config_makefile dlls/webservices enable_webservices
21272 wine_fn_config_makefile dlls/webservices/tests enable_tests
21273 wine_fn_config_makefile dlls/wer enable_wer
21274 wine_fn_config_makefile dlls/wer/tests enable_tests
21275 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21276 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21277 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21278 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21279 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21280 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21281 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21282 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21283 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21284 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21285 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21286 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21287 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21288 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21289 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21290 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21291 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21292 wine_fn_config_makefile dlls/wined3d enable_wined3d
21293 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21294 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21295 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21296 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21297 wine_fn_config_makefile dlls/winemapi enable_winemapi
21298 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21299 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21300 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21301 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21302 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21303 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21304 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21305 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21306 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21307 wine_fn_config_makefile dlls/wing32 enable_wing32
21308 wine_fn_config_makefile dlls/winhttp enable_winhttp
21309 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21310 wine_fn_config_makefile dlls/wininet enable_wininet
21311 wine_fn_config_makefile dlls/wininet/tests enable_tests
21312 wine_fn_config_makefile dlls/winmm enable_winmm
21313 wine_fn_config_makefile dlls/winmm/tests enable_tests
21314 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21315 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21316 wine_fn_config_makefile dlls/winscard enable_winscard
21317 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21318 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21319 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21320 wine_fn_config_makefile dlls/winsta enable_winsta
21321 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21322 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21323 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21324 wine_fn_config_makefile dlls/wintrust enable_wintrust
21325 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21326 wine_fn_config_makefile dlls/winusb enable_winusb
21327 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21328 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21329 wine_fn_config_makefile dlls/wlanui enable_wlanui
21330 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21331 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21332 wine_fn_config_makefile dlls/wmasf enable_wmasf
21333 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21334 wine_fn_config_makefile dlls/wmi enable_wmi
21335 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21336 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21337 wine_fn_config_makefile dlls/wmp enable_wmp
21338 wine_fn_config_makefile dlls/wmp/tests enable_tests
21339 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21340 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21341 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21342 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21343 wine_fn_config_makefile dlls/wow32 enable_win16
21344 wine_fn_config_makefile dlls/wpc enable_wpc
21345 wine_fn_config_makefile dlls/wpc/tests enable_tests
21346 wine_fn_config_makefile dlls/wpcap enable_wpcap
21347 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21348 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21349 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21350 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21351 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21352 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21353 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21354 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21355 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21356 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21357 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21358 wine_fn_config_makefile dlls/wuapi enable_wuapi
21359 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21360 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21361 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21362 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21363 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21364 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21365 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21366 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21367 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21368 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21369 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21370 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21371 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21372 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21373 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21374 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21375 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21376 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21377 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21378 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21379 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21380 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21381 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21382 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21383 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21384 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21385 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21386 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21387 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21388 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21389 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21390 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21391 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21392 wine_fn_config_makefile dlls/xmllite enable_xmllite
21393 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21394 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21395 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21396 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21397 wine_fn_config_makefile fonts enable_fonts
21398 wine_fn_config_makefile include enable_include
21399 wine_fn_config_makefile libs/port enable_port
21400 wine_fn_config_makefile libs/wine enable_wine
21401 wine_fn_config_makefile libs/wpp enable_wpp
21402 wine_fn_config_makefile loader enable_loader
21403 wine_fn_config_makefile nls enable_nls
21404 wine_fn_config_makefile po enable_po
21405 wine_fn_config_makefile programs/arp enable_arp
21406 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21407 wine_fn_config_makefile programs/attrib enable_attrib
21408 wine_fn_config_makefile programs/cabarc enable_cabarc
21409 wine_fn_config_makefile programs/cacls enable_cacls
21410 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21411 wine_fn_config_makefile programs/clock enable_clock
21412 wine_fn_config_makefile programs/cmd enable_cmd
21413 wine_fn_config_makefile programs/cmd/tests enable_tests
21414 wine_fn_config_makefile programs/conhost enable_conhost
21415 wine_fn_config_makefile programs/control enable_control
21416 wine_fn_config_makefile programs/cscript enable_cscript
21417 wine_fn_config_makefile programs/dism enable_dism
21418 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21419 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21420 wine_fn_config_makefile programs/eject enable_eject
21421 wine_fn_config_makefile programs/expand enable_expand
21422 wine_fn_config_makefile programs/explorer enable_explorer
21423 wine_fn_config_makefile programs/extrac32 enable_extrac32
21424 wine_fn_config_makefile programs/fc enable_fc
21425 wine_fn_config_makefile programs/find enable_find
21426 wine_fn_config_makefile programs/find/tests enable_tests
21427 wine_fn_config_makefile programs/findstr enable_findstr
21428 wine_fn_config_makefile programs/fsutil enable_fsutil
21429 wine_fn_config_makefile programs/hh enable_hh
21430 wine_fn_config_makefile programs/hostname enable_hostname
21431 wine_fn_config_makefile programs/icacls enable_icacls
21432 wine_fn_config_makefile programs/icinfo enable_icinfo
21433 wine_fn_config_makefile programs/iexplore enable_iexplore
21434 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21435 wine_fn_config_makefile programs/lodctr enable_lodctr
21436 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21437 wine_fn_config_makefile programs/mshta enable_mshta
21438 wine_fn_config_makefile programs/msidb enable_msidb
21439 wine_fn_config_makefile programs/msiexec enable_msiexec
21440 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21441 wine_fn_config_makefile programs/net enable_net
21442 wine_fn_config_makefile programs/netsh enable_netsh
21443 wine_fn_config_makefile programs/netstat enable_netstat
21444 wine_fn_config_makefile programs/ngen enable_ngen
21445 wine_fn_config_makefile programs/notepad enable_notepad
21446 wine_fn_config_makefile programs/oleview enable_oleview
21447 wine_fn_config_makefile programs/ping enable_ping
21448 wine_fn_config_makefile programs/plugplay enable_plugplay
21449 wine_fn_config_makefile programs/powershell enable_powershell
21450 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21451 wine_fn_config_makefile programs/progman enable_progman
21452 wine_fn_config_makefile programs/reg enable_reg
21453 wine_fn_config_makefile programs/reg/tests enable_tests
21454 wine_fn_config_makefile programs/regasm enable_regasm
21455 wine_fn_config_makefile programs/regedit enable_regedit
21456 wine_fn_config_makefile programs/regedit/tests enable_tests
21457 wine_fn_config_makefile programs/regini enable_regini
21458 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21459 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21460 wine_fn_config_makefile programs/rpcss enable_rpcss
21461 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21462 wine_fn_config_makefile programs/rundll32 enable_rundll32
21463 wine_fn_config_makefile programs/sc enable_sc
21464 wine_fn_config_makefile programs/schtasks enable_schtasks
21465 wine_fn_config_makefile programs/schtasks/tests enable_tests
21466 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21467 wine_fn_config_makefile programs/secedit enable_secedit
21468 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21469 wine_fn_config_makefile programs/services enable_services
21470 wine_fn_config_makefile programs/services/tests enable_tests
21471 wine_fn_config_makefile programs/shutdown enable_shutdown
21472 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21473 wine_fn_config_makefile programs/start enable_start
21474 wine_fn_config_makefile programs/subst enable_subst
21475 wine_fn_config_makefile programs/svchost enable_svchost
21476 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21477 wine_fn_config_makefile programs/taskkill enable_taskkill
21478 wine_fn_config_makefile programs/tasklist enable_tasklist
21479 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21480 wine_fn_config_makefile programs/termsv enable_termsv
21481 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21482 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21483 wine_fn_config_makefile programs/view enable_view
21484 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21485 wine_fn_config_makefile programs/where enable_where
21486 wine_fn_config_makefile programs/whoami enable_whoami
21487 wine_fn_config_makefile programs/wineboot enable_wineboot
21488 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21489 wine_fn_config_makefile programs/winecfg enable_winecfg
21490 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21491 wine_fn_config_makefile programs/winedbg enable_winedbg
21492 wine_fn_config_makefile programs/winedevice enable_winedevice
21493 wine_fn_config_makefile programs/winefile enable_winefile
21494 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21495 wine_fn_config_makefile programs/winemine enable_winemine
21496 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21497 wine_fn_config_makefile programs/winepath enable_winepath
21498 wine_fn_config_makefile programs/winetest enable_winetest
21499 wine_fn_config_makefile programs/winevdm enable_win16
21500 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21501 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21502 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21503 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21504 wine_fn_config_makefile programs/winver enable_winver
21505 wine_fn_config_makefile programs/wmic enable_wmic
21506 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21507 wine_fn_config_makefile programs/wordpad enable_wordpad
21508 wine_fn_config_makefile programs/write enable_write
21509 wine_fn_config_makefile programs/wscript enable_wscript
21510 wine_fn_config_makefile programs/wscript/tests enable_tests
21511 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21512 wine_fn_config_makefile programs/wusa enable_wusa
21513 wine_fn_config_makefile programs/xcopy enable_xcopy
21514 wine_fn_config_makefile programs/xcopy/tests enable_tests
21515 wine_fn_config_makefile server enable_server
21516 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21517 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21518 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21519 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21520 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21521 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21522 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21523 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21524 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21527 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21528 wine_fn_append_file CONFIGURE_TARGETS "tags"
21529 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21530 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21531 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21532 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21533 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21534 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21536 if test "x$enable_tools" != xno
21537 then
21538 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21539 ac_config_commands="$ac_config_commands tools/makedep"
21543 ac_config_commands="$ac_config_commands Makefile"
21546 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21550 if test "x$enable_maintainer_mode" = xyes
21551 then
21552 wine_fn_append_rule "configure: configure.ac aclocal.m4
21553 autoconf --warnings=all
21554 include/config.h.in: include/stamp-h.in
21555 include/stamp-h.in: configure.ac aclocal.m4
21556 autoheader --warnings=all
21557 @echo timestamp > \$@"
21560 if test "x$enable_tools" != xno
21561 then
21562 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21563 @./config.status tools/makedep
21564 Makefile: tools/makedep$ac_exeext
21565 fonts: tools/sfnt2fon
21566 include: tools tools/widl"
21567 else
21568 wine_fn_append_rule "\$(MAKEDEP):
21569 @echo \"You need to run make in $TOOLSDIR first\" && false"
21572 if test -n "$with_wine64"
21573 then
21574 case "$with_wine64" in
21575 /*) reldir="" ;;
21576 *) reldir="../" ;;
21577 esac
21578 rm -f fonts server 2>/dev/null
21579 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21580 loader/wine64 loader/wine64-preloader:
21581 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21582 $with_wine64/loader/wine:
21583 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21584 $with_wine64/loader/wine-preloader:
21585 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21586 clean::
21587 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21588 else
21589 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21590 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21591 fonts \
21592 loader/wine.inf \
21593 loader/winebus.inf \
21594 loader/winehid.inf \
21595 loader/wineusb.inf \
21596 nls \
21597 programs/msidb/msidb \
21598 programs/msiexec/msiexec \
21599 programs/notepad/notepad \
21600 programs/regedit/regedit \
21601 programs/regsvr32/regsvr32 \
21602 programs/wineboot/wineboot \
21603 programs/winecfg/winecfg \
21604 programs/wineconsole/wineconsole \
21605 programs/winedbg/winedbg \
21606 programs/winefile/winefile \
21607 programs/winemine/winemine \
21608 programs/winepath/winepath \
21609 server/wineserver"
21611 case $host_os in
21612 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21613 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21614 esac
21617 $as_echo " done" >&6
21618 cat >confcache <<\_ACEOF
21619 # This file is a shell script that caches the results of configure
21620 # tests run on this system so they can be shared between configure
21621 # scripts and configure runs, see configure's option --config-cache.
21622 # It is not useful on other systems. If it contains results you don't
21623 # want to keep, you may remove or edit it.
21625 # config.status only pays attention to the cache file if you give it
21626 # the --recheck option to rerun configure.
21628 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21629 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21630 # following values.
21632 _ACEOF
21634 # The following way of writing the cache mishandles newlines in values,
21635 # but we know of no workaround that is simple, portable, and efficient.
21636 # So, we kill variables containing newlines.
21637 # Ultrix sh set writes to stderr and can't be redirected directly,
21638 # and sets the high bit in the cache file unless we assign to the vars.
21640 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21641 eval ac_val=\$$ac_var
21642 case $ac_val in #(
21643 *${as_nl}*)
21644 case $ac_var in #(
21645 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21646 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21647 esac
21648 case $ac_var in #(
21649 _ | IFS | as_nl) ;; #(
21650 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21651 *) { eval $ac_var=; unset $ac_var;} ;;
21652 esac ;;
21653 esac
21654 done
21656 (set) 2>&1 |
21657 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21658 *${as_nl}ac_space=\ *)
21659 # `set' does not quote correctly, so add quotes: double-quote
21660 # substitution turns \\\\ into \\, and sed turns \\ into \.
21661 sed -n \
21662 "s/'/'\\\\''/g;
21663 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21664 ;; #(
21666 # `set' quotes correctly as required by POSIX, so do not add quotes.
21667 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21669 esac |
21670 sort
21672 sed '
21673 /^ac_cv_env_/b end
21674 t clear
21675 :clear
21676 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21677 t end
21678 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21679 :end' >>confcache
21680 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21681 if test -w "$cache_file"; then
21682 if test "x$cache_file" != "x/dev/null"; then
21683 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21684 $as_echo "$as_me: updating cache $cache_file" >&6;}
21685 if test ! -f "$cache_file" || test -h "$cache_file"; then
21686 cat confcache >"$cache_file"
21687 else
21688 case $cache_file in #(
21689 */* | ?:*)
21690 mv -f confcache "$cache_file"$$ &&
21691 mv -f "$cache_file"$$ "$cache_file" ;; #(
21693 mv -f confcache "$cache_file" ;;
21694 esac
21697 else
21698 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21699 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21702 rm -f confcache
21704 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21705 # Let make expand exec_prefix.
21706 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21708 DEFS=-DHAVE_CONFIG_H
21710 ac_libobjs=
21711 ac_ltlibobjs=
21713 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21714 # 1. Remove the extension, and $U if already installed.
21715 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21716 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21717 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21718 # will be set to the directory where LIBOBJS objects are built.
21719 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21720 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21721 done
21722 LIBOBJS=$ac_libobjs
21724 LTLIBOBJS=$ac_ltlibobjs
21728 : "${CONFIG_STATUS=./config.status}"
21729 ac_write_fail=0
21730 ac_clean_files_save=$ac_clean_files
21731 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21733 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21734 as_write_fail=0
21735 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21736 #! $SHELL
21737 # Generated by $as_me.
21738 # Run this file to recreate the current configuration.
21739 # Compiler output produced by configure, useful for debugging
21740 # configure, is in config.log if it exists.
21742 debug=false
21743 ac_cs_recheck=false
21744 ac_cs_silent=false
21746 SHELL=\${CONFIG_SHELL-$SHELL}
21747 export SHELL
21748 _ASEOF
21749 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21750 ## -------------------- ##
21751 ## M4sh Initialization. ##
21752 ## -------------------- ##
21754 # Be more Bourne compatible
21755 DUALCASE=1; export DUALCASE # for MKS sh
21756 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21757 emulate sh
21758 NULLCMD=:
21759 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21760 # is contrary to our usage. Disable this feature.
21761 alias -g '${1+"$@"}'='"$@"'
21762 setopt NO_GLOB_SUBST
21763 else
21764 case `(set -o) 2>/dev/null` in #(
21765 *posix*) :
21766 set -o posix ;; #(
21767 *) :
21769 esac
21773 as_nl='
21775 export as_nl
21776 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21777 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21778 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21779 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21780 # Prefer a ksh shell builtin over an external printf program on Solaris,
21781 # but without wasting forks for bash or zsh.
21782 if test -z "$BASH_VERSION$ZSH_VERSION" \
21783 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21784 as_echo='print -r --'
21785 as_echo_n='print -rn --'
21786 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21787 as_echo='printf %s\n'
21788 as_echo_n='printf %s'
21789 else
21790 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21791 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21792 as_echo_n='/usr/ucb/echo -n'
21793 else
21794 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21795 as_echo_n_body='eval
21796 arg=$1;
21797 case $arg in #(
21798 *"$as_nl"*)
21799 expr "X$arg" : "X\\(.*\\)$as_nl";
21800 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21801 esac;
21802 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21804 export as_echo_n_body
21805 as_echo_n='sh -c $as_echo_n_body as_echo'
21807 export as_echo_body
21808 as_echo='sh -c $as_echo_body as_echo'
21811 # The user is always right.
21812 if test "${PATH_SEPARATOR+set}" != set; then
21813 PATH_SEPARATOR=:
21814 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21815 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21816 PATH_SEPARATOR=';'
21821 # IFS
21822 # We need space, tab and new line, in precisely that order. Quoting is
21823 # there to prevent editors from complaining about space-tab.
21824 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21825 # splitting by setting IFS to empty value.)
21826 IFS=" "" $as_nl"
21828 # Find who we are. Look in the path if we contain no directory separator.
21829 as_myself=
21830 case $0 in #((
21831 *[\\/]* ) as_myself=$0 ;;
21832 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21833 for as_dir in $PATH
21835 IFS=$as_save_IFS
21836 test -z "$as_dir" && as_dir=.
21837 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21838 done
21839 IFS=$as_save_IFS
21842 esac
21843 # We did not find ourselves, most probably we were run as `sh COMMAND'
21844 # in which case we are not to be found in the path.
21845 if test "x$as_myself" = x; then
21846 as_myself=$0
21848 if test ! -f "$as_myself"; then
21849 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21850 exit 1
21853 # Unset variables that we do not need and which cause bugs (e.g. in
21854 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21855 # suppresses any "Segmentation fault" message there. '((' could
21856 # trigger a bug in pdksh 5.2.14.
21857 for as_var in BASH_ENV ENV MAIL MAILPATH
21858 do eval test x\${$as_var+set} = xset \
21859 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21860 done
21861 PS1='$ '
21862 PS2='> '
21863 PS4='+ '
21865 # NLS nuisances.
21866 LC_ALL=C
21867 export LC_ALL
21868 LANGUAGE=C
21869 export LANGUAGE
21871 # CDPATH.
21872 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21875 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21876 # ----------------------------------------
21877 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21878 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21879 # script with STATUS, using 1 if that was 0.
21880 as_fn_error ()
21882 as_status=$1; test $as_status -eq 0 && as_status=1
21883 if test "$4"; then
21884 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21885 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21887 $as_echo "$as_me: error: $2" >&2
21888 as_fn_exit $as_status
21889 } # as_fn_error
21892 # as_fn_set_status STATUS
21893 # -----------------------
21894 # Set $? to STATUS, without forking.
21895 as_fn_set_status ()
21897 return $1
21898 } # as_fn_set_status
21900 # as_fn_exit STATUS
21901 # -----------------
21902 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21903 as_fn_exit ()
21905 set +e
21906 as_fn_set_status $1
21907 exit $1
21908 } # as_fn_exit
21910 # as_fn_unset VAR
21911 # ---------------
21912 # Portably unset VAR.
21913 as_fn_unset ()
21915 { eval $1=; unset $1;}
21917 as_unset=as_fn_unset
21918 # as_fn_append VAR VALUE
21919 # ----------------------
21920 # Append the text in VALUE to the end of the definition contained in VAR. Take
21921 # advantage of any shell optimizations that allow amortized linear growth over
21922 # repeated appends, instead of the typical quadratic growth present in naive
21923 # implementations.
21924 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21925 eval 'as_fn_append ()
21927 eval $1+=\$2
21929 else
21930 as_fn_append ()
21932 eval $1=\$$1\$2
21934 fi # as_fn_append
21936 # as_fn_arith ARG...
21937 # ------------------
21938 # Perform arithmetic evaluation on the ARGs, and store the result in the
21939 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21940 # must be portable across $(()) and expr.
21941 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21942 eval 'as_fn_arith ()
21944 as_val=$(( $* ))
21946 else
21947 as_fn_arith ()
21949 as_val=`expr "$@" || test $? -eq 1`
21951 fi # as_fn_arith
21954 if expr a : '\(a\)' >/dev/null 2>&1 &&
21955 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21956 as_expr=expr
21957 else
21958 as_expr=false
21961 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21962 as_basename=basename
21963 else
21964 as_basename=false
21967 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21968 as_dirname=dirname
21969 else
21970 as_dirname=false
21973 as_me=`$as_basename -- "$0" ||
21974 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21975 X"$0" : 'X\(//\)$' \| \
21976 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21977 $as_echo X/"$0" |
21978 sed '/^.*\/\([^/][^/]*\)\/*$/{
21979 s//\1/
21982 /^X\/\(\/\/\)$/{
21983 s//\1/
21986 /^X\/\(\/\).*/{
21987 s//\1/
21990 s/.*/./; q'`
21992 # Avoid depending upon Character Ranges.
21993 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21994 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21995 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21996 as_cr_digits='0123456789'
21997 as_cr_alnum=$as_cr_Letters$as_cr_digits
21999 ECHO_C= ECHO_N= ECHO_T=
22000 case `echo -n x` in #(((((
22001 -n*)
22002 case `echo 'xy\c'` in
22003 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22004 xy) ECHO_C='\c';;
22005 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22006 ECHO_T=' ';;
22007 esac;;
22009 ECHO_N='-n';;
22010 esac
22012 rm -f conf$$ conf$$.exe conf$$.file
22013 if test -d conf$$.dir; then
22014 rm -f conf$$.dir/conf$$.file
22015 else
22016 rm -f conf$$.dir
22017 mkdir conf$$.dir 2>/dev/null
22019 if (echo >conf$$.file) 2>/dev/null; then
22020 if ln -s conf$$.file conf$$ 2>/dev/null; then
22021 as_ln_s='ln -s'
22022 # ... but there are two gotchas:
22023 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22024 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22025 # In both cases, we have to default to `cp -pR'.
22026 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22027 as_ln_s='cp -pR'
22028 elif ln conf$$.file conf$$ 2>/dev/null; then
22029 as_ln_s=ln
22030 else
22031 as_ln_s='cp -pR'
22033 else
22034 as_ln_s='cp -pR'
22036 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22037 rmdir conf$$.dir 2>/dev/null
22040 # as_fn_mkdir_p
22041 # -------------
22042 # Create "$as_dir" as a directory, including parents if necessary.
22043 as_fn_mkdir_p ()
22046 case $as_dir in #(
22047 -*) as_dir=./$as_dir;;
22048 esac
22049 test -d "$as_dir" || eval $as_mkdir_p || {
22050 as_dirs=
22051 while :; do
22052 case $as_dir in #(
22053 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22054 *) as_qdir=$as_dir;;
22055 esac
22056 as_dirs="'$as_qdir' $as_dirs"
22057 as_dir=`$as_dirname -- "$as_dir" ||
22058 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22059 X"$as_dir" : 'X\(//\)[^/]' \| \
22060 X"$as_dir" : 'X\(//\)$' \| \
22061 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22062 $as_echo X"$as_dir" |
22063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22064 s//\1/
22067 /^X\(\/\/\)[^/].*/{
22068 s//\1/
22071 /^X\(\/\/\)$/{
22072 s//\1/
22075 /^X\(\/\).*/{
22076 s//\1/
22079 s/.*/./; q'`
22080 test -d "$as_dir" && break
22081 done
22082 test -z "$as_dirs" || eval "mkdir $as_dirs"
22083 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22086 } # as_fn_mkdir_p
22087 if mkdir -p . 2>/dev/null; then
22088 as_mkdir_p='mkdir -p "$as_dir"'
22089 else
22090 test -d ./-p && rmdir ./-p
22091 as_mkdir_p=false
22095 # as_fn_executable_p FILE
22096 # -----------------------
22097 # Test if FILE is an executable regular file.
22098 as_fn_executable_p ()
22100 test -f "$1" && test -x "$1"
22101 } # as_fn_executable_p
22102 as_test_x='test -x'
22103 as_executable_p=as_fn_executable_p
22105 # Sed expression to map a string onto a valid CPP name.
22106 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22108 # Sed expression to map a string onto a valid variable name.
22109 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22112 exec 6>&1
22113 ## ----------------------------------- ##
22114 ## Main body of $CONFIG_STATUS script. ##
22115 ## ----------------------------------- ##
22116 _ASEOF
22117 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22120 # Save the log message, to keep $0 and so on meaningful, and to
22121 # report actual input values of CONFIG_FILES etc. instead of their
22122 # values after options handling.
22123 ac_log="
22124 This file was extended by Wine $as_me 5.14, which was
22125 generated by GNU Autoconf 2.69. Invocation command line was
22127 CONFIG_FILES = $CONFIG_FILES
22128 CONFIG_HEADERS = $CONFIG_HEADERS
22129 CONFIG_LINKS = $CONFIG_LINKS
22130 CONFIG_COMMANDS = $CONFIG_COMMANDS
22131 $ $0 $@
22133 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22136 _ACEOF
22138 case $ac_config_files in *"
22139 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22140 esac
22142 case $ac_config_headers in *"
22143 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22144 esac
22147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22148 # Files that config.status was made for.
22149 config_files="$ac_config_files"
22150 config_headers="$ac_config_headers"
22151 config_links="$ac_config_links"
22152 config_commands="$ac_config_commands"
22154 _ACEOF
22156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22157 ac_cs_usage="\
22158 \`$as_me' instantiates files and other configuration actions
22159 from templates according to the current configuration. Unless the files
22160 and actions are specified as TAGs, all are instantiated by default.
22162 Usage: $0 [OPTION]... [TAG]...
22164 -h, --help print this help, then exit
22165 -V, --version print version number and configuration settings, then exit
22166 --config print configuration, then exit
22167 -q, --quiet, --silent
22168 do not print progress messages
22169 -d, --debug don't remove temporary files
22170 --recheck update $as_me by reconfiguring in the same conditions
22171 --file=FILE[:TEMPLATE]
22172 instantiate the configuration file FILE
22173 --header=FILE[:TEMPLATE]
22174 instantiate the configuration header FILE
22176 Configuration files:
22177 $config_files
22179 Configuration headers:
22180 $config_headers
22182 Configuration links:
22183 $config_links
22185 Configuration commands:
22186 $config_commands
22188 Report bugs to <wine-devel@winehq.org>.
22189 Wine home page: <https://www.winehq.org>."
22191 _ACEOF
22192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22193 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22194 ac_cs_version="\\
22195 Wine config.status 5.14
22196 configured by $0, generated by GNU Autoconf 2.69,
22197 with options \\"\$ac_cs_config\\"
22199 Copyright (C) 2012 Free Software Foundation, Inc.
22200 This config.status script is free software; the Free Software Foundation
22201 gives unlimited permission to copy, distribute and modify it."
22203 ac_pwd='$ac_pwd'
22204 srcdir='$srcdir'
22205 test -n "\$AWK" || AWK=awk
22206 _ACEOF
22208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22209 # The default lists apply if the user does not specify any file.
22210 ac_need_defaults=:
22211 while test $# != 0
22213 case $1 in
22214 --*=?*)
22215 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22216 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22217 ac_shift=:
22219 --*=)
22220 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22221 ac_optarg=
22222 ac_shift=:
22225 ac_option=$1
22226 ac_optarg=$2
22227 ac_shift=shift
22229 esac
22231 case $ac_option in
22232 # Handling of the options.
22233 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22234 ac_cs_recheck=: ;;
22235 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22236 $as_echo "$ac_cs_version"; exit ;;
22237 --config | --confi | --conf | --con | --co | --c )
22238 $as_echo "$ac_cs_config"; exit ;;
22239 --debug | --debu | --deb | --de | --d | -d )
22240 debug=: ;;
22241 --file | --fil | --fi | --f )
22242 $ac_shift
22243 case $ac_optarg in
22244 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22245 '') as_fn_error $? "missing file argument" ;;
22246 esac
22247 as_fn_append CONFIG_FILES " '$ac_optarg'"
22248 ac_need_defaults=false;;
22249 --header | --heade | --head | --hea )
22250 $ac_shift
22251 case $ac_optarg in
22252 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22253 esac
22254 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22255 ac_need_defaults=false;;
22256 --he | --h)
22257 # Conflict between --help and --header
22258 as_fn_error $? "ambiguous option: \`$1'
22259 Try \`$0 --help' for more information.";;
22260 --help | --hel | -h )
22261 $as_echo "$ac_cs_usage"; exit ;;
22262 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22263 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22264 ac_cs_silent=: ;;
22266 # This is an error.
22267 -*) as_fn_error $? "unrecognized option: \`$1'
22268 Try \`$0 --help' for more information." ;;
22270 *) as_fn_append ac_config_targets " $1"
22271 ac_need_defaults=false ;;
22273 esac
22274 shift
22275 done
22277 ac_configure_extra_args=
22279 if $ac_cs_silent; then
22280 exec 6>/dev/null
22281 ac_configure_extra_args="$ac_configure_extra_args --silent"
22284 _ACEOF
22285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22286 if \$ac_cs_recheck; then
22287 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22288 shift
22289 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22290 CONFIG_SHELL='$SHELL'
22291 export CONFIG_SHELL
22292 exec "\$@"
22295 _ACEOF
22296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22297 exec 5>>config.log
22299 echo
22300 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22301 ## Running $as_me. ##
22302 _ASBOX
22303 $as_echo "$ac_log"
22304 } >&5
22306 _ACEOF
22307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22309 # INIT-COMMANDS
22311 wine_fn_output_makedep ()
22313 as_dir=tools; as_fn_mkdir_p
22314 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22316 wine_fn_output_makefile ()
22318 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22319 `cat $wine_rules_file`
22320 _WINE_EOF
22321 as_fn_error $? "could not create Makefile" "$LINENO" 5
22324 _ACEOF
22326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22328 # Handling of arguments.
22329 for ac_config_target in $ac_config_targets
22331 case $ac_config_target in
22332 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22333 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22334 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22335 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22336 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22337 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22338 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22340 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22341 esac
22342 done
22345 # If the user did not use the arguments to specify the items to instantiate,
22346 # then the envvar interface is used. Set only those that are not.
22347 # We use the long form for the default assignment because of an extremely
22348 # bizarre bug on SunOS 4.1.3.
22349 if $ac_need_defaults; then
22350 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22351 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22352 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22353 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22356 # Have a temporary directory for convenience. Make it in the build tree
22357 # simply because there is no reason against having it here, and in addition,
22358 # creating and moving files from /tmp can sometimes cause problems.
22359 # Hook for its removal unless debugging.
22360 # Note that there is a small window in which the directory will not be cleaned:
22361 # after its creation but before its name has been assigned to `$tmp'.
22362 $debug ||
22364 tmp= ac_tmp=
22365 trap 'exit_status=$?
22366 : "${ac_tmp:=$tmp}"
22367 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22369 trap 'as_fn_exit 1' 1 2 13 15
22371 # Create a (secure) tmp directory for tmp files.
22374 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22375 test -d "$tmp"
22376 } ||
22378 tmp=./conf$$-$RANDOM
22379 (umask 077 && mkdir "$tmp")
22380 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22381 ac_tmp=$tmp
22383 # Set up the scripts for CONFIG_FILES section.
22384 # No need to generate them if there are no CONFIG_FILES.
22385 # This happens for instance with `./config.status config.h'.
22386 if test -n "$CONFIG_FILES"; then
22389 ac_cr=`echo X | tr X '\015'`
22390 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22391 # But we know of no other shell where ac_cr would be empty at this
22392 # point, so we can use a bashism as a fallback.
22393 if test "x$ac_cr" = x; then
22394 eval ac_cr=\$\'\\r\'
22396 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22397 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22398 ac_cs_awk_cr='\\r'
22399 else
22400 ac_cs_awk_cr=$ac_cr
22403 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22404 _ACEOF
22408 echo "cat >conf$$subs.awk <<_ACEOF" &&
22409 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22410 echo "_ACEOF"
22411 } >conf$$subs.sh ||
22412 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22413 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22414 ac_delim='%!_!# '
22415 for ac_last_try in false false false false false :; do
22416 . ./conf$$subs.sh ||
22417 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22419 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22420 if test $ac_delim_n = $ac_delim_num; then
22421 break
22422 elif $ac_last_try; then
22423 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22424 else
22425 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22427 done
22428 rm -f conf$$subs.sh
22430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22431 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22432 _ACEOF
22433 sed -n '
22435 s/^/S["/; s/!.*/"]=/
22438 s/^[^!]*!//
22439 :repl
22440 t repl
22441 s/'"$ac_delim"'$//
22442 t delim
22445 s/\(.\{148\}\)..*/\1/
22446 t more1
22447 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22450 b repl
22451 :more1
22452 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22455 s/.\{148\}//
22456 t nl
22457 :delim
22459 s/\(.\{148\}\)..*/\1/
22460 t more2
22461 s/["\\]/\\&/g; s/^/"/; s/$/"/
22464 :more2
22465 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22468 s/.\{148\}//
22469 t delim
22470 ' <conf$$subs.awk | sed '
22471 /^[^""]/{
22473 s/\n//
22475 ' >>$CONFIG_STATUS || ac_write_fail=1
22476 rm -f conf$$subs.awk
22477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22478 _ACAWK
22479 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22480 for (key in S) S_is_set[key] = 1
22481 FS = "\a"
22485 line = $ 0
22486 nfields = split(line, field, "@")
22487 substed = 0
22488 len = length(field[1])
22489 for (i = 2; i < nfields; i++) {
22490 key = field[i]
22491 keylen = length(key)
22492 if (S_is_set[key]) {
22493 value = S[key]
22494 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22495 len += length(value) + length(field[++i])
22496 substed = 1
22497 } else
22498 len += 1 + keylen
22501 print line
22504 _ACAWK
22505 _ACEOF
22506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22507 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22508 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22509 else
22511 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22512 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22513 _ACEOF
22515 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22516 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22517 # trailing colons and then remove the whole line if VPATH becomes empty
22518 # (actually we leave an empty line to preserve line numbers).
22519 if test "x$srcdir" = x.; then
22520 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22522 s///
22523 s/^/:/
22524 s/[ ]*$/:/
22525 s/:\$(srcdir):/:/g
22526 s/:\${srcdir}:/:/g
22527 s/:@srcdir@:/:/g
22528 s/^:*//
22529 s/:*$//
22531 s/\(=[ ]*\).*/\1/
22533 s/\n//
22534 s/^[^=]*=[ ]*$//
22538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22539 fi # test -n "$CONFIG_FILES"
22541 # Set up the scripts for CONFIG_HEADERS section.
22542 # No need to generate them if there are no CONFIG_HEADERS.
22543 # This happens for instance with `./config.status Makefile'.
22544 if test -n "$CONFIG_HEADERS"; then
22545 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22546 BEGIN {
22547 _ACEOF
22549 # Transform confdefs.h into an awk script `defines.awk', embedded as
22550 # here-document in config.status, that substitutes the proper values into
22551 # config.h.in to produce config.h.
22553 # Create a delimiter string that does not exist in confdefs.h, to ease
22554 # handling of long lines.
22555 ac_delim='%!_!# '
22556 for ac_last_try in false false :; do
22557 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22558 if test -z "$ac_tt"; then
22559 break
22560 elif $ac_last_try; then
22561 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22562 else
22563 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22565 done
22567 # For the awk script, D is an array of macro values keyed by name,
22568 # likewise P contains macro parameters if any. Preserve backslash
22569 # newline sequences.
22571 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22572 sed -n '
22573 s/.\{148\}/&'"$ac_delim"'/g
22574 t rset
22575 :rset
22576 s/^[ ]*#[ ]*define[ ][ ]*/ /
22577 t def
22579 :def
22580 s/\\$//
22581 t bsnl
22582 s/["\\]/\\&/g
22583 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22584 D["\1"]=" \3"/p
22585 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22587 :bsnl
22588 s/["\\]/\\&/g
22589 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22590 D["\1"]=" \3\\\\\\n"\\/p
22591 t cont
22592 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22593 t cont
22595 :cont
22597 s/.\{148\}/&'"$ac_delim"'/g
22598 t clear
22599 :clear
22600 s/\\$//
22601 t bsnlc
22602 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22604 :bsnlc
22605 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22606 b cont
22607 ' <confdefs.h | sed '
22608 s/'"$ac_delim"'/"\\\
22609 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22612 for (key in D) D_is_set[key] = 1
22613 FS = "\a"
22615 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22616 line = \$ 0
22617 split(line, arg, " ")
22618 if (arg[1] == "#") {
22619 defundef = arg[2]
22620 mac1 = arg[3]
22621 } else {
22622 defundef = substr(arg[1], 2)
22623 mac1 = arg[2]
22625 split(mac1, mac2, "(") #)
22626 macro = mac2[1]
22627 prefix = substr(line, 1, index(line, defundef) - 1)
22628 if (D_is_set[macro]) {
22629 # Preserve the white space surrounding the "#".
22630 print prefix "define", macro P[macro] D[macro]
22631 next
22632 } else {
22633 # Replace #undef with comments. This is necessary, for example,
22634 # in the case of _POSIX_SOURCE, which is predefined and required
22635 # on some systems where configure will not decide to define it.
22636 if (defundef == "undef") {
22637 print "/*", prefix defundef, macro, "*/"
22638 next
22642 { print }
22643 _ACAWK
22644 _ACEOF
22645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22646 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22647 fi # test -n "$CONFIG_HEADERS"
22650 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22651 shift
22652 for ac_tag
22654 case $ac_tag in
22655 :[FHLC]) ac_mode=$ac_tag; continue;;
22656 esac
22657 case $ac_mode$ac_tag in
22658 :[FHL]*:*);;
22659 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22660 :[FH]-) ac_tag=-:-;;
22661 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22662 esac
22663 ac_save_IFS=$IFS
22664 IFS=:
22665 set x $ac_tag
22666 IFS=$ac_save_IFS
22667 shift
22668 ac_file=$1
22669 shift
22671 case $ac_mode in
22672 :L) ac_source=$1;;
22673 :[FH])
22674 ac_file_inputs=
22675 for ac_f
22677 case $ac_f in
22678 -) ac_f="$ac_tmp/stdin";;
22679 *) # Look for the file first in the build tree, then in the source tree
22680 # (if the path is not absolute). The absolute path cannot be DOS-style,
22681 # because $ac_f cannot contain `:'.
22682 test -f "$ac_f" ||
22683 case $ac_f in
22684 [\\/$]*) false;;
22685 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22686 esac ||
22687 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22688 esac
22689 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22690 as_fn_append ac_file_inputs " '$ac_f'"
22691 done
22693 # Let's still pretend it is `configure' which instantiates (i.e., don't
22694 # use $as_me), people would be surprised to read:
22695 # /* config.h. Generated by config.status. */
22696 configure_input='Generated from '`
22697 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22698 `' by configure.'
22699 if test x"$ac_file" != x-; then
22700 configure_input="$ac_file. $configure_input"
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22702 $as_echo "$as_me: creating $ac_file" >&6;}
22704 # Neutralize special characters interpreted by sed in replacement strings.
22705 case $configure_input in #(
22706 *\&* | *\|* | *\\* )
22707 ac_sed_conf_input=`$as_echo "$configure_input" |
22708 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22709 *) ac_sed_conf_input=$configure_input;;
22710 esac
22712 case $ac_tag in
22713 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22714 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22715 esac
22717 esac
22719 ac_dir=`$as_dirname -- "$ac_file" ||
22720 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22721 X"$ac_file" : 'X\(//\)[^/]' \| \
22722 X"$ac_file" : 'X\(//\)$' \| \
22723 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22724 $as_echo X"$ac_file" |
22725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22726 s//\1/
22729 /^X\(\/\/\)[^/].*/{
22730 s//\1/
22733 /^X\(\/\/\)$/{
22734 s//\1/
22737 /^X\(\/\).*/{
22738 s//\1/
22741 s/.*/./; q'`
22742 as_dir="$ac_dir"; as_fn_mkdir_p
22743 ac_builddir=.
22745 case "$ac_dir" in
22746 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22748 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22749 # A ".." for each directory in $ac_dir_suffix.
22750 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22751 case $ac_top_builddir_sub in
22752 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22753 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22754 esac ;;
22755 esac
22756 ac_abs_top_builddir=$ac_pwd
22757 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22758 # for backward compatibility:
22759 ac_top_builddir=$ac_top_build_prefix
22761 case $srcdir in
22762 .) # We are building in place.
22763 ac_srcdir=.
22764 ac_top_srcdir=$ac_top_builddir_sub
22765 ac_abs_top_srcdir=$ac_pwd ;;
22766 [\\/]* | ?:[\\/]* ) # Absolute name.
22767 ac_srcdir=$srcdir$ac_dir_suffix;
22768 ac_top_srcdir=$srcdir
22769 ac_abs_top_srcdir=$srcdir ;;
22770 *) # Relative name.
22771 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22772 ac_top_srcdir=$ac_top_build_prefix$srcdir
22773 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22774 esac
22775 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22778 case $ac_mode in
22781 # CONFIG_FILE
22784 _ACEOF
22786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22787 # If the template does not know about datarootdir, expand it.
22788 # FIXME: This hack should be removed a few years after 2.60.
22789 ac_datarootdir_hack=; ac_datarootdir_seen=
22790 ac_sed_dataroot='
22791 /datarootdir/ {
22795 /@datadir@/p
22796 /@docdir@/p
22797 /@infodir@/p
22798 /@localedir@/p
22799 /@mandir@/p'
22800 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22801 *datarootdir*) ac_datarootdir_seen=yes;;
22802 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22804 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22805 _ACEOF
22806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22807 ac_datarootdir_hack='
22808 s&@datadir@&$datadir&g
22809 s&@docdir@&$docdir&g
22810 s&@infodir@&$infodir&g
22811 s&@localedir@&$localedir&g
22812 s&@mandir@&$mandir&g
22813 s&\\\${datarootdir}&$datarootdir&g' ;;
22814 esac
22815 _ACEOF
22817 # Neutralize VPATH when `$srcdir' = `.'.
22818 # Shell code in configure.ac might set extrasub.
22819 # FIXME: do we really want to maintain this feature?
22820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22821 ac_sed_extra="$ac_vpsub
22822 $extrasub
22823 _ACEOF
22824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22826 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22827 s|@configure_input@|$ac_sed_conf_input|;t t
22828 s&@top_builddir@&$ac_top_builddir_sub&;t t
22829 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22830 s&@srcdir@&$ac_srcdir&;t t
22831 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22832 s&@top_srcdir@&$ac_top_srcdir&;t t
22833 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22834 s&@builddir@&$ac_builddir&;t t
22835 s&@abs_builddir@&$ac_abs_builddir&;t t
22836 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22837 $ac_datarootdir_hack
22839 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22840 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22842 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22843 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22844 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22845 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22847 which seems to be undefined. Please make sure it is defined" >&5
22848 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22849 which seems to be undefined. Please make sure it is defined" >&2;}
22851 rm -f "$ac_tmp/stdin"
22852 case $ac_file in
22853 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22854 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22855 esac \
22856 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22860 # CONFIG_HEADER
22862 if test x"$ac_file" != x-; then
22864 $as_echo "/* $configure_input */" \
22865 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22866 } >"$ac_tmp/config.h" \
22867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22868 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22870 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22871 else
22872 rm -f "$ac_file"
22873 mv "$ac_tmp/config.h" "$ac_file" \
22874 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22876 else
22877 $as_echo "/* $configure_input */" \
22878 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22879 || as_fn_error $? "could not create -" "$LINENO" 5
22884 # CONFIG_LINK
22887 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22889 else
22890 # Prefer the file from the source tree if names are identical.
22891 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22892 ac_source=$srcdir/$ac_source
22895 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22896 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22898 if test ! -r "$ac_source"; then
22899 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22901 rm -f "$ac_file"
22903 # Try a relative symlink, then a hard link, then a copy.
22904 case $ac_source in
22905 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22906 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22907 esac
22908 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22909 ln "$ac_source" "$ac_file" 2>/dev/null ||
22910 cp -p "$ac_source" "$ac_file" ||
22911 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22914 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22915 $as_echo "$as_me: executing $ac_file commands" >&6;}
22917 esac
22920 case $ac_file$ac_mode in
22921 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22922 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22923 "Makefile":C) wine_fn_output_makefile Makefile ;;
22925 esac
22926 done # for ac_tag
22929 as_fn_exit 0
22930 _ACEOF
22931 ac_clean_files=$ac_clean_files_save
22933 test $ac_write_fail = 0 ||
22934 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22937 # configure is writing to config.log, and then calls config.status.
22938 # config.status does its own redirection, appending to config.log.
22939 # Unfortunately, on DOS this fails, as config.log is still kept open
22940 # by configure, so config.status won't be able to write to it; its
22941 # output is simply discarded. So we exec the FD to /dev/null,
22942 # effectively closing config.log, so it can be properly (re)opened and
22943 # appended to by config.status. When coming back to configure, we
22944 # need to make the FD available again.
22945 if test "$no_create" != yes; then
22946 ac_cs_success=:
22947 ac_config_status_args=
22948 test "$silent" = yes &&
22949 ac_config_status_args="$ac_config_status_args --quiet"
22950 exec 5>/dev/null
22951 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22952 exec 5>>config.log
22953 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22954 # would make configure fail if this is the last instruction.
22955 $ac_cs_success || as_fn_exit 1
22957 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22959 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22963 if test "$no_create" = "yes"
22964 then
22965 exit 0
22968 ac_save_IFS="$IFS"
22969 if test "x$wine_notices" != x; then
22970 echo >&6
22971 IFS="|"
22972 for msg in $wine_notices; do
22973 IFS="$ac_save_IFS"
22974 if ${msg:+false} :; then :
22976 else
22977 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22978 $as_echo "$as_me: $msg" >&6;}
22980 done
22982 IFS="|"
22983 for msg in $wine_warnings; do
22984 IFS="$ac_save_IFS"
22985 if ${msg:+false} :; then :
22987 else
22988 echo >&2
22989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22990 $as_echo "$as_me: WARNING: $msg" >&2;}
22992 done
22993 IFS="$ac_save_IFS"
22995 $as_echo "
22996 $as_me: Finished. Do '${ac_make}' to compile Wine.
22997 " >&6