ws2_32: Set WSAEINVAL in InetPtonW if the address string is unparsable.
[wine.git] / configure
blob7e4a153c207210a1ecffc2b46c1654590ece078d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.8.
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.8'
584 PACKAGE_STRING='Wine 5.8'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXCESS_PRECISION_CFLAGS
635 EXTRACFLAGS
636 VKD3D_LIBS
637 VKD3D_CFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 GSSAPI_LIBS
651 GSSAPI_CFLAGS
652 KRB5_LIBS
653 KRB5_CFLAGS
654 FONTCONFIG_LIBS
655 FONTCONFIG_CFLAGS
656 CUPS_LIBS
657 CUPS_CFLAGS
658 CAPI20_LIBS
659 CAPI20_CFLAGS
660 FAUDIO_LIBS
661 FAUDIO_CFLAGS
662 SDL2_LIBS
663 SDL2_CFLAGS
664 UNWIND_LIBS
665 UNWIND_CFLAGS
666 UDEV_LIBS
667 UDEV_CFLAGS
668 OSS4_LIBS
669 OSS4_CFLAGS
670 ALSA_LIBS
671 GSTREAMER_LIBS
672 GSTREAMER_CFLAGS
673 PULSE_LIBS
674 PULSE_CFLAGS
675 GETTEXTPO_LIBS
676 FREETYPE_LIBS
677 FREETYPE_CFLAGS
678 LCMS2_LIBS
679 LCMS2_CFLAGS
680 RESOLV_LIBS
681 GPHOTO2_PORT_LIBS
682 GPHOTO2_PORT_CFLAGS
683 GPHOTO2_LIBS
684 GPHOTO2_CFLAGS
685 USB_LIBS
686 USB_CFLAGS
687 SANE_LIBS
688 SANE_CFLAGS
689 GNUTLS_LIBS
690 GNUTLS_CFLAGS
691 HAL_LIBS
692 HAL_CFLAGS
693 DBUS_LIBS
694 DBUS_CFLAGS
695 INOTIFY_LIBS
696 INOTIFY_CFLAGS
697 XSLT_LIBS
698 XSLT_CFLAGS
699 XML2_LIBS
700 XML2_CFLAGS
701 PCAP_LIBS
702 X_EXTRA_LIBS
703 X_LIBS
704 X_PRE_LIBS
705 X_CFLAGS
706 XMKMF
707 PTHREAD_LIBS
708 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_l1_1_0
948 enable_api_ms_win_core_file_l1_2_0
949 enable_api_ms_win_core_file_l1_2_1
950 enable_api_ms_win_core_file_l1_2_2
951 enable_api_ms_win_core_file_l2_1_0
952 enable_api_ms_win_core_file_l2_1_1
953 enable_api_ms_win_core_file_l2_1_2
954 enable_api_ms_win_core_handle_l1_1_0
955 enable_api_ms_win_core_heap_l1_1_0
956 enable_api_ms_win_core_heap_l1_2_0
957 enable_api_ms_win_core_heap_l2_1_0
958 enable_api_ms_win_core_heap_obsolete_l1_1_0
959 enable_api_ms_win_core_interlocked_l1_1_0
960 enable_api_ms_win_core_interlocked_l1_2_0
961 enable_api_ms_win_core_io_l1_1_0
962 enable_api_ms_win_core_io_l1_1_1
963 enable_api_ms_win_core_job_l1_1_0
964 enable_api_ms_win_core_job_l2_1_0
965 enable_api_ms_win_core_kernel32_legacy_l1_1_0
966 enable_api_ms_win_core_kernel32_legacy_l1_1_1
967 enable_api_ms_win_core_kernel32_private_l1_1_1
968 enable_api_ms_win_core_largeinteger_l1_1_0
969 enable_api_ms_win_core_libraryloader_l1_1_0
970 enable_api_ms_win_core_libraryloader_l1_1_1
971 enable_api_ms_win_core_libraryloader_l1_2_0
972 enable_api_ms_win_core_libraryloader_l1_2_1
973 enable_api_ms_win_core_libraryloader_l1_2_2
974 enable_api_ms_win_core_localization_l1_1_0
975 enable_api_ms_win_core_localization_l1_2_0
976 enable_api_ms_win_core_localization_l1_2_1
977 enable_api_ms_win_core_localization_l2_1_0
978 enable_api_ms_win_core_localization_obsolete_l1_1_0
979 enable_api_ms_win_core_localization_obsolete_l1_2_0
980 enable_api_ms_win_core_localization_obsolete_l1_3_0
981 enable_api_ms_win_core_localization_private_l1_1_0
982 enable_api_ms_win_core_localregistry_l1_1_0
983 enable_api_ms_win_core_memory_l1_1_0
984 enable_api_ms_win_core_memory_l1_1_1
985 enable_api_ms_win_core_memory_l1_1_2
986 enable_api_ms_win_core_misc_l1_1_0
987 enable_api_ms_win_core_namedpipe_l1_1_0
988 enable_api_ms_win_core_namedpipe_l1_2_0
989 enable_api_ms_win_core_namespace_l1_1_0
990 enable_api_ms_win_core_normalization_l1_1_0
991 enable_api_ms_win_core_path_l1_1_0
992 enable_api_ms_win_core_privateprofile_l1_1_1
993 enable_api_ms_win_core_processenvironment_l1_1_0
994 enable_api_ms_win_core_processenvironment_l1_2_0
995 enable_api_ms_win_core_processthreads_l1_1_0
996 enable_api_ms_win_core_processthreads_l1_1_1
997 enable_api_ms_win_core_processthreads_l1_1_2
998 enable_api_ms_win_core_processthreads_l1_1_3
999 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1000 enable_api_ms_win_core_profile_l1_1_0
1001 enable_api_ms_win_core_psapi_ansi_l1_1_0
1002 enable_api_ms_win_core_psapi_l1_1_0
1003 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1004 enable_api_ms_win_core_quirks_l1_1_0
1005 enable_api_ms_win_core_realtime_l1_1_0
1006 enable_api_ms_win_core_registry_l1_1_0
1007 enable_api_ms_win_core_registry_l2_1_0
1008 enable_api_ms_win_core_registry_l2_2_0
1009 enable_api_ms_win_core_registryuserspecific_l1_1_0
1010 enable_api_ms_win_core_rtlsupport_l1_1_0
1011 enable_api_ms_win_core_rtlsupport_l1_2_0
1012 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1013 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1014 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1015 enable_api_ms_win_core_shutdown_l1_1_0
1016 enable_api_ms_win_core_sidebyside_l1_1_0
1017 enable_api_ms_win_core_string_l1_1_0
1018 enable_api_ms_win_core_string_l2_1_0
1019 enable_api_ms_win_core_string_obsolete_l1_1_0
1020 enable_api_ms_win_core_stringansi_l1_1_0
1021 enable_api_ms_win_core_stringloader_l1_1_1
1022 enable_api_ms_win_core_synch_ansi_l1_1_0
1023 enable_api_ms_win_core_synch_l1_1_0
1024 enable_api_ms_win_core_synch_l1_2_0
1025 enable_api_ms_win_core_synch_l1_2_1
1026 enable_api_ms_win_core_sysinfo_l1_1_0
1027 enable_api_ms_win_core_sysinfo_l1_2_0
1028 enable_api_ms_win_core_sysinfo_l1_2_1
1029 enable_api_ms_win_core_threadpool_l1_1_0
1030 enable_api_ms_win_core_threadpool_l1_2_0
1031 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1032 enable_api_ms_win_core_threadpool_private_l1_1_0
1033 enable_api_ms_win_core_timezone_l1_1_0
1034 enable_api_ms_win_core_toolhelp_l1_1_0
1035 enable_api_ms_win_core_url_l1_1_0
1036 enable_api_ms_win_core_util_l1_1_0
1037 enable_api_ms_win_core_version_l1_1_0
1038 enable_api_ms_win_core_version_l1_1_1
1039 enable_api_ms_win_core_version_private_l1_1_0
1040 enable_api_ms_win_core_versionansi_l1_1_0
1041 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1042 enable_api_ms_win_core_winrt_error_l1_1_0
1043 enable_api_ms_win_core_winrt_error_l1_1_1
1044 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1045 enable_api_ms_win_core_winrt_l1_1_0
1046 enable_api_ms_win_core_winrt_registration_l1_1_0
1047 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1048 enable_api_ms_win_core_winrt_string_l1_1_0
1049 enable_api_ms_win_core_winrt_string_l1_1_1
1050 enable_api_ms_win_core_wow64_l1_1_0
1051 enable_api_ms_win_core_wow64_l1_1_1
1052 enable_api_ms_win_core_xstate_l1_1_0
1053 enable_api_ms_win_core_xstate_l2_1_0
1054 enable_api_ms_win_crt_conio_l1_1_0
1055 enable_api_ms_win_crt_convert_l1_1_0
1056 enable_api_ms_win_crt_environment_l1_1_0
1057 enable_api_ms_win_crt_filesystem_l1_1_0
1058 enable_api_ms_win_crt_heap_l1_1_0
1059 enable_api_ms_win_crt_locale_l1_1_0
1060 enable_api_ms_win_crt_math_l1_1_0
1061 enable_api_ms_win_crt_multibyte_l1_1_0
1062 enable_api_ms_win_crt_private_l1_1_0
1063 enable_api_ms_win_crt_process_l1_1_0
1064 enable_api_ms_win_crt_runtime_l1_1_0
1065 enable_api_ms_win_crt_stdio_l1_1_0
1066 enable_api_ms_win_crt_string_l1_1_0
1067 enable_api_ms_win_crt_time_l1_1_0
1068 enable_api_ms_win_crt_utility_l1_1_0
1069 enable_api_ms_win_devices_config_l1_1_0
1070 enable_api_ms_win_devices_config_l1_1_1
1071 enable_api_ms_win_devices_query_l1_1_1
1072 enable_api_ms_win_downlevel_advapi32_l1_1_0
1073 enable_api_ms_win_downlevel_advapi32_l2_1_0
1074 enable_api_ms_win_downlevel_normaliz_l1_1_0
1075 enable_api_ms_win_downlevel_ole32_l1_1_0
1076 enable_api_ms_win_downlevel_shell32_l1_1_0
1077 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1078 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1079 enable_api_ms_win_downlevel_user32_l1_1_0
1080 enable_api_ms_win_downlevel_version_l1_1_0
1081 enable_api_ms_win_dx_d3dkmt_l1_1_0
1082 enable_api_ms_win_eventing_classicprovider_l1_1_0
1083 enable_api_ms_win_eventing_consumer_l1_1_0
1084 enable_api_ms_win_eventing_controller_l1_1_0
1085 enable_api_ms_win_eventing_legacy_l1_1_0
1086 enable_api_ms_win_eventing_provider_l1_1_0
1087 enable_api_ms_win_eventlog_legacy_l1_1_0
1088 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1089 enable_api_ms_win_mm_joystick_l1_1_0
1090 enable_api_ms_win_mm_misc_l1_1_1
1091 enable_api_ms_win_mm_mme_l1_1_0
1092 enable_api_ms_win_mm_time_l1_1_0
1093 enable_api_ms_win_ntuser_dc_access_l1_1_0
1094 enable_api_ms_win_ntuser_rectangle_l1_1_0
1095 enable_api_ms_win_ntuser_sysparams_l1_1_0
1096 enable_api_ms_win_perf_legacy_l1_1_0
1097 enable_api_ms_win_power_base_l1_1_0
1098 enable_api_ms_win_power_setting_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1102 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1103 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1104 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1105 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1106 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1107 enable_api_ms_win_security_audit_l1_1_1
1108 enable_api_ms_win_security_base_l1_1_0
1109 enable_api_ms_win_security_base_l1_2_0
1110 enable_api_ms_win_security_base_private_l1_1_1
1111 enable_api_ms_win_security_credentials_l1_1_0
1112 enable_api_ms_win_security_cryptoapi_l1_1_0
1113 enable_api_ms_win_security_grouppolicy_l1_1_0
1114 enable_api_ms_win_security_lsalookup_l1_1_0
1115 enable_api_ms_win_security_lsalookup_l1_1_1
1116 enable_api_ms_win_security_lsalookup_l2_1_0
1117 enable_api_ms_win_security_lsalookup_l2_1_1
1118 enable_api_ms_win_security_lsapolicy_l1_1_0
1119 enable_api_ms_win_security_provider_l1_1_0
1120 enable_api_ms_win_security_sddl_l1_1_0
1121 enable_api_ms_win_security_systemfunctions_l1_1_0
1122 enable_api_ms_win_service_core_l1_1_0
1123 enable_api_ms_win_service_core_l1_1_1
1124 enable_api_ms_win_service_management_l1_1_0
1125 enable_api_ms_win_service_management_l2_1_0
1126 enable_api_ms_win_service_private_l1_1_1
1127 enable_api_ms_win_service_winsvc_l1_1_0
1128 enable_api_ms_win_service_winsvc_l1_2_0
1129 enable_api_ms_win_shcore_obsolete_l1_1_0
1130 enable_api_ms_win_shcore_scaling_l1_1_1
1131 enable_api_ms_win_shcore_stream_l1_1_0
1132 enable_api_ms_win_shcore_thread_l1_1_0
1133 enable_api_ms_win_shell_shellcom_l1_1_0
1134 enable_api_ms_win_shell_shellfolders_l1_1_0
1135 enable_apphelp
1136 enable_appwiz_cpl
1137 enable_atl
1138 enable_atl100
1139 enable_atl110
1140 enable_atl80
1141 enable_atl90
1142 enable_atlthunk
1143 enable_atmlib
1144 enable_authz
1145 enable_avicap32
1146 enable_avifil32
1147 enable_avrt
1148 enable_bcrypt
1149 enable_bluetoothapis
1150 enable_browseui
1151 enable_bthprops_cpl
1152 enable_cabinet
1153 enable_capi2032
1154 enable_cards
1155 enable_cdosys
1156 enable_cfgmgr32
1157 enable_clusapi
1158 enable_combase
1159 enable_comcat
1160 enable_comctl32
1161 enable_comdlg32
1162 enable_compstui
1163 enable_comsvcs
1164 enable_concrt140
1165 enable_connect
1166 enable_credui
1167 enable_crtdll
1168 enable_crypt32
1169 enable_cryptdlg
1170 enable_cryptdll
1171 enable_cryptext
1172 enable_cryptnet
1173 enable_cryptui
1174 enable_ctapi32
1175 enable_ctl3d32
1176 enable_d2d1
1177 enable_d3d10
1178 enable_d3d10_1
1179 enable_d3d10core
1180 enable_d3d11
1181 enable_d3d12
1182 enable_d3d8
1183 enable_d3d9
1184 enable_d3dcompiler_33
1185 enable_d3dcompiler_34
1186 enable_d3dcompiler_35
1187 enable_d3dcompiler_36
1188 enable_d3dcompiler_37
1189 enable_d3dcompiler_38
1190 enable_d3dcompiler_39
1191 enable_d3dcompiler_40
1192 enable_d3dcompiler_41
1193 enable_d3dcompiler_42
1194 enable_d3dcompiler_43
1195 enable_d3dcompiler_46
1196 enable_d3dcompiler_47
1197 enable_d3dim
1198 enable_d3drm
1199 enable_d3dx10_33
1200 enable_d3dx10_34
1201 enable_d3dx10_35
1202 enable_d3dx10_36
1203 enable_d3dx10_37
1204 enable_d3dx10_38
1205 enable_d3dx10_39
1206 enable_d3dx10_40
1207 enable_d3dx10_41
1208 enable_d3dx10_42
1209 enable_d3dx10_43
1210 enable_d3dx11_42
1211 enable_d3dx11_43
1212 enable_d3dx9_24
1213 enable_d3dx9_25
1214 enable_d3dx9_26
1215 enable_d3dx9_27
1216 enable_d3dx9_28
1217 enable_d3dx9_29
1218 enable_d3dx9_30
1219 enable_d3dx9_31
1220 enable_d3dx9_32
1221 enable_d3dx9_33
1222 enable_d3dx9_34
1223 enable_d3dx9_35
1224 enable_d3dx9_36
1225 enable_d3dx9_37
1226 enable_d3dx9_38
1227 enable_d3dx9_39
1228 enable_d3dx9_40
1229 enable_d3dx9_41
1230 enable_d3dx9_42
1231 enable_d3dx9_43
1232 enable_d3dxof
1233 enable_davclnt
1234 enable_dbgeng
1235 enable_dbghelp
1236 enable_dciman32
1237 enable_ddraw
1238 enable_ddrawex
1239 enable_devenum
1240 enable_dhcpcsvc
1241 enable_dhtmled_ocx
1242 enable_difxapi
1243 enable_dinput
1244 enable_dinput8
1245 enable_dispex
1246 enable_dmband
1247 enable_dmcompos
1248 enable_dmime
1249 enable_dmloader
1250 enable_dmoguids
1251 enable_dmscript
1252 enable_dmstyle
1253 enable_dmsynth
1254 enable_dmusic
1255 enable_dmusic32
1256 enable_dnsapi
1257 enable_dplay
1258 enable_dplayx
1259 enable_dpnaddr
1260 enable_dpnet
1261 enable_dpnhpast
1262 enable_dpnlobby
1263 enable_dpvoice
1264 enable_dpwsockx
1265 enable_drmclien
1266 enable_dsdmo
1267 enable_dsound
1268 enable_dsquery
1269 enable_dssenh
1270 enable_dsuiext
1271 enable_dswave
1272 enable_dwmapi
1273 enable_dwrite
1274 enable_dx8vb
1275 enable_dxdiagn
1276 enable_dxerr8
1277 enable_dxerr9
1278 enable_dxgi
1279 enable_dxguid
1280 enable_dxva2
1281 enable_esent
1282 enable_evr
1283 enable_explorerframe
1284 enable_ext_ms_win_authz_context_l1_1_0
1285 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1286 enable_ext_ms_win_dwmapi_ext_l1_1_0
1287 enable_ext_ms_win_gdi_dc_create_l1_1_0
1288 enable_ext_ms_win_gdi_dc_create_l1_1_1
1289 enable_ext_ms_win_gdi_dc_l1_2_0
1290 enable_ext_ms_win_gdi_devcaps_l1_1_0
1291 enable_ext_ms_win_gdi_draw_l1_1_0
1292 enable_ext_ms_win_gdi_draw_l1_1_1
1293 enable_ext_ms_win_gdi_font_l1_1_0
1294 enable_ext_ms_win_gdi_font_l1_1_1
1295 enable_ext_ms_win_gdi_render_l1_1_0
1296 enable_ext_ms_win_kernel32_package_current_l1_1_0
1297 enable_ext_ms_win_kernel32_package_l1_1_1
1298 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1299 enable_ext_ms_win_ntuser_draw_l1_1_0
1300 enable_ext_ms_win_ntuser_gui_l1_1_0
1301 enable_ext_ms_win_ntuser_gui_l1_3_0
1302 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1303 enable_ext_ms_win_ntuser_message_l1_1_0
1304 enable_ext_ms_win_ntuser_message_l1_1_1
1305 enable_ext_ms_win_ntuser_misc_l1_1_0
1306 enable_ext_ms_win_ntuser_misc_l1_2_0
1307 enable_ext_ms_win_ntuser_misc_l1_5_1
1308 enable_ext_ms_win_ntuser_mouse_l1_1_0
1309 enable_ext_ms_win_ntuser_private_l1_1_1
1310 enable_ext_ms_win_ntuser_private_l1_3_1
1311 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1312 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1313 enable_ext_ms_win_ntuser_window_l1_1_0
1314 enable_ext_ms_win_ntuser_window_l1_1_1
1315 enable_ext_ms_win_ntuser_window_l1_1_4
1316 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1317 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1318 enable_ext_ms_win_oleacc_l1_1_0
1319 enable_ext_ms_win_ras_rasapi32_l1_1_0
1320 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1321 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1322 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1326 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1327 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1328 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1329 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1330 enable_ext_ms_win_security_credui_l1_1_0
1331 enable_ext_ms_win_security_cryptui_l1_1_0
1332 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1333 enable_ext_ms_win_shell_comdlg32_l1_1_0
1334 enable_ext_ms_win_shell_shell32_l1_2_0
1335 enable_ext_ms_win_uxtheme_themes_l1_1_0
1336 enable_faultrep
1337 enable_feclient
1338 enable_fltlib
1339 enable_fltmgr_sys
1340 enable_fntcache
1341 enable_fontsub
1342 enable_fusion
1343 enable_fwpuclnt
1344 enable_gameux
1345 enable_gdi32
1346 enable_gdiplus
1347 enable_glu32
1348 enable_gphoto2_ds
1349 enable_gpkcsp
1350 enable_hal
1351 enable_hhctrl_ocx
1352 enable_hid
1353 enable_hidclass_sys
1354 enable_hlink
1355 enable_hnetcfg
1356 enable_http_sys
1357 enable_httpapi
1358 enable_iccvid
1359 enable_icmp
1360 enable_ieframe
1361 enable_ieproxy
1362 enable_imaadp32_acm
1363 enable_imagehlp
1364 enable_imm32
1365 enable_inetcomm
1366 enable_inetcpl_cpl
1367 enable_inetmib1
1368 enable_infosoft
1369 enable_initpki
1370 enable_inkobj
1371 enable_inseng
1372 enable_iphlpapi
1373 enable_iprop
1374 enable_irprops_cpl
1375 enable_itircl
1376 enable_itss
1377 enable_joy_cpl
1378 enable_jscript
1379 enable_jsproxy
1380 enable_kerberos
1381 enable_kernel32
1382 enable_kernelbase
1383 enable_ksecdd_sys
1384 enable_ksproxy_ax
1385 enable_ksuser
1386 enable_ktmw32
1387 enable_l3codeca_acm
1388 enable_loadperf
1389 enable_localspl
1390 enable_localui
1391 enable_lz32
1392 enable_mapi32
1393 enable_mapistub
1394 enable_mciavi32
1395 enable_mcicda
1396 enable_mciqtz32
1397 enable_mciseq
1398 enable_mciwave
1399 enable_mf
1400 enable_mf3216
1401 enable_mferror
1402 enable_mfmediaengine
1403 enable_mfplat
1404 enable_mfplay
1405 enable_mfreadwrite
1406 enable_mfuuid
1407 enable_mgmtapi
1408 enable_midimap
1409 enable_mlang
1410 enable_mmcndmgr
1411 enable_mmdevapi
1412 enable_mountmgr_sys
1413 enable_mp3dmod
1414 enable_mpr
1415 enable_mprapi
1416 enable_msacm32_drv
1417 enable_msacm32
1418 enable_msado15
1419 enable_msadp32_acm
1420 enable_msasn1
1421 enable_mscat32
1422 enable_mscms
1423 enable_mscoree
1424 enable_mscorwks
1425 enable_msctf
1426 enable_msctfp
1427 enable_msdaps
1428 enable_msdelta
1429 enable_msdmo
1430 enable_msdrm
1431 enable_msftedit
1432 enable_msg711_acm
1433 enable_msgsm32_acm
1434 enable_mshtml_tlb
1435 enable_mshtml
1436 enable_msi
1437 enable_msident
1438 enable_msimg32
1439 enable_msimsg
1440 enable_msimtf
1441 enable_msisip
1442 enable_msisys_ocx
1443 enable_msls31
1444 enable_msnet32
1445 enable_mspatcha
1446 enable_msports
1447 enable_msrle32
1448 enable_msscript_ocx
1449 enable_mssign32
1450 enable_mssip32
1451 enable_mstask
1452 enable_msvcirt
1453 enable_msvcm80
1454 enable_msvcm90
1455 enable_msvcp100
1456 enable_msvcp110
1457 enable_msvcp120
1458 enable_msvcp120_app
1459 enable_msvcp140
1460 enable_msvcp60
1461 enable_msvcp70
1462 enable_msvcp71
1463 enable_msvcp80
1464 enable_msvcp90
1465 enable_msvcr100
1466 enable_msvcr110
1467 enable_msvcr120
1468 enable_msvcr120_app
1469 enable_msvcr70
1470 enable_msvcr71
1471 enable_msvcr80
1472 enable_msvcr90
1473 enable_msvcrt
1474 enable_msvcrt20
1475 enable_msvcrt40
1476 enable_msvcrtd
1477 enable_msvfw32
1478 enable_msvidc32
1479 enable_mswsock
1480 enable_msxml
1481 enable_msxml2
1482 enable_msxml3
1483 enable_msxml4
1484 enable_msxml6
1485 enable_mtxdm
1486 enable_ncrypt
1487 enable_nddeapi
1488 enable_ndis_sys
1489 enable_netapi32
1490 enable_netcfgx
1491 enable_netprofm
1492 enable_newdev
1493 enable_ninput
1494 enable_normaliz
1495 enable_npmshtml
1496 enable_npptools
1497 enable_ntdll
1498 enable_ntdsapi
1499 enable_ntoskrnl_exe
1500 enable_ntprint
1501 enable_objsel
1502 enable_odbc32
1503 enable_odbcbcp
1504 enable_odbccp32
1505 enable_odbccu32
1506 enable_ole32
1507 enable_oleacc
1508 enable_oleaut32
1509 enable_olecli32
1510 enable_oledb32
1511 enable_oledlg
1512 enable_olepro32
1513 enable_olesvr32
1514 enable_olethk32
1515 enable_opcservices
1516 enable_openal32
1517 enable_opencl
1518 enable_opengl32
1519 enable_packager
1520 enable_pdh
1521 enable_photometadatahandler
1522 enable_pidgen
1523 enable_powrprof
1524 enable_printui
1525 enable_prntvpt
1526 enable_propsys
1527 enable_psapi
1528 enable_pstorec
1529 enable_qasf
1530 enable_qcap
1531 enable_qdvd
1532 enable_qedit
1533 enable_qmgr
1534 enable_qmgrprxy
1535 enable_quartz
1536 enable_query
1537 enable_qwave
1538 enable_rasapi32
1539 enable_rasdlg
1540 enable_regapi
1541 enable_resutils
1542 enable_riched20
1543 enable_riched32
1544 enable_rpcrt4
1545 enable_rsabase
1546 enable_rsaenh
1547 enable_rstrtmgr
1548 enable_rtutils
1549 enable_rtworkq
1550 enable_samlib
1551 enable_sane_ds
1552 enable_sapi
1553 enable_sas
1554 enable_scarddlg
1555 enable_sccbase
1556 enable_schannel
1557 enable_schedsvc
1558 enable_scrobj
1559 enable_scrrun
1560 enable_scsiport_sys
1561 enable_sechost
1562 enable_secur32
1563 enable_security
1564 enable_sensapi
1565 enable_serialui
1566 enable_setupapi
1567 enable_sfc
1568 enable_sfc_os
1569 enable_shcore
1570 enable_shdoclc
1571 enable_shdocvw
1572 enable_shell32
1573 enable_shfolder
1574 enable_shlwapi
1575 enable_slbcsp
1576 enable_slc
1577 enable_snmpapi
1578 enable_softpub
1579 enable_spoolss
1580 enable_srclient
1581 enable_sspicli
1582 enable_stdole2_tlb
1583 enable_stdole32_tlb
1584 enable_sti
1585 enable_strmbase
1586 enable_strmdll
1587 enable_strmiids
1588 enable_svrapi
1589 enable_sxs
1590 enable_t2embed
1591 enable_tapi32
1592 enable_taskschd
1593 enable_tdh
1594 enable_tdi_sys
1595 enable_traffic
1596 enable_twain_32
1597 enable_tzres
1598 enable_ucrtbase
1599 enable_uianimation
1600 enable_uiautomationcore
1601 enable_uiribbon
1602 enable_unicows
1603 enable_updspapi
1604 enable_url
1605 enable_urlmon
1606 enable_usbd_sys
1607 enable_user32
1608 enable_userenv
1609 enable_usp10
1610 enable_utildll
1611 enable_uuid
1612 enable_uxtheme
1613 enable_vbscript
1614 enable_vcomp
1615 enable_vcomp100
1616 enable_vcomp110
1617 enable_vcomp120
1618 enable_vcomp140
1619 enable_vcomp90
1620 enable_vcruntime140
1621 enable_vcruntime140_1
1622 enable_vdmdbg
1623 enable_version
1624 enable_vga
1625 enable_virtdisk
1626 enable_vssapi
1627 enable_vulkan_1
1628 enable_wbemdisp
1629 enable_wbemprox
1630 enable_wbemuuid
1631 enable_wdscore
1632 enable_webservices
1633 enable_wer
1634 enable_wevtapi
1635 enable_wiaservc
1636 enable_wimgapi
1637 enable_windowscodecs
1638 enable_windowscodecsext
1639 enable_winealsa_drv
1640 enable_wineandroid_drv
1641 enable_winebus_sys
1642 enable_winecoreaudio_drv
1643 enable_winecrt0
1644 enable_wined3d
1645 enable_winegstreamer
1646 enable_winehid_sys
1647 enable_winejoystick_drv
1648 enable_winemac_drv
1649 enable_winemapi
1650 enable_wineoss_drv
1651 enable_wineps_drv
1652 enable_winepulse_drv
1653 enable_wineqtdecoder
1654 enable_wineusb_sys
1655 enable_winevulkan
1656 enable_winex11_drv
1657 enable_wing32
1658 enable_winhttp
1659 enable_wininet
1660 enable_winmm
1661 enable_winnls32
1662 enable_winscard
1663 enable_winspool_drv
1664 enable_winsta
1665 enable_wintab32
1666 enable_wintrust
1667 enable_winusb
1668 enable_wlanapi
1669 enable_wlanui
1670 enable_wldap32
1671 enable_wmasf
1672 enable_wmcodecdspuuid
1673 enable_wmi
1674 enable_wmiutils
1675 enable_wmp
1676 enable_wmphoto
1677 enable_wmvcore
1678 enable_wnaspi32
1679 enable_wpc
1680 enable_wpcap
1681 enable_ws2_32
1682 enable_wsdapi
1683 enable_wshom_ocx
1684 enable_wsnmp32
1685 enable_wsock32
1686 enable_wtsapi32
1687 enable_wuapi
1688 enable_wuaueng
1689 enable_x3daudio1_0
1690 enable_x3daudio1_1
1691 enable_x3daudio1_2
1692 enable_x3daudio1_3
1693 enable_x3daudio1_4
1694 enable_x3daudio1_5
1695 enable_x3daudio1_6
1696 enable_x3daudio1_7
1697 enable_xapofx1_1
1698 enable_xapofx1_2
1699 enable_xapofx1_3
1700 enable_xapofx1_4
1701 enable_xapofx1_5
1702 enable_xaudio2_0
1703 enable_xaudio2_1
1704 enable_xaudio2_2
1705 enable_xaudio2_3
1706 enable_xaudio2_4
1707 enable_xaudio2_5
1708 enable_xaudio2_6
1709 enable_xaudio2_7
1710 enable_xaudio2_8
1711 enable_xaudio2_9
1712 enable_xinput1_1
1713 enable_xinput1_2
1714 enable_xinput1_3
1715 enable_xinput1_4
1716 enable_xinput9_1_0
1717 enable_xmllite
1718 enable_xolehlp
1719 enable_xpsprint
1720 enable_xpssvcs
1721 enable_fonts
1722 enable_include
1723 enable_port
1724 enable_wine
1725 enable_wpp
1726 enable_loader
1727 enable_nls
1728 enable_po
1729 enable_arp
1730 enable_aspnet_regiis
1731 enable_attrib
1732 enable_cabarc
1733 enable_cacls
1734 enable_chcp_com
1735 enable_clock
1736 enable_cmd
1737 enable_conhost
1738 enable_control
1739 enable_cscript
1740 enable_dism
1741 enable_dpnsvr
1742 enable_dxdiag
1743 enable_eject
1744 enable_expand
1745 enable_explorer
1746 enable_extrac32
1747 enable_fc
1748 enable_find
1749 enable_findstr
1750 enable_fsutil
1751 enable_hh
1752 enable_hostname
1753 enable_icacls
1754 enable_icinfo
1755 enable_iexplore
1756 enable_ipconfig
1757 enable_lodctr
1758 enable_mofcomp
1759 enable_mshta
1760 enable_msidb
1761 enable_msiexec
1762 enable_msinfo32
1763 enable_net
1764 enable_netsh
1765 enable_netstat
1766 enable_ngen
1767 enable_notepad
1768 enable_oleview
1769 enable_ping
1770 enable_plugplay
1771 enable_powershell
1772 enable_presentationfontcache
1773 enable_progman
1774 enable_reg
1775 enable_regasm
1776 enable_regedit
1777 enable_regini
1778 enable_regsvcs
1779 enable_regsvr32
1780 enable_rpcss
1781 enable_rundll32
1782 enable_sc
1783 enable_schtasks
1784 enable_sdbinst
1785 enable_secedit
1786 enable_servicemodelreg
1787 enable_services
1788 enable_shutdown
1789 enable_spoolsv
1790 enable_start
1791 enable_subst
1792 enable_svchost
1793 enable_systeminfo
1794 enable_taskkill
1795 enable_tasklist
1796 enable_taskmgr
1797 enable_termsv
1798 enable_uninstaller
1799 enable_unlodctr
1800 enable_view
1801 enable_wevtutil
1802 enable_whoami
1803 enable_wineboot
1804 enable_winebrowser
1805 enable_winecfg
1806 enable_wineconsole
1807 enable_winedbg
1808 enable_winedevice
1809 enable_winefile
1810 enable_winemenubuilder
1811 enable_winemine
1812 enable_winemsibuilder
1813 enable_winepath
1814 enable_winetest
1815 enable_winhlp32
1816 enable_winmgmt
1817 enable_winver
1818 enable_wmic
1819 enable_wmplayer
1820 enable_wordpad
1821 enable_write
1822 enable_wscript
1823 enable_wuauserv
1824 enable_wusa
1825 enable_xcopy
1826 enable_server
1827 enable_tools
1828 enable_sfnt2fon
1829 enable_widl
1830 enable_winebuild
1831 enable_winedump
1832 enable_winegcc
1833 enable_winemaker
1834 enable_wmc
1835 enable_wrc
1837 ac_precious_vars='build_alias
1838 host_alias
1839 target_alias
1841 CFLAGS
1842 LDFLAGS
1843 LIBS
1844 CPPFLAGS
1846 CXXFLAGS
1849 OBJC
1850 OBJCFLAGS
1851 OBJCPP
1852 XMKMF
1853 XML2_CFLAGS
1854 XML2_LIBS
1855 XSLT_CFLAGS
1856 XSLT_LIBS
1857 INOTIFY_CFLAGS
1858 INOTIFY_LIBS
1859 DBUS_CFLAGS
1860 DBUS_LIBS
1861 HAL_CFLAGS
1862 HAL_LIBS
1863 GNUTLS_CFLAGS
1864 GNUTLS_LIBS
1865 SANE_CFLAGS
1866 SANE_LIBS
1867 USB_CFLAGS
1868 USB_LIBS
1869 GPHOTO2_CFLAGS
1870 GPHOTO2_LIBS
1871 GPHOTO2_PORT_CFLAGS
1872 GPHOTO2_PORT_LIBS
1873 LCMS2_CFLAGS
1874 LCMS2_LIBS
1875 FREETYPE_CFLAGS
1876 FREETYPE_LIBS
1877 PULSE_CFLAGS
1878 PULSE_LIBS
1879 GSTREAMER_CFLAGS
1880 GSTREAMER_LIBS
1881 UDEV_CFLAGS
1882 UDEV_LIBS
1883 UNWIND_CFLAGS
1884 UNWIND_LIBS
1885 SDL2_CFLAGS
1886 SDL2_LIBS
1887 FAUDIO_CFLAGS
1888 FAUDIO_LIBS
1889 CAPI20_CFLAGS
1890 CAPI20_LIBS
1891 CUPS_CFLAGS
1892 CUPS_LIBS
1893 FONTCONFIG_CFLAGS
1894 FONTCONFIG_LIBS
1895 KRB5_CFLAGS
1896 KRB5_LIBS
1897 GSSAPI_CFLAGS
1898 GSSAPI_LIBS
1899 JPEG_CFLAGS
1900 JPEG_LIBS
1901 PNG_CFLAGS
1902 PNG_LIBS
1903 TIFF_CFLAGS
1904 TIFF_LIBS
1905 MPG123_CFLAGS
1906 MPG123_LIBS
1907 NETAPI_CFLAGS
1908 NETAPI_LIBS
1909 VKD3D_CFLAGS
1910 VKD3D_LIBS
1911 LDAP_CFLAGS
1912 LDAP_LIBS'
1915 # Initialize some variables set by options.
1916 ac_init_help=
1917 ac_init_version=false
1918 ac_unrecognized_opts=
1919 ac_unrecognized_sep=
1920 # The variables have the same names as the options, with
1921 # dashes changed to underlines.
1922 cache_file=/dev/null
1923 exec_prefix=NONE
1924 no_create=
1925 no_recursion=
1926 prefix=NONE
1927 program_prefix=NONE
1928 program_suffix=NONE
1929 program_transform_name=s,x,x,
1930 silent=
1931 site=
1932 srcdir=
1933 verbose=
1934 x_includes=NONE
1935 x_libraries=NONE
1937 # Installation directory options.
1938 # These are left unexpanded so users can "make install exec_prefix=/foo"
1939 # and all the variables that are supposed to be based on exec_prefix
1940 # by default will actually change.
1941 # Use braces instead of parens because sh, perl, etc. also accept them.
1942 # (The list follows the same order as the GNU Coding Standards.)
1943 bindir='${exec_prefix}/bin'
1944 sbindir='${exec_prefix}/sbin'
1945 libexecdir='${exec_prefix}/libexec'
1946 datarootdir='${prefix}/share'
1947 datadir='${datarootdir}'
1948 sysconfdir='${prefix}/etc'
1949 sharedstatedir='${prefix}/com'
1950 localstatedir='${prefix}/var'
1951 runstatedir='${localstatedir}/run'
1952 includedir='${prefix}/include'
1953 oldincludedir='/usr/include'
1954 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1955 infodir='${datarootdir}/info'
1956 htmldir='${docdir}'
1957 dvidir='${docdir}'
1958 pdfdir='${docdir}'
1959 psdir='${docdir}'
1960 libdir='${exec_prefix}/lib'
1961 localedir='${datarootdir}/locale'
1962 mandir='${datarootdir}/man'
1964 ac_prev=
1965 ac_dashdash=
1966 for ac_option
1968 # If the previous option needs an argument, assign it.
1969 if test -n "$ac_prev"; then
1970 eval $ac_prev=\$ac_option
1971 ac_prev=
1972 continue
1975 case $ac_option in
1976 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1977 *=) ac_optarg= ;;
1978 *) ac_optarg=yes ;;
1979 esac
1981 # Accept the important Cygnus configure options, so we can diagnose typos.
1983 case $ac_dashdash$ac_option in
1985 ac_dashdash=yes ;;
1987 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1988 ac_prev=bindir ;;
1989 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1990 bindir=$ac_optarg ;;
1992 -build | --build | --buil | --bui | --bu)
1993 ac_prev=build_alias ;;
1994 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1995 build_alias=$ac_optarg ;;
1997 -cache-file | --cache-file | --cache-fil | --cache-fi \
1998 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1999 ac_prev=cache_file ;;
2000 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2001 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2002 cache_file=$ac_optarg ;;
2004 --config-cache | -C)
2005 cache_file=config.cache ;;
2007 -datadir | --datadir | --datadi | --datad)
2008 ac_prev=datadir ;;
2009 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2010 datadir=$ac_optarg ;;
2012 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2013 | --dataroo | --dataro | --datar)
2014 ac_prev=datarootdir ;;
2015 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2016 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2017 datarootdir=$ac_optarg ;;
2019 -disable-* | --disable-*)
2020 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2021 # Reject names that are not valid shell variable names.
2022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2023 as_fn_error $? "invalid feature name: $ac_useropt"
2024 ac_useropt_orig=$ac_useropt
2025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2026 case $ac_user_opts in
2028 "enable_$ac_useropt"
2029 "*) ;;
2030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2031 ac_unrecognized_sep=', ';;
2032 esac
2033 eval enable_$ac_useropt=no ;;
2035 -docdir | --docdir | --docdi | --doc | --do)
2036 ac_prev=docdir ;;
2037 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2038 docdir=$ac_optarg ;;
2040 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2041 ac_prev=dvidir ;;
2042 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2043 dvidir=$ac_optarg ;;
2045 -enable-* | --enable-*)
2046 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2047 # Reject names that are not valid shell variable names.
2048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2049 as_fn_error $? "invalid feature name: $ac_useropt"
2050 ac_useropt_orig=$ac_useropt
2051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2052 case $ac_user_opts in
2054 "enable_$ac_useropt"
2055 "*) ;;
2056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2057 ac_unrecognized_sep=', ';;
2058 esac
2059 eval enable_$ac_useropt=\$ac_optarg ;;
2061 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2062 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2063 | --exec | --exe | --ex)
2064 ac_prev=exec_prefix ;;
2065 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2066 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2067 | --exec=* | --exe=* | --ex=*)
2068 exec_prefix=$ac_optarg ;;
2070 -gas | --gas | --ga | --g)
2071 # Obsolete; use --with-gas.
2072 with_gas=yes ;;
2074 -help | --help | --hel | --he | -h)
2075 ac_init_help=long ;;
2076 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2077 ac_init_help=recursive ;;
2078 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2079 ac_init_help=short ;;
2081 -host | --host | --hos | --ho)
2082 ac_prev=host_alias ;;
2083 -host=* | --host=* | --hos=* | --ho=*)
2084 host_alias=$ac_optarg ;;
2086 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2087 ac_prev=htmldir ;;
2088 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2089 | --ht=*)
2090 htmldir=$ac_optarg ;;
2092 -includedir | --includedir | --includedi | --included | --include \
2093 | --includ | --inclu | --incl | --inc)
2094 ac_prev=includedir ;;
2095 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2096 | --includ=* | --inclu=* | --incl=* | --inc=*)
2097 includedir=$ac_optarg ;;
2099 -infodir | --infodir | --infodi | --infod | --info | --inf)
2100 ac_prev=infodir ;;
2101 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2102 infodir=$ac_optarg ;;
2104 -libdir | --libdir | --libdi | --libd)
2105 ac_prev=libdir ;;
2106 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2107 libdir=$ac_optarg ;;
2109 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2110 | --libexe | --libex | --libe)
2111 ac_prev=libexecdir ;;
2112 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2113 | --libexe=* | --libex=* | --libe=*)
2114 libexecdir=$ac_optarg ;;
2116 -localedir | --localedir | --localedi | --localed | --locale)
2117 ac_prev=localedir ;;
2118 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2119 localedir=$ac_optarg ;;
2121 -localstatedir | --localstatedir | --localstatedi | --localstated \
2122 | --localstate | --localstat | --localsta | --localst | --locals)
2123 ac_prev=localstatedir ;;
2124 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2125 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2126 localstatedir=$ac_optarg ;;
2128 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2129 ac_prev=mandir ;;
2130 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2131 mandir=$ac_optarg ;;
2133 -nfp | --nfp | --nf)
2134 # Obsolete; use --without-fp.
2135 with_fp=no ;;
2137 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2138 | --no-cr | --no-c | -n)
2139 no_create=yes ;;
2141 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2142 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2143 no_recursion=yes ;;
2145 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2146 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2147 | --oldin | --oldi | --old | --ol | --o)
2148 ac_prev=oldincludedir ;;
2149 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2150 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2151 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2152 oldincludedir=$ac_optarg ;;
2154 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2155 ac_prev=prefix ;;
2156 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2157 prefix=$ac_optarg ;;
2159 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2160 | --program-pre | --program-pr | --program-p)
2161 ac_prev=program_prefix ;;
2162 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2163 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2164 program_prefix=$ac_optarg ;;
2166 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2167 | --program-suf | --program-su | --program-s)
2168 ac_prev=program_suffix ;;
2169 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2170 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2171 program_suffix=$ac_optarg ;;
2173 -program-transform-name | --program-transform-name \
2174 | --program-transform-nam | --program-transform-na \
2175 | --program-transform-n | --program-transform- \
2176 | --program-transform | --program-transfor \
2177 | --program-transfo | --program-transf \
2178 | --program-trans | --program-tran \
2179 | --progr-tra | --program-tr | --program-t)
2180 ac_prev=program_transform_name ;;
2181 -program-transform-name=* | --program-transform-name=* \
2182 | --program-transform-nam=* | --program-transform-na=* \
2183 | --program-transform-n=* | --program-transform-=* \
2184 | --program-transform=* | --program-transfor=* \
2185 | --program-transfo=* | --program-transf=* \
2186 | --program-trans=* | --program-tran=* \
2187 | --progr-tra=* | --program-tr=* | --program-t=*)
2188 program_transform_name=$ac_optarg ;;
2190 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2191 ac_prev=pdfdir ;;
2192 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2193 pdfdir=$ac_optarg ;;
2195 -psdir | --psdir | --psdi | --psd | --ps)
2196 ac_prev=psdir ;;
2197 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2198 psdir=$ac_optarg ;;
2200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2201 | -silent | --silent | --silen | --sile | --sil)
2202 silent=yes ;;
2204 -runstatedir | --runstatedir | --runstatedi | --runstated \
2205 | --runstate | --runstat | --runsta | --runst | --runs \
2206 | --run | --ru | --r)
2207 ac_prev=runstatedir ;;
2208 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2209 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2210 | --run=* | --ru=* | --r=*)
2211 runstatedir=$ac_optarg ;;
2213 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2214 ac_prev=sbindir ;;
2215 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2216 | --sbi=* | --sb=*)
2217 sbindir=$ac_optarg ;;
2219 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2220 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2221 | --sharedst | --shareds | --shared | --share | --shar \
2222 | --sha | --sh)
2223 ac_prev=sharedstatedir ;;
2224 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2225 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2226 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2227 | --sha=* | --sh=*)
2228 sharedstatedir=$ac_optarg ;;
2230 -site | --site | --sit)
2231 ac_prev=site ;;
2232 -site=* | --site=* | --sit=*)
2233 site=$ac_optarg ;;
2235 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2236 ac_prev=srcdir ;;
2237 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2238 srcdir=$ac_optarg ;;
2240 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2241 | --syscon | --sysco | --sysc | --sys | --sy)
2242 ac_prev=sysconfdir ;;
2243 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2244 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2245 sysconfdir=$ac_optarg ;;
2247 -target | --target | --targe | --targ | --tar | --ta | --t)
2248 ac_prev=target_alias ;;
2249 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2250 target_alias=$ac_optarg ;;
2252 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2253 verbose=yes ;;
2255 -version | --version | --versio | --versi | --vers | -V)
2256 ac_init_version=: ;;
2258 -with-* | --with-*)
2259 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2260 # Reject names that are not valid shell variable names.
2261 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2262 as_fn_error $? "invalid package name: $ac_useropt"
2263 ac_useropt_orig=$ac_useropt
2264 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2265 case $ac_user_opts in
2267 "with_$ac_useropt"
2268 "*) ;;
2269 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2270 ac_unrecognized_sep=', ';;
2271 esac
2272 eval with_$ac_useropt=\$ac_optarg ;;
2274 -without-* | --without-*)
2275 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
2286 ac_unrecognized_sep=', ';;
2287 esac
2288 eval with_$ac_useropt=no ;;
2290 --x)
2291 # Obsolete; use --with-x.
2292 with_x=yes ;;
2294 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2295 | --x-incl | --x-inc | --x-in | --x-i)
2296 ac_prev=x_includes ;;
2297 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2298 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2299 x_includes=$ac_optarg ;;
2301 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2302 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2303 ac_prev=x_libraries ;;
2304 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2305 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2306 x_libraries=$ac_optarg ;;
2308 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2309 Try \`$0 --help' for more information"
2312 *=*)
2313 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2314 # Reject names that are not valid shell variable names.
2315 case $ac_envvar in #(
2316 '' | [0-9]* | *[!_$as_cr_alnum]* )
2317 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2318 esac
2319 eval $ac_envvar=\$ac_optarg
2320 export $ac_envvar ;;
2323 # FIXME: should be removed in autoconf 3.0.
2324 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2325 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2326 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2327 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2330 esac
2331 done
2333 if test -n "$ac_prev"; then
2334 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2335 as_fn_error $? "missing argument to $ac_option"
2338 if test -n "$ac_unrecognized_opts"; then
2339 case $enable_option_checking in
2340 no) ;;
2341 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2342 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2343 esac
2346 # Check all directory arguments for consistency.
2347 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2348 datadir sysconfdir sharedstatedir localstatedir includedir \
2349 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2350 libdir localedir mandir runstatedir
2352 eval ac_val=\$$ac_var
2353 # Remove trailing slashes.
2354 case $ac_val in
2355 */ )
2356 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2357 eval $ac_var=\$ac_val;;
2358 esac
2359 # Be sure to have absolute directory names.
2360 case $ac_val in
2361 [\\/$]* | ?:[\\/]* ) continue;;
2362 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2363 esac
2364 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2365 done
2367 # There might be people who depend on the old broken behavior: `$host'
2368 # used to hold the argument of --host etc.
2369 # FIXME: To remove some day.
2370 build=$build_alias
2371 host=$host_alias
2372 target=$target_alias
2374 # FIXME: To remove some day.
2375 if test "x$host_alias" != x; then
2376 if test "x$build_alias" = x; then
2377 cross_compiling=maybe
2378 elif test "x$build_alias" != "x$host_alias"; then
2379 cross_compiling=yes
2383 ac_tool_prefix=
2384 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2386 test "$silent" = yes && exec 6>/dev/null
2389 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2390 ac_ls_di=`ls -di .` &&
2391 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2392 as_fn_error $? "working directory cannot be determined"
2393 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2394 as_fn_error $? "pwd does not report name of working directory"
2397 # Find the source files, if location was not specified.
2398 if test -z "$srcdir"; then
2399 ac_srcdir_defaulted=yes
2400 # Try the directory containing this script, then the parent directory.
2401 ac_confdir=`$as_dirname -- "$as_myself" ||
2402 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2403 X"$as_myself" : 'X\(//\)[^/]' \| \
2404 X"$as_myself" : 'X\(//\)$' \| \
2405 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2406 $as_echo X"$as_myself" |
2407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2408 s//\1/
2411 /^X\(\/\/\)[^/].*/{
2412 s//\1/
2415 /^X\(\/\/\)$/{
2416 s//\1/
2419 /^X\(\/\).*/{
2420 s//\1/
2423 s/.*/./; q'`
2424 srcdir=$ac_confdir
2425 if test ! -r "$srcdir/$ac_unique_file"; then
2426 srcdir=..
2428 else
2429 ac_srcdir_defaulted=no
2431 if test ! -r "$srcdir/$ac_unique_file"; then
2432 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2433 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2435 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2436 ac_abs_confdir=`(
2437 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2438 pwd)`
2439 # When building in place, set srcdir=.
2440 if test "$ac_abs_confdir" = "$ac_pwd"; then
2441 srcdir=.
2443 # Remove unnecessary trailing slashes from srcdir.
2444 # Double slashes in file names in object file debugging info
2445 # mess up M-x gdb in Emacs.
2446 case $srcdir in
2447 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2448 esac
2449 for ac_var in $ac_precious_vars; do
2450 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2451 eval ac_env_${ac_var}_value=\$${ac_var}
2452 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2453 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2454 done
2457 # Report the --help message.
2459 if test "$ac_init_help" = "long"; then
2460 # Omit some internal or obsolete options to make the list less imposing.
2461 # This message is too long to be a string in the A/UX 3.1 sh.
2462 cat <<_ACEOF
2463 \`configure' configures Wine 5.8 to adapt to many kinds of systems.
2465 Usage: $0 [OPTION]... [VAR=VALUE]...
2467 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2468 VAR=VALUE. See below for descriptions of some of the useful variables.
2470 Defaults for the options are specified in brackets.
2472 Configuration:
2473 -h, --help display this help and exit
2474 --help=short display options specific to this package
2475 --help=recursive display the short help of all the included packages
2476 -V, --version display version information and exit
2477 -q, --quiet, --silent do not print \`checking ...' messages
2478 --cache-file=FILE cache test results in FILE [disabled]
2479 -C, --config-cache alias for \`--cache-file=config.cache'
2480 -n, --no-create do not create output files
2481 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2483 Installation directories:
2484 --prefix=PREFIX install architecture-independent files in PREFIX
2485 [$ac_default_prefix]
2486 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2487 [PREFIX]
2489 By default, \`make install' will install all the files in
2490 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2491 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2492 for instance \`--prefix=\$HOME'.
2494 For better control, use the options below.
2496 Fine tuning of the installation directories:
2497 --bindir=DIR user executables [EPREFIX/bin]
2498 --sbindir=DIR system admin executables [EPREFIX/sbin]
2499 --libexecdir=DIR program executables [EPREFIX/libexec]
2500 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2501 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2502 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2503 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2504 --libdir=DIR object code libraries [EPREFIX/lib]
2505 --includedir=DIR C header files [PREFIX/include]
2506 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2507 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2508 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2509 --infodir=DIR info documentation [DATAROOTDIR/info]
2510 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2511 --mandir=DIR man documentation [DATAROOTDIR/man]
2512 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2513 --htmldir=DIR html documentation [DOCDIR]
2514 --dvidir=DIR dvi documentation [DOCDIR]
2515 --pdfdir=DIR pdf documentation [DOCDIR]
2516 --psdir=DIR ps documentation [DOCDIR]
2517 _ACEOF
2519 cat <<\_ACEOF
2521 X features:
2522 --x-includes=DIR X include files are in DIR
2523 --x-libraries=DIR X library files are in DIR
2525 System types:
2526 --build=BUILD configure for building on BUILD [guessed]
2527 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2528 _ACEOF
2531 if test -n "$ac_init_help"; then
2532 case $ac_init_help in
2533 short | recursive ) echo "Configuration of Wine 5.8:";;
2534 esac
2535 cat <<\_ACEOF
2537 Optional Features:
2538 --disable-option-checking ignore unrecognized --enable/--with options
2539 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2540 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2541 --disable-win16 do not include Win16 support
2542 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2543 binaries)
2544 --disable-tests do not build the regression tests
2545 --enable-maintainer-mode
2546 enable maintainer-specific build rules
2547 --enable-werror treat compilation warnings as errors
2548 --disable-largefile omit support for large files
2550 Optional Packages:
2551 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2552 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2553 --without-alsa do not use the Alsa sound support
2554 --without-capi do not use CAPI (ISDN support)
2555 --without-cms do not use CMS (color management support)
2556 --without-coreaudio do not use the CoreAudio sound support
2557 --without-cups do not use CUPS
2558 --without-curses do not use (n)curses
2559 --without-dbus do not use DBus (dynamic device support)
2560 --without-faudio do not use FAudio (XAudio2 support)
2561 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2562 --without-fontconfig do not use fontconfig
2563 --without-freetype do not use the FreeType library
2564 --without-gettext do not use gettext
2565 --with-gettextpo use the GetTextPO library to rebuild po files
2566 --without-gphoto do not use gphoto (Digital Camera support)
2567 --without-glu do not use the GLU library
2568 --without-gnutls do not use GnuTLS (schannel support)
2569 --without-gsm do not use libgsm (GSM 06.10 codec support)
2570 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2571 --without-gstreamer do not use GStreamer (codecs support)
2572 --without-hal do not use HAL (dynamic device support)
2573 --without-inotify do not use inotify (filesystem change notifications)
2574 --without-jpeg do not use JPEG
2575 --without-krb5 do not use krb5 (Kerberos)
2576 --without-ldap do not use LDAP
2577 --without-mingw do not use the MinGW cross-compiler
2578 --without-mpg123 do not use the mpg123 library
2579 --without-netapi do not use the Samba NetAPI library
2580 --without-openal do not use OpenAL
2581 --without-opencl do not use OpenCL
2582 --without-opengl do not use OpenGL
2583 --without-osmesa do not use the OSMesa library
2584 --without-oss do not use the OSS sound support
2585 --without-pcap do not use the Packet Capture library
2586 --without-png do not use PNG
2587 --without-pthread do not use the pthread library
2588 --without-pulse do not use PulseAudio sound support
2589 --without-sane do not use SANE (scanner support)
2590 --without-sdl do not use SDL
2591 --without-tiff do not use TIFF
2592 --without-udev do not use udev (plug and play support)
2593 --without-unwind do not use the libunwind library (exception
2594 handling)
2595 --without-usb do not use the libusb library
2596 --without-v4l2 do not use v4l2 (video capture)
2597 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2598 --without-vulkan do not use Vulkan
2599 --without-xcomposite do not use the Xcomposite extension
2600 --without-xcursor do not use the Xcursor extension
2601 --without-xfixes do not use Xfixes for clipboard change notifications
2602 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2603 --without-xinput do not use the Xinput extension
2604 --without-xinput2 do not use the Xinput 2 extension
2605 --without-xml do not use XML
2606 --without-xrandr do not use Xrandr (multi-monitor support)
2607 --without-xrender do not use the Xrender extension
2608 --without-xshape do not use the Xshape extension
2609 --without-xshm do not use XShm (shared memory extension)
2610 --without-xslt do not use XSLT
2611 --without-xxf86vm do not use XFree video mode extension
2612 --with-wine-tools=DIR use Wine tools from directory DIR
2613 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2614 --with-x use the X Window System
2616 Some influential environment variables:
2617 CC C compiler command
2618 CFLAGS C compiler flags
2619 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2620 nonstandard directory <lib dir>
2621 LIBS libraries to pass to the linker, e.g. -l<library>
2622 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2623 you have headers in a nonstandard directory <include dir>
2624 CXX C++ compiler command
2625 CXXFLAGS C++ compiler flags
2626 CPP C preprocessor
2627 OBJC Objective C compiler command
2628 OBJCFLAGS Objective C compiler flags
2629 OBJCPP Objective C preprocessor
2630 XMKMF Path to xmkmf, Makefile generator for X Window System
2631 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2632 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2633 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2634 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2635 INOTIFY_CFLAGS
2636 C compiler flags for libinotify, overriding pkg-config
2637 INOTIFY_LIBS
2638 Linker flags for libinotify, overriding pkg-config
2639 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2640 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2641 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2642 HAL_LIBS Linker flags for hal, overriding pkg-config
2643 GNUTLS_CFLAGS
2644 C compiler flags for gnutls, overriding pkg-config
2645 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2646 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2647 SANE_LIBS Linker flags for libsane, overriding pkg-config
2648 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2649 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2650 GPHOTO2_CFLAGS
2651 C compiler flags for libgphoto2, overriding pkg-config
2652 GPHOTO2_LIBS
2653 Linker flags for libgphoto2, overriding pkg-config
2654 GPHOTO2_PORT_CFLAGS
2655 C compiler flags for libgphoto2_port, overriding pkg-config
2656 GPHOTO2_PORT_LIBS
2657 Linker flags for libgphoto2_port, overriding pkg-config
2658 LCMS2_CFLAGS
2659 C compiler flags for lcms2, overriding pkg-config
2660 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2661 FREETYPE_CFLAGS
2662 C compiler flags for freetype2, overriding pkg-config
2663 FREETYPE_LIBS
2664 Linker flags for freetype2, overriding pkg-config
2665 PULSE_CFLAGS
2666 C compiler flags for libpulse, overriding pkg-config
2667 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2668 GSTREAMER_CFLAGS
2669 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2670 gstreamer-audio-1.0, overriding pkg-config
2671 GSTREAMER_LIBS
2672 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2673 gstreamer-audio-1.0, overriding pkg-config
2674 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2675 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2676 UNWIND_CFLAGS
2677 C compiler flags for libunwind, overriding pkg-config
2678 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2679 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2680 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2681 FAUDIO_CFLAGS
2682 C compiler flags for faudio, overriding pkg-config
2683 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2684 CAPI20_CFLAGS
2685 C compiler flags for capi20, overriding pkg-config
2686 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2687 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2688 CUPS_LIBS Linker flags for cups, overriding pkg-config
2689 FONTCONFIG_CFLAGS
2690 C compiler flags for fontconfig, overriding pkg-config
2691 FONTCONFIG_LIBS
2692 Linker flags for fontconfig, overriding pkg-config
2693 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2694 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2695 GSSAPI_CFLAGS
2696 C compiler flags for krb5-gssapi, overriding pkg-config
2697 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2698 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2699 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2700 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2701 PNG_LIBS Linker flags for libpng, overriding pkg-config
2702 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2703 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2704 MPG123_CFLAGS
2705 C compiler flags for libmpg123, overriding pkg-config
2706 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2707 NETAPI_CFLAGS
2708 C compiler flags for netapi, overriding pkg-config
2709 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2710 VKD3D_CFLAGS
2711 C compiler flags for libvkd3d, overriding pkg-config
2712 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2713 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2714 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2716 Use these variables to override the choices made by `configure' or to help
2717 it to find libraries and programs with nonstandard names/locations.
2719 Report bugs to <wine-devel@winehq.org>.
2720 Wine home page: <https://www.winehq.org>.
2721 _ACEOF
2722 ac_status=$?
2725 if test "$ac_init_help" = "recursive"; then
2726 # If there are subdirs, report their specific --help.
2727 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2728 test -d "$ac_dir" ||
2729 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2730 continue
2731 ac_builddir=.
2733 case "$ac_dir" in
2734 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2736 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2737 # A ".." for each directory in $ac_dir_suffix.
2738 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2739 case $ac_top_builddir_sub in
2740 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2741 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2742 esac ;;
2743 esac
2744 ac_abs_top_builddir=$ac_pwd
2745 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2746 # for backward compatibility:
2747 ac_top_builddir=$ac_top_build_prefix
2749 case $srcdir in
2750 .) # We are building in place.
2751 ac_srcdir=.
2752 ac_top_srcdir=$ac_top_builddir_sub
2753 ac_abs_top_srcdir=$ac_pwd ;;
2754 [\\/]* | ?:[\\/]* ) # Absolute name.
2755 ac_srcdir=$srcdir$ac_dir_suffix;
2756 ac_top_srcdir=$srcdir
2757 ac_abs_top_srcdir=$srcdir ;;
2758 *) # Relative name.
2759 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2760 ac_top_srcdir=$ac_top_build_prefix$srcdir
2761 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2762 esac
2763 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2765 cd "$ac_dir" || { ac_status=$?; continue; }
2766 # Check for guested configure.
2767 if test -f "$ac_srcdir/configure.gnu"; then
2768 echo &&
2769 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2770 elif test -f "$ac_srcdir/configure"; then
2771 echo &&
2772 $SHELL "$ac_srcdir/configure" --help=recursive
2773 else
2774 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2775 fi || ac_status=$?
2776 cd "$ac_pwd" || { ac_status=$?; break; }
2777 done
2780 test -n "$ac_init_help" && exit $ac_status
2781 if $ac_init_version; then
2782 cat <<\_ACEOF
2783 Wine configure 5.8
2784 generated by GNU Autoconf 2.69
2786 Copyright (C) 2012 Free Software Foundation, Inc.
2787 This configure script is free software; the Free Software Foundation
2788 gives unlimited permission to copy, distribute and modify it.
2789 _ACEOF
2790 exit
2793 ## ------------------------ ##
2794 ## Autoconf initialization. ##
2795 ## ------------------------ ##
2797 # ac_fn_c_try_compile LINENO
2798 # --------------------------
2799 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2800 ac_fn_c_try_compile ()
2802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2803 rm -f conftest.$ac_objext
2804 if { { ac_try="$ac_compile"
2805 case "(($ac_try" in
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2808 esac
2809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810 $as_echo "$ac_try_echo"; } >&5
2811 (eval "$ac_compile") 2>conftest.err
2812 ac_status=$?
2813 if test -s conftest.err; then
2814 grep -v '^ *+' conftest.err >conftest.er1
2815 cat conftest.er1 >&5
2816 mv -f conftest.er1 conftest.err
2818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2819 test $ac_status = 0; } && {
2820 test -z "$ac_c_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest.$ac_objext; then :
2823 ac_retval=0
2824 else
2825 $as_echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2828 ac_retval=1
2830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2831 as_fn_set_status $ac_retval
2833 } # ac_fn_c_try_compile
2835 # ac_fn_cxx_try_compile LINENO
2836 # ----------------------------
2837 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2838 ac_fn_cxx_try_compile ()
2840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2841 rm -f conftest.$ac_objext
2842 if { { ac_try="$ac_compile"
2843 case "(($ac_try" in
2844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2845 *) ac_try_echo=$ac_try;;
2846 esac
2847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2848 $as_echo "$ac_try_echo"; } >&5
2849 (eval "$ac_compile") 2>conftest.err
2850 ac_status=$?
2851 if test -s conftest.err; then
2852 grep -v '^ *+' conftest.err >conftest.er1
2853 cat conftest.er1 >&5
2854 mv -f conftest.er1 conftest.err
2856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2857 test $ac_status = 0; } && {
2858 test -z "$ac_cxx_werror_flag" ||
2859 test ! -s conftest.err
2860 } && test -s conftest.$ac_objext; then :
2861 ac_retval=0
2862 else
2863 $as_echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2866 ac_retval=1
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 as_fn_set_status $ac_retval
2871 } # ac_fn_cxx_try_compile
2873 # ac_fn_c_try_link LINENO
2874 # -----------------------
2875 # Try to link conftest.$ac_ext, and return whether this succeeded.
2876 ac_fn_c_try_link ()
2878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2879 rm -f conftest.$ac_objext conftest$ac_exeext
2880 if { { ac_try="$ac_link"
2881 case "(($ac_try" in
2882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883 *) ac_try_echo=$ac_try;;
2884 esac
2885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2886 $as_echo "$ac_try_echo"; } >&5
2887 (eval "$ac_link") 2>conftest.err
2888 ac_status=$?
2889 if test -s conftest.err; then
2890 grep -v '^ *+' conftest.err >conftest.er1
2891 cat conftest.er1 >&5
2892 mv -f conftest.er1 conftest.err
2894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2895 test $ac_status = 0; } && {
2896 test -z "$ac_c_werror_flag" ||
2897 test ! -s conftest.err
2898 } && test -s conftest$ac_exeext && {
2899 test "$cross_compiling" = yes ||
2900 test -x conftest$ac_exeext
2901 }; then :
2902 ac_retval=0
2903 else
2904 $as_echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.$ac_ext >&5
2907 ac_retval=1
2909 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2910 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2911 # interfere with the next link command; also delete a directory that is
2912 # left behind by Apple's compiler. We do this before executing the actions.
2913 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2915 as_fn_set_status $ac_retval
2917 } # ac_fn_c_try_link
2919 # ac_fn_c_try_cpp LINENO
2920 # ----------------------
2921 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2922 ac_fn_c_try_cpp ()
2924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2925 if { { ac_try="$ac_cpp conftest.$ac_ext"
2926 case "(($ac_try" in
2927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2928 *) ac_try_echo=$ac_try;;
2929 esac
2930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2931 $as_echo "$ac_try_echo"; } >&5
2932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2933 ac_status=$?
2934 if test -s conftest.err; then
2935 grep -v '^ *+' conftest.err >conftest.er1
2936 cat conftest.er1 >&5
2937 mv -f conftest.er1 conftest.err
2939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2940 test $ac_status = 0; } > conftest.i && {
2941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2942 test ! -s conftest.err
2943 }; then :
2944 ac_retval=0
2945 else
2946 $as_echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2949 ac_retval=1
2951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2952 as_fn_set_status $ac_retval
2954 } # ac_fn_c_try_cpp
2956 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2957 # -------------------------------------------------------
2958 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2959 # the include files in INCLUDES and setting the cache variable VAR
2960 # accordingly.
2961 ac_fn_c_check_header_mongrel ()
2963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2964 if eval \${$3+:} false; then :
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2966 $as_echo_n "checking for $2... " >&6; }
2967 if eval \${$3+:} false; then :
2968 $as_echo_n "(cached) " >&6
2970 eval ac_res=\$$3
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2972 $as_echo "$ac_res" >&6; }
2973 else
2974 # Is the header compilable?
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2976 $as_echo_n "checking $2 usability... " >&6; }
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2980 #include <$2>
2981 _ACEOF
2982 if ac_fn_c_try_compile "$LINENO"; then :
2983 ac_header_compiler=yes
2984 else
2985 ac_header_compiler=no
2987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2989 $as_echo "$ac_header_compiler" >&6; }
2991 # Is the header present?
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2993 $as_echo_n "checking $2 presence... " >&6; }
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h. */
2996 #include <$2>
2997 _ACEOF
2998 if ac_fn_c_try_cpp "$LINENO"; then :
2999 ac_header_preproc=yes
3000 else
3001 ac_header_preproc=no
3003 rm -f conftest.err conftest.i conftest.$ac_ext
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3005 $as_echo "$ac_header_preproc" >&6; }
3007 # So? What about this header?
3008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3009 yes:no: )
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3011 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3013 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3015 no:yes:* )
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3017 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3019 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3021 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3023 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3025 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3026 ( $as_echo "## ------------------------------------ ##
3027 ## Report this to wine-devel@winehq.org ##
3028 ## ------------------------------------ ##"
3029 ) | sed "s/^/$as_me: WARNING: /" >&2
3031 esac
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3033 $as_echo_n "checking for $2... " >&6; }
3034 if eval \${$3+:} false; then :
3035 $as_echo_n "(cached) " >&6
3036 else
3037 eval "$3=\$ac_header_compiler"
3039 eval ac_res=\$$3
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3041 $as_echo "$ac_res" >&6; }
3043 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3045 } # ac_fn_c_check_header_mongrel
3047 # ac_fn_c_try_run LINENO
3048 # ----------------------
3049 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3050 # that executables *can* be run.
3051 ac_fn_c_try_run ()
3053 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3054 if { { ac_try="$ac_link"
3055 case "(($ac_try" in
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3058 esac
3059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3060 $as_echo "$ac_try_echo"; } >&5
3061 (eval "$ac_link") 2>&5
3062 ac_status=$?
3063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3064 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3065 { { case "(($ac_try" in
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3068 esac
3069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071 (eval "$ac_try") 2>&5
3072 ac_status=$?
3073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3074 test $ac_status = 0; }; }; then :
3075 ac_retval=0
3076 else
3077 $as_echo "$as_me: program exited with status $ac_status" >&5
3078 $as_echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3081 ac_retval=$ac_status
3083 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3084 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3085 as_fn_set_status $ac_retval
3087 } # ac_fn_c_try_run
3089 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3090 # -------------------------------------------------------
3091 # Tests whether HEADER exists and can be compiled using the include files in
3092 # INCLUDES, setting the cache variable VAR accordingly.
3093 ac_fn_c_check_header_compile ()
3095 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3097 $as_echo_n "checking for $2... " >&6; }
3098 if eval \${$3+:} false; then :
3099 $as_echo_n "(cached) " >&6
3100 else
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3104 #include <$2>
3105 _ACEOF
3106 if ac_fn_c_try_compile "$LINENO"; then :
3107 eval "$3=yes"
3108 else
3109 eval "$3=no"
3111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113 eval ac_res=\$$3
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3115 $as_echo "$ac_res" >&6; }
3116 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3118 } # ac_fn_c_check_header_compile
3120 # ac_fn_objc_try_compile LINENO
3121 # -----------------------------
3122 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3123 ac_fn_objc_try_compile ()
3125 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3126 rm -f conftest.$ac_objext
3127 if { { ac_try="$ac_compile"
3128 case "(($ac_try" in
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3131 esac
3132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3133 $as_echo "$ac_try_echo"; } >&5
3134 (eval "$ac_compile") 2>conftest.err
3135 ac_status=$?
3136 if test -s conftest.err; then
3137 grep -v '^ *+' conftest.err >conftest.er1
3138 cat conftest.er1 >&5
3139 mv -f conftest.er1 conftest.err
3141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3142 test $ac_status = 0; } && {
3143 test -z "$ac_objc_werror_flag" ||
3144 test ! -s conftest.err
3145 } && test -s conftest.$ac_objext; then :
3146 ac_retval=0
3147 else
3148 $as_echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3151 ac_retval=1
3153 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3154 as_fn_set_status $ac_retval
3156 } # ac_fn_objc_try_compile
3158 # ac_fn_objc_try_cpp LINENO
3159 # -------------------------
3160 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3161 ac_fn_objc_try_cpp ()
3163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3164 if { { ac_try="$ac_cpp conftest.$ac_ext"
3165 case "(($ac_try" in
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3168 esac
3169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3170 $as_echo "$ac_try_echo"; } >&5
3171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3172 ac_status=$?
3173 if test -s conftest.err; then
3174 grep -v '^ *+' conftest.err >conftest.er1
3175 cat conftest.er1 >&5
3176 mv -f conftest.er1 conftest.err
3178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3179 test $ac_status = 0; } > conftest.i && {
3180 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3181 test ! -s conftest.err
3182 }; then :
3183 ac_retval=0
3184 else
3185 $as_echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.$ac_ext >&5
3188 ac_retval=1
3190 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3191 as_fn_set_status $ac_retval
3193 } # ac_fn_objc_try_cpp
3195 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3196 # ----------------------------------------------------------
3197 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3198 # the include files in INCLUDES and setting the cache variable VAR
3199 # accordingly.
3200 ac_fn_objc_check_header_mongrel ()
3202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3203 if eval \${$3+:} false; then :
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3205 $as_echo_n "checking for $2... " >&6; }
3206 if eval \${$3+:} false; then :
3207 $as_echo_n "(cached) " >&6
3209 eval ac_res=\$$3
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3211 $as_echo "$ac_res" >&6; }
3212 else
3213 # Is the header compilable?
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3215 $as_echo_n "checking $2 usability... " >&6; }
3216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217 /* end confdefs.h. */
3219 #include <$2>
3220 _ACEOF
3221 if ac_fn_objc_try_compile "$LINENO"; then :
3222 ac_header_compiler=yes
3223 else
3224 ac_header_compiler=no
3226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3228 $as_echo "$ac_header_compiler" >&6; }
3230 # Is the header present?
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3232 $as_echo_n "checking $2 presence... " >&6; }
3233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3234 /* end confdefs.h. */
3235 #include <$2>
3236 _ACEOF
3237 if ac_fn_objc_try_cpp "$LINENO"; then :
3238 ac_header_preproc=yes
3239 else
3240 ac_header_preproc=no
3242 rm -f conftest.err conftest.i conftest.$ac_ext
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3244 $as_echo "$ac_header_preproc" >&6; }
3246 # So? What about this header?
3247 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3248 yes:no: )
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3250 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3254 no:yes:* )
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3256 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3258 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3260 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3262 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3264 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3265 ( $as_echo "## ------------------------------------ ##
3266 ## Report this to wine-devel@winehq.org ##
3267 ## ------------------------------------ ##"
3268 ) | sed "s/^/$as_me: WARNING: /" >&2
3270 esac
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3272 $as_echo_n "checking for $2... " >&6; }
3273 if eval \${$3+:} false; then :
3274 $as_echo_n "(cached) " >&6
3275 else
3276 eval "$3=\$ac_header_compiler"
3278 eval ac_res=\$$3
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3280 $as_echo "$ac_res" >&6; }
3282 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3284 } # ac_fn_objc_check_header_mongrel
3286 # ac_fn_c_check_func LINENO FUNC VAR
3287 # ----------------------------------
3288 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3289 ac_fn_c_check_func ()
3291 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3293 $as_echo_n "checking for $2... " >&6; }
3294 if eval \${$3+:} false; then :
3295 $as_echo_n "(cached) " >&6
3296 else
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3299 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3301 #define $2 innocuous_$2
3303 /* System header to define __stub macros and hopefully few prototypes,
3304 which can conflict with char $2 (); below.
3305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3306 <limits.h> exists even on freestanding compilers. */
3308 #ifdef __STDC__
3309 # include <limits.h>
3310 #else
3311 # include <assert.h>
3312 #endif
3314 #undef $2
3316 /* Override any GCC internal prototype to avoid an error.
3317 Use char because int might match the return type of a GCC
3318 builtin and then its argument prototype would still apply. */
3319 #ifdef __cplusplus
3320 extern "C"
3321 #endif
3322 char $2 ();
3323 /* The GNU C library defines this for functions which it implements
3324 to always fail with ENOSYS. Some functions are actually named
3325 something starting with __ and the normal name is an alias. */
3326 #if defined __stub_$2 || defined __stub___$2
3327 choke me
3328 #endif
3331 main ()
3333 return $2 ();
3335 return 0;
3337 _ACEOF
3338 if ac_fn_c_try_link "$LINENO"; then :
3339 eval "$3=yes"
3340 else
3341 eval "$3=no"
3343 rm -f core conftest.err conftest.$ac_objext \
3344 conftest$ac_exeext conftest.$ac_ext
3346 eval ac_res=\$$3
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3348 $as_echo "$ac_res" >&6; }
3349 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3351 } # ac_fn_c_check_func
3353 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3354 # ----------------------------------------------------
3355 # Tries to find if the field MEMBER exists in type AGGR, after including
3356 # INCLUDES, setting cache variable VAR accordingly.
3357 ac_fn_c_check_member ()
3359 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3361 $as_echo_n "checking for $2.$3... " >&6; }
3362 if eval \${$4+:} false; then :
3363 $as_echo_n "(cached) " >&6
3364 else
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3369 main ()
3371 static $2 ac_aggr;
3372 if (ac_aggr.$3)
3373 return 0;
3375 return 0;
3377 _ACEOF
3378 if ac_fn_c_try_compile "$LINENO"; then :
3379 eval "$4=yes"
3380 else
3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3385 main ()
3387 static $2 ac_aggr;
3388 if (sizeof 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 eval "$4=no"
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 eval ac_res=\$$4
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3405 $as_echo "$ac_res" >&6; }
3406 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3408 } # ac_fn_c_check_member
3410 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3411 # -------------------------------------------
3412 # Tests whether TYPE exists after having included INCLUDES, setting cache
3413 # variable VAR accordingly.
3414 ac_fn_c_check_type ()
3416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3418 $as_echo_n "checking for $2... " >&6; }
3419 if eval \${$3+:} false; then :
3420 $as_echo_n "(cached) " >&6
3421 else
3422 eval "$3=no"
3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h. */
3427 main ()
3429 if (sizeof ($2))
3430 return 0;
3432 return 0;
3434 _ACEOF
3435 if ac_fn_c_try_compile "$LINENO"; then :
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3440 main ()
3442 if (sizeof (($2)))
3443 return 0;
3445 return 0;
3447 _ACEOF
3448 if ac_fn_c_try_compile "$LINENO"; then :
3450 else
3451 eval "$3=yes"
3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3457 eval ac_res=\$$3
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3459 $as_echo "$ac_res" >&6; }
3460 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3462 } # ac_fn_c_check_type
3463 cat >config.log <<_ACEOF
3464 This file contains any messages produced by compilers while
3465 running configure, to aid debugging if configure makes a mistake.
3467 It was created by Wine $as_me 5.8, which was
3468 generated by GNU Autoconf 2.69. Invocation command line was
3470 $ $0 $@
3472 _ACEOF
3473 exec 5>>config.log
3475 cat <<_ASUNAME
3476 ## --------- ##
3477 ## Platform. ##
3478 ## --------- ##
3480 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3481 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3482 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3483 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3484 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3486 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3487 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3489 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3490 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3491 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3492 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3493 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3494 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3495 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3497 _ASUNAME
3499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500 for as_dir in $PATH
3502 IFS=$as_save_IFS
3503 test -z "$as_dir" && as_dir=.
3504 $as_echo "PATH: $as_dir"
3505 done
3506 IFS=$as_save_IFS
3508 } >&5
3510 cat >&5 <<_ACEOF
3513 ## ----------- ##
3514 ## Core tests. ##
3515 ## ----------- ##
3517 _ACEOF
3520 # Keep a trace of the command line.
3521 # Strip out --no-create and --no-recursion so they do not pile up.
3522 # Strip out --silent because we don't want to record it for future runs.
3523 # Also quote any args containing shell meta-characters.
3524 # Make two passes to allow for proper duplicate-argument suppression.
3525 ac_configure_args=
3526 ac_configure_args0=
3527 ac_configure_args1=
3528 ac_must_keep_next=false
3529 for ac_pass in 1 2
3531 for ac_arg
3533 case $ac_arg in
3534 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3535 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3536 | -silent | --silent | --silen | --sile | --sil)
3537 continue ;;
3538 *\'*)
3539 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3540 esac
3541 case $ac_pass in
3542 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3544 as_fn_append ac_configure_args1 " '$ac_arg'"
3545 if test $ac_must_keep_next = true; then
3546 ac_must_keep_next=false # Got value, back to normal.
3547 else
3548 case $ac_arg in
3549 *=* | --config-cache | -C | -disable-* | --disable-* \
3550 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3551 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3552 | -with-* | --with-* | -without-* | --without-* | --x)
3553 case "$ac_configure_args0 " in
3554 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3555 esac
3557 -* ) ac_must_keep_next=true ;;
3558 esac
3560 as_fn_append ac_configure_args " '$ac_arg'"
3562 esac
3563 done
3564 done
3565 { ac_configure_args0=; unset ac_configure_args0;}
3566 { ac_configure_args1=; unset ac_configure_args1;}
3568 # When interrupted or exit'd, cleanup temporary files, and complete
3569 # config.log. We remove comments because anyway the quotes in there
3570 # would cause problems or look ugly.
3571 # WARNING: Use '\'' to represent an apostrophe within the trap.
3572 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3573 trap 'exit_status=$?
3574 # Save into config.log some information that might help in debugging.
3576 echo
3578 $as_echo "## ---------------- ##
3579 ## Cache variables. ##
3580 ## ---------------- ##"
3581 echo
3582 # The following way of writing the cache mishandles newlines in values,
3584 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3585 eval ac_val=\$$ac_var
3586 case $ac_val in #(
3587 *${as_nl}*)
3588 case $ac_var in #(
3589 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3590 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3591 esac
3592 case $ac_var in #(
3593 _ | IFS | as_nl) ;; #(
3594 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3595 *) { eval $ac_var=; unset $ac_var;} ;;
3596 esac ;;
3597 esac
3598 done
3599 (set) 2>&1 |
3600 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3601 *${as_nl}ac_space=\ *)
3602 sed -n \
3603 "s/'\''/'\''\\\\'\'''\''/g;
3604 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3605 ;; #(
3607 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3609 esac |
3610 sort
3612 echo
3614 $as_echo "## ----------------- ##
3615 ## Output variables. ##
3616 ## ----------------- ##"
3617 echo
3618 for ac_var in $ac_subst_vars
3620 eval ac_val=\$$ac_var
3621 case $ac_val in
3622 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3623 esac
3624 $as_echo "$ac_var='\''$ac_val'\''"
3625 done | sort
3626 echo
3628 if test -n "$ac_subst_files"; then
3629 $as_echo "## ------------------- ##
3630 ## File substitutions. ##
3631 ## ------------------- ##"
3632 echo
3633 for ac_var in $ac_subst_files
3635 eval ac_val=\$$ac_var
3636 case $ac_val in
3637 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3638 esac
3639 $as_echo "$ac_var='\''$ac_val'\''"
3640 done | sort
3641 echo
3644 if test -s confdefs.h; then
3645 $as_echo "## ----------- ##
3646 ## confdefs.h. ##
3647 ## ----------- ##"
3648 echo
3649 cat confdefs.h
3650 echo
3652 test "$ac_signal" != 0 &&
3653 $as_echo "$as_me: caught signal $ac_signal"
3654 $as_echo "$as_me: exit $exit_status"
3655 } >&5
3656 rm -f core *.core core.conftest.* &&
3657 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3658 exit $exit_status
3660 for ac_signal in 1 2 13 15; do
3661 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3662 done
3663 ac_signal=0
3665 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3666 rm -f -r conftest* confdefs.h
3668 $as_echo "/* confdefs.h */" > confdefs.h
3670 # Predefined preprocessor variables.
3672 cat >>confdefs.h <<_ACEOF
3673 #define PACKAGE_NAME "$PACKAGE_NAME"
3674 _ACEOF
3676 cat >>confdefs.h <<_ACEOF
3677 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3678 _ACEOF
3680 cat >>confdefs.h <<_ACEOF
3681 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3682 _ACEOF
3684 cat >>confdefs.h <<_ACEOF
3685 #define PACKAGE_STRING "$PACKAGE_STRING"
3686 _ACEOF
3688 cat >>confdefs.h <<_ACEOF
3689 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3690 _ACEOF
3692 cat >>confdefs.h <<_ACEOF
3693 #define PACKAGE_URL "$PACKAGE_URL"
3694 _ACEOF
3697 # Let the site file select an alternate cache file if it wants to.
3698 # Prefer an explicitly selected file to automatically selected ones.
3699 ac_site_file1=NONE
3700 ac_site_file2=NONE
3701 if test -n "$CONFIG_SITE"; then
3702 # We do not want a PATH search for config.site.
3703 case $CONFIG_SITE in #((
3704 -*) ac_site_file1=./$CONFIG_SITE;;
3705 */*) ac_site_file1=$CONFIG_SITE;;
3706 *) ac_site_file1=./$CONFIG_SITE;;
3707 esac
3708 elif test "x$prefix" != xNONE; then
3709 ac_site_file1=$prefix/share/config.site
3710 ac_site_file2=$prefix/etc/config.site
3711 else
3712 ac_site_file1=$ac_default_prefix/share/config.site
3713 ac_site_file2=$ac_default_prefix/etc/config.site
3715 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3717 test "x$ac_site_file" = xNONE && continue
3718 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3720 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3721 sed 's/^/| /' "$ac_site_file" >&5
3722 . "$ac_site_file" \
3723 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3725 as_fn_error $? "failed to load site script $ac_site_file
3726 See \`config.log' for more details" "$LINENO" 5; }
3728 done
3730 if test -r "$cache_file"; then
3731 # Some versions of bash will fail to source /dev/null (special files
3732 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3733 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3735 $as_echo "$as_me: loading cache $cache_file" >&6;}
3736 case $cache_file in
3737 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3738 *) . "./$cache_file";;
3739 esac
3741 else
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3743 $as_echo "$as_me: creating cache $cache_file" >&6;}
3744 >$cache_file
3747 # Check that the precious variables saved in the cache have kept the same
3748 # value.
3749 ac_cache_corrupted=false
3750 for ac_var in $ac_precious_vars; do
3751 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3752 eval ac_new_set=\$ac_env_${ac_var}_set
3753 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3754 eval ac_new_val=\$ac_env_${ac_var}_value
3755 case $ac_old_set,$ac_new_set in
3756 set,)
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3758 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3759 ac_cache_corrupted=: ;;
3760 ,set)
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3762 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3763 ac_cache_corrupted=: ;;
3764 ,);;
3766 if test "x$ac_old_val" != "x$ac_new_val"; then
3767 # differences in whitespace do not lead to failure.
3768 ac_old_val_w=`echo x $ac_old_val`
3769 ac_new_val_w=`echo x $ac_new_val`
3770 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3772 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3773 ac_cache_corrupted=:
3774 else
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3776 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3777 eval $ac_var=\$ac_old_val
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3780 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3782 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3783 fi;;
3784 esac
3785 # Pass precious variables to config.status.
3786 if test "$ac_new_set" = set; then
3787 case $ac_new_val in
3788 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3789 *) ac_arg=$ac_var=$ac_new_val ;;
3790 esac
3791 case " $ac_configure_args " in
3792 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3793 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3794 esac
3796 done
3797 if $ac_cache_corrupted; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3801 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3802 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3804 ## -------------------- ##
3805 ## Main body of script. ##
3806 ## -------------------- ##
3808 ac_ext=c
3809 ac_cpp='$CPP $CPPFLAGS'
3810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3816 ac_config_headers="$ac_config_headers include/config.h"
3818 ac_aux_dir=
3819 for ac_dir in tools "$srcdir"/tools; do
3820 if test -f "$ac_dir/install-sh"; then
3821 ac_aux_dir=$ac_dir
3822 ac_install_sh="$ac_aux_dir/install-sh -c"
3823 break
3824 elif test -f "$ac_dir/install.sh"; then
3825 ac_aux_dir=$ac_dir
3826 ac_install_sh="$ac_aux_dir/install.sh -c"
3827 break
3828 elif test -f "$ac_dir/shtool"; then
3829 ac_aux_dir=$ac_dir
3830 ac_install_sh="$ac_aux_dir/shtool install -c"
3831 break
3833 done
3834 if test -z "$ac_aux_dir"; then
3835 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3838 # These three variables are undocumented and unsupported,
3839 # and are intended to be withdrawn in a future Autoconf release.
3840 # They can cause serious problems if a builder's source tree is in a directory
3841 # whose full name contains unusual characters.
3842 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3843 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3844 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3848 libwine_version="1.0"
3852 # Check whether --enable-win16 was given.
3853 if test "${enable_win16+set}" = set; then :
3854 enableval=$enable_win16;
3857 # Check whether --enable-win64 was given.
3858 if test "${enable_win64+set}" = set; then :
3859 enableval=$enable_win64;
3862 # Check whether --enable-tests was given.
3863 if test "${enable_tests+set}" = set; then :
3864 enableval=$enable_tests;
3867 # Check whether --enable-maintainer-mode was given.
3868 if test "${enable_maintainer_mode+set}" = set; then :
3869 enableval=$enable_maintainer_mode;
3872 # Check whether --enable-werror was given.
3873 if test "${enable_werror+set}" = set; then :
3874 enableval=$enable_werror;
3879 # Check whether --with-alsa was given.
3880 if test "${with_alsa+set}" = set; then :
3881 withval=$with_alsa;
3885 # Check whether --with-capi was given.
3886 if test "${with_capi+set}" = set; then :
3887 withval=$with_capi;
3891 # Check whether --with-cms was given.
3892 if test "${with_cms+set}" = set; then :
3893 withval=$with_cms;
3897 # Check whether --with-coreaudio was given.
3898 if test "${with_coreaudio+set}" = set; then :
3899 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3903 # Check whether --with-cups was given.
3904 if test "${with_cups+set}" = set; then :
3905 withval=$with_cups;
3909 # Check whether --with-curses was given.
3910 if test "${with_curses+set}" = set; then :
3911 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3915 # Check whether --with-dbus was given.
3916 if test "${with_dbus+set}" = set; then :
3917 withval=$with_dbus;
3921 # Check whether --with-faudio was given.
3922 if test "${with_faudio+set}" = set; then :
3923 withval=$with_faudio;
3927 # Check whether --with-float-abi was given.
3928 if test "${with_float_abi+set}" = set; then :
3929 withval=$with_float_abi;
3933 # Check whether --with-fontconfig was given.
3934 if test "${with_fontconfig+set}" = set; then :
3935 withval=$with_fontconfig;
3939 # Check whether --with-freetype was given.
3940 if test "${with_freetype+set}" = set; then :
3941 withval=$with_freetype;
3945 # Check whether --with-gettext was given.
3946 if test "${with_gettext+set}" = set; then :
3947 withval=$with_gettext;
3951 # Check whether --with-gettextpo was given.
3952 if test "${with_gettextpo+set}" = set; then :
3953 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3957 # Check whether --with-gphoto was given.
3958 if test "${with_gphoto+set}" = set; then :
3959 withval=$with_gphoto;
3963 # Check whether --with-glu was given.
3964 if test "${with_glu+set}" = set; then :
3965 withval=$with_glu;
3969 # Check whether --with-gnutls was given.
3970 if test "${with_gnutls+set}" = set; then :
3971 withval=$with_gnutls;
3975 # Check whether --with-gsm was given.
3976 if test "${with_gsm+set}" = set; then :
3977 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3981 # Check whether --with-gssapi was given.
3982 if test "${with_gssapi+set}" = set; then :
3983 withval=$with_gssapi;
3987 # Check whether --with-gstreamer was given.
3988 if test "${with_gstreamer+set}" = set; then :
3989 withval=$with_gstreamer;
3993 # Check whether --with-hal was given.
3994 if test "${with_hal+set}" = set; then :
3995 withval=$with_hal;
3999 # Check whether --with-inotify was given.
4000 if test "${with_inotify+set}" = set; then :
4001 withval=$with_inotify;
4005 # Check whether --with-jpeg was given.
4006 if test "${with_jpeg+set}" = set; then :
4007 withval=$with_jpeg;
4011 # Check whether --with-krb5 was given.
4012 if test "${with_krb5+set}" = set; then :
4013 withval=$with_krb5;
4017 # Check whether --with-ldap was given.
4018 if test "${with_ldap+set}" = set; then :
4019 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4023 # Check whether --with-mingw was given.
4024 if test "${with_mingw+set}" = set; then :
4025 withval=$with_mingw;
4029 # Check whether --with-mpg123 was given.
4030 if test "${with_mpg123+set}" = set; then :
4031 withval=$with_mpg123;
4035 # Check whether --with-netapi was given.
4036 if test "${with_netapi+set}" = set; then :
4037 withval=$with_netapi;
4041 # Check whether --with-openal was given.
4042 if test "${with_openal+set}" = set; then :
4043 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4047 # Check whether --with-opencl was given.
4048 if test "${with_opencl+set}" = set; then :
4049 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4053 # Check whether --with-opengl was given.
4054 if test "${with_opengl+set}" = set; then :
4055 withval=$with_opengl;
4059 # Check whether --with-osmesa was given.
4060 if test "${with_osmesa+set}" = set; then :
4061 withval=$with_osmesa;
4065 # Check whether --with-oss was given.
4066 if test "${with_oss+set}" = set; then :
4067 withval=$with_oss;
4071 # Check whether --with-pcap was given.
4072 if test "${with_pcap+set}" = set; then :
4073 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4077 # Check whether --with-png was given.
4078 if test "${with_png+set}" = set; then :
4079 withval=$with_png;
4083 # Check whether --with-pthread was given.
4084 if test "${with_pthread+set}" = set; then :
4085 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4089 # Check whether --with-pulse was given.
4090 if test "${with_pulse+set}" = set; then :
4091 withval=$with_pulse;
4095 # Check whether --with-sane was given.
4096 if test "${with_sane+set}" = set; then :
4097 withval=$with_sane;
4101 # Check whether --with-sdl was given.
4102 if test "${with_sdl+set}" = set; then :
4103 withval=$with_sdl;
4107 # Check whether --with-tiff was given.
4108 if test "${with_tiff+set}" = set; then :
4109 withval=$with_tiff;
4113 # Check whether --with-udev was given.
4114 if test "${with_udev+set}" = set; then :
4115 withval=$with_udev;
4119 # Check whether --with-unwind was given.
4120 if test "${with_unwind+set}" = set; then :
4121 withval=$with_unwind;
4125 # Check whether --with-usb was given.
4126 if test "${with_usb+set}" = set; then :
4127 withval=$with_usb;
4131 # Check whether --with-v4l2 was given.
4132 if test "${with_v4l2+set}" = set; then :
4133 withval=$with_v4l2;
4137 # Check whether --with-vkd3d was given.
4138 if test "${with_vkd3d+set}" = set; then :
4139 withval=$with_vkd3d;
4143 # Check whether --with-vulkan was given.
4144 if test "${with_vulkan+set}" = set; then :
4145 withval=$with_vulkan;
4149 # Check whether --with-xcomposite was given.
4150 if test "${with_xcomposite+set}" = set; then :
4151 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4155 # Check whether --with-xcursor was given.
4156 if test "${with_xcursor+set}" = set; then :
4157 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4161 # Check whether --with-xfixes was given.
4162 if test "${with_xfixes+set}" = set; then :
4163 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4167 # Check whether --with-xinerama was given.
4168 if test "${with_xinerama+set}" = set; then :
4169 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4173 # Check whether --with-xinput was given.
4174 if test "${with_xinput+set}" = set; then :
4175 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4179 # Check whether --with-xinput2 was given.
4180 if test "${with_xinput2+set}" = set; then :
4181 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4185 # Check whether --with-xml was given.
4186 if test "${with_xml+set}" = set; then :
4187 withval=$with_xml;
4191 # Check whether --with-xrandr was given.
4192 if test "${with_xrandr+set}" = set; then :
4193 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4197 # Check whether --with-xrender was given.
4198 if test "${with_xrender+set}" = set; then :
4199 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4203 # Check whether --with-xshape was given.
4204 if test "${with_xshape+set}" = set; then :
4205 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4209 # Check whether --with-xshm was given.
4210 if test "${with_xshm+set}" = set; then :
4211 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4215 # Check whether --with-xslt was given.
4216 if test "${with_xslt+set}" = set; then :
4217 withval=$with_xslt;
4221 # Check whether --with-xxf86vm was given.
4222 if test "${with_xxf86vm+set}" = set; then :
4223 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
4228 # Check whether --with-wine-tools was given.
4229 if test "${with_wine_tools+set}" = set; then :
4230 withval=$with_wine_tools;
4234 # Check whether --with-wine64 was given.
4235 if test "${with_wine64+set}" = set; then :
4236 withval=$with_wine64;
4240 # Make sure we can run config.sub.
4241 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4242 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4245 $as_echo_n "checking build system type... " >&6; }
4246 if ${ac_cv_build+:} false; then :
4247 $as_echo_n "(cached) " >&6
4248 else
4249 ac_build_alias=$build_alias
4250 test "x$ac_build_alias" = x &&
4251 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4252 test "x$ac_build_alias" = x &&
4253 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4254 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4255 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4259 $as_echo "$ac_cv_build" >&6; }
4260 case $ac_cv_build in
4261 *-*-*) ;;
4262 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4263 esac
4264 build=$ac_cv_build
4265 ac_save_IFS=$IFS; IFS='-'
4266 set x $ac_cv_build
4267 shift
4268 build_cpu=$1
4269 build_vendor=$2
4270 shift; shift
4271 # Remember, the first character of IFS is used to create $*,
4272 # except with old shells:
4273 build_os=$*
4274 IFS=$ac_save_IFS
4275 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4279 $as_echo_n "checking host system type... " >&6; }
4280 if ${ac_cv_host+:} false; then :
4281 $as_echo_n "(cached) " >&6
4282 else
4283 if test "x$host_alias" = x; then
4284 ac_cv_host=$ac_cv_build
4285 else
4286 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4287 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4292 $as_echo "$ac_cv_host" >&6; }
4293 case $ac_cv_host in
4294 *-*-*) ;;
4295 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4296 esac
4297 host=$ac_cv_host
4298 ac_save_IFS=$IFS; IFS='-'
4299 set x $ac_cv_host
4300 shift
4301 host_cpu=$1
4302 host_vendor=$2
4303 shift; shift
4304 # Remember, the first character of IFS is used to create $*,
4305 # except with old shells:
4306 host_os=$*
4307 IFS=$ac_save_IFS
4308 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4314 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4315 set x ${MAKE-make}
4316 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4317 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4318 $as_echo_n "(cached) " >&6
4319 else
4320 cat >conftest.make <<\_ACEOF
4321 SHELL = /bin/sh
4322 all:
4323 @echo '@@@%%%=$(MAKE)=@@@%%%'
4324 _ACEOF
4325 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4326 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4327 *@@@%%%=?*=@@@%%%*)
4328 eval ac_cv_prog_make_${ac_make}_set=yes;;
4330 eval ac_cv_prog_make_${ac_make}_set=no;;
4331 esac
4332 rm -f conftest.make
4334 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4336 $as_echo "yes" >&6; }
4337 SET_MAKE=
4338 else
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4341 SET_MAKE="MAKE=${MAKE-make}"
4344 ac_ext=c
4345 ac_cpp='$CPP $CPPFLAGS'
4346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4349 if test -n "$ac_tool_prefix"; then
4350 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4351 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if ${ac_cv_prog_CC+:} false; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 if test -n "$CC"; then
4358 ac_cv_prog_CC="$CC" # Let the user override the test.
4359 else
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $PATH
4363 IFS=$as_save_IFS
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4367 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 break 2
4371 done
4372 done
4373 IFS=$as_save_IFS
4377 CC=$ac_cv_prog_CC
4378 if test -n "$CC"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4380 $as_echo "$CC" >&6; }
4381 else
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4388 if test -z "$ac_cv_prog_CC"; then
4389 ac_ct_CC=$CC
4390 # Extract the first word of "gcc", so it can be a program name with args.
4391 set dummy gcc; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4395 $as_echo_n "(cached) " >&6
4396 else
4397 if test -n "$ac_ct_CC"; then
4398 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4399 else
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 for as_dir in $PATH
4403 IFS=$as_save_IFS
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_ac_ct_CC="gcc"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 break 2
4411 done
4412 done
4413 IFS=$as_save_IFS
4417 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4418 if test -n "$ac_ct_CC"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4420 $as_echo "$ac_ct_CC" >&6; }
4421 else
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4426 if test "x$ac_ct_CC" = x; then
4427 CC=""
4428 else
4429 case $cross_compiling:$ac_tool_warned in
4430 yes:)
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4433 ac_tool_warned=yes ;;
4434 esac
4435 CC=$ac_ct_CC
4437 else
4438 CC="$ac_cv_prog_CC"
4441 if test -z "$CC"; then
4442 if test -n "$ac_tool_prefix"; then
4443 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4444 set dummy ${ac_tool_prefix}cc; ac_word=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if ${ac_cv_prog_CC+:} false; then :
4448 $as_echo_n "(cached) " >&6
4449 else
4450 if test -n "$CC"; then
4451 ac_cv_prog_CC="$CC" # Let the user override the test.
4452 else
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 for as_dir in $PATH
4456 IFS=$as_save_IFS
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4460 ac_cv_prog_CC="${ac_tool_prefix}cc"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 break 2
4464 done
4465 done
4466 IFS=$as_save_IFS
4470 CC=$ac_cv_prog_CC
4471 if test -n "$CC"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4473 $as_echo "$CC" >&6; }
4474 else
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4482 if test -z "$CC"; then
4483 # Extract the first word of "cc", so it can be a program name with args.
4484 set dummy cc; ac_word=$2
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4486 $as_echo_n "checking for $ac_word... " >&6; }
4487 if ${ac_cv_prog_CC+:} false; then :
4488 $as_echo_n "(cached) " >&6
4489 else
4490 if test -n "$CC"; then
4491 ac_cv_prog_CC="$CC" # Let the user override the test.
4492 else
4493 ac_prog_rejected=no
4494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4495 for as_dir in $PATH
4497 IFS=$as_save_IFS
4498 test -z "$as_dir" && as_dir=.
4499 for ac_exec_ext in '' $ac_executable_extensions; do
4500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4501 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4502 ac_prog_rejected=yes
4503 continue
4505 ac_cv_prog_CC="cc"
4506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 break 2
4509 done
4510 done
4511 IFS=$as_save_IFS
4513 if test $ac_prog_rejected = yes; then
4514 # We found a bogon in the path, so make sure we never use it.
4515 set dummy $ac_cv_prog_CC
4516 shift
4517 if test $# != 0; then
4518 # We chose a different compiler from the bogus one.
4519 # However, it has the same basename, so the bogon will be chosen
4520 # first if we set CC to just the basename; use the full file name.
4521 shift
4522 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4527 CC=$ac_cv_prog_CC
4528 if test -n "$CC"; then
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4530 $as_echo "$CC" >&6; }
4531 else
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4533 $as_echo "no" >&6; }
4538 if test -z "$CC"; then
4539 if test -n "$ac_tool_prefix"; then
4540 for ac_prog in cl.exe
4542 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4543 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545 $as_echo_n "checking for $ac_word... " >&6; }
4546 if ${ac_cv_prog_CC+:} false; then :
4547 $as_echo_n "(cached) " >&6
4548 else
4549 if test -n "$CC"; then
4550 ac_cv_prog_CC="$CC" # Let the user override the test.
4551 else
4552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 for as_dir in $PATH
4555 IFS=$as_save_IFS
4556 test -z "$as_dir" && as_dir=.
4557 for ac_exec_ext in '' $ac_executable_extensions; do
4558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4559 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 break 2
4563 done
4564 done
4565 IFS=$as_save_IFS
4569 CC=$ac_cv_prog_CC
4570 if test -n "$CC"; then
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4572 $as_echo "$CC" >&6; }
4573 else
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575 $as_echo "no" >&6; }
4579 test -n "$CC" && break
4580 done
4582 if test -z "$CC"; then
4583 ac_ct_CC=$CC
4584 for ac_prog in cl.exe
4586 # Extract the first word of "$ac_prog", so it can be a program name with args.
4587 set dummy $ac_prog; ac_word=$2
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4589 $as_echo_n "checking for $ac_word... " >&6; }
4590 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4591 $as_echo_n "(cached) " >&6
4592 else
4593 if test -n "$ac_ct_CC"; then
4594 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4595 else
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 for as_dir in $PATH
4599 IFS=$as_save_IFS
4600 test -z "$as_dir" && as_dir=.
4601 for ac_exec_ext in '' $ac_executable_extensions; do
4602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4603 ac_cv_prog_ac_ct_CC="$ac_prog"
4604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 break 2
4607 done
4608 done
4609 IFS=$as_save_IFS
4613 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4614 if test -n "$ac_ct_CC"; then
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4616 $as_echo "$ac_ct_CC" >&6; }
4617 else
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4619 $as_echo "no" >&6; }
4623 test -n "$ac_ct_CC" && break
4624 done
4626 if test "x$ac_ct_CC" = x; then
4627 CC=""
4628 else
4629 case $cross_compiling:$ac_tool_warned in
4630 yes:)
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4633 ac_tool_warned=yes ;;
4634 esac
4635 CC=$ac_ct_CC
4642 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4644 as_fn_error $? "no acceptable C compiler found in \$PATH
4645 See \`config.log' for more details" "$LINENO" 5; }
4647 # Provide some information about the compiler.
4648 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4649 set X $ac_compile
4650 ac_compiler=$2
4651 for ac_option in --version -v -V -qversion; do
4652 { { ac_try="$ac_compiler $ac_option >&5"
4653 case "(($ac_try" in
4654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4655 *) ac_try_echo=$ac_try;;
4656 esac
4657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4658 $as_echo "$ac_try_echo"; } >&5
4659 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4660 ac_status=$?
4661 if test -s conftest.err; then
4662 sed '10a\
4663 ... rest of stderr output deleted ...
4664 10q' conftest.err >conftest.er1
4665 cat conftest.er1 >&5
4667 rm -f conftest.er1 conftest.err
4668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4669 test $ac_status = 0; }
4670 done
4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4676 main ()
4680 return 0;
4682 _ACEOF
4683 ac_clean_files_save=$ac_clean_files
4684 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4685 # Try to create an executable without -o first, disregard a.out.
4686 # It will help us diagnose broken compilers, and finding out an intuition
4687 # of exeext.
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4689 $as_echo_n "checking whether the C compiler works... " >&6; }
4690 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4692 # The possible output files:
4693 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4695 ac_rmfiles=
4696 for ac_file in $ac_files
4698 case $ac_file in
4699 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4700 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4701 esac
4702 done
4703 rm -f $ac_rmfiles
4705 if { { ac_try="$ac_link_default"
4706 case "(($ac_try" in
4707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4708 *) ac_try_echo=$ac_try;;
4709 esac
4710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4711 $as_echo "$ac_try_echo"; } >&5
4712 (eval "$ac_link_default") 2>&5
4713 ac_status=$?
4714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4715 test $ac_status = 0; }; then :
4716 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4717 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4718 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4719 # so that the user can short-circuit this test for compilers unknown to
4720 # Autoconf.
4721 for ac_file in $ac_files ''
4723 test -f "$ac_file" || continue
4724 case $ac_file in
4725 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4727 [ab].out )
4728 # We found the default executable, but exeext='' is most
4729 # certainly right.
4730 break;;
4731 *.* )
4732 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4733 then :; else
4734 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4736 # We set ac_cv_exeext here because the later test for it is not
4737 # safe: cross compilers may not add the suffix if given an `-o'
4738 # argument, so we may need to know it at that point already.
4739 # Even if this section looks crufty: it has the advantage of
4740 # actually working.
4741 break;;
4743 break;;
4744 esac
4745 done
4746 test "$ac_cv_exeext" = no && ac_cv_exeext=
4748 else
4749 ac_file=''
4751 if test -z "$ac_file"; then :
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4753 $as_echo "no" >&6; }
4754 $as_echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.$ac_ext >&5
4757 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4759 as_fn_error 77 "C compiler cannot create executables
4760 See \`config.log' for more details" "$LINENO" 5; }
4761 else
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4763 $as_echo "yes" >&6; }
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4766 $as_echo_n "checking for C compiler default output file name... " >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4768 $as_echo "$ac_file" >&6; }
4769 ac_exeext=$ac_cv_exeext
4771 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4772 ac_clean_files=$ac_clean_files_save
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4774 $as_echo_n "checking for suffix of executables... " >&6; }
4775 if { { ac_try="$ac_link"
4776 case "(($ac_try" in
4777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4778 *) ac_try_echo=$ac_try;;
4779 esac
4780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4781 $as_echo "$ac_try_echo"; } >&5
4782 (eval "$ac_link") 2>&5
4783 ac_status=$?
4784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4785 test $ac_status = 0; }; then :
4786 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4787 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4788 # work properly (i.e., refer to `conftest.exe'), while it won't with
4789 # `rm'.
4790 for ac_file in conftest.exe conftest conftest.*; do
4791 test -f "$ac_file" || continue
4792 case $ac_file in
4793 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4794 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4795 break;;
4796 * ) break;;
4797 esac
4798 done
4799 else
4800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4802 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4803 See \`config.log' for more details" "$LINENO" 5; }
4805 rm -f conftest conftest$ac_cv_exeext
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4807 $as_echo "$ac_cv_exeext" >&6; }
4809 rm -f conftest.$ac_ext
4810 EXEEXT=$ac_cv_exeext
4811 ac_exeext=$EXEEXT
4812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4813 /* end confdefs.h. */
4814 #include <stdio.h>
4816 main ()
4818 FILE *f = fopen ("conftest.out", "w");
4819 return ferror (f) || fclose (f) != 0;
4822 return 0;
4824 _ACEOF
4825 ac_clean_files="$ac_clean_files conftest.out"
4826 # Check that the compiler produces executables we can run. If not, either
4827 # the compiler is broken, or we cross compile.
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4829 $as_echo_n "checking whether we are cross compiling... " >&6; }
4830 if test "$cross_compiling" != yes; then
4831 { { ac_try="$ac_link"
4832 case "(($ac_try" in
4833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4834 *) ac_try_echo=$ac_try;;
4835 esac
4836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4837 $as_echo "$ac_try_echo"; } >&5
4838 (eval "$ac_link") 2>&5
4839 ac_status=$?
4840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4841 test $ac_status = 0; }
4842 if { ac_try='./conftest$ac_cv_exeext'
4843 { { case "(($ac_try" in
4844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4845 *) ac_try_echo=$ac_try;;
4846 esac
4847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4848 $as_echo "$ac_try_echo"; } >&5
4849 (eval "$ac_try") 2>&5
4850 ac_status=$?
4851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4852 test $ac_status = 0; }; }; then
4853 cross_compiling=no
4854 else
4855 if test "$cross_compiling" = maybe; then
4856 cross_compiling=yes
4857 else
4858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4860 as_fn_error $? "cannot run C compiled programs.
4861 If you meant to cross compile, use \`--host'.
4862 See \`config.log' for more details" "$LINENO" 5; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4867 $as_echo "$cross_compiling" >&6; }
4869 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4870 ac_clean_files=$ac_clean_files_save
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4872 $as_echo_n "checking for suffix of object files... " >&6; }
4873 if ${ac_cv_objext+:} false; then :
4874 $as_echo_n "(cached) " >&6
4875 else
4876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4877 /* end confdefs.h. */
4880 main ()
4884 return 0;
4886 _ACEOF
4887 rm -f conftest.o conftest.obj
4888 if { { ac_try="$ac_compile"
4889 case "(($ac_try" in
4890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4891 *) ac_try_echo=$ac_try;;
4892 esac
4893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4894 $as_echo "$ac_try_echo"; } >&5
4895 (eval "$ac_compile") 2>&5
4896 ac_status=$?
4897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4898 test $ac_status = 0; }; then :
4899 for ac_file in conftest.o conftest.obj conftest.*; do
4900 test -f "$ac_file" || continue;
4901 case $ac_file in
4902 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4903 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4904 break;;
4905 esac
4906 done
4907 else
4908 $as_echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.$ac_ext >&5
4911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4913 as_fn_error $? "cannot compute suffix of object files: cannot compile
4914 See \`config.log' for more details" "$LINENO" 5; }
4916 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4919 $as_echo "$ac_cv_objext" >&6; }
4920 OBJEXT=$ac_cv_objext
4921 ac_objext=$OBJEXT
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4923 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4924 if ${ac_cv_c_compiler_gnu+:} false; then :
4925 $as_echo_n "(cached) " >&6
4926 else
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4931 main ()
4933 #ifndef __GNUC__
4934 choke me
4935 #endif
4938 return 0;
4940 _ACEOF
4941 if ac_fn_c_try_compile "$LINENO"; then :
4942 ac_compiler_gnu=yes
4943 else
4944 ac_compiler_gnu=no
4946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4947 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4951 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4952 if test $ac_compiler_gnu = yes; then
4953 GCC=yes
4954 else
4955 GCC=
4957 ac_test_CFLAGS=${CFLAGS+set}
4958 ac_save_CFLAGS=$CFLAGS
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4960 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4961 if ${ac_cv_prog_cc_g+:} false; then :
4962 $as_echo_n "(cached) " >&6
4963 else
4964 ac_save_c_werror_flag=$ac_c_werror_flag
4965 ac_c_werror_flag=yes
4966 ac_cv_prog_cc_g=no
4967 CFLAGS="-g"
4968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4969 /* end confdefs.h. */
4972 main ()
4976 return 0;
4978 _ACEOF
4979 if ac_fn_c_try_compile "$LINENO"; then :
4980 ac_cv_prog_cc_g=yes
4981 else
4982 CFLAGS=""
4983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4987 main ()
4991 return 0;
4993 _ACEOF
4994 if ac_fn_c_try_compile "$LINENO"; then :
4996 else
4997 ac_c_werror_flag=$ac_save_c_werror_flag
4998 CFLAGS="-g"
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 :
5011 ac_cv_prog_cc_g=yes
5013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5018 ac_c_werror_flag=$ac_save_c_werror_flag
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5021 $as_echo "$ac_cv_prog_cc_g" >&6; }
5022 if test "$ac_test_CFLAGS" = set; then
5023 CFLAGS=$ac_save_CFLAGS
5024 elif test $ac_cv_prog_cc_g = yes; then
5025 if test "$GCC" = yes; then
5026 CFLAGS="-g -O2"
5027 else
5028 CFLAGS="-g"
5030 else
5031 if test "$GCC" = yes; then
5032 CFLAGS="-O2"
5033 else
5034 CFLAGS=
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5038 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5039 if ${ac_cv_prog_cc_c89+:} false; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 ac_cv_prog_cc_c89=no
5043 ac_save_CC=$CC
5044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5045 /* end confdefs.h. */
5046 #include <stdarg.h>
5047 #include <stdio.h>
5048 struct stat;
5049 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5050 struct buf { int x; };
5051 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5052 static char *e (p, i)
5053 char **p;
5054 int i;
5056 return p[i];
5058 static char *f (char * (*g) (char **, int), char **p, ...)
5060 char *s;
5061 va_list v;
5062 va_start (v,p);
5063 s = g (p, va_arg (v,int));
5064 va_end (v);
5065 return s;
5068 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5069 function prototypes and stuff, but not '\xHH' hex character constants.
5070 These don't provoke an error unfortunately, instead are silently treated
5071 as 'x'. The following induces an error, until -std is added to get
5072 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5073 array size at least. It's necessary to write '\x00'==0 to get something
5074 that's true only with -std. */
5075 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5077 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5078 inside strings and character constants. */
5079 #define FOO(x) 'x'
5080 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5082 int test (int i, double x);
5083 struct s1 {int (*f) (int a);};
5084 struct s2 {int (*f) (double a);};
5085 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5086 int argc;
5087 char **argv;
5089 main ()
5091 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5093 return 0;
5095 _ACEOF
5096 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5097 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5099 CC="$ac_save_CC $ac_arg"
5100 if ac_fn_c_try_compile "$LINENO"; then :
5101 ac_cv_prog_cc_c89=$ac_arg
5103 rm -f core conftest.err conftest.$ac_objext
5104 test "x$ac_cv_prog_cc_c89" != "xno" && break
5105 done
5106 rm -f conftest.$ac_ext
5107 CC=$ac_save_CC
5110 # AC_CACHE_VAL
5111 case "x$ac_cv_prog_cc_c89" in
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5114 $as_echo "none needed" >&6; } ;;
5115 xno)
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5117 $as_echo "unsupported" >&6; } ;;
5119 CC="$CC $ac_cv_prog_cc_c89"
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5121 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5122 esac
5123 if test "x$ac_cv_prog_cc_c89" != xno; then :
5127 ac_ext=c
5128 ac_cpp='$CPP $CPPFLAGS'
5129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5133 ac_ext=cpp
5134 ac_cpp='$CXXCPP $CPPFLAGS'
5135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5138 if test -z "$CXX"; then
5139 if test -n "$CCC"; then
5140 CXX=$CCC
5141 else
5142 if test -n "$ac_tool_prefix"; then
5143 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5146 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if ${ac_cv_prog_CXX+:} false; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 if test -n "$CXX"; then
5153 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5166 done
5167 done
5168 IFS=$as_save_IFS
5172 CXX=$ac_cv_prog_CXX
5173 if test -n "$CXX"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5175 $as_echo "$CXX" >&6; }
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5182 test -n "$CXX" && break
5183 done
5185 if test -z "$CXX"; then
5186 ac_ct_CXX=$CXX
5187 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5189 # Extract the first word of "$ac_prog", so it can be a program name with args.
5190 set dummy $ac_prog; ac_word=$2
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5192 $as_echo_n "checking for $ac_word... " >&6; }
5193 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5194 $as_echo_n "(cached) " >&6
5195 else
5196 if test -n "$ac_ct_CXX"; then
5197 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5198 else
5199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200 for as_dir in $PATH
5202 IFS=$as_save_IFS
5203 test -z "$as_dir" && as_dir=.
5204 for ac_exec_ext in '' $ac_executable_extensions; do
5205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_prog_ac_ct_CXX="$ac_prog"
5207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 break 2
5210 done
5211 done
5212 IFS=$as_save_IFS
5216 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5217 if test -n "$ac_ct_CXX"; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5219 $as_echo "$ac_ct_CXX" >&6; }
5220 else
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5226 test -n "$ac_ct_CXX" && break
5227 done
5229 if test "x$ac_ct_CXX" = x; then
5230 CXX="g++"
5231 else
5232 case $cross_compiling:$ac_tool_warned in
5233 yes:)
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5236 ac_tool_warned=yes ;;
5237 esac
5238 CXX=$ac_ct_CXX
5244 # Provide some information about the compiler.
5245 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5246 set X $ac_compile
5247 ac_compiler=$2
5248 for ac_option in --version -v -V -qversion; do
5249 { { ac_try="$ac_compiler $ac_option >&5"
5250 case "(($ac_try" in
5251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5252 *) ac_try_echo=$ac_try;;
5253 esac
5254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5255 $as_echo "$ac_try_echo"; } >&5
5256 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5257 ac_status=$?
5258 if test -s conftest.err; then
5259 sed '10a\
5260 ... rest of stderr output deleted ...
5261 10q' conftest.err >conftest.er1
5262 cat conftest.er1 >&5
5264 rm -f conftest.er1 conftest.err
5265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5266 test $ac_status = 0; }
5267 done
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5270 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5271 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5272 $as_echo_n "(cached) " >&6
5273 else
5274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5275 /* end confdefs.h. */
5278 main ()
5280 #ifndef __GNUC__
5281 choke me
5282 #endif
5285 return 0;
5287 _ACEOF
5288 if ac_fn_cxx_try_compile "$LINENO"; then :
5289 ac_compiler_gnu=yes
5290 else
5291 ac_compiler_gnu=no
5293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5294 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5298 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5299 if test $ac_compiler_gnu = yes; then
5300 GXX=yes
5301 else
5302 GXX=
5304 ac_test_CXXFLAGS=${CXXFLAGS+set}
5305 ac_save_CXXFLAGS=$CXXFLAGS
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5307 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5308 if ${ac_cv_prog_cxx_g+:} false; then :
5309 $as_echo_n "(cached) " >&6
5310 else
5311 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5312 ac_cxx_werror_flag=yes
5313 ac_cv_prog_cxx_g=no
5314 CXXFLAGS="-g"
5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5316 /* end confdefs.h. */
5319 main ()
5323 return 0;
5325 _ACEOF
5326 if ac_fn_cxx_try_compile "$LINENO"; then :
5327 ac_cv_prog_cxx_g=yes
5328 else
5329 CXXFLAGS=""
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5334 main ()
5338 return 0;
5340 _ACEOF
5341 if ac_fn_cxx_try_compile "$LINENO"; then :
5343 else
5344 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5345 CXXFLAGS="-g"
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 :
5358 ac_cv_prog_cxx_g=yes
5360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5365 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5368 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5369 if test "$ac_test_CXXFLAGS" = set; then
5370 CXXFLAGS=$ac_save_CXXFLAGS
5371 elif test $ac_cv_prog_cxx_g = yes; then
5372 if test "$GXX" = yes; then
5373 CXXFLAGS="-g -O2"
5374 else
5375 CXXFLAGS="-g"
5377 else
5378 if test "$GXX" = yes; then
5379 CXXFLAGS="-O2"
5380 else
5381 CXXFLAGS=
5384 ac_ext=c
5385 ac_cpp='$CPP $CPPFLAGS'
5386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5390 if test -n "$ac_tool_prefix"; then
5391 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5392 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394 $as_echo_n "checking for $ac_word... " >&6; }
5395 if ${ac_cv_prog_CPPBIN+:} false; then :
5396 $as_echo_n "(cached) " >&6
5397 else
5398 if test -n "$CPPBIN"; then
5399 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5400 else
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH
5404 IFS=$as_save_IFS
5405 test -z "$as_dir" && as_dir=.
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5408 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 break 2
5412 done
5413 done
5414 IFS=$as_save_IFS
5418 CPPBIN=$ac_cv_prog_CPPBIN
5419 if test -n "$CPPBIN"; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5421 $as_echo "$CPPBIN" >&6; }
5422 else
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424 $as_echo "no" >&6; }
5429 if test -z "$ac_cv_prog_CPPBIN"; then
5430 ac_ct_CPPBIN=$CPPBIN
5431 # Extract the first word of "cpp", so it can be a program name with args.
5432 set dummy cpp; ac_word=$2
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434 $as_echo_n "checking for $ac_word... " >&6; }
5435 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5436 $as_echo_n "(cached) " >&6
5437 else
5438 if test -n "$ac_ct_CPPBIN"; then
5439 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5440 else
5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 for as_dir in $PATH
5444 IFS=$as_save_IFS
5445 test -z "$as_dir" && as_dir=.
5446 for ac_exec_ext in '' $ac_executable_extensions; do
5447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5448 ac_cv_prog_ac_ct_CPPBIN="cpp"
5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 break 2
5452 done
5453 done
5454 IFS=$as_save_IFS
5458 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5459 if test -n "$ac_ct_CPPBIN"; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5461 $as_echo "$ac_ct_CPPBIN" >&6; }
5462 else
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464 $as_echo "no" >&6; }
5467 if test "x$ac_ct_CPPBIN" = x; then
5468 CPPBIN="cpp"
5469 else
5470 case $cross_compiling:$ac_tool_warned in
5471 yes:)
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5474 ac_tool_warned=yes ;;
5475 esac
5476 CPPBIN=$ac_ct_CPPBIN
5478 else
5479 CPPBIN="$ac_cv_prog_CPPBIN"
5483 cat >>confdefs.h <<_ACEOF
5484 #define EXEEXT "$ac_exeext"
5485 _ACEOF
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}ld; ac_word=$2
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5491 $as_echo_n "checking for $ac_word... " >&6; }
5492 if ${ac_cv_prog_LD+:} false; then :
5493 $as_echo_n "(cached) " >&6
5494 else
5495 if test -n "$LD"; then
5496 ac_cv_prog_LD="$LD" # Let the user override the test.
5497 else
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5501 IFS=$as_save_IFS
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5505 ac_cv_prog_LD="${ac_tool_prefix}ld"
5506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 break 2
5509 done
5510 done
5511 IFS=$as_save_IFS
5515 LD=$ac_cv_prog_LD
5516 if test -n "$LD"; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5518 $as_echo "$LD" >&6; }
5519 else
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521 $as_echo "no" >&6; }
5526 if test -z "$ac_cv_prog_LD"; then
5527 ac_ct_LD=$LD
5528 # Extract the first word of "ld", so it can be a program name with args.
5529 set dummy ld; ac_word=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5533 $as_echo_n "(cached) " >&6
5534 else
5535 if test -n "$ac_ct_LD"; then
5536 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5541 IFS=$as_save_IFS
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5545 ac_cv_prog_ac_ct_LD="ld"
5546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 break 2
5549 done
5550 done
5551 IFS=$as_save_IFS
5555 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5556 if test -n "$ac_ct_LD"; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5558 $as_echo "$ac_ct_LD" >&6; }
5559 else
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561 $as_echo "no" >&6; }
5564 if test "x$ac_ct_LD" = x; then
5565 LD=""
5566 else
5567 case $cross_compiling:$ac_tool_warned in
5568 yes:)
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5571 ac_tool_warned=yes ;;
5572 esac
5573 LD=$ac_ct_LD
5575 else
5576 LD="$ac_cv_prog_LD"
5580 case $host in
5581 *-darwin*)
5582 with_fontconfig=${with_fontconfig:-no}
5584 *-mingw32*|*-cygwin*)
5585 enable_win16=${enable_win16:-no}
5586 with_mingw=${with_mingw:-no}
5587 CFLAGS="$CFLAGS -D_WIN32"
5589 esac
5591 case $host in
5592 x86_64*|amd64*)
5593 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5594 then
5595 CC="$CC -m32"
5596 CXX="$CXX -m32"
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5599 $as_echo_n "checking whether $CC works... " >&6; }
5600 if ${wine_cv_cc_m32+:} false; then :
5601 $as_echo_n "(cached) " >&6
5602 else
5603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5604 /* end confdefs.h. */
5607 main ()
5611 return 0;
5613 _ACEOF
5614 if ac_fn_c_try_link "$LINENO"; then :
5615 wine_cv_cc_m32=yes
5616 else
5617 wine_cv_cc_m32=no
5619 rm -f core conftest.err conftest.$ac_objext \
5620 conftest$ac_exeext conftest.$ac_ext
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5623 $as_echo "$wine_cv_cc_m32" >&6; }
5624 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
5625 host_cpu="i386"
5626 notice_platform="32-bit "
5627 TARGETFLAGS="-m32"
5629 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5630 export PKG_CONFIG_PATH
5631 enable_win16=${enable_win16:-yes}
5632 with_unwind=${with_unwind:-no}
5633 else
5634 if test "x${GCC}" = "xyes"
5635 then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5637 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5638 if ${wine_cv_builtin_ms_va_list+:} false; then :
5639 $as_echo_n "(cached) " >&6
5640 else
5641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5642 /* end confdefs.h. */
5643 #include <stdarg.h>
5645 main ()
5647 void func(__builtin_ms_va_list *args);
5649 return 0;
5651 _ACEOF
5652 if ac_fn_c_try_compile "$LINENO"; then :
5653 wine_cv_builtin_ms_va_list=yes
5654 else
5655 wine_cv_builtin_ms_va_list=no
5657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5660 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5661 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
5663 CC="$CC -m64"
5664 CXX="$CXX -m64"
5665 host_cpu="x86_64"
5666 notice_platform="64-bit "
5667 TARGETFLAGS="-m64"
5671 arm*)
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5673 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5674 if ${wine_cv_thumb+:} false; then :
5675 $as_echo_n "(cached) " >&6
5676 else
5677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h. */
5679 int ac_test(int i) { return i; }
5681 main ()
5683 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5685 return 0;
5687 _ACEOF
5688 if ac_fn_c_try_link "$LINENO"; then :
5689 wine_cv_thumb=yes
5690 else
5691 wine_cv_thumb=no
5693 rm -f core conftest.err conftest.$ac_objext \
5694 conftest$ac_exeext conftest.$ac_ext
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5697 $as_echo "$wine_cv_thumb" >&6; }
5698 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5699 case $with_float_abi in
5700 soft|softfp|hard)
5701 float_abi=$with_float_abi ;;
5703 case $host_os in
5704 *eabihf)
5705 float_abi=hard ;;
5707 float_abi=softfp
5708 saved_CFLAGS=$CFLAGS
5709 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5711 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5712 if ${wine_cv_float_abi+:} false; then :
5713 $as_echo_n "(cached) " >&6
5714 else
5715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5716 /* end confdefs.h. */
5719 main ()
5721 asm("vmrs r2,fpscr");
5723 return 0;
5725 _ACEOF
5726 if ac_fn_c_try_link "$LINENO"; then :
5727 wine_cv_float_abi=yes
5728 else
5729 wine_cv_float_abi=no
5731 rm -f core conftest.err conftest.$ac_objext \
5732 conftest$ac_exeext conftest.$ac_ext
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5735 $as_echo "$wine_cv_float_abi" >&6; }
5736 if test $wine_cv_float_abi = no
5737 then
5738 float_abi=soft
5739 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5741 CFLAGS=$saved_CFLAGS
5742 esac
5744 esac
5745 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5746 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5749 aarch64*)
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5751 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5752 if ${wine_cv_builtin_ms_va_list+:} false; then :
5753 $as_echo_n "(cached) " >&6
5754 else
5755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5756 /* end confdefs.h. */
5757 #include <stdarg.h>
5759 main ()
5761 void func(__builtin_ms_va_list *args);
5763 return 0;
5765 _ACEOF
5766 if ac_fn_c_try_compile "$LINENO"; then :
5767 wine_cv_builtin_ms_va_list=yes
5768 else
5769 wine_cv_builtin_ms_va_list=no
5771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5774 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5775 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5777 i[3456789]86*)
5778 enable_win16=${enable_win16:-yes}
5779 with_unwind=${with_unwind:-no}
5781 esac
5783 enable_win16=${enable_win16:-no}
5784 enable_win64=${enable_win64:-no}
5786 enable_winetest=${enable_winetest:-$enable_tests}
5788 if test "x$enable_win64" = "xyes"
5789 then
5790 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5791 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5792 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5796 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5797 if ${wine_cv_toolsdir+:} false; then :
5798 $as_echo_n "(cached) " >&6
5799 else
5800 wine_cv_toolsdir="$with_wine_tools"
5801 if test -z "$with_wine_tools"; then
5802 if test "$cross_compiling" = "yes"; then
5803 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5804 elif test -n "$with_wine64"; then
5805 wine_cv_toolsdir="$with_wine64"
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5810 $as_echo "$wine_cv_toolsdir" >&6; }
5811 if test -z "$wine_cv_toolsdir"; then
5812 wine_makedep=tools/makedep
5813 TOOLSDIR="\$(top_builddir)"
5815 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5816 wine_makedep=$wine_cv_toolsdir/tools/makedep
5817 case "$wine_cv_toolsdir" in
5818 /*) TOOLSDIR=$wine_cv_toolsdir
5820 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5822 esac
5823 enable_tools=${enable_tools:-no}
5824 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5825 else
5826 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5828 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5829 then
5830 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5834 for ac_prog in flex
5836 # Extract the first word of "$ac_prog", so it can be a program name with args.
5837 set dummy $ac_prog; ac_word=$2
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5839 $as_echo_n "checking for $ac_word... " >&6; }
5840 if ${ac_cv_prog_FLEX+:} false; then :
5841 $as_echo_n "(cached) " >&6
5842 else
5843 if test -n "$FLEX"; then
5844 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5845 else
5846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 for as_dir in $PATH
5849 IFS=$as_save_IFS
5850 test -z "$as_dir" && as_dir=.
5851 for ac_exec_ext in '' $ac_executable_extensions; do
5852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5853 ac_cv_prog_FLEX="$ac_prog"
5854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 break 2
5857 done
5858 done
5859 IFS=$as_save_IFS
5863 FLEX=$ac_cv_prog_FLEX
5864 if test -n "$FLEX"; then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5866 $as_echo "$FLEX" >&6; }
5867 else
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5869 $as_echo "no" >&6; }
5873 test -n "$FLEX" && break
5874 done
5875 test -n "$FLEX" || FLEX="none"
5877 if test "$FLEX" = "none"
5878 then
5879 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5882 $as_echo_n "checking whether flex is recent enough... " >&6; }
5883 if ${wine_cv_recent_flex+:} false; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5886 cat >conftest.l <<EOF
5887 %top{
5888 #include "prediluvian.h"
5892 if $FLEX -t conftest.l >/dev/null 2>&5
5893 then
5894 wine_cv_recent_flex=yes
5895 else
5896 wine_cv_recent_flex=no
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5900 $as_echo "$wine_cv_recent_flex" >&6; }
5901 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
5903 for ac_prog in bison
5905 # Extract the first word of "$ac_prog", so it can be a program name with args.
5906 set dummy $ac_prog; ac_word=$2
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5908 $as_echo_n "checking for $ac_word... " >&6; }
5909 if ${ac_cv_prog_BISON+:} false; then :
5910 $as_echo_n "(cached) " >&6
5911 else
5912 if test -n "$BISON"; then
5913 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5914 else
5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 for as_dir in $PATH
5918 IFS=$as_save_IFS
5919 test -z "$as_dir" && as_dir=.
5920 for ac_exec_ext in '' $ac_executable_extensions; do
5921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5922 ac_cv_prog_BISON="$ac_prog"
5923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5924 break 2
5926 done
5927 done
5928 IFS=$as_save_IFS
5932 BISON=$ac_cv_prog_BISON
5933 if test -n "$BISON"; then
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5935 $as_echo "$BISON" >&6; }
5936 else
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938 $as_echo "no" >&6; }
5942 test -n "$BISON" && break
5943 done
5944 test -n "$BISON" || BISON="none"
5946 if test "$BISON" = "none"
5947 then
5948 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5951 $as_echo_n "checking whether bison is recent enough... " >&6; }
5952 if ${wine_cv_recent_bison+:} false; then :
5953 $as_echo_n "(cached) " >&6
5954 else
5955 cat >conftest.y <<EOF
5956 %define parse.error verbose
5958 empty: ;
5960 if $BISON conftest.y >/dev/null 2>&5
5961 then
5962 wine_cv_recent_bison=yes
5963 else
5964 wine_cv_recent_bison=no
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5968 $as_echo "$wine_cv_recent_bison" >&6; }
5969 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
5971 if test -n "$ac_tool_prefix"; then
5972 for ac_prog in ar gar
5974 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5975 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if ${ac_cv_prog_AR+:} false; then :
5979 $as_echo_n "(cached) " >&6
5980 else
5981 if test -n "$AR"; then
5982 ac_cv_prog_AR="$AR" # Let the user override the test.
5983 else
5984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985 for as_dir in $PATH
5987 IFS=$as_save_IFS
5988 test -z "$as_dir" && as_dir=.
5989 for ac_exec_ext in '' $ac_executable_extensions; do
5990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5991 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 break 2
5995 done
5996 done
5997 IFS=$as_save_IFS
6001 AR=$ac_cv_prog_AR
6002 if test -n "$AR"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6004 $as_echo "$AR" >&6; }
6005 else
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6011 test -n "$AR" && break
6012 done
6014 if test -z "$AR"; then
6015 ac_ct_AR=$AR
6016 for ac_prog in ar gar
6018 # Extract the first word of "$ac_prog", so it can be a program name with args.
6019 set dummy $ac_prog; ac_word=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6023 $as_echo_n "(cached) " >&6
6024 else
6025 if test -n "$ac_ct_AR"; then
6026 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6027 else
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 for as_dir in $PATH
6031 IFS=$as_save_IFS
6032 test -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6035 ac_cv_prog_ac_ct_AR="$ac_prog"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 break 2
6039 done
6040 done
6041 IFS=$as_save_IFS
6045 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6046 if test -n "$ac_ct_AR"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6048 $as_echo "$ac_ct_AR" >&6; }
6049 else
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6055 test -n "$ac_ct_AR" && break
6056 done
6058 if test "x$ac_ct_AR" = x; then
6059 AR="ar"
6060 else
6061 case $cross_compiling:$ac_tool_warned in
6062 yes:)
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6065 ac_tool_warned=yes ;;
6066 esac
6067 AR=$ac_ct_AR
6071 if test -n "$ac_tool_prefix"; then
6072 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6073 set dummy ${ac_tool_prefix}strip; ac_word=$2
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075 $as_echo_n "checking for $ac_word... " >&6; }
6076 if ${ac_cv_prog_STRIP+:} false; then :
6077 $as_echo_n "(cached) " >&6
6078 else
6079 if test -n "$STRIP"; then
6080 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6081 else
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 for as_dir in $PATH
6085 IFS=$as_save_IFS
6086 test -z "$as_dir" && as_dir=.
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6091 break 2
6093 done
6094 done
6095 IFS=$as_save_IFS
6099 STRIP=$ac_cv_prog_STRIP
6100 if test -n "$STRIP"; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6102 $as_echo "$STRIP" >&6; }
6103 else
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 $as_echo "no" >&6; }
6110 if test -z "$ac_cv_prog_STRIP"; then
6111 ac_ct_STRIP=$STRIP
6112 # Extract the first word of "strip", so it can be a program name with args.
6113 set dummy strip; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$ac_ct_STRIP"; then
6120 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6129 ac_cv_prog_ac_ct_STRIP="strip"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6139 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6140 if test -n "$ac_ct_STRIP"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6142 $as_echo "$ac_ct_STRIP" >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6148 if test "x$ac_ct_STRIP" = x; then
6149 STRIP="strip"
6150 else
6151 case $cross_compiling:$ac_tool_warned in
6152 yes:)
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6155 ac_tool_warned=yes ;;
6156 esac
6157 STRIP=$ac_ct_STRIP
6159 else
6160 STRIP="$ac_cv_prog_STRIP"
6163 if test -n "$ac_tool_prefix"; then
6164 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6165 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167 $as_echo_n "checking for $ac_word... " >&6; }
6168 if ${ac_cv_prog_RANLIB+:} false; then :
6169 $as_echo_n "(cached) " >&6
6170 else
6171 if test -n "$RANLIB"; then
6172 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6173 else
6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175 for as_dir in $PATH
6177 IFS=$as_save_IFS
6178 test -z "$as_dir" && as_dir=.
6179 for ac_exec_ext in '' $ac_executable_extensions; do
6180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6181 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183 break 2
6185 done
6186 done
6187 IFS=$as_save_IFS
6191 RANLIB=$ac_cv_prog_RANLIB
6192 if test -n "$RANLIB"; then
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6194 $as_echo "$RANLIB" >&6; }
6195 else
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6197 $as_echo "no" >&6; }
6202 if test -z "$ac_cv_prog_RANLIB"; then
6203 ac_ct_RANLIB=$RANLIB
6204 # Extract the first word of "ranlib", so it can be a program name with args.
6205 set dummy ranlib; ac_word=$2
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6207 $as_echo_n "checking for $ac_word... " >&6; }
6208 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 if test -n "$ac_ct_RANLIB"; then
6212 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6213 else
6214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215 for as_dir in $PATH
6217 IFS=$as_save_IFS
6218 test -z "$as_dir" && as_dir=.
6219 for ac_exec_ext in '' $ac_executable_extensions; do
6220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6221 ac_cv_prog_ac_ct_RANLIB="ranlib"
6222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6223 break 2
6225 done
6226 done
6227 IFS=$as_save_IFS
6231 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6232 if test -n "$ac_ct_RANLIB"; then
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6234 $as_echo "$ac_ct_RANLIB" >&6; }
6235 else
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6237 $as_echo "no" >&6; }
6240 if test "x$ac_ct_RANLIB" = x; then
6241 RANLIB=":"
6242 else
6243 case $cross_compiling:$ac_tool_warned in
6244 yes:)
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6247 ac_tool_warned=yes ;;
6248 esac
6249 RANLIB=$ac_ct_RANLIB
6251 else
6252 RANLIB="$ac_cv_prog_RANLIB"
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6256 $as_echo_n "checking whether ln -s works... " >&6; }
6257 LN_S=$as_ln_s
6258 if test "$LN_S" = "ln -s"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6260 $as_echo "yes" >&6; }
6261 else
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6263 $as_echo "no, using $LN_S" >&6; }
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6267 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6268 if ${ac_cv_path_GREP+:} false; then :
6269 $as_echo_n "(cached) " >&6
6270 else
6271 if test -z "$GREP"; then
6272 ac_path_GREP_found=false
6273 # Loop through the user's path and test for each of PROGNAME-LIST
6274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6275 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6277 IFS=$as_save_IFS
6278 test -z "$as_dir" && as_dir=.
6279 for ac_prog in grep ggrep; do
6280 for ac_exec_ext in '' $ac_executable_extensions; do
6281 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6282 as_fn_executable_p "$ac_path_GREP" || continue
6283 # Check for GNU ac_path_GREP and select it if it is found.
6284 # Check for GNU $ac_path_GREP
6285 case `"$ac_path_GREP" --version 2>&1` in
6286 *GNU*)
6287 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6289 ac_count=0
6290 $as_echo_n 0123456789 >"conftest.in"
6291 while :
6293 cat "conftest.in" "conftest.in" >"conftest.tmp"
6294 mv "conftest.tmp" "conftest.in"
6295 cp "conftest.in" "conftest.nl"
6296 $as_echo 'GREP' >> "conftest.nl"
6297 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6298 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6299 as_fn_arith $ac_count + 1 && ac_count=$as_val
6300 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6301 # Best one so far, save it but keep looking for a better one
6302 ac_cv_path_GREP="$ac_path_GREP"
6303 ac_path_GREP_max=$ac_count
6305 # 10*(2^10) chars as input seems more than enough
6306 test $ac_count -gt 10 && break
6307 done
6308 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6309 esac
6311 $ac_path_GREP_found && break 3
6312 done
6313 done
6314 done
6315 IFS=$as_save_IFS
6316 if test -z "$ac_cv_path_GREP"; then
6317 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6319 else
6320 ac_cv_path_GREP=$GREP
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6325 $as_echo "$ac_cv_path_GREP" >&6; }
6326 GREP="$ac_cv_path_GREP"
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6330 $as_echo_n "checking for egrep... " >&6; }
6331 if ${ac_cv_path_EGREP+:} false; then :
6332 $as_echo_n "(cached) " >&6
6333 else
6334 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6335 then ac_cv_path_EGREP="$GREP -E"
6336 else
6337 if test -z "$EGREP"; then
6338 ac_path_EGREP_found=false
6339 # Loop through the user's path and test for each of PROGNAME-LIST
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6343 IFS=$as_save_IFS
6344 test -z "$as_dir" && as_dir=.
6345 for ac_prog in egrep; do
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6348 as_fn_executable_p "$ac_path_EGREP" || continue
6349 # Check for GNU ac_path_EGREP and select it if it is found.
6350 # Check for GNU $ac_path_EGREP
6351 case `"$ac_path_EGREP" --version 2>&1` in
6352 *GNU*)
6353 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6355 ac_count=0
6356 $as_echo_n 0123456789 >"conftest.in"
6357 while :
6359 cat "conftest.in" "conftest.in" >"conftest.tmp"
6360 mv "conftest.tmp" "conftest.in"
6361 cp "conftest.in" "conftest.nl"
6362 $as_echo 'EGREP' >> "conftest.nl"
6363 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6364 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6365 as_fn_arith $ac_count + 1 && ac_count=$as_val
6366 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6367 # Best one so far, save it but keep looking for a better one
6368 ac_cv_path_EGREP="$ac_path_EGREP"
6369 ac_path_EGREP_max=$ac_count
6371 # 10*(2^10) chars as input seems more than enough
6372 test $ac_count -gt 10 && break
6373 done
6374 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6375 esac
6377 $ac_path_EGREP_found && break 3
6378 done
6379 done
6380 done
6381 IFS=$as_save_IFS
6382 if test -z "$ac_cv_path_EGREP"; then
6383 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6385 else
6386 ac_cv_path_EGREP=$EGREP
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6392 $as_echo "$ac_cv_path_EGREP" >&6; }
6393 EGREP="$ac_cv_path_EGREP"
6396 # Extract the first word of "ldconfig", so it can be a program name with args.
6397 set dummy ldconfig; ac_word=$2
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6399 $as_echo_n "checking for $ac_word... " >&6; }
6400 if ${ac_cv_path_LDCONFIG+:} false; then :
6401 $as_echo_n "(cached) " >&6
6402 else
6403 case $LDCONFIG in
6404 [\\/]* | ?:[\\/]*)
6405 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6409 for as_dir in /sbin /usr/sbin $PATH
6411 IFS=$as_save_IFS
6412 test -z "$as_dir" && as_dir=.
6413 for ac_exec_ext in '' $ac_executable_extensions; do
6414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6415 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6417 break 2
6419 done
6420 done
6421 IFS=$as_save_IFS
6423 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6425 esac
6427 LDCONFIG=$ac_cv_path_LDCONFIG
6428 if test -n "$LDCONFIG"; then
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6430 $as_echo "$LDCONFIG" >&6; }
6431 else
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6433 $as_echo "no" >&6; }
6437 for ac_prog in msgfmt
6439 # Extract the first word of "$ac_prog", so it can be a program name with args.
6440 set dummy $ac_prog; ac_word=$2
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6442 $as_echo_n "checking for $ac_word... " >&6; }
6443 if ${ac_cv_prog_MSGFMT+:} false; then :
6444 $as_echo_n "(cached) " >&6
6445 else
6446 if test -n "$MSGFMT"; then
6447 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6448 else
6449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450 for as_dir in $PATH
6452 IFS=$as_save_IFS
6453 test -z "$as_dir" && as_dir=.
6454 for ac_exec_ext in '' $ac_executable_extensions; do
6455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6456 ac_cv_prog_MSGFMT="$ac_prog"
6457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6458 break 2
6460 done
6461 done
6462 IFS=$as_save_IFS
6466 MSGFMT=$ac_cv_prog_MSGFMT
6467 if test -n "$MSGFMT"; then
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6469 $as_echo "$MSGFMT" >&6; }
6470 else
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6472 $as_echo "no" >&6; }
6476 test -n "$MSGFMT" && break
6477 done
6478 test -n "$MSGFMT" || MSGFMT="false"
6480 if ${ac_tool_prefix+:} false; then :
6481 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6482 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6484 $as_echo_n "checking for $ac_word... " >&6; }
6485 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6486 $as_echo_n "(cached) " >&6
6487 else
6488 if test -n "$PKG_CONFIG"; then
6489 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6490 else
6491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 for as_dir in $PATH
6494 IFS=$as_save_IFS
6495 test -z "$as_dir" && as_dir=.
6496 for ac_exec_ext in '' $ac_executable_extensions; do
6497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6498 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6500 break 2
6502 done
6503 done
6504 IFS=$as_save_IFS
6508 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6509 if test -n "$PKG_CONFIG"; then
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6511 $as_echo "$PKG_CONFIG" >&6; }
6512 else
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6514 $as_echo "no" >&6; }
6519 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6520 if test "x$cross_compiling" = xyes; then :
6522 else
6523 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6524 # Extract the first word of "pkg-config", so it can be a program name with args.
6525 set dummy pkg-config; ac_word=$2
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527 $as_echo_n "checking for $ac_word... " >&6; }
6528 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6529 $as_echo_n "(cached) " >&6
6530 else
6531 if test -n "$PKG_CONFIG"; then
6532 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6533 else
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6535 for as_dir in $PATH
6537 IFS=$as_save_IFS
6538 test -z "$as_dir" && as_dir=.
6539 for ac_exec_ext in '' $ac_executable_extensions; do
6540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6541 ac_cv_prog_PKG_CONFIG="pkg-config"
6542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6543 break 2
6545 done
6546 done
6547 IFS=$as_save_IFS
6551 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6552 if test -n "$PKG_CONFIG"; then
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6554 $as_echo "$PKG_CONFIG" >&6; }
6555 else
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6557 $as_echo "no" >&6; }
6562 else
6563 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6566 if test "x$enable_maintainer_mode" != "xyes"
6567 then
6568 FONTFORGE=""
6569 RSVG=""
6570 CONVERT=""
6571 ICOTOOL=""
6572 else
6573 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6574 for ac_prog in fontforge
6576 # Extract the first word of "$ac_prog", so it can be a program name with args.
6577 set dummy $ac_prog; ac_word=$2
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579 $as_echo_n "checking for $ac_word... " >&6; }
6580 if ${ac_cv_prog_FONTFORGE+:} false; then :
6581 $as_echo_n "(cached) " >&6
6582 else
6583 if test -n "$FONTFORGE"; then
6584 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6585 else
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6587 for as_dir in $PATH
6589 IFS=$as_save_IFS
6590 test -z "$as_dir" && as_dir=.
6591 for ac_exec_ext in '' $ac_executable_extensions; do
6592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6593 ac_cv_prog_FONTFORGE="$ac_prog"
6594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6595 break 2
6597 done
6598 done
6599 IFS=$as_save_IFS
6603 FONTFORGE=$ac_cv_prog_FONTFORGE
6604 if test -n "$FONTFORGE"; then
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6606 $as_echo "$FONTFORGE" >&6; }
6607 else
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6609 $as_echo "no" >&6; }
6613 test -n "$FONTFORGE" && break
6614 done
6615 test -n "$FONTFORGE" || FONTFORGE="false"
6617 for ac_prog in rsvg-convert rsvg
6619 # Extract the first word of "$ac_prog", so it can be a program name with args.
6620 set dummy $ac_prog; ac_word=$2
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622 $as_echo_n "checking for $ac_word... " >&6; }
6623 if ${ac_cv_prog_RSVG+:} false; then :
6624 $as_echo_n "(cached) " >&6
6625 else
6626 if test -n "$RSVG"; then
6627 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6628 else
6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 for as_dir in $PATH
6632 IFS=$as_save_IFS
6633 test -z "$as_dir" && as_dir=.
6634 for ac_exec_ext in '' $ac_executable_extensions; do
6635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6636 ac_cv_prog_RSVG="$ac_prog"
6637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638 break 2
6640 done
6641 done
6642 IFS=$as_save_IFS
6646 RSVG=$ac_cv_prog_RSVG
6647 if test -n "$RSVG"; then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6649 $as_echo "$RSVG" >&6; }
6650 else
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652 $as_echo "no" >&6; }
6656 test -n "$RSVG" && break
6657 done
6658 test -n "$RSVG" || RSVG="false"
6660 for ac_prog in convert
6662 # Extract the first word of "$ac_prog", so it can be a program name with args.
6663 set dummy $ac_prog; ac_word=$2
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6665 $as_echo_n "checking for $ac_word... " >&6; }
6666 if ${ac_cv_prog_CONVERT+:} false; then :
6667 $as_echo_n "(cached) " >&6
6668 else
6669 if test -n "$CONVERT"; then
6670 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6671 else
6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673 for as_dir in $PATH
6675 IFS=$as_save_IFS
6676 test -z "$as_dir" && as_dir=.
6677 for ac_exec_ext in '' $ac_executable_extensions; do
6678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6679 ac_cv_prog_CONVERT="$ac_prog"
6680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 break 2
6683 done
6684 done
6685 IFS=$as_save_IFS
6689 CONVERT=$ac_cv_prog_CONVERT
6690 if test -n "$CONVERT"; then
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6692 $as_echo "$CONVERT" >&6; }
6693 else
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6695 $as_echo "no" >&6; }
6699 test -n "$CONVERT" && break
6700 done
6701 test -n "$CONVERT" || CONVERT="false"
6703 for ac_prog in icotool
6705 # Extract the first word of "$ac_prog", so it can be a program name with args.
6706 set dummy $ac_prog; ac_word=$2
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6708 $as_echo_n "checking for $ac_word... " >&6; }
6709 if ${ac_cv_prog_ICOTOOL+:} false; then :
6710 $as_echo_n "(cached) " >&6
6711 else
6712 if test -n "$ICOTOOL"; then
6713 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6714 else
6715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6716 for as_dir in $PATH
6718 IFS=$as_save_IFS
6719 test -z "$as_dir" && as_dir=.
6720 for ac_exec_ext in '' $ac_executable_extensions; do
6721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6722 ac_cv_prog_ICOTOOL="$ac_prog"
6723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6724 break 2
6726 done
6727 done
6728 IFS=$as_save_IFS
6732 ICOTOOL=$ac_cv_prog_ICOTOOL
6733 if test -n "$ICOTOOL"; then
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6735 $as_echo "$ICOTOOL" >&6; }
6736 else
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6738 $as_echo "no" >&6; }
6742 test -n "$ICOTOOL" && break
6743 done
6744 test -n "$ICOTOOL" || ICOTOOL="false"
6746 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6747 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6749 if test "$CONVERT" = false
6750 then
6751 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6752 else
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6754 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6755 convert_version=`convert --version | head -n1`
6756 if test "x$convert_version" != "x"
6757 then
6758 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6759 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6760 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6761 then
6762 CONVERT=false
6765 if test "$CONVERT" = false
6766 then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6768 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6769 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6770 else
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6772 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6776 if test "$ICOTOOL" = false
6777 then
6778 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6779 else
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6781 $as_echo_n "checking for recent enough icotool... " >&6; }
6782 icotool_version=`icotool --version | head -n1`
6783 if test "x$icotool_version" != "x"
6784 then
6785 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6786 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6787 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6788 then
6789 ICOTOOL=false
6790 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6793 if test "$ICOTOOL" = false
6794 then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6796 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6797 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6798 else
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6800 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6804 with_gettext=yes
6805 with_gettextpo=yes
6807 enable_werror=yes
6810 test "x$with_gettext" != xno || MSGFMT=false
6811 if test "$MSGFMT" != "false"
6812 then
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6814 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6815 if ${wine_cv_msgfmt_contexts+:} false; then :
6816 $as_echo_n "(cached) " >&6
6817 else
6818 cat >conftest.po <<EOF
6819 # comment
6820 msgctxt "ctxt"
6821 msgid "id"
6822 msgstr "str"
6824 if $MSGFMT -o /dev/null conftest.po 2>&5
6825 then
6826 wine_cv_msgfmt_contexts=yes
6827 else
6828 wine_cv_msgfmt_contexts=no
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6832 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6833 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6835 if test "$MSGFMT" = false; then :
6836 case "x$with_gettext" in
6837 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6838 xno) ;;
6839 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6840 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6841 esac
6842 enable_po=${enable_po:-no}
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6847 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6848 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6849 $as_echo_n "(cached) " >&6
6850 else
6851 ac_check_lib_save_LIBS=$LIBS
6852 LIBS="-li386 $LIBS"
6853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6854 /* end confdefs.h. */
6856 /* Override any GCC internal prototype to avoid an error.
6857 Use char because int might match the return type of a GCC
6858 builtin and then its argument prototype would still apply. */
6859 #ifdef __cplusplus
6860 extern "C"
6861 #endif
6862 char i386_set_ldt ();
6864 main ()
6866 return i386_set_ldt ();
6868 return 0;
6870 _ACEOF
6871 if ac_fn_c_try_link "$LINENO"; then :
6872 ac_cv_lib_i386_i386_set_ldt=yes
6873 else
6874 ac_cv_lib_i386_i386_set_ldt=no
6876 rm -f core conftest.err conftest.$ac_objext \
6877 conftest$ac_exeext conftest.$ac_ext
6878 LIBS=$ac_check_lib_save_LIBS
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6881 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6882 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6883 I386_LIBS="-li386"
6888 OPENGL_LIBS=""
6892 # Check whether --enable-largefile was given.
6893 if test "${enable_largefile+set}" = set; then :
6894 enableval=$enable_largefile;
6897 if test "$enable_largefile" != no; then
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6900 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6901 if ${ac_cv_sys_largefile_CC+:} false; then :
6902 $as_echo_n "(cached) " >&6
6903 else
6904 ac_cv_sys_largefile_CC=no
6905 if test "$GCC" != yes; then
6906 ac_save_CC=$CC
6907 while :; do
6908 # IRIX 6.2 and later do not support large files by default,
6909 # so use the C compiler's -n32 option if that helps.
6910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6911 /* end confdefs.h. */
6912 #include <sys/types.h>
6913 /* Check that off_t can represent 2**63 - 1 correctly.
6914 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6915 since some C++ compilers masquerading as C compilers
6916 incorrectly reject 9223372036854775807. */
6917 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6918 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6919 && LARGE_OFF_T % 2147483647 == 1)
6920 ? 1 : -1];
6922 main ()
6926 return 0;
6928 _ACEOF
6929 if ac_fn_c_try_compile "$LINENO"; then :
6930 break
6932 rm -f core conftest.err conftest.$ac_objext
6933 CC="$CC -n32"
6934 if ac_fn_c_try_compile "$LINENO"; then :
6935 ac_cv_sys_largefile_CC=' -n32'; break
6937 rm -f core conftest.err conftest.$ac_objext
6938 break
6939 done
6940 CC=$ac_save_CC
6941 rm -f conftest.$ac_ext
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6945 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6946 if test "$ac_cv_sys_largefile_CC" != no; then
6947 CC=$CC$ac_cv_sys_largefile_CC
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6951 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6952 if ${ac_cv_sys_file_offset_bits+:} false; then :
6953 $as_echo_n "(cached) " >&6
6954 else
6955 while :; do
6956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6957 /* end confdefs.h. */
6958 #include <sys/types.h>
6959 /* Check that off_t can represent 2**63 - 1 correctly.
6960 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6961 since some C++ compilers masquerading as C compilers
6962 incorrectly reject 9223372036854775807. */
6963 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6964 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6965 && LARGE_OFF_T % 2147483647 == 1)
6966 ? 1 : -1];
6968 main ()
6972 return 0;
6974 _ACEOF
6975 if ac_fn_c_try_compile "$LINENO"; then :
6976 ac_cv_sys_file_offset_bits=no; break
6978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6980 /* end confdefs.h. */
6981 #define _FILE_OFFSET_BITS 64
6982 #include <sys/types.h>
6983 /* Check that off_t can represent 2**63 - 1 correctly.
6984 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6985 since some C++ compilers masquerading as C compilers
6986 incorrectly reject 9223372036854775807. */
6987 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6988 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6989 && LARGE_OFF_T % 2147483647 == 1)
6990 ? 1 : -1];
6992 main ()
6996 return 0;
6998 _ACEOF
6999 if ac_fn_c_try_compile "$LINENO"; then :
7000 ac_cv_sys_file_offset_bits=64; break
7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7003 ac_cv_sys_file_offset_bits=unknown
7004 break
7005 done
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7008 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7009 case $ac_cv_sys_file_offset_bits in #(
7010 no | unknown) ;;
7012 cat >>confdefs.h <<_ACEOF
7013 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7014 _ACEOF
7016 esac
7017 rm -rf conftest*
7018 if test $ac_cv_sys_file_offset_bits = unknown; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7020 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7021 if ${ac_cv_sys_large_files+:} false; then :
7022 $as_echo_n "(cached) " >&6
7023 else
7024 while :; do
7025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026 /* end confdefs.h. */
7027 #include <sys/types.h>
7028 /* Check that off_t can represent 2**63 - 1 correctly.
7029 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7030 since some C++ compilers masquerading as C compilers
7031 incorrectly reject 9223372036854775807. */
7032 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7033 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7034 && LARGE_OFF_T % 2147483647 == 1)
7035 ? 1 : -1];
7037 main ()
7041 return 0;
7043 _ACEOF
7044 if ac_fn_c_try_compile "$LINENO"; then :
7045 ac_cv_sys_large_files=no; break
7047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7050 #define _LARGE_FILES 1
7051 #include <sys/types.h>
7052 /* Check that off_t can represent 2**63 - 1 correctly.
7053 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7054 since some C++ compilers masquerading as C compilers
7055 incorrectly reject 9223372036854775807. */
7056 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7057 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7058 && LARGE_OFF_T % 2147483647 == 1)
7059 ? 1 : -1];
7061 main ()
7065 return 0;
7067 _ACEOF
7068 if ac_fn_c_try_compile "$LINENO"; then :
7069 ac_cv_sys_large_files=1; break
7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7072 ac_cv_sys_large_files=unknown
7073 break
7074 done
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7077 $as_echo "$ac_cv_sys_large_files" >&6; }
7078 case $ac_cv_sys_large_files in #(
7079 no | unknown) ;;
7081 cat >>confdefs.h <<_ACEOF
7082 #define _LARGE_FILES $ac_cv_sys_large_files
7083 _ACEOF
7085 esac
7086 rm -rf conftest*
7093 ac_ext=c
7094 ac_cpp='$CPP $CPPFLAGS'
7095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7099 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7100 # On Suns, sometimes $CPP names a directory.
7101 if test -n "$CPP" && test -d "$CPP"; then
7102 CPP=
7104 if test -z "$CPP"; then
7105 if ${ac_cv_prog_CPP+:} false; then :
7106 $as_echo_n "(cached) " >&6
7107 else
7108 # Double quotes because CPP needs to be expanded
7109 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7111 ac_preproc_ok=false
7112 for ac_c_preproc_warn_flag in '' yes
7114 # Use a header file that comes with gcc, so configuring glibc
7115 # with a fresh cross-compiler works.
7116 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7117 # <limits.h> exists even on freestanding compilers.
7118 # On the NeXT, cc -E runs the code through the compiler's parser,
7119 # not just through cpp. "Syntax error" is here to catch this case.
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7122 #ifdef __STDC__
7123 # include <limits.h>
7124 #else
7125 # include <assert.h>
7126 #endif
7127 Syntax error
7128 _ACEOF
7129 if ac_fn_c_try_cpp "$LINENO"; then :
7131 else
7132 # Broken: fails on valid input.
7133 continue
7135 rm -f conftest.err conftest.i conftest.$ac_ext
7137 # OK, works on sane cases. Now check whether nonexistent headers
7138 # can be detected and how.
7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140 /* end confdefs.h. */
7141 #include <ac_nonexistent.h>
7142 _ACEOF
7143 if ac_fn_c_try_cpp "$LINENO"; then :
7144 # Broken: success on invalid input.
7145 continue
7146 else
7147 # Passes both tests.
7148 ac_preproc_ok=:
7149 break
7151 rm -f conftest.err conftest.i conftest.$ac_ext
7153 done
7154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7155 rm -f conftest.i conftest.err conftest.$ac_ext
7156 if $ac_preproc_ok; then :
7157 break
7160 done
7161 ac_cv_prog_CPP=$CPP
7164 CPP=$ac_cv_prog_CPP
7165 else
7166 ac_cv_prog_CPP=$CPP
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7169 $as_echo "$CPP" >&6; }
7170 ac_preproc_ok=false
7171 for ac_c_preproc_warn_flag in '' yes
7173 # Use a header file that comes with gcc, so configuring glibc
7174 # with a fresh cross-compiler works.
7175 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7176 # <limits.h> exists even on freestanding compilers.
7177 # On the NeXT, cc -E runs the code through the compiler's parser,
7178 # not just through cpp. "Syntax error" is here to catch this case.
7179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7180 /* end confdefs.h. */
7181 #ifdef __STDC__
7182 # include <limits.h>
7183 #else
7184 # include <assert.h>
7185 #endif
7186 Syntax error
7187 _ACEOF
7188 if ac_fn_c_try_cpp "$LINENO"; then :
7190 else
7191 # Broken: fails on valid input.
7192 continue
7194 rm -f conftest.err conftest.i conftest.$ac_ext
7196 # OK, works on sane cases. Now check whether nonexistent headers
7197 # can be detected and how.
7198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7199 /* end confdefs.h. */
7200 #include <ac_nonexistent.h>
7201 _ACEOF
7202 if ac_fn_c_try_cpp "$LINENO"; then :
7203 # Broken: success on invalid input.
7204 continue
7205 else
7206 # Passes both tests.
7207 ac_preproc_ok=:
7208 break
7210 rm -f conftest.err conftest.i conftest.$ac_ext
7212 done
7213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7214 rm -f conftest.i conftest.err conftest.$ac_ext
7215 if $ac_preproc_ok; then :
7217 else
7218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7220 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7221 See \`config.log' for more details" "$LINENO" 5; }
7224 ac_ext=c
7225 ac_cpp='$CPP $CPPFLAGS'
7226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7232 $as_echo_n "checking for ANSI C header files... " >&6; }
7233 if ${ac_cv_header_stdc+:} false; then :
7234 $as_echo_n "(cached) " >&6
7235 else
7236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7237 /* end confdefs.h. */
7238 #include <stdlib.h>
7239 #include <stdarg.h>
7240 #include <string.h>
7241 #include <float.h>
7244 main ()
7248 return 0;
7250 _ACEOF
7251 if ac_fn_c_try_compile "$LINENO"; then :
7252 ac_cv_header_stdc=yes
7253 else
7254 ac_cv_header_stdc=no
7256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7258 if test $ac_cv_header_stdc = yes; then
7259 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7262 #include <string.h>
7264 _ACEOF
7265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7266 $EGREP "memchr" >/dev/null 2>&1; then :
7268 else
7269 ac_cv_header_stdc=no
7271 rm -f conftest*
7275 if test $ac_cv_header_stdc = yes; then
7276 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7278 /* end confdefs.h. */
7279 #include <stdlib.h>
7281 _ACEOF
7282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7283 $EGREP "free" >/dev/null 2>&1; then :
7285 else
7286 ac_cv_header_stdc=no
7288 rm -f conftest*
7292 if test $ac_cv_header_stdc = yes; then
7293 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7294 if test "$cross_compiling" = yes; then :
7296 else
7297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h. */
7299 #include <ctype.h>
7300 #include <stdlib.h>
7301 #if ((' ' & 0x0FF) == 0x020)
7302 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7303 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7304 #else
7305 # define ISLOWER(c) \
7306 (('a' <= (c) && (c) <= 'i') \
7307 || ('j' <= (c) && (c) <= 'r') \
7308 || ('s' <= (c) && (c) <= 'z'))
7309 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7310 #endif
7312 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7314 main ()
7316 int i;
7317 for (i = 0; i < 256; i++)
7318 if (XOR (islower (i), ISLOWER (i))
7319 || toupper (i) != TOUPPER (i))
7320 return 2;
7321 return 0;
7323 _ACEOF
7324 if ac_fn_c_try_run "$LINENO"; then :
7326 else
7327 ac_cv_header_stdc=no
7329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7330 conftest.$ac_objext conftest.beam conftest.$ac_ext
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7336 $as_echo "$ac_cv_header_stdc" >&6; }
7337 if test $ac_cv_header_stdc = yes; then
7339 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7343 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7344 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7345 inttypes.h stdint.h unistd.h
7346 do :
7347 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7348 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7350 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7351 cat >>confdefs.h <<_ACEOF
7352 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7353 _ACEOF
7357 done
7360 for ac_header in \
7361 AL/al.h \
7362 ApplicationServices/ApplicationServices.h \
7363 AudioToolbox/AudioConverter.h \
7364 AudioUnit/AudioUnit.h \
7365 AudioUnit/AudioComponent.h \
7366 CL/cl.h \
7367 Carbon/Carbon.h \
7368 CommonCrypto/CommonCryptor.h \
7369 CoreAudio/CoreAudio.h \
7370 CoreServices/CoreServices.h \
7371 DiskArbitration/DiskArbitration.h \
7372 EGL/egl.h \
7373 IOKit/IOKitLib.h \
7374 IOKit/hid/IOHIDLib.h \
7375 OpenAL/al.h \
7376 OpenCL/opencl.h \
7377 QuickTime/ImageCompression.h \
7378 Security/Security.h \
7379 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7380 SystemConfiguration/SCNetworkConfiguration.h \
7381 alias.h \
7382 arpa/inet.h \
7383 arpa/nameser.h \
7384 asm/types.h \
7385 asm/user.h \
7386 curses.h \
7387 dirent.h \
7388 dlfcn.h \
7389 elf.h \
7390 float.h \
7391 fnmatch.h \
7392 getopt.h \
7393 gettext-po.h \
7394 grp.h \
7395 gsm.h \
7396 gsm/gsm.h \
7397 ieeefp.h \
7398 inet/mib2.h \
7399 kstat.h \
7400 libproc.h \
7401 link.h \
7402 linux/cdrom.h \
7403 linux/compiler.h \
7404 linux/filter.h \
7405 linux/hdreg.h \
7406 linux/hidraw.h \
7407 linux/input.h \
7408 linux/ioctl.h \
7409 linux/joystick.h \
7410 linux/major.h \
7411 linux/param.h \
7412 linux/serial.h \
7413 linux/types.h \
7414 linux/ucdrom.h \
7415 lwp.h \
7416 mach-o/nlist.h \
7417 mach-o/loader.h \
7418 mach/mach.h \
7419 mach/machine.h \
7420 machine/cpu.h \
7421 machine/limits.h \
7422 machine/sysarch.h \
7423 mntent.h \
7424 ncurses.h \
7425 netdb.h \
7426 netinet/in.h \
7427 netinet/in_systm.h \
7428 netinet/tcp.h \
7429 netinet/tcp_fsm.h \
7430 pcap/pcap.h \
7431 poll.h \
7432 port.h \
7433 pthread.h \
7434 pwd.h \
7435 sasl/sasl.h \
7436 sched.h \
7437 scsi/scsi.h \
7438 scsi/scsi_ioctl.h \
7439 scsi/sg.h \
7440 stdbool.h \
7441 stdint.h \
7442 stropts.h \
7443 sys/attr.h \
7444 sys/auxv.h \
7445 sys/cdio.h \
7446 sys/epoll.h \
7447 sys/event.h \
7448 sys/filio.h \
7449 sys/ioctl.h \
7450 sys/ipc.h \
7451 sys/limits.h \
7452 sys/link.h \
7453 sys/mman.h \
7454 sys/modem.h \
7455 sys/msg.h \
7456 sys/mtio.h \
7457 sys/param.h \
7458 sys/poll.h \
7459 sys/prctl.h \
7460 sys/protosw.h \
7461 sys/ptrace.h \
7462 sys/queue.h \
7463 sys/resource.h \
7464 sys/scsiio.h \
7465 sys/shm.h \
7466 sys/signal.h \
7467 sys/socket.h \
7468 sys/socketvar.h \
7469 sys/sockio.h \
7470 sys/statvfs.h \
7471 sys/strtio.h \
7472 sys/syscall.h \
7473 sys/sysinfo.h \
7474 sys/tihdr.h \
7475 sys/time.h \
7476 sys/timeout.h \
7477 sys/times.h \
7478 sys/uio.h \
7479 sys/user.h \
7480 sys/utsname.h \
7481 sys/vnode.h \
7482 sys/wait.h \
7483 syscall.h \
7484 termios.h \
7485 unistd.h \
7486 utime.h \
7487 valgrind/memcheck.h \
7488 valgrind/valgrind.h
7490 do :
7491 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7492 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7493 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7494 cat >>confdefs.h <<_ACEOF
7495 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7496 _ACEOF
7500 done
7502 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7503 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7505 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7510 if test $ac_cv_header_sys_mkdev_h = no; then
7511 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7512 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7514 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7521 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7522 if ${ac_cv_header_stat_broken+:} false; then :
7523 $as_echo_n "(cached) " >&6
7524 else
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7527 #include <sys/types.h>
7528 #include <sys/stat.h>
7530 #if defined S_ISBLK && defined S_IFDIR
7531 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7532 #endif
7534 #if defined S_ISBLK && defined S_IFCHR
7535 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7536 #endif
7538 #if defined S_ISLNK && defined S_IFREG
7539 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7540 #endif
7542 #if defined S_ISSOCK && defined S_IFREG
7543 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7544 #endif
7546 _ACEOF
7547 if ac_fn_c_try_compile "$LINENO"; then :
7548 ac_cv_header_stat_broken=no
7549 else
7550 ac_cv_header_stat_broken=yes
7552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7555 $as_echo "$ac_cv_header_stat_broken" >&6; }
7556 if test $ac_cv_header_stat_broken = yes; then
7558 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7564 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7565 do :
7566 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7567 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7568 #ifdef HAVE_SYS_PARAM_H
7569 # include <sys/param.h>
7570 #endif
7572 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7573 cat >>confdefs.h <<_ACEOF
7574 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7575 _ACEOF
7579 done
7582 saved_sysctl_h_CFLAGS=$CFLAGS
7583 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7584 for ac_header in sys/sysctl.h
7585 do :
7586 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7587 #ifdef HAVE_SYS_PARAM_H
7588 # include <sys/param.h>
7589 #endif
7591 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7592 cat >>confdefs.h <<_ACEOF
7593 #define HAVE_SYS_SYSCTL_H 1
7594 _ACEOF
7598 done
7600 CFLAGS=$saved_sysctl_h_CFLAGS
7602 for ac_header in \
7603 netinet/ip.h \
7604 net/if.h \
7605 net/if_arp.h \
7606 net/if_dl.h \
7607 net/if_types.h \
7608 net/route.h \
7609 netinet/if_ether.h \
7610 netinet/if_inarp.h \
7611 netinet/in_pcb.h \
7612 netinet/ip_icmp.h \
7613 netinet/ip_var.h \
7614 netinet/udp.h \
7615 netipx/ipx.h \
7616 sys/un.h \
7618 do :
7619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7620 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7621 #ifdef HAVE_SYS_SOCKET_H
7622 # include <sys/socket.h>
7623 #endif
7624 #ifdef HAVE_SYS_SOCKETVAR_H
7625 # include <sys/socketvar.h>
7626 #endif
7627 #ifdef HAVE_NET_ROUTE_H
7628 # include <net/route.h>
7629 #endif
7630 #ifdef HAVE_NETINET_IN_H
7631 # include <netinet/in.h>
7632 #endif
7633 #ifdef HAVE_NETINET_IN_SYSTM_H
7634 # include <netinet/in_systm.h>
7635 #endif
7636 #ifdef HAVE_NET_IF_H
7637 # include <net/if.h>
7638 #endif
7639 #ifdef HAVE_NETINET_IP_H
7640 # include <netinet/ip.h>
7641 #endif
7643 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7644 cat >>confdefs.h <<_ACEOF
7645 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7646 _ACEOF
7650 done
7653 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7654 do :
7655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7656 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7657 #ifdef HAVE_ALIAS_H
7658 # include <alias.h>
7659 #endif
7660 #ifdef HAVE_SYS_SOCKET_H
7661 # include <sys/socket.h>
7662 #endif
7663 #ifdef HAVE_SYS_SOCKETVAR_H
7664 # include <sys/socketvar.h>
7665 #endif
7666 #ifdef HAVE_SYS_TIMEOUT_H
7667 # include <sys/timeout.h>
7668 #endif
7669 #ifdef HAVE_NETINET_IN_H
7670 # include <netinet/in.h>
7671 #endif
7672 #ifdef HAVE_NETINET_IN_SYSTM_H
7673 # include <netinet/in_systm.h>
7674 #endif
7675 #ifdef HAVE_NETINET_IP_H
7676 # include <netinet/ip.h>
7677 #endif
7678 #ifdef HAVE_NETINET_IP_VAR_H
7679 # include <netinet/ip_var.h>
7680 #endif
7681 #ifdef HAVE_NETINET_IP_ICMP_H
7682 # include <netinet/ip_icmp.h>
7683 #endif
7684 #ifdef HAVE_NETINET_UDP_H
7685 # include <netinet/udp.h>
7686 #endif
7687 #ifdef HAVE_NETINET_TCP_H
7688 # include <netinet/tcp.h>
7689 #endif
7690 #ifdef HAVE_NETINET_TCP_TIMER_H
7691 #include <netinet/tcp_timer.h>
7692 #endif
7694 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7695 cat >>confdefs.h <<_ACEOF
7696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7697 _ACEOF
7701 done
7704 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7705 do :
7706 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7707 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7708 #ifdef HAVE_ASM_TYPES_H
7709 # include <asm/types.h>
7710 #endif
7711 #ifdef HAVE_SYS_SOCKET_H
7712 # include <sys/socket.h>
7713 #endif
7714 #ifdef HAVE_LINUX_TYPES_H
7715 # include <linux/types.h>
7716 #endif
7718 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7719 cat >>confdefs.h <<_ACEOF
7720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7721 _ACEOF
7725 done
7728 for ac_header in resolv.h
7729 do :
7730 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7731 #ifdef HAVE_SYS_SOCKET_H
7732 # include <sys/socket.h>
7733 #endif
7734 #ifdef HAVE_NETINET_IN_H
7735 # include <netinet/in.h>
7736 #endif
7737 #ifdef HAVE_ARPA_NAMESER_H
7738 # include <arpa/nameser.h>
7739 #endif
7741 if test "x$ac_cv_header_resolv_h" = xyes; then :
7742 cat >>confdefs.h <<_ACEOF
7743 #define HAVE_RESOLV_H 1
7744 _ACEOF
7748 done
7751 for ac_header in ifaddrs.h
7752 do :
7753 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7755 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7756 cat >>confdefs.h <<_ACEOF
7757 #define HAVE_IFADDRS_H 1
7758 _ACEOF
7762 done
7765 for ac_header in sys/ucontext.h
7766 do :
7767 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7769 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7770 cat >>confdefs.h <<_ACEOF
7771 #define HAVE_SYS_UCONTEXT_H 1
7772 _ACEOF
7776 done
7779 for ac_header in sys/thr.h
7780 do :
7781 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7782 #ifdef HAVE_SYS_UCONTEXT_H
7783 #include <sys/ucontext.h>
7784 #endif
7786 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7787 cat >>confdefs.h <<_ACEOF
7788 #define HAVE_SYS_THR_H 1
7789 _ACEOF
7793 done
7796 for ac_header in pthread_np.h
7797 do :
7798 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7799 #include <pthread.h>
7800 #endif
7802 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7803 cat >>confdefs.h <<_ACEOF
7804 #define HAVE_PTHREAD_NP_H 1
7805 _ACEOF
7809 done
7812 for ac_header in linux/videodev2.h
7813 do :
7814 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7815 #include <sys/time.h>
7816 #endif
7817 #include <sys/types.h>
7818 #ifdef HAVE_ASM_TYPES_H
7819 #include <asm/types.h>
7820 #endif
7822 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7823 cat >>confdefs.h <<_ACEOF
7824 #define HAVE_LINUX_VIDEODEV2_H 1
7825 _ACEOF
7829 done
7832 for ac_header in libprocstat.h
7833 do :
7834 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7835 #include <sys/param.h>
7836 #endif
7837 #ifdef HAVE_SYS_QUEUE_H
7838 #include <sys/queue.h>
7839 #endif
7840 #ifdef HAVE_SYS_SOCKET_H
7841 #include <sys/socket.h>
7842 #endif
7844 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7845 cat >>confdefs.h <<_ACEOF
7846 #define HAVE_LIBPROCSTAT_H 1
7847 _ACEOF
7851 done
7855 DLLFLAGS="-D_REENTRANT"
7857 LDRPATH_INSTALL=""
7859 LDRPATH_LOCAL=""
7861 LDDLLFLAGS=""
7863 LDEXECFLAGS=""
7865 TOP_INSTALL_LIB=""
7867 TOP_INSTALL_DEV=""
7869 WINELOADER_LDFLAGS=""
7871 WINEPRELOADER_LDFLAGS=""
7873 LIBEXT="so"
7874 DLLEXT=".so"
7875 # Extract the first word of "ldd", so it can be a program name with args.
7876 set dummy ldd; ac_word=$2
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7878 $as_echo_n "checking for $ac_word... " >&6; }
7879 if ${ac_cv_path_LDD+:} false; then :
7880 $as_echo_n "(cached) " >&6
7881 else
7882 case $LDD in
7883 [\\/]* | ?:[\\/]*)
7884 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7888 as_dummy="/sbin:/usr/sbin:$PATH"
7889 for as_dir in $as_dummy
7891 IFS=$as_save_IFS
7892 test -z "$as_dir" && as_dir=.
7893 for ac_exec_ext in '' $ac_executable_extensions; do
7894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7895 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7897 break 2
7899 done
7900 done
7901 IFS=$as_save_IFS
7903 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7905 esac
7907 LDD=$ac_cv_path_LDD
7908 if test -n "$LDD"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7910 $as_echo "$LDD" >&6; }
7911 else
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7913 $as_echo "no" >&6; }
7917 if test -n "$ac_tool_prefix"; then
7918 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7919 set dummy ${ac_tool_prefix}otool; ac_word=$2
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7921 $as_echo_n "checking for $ac_word... " >&6; }
7922 if ${ac_cv_prog_OTOOL+:} false; then :
7923 $as_echo_n "(cached) " >&6
7924 else
7925 if test -n "$OTOOL"; then
7926 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7927 else
7928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7929 for as_dir in $PATH
7931 IFS=$as_save_IFS
7932 test -z "$as_dir" && as_dir=.
7933 for ac_exec_ext in '' $ac_executable_extensions; do
7934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7935 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7937 break 2
7939 done
7940 done
7941 IFS=$as_save_IFS
7945 OTOOL=$ac_cv_prog_OTOOL
7946 if test -n "$OTOOL"; then
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7948 $as_echo "$OTOOL" >&6; }
7949 else
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7951 $as_echo "no" >&6; }
7956 if test -z "$ac_cv_prog_OTOOL"; then
7957 ac_ct_OTOOL=$OTOOL
7958 # Extract the first word of "otool", so it can be a program name with args.
7959 set dummy otool; ac_word=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7961 $as_echo_n "checking for $ac_word... " >&6; }
7962 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7963 $as_echo_n "(cached) " >&6
7964 else
7965 if test -n "$ac_ct_OTOOL"; then
7966 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7967 else
7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7969 for as_dir in $PATH
7971 IFS=$as_save_IFS
7972 test -z "$as_dir" && as_dir=.
7973 for ac_exec_ext in '' $ac_executable_extensions; do
7974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7975 ac_cv_prog_ac_ct_OTOOL="otool"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7977 break 2
7979 done
7980 done
7981 IFS=$as_save_IFS
7985 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7986 if test -n "$ac_ct_OTOOL"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7988 $as_echo "$ac_ct_OTOOL" >&6; }
7989 else
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7994 if test "x$ac_ct_OTOOL" = x; then
7995 OTOOL="otool"
7996 else
7997 case $cross_compiling:$ac_tool_warned in
7998 yes:)
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8001 ac_tool_warned=yes ;;
8002 esac
8003 OTOOL=$ac_ct_OTOOL
8005 else
8006 OTOOL="$ac_cv_prog_OTOOL"
8009 if test -n "$ac_tool_prefix"; then
8010 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8011 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013 $as_echo_n "checking for $ac_word... " >&6; }
8014 if ${ac_cv_prog_READELF+:} false; then :
8015 $as_echo_n "(cached) " >&6
8016 else
8017 if test -n "$READELF"; then
8018 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8019 else
8020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8021 for as_dir in $PATH
8023 IFS=$as_save_IFS
8024 test -z "$as_dir" && as_dir=.
8025 for ac_exec_ext in '' $ac_executable_extensions; do
8026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8027 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8029 break 2
8031 done
8032 done
8033 IFS=$as_save_IFS
8037 READELF=$ac_cv_prog_READELF
8038 if test -n "$READELF"; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8040 $as_echo "$READELF" >&6; }
8041 else
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043 $as_echo "no" >&6; }
8048 if test -z "$ac_cv_prog_READELF"; then
8049 ac_ct_READELF=$READELF
8050 # Extract the first word of "readelf", so it can be a program name with args.
8051 set dummy readelf; ac_word=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053 $as_echo_n "checking for $ac_word... " >&6; }
8054 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8055 $as_echo_n "(cached) " >&6
8056 else
8057 if test -n "$ac_ct_READELF"; then
8058 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8059 else
8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061 for as_dir in $PATH
8063 IFS=$as_save_IFS
8064 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8067 ac_cv_prog_ac_ct_READELF="readelf"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 break 2
8071 done
8072 done
8073 IFS=$as_save_IFS
8077 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8078 if test -n "$ac_ct_READELF"; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8080 $as_echo "$ac_ct_READELF" >&6; }
8081 else
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083 $as_echo "no" >&6; }
8086 if test "x$ac_ct_READELF" = x; then
8087 READELF="true"
8088 else
8089 case $cross_compiling:$ac_tool_warned in
8090 yes:)
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8093 ac_tool_warned=yes ;;
8094 esac
8095 READELF=$ac_ct_READELF
8097 else
8098 READELF="$ac_cv_prog_READELF"
8101 wine_rules_file=conf$$rules.make
8102 rm -f $wine_rules_file
8103 SUBDIRS=""
8105 DISABLED_SUBDIRS=""
8107 CONFIGURE_TARGETS=""
8110 wine_fn_append_file ()
8112 as_fn_append $1 " \\$as_nl $2"
8115 wine_fn_append_rule ()
8117 $as_echo "$1" >>$wine_rules_file
8120 wine_fn_config_makefile ()
8122 wine_fn_append_file SUBDIRS $1
8123 if eval test \"x\$"$2"\" = x"no"; then :
8124 wine_fn_append_file DISABLED_SUBDIRS $1
8128 wine_fn_config_symlink ()
8130 ac_links=$@
8131 wine_fn_append_rule \
8132 "$ac_links:
8133 @./config.status \$@"
8134 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8137 wine_binary="wine"
8138 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8139 WINELOADER_PROGRAMS="$wine_binary"
8141 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8143 case $host_os in
8144 cygwin*|mingw32*)
8145 if test -n "$ac_tool_prefix"; then
8146 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8147 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8149 $as_echo_n "checking for $ac_word... " >&6; }
8150 if ${ac_cv_prog_DLLTOOL+:} false; then :
8151 $as_echo_n "(cached) " >&6
8152 else
8153 if test -n "$DLLTOOL"; then
8154 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8155 else
8156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8157 for as_dir in $PATH
8159 IFS=$as_save_IFS
8160 test -z "$as_dir" && as_dir=.
8161 for ac_exec_ext in '' $ac_executable_extensions; do
8162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8163 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8165 break 2
8167 done
8168 done
8169 IFS=$as_save_IFS
8173 DLLTOOL=$ac_cv_prog_DLLTOOL
8174 if test -n "$DLLTOOL"; then
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8176 $as_echo "$DLLTOOL" >&6; }
8177 else
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8179 $as_echo "no" >&6; }
8184 if test -z "$ac_cv_prog_DLLTOOL"; then
8185 ac_ct_DLLTOOL=$DLLTOOL
8186 # Extract the first word of "dlltool", so it can be a program name with args.
8187 set dummy dlltool; ac_word=$2
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8189 $as_echo_n "checking for $ac_word... " >&6; }
8190 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8191 $as_echo_n "(cached) " >&6
8192 else
8193 if test -n "$ac_ct_DLLTOOL"; then
8194 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8195 else
8196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8197 for as_dir in $PATH
8199 IFS=$as_save_IFS
8200 test -z "$as_dir" && as_dir=.
8201 for ac_exec_ext in '' $ac_executable_extensions; do
8202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8203 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8205 break 2
8207 done
8208 done
8209 IFS=$as_save_IFS
8213 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8214 if test -n "$ac_ct_DLLTOOL"; then
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8216 $as_echo "$ac_ct_DLLTOOL" >&6; }
8217 else
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8219 $as_echo "no" >&6; }
8222 if test "x$ac_ct_DLLTOOL" = x; then
8223 DLLTOOL="false"
8224 else
8225 case $cross_compiling:$ac_tool_warned in
8226 yes:)
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8229 ac_tool_warned=yes ;;
8230 esac
8231 DLLTOOL=$ac_ct_DLLTOOL
8233 else
8234 DLLTOOL="$ac_cv_prog_DLLTOOL"
8237 LIBEXT="dll"
8238 DLLEXT=""
8239 case $host_cpu in
8240 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8241 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8242 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8243 $as_echo_n "(cached) " >&6
8244 else
8245 ac_wine_try_cflags_saved=$CFLAGS
8246 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 int main(int argc, char **argv) { return 0; }
8250 _ACEOF
8251 if ac_fn_c_try_link "$LINENO"; then :
8252 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8253 else
8254 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8256 rm -f core conftest.err conftest.$ac_objext \
8257 conftest$ac_exeext conftest.$ac_ext
8258 CFLAGS=$ac_wine_try_cflags_saved
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8261 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8262 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8263 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8264 fi ;;
8265 esac
8266 enable_iphlpapi=${enable_iphlpapi:-no}
8267 enable_kernel32=${enable_kernel32:-no}
8268 enable_ntdll=${enable_ntdll:-no}
8269 enable_ws2_32=${enable_ws2_32:-no}
8270 enable_loader=${enable_loader:-no}
8271 enable_server=${enable_server:-no}
8272 with_x=${with_x:-no}
8273 with_pthread=${with_pthread:-no}
8276 darwin*|macosx*)
8277 ac_ext=m
8278 ac_cpp='$OBJCPP $CPPFLAGS'
8279 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8280 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8281 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8283 ac_ext=m
8284 ac_cpp='$OBJCPP $CPPFLAGS'
8285 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8286 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8287 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8288 if test -n "$ac_tool_prefix"; then
8289 for ac_prog in gcc objcc objc cc CC
8291 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8292 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8294 $as_echo_n "checking for $ac_word... " >&6; }
8295 if ${ac_cv_prog_OBJC+:} false; then :
8296 $as_echo_n "(cached) " >&6
8297 else
8298 if test -n "$OBJC"; then
8299 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8300 else
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8302 for as_dir in $PATH
8304 IFS=$as_save_IFS
8305 test -z "$as_dir" && as_dir=.
8306 for ac_exec_ext in '' $ac_executable_extensions; do
8307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8308 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8310 break 2
8312 done
8313 done
8314 IFS=$as_save_IFS
8318 OBJC=$ac_cv_prog_OBJC
8319 if test -n "$OBJC"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8321 $as_echo "$OBJC" >&6; }
8322 else
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324 $as_echo "no" >&6; }
8328 test -n "$OBJC" && break
8329 done
8331 if test -z "$OBJC"; then
8332 ac_ct_OBJC=$OBJC
8333 for ac_prog in gcc objcc objc cc CC
8335 # Extract the first word of "$ac_prog", so it can be a program name with args.
8336 set dummy $ac_prog; ac_word=$2
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8338 $as_echo_n "checking for $ac_word... " >&6; }
8339 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8340 $as_echo_n "(cached) " >&6
8341 else
8342 if test -n "$ac_ct_OBJC"; then
8343 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8344 else
8345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8346 for as_dir in $PATH
8348 IFS=$as_save_IFS
8349 test -z "$as_dir" && as_dir=.
8350 for ac_exec_ext in '' $ac_executable_extensions; do
8351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8352 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8354 break 2
8356 done
8357 done
8358 IFS=$as_save_IFS
8362 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8363 if test -n "$ac_ct_OBJC"; then
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8365 $as_echo "$ac_ct_OBJC" >&6; }
8366 else
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8368 $as_echo "no" >&6; }
8372 test -n "$ac_ct_OBJC" && break
8373 done
8375 if test "x$ac_ct_OBJC" = x; then
8376 OBJC="gcc"
8377 else
8378 case $cross_compiling:$ac_tool_warned in
8379 yes:)
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8382 ac_tool_warned=yes ;;
8383 esac
8384 OBJC=$ac_ct_OBJC
8388 # Provide some information about the compiler.
8389 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8390 set X $ac_compile
8391 ac_compiler=$2
8392 for ac_option in --version -v -V -qversion; do
8393 { { ac_try="$ac_compiler $ac_option >&5"
8394 case "(($ac_try" in
8395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8396 *) ac_try_echo=$ac_try;;
8397 esac
8398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8399 $as_echo "$ac_try_echo"; } >&5
8400 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8401 ac_status=$?
8402 if test -s conftest.err; then
8403 sed '10a\
8404 ... rest of stderr output deleted ...
8405 10q' conftest.err >conftest.er1
8406 cat conftest.er1 >&5
8408 rm -f conftest.er1 conftest.err
8409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8410 test $ac_status = 0; }
8411 done
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8414 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8415 if ${ac_cv_objc_compiler_gnu+:} false; then :
8416 $as_echo_n "(cached) " >&6
8417 else
8418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8419 /* end confdefs.h. */
8422 main ()
8424 #ifndef __GNUC__
8425 choke me
8426 #endif
8429 return 0;
8431 _ACEOF
8432 if ac_fn_objc_try_compile "$LINENO"; then :
8433 ac_compiler_gnu=yes
8434 else
8435 ac_compiler_gnu=no
8437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8438 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8442 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8443 if test $ac_compiler_gnu = yes; then
8444 GOBJC=yes
8445 else
8446 GOBJC=
8448 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8449 ac_save_OBJCFLAGS=$OBJCFLAGS
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8451 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8452 if ${ac_cv_prog_objc_g+:} false; then :
8453 $as_echo_n "(cached) " >&6
8454 else
8455 ac_save_objc_werror_flag=$ac_objc_werror_flag
8456 ac_objc_werror_flag=yes
8457 ac_cv_prog_objc_g=no
8458 OBJCFLAGS="-g"
8459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8463 main ()
8467 return 0;
8469 _ACEOF
8470 if ac_fn_objc_try_compile "$LINENO"; then :
8471 ac_cv_prog_objc_g=yes
8472 else
8473 OBJCFLAGS=""
8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */
8478 main ()
8482 return 0;
8484 _ACEOF
8485 if ac_fn_objc_try_compile "$LINENO"; then :
8487 else
8488 ac_objc_werror_flag=$ac_save_objc_werror_flag
8489 OBJCFLAGS="-g"
8490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8494 main ()
8498 return 0;
8500 _ACEOF
8501 if ac_fn_objc_try_compile "$LINENO"; then :
8502 ac_cv_prog_objc_g=yes
8504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8509 ac_objc_werror_flag=$ac_save_objc_werror_flag
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8512 $as_echo "$ac_cv_prog_objc_g" >&6; }
8513 if test "$ac_test_OBJCFLAGS" = set; then
8514 OBJCFLAGS=$ac_save_OBJCFLAGS
8515 elif test $ac_cv_prog_objc_g = yes; then
8516 if test "$GOBJC" = yes; then
8517 OBJCFLAGS="-g -O2"
8518 else
8519 OBJCFLAGS="-g"
8521 else
8522 if test "$GOBJC" = yes; then
8523 OBJCFLAGS="-O2"
8524 else
8525 OBJCFLAGS=
8528 ac_ext=m
8529 ac_cpp='$OBJCPP $CPPFLAGS'
8530 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8531 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8532 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8535 ac_ext=m
8536 ac_cpp='$OBJCPP $CPPFLAGS'
8537 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8538 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8539 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8541 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8542 if test -z "$OBJCPP"; then
8543 if ${ac_cv_prog_OBJCPP+:} false; then :
8544 $as_echo_n "(cached) " >&6
8545 else
8546 # Double quotes because OBJCPP needs to be expanded
8547 for OBJCPP in "$OBJC -E" "/lib/cpp"
8549 ac_preproc_ok=false
8550 for ac_objc_preproc_warn_flag in '' yes
8552 # Use a header file that comes with gcc, so configuring glibc
8553 # with a fresh cross-compiler works.
8554 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8555 # <limits.h> exists even on freestanding compilers.
8556 # On the NeXT, cc -E runs the code through the compiler's parser,
8557 # not just through cpp. "Syntax error" is here to catch this case.
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 #ifdef __STDC__
8561 # include <limits.h>
8562 #else
8563 # include <assert.h>
8564 #endif
8565 Syntax error
8566 _ACEOF
8567 if ac_fn_objc_try_cpp "$LINENO"; then :
8569 else
8570 # Broken: fails on valid input.
8571 continue
8573 rm -f conftest.err conftest.i conftest.$ac_ext
8575 # OK, works on sane cases. Now check whether nonexistent headers
8576 # can be detected and how.
8577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8579 #include <ac_nonexistent.h>
8580 _ACEOF
8581 if ac_fn_objc_try_cpp "$LINENO"; then :
8582 # Broken: success on invalid input.
8583 continue
8584 else
8585 # Passes both tests.
8586 ac_preproc_ok=:
8587 break
8589 rm -f conftest.err conftest.i conftest.$ac_ext
8591 done
8592 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8593 rm -f conftest.i conftest.err conftest.$ac_ext
8594 if $ac_preproc_ok; then :
8595 break
8598 done
8599 ac_cv_prog_OBJCPP=$OBJCPP
8602 OBJCPP=$ac_cv_prog_OBJCPP
8603 else
8604 ac_cv_prog_OBJCPP=$OBJCPP
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8607 $as_echo "$OBJCPP" >&6; }
8608 ac_preproc_ok=false
8609 for ac_objc_preproc_warn_flag in '' yes
8611 # Use a header file that comes with gcc, so configuring glibc
8612 # with a fresh cross-compiler works.
8613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8614 # <limits.h> exists even on freestanding compilers.
8615 # On the NeXT, cc -E runs the code through the compiler's parser,
8616 # not just through cpp. "Syntax error" is here to catch this case.
8617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8618 /* end confdefs.h. */
8619 #ifdef __STDC__
8620 # include <limits.h>
8621 #else
8622 # include <assert.h>
8623 #endif
8624 Syntax error
8625 _ACEOF
8626 if ac_fn_objc_try_cpp "$LINENO"; then :
8628 else
8629 # Broken: fails on valid input.
8630 continue
8632 rm -f conftest.err conftest.i conftest.$ac_ext
8634 # OK, works on sane cases. Now check whether nonexistent headers
8635 # can be detected and how.
8636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8637 /* end confdefs.h. */
8638 #include <ac_nonexistent.h>
8639 _ACEOF
8640 if ac_fn_objc_try_cpp "$LINENO"; then :
8641 # Broken: success on invalid input.
8642 continue
8643 else
8644 # Passes both tests.
8645 ac_preproc_ok=:
8646 break
8648 rm -f conftest.err conftest.i conftest.$ac_ext
8650 done
8651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8652 rm -f conftest.i conftest.err conftest.$ac_ext
8653 if $ac_preproc_ok; then :
8655 else
8656 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8658 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8659 See \`config.log' for more details" "$LINENO" 5; }
8662 ac_ext=m
8663 ac_cpp='$OBJCPP $CPPFLAGS'
8664 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8665 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8666 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8669 for ac_header in Metal/Metal.h
8670 do :
8671 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8672 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8673 cat >>confdefs.h <<_ACEOF
8674 #define HAVE_METAL_METAL_H 1
8675 _ACEOF
8679 done
8681 ac_ext=c
8682 ac_cpp='$CPP $CPPFLAGS'
8683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8687 LIBEXT="dylib"
8688 DLLFLAGS="$DLLFLAGS -fPIC"
8689 LDDLLFLAGS="-fPIC"
8690 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8691 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8692 COREFOUNDATION_LIBS="-framework CoreFoundation"
8694 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8696 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8698 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8700 CORESERVICES_LIBS="-framework CoreServices"
8702 APPKIT_LIBS="-framework AppKit"
8704 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8707 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8709 wine_can_build_preloader=yes
8710 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8712 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8713 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8714 $as_echo_n "(cached) " >&6
8715 else
8716 ac_wine_try_cflags_saved=$CFLAGS
8717 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8720 int main(int argc, char **argv) { return 0; }
8721 _ACEOF
8722 if ac_fn_c_try_link "$LINENO"; then :
8723 ac_cv_cflags__Wl__no_new_main__e__main=yes
8724 else
8725 ac_cv_cflags__Wl__no_new_main__e__main=no
8727 rm -f core conftest.err conftest.$ac_objext \
8728 conftest$ac_exeext conftest.$ac_ext
8729 CFLAGS=$ac_wine_try_cflags_saved
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8732 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8733 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8734 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8736 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8737 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8738 $as_echo_n "(cached) " >&6
8739 else
8740 ac_wine_try_cflags_saved=$CFLAGS
8741 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8744 int main(int argc, char **argv) { return 0; }
8745 _ACEOF
8746 if ac_fn_c_try_link "$LINENO"; then :
8747 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8748 else
8749 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8751 rm -f core conftest.err conftest.$ac_objext \
8752 conftest$ac_exeext conftest.$ac_ext
8753 CFLAGS=$ac_wine_try_cflags_saved
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8756 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8757 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8758 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8759 else
8760 { $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
8761 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8762 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8763 $as_echo_n "(cached) " >&6
8764 else
8765 ac_wine_try_cflags_saved=$CFLAGS
8766 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8768 /* end confdefs.h. */
8769 int main(int argc, char **argv) { return 0; }
8770 _ACEOF
8771 if ac_fn_c_try_link "$LINENO"; then :
8772 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8773 else
8774 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8776 rm -f core conftest.err conftest.$ac_objext \
8777 conftest$ac_exeext conftest.$ac_ext
8778 CFLAGS=$ac_wine_try_cflags_saved
8780 { $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
8781 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8782 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8783 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8784 else
8785 wine_can_build_preloader=no
8788 else
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8790 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8791 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8792 $as_echo_n "(cached) " >&6
8793 else
8794 ac_wine_try_cflags_saved=$CFLAGS
8795 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h. */
8798 int main(int argc, char **argv) { return 0; }
8799 _ACEOF
8800 if ac_fn_c_try_link "$LINENO"; then :
8801 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8802 else
8803 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8805 rm -f core conftest.err conftest.$ac_objext \
8806 conftest$ac_exeext conftest.$ac_ext
8807 CFLAGS=$ac_wine_try_cflags_saved
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8810 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8811 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8812 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8813 else
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8815 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8816 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8817 $as_echo_n "(cached) " >&6
8818 else
8819 ac_wine_try_cflags_saved=$CFLAGS
8820 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 /* end confdefs.h. */
8823 int main(int argc, char **argv) { return 0; }
8824 _ACEOF
8825 if ac_fn_c_try_link "$LINENO"; then :
8826 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8827 else
8828 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8830 rm -f core conftest.err conftest.$ac_objext \
8831 conftest$ac_exeext conftest.$ac_ext
8832 CFLAGS=$ac_wine_try_cflags_saved
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8835 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8836 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8837 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8838 else
8839 wine_can_build_preloader=no
8843 if test "$wine_can_build_preloader" = "yes"
8844 then
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8846 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8847 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8848 $as_echo_n "(cached) " >&6
8849 else
8850 ac_wine_try_cflags_saved=$CFLAGS
8851 CFLAGS="$CFLAGS -Wl,-no_pie"
8852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8853 /* end confdefs.h. */
8854 int main(int argc, char **argv) { return 0; }
8855 _ACEOF
8856 if ac_fn_c_try_link "$LINENO"; then :
8857 ac_cv_cflags__Wl__no_pie=yes
8858 else
8859 ac_cv_cflags__Wl__no_pie=no
8861 rm -f core conftest.err conftest.$ac_objext \
8862 conftest$ac_exeext conftest.$ac_ext
8863 CFLAGS=$ac_wine_try_cflags_saved
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8866 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8867 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8868 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8870 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8871 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8872 else
8873 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8876 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8877 then
8878 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8881 if test "$ac_cv_header_Security_Security_h" = "yes"
8882 then
8883 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8885 ac_save_LIBS="$LIBS"
8886 LIBS="$LIBS $SECURITY_LIBS"
8887 for ac_func in SSLCopyPeerCertificates
8888 do :
8889 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8890 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8891 cat >>confdefs.h <<_ACEOF
8892 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8893 _ACEOF
8896 done
8898 LIBS="$ac_save_LIBS"
8900 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8901 then
8902 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8903 then
8904 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8906 else
8907 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8910 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8911 ac_save_LIBS="$LIBS"
8912 LIBS="$LIBS $COREAUDIO_LIBS"
8913 for ac_func in AUGraphAddNode
8914 do :
8915 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8916 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8917 cat >>confdefs.h <<_ACEOF
8918 #define HAVE_AUGRAPHADDNODE 1
8919 _ACEOF
8922 done
8924 LIBS="$ac_save_LIBS"
8926 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8927 then
8928 OPENAL_LIBS="-framework OpenAL"
8931 cat >>confdefs.h <<_ACEOF
8932 #define HAVE_OPENAL 1
8933 _ACEOF
8935 ac_cv_lib_openal=yes
8937 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8938 then
8939 OPENCL_LIBS="-framework OpenCL"
8941 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8943 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8944 then
8945 ac_save_LIBS="$LIBS"
8946 LIBS="$LIBS $IOKIT_LIBS"
8947 for ac_func in IOHIDManagerCreate
8948 do :
8949 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8950 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8951 cat >>confdefs.h <<_ACEOF
8952 #define HAVE_IOHIDMANAGERCREATE 1
8953 _ACEOF
8956 done
8958 LIBS="$ac_save_LIBS"
8960 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8961 then
8962 ac_save_LIBS="$LIBS"
8963 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8965 $as_echo_n "checking for the QuickTime framework... " >&6; }
8966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8967 /* end confdefs.h. */
8968 #include <QuickTime/ImageCompression.h>
8970 main ()
8972 CodecManagerVersion(NULL);
8974 return 0;
8976 _ACEOF
8977 if ac_fn_c_try_link "$LINENO"; then :
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8979 $as_echo "yes" >&6; }
8980 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8982 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8983 else
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8985 $as_echo "no" >&6; }
8986 ac_cv_header_QuickTime_ImageCompression_h=no
8988 rm -f core conftest.err conftest.$ac_objext \
8989 conftest$ac_exeext conftest.$ac_ext
8990 LIBS="$ac_save_LIBS"
8992 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8993 then
8994 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8996 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8997 then
8998 CARBON_LIBS="-framework Carbon"
9001 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9002 then
9003 METAL_LIBS="-framework Metal -framework QuartzCore"
9007 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9008 then
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9010 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9011 ac_ext=m
9012 ac_cpp='$OBJCPP $CPPFLAGS'
9013 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9014 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9015 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9019 #include <Metal/Metal.h>
9021 main ()
9023 id<MTLDevice> device; device.registryID;
9025 return 0;
9027 _ACEOF
9028 if ac_fn_objc_try_compile "$LINENO"; then :
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9030 $as_echo "yes" >&6; }
9032 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9034 else
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9036 $as_echo "no" >&6; }
9038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9039 ac_ext=c
9040 ac_cpp='$CPP $CPPFLAGS'
9041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9047 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9048 then
9049 ac_save_LIBS="$LIBS"
9050 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9051 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9052 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9053 enable_winemac_drv=${enable_winemac_drv:-yes}
9056 LIBS="$ac_save_LIBS"
9059 if test "x$enable_win16" = "xyes"
9060 then
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9062 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9063 if test "$cross_compiling" = yes; then :
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9065 $as_echo "cross-compiling, assuming yes" >&6; }
9066 else
9067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9068 /* end confdefs.h. */
9069 asm(".text\n"
9070 "bad:\tnop;nop\n"
9071 "good:\tnop;nop\n\t"
9072 ".globl _testfunc\n"
9073 "_testfunc:\tcallw good");
9074 extern void testfunc();
9076 main ()
9078 unsigned short *p = (unsigned short *)testfunc;
9079 return p[0] != 0xe866 || p[1] != 0xfffa
9081 return 0;
9083 _ACEOF
9084 if ac_fn_c_try_run "$LINENO"; then :
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9086 $as_echo "yes" >&6; }
9087 else
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9089 $as_echo "no" >&6; }
9090 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
9092 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9093 conftest.$ac_objext conftest.beam conftest.$ac_ext
9098 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9100 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9102 WINELOADER_DEPENDS="wine_info.plist"
9104 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9105 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9108 linux-android*)
9109 DLLFLAGS="$DLLFLAGS -fPIC"
9110 LDDLLFLAGS="-fPIC"
9111 LDEXECFLAGS="-Wl,-pie"
9112 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9114 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9115 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9116 $as_echo_n "(cached) " >&6
9117 else
9118 ac_wine_try_cflags_saved=$CFLAGS
9119 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9121 /* end confdefs.h. */
9122 int main(int argc, char **argv) { return 0; }
9123 _ACEOF
9124 if ac_fn_c_try_link "$LINENO"; then :
9125 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9126 else
9127 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9129 rm -f core conftest.err conftest.$ac_objext \
9130 conftest$ac_exeext conftest.$ac_ext
9131 CFLAGS=$ac_wine_try_cflags_saved
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9134 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9135 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9136 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9138 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9139 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9141 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9142 if eval \${$as_ac_var+:} false; then :
9143 $as_echo_n "(cached) " >&6
9144 else
9145 ac_wine_try_cflags_saved=$CFLAGS
9146 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9149 int main(int argc, char **argv) { return 0; }
9150 _ACEOF
9151 if ac_fn_c_try_link "$LINENO"; then :
9152 eval "$as_ac_var=yes"
9153 else
9154 eval "$as_ac_var=no"
9156 rm -f core conftest.err conftest.$ac_objext \
9157 conftest$ac_exeext conftest.$ac_ext
9158 CFLAGS=$ac_wine_try_cflags_saved
9160 eval ac_res=\$$as_ac_var
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9162 $as_echo "$ac_res" >&6; }
9163 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9164 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9165 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9166 else
9167 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9169 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9170 if eval \${$as_ac_var+:} false; then :
9171 $as_echo_n "(cached) " >&6
9172 else
9173 ac_wine_try_cflags_saved=$CFLAGS
9174 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9177 int main(int argc, char **argv) { return 0; }
9178 _ACEOF
9179 if ac_fn_c_try_link "$LINENO"; then :
9180 eval "$as_ac_var=yes"
9181 else
9182 eval "$as_ac_var=no"
9184 rm -f core conftest.err conftest.$ac_objext \
9185 conftest$ac_exeext conftest.$ac_ext
9186 CFLAGS=$ac_wine_try_cflags_saved
9188 eval ac_res=\$$as_ac_var
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9190 $as_echo "$ac_res" >&6; }
9191 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9192 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9193 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9197 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9198 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9199 $as_echo_n "(cached) " >&6
9200 else
9201 ac_wine_try_cflags_saved=$CFLAGS
9202 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9204 /* end confdefs.h. */
9205 int main(int argc, char **argv) { return 0; }
9206 _ACEOF
9207 if ac_fn_c_try_link "$LINENO"; then :
9208 ac_cv_cflags__Wl___enable_new_dtags=yes
9209 else
9210 ac_cv_cflags__Wl___enable_new_dtags=no
9212 rm -f core conftest.err conftest.$ac_objext \
9213 conftest$ac_exeext conftest.$ac_ext
9214 CFLAGS=$ac_wine_try_cflags_saved
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9217 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9218 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9219 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9222 LIBWINE_SHAREDLIB="libwine.so"
9224 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9226 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9229 $as_echo_n "checking for -lEGL... " >&6; }
9230 if ${ac_cv_lib_soname_EGL+:} false; then :
9231 $as_echo_n "(cached) " >&6
9232 else
9233 ac_check_soname_save_LIBS=$LIBS
9234 LIBS="-lEGL $LIBS"
9235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9236 /* end confdefs.h. */
9238 /* Override any GCC internal prototype to avoid an error.
9239 Use char because int might match the return type of a GCC
9240 builtin and then its argument prototype would still apply. */
9241 #ifdef __cplusplus
9242 extern "C"
9243 #endif
9244 char eglGetProcAddress ();
9246 main ()
9248 return eglGetProcAddress ();
9250 return 0;
9252 _ACEOF
9253 if ac_fn_c_try_link "$LINENO"; then :
9254 case "$LIBEXT" in
9255 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9256 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'` ;;
9257 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9258 if ${ac_cv_lib_soname_EGL:+false} :; then :
9259 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9260 fi ;;
9261 esac
9262 else
9263 ac_cv_lib_soname_EGL=
9265 rm -f core conftest.err conftest.$ac_objext \
9266 conftest$ac_exeext conftest.$ac_ext
9267 LIBS=$ac_check_soname_save_LIBS
9269 if ${ac_cv_lib_soname_EGL:+false} :; then :
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9271 $as_echo "not found" >&6; }
9273 else
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9275 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9277 cat >>confdefs.h <<_ACEOF
9278 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9279 _ACEOF
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9284 $as_echo_n "checking for -lGLESv2... " >&6; }
9285 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9286 $as_echo_n "(cached) " >&6
9287 else
9288 ac_check_soname_save_LIBS=$LIBS
9289 LIBS="-lGLESv2 $LIBS"
9290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9291 /* end confdefs.h. */
9293 /* Override any GCC internal prototype to avoid an error.
9294 Use char because int might match the return type of a GCC
9295 builtin and then its argument prototype would still apply. */
9296 #ifdef __cplusplus
9297 extern "C"
9298 #endif
9299 char glFlush ();
9301 main ()
9303 return glFlush ();
9305 return 0;
9307 _ACEOF
9308 if ac_fn_c_try_link "$LINENO"; then :
9309 case "$LIBEXT" in
9310 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9311 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'` ;;
9312 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9313 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9314 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9315 fi ;;
9316 esac
9317 else
9318 ac_cv_lib_soname_GLESv2=
9320 rm -f core conftest.err conftest.$ac_objext \
9321 conftest$ac_exeext conftest.$ac_ext
9322 LIBS=$ac_check_soname_save_LIBS
9324 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9326 $as_echo "not found" >&6; }
9328 else
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9330 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9332 cat >>confdefs.h <<_ACEOF
9333 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9334 _ACEOF
9339 if test "x$exec_prefix" = xNONE
9340 then
9341 case $host_cpu in
9342 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9343 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9344 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9345 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9346 esac
9351 case $host_cpu in
9352 *i[3456789]86*)
9353 DLLFLAGS="$DLLFLAGS -fno-PIC"
9354 LDDLLFLAGS="-fno-PIC" ;;
9356 DLLFLAGS="$DLLFLAGS -fPIC"
9357 LDDLLFLAGS="-fPIC" ;;
9358 esac
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9360 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9361 if ${ac_cv_c_dll_gnuelf+:} false; then :
9362 $as_echo_n "(cached) " >&6
9363 else
9364 ac_wine_try_cflags_saved=$CFLAGS
9365 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9367 /* end confdefs.h. */
9368 void myfunc() {}
9369 _ACEOF
9370 if ac_fn_c_try_link "$LINENO"; then :
9371 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9372 else
9373 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9375 rm -f core conftest.err conftest.$ac_objext \
9376 conftest$ac_exeext conftest.$ac_ext
9377 CFLAGS=$ac_wine_try_cflags_saved
9378 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9379 ac_cv_c_dll_gnuelf="yes"
9380 else
9381 ac_cv_c_dll_gnuelf="no"
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9385 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9386 if test "$ac_cv_c_dll_gnuelf" = "yes"
9387 then
9388 LIBWINE_LDFLAGS="-shared"
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9390 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9391 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9392 $as_echo_n "(cached) " >&6
9393 else
9394 ac_wine_try_cflags_saved=$CFLAGS
9395 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9397 /* end confdefs.h. */
9398 int main(int argc, char **argv) { return 0; }
9399 _ACEOF
9400 if ac_fn_c_try_link "$LINENO"; then :
9401 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9402 else
9403 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9405 rm -f core conftest.err conftest.$ac_objext \
9406 conftest$ac_exeext conftest.$ac_ext
9407 CFLAGS=$ac_wine_try_cflags_saved
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9410 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9411 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9412 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9413 else
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9415 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9416 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9417 $as_echo_n "(cached) " >&6
9418 else
9419 ac_wine_try_cflags_saved=$CFLAGS
9420 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9422 /* end confdefs.h. */
9423 int main(int argc, char **argv) { return 0; }
9424 _ACEOF
9425 if ac_fn_c_try_link "$LINENO"; then :
9426 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9427 else
9428 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9430 rm -f core conftest.err conftest.$ac_objext \
9431 conftest$ac_exeext conftest.$ac_ext
9432 CFLAGS=$ac_wine_try_cflags_saved
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9435 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9436 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9437 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9441 echo '{ global: *; };' >conftest.map
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9443 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9444 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9445 $as_echo_n "(cached) " >&6
9446 else
9447 ac_wine_try_cflags_saved=$CFLAGS
9448 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h. */
9451 int main(int argc, char **argv) { return 0; }
9452 _ACEOF
9453 if ac_fn_c_try_link "$LINENO"; then :
9454 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9455 else
9456 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9458 rm -f core conftest.err conftest.$ac_objext \
9459 conftest$ac_exeext conftest.$ac_ext
9460 CFLAGS=$ac_wine_try_cflags_saved
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9463 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9464 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9465 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9467 rm -f conftest.map
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9470 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9471 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9472 $as_echo_n "(cached) " >&6
9473 else
9474 ac_wine_try_cflags_saved=$CFLAGS
9475 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9478 int main(int argc, char **argv) { return 0; }
9479 _ACEOF
9480 if ac_fn_c_try_link "$LINENO"; then :
9481 ac_cv_cflags__Wl___export_dynamic=yes
9482 else
9483 ac_cv_cflags__Wl___export_dynamic=no
9485 rm -f core conftest.err conftest.$ac_objext \
9486 conftest$ac_exeext conftest.$ac_ext
9487 CFLAGS=$ac_wine_try_cflags_saved
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9490 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9491 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9492 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9494 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9496 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9498 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9499 if eval \${$as_ac_var+:} false; then :
9500 $as_echo_n "(cached) " >&6
9501 else
9502 ac_wine_try_cflags_saved=$CFLAGS
9503 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9505 /* end confdefs.h. */
9506 int main(int argc, char **argv) { return 0; }
9507 _ACEOF
9508 if ac_fn_c_try_link "$LINENO"; then :
9509 eval "$as_ac_var=yes"
9510 else
9511 eval "$as_ac_var=no"
9513 rm -f core conftest.err conftest.$ac_objext \
9514 conftest$ac_exeext conftest.$ac_ext
9515 CFLAGS=$ac_wine_try_cflags_saved
9517 eval ac_res=\$$as_ac_var
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9519 $as_echo "$ac_res" >&6; }
9520 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9521 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9522 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9523 else
9524 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9526 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9527 if eval \${$as_ac_var+:} false; then :
9528 $as_echo_n "(cached) " >&6
9529 else
9530 ac_wine_try_cflags_saved=$CFLAGS
9531 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9534 int main(int argc, char **argv) { return 0; }
9535 _ACEOF
9536 if ac_fn_c_try_link "$LINENO"; then :
9537 eval "$as_ac_var=yes"
9538 else
9539 eval "$as_ac_var=no"
9541 rm -f core conftest.err conftest.$ac_objext \
9542 conftest$ac_exeext conftest.$ac_ext
9543 CFLAGS=$ac_wine_try_cflags_saved
9545 eval ac_res=\$$as_ac_var
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9547 $as_echo "$ac_res" >&6; }
9548 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9549 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9550 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9555 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9556 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9557 $as_echo_n "(cached) " >&6
9558 else
9559 ac_wine_try_cflags_saved=$CFLAGS
9560 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9562 /* end confdefs.h. */
9563 int main(int argc, char **argv) { return 0; }
9564 _ACEOF
9565 if ac_fn_c_try_link "$LINENO"; then :
9566 ac_cv_cflags__Wl___enable_new_dtags=yes
9567 else
9568 ac_cv_cflags__Wl___enable_new_dtags=no
9570 rm -f core conftest.err conftest.$ac_objext \
9571 conftest$ac_exeext conftest.$ac_ext
9572 CFLAGS=$ac_wine_try_cflags_saved
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9575 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9576 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9577 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9580 case $host_cpu in
9581 *i[3456789]86* | x86_64 | *aarch64*)
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9583 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9584 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9585 $as_echo_n "(cached) " >&6
9586 else
9587 ac_wine_try_cflags_saved=$CFLAGS
9588 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9590 /* end confdefs.h. */
9591 int main(int argc, char **argv) { return 0; }
9592 _ACEOF
9593 if ac_fn_c_try_link "$LINENO"; then :
9594 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9595 else
9596 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9598 rm -f core conftest.err conftest.$ac_objext \
9599 conftest$ac_exeext conftest.$ac_ext
9600 CFLAGS=$ac_wine_try_cflags_saved
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9603 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9604 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9605 case $host_os in
9606 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9607 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9608 esac
9609 else
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9611 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9612 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9613 $as_echo_n "(cached) " >&6
9614 else
9615 ac_wine_try_cflags_saved=$CFLAGS
9616 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9618 /* end confdefs.h. */
9619 int main(int argc, char **argv) { return 0; }
9620 _ACEOF
9621 if ac_fn_c_try_link "$LINENO"; then :
9622 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9623 else
9624 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9626 rm -f core conftest.err conftest.$ac_objext \
9627 conftest$ac_exeext conftest.$ac_ext
9628 CFLAGS=$ac_wine_try_cflags_saved
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9631 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9632 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9633 case $host_os in
9634 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9635 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9636 esac
9638 # Extract the first word of "prelink", so it can be a program name with args.
9639 set dummy prelink; ac_word=$2
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9641 $as_echo_n "checking for $ac_word... " >&6; }
9642 if ${ac_cv_path_PRELINK+:} false; then :
9643 $as_echo_n "(cached) " >&6
9644 else
9645 case $PRELINK in
9646 [\\/]* | ?:[\\/]*)
9647 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9651 for as_dir in /sbin /usr/sbin $PATH
9653 IFS=$as_save_IFS
9654 test -z "$as_dir" && as_dir=.
9655 for ac_exec_ext in '' $ac_executable_extensions; do
9656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9657 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9659 break 2
9661 done
9662 done
9663 IFS=$as_save_IFS
9665 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9667 esac
9669 PRELINK=$ac_cv_path_PRELINK
9670 if test -n "$PRELINK"; then
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9672 $as_echo "$PRELINK" >&6; }
9673 else
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9675 $as_echo "no" >&6; }
9679 if test "x$PRELINK" = xfalse
9680 then
9681 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9685 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9686 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9687 $as_echo_n "(cached) " >&6
9688 else
9689 ac_wine_try_cflags_saved=$CFLAGS
9690 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9692 /* end confdefs.h. */
9693 int main(int argc, char **argv) { return 0; }
9694 _ACEOF
9695 if ac_fn_c_try_link "$LINENO"; then :
9696 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9697 else
9698 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9700 rm -f core conftest.err conftest.$ac_objext \
9701 conftest$ac_exeext conftest.$ac_ext
9702 CFLAGS=$ac_wine_try_cflags_saved
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9705 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9706 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9707 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9710 esac
9712 else
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9714 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9715 if ${ac_cv_c_dll_unixware+:} false; then :
9716 $as_echo_n "(cached) " >&6
9717 else
9718 ac_wine_try_cflags_saved=$CFLAGS
9719 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9721 /* end confdefs.h. */
9722 void myfunc() {}
9723 _ACEOF
9724 if ac_fn_c_try_link "$LINENO"; then :
9725 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9726 else
9727 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9729 rm -f core conftest.err conftest.$ac_objext \
9730 conftest$ac_exeext conftest.$ac_ext
9731 CFLAGS=$ac_wine_try_cflags_saved
9732 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9733 ac_cv_c_dll_unixware="yes"
9734 else
9735 ac_cv_c_dll_unixware="no"
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9739 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9740 if test "$ac_cv_c_dll_unixware" = "yes"
9741 then
9742 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9745 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9747 LIBWINE_DEPENDS="wine.map"
9749 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9750 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9752 esac
9754 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9755 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9756 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9757 enable_winemac_drv=${enable_winemac_drv:-no}
9758 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9761 if test "x$with_mingw" != xno
9762 then
9763 case "x$with_mingw" in
9764 x|xyes) case "$host_cpu" in
9765 aarch64*)
9766 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9767 arm*)
9768 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9769 i[3456789]86*)
9770 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
9771 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9772 mingw32-gcc" ;;
9773 x86_64)
9774 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
9775 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9777 ac_prefix_list="" ;;
9778 esac
9779 for ac_prog in $ac_prefix_list
9781 # Extract the first word of "$ac_prog", so it can be a program name with args.
9782 set dummy $ac_prog; ac_word=$2
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9784 $as_echo_n "checking for $ac_word... " >&6; }
9785 if ${ac_cv_prog_CROSSCC+:} false; then :
9786 $as_echo_n "(cached) " >&6
9787 else
9788 if test -n "$CROSSCC"; then
9789 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9790 else
9791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9792 for as_dir in $PATH
9794 IFS=$as_save_IFS
9795 test -z "$as_dir" && as_dir=.
9796 for ac_exec_ext in '' $ac_executable_extensions; do
9797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9798 ac_cv_prog_CROSSCC="$ac_prog"
9799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9800 break 2
9802 done
9803 done
9804 IFS=$as_save_IFS
9808 CROSSCC=$ac_cv_prog_CROSSCC
9809 if test -n "$CROSSCC"; then
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9811 $as_echo "$CROSSCC" >&6; }
9812 else
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9814 $as_echo "no" >&6; }
9818 test -n "$CROSSCC" && break
9819 done
9820 test -n "$CROSSCC" || CROSSCC="false"
9822 *) CROSSCC=$with_mingw ;;
9823 esac
9824 if test "$CROSSCC" != "false"
9825 then
9826 ac_save_CC="$CC"
9827 saved_CFLAGS=$CFLAGS
9828 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9830 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9834 CC="$CROSSCC"
9835 CFLAGS=$CROSSCFLAGS
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9837 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9838 if ${wine_cv_crosscc+:} false; then :
9839 $as_echo_n "(cached) " >&6
9840 else
9841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9842 /* end confdefs.h. */
9845 main ()
9849 return 0;
9851 _ACEOF
9852 if ac_fn_c_try_compile "$LINENO"; then :
9853 wine_cv_crosscc=yes
9854 else
9855 wine_cv_crosscc=no
9857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9860 $as_echo "$wine_cv_crosscc" >&6; }
9861 if test $wine_cv_crosscc = yes
9862 then
9863 set x $CROSSCC
9864 shift
9865 while test $# -ge 1
9867 case "$1" in
9868 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9869 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9870 esac
9871 shift
9872 done
9874 llvm_target=$CROSSTARGET
9875 llvm_cflags="-fuse-ld=lld"
9876 if test -z "$llvm_target"
9877 then
9878 case $host_cpu in
9879 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9880 *) llvm_target=$host_cpu-windows-gnu ;;
9881 esac
9883 case $llvm_target in
9884 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9885 esac
9886 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9888 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9889 if eval \${$as_ac_var+:} false; then :
9890 $as_echo_n "(cached) " >&6
9891 else
9892 ac_wine_try_cflags_saved=$CFLAGS
9893 ac_wine_try_cflags_saved_cc=$CC
9894 ac_wine_try_cflags_saved_exeext=$ac_exeext
9895 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9896 CC="$CROSSCC"
9897 ac_exeext=".exe"
9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9900 int __cdecl mainCRTStartup(void) { return 0; }
9901 _ACEOF
9902 if ac_fn_c_try_link "$LINENO"; then :
9903 eval "$as_ac_var=yes"
9904 else
9905 eval "$as_ac_var=no"
9907 rm -f core conftest.err conftest.$ac_objext \
9908 conftest$ac_exeext conftest.$ac_ext
9909 CFLAGS=$ac_wine_try_cflags_saved
9910 CC=$ac_wine_try_cflags_saved_cc
9911 ac_exeext=$ac_wine_try_cflags_saved_exeext
9913 eval ac_res=\$$as_ac_var
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9915 $as_echo "$ac_res" >&6; }
9916 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9917 CROSSTARGET=$llvm_target
9918 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9919 DELAYLOADFLAG="-Wl,-delayload,"
9921 CFLAGS="$CFLAGS $llvm_cflags"
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9925 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9926 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9927 $as_echo_n "(cached) " >&6
9928 else
9929 ac_wine_try_cflags_saved=$CFLAGS
9930 ac_wine_try_cflags_saved_cc=$CC
9931 ac_wine_try_cflags_saved_exeext=$ac_exeext
9932 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9933 CC="$CROSSCC"
9934 ac_exeext=".exe"
9935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9937 int __cdecl mainCRTStartup(void) { return 0; }
9938 _ACEOF
9939 if ac_fn_c_try_link "$LINENO"; then :
9940 ac_cv_crosscflags__fno_strict_aliasing=yes
9941 else
9942 ac_cv_crosscflags__fno_strict_aliasing=no
9944 rm -f core conftest.err conftest.$ac_objext \
9945 conftest$ac_exeext conftest.$ac_ext
9946 CFLAGS=$ac_wine_try_cflags_saved
9947 CC=$ac_wine_try_cflags_saved_cc
9948 ac_exeext=$ac_wine_try_cflags_saved_exeext
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9951 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9952 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9953 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9956 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9957 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9958 $as_echo_n "(cached) " >&6
9959 else
9960 ac_wine_try_cflags_saved=$CFLAGS
9961 ac_wine_try_cflags_saved_cc=$CC
9962 ac_wine_try_cflags_saved_exeext=$ac_exeext
9963 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9964 CC="$CROSSCC"
9965 ac_exeext=".exe"
9966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9968 int __cdecl mainCRTStartup(void) { return 0; }
9969 _ACEOF
9970 if ac_fn_c_try_link "$LINENO"; then :
9971 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9972 else
9973 ac_cv_crosscflags__Werror_unknown_warning_option=no
9975 rm -f core conftest.err conftest.$ac_objext \
9976 conftest$ac_exeext conftest.$ac_ext
9977 CFLAGS=$ac_wine_try_cflags_saved
9978 CC=$ac_wine_try_cflags_saved_cc
9979 ac_exeext=$ac_wine_try_cflags_saved_exeext
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9982 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9983 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9984 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9987 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9988 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9989 $as_echo_n "(cached) " >&6
9990 else
9991 ac_wine_try_cflags_saved=$CFLAGS
9992 ac_wine_try_cflags_saved_cc=$CC
9993 ac_wine_try_cflags_saved_exeext=$ac_exeext
9994 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9995 CC="$CROSSCC"
9996 ac_exeext=".exe"
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
9999 int __cdecl mainCRTStartup(void) { return 0; }
10000 _ACEOF
10001 if ac_fn_c_try_link "$LINENO"; then :
10002 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10003 else
10004 ac_cv_crosscflags__Wdeclaration_after_statement=no
10006 rm -f core conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008 CFLAGS=$ac_wine_try_cflags_saved
10009 CC=$ac_wine_try_cflags_saved_cc
10010 ac_exeext=$ac_wine_try_cflags_saved_exeext
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10013 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10014 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
10015 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10018 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10019 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
10020 $as_echo_n "(cached) " >&6
10021 else
10022 ac_wine_try_cflags_saved=$CFLAGS
10023 ac_wine_try_cflags_saved_cc=$CC
10024 ac_wine_try_cflags_saved_exeext=$ac_exeext
10025 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10026 CC="$CROSSCC"
10027 ac_exeext=".exe"
10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10030 int __cdecl mainCRTStartup(void) { return 0; }
10031 _ACEOF
10032 if ac_fn_c_try_link "$LINENO"; then :
10033 ac_cv_crosscflags__Wempty_body=yes
10034 else
10035 ac_cv_crosscflags__Wempty_body=no
10037 rm -f core conftest.err conftest.$ac_objext \
10038 conftest$ac_exeext conftest.$ac_ext
10039 CFLAGS=$ac_wine_try_cflags_saved
10040 CC=$ac_wine_try_cflags_saved_cc
10041 ac_exeext=$ac_wine_try_cflags_saved_exeext
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10044 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10045 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10046 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10049 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10050 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10051 $as_echo_n "(cached) " >&6
10052 else
10053 ac_wine_try_cflags_saved=$CFLAGS
10054 ac_wine_try_cflags_saved_cc=$CC
10055 ac_wine_try_cflags_saved_exeext=$ac_exeext
10056 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10057 CC="$CROSSCC"
10058 ac_exeext=".exe"
10059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10060 /* end confdefs.h. */
10061 int __cdecl mainCRTStartup(void) { return 0; }
10062 _ACEOF
10063 if ac_fn_c_try_link "$LINENO"; then :
10064 ac_cv_crosscflags__Wignored_qualifiers=yes
10065 else
10066 ac_cv_crosscflags__Wignored_qualifiers=no
10068 rm -f core conftest.err conftest.$ac_objext \
10069 conftest$ac_exeext conftest.$ac_ext
10070 CFLAGS=$ac_wine_try_cflags_saved
10071 CC=$ac_wine_try_cflags_saved_cc
10072 ac_exeext=$ac_wine_try_cflags_saved_exeext
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10075 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10076 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10077 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10080 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10081 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10082 $as_echo_n "(cached) " >&6
10083 else
10084 ac_wine_try_cflags_saved=$CFLAGS
10085 ac_wine_try_cflags_saved_cc=$CC
10086 ac_wine_try_cflags_saved_exeext=$ac_exeext
10087 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10088 CC="$CROSSCC"
10089 ac_exeext=".exe"
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10092 int __cdecl mainCRTStartup(void) { return 0; }
10093 _ACEOF
10094 if ac_fn_c_try_link "$LINENO"; then :
10095 ac_cv_crosscflags__Wpacked_not_aligned=yes
10096 else
10097 ac_cv_crosscflags__Wpacked_not_aligned=no
10099 rm -f core conftest.err conftest.$ac_objext \
10100 conftest$ac_exeext conftest.$ac_ext
10101 CFLAGS=$ac_wine_try_cflags_saved
10102 CC=$ac_wine_try_cflags_saved_cc
10103 ac_exeext=$ac_wine_try_cflags_saved_exeext
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10106 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10107 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10108 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10111 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10112 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10113 $as_echo_n "(cached) " >&6
10114 else
10115 ac_wine_try_cflags_saved=$CFLAGS
10116 ac_wine_try_cflags_saved_cc=$CC
10117 ac_wine_try_cflags_saved_exeext=$ac_exeext
10118 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10119 CC="$CROSSCC"
10120 ac_exeext=".exe"
10121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10122 /* end confdefs.h. */
10123 int __cdecl mainCRTStartup(void) { return 0; }
10124 _ACEOF
10125 if ac_fn_c_try_link "$LINENO"; then :
10126 ac_cv_crosscflags__Wpragma_pack=yes
10127 else
10128 ac_cv_crosscflags__Wpragma_pack=no
10130 rm -f core conftest.err conftest.$ac_objext \
10131 conftest$ac_exeext conftest.$ac_ext
10132 CFLAGS=$ac_wine_try_cflags_saved
10133 CC=$ac_wine_try_cflags_saved_cc
10134 ac_exeext=$ac_wine_try_cflags_saved_exeext
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10137 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10138 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10139 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10142 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10143 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10144 $as_echo_n "(cached) " >&6
10145 else
10146 ac_wine_try_cflags_saved=$CFLAGS
10147 ac_wine_try_cflags_saved_cc=$CC
10148 ac_wine_try_cflags_saved_exeext=$ac_exeext
10149 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10150 CC="$CROSSCC"
10151 ac_exeext=".exe"
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10154 int __cdecl mainCRTStartup(void) { return 0; }
10155 _ACEOF
10156 if ac_fn_c_try_link "$LINENO"; then :
10157 ac_cv_crosscflags__Wshift_overflow_2=yes
10158 else
10159 ac_cv_crosscflags__Wshift_overflow_2=no
10161 rm -f core conftest.err conftest.$ac_objext \
10162 conftest$ac_exeext conftest.$ac_ext
10163 CFLAGS=$ac_wine_try_cflags_saved
10164 CC=$ac_wine_try_cflags_saved_cc
10165 ac_exeext=$ac_wine_try_cflags_saved_exeext
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10168 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10169 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10170 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10173 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10174 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10175 $as_echo_n "(cached) " >&6
10176 else
10177 ac_wine_try_cflags_saved=$CFLAGS
10178 ac_wine_try_cflags_saved_cc=$CC
10179 ac_wine_try_cflags_saved_exeext=$ac_exeext
10180 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10181 CC="$CROSSCC"
10182 ac_exeext=".exe"
10183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10185 int __cdecl mainCRTStartup(void) { return 0; }
10186 _ACEOF
10187 if ac_fn_c_try_link "$LINENO"; then :
10188 ac_cv_crosscflags__Wstrict_prototypes=yes
10189 else
10190 ac_cv_crosscflags__Wstrict_prototypes=no
10192 rm -f core conftest.err conftest.$ac_objext \
10193 conftest$ac_exeext conftest.$ac_ext
10194 CFLAGS=$ac_wine_try_cflags_saved
10195 CC=$ac_wine_try_cflags_saved_cc
10196 ac_exeext=$ac_wine_try_cflags_saved_exeext
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10199 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10200 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10201 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10204 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10205 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10206 $as_echo_n "(cached) " >&6
10207 else
10208 ac_wine_try_cflags_saved=$CFLAGS
10209 ac_wine_try_cflags_saved_cc=$CC
10210 ac_wine_try_cflags_saved_exeext=$ac_exeext
10211 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10212 CC="$CROSSCC"
10213 ac_exeext=".exe"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10216 int __cdecl mainCRTStartup(void) { return 0; }
10217 _ACEOF
10218 if ac_fn_c_try_link "$LINENO"; then :
10219 ac_cv_crosscflags__Wtype_limits=yes
10220 else
10221 ac_cv_crosscflags__Wtype_limits=no
10223 rm -f core conftest.err conftest.$ac_objext \
10224 conftest$ac_exeext conftest.$ac_ext
10225 CFLAGS=$ac_wine_try_cflags_saved
10226 CC=$ac_wine_try_cflags_saved_cc
10227 ac_exeext=$ac_wine_try_cflags_saved_exeext
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10230 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10231 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10232 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10235 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10236 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10237 $as_echo_n "(cached) " >&6
10238 else
10239 ac_wine_try_cflags_saved=$CFLAGS
10240 ac_wine_try_cflags_saved_cc=$CC
10241 ac_wine_try_cflags_saved_exeext=$ac_exeext
10242 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10243 CC="$CROSSCC"
10244 ac_exeext=".exe"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10247 int __cdecl mainCRTStartup(void) { return 0; }
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"; then :
10250 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10251 else
10252 ac_cv_crosscflags__Wunused_but_set_parameter=no
10254 rm -f core conftest.err conftest.$ac_objext \
10255 conftest$ac_exeext conftest.$ac_ext
10256 CFLAGS=$ac_wine_try_cflags_saved
10257 CC=$ac_wine_try_cflags_saved_cc
10258 ac_exeext=$ac_wine_try_cflags_saved_exeext
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10261 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10262 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10263 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10266 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10267 if ${ac_cv_crosscflags__Wvla+:} false; then :
10268 $as_echo_n "(cached) " >&6
10269 else
10270 ac_wine_try_cflags_saved=$CFLAGS
10271 ac_wine_try_cflags_saved_cc=$CC
10272 ac_wine_try_cflags_saved_exeext=$ac_exeext
10273 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10274 CC="$CROSSCC"
10275 ac_exeext=".exe"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10278 int __cdecl mainCRTStartup(void) { return 0; }
10279 _ACEOF
10280 if ac_fn_c_try_link "$LINENO"; then :
10281 ac_cv_crosscflags__Wvla=yes
10282 else
10283 ac_cv_crosscflags__Wvla=no
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 CFLAGS=$ac_wine_try_cflags_saved
10288 CC=$ac_wine_try_cflags_saved_cc
10289 ac_exeext=$ac_wine_try_cflags_saved_exeext
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10292 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10293 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10294 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10297 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10298 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10299 $as_echo_n "(cached) " >&6
10300 else
10301 ac_wine_try_cflags_saved=$CFLAGS
10302 ac_wine_try_cflags_saved_cc=$CC
10303 ac_wine_try_cflags_saved_exeext=$ac_exeext
10304 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10305 CC="$CROSSCC"
10306 ac_exeext=".exe"
10307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10309 int __cdecl mainCRTStartup(void) { return 0; }
10310 _ACEOF
10311 if ac_fn_c_try_link "$LINENO"; then :
10312 ac_cv_crosscflags__Wwrite_strings=yes
10313 else
10314 ac_cv_crosscflags__Wwrite_strings=no
10316 rm -f core conftest.err conftest.$ac_objext \
10317 conftest$ac_exeext conftest.$ac_ext
10318 CFLAGS=$ac_wine_try_cflags_saved
10319 CC=$ac_wine_try_cflags_saved_cc
10320 ac_exeext=$ac_wine_try_cflags_saved_exeext
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10323 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10324 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10325 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10328 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10329 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10330 $as_echo_n "(cached) " >&6
10331 else
10332 ac_wine_try_cflags_saved=$CFLAGS
10333 ac_wine_try_cflags_saved_cc=$CC
10334 ac_wine_try_cflags_saved_exeext=$ac_exeext
10335 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10336 CC="$CROSSCC"
10337 ac_exeext=".exe"
10338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10339 /* end confdefs.h. */
10340 int __cdecl mainCRTStartup(void) { return 0; }
10341 _ACEOF
10342 if ac_fn_c_try_link "$LINENO"; then :
10343 ac_cv_crosscflags__Wpointer_arith=yes
10344 else
10345 ac_cv_crosscflags__Wpointer_arith=no
10347 rm -f core conftest.err conftest.$ac_objext \
10348 conftest$ac_exeext conftest.$ac_ext
10349 CFLAGS=$ac_wine_try_cflags_saved
10350 CC=$ac_wine_try_cflags_saved_cc
10351 ac_exeext=$ac_wine_try_cflags_saved_exeext
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10354 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10355 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10356 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10359 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10360 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10361 $as_echo_n "(cached) " >&6
10362 else
10363 ac_wine_try_cflags_saved=$CFLAGS
10364 ac_wine_try_cflags_saved_cc=$CC
10365 ac_wine_try_cflags_saved_exeext=$ac_exeext
10366 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10367 CC="$CROSSCC"
10368 ac_exeext=".exe"
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10371 int __cdecl mainCRTStartup(void) { return 0; }
10372 _ACEOF
10373 if ac_fn_c_try_link "$LINENO"; then :
10374 ac_cv_crosscflags__Wlogical_op=yes
10375 else
10376 ac_cv_crosscflags__Wlogical_op=no
10378 rm -f core conftest.err conftest.$ac_objext \
10379 conftest$ac_exeext conftest.$ac_ext
10380 CFLAGS=$ac_wine_try_cflags_saved
10381 CC=$ac_wine_try_cflags_saved_cc
10382 ac_exeext=$ac_wine_try_cflags_saved_exeext
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10385 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10386 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10387 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10390 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10391 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10392 $as_echo_n "(cached) " >&6
10393 else
10394 ac_wine_try_cflags_saved=$CFLAGS
10395 ac_wine_try_cflags_saved_cc=$CC
10396 ac_wine_try_cflags_saved_exeext=$ac_exeext
10397 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
10398 CC="$CROSSCC"
10399 ac_exeext=".exe"
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10402 int __cdecl mainCRTStartup(void) { return 0; }
10403 _ACEOF
10404 if ac_fn_c_try_link "$LINENO"; then :
10405 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10406 else
10407 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10409 rm -f core conftest.err conftest.$ac_objext \
10410 conftest$ac_exeext conftest.$ac_ext
10411 CFLAGS=$ac_wine_try_cflags_saved
10412 CC=$ac_wine_try_cflags_saved_cc
10413 ac_exeext=$ac_wine_try_cflags_saved_exeext
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10416 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10417 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10418 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10421 case $host_cpu in
10422 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10423 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10424 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10425 $as_echo_n "(cached) " >&6
10426 else
10427 ac_wine_try_cflags_saved=$CFLAGS
10428 ac_wine_try_cflags_saved_cc=$CC
10429 ac_wine_try_cflags_saved_exeext=$ac_exeext
10430 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10431 CC="$CROSSCC"
10432 ac_exeext=".exe"
10433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10435 int __cdecl mainCRTStartup(void) { return 0; }
10436 _ACEOF
10437 if ac_fn_c_try_link "$LINENO"; then :
10438 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10439 else
10440 ac_cv_crosscflags__fno_omit_frame_pointer=no
10442 rm -f core conftest.err conftest.$ac_objext \
10443 conftest$ac_exeext conftest.$ac_ext
10444 CFLAGS=$ac_wine_try_cflags_saved
10445 CC=$ac_wine_try_cflags_saved_cc
10446 ac_exeext=$ac_wine_try_cflags_saved_exeext
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10449 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10450 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10451 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10452 fi ;;
10453 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10454 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10455 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10456 $as_echo_n "(cached) " >&6
10457 else
10458 ac_wine_try_cflags_saved=$CFLAGS
10459 ac_wine_try_cflags_saved_cc=$CC
10460 ac_wine_try_cflags_saved_exeext=$ac_exeext
10461 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10462 CC="$CROSSCC"
10463 ac_exeext=".exe"
10464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10465 /* end confdefs.h. */
10466 int __cdecl mainCRTStartup(void) { return 0; }
10467 _ACEOF
10468 if ac_fn_c_try_link "$LINENO"; then :
10469 ac_cv_crosscflags__Wno_format=yes
10470 else
10471 ac_cv_crosscflags__Wno_format=no
10473 rm -f core conftest.err conftest.$ac_objext \
10474 conftest$ac_exeext conftest.$ac_ext
10475 CFLAGS=$ac_wine_try_cflags_saved
10476 CC=$ac_wine_try_cflags_saved_cc
10477 ac_exeext=$ac_wine_try_cflags_saved_exeext
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10480 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10481 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10482 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10485 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10486 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10487 $as_echo_n "(cached) " >&6
10488 else
10489 ac_wine_try_cflags_saved=$CFLAGS
10490 ac_wine_try_cflags_saved_cc=$CC
10491 ac_wine_try_cflags_saved_exeext=$ac_exeext
10492 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10493 CC="$CROSSCC"
10494 ac_exeext=".exe"
10495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10496 /* end confdefs.h. */
10497 int __cdecl mainCRTStartup(void) { return 0; }
10498 _ACEOF
10499 if ac_fn_c_try_link "$LINENO"; then :
10500 ac_cv_crosscflags__Wformat_overflow=yes
10501 else
10502 ac_cv_crosscflags__Wformat_overflow=no
10504 rm -f core conftest.err conftest.$ac_objext \
10505 conftest$ac_exeext conftest.$ac_ext
10506 CFLAGS=$ac_wine_try_cflags_saved
10507 CC=$ac_wine_try_cflags_saved_cc
10508 ac_exeext=$ac_wine_try_cflags_saved_exeext
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10511 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10512 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10513 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10516 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10517 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10518 $as_echo_n "(cached) " >&6
10519 else
10520 ac_wine_try_cflags_saved=$CFLAGS
10521 ac_wine_try_cflags_saved_cc=$CC
10522 ac_wine_try_cflags_saved_exeext=$ac_exeext
10523 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10524 CC="$CROSSCC"
10525 ac_exeext=".exe"
10526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10527 /* end confdefs.h. */
10528 int __cdecl mainCRTStartup(void) { return 0; }
10529 _ACEOF
10530 if ac_fn_c_try_link "$LINENO"; then :
10531 ac_cv_crosscflags__Wnonnull=yes
10532 else
10533 ac_cv_crosscflags__Wnonnull=no
10535 rm -f core conftest.err conftest.$ac_objext \
10536 conftest$ac_exeext conftest.$ac_ext
10537 CFLAGS=$ac_wine_try_cflags_saved
10538 CC=$ac_wine_try_cflags_saved_cc
10539 ac_exeext=$ac_wine_try_cflags_saved_exeext
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10542 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10543 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10544 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10545 fi ;;
10546 esac
10549 if test -z "$CROSSDEBUG"
10550 then
10551 for ac_flag in $CROSSCFLAGS; do
10552 case $ac_flag in
10553 -gdwarf*) CROSSDEBUG=dwarf ;;
10554 -gcodeview) CROSSDEBUG=pdb ;;
10555 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10556 esac
10557 done
10559 case $CROSSDEBUG in
10560 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10561 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10562 if ${ac_cv_crosscflags__gdwarf_2+:} 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 -gdwarf-2"
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__gdwarf_2=yes
10577 else
10578 ac_cv_crosscflags__gdwarf_2=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__gdwarf_2" >&5
10587 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10588 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10589 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10592 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10593 if ${ac_cv_crosscflags__gstrict_dwarf+:} 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 -gstrict-dwarf"
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__gstrict_dwarf=yes
10608 else
10609 ac_cv_crosscflags__gstrict_dwarf=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__gstrict_dwarf" >&5
10618 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10619 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10620 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10621 fi ;;
10622 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10623 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10624 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10625 $as_echo_n "(cached) " >&6
10626 else
10627 ac_wine_try_cflags_saved=$CFLAGS
10628 ac_wine_try_cflags_saved_cc=$CC
10629 ac_wine_try_cflags_saved_exeext=$ac_exeext
10630 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10631 CC="$CROSSCC"
10632 ac_exeext=".exe"
10633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10634 /* end confdefs.h. */
10635 int __cdecl mainCRTStartup(void) { return 0; }
10636 _ACEOF
10637 if ac_fn_c_try_link "$LINENO"; then :
10638 ac_cv_crosscflags__gcodeview=yes
10639 else
10640 ac_cv_crosscflags__gcodeview=no
10642 rm -f core conftest.err conftest.$ac_objext \
10643 conftest$ac_exeext conftest.$ac_ext
10644 CFLAGS=$ac_wine_try_cflags_saved
10645 CC=$ac_wine_try_cflags_saved_cc
10646 ac_exeext=$ac_wine_try_cflags_saved_exeext
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10649 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10650 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10651 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10652 fi ;;
10653 esac
10655 if test "x$enable_werror" = "xyes"
10656 then
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10658 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10659 if ${ac_cv_crosscflags__Werror+:} false; then :
10660 $as_echo_n "(cached) " >&6
10661 else
10662 ac_wine_try_cflags_saved=$CFLAGS
10663 ac_wine_try_cflags_saved_cc=$CC
10664 ac_wine_try_cflags_saved_exeext=$ac_exeext
10665 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10666 CC="$CROSSCC"
10667 ac_exeext=".exe"
10668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10670 int __cdecl mainCRTStartup(void) { return 0; }
10671 _ACEOF
10672 if ac_fn_c_try_link "$LINENO"; then :
10673 ac_cv_crosscflags__Werror=yes
10674 else
10675 ac_cv_crosscflags__Werror=no
10677 rm -f core conftest.err conftest.$ac_objext \
10678 conftest$ac_exeext conftest.$ac_ext
10679 CFLAGS=$ac_wine_try_cflags_saved
10680 CC=$ac_wine_try_cflags_saved_cc
10681 ac_exeext=$ac_wine_try_cflags_saved_exeext
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10684 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10685 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10686 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10690 CFLAGS=$saved_CFLAGS
10691 CC="$ac_save_CC"
10694 if test "x$CROSSTARGET" = "x"; then :
10695 case "x$with_mingw" in
10696 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10697 xno) ;;
10698 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10699 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10700 esac
10705 if test "$ac_cv_header_pthread_h" = "yes"
10706 then
10707 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10708 if test "x$ac_cv_func_pthread_create" = xyes; then :
10710 else
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10712 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10713 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10714 $as_echo_n "(cached) " >&6
10715 else
10716 ac_check_lib_save_LIBS=$LIBS
10717 LIBS="-lpthread $LIBS"
10718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10721 /* Override any GCC internal prototype to avoid an error.
10722 Use char because int might match the return type of a GCC
10723 builtin and then its argument prototype would still apply. */
10724 #ifdef __cplusplus
10725 extern "C"
10726 #endif
10727 char pthread_create ();
10729 main ()
10731 return pthread_create ();
10733 return 0;
10735 _ACEOF
10736 if ac_fn_c_try_link "$LINENO"; then :
10737 ac_cv_lib_pthread_pthread_create=yes
10738 else
10739 ac_cv_lib_pthread_pthread_create=no
10741 rm -f core conftest.err conftest.$ac_objext \
10742 conftest$ac_exeext conftest.$ac_ext
10743 LIBS=$ac_check_lib_save_LIBS
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10746 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10747 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10748 PTHREAD_LIBS="-lpthread"
10755 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10756 case "x$with_pthread" in
10757 xno) ;;
10758 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10759 Wine cannot support threads without libpthread.
10760 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10761 esac
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10767 $as_echo_n "checking for X... " >&6; }
10770 # Check whether --with-x was given.
10771 if test "${with_x+set}" = set; then :
10772 withval=$with_x;
10775 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10776 if test "x$with_x" = xno; then
10777 # The user explicitly disabled X.
10778 have_x=disabled
10779 else
10780 case $x_includes,$x_libraries in #(
10781 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10782 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10783 $as_echo_n "(cached) " >&6
10784 else
10785 # One or both of the vars are not set, and there is no cached value.
10786 ac_x_includes=no ac_x_libraries=no
10787 rm -f -r conftest.dir
10788 if mkdir conftest.dir; then
10789 cd conftest.dir
10790 cat >Imakefile <<'_ACEOF'
10791 incroot:
10792 @echo incroot='${INCROOT}'
10793 usrlibdir:
10794 @echo usrlibdir='${USRLIBDIR}'
10795 libdir:
10796 @echo libdir='${LIBDIR}'
10797 _ACEOF
10798 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10799 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10800 for ac_var in incroot usrlibdir libdir; do
10801 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10802 done
10803 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10804 for ac_extension in a so sl dylib la dll; do
10805 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10806 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10807 ac_im_usrlibdir=$ac_im_libdir; break
10809 done
10810 # Screen out bogus values from the imake configuration. They are
10811 # bogus both because they are the default anyway, and because
10812 # using them would break gcc on systems where it needs fixed includes.
10813 case $ac_im_incroot in
10814 /usr/include) ac_x_includes= ;;
10815 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10816 esac
10817 case $ac_im_usrlibdir in
10818 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10819 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10820 esac
10822 cd ..
10823 rm -f -r conftest.dir
10826 # Standard set of common directories for X headers.
10827 # Check X11 before X11Rn because it is often a symlink to the current release.
10828 ac_x_header_dirs='
10829 /usr/X11/include
10830 /usr/X11R7/include
10831 /usr/X11R6/include
10832 /usr/X11R5/include
10833 /usr/X11R4/include
10835 /usr/include/X11
10836 /usr/include/X11R7
10837 /usr/include/X11R6
10838 /usr/include/X11R5
10839 /usr/include/X11R4
10841 /usr/local/X11/include
10842 /usr/local/X11R7/include
10843 /usr/local/X11R6/include
10844 /usr/local/X11R5/include
10845 /usr/local/X11R4/include
10847 /usr/local/include/X11
10848 /usr/local/include/X11R7
10849 /usr/local/include/X11R6
10850 /usr/local/include/X11R5
10851 /usr/local/include/X11R4
10853 /usr/X386/include
10854 /usr/x386/include
10855 /usr/XFree86/include/X11
10857 /usr/include
10858 /usr/local/include
10859 /usr/unsupported/include
10860 /usr/athena/include
10861 /usr/local/x11r5/include
10862 /usr/lpp/Xamples/include
10864 /usr/openwin/include
10865 /usr/openwin/share/include'
10867 if test "$ac_x_includes" = no; then
10868 # Guess where to find include files, by looking for Xlib.h.
10869 # First, try using that file with no special directory specified.
10870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10872 #include <X11/Xlib.h>
10873 _ACEOF
10874 if ac_fn_c_try_cpp "$LINENO"; then :
10875 # We can compile using X headers with no special include directory.
10876 ac_x_includes=
10877 else
10878 for ac_dir in $ac_x_header_dirs; do
10879 if test -r "$ac_dir/X11/Xlib.h"; then
10880 ac_x_includes=$ac_dir
10881 break
10883 done
10885 rm -f conftest.err conftest.i conftest.$ac_ext
10886 fi # $ac_x_includes = no
10888 if test "$ac_x_libraries" = no; then
10889 # Check for the libraries.
10890 # See if we find them without any special options.
10891 # Don't add to $LIBS permanently.
10892 ac_save_LIBS=$LIBS
10893 LIBS="-lX11 $LIBS"
10894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10895 /* end confdefs.h. */
10896 #include <X11/Xlib.h>
10898 main ()
10900 XrmInitialize ()
10902 return 0;
10904 _ACEOF
10905 if ac_fn_c_try_link "$LINENO"; then :
10906 LIBS=$ac_save_LIBS
10907 # We can link X programs with no special library path.
10908 ac_x_libraries=
10909 else
10910 LIBS=$ac_save_LIBS
10911 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10913 # Don't even attempt the hair of trying to link an X program!
10914 for ac_extension in a so sl dylib la dll; do
10915 if test -r "$ac_dir/libX11.$ac_extension"; then
10916 ac_x_libraries=$ac_dir
10917 break 2
10919 done
10920 done
10922 rm -f core conftest.err conftest.$ac_objext \
10923 conftest$ac_exeext conftest.$ac_ext
10924 fi # $ac_x_libraries = no
10926 case $ac_x_includes,$ac_x_libraries in #(
10927 no,* | *,no | *\'*)
10928 # Didn't find X, or a directory has "'" in its name.
10929 ac_cv_have_x="have_x=no";; #(
10931 # Record where we found X for the cache.
10932 ac_cv_have_x="have_x=yes\
10933 ac_x_includes='$ac_x_includes'\
10934 ac_x_libraries='$ac_x_libraries'"
10935 esac
10937 ;; #(
10938 *) have_x=yes;;
10939 esac
10940 eval "$ac_cv_have_x"
10941 fi # $with_x != no
10943 if test "$have_x" != yes; then
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10945 $as_echo "$have_x" >&6; }
10946 no_x=yes
10947 else
10948 # If each of the values was on the command line, it overrides each guess.
10949 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10950 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10951 # Update the cache value to reflect the command line values.
10952 ac_cv_have_x="have_x=yes\
10953 ac_x_includes='$x_includes'\
10954 ac_x_libraries='$x_libraries'"
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10956 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10959 if test "$no_x" = yes; then
10960 # Not all programs may use this symbol, but it does not hurt to define it.
10962 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10964 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10965 else
10966 if test -n "$x_includes"; then
10967 X_CFLAGS="$X_CFLAGS -I$x_includes"
10970 # It would also be nice to do this for all -L options, not just this one.
10971 if test -n "$x_libraries"; then
10972 X_LIBS="$X_LIBS -L$x_libraries"
10973 # For Solaris; some versions of Sun CC require a space after -R and
10974 # others require no space. Words are not sufficient . . . .
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10976 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10977 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10978 ac_xsave_c_werror_flag=$ac_c_werror_flag
10979 ac_c_werror_flag=yes
10980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10981 /* end confdefs.h. */
10984 main ()
10988 return 0;
10990 _ACEOF
10991 if ac_fn_c_try_link "$LINENO"; then :
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10993 $as_echo "no" >&6; }
10994 X_LIBS="$X_LIBS -R$x_libraries"
10995 else
10996 LIBS="$ac_xsave_LIBS -R $x_libraries"
10997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10998 /* end confdefs.h. */
11001 main ()
11005 return 0;
11007 _ACEOF
11008 if ac_fn_c_try_link "$LINENO"; then :
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11010 $as_echo "yes" >&6; }
11011 X_LIBS="$X_LIBS -R $x_libraries"
11012 else
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11014 $as_echo "neither works" >&6; }
11016 rm -f core conftest.err conftest.$ac_objext \
11017 conftest$ac_exeext conftest.$ac_ext
11019 rm -f core conftest.err conftest.$ac_objext \
11020 conftest$ac_exeext conftest.$ac_ext
11021 ac_c_werror_flag=$ac_xsave_c_werror_flag
11022 LIBS=$ac_xsave_LIBS
11025 # Check for system-dependent libraries X programs must link with.
11026 # Do this before checking for the system-independent R6 libraries
11027 # (-lICE), since we may need -lsocket or whatever for X linking.
11029 if test "$ISC" = yes; then
11030 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11031 else
11032 # Martyn Johnson says this is needed for Ultrix, if the X
11033 # libraries were built with DECnet support. And Karl Berry says
11034 # the Alpha needs dnet_stub (dnet does not exist).
11035 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11037 /* end confdefs.h. */
11039 /* Override any GCC internal prototype to avoid an error.
11040 Use char because int might match the return type of a GCC
11041 builtin and then its argument prototype would still apply. */
11042 #ifdef __cplusplus
11043 extern "C"
11044 #endif
11045 char XOpenDisplay ();
11047 main ()
11049 return XOpenDisplay ();
11051 return 0;
11053 _ACEOF
11054 if ac_fn_c_try_link "$LINENO"; then :
11056 else
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11058 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11059 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11060 $as_echo_n "(cached) " >&6
11061 else
11062 ac_check_lib_save_LIBS=$LIBS
11063 LIBS="-ldnet $LIBS"
11064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h. */
11067 /* Override any GCC internal prototype to avoid an error.
11068 Use char because int might match the return type of a GCC
11069 builtin and then its argument prototype would still apply. */
11070 #ifdef __cplusplus
11071 extern "C"
11072 #endif
11073 char dnet_ntoa ();
11075 main ()
11077 return dnet_ntoa ();
11079 return 0;
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"; then :
11083 ac_cv_lib_dnet_dnet_ntoa=yes
11084 else
11085 ac_cv_lib_dnet_dnet_ntoa=no
11087 rm -f core conftest.err conftest.$ac_objext \
11088 conftest$ac_exeext conftest.$ac_ext
11089 LIBS=$ac_check_lib_save_LIBS
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11092 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11093 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11094 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11097 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11099 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11100 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11101 $as_echo_n "(cached) " >&6
11102 else
11103 ac_check_lib_save_LIBS=$LIBS
11104 LIBS="-ldnet_stub $LIBS"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11111 #ifdef __cplusplus
11112 extern "C"
11113 #endif
11114 char dnet_ntoa ();
11116 main ()
11118 return dnet_ntoa ();
11120 return 0;
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"; then :
11124 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11125 else
11126 ac_cv_lib_dnet_stub_dnet_ntoa=no
11128 rm -f core conftest.err conftest.$ac_objext \
11129 conftest$ac_exeext conftest.$ac_ext
11130 LIBS=$ac_check_lib_save_LIBS
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11133 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11134 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11135 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11140 rm -f core conftest.err conftest.$ac_objext \
11141 conftest$ac_exeext conftest.$ac_ext
11142 LIBS="$ac_xsave_LIBS"
11144 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11145 # to get the SysV transport functions.
11146 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11147 # needs -lnsl.
11148 # The nsl library prevents programs from opening the X display
11149 # on Irix 5.2, according to T.E. Dickey.
11150 # The functions gethostbyname, getservbyname, and inet_addr are
11151 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11152 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11153 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11157 if test $ac_cv_func_gethostbyname = no; then
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11159 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11160 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11161 $as_echo_n "(cached) " >&6
11162 else
11163 ac_check_lib_save_LIBS=$LIBS
11164 LIBS="-lnsl $LIBS"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11168 /* Override any GCC internal prototype to avoid an error.
11169 Use char because int might match the return type of a GCC
11170 builtin and then its argument prototype would still apply. */
11171 #ifdef __cplusplus
11172 extern "C"
11173 #endif
11174 char gethostbyname ();
11176 main ()
11178 return gethostbyname ();
11180 return 0;
11182 _ACEOF
11183 if ac_fn_c_try_link "$LINENO"; then :
11184 ac_cv_lib_nsl_gethostbyname=yes
11185 else
11186 ac_cv_lib_nsl_gethostbyname=no
11188 rm -f core conftest.err conftest.$ac_objext \
11189 conftest$ac_exeext conftest.$ac_ext
11190 LIBS=$ac_check_lib_save_LIBS
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11193 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11194 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11195 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11198 if test $ac_cv_lib_nsl_gethostbyname = no; then
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11200 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11201 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11202 $as_echo_n "(cached) " >&6
11203 else
11204 ac_check_lib_save_LIBS=$LIBS
11205 LIBS="-lbsd $LIBS"
11206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11207 /* end confdefs.h. */
11209 /* Override any GCC internal prototype to avoid an error.
11210 Use char because int might match the return type of a GCC
11211 builtin and then its argument prototype would still apply. */
11212 #ifdef __cplusplus
11213 extern "C"
11214 #endif
11215 char gethostbyname ();
11217 main ()
11219 return gethostbyname ();
11221 return 0;
11223 _ACEOF
11224 if ac_fn_c_try_link "$LINENO"; then :
11225 ac_cv_lib_bsd_gethostbyname=yes
11226 else
11227 ac_cv_lib_bsd_gethostbyname=no
11229 rm -f core conftest.err conftest.$ac_objext \
11230 conftest$ac_exeext conftest.$ac_ext
11231 LIBS=$ac_check_lib_save_LIBS
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11234 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11235 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11236 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11242 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11243 # socket/setsockopt and other routines are undefined under SCO ODT
11244 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11245 # on later versions), says Simon Leinen: it contains gethostby*
11246 # variants that don't use the name server (or something). -lsocket
11247 # must be given before -lnsl if both are needed. We assume that
11248 # if connect needs -lnsl, so does gethostbyname.
11249 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11250 if test "x$ac_cv_func_connect" = xyes; then :
11254 if test $ac_cv_func_connect = no; then
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11256 $as_echo_n "checking for connect in -lsocket... " >&6; }
11257 if ${ac_cv_lib_socket_connect+:} false; then :
11258 $as_echo_n "(cached) " >&6
11259 else
11260 ac_check_lib_save_LIBS=$LIBS
11261 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11263 /* end confdefs.h. */
11265 /* Override any GCC internal prototype to avoid an error.
11266 Use char because int might match the return type of a GCC
11267 builtin and then its argument prototype would still apply. */
11268 #ifdef __cplusplus
11269 extern "C"
11270 #endif
11271 char connect ();
11273 main ()
11275 return connect ();
11277 return 0;
11279 _ACEOF
11280 if ac_fn_c_try_link "$LINENO"; then :
11281 ac_cv_lib_socket_connect=yes
11282 else
11283 ac_cv_lib_socket_connect=no
11285 rm -f core conftest.err conftest.$ac_objext \
11286 conftest$ac_exeext conftest.$ac_ext
11287 LIBS=$ac_check_lib_save_LIBS
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11290 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11291 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11292 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11297 # Guillermo Gomez says -lposix is necessary on A/UX.
11298 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11299 if test "x$ac_cv_func_remove" = xyes; then :
11303 if test $ac_cv_func_remove = no; then
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11305 $as_echo_n "checking for remove in -lposix... " >&6; }
11306 if ${ac_cv_lib_posix_remove+:} false; then :
11307 $as_echo_n "(cached) " >&6
11308 else
11309 ac_check_lib_save_LIBS=$LIBS
11310 LIBS="-lposix $LIBS"
11311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11312 /* end confdefs.h. */
11314 /* Override any GCC internal prototype to avoid an error.
11315 Use char because int might match the return type of a GCC
11316 builtin and then its argument prototype would still apply. */
11317 #ifdef __cplusplus
11318 extern "C"
11319 #endif
11320 char remove ();
11322 main ()
11324 return remove ();
11326 return 0;
11328 _ACEOF
11329 if ac_fn_c_try_link "$LINENO"; then :
11330 ac_cv_lib_posix_remove=yes
11331 else
11332 ac_cv_lib_posix_remove=no
11334 rm -f core conftest.err conftest.$ac_objext \
11335 conftest$ac_exeext conftest.$ac_ext
11336 LIBS=$ac_check_lib_save_LIBS
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11339 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11340 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11341 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11346 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11347 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11348 if test "x$ac_cv_func_shmat" = xyes; then :
11352 if test $ac_cv_func_shmat = no; then
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11354 $as_echo_n "checking for shmat in -lipc... " >&6; }
11355 if ${ac_cv_lib_ipc_shmat+:} false; then :
11356 $as_echo_n "(cached) " >&6
11357 else
11358 ac_check_lib_save_LIBS=$LIBS
11359 LIBS="-lipc $LIBS"
11360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11363 /* Override any GCC internal prototype to avoid an error.
11364 Use char because int might match the return type of a GCC
11365 builtin and then its argument prototype would still apply. */
11366 #ifdef __cplusplus
11367 extern "C"
11368 #endif
11369 char shmat ();
11371 main ()
11373 return shmat ();
11375 return 0;
11377 _ACEOF
11378 if ac_fn_c_try_link "$LINENO"; then :
11379 ac_cv_lib_ipc_shmat=yes
11380 else
11381 ac_cv_lib_ipc_shmat=no
11383 rm -f core conftest.err conftest.$ac_objext \
11384 conftest$ac_exeext conftest.$ac_ext
11385 LIBS=$ac_check_lib_save_LIBS
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11388 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11389 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11390 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11396 # Check for libraries that X11R6 Xt/Xaw programs need.
11397 ac_save_LDFLAGS=$LDFLAGS
11398 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11399 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11400 # check for ICE first), but we must link in the order -lSM -lICE or
11401 # we get undefined symbols. So assume we have SM if we have ICE.
11402 # These have to be linked with before -lX11, unlike the other
11403 # libraries we check for below, so use a different variable.
11404 # John Interrante, Karl Berry
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11406 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11407 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11408 $as_echo_n "(cached) " >&6
11409 else
11410 ac_check_lib_save_LIBS=$LIBS
11411 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 char IceConnectionNumber ();
11423 main ()
11425 return IceConnectionNumber ();
11427 return 0;
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"; then :
11431 ac_cv_lib_ICE_IceConnectionNumber=yes
11432 else
11433 ac_cv_lib_ICE_IceConnectionNumber=no
11435 rm -f core conftest.err conftest.$ac_objext \
11436 conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_lib_save_LIBS
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11440 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11441 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11442 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11445 LDFLAGS=$ac_save_LDFLAGS
11450 if test "$have_x" = "yes"
11451 then
11452 ac_save_CPPFLAGS="$CPPFLAGS"
11453 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11456 $as_echo_n "checking for -lX11... " >&6; }
11457 if ${ac_cv_lib_soname_X11+:} false; then :
11458 $as_echo_n "(cached) " >&6
11459 else
11460 ac_check_soname_save_LIBS=$LIBS
11461 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11463 /* end confdefs.h. */
11465 /* Override any GCC internal prototype to avoid an error.
11466 Use char because int might match the return type of a GCC
11467 builtin and then its argument prototype would still apply. */
11468 #ifdef __cplusplus
11469 extern "C"
11470 #endif
11471 char XCreateWindow ();
11473 main ()
11475 return XCreateWindow ();
11477 return 0;
11479 _ACEOF
11480 if ac_fn_c_try_link "$LINENO"; then :
11481 case "$LIBEXT" in
11482 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11483 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'` ;;
11484 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11485 if ${ac_cv_lib_soname_X11:+false} :; then :
11486 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11487 fi ;;
11488 esac
11489 else
11490 ac_cv_lib_soname_X11=
11492 rm -f core conftest.err conftest.$ac_objext \
11493 conftest$ac_exeext conftest.$ac_ext
11494 LIBS=$ac_check_soname_save_LIBS
11496 if ${ac_cv_lib_soname_X11:+false} :; then :
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11498 $as_echo "not found" >&6; }
11500 else
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11502 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11504 cat >>confdefs.h <<_ACEOF
11505 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11506 _ACEOF
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11511 $as_echo_n "checking for -lXext... " >&6; }
11512 if ${ac_cv_lib_soname_Xext+:} false; then :
11513 $as_echo_n "(cached) " >&6
11514 else
11515 ac_check_soname_save_LIBS=$LIBS
11516 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11518 /* end confdefs.h. */
11520 /* Override any GCC internal prototype to avoid an error.
11521 Use char because int might match the return type of a GCC
11522 builtin and then its argument prototype would still apply. */
11523 #ifdef __cplusplus
11524 extern "C"
11525 #endif
11526 char XextCreateExtension ();
11528 main ()
11530 return XextCreateExtension ();
11532 return 0;
11534 _ACEOF
11535 if ac_fn_c_try_link "$LINENO"; then :
11536 case "$LIBEXT" in
11537 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11538 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'` ;;
11539 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11540 if ${ac_cv_lib_soname_Xext:+false} :; then :
11541 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11542 fi ;;
11543 esac
11544 else
11545 ac_cv_lib_soname_Xext=
11547 rm -f core conftest.err conftest.$ac_objext \
11548 conftest$ac_exeext conftest.$ac_ext
11549 LIBS=$ac_check_soname_save_LIBS
11551 if ${ac_cv_lib_soname_Xext:+false} :; then :
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11553 $as_echo "not found" >&6; }
11555 else
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11557 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11559 cat >>confdefs.h <<_ACEOF
11560 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11561 _ACEOF
11563 X_LIBS="$X_LIBS -lXext"
11565 X_LIBS="$X_LIBS -lX11"
11567 for ac_header in X11/Xlib.h \
11568 X11/XKBlib.h \
11569 X11/Xutil.h \
11570 X11/Xcursor/Xcursor.h \
11571 X11/extensions/shape.h \
11572 X11/extensions/XInput.h \
11573 X11/extensions/XInput2.h \
11574 X11/extensions/XShm.h \
11575 X11/extensions/Xcomposite.h \
11576 X11/extensions/Xfixes.h \
11577 X11/extensions/Xinerama.h \
11578 X11/extensions/Xrandr.h \
11579 X11/extensions/Xrender.h \
11580 X11/extensions/xf86vmode.h \
11581 X11/extensions/xf86vmproto.h
11582 do :
11583 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11584 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11585 # include <X11/Xlib.h>
11586 #endif
11587 #ifdef HAVE_X11_XUTIL_H
11588 # include <X11/Xutil.h>
11589 #endif
11591 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11592 cat >>confdefs.h <<_ACEOF
11593 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11594 _ACEOF
11598 done
11601 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11602 then
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11604 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11605 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11606 $as_echo_n "(cached) " >&6
11607 else
11608 ac_check_lib_save_LIBS=$LIBS
11609 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11613 /* Override any GCC internal prototype to avoid an error.
11614 Use char because int might match the return type of a GCC
11615 builtin and then its argument prototype would still apply. */
11616 #ifdef __cplusplus
11617 extern "C"
11618 #endif
11619 char XkbQueryExtension ();
11621 main ()
11623 return XkbQueryExtension ();
11625 return 0;
11627 _ACEOF
11628 if ac_fn_c_try_link "$LINENO"; then :
11629 ac_cv_lib_X11_XkbQueryExtension=yes
11630 else
11631 ac_cv_lib_X11_XkbQueryExtension=no
11633 rm -f core conftest.err conftest.$ac_objext \
11634 conftest$ac_exeext conftest.$ac_ext
11635 LIBS=$ac_check_lib_save_LIBS
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11638 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11639 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11641 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11647 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11648 then
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11650 $as_echo_n "checking for -lXcursor... " >&6; }
11651 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11652 $as_echo_n "(cached) " >&6
11653 else
11654 ac_check_soname_save_LIBS=$LIBS
11655 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11659 /* Override any GCC internal prototype to avoid an error.
11660 Use char because int might match the return type of a GCC
11661 builtin and then its argument prototype would still apply. */
11662 #ifdef __cplusplus
11663 extern "C"
11664 #endif
11665 char XcursorImageLoadCursor ();
11667 main ()
11669 return XcursorImageLoadCursor ();
11671 return 0;
11673 _ACEOF
11674 if ac_fn_c_try_link "$LINENO"; then :
11675 case "$LIBEXT" in
11676 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11677 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'` ;;
11678 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11679 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11680 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11681 fi ;;
11682 esac
11683 else
11684 ac_cv_lib_soname_Xcursor=
11686 rm -f core conftest.err conftest.$ac_objext \
11687 conftest$ac_exeext conftest.$ac_ext
11688 LIBS=$ac_check_soname_save_LIBS
11690 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11692 $as_echo "not found" >&6; }
11694 else
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11696 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11698 cat >>confdefs.h <<_ACEOF
11699 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11700 _ACEOF
11705 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11706 case "x$with_xcursor" in
11707 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11708 xno) ;;
11709 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11710 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11711 esac
11715 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11716 then
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11718 $as_echo_n "checking for -lXi... " >&6; }
11719 if ${ac_cv_lib_soname_Xi+:} false; then :
11720 $as_echo_n "(cached) " >&6
11721 else
11722 ac_check_soname_save_LIBS=$LIBS
11723 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11725 /* end confdefs.h. */
11727 /* Override any GCC internal prototype to avoid an error.
11728 Use char because int might match the return type of a GCC
11729 builtin and then its argument prototype would still apply. */
11730 #ifdef __cplusplus
11731 extern "C"
11732 #endif
11733 char XOpenDevice ();
11735 main ()
11737 return XOpenDevice ();
11739 return 0;
11741 _ACEOF
11742 if ac_fn_c_try_link "$LINENO"; then :
11743 case "$LIBEXT" in
11744 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11745 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'` ;;
11746 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11747 if ${ac_cv_lib_soname_Xi:+false} :; then :
11748 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11749 fi ;;
11750 esac
11751 else
11752 ac_cv_lib_soname_Xi=
11754 rm -f core conftest.err conftest.$ac_objext \
11755 conftest$ac_exeext conftest.$ac_ext
11756 LIBS=$ac_check_soname_save_LIBS
11758 if ${ac_cv_lib_soname_Xi:+false} :; then :
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11760 $as_echo "not found" >&6; }
11762 else
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11764 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11766 cat >>confdefs.h <<_ACEOF
11767 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11768 _ACEOF
11773 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11774 case "x$with_xinput" in
11775 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11776 xno) ;;
11777 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11778 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11779 esac
11783 if test "x$ac_cv_lib_soname_Xi" != x
11784 then
11785 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11786 case "x$with_xinput2" in
11787 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11788 xno) ;;
11789 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11790 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11791 esac
11796 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11797 then
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11799 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11800 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11801 $as_echo_n "(cached) " >&6
11802 else
11803 ac_check_lib_save_LIBS=$LIBS
11804 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h. */
11808 /* Override any GCC internal prototype to avoid an error.
11809 Use char because int might match the return type of a GCC
11810 builtin and then its argument prototype would still apply. */
11811 #ifdef __cplusplus
11812 extern "C"
11813 #endif
11814 char XShmQueryExtension ();
11816 main ()
11818 return XShmQueryExtension ();
11820 return 0;
11822 _ACEOF
11823 if ac_fn_c_try_link "$LINENO"; then :
11824 ac_cv_lib_Xext_XShmQueryExtension=yes
11825 else
11826 ac_cv_lib_Xext_XShmQueryExtension=no
11828 rm -f core conftest.err conftest.$ac_objext \
11829 conftest$ac_exeext conftest.$ac_ext
11830 LIBS=$ac_check_lib_save_LIBS
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11833 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11834 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11836 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11841 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11842 case "x$with_xshm" in
11843 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11844 xno) ;;
11845 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11846 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11847 esac
11851 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11852 then
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11854 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11855 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11856 $as_echo_n "(cached) " >&6
11857 else
11858 ac_check_lib_save_LIBS=$LIBS
11859 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11861 /* end confdefs.h. */
11863 /* Override any GCC internal prototype to avoid an error.
11864 Use char because int might match the return type of a GCC
11865 builtin and then its argument prototype would still apply. */
11866 #ifdef __cplusplus
11867 extern "C"
11868 #endif
11869 char XShapeQueryExtension ();
11871 main ()
11873 return XShapeQueryExtension ();
11875 return 0;
11877 _ACEOF
11878 if ac_fn_c_try_link "$LINENO"; then :
11879 ac_cv_lib_Xext_XShapeQueryExtension=yes
11880 else
11881 ac_cv_lib_Xext_XShapeQueryExtension=no
11883 rm -f core conftest.err conftest.$ac_objext \
11884 conftest$ac_exeext conftest.$ac_ext
11885 LIBS=$ac_check_lib_save_LIBS
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11888 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11889 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11891 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11896 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11897 case "x$with_xshape" in
11898 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11899 xno) ;;
11900 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11901 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11902 esac
11906 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11907 then
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11909 $as_echo_n "checking for -lXxf86vm... " >&6; }
11910 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11911 $as_echo_n "(cached) " >&6
11912 else
11913 ac_check_soname_save_LIBS=$LIBS
11914 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916 /* end confdefs.h. */
11918 /* Override any GCC internal prototype to avoid an error.
11919 Use char because int might match the return type of a GCC
11920 builtin and then its argument prototype would still apply. */
11921 #ifdef __cplusplus
11922 extern "C"
11923 #endif
11924 char XF86VidModeQueryExtension ();
11926 main ()
11928 return XF86VidModeQueryExtension ();
11930 return 0;
11932 _ACEOF
11933 if ac_fn_c_try_link "$LINENO"; then :
11934 case "$LIBEXT" in
11935 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11936 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'` ;;
11937 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11938 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11939 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11940 fi ;;
11941 esac
11942 else
11943 ac_cv_lib_soname_Xxf86vm=
11945 rm -f core conftest.err conftest.$ac_objext \
11946 conftest$ac_exeext conftest.$ac_ext
11947 LIBS=$ac_check_soname_save_LIBS
11949 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11951 $as_echo "not found" >&6; }
11953 else
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11955 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11957 cat >>confdefs.h <<_ACEOF
11958 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11959 _ACEOF
11964 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11965 case "x$with_xxf86vm" in
11966 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11967 xno) ;;
11968 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11969 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11970 esac
11974 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11975 then
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11977 $as_echo_n "checking for -lXrender... " >&6; }
11978 if ${ac_cv_lib_soname_Xrender+:} false; then :
11979 $as_echo_n "(cached) " >&6
11980 else
11981 ac_check_soname_save_LIBS=$LIBS
11982 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h. */
11986 /* Override any GCC internal prototype to avoid an error.
11987 Use char because int might match the return type of a GCC
11988 builtin and then its argument prototype would still apply. */
11989 #ifdef __cplusplus
11990 extern "C"
11991 #endif
11992 char XRenderQueryExtension ();
11994 main ()
11996 return XRenderQueryExtension ();
11998 return 0;
12000 _ACEOF
12001 if ac_fn_c_try_link "$LINENO"; then :
12002 case "$LIBEXT" in
12003 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12004 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'` ;;
12005 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12006 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12007 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12008 fi ;;
12009 esac
12010 else
12011 ac_cv_lib_soname_Xrender=
12013 rm -f core conftest.err conftest.$ac_objext \
12014 conftest$ac_exeext conftest.$ac_ext
12015 LIBS=$ac_check_soname_save_LIBS
12017 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12019 $as_echo "not found" >&6; }
12021 else
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12023 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12025 cat >>confdefs.h <<_ACEOF
12026 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12027 _ACEOF
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12030 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12031 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12032 $as_echo_n "(cached) " >&6
12033 else
12034 ac_check_lib_save_LIBS=$LIBS
12035 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12037 /* end confdefs.h. */
12039 /* Override any GCC internal prototype to avoid an error.
12040 Use char because int might match the return type of a GCC
12041 builtin and then its argument prototype would still apply. */
12042 #ifdef __cplusplus
12043 extern "C"
12044 #endif
12045 char XRenderSetPictureTransform ();
12047 main ()
12049 return XRenderSetPictureTransform ();
12051 return 0;
12053 _ACEOF
12054 if ac_fn_c_try_link "$LINENO"; then :
12055 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12056 else
12057 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12059 rm -f core conftest.err conftest.$ac_objext \
12060 conftest$ac_exeext conftest.$ac_ext
12061 LIBS=$ac_check_lib_save_LIBS
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12064 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12065 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12067 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12072 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12073 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12074 $as_echo_n "(cached) " >&6
12075 else
12076 ac_check_lib_save_LIBS=$LIBS
12077 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 /* Override any GCC internal prototype to avoid an error.
12082 Use char because int might match the return type of a GCC
12083 builtin and then its argument prototype would still apply. */
12084 #ifdef __cplusplus
12085 extern "C"
12086 #endif
12087 char XRenderCreateLinearGradient ();
12089 main ()
12091 return XRenderCreateLinearGradient ();
12093 return 0;
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"; then :
12097 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12098 else
12099 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12101 rm -f core conftest.err conftest.$ac_objext \
12102 conftest$ac_exeext conftest.$ac_ext
12103 LIBS=$ac_check_lib_save_LIBS
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12106 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12107 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12109 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12116 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12117 case "x$with_xrender" in
12118 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12119 xno) ;;
12120 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12121 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12122 esac
12126 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12127 then
12128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12130 #include <X11/Xlib.h>
12131 #include <X11/extensions/Xrandr.h>
12133 main ()
12135 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12137 return 0;
12139 _ACEOF
12140 if ac_fn_c_try_compile "$LINENO"; then :
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12142 $as_echo_n "checking for -lXrandr... " >&6; }
12143 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12144 $as_echo_n "(cached) " >&6
12145 else
12146 ac_check_soname_save_LIBS=$LIBS
12147 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12151 /* Override any GCC internal prototype to avoid an error.
12152 Use char because int might match the return type of a GCC
12153 builtin and then its argument prototype would still apply. */
12154 #ifdef __cplusplus
12155 extern "C"
12156 #endif
12157 char XRRQueryExtension ();
12159 main ()
12161 return XRRQueryExtension ();
12163 return 0;
12165 _ACEOF
12166 if ac_fn_c_try_link "$LINENO"; then :
12167 case "$LIBEXT" in
12168 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12169 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'` ;;
12170 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12171 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12172 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12173 fi ;;
12174 esac
12175 else
12176 ac_cv_lib_soname_Xrandr=
12178 rm -f core conftest.err conftest.$ac_objext \
12179 conftest$ac_exeext conftest.$ac_ext
12180 LIBS=$ac_check_soname_save_LIBS
12182 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12184 $as_echo "not found" >&6; }
12186 else
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12188 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12190 cat >>confdefs.h <<_ACEOF
12191 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12192 _ACEOF
12194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12196 #include <X11/Xlib.h>
12197 #include <X11/extensions/Xrandr.h>
12199 main ()
12201 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12203 return 0;
12205 _ACEOF
12206 if ac_fn_c_try_compile "$LINENO"; then :
12208 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12213 /* end confdefs.h. */
12214 #include <X11/Xlib.h>
12215 #include <X11/extensions/Xrandr.h>
12217 main ()
12219 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12221 return 0;
12223 _ACEOF
12224 if ac_fn_c_try_compile "$LINENO"; then :
12226 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12228 else
12229 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12236 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12237 case "x$with_xrandr" in
12238 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12239 xno) ;;
12240 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12241 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12242 esac
12246 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12247 then
12248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12249 /* end confdefs.h. */
12250 #include <X11/Xlib.h>
12251 #include <X11/extensions/Xfixes.h>
12253 main ()
12255 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12257 return 0;
12259 _ACEOF
12260 if ac_fn_c_try_compile "$LINENO"; then :
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12262 $as_echo_n "checking for -lXfixes... " >&6; }
12263 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12264 $as_echo_n "(cached) " >&6
12265 else
12266 ac_check_soname_save_LIBS=$LIBS
12267 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12271 /* Override any GCC internal prototype to avoid an error.
12272 Use char because int might match the return type of a GCC
12273 builtin and then its argument prototype would still apply. */
12274 #ifdef __cplusplus
12275 extern "C"
12276 #endif
12277 char XFixesQueryVersion ();
12279 main ()
12281 return XFixesQueryVersion ();
12283 return 0;
12285 _ACEOF
12286 if ac_fn_c_try_link "$LINENO"; then :
12287 case "$LIBEXT" in
12288 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12289 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'` ;;
12290 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12291 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12292 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12293 fi ;;
12294 esac
12295 else
12296 ac_cv_lib_soname_Xfixes=
12298 rm -f core conftest.err conftest.$ac_objext \
12299 conftest$ac_exeext conftest.$ac_ext
12300 LIBS=$ac_check_soname_save_LIBS
12302 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12304 $as_echo "not found" >&6; }
12306 else
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12308 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12310 cat >>confdefs.h <<_ACEOF
12311 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12312 _ACEOF
12317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12319 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12320 case "x$with_xfixes" in
12321 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12322 xno) ;;
12323 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12324 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12325 esac
12329 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12330 then
12331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12332 /* end confdefs.h. */
12333 #include <X11/Xlib.h>
12334 #include <X11/extensions/Xinerama.h>
12336 main ()
12338 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12340 return 0;
12342 _ACEOF
12343 if ac_fn_c_try_compile "$LINENO"; then :
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12345 $as_echo_n "checking for -lXinerama... " >&6; }
12346 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12347 $as_echo_n "(cached) " >&6
12348 else
12349 ac_check_soname_save_LIBS=$LIBS
12350 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12352 /* end confdefs.h. */
12354 /* Override any GCC internal prototype to avoid an error.
12355 Use char because int might match the return type of a GCC
12356 builtin and then its argument prototype would still apply. */
12357 #ifdef __cplusplus
12358 extern "C"
12359 #endif
12360 char XineramaQueryScreens ();
12362 main ()
12364 return XineramaQueryScreens ();
12366 return 0;
12368 _ACEOF
12369 if ac_fn_c_try_link "$LINENO"; then :
12370 case "$LIBEXT" in
12371 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12372 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'` ;;
12373 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12374 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12375 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12376 fi ;;
12377 esac
12378 else
12379 ac_cv_lib_soname_Xinerama=
12381 rm -f core conftest.err conftest.$ac_objext \
12382 conftest$ac_exeext conftest.$ac_ext
12383 LIBS=$ac_check_soname_save_LIBS
12385 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12387 $as_echo "not found" >&6; }
12389 else
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12391 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12393 cat >>confdefs.h <<_ACEOF
12394 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12395 _ACEOF
12400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12402 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12403 case "x$with_xinerama" in
12404 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12405 xno) ;;
12406 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12407 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12408 esac
12412 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12413 then
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12415 $as_echo_n "checking for -lXcomposite... " >&6; }
12416 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12417 $as_echo_n "(cached) " >&6
12418 else
12419 ac_check_soname_save_LIBS=$LIBS
12420 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12422 /* end confdefs.h. */
12424 /* Override any GCC internal prototype to avoid an error.
12425 Use char because int might match the return type of a GCC
12426 builtin and then its argument prototype would still apply. */
12427 #ifdef __cplusplus
12428 extern "C"
12429 #endif
12430 char XCompositeRedirectWindow ();
12432 main ()
12434 return XCompositeRedirectWindow ();
12436 return 0;
12438 _ACEOF
12439 if ac_fn_c_try_link "$LINENO"; then :
12440 case "$LIBEXT" in
12441 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12442 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'` ;;
12443 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12444 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12445 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12446 fi ;;
12447 esac
12448 else
12449 ac_cv_lib_soname_Xcomposite=
12451 rm -f core conftest.err conftest.$ac_objext \
12452 conftest$ac_exeext conftest.$ac_ext
12453 LIBS=$ac_check_soname_save_LIBS
12455 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12457 $as_echo "not found" >&6; }
12459 else
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12461 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12463 cat >>confdefs.h <<_ACEOF
12464 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12465 _ACEOF
12470 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12471 case "x$with_xcomposite" in
12472 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12473 xno) ;;
12474 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12475 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12476 esac
12480 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12481 #include <X11/Xlib.h>
12482 #endif
12484 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12486 cat >>confdefs.h <<_ACEOF
12487 #define HAVE_XICCALLBACK_CALLBACK 1
12488 _ACEOF
12492 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12493 #include <X11/Xlib.h>
12494 #endif
12496 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12498 cat >>confdefs.h <<_ACEOF
12499 #define HAVE_XEVENT_XCOOKIE 1
12500 _ACEOF
12507 opengl_msg=""
12508 if test "x$with_opengl" != "xno"
12509 then
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12511 $as_echo_n "checking for -lGL... " >&6; }
12512 if ${ac_cv_lib_soname_GL+:} false; then :
12513 $as_echo_n "(cached) " >&6
12514 else
12515 ac_check_soname_save_LIBS=$LIBS
12516 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12518 /* end confdefs.h. */
12520 /* Override any GCC internal prototype to avoid an error.
12521 Use char because int might match the return type of a GCC
12522 builtin and then its argument prototype would still apply. */
12523 #ifdef __cplusplus
12524 extern "C"
12525 #endif
12526 char glXCreateContext ();
12528 main ()
12530 return glXCreateContext ();
12532 return 0;
12534 _ACEOF
12535 if ac_fn_c_try_link "$LINENO"; then :
12536 case "$LIBEXT" in
12537 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12538 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'` ;;
12539 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12540 if ${ac_cv_lib_soname_GL:+false} :; then :
12541 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12542 fi ;;
12543 esac
12544 else
12545 ac_cv_lib_soname_GL=
12547 rm -f core conftest.err conftest.$ac_objext \
12548 conftest$ac_exeext conftest.$ac_ext
12549 LIBS=$ac_check_soname_save_LIBS
12551 if ${ac_cv_lib_soname_GL:+false} :; then :
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12553 $as_echo "not found" >&6; }
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12555 $as_echo_n "checking for -lGL... " >&6; }
12556 if ${ac_cv_lib_soname_GL+:} false; then :
12557 $as_echo_n "(cached) " >&6
12558 else
12559 ac_check_soname_save_LIBS=$LIBS
12560 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"
12561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12562 /* end confdefs.h. */
12564 /* Override any GCC internal prototype to avoid an error.
12565 Use char because int might match the return type of a GCC
12566 builtin and then its argument prototype would still apply. */
12567 #ifdef __cplusplus
12568 extern "C"
12569 #endif
12570 char glXCreateContext ();
12572 main ()
12574 return glXCreateContext ();
12576 return 0;
12578 _ACEOF
12579 if ac_fn_c_try_link "$LINENO"; then :
12580 case "$LIBEXT" in
12581 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12582 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'` ;;
12583 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12584 if ${ac_cv_lib_soname_GL:+false} :; then :
12585 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12586 fi ;;
12587 esac
12588 else
12589 ac_cv_lib_soname_GL=
12591 rm -f core conftest.err conftest.$ac_objext \
12592 conftest$ac_exeext conftest.$ac_ext
12593 LIBS=$ac_check_soname_save_LIBS
12595 if ${ac_cv_lib_soname_GL:+false} :; then :
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12597 $as_echo "not found" >&6; }
12598 if test -f /usr/X11R6/lib/libGL.a
12599 then
12600 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12601 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12602 else
12603 opengl_msg="No OpenGL library found on this system."
12605 else
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12607 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12609 cat >>confdefs.h <<_ACEOF
12610 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12611 _ACEOF
12613 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"
12615 else
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12617 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12619 cat >>confdefs.h <<_ACEOF
12620 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12621 _ACEOF
12623 OPENGL_LIBS="-lGL"
12625 if test "x$with_glu" != "xno"
12626 then
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12628 $as_echo_n "checking for -lGLU... " >&6; }
12629 if ${ac_cv_lib_soname_GLU+:} false; then :
12630 $as_echo_n "(cached) " >&6
12631 else
12632 ac_check_soname_save_LIBS=$LIBS
12633 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12635 /* end confdefs.h. */
12637 /* Override any GCC internal prototype to avoid an error.
12638 Use char because int might match the return type of a GCC
12639 builtin and then its argument prototype would still apply. */
12640 #ifdef __cplusplus
12641 extern "C"
12642 #endif
12643 char gluLookAt ();
12645 main ()
12647 return gluLookAt ();
12649 return 0;
12651 _ACEOF
12652 if ac_fn_c_try_link "$LINENO"; then :
12653 case "$LIBEXT" in
12654 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12655 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'` ;;
12656 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12657 if ${ac_cv_lib_soname_GLU:+false} :; then :
12658 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12659 fi ;;
12660 esac
12661 else
12662 ac_cv_lib_soname_GLU=
12664 rm -f core conftest.err conftest.$ac_objext \
12665 conftest$ac_exeext conftest.$ac_ext
12666 LIBS=$ac_check_soname_save_LIBS
12668 if ${ac_cv_lib_soname_GLU:+false} :; then :
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12670 $as_echo "not found" >&6; }
12672 else
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12674 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12676 cat >>confdefs.h <<_ACEOF
12677 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12678 _ACEOF
12682 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12683 case "x$with_glu" in
12684 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12685 xno) ;;
12686 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12687 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12688 esac
12693 if test "x$with_osmesa" != "xno"
12694 then
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12696 $as_echo_n "checking for -lOSMesa... " >&6; }
12697 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12698 $as_echo_n "(cached) " >&6
12699 else
12700 ac_check_soname_save_LIBS=$LIBS
12701 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12703 /* end confdefs.h. */
12705 /* Override any GCC internal prototype to avoid an error.
12706 Use char because int might match the return type of a GCC
12707 builtin and then its argument prototype would still apply. */
12708 #ifdef __cplusplus
12709 extern "C"
12710 #endif
12711 char OSMesaGetProcAddress ();
12713 main ()
12715 return OSMesaGetProcAddress ();
12717 return 0;
12719 _ACEOF
12720 if ac_fn_c_try_link "$LINENO"; then :
12721 case "$LIBEXT" in
12722 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12723 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'` ;;
12724 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12725 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12726 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12727 fi ;;
12728 esac
12729 else
12730 ac_cv_lib_soname_OSMesa=
12732 rm -f core conftest.err conftest.$ac_objext \
12733 conftest$ac_exeext conftest.$ac_ext
12734 LIBS=$ac_check_soname_save_LIBS
12736 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12738 $as_echo "not found" >&6; }
12740 else
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12742 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12744 cat >>confdefs.h <<_ACEOF
12745 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12746 _ACEOF
12750 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12751 case "x$with_osmesa" in
12752 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12753 xno) ;;
12754 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12755 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12756 esac
12761 if test -n "$opengl_msg"; then :
12762 case "x$with_opengl" in
12763 x) as_fn_append wine_warnings "|$opengl_msg
12764 OpenGL and Direct3D won't be supported." ;;
12765 xno) ;;
12766 *) as_fn_error $? "$opengl_msg
12767 OpenGL and Direct3D won't be supported.
12768 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12769 esac
12773 CPPFLAGS="$ac_save_CPPFLAGS"
12774 else
12775 X_CFLAGS=""
12776 X_LIBS=""
12779 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12780 then
12781 if test "x$X_LIBS" = "x"; then :
12782 case "x$with_x" in
12783 xno) ;;
12784 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12785 without X support, which probably isn't what you want. You will need
12786 to install ${notice_platform}development packages of Xlib at the very least.
12787 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12788 esac
12789 enable_winex11_drv=${enable_winex11_drv:-no}
12791 else
12792 if test "x$X_LIBS" = "x"; then :
12793 case "x$with_x" in
12794 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12795 xno) ;;
12796 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12797 This is an error since --with-x was requested." "$LINENO" 5 ;;
12798 esac
12799 enable_winex11_drv=${enable_winex11_drv:-no}
12803 if test "$ac_cv_header_CL_cl_h" = "yes"
12804 then
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12806 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12807 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12808 $as_echo_n "(cached) " >&6
12809 else
12810 ac_check_lib_save_LIBS=$LIBS
12811 LIBS="-lOpenCL $LIBS"
12812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12813 /* end confdefs.h. */
12815 /* Override any GCC internal prototype to avoid an error.
12816 Use char because int might match the return type of a GCC
12817 builtin and then its argument prototype would still apply. */
12818 #ifdef __cplusplus
12819 extern "C"
12820 #endif
12821 char clGetPlatformInfo ();
12823 main ()
12825 return clGetPlatformInfo ();
12827 return 0;
12829 _ACEOF
12830 if ac_fn_c_try_link "$LINENO"; then :
12831 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12832 else
12833 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12835 rm -f core conftest.err conftest.$ac_objext \
12836 conftest$ac_exeext conftest.$ac_ext
12837 LIBS=$ac_check_lib_save_LIBS
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12840 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12841 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12842 OPENCL_LIBS="-lOpenCL"
12847 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12848 case "x$with_opencl" in
12849 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12850 xno) ;;
12851 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12852 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12853 esac
12854 enable_opencl=${enable_opencl:-no}
12857 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12858 then
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12860 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12861 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12862 $as_echo_n "(cached) " >&6
12863 else
12864 ac_check_lib_save_LIBS=$LIBS
12865 LIBS="-lpcap $LIBS"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 /* Override any GCC internal prototype to avoid an error.
12870 Use char because int might match the return type of a GCC
12871 builtin and then its argument prototype would still apply. */
12872 #ifdef __cplusplus
12873 extern "C"
12874 #endif
12875 char pcap_create ();
12877 main ()
12879 return pcap_create ();
12881 return 0;
12883 _ACEOF
12884 if ac_fn_c_try_link "$LINENO"; then :
12885 ac_cv_lib_pcap_pcap_create=yes
12886 else
12887 ac_cv_lib_pcap_pcap_create=no
12889 rm -f core conftest.err conftest.$ac_objext \
12890 conftest$ac_exeext conftest.$ac_ext
12891 LIBS=$ac_check_lib_save_LIBS
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12894 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12895 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12896 PCAP_LIBS="-lpcap"
12901 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12902 case "x$with_pcap" in
12903 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12904 xno) ;;
12905 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12906 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12907 esac
12908 enable_wpcap=${enable_wpcap:-no}
12912 if test "x$with_xml" != "xno"
12913 then
12914 if ${XML2_CFLAGS:+false} :; then :
12915 if ${PKG_CONFIG+:} false; then :
12916 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12919 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12920 if ${XML2_LIBS:+false} :; then :
12921 if ${PKG_CONFIG+:} false; then :
12922 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12925 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12926 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12927 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12928 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12929 ac_save_CPPFLAGS=$CPPFLAGS
12930 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12931 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12932 do :
12933 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12934 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12935 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12936 cat >>confdefs.h <<_ACEOF
12937 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12938 _ACEOF
12942 done
12944 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"
12945 then
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12947 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12948 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12949 $as_echo_n "(cached) " >&6
12950 else
12951 ac_check_lib_save_LIBS=$LIBS
12952 LIBS="-lxml2 $XML2_LIBS $LIBS"
12953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12956 /* Override any GCC internal prototype to avoid an error.
12957 Use char because int might match the return type of a GCC
12958 builtin and then its argument prototype would still apply. */
12959 #ifdef __cplusplus
12960 extern "C"
12961 #endif
12962 char xmlParseMemory ();
12964 main ()
12966 return xmlParseMemory ();
12968 return 0;
12970 _ACEOF
12971 if ac_fn_c_try_link "$LINENO"; then :
12972 ac_cv_lib_xml2_xmlParseMemory=yes
12973 else
12974 ac_cv_lib_xml2_xmlParseMemory=no
12976 rm -f core conftest.err conftest.$ac_objext \
12977 conftest$ac_exeext conftest.$ac_ext
12978 LIBS=$ac_check_lib_save_LIBS
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12981 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12982 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12984 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12986 else
12987 XML2_LIBS=""
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12991 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12992 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12993 $as_echo_n "(cached) " >&6
12994 else
12995 ac_check_lib_save_LIBS=$LIBS
12996 LIBS="-lxml2 $XML2_LIBS $LIBS"
12997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12998 /* end confdefs.h. */
13000 /* Override any GCC internal prototype to avoid an error.
13001 Use char because int might match the return type of a GCC
13002 builtin and then its argument prototype would still apply. */
13003 #ifdef __cplusplus
13004 extern "C"
13005 #endif
13006 char xmlReadMemory ();
13008 main ()
13010 return xmlReadMemory ();
13012 return 0;
13014 _ACEOF
13015 if ac_fn_c_try_link "$LINENO"; then :
13016 ac_cv_lib_xml2_xmlReadMemory=yes
13017 else
13018 ac_cv_lib_xml2_xmlReadMemory=no
13020 rm -f core conftest.err conftest.$ac_objext \
13021 conftest$ac_exeext conftest.$ac_ext
13022 LIBS=$ac_check_lib_save_LIBS
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13025 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13026 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13028 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13033 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13034 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13035 $as_echo_n "(cached) " >&6
13036 else
13037 ac_check_lib_save_LIBS=$LIBS
13038 LIBS="-lxml2 $XML2_LIBS $LIBS"
13039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13040 /* end confdefs.h. */
13042 /* Override any GCC internal prototype to avoid an error.
13043 Use char because int might match the return type of a GCC
13044 builtin and then its argument prototype would still apply. */
13045 #ifdef __cplusplus
13046 extern "C"
13047 #endif
13048 char xmlNewDocPI ();
13050 main ()
13052 return xmlNewDocPI ();
13054 return 0;
13056 _ACEOF
13057 if ac_fn_c_try_link "$LINENO"; then :
13058 ac_cv_lib_xml2_xmlNewDocPI=yes
13059 else
13060 ac_cv_lib_xml2_xmlNewDocPI=no
13062 rm -f core conftest.err conftest.$ac_objext \
13063 conftest$ac_exeext conftest.$ac_ext
13064 LIBS=$ac_check_lib_save_LIBS
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13067 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13068 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13070 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13075 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13076 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13077 $as_echo_n "(cached) " >&6
13078 else
13079 ac_check_lib_save_LIBS=$LIBS
13080 LIBS="-lxml2 $XML2_LIBS $LIBS"
13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13084 /* Override any GCC internal prototype to avoid an error.
13085 Use char because int might match the return type of a GCC
13086 builtin and then its argument prototype would still apply. */
13087 #ifdef __cplusplus
13088 extern "C"
13089 #endif
13090 char xmlSchemaSetParserStructuredErrors ();
13092 main ()
13094 return xmlSchemaSetParserStructuredErrors ();
13096 return 0;
13098 _ACEOF
13099 if ac_fn_c_try_link "$LINENO"; then :
13100 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13101 else
13102 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13104 rm -f core conftest.err conftest.$ac_objext \
13105 conftest$ac_exeext conftest.$ac_ext
13106 LIBS=$ac_check_lib_save_LIBS
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13109 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13110 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13112 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13117 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13118 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13119 $as_echo_n "(cached) " >&6
13120 else
13121 ac_check_lib_save_LIBS=$LIBS
13122 LIBS="-lxml2 $XML2_LIBS $LIBS"
13123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13124 /* end confdefs.h. */
13126 /* Override any GCC internal prototype to avoid an error.
13127 Use char because int might match the return type of a GCC
13128 builtin and then its argument prototype would still apply. */
13129 #ifdef __cplusplus
13130 extern "C"
13131 #endif
13132 char xmlSchemaSetValidStructuredErrors ();
13134 main ()
13136 return xmlSchemaSetValidStructuredErrors ();
13138 return 0;
13140 _ACEOF
13141 if ac_fn_c_try_link "$LINENO"; then :
13142 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13143 else
13144 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13146 rm -f core conftest.err conftest.$ac_objext \
13147 conftest$ac_exeext conftest.$ac_ext
13148 LIBS=$ac_check_lib_save_LIBS
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13151 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13152 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13154 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13159 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13160 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13161 $as_echo_n "(cached) " >&6
13162 else
13163 ac_check_lib_save_LIBS=$LIBS
13164 LIBS="-lxml2 $XML2_LIBS $LIBS"
13165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13166 /* end confdefs.h. */
13168 /* Override any GCC internal prototype to avoid an error.
13169 Use char because int might match the return type of a GCC
13170 builtin and then its argument prototype would still apply. */
13171 #ifdef __cplusplus
13172 extern "C"
13173 #endif
13174 char xmlFirstElementChild ();
13176 main ()
13178 return xmlFirstElementChild ();
13180 return 0;
13182 _ACEOF
13183 if ac_fn_c_try_link "$LINENO"; then :
13184 ac_cv_lib_xml2_xmlFirstElementChild=yes
13185 else
13186 ac_cv_lib_xml2_xmlFirstElementChild=no
13188 rm -f core conftest.err conftest.$ac_objext \
13189 conftest$ac_exeext conftest.$ac_ext
13190 LIBS=$ac_check_lib_save_LIBS
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13193 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13194 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13196 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13200 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13202 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13204 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13208 else
13209 XML2_CFLAGS=""
13210 XML2_LIBS=""
13212 CPPFLAGS=$ac_save_CPPFLAGS
13213 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13214 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13217 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13218 case "x$with_xml" in
13219 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13220 xno) ;;
13221 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13222 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13223 esac
13227 if test "x$with_xslt" != "xno"
13228 then
13229 if ${XSLT_CFLAGS:+false} :; then :
13230 if ${PKG_CONFIG+:} false; then :
13231 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13234 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13235 if ${XSLT_LIBS:+false} :; then :
13236 if ${PKG_CONFIG+:} false; then :
13237 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13240 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13241 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13242 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13243 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13244 ac_save_CPPFLAGS=$CPPFLAGS
13245 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13246 for ac_header in libxslt/pattern.h libxslt/transform.h
13247 do :
13248 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13249 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13250 # include <libxslt/pattern.h>
13251 #endif
13253 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13254 cat >>confdefs.h <<_ACEOF
13255 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13256 _ACEOF
13260 done
13262 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13263 then
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13265 $as_echo_n "checking for -lxslt... " >&6; }
13266 if ${ac_cv_lib_soname_xslt+:} false; then :
13267 $as_echo_n "(cached) " >&6
13268 else
13269 ac_check_soname_save_LIBS=$LIBS
13270 LIBS="-lxslt $XSLT_LIBS $LIBS"
13271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13272 /* end confdefs.h. */
13274 /* Override any GCC internal prototype to avoid an error.
13275 Use char because int might match the return type of a GCC
13276 builtin and then its argument prototype would still apply. */
13277 #ifdef __cplusplus
13278 extern "C"
13279 #endif
13280 char xsltCompilePattern ();
13282 main ()
13284 return xsltCompilePattern ();
13286 return 0;
13288 _ACEOF
13289 if ac_fn_c_try_link "$LINENO"; then :
13290 case "$LIBEXT" in
13291 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13292 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'` ;;
13293 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13294 if ${ac_cv_lib_soname_xslt:+false} :; then :
13295 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13296 fi ;;
13297 esac
13298 else
13299 ac_cv_lib_soname_xslt=
13301 rm -f core conftest.err conftest.$ac_objext \
13302 conftest$ac_exeext conftest.$ac_ext
13303 LIBS=$ac_check_soname_save_LIBS
13305 if ${ac_cv_lib_soname_xslt:+false} :; then :
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13307 $as_echo "not found" >&6; }
13309 else
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13311 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13313 cat >>confdefs.h <<_ACEOF
13314 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13315 _ACEOF
13319 else
13320 XSLT_CFLAGS=""
13322 CPPFLAGS=$ac_save_CPPFLAGS
13323 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13324 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13327 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13328 case "x$with_xslt" in
13329 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13330 xno) ;;
13331 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13332 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13333 esac
13337 if test "x$with_inotify" != "xno"
13338 then
13339 if ${INOTIFY_CFLAGS:+false} :; then :
13340 if ${PKG_CONFIG+:} false; then :
13341 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13345 if ${INOTIFY_LIBS:+false} :; then :
13346 if ${PKG_CONFIG+:} false; then :
13347 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13352 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13353 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13354 ac_save_CPPFLAGS=$CPPFLAGS
13355 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13356 for ac_header in sys/inotify.h
13357 do :
13358 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13359 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13360 cat >>confdefs.h <<_ACEOF
13361 #define HAVE_SYS_INOTIFY_H 1
13362 _ACEOF
13366 done
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13369 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13370 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13371 $as_echo_n "(cached) " >&6
13372 else
13373 ac_check_lib_save_LIBS=$LIBS
13374 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h. */
13378 /* Override any GCC internal prototype to avoid an error.
13379 Use char because int might match the return type of a GCC
13380 builtin and then its argument prototype would still apply. */
13381 #ifdef __cplusplus
13382 extern "C"
13383 #endif
13384 char inotify_add_watch ();
13386 main ()
13388 return inotify_add_watch ();
13390 return 0;
13392 _ACEOF
13393 if ac_fn_c_try_link "$LINENO"; then :
13394 ac_cv_lib_inotify_inotify_add_watch=yes
13395 else
13396 ac_cv_lib_inotify_inotify_add_watch=no
13398 rm -f core conftest.err conftest.$ac_objext \
13399 conftest$ac_exeext conftest.$ac_ext
13400 LIBS=$ac_check_lib_save_LIBS
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13403 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13404 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13406 else
13407 INOTIFY_LIBS=""
13410 CPPFLAGS=$ac_save_CPPFLAGS
13411 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13412 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13415 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13416 case "x$with_inotify" in
13417 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13418 xno) ;;
13419 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13420 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13421 esac
13425 if test "x$with_dbus" != "xno"
13426 then
13427 if ${DBUS_CFLAGS:+false} :; then :
13428 if ${PKG_CONFIG+:} false; then :
13429 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13433 if ${DBUS_LIBS:+false} :; then :
13434 if ${PKG_CONFIG+:} false; then :
13435 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13440 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13441 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13442 ac_save_CPPFLAGS=$CPPFLAGS
13443 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13444 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13445 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13447 $as_echo_n "checking for -ldbus-1... " >&6; }
13448 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13449 $as_echo_n "(cached) " >&6
13450 else
13451 ac_check_soname_save_LIBS=$LIBS
13452 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13456 /* Override any GCC internal prototype to avoid an error.
13457 Use char because int might match the return type of a GCC
13458 builtin and then its argument prototype would still apply. */
13459 #ifdef __cplusplus
13460 extern "C"
13461 #endif
13462 char dbus_connection_close ();
13464 main ()
13466 return dbus_connection_close ();
13468 return 0;
13470 _ACEOF
13471 if ac_fn_c_try_link "$LINENO"; then :
13472 case "$LIBEXT" in
13473 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13474 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'` ;;
13475 *) 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'`
13476 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13477 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13478 fi ;;
13479 esac
13480 else
13481 ac_cv_lib_soname_dbus_1=
13483 rm -f core conftest.err conftest.$ac_objext \
13484 conftest$ac_exeext conftest.$ac_ext
13485 LIBS=$ac_check_soname_save_LIBS
13487 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13489 $as_echo "not found" >&6; }
13490 DBUS_CFLAGS=""
13491 else
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13493 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13495 cat >>confdefs.h <<_ACEOF
13496 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13497 _ACEOF
13501 else
13502 DBUS_CFLAGS=""
13506 CPPFLAGS=$ac_save_CPPFLAGS
13507 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13508 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13511 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13512 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13513 case "x$with_dbus" in
13514 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13515 xno) ;;
13516 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13517 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13518 esac
13522 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13523 then
13524 if ${HAL_CFLAGS:+false} :; then :
13525 if ${PKG_CONFIG+:} false; then :
13526 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13530 if ${HAL_LIBS:+false} :; then :
13531 if ${PKG_CONFIG+:} false; then :
13532 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13536 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13537 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13538 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13539 ac_save_CPPFLAGS=$CPPFLAGS
13540 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13541 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13542 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13544 $as_echo_n "checking for -lhal... " >&6; }
13545 if ${ac_cv_lib_soname_hal+:} false; then :
13546 $as_echo_n "(cached) " >&6
13547 else
13548 ac_check_soname_save_LIBS=$LIBS
13549 LIBS="-lhal $HAL_LIBS $LIBS"
13550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13551 /* end confdefs.h. */
13553 /* Override any GCC internal prototype to avoid an error.
13554 Use char because int might match the return type of a GCC
13555 builtin and then its argument prototype would still apply. */
13556 #ifdef __cplusplus
13557 extern "C"
13558 #endif
13559 char libhal_ctx_new ();
13561 main ()
13563 return libhal_ctx_new ();
13565 return 0;
13567 _ACEOF
13568 if ac_fn_c_try_link "$LINENO"; then :
13569 case "$LIBEXT" in
13570 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13571 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'` ;;
13572 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13573 if ${ac_cv_lib_soname_hal:+false} :; then :
13574 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13575 fi ;;
13576 esac
13577 else
13578 ac_cv_lib_soname_hal=
13580 rm -f core conftest.err conftest.$ac_objext \
13581 conftest$ac_exeext conftest.$ac_ext
13582 LIBS=$ac_check_soname_save_LIBS
13584 if ${ac_cv_lib_soname_hal:+false} :; then :
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13586 $as_echo "not found" >&6; }
13587 HAL_CFLAGS=""
13588 else
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13590 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13592 cat >>confdefs.h <<_ACEOF
13593 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13594 _ACEOF
13598 else
13599 HAL_CFLAGS=""
13603 CPPFLAGS=$ac_save_CPPFLAGS
13604 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13605 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13607 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13608 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13609 case "x$with_hal" in
13610 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13611 xno) ;;
13612 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13613 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13614 esac
13619 if test "x$with_gnutls" != "xno"
13620 then
13621 if ${GNUTLS_CFLAGS:+false} :; then :
13622 if ${PKG_CONFIG+:} false; then :
13623 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13627 if ${GNUTLS_LIBS:+false} :; then :
13628 if ${PKG_CONFIG+:} false; then :
13629 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13633 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13634 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13635 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13636 ac_save_CPPFLAGS=$CPPFLAGS
13637 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13638 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13639 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13641 /* end confdefs.h. */
13642 #include <gnutls/gnutls.h>
13643 #include <gnutls/crypto.h>
13645 main ()
13647 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13649 return 0;
13651 _ACEOF
13652 if ac_fn_c_try_compile "$LINENO"; then :
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13654 $as_echo_n "checking for -lgnutls... " >&6; }
13655 if ${ac_cv_lib_soname_gnutls+:} false; then :
13656 $as_echo_n "(cached) " >&6
13657 else
13658 ac_check_soname_save_LIBS=$LIBS
13659 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13661 /* end confdefs.h. */
13663 /* Override any GCC internal prototype to avoid an error.
13664 Use char because int might match the return type of a GCC
13665 builtin and then its argument prototype would still apply. */
13666 #ifdef __cplusplus
13667 extern "C"
13668 #endif
13669 char gnutls_global_init ();
13671 main ()
13673 return gnutls_global_init ();
13675 return 0;
13677 _ACEOF
13678 if ac_fn_c_try_link "$LINENO"; then :
13679 case "$LIBEXT" in
13680 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13681 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'` ;;
13682 *) 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'`
13683 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13684 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'`
13685 fi ;;
13686 esac
13687 else
13688 ac_cv_lib_soname_gnutls=
13690 rm -f core conftest.err conftest.$ac_objext \
13691 conftest$ac_exeext conftest.$ac_ext
13692 LIBS=$ac_check_soname_save_LIBS
13694 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13696 $as_echo "not found" >&6; }
13697 GNUTLS_CFLAGS=""
13698 else
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13700 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13702 cat >>confdefs.h <<_ACEOF
13703 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13704 _ACEOF
13708 ac_wine_check_funcs_save_LIBS="$LIBS"
13709 LIBS="$LIBS $GNUTLS_LIBS"
13710 for ac_func in gnutls_cipher_init
13711 do :
13712 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13713 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13714 cat >>confdefs.h <<_ACEOF
13715 #define HAVE_GNUTLS_CIPHER_INIT 1
13716 _ACEOF
13718 else
13719 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13721 done
13723 LIBS="$ac_wine_check_funcs_save_LIBS"
13725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13726 else
13727 GNUTLS_CFLAGS=""
13731 CPPFLAGS=$ac_save_CPPFLAGS
13732 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13733 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13736 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13737 case "x$with_gnutls" in
13738 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13739 xno) ;;
13740 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13741 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13742 esac
13746 CURSES_LIBS=""
13747 if test "$ac_cv_header_ncurses_h" = "yes"
13748 then
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13750 $as_echo_n "checking for -lncurses... " >&6; }
13751 if ${ac_cv_lib_soname_ncurses+:} false; then :
13752 $as_echo_n "(cached) " >&6
13753 else
13754 ac_check_soname_save_LIBS=$LIBS
13755 LIBS="-lncurses $LIBS"
13756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13757 /* end confdefs.h. */
13759 /* Override any GCC internal prototype to avoid an error.
13760 Use char because int might match the return type of a GCC
13761 builtin and then its argument prototype would still apply. */
13762 #ifdef __cplusplus
13763 extern "C"
13764 #endif
13765 char waddch ();
13767 main ()
13769 return waddch ();
13771 return 0;
13773 _ACEOF
13774 if ac_fn_c_try_link "$LINENO"; then :
13775 case "$LIBEXT" in
13776 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13777 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'` ;;
13778 *) 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'`
13779 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13780 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13781 fi ;;
13782 esac
13783 else
13784 ac_cv_lib_soname_ncurses=
13786 rm -f core conftest.err conftest.$ac_objext \
13787 conftest$ac_exeext conftest.$ac_ext
13788 LIBS=$ac_check_soname_save_LIBS
13790 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13792 $as_echo "not found" >&6; }
13794 else
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13796 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13798 cat >>confdefs.h <<_ACEOF
13799 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13800 _ACEOF
13802 CURSES_LIBS="-lncurses"
13804 elif test "$ac_cv_header_curses_h" = "yes"
13805 then
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13807 $as_echo_n "checking for -lcurses... " >&6; }
13808 if ${ac_cv_lib_soname_curses+:} false; then :
13809 $as_echo_n "(cached) " >&6
13810 else
13811 ac_check_soname_save_LIBS=$LIBS
13812 LIBS="-lcurses $LIBS"
13813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13816 /* Override any GCC internal prototype to avoid an error.
13817 Use char because int might match the return type of a GCC
13818 builtin and then its argument prototype would still apply. */
13819 #ifdef __cplusplus
13820 extern "C"
13821 #endif
13822 char waddch ();
13824 main ()
13826 return waddch ();
13828 return 0;
13830 _ACEOF
13831 if ac_fn_c_try_link "$LINENO"; then :
13832 case "$LIBEXT" in
13833 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13834 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'` ;;
13835 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13836 if ${ac_cv_lib_soname_curses:+false} :; then :
13837 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13838 fi ;;
13839 esac
13840 else
13841 ac_cv_lib_soname_curses=
13843 rm -f core conftest.err conftest.$ac_objext \
13844 conftest$ac_exeext conftest.$ac_ext
13845 LIBS=$ac_check_soname_save_LIBS
13847 if ${ac_cv_lib_soname_curses:+false} :; then :
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13849 $as_echo "not found" >&6; }
13851 else
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13853 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13855 cat >>confdefs.h <<_ACEOF
13856 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13857 _ACEOF
13859 CURSES_LIBS="-lcurses"
13862 ac_save_LIBS="$LIBS"
13863 LIBS="$LIBS $CURSES_LIBS"
13864 for ac_func in mousemask
13865 do :
13866 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13867 if test "x$ac_cv_func_mousemask" = xyes; then :
13868 cat >>confdefs.h <<_ACEOF
13869 #define HAVE_MOUSEMASK 1
13870 _ACEOF
13873 done
13875 LIBS="$ac_save_LIBS"
13876 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13877 case "x$with_curses" in
13878 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13879 xno) ;;
13880 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13881 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13882 esac
13886 if test "x$with_sane" != "xno"
13887 then
13888 if ${SANE_CFLAGS:+false} :; then :
13889 if ${PKG_CONFIG+:} false; then :
13890 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13893 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13894 if ${SANE_LIBS:+false} :; then :
13895 if ${PKG_CONFIG+:} false; then :
13896 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13899 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13901 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13902 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13903 ac_save_CPPFLAGS=$CPPFLAGS
13904 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13905 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13906 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13908 $as_echo_n "checking for -lsane... " >&6; }
13909 if ${ac_cv_lib_soname_sane+:} false; then :
13910 $as_echo_n "(cached) " >&6
13911 else
13912 ac_check_soname_save_LIBS=$LIBS
13913 LIBS="-lsane $SANE_LIBS $LIBS"
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13917 /* Override any GCC internal prototype to avoid an error.
13918 Use char because int might match the return type of a GCC
13919 builtin and then its argument prototype would still apply. */
13920 #ifdef __cplusplus
13921 extern "C"
13922 #endif
13923 char sane_init ();
13925 main ()
13927 return sane_init ();
13929 return 0;
13931 _ACEOF
13932 if ac_fn_c_try_link "$LINENO"; then :
13933 case "$LIBEXT" in
13934 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13935 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'` ;;
13936 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13937 if ${ac_cv_lib_soname_sane:+false} :; then :
13938 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13939 fi ;;
13940 esac
13941 else
13942 ac_cv_lib_soname_sane=
13944 rm -f core conftest.err conftest.$ac_objext \
13945 conftest$ac_exeext conftest.$ac_ext
13946 LIBS=$ac_check_soname_save_LIBS
13948 if ${ac_cv_lib_soname_sane:+false} :; then :
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13950 $as_echo "not found" >&6; }
13951 SANE_CFLAGS=""
13952 else
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13954 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13956 cat >>confdefs.h <<_ACEOF
13957 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13958 _ACEOF
13962 else
13963 SANE_CFLAGS=""
13967 CPPFLAGS=$ac_save_CPPFLAGS
13968 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13969 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13972 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13973 case "x$with_sane" in
13974 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13975 xno) ;;
13976 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13977 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13978 esac
13982 if test "x$with_usb" != "xno"
13983 then
13984 if ${USB_CFLAGS:+false} :; then :
13985 if ${PKG_CONFIG+:} false; then :
13986 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13990 if ${USB_LIBS:+false} :; then :
13991 if ${PKG_CONFIG+:} false; then :
13992 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13996 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13997 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13998 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13999 ac_save_CPPFLAGS=$CPPFLAGS
14000 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
14001 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
14002 if test "x$ac_cv_header_libusb_h" = xyes; then :
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
14004 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
14005 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
14006 $as_echo_n "(cached) " >&6
14007 else
14008 ac_check_lib_save_LIBS=$LIBS
14009 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
14010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14011 /* end confdefs.h. */
14013 /* Override any GCC internal prototype to avoid an error.
14014 Use char because int might match the return type of a GCC
14015 builtin and then its argument prototype would still apply. */
14016 #ifdef __cplusplus
14017 extern "C"
14018 #endif
14019 char libusb_interrupt_event_handler ();
14021 main ()
14023 return libusb_interrupt_event_handler ();
14025 return 0;
14027 _ACEOF
14028 if ac_fn_c_try_link "$LINENO"; then :
14029 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
14030 else
14031 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
14033 rm -f core conftest.err conftest.$ac_objext \
14034 conftest$ac_exeext conftest.$ac_ext
14035 LIBS=$ac_check_lib_save_LIBS
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
14038 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
14039 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
14041 else
14042 USB_LIBS=""
14045 else
14046 USB_LIBS=""
14050 CPPFLAGS=$ac_save_CPPFLAGS
14051 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14052 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14055 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
14056 case "x$with_usb" in
14057 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14058 xno) ;;
14059 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14060 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14061 esac
14062 enable_wineusb_sys=${enable_wineusb_sys:-no}
14065 if test "x$with_v4l2" != "xno"
14066 then
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14068 $as_echo_n "checking for -lv4l2... " >&6; }
14069 if ${ac_cv_lib_soname_v4l2+:} false; then :
14070 $as_echo_n "(cached) " >&6
14071 else
14072 ac_check_soname_save_LIBS=$LIBS
14073 LIBS="-lv4l2 $LIBS"
14074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h. */
14077 /* Override any GCC internal prototype to avoid an error.
14078 Use char because int might match the return type of a GCC
14079 builtin and then its argument prototype would still apply. */
14080 #ifdef __cplusplus
14081 extern "C"
14082 #endif
14083 char v4l2_open ();
14085 main ()
14087 return v4l2_open ();
14089 return 0;
14091 _ACEOF
14092 if ac_fn_c_try_link "$LINENO"; then :
14093 case "$LIBEXT" in
14094 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14095 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'` ;;
14096 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14097 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14098 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14099 fi ;;
14100 esac
14101 else
14102 ac_cv_lib_soname_v4l2=
14104 rm -f core conftest.err conftest.$ac_objext \
14105 conftest$ac_exeext conftest.$ac_ext
14106 LIBS=$ac_check_soname_save_LIBS
14108 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14110 $as_echo "not found" >&6; }
14112 else
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14114 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14116 cat >>confdefs.h <<_ACEOF
14117 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14118 _ACEOF
14123 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14124 case "x$with_v4l2" in
14125 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14126 xno) ;;
14127 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14128 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14129 esac
14133 if test "x$with_gphoto" != "xno"
14134 then
14135 if ${GPHOTO2_CFLAGS:+false} :; then :
14136 if ${PKG_CONFIG+:} false; then :
14137 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14140 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14141 if ${GPHOTO2_LIBS:+false} :; then :
14142 if ${PKG_CONFIG+:} false; then :
14143 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14146 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14147 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14148 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14149 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14150 ac_save_CPPFLAGS=$CPPFLAGS
14151 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14152 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14153 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14155 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14156 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14157 $as_echo_n "(cached) " >&6
14158 else
14159 ac_check_lib_save_LIBS=$LIBS
14160 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h. */
14164 /* Override any GCC internal prototype to avoid an error.
14165 Use char because int might match the return type of a GCC
14166 builtin and then its argument prototype would still apply. */
14167 #ifdef __cplusplus
14168 extern "C"
14169 #endif
14170 char gp_camera_new ();
14172 main ()
14174 return gp_camera_new ();
14176 return 0;
14178 _ACEOF
14179 if ac_fn_c_try_link "$LINENO"; then :
14180 ac_cv_lib_gphoto2_gp_camera_new=yes
14181 else
14182 ac_cv_lib_gphoto2_gp_camera_new=no
14184 rm -f core conftest.err conftest.$ac_objext \
14185 conftest$ac_exeext conftest.$ac_ext
14186 LIBS=$ac_check_lib_save_LIBS
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14189 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14190 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14192 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14194 else
14195 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14198 else
14199 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14203 CPPFLAGS=$ac_save_CPPFLAGS
14204 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14205 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14207 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14208 if ${PKG_CONFIG+:} false; then :
14209 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14212 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14213 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14214 if ${PKG_CONFIG+:} false; then :
14215 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14218 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14219 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14220 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14221 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14222 ac_save_CPPFLAGS=$CPPFLAGS
14223 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14224 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14225 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14227 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14228 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14229 $as_echo_n "(cached) " >&6
14230 else
14231 ac_check_lib_save_LIBS=$LIBS
14232 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14234 /* end confdefs.h. */
14236 /* Override any GCC internal prototype to avoid an error.
14237 Use char because int might match the return type of a GCC
14238 builtin and then its argument prototype would still apply. */
14239 #ifdef __cplusplus
14240 extern "C"
14241 #endif
14242 char gp_port_info_list_new ();
14244 main ()
14246 return gp_port_info_list_new ();
14248 return 0;
14250 _ACEOF
14251 if ac_fn_c_try_link "$LINENO"; then :
14252 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14253 else
14254 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14256 rm -f core conftest.err conftest.$ac_objext \
14257 conftest$ac_exeext conftest.$ac_ext
14258 LIBS=$ac_check_lib_save_LIBS
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14261 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14262 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14264 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14266 else
14267 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14270 else
14271 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14275 CPPFLAGS=$ac_save_CPPFLAGS
14276 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14277 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14280 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14281 case "x$with_gphoto" in
14282 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14283 xno) ;;
14284 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14285 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14286 esac
14289 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14290 case "x$with_gphoto" in
14291 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14292 xno) ;;
14293 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14294 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14295 esac
14300 if test "$ac_cv_header_resolv_h" = "yes"
14301 then
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14303 $as_echo_n "checking for resolver library... " >&6; }
14304 if ${ac_cv_have_resolv+:} false; then :
14305 $as_echo_n "(cached) " >&6
14306 else
14307 ac_save_LIBS="$LIBS"
14308 for lib in '' -lresolv
14310 LIBS="$lib $ac_save_LIBS"
14311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14312 /* end confdefs.h. */
14313 #ifdef HAVE_NETINET_IN_H
14314 #include <netinet/in.h>
14315 #endif
14316 #include <resolv.h>
14318 main ()
14320 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14322 return 0;
14324 _ACEOF
14325 if ac_fn_c_try_link "$LINENO"; then :
14326 ac_cv_have_resolv=${lib:-"none required"}
14327 else
14328 ac_cv_have_resolv="not found"
14330 rm -f core conftest.err conftest.$ac_objext \
14331 conftest$ac_exeext conftest.$ac_ext
14332 test "x$ac_cv_have_resolv" = "xnot found" || break
14333 done
14334 LIBS="$ac_save_LIBS"
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14337 $as_echo "$ac_cv_have_resolv" >&6; }
14339 case "$ac_cv_have_resolv" in
14340 "not found") ;;
14341 "none required")
14343 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14346 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14348 RESOLV_LIBS=$ac_cv_have_resolv
14350 esac
14352 if test "x$ac_cv_have_resolv" != "xnot found"
14353 then
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14355 $as_echo_n "checking for res_getservers... " >&6; }
14356 if ${ac_cv_have_res_getservers+:} false; then :
14357 $as_echo_n "(cached) " >&6
14358 else
14359 ac_save_LIBS="$LIBS"
14360 LIBS="$RESOLV_LIBS $LIBS"
14361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14363 #include <resolv.h>
14365 main ()
14367 res_getservers(NULL, NULL, 0);
14369 return 0;
14371 _ACEOF
14372 if ac_fn_c_try_link "$LINENO"; then :
14373 ac_cv_have_res_getservers=yes
14374 else
14375 ac_cv_have_res_getservers=no
14377 rm -f core conftest.err conftest.$ac_objext \
14378 conftest$ac_exeext conftest.$ac_ext
14379 LIBS="$ac_save_LIBS"
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14382 $as_echo "$ac_cv_have_res_getservers" >&6; }
14383 if test "$ac_cv_have_res_getservers" = "yes"
14384 then
14386 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14392 if test "x$with_cms" != "xno"
14393 then
14394 if ${LCMS2_CFLAGS:+false} :; then :
14395 if ${PKG_CONFIG+:} false; then :
14396 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14400 if ${LCMS2_LIBS:+false} :; then :
14401 if ${PKG_CONFIG+:} false; then :
14402 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14406 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14407 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14408 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14409 ac_save_CPPFLAGS=$CPPFLAGS
14410 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14411 for ac_header in lcms2.h
14412 do :
14413 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14414 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14415 cat >>confdefs.h <<_ACEOF
14416 #define HAVE_LCMS2_H 1
14417 _ACEOF
14421 done
14423 if test "$ac_cv_header_lcms2_h" = "yes"
14424 then
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14426 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14427 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14428 $as_echo_n "(cached) " >&6
14429 else
14430 ac_check_lib_save_LIBS=$LIBS
14431 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14433 /* end confdefs.h. */
14435 /* Override any GCC internal prototype to avoid an error.
14436 Use char because int might match the return type of a GCC
14437 builtin and then its argument prototype would still apply. */
14438 #ifdef __cplusplus
14439 extern "C"
14440 #endif
14441 char cmsOpenProfileFromFile ();
14443 main ()
14445 return cmsOpenProfileFromFile ();
14447 return 0;
14449 _ACEOF
14450 if ac_fn_c_try_link "$LINENO"; then :
14451 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14452 else
14453 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14455 rm -f core conftest.err conftest.$ac_objext \
14456 conftest$ac_exeext conftest.$ac_ext
14457 LIBS=$ac_check_lib_save_LIBS
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14460 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14461 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14463 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14465 else
14466 LCMS2_LIBS=""
14469 else
14470 LCMS2_CFLAGS=""
14471 LCMS2_LIBS=""
14473 CPPFLAGS=$ac_save_CPPFLAGS
14474 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14475 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14478 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14479 case "x$with_cms" in
14480 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14481 xno) ;;
14482 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14483 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14484 esac
14488 if test "x$with_freetype" != "xno"
14489 then
14490 if ${FREETYPE_CFLAGS:+false} :; then :
14491 if ${PKG_CONFIG+:} false; then :
14492 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14495 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14496 if ${FREETYPE_LIBS:+false} :; then :
14497 if ${PKG_CONFIG+:} false; then :
14498 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14501 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14502 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14503 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14504 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14505 ac_save_CPPFLAGS=$CPPFLAGS
14506 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14507 for ac_header in ft2build.h
14508 do :
14509 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14510 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14511 cat >>confdefs.h <<_ACEOF
14512 #define HAVE_FT2BUILD_H 1
14513 _ACEOF
14517 done
14519 if test "$ac_cv_header_ft2build_h" = "yes"
14520 then
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14522 $as_echo_n "checking for -lfreetype... " >&6; }
14523 if ${ac_cv_lib_soname_freetype+:} false; then :
14524 $as_echo_n "(cached) " >&6
14525 else
14526 ac_check_soname_save_LIBS=$LIBS
14527 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14531 /* Override any GCC internal prototype to avoid an error.
14532 Use char because int might match the return type of a GCC
14533 builtin and then its argument prototype would still apply. */
14534 #ifdef __cplusplus
14535 extern "C"
14536 #endif
14537 char FT_Init_FreeType ();
14539 main ()
14541 return FT_Init_FreeType ();
14543 return 0;
14545 _ACEOF
14546 if ac_fn_c_try_link "$LINENO"; then :
14547 case "$LIBEXT" in
14548 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14549 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'` ;;
14550 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14551 if ${ac_cv_lib_soname_freetype:+false} :; then :
14552 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14553 fi ;;
14554 esac
14555 else
14556 ac_cv_lib_soname_freetype=
14558 rm -f core conftest.err conftest.$ac_objext \
14559 conftest$ac_exeext conftest.$ac_ext
14560 LIBS=$ac_check_soname_save_LIBS
14562 if ${ac_cv_lib_soname_freetype:+false} :; then :
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14564 $as_echo "not found" >&6; }
14565 FREETYPE_LIBS=""
14566 else
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14568 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14570 cat >>confdefs.h <<_ACEOF
14571 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14572 _ACEOF
14575 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14577 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14578 #include FT_MODULE_H
14580 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14582 cat >>confdefs.h <<_ACEOF
14583 #define HAVE_FT_TRUETYPEENGINETYPE 1
14584 _ACEOF
14590 else
14591 FREETYPE_CFLAGS=""
14592 FREETYPE_LIBS=""
14594 CPPFLAGS=$ac_save_CPPFLAGS
14595 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14596 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14599 if test "x$ac_cv_lib_soname_freetype" = x; then :
14600 case "x$with_freetype" in
14601 xno) ;;
14602 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14603 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14604 esac
14605 enable_fonts=${enable_fonts:-no}
14608 ac_wine_check_funcs_save_LIBS="$LIBS"
14609 LIBS="$LIBS $PTHREAD_LIBS"
14610 for ac_func in \
14611 pthread_getthreadid_np
14612 do :
14613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14615 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14616 cat >>confdefs.h <<_ACEOF
14617 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14618 _ACEOF
14621 done
14623 LIBS="$ac_wine_check_funcs_save_LIBS"
14625 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14626 then
14627 if test "$ac_cv_header_gettext_po_h" = "yes"
14628 then
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14630 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14631 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14632 $as_echo_n "(cached) " >&6
14633 else
14634 ac_check_lib_save_LIBS=$LIBS
14635 LIBS="-lgettextpo $LIBS"
14636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14637 /* end confdefs.h. */
14639 /* Override any GCC internal prototype to avoid an error.
14640 Use char because int might match the return type of a GCC
14641 builtin and then its argument prototype would still apply. */
14642 #ifdef __cplusplus
14643 extern "C"
14644 #endif
14645 char po_message_msgctxt ();
14647 main ()
14649 return po_message_msgctxt ();
14651 return 0;
14653 _ACEOF
14654 if ac_fn_c_try_link "$LINENO"; then :
14655 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14656 else
14657 ac_cv_lib_gettextpo_po_message_msgctxt=no
14659 rm -f core conftest.err conftest.$ac_objext \
14660 conftest$ac_exeext conftest.$ac_ext
14661 LIBS=$ac_check_lib_save_LIBS
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14664 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14665 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14667 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14669 GETTEXTPO_LIBS="-lgettextpo"
14674 if test "x$GETTEXTPO_LIBS" = "x"; then :
14675 case "x$with_gettextpo" in
14676 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14677 xno) ;;
14678 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14679 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14680 esac
14683 if test "$srcdir" != .; then :
14684 case "x$with_gettextpo" in
14685 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14686 xno) ;;
14687 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14688 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14689 esac
14694 if test "x$with_pulse" != "xno";
14695 then
14696 if ${PULSE_CFLAGS:+false} :; then :
14697 if ${PKG_CONFIG+:} false; then :
14698 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14702 if ${PULSE_LIBS:+false} :; then :
14703 if ${PKG_CONFIG+:} false; then :
14704 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14709 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14710 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14711 ac_save_CPPFLAGS=$CPPFLAGS
14712 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14713 for ac_header in pulse/pulseaudio.h
14714 do :
14715 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14716 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14717 cat >>confdefs.h <<_ACEOF
14718 #define HAVE_PULSE_PULSEAUDIO_H 1
14719 _ACEOF
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14721 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14722 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14723 $as_echo_n "(cached) " >&6
14724 else
14725 ac_check_lib_save_LIBS=$LIBS
14726 LIBS="-lpulse $PULSE_LIBS $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 pa_stream_is_corked ();
14738 main ()
14740 return pa_stream_is_corked ();
14742 return 0;
14744 _ACEOF
14745 if ac_fn_c_try_link "$LINENO"; then :
14746 ac_cv_lib_pulse_pa_stream_is_corked=yes
14747 else
14748 ac_cv_lib_pulse_pa_stream_is_corked=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_pulse_pa_stream_is_corked" >&5
14755 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14756 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14758 else
14759 PULSE_LIBS=""
14762 else
14763 PULSE_LIBS=""
14766 done
14768 CPPFLAGS=$ac_save_CPPFLAGS
14769 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14770 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14773 if test -z "$PULSE_LIBS"; then :
14774 case "x$with_pulse" in
14775 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14776 xno) ;;
14777 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14778 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14779 esac
14780 enable_winepulse_drv=${enable_winepulse_drv:-no}
14783 if test "x$with_gstreamer" != "xno"
14784 then
14785 if ${GSTREAMER_CFLAGS:+false} :; then :
14786 if ${PKG_CONFIG+:} false; then :
14787 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14791 if ${GSTREAMER_LIBS:+false} :; then :
14792 if ${PKG_CONFIG+:} false; then :
14793 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14798 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14799 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14800 ac_save_CPPFLAGS=$CPPFLAGS
14801 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14802 ac_gst_incl=""
14803 for i in $GSTREAMER_CFLAGS
14805 case "$i" in
14806 -I*) ac_gst_incl="$ac_gst_incl $i";;
14807 esac
14808 done
14809 GSTREAMER_CFLAGS=$ac_gst_incl
14810 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14811 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14812 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14814 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14817 #include <gst/gst.h>
14819 main ()
14821 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14823 return 0;
14825 _ACEOF
14826 if ac_fn_c_try_compile "$LINENO"; then :
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14828 $as_echo "yes" >&6; }
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14830 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14831 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14832 $as_echo_n "(cached) " >&6
14833 else
14834 ac_check_lib_save_LIBS=$LIBS
14835 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14837 /* end confdefs.h. */
14839 /* Override any GCC internal prototype to avoid an error.
14840 Use char because int might match the return type of a GCC
14841 builtin and then its argument prototype would still apply. */
14842 #ifdef __cplusplus
14843 extern "C"
14844 #endif
14845 char gst_pad_new ();
14847 main ()
14849 return gst_pad_new ();
14851 return 0;
14853 _ACEOF
14854 if ac_fn_c_try_link "$LINENO"; then :
14855 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14856 else
14857 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14859 rm -f core conftest.err conftest.$ac_objext \
14860 conftest$ac_exeext conftest.$ac_ext
14861 LIBS=$ac_check_lib_save_LIBS
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14864 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14865 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14869 else
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14871 $as_echo "no" >&6; }
14872 ac_glib2_broken=yes
14873 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14879 CPPFLAGS=$ac_save_CPPFLAGS
14880 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14881 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14884 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 :
14885 case "x$with_gstreamer" in
14886 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14887 xno) ;;
14888 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14889 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14890 esac
14893 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14895 ALSA_LIBS=""
14897 if test "x$with_alsa" != "xno"
14898 then
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14900 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14901 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14902 $as_echo_n "(cached) " >&6
14903 else
14904 ac_check_lib_save_LIBS=$LIBS
14905 LIBS="-lasound $LIBS"
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14909 /* Override any GCC internal prototype to avoid an error.
14910 Use char because int might match the return type of a GCC
14911 builtin and then its argument prototype would still apply. */
14912 #ifdef __cplusplus
14913 extern "C"
14914 #endif
14915 char snd_pcm_hw_params_get_access_mask ();
14917 main ()
14919 return snd_pcm_hw_params_get_access_mask ();
14921 return 0;
14923 _ACEOF
14924 if ac_fn_c_try_link "$LINENO"; then :
14925 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14926 else
14927 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14929 rm -f core conftest.err conftest.$ac_objext \
14930 conftest$ac_exeext conftest.$ac_ext
14931 LIBS=$ac_check_lib_save_LIBS
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14934 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14935 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14937 /* end confdefs.h. */
14938 #include <alsa/asoundlib.h>
14940 main ()
14942 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14944 return 0;
14946 _ACEOF
14947 if ac_fn_c_try_compile "$LINENO"; then :
14948 ALSA_LIBS="-lasound"
14950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14954 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14956 if test "x$with_oss" != xno
14957 then
14958 ac_save_CPPFLAGS="$CPPFLAGS"
14959 if test -f /etc/oss.conf
14960 then
14961 . /etc/oss.conf
14963 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14964 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14965 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14966 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14967 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14969 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14971 cat >>confdefs.h <<_ACEOF
14972 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14973 _ACEOF
14975 OSS4_CFLAGS="$ac_oss_incl"
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14978 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14979 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14980 $as_echo_n "(cached) " >&6
14981 else
14982 ac_check_lib_save_LIBS=$LIBS
14983 LIBS="-lossaudio $LIBS"
14984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14985 /* end confdefs.h. */
14987 /* Override any GCC internal prototype to avoid an error.
14988 Use char because int might match the return type of a GCC
14989 builtin and then its argument prototype would still apply. */
14990 #ifdef __cplusplus
14991 extern "C"
14992 #endif
14993 char _oss_ioctl ();
14995 main ()
14997 return _oss_ioctl ();
14999 return 0;
15001 _ACEOF
15002 if ac_fn_c_try_link "$LINENO"; then :
15003 ac_cv_lib_ossaudio__oss_ioctl=yes
15004 else
15005 ac_cv_lib_ossaudio__oss_ioctl=no
15007 rm -f core conftest.err conftest.$ac_objext \
15008 conftest$ac_exeext conftest.$ac_ext
15009 LIBS=$ac_check_lib_save_LIBS
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
15012 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
15013 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
15014 OSS4_LIBS="-lossaudio"
15023 CPPFLAGS="$ac_save_CPPFLAGS"
15025 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
15026 case "x$with_oss" in
15027 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
15028 xno) ;;
15029 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
15030 This is an error since --with-oss was requested." "$LINENO" 5 ;;
15031 esac
15032 enable_wineoss_drv=${enable_wineoss_drv:-no}
15035 if test "x$with_udev" != "xno"
15036 then
15037 if ${UDEV_CFLAGS:+false} :; then :
15038 if ${PKG_CONFIG+:} false; then :
15039 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
15043 if ${UDEV_LIBS:+false} :; then :
15044 if ${PKG_CONFIG+:} false; then :
15045 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
15049 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
15050 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
15051 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
15052 ac_save_CPPFLAGS=$CPPFLAGS
15053 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
15054 for ac_header in libudev.h
15055 do :
15056 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15057 if test "x$ac_cv_header_libudev_h" = xyes; then :
15058 cat >>confdefs.h <<_ACEOF
15059 #define HAVE_LIBUDEV_H 1
15060 _ACEOF
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15062 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15063 if ${ac_cv_lib_udev_udev_new+:} false; then :
15064 $as_echo_n "(cached) " >&6
15065 else
15066 ac_check_lib_save_LIBS=$LIBS
15067 LIBS="-ludev $UDEV_LIBS $LIBS"
15068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15069 /* end confdefs.h. */
15071 /* Override any GCC internal prototype to avoid an error.
15072 Use char because int might match the return type of a GCC
15073 builtin and then its argument prototype would still apply. */
15074 #ifdef __cplusplus
15075 extern "C"
15076 #endif
15077 char udev_new ();
15079 main ()
15081 return udev_new ();
15083 return 0;
15085 _ACEOF
15086 if ac_fn_c_try_link "$LINENO"; then :
15087 ac_cv_lib_udev_udev_new=yes
15088 else
15089 ac_cv_lib_udev_udev_new=no
15091 rm -f core conftest.err conftest.$ac_objext \
15092 conftest$ac_exeext conftest.$ac_ext
15093 LIBS=$ac_check_lib_save_LIBS
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15096 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15097 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15099 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15101 else
15102 UDEV_LIBS=""
15105 else
15106 UDEV_LIBS=""
15109 done
15111 CPPFLAGS=$ac_save_CPPFLAGS
15112 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15113 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15116 if test "x$UDEV_LIBS" = "x"; then :
15117 case "x$with_udev" in
15118 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15119 xno) ;;
15120 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15121 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15122 esac
15126 if test "x$with_unwind" != xno
15127 then
15128 if ${UNWIND_CFLAGS:+false} :; then :
15129 if ${PKG_CONFIG+:} false; then :
15130 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15134 if ${UNWIND_LIBS:+false} :; then :
15135 if ${PKG_CONFIG+:} false; then :
15136 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15140 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15141 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15142 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15143 ac_save_CPPFLAGS=$CPPFLAGS
15144 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15146 $as_echo_n "checking for unw_step... " >&6; }
15147 if ${wine_cv_have_unw_step+:} false; then :
15148 $as_echo_n "(cached) " >&6
15149 else
15150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15151 /* end confdefs.h. */
15152 #define UNW_LOCAL_ONLY
15153 #include <libunwind.h>
15155 main ()
15157 unw_cursor_t cursor; unw_step( &cursor );
15159 return 0;
15161 _ACEOF
15162 if ac_fn_c_try_link "$LINENO"; then :
15163 wine_cv_have_unw_step="yes"
15164 else
15165 wine_cv_have_unw_step="no"
15167 rm -f core conftest.err conftest.$ac_objext \
15168 conftest$ac_exeext conftest.$ac_ext
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15171 $as_echo "$wine_cv_have_unw_step" >&6; }
15172 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15173 then
15174 save_libs=$LIBS
15175 LIBS="$UNWIND_LIBS $LIBS"
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15177 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15178 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15179 $as_echo_n "(cached) " >&6
15180 else
15181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15183 #define UNW_LOCAL_ONLY
15184 #include <libunwind.h>
15186 main ()
15188 unw_cursor_t cursor; unw_step( &cursor );
15190 return 0;
15192 _ACEOF
15193 if ac_fn_c_try_link "$LINENO"; then :
15194 wine_cv_have_libunwind_unw_step="yes"
15195 else
15196 wine_cv_have_libunwind_unw_step="no"
15198 rm -f core conftest.err conftest.$ac_objext \
15199 conftest$ac_exeext conftest.$ac_ext
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15202 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15203 LIBS=$save_libs
15205 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15206 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15207 then
15209 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15212 CPPFLAGS=$ac_save_CPPFLAGS
15213 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15214 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15217 case $host in
15218 aarch64*|*-darwin*)
15219 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15220 case "x$with_unwind" in
15221 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15222 xno) ;;
15223 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15224 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15225 esac
15227 fi ;;
15228 esac
15230 if test "x$with_sdl" != "xno"
15231 then
15232 if ${SDL2_CFLAGS:+false} :; then :
15233 if ${PKG_CONFIG+:} false; then :
15234 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15238 if ${SDL2_LIBS:+false} :; then :
15239 if ${PKG_CONFIG+:} false; then :
15240 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15244 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15245 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15246 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15247 ac_save_CPPFLAGS=$CPPFLAGS
15248 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15249 for ac_header in SDL2/SDL.h
15250 do :
15251 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15252 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15253 cat >>confdefs.h <<_ACEOF
15254 #define HAVE_SDL2_SDL_H 1
15255 _ACEOF
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15257 $as_echo_n "checking for -lSDL2... " >&6; }
15258 if ${ac_cv_lib_soname_SDL2+:} false; then :
15259 $as_echo_n "(cached) " >&6
15260 else
15261 ac_check_soname_save_LIBS=$LIBS
15262 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15264 /* end confdefs.h. */
15266 /* Override any GCC internal prototype to avoid an error.
15267 Use char because int might match the return type of a GCC
15268 builtin and then its argument prototype would still apply. */
15269 #ifdef __cplusplus
15270 extern "C"
15271 #endif
15272 char SDL_Init ();
15274 main ()
15276 return SDL_Init ();
15278 return 0;
15280 _ACEOF
15281 if ac_fn_c_try_link "$LINENO"; then :
15282 case "$LIBEXT" in
15283 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15284 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'` ;;
15285 *) 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'`
15286 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15287 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15288 fi ;;
15289 esac
15290 else
15291 ac_cv_lib_soname_SDL2=
15293 rm -f core conftest.err conftest.$ac_objext \
15294 conftest$ac_exeext conftest.$ac_ext
15295 LIBS=$ac_check_soname_save_LIBS
15297 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15299 $as_echo "not found" >&6; }
15301 else
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15303 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15305 cat >>confdefs.h <<_ACEOF
15306 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15307 _ACEOF
15313 done
15315 CPPFLAGS=$ac_save_CPPFLAGS
15316 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15317 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15320 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15321 case "x$with_sdl" in
15322 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15323 xno) ;;
15324 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15325 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15326 esac
15330 if test "x$with_faudio" != "xno"
15331 then
15332 if ${FAUDIO_CFLAGS:+false} :; then :
15333 if ${PKG_CONFIG+:} false; then :
15334 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15338 if ${FAUDIO_LIBS:+false} :; then :
15339 if ${PKG_CONFIG+:} false; then :
15340 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15344 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15345 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15346 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15347 ac_save_CPPFLAGS=$CPPFLAGS
15348 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15349 for ac_header in FAudio.h
15350 do :
15351 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15352 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15353 cat >>confdefs.h <<_ACEOF
15354 #define HAVE_FAUDIO_H 1
15355 _ACEOF
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15357 $as_echo_n "checking for -lFAudio... " >&6; }
15358 if ${ac_cv_lib_soname_FAudio+:} false; then :
15359 $as_echo_n "(cached) " >&6
15360 else
15361 ac_check_soname_save_LIBS=$LIBS
15362 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15364 /* end confdefs.h. */
15366 /* Override any GCC internal prototype to avoid an error.
15367 Use char because int might match the return type of a GCC
15368 builtin and then its argument prototype would still apply. */
15369 #ifdef __cplusplus
15370 extern "C"
15371 #endif
15372 char FAudioCreate ();
15374 main ()
15376 return FAudioCreate ();
15378 return 0;
15380 _ACEOF
15381 if ac_fn_c_try_link "$LINENO"; then :
15382 case "$LIBEXT" in
15383 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15384 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'` ;;
15385 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15386 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15387 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15388 fi ;;
15389 esac
15390 else
15391 ac_cv_lib_soname_FAudio=
15393 rm -f core conftest.err conftest.$ac_objext \
15394 conftest$ac_exeext conftest.$ac_ext
15395 LIBS=$ac_check_soname_save_LIBS
15397 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15399 $as_echo "not found" >&6; }
15401 else
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15403 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15405 cat >>confdefs.h <<_ACEOF
15406 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15407 _ACEOF
15413 done
15415 ac_wine_check_funcs_save_LIBS="$LIBS"
15416 LIBS="$LIBS $FAUDIO_LIBS"
15417 for ac_func in FAudio_CommitOperationSet \
15418 F3DAudioInitialize8 \
15419 FAudioLinkedVersion
15420 do :
15421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15423 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15424 cat >>confdefs.h <<_ACEOF
15425 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15426 _ACEOF
15429 done
15431 LIBS="$ac_wine_check_funcs_save_LIBS"
15433 CPPFLAGS=$ac_save_CPPFLAGS
15434 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15435 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15438 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15439 case "x$with_faudio" in
15440 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15441 xno) ;;
15442 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15443 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15444 esac
15448 if test "x$with_capi" != "xno"
15449 then
15450 if ${CAPI20_CFLAGS:+false} :; then :
15451 if ${PKG_CONFIG+:} false; then :
15452 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15456 if ${CAPI20_LIBS:+false} :; then :
15457 if ${PKG_CONFIG+:} false; then :
15458 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15463 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15464 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15465 ac_save_CPPFLAGS=$CPPFLAGS
15466 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15467 for ac_header in capi20.h linux/capi.h
15468 do :
15469 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15470 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15472 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15473 cat >>confdefs.h <<_ACEOF
15474 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15475 _ACEOF
15479 done
15481 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15482 then
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15484 $as_echo_n "checking for -lcapi20... " >&6; }
15485 if ${ac_cv_lib_soname_capi20+:} false; then :
15486 $as_echo_n "(cached) " >&6
15487 else
15488 ac_check_soname_save_LIBS=$LIBS
15489 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15491 /* end confdefs.h. */
15493 /* Override any GCC internal prototype to avoid an error.
15494 Use char because int might match the return type of a GCC
15495 builtin and then its argument prototype would still apply. */
15496 #ifdef __cplusplus
15497 extern "C"
15498 #endif
15499 char capi20_register ();
15501 main ()
15503 return capi20_register ();
15505 return 0;
15507 _ACEOF
15508 if ac_fn_c_try_link "$LINENO"; then :
15509 case "$LIBEXT" in
15510 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15511 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'` ;;
15512 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15513 if ${ac_cv_lib_soname_capi20:+false} :; then :
15514 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15515 fi ;;
15516 esac
15517 else
15518 ac_cv_lib_soname_capi20=
15520 rm -f core conftest.err conftest.$ac_objext \
15521 conftest$ac_exeext conftest.$ac_ext
15522 LIBS=$ac_check_soname_save_LIBS
15524 if ${ac_cv_lib_soname_capi20:+false} :; then :
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15526 $as_echo "not found" >&6; }
15528 else
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15530 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15532 cat >>confdefs.h <<_ACEOF
15533 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15534 _ACEOF
15539 CPPFLAGS=$ac_save_CPPFLAGS
15540 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15541 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15544 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15545 case "x$with_capi" in
15546 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15547 xno) ;;
15548 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15549 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15550 esac
15554 if test "x$with_cups" != "xno"
15555 then
15556 if ${CUPS_CFLAGS:+false} :; then :
15557 if ${PKG_CONFIG+:} false; then :
15558 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15561 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15562 if ${CUPS_LIBS:+false} :; then :
15563 if ${PKG_CONFIG+:} false; then :
15564 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15567 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15568 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15569 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15570 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15571 ac_save_CPPFLAGS=$CPPFLAGS
15572 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15573 for ac_header in cups/cups.h cups/ppd.h
15574 do :
15575 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15576 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15577 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15578 cat >>confdefs.h <<_ACEOF
15579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15580 _ACEOF
15584 done
15586 if test "$ac_cv_header_cups_cups_h" = "yes"
15587 then
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15589 $as_echo_n "checking for -lcups... " >&6; }
15590 if ${ac_cv_lib_soname_cups+:} false; then :
15591 $as_echo_n "(cached) " >&6
15592 else
15593 ac_check_soname_save_LIBS=$LIBS
15594 LIBS="-lcups $CUPS_LIBS $LIBS"
15595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15596 /* end confdefs.h. */
15598 /* Override any GCC internal prototype to avoid an error.
15599 Use char because int might match the return type of a GCC
15600 builtin and then its argument prototype would still apply. */
15601 #ifdef __cplusplus
15602 extern "C"
15603 #endif
15604 char cupsGetDefault ();
15606 main ()
15608 return cupsGetDefault ();
15610 return 0;
15612 _ACEOF
15613 if ac_fn_c_try_link "$LINENO"; then :
15614 case "$LIBEXT" in
15615 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15616 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'` ;;
15617 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15618 if ${ac_cv_lib_soname_cups:+false} :; then :
15619 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15620 fi ;;
15621 esac
15622 else
15623 ac_cv_lib_soname_cups=
15625 rm -f core conftest.err conftest.$ac_objext \
15626 conftest$ac_exeext conftest.$ac_ext
15627 LIBS=$ac_check_soname_save_LIBS
15629 if ${ac_cv_lib_soname_cups:+false} :; then :
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15631 $as_echo "not found" >&6; }
15632 CUPS_LIBS=""
15633 else
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15635 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15637 cat >>confdefs.h <<_ACEOF
15638 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15639 _ACEOF
15643 else
15644 CUPS_CFLAGS=""
15645 CUPS_LIBS=""
15647 CPPFLAGS=$ac_save_CPPFLAGS
15648 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15649 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15652 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15653 case "x$with_cups" in
15654 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15655 xno) ;;
15656 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15657 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15658 esac
15662 if test "x$with_fontconfig" != "xno"
15663 then
15664 if ${FONTCONFIG_CFLAGS:+false} :; then :
15665 if ${PKG_CONFIG+:} false; then :
15666 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15669 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15670 if ${FONTCONFIG_LIBS:+false} :; then :
15671 if ${PKG_CONFIG+:} false; then :
15672 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15675 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15677 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15678 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15679 ac_save_CPPFLAGS=$CPPFLAGS
15680 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15681 for ac_header in fontconfig/fontconfig.h
15682 do :
15683 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15684 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15685 cat >>confdefs.h <<_ACEOF
15686 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15687 _ACEOF
15691 done
15693 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15694 then
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15696 $as_echo_n "checking for -lfontconfig... " >&6; }
15697 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15698 $as_echo_n "(cached) " >&6
15699 else
15700 ac_check_soname_save_LIBS=$LIBS
15701 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15705 /* Override any GCC internal prototype to avoid an error.
15706 Use char because int might match the return type of a GCC
15707 builtin and then its argument prototype would still apply. */
15708 #ifdef __cplusplus
15709 extern "C"
15710 #endif
15711 char FcInit ();
15713 main ()
15715 return FcInit ();
15717 return 0;
15719 _ACEOF
15720 if ac_fn_c_try_link "$LINENO"; then :
15721 case "$LIBEXT" in
15722 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15723 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'` ;;
15724 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15725 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15726 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15727 fi ;;
15728 esac
15729 else
15730 ac_cv_lib_soname_fontconfig=
15732 rm -f core conftest.err conftest.$ac_objext \
15733 conftest$ac_exeext conftest.$ac_ext
15734 LIBS=$ac_check_soname_save_LIBS
15736 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15738 $as_echo "not found" >&6; }
15739 FONTCONFIG_CFLAGS=""
15740 else
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15742 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15744 cat >>confdefs.h <<_ACEOF
15745 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15746 _ACEOF
15750 else
15751 FONTCONFIG_CFLAGS=""
15753 CPPFLAGS=$ac_save_CPPFLAGS
15754 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15755 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15758 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15759 case "x$with_fontconfig" in
15760 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15761 xno) ;;
15762 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15763 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15764 esac
15768 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15769 then
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15771 $as_echo_n "checking for -lgsm... " >&6; }
15772 if ${ac_cv_lib_soname_gsm+:} false; then :
15773 $as_echo_n "(cached) " >&6
15774 else
15775 ac_check_soname_save_LIBS=$LIBS
15776 LIBS="-lgsm $LIBS"
15777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15778 /* end confdefs.h. */
15780 /* Override any GCC internal prototype to avoid an error.
15781 Use char because int might match the return type of a GCC
15782 builtin and then its argument prototype would still apply. */
15783 #ifdef __cplusplus
15784 extern "C"
15785 #endif
15786 char gsm_create ();
15788 main ()
15790 return gsm_create ();
15792 return 0;
15794 _ACEOF
15795 if ac_fn_c_try_link "$LINENO"; then :
15796 case "$LIBEXT" in
15797 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15798 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'` ;;
15799 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15800 if ${ac_cv_lib_soname_gsm:+false} :; then :
15801 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15802 fi ;;
15803 esac
15804 else
15805 ac_cv_lib_soname_gsm=
15807 rm -f core conftest.err conftest.$ac_objext \
15808 conftest$ac_exeext conftest.$ac_ext
15809 LIBS=$ac_check_soname_save_LIBS
15811 if ${ac_cv_lib_soname_gsm:+false} :; then :
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15813 $as_echo "not found" >&6; }
15815 else
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15817 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15819 cat >>confdefs.h <<_ACEOF
15820 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15821 _ACEOF
15826 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15827 case "x$with_gsm" in
15828 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15829 xno) ;;
15830 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15831 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15832 esac
15836 if test "x$with_krb5" != "xno"
15837 then
15838 if ${KRB5_CFLAGS:+false} :; then :
15839 if ${PKG_CONFIG+:} false; then :
15840 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15843 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15844 if ${KRB5_LIBS:+false} :; then :
15845 if ${PKG_CONFIG+:} false; then :
15846 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15849 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15851 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15852 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15853 ac_save_CPPFLAGS=$CPPFLAGS
15854 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15855 for ac_header in krb5/krb5.h
15856 do :
15857 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15858 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15859 cat >>confdefs.h <<_ACEOF
15860 #define HAVE_KRB5_KRB5_H 1
15861 _ACEOF
15865 done
15867 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15868 then
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15870 $as_echo_n "checking for -lkrb5... " >&6; }
15871 if ${ac_cv_lib_soname_krb5+:} false; then :
15872 $as_echo_n "(cached) " >&6
15873 else
15874 ac_check_soname_save_LIBS=$LIBS
15875 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15877 /* end confdefs.h. */
15879 /* Override any GCC internal prototype to avoid an error.
15880 Use char because int might match the return type of a GCC
15881 builtin and then its argument prototype would still apply. */
15882 #ifdef __cplusplus
15883 extern "C"
15884 #endif
15885 char krb5_is_config_principal ();
15887 main ()
15889 return krb5_is_config_principal ();
15891 return 0;
15893 _ACEOF
15894 if ac_fn_c_try_link "$LINENO"; then :
15895 case "$LIBEXT" in
15896 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15897 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'` ;;
15898 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15899 if ${ac_cv_lib_soname_krb5:+false} :; then :
15900 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15901 fi ;;
15902 esac
15903 else
15904 ac_cv_lib_soname_krb5=
15906 rm -f core conftest.err conftest.$ac_objext \
15907 conftest$ac_exeext conftest.$ac_ext
15908 LIBS=$ac_check_soname_save_LIBS
15910 if ${ac_cv_lib_soname_krb5:+false} :; then :
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15912 $as_echo "not found" >&6; }
15913 KRB5_CFLAGS=""
15914 else
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15916 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15918 cat >>confdefs.h <<_ACEOF
15919 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15920 _ACEOF
15924 else
15925 KRB5_CFLAGS=""
15927 CPPFLAGS=$ac_save_CPPFLAGS
15928 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15929 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15932 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15933 case "x$with_krb5" in
15934 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15935 xno) ;;
15936 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15937 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15938 esac
15941 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15943 if test "x$with_gssapi" != "xno"
15944 then
15945 if ${GSSAPI_CFLAGS:+false} :; then :
15946 if ${PKG_CONFIG+:} false; then :
15947 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15950 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15951 if ${GSSAPI_LIBS:+false} :; then :
15952 if ${PKG_CONFIG+:} false; then :
15953 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15956 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15958 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15959 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15960 ac_save_CPPFLAGS=$CPPFLAGS
15961 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15962 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15963 do :
15964 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15965 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15966 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15967 cat >>confdefs.h <<_ACEOF
15968 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15969 _ACEOF
15973 done
15975 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15976 then
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15978 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15979 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15980 $as_echo_n "(cached) " >&6
15981 else
15982 ac_check_soname_save_LIBS=$LIBS
15983 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15985 /* end confdefs.h. */
15987 /* Override any GCC internal prototype to avoid an error.
15988 Use char because int might match the return type of a GCC
15989 builtin and then its argument prototype would still apply. */
15990 #ifdef __cplusplus
15991 extern "C"
15992 #endif
15993 char gss_init_sec_context ();
15995 main ()
15997 return gss_init_sec_context ();
15999 return 0;
16001 _ACEOF
16002 if ac_fn_c_try_link "$LINENO"; then :
16003 case "$LIBEXT" in
16004 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16005 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'` ;;
16006 *) 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'`
16007 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16008 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16009 fi ;;
16010 esac
16011 else
16012 ac_cv_lib_soname_gssapi_krb5=
16014 rm -f core conftest.err conftest.$ac_objext \
16015 conftest$ac_exeext conftest.$ac_ext
16016 LIBS=$ac_check_soname_save_LIBS
16018 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16020 $as_echo "not found" >&6; }
16021 GSSAPI_CFLAGS=""
16022 else
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
16024 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
16026 cat >>confdefs.h <<_ACEOF
16027 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
16028 _ACEOF
16032 else
16033 GSSAPI_CFLAGS=""
16035 CPPFLAGS=$ac_save_CPPFLAGS
16036 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16037 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16040 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
16041 case "x$with_gssapi" in
16042 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
16043 xno) ;;
16044 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
16045 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
16046 esac
16050 if test "x$with_jpeg" != "xno"
16051 then
16052 if ${JPEG_CFLAGS:+false} :; then :
16053 if ${PKG_CONFIG+:} false; then :
16054 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16058 if ${JPEG_LIBS:+false} :; then :
16059 if ${PKG_CONFIG+:} false; then :
16060 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16065 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16066 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16067 ac_save_CPPFLAGS=$CPPFLAGS
16068 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16069 for ac_header in jpeglib.h
16070 do :
16071 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16072 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16073 cat >>confdefs.h <<_ACEOF
16074 #define HAVE_JPEGLIB_H 1
16075 _ACEOF
16079 done
16081 if test "$ac_cv_header_jpeglib_h" = "yes"
16082 then
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16084 $as_echo_n "checking for -ljpeg... " >&6; }
16085 if ${ac_cv_lib_soname_jpeg+:} false; then :
16086 $as_echo_n "(cached) " >&6
16087 else
16088 ac_check_soname_save_LIBS=$LIBS
16089 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16091 /* end confdefs.h. */
16093 /* Override any GCC internal prototype to avoid an error.
16094 Use char because int might match the return type of a GCC
16095 builtin and then its argument prototype would still apply. */
16096 #ifdef __cplusplus
16097 extern "C"
16098 #endif
16099 char jpeg_start_decompress ();
16101 main ()
16103 return jpeg_start_decompress ();
16105 return 0;
16107 _ACEOF
16108 if ac_fn_c_try_link "$LINENO"; then :
16109 case "$LIBEXT" in
16110 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16111 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'` ;;
16112 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16113 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16114 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16115 fi ;;
16116 esac
16117 else
16118 ac_cv_lib_soname_jpeg=
16120 rm -f core conftest.err conftest.$ac_objext \
16121 conftest$ac_exeext conftest.$ac_ext
16122 LIBS=$ac_check_soname_save_LIBS
16124 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16126 $as_echo "not found" >&6; }
16127 JPEG_CFLAGS=""
16128 else
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16130 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16132 cat >>confdefs.h <<_ACEOF
16133 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16134 _ACEOF
16138 else
16139 JPEG_CFLAGS=""
16141 CPPFLAGS=$ac_save_CPPFLAGS
16142 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16143 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16146 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16147 case "x$with_jpeg" in
16148 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16149 xno) ;;
16150 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16151 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16152 esac
16156 if test "x$with_png" != "xno"
16157 then
16158 if ${PNG_CFLAGS:+false} :; then :
16159 if ${PKG_CONFIG+:} false; then :
16160 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16163 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16164 if ${PNG_LIBS:+false} :; then :
16165 if ${PKG_CONFIG+:} false; then :
16166 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16169 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16171 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16172 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16173 ac_save_CPPFLAGS=$CPPFLAGS
16174 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16175 for ac_header in png.h
16176 do :
16177 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16178 if test "x$ac_cv_header_png_h" = xyes; then :
16179 cat >>confdefs.h <<_ACEOF
16180 #define HAVE_PNG_H 1
16181 _ACEOF
16185 done
16187 if test "$ac_cv_header_png_h" = "yes"
16188 then
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16190 $as_echo_n "checking for -lpng... " >&6; }
16191 if ${ac_cv_lib_soname_png+:} false; then :
16192 $as_echo_n "(cached) " >&6
16193 else
16194 ac_check_soname_save_LIBS=$LIBS
16195 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16197 /* end confdefs.h. */
16199 /* Override any GCC internal prototype to avoid an error.
16200 Use char because int might match the return type of a GCC
16201 builtin and then its argument prototype would still apply. */
16202 #ifdef __cplusplus
16203 extern "C"
16204 #endif
16205 char png_create_read_struct ();
16207 main ()
16209 return png_create_read_struct ();
16211 return 0;
16213 _ACEOF
16214 if ac_fn_c_try_link "$LINENO"; then :
16215 case "$LIBEXT" in
16216 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16217 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'` ;;
16218 *) 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'`
16219 if ${ac_cv_lib_soname_png:+false} :; then :
16220 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16221 fi ;;
16222 esac
16223 else
16224 ac_cv_lib_soname_png=
16226 rm -f core conftest.err conftest.$ac_objext \
16227 conftest$ac_exeext conftest.$ac_ext
16228 LIBS=$ac_check_soname_save_LIBS
16230 if ${ac_cv_lib_soname_png:+false} :; then :
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16232 $as_echo "not found" >&6; }
16233 PNG_CFLAGS=""
16234 else
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16236 $as_echo "$ac_cv_lib_soname_png" >&6; }
16238 cat >>confdefs.h <<_ACEOF
16239 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16240 _ACEOF
16244 else
16245 PNG_CFLAGS=""
16247 CPPFLAGS=$ac_save_CPPFLAGS
16248 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16249 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16252 if test "x$ac_cv_lib_soname_png" = "x"; then :
16253 case "x$with_png" in
16254 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16255 xno) ;;
16256 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16257 This is an error since --with-png was requested." "$LINENO" 5 ;;
16258 esac
16262 if test "x$with_tiff" != "xno"
16263 then
16264 if ${TIFF_CFLAGS:+false} :; then :
16265 if ${PKG_CONFIG+:} false; then :
16266 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16270 if ${TIFF_LIBS:+false} :; then :
16271 if ${PKG_CONFIG+:} false; then :
16272 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16277 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16278 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16279 ac_save_CPPFLAGS=$CPPFLAGS
16280 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16281 for ac_header in tiffio.h
16282 do :
16283 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16284 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16285 cat >>confdefs.h <<_ACEOF
16286 #define HAVE_TIFFIO_H 1
16287 _ACEOF
16291 done
16293 if test "$ac_cv_header_tiffio_h" = "yes"
16294 then
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16296 $as_echo_n "checking for -ltiff... " >&6; }
16297 if ${ac_cv_lib_soname_tiff+:} false; then :
16298 $as_echo_n "(cached) " >&6
16299 else
16300 ac_check_soname_save_LIBS=$LIBS
16301 LIBS="-ltiff $TIFF_LIBS $LIBS"
16302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16305 /* Override any GCC internal prototype to avoid an error.
16306 Use char because int might match the return type of a GCC
16307 builtin and then its argument prototype would still apply. */
16308 #ifdef __cplusplus
16309 extern "C"
16310 #endif
16311 char TIFFClientOpen ();
16313 main ()
16315 return TIFFClientOpen ();
16317 return 0;
16319 _ACEOF
16320 if ac_fn_c_try_link "$LINENO"; then :
16321 case "$LIBEXT" in
16322 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16323 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'` ;;
16324 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16325 if ${ac_cv_lib_soname_tiff:+false} :; then :
16326 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16327 fi ;;
16328 esac
16329 else
16330 ac_cv_lib_soname_tiff=
16332 rm -f core conftest.err conftest.$ac_objext \
16333 conftest$ac_exeext conftest.$ac_ext
16334 LIBS=$ac_check_soname_save_LIBS
16336 if ${ac_cv_lib_soname_tiff:+false} :; then :
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16338 $as_echo "not found" >&6; }
16340 else
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16342 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16344 cat >>confdefs.h <<_ACEOF
16345 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16346 _ACEOF
16351 CPPFLAGS=$ac_save_CPPFLAGS
16352 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16353 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16356 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16357 case "x$with_tiff" in
16358 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16359 xno) ;;
16360 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16361 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16362 esac
16366 if test "x$with_mpg123" != "xno"
16367 then
16368 if ${MPG123_CFLAGS:+false} :; then :
16369 if ${PKG_CONFIG+:} false; then :
16370 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16374 if ${MPG123_LIBS:+false} :; then :
16375 if ${PKG_CONFIG+:} false; then :
16376 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16380 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16381 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16382 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16383 ac_save_CPPFLAGS=$CPPFLAGS
16384 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16385 for ac_header in mpg123.h
16386 do :
16387 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16388 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16389 cat >>confdefs.h <<_ACEOF
16390 #define HAVE_MPG123_H 1
16391 _ACEOF
16395 done
16397 if test "$ac_cv_header_mpg123_h" = "yes"
16398 then
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16400 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16401 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16402 $as_echo_n "(cached) " >&6
16403 else
16404 ac_check_lib_save_LIBS=$LIBS
16405 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16407 /* end confdefs.h. */
16409 /* Override any GCC internal prototype to avoid an error.
16410 Use char because int might match the return type of a GCC
16411 builtin and then its argument prototype would still apply. */
16412 #ifdef __cplusplus
16413 extern "C"
16414 #endif
16415 char mpg123_feed ();
16417 main ()
16419 return mpg123_feed ();
16421 return 0;
16423 _ACEOF
16424 if ac_fn_c_try_link "$LINENO"; then :
16425 ac_cv_lib_mpg123_mpg123_feed=yes
16426 else
16427 ac_cv_lib_mpg123_mpg123_feed=no
16429 rm -f core conftest.err conftest.$ac_objext \
16430 conftest$ac_exeext conftest.$ac_ext
16431 LIBS=$ac_check_lib_save_LIBS
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16434 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16435 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16437 else
16438 MPG123_LIBS=""
16441 else
16442 MPG123_CFLAGS=""
16443 MPG123_LIBS=""
16445 CPPFLAGS=$ac_save_CPPFLAGS
16446 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16447 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16450 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16451 case "x$with_mpg123" in
16452 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16453 xno) ;;
16454 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16455 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16456 esac
16457 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16459 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16461 if test "$ac_cv_header_AL_al_h" = "yes"
16462 then
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16464 $as_echo_n "checking for -lopenal... " >&6; }
16465 if ${ac_cv_lib_soname_openal+:} false; then :
16466 $as_echo_n "(cached) " >&6
16467 else
16468 ac_check_soname_save_LIBS=$LIBS
16469 LIBS="-lopenal $LIBS"
16470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16471 /* end confdefs.h. */
16473 /* Override any GCC internal prototype to avoid an error.
16474 Use char because int might match the return type of a GCC
16475 builtin and then its argument prototype would still apply. */
16476 #ifdef __cplusplus
16477 extern "C"
16478 #endif
16479 char alGetSource3i ();
16481 main ()
16483 return alGetSource3i ();
16485 return 0;
16487 _ACEOF
16488 if ac_fn_c_try_link "$LINENO"; then :
16489 case "$LIBEXT" in
16490 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16491 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'` ;;
16492 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16493 if ${ac_cv_lib_soname_openal:+false} :; then :
16494 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16495 fi ;;
16496 esac
16497 else
16498 ac_cv_lib_soname_openal=
16500 rm -f core conftest.err conftest.$ac_objext \
16501 conftest$ac_exeext conftest.$ac_ext
16502 LIBS=$ac_check_soname_save_LIBS
16504 if ${ac_cv_lib_soname_openal:+false} :; then :
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16506 $as_echo "not found" >&6; }
16508 else
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16510 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16512 cat >>confdefs.h <<_ACEOF
16513 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16514 _ACEOF
16516 OPENAL_LIBS="-lopenal"
16518 ac_cv_lib_openal=yes
16520 cat >>confdefs.h <<_ACEOF
16521 #define HAVE_OPENAL 1
16522 _ACEOF
16526 if test "x$ac_cv_lib_openal" != xyes; then :
16527 case "x$with_openal" in
16528 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16529 xno) ;;
16530 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16531 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16532 esac
16533 enable_openal32=${enable_openal32:-no}
16536 if test "x$ac_cv_lib_soname_FAudio" = "x"
16537 then
16538 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16539 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16540 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16541 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16542 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16543 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16544 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16545 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16546 enable_xapofx1_1=${enable_xapofx1_1:-no}
16547 enable_xapofx1_2=${enable_xapofx1_2:-no}
16548 enable_xapofx1_3=${enable_xapofx1_3:-no}
16549 enable_xapofx1_4=${enable_xapofx1_4:-no}
16550 enable_xapofx1_5=${enable_xapofx1_5:-no}
16551 enable_xaudio2_0=${enable_xaudio2_0:-no}
16552 enable_xaudio2_1=${enable_xaudio2_1:-no}
16553 enable_xaudio2_2=${enable_xaudio2_2:-no}
16554 enable_xaudio2_3=${enable_xaudio2_3:-no}
16555 enable_xaudio2_4=${enable_xaudio2_4:-no}
16556 enable_xaudio2_5=${enable_xaudio2_5:-no}
16557 enable_xaudio2_6=${enable_xaudio2_6:-no}
16558 enable_xaudio2_7=${enable_xaudio2_7:-no}
16559 enable_xaudio2_8=${enable_xaudio2_8:-no}
16560 enable_xaudio2_9=${enable_xaudio2_9:-no}
16563 if test "$ac_cv_header_kstat_h" = "yes"
16564 then
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16566 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16567 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16568 $as_echo_n "(cached) " >&6
16569 else
16570 ac_check_lib_save_LIBS=$LIBS
16571 LIBS="-lkstat $LIBS"
16572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16573 /* end confdefs.h. */
16575 /* Override any GCC internal prototype to avoid an error.
16576 Use char because int might match the return type of a GCC
16577 builtin and then its argument prototype would still apply. */
16578 #ifdef __cplusplus
16579 extern "C"
16580 #endif
16581 char kstat_open ();
16583 main ()
16585 return kstat_open ();
16587 return 0;
16589 _ACEOF
16590 if ac_fn_c_try_link "$LINENO"; then :
16591 ac_cv_lib_kstat_kstat_open=yes
16592 else
16593 ac_cv_lib_kstat_kstat_open=no
16595 rm -f core conftest.err conftest.$ac_objext \
16596 conftest$ac_exeext conftest.$ac_ext
16597 LIBS=$ac_check_lib_save_LIBS
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16600 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16601 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16603 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16605 KSTAT_LIBS="-lkstat"
16611 if test "$ac_cv_header_libprocstat_h" = "yes"
16612 then
16613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16614 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16615 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16616 $as_echo_n "(cached) " >&6
16617 else
16618 ac_check_lib_save_LIBS=$LIBS
16619 LIBS="-lprocstat $LIBS"
16620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16621 /* end confdefs.h. */
16623 /* Override any GCC internal prototype to avoid an error.
16624 Use char because int might match the return type of a GCC
16625 builtin and then its argument prototype would still apply. */
16626 #ifdef __cplusplus
16627 extern "C"
16628 #endif
16629 char procstat_open_sysctl ();
16631 main ()
16633 return procstat_open_sysctl ();
16635 return 0;
16637 _ACEOF
16638 if ac_fn_c_try_link "$LINENO"; then :
16639 ac_cv_lib_procstat_procstat_open_sysctl=yes
16640 else
16641 ac_cv_lib_procstat_procstat_open_sysctl=no
16643 rm -f core conftest.err conftest.$ac_objext \
16644 conftest$ac_exeext conftest.$ac_ext
16645 LIBS=$ac_check_lib_save_LIBS
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16648 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16649 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16651 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16653 PROCSTAT_LIBS="-lprocstat"
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16660 $as_echo_n "checking for -lodbc... " >&6; }
16661 if ${ac_cv_lib_soname_odbc+:} false; then :
16662 $as_echo_n "(cached) " >&6
16663 else
16664 ac_check_soname_save_LIBS=$LIBS
16665 LIBS="-lodbc $LIBS"
16666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16667 /* end confdefs.h. */
16669 /* Override any GCC internal prototype to avoid an error.
16670 Use char because int might match the return type of a GCC
16671 builtin and then its argument prototype would still apply. */
16672 #ifdef __cplusplus
16673 extern "C"
16674 #endif
16675 char SQLConnect ();
16677 main ()
16679 return SQLConnect ();
16681 return 0;
16683 _ACEOF
16684 if ac_fn_c_try_link "$LINENO"; then :
16685 case "$LIBEXT" in
16686 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16687 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'` ;;
16688 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16689 if ${ac_cv_lib_soname_odbc:+false} :; then :
16690 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16691 fi ;;
16692 esac
16693 else
16694 ac_cv_lib_soname_odbc=
16696 rm -f core conftest.err conftest.$ac_objext \
16697 conftest$ac_exeext conftest.$ac_ext
16698 LIBS=$ac_check_soname_save_LIBS
16700 if ${ac_cv_lib_soname_odbc:+false} :; then :
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16702 $as_echo "not found" >&6; }
16703 cat >>confdefs.h <<_ACEOF
16704 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16705 _ACEOF
16707 else
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16709 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16711 cat >>confdefs.h <<_ACEOF
16712 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16713 _ACEOF
16718 if test "x$with_netapi" != "xno"
16719 then
16720 if ${NETAPI_CFLAGS:+false} :; then :
16721 if ${PKG_CONFIG+:} false; then :
16722 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16726 if ${NETAPI_LIBS:+false} :; then :
16727 if ${PKG_CONFIG+:} false; then :
16728 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16733 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16734 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16735 ac_save_CPPFLAGS=$CPPFLAGS
16736 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16738 $as_echo_n "checking for -lnetapi... " >&6; }
16739 if ${ac_cv_lib_soname_netapi+:} false; then :
16740 $as_echo_n "(cached) " >&6
16741 else
16742 ac_check_soname_save_LIBS=$LIBS
16743 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16745 /* end confdefs.h. */
16747 /* Override any GCC internal prototype to avoid an error.
16748 Use char because int might match the return type of a GCC
16749 builtin and then its argument prototype would still apply. */
16750 #ifdef __cplusplus
16751 extern "C"
16752 #endif
16753 char libnetapi_init ();
16755 main ()
16757 return libnetapi_init ();
16759 return 0;
16761 _ACEOF
16762 if ac_fn_c_try_link "$LINENO"; then :
16763 case "$LIBEXT" in
16764 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16765 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'` ;;
16766 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16767 if ${ac_cv_lib_soname_netapi:+false} :; then :
16768 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16769 fi ;;
16770 esac
16771 else
16772 ac_cv_lib_soname_netapi=
16774 rm -f core conftest.err conftest.$ac_objext \
16775 conftest$ac_exeext conftest.$ac_ext
16776 LIBS=$ac_check_soname_save_LIBS
16778 if ${ac_cv_lib_soname_netapi:+false} :; then :
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16780 $as_echo "not found" >&6; }
16781 cat >>confdefs.h <<_ACEOF
16782 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16783 _ACEOF
16785 else
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16787 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16789 cat >>confdefs.h <<_ACEOF
16790 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16791 _ACEOF
16795 CPPFLAGS=$ac_save_CPPFLAGS
16796 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16797 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16801 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16802 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16803 then
16804 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16807 if test "x$with_vulkan" != "xno"
16808 then
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16810 $as_echo_n "checking for -lvulkan... " >&6; }
16811 if ${ac_cv_lib_soname_vulkan+:} false; then :
16812 $as_echo_n "(cached) " >&6
16813 else
16814 ac_check_soname_save_LIBS=$LIBS
16815 LIBS="-lvulkan $LIBS"
16816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16817 /* end confdefs.h. */
16819 /* Override any GCC internal prototype to avoid an error.
16820 Use char because int might match the return type of a GCC
16821 builtin and then its argument prototype would still apply. */
16822 #ifdef __cplusplus
16823 extern "C"
16824 #endif
16825 char vkGetInstanceProcAddr ();
16827 main ()
16829 return vkGetInstanceProcAddr ();
16831 return 0;
16833 _ACEOF
16834 if ac_fn_c_try_link "$LINENO"; then :
16835 case "$LIBEXT" in
16836 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16837 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'` ;;
16838 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16839 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16840 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16841 fi ;;
16842 esac
16843 else
16844 ac_cv_lib_soname_vulkan=
16846 rm -f core conftest.err conftest.$ac_objext \
16847 conftest$ac_exeext conftest.$ac_ext
16848 LIBS=$ac_check_soname_save_LIBS
16850 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16852 $as_echo "not found" >&6; }
16854 else
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16856 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16858 cat >>confdefs.h <<_ACEOF
16859 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16860 _ACEOF
16864 if test "x$ac_cv_lib_soname_vulkan" = "x"
16865 then
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16867 $as_echo_n "checking for -lMoltenVK... " >&6; }
16868 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16869 $as_echo_n "(cached) " >&6
16870 else
16871 ac_check_soname_save_LIBS=$LIBS
16872 LIBS="-lMoltenVK $LIBS"
16873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16874 /* end confdefs.h. */
16876 /* Override any GCC internal prototype to avoid an error.
16877 Use char because int might match the return type of a GCC
16878 builtin and then its argument prototype would still apply. */
16879 #ifdef __cplusplus
16880 extern "C"
16881 #endif
16882 char vkGetInstanceProcAddr ();
16884 main ()
16886 return vkGetInstanceProcAddr ();
16888 return 0;
16890 _ACEOF
16891 if ac_fn_c_try_link "$LINENO"; then :
16892 case "$LIBEXT" in
16893 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16894 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'` ;;
16895 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16896 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16897 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16898 fi ;;
16899 esac
16900 else
16901 ac_cv_lib_soname_MoltenVK=
16903 rm -f core conftest.err conftest.$ac_objext \
16904 conftest$ac_exeext conftest.$ac_ext
16905 LIBS=$ac_check_soname_save_LIBS
16907 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16909 $as_echo "not found" >&6; }
16911 else
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16913 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16915 cat >>confdefs.h <<_ACEOF
16916 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16917 _ACEOF
16923 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16924 case "x$with_vulkan" in
16925 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16926 xno) ;;
16927 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16928 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16929 esac
16933 if test "x$with_vkd3d" != "xno"
16934 then
16935 if ${VKD3D_CFLAGS:+false} :; then :
16936 if ${PKG_CONFIG+:} false; then :
16937 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16941 if ${VKD3D_LIBS:+false} :; then :
16942 if ${PKG_CONFIG+:} false; then :
16943 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16948 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16949 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16950 ac_save_CPPFLAGS=$CPPFLAGS
16951 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16953 $as_echo_n "checking for -lvkd3d... " >&6; }
16954 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16955 $as_echo_n "(cached) " >&6
16956 else
16957 ac_check_soname_save_LIBS=$LIBS
16958 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16960 /* end confdefs.h. */
16962 /* Override any GCC internal prototype to avoid an error.
16963 Use char because int might match the return type of a GCC
16964 builtin and then its argument prototype would still apply. */
16965 #ifdef __cplusplus
16966 extern "C"
16967 #endif
16968 char vkd3d_get_dxgi_format ();
16970 main ()
16972 return vkd3d_get_dxgi_format ();
16974 return 0;
16976 _ACEOF
16977 if ac_fn_c_try_link "$LINENO"; then :
16978 case "$LIBEXT" in
16979 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16980 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'` ;;
16981 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16982 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16983 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16984 fi ;;
16985 esac
16986 else
16987 ac_cv_lib_soname_vkd3d=
16989 rm -f core conftest.err conftest.$ac_objext \
16990 conftest$ac_exeext conftest.$ac_ext
16991 LIBS=$ac_check_soname_save_LIBS
16993 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16995 $as_echo "not found" >&6; }
16997 else
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16999 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
17001 cat >>confdefs.h <<_ACEOF
17002 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
17003 _ACEOF
17007 CPPFLAGS=$ac_save_CPPFLAGS
17008 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17009 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17012 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17013 case "x$with_vkd3d" in
17014 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17015 xno) ;;
17016 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17017 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17018 esac
17021 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17024 EXTRACFLAGS=""
17026 if test "x${GCC}" = "xyes"
17027 then
17028 EXTRACFLAGS="-Wall -pipe"
17030 saved_CFLAGS=$CFLAGS
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17032 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17033 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17034 $as_echo_n "(cached) " >&6
17035 else
17036 ac_wine_try_cflags_saved=$CFLAGS
17037 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17039 /* end confdefs.h. */
17040 int main(int argc, char **argv) { return 0; }
17041 _ACEOF
17042 if ac_fn_c_try_link "$LINENO"; then :
17043 ac_cv_cflags__Werror_unknown_warning_option=yes
17044 else
17045 ac_cv_cflags__Werror_unknown_warning_option=no
17047 rm -f core conftest.err conftest.$ac_objext \
17048 conftest$ac_exeext conftest.$ac_ext
17049 CFLAGS=$ac_wine_try_cflags_saved
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17052 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17053 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17054 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17057 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17058 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17059 $as_echo_n "(cached) " >&6
17060 else
17061 ac_wine_try_cflags_saved=$CFLAGS
17062 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17064 /* end confdefs.h. */
17065 int main(int argc, char **argv) { return 0; }
17066 _ACEOF
17067 if ac_fn_c_try_link "$LINENO"; then :
17068 ac_cv_cflags__Werror_unused_command_line_argument=yes
17069 else
17070 ac_cv_cflags__Werror_unused_command_line_argument=no
17072 rm -f core conftest.err conftest.$ac_objext \
17073 conftest$ac_exeext conftest.$ac_ext
17074 CFLAGS=$ac_wine_try_cflags_saved
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17077 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17078 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17079 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17082 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17083 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17084 $as_echo_n "(cached) " >&6
17085 else
17086 ac_wine_try_cflags_saved=$CFLAGS
17087 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17089 /* end confdefs.h. */
17090 int main(int argc, char **argv) { return 0; }
17091 _ACEOF
17092 if ac_fn_c_try_link "$LINENO"; then :
17093 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17094 else
17095 ac_cv_cflags__Werror_ignored_optimization_argument=no
17097 rm -f core conftest.err conftest.$ac_objext \
17098 conftest$ac_exeext conftest.$ac_ext
17099 CFLAGS=$ac_wine_try_cflags_saved
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17102 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17103 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17104 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17107 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17108 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17109 $as_echo_n "(cached) " >&6
17110 else
17111 ac_wine_try_cflags_saved=$CFLAGS
17112 CFLAGS="$CFLAGS -fcf-protection=none"
17113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17115 int main(int argc, char **argv) { return 0; }
17116 _ACEOF
17117 if ac_fn_c_try_link "$LINENO"; then :
17118 ac_cv_cflags__fcf_protection_none=yes
17119 else
17120 ac_cv_cflags__fcf_protection_none=no
17122 rm -f core conftest.err conftest.$ac_objext \
17123 conftest$ac_exeext conftest.$ac_ext
17124 CFLAGS=$ac_wine_try_cflags_saved
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17127 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17128 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17129 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17132 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17133 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17134 $as_echo_n "(cached) " >&6
17135 else
17136 ac_wine_try_cflags_saved=$CFLAGS
17137 CFLAGS="$CFLAGS -fno-stack-protector"
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17140 int main(int argc, char **argv) { return 0; }
17141 _ACEOF
17142 if ac_fn_c_try_link "$LINENO"; then :
17143 ac_cv_cflags__fno_stack_protector=yes
17144 else
17145 ac_cv_cflags__fno_stack_protector=no
17147 rm -f core conftest.err conftest.$ac_objext \
17148 conftest$ac_exeext conftest.$ac_ext
17149 CFLAGS=$ac_wine_try_cflags_saved
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17152 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17153 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17154 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17157 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17158 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17159 $as_echo_n "(cached) " >&6
17160 else
17161 ac_wine_try_cflags_saved=$CFLAGS
17162 CFLAGS="$CFLAGS -fno-strict-aliasing"
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 int main(int argc, char **argv) { return 0; }
17166 _ACEOF
17167 if ac_fn_c_try_link "$LINENO"; then :
17168 ac_cv_cflags__fno_strict_aliasing=yes
17169 else
17170 ac_cv_cflags__fno_strict_aliasing=no
17172 rm -f core conftest.err conftest.$ac_objext \
17173 conftest$ac_exeext conftest.$ac_ext
17174 CFLAGS=$ac_wine_try_cflags_saved
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17177 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17178 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17179 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17182 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17183 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17184 $as_echo_n "(cached) " >&6
17185 else
17186 ac_wine_try_cflags_saved=$CFLAGS
17187 CFLAGS="$CFLAGS -fexcess-precision=standard"
17188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17190 int main(int argc, char **argv) { return 0; }
17191 _ACEOF
17192 if ac_fn_c_try_link "$LINENO"; then :
17193 ac_cv_cflags__fexcess_precision_standard=yes
17194 else
17195 ac_cv_cflags__fexcess_precision_standard=no
17197 rm -f core conftest.err conftest.$ac_objext \
17198 conftest$ac_exeext conftest.$ac_ext
17199 CFLAGS=$ac_wine_try_cflags_saved
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17202 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17203 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17204 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17208 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17209 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17210 $as_echo_n "(cached) " >&6
17211 else
17212 ac_wine_try_cflags_saved=$CFLAGS
17213 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17216 int main(int argc, char **argv) { return 0; }
17217 _ACEOF
17218 if ac_fn_c_try_link "$LINENO"; then :
17219 ac_cv_cflags__Wdeclaration_after_statement=yes
17220 else
17221 ac_cv_cflags__Wdeclaration_after_statement=no
17223 rm -f core conftest.err conftest.$ac_objext \
17224 conftest$ac_exeext conftest.$ac_ext
17225 CFLAGS=$ac_wine_try_cflags_saved
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17228 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17229 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17230 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17233 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17234 if ${ac_cv_cflags__Wempty_body+:} false; then :
17235 $as_echo_n "(cached) " >&6
17236 else
17237 ac_wine_try_cflags_saved=$CFLAGS
17238 CFLAGS="$CFLAGS -Wempty-body"
17239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17240 /* end confdefs.h. */
17241 int main(int argc, char **argv) { return 0; }
17242 _ACEOF
17243 if ac_fn_c_try_link "$LINENO"; then :
17244 ac_cv_cflags__Wempty_body=yes
17245 else
17246 ac_cv_cflags__Wempty_body=no
17248 rm -f core conftest.err conftest.$ac_objext \
17249 conftest$ac_exeext conftest.$ac_ext
17250 CFLAGS=$ac_wine_try_cflags_saved
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17253 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17254 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17255 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17258 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17259 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17260 $as_echo_n "(cached) " >&6
17261 else
17262 ac_wine_try_cflags_saved=$CFLAGS
17263 CFLAGS="$CFLAGS -Wignored-qualifiers"
17264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17265 /* end confdefs.h. */
17266 int main(int argc, char **argv) { return 0; }
17267 _ACEOF
17268 if ac_fn_c_try_link "$LINENO"; then :
17269 ac_cv_cflags__Wignored_qualifiers=yes
17270 else
17271 ac_cv_cflags__Wignored_qualifiers=no
17273 rm -f core conftest.err conftest.$ac_objext \
17274 conftest$ac_exeext conftest.$ac_ext
17275 CFLAGS=$ac_wine_try_cflags_saved
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17278 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17279 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17280 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17283 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17284 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17285 $as_echo_n "(cached) " >&6
17286 else
17287 ac_wine_try_cflags_saved=$CFLAGS
17288 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17290 /* end confdefs.h. */
17291 int main(int argc, char **argv) { return 0; }
17292 _ACEOF
17293 if ac_fn_c_try_link "$LINENO"; then :
17294 ac_cv_cflags__Wpacked_not_aligned=yes
17295 else
17296 ac_cv_cflags__Wpacked_not_aligned=no
17298 rm -f core conftest.err conftest.$ac_objext \
17299 conftest$ac_exeext conftest.$ac_ext
17300 CFLAGS=$ac_wine_try_cflags_saved
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17303 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17304 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17305 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17308 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17309 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17310 $as_echo_n "(cached) " >&6
17311 else
17312 ac_wine_try_cflags_saved=$CFLAGS
17313 CFLAGS="$CFLAGS -Wpragma-pack"
17314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17315 /* end confdefs.h. */
17316 int main(int argc, char **argv) { return 0; }
17317 _ACEOF
17318 if ac_fn_c_try_link "$LINENO"; then :
17319 ac_cv_cflags__Wpragma_pack=yes
17320 else
17321 ac_cv_cflags__Wpragma_pack=no
17323 rm -f core conftest.err conftest.$ac_objext \
17324 conftest$ac_exeext conftest.$ac_ext
17325 CFLAGS=$ac_wine_try_cflags_saved
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17328 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17329 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17330 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17333 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17334 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17335 $as_echo_n "(cached) " >&6
17336 else
17337 ac_wine_try_cflags_saved=$CFLAGS
17338 CFLAGS="$CFLAGS -Wshift-overflow=2"
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17341 int main(int argc, char **argv) { return 0; }
17342 _ACEOF
17343 if ac_fn_c_try_link "$LINENO"; then :
17344 ac_cv_cflags__Wshift_overflow_2=yes
17345 else
17346 ac_cv_cflags__Wshift_overflow_2=no
17348 rm -f core conftest.err conftest.$ac_objext \
17349 conftest$ac_exeext conftest.$ac_ext
17350 CFLAGS=$ac_wine_try_cflags_saved
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17353 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17354 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17355 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17358 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17359 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17360 $as_echo_n "(cached) " >&6
17361 else
17362 ac_wine_try_cflags_saved=$CFLAGS
17363 CFLAGS="$CFLAGS -Wstrict-prototypes"
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 int main(int argc, char **argv) { return 0; }
17367 _ACEOF
17368 if ac_fn_c_try_link "$LINENO"; then :
17369 ac_cv_cflags__Wstrict_prototypes=yes
17370 else
17371 ac_cv_cflags__Wstrict_prototypes=no
17373 rm -f core conftest.err conftest.$ac_objext \
17374 conftest$ac_exeext conftest.$ac_ext
17375 CFLAGS=$ac_wine_try_cflags_saved
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17378 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17379 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17380 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17383 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17384 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17385 $as_echo_n "(cached) " >&6
17386 else
17387 ac_wine_try_cflags_saved=$CFLAGS
17388 CFLAGS="$CFLAGS -Wtype-limits"
17389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17391 int main(int argc, char **argv) { return 0; }
17392 _ACEOF
17393 if ac_fn_c_try_link "$LINENO"; then :
17394 ac_cv_cflags__Wtype_limits=yes
17395 else
17396 ac_cv_cflags__Wtype_limits=no
17398 rm -f core conftest.err conftest.$ac_objext \
17399 conftest$ac_exeext conftest.$ac_ext
17400 CFLAGS=$ac_wine_try_cflags_saved
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17403 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17404 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17405 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17408 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17409 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17410 $as_echo_n "(cached) " >&6
17411 else
17412 ac_wine_try_cflags_saved=$CFLAGS
17413 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17416 int main(int argc, char **argv) { return 0; }
17417 _ACEOF
17418 if ac_fn_c_try_link "$LINENO"; then :
17419 ac_cv_cflags__Wunused_but_set_parameter=yes
17420 else
17421 ac_cv_cflags__Wunused_but_set_parameter=no
17423 rm -f core conftest.err conftest.$ac_objext \
17424 conftest$ac_exeext conftest.$ac_ext
17425 CFLAGS=$ac_wine_try_cflags_saved
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17428 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17429 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17430 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17433 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17434 if ${ac_cv_cflags__Wvla+:} false; then :
17435 $as_echo_n "(cached) " >&6
17436 else
17437 ac_wine_try_cflags_saved=$CFLAGS
17438 CFLAGS="$CFLAGS -Wvla"
17439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h. */
17441 int main(int argc, char **argv) { return 0; }
17442 _ACEOF
17443 if ac_fn_c_try_link "$LINENO"; then :
17444 ac_cv_cflags__Wvla=yes
17445 else
17446 ac_cv_cflags__Wvla=no
17448 rm -f core conftest.err conftest.$ac_objext \
17449 conftest$ac_exeext conftest.$ac_ext
17450 CFLAGS=$ac_wine_try_cflags_saved
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17453 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17454 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17455 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17458 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17459 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17460 $as_echo_n "(cached) " >&6
17461 else
17462 ac_wine_try_cflags_saved=$CFLAGS
17463 CFLAGS="$CFLAGS -Wwrite-strings"
17464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17465 /* end confdefs.h. */
17466 int main(int argc, char **argv) { return 0; }
17467 _ACEOF
17468 if ac_fn_c_try_link "$LINENO"; then :
17469 ac_cv_cflags__Wwrite_strings=yes
17470 else
17471 ac_cv_cflags__Wwrite_strings=no
17473 rm -f core conftest.err conftest.$ac_objext \
17474 conftest$ac_exeext conftest.$ac_ext
17475 CFLAGS=$ac_wine_try_cflags_saved
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17478 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17479 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17480 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17484 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17485 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17486 $as_echo_n "(cached) " >&6
17487 else
17488 ac_wine_try_cflags_saved=$CFLAGS
17489 CFLAGS="$CFLAGS -Wpointer-arith"
17490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17491 /* end confdefs.h. */
17492 int main(int argc, char **argv) { return 0; }
17493 _ACEOF
17494 if ac_fn_c_try_link "$LINENO"; then :
17495 ac_cv_cflags__Wpointer_arith=yes
17496 else
17497 ac_cv_cflags__Wpointer_arith=no
17499 rm -f core conftest.err conftest.$ac_objext \
17500 conftest$ac_exeext conftest.$ac_ext
17501 CFLAGS=$ac_wine_try_cflags_saved
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17504 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17505 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17506 saved_string_h_CFLAGS=$CFLAGS
17507 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17509 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17510 if ${ac_cv_c_string_h_warnings+:} false; then :
17511 $as_echo_n "(cached) " >&6
17512 else
17513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17514 /* end confdefs.h. */
17515 #include <string.h>
17517 main ()
17521 return 0;
17523 _ACEOF
17524 if ac_fn_c_try_compile "$LINENO"; then :
17525 ac_cv_c_string_h_warnings=no
17526 else
17527 ac_cv_c_string_h_warnings=yes
17529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17532 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17533 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17534 CFLAGS=$saved_string_h_CFLAGS
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17538 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17539 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17540 $as_echo_n "(cached) " >&6
17541 else
17542 ac_wine_try_cflags_saved=$CFLAGS
17543 CFLAGS="$CFLAGS -Wlogical-op"
17544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17545 /* end confdefs.h. */
17546 int main(int argc, char **argv) { return 0; }
17547 _ACEOF
17548 if ac_fn_c_try_link "$LINENO"; then :
17549 ac_cv_cflags__Wlogical_op=yes
17550 else
17551 ac_cv_cflags__Wlogical_op=no
17553 rm -f core conftest.err conftest.$ac_objext \
17554 conftest$ac_exeext conftest.$ac_ext
17555 CFLAGS=$ac_wine_try_cflags_saved
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17558 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17559 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17560 saved_string_h_CFLAGS=$CFLAGS
17561 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17563 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17564 if ${ac_cv_c_logicalop_noisy+:} false; then :
17565 $as_echo_n "(cached) " >&6
17566 else
17567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h. */
17569 #include <string.h>
17570 char*f(const char *h,char n) {return strchr(h,n);}
17572 main ()
17576 return 0;
17578 _ACEOF
17579 if ac_fn_c_try_compile "$LINENO"; then :
17580 ac_cv_c_logicalop_noisy=no
17581 else
17582 ac_cv_c_logicalop_noisy=yes
17584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17587 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17588 CFLAGS=$saved_string_h_CFLAGS
17589 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17592 for ac_flag in $CFLAGS; do
17593 case $ac_flag in
17594 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17595 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17596 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17597 $as_echo_n "(cached) " >&6
17598 else
17599 ac_wine_try_cflags_saved=$CFLAGS
17600 CFLAGS="$CFLAGS -gdwarf-2"
17601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17602 /* end confdefs.h. */
17603 int main(int argc, char **argv) { return 0; }
17604 _ACEOF
17605 if ac_fn_c_try_link "$LINENO"; then :
17606 ac_cv_cflags__gdwarf_2=yes
17607 else
17608 ac_cv_cflags__gdwarf_2=no
17610 rm -f core conftest.err conftest.$ac_objext \
17611 conftest$ac_exeext conftest.$ac_ext
17612 CFLAGS=$ac_wine_try_cflags_saved
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17615 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17616 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17617 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17620 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17621 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17622 $as_echo_n "(cached) " >&6
17623 else
17624 ac_wine_try_cflags_saved=$CFLAGS
17625 CFLAGS="$CFLAGS -gstrict-dwarf"
17626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17627 /* end confdefs.h. */
17628 int main(int argc, char **argv) { return 0; }
17629 _ACEOF
17630 if ac_fn_c_try_link "$LINENO"; then :
17631 ac_cv_cflags__gstrict_dwarf=yes
17632 else
17633 ac_cv_cflags__gstrict_dwarf=no
17635 rm -f core conftest.err conftest.$ac_objext \
17636 conftest$ac_exeext conftest.$ac_ext
17637 CFLAGS=$ac_wine_try_cflags_saved
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17640 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17641 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17642 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17643 fi ;;
17644 esac
17645 done
17647 MSVCRTFLAGS=""
17649 case $host_os in
17650 mingw32*) ;;
17651 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17652 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17653 if ${ac_cv_cflags__fno_builtin+:} false; then :
17654 $as_echo_n "(cached) " >&6
17655 else
17656 ac_wine_try_cflags_saved=$CFLAGS
17657 CFLAGS="$CFLAGS -fno-builtin"
17658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17659 /* end confdefs.h. */
17660 int main(int argc, char **argv) { return 0; }
17661 _ACEOF
17662 if ac_fn_c_try_link "$LINENO"; then :
17663 ac_cv_cflags__fno_builtin=yes
17664 else
17665 ac_cv_cflags__fno_builtin=no
17667 rm -f core conftest.err conftest.$ac_objext \
17668 conftest$ac_exeext conftest.$ac_ext
17669 CFLAGS=$ac_wine_try_cflags_saved
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17672 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17673 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17674 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17677 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17678 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17679 $as_echo_n "(cached) " >&6
17680 else
17681 ac_wine_try_cflags_saved=$CFLAGS
17682 CFLAGS="$CFLAGS -fshort-wchar"
17683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17684 /* end confdefs.h. */
17685 int main(int argc, char **argv) { return 0; }
17686 _ACEOF
17687 if ac_fn_c_try_link "$LINENO"; then :
17688 ac_cv_cflags__fshort_wchar=yes
17689 else
17690 ac_cv_cflags__fshort_wchar=no
17692 rm -f core conftest.err conftest.$ac_objext \
17693 conftest$ac_exeext conftest.$ac_ext
17694 CFLAGS=$ac_wine_try_cflags_saved
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17697 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17698 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17699 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17700 fi ;;
17701 esac
17703 case $host_cpu in
17704 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17705 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17706 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17707 $as_echo_n "(cached) " >&6
17708 else
17709 ac_wine_try_cflags_saved=$CFLAGS
17710 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h. */
17713 int main(int argc, char **argv) { return 0; }
17714 _ACEOF
17715 if ac_fn_c_try_link "$LINENO"; then :
17716 ac_cv_cflags__fno_omit_frame_pointer=yes
17717 else
17718 ac_cv_cflags__fno_omit_frame_pointer=no
17720 rm -f core conftest.err conftest.$ac_objext \
17721 conftest$ac_exeext conftest.$ac_ext
17722 CFLAGS=$ac_wine_try_cflags_saved
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17725 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17726 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17727 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17728 fi ;;
17729 *x86_64*)
17730 case $host_os in
17731 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17732 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17733 if ${ac_cv_cflags__Wno_format+:} false; then :
17734 $as_echo_n "(cached) " >&6
17735 else
17736 ac_wine_try_cflags_saved=$CFLAGS
17737 CFLAGS="$CFLAGS -Wno-format"
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17740 int main(int argc, char **argv) { return 0; }
17741 _ACEOF
17742 if ac_fn_c_try_link "$LINENO"; then :
17743 ac_cv_cflags__Wno_format=yes
17744 else
17745 ac_cv_cflags__Wno_format=no
17747 rm -f core conftest.err conftest.$ac_objext \
17748 conftest$ac_exeext conftest.$ac_ext
17749 CFLAGS=$ac_wine_try_cflags_saved
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17752 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17753 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17754 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17755 fi ;;
17756 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17757 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17758 if ${ac_cv_cflags__mabi_ms+:} false; then :
17759 $as_echo_n "(cached) " >&6
17760 else
17761 ac_wine_try_cflags_saved=$CFLAGS
17762 CFLAGS="$CFLAGS -mabi=ms"
17763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17764 /* end confdefs.h. */
17765 int main(int argc, char **argv) { return 0; }
17766 _ACEOF
17767 if ac_fn_c_try_link "$LINENO"; then :
17768 ac_cv_cflags__mabi_ms=yes
17769 else
17770 ac_cv_cflags__mabi_ms=no
17772 rm -f core conftest.err conftest.$ac_objext \
17773 conftest$ac_exeext conftest.$ac_ext
17774 CFLAGS=$ac_wine_try_cflags_saved
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17777 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17778 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17779 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17780 fi ;;
17781 esac ;;
17782 esac
17784 CFLAGS=$saved_CFLAGS
17786 if test "x$enable_werror" = "xyes"
17787 then
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17789 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17790 if ${ac_cv_cflags__Werror+:} false; then :
17791 $as_echo_n "(cached) " >&6
17792 else
17793 ac_wine_try_cflags_saved=$CFLAGS
17794 CFLAGS="$CFLAGS -Werror"
17795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h. */
17797 int main(int argc, char **argv) { return 0; }
17798 _ACEOF
17799 if ac_fn_c_try_link "$LINENO"; then :
17800 ac_cv_cflags__Werror=yes
17801 else
17802 ac_cv_cflags__Werror=no
17804 rm -f core conftest.err conftest.$ac_objext \
17805 conftest$ac_exeext conftest.$ac_ext
17806 CFLAGS=$ac_wine_try_cflags_saved
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17809 $as_echo "$ac_cv_cflags__Werror" >&6; }
17810 if test "x$ac_cv_cflags__Werror" = xyes; then :
17811 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17818 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17819 if ${ac_cv_c_fortify_enabled+:} false; then :
17820 $as_echo_n "(cached) " >&6
17821 else
17822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17823 /* end confdefs.h. */
17824 #include <string.h>
17826 main ()
17828 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17829 #error Fortify enabled
17830 #endif
17832 return 0;
17834 _ACEOF
17835 if ac_fn_c_try_compile "$LINENO"; then :
17836 ac_cv_c_fortify_enabled=no
17837 else
17838 ac_cv_c_fortify_enabled=yes
17840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17843 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17844 if test "$ac_cv_c_fortify_enabled" = yes
17845 then
17846 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17851 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17852 if ${ac_cv_c_cfi_support+:} false; then :
17853 $as_echo_n "(cached) " >&6
17854 else
17855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17856 /* end confdefs.h. */
17857 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17859 main ()
17863 return 0;
17865 _ACEOF
17866 if ac_fn_c_try_compile "$LINENO"; then :
17867 ac_cv_c_cfi_support="yes"
17868 else
17869 ac_cv_c_cfi_support="no"
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17874 $as_echo "$ac_cv_c_cfi_support" >&6; }
17875 if test "$ac_cv_c_cfi_support" = "yes"
17876 then
17877 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17878 else
17879 if test "x$enable_win64" = "xyes"
17880 then
17881 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17886 case $build_os in
17887 cygwin*|mingw32*) TOOLSEXT=".exe"
17889 esac
17891 case $host_os in
17892 linux*)
17893 case $host_cpu in
17894 *i[3456789]86*|x86_64*|*aarch64*)
17895 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17896 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17898 esac
17900 esac
17903 ac_save_CFLAGS="$CFLAGS"
17904 CFLAGS="$CFLAGS $BUILTINFLAG"
17905 for ac_func in \
17906 __res_get_state \
17907 __res_getservers \
17908 _spawnvp \
17909 epoll_create \
17910 ffs \
17911 finitef \
17912 fnmatch \
17913 fork \
17914 fpclass \
17915 fstatfs \
17916 fstatvfs \
17917 futimens \
17918 futimes \
17919 futimesat \
17920 getattrlist \
17921 getauxval \
17922 getifaddrs \
17923 getopt_long_only \
17924 kqueue \
17925 lstat \
17926 mach_continuous_time \
17927 pipe2 \
17928 poll \
17929 port_create \
17930 prctl \
17931 pread \
17932 proc_pidinfo \
17933 pwrite \
17934 readdir \
17935 readlink \
17936 sched_yield \
17937 select \
17938 setproctitle \
17939 setprogname \
17940 settimeofday \
17941 sigprocmask \
17942 statfs \
17943 statvfs \
17944 strnlen \
17945 strtold \
17946 symlink \
17947 sysinfo \
17948 tcdrain \
17949 thr_kill2 \
17950 timegm \
17951 usleep
17953 do :
17954 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17955 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17956 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17957 cat >>confdefs.h <<_ACEOF
17958 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17959 _ACEOF
17962 done
17964 CFLAGS="$ac_save_CFLAGS"
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17967 $as_echo_n "checking for library containing dlopen... " >&6; }
17968 if ${ac_cv_search_dlopen+:} false; then :
17969 $as_echo_n "(cached) " >&6
17970 else
17971 ac_func_search_save_LIBS=$LIBS
17972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17973 /* end confdefs.h. */
17975 /* Override any GCC internal prototype to avoid an error.
17976 Use char because int might match the return type of a GCC
17977 builtin and then its argument prototype would still apply. */
17978 #ifdef __cplusplus
17979 extern "C"
17980 #endif
17981 char dlopen ();
17983 main ()
17985 return dlopen ();
17987 return 0;
17989 _ACEOF
17990 for ac_lib in '' dl; do
17991 if test -z "$ac_lib"; then
17992 ac_res="none required"
17993 else
17994 ac_res=-l$ac_lib
17995 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17997 if ac_fn_c_try_link "$LINENO"; then :
17998 ac_cv_search_dlopen=$ac_res
18000 rm -f core conftest.err conftest.$ac_objext \
18001 conftest$ac_exeext
18002 if ${ac_cv_search_dlopen+:} false; then :
18003 break
18005 done
18006 if ${ac_cv_search_dlopen+:} false; then :
18008 else
18009 ac_cv_search_dlopen=no
18011 rm conftest.$ac_ext
18012 LIBS=$ac_func_search_save_LIBS
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18015 $as_echo "$ac_cv_search_dlopen" >&6; }
18016 ac_res=$ac_cv_search_dlopen
18017 if test "$ac_res" != no; then :
18018 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18022 ac_wine_check_funcs_save_LIBS="$LIBS"
18023 LIBS="$LIBS $DL_LIBS"
18024 for ac_func in dladdr dlinfo
18025 do :
18026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18028 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18029 cat >>confdefs.h <<_ACEOF
18030 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18031 _ACEOF
18034 done
18036 LIBS="$ac_wine_check_funcs_save_LIBS"
18038 if test "$ac_cv_func_poll" = no
18039 then
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18041 $as_echo_n "checking for poll in -lpoll... " >&6; }
18042 if ${ac_cv_lib_poll_poll+:} false; then :
18043 $as_echo_n "(cached) " >&6
18044 else
18045 ac_check_lib_save_LIBS=$LIBS
18046 LIBS="-lpoll $LIBS"
18047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18048 /* end confdefs.h. */
18050 /* Override any GCC internal prototype to avoid an error.
18051 Use char because int might match the return type of a GCC
18052 builtin and then its argument prototype would still apply. */
18053 #ifdef __cplusplus
18054 extern "C"
18055 #endif
18056 char poll ();
18058 main ()
18060 return poll ();
18062 return 0;
18064 _ACEOF
18065 if ac_fn_c_try_link "$LINENO"; then :
18066 ac_cv_lib_poll_poll=yes
18067 else
18068 ac_cv_lib_poll_poll=no
18070 rm -f core conftest.err conftest.$ac_objext \
18071 conftest$ac_exeext conftest.$ac_ext
18072 LIBS=$ac_check_lib_save_LIBS
18074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18075 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18076 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18077 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18078 POLL_LIBS="-lpoll"
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18085 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18086 if ${ac_cv_search_gethostbyname+:} false; then :
18087 $as_echo_n "(cached) " >&6
18088 else
18089 ac_func_search_save_LIBS=$LIBS
18090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h. */
18093 /* Override any GCC internal prototype to avoid an error.
18094 Use char because int might match the return type of a GCC
18095 builtin and then its argument prototype would still apply. */
18096 #ifdef __cplusplus
18097 extern "C"
18098 #endif
18099 char gethostbyname ();
18101 main ()
18103 return gethostbyname ();
18105 return 0;
18107 _ACEOF
18108 for ac_lib in '' nsl; do
18109 if test -z "$ac_lib"; then
18110 ac_res="none required"
18111 else
18112 ac_res=-l$ac_lib
18113 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18115 if ac_fn_c_try_link "$LINENO"; then :
18116 ac_cv_search_gethostbyname=$ac_res
18118 rm -f core conftest.err conftest.$ac_objext \
18119 conftest$ac_exeext
18120 if ${ac_cv_search_gethostbyname+:} false; then :
18121 break
18123 done
18124 if ${ac_cv_search_gethostbyname+:} false; then :
18126 else
18127 ac_cv_search_gethostbyname=no
18129 rm conftest.$ac_ext
18130 LIBS=$ac_func_search_save_LIBS
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18133 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18134 ac_res=$ac_cv_search_gethostbyname
18135 if test "$ac_res" != no; then :
18136 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18142 $as_echo_n "checking for library containing connect... " >&6; }
18143 if ${ac_cv_search_connect+:} false; then :
18144 $as_echo_n "(cached) " >&6
18145 else
18146 ac_func_search_save_LIBS=$LIBS
18147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18148 /* end confdefs.h. */
18150 /* Override any GCC internal prototype to avoid an error.
18151 Use char because int might match the return type of a GCC
18152 builtin and then its argument prototype would still apply. */
18153 #ifdef __cplusplus
18154 extern "C"
18155 #endif
18156 char connect ();
18158 main ()
18160 return connect ();
18162 return 0;
18164 _ACEOF
18165 for ac_lib in '' socket; do
18166 if test -z "$ac_lib"; then
18167 ac_res="none required"
18168 else
18169 ac_res=-l$ac_lib
18170 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18172 if ac_fn_c_try_link "$LINENO"; then :
18173 ac_cv_search_connect=$ac_res
18175 rm -f core conftest.err conftest.$ac_objext \
18176 conftest$ac_exeext
18177 if ${ac_cv_search_connect+:} false; then :
18178 break
18180 done
18181 if ${ac_cv_search_connect+:} false; then :
18183 else
18184 ac_cv_search_connect=no
18186 rm conftest.$ac_ext
18187 LIBS=$ac_func_search_save_LIBS
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18190 $as_echo "$ac_cv_search_connect" >&6; }
18191 ac_res=$ac_cv_search_connect
18192 if test "$ac_res" != no; then :
18193 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18199 $as_echo_n "checking for library containing inet_aton... " >&6; }
18200 if ${ac_cv_search_inet_aton+:} false; then :
18201 $as_echo_n "(cached) " >&6
18202 else
18203 ac_func_search_save_LIBS=$LIBS
18204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18205 /* end confdefs.h. */
18207 /* Override any GCC internal prototype to avoid an error.
18208 Use char because int might match the return type of a GCC
18209 builtin and then its argument prototype would still apply. */
18210 #ifdef __cplusplus
18211 extern "C"
18212 #endif
18213 char inet_aton ();
18215 main ()
18217 return inet_aton ();
18219 return 0;
18221 _ACEOF
18222 for ac_lib in '' resolv; do
18223 if test -z "$ac_lib"; then
18224 ac_res="none required"
18225 else
18226 ac_res=-l$ac_lib
18227 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18229 if ac_fn_c_try_link "$LINENO"; then :
18230 ac_cv_search_inet_aton=$ac_res
18232 rm -f core conftest.err conftest.$ac_objext \
18233 conftest$ac_exeext
18234 if ${ac_cv_search_inet_aton+:} false; then :
18235 break
18237 done
18238 if ${ac_cv_search_inet_aton+:} false; then :
18240 else
18241 ac_cv_search_inet_aton=no
18243 rm conftest.$ac_ext
18244 LIBS=$ac_func_search_save_LIBS
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18247 $as_echo "$ac_cv_search_inet_aton" >&6; }
18248 ac_res=$ac_cv_search_inet_aton
18249 if test "$ac_res" != no; then :
18250 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18255 for ac_func in \
18256 getaddrinfo \
18257 getnameinfo \
18258 getnetbyname \
18259 getprotobyname \
18260 getprotobynumber \
18261 getservbyport \
18262 inet_addr \
18263 inet_network \
18264 inet_ntop \
18265 inet_pton \
18267 do :
18268 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18270 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18271 cat >>confdefs.h <<_ACEOF
18272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18273 _ACEOF
18276 done
18279 case $host_os in
18280 darwin*|macosx*) ;;
18281 *) ac_save_LIBS=$LIBS
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18283 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18284 if ${ac_cv_search_clock_gettime+:} false; then :
18285 $as_echo_n "(cached) " >&6
18286 else
18287 ac_func_search_save_LIBS=$LIBS
18288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18289 /* end confdefs.h. */
18291 /* Override any GCC internal prototype to avoid an error.
18292 Use char because int might match the return type of a GCC
18293 builtin and then its argument prototype would still apply. */
18294 #ifdef __cplusplus
18295 extern "C"
18296 #endif
18297 char clock_gettime ();
18299 main ()
18301 return clock_gettime ();
18303 return 0;
18305 _ACEOF
18306 for ac_lib in '' rt; do
18307 if test -z "$ac_lib"; then
18308 ac_res="none required"
18309 else
18310 ac_res=-l$ac_lib
18311 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18313 if ac_fn_c_try_link "$LINENO"; then :
18314 ac_cv_search_clock_gettime=$ac_res
18316 rm -f core conftest.err conftest.$ac_objext \
18317 conftest$ac_exeext
18318 if ${ac_cv_search_clock_gettime+:} false; then :
18319 break
18321 done
18322 if ${ac_cv_search_clock_gettime+:} false; then :
18324 else
18325 ac_cv_search_clock_gettime=no
18327 rm conftest.$ac_ext
18328 LIBS=$ac_func_search_save_LIBS
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18331 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18332 ac_res=$ac_cv_search_clock_gettime
18333 if test "$ac_res" != no; then :
18334 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18336 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18338 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18342 LIBS=$ac_save_LIBS
18344 esac
18346 if test "x$with_ldap" != "xno"
18347 then
18348 if ${LDAP_CFLAGS:+false} :; then :
18349 if ${PKG_CONFIG+:} false; then :
18350 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18354 if ${LDAP_LIBS:+false} :; then :
18355 if ${PKG_CONFIG+:} false; then :
18356 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18360 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18361 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18362 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18363 ac_save_CPPFLAGS=$CPPFLAGS
18364 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18365 for ac_header in ldap.h lber.h
18366 do :
18367 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18368 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18369 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18370 cat >>confdefs.h <<_ACEOF
18371 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18372 _ACEOF
18376 done
18378 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18379 then
18380 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18382 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18384 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18385 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18386 $as_echo_n "(cached) " >&6
18387 else
18388 ac_check_lib_save_LIBS=$LIBS
18389 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18391 /* end confdefs.h. */
18393 /* Override any GCC internal prototype to avoid an error.
18394 Use char because int might match the return type of a GCC
18395 builtin and then its argument prototype would still apply. */
18396 #ifdef __cplusplus
18397 extern "C"
18398 #endif
18399 char ldap_initialize ();
18401 main ()
18403 return ldap_initialize ();
18405 return 0;
18407 _ACEOF
18408 if ac_fn_c_try_link "$LINENO"; then :
18409 ac_cv_lib_ldap_r_ldap_initialize=yes
18410 else
18411 ac_cv_lib_ldap_r_ldap_initialize=no
18413 rm -f core conftest.err conftest.$ac_objext \
18414 conftest$ac_exeext conftest.$ac_ext
18415 LIBS=$ac_check_lib_save_LIBS
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18418 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18419 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18421 $as_echo_n "checking for ber_init in -llber... " >&6; }
18422 if ${ac_cv_lib_lber_ber_init+:} false; then :
18423 $as_echo_n "(cached) " >&6
18424 else
18425 ac_check_lib_save_LIBS=$LIBS
18426 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18428 /* end confdefs.h. */
18430 /* Override any GCC internal prototype to avoid an error.
18431 Use char because int might match the return type of a GCC
18432 builtin and then its argument prototype would still apply. */
18433 #ifdef __cplusplus
18434 extern "C"
18435 #endif
18436 char ber_init ();
18438 main ()
18440 return ber_init ();
18442 return 0;
18444 _ACEOF
18445 if ac_fn_c_try_link "$LINENO"; then :
18446 ac_cv_lib_lber_ber_init=yes
18447 else
18448 ac_cv_lib_lber_ber_init=no
18450 rm -f core conftest.err conftest.$ac_objext \
18451 conftest$ac_exeext conftest.$ac_ext
18452 LIBS=$ac_check_lib_save_LIBS
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18455 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18456 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18458 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18460 else
18461 LDAP_LIBS=""
18464 else
18465 LDAP_LIBS=""
18468 else
18469 LDAP_LIBS=""
18472 ac_wine_check_funcs_save_LIBS="$LIBS"
18473 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18474 for ac_func in \
18475 ldap_count_references \
18476 ldap_first_reference \
18477 ldap_next_reference \
18478 ldap_parse_reference \
18479 ldap_parse_sort_control \
18480 ldap_parse_sortresponse_control \
18481 ldap_parse_vlv_control \
18482 ldap_parse_vlvresponse_control
18483 do :
18484 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18485 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18486 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18487 cat >>confdefs.h <<_ACEOF
18488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18489 _ACEOF
18492 done
18494 LIBS="$ac_wine_check_funcs_save_LIBS"
18495 else
18496 LDAP_LIBS=""
18498 CPPFLAGS=$ac_save_CPPFLAGS
18499 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18500 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18503 if test "x$LDAP_LIBS" = "x"; then :
18504 case "x$with_ldap" in
18505 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18506 xno) ;;
18507 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18508 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18509 esac
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18514 $as_echo_n "checking for sched_setaffinity... " >&6; }
18515 if ${wine_cv_have_sched_setaffinity+:} false; then :
18516 $as_echo_n "(cached) " >&6
18517 else
18518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18520 #define _GNU_SOURCE
18521 #include <sched.h>
18523 main ()
18525 sched_setaffinity(0, 0, 0);
18527 return 0;
18529 _ACEOF
18530 if ac_fn_c_try_link "$LINENO"; then :
18531 wine_cv_have_sched_setaffinity=yes
18532 else
18533 wine_cv_have_sched_setaffinity=no
18535 rm -f core conftest.err conftest.$ac_objext \
18536 conftest$ac_exeext conftest.$ac_ext
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18539 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18540 if test "$wine_cv_have_sched_setaffinity" = "yes"
18541 then
18543 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18548 $as_echo_n "checking for fallocate... " >&6; }
18549 if ${wine_cv_have_fallocate+:} false; then :
18550 $as_echo_n "(cached) " >&6
18551 else
18552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18553 /* end confdefs.h. */
18554 #define _GNU_SOURCE
18555 #include <fcntl.h>
18557 main ()
18559 fallocate(-1, 0, 0, 0);
18561 return 0;
18563 _ACEOF
18564 if ac_fn_c_try_link "$LINENO"; then :
18565 wine_cv_have_fallocate=yes
18566 else
18567 wine_cv_have_fallocate=no
18569 rm -f core conftest.err conftest.$ac_objext \
18570 conftest$ac_exeext conftest.$ac_ext
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18573 $as_echo "$wine_cv_have_fallocate" >&6; }
18574 if test "$wine_cv_have_fallocate" = "yes"
18575 then
18577 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18583 $as_echo_n "checking for inline... " >&6; }
18584 if ${ac_cv_c_inline+:} false; then :
18585 $as_echo_n "(cached) " >&6
18586 else
18587 ac_cv_c_inline=no
18588 for ac_kw in inline __inline__ __inline; do
18589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18590 /* end confdefs.h. */
18591 #ifndef __cplusplus
18592 typedef int foo_t;
18593 static $ac_kw foo_t static_foo () {return 0; }
18594 $ac_kw foo_t foo () {return 0; }
18595 #endif
18597 _ACEOF
18598 if ac_fn_c_try_compile "$LINENO"; then :
18599 ac_cv_c_inline=$ac_kw
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602 test "$ac_cv_c_inline" != no && break
18603 done
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18607 $as_echo "$ac_cv_c_inline" >&6; }
18609 case $ac_cv_c_inline in
18610 inline | yes) ;;
18612 case $ac_cv_c_inline in
18613 no) ac_val=;;
18614 *) ac_val=$ac_cv_c_inline;;
18615 esac
18616 cat >>confdefs.h <<_ACEOF
18617 #ifndef __cplusplus
18618 #define inline $ac_val
18619 #endif
18620 _ACEOF
18622 esac
18624 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18625 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18627 cat >>confdefs.h <<_ACEOF
18628 #define HAVE_FSBLKCNT_T 1
18629 _ACEOF
18633 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18634 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18636 cat >>confdefs.h <<_ACEOF
18637 #define HAVE_FSFILCNT_T 1
18638 _ACEOF
18643 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18644 #include <signal.h>
18646 if test "x$ac_cv_type_sigset_t" = xyes; then :
18648 cat >>confdefs.h <<_ACEOF
18649 #define HAVE_SIGSET_T 1
18650 _ACEOF
18655 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18657 if test "x$ac_cv_type_request_sense" = xyes; then :
18659 cat >>confdefs.h <<_ACEOF
18660 #define HAVE_REQUEST_SENSE 1
18661 _ACEOF
18667 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18668 #ifdef HAVE_SYS_SOCKET_H
18669 #include <sys/socket.h>
18670 #endif
18671 #ifdef HAVE_SYS_SOCKETVAR_H
18672 #include <sys/socketvar.h>
18673 #endif
18674 #ifdef HAVE_NET_ROUTE_H
18675 #include <net/route.h>
18676 #endif
18677 #ifdef HAVE_NETINET_IN_H
18678 #include <netinet/in.h>
18679 #endif
18680 #ifdef HAVE_NETINET_IN_SYSTM_H
18681 #include <netinet/in_systm.h>
18682 #endif
18683 #ifdef HAVE_NETINET_IP_H
18684 #include <netinet/ip.h>
18685 #endif
18686 #ifdef HAVE_NETINET_IN_PCB_H
18687 #include <netinet/in_pcb.h>
18688 #endif
18690 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18692 cat >>confdefs.h <<_ACEOF
18693 #define HAVE_STRUCT_XINPGEN 1
18694 _ACEOF
18700 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18701 #include <linux/input.h>
18702 #endif
18704 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18706 cat >>confdefs.h <<_ACEOF
18707 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18708 _ACEOF
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18715 $as_echo_n "checking for if_nameindex... " >&6; }
18716 if ${wine_cv_have_if_nameindex+:} false; then :
18717 $as_echo_n "(cached) " >&6
18718 else
18719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h. */
18721 #ifdef HAVE_SYS_TYPES_H
18722 #include <sys/types.h>
18723 #endif
18724 #ifdef HAVE_SYS_SOCKET_H
18725 #include <sys/socket.h>
18726 #endif
18727 #ifdef HAVE_NET_IF_H
18728 # include <net/if.h>
18729 #endif
18731 main ()
18733 struct if_nameindex *p = if_nameindex(); return p->if_index;
18735 return 0;
18737 _ACEOF
18738 if ac_fn_c_try_link "$LINENO"; then :
18739 wine_cv_have_if_nameindex=yes
18740 else
18741 wine_cv_have_if_nameindex=no
18743 rm -f core conftest.err conftest.$ac_objext \
18744 conftest$ac_exeext conftest.$ac_ext
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18747 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18748 if test "$wine_cv_have_if_nameindex" = "yes"
18749 then
18751 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18756 $as_echo_n "checking for sigaddset... " >&6; }
18757 if ${wine_cv_have_sigaddset+:} false; then :
18758 $as_echo_n "(cached) " >&6
18759 else
18760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18761 /* end confdefs.h. */
18762 #include <signal.h>
18764 main ()
18766 sigset_t set; sigaddset(&set,SIGTERM);
18768 return 0;
18770 _ACEOF
18771 if ac_fn_c_try_link "$LINENO"; then :
18772 wine_cv_have_sigaddset=yes
18773 else
18774 wine_cv_have_sigaddset=no
18776 rm -f core conftest.err conftest.$ac_objext \
18777 conftest$ac_exeext conftest.$ac_ext
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18780 $as_echo "$wine_cv_have_sigaddset" >&6; }
18781 if test "$wine_cv_have_sigaddset" = "yes"
18782 then
18784 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18790 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18791 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18792 $as_echo_n "(cached) " >&6
18793 else
18794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18795 /* end confdefs.h. */
18796 #include <netdb.h>
18798 main ()
18801 char *name=0;
18802 struct hostent he;
18803 struct hostent *result;
18804 char *buf=0;
18805 int bufsize=0;
18806 int errnr;
18807 char *addr=0;
18808 int addrlen=0;
18809 int addrtype=0;
18810 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18811 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18814 return 0;
18816 _ACEOF
18817 if ac_fn_c_try_link "$LINENO"; then :
18818 wine_cv_linux_gethostbyname_r_6=yes
18819 else
18820 wine_cv_linux_gethostbyname_r_6=no
18823 rm -f core conftest.err conftest.$ac_objext \
18824 conftest$ac_exeext conftest.$ac_ext
18827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18828 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18829 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18830 then
18832 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18836 if test "$ac_cv_header_linux_joystick_h" = "yes"
18837 then
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18839 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18840 if ${wine_cv_linux_joystick_22_api+:} false; then :
18841 $as_echo_n "(cached) " >&6
18842 else
18843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18844 /* end confdefs.h. */
18846 #include <sys/ioctl.h>
18847 #include <sys/types.h>
18848 #include <linux/joystick.h>
18850 struct js_event blub;
18851 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18852 #error "no 2.2 header"
18853 #endif
18856 main ()
18858 /*empty*/
18860 return 0;
18862 _ACEOF
18863 if ac_fn_c_try_compile "$LINENO"; then :
18864 wine_cv_linux_joystick_22_api=yes
18865 else
18866 wine_cv_linux_joystick_22_api=no
18868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18872 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18873 if test "$wine_cv_linux_joystick_22_api" = "yes"
18874 then
18876 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18882 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18883 #ifdef HAVE_SYS_PARAM_H
18884 # include <sys/param.h>
18885 #endif
18886 #ifdef HAVE_SYS_MOUNT_H
18887 # include <sys/mount.h>
18888 #endif
18889 #ifdef HAVE_SYS_VFS_H
18890 # include <sys/vfs.h>
18891 #endif
18892 #ifdef HAVE_SYS_STATFS_H
18893 # include <sys/statfs.h>
18894 #endif
18896 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18898 cat >>confdefs.h <<_ACEOF
18899 #define HAVE_STRUCT_STATFS_F_BFREE 1
18900 _ACEOF
18904 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18905 #ifdef HAVE_SYS_PARAM_H
18906 # include <sys/param.h>
18907 #endif
18908 #ifdef HAVE_SYS_MOUNT_H
18909 # include <sys/mount.h>
18910 #endif
18911 #ifdef HAVE_SYS_VFS_H
18912 # include <sys/vfs.h>
18913 #endif
18914 #ifdef HAVE_SYS_STATFS_H
18915 # include <sys/statfs.h>
18916 #endif
18918 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18920 cat >>confdefs.h <<_ACEOF
18921 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18922 _ACEOF
18926 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18927 #ifdef HAVE_SYS_PARAM_H
18928 # include <sys/param.h>
18929 #endif
18930 #ifdef HAVE_SYS_MOUNT_H
18931 # include <sys/mount.h>
18932 #endif
18933 #ifdef HAVE_SYS_VFS_H
18934 # include <sys/vfs.h>
18935 #endif
18936 #ifdef HAVE_SYS_STATFS_H
18937 # include <sys/statfs.h>
18938 #endif
18940 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18942 cat >>confdefs.h <<_ACEOF
18943 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18944 _ACEOF
18948 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18949 #ifdef HAVE_SYS_PARAM_H
18950 # include <sys/param.h>
18951 #endif
18952 #ifdef HAVE_SYS_MOUNT_H
18953 # include <sys/mount.h>
18954 #endif
18955 #ifdef HAVE_SYS_VFS_H
18956 # include <sys/vfs.h>
18957 #endif
18958 #ifdef HAVE_SYS_STATFS_H
18959 # include <sys/statfs.h>
18960 #endif
18962 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18964 cat >>confdefs.h <<_ACEOF
18965 #define HAVE_STRUCT_STATFS_F_FFREE 1
18966 _ACEOF
18970 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18971 #ifdef HAVE_SYS_PARAM_H
18972 # include <sys/param.h>
18973 #endif
18974 #ifdef HAVE_SYS_MOUNT_H
18975 # include <sys/mount.h>
18976 #endif
18977 #ifdef HAVE_SYS_VFS_H
18978 # include <sys/vfs.h>
18979 #endif
18980 #ifdef HAVE_SYS_STATFS_H
18981 # include <sys/statfs.h>
18982 #endif
18984 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18986 cat >>confdefs.h <<_ACEOF
18987 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18988 _ACEOF
18992 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18993 #ifdef HAVE_SYS_PARAM_H
18994 # include <sys/param.h>
18995 #endif
18996 #ifdef HAVE_SYS_MOUNT_H
18997 # include <sys/mount.h>
18998 #endif
18999 #ifdef HAVE_SYS_VFS_H
19000 # include <sys/vfs.h>
19001 #endif
19002 #ifdef HAVE_SYS_STATFS_H
19003 # include <sys/statfs.h>
19004 #endif
19006 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
19008 cat >>confdefs.h <<_ACEOF
19009 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19010 _ACEOF
19016 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
19017 #include <sys/statvfs.h>
19018 #endif
19020 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
19022 cat >>confdefs.h <<_ACEOF
19023 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19024 _ACEOF
19030 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
19031 #include <dirent.h>
19032 #endif
19034 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
19036 cat >>confdefs.h <<_ACEOF
19037 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
19038 _ACEOF
19044 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19045 #ifdef HAVE_SYS_SOCKET_H
19046 # include <sys/socket.h>
19047 #endif
19048 #ifdef HAVE_SYS_UN_H
19049 # include <sys/un.h>
19050 #endif
19052 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
19054 cat >>confdefs.h <<_ACEOF
19055 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19056 _ACEOF
19060 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19061 #ifdef HAVE_SYS_SOCKET_H
19062 # include <sys/socket.h>
19063 #endif
19064 #ifdef HAVE_SYS_UN_H
19065 # include <sys/un.h>
19066 #endif
19068 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19070 cat >>confdefs.h <<_ACEOF
19071 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19072 _ACEOF
19076 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19077 #ifdef HAVE_SYS_SOCKET_H
19078 # include <sys/socket.h>
19079 #endif
19080 #ifdef HAVE_SYS_UN_H
19081 # include <sys/un.h>
19082 #endif
19084 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19086 cat >>confdefs.h <<_ACEOF
19087 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19088 _ACEOF
19094 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19095 #ifdef HAVE_SCSI_SG_H
19096 #include <scsi/sg.h>
19097 #endif
19099 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19101 cat >>confdefs.h <<_ACEOF
19102 #define HAVE_SCSIREQ_T_CMD 1
19103 _ACEOF
19107 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>
19108 #ifdef HAVE_SCSI_SG_H
19109 #include <scsi/sg.h>
19110 #endif
19112 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19114 cat >>confdefs.h <<_ACEOF
19115 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19116 _ACEOF
19122 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19124 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19126 cat >>confdefs.h <<_ACEOF
19127 #define HAVE_SIGINFO_T_SI_FD 1
19128 _ACEOF
19134 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19135 #ifdef HAVE_SYS_MTIO_H
19136 #include <sys/mtio.h>
19137 #endif
19139 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19141 cat >>confdefs.h <<_ACEOF
19142 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19143 _ACEOF
19147 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19148 #ifdef HAVE_SYS_MTIO_H
19149 #include <sys/mtio.h>
19150 #endif
19152 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19156 _ACEOF
19160 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19161 #ifdef HAVE_SYS_MTIO_H
19162 #include <sys/mtio.h>
19163 #endif
19165 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19167 cat >>confdefs.h <<_ACEOF
19168 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19169 _ACEOF
19175 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19176 #include <getopt.h>
19177 #endif
19179 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19181 cat >>confdefs.h <<_ACEOF
19182 #define HAVE_STRUCT_OPTION_NAME 1
19183 _ACEOF
19189 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19190 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19192 cat >>confdefs.h <<_ACEOF
19193 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19194 _ACEOF
19198 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19199 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19201 cat >>confdefs.h <<_ACEOF
19202 #define HAVE_STRUCT_STAT_ST_MTIM 1
19203 _ACEOF
19207 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19208 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19210 cat >>confdefs.h <<_ACEOF
19211 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19212 _ACEOF
19216 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19217 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19219 cat >>confdefs.h <<_ACEOF
19220 #define HAVE_STRUCT_STAT_ST_CTIM 1
19221 _ACEOF
19225 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19226 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19228 cat >>confdefs.h <<_ACEOF
19229 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19230 _ACEOF
19234 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19235 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19237 cat >>confdefs.h <<_ACEOF
19238 #define HAVE_STRUCT_STAT_ST_ATIM 1
19239 _ACEOF
19243 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19244 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19246 cat >>confdefs.h <<_ACEOF
19247 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19248 _ACEOF
19252 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19253 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19255 cat >>confdefs.h <<_ACEOF
19256 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19257 _ACEOF
19261 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19262 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19264 cat >>confdefs.h <<_ACEOF
19265 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19266 _ACEOF
19270 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19271 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19273 cat >>confdefs.h <<_ACEOF
19274 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19275 _ACEOF
19279 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19280 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19282 cat >>confdefs.h <<_ACEOF
19283 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19284 _ACEOF
19288 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19289 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19291 cat >>confdefs.h <<_ACEOF
19292 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19293 _ACEOF
19299 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
19300 #include <sys/types.h>
19301 #endif
19302 #ifdef HAVE_NETINET_IN_H
19303 #include <netinet/in.h>
19304 #endif
19306 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19308 cat >>confdefs.h <<_ACEOF
19309 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19310 _ACEOF
19316 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19317 #include <sys/types.h>
19318 #endif
19319 #ifdef HAVE_NETINET_IN_H
19320 #include <netinet/in.h>
19321 #endif
19322 #ifdef HAVE_RESOLV_H
19323 #include <resolv.h>
19324 #endif
19326 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19328 cat >>confdefs.h <<_ACEOF
19329 #define HAVE_STRUCT___RES_STATE 1
19330 _ACEOF
19336 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
19337 #include <resolv.h>
19338 #endif
19340 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19342 cat >>confdefs.h <<_ACEOF
19343 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19344 _ACEOF
19350 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19351 #include <sys/types.h>
19352 #endif
19353 #ifdef HAVE_NETINET_IN_H
19354 # include <netinet/in.h>
19355 #endif
19356 #ifdef HAVE_ARPA_NAMESER_H
19357 # include <arpa/nameser.h>
19358 #endif
19360 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19362 cat >>confdefs.h <<_ACEOF
19363 #define HAVE_NS_MSG__MSG_PTR 1
19364 _ACEOF
19370 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19371 #include <sys/types.h>
19372 #endif
19373 #ifdef HAVE_NETINET_IN_H
19374 #include <netinet/in.h>
19375 #endif
19376 #ifdef HAVE_NETINET_IP_H
19377 #include <netinet/ip.h>
19378 #endif
19379 #ifdef HAVE_NETINET_IP_ICMP_H
19380 #include <netinet/ip_icmp.h>
19381 #endif
19382 #ifdef HAVE_NETINET_ICMP_VAR_H
19383 #include <netinet/icmp_var.h>
19384 #endif
19386 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19388 cat >>confdefs.h <<_ACEOF
19389 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19390 _ACEOF
19396 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19397 #include <sys/types.h>
19398 #endif
19399 #ifdef HAVE_ALIAS_H
19400 #include <alias.h>
19401 #endif
19402 #ifdef HAVE_SYS_SOCKET_H
19403 #include <sys/socket.h>
19404 #endif
19405 #ifdef HAVE_SYS_SOCKETVAR_H
19406 #include <sys/socketvar.h>
19407 #endif
19408 #ifdef HAVE_SYS_TIMEOUT_H
19409 #include <sys/timeout.h>
19410 #endif
19411 #ifdef HAVE_NETINET_IN_H
19412 #include <netinet/in.h>
19413 #endif
19414 #ifdef HAVE_NETINET_IN_SYSTM_H
19415 #include <netinet/in_systm.h>
19416 #endif
19417 #ifdef HAVE_NETINET_IP_H
19418 #include <netinet/ip.h>
19419 #endif
19420 #ifdef HAVE_NETINET_IP_VAR_H
19421 #include <netinet/ip_var.h>
19422 #endif
19423 #ifdef HAVE_NETINET_IP_ICMP_H
19424 #include <netinet/ip_icmp.h>
19425 #endif
19426 #ifdef HAVE_NETINET_ICMP_VAR_H
19427 #include <netinet/icmp_var.h>
19428 #endif
19430 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19432 cat >>confdefs.h <<_ACEOF
19433 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19434 _ACEOF
19440 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19441 #include <sys/types.h>
19442 #endif
19443 #ifdef HAVE_SYS_SOCKETVAR_H
19444 #include <sys/socketvar.h>
19445 #endif
19446 #ifdef HAVE_NETINET_IN_H
19447 #include <netinet/in.h>
19448 #endif
19449 #ifdef HAVE_NETINET_IP_VAR_H
19450 #include <netinet/ip_var.h>
19451 #endif
19453 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19455 cat >>confdefs.h <<_ACEOF
19456 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19457 _ACEOF
19463 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
19464 #include <netinet/ip_var.h>
19465 #endif
19467 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19469 cat >>confdefs.h <<_ACEOF
19470 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19471 _ACEOF
19477 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19478 #include <sys/types.h>
19479 #endif
19480 #ifdef HAVE_SYS_SOCKETVAR_H
19481 #include <sys/socketvar.h>
19482 #endif
19483 #ifdef HAVE_NETINET_IN_H
19484 #include <netinet/in.h>
19485 #endif
19486 #ifdef HAVE_NETINET_TCP_H
19487 #include <netinet/tcp.h>
19488 #endif
19489 #ifdef HAVE_NETINET_TCP_VAR_H
19490 #include <netinet/tcp_var.h>
19491 #endif
19493 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19495 cat >>confdefs.h <<_ACEOF
19496 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19497 _ACEOF
19503 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
19504 #include <netinet/tcp_var.h>
19505 #endif
19507 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19509 cat >>confdefs.h <<_ACEOF
19510 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19511 _ACEOF
19517 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19518 #include <sys/types.h>
19519 #endif
19520 #ifdef HAVE_NETINET_IN_H
19521 #include <netinet/in.h>
19522 #endif
19523 #ifdef HAVE_NETINET_IP_VAR_H
19524 #include <netinet/ip_var.h>
19525 #endif
19526 #ifdef HAVE_NETINET_UDP_H
19527 #include <netinet/udp.h>
19528 #endif
19529 #ifdef HAVE_NETINET_UDP_VAR_H
19530 #include <netinet/udp_var.h>
19531 #endif
19533 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19535 cat >>confdefs.h <<_ACEOF
19536 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19537 _ACEOF
19543 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19544 #include <sys/types.h>
19545 #endif
19546 #ifdef HAVE_NET_IF_H
19547 # include <net/if.h>
19548 #endif
19550 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19552 cat >>confdefs.h <<_ACEOF
19553 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19554 _ACEOF
19560 ac_save_LIBS="$LIBS"
19561 LIBS="$LIBS -lm"
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19563 $as_echo_n "checking for isfinite... " >&6; }
19564 if ${ac_cv_have_isfinite+:} false; then :
19565 $as_echo_n "(cached) " >&6
19566 else
19567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19568 /* end confdefs.h. */
19569 #define _GNU_SOURCE
19570 #include <math.h>
19572 main ()
19574 float f = 0.0; return isfinite(f)
19576 return 0;
19578 _ACEOF
19579 if ac_fn_c_try_link "$LINENO"; then :
19580 ac_cv_have_isfinite="yes"
19581 else
19582 ac_cv_have_isfinite="no"
19584 rm -f core conftest.err conftest.$ac_objext \
19585 conftest$ac_exeext conftest.$ac_ext
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19588 $as_echo "$ac_cv_have_isfinite" >&6; }
19589 if test "$ac_cv_have_isfinite" = "yes"
19590 then
19592 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19597 $as_echo_n "checking for isinf... " >&6; }
19598 if ${ac_cv_have_isinf+:} false; then :
19599 $as_echo_n "(cached) " >&6
19600 else
19601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19602 /* end confdefs.h. */
19603 #include <math.h>
19605 main ()
19607 float f = 0.0; return isinf(f)
19609 return 0;
19611 _ACEOF
19612 if ac_fn_c_try_link "$LINENO"; then :
19613 ac_cv_have_isinf="yes"
19614 else
19615 ac_cv_have_isinf="no"
19617 rm -f core conftest.err conftest.$ac_objext \
19618 conftest$ac_exeext conftest.$ac_ext
19620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19621 $as_echo "$ac_cv_have_isinf" >&6; }
19622 if test "$ac_cv_have_isinf" = "yes"
19623 then
19625 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19630 $as_echo_n "checking for isnan... " >&6; }
19631 if ${ac_cv_have_isnan+:} false; then :
19632 $as_echo_n "(cached) " >&6
19633 else
19634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19635 /* end confdefs.h. */
19636 #include <math.h>
19638 main ()
19640 float f = 0.0; return isnan(f)
19642 return 0;
19644 _ACEOF
19645 if ac_fn_c_try_link "$LINENO"; then :
19646 ac_cv_have_isnan="yes"
19647 else
19648 ac_cv_have_isnan="no"
19650 rm -f core conftest.err conftest.$ac_objext \
19651 conftest$ac_exeext conftest.$ac_ext
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19654 $as_echo "$ac_cv_have_isnan" >&6; }
19655 if test "$ac_cv_have_isnan" = "yes"
19656 then
19658 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19662 for ac_func in \
19663 acosh \
19664 acoshf \
19665 asinh \
19666 asinhf \
19667 atanh \
19668 atanhf \
19669 cbrt \
19670 cbrtf \
19671 erf \
19672 erfc \
19673 erfcf \
19674 erff \
19675 exp2 \
19676 exp2f \
19677 expm1 \
19678 expm1f \
19679 fma \
19680 fmaf \
19681 ilogb \
19682 ilogbf \
19683 j0 \
19684 j1 \
19685 jn \
19686 lgamma \
19687 lgammaf \
19688 llrint \
19689 llrintf \
19690 llround \
19691 llroundf \
19692 log1p \
19693 log1pf \
19694 log2 \
19695 log2f \
19696 lrint \
19697 lrintf \
19698 lround \
19699 lroundf \
19700 nearbyint \
19701 nearbyintf \
19702 nexttoward \
19703 nexttowardf \
19704 remainder \
19705 remainderf \
19706 remquo \
19707 remquof \
19708 rint \
19709 rintf \
19710 round \
19711 roundf \
19712 tgamma \
19713 tgammaf \
19714 trunc \
19715 truncf \
19716 y0 \
19717 y1 \
19720 do :
19721 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19723 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19724 cat >>confdefs.h <<_ACEOF
19725 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19726 _ACEOF
19729 done
19731 LIBS="$ac_save_LIBS"
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19734 $as_echo_n "checking for __builtin_popcount... " >&6; }
19735 if ${ac_cv_have___builtin_popcount+:} false; then :
19736 $as_echo_n "(cached) " >&6
19737 else
19738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19739 /* end confdefs.h. */
19742 main ()
19744 return __builtin_popcount(1)
19746 return 0;
19748 _ACEOF
19749 if ac_fn_c_try_link "$LINENO"; then :
19750 ac_cv_have___builtin_popcount="yes"
19751 else
19752 ac_cv_have___builtin_popcount="no"
19754 rm -f core conftest.err conftest.$ac_objext \
19755 conftest$ac_exeext conftest.$ac_ext
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19758 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19759 if test "$ac_cv_have___builtin_popcount" = "yes"
19760 then
19762 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19767 $as_echo_n "checking for __clear_cache... " >&6; }
19768 if ${ac_cv_have___clear_cache+:} false; then :
19769 $as_echo_n "(cached) " >&6
19770 else
19771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19772 /* end confdefs.h. */
19775 main ()
19777 __clear_cache((void*)0, (void*)0); return 0;
19779 return 0;
19781 _ACEOF
19782 if ac_fn_c_try_link "$LINENO"; then :
19783 ac_cv_have___clear_cache="yes"
19784 else
19785 ac_cv_have___clear_cache="no"
19787 rm -f core conftest.err conftest.$ac_objext \
19788 conftest$ac_exeext conftest.$ac_ext
19790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19791 $as_echo "$ac_cv_have___clear_cache" >&6; }
19792 if test "$ac_cv_have___clear_cache" = "yes"
19793 then
19795 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19800 case $host_cpu in
19801 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19802 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19803 if ${ac_cv_cpp_def___i386__+:} false; then :
19804 $as_echo_n "(cached) " >&6
19805 else
19806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19807 /* end confdefs.h. */
19808 #ifndef __i386__
19810 #endif
19811 _ACEOF
19812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19813 $EGREP "yes" >/dev/null 2>&1; then :
19814 ac_cv_cpp_def___i386__=yes
19815 else
19816 ac_cv_cpp_def___i386__=no
19818 rm -f conftest*
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19822 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19823 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19824 CFLAGS="$CFLAGS -D__i386__"
19825 LINTFLAGS="$LINTFLAGS -D__i386__"
19826 fi ;;
19827 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19828 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19829 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19830 $as_echo_n "(cached) " >&6
19831 else
19832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19833 /* end confdefs.h. */
19834 #ifndef __x86_64__
19836 #endif
19837 _ACEOF
19838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19839 $EGREP "yes" >/dev/null 2>&1; then :
19840 ac_cv_cpp_def___x86_64__=yes
19841 else
19842 ac_cv_cpp_def___x86_64__=no
19844 rm -f conftest*
19847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19848 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19849 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19850 CFLAGS="$CFLAGS -D__x86_64__"
19851 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19852 fi ;;
19853 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19854 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19855 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19856 $as_echo_n "(cached) " >&6
19857 else
19858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19859 /* end confdefs.h. */
19860 #ifndef __sparc64__
19862 #endif
19863 _ACEOF
19864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19865 $EGREP "yes" >/dev/null 2>&1; then :
19866 ac_cv_cpp_def___sparc64__=yes
19867 else
19868 ac_cv_cpp_def___sparc64__=no
19870 rm -f conftest*
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19874 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19875 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19876 CFLAGS="$CFLAGS -D__sparc64__"
19877 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19878 fi ;;
19879 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19880 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19881 if ${ac_cv_cpp_def___sparc__+:} false; then :
19882 $as_echo_n "(cached) " >&6
19883 else
19884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19885 /* end confdefs.h. */
19886 #ifndef __sparc__
19888 #endif
19889 _ACEOF
19890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19891 $EGREP "yes" >/dev/null 2>&1; then :
19892 ac_cv_cpp_def___sparc__=yes
19893 else
19894 ac_cv_cpp_def___sparc__=no
19896 rm -f conftest*
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19900 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19901 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19902 CFLAGS="$CFLAGS -D__sparc__"
19903 LINTFLAGS="$LINTFLAGS -D__sparc__"
19904 fi ;;
19905 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19906 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19907 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19908 $as_echo_n "(cached) " >&6
19909 else
19910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19911 /* end confdefs.h. */
19912 #ifndef __powerpc64__
19914 #endif
19915 _ACEOF
19916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19917 $EGREP "yes" >/dev/null 2>&1; then :
19918 ac_cv_cpp_def___powerpc64__=yes
19919 else
19920 ac_cv_cpp_def___powerpc64__=no
19922 rm -f conftest*
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19926 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19927 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19928 CFLAGS="$CFLAGS -D__powerpc64__"
19929 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19930 fi ;;
19931 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19932 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19933 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19934 $as_echo_n "(cached) " >&6
19935 else
19936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19937 /* end confdefs.h. */
19938 #ifndef __powerpc__
19940 #endif
19941 _ACEOF
19942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19943 $EGREP "yes" >/dev/null 2>&1; then :
19944 ac_cv_cpp_def___powerpc__=yes
19945 else
19946 ac_cv_cpp_def___powerpc__=no
19948 rm -f conftest*
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19952 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19953 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19954 CFLAGS="$CFLAGS -D__powerpc__"
19955 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19956 fi ;;
19957 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19958 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19959 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19960 $as_echo_n "(cached) " >&6
19961 else
19962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19963 /* end confdefs.h. */
19964 #ifndef __aarch64__
19966 #endif
19967 _ACEOF
19968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19969 $EGREP "yes" >/dev/null 2>&1; then :
19970 ac_cv_cpp_def___aarch64__=yes
19971 else
19972 ac_cv_cpp_def___aarch64__=no
19974 rm -f conftest*
19977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19978 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19979 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19980 CFLAGS="$CFLAGS -D__aarch64__"
19981 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19982 fi ;;
19983 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19984 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19985 if ${ac_cv_cpp_def___arm__+:} false; then :
19986 $as_echo_n "(cached) " >&6
19987 else
19988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19989 /* end confdefs.h. */
19990 #ifndef __arm__
19992 #endif
19993 _ACEOF
19994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19995 $EGREP "yes" >/dev/null 2>&1; then :
19996 ac_cv_cpp_def___arm__=yes
19997 else
19998 ac_cv_cpp_def___arm__=no
20000 rm -f conftest*
20003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20004 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
20005 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
20006 CFLAGS="$CFLAGS -D__arm__"
20007 LINTFLAGS="$LINTFLAGS -D__arm__"
20008 fi ;;
20009 esac
20011 case $host_vendor in
20012 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20013 $as_echo_n "checking whether we need to define __sun__... " >&6; }
20014 if ${ac_cv_cpp_def___sun__+:} false; then :
20015 $as_echo_n "(cached) " >&6
20016 else
20017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20018 /* end confdefs.h. */
20019 #ifndef __sun__
20021 #endif
20022 _ACEOF
20023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20024 $EGREP "yes" >/dev/null 2>&1; then :
20025 ac_cv_cpp_def___sun__=yes
20026 else
20027 ac_cv_cpp_def___sun__=no
20029 rm -f conftest*
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20033 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
20034 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
20035 CFLAGS="$CFLAGS -D__sun__"
20036 LINTFLAGS="$LINTFLAGS -D__sun__"
20037 fi ;;
20038 esac
20044 ac_config_commands="$ac_config_commands include/stamp-h"
20046 $as_echo_n "creating Makefile rules..." >&6
20048 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
20049 OPENGL_LIBS = $OPENGL_LIBS
20050 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20051 IOKIT_LIBS = $IOKIT_LIBS
20052 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
20053 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20054 CORESERVICES_LIBS = $CORESERVICES_LIBS
20055 APPKIT_LIBS = $APPKIT_LIBS
20056 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20057 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20058 SECURITY_LIBS = $SECURITY_LIBS
20059 COREAUDIO_LIBS = $COREAUDIO_LIBS
20060 OPENAL_LIBS = $OPENAL_LIBS
20061 OPENCL_LIBS = $OPENCL_LIBS
20062 QUICKTIME_LIBS = $QUICKTIME_LIBS
20063 CARBON_LIBS = $CARBON_LIBS
20064 METAL_LIBS = $METAL_LIBS
20065 PTHREAD_LIBS = $PTHREAD_LIBS
20066 X_CFLAGS = $X_CFLAGS
20067 X_PRE_LIBS = $X_PRE_LIBS
20068 X_LIBS = $X_LIBS
20069 X_EXTRA_LIBS = $X_EXTRA_LIBS
20070 PCAP_LIBS = $PCAP_LIBS
20071 XML2_CFLAGS = $XML2_CFLAGS
20072 XML2_LIBS = $XML2_LIBS
20073 XSLT_CFLAGS = $XSLT_CFLAGS
20074 XSLT_LIBS = $XSLT_LIBS
20075 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20076 INOTIFY_LIBS = $INOTIFY_LIBS
20077 DBUS_CFLAGS = $DBUS_CFLAGS
20078 DBUS_LIBS = $DBUS_LIBS
20079 HAL_CFLAGS = $HAL_CFLAGS
20080 HAL_LIBS = $HAL_LIBS
20081 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20082 GNUTLS_LIBS = $GNUTLS_LIBS
20083 SANE_CFLAGS = $SANE_CFLAGS
20084 SANE_LIBS = $SANE_LIBS
20085 USB_CFLAGS = $USB_CFLAGS
20086 USB_LIBS = $USB_LIBS
20087 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20088 GPHOTO2_LIBS = $GPHOTO2_LIBS
20089 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20090 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20091 RESOLV_LIBS = $RESOLV_LIBS
20092 LCMS2_CFLAGS = $LCMS2_CFLAGS
20093 LCMS2_LIBS = $LCMS2_LIBS
20094 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20095 FREETYPE_LIBS = $FREETYPE_LIBS
20096 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20097 PULSE_CFLAGS = $PULSE_CFLAGS
20098 PULSE_LIBS = $PULSE_LIBS
20099 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20100 GSTREAMER_LIBS = $GSTREAMER_LIBS
20101 ALSA_LIBS = $ALSA_LIBS
20102 OSS4_CFLAGS = $OSS4_CFLAGS
20103 OSS4_LIBS = $OSS4_LIBS
20104 UDEV_CFLAGS = $UDEV_CFLAGS
20105 UDEV_LIBS = $UDEV_LIBS
20106 UNWIND_CFLAGS = $UNWIND_CFLAGS
20107 UNWIND_LIBS = $UNWIND_LIBS
20108 SDL2_CFLAGS = $SDL2_CFLAGS
20109 SDL2_LIBS = $SDL2_LIBS
20110 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20111 FAUDIO_LIBS = $FAUDIO_LIBS
20112 CAPI20_CFLAGS = $CAPI20_CFLAGS
20113 CAPI20_LIBS = $CAPI20_LIBS
20114 CUPS_CFLAGS = $CUPS_CFLAGS
20115 CUPS_LIBS = $CUPS_LIBS
20116 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20117 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20118 KRB5_CFLAGS = $KRB5_CFLAGS
20119 KRB5_LIBS = $KRB5_LIBS
20120 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20121 GSSAPI_LIBS = $GSSAPI_LIBS
20122 JPEG_CFLAGS = $JPEG_CFLAGS
20123 JPEG_LIBS = $JPEG_LIBS
20124 PNG_CFLAGS = $PNG_CFLAGS
20125 PNG_LIBS = $PNG_LIBS
20126 TIFF_CFLAGS = $TIFF_CFLAGS
20127 TIFF_LIBS = $TIFF_LIBS
20128 MPG123_CFLAGS = $MPG123_CFLAGS
20129 MPG123_LIBS = $MPG123_LIBS
20130 KSTAT_LIBS = $KSTAT_LIBS
20131 PROCSTAT_LIBS = $PROCSTAT_LIBS
20132 NETAPI_CFLAGS = $NETAPI_CFLAGS
20133 NETAPI_LIBS = $NETAPI_LIBS
20134 VKD3D_CFLAGS = $VKD3D_CFLAGS
20135 VKD3D_LIBS = $VKD3D_LIBS
20136 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20137 POLL_LIBS = $POLL_LIBS
20138 RT_LIBS = $RT_LIBS
20139 LDAP_CFLAGS = $LDAP_CFLAGS
20140 LDAP_LIBS = $LDAP_LIBS
20145 wine_fn_append_rule "
20146 # Rules automatically generated by configure
20148 .INIT: Makefile
20149 .MAKEFILEDEPS:
20150 all: Makefile
20151 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20152 @./config.status Make.tmp Makefile
20153 depend: \$(MAKEDEP) dummy
20154 \$(MAKEDEP)"
20156 ac_config_links="$ac_config_links wine:tools/winewrapper"
20157 wine_fn_config_symlink wine
20158 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20159 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20160 wine_fn_config_symlink wine64
20163 wine_fn_config_makefile dlls/acledit enable_acledit
20164 wine_fn_config_makefile dlls/aclui enable_aclui
20165 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20166 wine_fn_config_makefile dlls/activeds enable_activeds
20167 wine_fn_config_makefile dlls/activeds/tests enable_tests
20168 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20169 wine_fn_config_makefile dlls/adsiid enable_adsiid
20170 wine_fn_config_makefile dlls/adsldp enable_adsldp
20171 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20172 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20173 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20174 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20175 wine_fn_config_makefile dlls/advpack enable_advpack
20176 wine_fn_config_makefile dlls/advpack/tests enable_tests
20177 wine_fn_config_makefile dlls/amsi enable_amsi
20178 wine_fn_config_makefile dlls/amstream enable_amstream
20179 wine_fn_config_makefile dlls/amstream/tests enable_tests
20180 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20182 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20183 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20185 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20190 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20198 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20200 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20202 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20204 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20205 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20206 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20208 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20211 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20212 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20214 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20215 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20224 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20228 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20229 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20232 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20234 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20235 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20238 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20241 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20246 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20247 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20254 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20258 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20259 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20260 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20270 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20273 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20276 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20283 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20286 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20287 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20289 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20290 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20292 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20300 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20305 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20306 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20311 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20313 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20332 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20333 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20351 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20352 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20353 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20355 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20357 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20358 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20359 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20360 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20361 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20362 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20363 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20364 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20365 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20366 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20367 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20368 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20369 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20370 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20371 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20372 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20373 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20374 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20375 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20376 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20377 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20378 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20379 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20380 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20381 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20382 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20383 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20384 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20385 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20386 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20387 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20388 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20389 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20390 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20391 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20392 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20393 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20394 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20395 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20396 wine_fn_config_makefile dlls/apphelp enable_apphelp
20397 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20398 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20399 wine_fn_config_makefile dlls/atl enable_atl
20400 wine_fn_config_makefile dlls/atl/tests enable_tests
20401 wine_fn_config_makefile dlls/atl100 enable_atl100
20402 wine_fn_config_makefile dlls/atl100/tests enable_tests
20403 wine_fn_config_makefile dlls/atl110 enable_atl110
20404 wine_fn_config_makefile dlls/atl80 enable_atl80
20405 wine_fn_config_makefile dlls/atl80/tests enable_tests
20406 wine_fn_config_makefile dlls/atl90 enable_atl90
20407 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20408 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20409 wine_fn_config_makefile dlls/atmlib enable_atmlib
20410 wine_fn_config_makefile dlls/authz enable_authz
20411 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20412 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20413 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20414 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20415 wine_fn_config_makefile dlls/avrt enable_avrt
20416 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20417 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20418 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20419 wine_fn_config_makefile dlls/browseui enable_browseui
20420 wine_fn_config_makefile dlls/browseui/tests enable_tests
20421 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20422 wine_fn_config_makefile dlls/cabinet enable_cabinet
20423 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20424 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20425 wine_fn_config_makefile dlls/cards enable_cards
20426 wine_fn_config_makefile dlls/cdosys enable_cdosys
20427 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20428 wine_fn_config_makefile dlls/clusapi enable_clusapi
20429 wine_fn_config_makefile dlls/combase enable_combase
20430 wine_fn_config_makefile dlls/combase/tests enable_tests
20431 wine_fn_config_makefile dlls/comcat enable_comcat
20432 wine_fn_config_makefile dlls/comcat/tests enable_tests
20433 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20434 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20435 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20436 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20437 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20438 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20439 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20440 wine_fn_config_makefile dlls/compstui enable_compstui
20441 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20442 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20443 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20444 wine_fn_config_makefile dlls/connect enable_connect
20445 wine_fn_config_makefile dlls/credui enable_credui
20446 wine_fn_config_makefile dlls/credui/tests enable_tests
20447 wine_fn_config_makefile dlls/crtdll enable_crtdll
20448 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20449 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20450 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20451 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20452 wine_fn_config_makefile dlls/cryptext enable_cryptext
20453 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20454 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20455 wine_fn_config_makefile dlls/cryptui enable_cryptui
20456 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20457 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20458 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20459 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20460 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20461 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20462 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20463 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20464 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20465 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20466 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20467 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20468 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20469 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20470 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20471 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20472 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20473 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20474 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20475 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20476 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20477 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20478 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20479 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20480 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20481 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20482 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20483 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20484 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20485 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20486 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20487 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20488 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20489 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20490 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20491 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20492 wine_fn_config_makefile dlls/d3dim enable_d3dim
20493 wine_fn_config_makefile dlls/d3drm enable_d3drm
20494 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20495 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20496 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20497 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20498 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20499 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20500 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20501 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20502 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20503 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20504 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20505 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20506 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20507 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20508 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20509 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20510 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20511 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20512 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20513 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20514 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20515 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20516 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20517 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20518 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20519 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20520 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20521 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20522 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20523 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20524 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20525 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20526 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20527 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20528 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20529 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20530 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20531 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20532 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20533 wine_fn_config_makefile dlls/davclnt enable_davclnt
20534 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20535 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20536 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20537 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20538 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20539 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20540 wine_fn_config_makefile dlls/ddraw enable_ddraw
20541 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20542 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20543 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20544 wine_fn_config_makefile dlls/devenum enable_devenum
20545 wine_fn_config_makefile dlls/devenum/tests enable_tests
20546 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20547 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20548 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20549 wine_fn_config_makefile dlls/difxapi enable_difxapi
20550 wine_fn_config_makefile dlls/dinput enable_dinput
20551 wine_fn_config_makefile dlls/dinput/tests enable_tests
20552 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20553 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20554 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20555 wine_fn_config_makefile dlls/dispex enable_dispex
20556 wine_fn_config_makefile dlls/dispex/tests enable_tests
20557 wine_fn_config_makefile dlls/display.drv16 enable_win16
20558 wine_fn_config_makefile dlls/dmband enable_dmband
20559 wine_fn_config_makefile dlls/dmband/tests enable_tests
20560 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20561 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20562 wine_fn_config_makefile dlls/dmime enable_dmime
20563 wine_fn_config_makefile dlls/dmime/tests enable_tests
20564 wine_fn_config_makefile dlls/dmloader enable_dmloader
20565 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20566 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20567 wine_fn_config_makefile dlls/dmscript enable_dmscript
20568 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20569 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20570 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20571 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20572 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20573 wine_fn_config_makefile dlls/dmusic enable_dmusic
20574 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20575 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20576 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20577 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20578 wine_fn_config_makefile dlls/dplay enable_dplay
20579 wine_fn_config_makefile dlls/dplayx enable_dplayx
20580 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20581 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20582 wine_fn_config_makefile dlls/dpnet enable_dpnet
20583 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20584 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20585 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20586 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20587 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20588 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20589 wine_fn_config_makefile dlls/drmclien enable_drmclien
20590 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20591 wine_fn_config_makefile dlls/dsound enable_dsound
20592 wine_fn_config_makefile dlls/dsound/tests enable_tests
20593 wine_fn_config_makefile dlls/dsquery enable_dsquery
20594 wine_fn_config_makefile dlls/dssenh enable_dssenh
20595 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20596 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20597 wine_fn_config_makefile dlls/dswave enable_dswave
20598 wine_fn_config_makefile dlls/dswave/tests enable_tests
20599 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20600 wine_fn_config_makefile dlls/dwrite enable_dwrite
20601 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20602 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20603 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20604 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20605 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20606 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20607 wine_fn_config_makefile dlls/dxgi enable_dxgi
20608 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20609 wine_fn_config_makefile dlls/dxguid enable_dxguid
20610 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20611 wine_fn_config_makefile dlls/esent enable_esent
20612 wine_fn_config_makefile dlls/evr enable_evr
20613 wine_fn_config_makefile dlls/evr/tests enable_tests
20614 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20615 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20616 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20617 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20618 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20619 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20620 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20621 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20622 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20623 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20624 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20625 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20626 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20627 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20628 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20629 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20630 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20631 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20632 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20633 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20634 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20635 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20636 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20637 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20638 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20639 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20640 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20641 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20642 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20643 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20644 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20645 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20646 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20647 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20648 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20649 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20650 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20651 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20652 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20653 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20654 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20655 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20656 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
20657 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20658 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20659 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20660 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20661 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20662 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20663 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20664 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20665 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20666 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20667 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20668 wine_fn_config_makefile dlls/faultrep enable_faultrep
20669 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20670 wine_fn_config_makefile dlls/feclient enable_feclient
20671 wine_fn_config_makefile dlls/fltlib enable_fltlib
20672 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20673 wine_fn_config_makefile dlls/fntcache enable_fntcache
20674 wine_fn_config_makefile dlls/fontsub enable_fontsub
20675 wine_fn_config_makefile dlls/fusion enable_fusion
20676 wine_fn_config_makefile dlls/fusion/tests enable_tests
20677 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20678 wine_fn_config_makefile dlls/gameux enable_gameux
20679 wine_fn_config_makefile dlls/gameux/tests enable_tests
20680 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20681 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20682 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20683 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20684 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20685 wine_fn_config_makefile dlls/glu32 enable_glu32
20686 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20687 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20688 wine_fn_config_makefile dlls/hal enable_hal
20689 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20690 wine_fn_config_makefile dlls/hid enable_hid
20691 wine_fn_config_makefile dlls/hid/tests enable_tests
20692 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20693 wine_fn_config_makefile dlls/hlink enable_hlink
20694 wine_fn_config_makefile dlls/hlink/tests enable_tests
20695 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20696 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20697 wine_fn_config_makefile dlls/http.sys enable_http_sys
20698 wine_fn_config_makefile dlls/httpapi enable_httpapi
20699 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20700 wine_fn_config_makefile dlls/iccvid enable_iccvid
20701 wine_fn_config_makefile dlls/icmp enable_icmp
20702 wine_fn_config_makefile dlls/ieframe enable_ieframe
20703 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20704 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20705 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20706 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20707 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20708 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20709 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20710 wine_fn_config_makefile dlls/imm32 enable_imm32
20711 wine_fn_config_makefile dlls/imm32/tests enable_tests
20712 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20713 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20714 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20715 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20716 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20717 wine_fn_config_makefile dlls/infosoft enable_infosoft
20718 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20719 wine_fn_config_makefile dlls/initpki enable_initpki
20720 wine_fn_config_makefile dlls/inkobj enable_inkobj
20721 wine_fn_config_makefile dlls/inseng enable_inseng
20722 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20723 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20724 wine_fn_config_makefile dlls/iprop enable_iprop
20725 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20726 wine_fn_config_makefile dlls/itircl enable_itircl
20727 wine_fn_config_makefile dlls/itss enable_itss
20728 wine_fn_config_makefile dlls/itss/tests enable_tests
20729 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20730 wine_fn_config_makefile dlls/jscript enable_jscript
20731 wine_fn_config_makefile dlls/jscript/tests enable_tests
20732 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20733 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20734 wine_fn_config_makefile dlls/kerberos enable_kerberos
20735 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20736 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20737 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20738 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20739 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20740 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20741 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20742 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20743 wine_fn_config_makefile dlls/ksuser enable_ksuser
20744 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20745 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20746 wine_fn_config_makefile dlls/loadperf enable_loadperf
20747 wine_fn_config_makefile dlls/localspl enable_localspl
20748 wine_fn_config_makefile dlls/localspl/tests enable_tests
20749 wine_fn_config_makefile dlls/localui enable_localui
20750 wine_fn_config_makefile dlls/localui/tests enable_tests
20751 wine_fn_config_makefile dlls/lz32 enable_lz32
20752 wine_fn_config_makefile dlls/lz32/tests enable_tests
20753 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20754 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20755 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20756 wine_fn_config_makefile dlls/mapistub enable_mapistub
20757 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20758 wine_fn_config_makefile dlls/mcicda enable_mcicda
20759 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20760 wine_fn_config_makefile dlls/mciseq enable_mciseq
20761 wine_fn_config_makefile dlls/mciwave enable_mciwave
20762 wine_fn_config_makefile dlls/mf enable_mf
20763 wine_fn_config_makefile dlls/mf/tests enable_tests
20764 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20765 wine_fn_config_makefile dlls/mferror enable_mferror
20766 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20767 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20768 wine_fn_config_makefile dlls/mfplat enable_mfplat
20769 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20770 wine_fn_config_makefile dlls/mfplay enable_mfplay
20771 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20772 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20773 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20774 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20775 wine_fn_config_makefile dlls/midimap enable_midimap
20776 wine_fn_config_makefile dlls/mlang enable_mlang
20777 wine_fn_config_makefile dlls/mlang/tests enable_tests
20778 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20779 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20780 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20781 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20782 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20783 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20784 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20785 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20786 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20787 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20788 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20789 wine_fn_config_makefile dlls/mpr enable_mpr
20790 wine_fn_config_makefile dlls/mpr/tests enable_tests
20791 wine_fn_config_makefile dlls/mprapi enable_mprapi
20792 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20793 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20794 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20795 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20796 wine_fn_config_makefile dlls/msado15 enable_msado15
20797 wine_fn_config_makefile dlls/msado15/tests enable_tests
20798 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20799 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20800 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20801 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20802 wine_fn_config_makefile dlls/mscms enable_mscms
20803 wine_fn_config_makefile dlls/mscms/tests enable_tests
20804 wine_fn_config_makefile dlls/mscoree enable_mscoree
20805 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20806 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20807 wine_fn_config_makefile dlls/msctf enable_msctf
20808 wine_fn_config_makefile dlls/msctf/tests enable_tests
20809 wine_fn_config_makefile dlls/msctfp enable_msctfp
20810 wine_fn_config_makefile dlls/msdaps enable_msdaps
20811 wine_fn_config_makefile dlls/msdelta enable_msdelta
20812 wine_fn_config_makefile dlls/msdmo enable_msdmo
20813 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20814 wine_fn_config_makefile dlls/msdrm enable_msdrm
20815 wine_fn_config_makefile dlls/msftedit enable_msftedit
20816 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20817 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20818 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20819 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20820 wine_fn_config_makefile dlls/mshtml enable_mshtml
20821 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20822 wine_fn_config_makefile dlls/msi enable_msi
20823 wine_fn_config_makefile dlls/msi/tests enable_tests
20824 wine_fn_config_makefile dlls/msident enable_msident
20825 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20826 wine_fn_config_makefile dlls/msimsg enable_msimsg
20827 wine_fn_config_makefile dlls/msimtf enable_msimtf
20828 wine_fn_config_makefile dlls/msisip enable_msisip
20829 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20830 wine_fn_config_makefile dlls/msls31 enable_msls31
20831 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20832 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20833 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20834 wine_fn_config_makefile dlls/msports enable_msports
20835 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20836 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20837 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20838 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20839 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20840 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20841 wine_fn_config_makefile dlls/mstask enable_mstask
20842 wine_fn_config_makefile dlls/mstask/tests enable_tests
20843 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20844 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20845 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20846 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20847 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20848 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20849 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20850 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20851 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20852 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20853 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20854 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20855 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20856 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20857 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20858 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20859 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20860 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20861 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20862 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20863 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20864 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20865 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20866 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20867 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20868 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20869 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20870 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20871 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20872 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20873 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20874 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20875 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20876 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20877 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20878 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20879 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20880 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20881 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20882 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20883 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20884 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20885 wine_fn_config_makefile dlls/mswsock enable_mswsock
20886 wine_fn_config_makefile dlls/msxml enable_msxml
20887 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20888 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20889 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20890 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20891 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20892 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20893 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20894 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20895 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20896 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20897 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20898 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20899 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20900 wine_fn_config_makefile dlls/netprofm enable_netprofm
20901 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20902 wine_fn_config_makefile dlls/newdev enable_newdev
20903 wine_fn_config_makefile dlls/ninput enable_ninput
20904 wine_fn_config_makefile dlls/ninput/tests enable_tests
20905 wine_fn_config_makefile dlls/normaliz enable_normaliz
20906 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20907 wine_fn_config_makefile dlls/npptools enable_npptools
20908 wine_fn_config_makefile dlls/ntdll enable_ntdll
20909 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20910 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20911 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20912 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20913 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20914 wine_fn_config_makefile dlls/ntprint enable_ntprint
20915 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20916 wine_fn_config_makefile dlls/objsel enable_objsel
20917 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20918 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20919 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20920 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20921 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20922 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20923 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20924 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20925 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20926 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20927 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20928 wine_fn_config_makefile dlls/ole32 enable_ole32
20929 wine_fn_config_makefile dlls/ole32/tests enable_tests
20930 wine_fn_config_makefile dlls/oleacc enable_oleacc
20931 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20932 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20933 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20934 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20935 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20936 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20937 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20938 wine_fn_config_makefile dlls/oledlg enable_oledlg
20939 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20940 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20941 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20942 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20943 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20944 wine_fn_config_makefile dlls/opcservices enable_opcservices
20945 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20946 wine_fn_config_makefile dlls/openal32 enable_openal32
20947 wine_fn_config_makefile dlls/opencl enable_opencl
20948 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20949 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20950 wine_fn_config_makefile dlls/packager enable_packager
20951 wine_fn_config_makefile dlls/packager/tests enable_tests
20952 wine_fn_config_makefile dlls/pdh enable_pdh
20953 wine_fn_config_makefile dlls/pdh/tests enable_tests
20954 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20955 wine_fn_config_makefile dlls/pidgen enable_pidgen
20956 wine_fn_config_makefile dlls/powrprof enable_powrprof
20957 wine_fn_config_makefile dlls/printui enable_printui
20958 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20959 wine_fn_config_makefile dlls/propsys enable_propsys
20960 wine_fn_config_makefile dlls/propsys/tests enable_tests
20961 wine_fn_config_makefile dlls/psapi enable_psapi
20962 wine_fn_config_makefile dlls/psapi/tests enable_tests
20963 wine_fn_config_makefile dlls/pstorec enable_pstorec
20964 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20965 wine_fn_config_makefile dlls/qasf enable_qasf
20966 wine_fn_config_makefile dlls/qasf/tests enable_tests
20967 wine_fn_config_makefile dlls/qcap enable_qcap
20968 wine_fn_config_makefile dlls/qcap/tests enable_tests
20969 wine_fn_config_makefile dlls/qdvd enable_qdvd
20970 wine_fn_config_makefile dlls/qedit enable_qedit
20971 wine_fn_config_makefile dlls/qedit/tests enable_tests
20972 wine_fn_config_makefile dlls/qmgr enable_qmgr
20973 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20974 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20975 wine_fn_config_makefile dlls/quartz enable_quartz
20976 wine_fn_config_makefile dlls/quartz/tests enable_tests
20977 wine_fn_config_makefile dlls/query enable_query
20978 wine_fn_config_makefile dlls/qwave enable_qwave
20979 wine_fn_config_makefile dlls/qwave/tests enable_tests
20980 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20981 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20982 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20983 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20984 wine_fn_config_makefile dlls/regapi enable_regapi
20985 wine_fn_config_makefile dlls/resutils enable_resutils
20986 wine_fn_config_makefile dlls/riched20 enable_riched20
20987 wine_fn_config_makefile dlls/riched20/tests enable_tests
20988 wine_fn_config_makefile dlls/riched32 enable_riched32
20989 wine_fn_config_makefile dlls/riched32/tests enable_tests
20990 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20991 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20992 wine_fn_config_makefile dlls/rsabase enable_rsabase
20993 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20994 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20995 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20996 wine_fn_config_makefile dlls/rtutils enable_rtutils
20997 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20998 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20999 wine_fn_config_makefile dlls/samlib enable_samlib
21000 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21001 wine_fn_config_makefile dlls/sapi enable_sapi
21002 wine_fn_config_makefile dlls/sapi/tests enable_tests
21003 wine_fn_config_makefile dlls/sas enable_sas
21004 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21005 wine_fn_config_makefile dlls/sccbase enable_sccbase
21006 wine_fn_config_makefile dlls/schannel enable_schannel
21007 wine_fn_config_makefile dlls/schannel/tests enable_tests
21008 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21009 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21010 wine_fn_config_makefile dlls/scrobj enable_scrobj
21011 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21012 wine_fn_config_makefile dlls/scrrun enable_scrrun
21013 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21014 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21015 wine_fn_config_makefile dlls/sechost enable_sechost
21016 wine_fn_config_makefile dlls/secur32 enable_secur32
21017 wine_fn_config_makefile dlls/secur32/tests enable_tests
21018 wine_fn_config_makefile dlls/security enable_security
21019 wine_fn_config_makefile dlls/sensapi enable_sensapi
21020 wine_fn_config_makefile dlls/serialui enable_serialui
21021 wine_fn_config_makefile dlls/serialui/tests enable_tests
21022 wine_fn_config_makefile dlls/setupapi enable_setupapi
21023 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21024 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21025 wine_fn_config_makefile dlls/sfc enable_sfc
21026 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21027 wine_fn_config_makefile dlls/shcore enable_shcore
21028 wine_fn_config_makefile dlls/shcore/tests enable_tests
21029 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21030 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21031 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21032 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21033 wine_fn_config_makefile dlls/shell32 enable_shell32
21034 wine_fn_config_makefile dlls/shell32/tests enable_tests
21035 wine_fn_config_makefile dlls/shfolder enable_shfolder
21036 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21037 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21038 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21039 wine_fn_config_makefile dlls/slc enable_slc
21040 wine_fn_config_makefile dlls/slc/tests enable_tests
21041 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21042 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21043 wine_fn_config_makefile dlls/softpub enable_softpub
21044 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21045 wine_fn_config_makefile dlls/spoolss enable_spoolss
21046 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21047 wine_fn_config_makefile dlls/srclient enable_srclient
21048 wine_fn_config_makefile dlls/sspicli enable_sspicli
21049 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21050 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21051 wine_fn_config_makefile dlls/sti enable_sti
21052 wine_fn_config_makefile dlls/sti/tests enable_tests
21053 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21054 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21055 wine_fn_config_makefile dlls/strmbase enable_strmbase
21056 wine_fn_config_makefile dlls/strmdll enable_strmdll
21057 wine_fn_config_makefile dlls/strmiids enable_strmiids
21058 wine_fn_config_makefile dlls/svrapi enable_svrapi
21059 wine_fn_config_makefile dlls/sxs enable_sxs
21060 wine_fn_config_makefile dlls/sxs/tests enable_tests
21061 wine_fn_config_makefile dlls/system.drv16 enable_win16
21062 wine_fn_config_makefile dlls/t2embed enable_t2embed
21063 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21064 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21065 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21066 wine_fn_config_makefile dlls/taskschd enable_taskschd
21067 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21068 wine_fn_config_makefile dlls/tdh enable_tdh
21069 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21070 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21071 wine_fn_config_makefile dlls/traffic enable_traffic
21072 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21073 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21074 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21075 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21076 wine_fn_config_makefile dlls/tzres enable_tzres
21077 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21078 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21079 wine_fn_config_makefile dlls/uianimation enable_uianimation
21080 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21081 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21082 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21083 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21084 wine_fn_config_makefile dlls/unicows enable_unicows
21085 wine_fn_config_makefile dlls/updspapi enable_updspapi
21086 wine_fn_config_makefile dlls/url enable_url
21087 wine_fn_config_makefile dlls/urlmon enable_urlmon
21088 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21089 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21090 wine_fn_config_makefile dlls/user.exe16 enable_win16
21091 wine_fn_config_makefile dlls/user32 enable_user32
21092 wine_fn_config_makefile dlls/user32/tests enable_tests
21093 wine_fn_config_makefile dlls/userenv enable_userenv
21094 wine_fn_config_makefile dlls/userenv/tests enable_tests
21095 wine_fn_config_makefile dlls/usp10 enable_usp10
21096 wine_fn_config_makefile dlls/usp10/tests enable_tests
21097 wine_fn_config_makefile dlls/utildll enable_utildll
21098 wine_fn_config_makefile dlls/uuid enable_uuid
21099 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21100 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21101 wine_fn_config_makefile dlls/vbscript enable_vbscript
21102 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21103 wine_fn_config_makefile dlls/vcomp enable_vcomp
21104 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21105 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21106 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21107 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21108 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21109 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21110 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21111 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21112 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21113 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21114 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21115 wine_fn_config_makefile dlls/version enable_version
21116 wine_fn_config_makefile dlls/version/tests enable_tests
21117 wine_fn_config_makefile dlls/vga enable_vga
21118 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21119 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21120 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21121 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21122 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21123 wine_fn_config_makefile dlls/vssapi enable_vssapi
21124 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21125 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21126 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21127 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21128 wine_fn_config_makefile dlls/w32skrnl enable_win16
21129 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21130 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21131 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21132 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21133 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21134 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21135 wine_fn_config_makefile dlls/wdscore enable_wdscore
21136 wine_fn_config_makefile dlls/webservices enable_webservices
21137 wine_fn_config_makefile dlls/webservices/tests enable_tests
21138 wine_fn_config_makefile dlls/wer enable_wer
21139 wine_fn_config_makefile dlls/wer/tests enable_tests
21140 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21141 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21142 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21143 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21144 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21145 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21146 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21147 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21148 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21149 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21150 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21151 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21152 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21153 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21154 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21155 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21156 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21157 wine_fn_config_makefile dlls/wined3d enable_wined3d
21158 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21159 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21160 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21161 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21162 wine_fn_config_makefile dlls/winemapi enable_winemapi
21163 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21164 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21165 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21166 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21167 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21168 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21169 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21170 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21171 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21172 wine_fn_config_makefile dlls/wing32 enable_wing32
21173 wine_fn_config_makefile dlls/winhttp enable_winhttp
21174 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21175 wine_fn_config_makefile dlls/wininet enable_wininet
21176 wine_fn_config_makefile dlls/wininet/tests enable_tests
21177 wine_fn_config_makefile dlls/winmm enable_winmm
21178 wine_fn_config_makefile dlls/winmm/tests enable_tests
21179 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21180 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21181 wine_fn_config_makefile dlls/winscard enable_winscard
21182 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21183 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21184 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21185 wine_fn_config_makefile dlls/winsta enable_winsta
21186 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21187 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21188 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21189 wine_fn_config_makefile dlls/wintrust enable_wintrust
21190 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21191 wine_fn_config_makefile dlls/winusb enable_winusb
21192 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21193 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21194 wine_fn_config_makefile dlls/wlanui enable_wlanui
21195 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21196 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21197 wine_fn_config_makefile dlls/wmasf enable_wmasf
21198 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21199 wine_fn_config_makefile dlls/wmi enable_wmi
21200 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21201 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21202 wine_fn_config_makefile dlls/wmp enable_wmp
21203 wine_fn_config_makefile dlls/wmp/tests enable_tests
21204 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21205 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21206 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21207 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21208 wine_fn_config_makefile dlls/wow32 enable_win16
21209 wine_fn_config_makefile dlls/wpc enable_wpc
21210 wine_fn_config_makefile dlls/wpc/tests enable_tests
21211 wine_fn_config_makefile dlls/wpcap enable_wpcap
21212 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21213 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21214 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21215 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21216 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21217 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21218 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21219 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21220 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21221 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21222 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21223 wine_fn_config_makefile dlls/wuapi enable_wuapi
21224 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21225 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21226 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21227 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21228 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21229 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21230 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21231 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21232 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21233 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21234 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21235 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21236 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21237 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21238 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21239 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21240 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21241 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21242 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21243 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21244 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21245 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21246 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21247 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21248 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21249 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21250 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21251 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21252 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21253 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21254 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21255 wine_fn_config_makefile dlls/xmllite enable_xmllite
21256 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21257 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21258 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21259 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21260 wine_fn_config_makefile fonts enable_fonts
21261 wine_fn_config_makefile include enable_include
21262 wine_fn_config_makefile libs/port enable_port
21263 wine_fn_config_makefile libs/wine enable_wine
21264 wine_fn_config_makefile libs/wpp enable_wpp
21265 wine_fn_config_makefile loader enable_loader
21266 wine_fn_config_makefile nls enable_nls
21267 wine_fn_config_makefile po enable_po
21268 wine_fn_config_makefile programs/arp enable_arp
21269 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21270 wine_fn_config_makefile programs/attrib enable_attrib
21271 wine_fn_config_makefile programs/cabarc enable_cabarc
21272 wine_fn_config_makefile programs/cacls enable_cacls
21273 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21274 wine_fn_config_makefile programs/clock enable_clock
21275 wine_fn_config_makefile programs/cmd enable_cmd
21276 wine_fn_config_makefile programs/cmd/tests enable_tests
21277 wine_fn_config_makefile programs/conhost enable_conhost
21278 wine_fn_config_makefile programs/control enable_control
21279 wine_fn_config_makefile programs/cscript enable_cscript
21280 wine_fn_config_makefile programs/dism enable_dism
21281 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21282 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21283 wine_fn_config_makefile programs/eject enable_eject
21284 wine_fn_config_makefile programs/expand enable_expand
21285 wine_fn_config_makefile programs/explorer enable_explorer
21286 wine_fn_config_makefile programs/extrac32 enable_extrac32
21287 wine_fn_config_makefile programs/fc enable_fc
21288 wine_fn_config_makefile programs/find enable_find
21289 wine_fn_config_makefile programs/find/tests enable_tests
21290 wine_fn_config_makefile programs/findstr enable_findstr
21291 wine_fn_config_makefile programs/fsutil enable_fsutil
21292 wine_fn_config_makefile programs/hh enable_hh
21293 wine_fn_config_makefile programs/hostname enable_hostname
21294 wine_fn_config_makefile programs/icacls enable_icacls
21295 wine_fn_config_makefile programs/icinfo enable_icinfo
21296 wine_fn_config_makefile programs/iexplore enable_iexplore
21297 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21298 wine_fn_config_makefile programs/lodctr enable_lodctr
21299 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21300 wine_fn_config_makefile programs/mshta enable_mshta
21301 wine_fn_config_makefile programs/msidb enable_msidb
21302 wine_fn_config_makefile programs/msiexec enable_msiexec
21303 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21304 wine_fn_config_makefile programs/net enable_net
21305 wine_fn_config_makefile programs/netsh enable_netsh
21306 wine_fn_config_makefile programs/netstat enable_netstat
21307 wine_fn_config_makefile programs/ngen enable_ngen
21308 wine_fn_config_makefile programs/notepad enable_notepad
21309 wine_fn_config_makefile programs/oleview enable_oleview
21310 wine_fn_config_makefile programs/ping enable_ping
21311 wine_fn_config_makefile programs/plugplay enable_plugplay
21312 wine_fn_config_makefile programs/powershell enable_powershell
21313 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21314 wine_fn_config_makefile programs/progman enable_progman
21315 wine_fn_config_makefile programs/reg enable_reg
21316 wine_fn_config_makefile programs/reg/tests enable_tests
21317 wine_fn_config_makefile programs/regasm enable_regasm
21318 wine_fn_config_makefile programs/regedit enable_regedit
21319 wine_fn_config_makefile programs/regedit/tests enable_tests
21320 wine_fn_config_makefile programs/regini enable_regini
21321 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21322 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21323 wine_fn_config_makefile programs/rpcss enable_rpcss
21324 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21325 wine_fn_config_makefile programs/rundll32 enable_rundll32
21326 wine_fn_config_makefile programs/sc enable_sc
21327 wine_fn_config_makefile programs/schtasks enable_schtasks
21328 wine_fn_config_makefile programs/schtasks/tests enable_tests
21329 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21330 wine_fn_config_makefile programs/secedit enable_secedit
21331 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21332 wine_fn_config_makefile programs/services enable_services
21333 wine_fn_config_makefile programs/services/tests enable_tests
21334 wine_fn_config_makefile programs/shutdown enable_shutdown
21335 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21336 wine_fn_config_makefile programs/start enable_start
21337 wine_fn_config_makefile programs/subst enable_subst
21338 wine_fn_config_makefile programs/svchost enable_svchost
21339 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21340 wine_fn_config_makefile programs/taskkill enable_taskkill
21341 wine_fn_config_makefile programs/tasklist enable_tasklist
21342 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21343 wine_fn_config_makefile programs/termsv enable_termsv
21344 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21345 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21346 wine_fn_config_makefile programs/view enable_view
21347 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21348 wine_fn_config_makefile programs/whoami enable_whoami
21349 wine_fn_config_makefile programs/wineboot enable_wineboot
21350 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21351 wine_fn_config_makefile programs/winecfg enable_winecfg
21352 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21353 wine_fn_config_makefile programs/winedbg enable_winedbg
21354 wine_fn_config_makefile programs/winedevice enable_winedevice
21355 wine_fn_config_makefile programs/winefile enable_winefile
21356 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21357 wine_fn_config_makefile programs/winemine enable_winemine
21358 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21359 wine_fn_config_makefile programs/winepath enable_winepath
21360 wine_fn_config_makefile programs/winetest enable_winetest
21361 wine_fn_config_makefile programs/winevdm enable_win16
21362 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21363 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21364 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21365 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21366 wine_fn_config_makefile programs/winver enable_winver
21367 wine_fn_config_makefile programs/wmic enable_wmic
21368 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21369 wine_fn_config_makefile programs/wordpad enable_wordpad
21370 wine_fn_config_makefile programs/write enable_write
21371 wine_fn_config_makefile programs/wscript enable_wscript
21372 wine_fn_config_makefile programs/wscript/tests enable_tests
21373 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21374 wine_fn_config_makefile programs/wusa enable_wusa
21375 wine_fn_config_makefile programs/xcopy enable_xcopy
21376 wine_fn_config_makefile programs/xcopy/tests enable_tests
21377 wine_fn_config_makefile server enable_server
21378 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21379 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21380 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21381 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21382 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21383 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21384 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21385 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21386 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21389 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21390 wine_fn_append_file CONFIGURE_TARGETS "tags"
21391 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21392 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21393 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21394 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21395 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21396 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21398 if test "x$enable_tools" != xno
21399 then
21400 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21401 ac_config_commands="$ac_config_commands tools/makedep"
21405 ac_config_commands="$ac_config_commands Makefile"
21408 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21412 if test "x$enable_maintainer_mode" = xyes
21413 then
21414 wine_fn_append_rule "configure: configure.ac aclocal.m4
21415 autoconf --warnings=all
21416 include/config.h.in: include/stamp-h.in
21417 include/stamp-h.in: configure.ac aclocal.m4
21418 autoheader --warnings=all
21419 @echo timestamp > \$@"
21422 if test "x$enable_tools" != xno
21423 then
21424 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21425 @./config.status tools/makedep
21426 Makefile: tools/makedep$ac_exeext
21427 fonts: tools/sfnt2fon
21428 include: tools tools/widl"
21429 else
21430 wine_fn_append_rule "\$(MAKEDEP):
21431 @echo \"You need to run make in $TOOLSDIR first\" && false"
21434 if test -n "$with_wine64"
21435 then
21436 case "$with_wine64" in
21437 /*) reldir="" ;;
21438 *) reldir="../" ;;
21439 esac
21440 rm -f fonts server 2>/dev/null
21441 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21442 loader/wine64 loader/wine64-preloader:
21443 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21444 $with_wine64/loader/wine:
21445 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21446 $with_wine64/loader/wine-preloader:
21447 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21448 clean::
21449 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21450 else
21451 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21452 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21453 fonts \
21454 loader/wine.inf \
21455 loader/winebus.inf \
21456 loader/winehid.inf \
21457 loader/wineusb.inf \
21458 nls \
21459 programs/msidb/msidb \
21460 programs/msiexec/msiexec \
21461 programs/notepad/notepad \
21462 programs/regedit/regedit \
21463 programs/regsvr32/regsvr32 \
21464 programs/wineboot/wineboot \
21465 programs/winecfg/winecfg \
21466 programs/wineconsole/wineconsole \
21467 programs/winedbg/winedbg \
21468 programs/winefile/winefile \
21469 programs/winemine/winemine \
21470 programs/winepath/winepath \
21471 server/wineserver"
21473 case $host_os in
21474 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21475 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21476 esac
21479 $as_echo " done" >&6
21480 cat >confcache <<\_ACEOF
21481 # This file is a shell script that caches the results of configure
21482 # tests run on this system so they can be shared between configure
21483 # scripts and configure runs, see configure's option --config-cache.
21484 # It is not useful on other systems. If it contains results you don't
21485 # want to keep, you may remove or edit it.
21487 # config.status only pays attention to the cache file if you give it
21488 # the --recheck option to rerun configure.
21490 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21491 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21492 # following values.
21494 _ACEOF
21496 # The following way of writing the cache mishandles newlines in values,
21497 # but we know of no workaround that is simple, portable, and efficient.
21498 # So, we kill variables containing newlines.
21499 # Ultrix sh set writes to stderr and can't be redirected directly,
21500 # and sets the high bit in the cache file unless we assign to the vars.
21502 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21503 eval ac_val=\$$ac_var
21504 case $ac_val in #(
21505 *${as_nl}*)
21506 case $ac_var in #(
21507 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21508 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21509 esac
21510 case $ac_var in #(
21511 _ | IFS | as_nl) ;; #(
21512 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21513 *) { eval $ac_var=; unset $ac_var;} ;;
21514 esac ;;
21515 esac
21516 done
21518 (set) 2>&1 |
21519 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21520 *${as_nl}ac_space=\ *)
21521 # `set' does not quote correctly, so add quotes: double-quote
21522 # substitution turns \\\\ into \\, and sed turns \\ into \.
21523 sed -n \
21524 "s/'/'\\\\''/g;
21525 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21526 ;; #(
21528 # `set' quotes correctly as required by POSIX, so do not add quotes.
21529 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21531 esac |
21532 sort
21534 sed '
21535 /^ac_cv_env_/b end
21536 t clear
21537 :clear
21538 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21539 t end
21540 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21541 :end' >>confcache
21542 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21543 if test -w "$cache_file"; then
21544 if test "x$cache_file" != "x/dev/null"; then
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21546 $as_echo "$as_me: updating cache $cache_file" >&6;}
21547 if test ! -f "$cache_file" || test -h "$cache_file"; then
21548 cat confcache >"$cache_file"
21549 else
21550 case $cache_file in #(
21551 */* | ?:*)
21552 mv -f confcache "$cache_file"$$ &&
21553 mv -f "$cache_file"$$ "$cache_file" ;; #(
21555 mv -f confcache "$cache_file" ;;
21556 esac
21559 else
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21561 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21564 rm -f confcache
21566 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21567 # Let make expand exec_prefix.
21568 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21570 DEFS=-DHAVE_CONFIG_H
21572 ac_libobjs=
21573 ac_ltlibobjs=
21575 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21576 # 1. Remove the extension, and $U if already installed.
21577 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21578 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21579 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21580 # will be set to the directory where LIBOBJS objects are built.
21581 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21582 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21583 done
21584 LIBOBJS=$ac_libobjs
21586 LTLIBOBJS=$ac_ltlibobjs
21590 : "${CONFIG_STATUS=./config.status}"
21591 ac_write_fail=0
21592 ac_clean_files_save=$ac_clean_files
21593 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21594 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21595 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21596 as_write_fail=0
21597 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21598 #! $SHELL
21599 # Generated by $as_me.
21600 # Run this file to recreate the current configuration.
21601 # Compiler output produced by configure, useful for debugging
21602 # configure, is in config.log if it exists.
21604 debug=false
21605 ac_cs_recheck=false
21606 ac_cs_silent=false
21608 SHELL=\${CONFIG_SHELL-$SHELL}
21609 export SHELL
21610 _ASEOF
21611 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21612 ## -------------------- ##
21613 ## M4sh Initialization. ##
21614 ## -------------------- ##
21616 # Be more Bourne compatible
21617 DUALCASE=1; export DUALCASE # for MKS sh
21618 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21619 emulate sh
21620 NULLCMD=:
21621 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21622 # is contrary to our usage. Disable this feature.
21623 alias -g '${1+"$@"}'='"$@"'
21624 setopt NO_GLOB_SUBST
21625 else
21626 case `(set -o) 2>/dev/null` in #(
21627 *posix*) :
21628 set -o posix ;; #(
21629 *) :
21631 esac
21635 as_nl='
21637 export as_nl
21638 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21639 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21640 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21641 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21642 # Prefer a ksh shell builtin over an external printf program on Solaris,
21643 # but without wasting forks for bash or zsh.
21644 if test -z "$BASH_VERSION$ZSH_VERSION" \
21645 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21646 as_echo='print -r --'
21647 as_echo_n='print -rn --'
21648 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21649 as_echo='printf %s\n'
21650 as_echo_n='printf %s'
21651 else
21652 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21653 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21654 as_echo_n='/usr/ucb/echo -n'
21655 else
21656 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21657 as_echo_n_body='eval
21658 arg=$1;
21659 case $arg in #(
21660 *"$as_nl"*)
21661 expr "X$arg" : "X\\(.*\\)$as_nl";
21662 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21663 esac;
21664 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21666 export as_echo_n_body
21667 as_echo_n='sh -c $as_echo_n_body as_echo'
21669 export as_echo_body
21670 as_echo='sh -c $as_echo_body as_echo'
21673 # The user is always right.
21674 if test "${PATH_SEPARATOR+set}" != set; then
21675 PATH_SEPARATOR=:
21676 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21677 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21678 PATH_SEPARATOR=';'
21683 # IFS
21684 # We need space, tab and new line, in precisely that order. Quoting is
21685 # there to prevent editors from complaining about space-tab.
21686 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21687 # splitting by setting IFS to empty value.)
21688 IFS=" "" $as_nl"
21690 # Find who we are. Look in the path if we contain no directory separator.
21691 as_myself=
21692 case $0 in #((
21693 *[\\/]* ) as_myself=$0 ;;
21694 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21695 for as_dir in $PATH
21697 IFS=$as_save_IFS
21698 test -z "$as_dir" && as_dir=.
21699 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21700 done
21701 IFS=$as_save_IFS
21704 esac
21705 # We did not find ourselves, most probably we were run as `sh COMMAND'
21706 # in which case we are not to be found in the path.
21707 if test "x$as_myself" = x; then
21708 as_myself=$0
21710 if test ! -f "$as_myself"; then
21711 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21712 exit 1
21715 # Unset variables that we do not need and which cause bugs (e.g. in
21716 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21717 # suppresses any "Segmentation fault" message there. '((' could
21718 # trigger a bug in pdksh 5.2.14.
21719 for as_var in BASH_ENV ENV MAIL MAILPATH
21720 do eval test x\${$as_var+set} = xset \
21721 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21722 done
21723 PS1='$ '
21724 PS2='> '
21725 PS4='+ '
21727 # NLS nuisances.
21728 LC_ALL=C
21729 export LC_ALL
21730 LANGUAGE=C
21731 export LANGUAGE
21733 # CDPATH.
21734 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21737 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21738 # ----------------------------------------
21739 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21740 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21741 # script with STATUS, using 1 if that was 0.
21742 as_fn_error ()
21744 as_status=$1; test $as_status -eq 0 && as_status=1
21745 if test "$4"; then
21746 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21747 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21749 $as_echo "$as_me: error: $2" >&2
21750 as_fn_exit $as_status
21751 } # as_fn_error
21754 # as_fn_set_status STATUS
21755 # -----------------------
21756 # Set $? to STATUS, without forking.
21757 as_fn_set_status ()
21759 return $1
21760 } # as_fn_set_status
21762 # as_fn_exit STATUS
21763 # -----------------
21764 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21765 as_fn_exit ()
21767 set +e
21768 as_fn_set_status $1
21769 exit $1
21770 } # as_fn_exit
21772 # as_fn_unset VAR
21773 # ---------------
21774 # Portably unset VAR.
21775 as_fn_unset ()
21777 { eval $1=; unset $1;}
21779 as_unset=as_fn_unset
21780 # as_fn_append VAR VALUE
21781 # ----------------------
21782 # Append the text in VALUE to the end of the definition contained in VAR. Take
21783 # advantage of any shell optimizations that allow amortized linear growth over
21784 # repeated appends, instead of the typical quadratic growth present in naive
21785 # implementations.
21786 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21787 eval 'as_fn_append ()
21789 eval $1+=\$2
21791 else
21792 as_fn_append ()
21794 eval $1=\$$1\$2
21796 fi # as_fn_append
21798 # as_fn_arith ARG...
21799 # ------------------
21800 # Perform arithmetic evaluation on the ARGs, and store the result in the
21801 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21802 # must be portable across $(()) and expr.
21803 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21804 eval 'as_fn_arith ()
21806 as_val=$(( $* ))
21808 else
21809 as_fn_arith ()
21811 as_val=`expr "$@" || test $? -eq 1`
21813 fi # as_fn_arith
21816 if expr a : '\(a\)' >/dev/null 2>&1 &&
21817 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21818 as_expr=expr
21819 else
21820 as_expr=false
21823 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21824 as_basename=basename
21825 else
21826 as_basename=false
21829 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21830 as_dirname=dirname
21831 else
21832 as_dirname=false
21835 as_me=`$as_basename -- "$0" ||
21836 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21837 X"$0" : 'X\(//\)$' \| \
21838 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21839 $as_echo X/"$0" |
21840 sed '/^.*\/\([^/][^/]*\)\/*$/{
21841 s//\1/
21844 /^X\/\(\/\/\)$/{
21845 s//\1/
21848 /^X\/\(\/\).*/{
21849 s//\1/
21852 s/.*/./; q'`
21854 # Avoid depending upon Character Ranges.
21855 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21856 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21857 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21858 as_cr_digits='0123456789'
21859 as_cr_alnum=$as_cr_Letters$as_cr_digits
21861 ECHO_C= ECHO_N= ECHO_T=
21862 case `echo -n x` in #(((((
21863 -n*)
21864 case `echo 'xy\c'` in
21865 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21866 xy) ECHO_C='\c';;
21867 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21868 ECHO_T=' ';;
21869 esac;;
21871 ECHO_N='-n';;
21872 esac
21874 rm -f conf$$ conf$$.exe conf$$.file
21875 if test -d conf$$.dir; then
21876 rm -f conf$$.dir/conf$$.file
21877 else
21878 rm -f conf$$.dir
21879 mkdir conf$$.dir 2>/dev/null
21881 if (echo >conf$$.file) 2>/dev/null; then
21882 if ln -s conf$$.file conf$$ 2>/dev/null; then
21883 as_ln_s='ln -s'
21884 # ... but there are two gotchas:
21885 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21886 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21887 # In both cases, we have to default to `cp -pR'.
21888 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21889 as_ln_s='cp -pR'
21890 elif ln conf$$.file conf$$ 2>/dev/null; then
21891 as_ln_s=ln
21892 else
21893 as_ln_s='cp -pR'
21895 else
21896 as_ln_s='cp -pR'
21898 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21899 rmdir conf$$.dir 2>/dev/null
21902 # as_fn_mkdir_p
21903 # -------------
21904 # Create "$as_dir" as a directory, including parents if necessary.
21905 as_fn_mkdir_p ()
21908 case $as_dir in #(
21909 -*) as_dir=./$as_dir;;
21910 esac
21911 test -d "$as_dir" || eval $as_mkdir_p || {
21912 as_dirs=
21913 while :; do
21914 case $as_dir in #(
21915 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21916 *) as_qdir=$as_dir;;
21917 esac
21918 as_dirs="'$as_qdir' $as_dirs"
21919 as_dir=`$as_dirname -- "$as_dir" ||
21920 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21921 X"$as_dir" : 'X\(//\)[^/]' \| \
21922 X"$as_dir" : 'X\(//\)$' \| \
21923 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21924 $as_echo X"$as_dir" |
21925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21926 s//\1/
21929 /^X\(\/\/\)[^/].*/{
21930 s//\1/
21933 /^X\(\/\/\)$/{
21934 s//\1/
21937 /^X\(\/\).*/{
21938 s//\1/
21941 s/.*/./; q'`
21942 test -d "$as_dir" && break
21943 done
21944 test -z "$as_dirs" || eval "mkdir $as_dirs"
21945 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21948 } # as_fn_mkdir_p
21949 if mkdir -p . 2>/dev/null; then
21950 as_mkdir_p='mkdir -p "$as_dir"'
21951 else
21952 test -d ./-p && rmdir ./-p
21953 as_mkdir_p=false
21957 # as_fn_executable_p FILE
21958 # -----------------------
21959 # Test if FILE is an executable regular file.
21960 as_fn_executable_p ()
21962 test -f "$1" && test -x "$1"
21963 } # as_fn_executable_p
21964 as_test_x='test -x'
21965 as_executable_p=as_fn_executable_p
21967 # Sed expression to map a string onto a valid CPP name.
21968 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21970 # Sed expression to map a string onto a valid variable name.
21971 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21974 exec 6>&1
21975 ## ----------------------------------- ##
21976 ## Main body of $CONFIG_STATUS script. ##
21977 ## ----------------------------------- ##
21978 _ASEOF
21979 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21982 # Save the log message, to keep $0 and so on meaningful, and to
21983 # report actual input values of CONFIG_FILES etc. instead of their
21984 # values after options handling.
21985 ac_log="
21986 This file was extended by Wine $as_me 5.8, which was
21987 generated by GNU Autoconf 2.69. Invocation command line was
21989 CONFIG_FILES = $CONFIG_FILES
21990 CONFIG_HEADERS = $CONFIG_HEADERS
21991 CONFIG_LINKS = $CONFIG_LINKS
21992 CONFIG_COMMANDS = $CONFIG_COMMANDS
21993 $ $0 $@
21995 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21998 _ACEOF
22000 case $ac_config_files in *"
22001 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22002 esac
22004 case $ac_config_headers in *"
22005 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22006 esac
22009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22010 # Files that config.status was made for.
22011 config_files="$ac_config_files"
22012 config_headers="$ac_config_headers"
22013 config_links="$ac_config_links"
22014 config_commands="$ac_config_commands"
22016 _ACEOF
22018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22019 ac_cs_usage="\
22020 \`$as_me' instantiates files and other configuration actions
22021 from templates according to the current configuration. Unless the files
22022 and actions are specified as TAGs, all are instantiated by default.
22024 Usage: $0 [OPTION]... [TAG]...
22026 -h, --help print this help, then exit
22027 -V, --version print version number and configuration settings, then exit
22028 --config print configuration, then exit
22029 -q, --quiet, --silent
22030 do not print progress messages
22031 -d, --debug don't remove temporary files
22032 --recheck update $as_me by reconfiguring in the same conditions
22033 --file=FILE[:TEMPLATE]
22034 instantiate the configuration file FILE
22035 --header=FILE[:TEMPLATE]
22036 instantiate the configuration header FILE
22038 Configuration files:
22039 $config_files
22041 Configuration headers:
22042 $config_headers
22044 Configuration links:
22045 $config_links
22047 Configuration commands:
22048 $config_commands
22050 Report bugs to <wine-devel@winehq.org>.
22051 Wine home page: <https://www.winehq.org>."
22053 _ACEOF
22054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22055 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22056 ac_cs_version="\\
22057 Wine config.status 5.8
22058 configured by $0, generated by GNU Autoconf 2.69,
22059 with options \\"\$ac_cs_config\\"
22061 Copyright (C) 2012 Free Software Foundation, Inc.
22062 This config.status script is free software; the Free Software Foundation
22063 gives unlimited permission to copy, distribute and modify it."
22065 ac_pwd='$ac_pwd'
22066 srcdir='$srcdir'
22067 test -n "\$AWK" || AWK=awk
22068 _ACEOF
22070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22071 # The default lists apply if the user does not specify any file.
22072 ac_need_defaults=:
22073 while test $# != 0
22075 case $1 in
22076 --*=?*)
22077 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22078 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22079 ac_shift=:
22081 --*=)
22082 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22083 ac_optarg=
22084 ac_shift=:
22087 ac_option=$1
22088 ac_optarg=$2
22089 ac_shift=shift
22091 esac
22093 case $ac_option in
22094 # Handling of the options.
22095 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22096 ac_cs_recheck=: ;;
22097 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22098 $as_echo "$ac_cs_version"; exit ;;
22099 --config | --confi | --conf | --con | --co | --c )
22100 $as_echo "$ac_cs_config"; exit ;;
22101 --debug | --debu | --deb | --de | --d | -d )
22102 debug=: ;;
22103 --file | --fil | --fi | --f )
22104 $ac_shift
22105 case $ac_optarg in
22106 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22107 '') as_fn_error $? "missing file argument" ;;
22108 esac
22109 as_fn_append CONFIG_FILES " '$ac_optarg'"
22110 ac_need_defaults=false;;
22111 --header | --heade | --head | --hea )
22112 $ac_shift
22113 case $ac_optarg in
22114 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22115 esac
22116 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22117 ac_need_defaults=false;;
22118 --he | --h)
22119 # Conflict between --help and --header
22120 as_fn_error $? "ambiguous option: \`$1'
22121 Try \`$0 --help' for more information.";;
22122 --help | --hel | -h )
22123 $as_echo "$ac_cs_usage"; exit ;;
22124 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22125 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22126 ac_cs_silent=: ;;
22128 # This is an error.
22129 -*) as_fn_error $? "unrecognized option: \`$1'
22130 Try \`$0 --help' for more information." ;;
22132 *) as_fn_append ac_config_targets " $1"
22133 ac_need_defaults=false ;;
22135 esac
22136 shift
22137 done
22139 ac_configure_extra_args=
22141 if $ac_cs_silent; then
22142 exec 6>/dev/null
22143 ac_configure_extra_args="$ac_configure_extra_args --silent"
22146 _ACEOF
22147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22148 if \$ac_cs_recheck; then
22149 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22150 shift
22151 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22152 CONFIG_SHELL='$SHELL'
22153 export CONFIG_SHELL
22154 exec "\$@"
22157 _ACEOF
22158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22159 exec 5>>config.log
22161 echo
22162 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22163 ## Running $as_me. ##
22164 _ASBOX
22165 $as_echo "$ac_log"
22166 } >&5
22168 _ACEOF
22169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22171 # INIT-COMMANDS
22173 wine_fn_output_makedep ()
22175 as_dir=tools; as_fn_mkdir_p
22176 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22178 wine_fn_output_makefile ()
22180 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22181 `cat $wine_rules_file`
22182 _WINE_EOF
22183 as_fn_error $? "could not create Makefile" "$LINENO" 5
22186 _ACEOF
22188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22190 # Handling of arguments.
22191 for ac_config_target in $ac_config_targets
22193 case $ac_config_target in
22194 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22195 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22196 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22197 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22198 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22199 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22200 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22202 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22203 esac
22204 done
22207 # If the user did not use the arguments to specify the items to instantiate,
22208 # then the envvar interface is used. Set only those that are not.
22209 # We use the long form for the default assignment because of an extremely
22210 # bizarre bug on SunOS 4.1.3.
22211 if $ac_need_defaults; then
22212 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22213 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22214 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22215 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22218 # Have a temporary directory for convenience. Make it in the build tree
22219 # simply because there is no reason against having it here, and in addition,
22220 # creating and moving files from /tmp can sometimes cause problems.
22221 # Hook for its removal unless debugging.
22222 # Note that there is a small window in which the directory will not be cleaned:
22223 # after its creation but before its name has been assigned to `$tmp'.
22224 $debug ||
22226 tmp= ac_tmp=
22227 trap 'exit_status=$?
22228 : "${ac_tmp:=$tmp}"
22229 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22231 trap 'as_fn_exit 1' 1 2 13 15
22233 # Create a (secure) tmp directory for tmp files.
22236 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22237 test -d "$tmp"
22238 } ||
22240 tmp=./conf$$-$RANDOM
22241 (umask 077 && mkdir "$tmp")
22242 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22243 ac_tmp=$tmp
22245 # Set up the scripts for CONFIG_FILES section.
22246 # No need to generate them if there are no CONFIG_FILES.
22247 # This happens for instance with `./config.status config.h'.
22248 if test -n "$CONFIG_FILES"; then
22251 ac_cr=`echo X | tr X '\015'`
22252 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22253 # But we know of no other shell where ac_cr would be empty at this
22254 # point, so we can use a bashism as a fallback.
22255 if test "x$ac_cr" = x; then
22256 eval ac_cr=\$\'\\r\'
22258 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22259 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22260 ac_cs_awk_cr='\\r'
22261 else
22262 ac_cs_awk_cr=$ac_cr
22265 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22266 _ACEOF
22270 echo "cat >conf$$subs.awk <<_ACEOF" &&
22271 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22272 echo "_ACEOF"
22273 } >conf$$subs.sh ||
22274 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22275 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22276 ac_delim='%!_!# '
22277 for ac_last_try in false false false false false :; do
22278 . ./conf$$subs.sh ||
22279 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22281 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22282 if test $ac_delim_n = $ac_delim_num; then
22283 break
22284 elif $ac_last_try; then
22285 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22286 else
22287 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22289 done
22290 rm -f conf$$subs.sh
22292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22293 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22294 _ACEOF
22295 sed -n '
22297 s/^/S["/; s/!.*/"]=/
22300 s/^[^!]*!//
22301 :repl
22302 t repl
22303 s/'"$ac_delim"'$//
22304 t delim
22307 s/\(.\{148\}\)..*/\1/
22308 t more1
22309 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22312 b repl
22313 :more1
22314 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22317 s/.\{148\}//
22318 t nl
22319 :delim
22321 s/\(.\{148\}\)..*/\1/
22322 t more2
22323 s/["\\]/\\&/g; s/^/"/; s/$/"/
22326 :more2
22327 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22330 s/.\{148\}//
22331 t delim
22332 ' <conf$$subs.awk | sed '
22333 /^[^""]/{
22335 s/\n//
22337 ' >>$CONFIG_STATUS || ac_write_fail=1
22338 rm -f conf$$subs.awk
22339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22340 _ACAWK
22341 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22342 for (key in S) S_is_set[key] = 1
22343 FS = "\a"
22347 line = $ 0
22348 nfields = split(line, field, "@")
22349 substed = 0
22350 len = length(field[1])
22351 for (i = 2; i < nfields; i++) {
22352 key = field[i]
22353 keylen = length(key)
22354 if (S_is_set[key]) {
22355 value = S[key]
22356 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22357 len += length(value) + length(field[++i])
22358 substed = 1
22359 } else
22360 len += 1 + keylen
22363 print line
22366 _ACAWK
22367 _ACEOF
22368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22369 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22370 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22371 else
22373 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22374 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22375 _ACEOF
22377 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22378 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22379 # trailing colons and then remove the whole line if VPATH becomes empty
22380 # (actually we leave an empty line to preserve line numbers).
22381 if test "x$srcdir" = x.; then
22382 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22384 s///
22385 s/^/:/
22386 s/[ ]*$/:/
22387 s/:\$(srcdir):/:/g
22388 s/:\${srcdir}:/:/g
22389 s/:@srcdir@:/:/g
22390 s/^:*//
22391 s/:*$//
22393 s/\(=[ ]*\).*/\1/
22395 s/\n//
22396 s/^[^=]*=[ ]*$//
22400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22401 fi # test -n "$CONFIG_FILES"
22403 # Set up the scripts for CONFIG_HEADERS section.
22404 # No need to generate them if there are no CONFIG_HEADERS.
22405 # This happens for instance with `./config.status Makefile'.
22406 if test -n "$CONFIG_HEADERS"; then
22407 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22408 BEGIN {
22409 _ACEOF
22411 # Transform confdefs.h into an awk script `defines.awk', embedded as
22412 # here-document in config.status, that substitutes the proper values into
22413 # config.h.in to produce config.h.
22415 # Create a delimiter string that does not exist in confdefs.h, to ease
22416 # handling of long lines.
22417 ac_delim='%!_!# '
22418 for ac_last_try in false false :; do
22419 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22420 if test -z "$ac_tt"; then
22421 break
22422 elif $ac_last_try; then
22423 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22424 else
22425 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22427 done
22429 # For the awk script, D is an array of macro values keyed by name,
22430 # likewise P contains macro parameters if any. Preserve backslash
22431 # newline sequences.
22433 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22434 sed -n '
22435 s/.\{148\}/&'"$ac_delim"'/g
22436 t rset
22437 :rset
22438 s/^[ ]*#[ ]*define[ ][ ]*/ /
22439 t def
22441 :def
22442 s/\\$//
22443 t bsnl
22444 s/["\\]/\\&/g
22445 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22446 D["\1"]=" \3"/p
22447 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22449 :bsnl
22450 s/["\\]/\\&/g
22451 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22452 D["\1"]=" \3\\\\\\n"\\/p
22453 t cont
22454 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22455 t cont
22457 :cont
22459 s/.\{148\}/&'"$ac_delim"'/g
22460 t clear
22461 :clear
22462 s/\\$//
22463 t bsnlc
22464 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22466 :bsnlc
22467 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22468 b cont
22469 ' <confdefs.h | sed '
22470 s/'"$ac_delim"'/"\\\
22471 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22474 for (key in D) D_is_set[key] = 1
22475 FS = "\a"
22477 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22478 line = \$ 0
22479 split(line, arg, " ")
22480 if (arg[1] == "#") {
22481 defundef = arg[2]
22482 mac1 = arg[3]
22483 } else {
22484 defundef = substr(arg[1], 2)
22485 mac1 = arg[2]
22487 split(mac1, mac2, "(") #)
22488 macro = mac2[1]
22489 prefix = substr(line, 1, index(line, defundef) - 1)
22490 if (D_is_set[macro]) {
22491 # Preserve the white space surrounding the "#".
22492 print prefix "define", macro P[macro] D[macro]
22493 next
22494 } else {
22495 # Replace #undef with comments. This is necessary, for example,
22496 # in the case of _POSIX_SOURCE, which is predefined and required
22497 # on some systems where configure will not decide to define it.
22498 if (defundef == "undef") {
22499 print "/*", prefix defundef, macro, "*/"
22500 next
22504 { print }
22505 _ACAWK
22506 _ACEOF
22507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22508 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22509 fi # test -n "$CONFIG_HEADERS"
22512 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22513 shift
22514 for ac_tag
22516 case $ac_tag in
22517 :[FHLC]) ac_mode=$ac_tag; continue;;
22518 esac
22519 case $ac_mode$ac_tag in
22520 :[FHL]*:*);;
22521 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22522 :[FH]-) ac_tag=-:-;;
22523 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22524 esac
22525 ac_save_IFS=$IFS
22526 IFS=:
22527 set x $ac_tag
22528 IFS=$ac_save_IFS
22529 shift
22530 ac_file=$1
22531 shift
22533 case $ac_mode in
22534 :L) ac_source=$1;;
22535 :[FH])
22536 ac_file_inputs=
22537 for ac_f
22539 case $ac_f in
22540 -) ac_f="$ac_tmp/stdin";;
22541 *) # Look for the file first in the build tree, then in the source tree
22542 # (if the path is not absolute). The absolute path cannot be DOS-style,
22543 # because $ac_f cannot contain `:'.
22544 test -f "$ac_f" ||
22545 case $ac_f in
22546 [\\/$]*) false;;
22547 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22548 esac ||
22549 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22550 esac
22551 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22552 as_fn_append ac_file_inputs " '$ac_f'"
22553 done
22555 # Let's still pretend it is `configure' which instantiates (i.e., don't
22556 # use $as_me), people would be surprised to read:
22557 # /* config.h. Generated by config.status. */
22558 configure_input='Generated from '`
22559 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22560 `' by configure.'
22561 if test x"$ac_file" != x-; then
22562 configure_input="$ac_file. $configure_input"
22563 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22564 $as_echo "$as_me: creating $ac_file" >&6;}
22566 # Neutralize special characters interpreted by sed in replacement strings.
22567 case $configure_input in #(
22568 *\&* | *\|* | *\\* )
22569 ac_sed_conf_input=`$as_echo "$configure_input" |
22570 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22571 *) ac_sed_conf_input=$configure_input;;
22572 esac
22574 case $ac_tag in
22575 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22576 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22577 esac
22579 esac
22581 ac_dir=`$as_dirname -- "$ac_file" ||
22582 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22583 X"$ac_file" : 'X\(//\)[^/]' \| \
22584 X"$ac_file" : 'X\(//\)$' \| \
22585 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22586 $as_echo X"$ac_file" |
22587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22588 s//\1/
22591 /^X\(\/\/\)[^/].*/{
22592 s//\1/
22595 /^X\(\/\/\)$/{
22596 s//\1/
22599 /^X\(\/\).*/{
22600 s//\1/
22603 s/.*/./; q'`
22604 as_dir="$ac_dir"; as_fn_mkdir_p
22605 ac_builddir=.
22607 case "$ac_dir" in
22608 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22610 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22611 # A ".." for each directory in $ac_dir_suffix.
22612 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22613 case $ac_top_builddir_sub in
22614 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22615 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22616 esac ;;
22617 esac
22618 ac_abs_top_builddir=$ac_pwd
22619 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22620 # for backward compatibility:
22621 ac_top_builddir=$ac_top_build_prefix
22623 case $srcdir in
22624 .) # We are building in place.
22625 ac_srcdir=.
22626 ac_top_srcdir=$ac_top_builddir_sub
22627 ac_abs_top_srcdir=$ac_pwd ;;
22628 [\\/]* | ?:[\\/]* ) # Absolute name.
22629 ac_srcdir=$srcdir$ac_dir_suffix;
22630 ac_top_srcdir=$srcdir
22631 ac_abs_top_srcdir=$srcdir ;;
22632 *) # Relative name.
22633 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22634 ac_top_srcdir=$ac_top_build_prefix$srcdir
22635 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22636 esac
22637 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22640 case $ac_mode in
22643 # CONFIG_FILE
22646 _ACEOF
22648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22649 # If the template does not know about datarootdir, expand it.
22650 # FIXME: This hack should be removed a few years after 2.60.
22651 ac_datarootdir_hack=; ac_datarootdir_seen=
22652 ac_sed_dataroot='
22653 /datarootdir/ {
22657 /@datadir@/p
22658 /@docdir@/p
22659 /@infodir@/p
22660 /@localedir@/p
22661 /@mandir@/p'
22662 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22663 *datarootdir*) ac_datarootdir_seen=yes;;
22664 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22666 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22667 _ACEOF
22668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22669 ac_datarootdir_hack='
22670 s&@datadir@&$datadir&g
22671 s&@docdir@&$docdir&g
22672 s&@infodir@&$infodir&g
22673 s&@localedir@&$localedir&g
22674 s&@mandir@&$mandir&g
22675 s&\\\${datarootdir}&$datarootdir&g' ;;
22676 esac
22677 _ACEOF
22679 # Neutralize VPATH when `$srcdir' = `.'.
22680 # Shell code in configure.ac might set extrasub.
22681 # FIXME: do we really want to maintain this feature?
22682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22683 ac_sed_extra="$ac_vpsub
22684 $extrasub
22685 _ACEOF
22686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22688 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22689 s|@configure_input@|$ac_sed_conf_input|;t t
22690 s&@top_builddir@&$ac_top_builddir_sub&;t t
22691 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22692 s&@srcdir@&$ac_srcdir&;t t
22693 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22694 s&@top_srcdir@&$ac_top_srcdir&;t t
22695 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22696 s&@builddir@&$ac_builddir&;t t
22697 s&@abs_builddir@&$ac_abs_builddir&;t t
22698 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22699 $ac_datarootdir_hack
22701 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22702 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22704 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22705 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22706 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22707 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22709 which seems to be undefined. Please make sure it is defined" >&5
22710 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22711 which seems to be undefined. Please make sure it is defined" >&2;}
22713 rm -f "$ac_tmp/stdin"
22714 case $ac_file in
22715 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22716 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22717 esac \
22718 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22722 # CONFIG_HEADER
22724 if test x"$ac_file" != x-; then
22726 $as_echo "/* $configure_input */" \
22727 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22728 } >"$ac_tmp/config.h" \
22729 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22730 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22731 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22732 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22733 else
22734 rm -f "$ac_file"
22735 mv "$ac_tmp/config.h" "$ac_file" \
22736 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22738 else
22739 $as_echo "/* $configure_input */" \
22740 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22741 || as_fn_error $? "could not create -" "$LINENO" 5
22746 # CONFIG_LINK
22749 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22751 else
22752 # Prefer the file from the source tree if names are identical.
22753 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22754 ac_source=$srcdir/$ac_source
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22758 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22760 if test ! -r "$ac_source"; then
22761 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22763 rm -f "$ac_file"
22765 # Try a relative symlink, then a hard link, then a copy.
22766 case $ac_source in
22767 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22768 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22769 esac
22770 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22771 ln "$ac_source" "$ac_file" 2>/dev/null ||
22772 cp -p "$ac_source" "$ac_file" ||
22773 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22776 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22777 $as_echo "$as_me: executing $ac_file commands" >&6;}
22779 esac
22782 case $ac_file$ac_mode in
22783 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22784 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22785 "Makefile":C) wine_fn_output_makefile Makefile ;;
22787 esac
22788 done # for ac_tag
22791 as_fn_exit 0
22792 _ACEOF
22793 ac_clean_files=$ac_clean_files_save
22795 test $ac_write_fail = 0 ||
22796 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22799 # configure is writing to config.log, and then calls config.status.
22800 # config.status does its own redirection, appending to config.log.
22801 # Unfortunately, on DOS this fails, as config.log is still kept open
22802 # by configure, so config.status won't be able to write to it; its
22803 # output is simply discarded. So we exec the FD to /dev/null,
22804 # effectively closing config.log, so it can be properly (re)opened and
22805 # appended to by config.status. When coming back to configure, we
22806 # need to make the FD available again.
22807 if test "$no_create" != yes; then
22808 ac_cs_success=:
22809 ac_config_status_args=
22810 test "$silent" = yes &&
22811 ac_config_status_args="$ac_config_status_args --quiet"
22812 exec 5>/dev/null
22813 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22814 exec 5>>config.log
22815 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22816 # would make configure fail if this is the last instruction.
22817 $ac_cs_success || as_fn_exit 1
22819 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22821 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22825 if test "$no_create" = "yes"
22826 then
22827 exit 0
22830 ac_save_IFS="$IFS"
22831 if test "x$wine_notices" != x; then
22832 echo >&6
22833 IFS="|"
22834 for msg in $wine_notices; do
22835 IFS="$ac_save_IFS"
22836 if ${msg:+false} :; then :
22838 else
22839 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22840 $as_echo "$as_me: $msg" >&6;}
22842 done
22844 IFS="|"
22845 for msg in $wine_warnings; do
22846 IFS="$ac_save_IFS"
22847 if ${msg:+false} :; then :
22849 else
22850 echo >&2
22851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22852 $as_echo "$as_me: WARNING: $msg" >&2;}
22854 done
22855 IFS="$ac_save_IFS"
22857 $as_echo "
22858 $as_me: Finished. Do '${ac_make}' to compile Wine.
22859 " >&6