user32: Add wsprintfW %C tests.
[wine.git] / configure
blobadd494cf8e2ca0778d814e0863571d02b3a1dabd
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.2.
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.2'
584 PACKAGE_STRING='Wine 5.2'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 MSVCRTFLAGS
635 EXCESS_PRECISION_CFLAGS
636 EXTRACFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 Z_LIBS
678 Z_CFLAGS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 DELAYLOADFLAG
710 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 LDEXECFLAGS
752 LDDLLFLAGS
753 LDRPATH_LOCAL
754 LDRPATH_INSTALL
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 with_alsa
845 with_capi
846 with_cms
847 with_coreaudio
848 with_cups
849 with_curses
850 with_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_glu
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_sane
881 with_sdl
882 with_tiff
883 with_udev
884 with_unwind
885 with_v4l2
886 with_vkd3d
887 with_vulkan
888 with_xcomposite
889 with_xcursor
890 with_xfixes
891 with_xinerama
892 with_xinput
893 with_xinput2
894 with_xml
895 with_xrandr
896 with_xrender
897 with_xshape
898 with_xshm
899 with_xslt
900 with_xxf86vm
901 with_zlib
902 with_wine_tools
903 with_wine64
904 enable_largefile
905 with_x
906 enable_acledit
907 enable_aclui
908 enable_activeds_tlb
909 enable_activeds
910 enable_actxprxy
911 enable_adsiid
912 enable_adsldp
913 enable_adsldpc
914 enable_advapi32
915 enable_advpack
916 enable_amsi
917 enable_amstream
918 enable_api_ms_win_appmodel_identity_l1_1_0
919 enable_api_ms_win_appmodel_runtime_l1_1_1
920 enable_api_ms_win_appmodel_runtime_l1_1_2
921 enable_api_ms_win_core_apiquery_l1_1_0
922 enable_api_ms_win_core_appcompat_l1_1_1
923 enable_api_ms_win_core_appinit_l1_1_0
924 enable_api_ms_win_core_atoms_l1_1_0
925 enable_api_ms_win_core_bem_l1_1_0
926 enable_api_ms_win_core_com_l1_1_0
927 enable_api_ms_win_core_com_l1_1_1
928 enable_api_ms_win_core_com_private_l1_1_0
929 enable_api_ms_win_core_comm_l1_1_0
930 enable_api_ms_win_core_console_l1_1_0
931 enable_api_ms_win_core_console_l2_1_0
932 enable_api_ms_win_core_crt_l1_1_0
933 enable_api_ms_win_core_crt_l2_1_0
934 enable_api_ms_win_core_datetime_l1_1_0
935 enable_api_ms_win_core_datetime_l1_1_1
936 enable_api_ms_win_core_debug_l1_1_0
937 enable_api_ms_win_core_debug_l1_1_1
938 enable_api_ms_win_core_delayload_l1_1_0
939 enable_api_ms_win_core_delayload_l1_1_1
940 enable_api_ms_win_core_errorhandling_l1_1_0
941 enable_api_ms_win_core_errorhandling_l1_1_1
942 enable_api_ms_win_core_errorhandling_l1_1_2
943 enable_api_ms_win_core_errorhandling_l1_1_3
944 enable_api_ms_win_core_fibers_l1_1_0
945 enable_api_ms_win_core_fibers_l1_1_1
946 enable_api_ms_win_core_file_l1_1_0
947 enable_api_ms_win_core_file_l1_2_0
948 enable_api_ms_win_core_file_l1_2_1
949 enable_api_ms_win_core_file_l1_2_2
950 enable_api_ms_win_core_file_l2_1_0
951 enable_api_ms_win_core_file_l2_1_1
952 enable_api_ms_win_core_file_l2_1_2
953 enable_api_ms_win_core_handle_l1_1_0
954 enable_api_ms_win_core_heap_l1_1_0
955 enable_api_ms_win_core_heap_l1_2_0
956 enable_api_ms_win_core_heap_l2_1_0
957 enable_api_ms_win_core_heap_obsolete_l1_1_0
958 enable_api_ms_win_core_interlocked_l1_1_0
959 enable_api_ms_win_core_interlocked_l1_2_0
960 enable_api_ms_win_core_io_l1_1_0
961 enable_api_ms_win_core_io_l1_1_1
962 enable_api_ms_win_core_job_l1_1_0
963 enable_api_ms_win_core_job_l2_1_0
964 enable_api_ms_win_core_kernel32_legacy_l1_1_0
965 enable_api_ms_win_core_kernel32_legacy_l1_1_1
966 enable_api_ms_win_core_kernel32_private_l1_1_1
967 enable_api_ms_win_core_largeinteger_l1_1_0
968 enable_api_ms_win_core_libraryloader_l1_1_0
969 enable_api_ms_win_core_libraryloader_l1_1_1
970 enable_api_ms_win_core_libraryloader_l1_2_0
971 enable_api_ms_win_core_libraryloader_l1_2_1
972 enable_api_ms_win_core_libraryloader_l1_2_2
973 enable_api_ms_win_core_localization_l1_1_0
974 enable_api_ms_win_core_localization_l1_2_0
975 enable_api_ms_win_core_localization_l1_2_1
976 enable_api_ms_win_core_localization_l2_1_0
977 enable_api_ms_win_core_localization_obsolete_l1_1_0
978 enable_api_ms_win_core_localization_obsolete_l1_2_0
979 enable_api_ms_win_core_localization_obsolete_l1_3_0
980 enable_api_ms_win_core_localization_private_l1_1_0
981 enable_api_ms_win_core_localregistry_l1_1_0
982 enable_api_ms_win_core_memory_l1_1_0
983 enable_api_ms_win_core_memory_l1_1_1
984 enable_api_ms_win_core_memory_l1_1_2
985 enable_api_ms_win_core_misc_l1_1_0
986 enable_api_ms_win_core_namedpipe_l1_1_0
987 enable_api_ms_win_core_namedpipe_l1_2_0
988 enable_api_ms_win_core_namespace_l1_1_0
989 enable_api_ms_win_core_normalization_l1_1_0
990 enable_api_ms_win_core_path_l1_1_0
991 enable_api_ms_win_core_privateprofile_l1_1_1
992 enable_api_ms_win_core_processenvironment_l1_1_0
993 enable_api_ms_win_core_processenvironment_l1_2_0
994 enable_api_ms_win_core_processthreads_l1_1_0
995 enable_api_ms_win_core_processthreads_l1_1_1
996 enable_api_ms_win_core_processthreads_l1_1_2
997 enable_api_ms_win_core_processthreads_l1_1_3
998 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
999 enable_api_ms_win_core_profile_l1_1_0
1000 enable_api_ms_win_core_psapi_ansi_l1_1_0
1001 enable_api_ms_win_core_psapi_l1_1_0
1002 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1003 enable_api_ms_win_core_quirks_l1_1_0
1004 enable_api_ms_win_core_realtime_l1_1_0
1005 enable_api_ms_win_core_registry_l1_1_0
1006 enable_api_ms_win_core_registry_l2_1_0
1007 enable_api_ms_win_core_registryuserspecific_l1_1_0
1008 enable_api_ms_win_core_rtlsupport_l1_1_0
1009 enable_api_ms_win_core_rtlsupport_l1_2_0
1010 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1011 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1012 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1013 enable_api_ms_win_core_shutdown_l1_1_0
1014 enable_api_ms_win_core_sidebyside_l1_1_0
1015 enable_api_ms_win_core_string_l1_1_0
1016 enable_api_ms_win_core_string_l2_1_0
1017 enable_api_ms_win_core_string_obsolete_l1_1_0
1018 enable_api_ms_win_core_stringansi_l1_1_0
1019 enable_api_ms_win_core_stringloader_l1_1_1
1020 enable_api_ms_win_core_synch_ansi_l1_1_0
1021 enable_api_ms_win_core_synch_l1_1_0
1022 enable_api_ms_win_core_synch_l1_2_0
1023 enable_api_ms_win_core_synch_l1_2_1
1024 enable_api_ms_win_core_sysinfo_l1_1_0
1025 enable_api_ms_win_core_sysinfo_l1_2_0
1026 enable_api_ms_win_core_sysinfo_l1_2_1
1027 enable_api_ms_win_core_threadpool_l1_1_0
1028 enable_api_ms_win_core_threadpool_l1_2_0
1029 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1030 enable_api_ms_win_core_threadpool_private_l1_1_0
1031 enable_api_ms_win_core_timezone_l1_1_0
1032 enable_api_ms_win_core_toolhelp_l1_1_0
1033 enable_api_ms_win_core_url_l1_1_0
1034 enable_api_ms_win_core_util_l1_1_0
1035 enable_api_ms_win_core_version_l1_1_0
1036 enable_api_ms_win_core_version_l1_1_1
1037 enable_api_ms_win_core_version_private_l1_1_0
1038 enable_api_ms_win_core_versionansi_l1_1_0
1039 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1040 enable_api_ms_win_core_winrt_error_l1_1_0
1041 enable_api_ms_win_core_winrt_error_l1_1_1
1042 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1043 enable_api_ms_win_core_winrt_l1_1_0
1044 enable_api_ms_win_core_winrt_registration_l1_1_0
1045 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1046 enable_api_ms_win_core_winrt_string_l1_1_0
1047 enable_api_ms_win_core_winrt_string_l1_1_1
1048 enable_api_ms_win_core_wow64_l1_1_0
1049 enable_api_ms_win_core_wow64_l1_1_1
1050 enable_api_ms_win_core_xstate_l1_1_0
1051 enable_api_ms_win_core_xstate_l2_1_0
1052 enable_api_ms_win_crt_conio_l1_1_0
1053 enable_api_ms_win_crt_convert_l1_1_0
1054 enable_api_ms_win_crt_environment_l1_1_0
1055 enable_api_ms_win_crt_filesystem_l1_1_0
1056 enable_api_ms_win_crt_heap_l1_1_0
1057 enable_api_ms_win_crt_locale_l1_1_0
1058 enable_api_ms_win_crt_math_l1_1_0
1059 enable_api_ms_win_crt_multibyte_l1_1_0
1060 enable_api_ms_win_crt_private_l1_1_0
1061 enable_api_ms_win_crt_process_l1_1_0
1062 enable_api_ms_win_crt_runtime_l1_1_0
1063 enable_api_ms_win_crt_stdio_l1_1_0
1064 enable_api_ms_win_crt_string_l1_1_0
1065 enable_api_ms_win_crt_time_l1_1_0
1066 enable_api_ms_win_crt_utility_l1_1_0
1067 enable_api_ms_win_devices_config_l1_1_0
1068 enable_api_ms_win_devices_config_l1_1_1
1069 enable_api_ms_win_devices_query_l1_1_1
1070 enable_api_ms_win_downlevel_advapi32_l1_1_0
1071 enable_api_ms_win_downlevel_advapi32_l2_1_0
1072 enable_api_ms_win_downlevel_normaliz_l1_1_0
1073 enable_api_ms_win_downlevel_ole32_l1_1_0
1074 enable_api_ms_win_downlevel_shell32_l1_1_0
1075 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1076 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1077 enable_api_ms_win_downlevel_user32_l1_1_0
1078 enable_api_ms_win_downlevel_version_l1_1_0
1079 enable_api_ms_win_dx_d3dkmt_l1_1_0
1080 enable_api_ms_win_eventing_classicprovider_l1_1_0
1081 enable_api_ms_win_eventing_consumer_l1_1_0
1082 enable_api_ms_win_eventing_controller_l1_1_0
1083 enable_api_ms_win_eventing_legacy_l1_1_0
1084 enable_api_ms_win_eventing_provider_l1_1_0
1085 enable_api_ms_win_eventlog_legacy_l1_1_0
1086 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1087 enable_api_ms_win_mm_joystick_l1_1_0
1088 enable_api_ms_win_mm_misc_l1_1_1
1089 enable_api_ms_win_mm_mme_l1_1_0
1090 enable_api_ms_win_mm_time_l1_1_0
1091 enable_api_ms_win_ntuser_dc_access_l1_1_0
1092 enable_api_ms_win_ntuser_rectangle_l1_1_0
1093 enable_api_ms_win_ntuser_sysparams_l1_1_0
1094 enable_api_ms_win_perf_legacy_l1_1_0
1095 enable_api_ms_win_power_base_l1_1_0
1096 enable_api_ms_win_power_setting_l1_1_0
1097 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1098 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1100 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1102 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1103 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1104 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1105 enable_api_ms_win_security_audit_l1_1_1
1106 enable_api_ms_win_security_base_l1_1_0
1107 enable_api_ms_win_security_base_l1_2_0
1108 enable_api_ms_win_security_base_private_l1_1_1
1109 enable_api_ms_win_security_credentials_l1_1_0
1110 enable_api_ms_win_security_cryptoapi_l1_1_0
1111 enable_api_ms_win_security_grouppolicy_l1_1_0
1112 enable_api_ms_win_security_lsalookup_l1_1_0
1113 enable_api_ms_win_security_lsalookup_l1_1_1
1114 enable_api_ms_win_security_lsalookup_l2_1_0
1115 enable_api_ms_win_security_lsalookup_l2_1_1
1116 enable_api_ms_win_security_lsapolicy_l1_1_0
1117 enable_api_ms_win_security_provider_l1_1_0
1118 enable_api_ms_win_security_sddl_l1_1_0
1119 enable_api_ms_win_security_systemfunctions_l1_1_0
1120 enable_api_ms_win_service_core_l1_1_0
1121 enable_api_ms_win_service_core_l1_1_1
1122 enable_api_ms_win_service_management_l1_1_0
1123 enable_api_ms_win_service_management_l2_1_0
1124 enable_api_ms_win_service_private_l1_1_1
1125 enable_api_ms_win_service_winsvc_l1_1_0
1126 enable_api_ms_win_service_winsvc_l1_2_0
1127 enable_api_ms_win_shcore_obsolete_l1_1_0
1128 enable_api_ms_win_shcore_scaling_l1_1_1
1129 enable_api_ms_win_shcore_stream_l1_1_0
1130 enable_api_ms_win_shcore_thread_l1_1_0
1131 enable_api_ms_win_shell_shellcom_l1_1_0
1132 enable_api_ms_win_shell_shellfolders_l1_1_0
1133 enable_apphelp
1134 enable_appwiz_cpl
1135 enable_atl
1136 enable_atl100
1137 enable_atl110
1138 enable_atl80
1139 enable_atl90
1140 enable_atlthunk
1141 enable_atmlib
1142 enable_authz
1143 enable_avicap32
1144 enable_avifil32
1145 enable_avrt
1146 enable_bcrypt
1147 enable_bluetoothapis
1148 enable_browseui
1149 enable_bthprops_cpl
1150 enable_cabinet
1151 enable_capi2032
1152 enable_cards
1153 enable_cdosys
1154 enable_cfgmgr32
1155 enable_clusapi
1156 enable_combase
1157 enable_comcat
1158 enable_comctl32
1159 enable_comdlg32
1160 enable_compstui
1161 enable_comsvcs
1162 enable_concrt140
1163 enable_connect
1164 enable_credui
1165 enable_crtdll
1166 enable_crypt32
1167 enable_cryptdlg
1168 enable_cryptdll
1169 enable_cryptext
1170 enable_cryptnet
1171 enable_cryptui
1172 enable_ctapi32
1173 enable_ctl3d32
1174 enable_d2d1
1175 enable_d3d10
1176 enable_d3d10_1
1177 enable_d3d10core
1178 enable_d3d11
1179 enable_d3d12
1180 enable_d3d8
1181 enable_d3d9
1182 enable_d3dcompiler_33
1183 enable_d3dcompiler_34
1184 enable_d3dcompiler_35
1185 enable_d3dcompiler_36
1186 enable_d3dcompiler_37
1187 enable_d3dcompiler_38
1188 enable_d3dcompiler_39
1189 enable_d3dcompiler_40
1190 enable_d3dcompiler_41
1191 enable_d3dcompiler_42
1192 enable_d3dcompiler_43
1193 enable_d3dcompiler_46
1194 enable_d3dcompiler_47
1195 enable_d3dim
1196 enable_d3drm
1197 enable_d3dx10_33
1198 enable_d3dx10_34
1199 enable_d3dx10_35
1200 enable_d3dx10_36
1201 enable_d3dx10_37
1202 enable_d3dx10_38
1203 enable_d3dx10_39
1204 enable_d3dx10_40
1205 enable_d3dx10_41
1206 enable_d3dx10_42
1207 enable_d3dx10_43
1208 enable_d3dx11_42
1209 enable_d3dx11_43
1210 enable_d3dx9_24
1211 enable_d3dx9_25
1212 enable_d3dx9_26
1213 enable_d3dx9_27
1214 enable_d3dx9_28
1215 enable_d3dx9_29
1216 enable_d3dx9_30
1217 enable_d3dx9_31
1218 enable_d3dx9_32
1219 enable_d3dx9_33
1220 enable_d3dx9_34
1221 enable_d3dx9_35
1222 enable_d3dx9_36
1223 enable_d3dx9_37
1224 enable_d3dx9_38
1225 enable_d3dx9_39
1226 enable_d3dx9_40
1227 enable_d3dx9_41
1228 enable_d3dx9_42
1229 enable_d3dx9_43
1230 enable_d3dxof
1231 enable_davclnt
1232 enable_dbgeng
1233 enable_dbghelp
1234 enable_dciman32
1235 enable_ddraw
1236 enable_ddrawex
1237 enable_devenum
1238 enable_dhcpcsvc
1239 enable_dhtmled_ocx
1240 enable_difxapi
1241 enable_dinput
1242 enable_dinput8
1243 enable_dispex
1244 enable_dmband
1245 enable_dmcompos
1246 enable_dmime
1247 enable_dmloader
1248 enable_dmoguids
1249 enable_dmscript
1250 enable_dmstyle
1251 enable_dmsynth
1252 enable_dmusic
1253 enable_dmusic32
1254 enable_dnsapi
1255 enable_dplay
1256 enable_dplayx
1257 enable_dpnaddr
1258 enable_dpnet
1259 enable_dpnhpast
1260 enable_dpnlobby
1261 enable_dpvoice
1262 enable_dpwsockx
1263 enable_drmclien
1264 enable_dsdmo
1265 enable_dsound
1266 enable_dsquery
1267 enable_dssenh
1268 enable_dswave
1269 enable_dwmapi
1270 enable_dwrite
1271 enable_dx8vb
1272 enable_dxdiagn
1273 enable_dxerr8
1274 enable_dxerr9
1275 enable_dxgi
1276 enable_dxguid
1277 enable_dxva2
1278 enable_esent
1279 enable_evr
1280 enable_explorerframe
1281 enable_ext_ms_win_authz_context_l1_1_0
1282 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1283 enable_ext_ms_win_dwmapi_ext_l1_1_0
1284 enable_ext_ms_win_gdi_dc_create_l1_1_0
1285 enable_ext_ms_win_gdi_dc_create_l1_1_1
1286 enable_ext_ms_win_gdi_dc_l1_2_0
1287 enable_ext_ms_win_gdi_devcaps_l1_1_0
1288 enable_ext_ms_win_gdi_draw_l1_1_0
1289 enable_ext_ms_win_gdi_draw_l1_1_1
1290 enable_ext_ms_win_gdi_font_l1_1_0
1291 enable_ext_ms_win_gdi_font_l1_1_1
1292 enable_ext_ms_win_gdi_render_l1_1_0
1293 enable_ext_ms_win_kernel32_package_current_l1_1_0
1294 enable_ext_ms_win_kernel32_package_l1_1_1
1295 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1296 enable_ext_ms_win_ntuser_draw_l1_1_0
1297 enable_ext_ms_win_ntuser_gui_l1_1_0
1298 enable_ext_ms_win_ntuser_gui_l1_3_0
1299 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1300 enable_ext_ms_win_ntuser_message_l1_1_0
1301 enable_ext_ms_win_ntuser_message_l1_1_1
1302 enable_ext_ms_win_ntuser_misc_l1_1_0
1303 enable_ext_ms_win_ntuser_misc_l1_2_0
1304 enable_ext_ms_win_ntuser_misc_l1_5_1
1305 enable_ext_ms_win_ntuser_mouse_l1_1_0
1306 enable_ext_ms_win_ntuser_private_l1_1_1
1307 enable_ext_ms_win_ntuser_private_l1_3_1
1308 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1309 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1310 enable_ext_ms_win_ntuser_window_l1_1_0
1311 enable_ext_ms_win_ntuser_window_l1_1_1
1312 enable_ext_ms_win_ntuser_window_l1_1_4
1313 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1314 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1315 enable_ext_ms_win_oleacc_l1_1_0
1316 enable_ext_ms_win_ras_rasapi32_l1_1_0
1317 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1318 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1319 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1324 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1326 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1327 enable_ext_ms_win_security_credui_l1_1_0
1328 enable_ext_ms_win_security_cryptui_l1_1_0
1329 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1330 enable_ext_ms_win_shell_comdlg32_l1_1_0
1331 enable_ext_ms_win_shell_shell32_l1_2_0
1332 enable_ext_ms_win_uxtheme_themes_l1_1_0
1333 enable_faultrep
1334 enable_feclient
1335 enable_fltlib
1336 enable_fltmgr_sys
1337 enable_fntcache
1338 enable_fontsub
1339 enable_fusion
1340 enable_fwpuclnt
1341 enable_gameux
1342 enable_gdi32
1343 enable_gdiplus
1344 enable_glu32
1345 enable_gphoto2_ds
1346 enable_gpkcsp
1347 enable_hal
1348 enable_hhctrl_ocx
1349 enable_hid
1350 enable_hidclass_sys
1351 enable_hlink
1352 enable_hnetcfg
1353 enable_http_sys
1354 enable_httpapi
1355 enable_iccvid
1356 enable_icmp
1357 enable_ieframe
1358 enable_ieproxy
1359 enable_imaadp32_acm
1360 enable_imagehlp
1361 enable_imm32
1362 enable_inetcomm
1363 enable_inetcpl_cpl
1364 enable_inetmib1
1365 enable_infosoft
1366 enable_initpki
1367 enable_inkobj
1368 enable_inseng
1369 enable_iphlpapi
1370 enable_iprop
1371 enable_irprops_cpl
1372 enable_itircl
1373 enable_itss
1374 enable_joy_cpl
1375 enable_jscript
1376 enable_jsproxy
1377 enable_kerberos
1378 enable_kernel32
1379 enable_kernelbase
1380 enable_ksecdd_sys
1381 enable_ksuser
1382 enable_ktmw32
1383 enable_l3codeca_acm
1384 enable_loadperf
1385 enable_localspl
1386 enable_localui
1387 enable_lz32
1388 enable_mapi32
1389 enable_mapistub
1390 enable_mciavi32
1391 enable_mcicda
1392 enable_mciqtz32
1393 enable_mciseq
1394 enable_mciwave
1395 enable_mf
1396 enable_mf3216
1397 enable_mferror
1398 enable_mfmediaengine
1399 enable_mfplat
1400 enable_mfplay
1401 enable_mfreadwrite
1402 enable_mfuuid
1403 enable_mgmtapi
1404 enable_midimap
1405 enable_mlang
1406 enable_mmcndmgr
1407 enable_mmdevapi
1408 enable_mountmgr_sys
1409 enable_mp3dmod
1410 enable_mpr
1411 enable_mprapi
1412 enable_msacm32_drv
1413 enable_msacm32
1414 enable_msado15
1415 enable_msadp32_acm
1416 enable_msasn1
1417 enable_mscat32
1418 enable_mscms
1419 enable_mscoree
1420 enable_mscorwks
1421 enable_msctf
1422 enable_msctfp
1423 enable_msdaps
1424 enable_msdelta
1425 enable_msdmo
1426 enable_msdrm
1427 enable_msftedit
1428 enable_msg711_acm
1429 enable_msgsm32_acm
1430 enable_mshtml_tlb
1431 enable_mshtml
1432 enable_msi
1433 enable_msident
1434 enable_msimg32
1435 enable_msimsg
1436 enable_msimtf
1437 enable_msisip
1438 enable_msisys_ocx
1439 enable_msls31
1440 enable_msnet32
1441 enable_mspatcha
1442 enable_msports
1443 enable_msrle32
1444 enable_msscript_ocx
1445 enable_mssign32
1446 enable_mssip32
1447 enable_mstask
1448 enable_msvcirt
1449 enable_msvcm80
1450 enable_msvcm90
1451 enable_msvcp100
1452 enable_msvcp110
1453 enable_msvcp120
1454 enable_msvcp120_app
1455 enable_msvcp140
1456 enable_msvcp60
1457 enable_msvcp70
1458 enable_msvcp71
1459 enable_msvcp80
1460 enable_msvcp90
1461 enable_msvcr100
1462 enable_msvcr110
1463 enable_msvcr120
1464 enable_msvcr120_app
1465 enable_msvcr70
1466 enable_msvcr71
1467 enable_msvcr80
1468 enable_msvcr90
1469 enable_msvcrt
1470 enable_msvcrt20
1471 enable_msvcrt40
1472 enable_msvcrtd
1473 enable_msvfw32
1474 enable_msvidc32
1475 enable_mswsock
1476 enable_msxml
1477 enable_msxml2
1478 enable_msxml3
1479 enable_msxml4
1480 enable_msxml6
1481 enable_mtxdm
1482 enable_ncrypt
1483 enable_nddeapi
1484 enable_ndis_sys
1485 enable_netapi32
1486 enable_netcfgx
1487 enable_netprofm
1488 enable_newdev
1489 enable_ninput
1490 enable_normaliz
1491 enable_npmshtml
1492 enable_npptools
1493 enable_ntdll
1494 enable_ntdsapi
1495 enable_ntoskrnl_exe
1496 enable_ntprint
1497 enable_objsel
1498 enable_odbc32
1499 enable_odbcbcp
1500 enable_odbccp32
1501 enable_odbccu32
1502 enable_ole32
1503 enable_oleacc
1504 enable_oleaut32
1505 enable_olecli32
1506 enable_oledb32
1507 enable_oledlg
1508 enable_olepro32
1509 enable_olesvr32
1510 enable_olethk32
1511 enable_opcservices
1512 enable_openal32
1513 enable_opencl
1514 enable_opengl32
1515 enable_packager
1516 enable_pdh
1517 enable_photometadatahandler
1518 enable_pidgen
1519 enable_powrprof
1520 enable_printui
1521 enable_prntvpt
1522 enable_propsys
1523 enable_psapi
1524 enable_pstorec
1525 enable_qasf
1526 enable_qcap
1527 enable_qedit
1528 enable_qmgr
1529 enable_qmgrprxy
1530 enable_quartz
1531 enable_query
1532 enable_qwave
1533 enable_rasapi32
1534 enable_rasdlg
1535 enable_regapi
1536 enable_resutils
1537 enable_riched20
1538 enable_riched32
1539 enable_rpcrt4
1540 enable_rsabase
1541 enable_rsaenh
1542 enable_rstrtmgr
1543 enable_rtutils
1544 enable_rtworkq
1545 enable_samlib
1546 enable_sane_ds
1547 enable_sapi
1548 enable_sas
1549 enable_scarddlg
1550 enable_sccbase
1551 enable_schannel
1552 enable_schedsvc
1553 enable_scrobj
1554 enable_scrrun
1555 enable_scsiport_sys
1556 enable_secur32
1557 enable_security
1558 enable_sensapi
1559 enable_serialui
1560 enable_setupapi
1561 enable_sfc
1562 enable_sfc_os
1563 enable_shcore
1564 enable_shdoclc
1565 enable_shdocvw
1566 enable_shell32
1567 enable_shfolder
1568 enable_shlwapi
1569 enable_slbcsp
1570 enable_slc
1571 enable_snmpapi
1572 enable_softpub
1573 enable_spoolss
1574 enable_srclient
1575 enable_sspicli
1576 enable_stdole2_tlb
1577 enable_stdole32_tlb
1578 enable_sti
1579 enable_strmbase
1580 enable_strmdll
1581 enable_strmiids
1582 enable_svrapi
1583 enable_sxs
1584 enable_t2embed
1585 enable_tapi32
1586 enable_taskschd
1587 enable_tdh
1588 enable_tdi_sys
1589 enable_traffic
1590 enable_twain_32
1591 enable_tzres
1592 enable_ucrtbase
1593 enable_uianimation
1594 enable_uiautomationcore
1595 enable_uiribbon
1596 enable_unicows
1597 enable_updspapi
1598 enable_url
1599 enable_urlmon
1600 enable_usbd_sys
1601 enable_user32
1602 enable_userenv
1603 enable_usp10
1604 enable_utildll
1605 enable_uuid
1606 enable_uxtheme
1607 enable_vbscript
1608 enable_vcomp
1609 enable_vcomp100
1610 enable_vcomp110
1611 enable_vcomp120
1612 enable_vcomp140
1613 enable_vcomp90
1614 enable_vcruntime140
1615 enable_vcruntime140_1
1616 enable_vdmdbg
1617 enable_version
1618 enable_vga
1619 enable_virtdisk
1620 enable_vssapi
1621 enable_vulkan_1
1622 enable_wbemdisp
1623 enable_wbemprox
1624 enable_wbemuuid
1625 enable_wdscore
1626 enable_webservices
1627 enable_wer
1628 enable_wevtapi
1629 enable_wiaservc
1630 enable_wimgapi
1631 enable_windowscodecs
1632 enable_windowscodecsext
1633 enable_winealsa_drv
1634 enable_wineandroid_drv
1635 enable_winebus_sys
1636 enable_winecoreaudio_drv
1637 enable_winecrt0
1638 enable_wined3d
1639 enable_winegstreamer
1640 enable_winehid_sys
1641 enable_winejoystick_drv
1642 enable_winemac_drv
1643 enable_winemapi
1644 enable_wineoss_drv
1645 enable_wineps_drv
1646 enable_winepulse_drv
1647 enable_wineqtdecoder
1648 enable_winevulkan
1649 enable_winex11_drv
1650 enable_wing32
1651 enable_winhttp
1652 enable_wininet
1653 enable_winmm
1654 enable_winnls32
1655 enable_winscard
1656 enable_winspool_drv
1657 enable_winsta
1658 enable_wintab32
1659 enable_wintrust
1660 enable_winusb
1661 enable_wlanapi
1662 enable_wlanui
1663 enable_wldap32
1664 enable_wmasf
1665 enable_wmcodecdspuuid
1666 enable_wmi
1667 enable_wmiutils
1668 enable_wmp
1669 enable_wmphoto
1670 enable_wmvcore
1671 enable_wnaspi32
1672 enable_wpc
1673 enable_wpcap
1674 enable_ws2_32
1675 enable_wsdapi
1676 enable_wshom_ocx
1677 enable_wsnmp32
1678 enable_wsock32
1679 enable_wtsapi32
1680 enable_wuapi
1681 enable_wuaueng
1682 enable_x3daudio1_0
1683 enable_x3daudio1_1
1684 enable_x3daudio1_2
1685 enable_x3daudio1_3
1686 enable_x3daudio1_4
1687 enable_x3daudio1_5
1688 enable_x3daudio1_6
1689 enable_x3daudio1_7
1690 enable_xapofx1_1
1691 enable_xapofx1_2
1692 enable_xapofx1_3
1693 enable_xapofx1_4
1694 enable_xapofx1_5
1695 enable_xaudio2_0
1696 enable_xaudio2_1
1697 enable_xaudio2_2
1698 enable_xaudio2_3
1699 enable_xaudio2_4
1700 enable_xaudio2_5
1701 enable_xaudio2_6
1702 enable_xaudio2_7
1703 enable_xaudio2_8
1704 enable_xaudio2_9
1705 enable_xinput1_1
1706 enable_xinput1_2
1707 enable_xinput1_3
1708 enable_xinput1_4
1709 enable_xinput9_1_0
1710 enable_xmllite
1711 enable_xolehlp
1712 enable_xpsprint
1713 enable_xpssvcs
1714 enable_fonts
1715 enable_include
1716 enable_port
1717 enable_wine
1718 enable_wpp
1719 enable_loader
1720 enable_nls
1721 enable_po
1722 enable_arp
1723 enable_aspnet_regiis
1724 enable_attrib
1725 enable_cabarc
1726 enable_cacls
1727 enable_chcp_com
1728 enable_clock
1729 enable_cmd
1730 enable_conhost
1731 enable_control
1732 enable_cscript
1733 enable_dism
1734 enable_dpnsvr
1735 enable_dxdiag
1736 enable_eject
1737 enable_expand
1738 enable_explorer
1739 enable_extrac32
1740 enable_fc
1741 enable_find
1742 enable_findstr
1743 enable_fsutil
1744 enable_hh
1745 enable_hostname
1746 enable_icacls
1747 enable_icinfo
1748 enable_iexplore
1749 enable_ipconfig
1750 enable_lodctr
1751 enable_mofcomp
1752 enable_mshta
1753 enable_msidb
1754 enable_msiexec
1755 enable_msinfo32
1756 enable_net
1757 enable_netsh
1758 enable_netstat
1759 enable_ngen
1760 enable_notepad
1761 enable_oleview
1762 enable_ping
1763 enable_plugplay
1764 enable_powershell
1765 enable_presentationfontcache
1766 enable_progman
1767 enable_reg
1768 enable_regasm
1769 enable_regedit
1770 enable_regini
1771 enable_regsvcs
1772 enable_regsvr32
1773 enable_rpcss
1774 enable_rundll32
1775 enable_sc
1776 enable_schtasks
1777 enable_sdbinst
1778 enable_secedit
1779 enable_servicemodelreg
1780 enable_services
1781 enable_shutdown
1782 enable_spoolsv
1783 enable_start
1784 enable_subst
1785 enable_svchost
1786 enable_systeminfo
1787 enable_taskkill
1788 enable_tasklist
1789 enable_taskmgr
1790 enable_termsv
1791 enable_uninstaller
1792 enable_unlodctr
1793 enable_view
1794 enable_wevtutil
1795 enable_wineboot
1796 enable_winebrowser
1797 enable_winecfg
1798 enable_wineconsole
1799 enable_winedbg
1800 enable_winedevice
1801 enable_winefile
1802 enable_winemenubuilder
1803 enable_winemine
1804 enable_winemsibuilder
1805 enable_winepath
1806 enable_winetest
1807 enable_winhlp32
1808 enable_winmgmt
1809 enable_winver
1810 enable_wmic
1811 enable_wmplayer
1812 enable_wordpad
1813 enable_write
1814 enable_wscript
1815 enable_wuauserv
1816 enable_wusa
1817 enable_xcopy
1818 enable_server
1819 enable_tools
1820 enable_sfnt2fon
1821 enable_widl
1822 enable_winebuild
1823 enable_winedump
1824 enable_winegcc
1825 enable_winemaker
1826 enable_wmc
1827 enable_wrc
1829 ac_precious_vars='build_alias
1830 host_alias
1831 target_alias
1833 CFLAGS
1834 LDFLAGS
1835 LIBS
1836 CPPFLAGS
1838 CXXFLAGS
1841 OBJC
1842 OBJCFLAGS
1843 OBJCPP
1844 XMKMF
1845 XML2_CFLAGS
1846 XML2_LIBS
1847 XSLT_CFLAGS
1848 XSLT_LIBS
1849 INOTIFY_CFLAGS
1850 INOTIFY_LIBS
1851 DBUS_CFLAGS
1852 DBUS_LIBS
1853 HAL_CFLAGS
1854 HAL_LIBS
1855 GNUTLS_CFLAGS
1856 GNUTLS_LIBS
1857 SANE_CFLAGS
1858 SANE_LIBS
1859 GPHOTO2_CFLAGS
1860 GPHOTO2_LIBS
1861 GPHOTO2_PORT_CFLAGS
1862 GPHOTO2_PORT_LIBS
1863 LCMS2_CFLAGS
1864 LCMS2_LIBS
1865 FREETYPE_CFLAGS
1866 FREETYPE_LIBS
1867 Z_CFLAGS
1868 Z_LIBS
1869 PULSE_CFLAGS
1870 PULSE_LIBS
1871 GSTREAMER_CFLAGS
1872 GSTREAMER_LIBS
1873 UDEV_CFLAGS
1874 UDEV_LIBS
1875 UNWIND_CFLAGS
1876 UNWIND_LIBS
1877 SDL2_CFLAGS
1878 SDL2_LIBS
1879 FAUDIO_CFLAGS
1880 FAUDIO_LIBS
1881 CAPI20_CFLAGS
1882 CAPI20_LIBS
1883 CUPS_CFLAGS
1884 CUPS_LIBS
1885 FONTCONFIG_CFLAGS
1886 FONTCONFIG_LIBS
1887 KRB5_CFLAGS
1888 KRB5_LIBS
1889 GSSAPI_CFLAGS
1890 GSSAPI_LIBS
1891 JPEG_CFLAGS
1892 JPEG_LIBS
1893 PNG_CFLAGS
1894 PNG_LIBS
1895 TIFF_CFLAGS
1896 TIFF_LIBS
1897 MPG123_CFLAGS
1898 MPG123_LIBS
1899 NETAPI_CFLAGS
1900 NETAPI_LIBS
1901 VKD3D_CFLAGS
1902 VKD3D_LIBS
1903 LDAP_CFLAGS
1904 LDAP_LIBS'
1907 # Initialize some variables set by options.
1908 ac_init_help=
1909 ac_init_version=false
1910 ac_unrecognized_opts=
1911 ac_unrecognized_sep=
1912 # The variables have the same names as the options, with
1913 # dashes changed to underlines.
1914 cache_file=/dev/null
1915 exec_prefix=NONE
1916 no_create=
1917 no_recursion=
1918 prefix=NONE
1919 program_prefix=NONE
1920 program_suffix=NONE
1921 program_transform_name=s,x,x,
1922 silent=
1923 site=
1924 srcdir=
1925 verbose=
1926 x_includes=NONE
1927 x_libraries=NONE
1929 # Installation directory options.
1930 # These are left unexpanded so users can "make install exec_prefix=/foo"
1931 # and all the variables that are supposed to be based on exec_prefix
1932 # by default will actually change.
1933 # Use braces instead of parens because sh, perl, etc. also accept them.
1934 # (The list follows the same order as the GNU Coding Standards.)
1935 bindir='${exec_prefix}/bin'
1936 sbindir='${exec_prefix}/sbin'
1937 libexecdir='${exec_prefix}/libexec'
1938 datarootdir='${prefix}/share'
1939 datadir='${datarootdir}'
1940 sysconfdir='${prefix}/etc'
1941 sharedstatedir='${prefix}/com'
1942 localstatedir='${prefix}/var'
1943 runstatedir='${localstatedir}/run'
1944 includedir='${prefix}/include'
1945 oldincludedir='/usr/include'
1946 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1947 infodir='${datarootdir}/info'
1948 htmldir='${docdir}'
1949 dvidir='${docdir}'
1950 pdfdir='${docdir}'
1951 psdir='${docdir}'
1952 libdir='${exec_prefix}/lib'
1953 localedir='${datarootdir}/locale'
1954 mandir='${datarootdir}/man'
1956 ac_prev=
1957 ac_dashdash=
1958 for ac_option
1960 # If the previous option needs an argument, assign it.
1961 if test -n "$ac_prev"; then
1962 eval $ac_prev=\$ac_option
1963 ac_prev=
1964 continue
1967 case $ac_option in
1968 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1969 *=) ac_optarg= ;;
1970 *) ac_optarg=yes ;;
1971 esac
1973 # Accept the important Cygnus configure options, so we can diagnose typos.
1975 case $ac_dashdash$ac_option in
1977 ac_dashdash=yes ;;
1979 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1980 ac_prev=bindir ;;
1981 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1982 bindir=$ac_optarg ;;
1984 -build | --build | --buil | --bui | --bu)
1985 ac_prev=build_alias ;;
1986 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1987 build_alias=$ac_optarg ;;
1989 -cache-file | --cache-file | --cache-fil | --cache-fi \
1990 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1991 ac_prev=cache_file ;;
1992 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1993 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1994 cache_file=$ac_optarg ;;
1996 --config-cache | -C)
1997 cache_file=config.cache ;;
1999 -datadir | --datadir | --datadi | --datad)
2000 ac_prev=datadir ;;
2001 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2002 datadir=$ac_optarg ;;
2004 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2005 | --dataroo | --dataro | --datar)
2006 ac_prev=datarootdir ;;
2007 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2008 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2009 datarootdir=$ac_optarg ;;
2011 -disable-* | --disable-*)
2012 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2013 # Reject names that are not valid shell variable names.
2014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2015 as_fn_error $? "invalid feature name: $ac_useropt"
2016 ac_useropt_orig=$ac_useropt
2017 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2018 case $ac_user_opts in
2020 "enable_$ac_useropt"
2021 "*) ;;
2022 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2023 ac_unrecognized_sep=', ';;
2024 esac
2025 eval enable_$ac_useropt=no ;;
2027 -docdir | --docdir | --docdi | --doc | --do)
2028 ac_prev=docdir ;;
2029 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2030 docdir=$ac_optarg ;;
2032 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2033 ac_prev=dvidir ;;
2034 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2035 dvidir=$ac_optarg ;;
2037 -enable-* | --enable-*)
2038 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2039 # Reject names that are not valid shell variable names.
2040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2041 as_fn_error $? "invalid feature name: $ac_useropt"
2042 ac_useropt_orig=$ac_useropt
2043 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2044 case $ac_user_opts in
2046 "enable_$ac_useropt"
2047 "*) ;;
2048 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2049 ac_unrecognized_sep=', ';;
2050 esac
2051 eval enable_$ac_useropt=\$ac_optarg ;;
2053 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2054 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2055 | --exec | --exe | --ex)
2056 ac_prev=exec_prefix ;;
2057 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2058 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2059 | --exec=* | --exe=* | --ex=*)
2060 exec_prefix=$ac_optarg ;;
2062 -gas | --gas | --ga | --g)
2063 # Obsolete; use --with-gas.
2064 with_gas=yes ;;
2066 -help | --help | --hel | --he | -h)
2067 ac_init_help=long ;;
2068 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2069 ac_init_help=recursive ;;
2070 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2071 ac_init_help=short ;;
2073 -host | --host | --hos | --ho)
2074 ac_prev=host_alias ;;
2075 -host=* | --host=* | --hos=* | --ho=*)
2076 host_alias=$ac_optarg ;;
2078 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2079 ac_prev=htmldir ;;
2080 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2081 | --ht=*)
2082 htmldir=$ac_optarg ;;
2084 -includedir | --includedir | --includedi | --included | --include \
2085 | --includ | --inclu | --incl | --inc)
2086 ac_prev=includedir ;;
2087 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2088 | --includ=* | --inclu=* | --incl=* | --inc=*)
2089 includedir=$ac_optarg ;;
2091 -infodir | --infodir | --infodi | --infod | --info | --inf)
2092 ac_prev=infodir ;;
2093 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2094 infodir=$ac_optarg ;;
2096 -libdir | --libdir | --libdi | --libd)
2097 ac_prev=libdir ;;
2098 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2099 libdir=$ac_optarg ;;
2101 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2102 | --libexe | --libex | --libe)
2103 ac_prev=libexecdir ;;
2104 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2105 | --libexe=* | --libex=* | --libe=*)
2106 libexecdir=$ac_optarg ;;
2108 -localedir | --localedir | --localedi | --localed | --locale)
2109 ac_prev=localedir ;;
2110 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2111 localedir=$ac_optarg ;;
2113 -localstatedir | --localstatedir | --localstatedi | --localstated \
2114 | --localstate | --localstat | --localsta | --localst | --locals)
2115 ac_prev=localstatedir ;;
2116 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2117 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2118 localstatedir=$ac_optarg ;;
2120 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2121 ac_prev=mandir ;;
2122 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2123 mandir=$ac_optarg ;;
2125 -nfp | --nfp | --nf)
2126 # Obsolete; use --without-fp.
2127 with_fp=no ;;
2129 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2130 | --no-cr | --no-c | -n)
2131 no_create=yes ;;
2133 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2134 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2135 no_recursion=yes ;;
2137 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2138 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2139 | --oldin | --oldi | --old | --ol | --o)
2140 ac_prev=oldincludedir ;;
2141 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2142 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2143 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2144 oldincludedir=$ac_optarg ;;
2146 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2147 ac_prev=prefix ;;
2148 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2149 prefix=$ac_optarg ;;
2151 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2152 | --program-pre | --program-pr | --program-p)
2153 ac_prev=program_prefix ;;
2154 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2155 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2156 program_prefix=$ac_optarg ;;
2158 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2159 | --program-suf | --program-su | --program-s)
2160 ac_prev=program_suffix ;;
2161 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2162 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2163 program_suffix=$ac_optarg ;;
2165 -program-transform-name | --program-transform-name \
2166 | --program-transform-nam | --program-transform-na \
2167 | --program-transform-n | --program-transform- \
2168 | --program-transform | --program-transfor \
2169 | --program-transfo | --program-transf \
2170 | --program-trans | --program-tran \
2171 | --progr-tra | --program-tr | --program-t)
2172 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
2182 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2183 ac_prev=pdfdir ;;
2184 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2185 pdfdir=$ac_optarg ;;
2187 -psdir | --psdir | --psdi | --psd | --ps)
2188 ac_prev=psdir ;;
2189 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2190 psdir=$ac_optarg ;;
2192 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2193 | -silent | --silent | --silen | --sile | --sil)
2194 silent=yes ;;
2196 -runstatedir | --runstatedir | --runstatedi | --runstated \
2197 | --runstate | --runstat | --runsta | --runst | --runs \
2198 | --run | --ru | --r)
2199 ac_prev=runstatedir ;;
2200 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2201 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2202 | --run=* | --ru=* | --r=*)
2203 runstatedir=$ac_optarg ;;
2205 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2206 ac_prev=sbindir ;;
2207 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2208 | --sbi=* | --sb=*)
2209 sbindir=$ac_optarg ;;
2211 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2212 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2213 | --sharedst | --shareds | --shared | --share | --shar \
2214 | --sha | --sh)
2215 ac_prev=sharedstatedir ;;
2216 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2217 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2218 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2219 | --sha=* | --sh=*)
2220 sharedstatedir=$ac_optarg ;;
2222 -site | --site | --sit)
2223 ac_prev=site ;;
2224 -site=* | --site=* | --sit=*)
2225 site=$ac_optarg ;;
2227 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2228 ac_prev=srcdir ;;
2229 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2230 srcdir=$ac_optarg ;;
2232 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2233 | --syscon | --sysco | --sysc | --sys | --sy)
2234 ac_prev=sysconfdir ;;
2235 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2236 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2237 sysconfdir=$ac_optarg ;;
2239 -target | --target | --targe | --targ | --tar | --ta | --t)
2240 ac_prev=target_alias ;;
2241 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2242 target_alias=$ac_optarg ;;
2244 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2245 verbose=yes ;;
2247 -version | --version | --versio | --versi | --vers | -V)
2248 ac_init_version=: ;;
2250 -with-* | --with-*)
2251 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2252 # Reject names that are not valid shell variable names.
2253 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2254 as_fn_error $? "invalid package name: $ac_useropt"
2255 ac_useropt_orig=$ac_useropt
2256 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2257 case $ac_user_opts in
2259 "with_$ac_useropt"
2260 "*) ;;
2261 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2262 ac_unrecognized_sep=', ';;
2263 esac
2264 eval with_$ac_useropt=\$ac_optarg ;;
2266 -without-* | --without-*)
2267 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2268 # Reject names that are not valid shell variable names.
2269 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2270 as_fn_error $? "invalid package name: $ac_useropt"
2271 ac_useropt_orig=$ac_useropt
2272 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2273 case $ac_user_opts in
2275 "with_$ac_useropt"
2276 "*) ;;
2277 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2278 ac_unrecognized_sep=', ';;
2279 esac
2280 eval with_$ac_useropt=no ;;
2282 --x)
2283 # Obsolete; use --with-x.
2284 with_x=yes ;;
2286 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2287 | --x-incl | --x-inc | --x-in | --x-i)
2288 ac_prev=x_includes ;;
2289 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2290 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2291 x_includes=$ac_optarg ;;
2293 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2294 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2295 ac_prev=x_libraries ;;
2296 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2297 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2298 x_libraries=$ac_optarg ;;
2300 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2301 Try \`$0 --help' for more information"
2304 *=*)
2305 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2306 # Reject names that are not valid shell variable names.
2307 case $ac_envvar in #(
2308 '' | [0-9]* | *[!_$as_cr_alnum]* )
2309 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2310 esac
2311 eval $ac_envvar=\$ac_optarg
2312 export $ac_envvar ;;
2315 # FIXME: should be removed in autoconf 3.0.
2316 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2317 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2318 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2319 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2322 esac
2323 done
2325 if test -n "$ac_prev"; then
2326 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2327 as_fn_error $? "missing argument to $ac_option"
2330 if test -n "$ac_unrecognized_opts"; then
2331 case $enable_option_checking in
2332 no) ;;
2333 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2334 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2335 esac
2338 # Check all directory arguments for consistency.
2339 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2340 datadir sysconfdir sharedstatedir localstatedir includedir \
2341 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2342 libdir localedir mandir runstatedir
2344 eval ac_val=\$$ac_var
2345 # Remove trailing slashes.
2346 case $ac_val in
2347 */ )
2348 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2349 eval $ac_var=\$ac_val;;
2350 esac
2351 # Be sure to have absolute directory names.
2352 case $ac_val in
2353 [\\/$]* | ?:[\\/]* ) continue;;
2354 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2355 esac
2356 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2357 done
2359 # There might be people who depend on the old broken behavior: `$host'
2360 # used to hold the argument of --host etc.
2361 # FIXME: To remove some day.
2362 build=$build_alias
2363 host=$host_alias
2364 target=$target_alias
2366 # FIXME: To remove some day.
2367 if test "x$host_alias" != x; then
2368 if test "x$build_alias" = x; then
2369 cross_compiling=maybe
2370 elif test "x$build_alias" != "x$host_alias"; then
2371 cross_compiling=yes
2375 ac_tool_prefix=
2376 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2378 test "$silent" = yes && exec 6>/dev/null
2381 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2382 ac_ls_di=`ls -di .` &&
2383 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2384 as_fn_error $? "working directory cannot be determined"
2385 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2386 as_fn_error $? "pwd does not report name of working directory"
2389 # Find the source files, if location was not specified.
2390 if test -z "$srcdir"; then
2391 ac_srcdir_defaulted=yes
2392 # Try the directory containing this script, then the parent directory.
2393 ac_confdir=`$as_dirname -- "$as_myself" ||
2394 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2395 X"$as_myself" : 'X\(//\)[^/]' \| \
2396 X"$as_myself" : 'X\(//\)$' \| \
2397 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2398 $as_echo X"$as_myself" |
2399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2400 s//\1/
2403 /^X\(\/\/\)[^/].*/{
2404 s//\1/
2407 /^X\(\/\/\)$/{
2408 s//\1/
2411 /^X\(\/\).*/{
2412 s//\1/
2415 s/.*/./; q'`
2416 srcdir=$ac_confdir
2417 if test ! -r "$srcdir/$ac_unique_file"; then
2418 srcdir=..
2420 else
2421 ac_srcdir_defaulted=no
2423 if test ! -r "$srcdir/$ac_unique_file"; then
2424 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2425 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2427 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2428 ac_abs_confdir=`(
2429 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2430 pwd)`
2431 # When building in place, set srcdir=.
2432 if test "$ac_abs_confdir" = "$ac_pwd"; then
2433 srcdir=.
2435 # Remove unnecessary trailing slashes from srcdir.
2436 # Double slashes in file names in object file debugging info
2437 # mess up M-x gdb in Emacs.
2438 case $srcdir in
2439 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2440 esac
2441 for ac_var in $ac_precious_vars; do
2442 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2443 eval ac_env_${ac_var}_value=\$${ac_var}
2444 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2445 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2446 done
2449 # Report the --help message.
2451 if test "$ac_init_help" = "long"; then
2452 # Omit some internal or obsolete options to make the list less imposing.
2453 # This message is too long to be a string in the A/UX 3.1 sh.
2454 cat <<_ACEOF
2455 \`configure' configures Wine 5.2 to adapt to many kinds of systems.
2457 Usage: $0 [OPTION]... [VAR=VALUE]...
2459 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2460 VAR=VALUE. See below for descriptions of some of the useful variables.
2462 Defaults for the options are specified in brackets.
2464 Configuration:
2465 -h, --help display this help and exit
2466 --help=short display options specific to this package
2467 --help=recursive display the short help of all the included packages
2468 -V, --version display version information and exit
2469 -q, --quiet, --silent do not print \`checking ...' messages
2470 --cache-file=FILE cache test results in FILE [disabled]
2471 -C, --config-cache alias for \`--cache-file=config.cache'
2472 -n, --no-create do not create output files
2473 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2475 Installation directories:
2476 --prefix=PREFIX install architecture-independent files in PREFIX
2477 [$ac_default_prefix]
2478 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2479 [PREFIX]
2481 By default, \`make install' will install all the files in
2482 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2483 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2484 for instance \`--prefix=\$HOME'.
2486 For better control, use the options below.
2488 Fine tuning of the installation directories:
2489 --bindir=DIR user executables [EPREFIX/bin]
2490 --sbindir=DIR system admin executables [EPREFIX/sbin]
2491 --libexecdir=DIR program executables [EPREFIX/libexec]
2492 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2493 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2494 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2495 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2496 --libdir=DIR object code libraries [EPREFIX/lib]
2497 --includedir=DIR C header files [PREFIX/include]
2498 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2499 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2500 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2501 --infodir=DIR info documentation [DATAROOTDIR/info]
2502 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2503 --mandir=DIR man documentation [DATAROOTDIR/man]
2504 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2505 --htmldir=DIR html documentation [DOCDIR]
2506 --dvidir=DIR dvi documentation [DOCDIR]
2507 --pdfdir=DIR pdf documentation [DOCDIR]
2508 --psdir=DIR ps documentation [DOCDIR]
2509 _ACEOF
2511 cat <<\_ACEOF
2513 X features:
2514 --x-includes=DIR X include files are in DIR
2515 --x-libraries=DIR X library files are in DIR
2517 System types:
2518 --build=BUILD configure for building on BUILD [guessed]
2519 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2520 _ACEOF
2523 if test -n "$ac_init_help"; then
2524 case $ac_init_help in
2525 short | recursive ) echo "Configuration of Wine 5.2:";;
2526 esac
2527 cat <<\_ACEOF
2529 Optional Features:
2530 --disable-option-checking ignore unrecognized --enable/--with options
2531 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2532 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2533 --disable-win16 do not include Win16 support
2534 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2535 binaries)
2536 --disable-tests do not build the regression tests
2537 --enable-maintainer-mode
2538 enable maintainer-specific build rules
2539 --disable-largefile omit support for large files
2541 Optional Packages:
2542 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2543 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2544 --without-alsa do not use the Alsa sound support
2545 --without-capi do not use CAPI (ISDN support)
2546 --without-cms do not use CMS (color management support)
2547 --without-coreaudio do not use the CoreAudio sound support
2548 --without-cups do not use CUPS
2549 --without-curses do not use (n)curses
2550 --without-dbus do not use DBus (dynamic device support)
2551 --without-faudio do not use FAudio (XAudio2 support)
2552 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2553 --without-fontconfig do not use fontconfig
2554 --without-freetype do not use the FreeType library
2555 --without-gettext do not use gettext
2556 --with-gettextpo use the GetTextPO library to rebuild po files
2557 --without-gphoto do not use gphoto (Digital Camera support)
2558 --without-glu do not use the GLU library
2559 --without-gnutls do not use GnuTLS (schannel support)
2560 --without-gsm do not use libgsm (GSM 06.10 codec support)
2561 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2562 --without-gstreamer do not use GStreamer (codecs support)
2563 --without-hal do not use HAL (dynamic device support)
2564 --without-inotify do not use inotify (filesystem change notifications)
2565 --without-jpeg do not use JPEG
2566 --without-krb5 do not use krb5 (Kerberos)
2567 --without-ldap do not use LDAP
2568 --without-mingw do not use the MinGW cross-compiler
2569 --without-mpg123 do not use the mpg123 library
2570 --without-netapi do not use the Samba NetAPI library
2571 --without-openal do not use OpenAL
2572 --without-opencl do not use OpenCL
2573 --without-opengl do not use OpenGL
2574 --without-osmesa do not use the OSMesa library
2575 --without-oss do not use the OSS sound support
2576 --without-pcap do not use the Packet Capture library
2577 --without-png do not use PNG
2578 --without-pthread do not use the pthread library
2579 --without-pulse do not use PulseAudio sound support
2580 --without-sane do not use SANE (scanner support)
2581 --without-sdl do not use SDL
2582 --without-tiff do not use TIFF
2583 --without-udev do not use udev (plug and play support)
2584 --without-unwind do not use the libunwind library (exception
2585 handling)
2586 --without-v4l2 do not use v4l2 (video capture)
2587 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2588 --without-vulkan do not use Vulkan
2589 --without-xcomposite do not use the Xcomposite extension
2590 --without-xcursor do not use the Xcursor extension
2591 --without-xfixes do not use Xfixes for clipboard change notifications
2592 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2593 --without-xinput do not use the Xinput extension
2594 --without-xinput2 do not use the Xinput 2 extension
2595 --without-xml do not use XML
2596 --without-xrandr do not use Xrandr (multi-monitor support)
2597 --without-xrender do not use the Xrender extension
2598 --without-xshape do not use the Xshape extension
2599 --without-xshm do not use XShm (shared memory extension)
2600 --without-xslt do not use XSLT
2601 --without-xxf86vm do not use XFree video mode extension
2602 --without-zlib do not use Zlib (data compression)
2603 --with-wine-tools=DIR use Wine tools from directory DIR
2604 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2605 --with-x use the X Window System
2607 Some influential environment variables:
2608 CC C compiler command
2609 CFLAGS C compiler flags
2610 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2611 nonstandard directory <lib dir>
2612 LIBS libraries to pass to the linker, e.g. -l<library>
2613 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2614 you have headers in a nonstandard directory <include dir>
2615 CXX C++ compiler command
2616 CXXFLAGS C++ compiler flags
2617 CPP C preprocessor
2618 OBJC Objective C compiler command
2619 OBJCFLAGS Objective C compiler flags
2620 OBJCPP Objective C preprocessor
2621 XMKMF Path to xmkmf, Makefile generator for X Window System
2622 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2623 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2624 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2625 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2626 INOTIFY_CFLAGS
2627 C compiler flags for libinotify, overriding pkg-config
2628 INOTIFY_LIBS
2629 Linker flags for libinotify, overriding pkg-config
2630 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2631 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2632 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2633 HAL_LIBS Linker flags for hal, overriding pkg-config
2634 GNUTLS_CFLAGS
2635 C compiler flags for gnutls, overriding pkg-config
2636 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2637 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2638 SANE_LIBS Linker flags for libsane, overriding pkg-config
2639 GPHOTO2_CFLAGS
2640 C compiler flags for libgphoto2, overriding pkg-config
2641 GPHOTO2_LIBS
2642 Linker flags for libgphoto2, overriding pkg-config
2643 GPHOTO2_PORT_CFLAGS
2644 C compiler flags for libgphoto2_port, overriding pkg-config
2645 GPHOTO2_PORT_LIBS
2646 Linker flags for libgphoto2_port, overriding pkg-config
2647 LCMS2_CFLAGS
2648 C compiler flags for lcms2, overriding pkg-config
2649 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2650 FREETYPE_CFLAGS
2651 C compiler flags for freetype2, overriding pkg-config
2652 FREETYPE_LIBS
2653 Linker flags for freetype2, overriding pkg-config
2654 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2655 Z_LIBS Linker flags for libz, overriding pkg-config
2656 PULSE_CFLAGS
2657 C compiler flags for libpulse, overriding pkg-config
2658 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2659 GSTREAMER_CFLAGS
2660 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2661 gstreamer-audio-1.0, overriding pkg-config
2662 GSTREAMER_LIBS
2663 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2664 gstreamer-audio-1.0, overriding pkg-config
2665 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2666 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2667 UNWIND_CFLAGS
2668 C compiler flags for libunwind, overriding pkg-config
2669 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2670 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2671 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2672 FAUDIO_CFLAGS
2673 C compiler flags for faudio, overriding pkg-config
2674 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2675 CAPI20_CFLAGS
2676 C compiler flags for capi20, overriding pkg-config
2677 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2678 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2679 CUPS_LIBS Linker flags for cups, overriding pkg-config
2680 FONTCONFIG_CFLAGS
2681 C compiler flags for fontconfig, overriding pkg-config
2682 FONTCONFIG_LIBS
2683 Linker flags for fontconfig, overriding pkg-config
2684 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2685 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2686 GSSAPI_CFLAGS
2687 C compiler flags for krb5-gssapi, overriding pkg-config
2688 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2689 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2690 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2691 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2692 PNG_LIBS Linker flags for libpng, overriding pkg-config
2693 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2694 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2695 MPG123_CFLAGS
2696 C compiler flags for libmpg123, overriding pkg-config
2697 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2698 NETAPI_CFLAGS
2699 C compiler flags for netapi, overriding pkg-config
2700 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2701 VKD3D_CFLAGS
2702 C compiler flags for libvkd3d, overriding pkg-config
2703 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2704 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2705 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2707 Use these variables to override the choices made by `configure' or to help
2708 it to find libraries and programs with nonstandard names/locations.
2710 Report bugs to <wine-devel@winehq.org>.
2711 Wine home page: <https://www.winehq.org>.
2712 _ACEOF
2713 ac_status=$?
2716 if test "$ac_init_help" = "recursive"; then
2717 # If there are subdirs, report their specific --help.
2718 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2719 test -d "$ac_dir" ||
2720 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2721 continue
2722 ac_builddir=.
2724 case "$ac_dir" in
2725 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2727 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2728 # A ".." for each directory in $ac_dir_suffix.
2729 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2730 case $ac_top_builddir_sub in
2731 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2732 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2733 esac ;;
2734 esac
2735 ac_abs_top_builddir=$ac_pwd
2736 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2737 # for backward compatibility:
2738 ac_top_builddir=$ac_top_build_prefix
2740 case $srcdir in
2741 .) # We are building in place.
2742 ac_srcdir=.
2743 ac_top_srcdir=$ac_top_builddir_sub
2744 ac_abs_top_srcdir=$ac_pwd ;;
2745 [\\/]* | ?:[\\/]* ) # Absolute name.
2746 ac_srcdir=$srcdir$ac_dir_suffix;
2747 ac_top_srcdir=$srcdir
2748 ac_abs_top_srcdir=$srcdir ;;
2749 *) # Relative name.
2750 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2751 ac_top_srcdir=$ac_top_build_prefix$srcdir
2752 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2753 esac
2754 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2756 cd "$ac_dir" || { ac_status=$?; continue; }
2757 # Check for guested configure.
2758 if test -f "$ac_srcdir/configure.gnu"; then
2759 echo &&
2760 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2761 elif test -f "$ac_srcdir/configure"; then
2762 echo &&
2763 $SHELL "$ac_srcdir/configure" --help=recursive
2764 else
2765 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2766 fi || ac_status=$?
2767 cd "$ac_pwd" || { ac_status=$?; break; }
2768 done
2771 test -n "$ac_init_help" && exit $ac_status
2772 if $ac_init_version; then
2773 cat <<\_ACEOF
2774 Wine configure 5.2
2775 generated by GNU Autoconf 2.69
2777 Copyright (C) 2012 Free Software Foundation, Inc.
2778 This configure script is free software; the Free Software Foundation
2779 gives unlimited permission to copy, distribute and modify it.
2780 _ACEOF
2781 exit
2784 ## ------------------------ ##
2785 ## Autoconf initialization. ##
2786 ## ------------------------ ##
2788 # ac_fn_c_try_compile LINENO
2789 # --------------------------
2790 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2791 ac_fn_c_try_compile ()
2793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2794 rm -f conftest.$ac_objext
2795 if { { ac_try="$ac_compile"
2796 case "(($ac_try" in
2797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2799 esac
2800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2801 $as_echo "$ac_try_echo"; } >&5
2802 (eval "$ac_compile") 2>conftest.err
2803 ac_status=$?
2804 if test -s conftest.err; then
2805 grep -v '^ *+' conftest.err >conftest.er1
2806 cat conftest.er1 >&5
2807 mv -f conftest.er1 conftest.err
2809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2810 test $ac_status = 0; } && {
2811 test -z "$ac_c_werror_flag" ||
2812 test ! -s conftest.err
2813 } && test -s conftest.$ac_objext; then :
2814 ac_retval=0
2815 else
2816 $as_echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2819 ac_retval=1
2821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2822 as_fn_set_status $ac_retval
2824 } # ac_fn_c_try_compile
2826 # ac_fn_cxx_try_compile LINENO
2827 # ----------------------------
2828 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2829 ac_fn_cxx_try_compile ()
2831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2832 rm -f conftest.$ac_objext
2833 if { { ac_try="$ac_compile"
2834 case "(($ac_try" in
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2837 esac
2838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2839 $as_echo "$ac_try_echo"; } >&5
2840 (eval "$ac_compile") 2>conftest.err
2841 ac_status=$?
2842 if test -s conftest.err; then
2843 grep -v '^ *+' conftest.err >conftest.er1
2844 cat conftest.er1 >&5
2845 mv -f conftest.er1 conftest.err
2847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2848 test $ac_status = 0; } && {
2849 test -z "$ac_cxx_werror_flag" ||
2850 test ! -s conftest.err
2851 } && test -s conftest.$ac_objext; then :
2852 ac_retval=0
2853 else
2854 $as_echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.$ac_ext >&5
2857 ac_retval=1
2859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2860 as_fn_set_status $ac_retval
2862 } # ac_fn_cxx_try_compile
2864 # ac_fn_c_try_link LINENO
2865 # -----------------------
2866 # Try to link conftest.$ac_ext, and return whether this succeeded.
2867 ac_fn_c_try_link ()
2869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2870 rm -f conftest.$ac_objext conftest$ac_exeext
2871 if { { ac_try="$ac_link"
2872 case "(($ac_try" in
2873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2874 *) ac_try_echo=$ac_try;;
2875 esac
2876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2877 $as_echo "$ac_try_echo"; } >&5
2878 (eval "$ac_link") 2>conftest.err
2879 ac_status=$?
2880 if test -s conftest.err; then
2881 grep -v '^ *+' conftest.err >conftest.er1
2882 cat conftest.er1 >&5
2883 mv -f conftest.er1 conftest.err
2885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2886 test $ac_status = 0; } && {
2887 test -z "$ac_c_werror_flag" ||
2888 test ! -s conftest.err
2889 } && test -s conftest$ac_exeext && {
2890 test "$cross_compiling" = yes ||
2891 test -x conftest$ac_exeext
2892 }; then :
2893 ac_retval=0
2894 else
2895 $as_echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.$ac_ext >&5
2898 ac_retval=1
2900 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2901 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2902 # interfere with the next link command; also delete a directory that is
2903 # left behind by Apple's compiler. We do this before executing the actions.
2904 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2905 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2906 as_fn_set_status $ac_retval
2908 } # ac_fn_c_try_link
2910 # ac_fn_c_try_cpp LINENO
2911 # ----------------------
2912 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2913 ac_fn_c_try_cpp ()
2915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2916 if { { ac_try="$ac_cpp conftest.$ac_ext"
2917 case "(($ac_try" in
2918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919 *) ac_try_echo=$ac_try;;
2920 esac
2921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2922 $as_echo "$ac_try_echo"; } >&5
2923 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2924 ac_status=$?
2925 if test -s conftest.err; then
2926 grep -v '^ *+' conftest.err >conftest.er1
2927 cat conftest.er1 >&5
2928 mv -f conftest.er1 conftest.err
2930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2931 test $ac_status = 0; } > conftest.i && {
2932 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2933 test ! -s conftest.err
2934 }; then :
2935 ac_retval=0
2936 else
2937 $as_echo "$as_me: failed program was:" >&5
2938 sed 's/^/| /' conftest.$ac_ext >&5
2940 ac_retval=1
2942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2943 as_fn_set_status $ac_retval
2945 } # ac_fn_c_try_cpp
2947 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2948 # -------------------------------------------------------
2949 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2950 # the include files in INCLUDES and setting the cache variable VAR
2951 # accordingly.
2952 ac_fn_c_check_header_mongrel ()
2954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2955 if eval \${$3+:} false; then :
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2957 $as_echo_n "checking for $2... " >&6; }
2958 if eval \${$3+:} false; then :
2959 $as_echo_n "(cached) " >&6
2961 eval ac_res=\$$3
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2963 $as_echo "$ac_res" >&6; }
2964 else
2965 # Is the header compilable?
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2967 $as_echo_n "checking $2 usability... " >&6; }
2968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2969 /* end confdefs.h. */
2971 #include <$2>
2972 _ACEOF
2973 if ac_fn_c_try_compile "$LINENO"; then :
2974 ac_header_compiler=yes
2975 else
2976 ac_header_compiler=no
2978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2980 $as_echo "$ac_header_compiler" >&6; }
2982 # Is the header present?
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2984 $as_echo_n "checking $2 presence... " >&6; }
2985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h. */
2987 #include <$2>
2988 _ACEOF
2989 if ac_fn_c_try_cpp "$LINENO"; then :
2990 ac_header_preproc=yes
2991 else
2992 ac_header_preproc=no
2994 rm -f conftest.err conftest.i conftest.$ac_ext
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2996 $as_echo "$ac_header_preproc" >&6; }
2998 # So? What about this header?
2999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3000 yes:no: )
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3002 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3004 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3006 no:yes:* )
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3008 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3010 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3012 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3014 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3016 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3017 ( $as_echo "## ------------------------------------ ##
3018 ## Report this to wine-devel@winehq.org ##
3019 ## ------------------------------------ ##"
3020 ) | sed "s/^/$as_me: WARNING: /" >&2
3022 esac
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3024 $as_echo_n "checking for $2... " >&6; }
3025 if eval \${$3+:} false; then :
3026 $as_echo_n "(cached) " >&6
3027 else
3028 eval "$3=\$ac_header_compiler"
3030 eval ac_res=\$$3
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3032 $as_echo "$ac_res" >&6; }
3034 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3036 } # ac_fn_c_check_header_mongrel
3038 # ac_fn_c_try_run LINENO
3039 # ----------------------
3040 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3041 # that executables *can* be run.
3042 ac_fn_c_try_run ()
3044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3045 if { { ac_try="$ac_link"
3046 case "(($ac_try" in
3047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048 *) ac_try_echo=$ac_try;;
3049 esac
3050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3051 $as_echo "$ac_try_echo"; } >&5
3052 (eval "$ac_link") 2>&5
3053 ac_status=$?
3054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3055 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3056 { { case "(($ac_try" in
3057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3058 *) ac_try_echo=$ac_try;;
3059 esac
3060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3061 $as_echo "$ac_try_echo"; } >&5
3062 (eval "$ac_try") 2>&5
3063 ac_status=$?
3064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3065 test $ac_status = 0; }; }; then :
3066 ac_retval=0
3067 else
3068 $as_echo "$as_me: program exited with status $ac_status" >&5
3069 $as_echo "$as_me: failed program was:" >&5
3070 sed 's/^/| /' conftest.$ac_ext >&5
3072 ac_retval=$ac_status
3074 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3076 as_fn_set_status $ac_retval
3078 } # ac_fn_c_try_run
3080 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3081 # -------------------------------------------------------
3082 # Tests whether HEADER exists and can be compiled using the include files in
3083 # INCLUDES, setting the cache variable VAR accordingly.
3084 ac_fn_c_check_header_compile ()
3086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3088 $as_echo_n "checking for $2... " >&6; }
3089 if eval \${$3+:} false; then :
3090 $as_echo_n "(cached) " >&6
3091 else
3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3093 /* end confdefs.h. */
3095 #include <$2>
3096 _ACEOF
3097 if ac_fn_c_try_compile "$LINENO"; then :
3098 eval "$3=yes"
3099 else
3100 eval "$3=no"
3102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104 eval ac_res=\$$3
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3106 $as_echo "$ac_res" >&6; }
3107 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3109 } # ac_fn_c_check_header_compile
3111 # ac_fn_objc_try_compile LINENO
3112 # -----------------------------
3113 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3114 ac_fn_objc_try_compile ()
3116 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3117 rm -f conftest.$ac_objext
3118 if { { ac_try="$ac_compile"
3119 case "(($ac_try" in
3120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121 *) ac_try_echo=$ac_try;;
3122 esac
3123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3124 $as_echo "$ac_try_echo"; } >&5
3125 (eval "$ac_compile") 2>conftest.err
3126 ac_status=$?
3127 if test -s conftest.err; then
3128 grep -v '^ *+' conftest.err >conftest.er1
3129 cat conftest.er1 >&5
3130 mv -f conftest.er1 conftest.err
3132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3133 test $ac_status = 0; } && {
3134 test -z "$ac_objc_werror_flag" ||
3135 test ! -s conftest.err
3136 } && test -s conftest.$ac_objext; then :
3137 ac_retval=0
3138 else
3139 $as_echo "$as_me: failed program was:" >&5
3140 sed 's/^/| /' conftest.$ac_ext >&5
3142 ac_retval=1
3144 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3145 as_fn_set_status $ac_retval
3147 } # ac_fn_objc_try_compile
3149 # ac_fn_objc_try_cpp LINENO
3150 # -------------------------
3151 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3152 ac_fn_objc_try_cpp ()
3154 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3155 if { { ac_try="$ac_cpp conftest.$ac_ext"
3156 case "(($ac_try" in
3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3159 esac
3160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3161 $as_echo "$ac_try_echo"; } >&5
3162 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3163 ac_status=$?
3164 if test -s conftest.err; then
3165 grep -v '^ *+' conftest.err >conftest.er1
3166 cat conftest.er1 >&5
3167 mv -f conftest.er1 conftest.err
3169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3170 test $ac_status = 0; } > conftest.i && {
3171 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3172 test ! -s conftest.err
3173 }; then :
3174 ac_retval=0
3175 else
3176 $as_echo "$as_me: failed program was:" >&5
3177 sed 's/^/| /' conftest.$ac_ext >&5
3179 ac_retval=1
3181 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3182 as_fn_set_status $ac_retval
3184 } # ac_fn_objc_try_cpp
3186 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3187 # ----------------------------------------------------------
3188 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3189 # the include files in INCLUDES and setting the cache variable VAR
3190 # accordingly.
3191 ac_fn_objc_check_header_mongrel ()
3193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3194 if eval \${$3+:} false; then :
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3196 $as_echo_n "checking for $2... " >&6; }
3197 if eval \${$3+:} false; then :
3198 $as_echo_n "(cached) " >&6
3200 eval ac_res=\$$3
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3202 $as_echo "$ac_res" >&6; }
3203 else
3204 # Is the header compilable?
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3206 $as_echo_n "checking $2 usability... " >&6; }
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3210 #include <$2>
3211 _ACEOF
3212 if ac_fn_objc_try_compile "$LINENO"; then :
3213 ac_header_compiler=yes
3214 else
3215 ac_header_compiler=no
3217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3219 $as_echo "$ac_header_compiler" >&6; }
3221 # Is the header present?
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3223 $as_echo_n "checking $2 presence... " >&6; }
3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3226 #include <$2>
3227 _ACEOF
3228 if ac_fn_objc_try_cpp "$LINENO"; then :
3229 ac_header_preproc=yes
3230 else
3231 ac_header_preproc=no
3233 rm -f conftest.err conftest.i conftest.$ac_ext
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3235 $as_echo "$ac_header_preproc" >&6; }
3237 # So? What about this header?
3238 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3239 yes:no: )
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3241 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3243 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3245 no:yes:* )
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3247 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3249 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3251 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3253 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3255 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3256 ( $as_echo "## ------------------------------------ ##
3257 ## Report this to wine-devel@winehq.org ##
3258 ## ------------------------------------ ##"
3259 ) | sed "s/^/$as_me: WARNING: /" >&2
3261 esac
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3263 $as_echo_n "checking for $2... " >&6; }
3264 if eval \${$3+:} false; then :
3265 $as_echo_n "(cached) " >&6
3266 else
3267 eval "$3=\$ac_header_compiler"
3269 eval ac_res=\$$3
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3271 $as_echo "$ac_res" >&6; }
3273 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3275 } # ac_fn_objc_check_header_mongrel
3277 # ac_fn_c_check_func LINENO FUNC VAR
3278 # ----------------------------------
3279 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3280 ac_fn_c_check_func ()
3282 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3284 $as_echo_n "checking for $2... " >&6; }
3285 if eval \${$3+:} false; then :
3286 $as_echo_n "(cached) " >&6
3287 else
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3290 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3292 #define $2 innocuous_$2
3294 /* System header to define __stub macros and hopefully few prototypes,
3295 which can conflict with char $2 (); below.
3296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3297 <limits.h> exists even on freestanding compilers. */
3299 #ifdef __STDC__
3300 # include <limits.h>
3301 #else
3302 # include <assert.h>
3303 #endif
3305 #undef $2
3307 /* Override any GCC internal prototype to avoid an error.
3308 Use char because int might match the return type of a GCC
3309 builtin and then its argument prototype would still apply. */
3310 #ifdef __cplusplus
3311 extern "C"
3312 #endif
3313 char $2 ();
3314 /* The GNU C library defines this for functions which it implements
3315 to always fail with ENOSYS. Some functions are actually named
3316 something starting with __ and the normal name is an alias. */
3317 #if defined __stub_$2 || defined __stub___$2
3318 choke me
3319 #endif
3322 main ()
3324 return $2 ();
3326 return 0;
3328 _ACEOF
3329 if ac_fn_c_try_link "$LINENO"; then :
3330 eval "$3=yes"
3331 else
3332 eval "$3=no"
3334 rm -f core conftest.err conftest.$ac_objext \
3335 conftest$ac_exeext conftest.$ac_ext
3337 eval ac_res=\$$3
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3339 $as_echo "$ac_res" >&6; }
3340 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3342 } # ac_fn_c_check_func
3344 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3345 # ----------------------------------------------------
3346 # Tries to find if the field MEMBER exists in type AGGR, after including
3347 # INCLUDES, setting cache variable VAR accordingly.
3348 ac_fn_c_check_member ()
3350 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3352 $as_echo_n "checking for $2.$3... " >&6; }
3353 if eval \${$4+:} false; then :
3354 $as_echo_n "(cached) " >&6
3355 else
3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3360 main ()
3362 static $2 ac_aggr;
3363 if (ac_aggr.$3)
3364 return 0;
3366 return 0;
3368 _ACEOF
3369 if ac_fn_c_try_compile "$LINENO"; then :
3370 eval "$4=yes"
3371 else
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3376 main ()
3378 static $2 ac_aggr;
3379 if (sizeof ac_aggr.$3)
3380 return 0;
3382 return 0;
3384 _ACEOF
3385 if ac_fn_c_try_compile "$LINENO"; then :
3386 eval "$4=yes"
3387 else
3388 eval "$4=no"
3390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3394 eval ac_res=\$$4
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3396 $as_echo "$ac_res" >&6; }
3397 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3399 } # ac_fn_c_check_member
3401 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3402 # -------------------------------------------
3403 # Tests whether TYPE exists after having included INCLUDES, setting cache
3404 # variable VAR accordingly.
3405 ac_fn_c_check_type ()
3407 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3409 $as_echo_n "checking for $2... " >&6; }
3410 if eval \${$3+:} false; then :
3411 $as_echo_n "(cached) " >&6
3412 else
3413 eval "$3=no"
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3418 main ()
3420 if (sizeof ($2))
3421 return 0;
3423 return 0;
3425 _ACEOF
3426 if ac_fn_c_try_compile "$LINENO"; then :
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3431 main ()
3433 if (sizeof (($2)))
3434 return 0;
3436 return 0;
3438 _ACEOF
3439 if ac_fn_c_try_compile "$LINENO"; then :
3441 else
3442 eval "$3=yes"
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448 eval ac_res=\$$3
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3450 $as_echo "$ac_res" >&6; }
3451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3453 } # ac_fn_c_check_type
3454 cat >config.log <<_ACEOF
3455 This file contains any messages produced by compilers while
3456 running configure, to aid debugging if configure makes a mistake.
3458 It was created by Wine $as_me 5.2, which was
3459 generated by GNU Autoconf 2.69. Invocation command line was
3461 $ $0 $@
3463 _ACEOF
3464 exec 5>>config.log
3466 cat <<_ASUNAME
3467 ## --------- ##
3468 ## Platform. ##
3469 ## --------- ##
3471 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3472 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3473 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3474 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3475 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3477 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3478 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3480 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3481 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3482 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3483 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3484 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3485 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3486 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3488 _ASUNAME
3490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3491 for as_dir in $PATH
3493 IFS=$as_save_IFS
3494 test -z "$as_dir" && as_dir=.
3495 $as_echo "PATH: $as_dir"
3496 done
3497 IFS=$as_save_IFS
3499 } >&5
3501 cat >&5 <<_ACEOF
3504 ## ----------- ##
3505 ## Core tests. ##
3506 ## ----------- ##
3508 _ACEOF
3511 # Keep a trace of the command line.
3512 # Strip out --no-create and --no-recursion so they do not pile up.
3513 # Strip out --silent because we don't want to record it for future runs.
3514 # Also quote any args containing shell meta-characters.
3515 # Make two passes to allow for proper duplicate-argument suppression.
3516 ac_configure_args=
3517 ac_configure_args0=
3518 ac_configure_args1=
3519 ac_must_keep_next=false
3520 for ac_pass in 1 2
3522 for ac_arg
3524 case $ac_arg in
3525 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3527 | -silent | --silent | --silen | --sile | --sil)
3528 continue ;;
3529 *\'*)
3530 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3531 esac
3532 case $ac_pass in
3533 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3535 as_fn_append ac_configure_args1 " '$ac_arg'"
3536 if test $ac_must_keep_next = true; then
3537 ac_must_keep_next=false # Got value, back to normal.
3538 else
3539 case $ac_arg in
3540 *=* | --config-cache | -C | -disable-* | --disable-* \
3541 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3542 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3543 | -with-* | --with-* | -without-* | --without-* | --x)
3544 case "$ac_configure_args0 " in
3545 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3546 esac
3548 -* ) ac_must_keep_next=true ;;
3549 esac
3551 as_fn_append ac_configure_args " '$ac_arg'"
3553 esac
3554 done
3555 done
3556 { ac_configure_args0=; unset ac_configure_args0;}
3557 { ac_configure_args1=; unset ac_configure_args1;}
3559 # When interrupted or exit'd, cleanup temporary files, and complete
3560 # config.log. We remove comments because anyway the quotes in there
3561 # would cause problems or look ugly.
3562 # WARNING: Use '\'' to represent an apostrophe within the trap.
3563 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3564 trap 'exit_status=$?
3565 # Save into config.log some information that might help in debugging.
3567 echo
3569 $as_echo "## ---------------- ##
3570 ## Cache variables. ##
3571 ## ---------------- ##"
3572 echo
3573 # The following way of writing the cache mishandles newlines in values,
3575 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3576 eval ac_val=\$$ac_var
3577 case $ac_val in #(
3578 *${as_nl}*)
3579 case $ac_var in #(
3580 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3581 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3582 esac
3583 case $ac_var in #(
3584 _ | IFS | as_nl) ;; #(
3585 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3586 *) { eval $ac_var=; unset $ac_var;} ;;
3587 esac ;;
3588 esac
3589 done
3590 (set) 2>&1 |
3591 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3592 *${as_nl}ac_space=\ *)
3593 sed -n \
3594 "s/'\''/'\''\\\\'\'''\''/g;
3595 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3596 ;; #(
3598 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3600 esac |
3601 sort
3603 echo
3605 $as_echo "## ----------------- ##
3606 ## Output variables. ##
3607 ## ----------------- ##"
3608 echo
3609 for ac_var in $ac_subst_vars
3611 eval ac_val=\$$ac_var
3612 case $ac_val in
3613 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3614 esac
3615 $as_echo "$ac_var='\''$ac_val'\''"
3616 done | sort
3617 echo
3619 if test -n "$ac_subst_files"; then
3620 $as_echo "## ------------------- ##
3621 ## File substitutions. ##
3622 ## ------------------- ##"
3623 echo
3624 for ac_var in $ac_subst_files
3626 eval ac_val=\$$ac_var
3627 case $ac_val in
3628 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3629 esac
3630 $as_echo "$ac_var='\''$ac_val'\''"
3631 done | sort
3632 echo
3635 if test -s confdefs.h; then
3636 $as_echo "## ----------- ##
3637 ## confdefs.h. ##
3638 ## ----------- ##"
3639 echo
3640 cat confdefs.h
3641 echo
3643 test "$ac_signal" != 0 &&
3644 $as_echo "$as_me: caught signal $ac_signal"
3645 $as_echo "$as_me: exit $exit_status"
3646 } >&5
3647 rm -f core *.core core.conftest.* &&
3648 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3649 exit $exit_status
3651 for ac_signal in 1 2 13 15; do
3652 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3653 done
3654 ac_signal=0
3656 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3657 rm -f -r conftest* confdefs.h
3659 $as_echo "/* confdefs.h */" > confdefs.h
3661 # Predefined preprocessor variables.
3663 cat >>confdefs.h <<_ACEOF
3664 #define PACKAGE_NAME "$PACKAGE_NAME"
3665 _ACEOF
3667 cat >>confdefs.h <<_ACEOF
3668 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3669 _ACEOF
3671 cat >>confdefs.h <<_ACEOF
3672 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3673 _ACEOF
3675 cat >>confdefs.h <<_ACEOF
3676 #define PACKAGE_STRING "$PACKAGE_STRING"
3677 _ACEOF
3679 cat >>confdefs.h <<_ACEOF
3680 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3681 _ACEOF
3683 cat >>confdefs.h <<_ACEOF
3684 #define PACKAGE_URL "$PACKAGE_URL"
3685 _ACEOF
3688 # Let the site file select an alternate cache file if it wants to.
3689 # Prefer an explicitly selected file to automatically selected ones.
3690 ac_site_file1=NONE
3691 ac_site_file2=NONE
3692 if test -n "$CONFIG_SITE"; then
3693 # We do not want a PATH search for config.site.
3694 case $CONFIG_SITE in #((
3695 -*) ac_site_file1=./$CONFIG_SITE;;
3696 */*) ac_site_file1=$CONFIG_SITE;;
3697 *) ac_site_file1=./$CONFIG_SITE;;
3698 esac
3699 elif test "x$prefix" != xNONE; then
3700 ac_site_file1=$prefix/share/config.site
3701 ac_site_file2=$prefix/etc/config.site
3702 else
3703 ac_site_file1=$ac_default_prefix/share/config.site
3704 ac_site_file2=$ac_default_prefix/etc/config.site
3706 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3708 test "x$ac_site_file" = xNONE && continue
3709 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3711 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3712 sed 's/^/| /' "$ac_site_file" >&5
3713 . "$ac_site_file" \
3714 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3716 as_fn_error $? "failed to load site script $ac_site_file
3717 See \`config.log' for more details" "$LINENO" 5; }
3719 done
3721 if test -r "$cache_file"; then
3722 # Some versions of bash will fail to source /dev/null (special files
3723 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3724 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3726 $as_echo "$as_me: loading cache $cache_file" >&6;}
3727 case $cache_file in
3728 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3729 *) . "./$cache_file";;
3730 esac
3732 else
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3734 $as_echo "$as_me: creating cache $cache_file" >&6;}
3735 >$cache_file
3738 # Check that the precious variables saved in the cache have kept the same
3739 # value.
3740 ac_cache_corrupted=false
3741 for ac_var in $ac_precious_vars; do
3742 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3743 eval ac_new_set=\$ac_env_${ac_var}_set
3744 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3745 eval ac_new_val=\$ac_env_${ac_var}_value
3746 case $ac_old_set,$ac_new_set in
3747 set,)
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3749 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3750 ac_cache_corrupted=: ;;
3751 ,set)
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3753 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3754 ac_cache_corrupted=: ;;
3755 ,);;
3757 if test "x$ac_old_val" != "x$ac_new_val"; then
3758 # differences in whitespace do not lead to failure.
3759 ac_old_val_w=`echo x $ac_old_val`
3760 ac_new_val_w=`echo x $ac_new_val`
3761 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3763 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3764 ac_cache_corrupted=:
3765 else
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3767 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3768 eval $ac_var=\$ac_old_val
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3771 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3773 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3774 fi;;
3775 esac
3776 # Pass precious variables to config.status.
3777 if test "$ac_new_set" = set; then
3778 case $ac_new_val in
3779 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3780 *) ac_arg=$ac_var=$ac_new_val ;;
3781 esac
3782 case " $ac_configure_args " in
3783 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3784 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3785 esac
3787 done
3788 if $ac_cache_corrupted; then
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3792 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3793 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3795 ## -------------------- ##
3796 ## Main body of script. ##
3797 ## -------------------- ##
3799 ac_ext=c
3800 ac_cpp='$CPP $CPPFLAGS'
3801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3807 ac_config_headers="$ac_config_headers include/config.h"
3809 ac_aux_dir=
3810 for ac_dir in tools "$srcdir"/tools; do
3811 if test -f "$ac_dir/install-sh"; then
3812 ac_aux_dir=$ac_dir
3813 ac_install_sh="$ac_aux_dir/install-sh -c"
3814 break
3815 elif test -f "$ac_dir/install.sh"; then
3816 ac_aux_dir=$ac_dir
3817 ac_install_sh="$ac_aux_dir/install.sh -c"
3818 break
3819 elif test -f "$ac_dir/shtool"; then
3820 ac_aux_dir=$ac_dir
3821 ac_install_sh="$ac_aux_dir/shtool install -c"
3822 break
3824 done
3825 if test -z "$ac_aux_dir"; then
3826 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3829 # These three variables are undocumented and unsupported,
3830 # and are intended to be withdrawn in a future Autoconf release.
3831 # They can cause serious problems if a builder's source tree is in a directory
3832 # whose full name contains unusual characters.
3833 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3834 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3835 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3839 libwine_version="1.0"
3843 # Check whether --enable-win16 was given.
3844 if test "${enable_win16+set}" = set; then :
3845 enableval=$enable_win16;
3848 # Check whether --enable-win64 was given.
3849 if test "${enable_win64+set}" = set; then :
3850 enableval=$enable_win64;
3853 # Check whether --enable-tests was given.
3854 if test "${enable_tests+set}" = set; then :
3855 enableval=$enable_tests;
3858 # Check whether --enable-maintainer-mode was given.
3859 if test "${enable_maintainer_mode+set}" = set; then :
3860 enableval=$enable_maintainer_mode;
3865 # Check whether --with-alsa was given.
3866 if test "${with_alsa+set}" = set; then :
3867 withval=$with_alsa;
3871 # Check whether --with-capi was given.
3872 if test "${with_capi+set}" = set; then :
3873 withval=$with_capi;
3877 # Check whether --with-cms was given.
3878 if test "${with_cms+set}" = set; then :
3879 withval=$with_cms;
3883 # Check whether --with-coreaudio was given.
3884 if test "${with_coreaudio+set}" = set; then :
3885 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3889 # Check whether --with-cups was given.
3890 if test "${with_cups+set}" = set; then :
3891 withval=$with_cups;
3895 # Check whether --with-curses was given.
3896 if test "${with_curses+set}" = set; then :
3897 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3901 # Check whether --with-dbus was given.
3902 if test "${with_dbus+set}" = set; then :
3903 withval=$with_dbus;
3907 # Check whether --with-faudio was given.
3908 if test "${with_faudio+set}" = set; then :
3909 withval=$with_faudio;
3913 # Check whether --with-float-abi was given.
3914 if test "${with_float_abi+set}" = set; then :
3915 withval=$with_float_abi;
3919 # Check whether --with-fontconfig was given.
3920 if test "${with_fontconfig+set}" = set; then :
3921 withval=$with_fontconfig;
3925 # Check whether --with-freetype was given.
3926 if test "${with_freetype+set}" = set; then :
3927 withval=$with_freetype;
3931 # Check whether --with-gettext was given.
3932 if test "${with_gettext+set}" = set; then :
3933 withval=$with_gettext;
3937 # Check whether --with-gettextpo was given.
3938 if test "${with_gettextpo+set}" = set; then :
3939 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3943 # Check whether --with-gphoto was given.
3944 if test "${with_gphoto+set}" = set; then :
3945 withval=$with_gphoto;
3949 # Check whether --with-glu was given.
3950 if test "${with_glu+set}" = set; then :
3951 withval=$with_glu;
3955 # Check whether --with-gnutls was given.
3956 if test "${with_gnutls+set}" = set; then :
3957 withval=$with_gnutls;
3961 # Check whether --with-gsm was given.
3962 if test "${with_gsm+set}" = set; then :
3963 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3967 # Check whether --with-gssapi was given.
3968 if test "${with_gssapi+set}" = set; then :
3969 withval=$with_gssapi;
3973 # Check whether --with-gstreamer was given.
3974 if test "${with_gstreamer+set}" = set; then :
3975 withval=$with_gstreamer;
3979 # Check whether --with-hal was given.
3980 if test "${with_hal+set}" = set; then :
3981 withval=$with_hal;
3985 # Check whether --with-inotify was given.
3986 if test "${with_inotify+set}" = set; then :
3987 withval=$with_inotify;
3991 # Check whether --with-jpeg was given.
3992 if test "${with_jpeg+set}" = set; then :
3993 withval=$with_jpeg;
3997 # Check whether --with-krb5 was given.
3998 if test "${with_krb5+set}" = set; then :
3999 withval=$with_krb5;
4003 # Check whether --with-ldap was given.
4004 if test "${with_ldap+set}" = set; then :
4005 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4009 # Check whether --with-mingw was given.
4010 if test "${with_mingw+set}" = set; then :
4011 withval=$with_mingw;
4015 # Check whether --with-mpg123 was given.
4016 if test "${with_mpg123+set}" = set; then :
4017 withval=$with_mpg123;
4021 # Check whether --with-netapi was given.
4022 if test "${with_netapi+set}" = set; then :
4023 withval=$with_netapi;
4027 # Check whether --with-openal was given.
4028 if test "${with_openal+set}" = set; then :
4029 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4033 # Check whether --with-opencl was given.
4034 if test "${with_opencl+set}" = set; then :
4035 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4039 # Check whether --with-opengl was given.
4040 if test "${with_opengl+set}" = set; then :
4041 withval=$with_opengl;
4045 # Check whether --with-osmesa was given.
4046 if test "${with_osmesa+set}" = set; then :
4047 withval=$with_osmesa;
4051 # Check whether --with-oss was given.
4052 if test "${with_oss+set}" = set; then :
4053 withval=$with_oss;
4057 # Check whether --with-pcap was given.
4058 if test "${with_pcap+set}" = set; then :
4059 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4063 # Check whether --with-png was given.
4064 if test "${with_png+set}" = set; then :
4065 withval=$with_png;
4069 # Check whether --with-pthread was given.
4070 if test "${with_pthread+set}" = set; then :
4071 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4075 # Check whether --with-pulse was given.
4076 if test "${with_pulse+set}" = set; then :
4077 withval=$with_pulse;
4081 # Check whether --with-sane was given.
4082 if test "${with_sane+set}" = set; then :
4083 withval=$with_sane;
4087 # Check whether --with-sdl was given.
4088 if test "${with_sdl+set}" = set; then :
4089 withval=$with_sdl;
4093 # Check whether --with-tiff was given.
4094 if test "${with_tiff+set}" = set; then :
4095 withval=$with_tiff;
4099 # Check whether --with-udev was given.
4100 if test "${with_udev+set}" = set; then :
4101 withval=$with_udev;
4105 # Check whether --with-unwind was given.
4106 if test "${with_unwind+set}" = set; then :
4107 withval=$with_unwind;
4111 # Check whether --with-v4l2 was given.
4112 if test "${with_v4l2+set}" = set; then :
4113 withval=$with_v4l2;
4117 # Check whether --with-vkd3d was given.
4118 if test "${with_vkd3d+set}" = set; then :
4119 withval=$with_vkd3d;
4123 # Check whether --with-vulkan was given.
4124 if test "${with_vulkan+set}" = set; then :
4125 withval=$with_vulkan;
4129 # Check whether --with-xcomposite was given.
4130 if test "${with_xcomposite+set}" = set; then :
4131 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4135 # Check whether --with-xcursor was given.
4136 if test "${with_xcursor+set}" = set; then :
4137 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4141 # Check whether --with-xfixes was given.
4142 if test "${with_xfixes+set}" = set; then :
4143 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4147 # Check whether --with-xinerama was given.
4148 if test "${with_xinerama+set}" = set; then :
4149 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4153 # Check whether --with-xinput was given.
4154 if test "${with_xinput+set}" = set; then :
4155 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4159 # Check whether --with-xinput2 was given.
4160 if test "${with_xinput2+set}" = set; then :
4161 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4165 # Check whether --with-xml was given.
4166 if test "${with_xml+set}" = set; then :
4167 withval=$with_xml;
4171 # Check whether --with-xrandr was given.
4172 if test "${with_xrandr+set}" = set; then :
4173 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4177 # Check whether --with-xrender was given.
4178 if test "${with_xrender+set}" = set; then :
4179 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4183 # Check whether --with-xshape was given.
4184 if test "${with_xshape+set}" = set; then :
4185 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4189 # Check whether --with-xshm was given.
4190 if test "${with_xshm+set}" = set; then :
4191 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4195 # Check whether --with-xslt was given.
4196 if test "${with_xslt+set}" = set; then :
4197 withval=$with_xslt;
4201 # Check whether --with-xxf86vm was given.
4202 if test "${with_xxf86vm+set}" = set; then :
4203 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
4207 # Check whether --with-zlib was given.
4208 if test "${with_zlib+set}" = set; then :
4209 withval=$with_zlib;
4214 # Check whether --with-wine-tools was given.
4215 if test "${with_wine_tools+set}" = set; then :
4216 withval=$with_wine_tools;
4220 # Check whether --with-wine64 was given.
4221 if test "${with_wine64+set}" = set; then :
4222 withval=$with_wine64;
4226 # Make sure we can run config.sub.
4227 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4228 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4231 $as_echo_n "checking build system type... " >&6; }
4232 if ${ac_cv_build+:} false; then :
4233 $as_echo_n "(cached) " >&6
4234 else
4235 ac_build_alias=$build_alias
4236 test "x$ac_build_alias" = x &&
4237 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4238 test "x$ac_build_alias" = x &&
4239 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4240 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4241 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4245 $as_echo "$ac_cv_build" >&6; }
4246 case $ac_cv_build in
4247 *-*-*) ;;
4248 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4249 esac
4250 build=$ac_cv_build
4251 ac_save_IFS=$IFS; IFS='-'
4252 set x $ac_cv_build
4253 shift
4254 build_cpu=$1
4255 build_vendor=$2
4256 shift; shift
4257 # Remember, the first character of IFS is used to create $*,
4258 # except with old shells:
4259 build_os=$*
4260 IFS=$ac_save_IFS
4261 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4265 $as_echo_n "checking host system type... " >&6; }
4266 if ${ac_cv_host+:} false; then :
4267 $as_echo_n "(cached) " >&6
4268 else
4269 if test "x$host_alias" = x; then
4270 ac_cv_host=$ac_cv_build
4271 else
4272 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4273 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4278 $as_echo "$ac_cv_host" >&6; }
4279 case $ac_cv_host in
4280 *-*-*) ;;
4281 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4282 esac
4283 host=$ac_cv_host
4284 ac_save_IFS=$IFS; IFS='-'
4285 set x $ac_cv_host
4286 shift
4287 host_cpu=$1
4288 host_vendor=$2
4289 shift; shift
4290 # Remember, the first character of IFS is used to create $*,
4291 # except with old shells:
4292 host_os=$*
4293 IFS=$ac_save_IFS
4294 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4300 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4301 set x ${MAKE-make}
4302 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4303 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4304 $as_echo_n "(cached) " >&6
4305 else
4306 cat >conftest.make <<\_ACEOF
4307 SHELL = /bin/sh
4308 all:
4309 @echo '@@@%%%=$(MAKE)=@@@%%%'
4310 _ACEOF
4311 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4312 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4313 *@@@%%%=?*=@@@%%%*)
4314 eval ac_cv_prog_make_${ac_make}_set=yes;;
4316 eval ac_cv_prog_make_${ac_make}_set=no;;
4317 esac
4318 rm -f conftest.make
4320 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4322 $as_echo "yes" >&6; }
4323 SET_MAKE=
4324 else
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326 $as_echo "no" >&6; }
4327 SET_MAKE="MAKE=${MAKE-make}"
4330 ac_ext=c
4331 ac_cpp='$CPP $CPPFLAGS'
4332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4335 if test -n "$ac_tool_prefix"; then
4336 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4337 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4339 $as_echo_n "checking for $ac_word... " >&6; }
4340 if ${ac_cv_prog_CC+:} false; then :
4341 $as_echo_n "(cached) " >&6
4342 else
4343 if test -n "$CC"; then
4344 ac_cv_prog_CC="$CC" # Let the user override the test.
4345 else
4346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4347 for as_dir in $PATH
4349 IFS=$as_save_IFS
4350 test -z "$as_dir" && as_dir=.
4351 for ac_exec_ext in '' $ac_executable_extensions; do
4352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4353 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4355 break 2
4357 done
4358 done
4359 IFS=$as_save_IFS
4363 CC=$ac_cv_prog_CC
4364 if test -n "$CC"; then
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4366 $as_echo "$CC" >&6; }
4367 else
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4369 $as_echo "no" >&6; }
4374 if test -z "$ac_cv_prog_CC"; then
4375 ac_ct_CC=$CC
4376 # Extract the first word of "gcc", so it can be a program name with args.
4377 set dummy gcc; ac_word=$2
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4379 $as_echo_n "checking for $ac_word... " >&6; }
4380 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4381 $as_echo_n "(cached) " >&6
4382 else
4383 if test -n "$ac_ct_CC"; then
4384 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4385 else
4386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387 for as_dir in $PATH
4389 IFS=$as_save_IFS
4390 test -z "$as_dir" && as_dir=.
4391 for ac_exec_ext in '' $ac_executable_extensions; do
4392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4393 ac_cv_prog_ac_ct_CC="gcc"
4394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4395 break 2
4397 done
4398 done
4399 IFS=$as_save_IFS
4403 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4404 if test -n "$ac_ct_CC"; then
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4406 $as_echo "$ac_ct_CC" >&6; }
4407 else
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4409 $as_echo "no" >&6; }
4412 if test "x$ac_ct_CC" = x; then
4413 CC=""
4414 else
4415 case $cross_compiling:$ac_tool_warned in
4416 yes:)
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4419 ac_tool_warned=yes ;;
4420 esac
4421 CC=$ac_ct_CC
4423 else
4424 CC="$ac_cv_prog_CC"
4427 if test -z "$CC"; then
4428 if test -n "$ac_tool_prefix"; then
4429 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4430 set dummy ${ac_tool_prefix}cc; ac_word=$2
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4432 $as_echo_n "checking for $ac_word... " >&6; }
4433 if ${ac_cv_prog_CC+:} false; then :
4434 $as_echo_n "(cached) " >&6
4435 else
4436 if test -n "$CC"; then
4437 ac_cv_prog_CC="$CC" # Let the user override the test.
4438 else
4439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440 for as_dir in $PATH
4442 IFS=$as_save_IFS
4443 test -z "$as_dir" && as_dir=.
4444 for ac_exec_ext in '' $ac_executable_extensions; do
4445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4446 ac_cv_prog_CC="${ac_tool_prefix}cc"
4447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 break 2
4450 done
4451 done
4452 IFS=$as_save_IFS
4456 CC=$ac_cv_prog_CC
4457 if test -n "$CC"; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4459 $as_echo "$CC" >&6; }
4460 else
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462 $as_echo "no" >&6; }
4468 if test -z "$CC"; then
4469 # Extract the first word of "cc", so it can be a program name with args.
4470 set dummy cc; ac_word=$2
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if ${ac_cv_prog_CC+:} false; then :
4474 $as_echo_n "(cached) " >&6
4475 else
4476 if test -n "$CC"; then
4477 ac_cv_prog_CC="$CC" # Let the user override the test.
4478 else
4479 ac_prog_rejected=no
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH
4483 IFS=$as_save_IFS
4484 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4488 ac_prog_rejected=yes
4489 continue
4491 ac_cv_prog_CC="cc"
4492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 break 2
4495 done
4496 done
4497 IFS=$as_save_IFS
4499 if test $ac_prog_rejected = yes; then
4500 # We found a bogon in the path, so make sure we never use it.
4501 set dummy $ac_cv_prog_CC
4502 shift
4503 if test $# != 0; then
4504 # We chose a different compiler from the bogus one.
4505 # However, it has the same basename, so the bogon will be chosen
4506 # first if we set CC to just the basename; use the full file name.
4507 shift
4508 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4513 CC=$ac_cv_prog_CC
4514 if test -n "$CC"; then
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4516 $as_echo "$CC" >&6; }
4517 else
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4519 $as_echo "no" >&6; }
4524 if test -z "$CC"; then
4525 if test -n "$ac_tool_prefix"; then
4526 for ac_prog in cl.exe
4528 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4529 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4531 $as_echo_n "checking for $ac_word... " >&6; }
4532 if ${ac_cv_prog_CC+:} false; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 if test -n "$CC"; then
4536 ac_cv_prog_CC="$CC" # Let the user override the test.
4537 else
4538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4539 for as_dir in $PATH
4541 IFS=$as_save_IFS
4542 test -z "$as_dir" && as_dir=.
4543 for ac_exec_ext in '' $ac_executable_extensions; do
4544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4545 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4547 break 2
4549 done
4550 done
4551 IFS=$as_save_IFS
4555 CC=$ac_cv_prog_CC
4556 if test -n "$CC"; then
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4558 $as_echo "$CC" >&6; }
4559 else
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4561 $as_echo "no" >&6; }
4565 test -n "$CC" && break
4566 done
4568 if test -z "$CC"; then
4569 ac_ct_CC=$CC
4570 for ac_prog in cl.exe
4572 # Extract the first word of "$ac_prog", so it can be a program name with args.
4573 set dummy $ac_prog; ac_word=$2
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4575 $as_echo_n "checking for $ac_word... " >&6; }
4576 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4577 $as_echo_n "(cached) " >&6
4578 else
4579 if test -n "$ac_ct_CC"; then
4580 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4581 else
4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4583 for as_dir in $PATH
4585 IFS=$as_save_IFS
4586 test -z "$as_dir" && as_dir=.
4587 for ac_exec_ext in '' $ac_executable_extensions; do
4588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4589 ac_cv_prog_ac_ct_CC="$ac_prog"
4590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4591 break 2
4593 done
4594 done
4595 IFS=$as_save_IFS
4599 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4600 if test -n "$ac_ct_CC"; then
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4602 $as_echo "$ac_ct_CC" >&6; }
4603 else
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4605 $as_echo "no" >&6; }
4609 test -n "$ac_ct_CC" && break
4610 done
4612 if test "x$ac_ct_CC" = x; then
4613 CC=""
4614 else
4615 case $cross_compiling:$ac_tool_warned in
4616 yes:)
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4619 ac_tool_warned=yes ;;
4620 esac
4621 CC=$ac_ct_CC
4628 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4630 as_fn_error $? "no acceptable C compiler found in \$PATH
4631 See \`config.log' for more details" "$LINENO" 5; }
4633 # Provide some information about the compiler.
4634 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4635 set X $ac_compile
4636 ac_compiler=$2
4637 for ac_option in --version -v -V -qversion; do
4638 { { ac_try="$ac_compiler $ac_option >&5"
4639 case "(($ac_try" in
4640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4641 *) ac_try_echo=$ac_try;;
4642 esac
4643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4644 $as_echo "$ac_try_echo"; } >&5
4645 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4646 ac_status=$?
4647 if test -s conftest.err; then
4648 sed '10a\
4649 ... rest of stderr output deleted ...
4650 10q' conftest.err >conftest.er1
4651 cat conftest.er1 >&5
4653 rm -f conftest.er1 conftest.err
4654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4655 test $ac_status = 0; }
4656 done
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4662 main ()
4666 return 0;
4668 _ACEOF
4669 ac_clean_files_save=$ac_clean_files
4670 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4671 # Try to create an executable without -o first, disregard a.out.
4672 # It will help us diagnose broken compilers, and finding out an intuition
4673 # of exeext.
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4675 $as_echo_n "checking whether the C compiler works... " >&6; }
4676 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4678 # The possible output files:
4679 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4681 ac_rmfiles=
4682 for ac_file in $ac_files
4684 case $ac_file in
4685 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4686 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4687 esac
4688 done
4689 rm -f $ac_rmfiles
4691 if { { ac_try="$ac_link_default"
4692 case "(($ac_try" in
4693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4694 *) ac_try_echo=$ac_try;;
4695 esac
4696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4697 $as_echo "$ac_try_echo"; } >&5
4698 (eval "$ac_link_default") 2>&5
4699 ac_status=$?
4700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4701 test $ac_status = 0; }; then :
4702 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4703 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4704 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4705 # so that the user can short-circuit this test for compilers unknown to
4706 # Autoconf.
4707 for ac_file in $ac_files ''
4709 test -f "$ac_file" || continue
4710 case $ac_file in
4711 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4713 [ab].out )
4714 # We found the default executable, but exeext='' is most
4715 # certainly right.
4716 break;;
4717 *.* )
4718 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4719 then :; else
4720 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4722 # We set ac_cv_exeext here because the later test for it is not
4723 # safe: cross compilers may not add the suffix if given an `-o'
4724 # argument, so we may need to know it at that point already.
4725 # Even if this section looks crufty: it has the advantage of
4726 # actually working.
4727 break;;
4729 break;;
4730 esac
4731 done
4732 test "$ac_cv_exeext" = no && ac_cv_exeext=
4734 else
4735 ac_file=''
4737 if test -z "$ac_file"; then :
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4740 $as_echo "$as_me: failed program was:" >&5
4741 sed 's/^/| /' conftest.$ac_ext >&5
4743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4745 as_fn_error 77 "C compiler cannot create executables
4746 See \`config.log' for more details" "$LINENO" 5; }
4747 else
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4749 $as_echo "yes" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4752 $as_echo_n "checking for C compiler default output file name... " >&6; }
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4754 $as_echo "$ac_file" >&6; }
4755 ac_exeext=$ac_cv_exeext
4757 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4758 ac_clean_files=$ac_clean_files_save
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4760 $as_echo_n "checking for suffix of executables... " >&6; }
4761 if { { ac_try="$ac_link"
4762 case "(($ac_try" in
4763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4764 *) ac_try_echo=$ac_try;;
4765 esac
4766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4767 $as_echo "$ac_try_echo"; } >&5
4768 (eval "$ac_link") 2>&5
4769 ac_status=$?
4770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4771 test $ac_status = 0; }; then :
4772 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4773 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4774 # work properly (i.e., refer to `conftest.exe'), while it won't with
4775 # `rm'.
4776 for ac_file in conftest.exe conftest conftest.*; do
4777 test -f "$ac_file" || continue
4778 case $ac_file in
4779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4780 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4781 break;;
4782 * ) break;;
4783 esac
4784 done
4785 else
4786 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4788 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4789 See \`config.log' for more details" "$LINENO" 5; }
4791 rm -f conftest conftest$ac_cv_exeext
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4793 $as_echo "$ac_cv_exeext" >&6; }
4795 rm -f conftest.$ac_ext
4796 EXEEXT=$ac_cv_exeext
4797 ac_exeext=$EXEEXT
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4800 #include <stdio.h>
4802 main ()
4804 FILE *f = fopen ("conftest.out", "w");
4805 return ferror (f) || fclose (f) != 0;
4808 return 0;
4810 _ACEOF
4811 ac_clean_files="$ac_clean_files conftest.out"
4812 # Check that the compiler produces executables we can run. If not, either
4813 # the compiler is broken, or we cross compile.
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4815 $as_echo_n "checking whether we are cross compiling... " >&6; }
4816 if test "$cross_compiling" != yes; then
4817 { { ac_try="$ac_link"
4818 case "(($ac_try" in
4819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4820 *) ac_try_echo=$ac_try;;
4821 esac
4822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4823 $as_echo "$ac_try_echo"; } >&5
4824 (eval "$ac_link") 2>&5
4825 ac_status=$?
4826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4827 test $ac_status = 0; }
4828 if { ac_try='./conftest$ac_cv_exeext'
4829 { { case "(($ac_try" in
4830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4831 *) ac_try_echo=$ac_try;;
4832 esac
4833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4834 $as_echo "$ac_try_echo"; } >&5
4835 (eval "$ac_try") 2>&5
4836 ac_status=$?
4837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4838 test $ac_status = 0; }; }; then
4839 cross_compiling=no
4840 else
4841 if test "$cross_compiling" = maybe; then
4842 cross_compiling=yes
4843 else
4844 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4846 as_fn_error $? "cannot run C compiled programs.
4847 If you meant to cross compile, use \`--host'.
4848 See \`config.log' for more details" "$LINENO" 5; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4853 $as_echo "$cross_compiling" >&6; }
4855 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4856 ac_clean_files=$ac_clean_files_save
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4858 $as_echo_n "checking for suffix of object files... " >&6; }
4859 if ${ac_cv_objext+:} false; then :
4860 $as_echo_n "(cached) " >&6
4861 else
4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4866 main ()
4870 return 0;
4872 _ACEOF
4873 rm -f conftest.o conftest.obj
4874 if { { ac_try="$ac_compile"
4875 case "(($ac_try" in
4876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4877 *) ac_try_echo=$ac_try;;
4878 esac
4879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4880 $as_echo "$ac_try_echo"; } >&5
4881 (eval "$ac_compile") 2>&5
4882 ac_status=$?
4883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4884 test $ac_status = 0; }; then :
4885 for ac_file in conftest.o conftest.obj conftest.*; do
4886 test -f "$ac_file" || continue;
4887 case $ac_file in
4888 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4889 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4890 break;;
4891 esac
4892 done
4893 else
4894 $as_echo "$as_me: failed program was:" >&5
4895 sed 's/^/| /' conftest.$ac_ext >&5
4897 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4899 as_fn_error $? "cannot compute suffix of object files: cannot compile
4900 See \`config.log' for more details" "$LINENO" 5; }
4902 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4905 $as_echo "$ac_cv_objext" >&6; }
4906 OBJEXT=$ac_cv_objext
4907 ac_objext=$OBJEXT
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4909 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4910 if ${ac_cv_c_compiler_gnu+:} false; then :
4911 $as_echo_n "(cached) " >&6
4912 else
4913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h. */
4917 main ()
4919 #ifndef __GNUC__
4920 choke me
4921 #endif
4924 return 0;
4926 _ACEOF
4927 if ac_fn_c_try_compile "$LINENO"; then :
4928 ac_compiler_gnu=yes
4929 else
4930 ac_compiler_gnu=no
4932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4933 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4937 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4938 if test $ac_compiler_gnu = yes; then
4939 GCC=yes
4940 else
4941 GCC=
4943 ac_test_CFLAGS=${CFLAGS+set}
4944 ac_save_CFLAGS=$CFLAGS
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4946 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4947 if ${ac_cv_prog_cc_g+:} false; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 ac_save_c_werror_flag=$ac_c_werror_flag
4951 ac_c_werror_flag=yes
4952 ac_cv_prog_cc_g=no
4953 CFLAGS="-g"
4954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4958 main ()
4962 return 0;
4964 _ACEOF
4965 if ac_fn_c_try_compile "$LINENO"; then :
4966 ac_cv_prog_cc_g=yes
4967 else
4968 CFLAGS=""
4969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4973 main ()
4977 return 0;
4979 _ACEOF
4980 if ac_fn_c_try_compile "$LINENO"; then :
4982 else
4983 ac_c_werror_flag=$ac_save_c_werror_flag
4984 CFLAGS="-g"
4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4986 /* end confdefs.h. */
4989 main ()
4993 return 0;
4995 _ACEOF
4996 if ac_fn_c_try_compile "$LINENO"; then :
4997 ac_cv_prog_cc_g=yes
4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5004 ac_c_werror_flag=$ac_save_c_werror_flag
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5007 $as_echo "$ac_cv_prog_cc_g" >&6; }
5008 if test "$ac_test_CFLAGS" = set; then
5009 CFLAGS=$ac_save_CFLAGS
5010 elif test $ac_cv_prog_cc_g = yes; then
5011 if test "$GCC" = yes; then
5012 CFLAGS="-g -O2"
5013 else
5014 CFLAGS="-g"
5016 else
5017 if test "$GCC" = yes; then
5018 CFLAGS="-O2"
5019 else
5020 CFLAGS=
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5024 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5025 if ${ac_cv_prog_cc_c89+:} false; then :
5026 $as_echo_n "(cached) " >&6
5027 else
5028 ac_cv_prog_cc_c89=no
5029 ac_save_CC=$CC
5030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5031 /* end confdefs.h. */
5032 #include <stdarg.h>
5033 #include <stdio.h>
5034 struct stat;
5035 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5036 struct buf { int x; };
5037 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5038 static char *e (p, i)
5039 char **p;
5040 int i;
5042 return p[i];
5044 static char *f (char * (*g) (char **, int), char **p, ...)
5046 char *s;
5047 va_list v;
5048 va_start (v,p);
5049 s = g (p, va_arg (v,int));
5050 va_end (v);
5051 return s;
5054 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5055 function prototypes and stuff, but not '\xHH' hex character constants.
5056 These don't provoke an error unfortunately, instead are silently treated
5057 as 'x'. The following induces an error, until -std is added to get
5058 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5059 array size at least. It's necessary to write '\x00'==0 to get something
5060 that's true only with -std. */
5061 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5063 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5064 inside strings and character constants. */
5065 #define FOO(x) 'x'
5066 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5068 int test (int i, double x);
5069 struct s1 {int (*f) (int a);};
5070 struct s2 {int (*f) (double a);};
5071 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5072 int argc;
5073 char **argv;
5075 main ()
5077 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5079 return 0;
5081 _ACEOF
5082 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5083 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5085 CC="$ac_save_CC $ac_arg"
5086 if ac_fn_c_try_compile "$LINENO"; then :
5087 ac_cv_prog_cc_c89=$ac_arg
5089 rm -f core conftest.err conftest.$ac_objext
5090 test "x$ac_cv_prog_cc_c89" != "xno" && break
5091 done
5092 rm -f conftest.$ac_ext
5093 CC=$ac_save_CC
5096 # AC_CACHE_VAL
5097 case "x$ac_cv_prog_cc_c89" in
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5100 $as_echo "none needed" >&6; } ;;
5101 xno)
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5103 $as_echo "unsupported" >&6; } ;;
5105 CC="$CC $ac_cv_prog_cc_c89"
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5107 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5108 esac
5109 if test "x$ac_cv_prog_cc_c89" != xno; then :
5113 ac_ext=c
5114 ac_cpp='$CPP $CPPFLAGS'
5115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5119 ac_ext=cpp
5120 ac_cpp='$CXXCPP $CPPFLAGS'
5121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5124 if test -z "$CXX"; then
5125 if test -n "$CCC"; then
5126 CXX=$CCC
5127 else
5128 if test -n "$ac_tool_prefix"; then
5129 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_CXX+:} false; then :
5136 $as_echo_n "(cached) " >&6
5137 else
5138 if test -n "$CXX"; then
5139 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5140 else
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142 for as_dir in $PATH
5144 IFS=$as_save_IFS
5145 test -z "$as_dir" && as_dir=.
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 break 2
5152 done
5153 done
5154 IFS=$as_save_IFS
5158 CXX=$ac_cv_prog_CXX
5159 if test -n "$CXX"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5161 $as_echo "$CXX" >&6; }
5162 else
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5168 test -n "$CXX" && break
5169 done
5171 if test -z "$CXX"; then
5172 ac_ct_CXX=$CXX
5173 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5175 # Extract the first word of "$ac_prog", so it can be a program name with args.
5176 set dummy $ac_prog; ac_word=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5180 $as_echo_n "(cached) " >&6
5181 else
5182 if test -n "$ac_ct_CXX"; then
5183 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5184 else
5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5186 for as_dir in $PATH
5188 IFS=$as_save_IFS
5189 test -z "$as_dir" && as_dir=.
5190 for ac_exec_ext in '' $ac_executable_extensions; do
5191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5192 ac_cv_prog_ac_ct_CXX="$ac_prog"
5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5194 break 2
5196 done
5197 done
5198 IFS=$as_save_IFS
5202 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5203 if test -n "$ac_ct_CXX"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5205 $as_echo "$ac_ct_CXX" >&6; }
5206 else
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5212 test -n "$ac_ct_CXX" && break
5213 done
5215 if test "x$ac_ct_CXX" = x; then
5216 CXX="g++"
5217 else
5218 case $cross_compiling:$ac_tool_warned in
5219 yes:)
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5222 ac_tool_warned=yes ;;
5223 esac
5224 CXX=$ac_ct_CXX
5230 # Provide some information about the compiler.
5231 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5232 set X $ac_compile
5233 ac_compiler=$2
5234 for ac_option in --version -v -V -qversion; do
5235 { { ac_try="$ac_compiler $ac_option >&5"
5236 case "(($ac_try" in
5237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5238 *) ac_try_echo=$ac_try;;
5239 esac
5240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5241 $as_echo "$ac_try_echo"; } >&5
5242 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5243 ac_status=$?
5244 if test -s conftest.err; then
5245 sed '10a\
5246 ... rest of stderr output deleted ...
5247 10q' conftest.err >conftest.er1
5248 cat conftest.er1 >&5
5250 rm -f conftest.er1 conftest.err
5251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5252 test $ac_status = 0; }
5253 done
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5256 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5257 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5258 $as_echo_n "(cached) " >&6
5259 else
5260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5261 /* end confdefs.h. */
5264 main ()
5266 #ifndef __GNUC__
5267 choke me
5268 #endif
5271 return 0;
5273 _ACEOF
5274 if ac_fn_cxx_try_compile "$LINENO"; then :
5275 ac_compiler_gnu=yes
5276 else
5277 ac_compiler_gnu=no
5279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5280 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5284 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5285 if test $ac_compiler_gnu = yes; then
5286 GXX=yes
5287 else
5288 GXX=
5290 ac_test_CXXFLAGS=${CXXFLAGS+set}
5291 ac_save_CXXFLAGS=$CXXFLAGS
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5293 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5294 if ${ac_cv_prog_cxx_g+:} false; then :
5295 $as_echo_n "(cached) " >&6
5296 else
5297 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5298 ac_cxx_werror_flag=yes
5299 ac_cv_prog_cxx_g=no
5300 CXXFLAGS="-g"
5301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5302 /* end confdefs.h. */
5305 main ()
5309 return 0;
5311 _ACEOF
5312 if ac_fn_cxx_try_compile "$LINENO"; then :
5313 ac_cv_prog_cxx_g=yes
5314 else
5315 CXXFLAGS=""
5316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5320 main ()
5324 return 0;
5326 _ACEOF
5327 if ac_fn_cxx_try_compile "$LINENO"; then :
5329 else
5330 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5331 CXXFLAGS="-g"
5332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333 /* end confdefs.h. */
5336 main ()
5340 return 0;
5342 _ACEOF
5343 if ac_fn_cxx_try_compile "$LINENO"; then :
5344 ac_cv_prog_cxx_g=yes
5346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5351 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5354 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5355 if test "$ac_test_CXXFLAGS" = set; then
5356 CXXFLAGS=$ac_save_CXXFLAGS
5357 elif test $ac_cv_prog_cxx_g = yes; then
5358 if test "$GXX" = yes; then
5359 CXXFLAGS="-g -O2"
5360 else
5361 CXXFLAGS="-g"
5363 else
5364 if test "$GXX" = yes; then
5365 CXXFLAGS="-O2"
5366 else
5367 CXXFLAGS=
5370 ac_ext=c
5371 ac_cpp='$CPP $CPPFLAGS'
5372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5376 if test -n "$ac_tool_prefix"; then
5377 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5378 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if ${ac_cv_prog_CPPBIN+:} false; then :
5382 $as_echo_n "(cached) " >&6
5383 else
5384 if test -n "$CPPBIN"; then
5385 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5386 else
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 for as_dir in $PATH
5390 IFS=$as_save_IFS
5391 test -z "$as_dir" && as_dir=.
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5394 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 break 2
5398 done
5399 done
5400 IFS=$as_save_IFS
5404 CPPBIN=$ac_cv_prog_CPPBIN
5405 if test -n "$CPPBIN"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5407 $as_echo "$CPPBIN" >&6; }
5408 else
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5415 if test -z "$ac_cv_prog_CPPBIN"; then
5416 ac_ct_CPPBIN=$CPPBIN
5417 # Extract the first word of "cpp", so it can be a program name with args.
5418 set dummy cpp; ac_word=$2
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5420 $as_echo_n "checking for $ac_word... " >&6; }
5421 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 if test -n "$ac_ct_CPPBIN"; then
5425 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5426 else
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 for ac_exec_ext in '' $ac_executable_extensions; do
5433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5434 ac_cv_prog_ac_ct_CPPBIN="cpp"
5435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 break 2
5438 done
5439 done
5440 IFS=$as_save_IFS
5444 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5445 if test -n "$ac_ct_CPPBIN"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5447 $as_echo "$ac_ct_CPPBIN" >&6; }
5448 else
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5453 if test "x$ac_ct_CPPBIN" = x; then
5454 CPPBIN="cpp"
5455 else
5456 case $cross_compiling:$ac_tool_warned in
5457 yes:)
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5460 ac_tool_warned=yes ;;
5461 esac
5462 CPPBIN=$ac_ct_CPPBIN
5464 else
5465 CPPBIN="$ac_cv_prog_CPPBIN"
5469 cat >>confdefs.h <<_ACEOF
5470 #define EXEEXT "$ac_exeext"
5471 _ACEOF
5473 if test -n "$ac_tool_prefix"; then
5474 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5475 set dummy ${ac_tool_prefix}ld; ac_word=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if ${ac_cv_prog_LD+:} false; then :
5479 $as_echo_n "(cached) " >&6
5480 else
5481 if test -n "$LD"; then
5482 ac_cv_prog_LD="$LD" # Let the user override the test.
5483 else
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5491 ac_cv_prog_LD="${ac_tool_prefix}ld"
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 break 2
5495 done
5496 done
5497 IFS=$as_save_IFS
5501 LD=$ac_cv_prog_LD
5502 if test -n "$LD"; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5504 $as_echo "$LD" >&6; }
5505 else
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5512 if test -z "$ac_cv_prog_LD"; then
5513 ac_ct_LD=$LD
5514 # Extract the first word of "ld", so it can be a program name with args.
5515 set dummy ld; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5519 $as_echo_n "(cached) " >&6
5520 else
5521 if test -n "$ac_ct_LD"; then
5522 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5523 else
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 for as_dir in $PATH
5527 IFS=$as_save_IFS
5528 test -z "$as_dir" && as_dir=.
5529 for ac_exec_ext in '' $ac_executable_extensions; do
5530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5531 ac_cv_prog_ac_ct_LD="ld"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533 break 2
5535 done
5536 done
5537 IFS=$as_save_IFS
5541 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5542 if test -n "$ac_ct_LD"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5544 $as_echo "$ac_ct_LD" >&6; }
5545 else
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5550 if test "x$ac_ct_LD" = x; then
5551 LD=""
5552 else
5553 case $cross_compiling:$ac_tool_warned in
5554 yes:)
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5557 ac_tool_warned=yes ;;
5558 esac
5559 LD=$ac_ct_LD
5561 else
5562 LD="$ac_cv_prog_LD"
5566 case $host in
5567 *-darwin*)
5568 with_fontconfig=${with_fontconfig:-no}
5570 *-mingw32*|*-cygwin*)
5571 enable_win16=${enable_win16:-no}
5572 with_mingw=${with_mingw:-no}
5573 CFLAGS="$CFLAGS -D_WIN32"
5575 esac
5577 case $host in
5578 x86_64*|amd64*)
5579 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5580 then
5581 CC="$CC -m32"
5582 CXX="$CXX -m32"
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5585 $as_echo_n "checking whether $CC works... " >&6; }
5586 if ${wine_cv_cc_m32+:} false; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5590 /* end confdefs.h. */
5593 main ()
5597 return 0;
5599 _ACEOF
5600 if ac_fn_c_try_link "$LINENO"; then :
5601 wine_cv_cc_m32=yes
5602 else
5603 wine_cv_cc_m32=no
5605 rm -f core conftest.err conftest.$ac_objext \
5606 conftest$ac_exeext conftest.$ac_ext
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5609 $as_echo "$wine_cv_cc_m32" >&6; }
5610 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
5611 host_cpu="i386"
5612 notice_platform="32-bit "
5613 TARGETFLAGS="-m32"
5615 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5616 export PKG_CONFIG_PATH
5617 enable_win16=${enable_win16:-yes}
5618 with_unwind=${with_unwind:-no}
5619 else
5620 if test "x${GCC}" = "xyes"
5621 then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5623 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5624 if ${wine_cv_builtin_ms_va_list+:} false; then :
5625 $as_echo_n "(cached) " >&6
5626 else
5627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5628 /* end confdefs.h. */
5629 #include <stdarg.h>
5631 main ()
5633 void func(__builtin_ms_va_list *args);
5635 return 0;
5637 _ACEOF
5638 if ac_fn_c_try_compile "$LINENO"; then :
5639 wine_cv_builtin_ms_va_list=yes
5640 else
5641 wine_cv_builtin_ms_va_list=no
5643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5646 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5647 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
5649 CC="$CC -m64"
5650 CXX="$CXX -m64"
5651 host_cpu="x86_64"
5652 notice_platform="64-bit "
5653 TARGETFLAGS="-m64"
5657 arm*)
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5659 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5660 if ${wine_cv_thumb+:} false; then :
5661 $as_echo_n "(cached) " >&6
5662 else
5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5665 int ac_test(int i) { return i; }
5667 main ()
5669 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5671 return 0;
5673 _ACEOF
5674 if ac_fn_c_try_link "$LINENO"; then :
5675 wine_cv_thumb=yes
5676 else
5677 wine_cv_thumb=no
5679 rm -f core conftest.err conftest.$ac_objext \
5680 conftest$ac_exeext conftest.$ac_ext
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5683 $as_echo "$wine_cv_thumb" >&6; }
5684 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5685 case $with_float_abi in
5686 soft|softfp|hard)
5687 float_abi=$with_float_abi ;;
5689 case $host_os in
5690 *eabihf)
5691 float_abi=hard ;;
5693 float_abi=softfp
5694 saved_CFLAGS=$CFLAGS
5695 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5697 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5698 if ${wine_cv_float_abi+:} false; then :
5699 $as_echo_n "(cached) " >&6
5700 else
5701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5702 /* end confdefs.h. */
5705 main ()
5707 asm("vmrs r2,fpscr");
5709 return 0;
5711 _ACEOF
5712 if ac_fn_c_try_link "$LINENO"; then :
5713 wine_cv_float_abi=yes
5714 else
5715 wine_cv_float_abi=no
5717 rm -f core conftest.err conftest.$ac_objext \
5718 conftest$ac_exeext conftest.$ac_ext
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5721 $as_echo "$wine_cv_float_abi" >&6; }
5722 if test $wine_cv_float_abi = no
5723 then
5724 float_abi=soft
5725 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5727 CFLAGS=$saved_CFLAGS
5728 esac
5730 esac
5731 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5732 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5735 aarch64*)
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5737 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5738 if ${wine_cv_builtin_ms_va_list+:} false; then :
5739 $as_echo_n "(cached) " >&6
5740 else
5741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5743 #include <stdarg.h>
5745 main ()
5747 void func(__builtin_ms_va_list *args);
5749 return 0;
5751 _ACEOF
5752 if ac_fn_c_try_compile "$LINENO"; then :
5753 wine_cv_builtin_ms_va_list=yes
5754 else
5755 wine_cv_builtin_ms_va_list=no
5757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5760 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5761 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5763 i[3456789]86*)
5764 enable_win16=${enable_win16:-yes}
5765 with_unwind=${with_unwind:-no}
5767 esac
5769 enable_win16=${enable_win16:-no}
5770 enable_win64=${enable_win64:-no}
5772 enable_winetest=${enable_winetest:-$enable_tests}
5774 if test "x$enable_win64" = "xyes"
5775 then
5776 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5777 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5778 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5782 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5783 if ${wine_cv_toolsdir+:} false; then :
5784 $as_echo_n "(cached) " >&6
5785 else
5786 wine_cv_toolsdir="$with_wine_tools"
5787 if test -z "$with_wine_tools"; then
5788 if test "$cross_compiling" = "yes"; then
5789 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5790 elif test -n "$with_wine64"; then
5791 wine_cv_toolsdir="$with_wine64"
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5796 $as_echo "$wine_cv_toolsdir" >&6; }
5797 if test -z "$wine_cv_toolsdir"; then
5798 wine_makedep=tools/makedep
5799 TOOLSDIR="\$(top_builddir)"
5801 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5802 wine_makedep=$wine_cv_toolsdir/tools/makedep
5803 case "$wine_cv_toolsdir" in
5804 /*) TOOLSDIR=$wine_cv_toolsdir
5806 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5808 esac
5809 enable_tools=${enable_tools:-no}
5810 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5811 else
5812 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5814 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5815 then
5816 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5820 for ac_prog in flex
5822 # Extract the first word of "$ac_prog", so it can be a program name with args.
5823 set dummy $ac_prog; ac_word=$2
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5825 $as_echo_n "checking for $ac_word... " >&6; }
5826 if ${ac_cv_prog_FLEX+:} false; then :
5827 $as_echo_n "(cached) " >&6
5828 else
5829 if test -n "$FLEX"; then
5830 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5831 else
5832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833 for as_dir in $PATH
5835 IFS=$as_save_IFS
5836 test -z "$as_dir" && as_dir=.
5837 for ac_exec_ext in '' $ac_executable_extensions; do
5838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5839 ac_cv_prog_FLEX="$ac_prog"
5840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5841 break 2
5843 done
5844 done
5845 IFS=$as_save_IFS
5849 FLEX=$ac_cv_prog_FLEX
5850 if test -n "$FLEX"; then
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5852 $as_echo "$FLEX" >&6; }
5853 else
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5855 $as_echo "no" >&6; }
5859 test -n "$FLEX" && break
5860 done
5861 test -n "$FLEX" || FLEX="none"
5863 if test "$FLEX" = "none"
5864 then
5865 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5868 $as_echo_n "checking whether flex is recent enough... " >&6; }
5869 if ${wine_cv_recent_flex+:} false; then :
5870 $as_echo_n "(cached) " >&6
5871 else
5872 cat >conftest.l <<EOF
5873 %top{
5874 #include "prediluvian.h"
5878 if $FLEX -t conftest.l >/dev/null 2>&5
5879 then
5880 wine_cv_recent_flex=yes
5881 else
5882 wine_cv_recent_flex=no
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5886 $as_echo "$wine_cv_recent_flex" >&6; }
5887 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
5889 for ac_prog in bison
5891 # Extract the first word of "$ac_prog", so it can be a program name with args.
5892 set dummy $ac_prog; ac_word=$2
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894 $as_echo_n "checking for $ac_word... " >&6; }
5895 if ${ac_cv_prog_BISON+:} false; then :
5896 $as_echo_n "(cached) " >&6
5897 else
5898 if test -n "$BISON"; then
5899 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5900 else
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 for as_dir in $PATH
5904 IFS=$as_save_IFS
5905 test -z "$as_dir" && as_dir=.
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5908 ac_cv_prog_BISON="$ac_prog"
5909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 break 2
5912 done
5913 done
5914 IFS=$as_save_IFS
5918 BISON=$ac_cv_prog_BISON
5919 if test -n "$BISON"; then
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5921 $as_echo "$BISON" >&6; }
5922 else
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924 $as_echo "no" >&6; }
5928 test -n "$BISON" && break
5929 done
5930 test -n "$BISON" || BISON="none"
5932 if test "$BISON" = "none"
5933 then
5934 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5937 $as_echo_n "checking whether bison is recent enough... " >&6; }
5938 if ${wine_cv_recent_bison+:} false; then :
5939 $as_echo_n "(cached) " >&6
5940 else
5941 cat >conftest.y <<EOF
5942 %define parse.error verbose
5944 empty: ;
5946 if $BISON conftest.y >/dev/null 2>&5
5947 then
5948 wine_cv_recent_bison=yes
5949 else
5950 wine_cv_recent_bison=no
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5954 $as_echo "$wine_cv_recent_bison" >&6; }
5955 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
5957 if test -n "$ac_tool_prefix"; then
5958 for ac_prog in ar gar
5960 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5961 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 $as_echo_n "checking for $ac_word... " >&6; }
5964 if ${ac_cv_prog_AR+:} false; then :
5965 $as_echo_n "(cached) " >&6
5966 else
5967 if test -n "$AR"; then
5968 ac_cv_prog_AR="$AR" # Let the user override the test.
5969 else
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 for as_dir in $PATH
5973 IFS=$as_save_IFS
5974 test -z "$as_dir" && as_dir=.
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5977 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5979 break 2
5981 done
5982 done
5983 IFS=$as_save_IFS
5987 AR=$ac_cv_prog_AR
5988 if test -n "$AR"; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5990 $as_echo "$AR" >&6; }
5991 else
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 $as_echo "no" >&6; }
5997 test -n "$AR" && break
5998 done
6000 if test -z "$AR"; then
6001 ac_ct_AR=$AR
6002 for ac_prog in ar gar
6004 # Extract the first word of "$ac_prog", so it can be a program name with args.
6005 set dummy $ac_prog; ac_word=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 if test -n "$ac_ct_AR"; then
6012 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6013 else
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH
6017 IFS=$as_save_IFS
6018 test -z "$as_dir" && as_dir=.
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_ac_ct_AR="$ac_prog"
6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 break 2
6025 done
6026 done
6027 IFS=$as_save_IFS
6031 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6032 if test -n "$ac_ct_AR"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6034 $as_echo "$ac_ct_AR" >&6; }
6035 else
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6041 test -n "$ac_ct_AR" && break
6042 done
6044 if test "x$ac_ct_AR" = x; then
6045 AR="ar"
6046 else
6047 case $cross_compiling:$ac_tool_warned in
6048 yes:)
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6051 ac_tool_warned=yes ;;
6052 esac
6053 AR=$ac_ct_AR
6057 if test -n "$ac_tool_prefix"; then
6058 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6059 set dummy ${ac_tool_prefix}strip; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if ${ac_cv_prog_STRIP+:} false; then :
6063 $as_echo_n "(cached) " >&6
6064 else
6065 if test -n "$STRIP"; then
6066 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6071 IFS=$as_save_IFS
6072 test -z "$as_dir" && as_dir=.
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6075 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 break 2
6079 done
6080 done
6081 IFS=$as_save_IFS
6085 STRIP=$ac_cv_prog_STRIP
6086 if test -n "$STRIP"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6088 $as_echo "$STRIP" >&6; }
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6096 if test -z "$ac_cv_prog_STRIP"; then
6097 ac_ct_STRIP=$STRIP
6098 # Extract the first word of "strip", so it can be a program name with args.
6099 set dummy strip; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6103 $as_echo_n "(cached) " >&6
6104 else
6105 if test -n "$ac_ct_STRIP"; then
6106 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6107 else
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in $PATH
6111 IFS=$as_save_IFS
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_ac_ct_STRIP="strip"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 break 2
6119 done
6120 done
6121 IFS=$as_save_IFS
6125 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6126 if test -n "$ac_ct_STRIP"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6128 $as_echo "$ac_ct_STRIP" >&6; }
6129 else
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6134 if test "x$ac_ct_STRIP" = x; then
6135 STRIP="strip"
6136 else
6137 case $cross_compiling:$ac_tool_warned in
6138 yes:)
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6141 ac_tool_warned=yes ;;
6142 esac
6143 STRIP=$ac_ct_STRIP
6145 else
6146 STRIP="$ac_cv_prog_STRIP"
6149 if test -n "$ac_tool_prefix"; then
6150 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6151 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153 $as_echo_n "checking for $ac_word... " >&6; }
6154 if ${ac_cv_prog_RANLIB+:} false; then :
6155 $as_echo_n "(cached) " >&6
6156 else
6157 if test -n "$RANLIB"; then
6158 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6159 else
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 for as_dir in $PATH
6163 IFS=$as_save_IFS
6164 test -z "$as_dir" && as_dir=.
6165 for ac_exec_ext in '' $ac_executable_extensions; do
6166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6167 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 break 2
6171 done
6172 done
6173 IFS=$as_save_IFS
6177 RANLIB=$ac_cv_prog_RANLIB
6178 if test -n "$RANLIB"; then
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6180 $as_echo "$RANLIB" >&6; }
6181 else
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 $as_echo "no" >&6; }
6188 if test -z "$ac_cv_prog_RANLIB"; then
6189 ac_ct_RANLIB=$RANLIB
6190 # Extract the first word of "ranlib", so it can be a program name with args.
6191 set dummy ranlib; ac_word=$2
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6193 $as_echo_n "checking for $ac_word... " >&6; }
6194 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6195 $as_echo_n "(cached) " >&6
6196 else
6197 if test -n "$ac_ct_RANLIB"; then
6198 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6199 else
6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 for as_dir in $PATH
6203 IFS=$as_save_IFS
6204 test -z "$as_dir" && as_dir=.
6205 for ac_exec_ext in '' $ac_executable_extensions; do
6206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6207 ac_cv_prog_ac_ct_RANLIB="ranlib"
6208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6209 break 2
6211 done
6212 done
6213 IFS=$as_save_IFS
6217 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6218 if test -n "$ac_ct_RANLIB"; then
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6220 $as_echo "$ac_ct_RANLIB" >&6; }
6221 else
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6223 $as_echo "no" >&6; }
6226 if test "x$ac_ct_RANLIB" = x; then
6227 RANLIB=":"
6228 else
6229 case $cross_compiling:$ac_tool_warned in
6230 yes:)
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6233 ac_tool_warned=yes ;;
6234 esac
6235 RANLIB=$ac_ct_RANLIB
6237 else
6238 RANLIB="$ac_cv_prog_RANLIB"
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6242 $as_echo_n "checking whether ln -s works... " >&6; }
6243 LN_S=$as_ln_s
6244 if test "$LN_S" = "ln -s"; then
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6246 $as_echo "yes" >&6; }
6247 else
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6249 $as_echo "no, using $LN_S" >&6; }
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6253 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6254 if ${ac_cv_path_GREP+:} false; then :
6255 $as_echo_n "(cached) " >&6
6256 else
6257 if test -z "$GREP"; then
6258 ac_path_GREP_found=false
6259 # Loop through the user's path and test for each of PROGNAME-LIST
6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6263 IFS=$as_save_IFS
6264 test -z "$as_dir" && as_dir=.
6265 for ac_prog in grep ggrep; do
6266 for ac_exec_ext in '' $ac_executable_extensions; do
6267 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6268 as_fn_executable_p "$ac_path_GREP" || continue
6269 # Check for GNU ac_path_GREP and select it if it is found.
6270 # Check for GNU $ac_path_GREP
6271 case `"$ac_path_GREP" --version 2>&1` in
6272 *GNU*)
6273 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6275 ac_count=0
6276 $as_echo_n 0123456789 >"conftest.in"
6277 while :
6279 cat "conftest.in" "conftest.in" >"conftest.tmp"
6280 mv "conftest.tmp" "conftest.in"
6281 cp "conftest.in" "conftest.nl"
6282 $as_echo 'GREP' >> "conftest.nl"
6283 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6284 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6285 as_fn_arith $ac_count + 1 && ac_count=$as_val
6286 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6287 # Best one so far, save it but keep looking for a better one
6288 ac_cv_path_GREP="$ac_path_GREP"
6289 ac_path_GREP_max=$ac_count
6291 # 10*(2^10) chars as input seems more than enough
6292 test $ac_count -gt 10 && break
6293 done
6294 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6295 esac
6297 $ac_path_GREP_found && break 3
6298 done
6299 done
6300 done
6301 IFS=$as_save_IFS
6302 if test -z "$ac_cv_path_GREP"; then
6303 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6305 else
6306 ac_cv_path_GREP=$GREP
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6311 $as_echo "$ac_cv_path_GREP" >&6; }
6312 GREP="$ac_cv_path_GREP"
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6316 $as_echo_n "checking for egrep... " >&6; }
6317 if ${ac_cv_path_EGREP+:} false; then :
6318 $as_echo_n "(cached) " >&6
6319 else
6320 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6321 then ac_cv_path_EGREP="$GREP -E"
6322 else
6323 if test -z "$EGREP"; then
6324 ac_path_EGREP_found=false
6325 # Loop through the user's path and test for each of PROGNAME-LIST
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6329 IFS=$as_save_IFS
6330 test -z "$as_dir" && as_dir=.
6331 for ac_prog in egrep; do
6332 for ac_exec_ext in '' $ac_executable_extensions; do
6333 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6334 as_fn_executable_p "$ac_path_EGREP" || continue
6335 # Check for GNU ac_path_EGREP and select it if it is found.
6336 # Check for GNU $ac_path_EGREP
6337 case `"$ac_path_EGREP" --version 2>&1` in
6338 *GNU*)
6339 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6341 ac_count=0
6342 $as_echo_n 0123456789 >"conftest.in"
6343 while :
6345 cat "conftest.in" "conftest.in" >"conftest.tmp"
6346 mv "conftest.tmp" "conftest.in"
6347 cp "conftest.in" "conftest.nl"
6348 $as_echo 'EGREP' >> "conftest.nl"
6349 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6350 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6351 as_fn_arith $ac_count + 1 && ac_count=$as_val
6352 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6353 # Best one so far, save it but keep looking for a better one
6354 ac_cv_path_EGREP="$ac_path_EGREP"
6355 ac_path_EGREP_max=$ac_count
6357 # 10*(2^10) chars as input seems more than enough
6358 test $ac_count -gt 10 && break
6359 done
6360 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6361 esac
6363 $ac_path_EGREP_found && break 3
6364 done
6365 done
6366 done
6367 IFS=$as_save_IFS
6368 if test -z "$ac_cv_path_EGREP"; then
6369 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6371 else
6372 ac_cv_path_EGREP=$EGREP
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6378 $as_echo "$ac_cv_path_EGREP" >&6; }
6379 EGREP="$ac_cv_path_EGREP"
6382 # Extract the first word of "ldconfig", so it can be a program name with args.
6383 set dummy ldconfig; ac_word=$2
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6385 $as_echo_n "checking for $ac_word... " >&6; }
6386 if ${ac_cv_path_LDCONFIG+:} false; then :
6387 $as_echo_n "(cached) " >&6
6388 else
6389 case $LDCONFIG in
6390 [\\/]* | ?:[\\/]*)
6391 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6395 for as_dir in /sbin /usr/sbin $PATH
6397 IFS=$as_save_IFS
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6401 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6403 break 2
6405 done
6406 done
6407 IFS=$as_save_IFS
6409 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6411 esac
6413 LDCONFIG=$ac_cv_path_LDCONFIG
6414 if test -n "$LDCONFIG"; then
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6416 $as_echo "$LDCONFIG" >&6; }
6417 else
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6419 $as_echo "no" >&6; }
6423 for ac_prog in msgfmt
6425 # Extract the first word of "$ac_prog", so it can be a program name with args.
6426 set dummy $ac_prog; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if ${ac_cv_prog_MSGFMT+:} false; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 if test -n "$MSGFMT"; then
6433 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6442 ac_cv_prog_MSGFMT="$ac_prog"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 break 2
6446 done
6447 done
6448 IFS=$as_save_IFS
6452 MSGFMT=$ac_cv_prog_MSGFMT
6453 if test -n "$MSGFMT"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6455 $as_echo "$MSGFMT" >&6; }
6456 else
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6462 test -n "$MSGFMT" && break
6463 done
6464 test -n "$MSGFMT" || MSGFMT="false"
6466 if ${ac_tool_prefix+:} false; then :
6467 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6468 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6472 $as_echo_n "(cached) " >&6
6473 else
6474 if test -n "$PKG_CONFIG"; then
6475 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6476 else
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6478 for as_dir in $PATH
6480 IFS=$as_save_IFS
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 break 2
6488 done
6489 done
6490 IFS=$as_save_IFS
6494 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6495 if test -n "$PKG_CONFIG"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6497 $as_echo "$PKG_CONFIG" >&6; }
6498 else
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6505 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6506 if test "x$cross_compiling" = xyes; then :
6508 else
6509 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6510 # Extract the first word of "pkg-config", so it can be a program name with args.
6511 set dummy pkg-config; ac_word=$2
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513 $as_echo_n "checking for $ac_word... " >&6; }
6514 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6515 $as_echo_n "(cached) " >&6
6516 else
6517 if test -n "$PKG_CONFIG"; then
6518 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6519 else
6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 for as_dir in $PATH
6523 IFS=$as_save_IFS
6524 test -z "$as_dir" && as_dir=.
6525 for ac_exec_ext in '' $ac_executable_extensions; do
6526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6527 ac_cv_prog_PKG_CONFIG="pkg-config"
6528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6529 break 2
6531 done
6532 done
6533 IFS=$as_save_IFS
6537 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6538 if test -n "$PKG_CONFIG"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6540 $as_echo "$PKG_CONFIG" >&6; }
6541 else
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6548 else
6549 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6552 if test "x$enable_maintainer_mode" != "xyes"
6553 then
6554 FONTFORGE=""
6555 RSVG=""
6556 CONVERT=""
6557 ICOTOOL=""
6558 else
6559 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6560 for ac_prog in fontforge
6562 # Extract the first word of "$ac_prog", so it can be a program name with args.
6563 set dummy $ac_prog; ac_word=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if ${ac_cv_prog_FONTFORGE+:} false; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 if test -n "$FONTFORGE"; then
6570 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6571 else
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 for as_dir in $PATH
6575 IFS=$as_save_IFS
6576 test -z "$as_dir" && as_dir=.
6577 for ac_exec_ext in '' $ac_executable_extensions; do
6578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6579 ac_cv_prog_FONTFORGE="$ac_prog"
6580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581 break 2
6583 done
6584 done
6585 IFS=$as_save_IFS
6589 FONTFORGE=$ac_cv_prog_FONTFORGE
6590 if test -n "$FONTFORGE"; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6592 $as_echo "$FONTFORGE" >&6; }
6593 else
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6599 test -n "$FONTFORGE" && break
6600 done
6601 test -n "$FONTFORGE" || FONTFORGE="false"
6603 for ac_prog in rsvg-convert rsvg
6605 # Extract the first word of "$ac_prog", so it can be a program name with args.
6606 set dummy $ac_prog; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if ${ac_cv_prog_RSVG+:} false; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 if test -n "$RSVG"; then
6613 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6614 else
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 for as_dir in $PATH
6618 IFS=$as_save_IFS
6619 test -z "$as_dir" && as_dir=.
6620 for ac_exec_ext in '' $ac_executable_extensions; do
6621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6622 ac_cv_prog_RSVG="$ac_prog"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624 break 2
6626 done
6627 done
6628 IFS=$as_save_IFS
6632 RSVG=$ac_cv_prog_RSVG
6633 if test -n "$RSVG"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6635 $as_echo "$RSVG" >&6; }
6636 else
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6642 test -n "$RSVG" && break
6643 done
6644 test -n "$RSVG" || RSVG="false"
6646 for ac_prog in convert
6648 # Extract the first word of "$ac_prog", so it can be a program name with args.
6649 set dummy $ac_prog; ac_word=$2
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 $as_echo_n "checking for $ac_word... " >&6; }
6652 if ${ac_cv_prog_CONVERT+:} false; then :
6653 $as_echo_n "(cached) " >&6
6654 else
6655 if test -n "$CONVERT"; then
6656 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6657 else
6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659 for as_dir in $PATH
6661 IFS=$as_save_IFS
6662 test -z "$as_dir" && as_dir=.
6663 for ac_exec_ext in '' $ac_executable_extensions; do
6664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6665 ac_cv_prog_CONVERT="$ac_prog"
6666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667 break 2
6669 done
6670 done
6671 IFS=$as_save_IFS
6675 CONVERT=$ac_cv_prog_CONVERT
6676 if test -n "$CONVERT"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6678 $as_echo "$CONVERT" >&6; }
6679 else
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6681 $as_echo "no" >&6; }
6685 test -n "$CONVERT" && break
6686 done
6687 test -n "$CONVERT" || CONVERT="false"
6689 for ac_prog in icotool
6691 # Extract the first word of "$ac_prog", so it can be a program name with args.
6692 set dummy $ac_prog; ac_word=$2
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 $as_echo_n "checking for $ac_word... " >&6; }
6695 if ${ac_cv_prog_ICOTOOL+:} false; then :
6696 $as_echo_n "(cached) " >&6
6697 else
6698 if test -n "$ICOTOOL"; then
6699 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6700 else
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702 for as_dir in $PATH
6704 IFS=$as_save_IFS
6705 test -z "$as_dir" && as_dir=.
6706 for ac_exec_ext in '' $ac_executable_extensions; do
6707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6708 ac_cv_prog_ICOTOOL="$ac_prog"
6709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6710 break 2
6712 done
6713 done
6714 IFS=$as_save_IFS
6718 ICOTOOL=$ac_cv_prog_ICOTOOL
6719 if test -n "$ICOTOOL"; then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6721 $as_echo "$ICOTOOL" >&6; }
6722 else
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 $as_echo "no" >&6; }
6728 test -n "$ICOTOOL" && break
6729 done
6730 test -n "$ICOTOOL" || ICOTOOL="false"
6732 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6733 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6735 if test "$CONVERT" = false
6736 then
6737 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6738 else
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6740 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6741 convert_version=`convert --version | head -n1`
6742 if test "x$convert_version" != "x"
6743 then
6744 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6745 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6746 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6747 then
6748 CONVERT=false
6751 if test "$CONVERT" = false
6752 then
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6754 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6755 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6756 else
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6758 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6762 if test "$ICOTOOL" = false
6763 then
6764 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6765 else
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6767 $as_echo_n "checking for recent enough icotool... " >&6; }
6768 icotool_version=`icotool --version | head -n1`
6769 if test "x$icotool_version" != "x"
6770 then
6771 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6772 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6773 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6774 then
6775 ICOTOOL=false
6776 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6779 if test "$ICOTOOL" = false
6780 then
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6782 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6783 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6784 else
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6786 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6790 with_gettext=yes
6791 with_gettextpo=yes
6794 test "x$with_gettext" != xno || MSGFMT=false
6795 if test "$MSGFMT" != "false"
6796 then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6798 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6799 if ${wine_cv_msgfmt_contexts+:} false; then :
6800 $as_echo_n "(cached) " >&6
6801 else
6802 cat >conftest.po <<EOF
6803 # comment
6804 msgctxt "ctxt"
6805 msgid "id"
6806 msgstr "str"
6808 if $MSGFMT -o /dev/null conftest.po 2>&5
6809 then
6810 wine_cv_msgfmt_contexts=yes
6811 else
6812 wine_cv_msgfmt_contexts=no
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6816 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6817 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6819 if test "$MSGFMT" = false; then :
6820 case "x$with_gettext" in
6821 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6822 xno) ;;
6823 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6824 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6825 esac
6826 enable_po=${enable_po:-no}
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6831 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6832 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6833 $as_echo_n "(cached) " >&6
6834 else
6835 ac_check_lib_save_LIBS=$LIBS
6836 LIBS="-li386 $LIBS"
6837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6838 /* end confdefs.h. */
6840 /* Override any GCC internal prototype to avoid an error.
6841 Use char because int might match the return type of a GCC
6842 builtin and then its argument prototype would still apply. */
6843 #ifdef __cplusplus
6844 extern "C"
6845 #endif
6846 char i386_set_ldt ();
6848 main ()
6850 return i386_set_ldt ();
6852 return 0;
6854 _ACEOF
6855 if ac_fn_c_try_link "$LINENO"; then :
6856 ac_cv_lib_i386_i386_set_ldt=yes
6857 else
6858 ac_cv_lib_i386_i386_set_ldt=no
6860 rm -f core conftest.err conftest.$ac_objext \
6861 conftest$ac_exeext conftest.$ac_ext
6862 LIBS=$ac_check_lib_save_LIBS
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6865 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6866 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6867 I386_LIBS="-li386"
6872 OPENGL_LIBS=""
6876 # Check whether --enable-largefile was given.
6877 if test "${enable_largefile+set}" = set; then :
6878 enableval=$enable_largefile;
6881 if test "$enable_largefile" != no; then
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6884 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6885 if ${ac_cv_sys_largefile_CC+:} false; then :
6886 $as_echo_n "(cached) " >&6
6887 else
6888 ac_cv_sys_largefile_CC=no
6889 if test "$GCC" != yes; then
6890 ac_save_CC=$CC
6891 while :; do
6892 # IRIX 6.2 and later do not support large files by default,
6893 # so use the C compiler's -n32 option if that helps.
6894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6895 /* end confdefs.h. */
6896 #include <sys/types.h>
6897 /* Check that off_t can represent 2**63 - 1 correctly.
6898 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6899 since some C++ compilers masquerading as C compilers
6900 incorrectly reject 9223372036854775807. */
6901 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6902 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6903 && LARGE_OFF_T % 2147483647 == 1)
6904 ? 1 : -1];
6906 main ()
6910 return 0;
6912 _ACEOF
6913 if ac_fn_c_try_compile "$LINENO"; then :
6914 break
6916 rm -f core conftest.err conftest.$ac_objext
6917 CC="$CC -n32"
6918 if ac_fn_c_try_compile "$LINENO"; then :
6919 ac_cv_sys_largefile_CC=' -n32'; break
6921 rm -f core conftest.err conftest.$ac_objext
6922 break
6923 done
6924 CC=$ac_save_CC
6925 rm -f conftest.$ac_ext
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6929 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6930 if test "$ac_cv_sys_largefile_CC" != no; then
6931 CC=$CC$ac_cv_sys_largefile_CC
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6935 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6936 if ${ac_cv_sys_file_offset_bits+:} false; then :
6937 $as_echo_n "(cached) " >&6
6938 else
6939 while :; do
6940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6941 /* end confdefs.h. */
6942 #include <sys/types.h>
6943 /* Check that off_t can represent 2**63 - 1 correctly.
6944 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6945 since some C++ compilers masquerading as C compilers
6946 incorrectly reject 9223372036854775807. */
6947 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6948 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6949 && LARGE_OFF_T % 2147483647 == 1)
6950 ? 1 : -1];
6952 main ()
6956 return 0;
6958 _ACEOF
6959 if ac_fn_c_try_compile "$LINENO"; then :
6960 ac_cv_sys_file_offset_bits=no; break
6962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6965 #define _FILE_OFFSET_BITS 64
6966 #include <sys/types.h>
6967 /* Check that off_t can represent 2**63 - 1 correctly.
6968 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6969 since some C++ compilers masquerading as C compilers
6970 incorrectly reject 9223372036854775807. */
6971 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6972 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6973 && LARGE_OFF_T % 2147483647 == 1)
6974 ? 1 : -1];
6976 main ()
6980 return 0;
6982 _ACEOF
6983 if ac_fn_c_try_compile "$LINENO"; then :
6984 ac_cv_sys_file_offset_bits=64; break
6986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6987 ac_cv_sys_file_offset_bits=unknown
6988 break
6989 done
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6992 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6993 case $ac_cv_sys_file_offset_bits in #(
6994 no | unknown) ;;
6996 cat >>confdefs.h <<_ACEOF
6997 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6998 _ACEOF
7000 esac
7001 rm -rf conftest*
7002 if test $ac_cv_sys_file_offset_bits = unknown; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7004 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7005 if ${ac_cv_sys_large_files+:} false; then :
7006 $as_echo_n "(cached) " >&6
7007 else
7008 while :; do
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010 /* end confdefs.h. */
7011 #include <sys/types.h>
7012 /* Check that off_t can represent 2**63 - 1 correctly.
7013 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7014 since some C++ compilers masquerading as C compilers
7015 incorrectly reject 9223372036854775807. */
7016 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7017 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7018 && LARGE_OFF_T % 2147483647 == 1)
7019 ? 1 : -1];
7021 main ()
7025 return 0;
7027 _ACEOF
7028 if ac_fn_c_try_compile "$LINENO"; then :
7029 ac_cv_sys_large_files=no; break
7031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7033 /* end confdefs.h. */
7034 #define _LARGE_FILES 1
7035 #include <sys/types.h>
7036 /* Check that off_t can represent 2**63 - 1 correctly.
7037 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7038 since some C++ compilers masquerading as C compilers
7039 incorrectly reject 9223372036854775807. */
7040 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7041 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7042 && LARGE_OFF_T % 2147483647 == 1)
7043 ? 1 : -1];
7045 main ()
7049 return 0;
7051 _ACEOF
7052 if ac_fn_c_try_compile "$LINENO"; then :
7053 ac_cv_sys_large_files=1; break
7055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7056 ac_cv_sys_large_files=unknown
7057 break
7058 done
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7061 $as_echo "$ac_cv_sys_large_files" >&6; }
7062 case $ac_cv_sys_large_files in #(
7063 no | unknown) ;;
7065 cat >>confdefs.h <<_ACEOF
7066 #define _LARGE_FILES $ac_cv_sys_large_files
7067 _ACEOF
7069 esac
7070 rm -rf conftest*
7077 ac_ext=c
7078 ac_cpp='$CPP $CPPFLAGS'
7079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7083 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7084 # On Suns, sometimes $CPP names a directory.
7085 if test -n "$CPP" && test -d "$CPP"; then
7086 CPP=
7088 if test -z "$CPP"; then
7089 if ${ac_cv_prog_CPP+:} false; then :
7090 $as_echo_n "(cached) " >&6
7091 else
7092 # Double quotes because CPP needs to be expanded
7093 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7095 ac_preproc_ok=false
7096 for ac_c_preproc_warn_flag in '' yes
7098 # Use a header file that comes with gcc, so configuring glibc
7099 # with a fresh cross-compiler works.
7100 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7101 # <limits.h> exists even on freestanding compilers.
7102 # On the NeXT, cc -E runs the code through the compiler's parser,
7103 # not just through cpp. "Syntax error" is here to catch this case.
7104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7105 /* end confdefs.h. */
7106 #ifdef __STDC__
7107 # include <limits.h>
7108 #else
7109 # include <assert.h>
7110 #endif
7111 Syntax error
7112 _ACEOF
7113 if ac_fn_c_try_cpp "$LINENO"; then :
7115 else
7116 # Broken: fails on valid input.
7117 continue
7119 rm -f conftest.err conftest.i conftest.$ac_ext
7121 # OK, works on sane cases. Now check whether nonexistent headers
7122 # can be detected and how.
7123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7124 /* end confdefs.h. */
7125 #include <ac_nonexistent.h>
7126 _ACEOF
7127 if ac_fn_c_try_cpp "$LINENO"; then :
7128 # Broken: success on invalid input.
7129 continue
7130 else
7131 # Passes both tests.
7132 ac_preproc_ok=:
7133 break
7135 rm -f conftest.err conftest.i conftest.$ac_ext
7137 done
7138 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7139 rm -f conftest.i conftest.err conftest.$ac_ext
7140 if $ac_preproc_ok; then :
7141 break
7144 done
7145 ac_cv_prog_CPP=$CPP
7148 CPP=$ac_cv_prog_CPP
7149 else
7150 ac_cv_prog_CPP=$CPP
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7153 $as_echo "$CPP" >&6; }
7154 ac_preproc_ok=false
7155 for ac_c_preproc_warn_flag in '' yes
7157 # Use a header file that comes with gcc, so configuring glibc
7158 # with a fresh cross-compiler works.
7159 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7160 # <limits.h> exists even on freestanding compilers.
7161 # On the NeXT, cc -E runs the code through the compiler's parser,
7162 # not just through cpp. "Syntax error" is here to catch this case.
7163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7164 /* end confdefs.h. */
7165 #ifdef __STDC__
7166 # include <limits.h>
7167 #else
7168 # include <assert.h>
7169 #endif
7170 Syntax error
7171 _ACEOF
7172 if ac_fn_c_try_cpp "$LINENO"; then :
7174 else
7175 # Broken: fails on valid input.
7176 continue
7178 rm -f conftest.err conftest.i conftest.$ac_ext
7180 # OK, works on sane cases. Now check whether nonexistent headers
7181 # can be detected and how.
7182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7183 /* end confdefs.h. */
7184 #include <ac_nonexistent.h>
7185 _ACEOF
7186 if ac_fn_c_try_cpp "$LINENO"; then :
7187 # Broken: success on invalid input.
7188 continue
7189 else
7190 # Passes both tests.
7191 ac_preproc_ok=:
7192 break
7194 rm -f conftest.err conftest.i conftest.$ac_ext
7196 done
7197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7198 rm -f conftest.i conftest.err conftest.$ac_ext
7199 if $ac_preproc_ok; then :
7201 else
7202 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7204 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7205 See \`config.log' for more details" "$LINENO" 5; }
7208 ac_ext=c
7209 ac_cpp='$CPP $CPPFLAGS'
7210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7216 $as_echo_n "checking for ANSI C header files... " >&6; }
7217 if ${ac_cv_header_stdc+:} false; then :
7218 $as_echo_n "(cached) " >&6
7219 else
7220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7221 /* end confdefs.h. */
7222 #include <stdlib.h>
7223 #include <stdarg.h>
7224 #include <string.h>
7225 #include <float.h>
7228 main ()
7232 return 0;
7234 _ACEOF
7235 if ac_fn_c_try_compile "$LINENO"; then :
7236 ac_cv_header_stdc=yes
7237 else
7238 ac_cv_header_stdc=no
7240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7242 if test $ac_cv_header_stdc = yes; then
7243 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245 /* end confdefs.h. */
7246 #include <string.h>
7248 _ACEOF
7249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7250 $EGREP "memchr" >/dev/null 2>&1; then :
7252 else
7253 ac_cv_header_stdc=no
7255 rm -f conftest*
7259 if test $ac_cv_header_stdc = yes; then
7260 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7262 /* end confdefs.h. */
7263 #include <stdlib.h>
7265 _ACEOF
7266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7267 $EGREP "free" >/dev/null 2>&1; then :
7269 else
7270 ac_cv_header_stdc=no
7272 rm -f conftest*
7276 if test $ac_cv_header_stdc = yes; then
7277 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7278 if test "$cross_compiling" = yes; then :
7280 else
7281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7282 /* end confdefs.h. */
7283 #include <ctype.h>
7284 #include <stdlib.h>
7285 #if ((' ' & 0x0FF) == 0x020)
7286 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7287 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7288 #else
7289 # define ISLOWER(c) \
7290 (('a' <= (c) && (c) <= 'i') \
7291 || ('j' <= (c) && (c) <= 'r') \
7292 || ('s' <= (c) && (c) <= 'z'))
7293 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7294 #endif
7296 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7298 main ()
7300 int i;
7301 for (i = 0; i < 256; i++)
7302 if (XOR (islower (i), ISLOWER (i))
7303 || toupper (i) != TOUPPER (i))
7304 return 2;
7305 return 0;
7307 _ACEOF
7308 if ac_fn_c_try_run "$LINENO"; then :
7310 else
7311 ac_cv_header_stdc=no
7313 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7314 conftest.$ac_objext conftest.beam conftest.$ac_ext
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7320 $as_echo "$ac_cv_header_stdc" >&6; }
7321 if test $ac_cv_header_stdc = yes; then
7323 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7327 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7328 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7329 inttypes.h stdint.h unistd.h
7330 do :
7331 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7332 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7334 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7335 cat >>confdefs.h <<_ACEOF
7336 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7337 _ACEOF
7341 done
7344 for ac_header in \
7345 AL/al.h \
7346 ApplicationServices/ApplicationServices.h \
7347 AudioToolbox/AudioConverter.h \
7348 AudioUnit/AudioUnit.h \
7349 AudioUnit/AudioComponent.h \
7350 CL/cl.h \
7351 Carbon/Carbon.h \
7352 CommonCrypto/CommonCryptor.h \
7353 CoreAudio/CoreAudio.h \
7354 CoreServices/CoreServices.h \
7355 DiskArbitration/DiskArbitration.h \
7356 EGL/egl.h \
7357 IOKit/IOKitLib.h \
7358 IOKit/hid/IOHIDLib.h \
7359 OpenAL/al.h \
7360 OpenCL/opencl.h \
7361 QuickTime/ImageCompression.h \
7362 Security/Security.h \
7363 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7364 SystemConfiguration/SCNetworkConfiguration.h \
7365 alias.h \
7366 arpa/inet.h \
7367 arpa/nameser.h \
7368 asm/types.h \
7369 asm/user.h \
7370 curses.h \
7371 dirent.h \
7372 dlfcn.h \
7373 elf.h \
7374 float.h \
7375 fnmatch.h \
7376 getopt.h \
7377 gettext-po.h \
7378 grp.h \
7379 gsm.h \
7380 gsm/gsm.h \
7381 ieeefp.h \
7382 inet/mib2.h \
7383 kstat.h \
7384 libproc.h \
7385 link.h \
7386 linux/cdrom.h \
7387 linux/compiler.h \
7388 linux/filter.h \
7389 linux/hdreg.h \
7390 linux/hidraw.h \
7391 linux/input.h \
7392 linux/ioctl.h \
7393 linux/joystick.h \
7394 linux/major.h \
7395 linux/param.h \
7396 linux/serial.h \
7397 linux/types.h \
7398 linux/ucdrom.h \
7399 lwp.h \
7400 mach-o/nlist.h \
7401 mach-o/loader.h \
7402 mach/mach.h \
7403 mach/machine.h \
7404 machine/cpu.h \
7405 machine/limits.h \
7406 machine/sysarch.h \
7407 mntent.h \
7408 ncurses.h \
7409 netdb.h \
7410 netinet/in.h \
7411 netinet/in_systm.h \
7412 netinet/tcp.h \
7413 netinet/tcp_fsm.h \
7414 pcap/pcap.h \
7415 poll.h \
7416 port.h \
7417 pthread.h \
7418 pwd.h \
7419 sched.h \
7420 scsi/scsi.h \
7421 scsi/scsi_ioctl.h \
7422 scsi/sg.h \
7423 stdbool.h \
7424 stdint.h \
7425 stropts.h \
7426 sys/attr.h \
7427 sys/auxv.h \
7428 sys/cdio.h \
7429 sys/elf32.h \
7430 sys/epoll.h \
7431 sys/event.h \
7432 sys/exec_elf.h \
7433 sys/filio.h \
7434 sys/ioctl.h \
7435 sys/ipc.h \
7436 sys/limits.h \
7437 sys/link.h \
7438 sys/mman.h \
7439 sys/modem.h \
7440 sys/msg.h \
7441 sys/mtio.h \
7442 sys/param.h \
7443 sys/poll.h \
7444 sys/prctl.h \
7445 sys/protosw.h \
7446 sys/ptrace.h \
7447 sys/queue.h \
7448 sys/resource.h \
7449 sys/scsiio.h \
7450 sys/shm.h \
7451 sys/signal.h \
7452 sys/socket.h \
7453 sys/socketvar.h \
7454 sys/sockio.h \
7455 sys/statvfs.h \
7456 sys/strtio.h \
7457 sys/syscall.h \
7458 sys/sysinfo.h \
7459 sys/tihdr.h \
7460 sys/time.h \
7461 sys/timeout.h \
7462 sys/times.h \
7463 sys/uio.h \
7464 sys/user.h \
7465 sys/utsname.h \
7466 sys/vnode.h \
7467 sys/wait.h \
7468 syscall.h \
7469 termios.h \
7470 unistd.h \
7471 utime.h \
7472 valgrind/memcheck.h \
7473 valgrind/valgrind.h
7475 do :
7476 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7477 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7478 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7479 cat >>confdefs.h <<_ACEOF
7480 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7481 _ACEOF
7485 done
7487 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7488 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7490 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7495 if test $ac_cv_header_sys_mkdev_h = no; then
7496 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7497 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7499 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7506 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7507 if ${ac_cv_header_stat_broken+:} false; then :
7508 $as_echo_n "(cached) " >&6
7509 else
7510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7511 /* end confdefs.h. */
7512 #include <sys/types.h>
7513 #include <sys/stat.h>
7515 #if defined S_ISBLK && defined S_IFDIR
7516 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7517 #endif
7519 #if defined S_ISBLK && defined S_IFCHR
7520 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7521 #endif
7523 #if defined S_ISLNK && defined S_IFREG
7524 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7525 #endif
7527 #if defined S_ISSOCK && defined S_IFREG
7528 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7529 #endif
7531 _ACEOF
7532 if ac_fn_c_try_compile "$LINENO"; then :
7533 ac_cv_header_stat_broken=no
7534 else
7535 ac_cv_header_stat_broken=yes
7537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7540 $as_echo "$ac_cv_header_stat_broken" >&6; }
7541 if test $ac_cv_header_stat_broken = yes; then
7543 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7549 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7550 do :
7551 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7552 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7553 #ifdef HAVE_SYS_PARAM_H
7554 # include <sys/param.h>
7555 #endif
7557 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7558 cat >>confdefs.h <<_ACEOF
7559 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7560 _ACEOF
7564 done
7567 for ac_header in \
7568 netinet/ip.h \
7569 net/if.h \
7570 net/if_arp.h \
7571 net/if_dl.h \
7572 net/if_types.h \
7573 net/route.h \
7574 netinet/if_ether.h \
7575 netinet/if_inarp.h \
7576 netinet/in_pcb.h \
7577 netinet/ip_icmp.h \
7578 netinet/ip_var.h \
7579 netinet/udp.h \
7580 netipx/ipx.h \
7581 sys/un.h \
7583 do :
7584 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7585 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7586 #ifdef HAVE_SYS_SOCKET_H
7587 # include <sys/socket.h>
7588 #endif
7589 #ifdef HAVE_SYS_SOCKETVAR_H
7590 # include <sys/socketvar.h>
7591 #endif
7592 #ifdef HAVE_NET_ROUTE_H
7593 # include <net/route.h>
7594 #endif
7595 #ifdef HAVE_NETINET_IN_H
7596 # include <netinet/in.h>
7597 #endif
7598 #ifdef HAVE_NETINET_IN_SYSTM_H
7599 # include <netinet/in_systm.h>
7600 #endif
7601 #ifdef HAVE_NET_IF_H
7602 # include <net/if.h>
7603 #endif
7604 #ifdef HAVE_NETINET_IP_H
7605 # include <netinet/ip.h>
7606 #endif
7608 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7609 cat >>confdefs.h <<_ACEOF
7610 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7611 _ACEOF
7615 done
7618 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7619 do :
7620 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7621 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7622 #ifdef HAVE_ALIAS_H
7623 # include <alias.h>
7624 #endif
7625 #ifdef HAVE_SYS_SOCKET_H
7626 # include <sys/socket.h>
7627 #endif
7628 #ifdef HAVE_SYS_SOCKETVAR_H
7629 # include <sys/socketvar.h>
7630 #endif
7631 #ifdef HAVE_SYS_TIMEOUT_H
7632 # include <sys/timeout.h>
7633 #endif
7634 #ifdef HAVE_NETINET_IN_H
7635 # include <netinet/in.h>
7636 #endif
7637 #ifdef HAVE_NETINET_IN_SYSTM_H
7638 # include <netinet/in_systm.h>
7639 #endif
7640 #ifdef HAVE_NETINET_IP_H
7641 # include <netinet/ip.h>
7642 #endif
7643 #ifdef HAVE_NETINET_IP_VAR_H
7644 # include <netinet/ip_var.h>
7645 #endif
7646 #ifdef HAVE_NETINET_IP_ICMP_H
7647 # include <netinet/ip_icmp.h>
7648 #endif
7649 #ifdef HAVE_NETINET_UDP_H
7650 # include <netinet/udp.h>
7651 #endif
7652 #ifdef HAVE_NETINET_TCP_H
7653 # include <netinet/tcp.h>
7654 #endif
7655 #ifdef HAVE_NETINET_TCP_TIMER_H
7656 #include <netinet/tcp_timer.h>
7657 #endif
7659 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7660 cat >>confdefs.h <<_ACEOF
7661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7662 _ACEOF
7666 done
7669 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7670 do :
7671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7672 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7673 #ifdef HAVE_ASM_TYPES_H
7674 # include <asm/types.h>
7675 #endif
7676 #ifdef HAVE_SYS_SOCKET_H
7677 # include <sys/socket.h>
7678 #endif
7679 #ifdef HAVE_LINUX_TYPES_H
7680 # include <linux/types.h>
7681 #endif
7683 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7684 cat >>confdefs.h <<_ACEOF
7685 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7686 _ACEOF
7690 done
7693 for ac_header in resolv.h
7694 do :
7695 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7696 #ifdef HAVE_SYS_SOCKET_H
7697 # include <sys/socket.h>
7698 #endif
7699 #ifdef HAVE_NETINET_IN_H
7700 # include <netinet/in.h>
7701 #endif
7702 #ifdef HAVE_ARPA_NAMESER_H
7703 # include <arpa/nameser.h>
7704 #endif
7706 if test "x$ac_cv_header_resolv_h" = xyes; then :
7707 cat >>confdefs.h <<_ACEOF
7708 #define HAVE_RESOLV_H 1
7709 _ACEOF
7713 done
7716 for ac_header in ifaddrs.h
7717 do :
7718 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7720 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7721 cat >>confdefs.h <<_ACEOF
7722 #define HAVE_IFADDRS_H 1
7723 _ACEOF
7727 done
7730 for ac_header in sys/ucontext.h
7731 do :
7732 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7734 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7735 cat >>confdefs.h <<_ACEOF
7736 #define HAVE_SYS_UCONTEXT_H 1
7737 _ACEOF
7741 done
7744 for ac_header in sys/thr.h
7745 do :
7746 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7747 #ifdef HAVE_SYS_UCONTEXT_H
7748 #include <sys/ucontext.h>
7749 #endif
7751 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7752 cat >>confdefs.h <<_ACEOF
7753 #define HAVE_SYS_THR_H 1
7754 _ACEOF
7758 done
7761 for ac_header in pthread_np.h
7762 do :
7763 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7764 #include <pthread.h>
7765 #endif
7767 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7768 cat >>confdefs.h <<_ACEOF
7769 #define HAVE_PTHREAD_NP_H 1
7770 _ACEOF
7774 done
7777 for ac_header in linux/videodev2.h
7778 do :
7779 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7780 #include <sys/time.h>
7781 #endif
7782 #include <sys/types.h>
7783 #ifdef HAVE_ASM_TYPES_H
7784 #include <asm/types.h>
7785 #endif
7787 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7788 cat >>confdefs.h <<_ACEOF
7789 #define HAVE_LINUX_VIDEODEV2_H 1
7790 _ACEOF
7794 done
7797 for ac_header in libprocstat.h
7798 do :
7799 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7800 #include <sys/param.h>
7801 #endif
7802 #ifdef HAVE_SYS_QUEUE_H
7803 #include <sys/queue.h>
7804 #endif
7805 #ifdef HAVE_SYS_SOCKET_H
7806 #include <sys/socket.h>
7807 #endif
7809 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7810 cat >>confdefs.h <<_ACEOF
7811 #define HAVE_LIBPROCSTAT_H 1
7812 _ACEOF
7816 done
7820 DLLFLAGS="-D_REENTRANT"
7822 LDRPATH_INSTALL=""
7824 LDRPATH_LOCAL=""
7826 LDDLLFLAGS=""
7828 LDEXECFLAGS=""
7830 TOP_INSTALL_LIB=""
7832 TOP_INSTALL_DEV=""
7834 WINELOADER_LDFLAGS=""
7836 WINEPRELOADER_LDFLAGS=""
7838 LIBEXT="so"
7839 DLLEXT=".so"
7840 # Extract the first word of "ldd", so it can be a program name with args.
7841 set dummy ldd; ac_word=$2
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7843 $as_echo_n "checking for $ac_word... " >&6; }
7844 if ${ac_cv_path_LDD+:} false; then :
7845 $as_echo_n "(cached) " >&6
7846 else
7847 case $LDD in
7848 [\\/]* | ?:[\\/]*)
7849 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7853 as_dummy="/sbin:/usr/sbin:$PATH"
7854 for as_dir in $as_dummy
7856 IFS=$as_save_IFS
7857 test -z "$as_dir" && as_dir=.
7858 for ac_exec_ext in '' $ac_executable_extensions; do
7859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7860 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7862 break 2
7864 done
7865 done
7866 IFS=$as_save_IFS
7868 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7870 esac
7872 LDD=$ac_cv_path_LDD
7873 if test -n "$LDD"; then
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7875 $as_echo "$LDD" >&6; }
7876 else
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7878 $as_echo "no" >&6; }
7882 if test -n "$ac_tool_prefix"; then
7883 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7884 set dummy ${ac_tool_prefix}otool; ac_word=$2
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886 $as_echo_n "checking for $ac_word... " >&6; }
7887 if ${ac_cv_prog_OTOOL+:} false; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 if test -n "$OTOOL"; then
7891 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7892 else
7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894 for as_dir in $PATH
7896 IFS=$as_save_IFS
7897 test -z "$as_dir" && as_dir=.
7898 for ac_exec_ext in '' $ac_executable_extensions; do
7899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7900 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902 break 2
7904 done
7905 done
7906 IFS=$as_save_IFS
7910 OTOOL=$ac_cv_prog_OTOOL
7911 if test -n "$OTOOL"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7913 $as_echo "$OTOOL" >&6; }
7914 else
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916 $as_echo "no" >&6; }
7921 if test -z "$ac_cv_prog_OTOOL"; then
7922 ac_ct_OTOOL=$OTOOL
7923 # Extract the first word of "otool", so it can be a program name with args.
7924 set dummy otool; ac_word=$2
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7926 $as_echo_n "checking for $ac_word... " >&6; }
7927 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7928 $as_echo_n "(cached) " >&6
7929 else
7930 if test -n "$ac_ct_OTOOL"; then
7931 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7932 else
7933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7934 for as_dir in $PATH
7936 IFS=$as_save_IFS
7937 test -z "$as_dir" && as_dir=.
7938 for ac_exec_ext in '' $ac_executable_extensions; do
7939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7940 ac_cv_prog_ac_ct_OTOOL="otool"
7941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7942 break 2
7944 done
7945 done
7946 IFS=$as_save_IFS
7950 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7951 if test -n "$ac_ct_OTOOL"; then
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7953 $as_echo "$ac_ct_OTOOL" >&6; }
7954 else
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7956 $as_echo "no" >&6; }
7959 if test "x$ac_ct_OTOOL" = x; then
7960 OTOOL="otool"
7961 else
7962 case $cross_compiling:$ac_tool_warned in
7963 yes:)
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7966 ac_tool_warned=yes ;;
7967 esac
7968 OTOOL=$ac_ct_OTOOL
7970 else
7971 OTOOL="$ac_cv_prog_OTOOL"
7974 if test -n "$ac_tool_prefix"; then
7975 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7976 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7978 $as_echo_n "checking for $ac_word... " >&6; }
7979 if ${ac_cv_prog_READELF+:} false; then :
7980 $as_echo_n "(cached) " >&6
7981 else
7982 if test -n "$READELF"; then
7983 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7984 else
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 for as_dir in $PATH
7988 IFS=$as_save_IFS
7989 test -z "$as_dir" && as_dir=.
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7994 break 2
7996 done
7997 done
7998 IFS=$as_save_IFS
8002 READELF=$ac_cv_prog_READELF
8003 if test -n "$READELF"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8005 $as_echo "$READELF" >&6; }
8006 else
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008 $as_echo "no" >&6; }
8013 if test -z "$ac_cv_prog_READELF"; then
8014 ac_ct_READELF=$READELF
8015 # Extract the first word of "readelf", so it can be a program name with args.
8016 set dummy readelf; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018 $as_echo_n "checking for $ac_word... " >&6; }
8019 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8020 $as_echo_n "(cached) " >&6
8021 else
8022 if test -n "$ac_ct_READELF"; then
8023 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8024 else
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 for as_dir in $PATH
8028 IFS=$as_save_IFS
8029 test -z "$as_dir" && as_dir=.
8030 for ac_exec_ext in '' $ac_executable_extensions; do
8031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032 ac_cv_prog_ac_ct_READELF="readelf"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8034 break 2
8036 done
8037 done
8038 IFS=$as_save_IFS
8042 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8043 if test -n "$ac_ct_READELF"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8045 $as_echo "$ac_ct_READELF" >&6; }
8046 else
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8051 if test "x$ac_ct_READELF" = x; then
8052 READELF="true"
8053 else
8054 case $cross_compiling:$ac_tool_warned in
8055 yes:)
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8058 ac_tool_warned=yes ;;
8059 esac
8060 READELF=$ac_ct_READELF
8062 else
8063 READELF="$ac_cv_prog_READELF"
8066 wine_rules_file=conf$$rules.make
8067 rm -f $wine_rules_file
8068 SUBDIRS=""
8070 DISABLED_SUBDIRS=""
8072 CONFIGURE_TARGETS=""
8075 wine_fn_append_file ()
8077 as_fn_append $1 " \\$as_nl $2"
8080 wine_fn_append_rule ()
8082 $as_echo "$1" >>$wine_rules_file
8085 wine_fn_config_makefile ()
8087 wine_fn_append_file SUBDIRS $1
8088 if eval test \"x\$"$2"\" = x"no"; then :
8089 wine_fn_append_file DISABLED_SUBDIRS $1
8093 wine_fn_config_symlink ()
8095 ac_links=$@
8096 wine_fn_append_rule \
8097 "$ac_links:
8098 @./config.status \$@"
8099 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8102 wine_binary="wine"
8103 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8104 WINELOADER_PROGRAMS="$wine_binary"
8106 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8108 case $host_os in
8109 cygwin*|mingw32*)
8110 if test -n "$ac_tool_prefix"; then
8111 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8112 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8114 $as_echo_n "checking for $ac_word... " >&6; }
8115 if ${ac_cv_prog_DLLTOOL+:} false; then :
8116 $as_echo_n "(cached) " >&6
8117 else
8118 if test -n "$DLLTOOL"; then
8119 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8120 else
8121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8122 for as_dir in $PATH
8124 IFS=$as_save_IFS
8125 test -z "$as_dir" && as_dir=.
8126 for ac_exec_ext in '' $ac_executable_extensions; do
8127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8128 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8130 break 2
8132 done
8133 done
8134 IFS=$as_save_IFS
8138 DLLTOOL=$ac_cv_prog_DLLTOOL
8139 if test -n "$DLLTOOL"; then
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8141 $as_echo "$DLLTOOL" >&6; }
8142 else
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8144 $as_echo "no" >&6; }
8149 if test -z "$ac_cv_prog_DLLTOOL"; then
8150 ac_ct_DLLTOOL=$DLLTOOL
8151 # Extract the first word of "dlltool", so it can be a program name with args.
8152 set dummy dlltool; ac_word=$2
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8154 $as_echo_n "checking for $ac_word... " >&6; }
8155 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8156 $as_echo_n "(cached) " >&6
8157 else
8158 if test -n "$ac_ct_DLLTOOL"; then
8159 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8160 else
8161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8162 for as_dir in $PATH
8164 IFS=$as_save_IFS
8165 test -z "$as_dir" && as_dir=.
8166 for ac_exec_ext in '' $ac_executable_extensions; do
8167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8168 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8170 break 2
8172 done
8173 done
8174 IFS=$as_save_IFS
8178 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8179 if test -n "$ac_ct_DLLTOOL"; then
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8181 $as_echo "$ac_ct_DLLTOOL" >&6; }
8182 else
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8184 $as_echo "no" >&6; }
8187 if test "x$ac_ct_DLLTOOL" = x; then
8188 DLLTOOL="false"
8189 else
8190 case $cross_compiling:$ac_tool_warned in
8191 yes:)
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8194 ac_tool_warned=yes ;;
8195 esac
8196 DLLTOOL=$ac_ct_DLLTOOL
8198 else
8199 DLLTOOL="$ac_cv_prog_DLLTOOL"
8202 LIBEXT="dll"
8203 DLLEXT=""
8204 case $host_cpu in
8205 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8206 esac
8207 enable_iphlpapi=${enable_iphlpapi:-no}
8208 enable_kernel32=${enable_kernel32:-no}
8209 enable_ntdll=${enable_ntdll:-no}
8210 enable_ws2_32=${enable_ws2_32:-no}
8211 enable_loader=${enable_loader:-no}
8212 enable_server=${enable_server:-no}
8213 with_x=${with_x:-no}
8214 with_pthread=${with_pthread:-no}
8217 darwin*|macosx*)
8218 ac_ext=m
8219 ac_cpp='$OBJCPP $CPPFLAGS'
8220 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8221 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8222 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8224 ac_ext=m
8225 ac_cpp='$OBJCPP $CPPFLAGS'
8226 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8227 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8228 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8229 if test -n "$ac_tool_prefix"; then
8230 for ac_prog in gcc objcc objc cc CC
8232 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8233 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8235 $as_echo_n "checking for $ac_word... " >&6; }
8236 if ${ac_cv_prog_OBJC+:} false; then :
8237 $as_echo_n "(cached) " >&6
8238 else
8239 if test -n "$OBJC"; then
8240 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8241 else
8242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8243 for as_dir in $PATH
8245 IFS=$as_save_IFS
8246 test -z "$as_dir" && as_dir=.
8247 for ac_exec_ext in '' $ac_executable_extensions; do
8248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8249 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8251 break 2
8253 done
8254 done
8255 IFS=$as_save_IFS
8259 OBJC=$ac_cv_prog_OBJC
8260 if test -n "$OBJC"; then
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8262 $as_echo "$OBJC" >&6; }
8263 else
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8265 $as_echo "no" >&6; }
8269 test -n "$OBJC" && break
8270 done
8272 if test -z "$OBJC"; then
8273 ac_ct_OBJC=$OBJC
8274 for ac_prog in gcc objcc objc cc CC
8276 # Extract the first word of "$ac_prog", so it can be a program name with args.
8277 set dummy $ac_prog; ac_word=$2
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8279 $as_echo_n "checking for $ac_word... " >&6; }
8280 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 if test -n "$ac_ct_OBJC"; then
8284 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8285 else
8286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8287 for as_dir in $PATH
8289 IFS=$as_save_IFS
8290 test -z "$as_dir" && as_dir=.
8291 for ac_exec_ext in '' $ac_executable_extensions; do
8292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8293 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8295 break 2
8297 done
8298 done
8299 IFS=$as_save_IFS
8303 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8304 if test -n "$ac_ct_OBJC"; then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8306 $as_echo "$ac_ct_OBJC" >&6; }
8307 else
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8309 $as_echo "no" >&6; }
8313 test -n "$ac_ct_OBJC" && break
8314 done
8316 if test "x$ac_ct_OBJC" = x; then
8317 OBJC="gcc"
8318 else
8319 case $cross_compiling:$ac_tool_warned in
8320 yes:)
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8323 ac_tool_warned=yes ;;
8324 esac
8325 OBJC=$ac_ct_OBJC
8329 # Provide some information about the compiler.
8330 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8331 set X $ac_compile
8332 ac_compiler=$2
8333 for ac_option in --version -v -V -qversion; do
8334 { { ac_try="$ac_compiler $ac_option >&5"
8335 case "(($ac_try" in
8336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8337 *) ac_try_echo=$ac_try;;
8338 esac
8339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8340 $as_echo "$ac_try_echo"; } >&5
8341 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8342 ac_status=$?
8343 if test -s conftest.err; then
8344 sed '10a\
8345 ... rest of stderr output deleted ...
8346 10q' conftest.err >conftest.er1
8347 cat conftest.er1 >&5
8349 rm -f conftest.er1 conftest.err
8350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8351 test $ac_status = 0; }
8352 done
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8355 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8356 if ${ac_cv_objc_compiler_gnu+:} false; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8360 /* end confdefs.h. */
8363 main ()
8365 #ifndef __GNUC__
8366 choke me
8367 #endif
8370 return 0;
8372 _ACEOF
8373 if ac_fn_objc_try_compile "$LINENO"; then :
8374 ac_compiler_gnu=yes
8375 else
8376 ac_compiler_gnu=no
8378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8379 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8383 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8384 if test $ac_compiler_gnu = yes; then
8385 GOBJC=yes
8386 else
8387 GOBJC=
8389 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8390 ac_save_OBJCFLAGS=$OBJCFLAGS
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8392 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8393 if ${ac_cv_prog_objc_g+:} false; then :
8394 $as_echo_n "(cached) " >&6
8395 else
8396 ac_save_objc_werror_flag=$ac_objc_werror_flag
8397 ac_objc_werror_flag=yes
8398 ac_cv_prog_objc_g=no
8399 OBJCFLAGS="-g"
8400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8401 /* end confdefs.h. */
8404 main ()
8408 return 0;
8410 _ACEOF
8411 if ac_fn_objc_try_compile "$LINENO"; then :
8412 ac_cv_prog_objc_g=yes
8413 else
8414 OBJCFLAGS=""
8415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8416 /* end confdefs.h. */
8419 main ()
8423 return 0;
8425 _ACEOF
8426 if ac_fn_objc_try_compile "$LINENO"; then :
8428 else
8429 ac_objc_werror_flag=$ac_save_objc_werror_flag
8430 OBJCFLAGS="-g"
8431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8432 /* end confdefs.h. */
8435 main ()
8439 return 0;
8441 _ACEOF
8442 if ac_fn_objc_try_compile "$LINENO"; then :
8443 ac_cv_prog_objc_g=yes
8445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8450 ac_objc_werror_flag=$ac_save_objc_werror_flag
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8453 $as_echo "$ac_cv_prog_objc_g" >&6; }
8454 if test "$ac_test_OBJCFLAGS" = set; then
8455 OBJCFLAGS=$ac_save_OBJCFLAGS
8456 elif test $ac_cv_prog_objc_g = yes; then
8457 if test "$GOBJC" = yes; then
8458 OBJCFLAGS="-g -O2"
8459 else
8460 OBJCFLAGS="-g"
8462 else
8463 if test "$GOBJC" = yes; then
8464 OBJCFLAGS="-O2"
8465 else
8466 OBJCFLAGS=
8469 ac_ext=m
8470 ac_cpp='$OBJCPP $CPPFLAGS'
8471 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8472 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8473 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8476 ac_ext=m
8477 ac_cpp='$OBJCPP $CPPFLAGS'
8478 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8479 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8480 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8482 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8483 if test -z "$OBJCPP"; then
8484 if ${ac_cv_prog_OBJCPP+:} false; then :
8485 $as_echo_n "(cached) " >&6
8486 else
8487 # Double quotes because OBJCPP needs to be expanded
8488 for OBJCPP in "$OBJC -E" "/lib/cpp"
8490 ac_preproc_ok=false
8491 for ac_objc_preproc_warn_flag in '' yes
8493 # Use a header file that comes with gcc, so configuring glibc
8494 # with a fresh cross-compiler works.
8495 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8496 # <limits.h> exists even on freestanding compilers.
8497 # On the NeXT, cc -E runs the code through the compiler's parser,
8498 # not just through cpp. "Syntax error" is here to catch this case.
8499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8500 /* end confdefs.h. */
8501 #ifdef __STDC__
8502 # include <limits.h>
8503 #else
8504 # include <assert.h>
8505 #endif
8506 Syntax error
8507 _ACEOF
8508 if ac_fn_objc_try_cpp "$LINENO"; then :
8510 else
8511 # Broken: fails on valid input.
8512 continue
8514 rm -f conftest.err conftest.i conftest.$ac_ext
8516 # OK, works on sane cases. Now check whether nonexistent headers
8517 # can be detected and how.
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8520 #include <ac_nonexistent.h>
8521 _ACEOF
8522 if ac_fn_objc_try_cpp "$LINENO"; then :
8523 # Broken: success on invalid input.
8524 continue
8525 else
8526 # Passes both tests.
8527 ac_preproc_ok=:
8528 break
8530 rm -f conftest.err conftest.i conftest.$ac_ext
8532 done
8533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8534 rm -f conftest.i conftest.err conftest.$ac_ext
8535 if $ac_preproc_ok; then :
8536 break
8539 done
8540 ac_cv_prog_OBJCPP=$OBJCPP
8543 OBJCPP=$ac_cv_prog_OBJCPP
8544 else
8545 ac_cv_prog_OBJCPP=$OBJCPP
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8548 $as_echo "$OBJCPP" >&6; }
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 :
8596 else
8597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8599 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8600 See \`config.log' for more details" "$LINENO" 5; }
8603 ac_ext=m
8604 ac_cpp='$OBJCPP $CPPFLAGS'
8605 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8606 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8607 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8610 for ac_header in Metal/Metal.h
8611 do :
8612 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8613 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8614 cat >>confdefs.h <<_ACEOF
8615 #define HAVE_METAL_METAL_H 1
8616 _ACEOF
8620 done
8622 ac_ext=c
8623 ac_cpp='$CPP $CPPFLAGS'
8624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8628 LIBEXT="dylib"
8629 DLLFLAGS="$DLLFLAGS -fPIC"
8630 LDDLLFLAGS="-fPIC"
8631 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8632 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8633 COREFOUNDATION_LIBS="-framework CoreFoundation"
8635 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8637 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8639 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8641 CORESERVICES_LIBS="-framework CoreServices"
8643 APPKIT_LIBS="-framework AppKit"
8645 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8648 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8650 wine_can_build_preloader=yes
8651 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8653 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8654 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8655 $as_echo_n "(cached) " >&6
8656 else
8657 ac_wine_try_cflags_saved=$CFLAGS
8658 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8660 /* end confdefs.h. */
8661 int main(int argc, char **argv) { return 0; }
8662 _ACEOF
8663 if ac_fn_c_try_link "$LINENO"; then :
8664 ac_cv_cflags__Wl__no_new_main__e__main=yes
8665 else
8666 ac_cv_cflags__Wl__no_new_main__e__main=no
8668 rm -f core conftest.err conftest.$ac_objext \
8669 conftest$ac_exeext conftest.$ac_ext
8670 CFLAGS=$ac_wine_try_cflags_saved
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8673 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8674 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8675 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8677 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8678 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8679 $as_echo_n "(cached) " >&6
8680 else
8681 ac_wine_try_cflags_saved=$CFLAGS
8682 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8684 /* end confdefs.h. */
8685 int main(int argc, char **argv) { return 0; }
8686 _ACEOF
8687 if ac_fn_c_try_link "$LINENO"; then :
8688 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8689 else
8690 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8692 rm -f core conftest.err conftest.$ac_objext \
8693 conftest$ac_exeext conftest.$ac_ext
8694 CFLAGS=$ac_wine_try_cflags_saved
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8697 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8698 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8699 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8700 else
8701 { $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
8702 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8703 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8704 $as_echo_n "(cached) " >&6
8705 else
8706 ac_wine_try_cflags_saved=$CFLAGS
8707 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8709 /* end confdefs.h. */
8710 int main(int argc, char **argv) { return 0; }
8711 _ACEOF
8712 if ac_fn_c_try_link "$LINENO"; then :
8713 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8714 else
8715 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8717 rm -f core conftest.err conftest.$ac_objext \
8718 conftest$ac_exeext conftest.$ac_ext
8719 CFLAGS=$ac_wine_try_cflags_saved
8721 { $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
8722 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8723 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8724 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8725 else
8726 wine_can_build_preloader=no
8729 else
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8731 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8732 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8733 $as_echo_n "(cached) " >&6
8734 else
8735 ac_wine_try_cflags_saved=$CFLAGS
8736 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8738 /* end confdefs.h. */
8739 int main(int argc, char **argv) { return 0; }
8740 _ACEOF
8741 if ac_fn_c_try_link "$LINENO"; then :
8742 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8743 else
8744 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8746 rm -f core conftest.err conftest.$ac_objext \
8747 conftest$ac_exeext conftest.$ac_ext
8748 CFLAGS=$ac_wine_try_cflags_saved
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8751 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8752 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8753 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8754 else
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8756 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8757 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8758 $as_echo_n "(cached) " >&6
8759 else
8760 ac_wine_try_cflags_saved=$CFLAGS
8761 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8763 /* end confdefs.h. */
8764 int main(int argc, char **argv) { return 0; }
8765 _ACEOF
8766 if ac_fn_c_try_link "$LINENO"; then :
8767 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8768 else
8769 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8771 rm -f core conftest.err conftest.$ac_objext \
8772 conftest$ac_exeext conftest.$ac_ext
8773 CFLAGS=$ac_wine_try_cflags_saved
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8776 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8777 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8778 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8779 else
8780 wine_can_build_preloader=no
8784 if test "$wine_can_build_preloader" = "yes"
8785 then
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8787 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8788 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8789 $as_echo_n "(cached) " >&6
8790 else
8791 ac_wine_try_cflags_saved=$CFLAGS
8792 CFLAGS="$CFLAGS -Wl,-no_pie"
8793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8794 /* end confdefs.h. */
8795 int main(int argc, char **argv) { return 0; }
8796 _ACEOF
8797 if ac_fn_c_try_link "$LINENO"; then :
8798 ac_cv_cflags__Wl__no_pie=yes
8799 else
8800 ac_cv_cflags__Wl__no_pie=no
8802 rm -f core conftest.err conftest.$ac_objext \
8803 conftest$ac_exeext conftest.$ac_ext
8804 CFLAGS=$ac_wine_try_cflags_saved
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8807 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8808 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8809 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8811 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8812 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8813 else
8814 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8817 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8818 then
8819 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8822 if test "$ac_cv_header_Security_Security_h" = "yes"
8823 then
8824 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8826 ac_save_LIBS="$LIBS"
8827 LIBS="$LIBS $SECURITY_LIBS"
8828 for ac_func in SSLCopyPeerCertificates
8829 do :
8830 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8831 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8832 cat >>confdefs.h <<_ACEOF
8833 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8834 _ACEOF
8837 done
8839 LIBS="$ac_save_LIBS"
8841 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8842 then
8843 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8844 then
8845 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8847 else
8848 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8851 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8852 ac_save_LIBS="$LIBS"
8853 LIBS="$LIBS $COREAUDIO_LIBS"
8854 for ac_func in AUGraphAddNode
8855 do :
8856 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8857 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8858 cat >>confdefs.h <<_ACEOF
8859 #define HAVE_AUGRAPHADDNODE 1
8860 _ACEOF
8863 done
8865 LIBS="$ac_save_LIBS"
8867 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8868 then
8869 OPENAL_LIBS="-framework OpenAL"
8872 cat >>confdefs.h <<_ACEOF
8873 #define HAVE_OPENAL 1
8874 _ACEOF
8876 ac_cv_lib_openal=yes
8878 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8879 then
8880 OPENCL_LIBS="-framework OpenCL"
8882 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8884 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8885 then
8886 ac_save_LIBS="$LIBS"
8887 LIBS="$LIBS $IOKIT_LIBS"
8888 for ac_func in IOHIDManagerCreate
8889 do :
8890 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8891 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8892 cat >>confdefs.h <<_ACEOF
8893 #define HAVE_IOHIDMANAGERCREATE 1
8894 _ACEOF
8897 done
8899 LIBS="$ac_save_LIBS"
8901 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8902 then
8903 ac_save_LIBS="$LIBS"
8904 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8906 $as_echo_n "checking for the QuickTime framework... " >&6; }
8907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8908 /* end confdefs.h. */
8909 #include <QuickTime/ImageCompression.h>
8911 main ()
8913 CodecManagerVersion(NULL);
8915 return 0;
8917 _ACEOF
8918 if ac_fn_c_try_link "$LINENO"; then :
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8920 $as_echo "yes" >&6; }
8921 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8923 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8924 else
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8926 $as_echo "no" >&6; }
8927 ac_cv_header_QuickTime_ImageCompression_h=no
8929 rm -f core conftest.err conftest.$ac_objext \
8930 conftest$ac_exeext conftest.$ac_ext
8931 LIBS="$ac_save_LIBS"
8933 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8934 then
8935 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8937 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8938 then
8939 CARBON_LIBS="-framework Carbon"
8942 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8943 then
8944 METAL_LIBS="-framework Metal -framework QuartzCore"
8948 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8949 then
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8951 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8952 ac_ext=m
8953 ac_cpp='$OBJCPP $CPPFLAGS'
8954 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8955 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8956 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8959 /* end confdefs.h. */
8960 #include <Metal/Metal.h>
8962 main ()
8964 id<MTLDevice> device; device.registryID;
8966 return 0;
8968 _ACEOF
8969 if ac_fn_objc_try_compile "$LINENO"; then :
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8971 $as_echo "yes" >&6; }
8973 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8975 else
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8977 $as_echo "no" >&6; }
8979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8980 ac_ext=c
8981 ac_cpp='$CPP $CPPFLAGS'
8982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8988 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8989 then
8990 ac_save_LIBS="$LIBS"
8991 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8992 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8993 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8994 enable_winemac_drv=${enable_winemac_drv:-yes}
8997 LIBS="$ac_save_LIBS"
9000 if test "x$enable_win16" = "xyes"
9001 then
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9003 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9004 if test "$cross_compiling" = yes; then :
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9006 $as_echo "cross-compiling, assuming yes" >&6; }
9007 else
9008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9009 /* end confdefs.h. */
9010 asm(".text\n"
9011 "bad:\tnop;nop\n"
9012 "good:\tnop;nop\n\t"
9013 ".globl _testfunc\n"
9014 "_testfunc:\tcallw good");
9015 extern void testfunc();
9017 main ()
9019 unsigned short *p = (unsigned short *)testfunc;
9020 return p[0] != 0xe866 || p[1] != 0xfffa
9022 return 0;
9024 _ACEOF
9025 if ac_fn_c_try_run "$LINENO"; then :
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9027 $as_echo "yes" >&6; }
9028 else
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9030 $as_echo "no" >&6; }
9031 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
9033 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9034 conftest.$ac_objext conftest.beam conftest.$ac_ext
9039 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9041 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9043 WINELOADER_DEPENDS="wine_info.plist"
9045 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9046 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9049 linux-android*)
9050 DLLFLAGS="$DLLFLAGS -fPIC"
9051 LDDLLFLAGS="-fPIC"
9052 LDEXECFLAGS="-Wl,-pie"
9053 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9055 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9056 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9057 $as_echo_n "(cached) " >&6
9058 else
9059 ac_wine_try_cflags_saved=$CFLAGS
9060 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9062 /* end confdefs.h. */
9063 int main(int argc, char **argv) { return 0; }
9064 _ACEOF
9065 if ac_fn_c_try_link "$LINENO"; then :
9066 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9067 else
9068 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9070 rm -f core conftest.err conftest.$ac_objext \
9071 conftest$ac_exeext conftest.$ac_ext
9072 CFLAGS=$ac_wine_try_cflags_saved
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9075 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9076 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9077 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9079 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9080 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9082 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9083 if eval \${$as_ac_var+:} false; then :
9084 $as_echo_n "(cached) " >&6
9085 else
9086 ac_wine_try_cflags_saved=$CFLAGS
9087 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9089 /* end confdefs.h. */
9090 int main(int argc, char **argv) { return 0; }
9091 _ACEOF
9092 if ac_fn_c_try_link "$LINENO"; then :
9093 eval "$as_ac_var=yes"
9094 else
9095 eval "$as_ac_var=no"
9097 rm -f core conftest.err conftest.$ac_objext \
9098 conftest$ac_exeext conftest.$ac_ext
9099 CFLAGS=$ac_wine_try_cflags_saved
9101 eval ac_res=\$$as_ac_var
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9103 $as_echo "$ac_res" >&6; }
9104 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9105 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9106 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9107 else
9108 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9110 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9111 if eval \${$as_ac_var+:} false; then :
9112 $as_echo_n "(cached) " >&6
9113 else
9114 ac_wine_try_cflags_saved=$CFLAGS
9115 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9117 /* end confdefs.h. */
9118 int main(int argc, char **argv) { return 0; }
9119 _ACEOF
9120 if ac_fn_c_try_link "$LINENO"; then :
9121 eval "$as_ac_var=yes"
9122 else
9123 eval "$as_ac_var=no"
9125 rm -f core conftest.err conftest.$ac_objext \
9126 conftest$ac_exeext conftest.$ac_ext
9127 CFLAGS=$ac_wine_try_cflags_saved
9129 eval ac_res=\$$as_ac_var
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9131 $as_echo "$ac_res" >&6; }
9132 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9133 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9134 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9138 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9139 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9140 $as_echo_n "(cached) " >&6
9141 else
9142 ac_wine_try_cflags_saved=$CFLAGS
9143 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9146 int main(int argc, char **argv) { return 0; }
9147 _ACEOF
9148 if ac_fn_c_try_link "$LINENO"; then :
9149 ac_cv_cflags__Wl___enable_new_dtags=yes
9150 else
9151 ac_cv_cflags__Wl___enable_new_dtags=no
9153 rm -f core conftest.err conftest.$ac_objext \
9154 conftest$ac_exeext conftest.$ac_ext
9155 CFLAGS=$ac_wine_try_cflags_saved
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9158 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9159 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9160 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9163 LIBWINE_SHAREDLIB="libwine.so"
9165 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9167 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9170 $as_echo_n "checking for -lEGL... " >&6; }
9171 if ${ac_cv_lib_soname_EGL+:} false; then :
9172 $as_echo_n "(cached) " >&6
9173 else
9174 ac_check_soname_save_LIBS=$LIBS
9175 LIBS="-lEGL $LIBS"
9176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9177 /* end confdefs.h. */
9179 /* Override any GCC internal prototype to avoid an error.
9180 Use char because int might match the return type of a GCC
9181 builtin and then its argument prototype would still apply. */
9182 #ifdef __cplusplus
9183 extern "C"
9184 #endif
9185 char eglGetProcAddress ();
9187 main ()
9189 return eglGetProcAddress ();
9191 return 0;
9193 _ACEOF
9194 if ac_fn_c_try_link "$LINENO"; then :
9195 case "$LIBEXT" in
9196 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9197 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'` ;;
9198 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9199 if ${ac_cv_lib_soname_EGL:+false} :; then :
9200 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9201 fi ;;
9202 esac
9203 else
9204 ac_cv_lib_soname_EGL=
9206 rm -f core conftest.err conftest.$ac_objext \
9207 conftest$ac_exeext conftest.$ac_ext
9208 LIBS=$ac_check_soname_save_LIBS
9210 if ${ac_cv_lib_soname_EGL:+false} :; then :
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9212 $as_echo "not found" >&6; }
9214 else
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9216 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9218 cat >>confdefs.h <<_ACEOF
9219 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9220 _ACEOF
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9225 $as_echo_n "checking for -lGLESv2... " >&6; }
9226 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9227 $as_echo_n "(cached) " >&6
9228 else
9229 ac_check_soname_save_LIBS=$LIBS
9230 LIBS="-lGLESv2 $LIBS"
9231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9232 /* end confdefs.h. */
9234 /* Override any GCC internal prototype to avoid an error.
9235 Use char because int might match the return type of a GCC
9236 builtin and then its argument prototype would still apply. */
9237 #ifdef __cplusplus
9238 extern "C"
9239 #endif
9240 char glFlush ();
9242 main ()
9244 return glFlush ();
9246 return 0;
9248 _ACEOF
9249 if ac_fn_c_try_link "$LINENO"; then :
9250 case "$LIBEXT" in
9251 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9252 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'` ;;
9253 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9254 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9255 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9256 fi ;;
9257 esac
9258 else
9259 ac_cv_lib_soname_GLESv2=
9261 rm -f core conftest.err conftest.$ac_objext \
9262 conftest$ac_exeext conftest.$ac_ext
9263 LIBS=$ac_check_soname_save_LIBS
9265 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9267 $as_echo "not found" >&6; }
9269 else
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9271 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9273 cat >>confdefs.h <<_ACEOF
9274 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9275 _ACEOF
9280 if test "x$exec_prefix" = xNONE
9281 then
9282 case $host_cpu in
9283 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9284 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9285 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9286 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9287 esac
9292 case $host_cpu in
9293 *i[3456789]86*)
9294 DLLFLAGS="$DLLFLAGS -fno-PIC"
9295 LDDLLFLAGS="-fno-PIC" ;;
9297 DLLFLAGS="$DLLFLAGS -fPIC"
9298 LDDLLFLAGS="-fPIC" ;;
9299 esac
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9301 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9302 if ${ac_cv_c_dll_gnuelf+:} false; then :
9303 $as_echo_n "(cached) " >&6
9304 else
9305 ac_wine_try_cflags_saved=$CFLAGS
9306 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9308 /* end confdefs.h. */
9309 void myfunc() {}
9310 _ACEOF
9311 if ac_fn_c_try_link "$LINENO"; then :
9312 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9313 else
9314 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9316 rm -f core conftest.err conftest.$ac_objext \
9317 conftest$ac_exeext conftest.$ac_ext
9318 CFLAGS=$ac_wine_try_cflags_saved
9319 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9320 ac_cv_c_dll_gnuelf="yes"
9321 else
9322 ac_cv_c_dll_gnuelf="no"
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9326 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9327 if test "$ac_cv_c_dll_gnuelf" = "yes"
9328 then
9329 LIBWINE_LDFLAGS="-shared"
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9331 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9332 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9333 $as_echo_n "(cached) " >&6
9334 else
9335 ac_wine_try_cflags_saved=$CFLAGS
9336 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9338 /* end confdefs.h. */
9339 int main(int argc, char **argv) { return 0; }
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9342 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9343 else
9344 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9346 rm -f core conftest.err conftest.$ac_objext \
9347 conftest$ac_exeext conftest.$ac_ext
9348 CFLAGS=$ac_wine_try_cflags_saved
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9351 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9352 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9353 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9354 else
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9356 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9357 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9358 $as_echo_n "(cached) " >&6
9359 else
9360 ac_wine_try_cflags_saved=$CFLAGS
9361 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9363 /* end confdefs.h. */
9364 int main(int argc, char **argv) { return 0; }
9365 _ACEOF
9366 if ac_fn_c_try_link "$LINENO"; then :
9367 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9368 else
9369 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9371 rm -f core conftest.err conftest.$ac_objext \
9372 conftest$ac_exeext conftest.$ac_ext
9373 CFLAGS=$ac_wine_try_cflags_saved
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9376 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9377 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9378 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9382 echo '{ global: *; };' >conftest.map
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9384 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9385 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9386 $as_echo_n "(cached) " >&6
9387 else
9388 ac_wine_try_cflags_saved=$CFLAGS
9389 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9392 int main(int argc, char **argv) { return 0; }
9393 _ACEOF
9394 if ac_fn_c_try_link "$LINENO"; then :
9395 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9396 else
9397 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9399 rm -f core conftest.err conftest.$ac_objext \
9400 conftest$ac_exeext conftest.$ac_ext
9401 CFLAGS=$ac_wine_try_cflags_saved
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9404 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9405 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9406 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9408 rm -f conftest.map
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9411 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9412 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9413 $as_echo_n "(cached) " >&6
9414 else
9415 ac_wine_try_cflags_saved=$CFLAGS
9416 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9418 /* end confdefs.h. */
9419 int main(int argc, char **argv) { return 0; }
9420 _ACEOF
9421 if ac_fn_c_try_link "$LINENO"; then :
9422 ac_cv_cflags__Wl___export_dynamic=yes
9423 else
9424 ac_cv_cflags__Wl___export_dynamic=no
9426 rm -f core conftest.err conftest.$ac_objext \
9427 conftest$ac_exeext conftest.$ac_ext
9428 CFLAGS=$ac_wine_try_cflags_saved
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9431 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9432 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9433 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9435 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9437 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9439 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9440 if eval \${$as_ac_var+:} false; then :
9441 $as_echo_n "(cached) " >&6
9442 else
9443 ac_wine_try_cflags_saved=$CFLAGS
9444 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9446 /* end confdefs.h. */
9447 int main(int argc, char **argv) { return 0; }
9448 _ACEOF
9449 if ac_fn_c_try_link "$LINENO"; then :
9450 eval "$as_ac_var=yes"
9451 else
9452 eval "$as_ac_var=no"
9454 rm -f core conftest.err conftest.$ac_objext \
9455 conftest$ac_exeext conftest.$ac_ext
9456 CFLAGS=$ac_wine_try_cflags_saved
9458 eval ac_res=\$$as_ac_var
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9460 $as_echo "$ac_res" >&6; }
9461 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9462 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9463 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9464 else
9465 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9467 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9468 if eval \${$as_ac_var+:} false; then :
9469 $as_echo_n "(cached) " >&6
9470 else
9471 ac_wine_try_cflags_saved=$CFLAGS
9472 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9474 /* end confdefs.h. */
9475 int main(int argc, char **argv) { return 0; }
9476 _ACEOF
9477 if ac_fn_c_try_link "$LINENO"; then :
9478 eval "$as_ac_var=yes"
9479 else
9480 eval "$as_ac_var=no"
9482 rm -f core conftest.err conftest.$ac_objext \
9483 conftest$ac_exeext conftest.$ac_ext
9484 CFLAGS=$ac_wine_try_cflags_saved
9486 eval ac_res=\$$as_ac_var
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9488 $as_echo "$ac_res" >&6; }
9489 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9490 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9491 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9496 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9497 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9498 $as_echo_n "(cached) " >&6
9499 else
9500 ac_wine_try_cflags_saved=$CFLAGS
9501 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9503 /* end confdefs.h. */
9504 int main(int argc, char **argv) { return 0; }
9505 _ACEOF
9506 if ac_fn_c_try_link "$LINENO"; then :
9507 ac_cv_cflags__Wl___enable_new_dtags=yes
9508 else
9509 ac_cv_cflags__Wl___enable_new_dtags=no
9511 rm -f core conftest.err conftest.$ac_objext \
9512 conftest$ac_exeext conftest.$ac_ext
9513 CFLAGS=$ac_wine_try_cflags_saved
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9516 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9517 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9518 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9521 case $host_cpu in
9522 *i[3456789]86* | x86_64 | *aarch64*)
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9524 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9525 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9526 $as_echo_n "(cached) " >&6
9527 else
9528 ac_wine_try_cflags_saved=$CFLAGS
9529 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9532 int main(int argc, char **argv) { return 0; }
9533 _ACEOF
9534 if ac_fn_c_try_link "$LINENO"; then :
9535 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9536 else
9537 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9539 rm -f core conftest.err conftest.$ac_objext \
9540 conftest$ac_exeext conftest.$ac_ext
9541 CFLAGS=$ac_wine_try_cflags_saved
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9544 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9545 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9546 case $host_os in
9547 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9548 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9549 esac
9550 else
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9552 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9553 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9554 $as_echo_n "(cached) " >&6
9555 else
9556 ac_wine_try_cflags_saved=$CFLAGS
9557 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9559 /* end confdefs.h. */
9560 int main(int argc, char **argv) { return 0; }
9561 _ACEOF
9562 if ac_fn_c_try_link "$LINENO"; then :
9563 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9564 else
9565 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9567 rm -f core conftest.err conftest.$ac_objext \
9568 conftest$ac_exeext conftest.$ac_ext
9569 CFLAGS=$ac_wine_try_cflags_saved
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9572 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9573 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9574 case $host_os in
9575 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9576 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9577 esac
9579 # Extract the first word of "prelink", so it can be a program name with args.
9580 set dummy prelink; ac_word=$2
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9582 $as_echo_n "checking for $ac_word... " >&6; }
9583 if ${ac_cv_path_PRELINK+:} false; then :
9584 $as_echo_n "(cached) " >&6
9585 else
9586 case $PRELINK in
9587 [\\/]* | ?:[\\/]*)
9588 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9592 for as_dir in /sbin /usr/sbin $PATH
9594 IFS=$as_save_IFS
9595 test -z "$as_dir" && as_dir=.
9596 for ac_exec_ext in '' $ac_executable_extensions; do
9597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9598 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9600 break 2
9602 done
9603 done
9604 IFS=$as_save_IFS
9606 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9608 esac
9610 PRELINK=$ac_cv_path_PRELINK
9611 if test -n "$PRELINK"; then
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9613 $as_echo "$PRELINK" >&6; }
9614 else
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9616 $as_echo "no" >&6; }
9620 if test "x$PRELINK" = xfalse
9621 then
9622 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9626 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9627 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9628 $as_echo_n "(cached) " >&6
9629 else
9630 ac_wine_try_cflags_saved=$CFLAGS
9631 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9634 int main(int argc, char **argv) { return 0; }
9635 _ACEOF
9636 if ac_fn_c_try_link "$LINENO"; then :
9637 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9638 else
9639 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9641 rm -f core conftest.err conftest.$ac_objext \
9642 conftest$ac_exeext conftest.$ac_ext
9643 CFLAGS=$ac_wine_try_cflags_saved
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9646 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9647 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9648 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9651 esac
9653 else
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9655 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9656 if ${ac_cv_c_dll_unixware+:} false; then :
9657 $as_echo_n "(cached) " >&6
9658 else
9659 ac_wine_try_cflags_saved=$CFLAGS
9660 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9662 /* end confdefs.h. */
9663 void myfunc() {}
9664 _ACEOF
9665 if ac_fn_c_try_link "$LINENO"; then :
9666 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9667 else
9668 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9670 rm -f core conftest.err conftest.$ac_objext \
9671 conftest$ac_exeext conftest.$ac_ext
9672 CFLAGS=$ac_wine_try_cflags_saved
9673 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9674 ac_cv_c_dll_unixware="yes"
9675 else
9676 ac_cv_c_dll_unixware="no"
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9680 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9681 if test "$ac_cv_c_dll_unixware" = "yes"
9682 then
9683 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9686 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9688 LIBWINE_DEPENDS="wine.map"
9690 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9691 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9693 esac
9695 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9696 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9697 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9698 enable_winemac_drv=${enable_winemac_drv:-no}
9699 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9701 CROSSTARGET=""
9703 if test "x$with_mingw" != xno
9704 then
9705 case "x$with_mingw" in
9706 x|xyes) case "$host_cpu" in
9707 aarch64*)
9708 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9709 arm*)
9710 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9711 i[3456789]86*)
9712 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
9713 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9714 mingw32-gcc" ;;
9715 x86_64)
9716 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
9717 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9719 ac_prefix_list="" ;;
9720 esac
9721 for ac_prog in $ac_prefix_list
9723 # Extract the first word of "$ac_prog", so it can be a program name with args.
9724 set dummy $ac_prog; ac_word=$2
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9726 $as_echo_n "checking for $ac_word... " >&6; }
9727 if ${ac_cv_prog_CROSSCC+:} false; then :
9728 $as_echo_n "(cached) " >&6
9729 else
9730 if test -n "$CROSSCC"; then
9731 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9732 else
9733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9734 for as_dir in $PATH
9736 IFS=$as_save_IFS
9737 test -z "$as_dir" && as_dir=.
9738 for ac_exec_ext in '' $ac_executable_extensions; do
9739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9740 ac_cv_prog_CROSSCC="$ac_prog"
9741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9742 break 2
9744 done
9745 done
9746 IFS=$as_save_IFS
9750 CROSSCC=$ac_cv_prog_CROSSCC
9751 if test -n "$CROSSCC"; then
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9753 $as_echo "$CROSSCC" >&6; }
9754 else
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9756 $as_echo "no" >&6; }
9760 test -n "$CROSSCC" && break
9761 done
9762 test -n "$CROSSCC" || CROSSCC="false"
9764 *) CROSSCC=$with_mingw ;;
9765 esac
9766 if test "$CROSSCC" != "false"
9767 then
9768 ac_save_CC="$CC"
9769 saved_CFLAGS=$CFLAGS
9770 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9772 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9776 CC="$CROSSCC"
9777 CFLAGS=$CROSSCFLAGS
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9779 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9780 if ${wine_cv_crosscc+:} false; then :
9781 $as_echo_n "(cached) " >&6
9782 else
9783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9784 /* end confdefs.h. */
9787 main ()
9791 return 0;
9793 _ACEOF
9794 if ac_fn_c_try_compile "$LINENO"; then :
9795 wine_cv_crosscc=yes
9796 else
9797 wine_cv_crosscc=no
9799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9802 $as_echo "$wine_cv_crosscc" >&6; }
9803 if test $wine_cv_crosscc = yes
9804 then
9805 set x $CROSSCC
9806 shift
9807 while test $# -ge 1
9809 case "$1" in
9810 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9811 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9812 esac
9813 shift
9814 done
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9817 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9818 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9819 $as_echo_n "(cached) " >&6
9820 else
9821 ac_wine_try_cflags_saved=$CFLAGS
9822 ac_wine_try_cflags_saved_cc=$CC
9823 ac_wine_try_cflags_saved_exeext=$ac_exeext
9824 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9825 CC="$CROSSCC"
9826 ac_exeext=".exe"
9827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9829 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9830 _ACEOF
9831 if ac_fn_c_try_link "$LINENO"; then :
9832 ac_cv_crosscflags__fno_strict_aliasing=yes
9833 else
9834 ac_cv_crosscflags__fno_strict_aliasing=no
9836 rm -f core conftest.err conftest.$ac_objext \
9837 conftest$ac_exeext conftest.$ac_ext
9838 CFLAGS=$ac_wine_try_cflags_saved
9839 CC=$ac_wine_try_cflags_saved_cc
9840 ac_exeext=$ac_wine_try_cflags_saved_exeext
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9843 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9844 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9845 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9848 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9849 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9850 $as_echo_n "(cached) " >&6
9851 else
9852 ac_wine_try_cflags_saved=$CFLAGS
9853 ac_wine_try_cflags_saved_cc=$CC
9854 ac_wine_try_cflags_saved_exeext=$ac_exeext
9855 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9856 CC="$CROSSCC"
9857 ac_exeext=".exe"
9858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9859 /* end confdefs.h. */
9860 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9861 _ACEOF
9862 if ac_fn_c_try_link "$LINENO"; then :
9863 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9864 else
9865 ac_cv_crosscflags__Werror_unknown_warning_option=no
9867 rm -f core conftest.err conftest.$ac_objext \
9868 conftest$ac_exeext conftest.$ac_ext
9869 CFLAGS=$ac_wine_try_cflags_saved
9870 CC=$ac_wine_try_cflags_saved_cc
9871 ac_exeext=$ac_wine_try_cflags_saved_exeext
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9874 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9875 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9876 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9879 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9880 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9881 $as_echo_n "(cached) " >&6
9882 else
9883 ac_wine_try_cflags_saved=$CFLAGS
9884 ac_wine_try_cflags_saved_cc=$CC
9885 ac_wine_try_cflags_saved_exeext=$ac_exeext
9886 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9887 CC="$CROSSCC"
9888 ac_exeext=".exe"
9889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9890 /* end confdefs.h. */
9891 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9892 _ACEOF
9893 if ac_fn_c_try_link "$LINENO"; then :
9894 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9895 else
9896 ac_cv_crosscflags__Wdeclaration_after_statement=no
9898 rm -f core conftest.err conftest.$ac_objext \
9899 conftest$ac_exeext conftest.$ac_ext
9900 CFLAGS=$ac_wine_try_cflags_saved
9901 CC=$ac_wine_try_cflags_saved_cc
9902 ac_exeext=$ac_wine_try_cflags_saved_exeext
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9905 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9906 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9907 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9910 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9911 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9912 $as_echo_n "(cached) " >&6
9913 else
9914 ac_wine_try_cflags_saved=$CFLAGS
9915 ac_wine_try_cflags_saved_cc=$CC
9916 ac_wine_try_cflags_saved_exeext=$ac_exeext
9917 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9918 CC="$CROSSCC"
9919 ac_exeext=".exe"
9920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9921 /* end confdefs.h. */
9922 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9923 _ACEOF
9924 if ac_fn_c_try_link "$LINENO"; then :
9925 ac_cv_crosscflags__Wempty_body=yes
9926 else
9927 ac_cv_crosscflags__Wempty_body=no
9929 rm -f core conftest.err conftest.$ac_objext \
9930 conftest$ac_exeext conftest.$ac_ext
9931 CFLAGS=$ac_wine_try_cflags_saved
9932 CC=$ac_wine_try_cflags_saved_cc
9933 ac_exeext=$ac_wine_try_cflags_saved_exeext
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9936 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9937 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9938 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9941 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9942 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9943 $as_echo_n "(cached) " >&6
9944 else
9945 ac_wine_try_cflags_saved=$CFLAGS
9946 ac_wine_try_cflags_saved_cc=$CC
9947 ac_wine_try_cflags_saved_exeext=$ac_exeext
9948 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9949 CC="$CROSSCC"
9950 ac_exeext=".exe"
9951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9952 /* end confdefs.h. */
9953 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9954 _ACEOF
9955 if ac_fn_c_try_link "$LINENO"; then :
9956 ac_cv_crosscflags__Wignored_qualifiers=yes
9957 else
9958 ac_cv_crosscflags__Wignored_qualifiers=no
9960 rm -f core conftest.err conftest.$ac_objext \
9961 conftest$ac_exeext conftest.$ac_ext
9962 CFLAGS=$ac_wine_try_cflags_saved
9963 CC=$ac_wine_try_cflags_saved_cc
9964 ac_exeext=$ac_wine_try_cflags_saved_exeext
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9967 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9968 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9969 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9972 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9973 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9974 $as_echo_n "(cached) " >&6
9975 else
9976 ac_wine_try_cflags_saved=$CFLAGS
9977 ac_wine_try_cflags_saved_cc=$CC
9978 ac_wine_try_cflags_saved_exeext=$ac_exeext
9979 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9980 CC="$CROSSCC"
9981 ac_exeext=".exe"
9982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9983 /* end confdefs.h. */
9984 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9985 _ACEOF
9986 if ac_fn_c_try_link "$LINENO"; then :
9987 ac_cv_crosscflags__Wpacked_not_aligned=yes
9988 else
9989 ac_cv_crosscflags__Wpacked_not_aligned=no
9991 rm -f core conftest.err conftest.$ac_objext \
9992 conftest$ac_exeext conftest.$ac_ext
9993 CFLAGS=$ac_wine_try_cflags_saved
9994 CC=$ac_wine_try_cflags_saved_cc
9995 ac_exeext=$ac_wine_try_cflags_saved_exeext
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9998 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9999 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10000 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10003 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10004 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10005 $as_echo_n "(cached) " >&6
10006 else
10007 ac_wine_try_cflags_saved=$CFLAGS
10008 ac_wine_try_cflags_saved_cc=$CC
10009 ac_wine_try_cflags_saved_exeext=$ac_exeext
10010 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10011 CC="$CROSSCC"
10012 ac_exeext=".exe"
10013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10014 /* end confdefs.h. */
10015 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10016 _ACEOF
10017 if ac_fn_c_try_link "$LINENO"; then :
10018 ac_cv_crosscflags__Wpragma_pack=yes
10019 else
10020 ac_cv_crosscflags__Wpragma_pack=no
10022 rm -f core conftest.err conftest.$ac_objext \
10023 conftest$ac_exeext conftest.$ac_ext
10024 CFLAGS=$ac_wine_try_cflags_saved
10025 CC=$ac_wine_try_cflags_saved_cc
10026 ac_exeext=$ac_wine_try_cflags_saved_exeext
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10029 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10030 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10031 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10034 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10035 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10036 $as_echo_n "(cached) " >&6
10037 else
10038 ac_wine_try_cflags_saved=$CFLAGS
10039 ac_wine_try_cflags_saved_cc=$CC
10040 ac_wine_try_cflags_saved_exeext=$ac_exeext
10041 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10042 CC="$CROSSCC"
10043 ac_exeext=".exe"
10044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10045 /* end confdefs.h. */
10046 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10047 _ACEOF
10048 if ac_fn_c_try_link "$LINENO"; then :
10049 ac_cv_crosscflags__Wshift_overflow_2=yes
10050 else
10051 ac_cv_crosscflags__Wshift_overflow_2=no
10053 rm -f core conftest.err conftest.$ac_objext \
10054 conftest$ac_exeext conftest.$ac_ext
10055 CFLAGS=$ac_wine_try_cflags_saved
10056 CC=$ac_wine_try_cflags_saved_cc
10057 ac_exeext=$ac_wine_try_cflags_saved_exeext
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10060 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10061 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10062 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10065 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10066 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10067 $as_echo_n "(cached) " >&6
10068 else
10069 ac_wine_try_cflags_saved=$CFLAGS
10070 ac_wine_try_cflags_saved_cc=$CC
10071 ac_wine_try_cflags_saved_exeext=$ac_exeext
10072 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10073 CC="$CROSSCC"
10074 ac_exeext=".exe"
10075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10076 /* end confdefs.h. */
10077 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10078 _ACEOF
10079 if ac_fn_c_try_link "$LINENO"; then :
10080 ac_cv_crosscflags__Wstrict_prototypes=yes
10081 else
10082 ac_cv_crosscflags__Wstrict_prototypes=no
10084 rm -f core conftest.err conftest.$ac_objext \
10085 conftest$ac_exeext conftest.$ac_ext
10086 CFLAGS=$ac_wine_try_cflags_saved
10087 CC=$ac_wine_try_cflags_saved_cc
10088 ac_exeext=$ac_wine_try_cflags_saved_exeext
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10091 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10092 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10093 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10096 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10097 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10098 $as_echo_n "(cached) " >&6
10099 else
10100 ac_wine_try_cflags_saved=$CFLAGS
10101 ac_wine_try_cflags_saved_cc=$CC
10102 ac_wine_try_cflags_saved_exeext=$ac_exeext
10103 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10104 CC="$CROSSCC"
10105 ac_exeext=".exe"
10106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10107 /* end confdefs.h. */
10108 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10109 _ACEOF
10110 if ac_fn_c_try_link "$LINENO"; then :
10111 ac_cv_crosscflags__Wtype_limits=yes
10112 else
10113 ac_cv_crosscflags__Wtype_limits=no
10115 rm -f core conftest.err conftest.$ac_objext \
10116 conftest$ac_exeext conftest.$ac_ext
10117 CFLAGS=$ac_wine_try_cflags_saved
10118 CC=$ac_wine_try_cflags_saved_cc
10119 ac_exeext=$ac_wine_try_cflags_saved_exeext
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10122 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10123 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10124 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10127 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10128 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10129 $as_echo_n "(cached) " >&6
10130 else
10131 ac_wine_try_cflags_saved=$CFLAGS
10132 ac_wine_try_cflags_saved_cc=$CC
10133 ac_wine_try_cflags_saved_exeext=$ac_exeext
10134 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10135 CC="$CROSSCC"
10136 ac_exeext=".exe"
10137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10138 /* end confdefs.h. */
10139 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10140 _ACEOF
10141 if ac_fn_c_try_link "$LINENO"; then :
10142 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10143 else
10144 ac_cv_crosscflags__Wunused_but_set_parameter=no
10146 rm -f core conftest.err conftest.$ac_objext \
10147 conftest$ac_exeext conftest.$ac_ext
10148 CFLAGS=$ac_wine_try_cflags_saved
10149 CC=$ac_wine_try_cflags_saved_cc
10150 ac_exeext=$ac_wine_try_cflags_saved_exeext
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10153 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10154 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10155 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10158 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10159 if ${ac_cv_crosscflags__Wvla+:} false; then :
10160 $as_echo_n "(cached) " >&6
10161 else
10162 ac_wine_try_cflags_saved=$CFLAGS
10163 ac_wine_try_cflags_saved_cc=$CC
10164 ac_wine_try_cflags_saved_exeext=$ac_exeext
10165 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10166 CC="$CROSSCC"
10167 ac_exeext=".exe"
10168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10170 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10171 _ACEOF
10172 if ac_fn_c_try_link "$LINENO"; then :
10173 ac_cv_crosscflags__Wvla=yes
10174 else
10175 ac_cv_crosscflags__Wvla=no
10177 rm -f core conftest.err conftest.$ac_objext \
10178 conftest$ac_exeext conftest.$ac_ext
10179 CFLAGS=$ac_wine_try_cflags_saved
10180 CC=$ac_wine_try_cflags_saved_cc
10181 ac_exeext=$ac_wine_try_cflags_saved_exeext
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10184 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10185 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10186 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10189 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10190 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10191 $as_echo_n "(cached) " >&6
10192 else
10193 ac_wine_try_cflags_saved=$CFLAGS
10194 ac_wine_try_cflags_saved_cc=$CC
10195 ac_wine_try_cflags_saved_exeext=$ac_exeext
10196 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10197 CC="$CROSSCC"
10198 ac_exeext=".exe"
10199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10200 /* end confdefs.h. */
10201 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10202 _ACEOF
10203 if ac_fn_c_try_link "$LINENO"; then :
10204 ac_cv_crosscflags__Wwrite_strings=yes
10205 else
10206 ac_cv_crosscflags__Wwrite_strings=no
10208 rm -f core conftest.err conftest.$ac_objext \
10209 conftest$ac_exeext conftest.$ac_ext
10210 CFLAGS=$ac_wine_try_cflags_saved
10211 CC=$ac_wine_try_cflags_saved_cc
10212 ac_exeext=$ac_wine_try_cflags_saved_exeext
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10215 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10216 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10217 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10220 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10221 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10222 $as_echo_n "(cached) " >&6
10223 else
10224 ac_wine_try_cflags_saved=$CFLAGS
10225 ac_wine_try_cflags_saved_cc=$CC
10226 ac_wine_try_cflags_saved_exeext=$ac_exeext
10227 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10228 CC="$CROSSCC"
10229 ac_exeext=".exe"
10230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10231 /* end confdefs.h. */
10232 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10233 _ACEOF
10234 if ac_fn_c_try_link "$LINENO"; then :
10235 ac_cv_crosscflags__Wpointer_arith=yes
10236 else
10237 ac_cv_crosscflags__Wpointer_arith=no
10239 rm -f core conftest.err conftest.$ac_objext \
10240 conftest$ac_exeext conftest.$ac_ext
10241 CFLAGS=$ac_wine_try_cflags_saved
10242 CC=$ac_wine_try_cflags_saved_cc
10243 ac_exeext=$ac_wine_try_cflags_saved_exeext
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10246 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10247 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10248 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10251 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10252 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10253 $as_echo_n "(cached) " >&6
10254 else
10255 ac_wine_try_cflags_saved=$CFLAGS
10256 ac_wine_try_cflags_saved_cc=$CC
10257 ac_wine_try_cflags_saved_exeext=$ac_exeext
10258 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10259 CC="$CROSSCC"
10260 ac_exeext=".exe"
10261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10263 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10264 _ACEOF
10265 if ac_fn_c_try_link "$LINENO"; then :
10266 ac_cv_crosscflags__Wlogical_op=yes
10267 else
10268 ac_cv_crosscflags__Wlogical_op=no
10270 rm -f core conftest.err conftest.$ac_objext \
10271 conftest$ac_exeext conftest.$ac_ext
10272 CFLAGS=$ac_wine_try_cflags_saved
10273 CC=$ac_wine_try_cflags_saved_cc
10274 ac_exeext=$ac_wine_try_cflags_saved_exeext
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10277 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10278 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10279 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10282 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10283 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10284 $as_echo_n "(cached) " >&6
10285 else
10286 ac_wine_try_cflags_saved=$CFLAGS
10287 ac_wine_try_cflags_saved_cc=$CC
10288 ac_wine_try_cflags_saved_exeext=$ac_exeext
10289 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
10290 CC="$CROSSCC"
10291 ac_exeext=".exe"
10292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10293 /* end confdefs.h. */
10294 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10295 _ACEOF
10296 if ac_fn_c_try_link "$LINENO"; then :
10297 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10298 else
10299 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10301 rm -f core conftest.err conftest.$ac_objext \
10302 conftest$ac_exeext conftest.$ac_ext
10303 CFLAGS=$ac_wine_try_cflags_saved
10304 CC=$ac_wine_try_cflags_saved_cc
10305 ac_exeext=$ac_wine_try_cflags_saved_exeext
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10308 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10309 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10310 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10313 case $host_cpu in
10314 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10315 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10316 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10317 $as_echo_n "(cached) " >&6
10318 else
10319 ac_wine_try_cflags_saved=$CFLAGS
10320 ac_wine_try_cflags_saved_cc=$CC
10321 ac_wine_try_cflags_saved_exeext=$ac_exeext
10322 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10323 CC="$CROSSCC"
10324 ac_exeext=".exe"
10325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10326 /* end confdefs.h. */
10327 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10328 _ACEOF
10329 if ac_fn_c_try_link "$LINENO"; then :
10330 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10331 else
10332 ac_cv_crosscflags__fno_omit_frame_pointer=no
10334 rm -f core conftest.err conftest.$ac_objext \
10335 conftest$ac_exeext conftest.$ac_ext
10336 CFLAGS=$ac_wine_try_cflags_saved
10337 CC=$ac_wine_try_cflags_saved_cc
10338 ac_exeext=$ac_wine_try_cflags_saved_exeext
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10341 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10342 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10343 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10344 fi ;;
10345 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10346 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10347 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10348 $as_echo_n "(cached) " >&6
10349 else
10350 ac_wine_try_cflags_saved=$CFLAGS
10351 ac_wine_try_cflags_saved_cc=$CC
10352 ac_wine_try_cflags_saved_exeext=$ac_exeext
10353 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10354 CC="$CROSSCC"
10355 ac_exeext=".exe"
10356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10357 /* end confdefs.h. */
10358 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10359 _ACEOF
10360 if ac_fn_c_try_link "$LINENO"; then :
10361 ac_cv_crosscflags__Wno_format=yes
10362 else
10363 ac_cv_crosscflags__Wno_format=no
10365 rm -f core conftest.err conftest.$ac_objext \
10366 conftest$ac_exeext conftest.$ac_ext
10367 CFLAGS=$ac_wine_try_cflags_saved
10368 CC=$ac_wine_try_cflags_saved_cc
10369 ac_exeext=$ac_wine_try_cflags_saved_exeext
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10372 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10373 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10374 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10377 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10378 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10379 $as_echo_n "(cached) " >&6
10380 else
10381 ac_wine_try_cflags_saved=$CFLAGS
10382 ac_wine_try_cflags_saved_cc=$CC
10383 ac_wine_try_cflags_saved_exeext=$ac_exeext
10384 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10385 CC="$CROSSCC"
10386 ac_exeext=".exe"
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10389 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10390 _ACEOF
10391 if ac_fn_c_try_link "$LINENO"; then :
10392 ac_cv_crosscflags__Wformat_overflow=yes
10393 else
10394 ac_cv_crosscflags__Wformat_overflow=no
10396 rm -f core conftest.err conftest.$ac_objext \
10397 conftest$ac_exeext conftest.$ac_ext
10398 CFLAGS=$ac_wine_try_cflags_saved
10399 CC=$ac_wine_try_cflags_saved_cc
10400 ac_exeext=$ac_wine_try_cflags_saved_exeext
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10403 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10404 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10405 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10408 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10409 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10410 $as_echo_n "(cached) " >&6
10411 else
10412 ac_wine_try_cflags_saved=$CFLAGS
10413 ac_wine_try_cflags_saved_cc=$CC
10414 ac_wine_try_cflags_saved_exeext=$ac_exeext
10415 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10416 CC="$CROSSCC"
10417 ac_exeext=".exe"
10418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10419 /* end confdefs.h. */
10420 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10421 _ACEOF
10422 if ac_fn_c_try_link "$LINENO"; then :
10423 ac_cv_crosscflags__Wnonnull=yes
10424 else
10425 ac_cv_crosscflags__Wnonnull=no
10427 rm -f core conftest.err conftest.$ac_objext \
10428 conftest$ac_exeext conftest.$ac_ext
10429 CFLAGS=$ac_wine_try_cflags_saved
10430 CC=$ac_wine_try_cflags_saved_cc
10431 ac_exeext=$ac_wine_try_cflags_saved_exeext
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10434 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10435 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10436 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10437 fi ;;
10438 esac
10440 for ac_flag in $CROSSCFLAGS; do
10441 case $ac_flag in
10442 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10443 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10444 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10445 $as_echo_n "(cached) " >&6
10446 else
10447 ac_wine_try_cflags_saved=$CFLAGS
10448 ac_wine_try_cflags_saved_cc=$CC
10449 ac_wine_try_cflags_saved_exeext=$ac_exeext
10450 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10451 CC="$CROSSCC"
10452 ac_exeext=".exe"
10453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h. */
10455 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10456 _ACEOF
10457 if ac_fn_c_try_link "$LINENO"; then :
10458 ac_cv_crosscflags__gdwarf_2=yes
10459 else
10460 ac_cv_crosscflags__gdwarf_2=no
10462 rm -f core conftest.err conftest.$ac_objext \
10463 conftest$ac_exeext conftest.$ac_ext
10464 CFLAGS=$ac_wine_try_cflags_saved
10465 CC=$ac_wine_try_cflags_saved_cc
10466 ac_exeext=$ac_wine_try_cflags_saved_exeext
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10469 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10470 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10471 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10474 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10475 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10476 $as_echo_n "(cached) " >&6
10477 else
10478 ac_wine_try_cflags_saved=$CFLAGS
10479 ac_wine_try_cflags_saved_cc=$CC
10480 ac_wine_try_cflags_saved_exeext=$ac_exeext
10481 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10482 CC="$CROSSCC"
10483 ac_exeext=".exe"
10484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10485 /* end confdefs.h. */
10486 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10487 _ACEOF
10488 if ac_fn_c_try_link "$LINENO"; then :
10489 ac_cv_crosscflags__gstrict_dwarf=yes
10490 else
10491 ac_cv_crosscflags__gstrict_dwarf=no
10493 rm -f core conftest.err conftest.$ac_objext \
10494 conftest$ac_exeext conftest.$ac_ext
10495 CFLAGS=$ac_wine_try_cflags_saved
10496 CC=$ac_wine_try_cflags_saved_cc
10497 ac_exeext=$ac_wine_try_cflags_saved_exeext
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10500 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10501 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10502 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10503 fi ;;
10504 esac
10505 done
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll" >&5
10508 $as_echo_n "checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10509 if ${ac_cv_crosscflags__Wl__delayload_autoconftest_dll+:} false; then :
10510 $as_echo_n "(cached) " >&6
10511 else
10512 ac_wine_try_cflags_saved=$CFLAGS
10513 ac_wine_try_cflags_saved_cc=$CC
10514 ac_wine_try_cflags_saved_exeext=$ac_exeext
10515 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,-delayload,autoconftest.dll"
10516 CC="$CROSSCC"
10517 ac_exeext=".exe"
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10520 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10521 _ACEOF
10522 if ac_fn_c_try_link "$LINENO"; then :
10523 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=yes
10524 else
10525 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=no
10527 rm -f core conftest.err conftest.$ac_objext \
10528 conftest$ac_exeext conftest.$ac_ext
10529 CFLAGS=$ac_wine_try_cflags_saved
10530 CC=$ac_wine_try_cflags_saved_cc
10531 ac_exeext=$ac_wine_try_cflags_saved_exeext
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&5
10534 $as_echo "$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&6; }
10535 if test "x$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" = xyes; then :
10536 DELAYLOADFLAG="-Wl,-delayload,"
10540 if test "x$enable_maintainer_mode" = xyes
10541 then
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10543 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10544 if ${ac_cv_crosscflags__Werror+:} false; then :
10545 $as_echo_n "(cached) " >&6
10546 else
10547 ac_wine_try_cflags_saved=$CFLAGS
10548 ac_wine_try_cflags_saved_cc=$CC
10549 ac_wine_try_cflags_saved_exeext=$ac_exeext
10550 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10551 CC="$CROSSCC"
10552 ac_exeext=".exe"
10553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10554 /* end confdefs.h. */
10555 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10556 _ACEOF
10557 if ac_fn_c_try_link "$LINENO"; then :
10558 ac_cv_crosscflags__Werror=yes
10559 else
10560 ac_cv_crosscflags__Werror=no
10562 rm -f core conftest.err conftest.$ac_objext \
10563 conftest$ac_exeext conftest.$ac_ext
10564 CFLAGS=$ac_wine_try_cflags_saved
10565 CC=$ac_wine_try_cflags_saved_cc
10566 ac_exeext=$ac_wine_try_cflags_saved_exeext
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10569 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10570 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10571 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10575 CFLAGS=$saved_CFLAGS
10576 CC="$ac_save_CC"
10579 if test "x$CROSSTARGET" = "x"; then :
10580 case "x$with_mingw" in
10581 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10582 xno) ;;
10583 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10584 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10585 esac
10590 if test "$ac_cv_header_pthread_h" = "yes"
10591 then
10592 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10593 if test "x$ac_cv_func_pthread_create" = xyes; then :
10595 else
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10597 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10598 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10599 $as_echo_n "(cached) " >&6
10600 else
10601 ac_check_lib_save_LIBS=$LIBS
10602 LIBS="-lpthread $LIBS"
10603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10604 /* end confdefs.h. */
10606 /* Override any GCC internal prototype to avoid an error.
10607 Use char because int might match the return type of a GCC
10608 builtin and then its argument prototype would still apply. */
10609 #ifdef __cplusplus
10610 extern "C"
10611 #endif
10612 char pthread_create ();
10614 main ()
10616 return pthread_create ();
10618 return 0;
10620 _ACEOF
10621 if ac_fn_c_try_link "$LINENO"; then :
10622 ac_cv_lib_pthread_pthread_create=yes
10623 else
10624 ac_cv_lib_pthread_pthread_create=no
10626 rm -f core conftest.err conftest.$ac_objext \
10627 conftest$ac_exeext conftest.$ac_ext
10628 LIBS=$ac_check_lib_save_LIBS
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10631 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10632 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10633 PTHREAD_LIBS="-lpthread"
10640 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10641 case "x$with_pthread" in
10642 xno) ;;
10643 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10644 Wine cannot support threads without libpthread.
10645 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10646 esac
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10652 $as_echo_n "checking for X... " >&6; }
10655 # Check whether --with-x was given.
10656 if test "${with_x+set}" = set; then :
10657 withval=$with_x;
10660 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10661 if test "x$with_x" = xno; then
10662 # The user explicitly disabled X.
10663 have_x=disabled
10664 else
10665 case $x_includes,$x_libraries in #(
10666 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10667 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10668 $as_echo_n "(cached) " >&6
10669 else
10670 # One or both of the vars are not set, and there is no cached value.
10671 ac_x_includes=no ac_x_libraries=no
10672 rm -f -r conftest.dir
10673 if mkdir conftest.dir; then
10674 cd conftest.dir
10675 cat >Imakefile <<'_ACEOF'
10676 incroot:
10677 @echo incroot='${INCROOT}'
10678 usrlibdir:
10679 @echo usrlibdir='${USRLIBDIR}'
10680 libdir:
10681 @echo libdir='${LIBDIR}'
10682 _ACEOF
10683 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10684 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10685 for ac_var in incroot usrlibdir libdir; do
10686 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10687 done
10688 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10689 for ac_extension in a so sl dylib la dll; do
10690 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10691 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10692 ac_im_usrlibdir=$ac_im_libdir; break
10694 done
10695 # Screen out bogus values from the imake configuration. They are
10696 # bogus both because they are the default anyway, and because
10697 # using them would break gcc on systems where it needs fixed includes.
10698 case $ac_im_incroot in
10699 /usr/include) ac_x_includes= ;;
10700 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10701 esac
10702 case $ac_im_usrlibdir in
10703 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10704 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10705 esac
10707 cd ..
10708 rm -f -r conftest.dir
10711 # Standard set of common directories for X headers.
10712 # Check X11 before X11Rn because it is often a symlink to the current release.
10713 ac_x_header_dirs='
10714 /usr/X11/include
10715 /usr/X11R7/include
10716 /usr/X11R6/include
10717 /usr/X11R5/include
10718 /usr/X11R4/include
10720 /usr/include/X11
10721 /usr/include/X11R7
10722 /usr/include/X11R6
10723 /usr/include/X11R5
10724 /usr/include/X11R4
10726 /usr/local/X11/include
10727 /usr/local/X11R7/include
10728 /usr/local/X11R6/include
10729 /usr/local/X11R5/include
10730 /usr/local/X11R4/include
10732 /usr/local/include/X11
10733 /usr/local/include/X11R7
10734 /usr/local/include/X11R6
10735 /usr/local/include/X11R5
10736 /usr/local/include/X11R4
10738 /usr/X386/include
10739 /usr/x386/include
10740 /usr/XFree86/include/X11
10742 /usr/include
10743 /usr/local/include
10744 /usr/unsupported/include
10745 /usr/athena/include
10746 /usr/local/x11r5/include
10747 /usr/lpp/Xamples/include
10749 /usr/openwin/include
10750 /usr/openwin/share/include'
10752 if test "$ac_x_includes" = no; then
10753 # Guess where to find include files, by looking for Xlib.h.
10754 # First, try using that file with no special directory specified.
10755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10756 /* end confdefs.h. */
10757 #include <X11/Xlib.h>
10758 _ACEOF
10759 if ac_fn_c_try_cpp "$LINENO"; then :
10760 # We can compile using X headers with no special include directory.
10761 ac_x_includes=
10762 else
10763 for ac_dir in $ac_x_header_dirs; do
10764 if test -r "$ac_dir/X11/Xlib.h"; then
10765 ac_x_includes=$ac_dir
10766 break
10768 done
10770 rm -f conftest.err conftest.i conftest.$ac_ext
10771 fi # $ac_x_includes = no
10773 if test "$ac_x_libraries" = no; then
10774 # Check for the libraries.
10775 # See if we find them without any special options.
10776 # Don't add to $LIBS permanently.
10777 ac_save_LIBS=$LIBS
10778 LIBS="-lX11 $LIBS"
10779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10780 /* end confdefs.h. */
10781 #include <X11/Xlib.h>
10783 main ()
10785 XrmInitialize ()
10787 return 0;
10789 _ACEOF
10790 if ac_fn_c_try_link "$LINENO"; then :
10791 LIBS=$ac_save_LIBS
10792 # We can link X programs with no special library path.
10793 ac_x_libraries=
10794 else
10795 LIBS=$ac_save_LIBS
10796 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10798 # Don't even attempt the hair of trying to link an X program!
10799 for ac_extension in a so sl dylib la dll; do
10800 if test -r "$ac_dir/libX11.$ac_extension"; then
10801 ac_x_libraries=$ac_dir
10802 break 2
10804 done
10805 done
10807 rm -f core conftest.err conftest.$ac_objext \
10808 conftest$ac_exeext conftest.$ac_ext
10809 fi # $ac_x_libraries = no
10811 case $ac_x_includes,$ac_x_libraries in #(
10812 no,* | *,no | *\'*)
10813 # Didn't find X, or a directory has "'" in its name.
10814 ac_cv_have_x="have_x=no";; #(
10816 # Record where we found X for the cache.
10817 ac_cv_have_x="have_x=yes\
10818 ac_x_includes='$ac_x_includes'\
10819 ac_x_libraries='$ac_x_libraries'"
10820 esac
10822 ;; #(
10823 *) have_x=yes;;
10824 esac
10825 eval "$ac_cv_have_x"
10826 fi # $with_x != no
10828 if test "$have_x" != yes; then
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10830 $as_echo "$have_x" >&6; }
10831 no_x=yes
10832 else
10833 # If each of the values was on the command line, it overrides each guess.
10834 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10835 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10836 # Update the cache value to reflect the command line values.
10837 ac_cv_have_x="have_x=yes\
10838 ac_x_includes='$x_includes'\
10839 ac_x_libraries='$x_libraries'"
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10841 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10844 if test "$no_x" = yes; then
10845 # Not all programs may use this symbol, but it does not hurt to define it.
10847 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10849 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10850 else
10851 if test -n "$x_includes"; then
10852 X_CFLAGS="$X_CFLAGS -I$x_includes"
10855 # It would also be nice to do this for all -L options, not just this one.
10856 if test -n "$x_libraries"; then
10857 X_LIBS="$X_LIBS -L$x_libraries"
10858 # For Solaris; some versions of Sun CC require a space after -R and
10859 # others require no space. Words are not sufficient . . . .
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10861 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10862 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10863 ac_xsave_c_werror_flag=$ac_c_werror_flag
10864 ac_c_werror_flag=yes
10865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10869 main ()
10873 return 0;
10875 _ACEOF
10876 if ac_fn_c_try_link "$LINENO"; then :
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10878 $as_echo "no" >&6; }
10879 X_LIBS="$X_LIBS -R$x_libraries"
10880 else
10881 LIBS="$ac_xsave_LIBS -R $x_libraries"
10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10886 main ()
10890 return 0;
10892 _ACEOF
10893 if ac_fn_c_try_link "$LINENO"; then :
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10895 $as_echo "yes" >&6; }
10896 X_LIBS="$X_LIBS -R $x_libraries"
10897 else
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10899 $as_echo "neither works" >&6; }
10901 rm -f core conftest.err conftest.$ac_objext \
10902 conftest$ac_exeext conftest.$ac_ext
10904 rm -f core conftest.err conftest.$ac_objext \
10905 conftest$ac_exeext conftest.$ac_ext
10906 ac_c_werror_flag=$ac_xsave_c_werror_flag
10907 LIBS=$ac_xsave_LIBS
10910 # Check for system-dependent libraries X programs must link with.
10911 # Do this before checking for the system-independent R6 libraries
10912 # (-lICE), since we may need -lsocket or whatever for X linking.
10914 if test "$ISC" = yes; then
10915 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10916 else
10917 # Martyn Johnson says this is needed for Ultrix, if the X
10918 # libraries were built with DECnet support. And Karl Berry says
10919 # the Alpha needs dnet_stub (dnet does not exist).
10920 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10924 /* Override any GCC internal prototype to avoid an error.
10925 Use char because int might match the return type of a GCC
10926 builtin and then its argument prototype would still apply. */
10927 #ifdef __cplusplus
10928 extern "C"
10929 #endif
10930 char XOpenDisplay ();
10932 main ()
10934 return XOpenDisplay ();
10936 return 0;
10938 _ACEOF
10939 if ac_fn_c_try_link "$LINENO"; then :
10941 else
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10943 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10944 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10945 $as_echo_n "(cached) " >&6
10946 else
10947 ac_check_lib_save_LIBS=$LIBS
10948 LIBS="-ldnet $LIBS"
10949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10950 /* end confdefs.h. */
10952 /* Override any GCC internal prototype to avoid an error.
10953 Use char because int might match the return type of a GCC
10954 builtin and then its argument prototype would still apply. */
10955 #ifdef __cplusplus
10956 extern "C"
10957 #endif
10958 char dnet_ntoa ();
10960 main ()
10962 return dnet_ntoa ();
10964 return 0;
10966 _ACEOF
10967 if ac_fn_c_try_link "$LINENO"; then :
10968 ac_cv_lib_dnet_dnet_ntoa=yes
10969 else
10970 ac_cv_lib_dnet_dnet_ntoa=no
10972 rm -f core conftest.err conftest.$ac_objext \
10973 conftest$ac_exeext conftest.$ac_ext
10974 LIBS=$ac_check_lib_save_LIBS
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10977 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10978 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10979 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10982 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10984 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10985 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10986 $as_echo_n "(cached) " >&6
10987 else
10988 ac_check_lib_save_LIBS=$LIBS
10989 LIBS="-ldnet_stub $LIBS"
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10993 /* Override any GCC internal prototype to avoid an error.
10994 Use char because int might match the return type of a GCC
10995 builtin and then its argument prototype would still apply. */
10996 #ifdef __cplusplus
10997 extern "C"
10998 #endif
10999 char dnet_ntoa ();
11001 main ()
11003 return dnet_ntoa ();
11005 return 0;
11007 _ACEOF
11008 if ac_fn_c_try_link "$LINENO"; then :
11009 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11010 else
11011 ac_cv_lib_dnet_stub_dnet_ntoa=no
11013 rm -f core conftest.err conftest.$ac_objext \
11014 conftest$ac_exeext conftest.$ac_ext
11015 LIBS=$ac_check_lib_save_LIBS
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11018 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11019 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11020 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11025 rm -f core conftest.err conftest.$ac_objext \
11026 conftest$ac_exeext conftest.$ac_ext
11027 LIBS="$ac_xsave_LIBS"
11029 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11030 # to get the SysV transport functions.
11031 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11032 # needs -lnsl.
11033 # The nsl library prevents programs from opening the X display
11034 # on Irix 5.2, according to T.E. Dickey.
11035 # The functions gethostbyname, getservbyname, and inet_addr are
11036 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11037 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11038 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11042 if test $ac_cv_func_gethostbyname = no; then
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11044 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11045 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11046 $as_echo_n "(cached) " >&6
11047 else
11048 ac_check_lib_save_LIBS=$LIBS
11049 LIBS="-lnsl $LIBS"
11050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11053 /* Override any GCC internal prototype to avoid an error.
11054 Use char because int might match the return type of a GCC
11055 builtin and then its argument prototype would still apply. */
11056 #ifdef __cplusplus
11057 extern "C"
11058 #endif
11059 char gethostbyname ();
11061 main ()
11063 return gethostbyname ();
11065 return 0;
11067 _ACEOF
11068 if ac_fn_c_try_link "$LINENO"; then :
11069 ac_cv_lib_nsl_gethostbyname=yes
11070 else
11071 ac_cv_lib_nsl_gethostbyname=no
11073 rm -f core conftest.err conftest.$ac_objext \
11074 conftest$ac_exeext conftest.$ac_ext
11075 LIBS=$ac_check_lib_save_LIBS
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11078 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11079 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11080 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11083 if test $ac_cv_lib_nsl_gethostbyname = no; then
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11085 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11086 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11087 $as_echo_n "(cached) " >&6
11088 else
11089 ac_check_lib_save_LIBS=$LIBS
11090 LIBS="-lbsd $LIBS"
11091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11092 /* end confdefs.h. */
11094 /* Override any GCC internal prototype to avoid an error.
11095 Use char because int might match the return type of a GCC
11096 builtin and then its argument prototype would still apply. */
11097 #ifdef __cplusplus
11098 extern "C"
11099 #endif
11100 char gethostbyname ();
11102 main ()
11104 return gethostbyname ();
11106 return 0;
11108 _ACEOF
11109 if ac_fn_c_try_link "$LINENO"; then :
11110 ac_cv_lib_bsd_gethostbyname=yes
11111 else
11112 ac_cv_lib_bsd_gethostbyname=no
11114 rm -f core conftest.err conftest.$ac_objext \
11115 conftest$ac_exeext conftest.$ac_ext
11116 LIBS=$ac_check_lib_save_LIBS
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11119 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11120 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11121 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11127 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11128 # socket/setsockopt and other routines are undefined under SCO ODT
11129 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11130 # on later versions), says Simon Leinen: it contains gethostby*
11131 # variants that don't use the name server (or something). -lsocket
11132 # must be given before -lnsl if both are needed. We assume that
11133 # if connect needs -lnsl, so does gethostbyname.
11134 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11135 if test "x$ac_cv_func_connect" = xyes; then :
11139 if test $ac_cv_func_connect = no; then
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11141 $as_echo_n "checking for connect in -lsocket... " >&6; }
11142 if ${ac_cv_lib_socket_connect+:} false; then :
11143 $as_echo_n "(cached) " >&6
11144 else
11145 ac_check_lib_save_LIBS=$LIBS
11146 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11148 /* end confdefs.h. */
11150 /* Override any GCC internal prototype to avoid an error.
11151 Use char because int might match the return type of a GCC
11152 builtin and then its argument prototype would still apply. */
11153 #ifdef __cplusplus
11154 extern "C"
11155 #endif
11156 char connect ();
11158 main ()
11160 return connect ();
11162 return 0;
11164 _ACEOF
11165 if ac_fn_c_try_link "$LINENO"; then :
11166 ac_cv_lib_socket_connect=yes
11167 else
11168 ac_cv_lib_socket_connect=no
11170 rm -f core conftest.err conftest.$ac_objext \
11171 conftest$ac_exeext conftest.$ac_ext
11172 LIBS=$ac_check_lib_save_LIBS
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11175 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11176 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11177 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11182 # Guillermo Gomez says -lposix is necessary on A/UX.
11183 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11184 if test "x$ac_cv_func_remove" = xyes; then :
11188 if test $ac_cv_func_remove = no; then
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11190 $as_echo_n "checking for remove in -lposix... " >&6; }
11191 if ${ac_cv_lib_posix_remove+:} false; then :
11192 $as_echo_n "(cached) " >&6
11193 else
11194 ac_check_lib_save_LIBS=$LIBS
11195 LIBS="-lposix $LIBS"
11196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11197 /* end confdefs.h. */
11199 /* Override any GCC internal prototype to avoid an error.
11200 Use char because int might match the return type of a GCC
11201 builtin and then its argument prototype would still apply. */
11202 #ifdef __cplusplus
11203 extern "C"
11204 #endif
11205 char remove ();
11207 main ()
11209 return remove ();
11211 return 0;
11213 _ACEOF
11214 if ac_fn_c_try_link "$LINENO"; then :
11215 ac_cv_lib_posix_remove=yes
11216 else
11217 ac_cv_lib_posix_remove=no
11219 rm -f core conftest.err conftest.$ac_objext \
11220 conftest$ac_exeext conftest.$ac_ext
11221 LIBS=$ac_check_lib_save_LIBS
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11224 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11225 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11226 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11231 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11232 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11233 if test "x$ac_cv_func_shmat" = xyes; then :
11237 if test $ac_cv_func_shmat = no; then
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11239 $as_echo_n "checking for shmat in -lipc... " >&6; }
11240 if ${ac_cv_lib_ipc_shmat+:} false; then :
11241 $as_echo_n "(cached) " >&6
11242 else
11243 ac_check_lib_save_LIBS=$LIBS
11244 LIBS="-lipc $LIBS"
11245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11248 /* Override any GCC internal prototype to avoid an error.
11249 Use char because int might match the return type of a GCC
11250 builtin and then its argument prototype would still apply. */
11251 #ifdef __cplusplus
11252 extern "C"
11253 #endif
11254 char shmat ();
11256 main ()
11258 return shmat ();
11260 return 0;
11262 _ACEOF
11263 if ac_fn_c_try_link "$LINENO"; then :
11264 ac_cv_lib_ipc_shmat=yes
11265 else
11266 ac_cv_lib_ipc_shmat=no
11268 rm -f core conftest.err conftest.$ac_objext \
11269 conftest$ac_exeext conftest.$ac_ext
11270 LIBS=$ac_check_lib_save_LIBS
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11273 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11274 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11275 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11281 # Check for libraries that X11R6 Xt/Xaw programs need.
11282 ac_save_LDFLAGS=$LDFLAGS
11283 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11284 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11285 # check for ICE first), but we must link in the order -lSM -lICE or
11286 # we get undefined symbols. So assume we have SM if we have ICE.
11287 # These have to be linked with before -lX11, unlike the other
11288 # libraries we check for below, so use a different variable.
11289 # John Interrante, Karl Berry
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11291 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11292 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11293 $as_echo_n "(cached) " >&6
11294 else
11295 ac_check_lib_save_LIBS=$LIBS
11296 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11300 /* Override any GCC internal prototype to avoid an error.
11301 Use char because int might match the return type of a GCC
11302 builtin and then its argument prototype would still apply. */
11303 #ifdef __cplusplus
11304 extern "C"
11305 #endif
11306 char IceConnectionNumber ();
11308 main ()
11310 return IceConnectionNumber ();
11312 return 0;
11314 _ACEOF
11315 if ac_fn_c_try_link "$LINENO"; then :
11316 ac_cv_lib_ICE_IceConnectionNumber=yes
11317 else
11318 ac_cv_lib_ICE_IceConnectionNumber=no
11320 rm -f core conftest.err conftest.$ac_objext \
11321 conftest$ac_exeext conftest.$ac_ext
11322 LIBS=$ac_check_lib_save_LIBS
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11325 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11326 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11327 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11330 LDFLAGS=$ac_save_LDFLAGS
11335 if test "$have_x" = "yes"
11336 then
11337 ac_save_CPPFLAGS="$CPPFLAGS"
11338 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11341 $as_echo_n "checking for -lX11... " >&6; }
11342 if ${ac_cv_lib_soname_X11+:} false; then :
11343 $as_echo_n "(cached) " >&6
11344 else
11345 ac_check_soname_save_LIBS=$LIBS
11346 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h. */
11350 /* Override any GCC internal prototype to avoid an error.
11351 Use char because int might match the return type of a GCC
11352 builtin and then its argument prototype would still apply. */
11353 #ifdef __cplusplus
11354 extern "C"
11355 #endif
11356 char XCreateWindow ();
11358 main ()
11360 return XCreateWindow ();
11362 return 0;
11364 _ACEOF
11365 if ac_fn_c_try_link "$LINENO"; then :
11366 case "$LIBEXT" in
11367 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11368 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'` ;;
11369 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11370 if ${ac_cv_lib_soname_X11:+false} :; then :
11371 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11372 fi ;;
11373 esac
11374 else
11375 ac_cv_lib_soname_X11=
11377 rm -f core conftest.err conftest.$ac_objext \
11378 conftest$ac_exeext conftest.$ac_ext
11379 LIBS=$ac_check_soname_save_LIBS
11381 if ${ac_cv_lib_soname_X11:+false} :; then :
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11383 $as_echo "not found" >&6; }
11385 else
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11387 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11389 cat >>confdefs.h <<_ACEOF
11390 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11391 _ACEOF
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11396 $as_echo_n "checking for -lXext... " >&6; }
11397 if ${ac_cv_lib_soname_Xext+:} false; then :
11398 $as_echo_n "(cached) " >&6
11399 else
11400 ac_check_soname_save_LIBS=$LIBS
11401 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11408 #ifdef __cplusplus
11409 extern "C"
11410 #endif
11411 char XextCreateExtension ();
11413 main ()
11415 return XextCreateExtension ();
11417 return 0;
11419 _ACEOF
11420 if ac_fn_c_try_link "$LINENO"; then :
11421 case "$LIBEXT" in
11422 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11423 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'` ;;
11424 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11425 if ${ac_cv_lib_soname_Xext:+false} :; then :
11426 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11427 fi ;;
11428 esac
11429 else
11430 ac_cv_lib_soname_Xext=
11432 rm -f core conftest.err conftest.$ac_objext \
11433 conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_soname_save_LIBS
11436 if ${ac_cv_lib_soname_Xext:+false} :; then :
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11438 $as_echo "not found" >&6; }
11440 else
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11442 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11444 cat >>confdefs.h <<_ACEOF
11445 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11446 _ACEOF
11448 X_LIBS="$X_LIBS -lXext"
11450 X_LIBS="$X_LIBS -lX11"
11452 for ac_header in X11/Xlib.h \
11453 X11/XKBlib.h \
11454 X11/Xutil.h \
11455 X11/Xcursor/Xcursor.h \
11456 X11/extensions/shape.h \
11457 X11/extensions/XInput.h \
11458 X11/extensions/XInput2.h \
11459 X11/extensions/XShm.h \
11460 X11/extensions/Xcomposite.h \
11461 X11/extensions/Xfixes.h \
11462 X11/extensions/Xinerama.h \
11463 X11/extensions/Xrandr.h \
11464 X11/extensions/Xrender.h \
11465 X11/extensions/xf86vmode.h \
11466 X11/extensions/xf86vmproto.h
11467 do :
11468 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11469 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11470 # include <X11/Xlib.h>
11471 #endif
11472 #ifdef HAVE_X11_XUTIL_H
11473 # include <X11/Xutil.h>
11474 #endif
11476 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11477 cat >>confdefs.h <<_ACEOF
11478 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11479 _ACEOF
11483 done
11486 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11487 then
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11489 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11490 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11491 $as_echo_n "(cached) " >&6
11492 else
11493 ac_check_lib_save_LIBS=$LIBS
11494 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11498 /* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
11501 #ifdef __cplusplus
11502 extern "C"
11503 #endif
11504 char XkbQueryExtension ();
11506 main ()
11508 return XkbQueryExtension ();
11510 return 0;
11512 _ACEOF
11513 if ac_fn_c_try_link "$LINENO"; then :
11514 ac_cv_lib_X11_XkbQueryExtension=yes
11515 else
11516 ac_cv_lib_X11_XkbQueryExtension=no
11518 rm -f core conftest.err conftest.$ac_objext \
11519 conftest$ac_exeext conftest.$ac_ext
11520 LIBS=$ac_check_lib_save_LIBS
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11523 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11524 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11526 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11532 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11533 then
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11535 $as_echo_n "checking for -lXcursor... " >&6; }
11536 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11537 $as_echo_n "(cached) " >&6
11538 else
11539 ac_check_soname_save_LIBS=$LIBS
11540 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11542 /* end confdefs.h. */
11544 /* Override any GCC internal prototype to avoid an error.
11545 Use char because int might match the return type of a GCC
11546 builtin and then its argument prototype would still apply. */
11547 #ifdef __cplusplus
11548 extern "C"
11549 #endif
11550 char XcursorImageLoadCursor ();
11552 main ()
11554 return XcursorImageLoadCursor ();
11556 return 0;
11558 _ACEOF
11559 if ac_fn_c_try_link "$LINENO"; then :
11560 case "$LIBEXT" in
11561 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11562 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'` ;;
11563 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11564 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11565 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11566 fi ;;
11567 esac
11568 else
11569 ac_cv_lib_soname_Xcursor=
11571 rm -f core conftest.err conftest.$ac_objext \
11572 conftest$ac_exeext conftest.$ac_ext
11573 LIBS=$ac_check_soname_save_LIBS
11575 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11577 $as_echo "not found" >&6; }
11579 else
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11581 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11583 cat >>confdefs.h <<_ACEOF
11584 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11585 _ACEOF
11590 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11591 case "x$with_xcursor" in
11592 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11593 xno) ;;
11594 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11595 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11596 esac
11600 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11601 then
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11603 $as_echo_n "checking for -lXi... " >&6; }
11604 if ${ac_cv_lib_soname_Xi+:} false; then :
11605 $as_echo_n "(cached) " >&6
11606 else
11607 ac_check_soname_save_LIBS=$LIBS
11608 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11610 /* end confdefs.h. */
11612 /* Override any GCC internal prototype to avoid an error.
11613 Use char because int might match the return type of a GCC
11614 builtin and then its argument prototype would still apply. */
11615 #ifdef __cplusplus
11616 extern "C"
11617 #endif
11618 char XOpenDevice ();
11620 main ()
11622 return XOpenDevice ();
11624 return 0;
11626 _ACEOF
11627 if ac_fn_c_try_link "$LINENO"; then :
11628 case "$LIBEXT" in
11629 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11630 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'` ;;
11631 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11632 if ${ac_cv_lib_soname_Xi:+false} :; then :
11633 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11634 fi ;;
11635 esac
11636 else
11637 ac_cv_lib_soname_Xi=
11639 rm -f core conftest.err conftest.$ac_objext \
11640 conftest$ac_exeext conftest.$ac_ext
11641 LIBS=$ac_check_soname_save_LIBS
11643 if ${ac_cv_lib_soname_Xi:+false} :; then :
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11645 $as_echo "not found" >&6; }
11647 else
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11649 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11651 cat >>confdefs.h <<_ACEOF
11652 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11653 _ACEOF
11658 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11659 case "x$with_xinput" in
11660 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11661 xno) ;;
11662 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11663 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11664 esac
11668 if test "x$ac_cv_lib_soname_Xi" != x
11669 then
11670 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11671 case "x$with_xinput2" in
11672 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11673 xno) ;;
11674 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11675 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11676 esac
11681 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11682 then
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11684 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11685 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11686 $as_echo_n "(cached) " >&6
11687 else
11688 ac_check_lib_save_LIBS=$LIBS
11689 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11691 /* end confdefs.h. */
11693 /* Override any GCC internal prototype to avoid an error.
11694 Use char because int might match the return type of a GCC
11695 builtin and then its argument prototype would still apply. */
11696 #ifdef __cplusplus
11697 extern "C"
11698 #endif
11699 char XShmQueryExtension ();
11701 main ()
11703 return XShmQueryExtension ();
11705 return 0;
11707 _ACEOF
11708 if ac_fn_c_try_link "$LINENO"; then :
11709 ac_cv_lib_Xext_XShmQueryExtension=yes
11710 else
11711 ac_cv_lib_Xext_XShmQueryExtension=no
11713 rm -f core conftest.err conftest.$ac_objext \
11714 conftest$ac_exeext conftest.$ac_ext
11715 LIBS=$ac_check_lib_save_LIBS
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11718 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11719 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11721 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11726 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11727 case "x$with_xshm" in
11728 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11729 xno) ;;
11730 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11731 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11732 esac
11736 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11737 then
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11739 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11740 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11741 $as_echo_n "(cached) " >&6
11742 else
11743 ac_check_lib_save_LIBS=$LIBS
11744 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11748 /* Override any GCC internal prototype to avoid an error.
11749 Use char because int might match the return type of a GCC
11750 builtin and then its argument prototype would still apply. */
11751 #ifdef __cplusplus
11752 extern "C"
11753 #endif
11754 char XShapeQueryExtension ();
11756 main ()
11758 return XShapeQueryExtension ();
11760 return 0;
11762 _ACEOF
11763 if ac_fn_c_try_link "$LINENO"; then :
11764 ac_cv_lib_Xext_XShapeQueryExtension=yes
11765 else
11766 ac_cv_lib_Xext_XShapeQueryExtension=no
11768 rm -f core conftest.err conftest.$ac_objext \
11769 conftest$ac_exeext conftest.$ac_ext
11770 LIBS=$ac_check_lib_save_LIBS
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11773 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11774 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11776 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11781 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11782 case "x$with_xshape" in
11783 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11784 xno) ;;
11785 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11786 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11787 esac
11791 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11792 then
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11794 $as_echo_n "checking for -lXxf86vm... " >&6; }
11795 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11796 $as_echo_n "(cached) " >&6
11797 else
11798 ac_check_soname_save_LIBS=$LIBS
11799 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11803 /* Override any GCC internal prototype to avoid an error.
11804 Use char because int might match the return type of a GCC
11805 builtin and then its argument prototype would still apply. */
11806 #ifdef __cplusplus
11807 extern "C"
11808 #endif
11809 char XF86VidModeQueryExtension ();
11811 main ()
11813 return XF86VidModeQueryExtension ();
11815 return 0;
11817 _ACEOF
11818 if ac_fn_c_try_link "$LINENO"; then :
11819 case "$LIBEXT" in
11820 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11821 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'` ;;
11822 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11823 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11824 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11825 fi ;;
11826 esac
11827 else
11828 ac_cv_lib_soname_Xxf86vm=
11830 rm -f core conftest.err conftest.$ac_objext \
11831 conftest$ac_exeext conftest.$ac_ext
11832 LIBS=$ac_check_soname_save_LIBS
11834 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11836 $as_echo "not found" >&6; }
11838 else
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11840 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11842 cat >>confdefs.h <<_ACEOF
11843 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11844 _ACEOF
11849 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11850 case "x$with_xxf86vm" in
11851 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11852 xno) ;;
11853 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11854 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11855 esac
11859 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11860 then
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11862 $as_echo_n "checking for -lXrender... " >&6; }
11863 if ${ac_cv_lib_soname_Xrender+:} false; then :
11864 $as_echo_n "(cached) " >&6
11865 else
11866 ac_check_soname_save_LIBS=$LIBS
11867 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11871 /* Override any GCC internal prototype to avoid an error.
11872 Use char because int might match the return type of a GCC
11873 builtin and then its argument prototype would still apply. */
11874 #ifdef __cplusplus
11875 extern "C"
11876 #endif
11877 char XRenderQueryExtension ();
11879 main ()
11881 return XRenderQueryExtension ();
11883 return 0;
11885 _ACEOF
11886 if ac_fn_c_try_link "$LINENO"; then :
11887 case "$LIBEXT" in
11888 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11889 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'` ;;
11890 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11891 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11892 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11893 fi ;;
11894 esac
11895 else
11896 ac_cv_lib_soname_Xrender=
11898 rm -f core conftest.err conftest.$ac_objext \
11899 conftest$ac_exeext conftest.$ac_ext
11900 LIBS=$ac_check_soname_save_LIBS
11902 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11904 $as_echo "not found" >&6; }
11906 else
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11908 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11910 cat >>confdefs.h <<_ACEOF
11911 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11912 _ACEOF
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11915 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11916 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11917 $as_echo_n "(cached) " >&6
11918 else
11919 ac_check_lib_save_LIBS=$LIBS
11920 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11922 /* end confdefs.h. */
11924 /* Override any GCC internal prototype to avoid an error.
11925 Use char because int might match the return type of a GCC
11926 builtin and then its argument prototype would still apply. */
11927 #ifdef __cplusplus
11928 extern "C"
11929 #endif
11930 char XRenderSetPictureTransform ();
11932 main ()
11934 return XRenderSetPictureTransform ();
11936 return 0;
11938 _ACEOF
11939 if ac_fn_c_try_link "$LINENO"; then :
11940 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11941 else
11942 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11944 rm -f core conftest.err conftest.$ac_objext \
11945 conftest$ac_exeext conftest.$ac_ext
11946 LIBS=$ac_check_lib_save_LIBS
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11949 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11950 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11952 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11957 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11958 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11959 $as_echo_n "(cached) " >&6
11960 else
11961 ac_check_lib_save_LIBS=$LIBS
11962 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11966 /* Override any GCC internal prototype to avoid an error.
11967 Use char because int might match the return type of a GCC
11968 builtin and then its argument prototype would still apply. */
11969 #ifdef __cplusplus
11970 extern "C"
11971 #endif
11972 char XRenderCreateLinearGradient ();
11974 main ()
11976 return XRenderCreateLinearGradient ();
11978 return 0;
11980 _ACEOF
11981 if ac_fn_c_try_link "$LINENO"; then :
11982 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11983 else
11984 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11986 rm -f core conftest.err conftest.$ac_objext \
11987 conftest$ac_exeext conftest.$ac_ext
11988 LIBS=$ac_check_lib_save_LIBS
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11991 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11992 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11994 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12001 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12002 case "x$with_xrender" in
12003 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12004 xno) ;;
12005 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12006 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12007 esac
12011 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12012 then
12013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12015 #include <X11/Xlib.h>
12016 #include <X11/extensions/Xrandr.h>
12018 main ()
12020 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12022 return 0;
12024 _ACEOF
12025 if ac_fn_c_try_compile "$LINENO"; then :
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12027 $as_echo_n "checking for -lXrandr... " >&6; }
12028 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12029 $as_echo_n "(cached) " >&6
12030 else
12031 ac_check_soname_save_LIBS=$LIBS
12032 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12036 /* Override any GCC internal prototype to avoid an error.
12037 Use char because int might match the return type of a GCC
12038 builtin and then its argument prototype would still apply. */
12039 #ifdef __cplusplus
12040 extern "C"
12041 #endif
12042 char XRRQueryExtension ();
12044 main ()
12046 return XRRQueryExtension ();
12048 return 0;
12050 _ACEOF
12051 if ac_fn_c_try_link "$LINENO"; then :
12052 case "$LIBEXT" in
12053 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12054 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'` ;;
12055 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12056 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12057 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12058 fi ;;
12059 esac
12060 else
12061 ac_cv_lib_soname_Xrandr=
12063 rm -f core conftest.err conftest.$ac_objext \
12064 conftest$ac_exeext conftest.$ac_ext
12065 LIBS=$ac_check_soname_save_LIBS
12067 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12069 $as_echo "not found" >&6; }
12071 else
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12073 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12075 cat >>confdefs.h <<_ACEOF
12076 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12077 _ACEOF
12079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12081 #include <X11/Xlib.h>
12082 #include <X11/extensions/Xrandr.h>
12084 main ()
12086 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12088 return 0;
12090 _ACEOF
12091 if ac_fn_c_try_compile "$LINENO"; then :
12093 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12098 /* end confdefs.h. */
12099 #include <X11/Xlib.h>
12100 #include <X11/extensions/Xrandr.h>
12102 main ()
12104 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12106 return 0;
12108 _ACEOF
12109 if ac_fn_c_try_compile "$LINENO"; then :
12111 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12113 else
12114 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12121 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12122 case "x$with_xrandr" in
12123 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12124 xno) ;;
12125 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12126 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12127 esac
12131 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12132 then
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12135 #include <X11/Xlib.h>
12136 #include <X11/extensions/Xfixes.h>
12138 main ()
12140 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12142 return 0;
12144 _ACEOF
12145 if ac_fn_c_try_compile "$LINENO"; then :
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12147 $as_echo_n "checking for -lXfixes... " >&6; }
12148 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12149 $as_echo_n "(cached) " >&6
12150 else
12151 ac_check_soname_save_LIBS=$LIBS
12152 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12154 /* end confdefs.h. */
12156 /* Override any GCC internal prototype to avoid an error.
12157 Use char because int might match the return type of a GCC
12158 builtin and then its argument prototype would still apply. */
12159 #ifdef __cplusplus
12160 extern "C"
12161 #endif
12162 char XFixesQueryVersion ();
12164 main ()
12166 return XFixesQueryVersion ();
12168 return 0;
12170 _ACEOF
12171 if ac_fn_c_try_link "$LINENO"; then :
12172 case "$LIBEXT" in
12173 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12174 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'` ;;
12175 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12176 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12177 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12178 fi ;;
12179 esac
12180 else
12181 ac_cv_lib_soname_Xfixes=
12183 rm -f core conftest.err conftest.$ac_objext \
12184 conftest$ac_exeext conftest.$ac_ext
12185 LIBS=$ac_check_soname_save_LIBS
12187 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12189 $as_echo "not found" >&6; }
12191 else
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12193 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12195 cat >>confdefs.h <<_ACEOF
12196 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12197 _ACEOF
12202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12204 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12205 case "x$with_xfixes" in
12206 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12207 xno) ;;
12208 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12209 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12210 esac
12214 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12215 then
12216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12217 /* end confdefs.h. */
12218 #include <X11/Xlib.h>
12219 #include <X11/extensions/Xinerama.h>
12221 main ()
12223 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12225 return 0;
12227 _ACEOF
12228 if ac_fn_c_try_compile "$LINENO"; then :
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12230 $as_echo_n "checking for -lXinerama... " >&6; }
12231 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12232 $as_echo_n "(cached) " >&6
12233 else
12234 ac_check_soname_save_LIBS=$LIBS
12235 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12237 /* end confdefs.h. */
12239 /* Override any GCC internal prototype to avoid an error.
12240 Use char because int might match the return type of a GCC
12241 builtin and then its argument prototype would still apply. */
12242 #ifdef __cplusplus
12243 extern "C"
12244 #endif
12245 char XineramaQueryScreens ();
12247 main ()
12249 return XineramaQueryScreens ();
12251 return 0;
12253 _ACEOF
12254 if ac_fn_c_try_link "$LINENO"; then :
12255 case "$LIBEXT" in
12256 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12257 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'` ;;
12258 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12259 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12260 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12261 fi ;;
12262 esac
12263 else
12264 ac_cv_lib_soname_Xinerama=
12266 rm -f core conftest.err conftest.$ac_objext \
12267 conftest$ac_exeext conftest.$ac_ext
12268 LIBS=$ac_check_soname_save_LIBS
12270 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12272 $as_echo "not found" >&6; }
12274 else
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12276 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12278 cat >>confdefs.h <<_ACEOF
12279 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12280 _ACEOF
12285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12287 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12288 case "x$with_xinerama" in
12289 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12290 xno) ;;
12291 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12292 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12293 esac
12297 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12298 then
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12300 $as_echo_n "checking for -lXcomposite... " >&6; }
12301 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12302 $as_echo_n "(cached) " >&6
12303 else
12304 ac_check_soname_save_LIBS=$LIBS
12305 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12307 /* end confdefs.h. */
12309 /* Override any GCC internal prototype to avoid an error.
12310 Use char because int might match the return type of a GCC
12311 builtin and then its argument prototype would still apply. */
12312 #ifdef __cplusplus
12313 extern "C"
12314 #endif
12315 char XCompositeRedirectWindow ();
12317 main ()
12319 return XCompositeRedirectWindow ();
12321 return 0;
12323 _ACEOF
12324 if ac_fn_c_try_link "$LINENO"; then :
12325 case "$LIBEXT" in
12326 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12327 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'` ;;
12328 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12329 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12330 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12331 fi ;;
12332 esac
12333 else
12334 ac_cv_lib_soname_Xcomposite=
12336 rm -f core conftest.err conftest.$ac_objext \
12337 conftest$ac_exeext conftest.$ac_ext
12338 LIBS=$ac_check_soname_save_LIBS
12340 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12342 $as_echo "not found" >&6; }
12344 else
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12346 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12348 cat >>confdefs.h <<_ACEOF
12349 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12350 _ACEOF
12355 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12356 case "x$with_xcomposite" in
12357 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12358 xno) ;;
12359 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12360 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12361 esac
12365 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12366 #include <X11/Xlib.h>
12367 #endif
12369 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12371 cat >>confdefs.h <<_ACEOF
12372 #define HAVE_XICCALLBACK_CALLBACK 1
12373 _ACEOF
12377 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12378 #include <X11/Xlib.h>
12379 #endif
12381 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12383 cat >>confdefs.h <<_ACEOF
12384 #define HAVE_XEVENT_XCOOKIE 1
12385 _ACEOF
12392 opengl_msg=""
12393 if test "x$with_opengl" != "xno"
12394 then
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12396 $as_echo_n "checking for -lGL... " >&6; }
12397 if ${ac_cv_lib_soname_GL+:} false; then :
12398 $as_echo_n "(cached) " >&6
12399 else
12400 ac_check_soname_save_LIBS=$LIBS
12401 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12408 #ifdef __cplusplus
12409 extern "C"
12410 #endif
12411 char glXCreateContext ();
12413 main ()
12415 return glXCreateContext ();
12417 return 0;
12419 _ACEOF
12420 if ac_fn_c_try_link "$LINENO"; then :
12421 case "$LIBEXT" in
12422 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12423 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'` ;;
12424 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12425 if ${ac_cv_lib_soname_GL:+false} :; then :
12426 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12427 fi ;;
12428 esac
12429 else
12430 ac_cv_lib_soname_GL=
12432 rm -f core conftest.err conftest.$ac_objext \
12433 conftest$ac_exeext conftest.$ac_ext
12434 LIBS=$ac_check_soname_save_LIBS
12436 if ${ac_cv_lib_soname_GL:+false} :; then :
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12438 $as_echo "not found" >&6; }
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12440 $as_echo_n "checking for -lGL... " >&6; }
12441 if ${ac_cv_lib_soname_GL+:} false; then :
12442 $as_echo_n "(cached) " >&6
12443 else
12444 ac_check_soname_save_LIBS=$LIBS
12445 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"
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12449 /* Override any GCC internal prototype to avoid an error.
12450 Use char because int might match the return type of a GCC
12451 builtin and then its argument prototype would still apply. */
12452 #ifdef __cplusplus
12453 extern "C"
12454 #endif
12455 char glXCreateContext ();
12457 main ()
12459 return glXCreateContext ();
12461 return 0;
12463 _ACEOF
12464 if ac_fn_c_try_link "$LINENO"; then :
12465 case "$LIBEXT" in
12466 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12467 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'` ;;
12468 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12469 if ${ac_cv_lib_soname_GL:+false} :; then :
12470 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12471 fi ;;
12472 esac
12473 else
12474 ac_cv_lib_soname_GL=
12476 rm -f core conftest.err conftest.$ac_objext \
12477 conftest$ac_exeext conftest.$ac_ext
12478 LIBS=$ac_check_soname_save_LIBS
12480 if ${ac_cv_lib_soname_GL:+false} :; then :
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12482 $as_echo "not found" >&6; }
12483 if test -f /usr/X11R6/lib/libGL.a
12484 then
12485 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12486 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12487 else
12488 opengl_msg="No OpenGL library found on this system."
12490 else
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12492 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12494 cat >>confdefs.h <<_ACEOF
12495 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12496 _ACEOF
12498 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"
12500 else
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12502 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12504 cat >>confdefs.h <<_ACEOF
12505 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12506 _ACEOF
12508 OPENGL_LIBS="-lGL"
12510 if test "x$with_glu" != "xno"
12511 then
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12513 $as_echo_n "checking for -lGLU... " >&6; }
12514 if ${ac_cv_lib_soname_GLU+:} false; then :
12515 $as_echo_n "(cached) " >&6
12516 else
12517 ac_check_soname_save_LIBS=$LIBS
12518 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h. */
12522 /* Override any GCC internal prototype to avoid an error.
12523 Use char because int might match the return type of a GCC
12524 builtin and then its argument prototype would still apply. */
12525 #ifdef __cplusplus
12526 extern "C"
12527 #endif
12528 char gluLookAt ();
12530 main ()
12532 return gluLookAt ();
12534 return 0;
12536 _ACEOF
12537 if ac_fn_c_try_link "$LINENO"; then :
12538 case "$LIBEXT" in
12539 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12540 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'` ;;
12541 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12542 if ${ac_cv_lib_soname_GLU:+false} :; then :
12543 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12544 fi ;;
12545 esac
12546 else
12547 ac_cv_lib_soname_GLU=
12549 rm -f core conftest.err conftest.$ac_objext \
12550 conftest$ac_exeext conftest.$ac_ext
12551 LIBS=$ac_check_soname_save_LIBS
12553 if ${ac_cv_lib_soname_GLU:+false} :; then :
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12555 $as_echo "not found" >&6; }
12557 else
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12559 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12561 cat >>confdefs.h <<_ACEOF
12562 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12563 _ACEOF
12567 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12568 case "x$with_glu" in
12569 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12570 xno) ;;
12571 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12572 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12573 esac
12578 if test "x$with_osmesa" != "xno"
12579 then
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12581 $as_echo_n "checking for -lOSMesa... " >&6; }
12582 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12583 $as_echo_n "(cached) " >&6
12584 else
12585 ac_check_soname_save_LIBS=$LIBS
12586 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12590 /* Override any GCC internal prototype to avoid an error.
12591 Use char because int might match the return type of a GCC
12592 builtin and then its argument prototype would still apply. */
12593 #ifdef __cplusplus
12594 extern "C"
12595 #endif
12596 char OSMesaGetProcAddress ();
12598 main ()
12600 return OSMesaGetProcAddress ();
12602 return 0;
12604 _ACEOF
12605 if ac_fn_c_try_link "$LINENO"; then :
12606 case "$LIBEXT" in
12607 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12608 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'` ;;
12609 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12610 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12611 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12612 fi ;;
12613 esac
12614 else
12615 ac_cv_lib_soname_OSMesa=
12617 rm -f core conftest.err conftest.$ac_objext \
12618 conftest$ac_exeext conftest.$ac_ext
12619 LIBS=$ac_check_soname_save_LIBS
12621 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12623 $as_echo "not found" >&6; }
12625 else
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12627 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12629 cat >>confdefs.h <<_ACEOF
12630 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12631 _ACEOF
12635 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12636 case "x$with_osmesa" in
12637 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12638 xno) ;;
12639 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12640 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12641 esac
12646 if test -n "$opengl_msg"; then :
12647 case "x$with_opengl" in
12648 x) as_fn_append wine_warnings "|$opengl_msg
12649 OpenGL and Direct3D won't be supported." ;;
12650 xno) ;;
12651 *) as_fn_error $? "$opengl_msg
12652 OpenGL and Direct3D won't be supported.
12653 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12654 esac
12658 CPPFLAGS="$ac_save_CPPFLAGS"
12659 else
12660 X_CFLAGS=""
12661 X_LIBS=""
12664 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12665 then
12666 if test "x$X_LIBS" = "x"; then :
12667 case "x$with_x" in
12668 xno) ;;
12669 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12670 without X support, which probably isn't what you want. You will need
12671 to install ${notice_platform}development packages of Xlib at the very least.
12672 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12673 esac
12674 enable_winex11_drv=${enable_winex11_drv:-no}
12676 else
12677 if test "x$X_LIBS" = "x"; then :
12678 case "x$with_x" in
12679 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12680 xno) ;;
12681 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12682 This is an error since --with-x was requested." "$LINENO" 5 ;;
12683 esac
12684 enable_winex11_drv=${enable_winex11_drv:-no}
12688 if test "$ac_cv_header_CL_cl_h" = "yes"
12689 then
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12691 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12692 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12693 $as_echo_n "(cached) " >&6
12694 else
12695 ac_check_lib_save_LIBS=$LIBS
12696 LIBS="-lOpenCL $LIBS"
12697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12698 /* end confdefs.h. */
12700 /* Override any GCC internal prototype to avoid an error.
12701 Use char because int might match the return type of a GCC
12702 builtin and then its argument prototype would still apply. */
12703 #ifdef __cplusplus
12704 extern "C"
12705 #endif
12706 char clGetPlatformInfo ();
12708 main ()
12710 return clGetPlatformInfo ();
12712 return 0;
12714 _ACEOF
12715 if ac_fn_c_try_link "$LINENO"; then :
12716 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12717 else
12718 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12720 rm -f core conftest.err conftest.$ac_objext \
12721 conftest$ac_exeext conftest.$ac_ext
12722 LIBS=$ac_check_lib_save_LIBS
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12725 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12726 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12727 OPENCL_LIBS="-lOpenCL"
12732 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12733 case "x$with_opencl" in
12734 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12735 xno) ;;
12736 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12737 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12738 esac
12739 enable_opencl=${enable_opencl:-no}
12742 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12743 then
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12745 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12746 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12747 $as_echo_n "(cached) " >&6
12748 else
12749 ac_check_lib_save_LIBS=$LIBS
12750 LIBS="-lpcap $LIBS"
12751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12754 /* Override any GCC internal prototype to avoid an error.
12755 Use char because int might match the return type of a GCC
12756 builtin and then its argument prototype would still apply. */
12757 #ifdef __cplusplus
12758 extern "C"
12759 #endif
12760 char pcap_create ();
12762 main ()
12764 return pcap_create ();
12766 return 0;
12768 _ACEOF
12769 if ac_fn_c_try_link "$LINENO"; then :
12770 ac_cv_lib_pcap_pcap_create=yes
12771 else
12772 ac_cv_lib_pcap_pcap_create=no
12774 rm -f core conftest.err conftest.$ac_objext \
12775 conftest$ac_exeext conftest.$ac_ext
12776 LIBS=$ac_check_lib_save_LIBS
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12779 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12780 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12781 PCAP_LIBS="-lpcap"
12786 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12787 case "x$with_pcap" in
12788 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12789 xno) ;;
12790 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12791 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12792 esac
12793 enable_wpcap=${enable_wpcap:-no}
12797 if test "x$with_xml" != "xno"
12798 then
12799 if ${XML2_CFLAGS:+false} :; then :
12800 if ${PKG_CONFIG+:} false; then :
12801 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12804 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12805 if ${XML2_LIBS:+false} :; then :
12806 if ${PKG_CONFIG+:} false; then :
12807 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12810 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12811 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12812 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12813 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12814 ac_save_CPPFLAGS=$CPPFLAGS
12815 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12816 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12817 do :
12818 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12819 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12820 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12821 cat >>confdefs.h <<_ACEOF
12822 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12823 _ACEOF
12827 done
12829 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"
12830 then
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12832 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12833 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12834 $as_echo_n "(cached) " >&6
12835 else
12836 ac_check_lib_save_LIBS=$LIBS
12837 LIBS="-lxml2 $XML2_LIBS $LIBS"
12838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12839 /* end confdefs.h. */
12841 /* Override any GCC internal prototype to avoid an error.
12842 Use char because int might match the return type of a GCC
12843 builtin and then its argument prototype would still apply. */
12844 #ifdef __cplusplus
12845 extern "C"
12846 #endif
12847 char xmlParseMemory ();
12849 main ()
12851 return xmlParseMemory ();
12853 return 0;
12855 _ACEOF
12856 if ac_fn_c_try_link "$LINENO"; then :
12857 ac_cv_lib_xml2_xmlParseMemory=yes
12858 else
12859 ac_cv_lib_xml2_xmlParseMemory=no
12861 rm -f core conftest.err conftest.$ac_objext \
12862 conftest$ac_exeext conftest.$ac_ext
12863 LIBS=$ac_check_lib_save_LIBS
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12866 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12867 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12869 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12871 else
12872 XML2_LIBS=""
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12876 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12877 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12878 $as_echo_n "(cached) " >&6
12879 else
12880 ac_check_lib_save_LIBS=$LIBS
12881 LIBS="-lxml2 $XML2_LIBS $LIBS"
12882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h. */
12885 /* Override any GCC internal prototype to avoid an error.
12886 Use char because int might match the return type of a GCC
12887 builtin and then its argument prototype would still apply. */
12888 #ifdef __cplusplus
12889 extern "C"
12890 #endif
12891 char xmlReadMemory ();
12893 main ()
12895 return xmlReadMemory ();
12897 return 0;
12899 _ACEOF
12900 if ac_fn_c_try_link "$LINENO"; then :
12901 ac_cv_lib_xml2_xmlReadMemory=yes
12902 else
12903 ac_cv_lib_xml2_xmlReadMemory=no
12905 rm -f core conftest.err conftest.$ac_objext \
12906 conftest$ac_exeext conftest.$ac_ext
12907 LIBS=$ac_check_lib_save_LIBS
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12910 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12911 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12913 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12918 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12919 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12920 $as_echo_n "(cached) " >&6
12921 else
12922 ac_check_lib_save_LIBS=$LIBS
12923 LIBS="-lxml2 $XML2_LIBS $LIBS"
12924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12927 /* Override any GCC internal prototype to avoid an error.
12928 Use char because int might match the return type of a GCC
12929 builtin and then its argument prototype would still apply. */
12930 #ifdef __cplusplus
12931 extern "C"
12932 #endif
12933 char xmlNewDocPI ();
12935 main ()
12937 return xmlNewDocPI ();
12939 return 0;
12941 _ACEOF
12942 if ac_fn_c_try_link "$LINENO"; then :
12943 ac_cv_lib_xml2_xmlNewDocPI=yes
12944 else
12945 ac_cv_lib_xml2_xmlNewDocPI=no
12947 rm -f core conftest.err conftest.$ac_objext \
12948 conftest$ac_exeext conftest.$ac_ext
12949 LIBS=$ac_check_lib_save_LIBS
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12952 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12953 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12955 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12960 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12961 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12962 $as_echo_n "(cached) " >&6
12963 else
12964 ac_check_lib_save_LIBS=$LIBS
12965 LIBS="-lxml2 $XML2_LIBS $LIBS"
12966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12967 /* end confdefs.h. */
12969 /* Override any GCC internal prototype to avoid an error.
12970 Use char because int might match the return type of a GCC
12971 builtin and then its argument prototype would still apply. */
12972 #ifdef __cplusplus
12973 extern "C"
12974 #endif
12975 char xmlSchemaSetParserStructuredErrors ();
12977 main ()
12979 return xmlSchemaSetParserStructuredErrors ();
12981 return 0;
12983 _ACEOF
12984 if ac_fn_c_try_link "$LINENO"; then :
12985 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12986 else
12987 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12989 rm -f core conftest.err conftest.$ac_objext \
12990 conftest$ac_exeext conftest.$ac_ext
12991 LIBS=$ac_check_lib_save_LIBS
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12994 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12995 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12997 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13002 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13003 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13004 $as_echo_n "(cached) " >&6
13005 else
13006 ac_check_lib_save_LIBS=$LIBS
13007 LIBS="-lxml2 $XML2_LIBS $LIBS"
13008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13009 /* end confdefs.h. */
13011 /* Override any GCC internal prototype to avoid an error.
13012 Use char because int might match the return type of a GCC
13013 builtin and then its argument prototype would still apply. */
13014 #ifdef __cplusplus
13015 extern "C"
13016 #endif
13017 char xmlSchemaSetValidStructuredErrors ();
13019 main ()
13021 return xmlSchemaSetValidStructuredErrors ();
13023 return 0;
13025 _ACEOF
13026 if ac_fn_c_try_link "$LINENO"; then :
13027 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13028 else
13029 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13031 rm -f core conftest.err conftest.$ac_objext \
13032 conftest$ac_exeext conftest.$ac_ext
13033 LIBS=$ac_check_lib_save_LIBS
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13036 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13037 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13039 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13044 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13045 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13046 $as_echo_n "(cached) " >&6
13047 else
13048 ac_check_lib_save_LIBS=$LIBS
13049 LIBS="-lxml2 $XML2_LIBS $LIBS"
13050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13051 /* end confdefs.h. */
13053 /* Override any GCC internal prototype to avoid an error.
13054 Use char because int might match the return type of a GCC
13055 builtin and then its argument prototype would still apply. */
13056 #ifdef __cplusplus
13057 extern "C"
13058 #endif
13059 char xmlFirstElementChild ();
13061 main ()
13063 return xmlFirstElementChild ();
13065 return 0;
13067 _ACEOF
13068 if ac_fn_c_try_link "$LINENO"; then :
13069 ac_cv_lib_xml2_xmlFirstElementChild=yes
13070 else
13071 ac_cv_lib_xml2_xmlFirstElementChild=no
13073 rm -f core conftest.err conftest.$ac_objext \
13074 conftest$ac_exeext conftest.$ac_ext
13075 LIBS=$ac_check_lib_save_LIBS
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13078 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13079 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13081 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13085 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13087 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13089 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13093 else
13094 XML2_CFLAGS=""
13095 XML2_LIBS=""
13097 CPPFLAGS=$ac_save_CPPFLAGS
13098 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13099 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13102 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13103 case "x$with_xml" in
13104 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13105 xno) ;;
13106 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13107 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13108 esac
13112 if test "x$with_xslt" != "xno"
13113 then
13114 if ${XSLT_CFLAGS:+false} :; then :
13115 if ${PKG_CONFIG+:} false; then :
13116 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13119 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13120 if ${XSLT_LIBS:+false} :; then :
13121 if ${PKG_CONFIG+:} false; then :
13122 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13125 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13126 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13127 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13128 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13129 ac_save_CPPFLAGS=$CPPFLAGS
13130 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13131 for ac_header in libxslt/pattern.h libxslt/transform.h
13132 do :
13133 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13134 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13135 # include <libxslt/pattern.h>
13136 #endif
13138 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13139 cat >>confdefs.h <<_ACEOF
13140 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13141 _ACEOF
13145 done
13147 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13148 then
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13150 $as_echo_n "checking for -lxslt... " >&6; }
13151 if ${ac_cv_lib_soname_xslt+:} false; then :
13152 $as_echo_n "(cached) " >&6
13153 else
13154 ac_check_soname_save_LIBS=$LIBS
13155 LIBS="-lxslt $XSLT_LIBS $LIBS"
13156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13157 /* end confdefs.h. */
13159 /* Override any GCC internal prototype to avoid an error.
13160 Use char because int might match the return type of a GCC
13161 builtin and then its argument prototype would still apply. */
13162 #ifdef __cplusplus
13163 extern "C"
13164 #endif
13165 char xsltCompilePattern ();
13167 main ()
13169 return xsltCompilePattern ();
13171 return 0;
13173 _ACEOF
13174 if ac_fn_c_try_link "$LINENO"; then :
13175 case "$LIBEXT" in
13176 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13177 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'` ;;
13178 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13179 if ${ac_cv_lib_soname_xslt:+false} :; then :
13180 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13181 fi ;;
13182 esac
13183 else
13184 ac_cv_lib_soname_xslt=
13186 rm -f core conftest.err conftest.$ac_objext \
13187 conftest$ac_exeext conftest.$ac_ext
13188 LIBS=$ac_check_soname_save_LIBS
13190 if ${ac_cv_lib_soname_xslt:+false} :; then :
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13192 $as_echo "not found" >&6; }
13194 else
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13196 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13198 cat >>confdefs.h <<_ACEOF
13199 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13200 _ACEOF
13204 else
13205 XSLT_CFLAGS=""
13207 CPPFLAGS=$ac_save_CPPFLAGS
13208 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13209 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13212 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13213 case "x$with_xslt" in
13214 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13215 xno) ;;
13216 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13217 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13218 esac
13222 if test "x$with_inotify" != "xno"
13223 then
13224 if ${INOTIFY_CFLAGS:+false} :; then :
13225 if ${PKG_CONFIG+:} false; then :
13226 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13230 if ${INOTIFY_LIBS:+false} :; then :
13231 if ${PKG_CONFIG+:} false; then :
13232 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13237 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13238 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13239 ac_save_CPPFLAGS=$CPPFLAGS
13240 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13241 for ac_header in sys/inotify.h
13242 do :
13243 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13244 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13245 cat >>confdefs.h <<_ACEOF
13246 #define HAVE_SYS_INOTIFY_H 1
13247 _ACEOF
13251 done
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13254 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13255 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13256 $as_echo_n "(cached) " >&6
13257 else
13258 ac_check_lib_save_LIBS=$LIBS
13259 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13261 /* end confdefs.h. */
13263 /* Override any GCC internal prototype to avoid an error.
13264 Use char because int might match the return type of a GCC
13265 builtin and then its argument prototype would still apply. */
13266 #ifdef __cplusplus
13267 extern "C"
13268 #endif
13269 char inotify_add_watch ();
13271 main ()
13273 return inotify_add_watch ();
13275 return 0;
13277 _ACEOF
13278 if ac_fn_c_try_link "$LINENO"; then :
13279 ac_cv_lib_inotify_inotify_add_watch=yes
13280 else
13281 ac_cv_lib_inotify_inotify_add_watch=no
13283 rm -f core conftest.err conftest.$ac_objext \
13284 conftest$ac_exeext conftest.$ac_ext
13285 LIBS=$ac_check_lib_save_LIBS
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13288 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13289 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13291 else
13292 INOTIFY_LIBS=""
13295 CPPFLAGS=$ac_save_CPPFLAGS
13296 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13297 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13300 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13301 case "x$with_inotify" in
13302 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13303 xno) ;;
13304 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13305 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13306 esac
13310 if test "x$with_dbus" != "xno"
13311 then
13312 if ${DBUS_CFLAGS:+false} :; then :
13313 if ${PKG_CONFIG+:} false; then :
13314 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13318 if ${DBUS_LIBS:+false} :; then :
13319 if ${PKG_CONFIG+:} false; then :
13320 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13325 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13326 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13327 ac_save_CPPFLAGS=$CPPFLAGS
13328 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13329 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13330 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13332 $as_echo_n "checking for -ldbus-1... " >&6; }
13333 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13334 $as_echo_n "(cached) " >&6
13335 else
13336 ac_check_soname_save_LIBS=$LIBS
13337 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13341 /* Override any GCC internal prototype to avoid an error.
13342 Use char because int might match the return type of a GCC
13343 builtin and then its argument prototype would still apply. */
13344 #ifdef __cplusplus
13345 extern "C"
13346 #endif
13347 char dbus_connection_close ();
13349 main ()
13351 return dbus_connection_close ();
13353 return 0;
13355 _ACEOF
13356 if ac_fn_c_try_link "$LINENO"; then :
13357 case "$LIBEXT" in
13358 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13359 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'` ;;
13360 *) 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'`
13361 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13362 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13363 fi ;;
13364 esac
13365 else
13366 ac_cv_lib_soname_dbus_1=
13368 rm -f core conftest.err conftest.$ac_objext \
13369 conftest$ac_exeext conftest.$ac_ext
13370 LIBS=$ac_check_soname_save_LIBS
13372 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13374 $as_echo "not found" >&6; }
13375 DBUS_CFLAGS=""
13376 else
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13378 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13380 cat >>confdefs.h <<_ACEOF
13381 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13382 _ACEOF
13386 else
13387 DBUS_CFLAGS=""
13391 CPPFLAGS=$ac_save_CPPFLAGS
13392 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13393 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13396 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13397 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13398 case "x$with_dbus" in
13399 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13400 xno) ;;
13401 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13402 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13403 esac
13407 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13408 then
13409 if ${HAL_CFLAGS:+false} :; then :
13410 if ${PKG_CONFIG+:} false; then :
13411 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13415 if ${HAL_LIBS:+false} :; then :
13416 if ${PKG_CONFIG+:} false; then :
13417 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13421 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13422 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13423 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13424 ac_save_CPPFLAGS=$CPPFLAGS
13425 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13426 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13427 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13429 $as_echo_n "checking for -lhal... " >&6; }
13430 if ${ac_cv_lib_soname_hal+:} false; then :
13431 $as_echo_n "(cached) " >&6
13432 else
13433 ac_check_soname_save_LIBS=$LIBS
13434 LIBS="-lhal $HAL_LIBS $LIBS"
13435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13438 /* Override any GCC internal prototype to avoid an error.
13439 Use char because int might match the return type of a GCC
13440 builtin and then its argument prototype would still apply. */
13441 #ifdef __cplusplus
13442 extern "C"
13443 #endif
13444 char libhal_ctx_new ();
13446 main ()
13448 return libhal_ctx_new ();
13450 return 0;
13452 _ACEOF
13453 if ac_fn_c_try_link "$LINENO"; then :
13454 case "$LIBEXT" in
13455 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13456 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'` ;;
13457 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13458 if ${ac_cv_lib_soname_hal:+false} :; then :
13459 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13460 fi ;;
13461 esac
13462 else
13463 ac_cv_lib_soname_hal=
13465 rm -f core conftest.err conftest.$ac_objext \
13466 conftest$ac_exeext conftest.$ac_ext
13467 LIBS=$ac_check_soname_save_LIBS
13469 if ${ac_cv_lib_soname_hal:+false} :; then :
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13471 $as_echo "not found" >&6; }
13472 HAL_CFLAGS=""
13473 else
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13475 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13477 cat >>confdefs.h <<_ACEOF
13478 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13479 _ACEOF
13483 else
13484 HAL_CFLAGS=""
13488 CPPFLAGS=$ac_save_CPPFLAGS
13489 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13490 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13492 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13493 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13494 case "x$with_hal" in
13495 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13496 xno) ;;
13497 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13498 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13499 esac
13504 if test "x$with_gnutls" != "xno"
13505 then
13506 if ${GNUTLS_CFLAGS:+false} :; then :
13507 if ${PKG_CONFIG+:} false; then :
13508 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13512 if ${GNUTLS_LIBS:+false} :; then :
13513 if ${PKG_CONFIG+:} false; then :
13514 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13519 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13520 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13521 ac_save_CPPFLAGS=$CPPFLAGS
13522 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13523 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13524 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h. */
13527 #include <gnutls/gnutls.h>
13528 #include <gnutls/crypto.h>
13530 main ()
13532 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13534 return 0;
13536 _ACEOF
13537 if ac_fn_c_try_compile "$LINENO"; then :
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13539 $as_echo_n "checking for -lgnutls... " >&6; }
13540 if ${ac_cv_lib_soname_gnutls+:} false; then :
13541 $as_echo_n "(cached) " >&6
13542 else
13543 ac_check_soname_save_LIBS=$LIBS
13544 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h. */
13548 /* Override any GCC internal prototype to avoid an error.
13549 Use char because int might match the return type of a GCC
13550 builtin and then its argument prototype would still apply. */
13551 #ifdef __cplusplus
13552 extern "C"
13553 #endif
13554 char gnutls_global_init ();
13556 main ()
13558 return gnutls_global_init ();
13560 return 0;
13562 _ACEOF
13563 if ac_fn_c_try_link "$LINENO"; then :
13564 case "$LIBEXT" in
13565 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13566 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'` ;;
13567 *) 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'`
13568 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13569 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'`
13570 fi ;;
13571 esac
13572 else
13573 ac_cv_lib_soname_gnutls=
13575 rm -f core conftest.err conftest.$ac_objext \
13576 conftest$ac_exeext conftest.$ac_ext
13577 LIBS=$ac_check_soname_save_LIBS
13579 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13581 $as_echo "not found" >&6; }
13582 GNUTLS_CFLAGS=""
13583 else
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13585 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13587 cat >>confdefs.h <<_ACEOF
13588 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13589 _ACEOF
13593 ac_wine_check_funcs_save_LIBS="$LIBS"
13594 LIBS="$LIBS $GNUTLS_LIBS"
13595 for ac_func in gnutls_cipher_init
13596 do :
13597 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13598 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13599 cat >>confdefs.h <<_ACEOF
13600 #define HAVE_GNUTLS_CIPHER_INIT 1
13601 _ACEOF
13603 else
13604 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13606 done
13608 LIBS="$ac_wine_check_funcs_save_LIBS"
13610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13611 else
13612 GNUTLS_CFLAGS=""
13616 CPPFLAGS=$ac_save_CPPFLAGS
13617 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13618 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13621 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13622 case "x$with_gnutls" in
13623 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13624 xno) ;;
13625 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13626 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13627 esac
13631 CURSES_LIBS=""
13632 if test "$ac_cv_header_ncurses_h" = "yes"
13633 then
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13635 $as_echo_n "checking for -lncurses... " >&6; }
13636 if ${ac_cv_lib_soname_ncurses+:} false; then :
13637 $as_echo_n "(cached) " >&6
13638 else
13639 ac_check_soname_save_LIBS=$LIBS
13640 LIBS="-lncurses $LIBS"
13641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13642 /* end confdefs.h. */
13644 /* Override any GCC internal prototype to avoid an error.
13645 Use char because int might match the return type of a GCC
13646 builtin and then its argument prototype would still apply. */
13647 #ifdef __cplusplus
13648 extern "C"
13649 #endif
13650 char waddch ();
13652 main ()
13654 return waddch ();
13656 return 0;
13658 _ACEOF
13659 if ac_fn_c_try_link "$LINENO"; then :
13660 case "$LIBEXT" in
13661 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13662 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'` ;;
13663 *) 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'`
13664 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13665 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13666 fi ;;
13667 esac
13668 else
13669 ac_cv_lib_soname_ncurses=
13671 rm -f core conftest.err conftest.$ac_objext \
13672 conftest$ac_exeext conftest.$ac_ext
13673 LIBS=$ac_check_soname_save_LIBS
13675 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13677 $as_echo "not found" >&6; }
13679 else
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13681 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13683 cat >>confdefs.h <<_ACEOF
13684 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13685 _ACEOF
13687 CURSES_LIBS="-lncurses"
13689 elif test "$ac_cv_header_curses_h" = "yes"
13690 then
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13692 $as_echo_n "checking for -lcurses... " >&6; }
13693 if ${ac_cv_lib_soname_curses+:} false; then :
13694 $as_echo_n "(cached) " >&6
13695 else
13696 ac_check_soname_save_LIBS=$LIBS
13697 LIBS="-lcurses $LIBS"
13698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13699 /* end confdefs.h. */
13701 /* Override any GCC internal prototype to avoid an error.
13702 Use char because int might match the return type of a GCC
13703 builtin and then its argument prototype would still apply. */
13704 #ifdef __cplusplus
13705 extern "C"
13706 #endif
13707 char waddch ();
13709 main ()
13711 return waddch ();
13713 return 0;
13715 _ACEOF
13716 if ac_fn_c_try_link "$LINENO"; then :
13717 case "$LIBEXT" in
13718 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13719 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'` ;;
13720 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13721 if ${ac_cv_lib_soname_curses:+false} :; then :
13722 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13723 fi ;;
13724 esac
13725 else
13726 ac_cv_lib_soname_curses=
13728 rm -f core conftest.err conftest.$ac_objext \
13729 conftest$ac_exeext conftest.$ac_ext
13730 LIBS=$ac_check_soname_save_LIBS
13732 if ${ac_cv_lib_soname_curses:+false} :; then :
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13734 $as_echo "not found" >&6; }
13736 else
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13738 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13740 cat >>confdefs.h <<_ACEOF
13741 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13742 _ACEOF
13744 CURSES_LIBS="-lcurses"
13747 ac_save_LIBS="$LIBS"
13748 LIBS="$LIBS $CURSES_LIBS"
13749 for ac_func in mousemask
13750 do :
13751 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13752 if test "x$ac_cv_func_mousemask" = xyes; then :
13753 cat >>confdefs.h <<_ACEOF
13754 #define HAVE_MOUSEMASK 1
13755 _ACEOF
13758 done
13760 LIBS="$ac_save_LIBS"
13761 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13762 case "x$with_curses" in
13763 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13764 xno) ;;
13765 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13766 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13767 esac
13771 if test "x$with_sane" != "xno"
13772 then
13773 if ${SANE_CFLAGS:+false} :; then :
13774 if ${PKG_CONFIG+:} false; then :
13775 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13778 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13779 if ${SANE_LIBS:+false} :; then :
13780 if ${PKG_CONFIG+:} false; then :
13781 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13784 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13786 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13787 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13788 ac_save_CPPFLAGS=$CPPFLAGS
13789 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13790 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13791 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13793 $as_echo_n "checking for -lsane... " >&6; }
13794 if ${ac_cv_lib_soname_sane+:} false; then :
13795 $as_echo_n "(cached) " >&6
13796 else
13797 ac_check_soname_save_LIBS=$LIBS
13798 LIBS="-lsane $SANE_LIBS $LIBS"
13799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13800 /* end confdefs.h. */
13802 /* Override any GCC internal prototype to avoid an error.
13803 Use char because int might match the return type of a GCC
13804 builtin and then its argument prototype would still apply. */
13805 #ifdef __cplusplus
13806 extern "C"
13807 #endif
13808 char sane_init ();
13810 main ()
13812 return sane_init ();
13814 return 0;
13816 _ACEOF
13817 if ac_fn_c_try_link "$LINENO"; then :
13818 case "$LIBEXT" in
13819 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13820 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'` ;;
13821 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13822 if ${ac_cv_lib_soname_sane:+false} :; then :
13823 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13824 fi ;;
13825 esac
13826 else
13827 ac_cv_lib_soname_sane=
13829 rm -f core conftest.err conftest.$ac_objext \
13830 conftest$ac_exeext conftest.$ac_ext
13831 LIBS=$ac_check_soname_save_LIBS
13833 if ${ac_cv_lib_soname_sane:+false} :; then :
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13835 $as_echo "not found" >&6; }
13836 SANE_CFLAGS=""
13837 else
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13839 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13841 cat >>confdefs.h <<_ACEOF
13842 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13843 _ACEOF
13847 else
13848 SANE_CFLAGS=""
13852 CPPFLAGS=$ac_save_CPPFLAGS
13853 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13854 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13857 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13858 case "x$with_sane" in
13859 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13860 xno) ;;
13861 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13862 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13863 esac
13867 if test "x$with_v4l2" != "xno"
13868 then
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13870 $as_echo_n "checking for -lv4l2... " >&6; }
13871 if ${ac_cv_lib_soname_v4l2+:} false; then :
13872 $as_echo_n "(cached) " >&6
13873 else
13874 ac_check_soname_save_LIBS=$LIBS
13875 LIBS="-lv4l2 $LIBS"
13876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13877 /* end confdefs.h. */
13879 /* Override any GCC internal prototype to avoid an error.
13880 Use char because int might match the return type of a GCC
13881 builtin and then its argument prototype would still apply. */
13882 #ifdef __cplusplus
13883 extern "C"
13884 #endif
13885 char v4l2_open ();
13887 main ()
13889 return v4l2_open ();
13891 return 0;
13893 _ACEOF
13894 if ac_fn_c_try_link "$LINENO"; then :
13895 case "$LIBEXT" in
13896 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13897 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'` ;;
13898 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13899 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13900 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13901 fi ;;
13902 esac
13903 else
13904 ac_cv_lib_soname_v4l2=
13906 rm -f core conftest.err conftest.$ac_objext \
13907 conftest$ac_exeext conftest.$ac_ext
13908 LIBS=$ac_check_soname_save_LIBS
13910 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13912 $as_echo "not found" >&6; }
13914 else
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13916 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13918 cat >>confdefs.h <<_ACEOF
13919 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13920 _ACEOF
13925 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13926 case "x$with_v4l2" in
13927 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13928 xno) ;;
13929 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13930 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13931 esac
13935 if test "x$with_gphoto" != "xno"
13936 then
13937 if ${GPHOTO2_CFLAGS:+false} :; then :
13938 if ${PKG_CONFIG+:} false; then :
13939 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13942 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13943 if ${GPHOTO2_LIBS:+false} :; then :
13944 if ${PKG_CONFIG+:} false; then :
13945 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13948 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13949 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13950 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13951 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13952 ac_save_CPPFLAGS=$CPPFLAGS
13953 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13954 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13955 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13957 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13958 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13959 $as_echo_n "(cached) " >&6
13960 else
13961 ac_check_lib_save_LIBS=$LIBS
13962 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13964 /* end confdefs.h. */
13966 /* Override any GCC internal prototype to avoid an error.
13967 Use char because int might match the return type of a GCC
13968 builtin and then its argument prototype would still apply. */
13969 #ifdef __cplusplus
13970 extern "C"
13971 #endif
13972 char gp_camera_new ();
13974 main ()
13976 return gp_camera_new ();
13978 return 0;
13980 _ACEOF
13981 if ac_fn_c_try_link "$LINENO"; then :
13982 ac_cv_lib_gphoto2_gp_camera_new=yes
13983 else
13984 ac_cv_lib_gphoto2_gp_camera_new=no
13986 rm -f core conftest.err conftest.$ac_objext \
13987 conftest$ac_exeext conftest.$ac_ext
13988 LIBS=$ac_check_lib_save_LIBS
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13991 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13992 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13994 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13996 else
13997 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14000 else
14001 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14005 CPPFLAGS=$ac_save_CPPFLAGS
14006 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14007 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14009 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14010 if ${PKG_CONFIG+:} false; then :
14011 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14014 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14015 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14016 if ${PKG_CONFIG+:} false; then :
14017 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14020 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14021 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14022 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14023 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14024 ac_save_CPPFLAGS=$CPPFLAGS
14025 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14026 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14027 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14029 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14030 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14031 $as_echo_n "(cached) " >&6
14032 else
14033 ac_check_lib_save_LIBS=$LIBS
14034 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14038 /* Override any GCC internal prototype to avoid an error.
14039 Use char because int might match the return type of a GCC
14040 builtin and then its argument prototype would still apply. */
14041 #ifdef __cplusplus
14042 extern "C"
14043 #endif
14044 char gp_port_info_list_new ();
14046 main ()
14048 return gp_port_info_list_new ();
14050 return 0;
14052 _ACEOF
14053 if ac_fn_c_try_link "$LINENO"; then :
14054 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14055 else
14056 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14058 rm -f core conftest.err conftest.$ac_objext \
14059 conftest$ac_exeext conftest.$ac_ext
14060 LIBS=$ac_check_lib_save_LIBS
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14063 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14064 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14066 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14068 else
14069 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14072 else
14073 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14077 CPPFLAGS=$ac_save_CPPFLAGS
14078 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14079 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14082 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14083 case "x$with_gphoto" in
14084 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14085 xno) ;;
14086 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14087 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14088 esac
14091 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14092 case "x$with_gphoto" in
14093 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14094 xno) ;;
14095 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14096 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14097 esac
14102 if test "$ac_cv_header_resolv_h" = "yes"
14103 then
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14105 $as_echo_n "checking for resolver library... " >&6; }
14106 if ${ac_cv_have_resolv+:} false; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 ac_save_LIBS="$LIBS"
14110 for lib in '' -lresolv
14112 LIBS="$lib $ac_save_LIBS"
14113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14114 /* end confdefs.h. */
14115 #ifdef HAVE_NETINET_IN_H
14116 #include <netinet/in.h>
14117 #endif
14118 #include <resolv.h>
14120 main ()
14122 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14124 return 0;
14126 _ACEOF
14127 if ac_fn_c_try_link "$LINENO"; then :
14128 ac_cv_have_resolv=${lib:-"none required"}
14129 else
14130 ac_cv_have_resolv="not found"
14132 rm -f core conftest.err conftest.$ac_objext \
14133 conftest$ac_exeext conftest.$ac_ext
14134 test "x$ac_cv_have_resolv" = "xnot found" || break
14135 done
14136 LIBS="$ac_save_LIBS"
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14139 $as_echo "$ac_cv_have_resolv" >&6; }
14141 case "$ac_cv_have_resolv" in
14142 "not found") ;;
14143 "none required")
14145 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14148 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14150 RESOLV_LIBS=$ac_cv_have_resolv
14152 esac
14155 if test "x$with_cms" != "xno"
14156 then
14157 if ${LCMS2_CFLAGS:+false} :; then :
14158 if ${PKG_CONFIG+:} false; then :
14159 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14163 if ${LCMS2_LIBS:+false} :; then :
14164 if ${PKG_CONFIG+:} false; then :
14165 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14169 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14170 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14171 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14172 ac_save_CPPFLAGS=$CPPFLAGS
14173 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14174 for ac_header in lcms2.h
14175 do :
14176 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14177 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14178 cat >>confdefs.h <<_ACEOF
14179 #define HAVE_LCMS2_H 1
14180 _ACEOF
14184 done
14186 if test "$ac_cv_header_lcms2_h" = "yes"
14187 then
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14189 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14190 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14191 $as_echo_n "(cached) " >&6
14192 else
14193 ac_check_lib_save_LIBS=$LIBS
14194 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14198 /* Override any GCC internal prototype to avoid an error.
14199 Use char because int might match the return type of a GCC
14200 builtin and then its argument prototype would still apply. */
14201 #ifdef __cplusplus
14202 extern "C"
14203 #endif
14204 char cmsOpenProfileFromFile ();
14206 main ()
14208 return cmsOpenProfileFromFile ();
14210 return 0;
14212 _ACEOF
14213 if ac_fn_c_try_link "$LINENO"; then :
14214 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14215 else
14216 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14218 rm -f core conftest.err conftest.$ac_objext \
14219 conftest$ac_exeext conftest.$ac_ext
14220 LIBS=$ac_check_lib_save_LIBS
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14223 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14224 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14226 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14228 else
14229 LCMS2_LIBS=""
14232 else
14233 LCMS2_CFLAGS=""
14234 LCMS2_LIBS=""
14236 CPPFLAGS=$ac_save_CPPFLAGS
14237 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14238 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14241 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14242 case "x$with_cms" in
14243 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14244 xno) ;;
14245 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14246 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14247 esac
14251 if test "x$with_freetype" != "xno"
14252 then
14253 if ${FREETYPE_CFLAGS:+false} :; then :
14254 if ${PKG_CONFIG+:} false; then :
14255 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14258 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14259 if ${FREETYPE_LIBS:+false} :; then :
14260 if ${PKG_CONFIG+:} false; then :
14261 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14264 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14265 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14266 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14267 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14268 ac_save_CPPFLAGS=$CPPFLAGS
14269 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14270 for ac_header in ft2build.h
14271 do :
14272 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14273 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14274 cat >>confdefs.h <<_ACEOF
14275 #define HAVE_FT2BUILD_H 1
14276 _ACEOF
14280 done
14282 if test "$ac_cv_header_ft2build_h" = "yes"
14283 then
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14285 $as_echo_n "checking for -lfreetype... " >&6; }
14286 if ${ac_cv_lib_soname_freetype+:} false; then :
14287 $as_echo_n "(cached) " >&6
14288 else
14289 ac_check_soname_save_LIBS=$LIBS
14290 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14292 /* end confdefs.h. */
14294 /* Override any GCC internal prototype to avoid an error.
14295 Use char because int might match the return type of a GCC
14296 builtin and then its argument prototype would still apply. */
14297 #ifdef __cplusplus
14298 extern "C"
14299 #endif
14300 char FT_Init_FreeType ();
14302 main ()
14304 return FT_Init_FreeType ();
14306 return 0;
14308 _ACEOF
14309 if ac_fn_c_try_link "$LINENO"; then :
14310 case "$LIBEXT" in
14311 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14312 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'` ;;
14313 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14314 if ${ac_cv_lib_soname_freetype:+false} :; then :
14315 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14316 fi ;;
14317 esac
14318 else
14319 ac_cv_lib_soname_freetype=
14321 rm -f core conftest.err conftest.$ac_objext \
14322 conftest$ac_exeext conftest.$ac_ext
14323 LIBS=$ac_check_soname_save_LIBS
14325 if ${ac_cv_lib_soname_freetype:+false} :; then :
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14327 $as_echo "not found" >&6; }
14328 FREETYPE_LIBS=""
14329 else
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14331 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14333 cat >>confdefs.h <<_ACEOF
14334 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14335 _ACEOF
14338 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14340 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14341 #include FT_MODULE_H
14343 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14345 cat >>confdefs.h <<_ACEOF
14346 #define HAVE_FT_TRUETYPEENGINETYPE 1
14347 _ACEOF
14353 else
14354 FREETYPE_CFLAGS=""
14355 FREETYPE_LIBS=""
14357 CPPFLAGS=$ac_save_CPPFLAGS
14358 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14359 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14362 if test "x$ac_cv_lib_soname_freetype" = x; then :
14363 case "x$with_freetype" in
14364 xno) ;;
14365 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14366 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14367 esac
14368 enable_fonts=${enable_fonts:-no}
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14372 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14373 if ${ac_cv_c_ppdev+:} false; then :
14374 $as_echo_n "(cached) " >&6
14375 else
14376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14377 /* end confdefs.h. */
14378 #ifdef HAVE_SYS_IOCTL_H
14379 # include <sys/ioctl.h>
14380 #endif
14381 #include <linux/ppdev.h>
14383 main ()
14385 ioctl (1,PPCLAIM,0)
14387 return 0;
14389 _ACEOF
14390 if ac_fn_c_try_compile "$LINENO"; then :
14391 ac_cv_c_ppdev="yes"
14392 else
14393 ac_cv_c_ppdev="no"
14395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14398 $as_echo "$ac_cv_c_ppdev" >&6; }
14399 if test "$ac_cv_c_ppdev" = "yes"
14400 then
14402 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14406 ac_wine_check_funcs_save_LIBS="$LIBS"
14407 LIBS="$LIBS $PTHREAD_LIBS"
14408 for ac_func in \
14409 pthread_getthreadid_np
14410 do :
14411 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14413 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14414 cat >>confdefs.h <<_ACEOF
14415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14416 _ACEOF
14419 done
14421 LIBS="$ac_wine_check_funcs_save_LIBS"
14423 if test "x$with_zlib" != "xno"
14424 then
14425 if ${Z_CFLAGS:+false} :; then :
14426 if ${PKG_CONFIG+:} false; then :
14427 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14431 if ${Z_LIBS:+false} :; then :
14432 if ${PKG_CONFIG+:} false; then :
14433 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14437 Z_LIBS=${Z_LIBS:-"-lz"}
14438 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14439 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14440 ac_save_CPPFLAGS=$CPPFLAGS
14441 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14442 for ac_header in zlib.h
14443 do :
14444 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14445 if test "x$ac_cv_header_zlib_h" = xyes; then :
14446 cat >>confdefs.h <<_ACEOF
14447 #define HAVE_ZLIB_H 1
14448 _ACEOF
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14450 $as_echo_n "checking for inflate in -lz... " >&6; }
14451 if ${ac_cv_lib_z_inflate+:} false; then :
14452 $as_echo_n "(cached) " >&6
14453 else
14454 ac_check_lib_save_LIBS=$LIBS
14455 LIBS="-lz $Z_LIBS $LIBS"
14456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14457 /* end confdefs.h. */
14459 /* Override any GCC internal prototype to avoid an error.
14460 Use char because int might match the return type of a GCC
14461 builtin and then its argument prototype would still apply. */
14462 #ifdef __cplusplus
14463 extern "C"
14464 #endif
14465 char inflate ();
14467 main ()
14469 return inflate ();
14471 return 0;
14473 _ACEOF
14474 if ac_fn_c_try_link "$LINENO"; then :
14475 ac_cv_lib_z_inflate=yes
14476 else
14477 ac_cv_lib_z_inflate=no
14479 rm -f core conftest.err conftest.$ac_objext \
14480 conftest$ac_exeext conftest.$ac_ext
14481 LIBS=$ac_check_lib_save_LIBS
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14484 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14485 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14487 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14489 else
14490 Z_LIBS=""
14493 else
14494 Z_LIBS=""
14497 done
14499 CPPFLAGS=$ac_save_CPPFLAGS
14500 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14501 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14504 if test "x$Z_LIBS" = "x"; then :
14505 case "x$with_zlib" in
14506 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14507 xno) ;;
14508 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14509 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14510 esac
14514 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14515 then
14516 if test "$ac_cv_header_gettext_po_h" = "yes"
14517 then
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14519 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14520 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14521 $as_echo_n "(cached) " >&6
14522 else
14523 ac_check_lib_save_LIBS=$LIBS
14524 LIBS="-lgettextpo $LIBS"
14525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14526 /* end confdefs.h. */
14528 /* Override any GCC internal prototype to avoid an error.
14529 Use char because int might match the return type of a GCC
14530 builtin and then its argument prototype would still apply. */
14531 #ifdef __cplusplus
14532 extern "C"
14533 #endif
14534 char po_message_msgctxt ();
14536 main ()
14538 return po_message_msgctxt ();
14540 return 0;
14542 _ACEOF
14543 if ac_fn_c_try_link "$LINENO"; then :
14544 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14545 else
14546 ac_cv_lib_gettextpo_po_message_msgctxt=no
14548 rm -f core conftest.err conftest.$ac_objext \
14549 conftest$ac_exeext conftest.$ac_ext
14550 LIBS=$ac_check_lib_save_LIBS
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14553 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14554 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14556 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14558 GETTEXTPO_LIBS="-lgettextpo"
14563 if test "x$GETTEXTPO_LIBS" = "x"; then :
14564 case "x$with_gettextpo" in
14565 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14566 xno) ;;
14567 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14568 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14569 esac
14572 if test "$srcdir" != .; then :
14573 case "x$with_gettextpo" in
14574 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14575 xno) ;;
14576 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14577 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14578 esac
14583 if test "x$with_pulse" != "xno";
14584 then
14585 if ${PULSE_CFLAGS:+false} :; then :
14586 if ${PKG_CONFIG+:} false; then :
14587 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14591 if ${PULSE_LIBS:+false} :; then :
14592 if ${PKG_CONFIG+:} false; then :
14593 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14598 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14599 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14600 ac_save_CPPFLAGS=$CPPFLAGS
14601 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14602 for ac_header in pulse/pulseaudio.h
14603 do :
14604 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14605 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14606 cat >>confdefs.h <<_ACEOF
14607 #define HAVE_PULSE_PULSEAUDIO_H 1
14608 _ACEOF
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14610 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14611 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14612 $as_echo_n "(cached) " >&6
14613 else
14614 ac_check_lib_save_LIBS=$LIBS
14615 LIBS="-lpulse $PULSE_LIBS $LIBS"
14616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14617 /* end confdefs.h. */
14619 /* Override any GCC internal prototype to avoid an error.
14620 Use char because int might match the return type of a GCC
14621 builtin and then its argument prototype would still apply. */
14622 #ifdef __cplusplus
14623 extern "C"
14624 #endif
14625 char pa_stream_is_corked ();
14627 main ()
14629 return pa_stream_is_corked ();
14631 return 0;
14633 _ACEOF
14634 if ac_fn_c_try_link "$LINENO"; then :
14635 ac_cv_lib_pulse_pa_stream_is_corked=yes
14636 else
14637 ac_cv_lib_pulse_pa_stream_is_corked=no
14639 rm -f core conftest.err conftest.$ac_objext \
14640 conftest$ac_exeext conftest.$ac_ext
14641 LIBS=$ac_check_lib_save_LIBS
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14644 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14645 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14647 else
14648 PULSE_LIBS=""
14651 else
14652 PULSE_LIBS=""
14655 done
14657 CPPFLAGS=$ac_save_CPPFLAGS
14658 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14659 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14662 if test -z "$PULSE_LIBS"; then :
14663 case "x$with_pulse" in
14664 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14665 xno) ;;
14666 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14667 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14668 esac
14669 enable_winepulse_drv=${enable_winepulse_drv:-no}
14672 if test "x$with_gstreamer" != "xno"
14673 then
14674 if ${GSTREAMER_CFLAGS:+false} :; then :
14675 if ${PKG_CONFIG+:} false; then :
14676 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14680 if ${GSTREAMER_LIBS:+false} :; then :
14681 if ${PKG_CONFIG+:} false; then :
14682 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14687 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14688 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14689 ac_save_CPPFLAGS=$CPPFLAGS
14690 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14691 ac_gst_incl=""
14692 for i in $GSTREAMER_CFLAGS
14694 case "$i" in
14695 -I*) ac_gst_incl="$ac_gst_incl $i";;
14696 esac
14697 done
14698 GSTREAMER_CFLAGS=$ac_gst_incl
14699 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14700 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14701 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14703 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14705 /* end confdefs.h. */
14706 #include <gst/gst.h>
14708 main ()
14710 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14712 return 0;
14714 _ACEOF
14715 if ac_fn_c_try_compile "$LINENO"; then :
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14717 $as_echo "yes" >&6; }
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14719 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14720 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14721 $as_echo_n "(cached) " >&6
14722 else
14723 ac_check_lib_save_LIBS=$LIBS
14724 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14726 /* end confdefs.h. */
14728 /* Override any GCC internal prototype to avoid an error.
14729 Use char because int might match the return type of a GCC
14730 builtin and then its argument prototype would still apply. */
14731 #ifdef __cplusplus
14732 extern "C"
14733 #endif
14734 char gst_pad_new ();
14736 main ()
14738 return gst_pad_new ();
14740 return 0;
14742 _ACEOF
14743 if ac_fn_c_try_link "$LINENO"; then :
14744 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14745 else
14746 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14748 rm -f core conftest.err conftest.$ac_objext \
14749 conftest$ac_exeext conftest.$ac_ext
14750 LIBS=$ac_check_lib_save_LIBS
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14753 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14754 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14758 else
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14760 $as_echo "no" >&6; }
14761 ac_glib2_broken=yes
14762 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14768 CPPFLAGS=$ac_save_CPPFLAGS
14769 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14770 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14773 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 :
14774 case "x$with_gstreamer" in
14775 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14776 xno) ;;
14777 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14778 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14779 esac
14782 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14784 ALSA_LIBS=""
14786 if test "x$with_alsa" != "xno"
14787 then
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14789 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14790 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14791 $as_echo_n "(cached) " >&6
14792 else
14793 ac_check_lib_save_LIBS=$LIBS
14794 LIBS="-lasound $LIBS"
14795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 /* end confdefs.h. */
14798 /* Override any GCC internal prototype to avoid an error.
14799 Use char because int might match the return type of a GCC
14800 builtin and then its argument prototype would still apply. */
14801 #ifdef __cplusplus
14802 extern "C"
14803 #endif
14804 char snd_pcm_hw_params_get_access_mask ();
14806 main ()
14808 return snd_pcm_hw_params_get_access_mask ();
14810 return 0;
14812 _ACEOF
14813 if ac_fn_c_try_link "$LINENO"; then :
14814 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14815 else
14816 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14818 rm -f core conftest.err conftest.$ac_objext \
14819 conftest$ac_exeext conftest.$ac_ext
14820 LIBS=$ac_check_lib_save_LIBS
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14823 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14824 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14827 #include <alsa/asoundlib.h>
14829 main ()
14831 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14833 return 0;
14835 _ACEOF
14836 if ac_fn_c_try_compile "$LINENO"; then :
14837 ALSA_LIBS="-lasound"
14839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14843 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14845 if test "x$with_oss" != xno
14846 then
14847 ac_save_CPPFLAGS="$CPPFLAGS"
14848 if test -f /etc/oss.conf
14849 then
14850 . /etc/oss.conf
14852 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14853 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14854 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14855 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14856 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14858 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14860 cat >>confdefs.h <<_ACEOF
14861 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14862 _ACEOF
14864 OSS4_CFLAGS="$ac_oss_incl"
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14867 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14868 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14869 $as_echo_n "(cached) " >&6
14870 else
14871 ac_check_lib_save_LIBS=$LIBS
14872 LIBS="-lossaudio $LIBS"
14873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14876 /* Override any GCC internal prototype to avoid an error.
14877 Use char because int might match the return type of a GCC
14878 builtin and then its argument prototype would still apply. */
14879 #ifdef __cplusplus
14880 extern "C"
14881 #endif
14882 char _oss_ioctl ();
14884 main ()
14886 return _oss_ioctl ();
14888 return 0;
14890 _ACEOF
14891 if ac_fn_c_try_link "$LINENO"; then :
14892 ac_cv_lib_ossaudio__oss_ioctl=yes
14893 else
14894 ac_cv_lib_ossaudio__oss_ioctl=no
14896 rm -f core conftest.err conftest.$ac_objext \
14897 conftest$ac_exeext conftest.$ac_ext
14898 LIBS=$ac_check_lib_save_LIBS
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14901 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14902 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14903 OSS4_LIBS="-lossaudio"
14912 CPPFLAGS="$ac_save_CPPFLAGS"
14914 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14915 case "x$with_oss" in
14916 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14917 xno) ;;
14918 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14919 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14920 esac
14921 enable_wineoss_drv=${enable_wineoss_drv:-no}
14924 if test "x$with_udev" != "xno"
14925 then
14926 if ${UDEV_CFLAGS:+false} :; then :
14927 if ${PKG_CONFIG+:} false; then :
14928 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14932 if ${UDEV_LIBS:+false} :; then :
14933 if ${PKG_CONFIG+:} false; then :
14934 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14938 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14939 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14940 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14941 ac_save_CPPFLAGS=$CPPFLAGS
14942 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14943 for ac_header in libudev.h
14944 do :
14945 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14946 if test "x$ac_cv_header_libudev_h" = xyes; then :
14947 cat >>confdefs.h <<_ACEOF
14948 #define HAVE_LIBUDEV_H 1
14949 _ACEOF
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14951 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14952 if ${ac_cv_lib_udev_udev_new+:} false; then :
14953 $as_echo_n "(cached) " >&6
14954 else
14955 ac_check_lib_save_LIBS=$LIBS
14956 LIBS="-ludev $UDEV_LIBS $LIBS"
14957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14958 /* end confdefs.h. */
14960 /* Override any GCC internal prototype to avoid an error.
14961 Use char because int might match the return type of a GCC
14962 builtin and then its argument prototype would still apply. */
14963 #ifdef __cplusplus
14964 extern "C"
14965 #endif
14966 char udev_new ();
14968 main ()
14970 return udev_new ();
14972 return 0;
14974 _ACEOF
14975 if ac_fn_c_try_link "$LINENO"; then :
14976 ac_cv_lib_udev_udev_new=yes
14977 else
14978 ac_cv_lib_udev_udev_new=no
14980 rm -f core conftest.err conftest.$ac_objext \
14981 conftest$ac_exeext conftest.$ac_ext
14982 LIBS=$ac_check_lib_save_LIBS
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14985 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14986 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14988 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14990 else
14991 UDEV_LIBS=""
14994 else
14995 UDEV_LIBS=""
14998 done
15000 CPPFLAGS=$ac_save_CPPFLAGS
15001 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15002 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15005 if test "x$UDEV_LIBS" = "x"; then :
15006 case "x$with_udev" in
15007 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15008 xno) ;;
15009 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15010 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15011 esac
15015 if test "x$with_unwind" != xno
15016 then
15017 if ${UNWIND_CFLAGS:+false} :; then :
15018 if ${PKG_CONFIG+:} false; then :
15019 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15023 if ${UNWIND_LIBS:+false} :; then :
15024 if ${PKG_CONFIG+:} false; then :
15025 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15029 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15030 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15031 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15032 ac_save_CPPFLAGS=$CPPFLAGS
15033 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15035 $as_echo_n "checking for unw_step... " >&6; }
15036 if ${wine_cv_have_unw_step+:} false; then :
15037 $as_echo_n "(cached) " >&6
15038 else
15039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15040 /* end confdefs.h. */
15041 #define UNW_LOCAL_ONLY
15042 #include <libunwind.h>
15044 main ()
15046 unw_cursor_t cursor; unw_step( &cursor );
15048 return 0;
15050 _ACEOF
15051 if ac_fn_c_try_link "$LINENO"; then :
15052 wine_cv_have_unw_step="yes"
15053 else
15054 wine_cv_have_unw_step="no"
15056 rm -f core conftest.err conftest.$ac_objext \
15057 conftest$ac_exeext conftest.$ac_ext
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15060 $as_echo "$wine_cv_have_unw_step" >&6; }
15061 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15062 then
15063 save_libs=$LIBS
15064 LIBS="$UNWIND_LIBS $LIBS"
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15066 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15067 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15068 $as_echo_n "(cached) " >&6
15069 else
15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15072 #define UNW_LOCAL_ONLY
15073 #include <libunwind.h>
15075 main ()
15077 unw_cursor_t cursor; unw_step( &cursor );
15079 return 0;
15081 _ACEOF
15082 if ac_fn_c_try_link "$LINENO"; then :
15083 wine_cv_have_libunwind_unw_step="yes"
15084 else
15085 wine_cv_have_libunwind_unw_step="no"
15087 rm -f core conftest.err conftest.$ac_objext \
15088 conftest$ac_exeext conftest.$ac_ext
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15091 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15092 LIBS=$save_libs
15094 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15095 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15096 then
15098 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15101 CPPFLAGS=$ac_save_CPPFLAGS
15102 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15103 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15106 case $host in
15107 aarch64*|*-darwin*)
15108 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15109 case "x$with_unwind" in
15110 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15111 xno) ;;
15112 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15113 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15114 esac
15116 fi ;;
15117 esac
15119 if test "x$with_sdl" != "xno"
15120 then
15121 if ${SDL2_CFLAGS:+false} :; then :
15122 if ${PKG_CONFIG+:} false; then :
15123 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15127 if ${SDL2_LIBS:+false} :; then :
15128 if ${PKG_CONFIG+:} false; then :
15129 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15133 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15134 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15135 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15136 ac_save_CPPFLAGS=$CPPFLAGS
15137 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15138 for ac_header in SDL2/SDL.h
15139 do :
15140 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15141 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15142 cat >>confdefs.h <<_ACEOF
15143 #define HAVE_SDL2_SDL_H 1
15144 _ACEOF
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15146 $as_echo_n "checking for -lSDL2... " >&6; }
15147 if ${ac_cv_lib_soname_SDL2+:} false; then :
15148 $as_echo_n "(cached) " >&6
15149 else
15150 ac_check_soname_save_LIBS=$LIBS
15151 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15153 /* end confdefs.h. */
15155 /* Override any GCC internal prototype to avoid an error.
15156 Use char because int might match the return type of a GCC
15157 builtin and then its argument prototype would still apply. */
15158 #ifdef __cplusplus
15159 extern "C"
15160 #endif
15161 char SDL_Init ();
15163 main ()
15165 return SDL_Init ();
15167 return 0;
15169 _ACEOF
15170 if ac_fn_c_try_link "$LINENO"; then :
15171 case "$LIBEXT" in
15172 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15173 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'` ;;
15174 *) 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'`
15175 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15176 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15177 fi ;;
15178 esac
15179 else
15180 ac_cv_lib_soname_SDL2=
15182 rm -f core conftest.err conftest.$ac_objext \
15183 conftest$ac_exeext conftest.$ac_ext
15184 LIBS=$ac_check_soname_save_LIBS
15186 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15188 $as_echo "not found" >&6; }
15190 else
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15192 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15194 cat >>confdefs.h <<_ACEOF
15195 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15196 _ACEOF
15202 done
15204 CPPFLAGS=$ac_save_CPPFLAGS
15205 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15206 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15209 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15210 case "x$with_sdl" in
15211 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15212 xno) ;;
15213 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15214 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15215 esac
15219 if test "x$with_faudio" != "xno"
15220 then
15221 if ${FAUDIO_CFLAGS:+false} :; then :
15222 if ${PKG_CONFIG+:} false; then :
15223 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15227 if ${FAUDIO_LIBS:+false} :; then :
15228 if ${PKG_CONFIG+:} false; then :
15229 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15233 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15234 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15235 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15236 ac_save_CPPFLAGS=$CPPFLAGS
15237 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15238 for ac_header in FAudio.h
15239 do :
15240 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15241 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15242 cat >>confdefs.h <<_ACEOF
15243 #define HAVE_FAUDIO_H 1
15244 _ACEOF
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15246 $as_echo_n "checking for -lFAudio... " >&6; }
15247 if ${ac_cv_lib_soname_FAudio+:} false; then :
15248 $as_echo_n "(cached) " >&6
15249 else
15250 ac_check_soname_save_LIBS=$LIBS
15251 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15253 /* end confdefs.h. */
15255 /* Override any GCC internal prototype to avoid an error.
15256 Use char because int might match the return type of a GCC
15257 builtin and then its argument prototype would still apply. */
15258 #ifdef __cplusplus
15259 extern "C"
15260 #endif
15261 char FAudioCreate ();
15263 main ()
15265 return FAudioCreate ();
15267 return 0;
15269 _ACEOF
15270 if ac_fn_c_try_link "$LINENO"; then :
15271 case "$LIBEXT" in
15272 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15273 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'` ;;
15274 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15275 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15276 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15277 fi ;;
15278 esac
15279 else
15280 ac_cv_lib_soname_FAudio=
15282 rm -f core conftest.err conftest.$ac_objext \
15283 conftest$ac_exeext conftest.$ac_ext
15284 LIBS=$ac_check_soname_save_LIBS
15286 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15288 $as_echo "not found" >&6; }
15290 else
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15292 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15294 cat >>confdefs.h <<_ACEOF
15295 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15296 _ACEOF
15302 done
15304 ac_wine_check_funcs_save_LIBS="$LIBS"
15305 LIBS="$LIBS $FAUDIO_LIBS"
15306 for ac_func in FAudio_CommitOperationSet \
15307 F3DAudioInitialize8
15308 do :
15309 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15310 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15311 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15312 cat >>confdefs.h <<_ACEOF
15313 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15314 _ACEOF
15317 done
15319 LIBS="$ac_wine_check_funcs_save_LIBS"
15321 CPPFLAGS=$ac_save_CPPFLAGS
15322 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15323 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15326 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15327 case "x$with_faudio" in
15328 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15329 xno) ;;
15330 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15331 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15332 esac
15336 if test "x$with_capi" != "xno"
15337 then
15338 if ${CAPI20_CFLAGS:+false} :; then :
15339 if ${PKG_CONFIG+:} false; then :
15340 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15344 if ${CAPI20_LIBS:+false} :; then :
15345 if ${PKG_CONFIG+:} false; then :
15346 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15351 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15352 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15353 ac_save_CPPFLAGS=$CPPFLAGS
15354 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15355 for ac_header in capi20.h linux/capi.h
15356 do :
15357 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15358 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15360 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15361 cat >>confdefs.h <<_ACEOF
15362 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15363 _ACEOF
15367 done
15369 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15370 then
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15372 $as_echo_n "checking for -lcapi20... " >&6; }
15373 if ${ac_cv_lib_soname_capi20+:} false; then :
15374 $as_echo_n "(cached) " >&6
15375 else
15376 ac_check_soname_save_LIBS=$LIBS
15377 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15381 /* Override any GCC internal prototype to avoid an error.
15382 Use char because int might match the return type of a GCC
15383 builtin and then its argument prototype would still apply. */
15384 #ifdef __cplusplus
15385 extern "C"
15386 #endif
15387 char capi20_register ();
15389 main ()
15391 return capi20_register ();
15393 return 0;
15395 _ACEOF
15396 if ac_fn_c_try_link "$LINENO"; then :
15397 case "$LIBEXT" in
15398 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15399 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'` ;;
15400 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15401 if ${ac_cv_lib_soname_capi20:+false} :; then :
15402 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15403 fi ;;
15404 esac
15405 else
15406 ac_cv_lib_soname_capi20=
15408 rm -f core conftest.err conftest.$ac_objext \
15409 conftest$ac_exeext conftest.$ac_ext
15410 LIBS=$ac_check_soname_save_LIBS
15412 if ${ac_cv_lib_soname_capi20:+false} :; then :
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15414 $as_echo "not found" >&6; }
15416 else
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15418 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15420 cat >>confdefs.h <<_ACEOF
15421 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15422 _ACEOF
15427 CPPFLAGS=$ac_save_CPPFLAGS
15428 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15429 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15432 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15433 case "x$with_capi" in
15434 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15435 xno) ;;
15436 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15437 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15438 esac
15442 if test "x$with_cups" != "xno"
15443 then
15444 if ${CUPS_CFLAGS:+false} :; then :
15445 if ${PKG_CONFIG+:} false; then :
15446 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15449 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15450 if ${CUPS_LIBS:+false} :; then :
15451 if ${PKG_CONFIG+:} false; then :
15452 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15455 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15456 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15457 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15458 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15459 ac_save_CPPFLAGS=$CPPFLAGS
15460 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15461 for ac_header in cups/cups.h cups/ppd.h
15462 do :
15463 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15464 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15465 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15466 cat >>confdefs.h <<_ACEOF
15467 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15468 _ACEOF
15472 done
15474 if test "$ac_cv_header_cups_cups_h" = "yes"
15475 then
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15477 $as_echo_n "checking for -lcups... " >&6; }
15478 if ${ac_cv_lib_soname_cups+:} false; then :
15479 $as_echo_n "(cached) " >&6
15480 else
15481 ac_check_soname_save_LIBS=$LIBS
15482 LIBS="-lcups $CUPS_LIBS $LIBS"
15483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15484 /* end confdefs.h. */
15486 /* Override any GCC internal prototype to avoid an error.
15487 Use char because int might match the return type of a GCC
15488 builtin and then its argument prototype would still apply. */
15489 #ifdef __cplusplus
15490 extern "C"
15491 #endif
15492 char cupsGetDefault ();
15494 main ()
15496 return cupsGetDefault ();
15498 return 0;
15500 _ACEOF
15501 if ac_fn_c_try_link "$LINENO"; then :
15502 case "$LIBEXT" in
15503 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15504 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'` ;;
15505 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15506 if ${ac_cv_lib_soname_cups:+false} :; then :
15507 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15508 fi ;;
15509 esac
15510 else
15511 ac_cv_lib_soname_cups=
15513 rm -f core conftest.err conftest.$ac_objext \
15514 conftest$ac_exeext conftest.$ac_ext
15515 LIBS=$ac_check_soname_save_LIBS
15517 if ${ac_cv_lib_soname_cups:+false} :; then :
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15519 $as_echo "not found" >&6; }
15520 CUPS_LIBS=""
15521 else
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15523 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15525 cat >>confdefs.h <<_ACEOF
15526 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15527 _ACEOF
15531 else
15532 CUPS_CFLAGS=""
15533 CUPS_LIBS=""
15535 CPPFLAGS=$ac_save_CPPFLAGS
15536 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15537 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15540 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15541 case "x$with_cups" in
15542 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15543 xno) ;;
15544 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15545 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15546 esac
15550 if test "x$with_fontconfig" != "xno"
15551 then
15552 if ${FONTCONFIG_CFLAGS:+false} :; then :
15553 if ${PKG_CONFIG+:} false; then :
15554 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15557 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15558 if ${FONTCONFIG_LIBS:+false} :; then :
15559 if ${PKG_CONFIG+:} false; then :
15560 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15563 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15565 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15566 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15567 ac_save_CPPFLAGS=$CPPFLAGS
15568 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15569 for ac_header in fontconfig/fontconfig.h
15570 do :
15571 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15572 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15573 cat >>confdefs.h <<_ACEOF
15574 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15575 _ACEOF
15579 done
15581 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15582 then
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15584 $as_echo_n "checking for -lfontconfig... " >&6; }
15585 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15586 $as_echo_n "(cached) " >&6
15587 else
15588 ac_check_soname_save_LIBS=$LIBS
15589 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15591 /* end confdefs.h. */
15593 /* Override any GCC internal prototype to avoid an error.
15594 Use char because int might match the return type of a GCC
15595 builtin and then its argument prototype would still apply. */
15596 #ifdef __cplusplus
15597 extern "C"
15598 #endif
15599 char FcInit ();
15601 main ()
15603 return FcInit ();
15605 return 0;
15607 _ACEOF
15608 if ac_fn_c_try_link "$LINENO"; then :
15609 case "$LIBEXT" in
15610 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15611 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'` ;;
15612 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15613 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15614 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15615 fi ;;
15616 esac
15617 else
15618 ac_cv_lib_soname_fontconfig=
15620 rm -f core conftest.err conftest.$ac_objext \
15621 conftest$ac_exeext conftest.$ac_ext
15622 LIBS=$ac_check_soname_save_LIBS
15624 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15626 $as_echo "not found" >&6; }
15627 FONTCONFIG_CFLAGS=""
15628 else
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15630 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15632 cat >>confdefs.h <<_ACEOF
15633 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15634 _ACEOF
15638 else
15639 FONTCONFIG_CFLAGS=""
15641 CPPFLAGS=$ac_save_CPPFLAGS
15642 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15643 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15646 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15647 case "x$with_fontconfig" in
15648 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15649 xno) ;;
15650 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15651 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15652 esac
15656 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15657 then
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15659 $as_echo_n "checking for -lgsm... " >&6; }
15660 if ${ac_cv_lib_soname_gsm+:} false; then :
15661 $as_echo_n "(cached) " >&6
15662 else
15663 ac_check_soname_save_LIBS=$LIBS
15664 LIBS="-lgsm $LIBS"
15665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15668 /* Override any GCC internal prototype to avoid an error.
15669 Use char because int might match the return type of a GCC
15670 builtin and then its argument prototype would still apply. */
15671 #ifdef __cplusplus
15672 extern "C"
15673 #endif
15674 char gsm_create ();
15676 main ()
15678 return gsm_create ();
15680 return 0;
15682 _ACEOF
15683 if ac_fn_c_try_link "$LINENO"; then :
15684 case "$LIBEXT" in
15685 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15686 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'` ;;
15687 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15688 if ${ac_cv_lib_soname_gsm:+false} :; then :
15689 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15690 fi ;;
15691 esac
15692 else
15693 ac_cv_lib_soname_gsm=
15695 rm -f core conftest.err conftest.$ac_objext \
15696 conftest$ac_exeext conftest.$ac_ext
15697 LIBS=$ac_check_soname_save_LIBS
15699 if ${ac_cv_lib_soname_gsm:+false} :; then :
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15701 $as_echo "not found" >&6; }
15703 else
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15705 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15707 cat >>confdefs.h <<_ACEOF
15708 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15709 _ACEOF
15714 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15715 case "x$with_gsm" in
15716 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15717 xno) ;;
15718 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15719 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15720 esac
15724 if test "x$with_krb5" != "xno"
15725 then
15726 if ${KRB5_CFLAGS:+false} :; then :
15727 if ${PKG_CONFIG+:} false; then :
15728 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15731 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15732 if ${KRB5_LIBS:+false} :; then :
15733 if ${PKG_CONFIG+:} false; then :
15734 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15737 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15739 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15740 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15741 ac_save_CPPFLAGS=$CPPFLAGS
15742 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15743 for ac_header in krb5/krb5.h
15744 do :
15745 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15746 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15747 cat >>confdefs.h <<_ACEOF
15748 #define HAVE_KRB5_KRB5_H 1
15749 _ACEOF
15753 done
15755 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15756 then
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15758 $as_echo_n "checking for -lkrb5... " >&6; }
15759 if ${ac_cv_lib_soname_krb5+:} false; then :
15760 $as_echo_n "(cached) " >&6
15761 else
15762 ac_check_soname_save_LIBS=$LIBS
15763 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15765 /* end confdefs.h. */
15767 /* Override any GCC internal prototype to avoid an error.
15768 Use char because int might match the return type of a GCC
15769 builtin and then its argument prototype would still apply. */
15770 #ifdef __cplusplus
15771 extern "C"
15772 #endif
15773 char krb5_is_config_principal ();
15775 main ()
15777 return krb5_is_config_principal ();
15779 return 0;
15781 _ACEOF
15782 if ac_fn_c_try_link "$LINENO"; then :
15783 case "$LIBEXT" in
15784 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15785 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'` ;;
15786 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15787 if ${ac_cv_lib_soname_krb5:+false} :; then :
15788 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15789 fi ;;
15790 esac
15791 else
15792 ac_cv_lib_soname_krb5=
15794 rm -f core conftest.err conftest.$ac_objext \
15795 conftest$ac_exeext conftest.$ac_ext
15796 LIBS=$ac_check_soname_save_LIBS
15798 if ${ac_cv_lib_soname_krb5:+false} :; then :
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15800 $as_echo "not found" >&6; }
15801 KRB5_CFLAGS=""
15802 else
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15804 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15806 cat >>confdefs.h <<_ACEOF
15807 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15808 _ACEOF
15812 else
15813 KRB5_CFLAGS=""
15815 CPPFLAGS=$ac_save_CPPFLAGS
15816 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15817 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15820 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15821 case "x$with_krb5" in
15822 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15823 xno) ;;
15824 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15825 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15826 esac
15829 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15831 if test "x$with_gssapi" != "xno"
15832 then
15833 if ${GSSAPI_CFLAGS:+false} :; then :
15834 if ${PKG_CONFIG+:} false; then :
15835 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15838 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15839 if ${GSSAPI_LIBS:+false} :; then :
15840 if ${PKG_CONFIG+:} false; then :
15841 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15844 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15846 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15847 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15848 ac_save_CPPFLAGS=$CPPFLAGS
15849 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15850 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15851 do :
15852 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15853 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15854 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15855 cat >>confdefs.h <<_ACEOF
15856 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15857 _ACEOF
15861 done
15863 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15864 then
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15866 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15867 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15868 $as_echo_n "(cached) " >&6
15869 else
15870 ac_check_soname_save_LIBS=$LIBS
15871 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15873 /* end confdefs.h. */
15875 /* Override any GCC internal prototype to avoid an error.
15876 Use char because int might match the return type of a GCC
15877 builtin and then its argument prototype would still apply. */
15878 #ifdef __cplusplus
15879 extern "C"
15880 #endif
15881 char gss_init_sec_context ();
15883 main ()
15885 return gss_init_sec_context ();
15887 return 0;
15889 _ACEOF
15890 if ac_fn_c_try_link "$LINENO"; then :
15891 case "$LIBEXT" in
15892 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15893 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'` ;;
15894 *) 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'`
15895 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15896 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15897 fi ;;
15898 esac
15899 else
15900 ac_cv_lib_soname_gssapi_krb5=
15902 rm -f core conftest.err conftest.$ac_objext \
15903 conftest$ac_exeext conftest.$ac_ext
15904 LIBS=$ac_check_soname_save_LIBS
15906 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15908 $as_echo "not found" >&6; }
15909 GSSAPI_CFLAGS=""
15910 else
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15912 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15914 cat >>confdefs.h <<_ACEOF
15915 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15916 _ACEOF
15920 else
15921 GSSAPI_CFLAGS=""
15923 CPPFLAGS=$ac_save_CPPFLAGS
15924 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15925 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15928 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15929 case "x$with_gssapi" in
15930 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15931 xno) ;;
15932 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15933 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15934 esac
15938 if test "x$with_jpeg" != "xno"
15939 then
15940 if ${JPEG_CFLAGS:+false} :; then :
15941 if ${PKG_CONFIG+:} false; then :
15942 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15946 if ${JPEG_LIBS:+false} :; then :
15947 if ${PKG_CONFIG+:} false; then :
15948 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15953 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15954 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15955 ac_save_CPPFLAGS=$CPPFLAGS
15956 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15957 for ac_header in jpeglib.h
15958 do :
15959 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15960 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15961 cat >>confdefs.h <<_ACEOF
15962 #define HAVE_JPEGLIB_H 1
15963 _ACEOF
15967 done
15969 if test "$ac_cv_header_jpeglib_h" = "yes"
15970 then
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15972 $as_echo_n "checking for -ljpeg... " >&6; }
15973 if ${ac_cv_lib_soname_jpeg+:} false; then :
15974 $as_echo_n "(cached) " >&6
15975 else
15976 ac_check_soname_save_LIBS=$LIBS
15977 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15979 /* end confdefs.h. */
15981 /* Override any GCC internal prototype to avoid an error.
15982 Use char because int might match the return type of a GCC
15983 builtin and then its argument prototype would still apply. */
15984 #ifdef __cplusplus
15985 extern "C"
15986 #endif
15987 char jpeg_start_decompress ();
15989 main ()
15991 return jpeg_start_decompress ();
15993 return 0;
15995 _ACEOF
15996 if ac_fn_c_try_link "$LINENO"; then :
15997 case "$LIBEXT" in
15998 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15999 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'` ;;
16000 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16001 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16002 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16003 fi ;;
16004 esac
16005 else
16006 ac_cv_lib_soname_jpeg=
16008 rm -f core conftest.err conftest.$ac_objext \
16009 conftest$ac_exeext conftest.$ac_ext
16010 LIBS=$ac_check_soname_save_LIBS
16012 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16014 $as_echo "not found" >&6; }
16015 JPEG_CFLAGS=""
16016 else
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16018 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16020 cat >>confdefs.h <<_ACEOF
16021 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16022 _ACEOF
16026 else
16027 JPEG_CFLAGS=""
16029 CPPFLAGS=$ac_save_CPPFLAGS
16030 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16031 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16034 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16035 case "x$with_jpeg" in
16036 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16037 xno) ;;
16038 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16039 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16040 esac
16044 if test "x$with_png" != "xno"
16045 then
16046 if ${PNG_CFLAGS:+false} :; then :
16047 if ${PKG_CONFIG+:} false; then :
16048 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16051 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16052 if ${PNG_LIBS:+false} :; then :
16053 if ${PKG_CONFIG+:} false; then :
16054 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16057 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16059 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16060 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16061 ac_save_CPPFLAGS=$CPPFLAGS
16062 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16063 for ac_header in png.h
16064 do :
16065 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16066 if test "x$ac_cv_header_png_h" = xyes; then :
16067 cat >>confdefs.h <<_ACEOF
16068 #define HAVE_PNG_H 1
16069 _ACEOF
16073 done
16075 if test "$ac_cv_header_png_h" = "yes"
16076 then
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16078 $as_echo_n "checking for -lpng... " >&6; }
16079 if ${ac_cv_lib_soname_png+:} false; then :
16080 $as_echo_n "(cached) " >&6
16081 else
16082 ac_check_soname_save_LIBS=$LIBS
16083 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16085 /* end confdefs.h. */
16087 /* Override any GCC internal prototype to avoid an error.
16088 Use char because int might match the return type of a GCC
16089 builtin and then its argument prototype would still apply. */
16090 #ifdef __cplusplus
16091 extern "C"
16092 #endif
16093 char png_create_read_struct ();
16095 main ()
16097 return png_create_read_struct ();
16099 return 0;
16101 _ACEOF
16102 if ac_fn_c_try_link "$LINENO"; then :
16103 case "$LIBEXT" in
16104 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16105 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'` ;;
16106 *) 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'`
16107 if ${ac_cv_lib_soname_png:+false} :; then :
16108 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16109 fi ;;
16110 esac
16111 else
16112 ac_cv_lib_soname_png=
16114 rm -f core conftest.err conftest.$ac_objext \
16115 conftest$ac_exeext conftest.$ac_ext
16116 LIBS=$ac_check_soname_save_LIBS
16118 if ${ac_cv_lib_soname_png:+false} :; then :
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16120 $as_echo "not found" >&6; }
16121 PNG_CFLAGS=""
16122 else
16123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16124 $as_echo "$ac_cv_lib_soname_png" >&6; }
16126 cat >>confdefs.h <<_ACEOF
16127 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16128 _ACEOF
16132 else
16133 PNG_CFLAGS=""
16135 CPPFLAGS=$ac_save_CPPFLAGS
16136 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16137 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16140 if test "x$ac_cv_lib_soname_png" = "x"; then :
16141 case "x$with_png" in
16142 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16143 xno) ;;
16144 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16145 This is an error since --with-png was requested." "$LINENO" 5 ;;
16146 esac
16150 if test "x$with_tiff" != "xno"
16151 then
16152 if ${TIFF_CFLAGS:+false} :; then :
16153 if ${PKG_CONFIG+:} false; then :
16154 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16158 if ${TIFF_LIBS:+false} :; then :
16159 if ${PKG_CONFIG+:} false; then :
16160 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16165 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16166 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16167 ac_save_CPPFLAGS=$CPPFLAGS
16168 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16169 for ac_header in tiffio.h
16170 do :
16171 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16172 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16173 cat >>confdefs.h <<_ACEOF
16174 #define HAVE_TIFFIO_H 1
16175 _ACEOF
16179 done
16181 if test "$ac_cv_header_tiffio_h" = "yes"
16182 then
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16184 $as_echo_n "checking for -ltiff... " >&6; }
16185 if ${ac_cv_lib_soname_tiff+:} false; then :
16186 $as_echo_n "(cached) " >&6
16187 else
16188 ac_check_soname_save_LIBS=$LIBS
16189 LIBS="-ltiff $TIFF_LIBS $LIBS"
16190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16191 /* end confdefs.h. */
16193 /* Override any GCC internal prototype to avoid an error.
16194 Use char because int might match the return type of a GCC
16195 builtin and then its argument prototype would still apply. */
16196 #ifdef __cplusplus
16197 extern "C"
16198 #endif
16199 char TIFFClientOpen ();
16201 main ()
16203 return TIFFClientOpen ();
16205 return 0;
16207 _ACEOF
16208 if ac_fn_c_try_link "$LINENO"; then :
16209 case "$LIBEXT" in
16210 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16211 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'` ;;
16212 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16213 if ${ac_cv_lib_soname_tiff:+false} :; then :
16214 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16215 fi ;;
16216 esac
16217 else
16218 ac_cv_lib_soname_tiff=
16220 rm -f core conftest.err conftest.$ac_objext \
16221 conftest$ac_exeext conftest.$ac_ext
16222 LIBS=$ac_check_soname_save_LIBS
16224 if ${ac_cv_lib_soname_tiff:+false} :; then :
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16226 $as_echo "not found" >&6; }
16228 else
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16230 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16232 cat >>confdefs.h <<_ACEOF
16233 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16234 _ACEOF
16239 CPPFLAGS=$ac_save_CPPFLAGS
16240 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16241 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16244 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16245 case "x$with_tiff" in
16246 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16247 xno) ;;
16248 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16249 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16250 esac
16254 if test "x$with_mpg123" != "xno"
16255 then
16256 if ${MPG123_CFLAGS:+false} :; then :
16257 if ${PKG_CONFIG+:} false; then :
16258 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16262 if ${MPG123_LIBS:+false} :; then :
16263 if ${PKG_CONFIG+:} false; then :
16264 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16268 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16269 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16270 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16271 ac_save_CPPFLAGS=$CPPFLAGS
16272 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16273 for ac_header in mpg123.h
16274 do :
16275 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16276 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16277 cat >>confdefs.h <<_ACEOF
16278 #define HAVE_MPG123_H 1
16279 _ACEOF
16283 done
16285 if test "$ac_cv_header_mpg123_h" = "yes"
16286 then
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16288 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16289 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16290 $as_echo_n "(cached) " >&6
16291 else
16292 ac_check_lib_save_LIBS=$LIBS
16293 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16295 /* end confdefs.h. */
16297 /* Override any GCC internal prototype to avoid an error.
16298 Use char because int might match the return type of a GCC
16299 builtin and then its argument prototype would still apply. */
16300 #ifdef __cplusplus
16301 extern "C"
16302 #endif
16303 char mpg123_feed ();
16305 main ()
16307 return mpg123_feed ();
16309 return 0;
16311 _ACEOF
16312 if ac_fn_c_try_link "$LINENO"; then :
16313 ac_cv_lib_mpg123_mpg123_feed=yes
16314 else
16315 ac_cv_lib_mpg123_mpg123_feed=no
16317 rm -f core conftest.err conftest.$ac_objext \
16318 conftest$ac_exeext conftest.$ac_ext
16319 LIBS=$ac_check_lib_save_LIBS
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16322 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16323 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16325 else
16326 MPG123_LIBS=""
16329 else
16330 MPG123_CFLAGS=""
16331 MPG123_LIBS=""
16333 CPPFLAGS=$ac_save_CPPFLAGS
16334 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16335 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16338 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16339 case "x$with_mpg123" in
16340 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16341 xno) ;;
16342 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16343 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16344 esac
16345 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16347 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16349 if test "$ac_cv_header_AL_al_h" = "yes"
16350 then
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16352 $as_echo_n "checking for -lopenal... " >&6; }
16353 if ${ac_cv_lib_soname_openal+:} false; then :
16354 $as_echo_n "(cached) " >&6
16355 else
16356 ac_check_soname_save_LIBS=$LIBS
16357 LIBS="-lopenal $LIBS"
16358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16359 /* end confdefs.h. */
16361 /* Override any GCC internal prototype to avoid an error.
16362 Use char because int might match the return type of a GCC
16363 builtin and then its argument prototype would still apply. */
16364 #ifdef __cplusplus
16365 extern "C"
16366 #endif
16367 char alGetSource3i ();
16369 main ()
16371 return alGetSource3i ();
16373 return 0;
16375 _ACEOF
16376 if ac_fn_c_try_link "$LINENO"; then :
16377 case "$LIBEXT" in
16378 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16379 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'` ;;
16380 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16381 if ${ac_cv_lib_soname_openal:+false} :; then :
16382 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16383 fi ;;
16384 esac
16385 else
16386 ac_cv_lib_soname_openal=
16388 rm -f core conftest.err conftest.$ac_objext \
16389 conftest$ac_exeext conftest.$ac_ext
16390 LIBS=$ac_check_soname_save_LIBS
16392 if ${ac_cv_lib_soname_openal:+false} :; then :
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16394 $as_echo "not found" >&6; }
16396 else
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16398 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16400 cat >>confdefs.h <<_ACEOF
16401 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16402 _ACEOF
16404 OPENAL_LIBS="-lopenal"
16406 ac_cv_lib_openal=yes
16408 cat >>confdefs.h <<_ACEOF
16409 #define HAVE_OPENAL 1
16410 _ACEOF
16414 if test "x$ac_cv_lib_openal" != xyes; then :
16415 case "x$with_openal" in
16416 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16417 xno) ;;
16418 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16419 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16420 esac
16421 enable_openal32=${enable_openal32:-no}
16424 if test "x$ac_cv_lib_soname_FAudio" = "x"
16425 then
16426 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16427 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16428 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16429 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16430 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16431 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16432 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16433 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16434 enable_xapofx1_1=${enable_xapofx1_1:-no}
16435 enable_xapofx1_2=${enable_xapofx1_2:-no}
16436 enable_xapofx1_3=${enable_xapofx1_3:-no}
16437 enable_xapofx1_4=${enable_xapofx1_4:-no}
16438 enable_xapofx1_5=${enable_xapofx1_5:-no}
16439 enable_xaudio2_0=${enable_xaudio2_0:-no}
16440 enable_xaudio2_1=${enable_xaudio2_1:-no}
16441 enable_xaudio2_2=${enable_xaudio2_2:-no}
16442 enable_xaudio2_3=${enable_xaudio2_3:-no}
16443 enable_xaudio2_4=${enable_xaudio2_4:-no}
16444 enable_xaudio2_5=${enable_xaudio2_5:-no}
16445 enable_xaudio2_6=${enable_xaudio2_6:-no}
16446 enable_xaudio2_7=${enable_xaudio2_7:-no}
16447 enable_xaudio2_8=${enable_xaudio2_8:-no}
16448 enable_xaudio2_9=${enable_xaudio2_9:-no}
16451 if test "$ac_cv_header_kstat_h" = "yes"
16452 then
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16454 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16455 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16456 $as_echo_n "(cached) " >&6
16457 else
16458 ac_check_lib_save_LIBS=$LIBS
16459 LIBS="-lkstat $LIBS"
16460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16463 /* Override any GCC internal prototype to avoid an error.
16464 Use char because int might match the return type of a GCC
16465 builtin and then its argument prototype would still apply. */
16466 #ifdef __cplusplus
16467 extern "C"
16468 #endif
16469 char kstat_open ();
16471 main ()
16473 return kstat_open ();
16475 return 0;
16477 _ACEOF
16478 if ac_fn_c_try_link "$LINENO"; then :
16479 ac_cv_lib_kstat_kstat_open=yes
16480 else
16481 ac_cv_lib_kstat_kstat_open=no
16483 rm -f core conftest.err conftest.$ac_objext \
16484 conftest$ac_exeext conftest.$ac_ext
16485 LIBS=$ac_check_lib_save_LIBS
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16488 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16489 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16491 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16493 KSTAT_LIBS="-lkstat"
16499 if test "$ac_cv_header_libprocstat_h" = "yes"
16500 then
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16502 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16503 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16504 $as_echo_n "(cached) " >&6
16505 else
16506 ac_check_lib_save_LIBS=$LIBS
16507 LIBS="-lprocstat $LIBS"
16508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16509 /* end confdefs.h. */
16511 /* Override any GCC internal prototype to avoid an error.
16512 Use char because int might match the return type of a GCC
16513 builtin and then its argument prototype would still apply. */
16514 #ifdef __cplusplus
16515 extern "C"
16516 #endif
16517 char procstat_open_sysctl ();
16519 main ()
16521 return procstat_open_sysctl ();
16523 return 0;
16525 _ACEOF
16526 if ac_fn_c_try_link "$LINENO"; then :
16527 ac_cv_lib_procstat_procstat_open_sysctl=yes
16528 else
16529 ac_cv_lib_procstat_procstat_open_sysctl=no
16531 rm -f core conftest.err conftest.$ac_objext \
16532 conftest$ac_exeext conftest.$ac_ext
16533 LIBS=$ac_check_lib_save_LIBS
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16536 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16537 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16539 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16541 PROCSTAT_LIBS="-lprocstat"
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16548 $as_echo_n "checking for -lodbc... " >&6; }
16549 if ${ac_cv_lib_soname_odbc+:} false; then :
16550 $as_echo_n "(cached) " >&6
16551 else
16552 ac_check_soname_save_LIBS=$LIBS
16553 LIBS="-lodbc $LIBS"
16554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16555 /* end confdefs.h. */
16557 /* Override any GCC internal prototype to avoid an error.
16558 Use char because int might match the return type of a GCC
16559 builtin and then its argument prototype would still apply. */
16560 #ifdef __cplusplus
16561 extern "C"
16562 #endif
16563 char SQLConnect ();
16565 main ()
16567 return SQLConnect ();
16569 return 0;
16571 _ACEOF
16572 if ac_fn_c_try_link "$LINENO"; then :
16573 case "$LIBEXT" in
16574 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16575 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'` ;;
16576 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16577 if ${ac_cv_lib_soname_odbc:+false} :; then :
16578 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16579 fi ;;
16580 esac
16581 else
16582 ac_cv_lib_soname_odbc=
16584 rm -f core conftest.err conftest.$ac_objext \
16585 conftest$ac_exeext conftest.$ac_ext
16586 LIBS=$ac_check_soname_save_LIBS
16588 if ${ac_cv_lib_soname_odbc:+false} :; then :
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16590 $as_echo "not found" >&6; }
16591 cat >>confdefs.h <<_ACEOF
16592 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16593 _ACEOF
16595 else
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16597 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16599 cat >>confdefs.h <<_ACEOF
16600 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16601 _ACEOF
16606 if test "x$with_netapi" != "xno"
16607 then
16608 if ${NETAPI_CFLAGS:+false} :; then :
16609 if ${PKG_CONFIG+:} false; then :
16610 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16614 if ${NETAPI_LIBS:+false} :; then :
16615 if ${PKG_CONFIG+:} false; then :
16616 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16621 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16622 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16623 ac_save_CPPFLAGS=$CPPFLAGS
16624 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16626 $as_echo_n "checking for -lnetapi... " >&6; }
16627 if ${ac_cv_lib_soname_netapi+:} false; then :
16628 $as_echo_n "(cached) " >&6
16629 else
16630 ac_check_soname_save_LIBS=$LIBS
16631 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16635 /* Override any GCC internal prototype to avoid an error.
16636 Use char because int might match the return type of a GCC
16637 builtin and then its argument prototype would still apply. */
16638 #ifdef __cplusplus
16639 extern "C"
16640 #endif
16641 char libnetapi_init ();
16643 main ()
16645 return libnetapi_init ();
16647 return 0;
16649 _ACEOF
16650 if ac_fn_c_try_link "$LINENO"; then :
16651 case "$LIBEXT" in
16652 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16653 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'` ;;
16654 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16655 if ${ac_cv_lib_soname_netapi:+false} :; then :
16656 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16657 fi ;;
16658 esac
16659 else
16660 ac_cv_lib_soname_netapi=
16662 rm -f core conftest.err conftest.$ac_objext \
16663 conftest$ac_exeext conftest.$ac_ext
16664 LIBS=$ac_check_soname_save_LIBS
16666 if ${ac_cv_lib_soname_netapi:+false} :; then :
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16668 $as_echo "not found" >&6; }
16669 cat >>confdefs.h <<_ACEOF
16670 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16671 _ACEOF
16673 else
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16675 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16677 cat >>confdefs.h <<_ACEOF
16678 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16679 _ACEOF
16683 CPPFLAGS=$ac_save_CPPFLAGS
16684 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16685 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16689 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16690 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16691 then
16692 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16695 if test "x$with_vulkan" != "xno"
16696 then
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16698 $as_echo_n "checking for -lvulkan... " >&6; }
16699 if ${ac_cv_lib_soname_vulkan+:} false; then :
16700 $as_echo_n "(cached) " >&6
16701 else
16702 ac_check_soname_save_LIBS=$LIBS
16703 LIBS="-lvulkan $LIBS"
16704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16705 /* end confdefs.h. */
16707 /* Override any GCC internal prototype to avoid an error.
16708 Use char because int might match the return type of a GCC
16709 builtin and then its argument prototype would still apply. */
16710 #ifdef __cplusplus
16711 extern "C"
16712 #endif
16713 char vkGetInstanceProcAddr ();
16715 main ()
16717 return vkGetInstanceProcAddr ();
16719 return 0;
16721 _ACEOF
16722 if ac_fn_c_try_link "$LINENO"; then :
16723 case "$LIBEXT" in
16724 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16725 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'` ;;
16726 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16727 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16728 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16729 fi ;;
16730 esac
16731 else
16732 ac_cv_lib_soname_vulkan=
16734 rm -f core conftest.err conftest.$ac_objext \
16735 conftest$ac_exeext conftest.$ac_ext
16736 LIBS=$ac_check_soname_save_LIBS
16738 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16740 $as_echo "not found" >&6; }
16742 else
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16744 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16746 cat >>confdefs.h <<_ACEOF
16747 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16748 _ACEOF
16752 if test "x$ac_cv_lib_soname_vulkan" = "x"
16753 then
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16755 $as_echo_n "checking for -lMoltenVK... " >&6; }
16756 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16757 $as_echo_n "(cached) " >&6
16758 else
16759 ac_check_soname_save_LIBS=$LIBS
16760 LIBS="-lMoltenVK $LIBS"
16761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16762 /* end confdefs.h. */
16764 /* Override any GCC internal prototype to avoid an error.
16765 Use char because int might match the return type of a GCC
16766 builtin and then its argument prototype would still apply. */
16767 #ifdef __cplusplus
16768 extern "C"
16769 #endif
16770 char vkGetInstanceProcAddr ();
16772 main ()
16774 return vkGetInstanceProcAddr ();
16776 return 0;
16778 _ACEOF
16779 if ac_fn_c_try_link "$LINENO"; then :
16780 case "$LIBEXT" in
16781 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16782 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'` ;;
16783 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16784 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16785 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16786 fi ;;
16787 esac
16788 else
16789 ac_cv_lib_soname_MoltenVK=
16791 rm -f core conftest.err conftest.$ac_objext \
16792 conftest$ac_exeext conftest.$ac_ext
16793 LIBS=$ac_check_soname_save_LIBS
16795 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16797 $as_echo "not found" >&6; }
16799 else
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16801 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16803 cat >>confdefs.h <<_ACEOF
16804 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16805 _ACEOF
16811 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16812 case "x$with_vulkan" in
16813 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16814 xno) ;;
16815 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16816 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16817 esac
16821 if test "x$with_vkd3d" != "xno"
16822 then
16823 if ${VKD3D_CFLAGS:+false} :; then :
16824 if ${PKG_CONFIG+:} false; then :
16825 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16829 if ${VKD3D_LIBS:+false} :; then :
16830 if ${PKG_CONFIG+:} false; then :
16831 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16836 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16837 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16838 ac_save_CPPFLAGS=$CPPFLAGS
16839 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16841 $as_echo_n "checking for -lvkd3d... " >&6; }
16842 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16843 $as_echo_n "(cached) " >&6
16844 else
16845 ac_check_soname_save_LIBS=$LIBS
16846 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16848 /* end confdefs.h. */
16850 /* Override any GCC internal prototype to avoid an error.
16851 Use char because int might match the return type of a GCC
16852 builtin and then its argument prototype would still apply. */
16853 #ifdef __cplusplus
16854 extern "C"
16855 #endif
16856 char vkd3d_get_dxgi_format ();
16858 main ()
16860 return vkd3d_get_dxgi_format ();
16862 return 0;
16864 _ACEOF
16865 if ac_fn_c_try_link "$LINENO"; then :
16866 case "$LIBEXT" in
16867 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16868 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'` ;;
16869 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16870 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16871 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16872 fi ;;
16873 esac
16874 else
16875 ac_cv_lib_soname_vkd3d=
16877 rm -f core conftest.err conftest.$ac_objext \
16878 conftest$ac_exeext conftest.$ac_ext
16879 LIBS=$ac_check_soname_save_LIBS
16881 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16883 $as_echo "not found" >&6; }
16885 else
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16887 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16889 cat >>confdefs.h <<_ACEOF
16890 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16891 _ACEOF
16895 CPPFLAGS=$ac_save_CPPFLAGS
16896 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16897 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16900 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16901 case "x$with_vkd3d" in
16902 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16903 xno) ;;
16904 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16905 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16906 esac
16909 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16912 EXTRACFLAGS=""
16914 if test "x${GCC}" = "xyes"
16915 then
16916 EXTRACFLAGS="-Wall -pipe"
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16919 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16920 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16921 $as_echo_n "(cached) " >&6
16922 else
16923 ac_wine_try_cflags_saved=$CFLAGS
16924 CFLAGS="$CFLAGS -fcf-protection=none"
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16927 int main(int argc, char **argv) { return 0; }
16928 _ACEOF
16929 if ac_fn_c_try_link "$LINENO"; then :
16930 ac_cv_cflags__fcf_protection_none=yes
16931 else
16932 ac_cv_cflags__fcf_protection_none=no
16934 rm -f core conftest.err conftest.$ac_objext \
16935 conftest$ac_exeext conftest.$ac_ext
16936 CFLAGS=$ac_wine_try_cflags_saved
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16939 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16940 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16941 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16944 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16945 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16946 $as_echo_n "(cached) " >&6
16947 else
16948 ac_wine_try_cflags_saved=$CFLAGS
16949 CFLAGS="$CFLAGS -fno-stack-protector"
16950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16951 /* end confdefs.h. */
16952 int main(int argc, char **argv) { return 0; }
16953 _ACEOF
16954 if ac_fn_c_try_link "$LINENO"; then :
16955 ac_cv_cflags__fno_stack_protector=yes
16956 else
16957 ac_cv_cflags__fno_stack_protector=no
16959 rm -f core conftest.err conftest.$ac_objext \
16960 conftest$ac_exeext conftest.$ac_ext
16961 CFLAGS=$ac_wine_try_cflags_saved
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16964 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16965 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16966 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16969 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16970 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16971 $as_echo_n "(cached) " >&6
16972 else
16973 ac_wine_try_cflags_saved=$CFLAGS
16974 CFLAGS="$CFLAGS -fno-strict-aliasing"
16975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16976 /* end confdefs.h. */
16977 int main(int argc, char **argv) { return 0; }
16978 _ACEOF
16979 if ac_fn_c_try_link "$LINENO"; then :
16980 ac_cv_cflags__fno_strict_aliasing=yes
16981 else
16982 ac_cv_cflags__fno_strict_aliasing=no
16984 rm -f core conftest.err conftest.$ac_objext \
16985 conftest$ac_exeext conftest.$ac_ext
16986 CFLAGS=$ac_wine_try_cflags_saved
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16989 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16990 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16991 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16994 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16995 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16996 $as_echo_n "(cached) " >&6
16997 else
16998 ac_wine_try_cflags_saved=$CFLAGS
16999 CFLAGS="$CFLAGS -fexcess-precision=standard"
17000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17001 /* end confdefs.h. */
17002 int main(int argc, char **argv) { return 0; }
17003 _ACEOF
17004 if ac_fn_c_try_link "$LINENO"; then :
17005 ac_cv_cflags__fexcess_precision_standard=yes
17006 else
17007 ac_cv_cflags__fexcess_precision_standard=no
17009 rm -f core conftest.err conftest.$ac_objext \
17010 conftest$ac_exeext conftest.$ac_ext
17011 CFLAGS=$ac_wine_try_cflags_saved
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17014 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17015 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17016 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17019 saved_CFLAGS=$CFLAGS
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17021 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17022 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17023 $as_echo_n "(cached) " >&6
17024 else
17025 ac_wine_try_cflags_saved=$CFLAGS
17026 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17028 /* end confdefs.h. */
17029 int main(int argc, char **argv) { return 0; }
17030 _ACEOF
17031 if ac_fn_c_try_link "$LINENO"; then :
17032 ac_cv_cflags__Werror_unknown_warning_option=yes
17033 else
17034 ac_cv_cflags__Werror_unknown_warning_option=no
17036 rm -f core conftest.err conftest.$ac_objext \
17037 conftest$ac_exeext conftest.$ac_ext
17038 CFLAGS=$ac_wine_try_cflags_saved
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17041 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17042 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17043 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17046 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17047 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17048 $as_echo_n "(cached) " >&6
17049 else
17050 ac_wine_try_cflags_saved=$CFLAGS
17051 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17054 int main(int argc, char **argv) { return 0; }
17055 _ACEOF
17056 if ac_fn_c_try_link "$LINENO"; then :
17057 ac_cv_cflags__Werror_unused_command_line_argument=yes
17058 else
17059 ac_cv_cflags__Werror_unused_command_line_argument=no
17061 rm -f core conftest.err conftest.$ac_objext \
17062 conftest$ac_exeext conftest.$ac_ext
17063 CFLAGS=$ac_wine_try_cflags_saved
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17066 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17067 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17068 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17071 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17072 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17073 $as_echo_n "(cached) " >&6
17074 else
17075 ac_wine_try_cflags_saved=$CFLAGS
17076 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 int main(int argc, char **argv) { return 0; }
17080 _ACEOF
17081 if ac_fn_c_try_link "$LINENO"; then :
17082 ac_cv_cflags__Wdeclaration_after_statement=yes
17083 else
17084 ac_cv_cflags__Wdeclaration_after_statement=no
17086 rm -f core conftest.err conftest.$ac_objext \
17087 conftest$ac_exeext conftest.$ac_ext
17088 CFLAGS=$ac_wine_try_cflags_saved
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17091 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17092 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17093 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17096 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17097 if ${ac_cv_cflags__Wempty_body+:} false; then :
17098 $as_echo_n "(cached) " >&6
17099 else
17100 ac_wine_try_cflags_saved=$CFLAGS
17101 CFLAGS="$CFLAGS -Wempty-body"
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 int main(int argc, char **argv) { return 0; }
17105 _ACEOF
17106 if ac_fn_c_try_link "$LINENO"; then :
17107 ac_cv_cflags__Wempty_body=yes
17108 else
17109 ac_cv_cflags__Wempty_body=no
17111 rm -f core conftest.err conftest.$ac_objext \
17112 conftest$ac_exeext conftest.$ac_ext
17113 CFLAGS=$ac_wine_try_cflags_saved
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17116 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17117 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17118 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17121 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17122 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17123 $as_echo_n "(cached) " >&6
17124 else
17125 ac_wine_try_cflags_saved=$CFLAGS
17126 CFLAGS="$CFLAGS -Wignored-qualifiers"
17127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17128 /* end confdefs.h. */
17129 int main(int argc, char **argv) { return 0; }
17130 _ACEOF
17131 if ac_fn_c_try_link "$LINENO"; then :
17132 ac_cv_cflags__Wignored_qualifiers=yes
17133 else
17134 ac_cv_cflags__Wignored_qualifiers=no
17136 rm -f core conftest.err conftest.$ac_objext \
17137 conftest$ac_exeext conftest.$ac_ext
17138 CFLAGS=$ac_wine_try_cflags_saved
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17141 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17142 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17143 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17146 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17147 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17148 $as_echo_n "(cached) " >&6
17149 else
17150 ac_wine_try_cflags_saved=$CFLAGS
17151 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 int main(int argc, char **argv) { return 0; }
17155 _ACEOF
17156 if ac_fn_c_try_link "$LINENO"; then :
17157 ac_cv_cflags__Wpacked_not_aligned=yes
17158 else
17159 ac_cv_cflags__Wpacked_not_aligned=no
17161 rm -f core conftest.err conftest.$ac_objext \
17162 conftest$ac_exeext conftest.$ac_ext
17163 CFLAGS=$ac_wine_try_cflags_saved
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17166 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17167 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17168 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17171 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17172 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17173 $as_echo_n "(cached) " >&6
17174 else
17175 ac_wine_try_cflags_saved=$CFLAGS
17176 CFLAGS="$CFLAGS -Wpragma-pack"
17177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17178 /* end confdefs.h. */
17179 int main(int argc, char **argv) { return 0; }
17180 _ACEOF
17181 if ac_fn_c_try_link "$LINENO"; then :
17182 ac_cv_cflags__Wpragma_pack=yes
17183 else
17184 ac_cv_cflags__Wpragma_pack=no
17186 rm -f core conftest.err conftest.$ac_objext \
17187 conftest$ac_exeext conftest.$ac_ext
17188 CFLAGS=$ac_wine_try_cflags_saved
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17191 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17192 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17193 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17196 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17197 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17198 $as_echo_n "(cached) " >&6
17199 else
17200 ac_wine_try_cflags_saved=$CFLAGS
17201 CFLAGS="$CFLAGS -Wshift-overflow=2"
17202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h. */
17204 int main(int argc, char **argv) { return 0; }
17205 _ACEOF
17206 if ac_fn_c_try_link "$LINENO"; then :
17207 ac_cv_cflags__Wshift_overflow_2=yes
17208 else
17209 ac_cv_cflags__Wshift_overflow_2=no
17211 rm -f core conftest.err conftest.$ac_objext \
17212 conftest$ac_exeext conftest.$ac_ext
17213 CFLAGS=$ac_wine_try_cflags_saved
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17216 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17217 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17218 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17221 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17222 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17223 $as_echo_n "(cached) " >&6
17224 else
17225 ac_wine_try_cflags_saved=$CFLAGS
17226 CFLAGS="$CFLAGS -Wstrict-prototypes"
17227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17229 int main(int argc, char **argv) { return 0; }
17230 _ACEOF
17231 if ac_fn_c_try_link "$LINENO"; then :
17232 ac_cv_cflags__Wstrict_prototypes=yes
17233 else
17234 ac_cv_cflags__Wstrict_prototypes=no
17236 rm -f core conftest.err conftest.$ac_objext \
17237 conftest$ac_exeext conftest.$ac_ext
17238 CFLAGS=$ac_wine_try_cflags_saved
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17241 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17242 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17243 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17246 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17247 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17248 $as_echo_n "(cached) " >&6
17249 else
17250 ac_wine_try_cflags_saved=$CFLAGS
17251 CFLAGS="$CFLAGS -Wtype-limits"
17252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17254 int main(int argc, char **argv) { return 0; }
17255 _ACEOF
17256 if ac_fn_c_try_link "$LINENO"; then :
17257 ac_cv_cflags__Wtype_limits=yes
17258 else
17259 ac_cv_cflags__Wtype_limits=no
17261 rm -f core conftest.err conftest.$ac_objext \
17262 conftest$ac_exeext conftest.$ac_ext
17263 CFLAGS=$ac_wine_try_cflags_saved
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17266 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17267 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17268 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17271 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17272 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17273 $as_echo_n "(cached) " >&6
17274 else
17275 ac_wine_try_cflags_saved=$CFLAGS
17276 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17279 int main(int argc, char **argv) { return 0; }
17280 _ACEOF
17281 if ac_fn_c_try_link "$LINENO"; then :
17282 ac_cv_cflags__Wunused_but_set_parameter=yes
17283 else
17284 ac_cv_cflags__Wunused_but_set_parameter=no
17286 rm -f core conftest.err conftest.$ac_objext \
17287 conftest$ac_exeext conftest.$ac_ext
17288 CFLAGS=$ac_wine_try_cflags_saved
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17291 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17292 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17293 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17296 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17297 if ${ac_cv_cflags__Wvla+:} false; then :
17298 $as_echo_n "(cached) " >&6
17299 else
17300 ac_wine_try_cflags_saved=$CFLAGS
17301 CFLAGS="$CFLAGS -Wvla"
17302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17304 int main(int argc, char **argv) { return 0; }
17305 _ACEOF
17306 if ac_fn_c_try_link "$LINENO"; then :
17307 ac_cv_cflags__Wvla=yes
17308 else
17309 ac_cv_cflags__Wvla=no
17311 rm -f core conftest.err conftest.$ac_objext \
17312 conftest$ac_exeext conftest.$ac_ext
17313 CFLAGS=$ac_wine_try_cflags_saved
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17316 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17317 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17318 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17321 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17322 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17323 $as_echo_n "(cached) " >&6
17324 else
17325 ac_wine_try_cflags_saved=$CFLAGS
17326 CFLAGS="$CFLAGS -Wwrite-strings"
17327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17329 int main(int argc, char **argv) { return 0; }
17330 _ACEOF
17331 if ac_fn_c_try_link "$LINENO"; then :
17332 ac_cv_cflags__Wwrite_strings=yes
17333 else
17334 ac_cv_cflags__Wwrite_strings=no
17336 rm -f core conftest.err conftest.$ac_objext \
17337 conftest$ac_exeext conftest.$ac_ext
17338 CFLAGS=$ac_wine_try_cflags_saved
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17341 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17342 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17343 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17347 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17348 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17349 $as_echo_n "(cached) " >&6
17350 else
17351 ac_wine_try_cflags_saved=$CFLAGS
17352 CFLAGS="$CFLAGS -Wpointer-arith"
17353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17354 /* end confdefs.h. */
17355 int main(int argc, char **argv) { return 0; }
17356 _ACEOF
17357 if ac_fn_c_try_link "$LINENO"; then :
17358 ac_cv_cflags__Wpointer_arith=yes
17359 else
17360 ac_cv_cflags__Wpointer_arith=no
17362 rm -f core conftest.err conftest.$ac_objext \
17363 conftest$ac_exeext conftest.$ac_ext
17364 CFLAGS=$ac_wine_try_cflags_saved
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17367 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17368 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17369 saved_string_h_CFLAGS=$CFLAGS
17370 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17372 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17373 if ${ac_cv_c_string_h_warnings+:} false; then :
17374 $as_echo_n "(cached) " >&6
17375 else
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17378 #include <string.h>
17380 main ()
17384 return 0;
17386 _ACEOF
17387 if ac_fn_c_try_compile "$LINENO"; then :
17388 ac_cv_c_string_h_warnings=no
17389 else
17390 ac_cv_c_string_h_warnings=yes
17392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17395 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17396 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17397 CFLAGS=$saved_string_h_CFLAGS
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17401 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17402 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17403 $as_echo_n "(cached) " >&6
17404 else
17405 ac_wine_try_cflags_saved=$CFLAGS
17406 CFLAGS="$CFLAGS -Wlogical-op"
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 int main(int argc, char **argv) { return 0; }
17410 _ACEOF
17411 if ac_fn_c_try_link "$LINENO"; then :
17412 ac_cv_cflags__Wlogical_op=yes
17413 else
17414 ac_cv_cflags__Wlogical_op=no
17416 rm -f core conftest.err conftest.$ac_objext \
17417 conftest$ac_exeext conftest.$ac_ext
17418 CFLAGS=$ac_wine_try_cflags_saved
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17421 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17422 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17423 saved_string_h_CFLAGS=$CFLAGS
17424 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17426 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17427 if ${ac_cv_c_logicalop_noisy+:} false; then :
17428 $as_echo_n "(cached) " >&6
17429 else
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 #include <string.h>
17433 char*f(const char *h,char n) {return strchr(h,n);}
17435 main ()
17439 return 0;
17441 _ACEOF
17442 if ac_fn_c_try_compile "$LINENO"; then :
17443 ac_cv_c_logicalop_noisy=no
17444 else
17445 ac_cv_c_logicalop_noisy=yes
17447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17450 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17451 CFLAGS=$saved_string_h_CFLAGS
17452 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17455 for ac_flag in $CFLAGS; do
17456 case $ac_flag in
17457 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17458 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17459 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17460 $as_echo_n "(cached) " >&6
17461 else
17462 ac_wine_try_cflags_saved=$CFLAGS
17463 CFLAGS="$CFLAGS -gdwarf-2"
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__gdwarf_2=yes
17470 else
17471 ac_cv_cflags__gdwarf_2=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__gdwarf_2" >&5
17478 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17479 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17480 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17483 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17484 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17485 $as_echo_n "(cached) " >&6
17486 else
17487 ac_wine_try_cflags_saved=$CFLAGS
17488 CFLAGS="$CFLAGS -gstrict-dwarf"
17489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17490 /* end confdefs.h. */
17491 int main(int argc, char **argv) { return 0; }
17492 _ACEOF
17493 if ac_fn_c_try_link "$LINENO"; then :
17494 ac_cv_cflags__gstrict_dwarf=yes
17495 else
17496 ac_cv_cflags__gstrict_dwarf=no
17498 rm -f core conftest.err conftest.$ac_objext \
17499 conftest$ac_exeext conftest.$ac_ext
17500 CFLAGS=$ac_wine_try_cflags_saved
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17503 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17504 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17505 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17506 fi ;;
17507 esac
17508 done
17510 MSVCRTFLAGS=""
17512 case $host_os in
17513 mingw32*) ;;
17514 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17515 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17516 if ${ac_cv_cflags__fno_builtin+:} false; then :
17517 $as_echo_n "(cached) " >&6
17518 else
17519 ac_wine_try_cflags_saved=$CFLAGS
17520 CFLAGS="$CFLAGS -fno-builtin"
17521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17522 /* end confdefs.h. */
17523 int main(int argc, char **argv) { return 0; }
17524 _ACEOF
17525 if ac_fn_c_try_link "$LINENO"; then :
17526 ac_cv_cflags__fno_builtin=yes
17527 else
17528 ac_cv_cflags__fno_builtin=no
17530 rm -f core conftest.err conftest.$ac_objext \
17531 conftest$ac_exeext conftest.$ac_ext
17532 CFLAGS=$ac_wine_try_cflags_saved
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17535 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17536 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17537 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17540 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17541 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17542 $as_echo_n "(cached) " >&6
17543 else
17544 ac_wine_try_cflags_saved=$CFLAGS
17545 CFLAGS="$CFLAGS -fshort-wchar"
17546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17547 /* end confdefs.h. */
17548 int main(int argc, char **argv) { return 0; }
17549 _ACEOF
17550 if ac_fn_c_try_link "$LINENO"; then :
17551 ac_cv_cflags__fshort_wchar=yes
17552 else
17553 ac_cv_cflags__fshort_wchar=no
17555 rm -f core conftest.err conftest.$ac_objext \
17556 conftest$ac_exeext conftest.$ac_ext
17557 CFLAGS=$ac_wine_try_cflags_saved
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17560 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17561 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17562 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17563 fi ;;
17564 esac
17566 case $host_cpu in
17567 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17568 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17569 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17570 $as_echo_n "(cached) " >&6
17571 else
17572 ac_wine_try_cflags_saved=$CFLAGS
17573 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17575 /* end confdefs.h. */
17576 int main(int argc, char **argv) { return 0; }
17577 _ACEOF
17578 if ac_fn_c_try_link "$LINENO"; then :
17579 ac_cv_cflags__fno_omit_frame_pointer=yes
17580 else
17581 ac_cv_cflags__fno_omit_frame_pointer=no
17583 rm -f core conftest.err conftest.$ac_objext \
17584 conftest$ac_exeext conftest.$ac_ext
17585 CFLAGS=$ac_wine_try_cflags_saved
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17588 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17589 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17590 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17591 fi ;;
17592 *x86_64*)
17593 case $host_os in
17594 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17595 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17596 if ${ac_cv_cflags__Wno_format+:} false; then :
17597 $as_echo_n "(cached) " >&6
17598 else
17599 ac_wine_try_cflags_saved=$CFLAGS
17600 CFLAGS="$CFLAGS -Wno-format"
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__Wno_format=yes
17607 else
17608 ac_cv_cflags__Wno_format=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__Wno_format" >&5
17615 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17616 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17617 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17618 fi ;;
17619 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17620 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17621 if ${ac_cv_cflags__mabi_ms+:} false; then :
17622 $as_echo_n "(cached) " >&6
17623 else
17624 ac_wine_try_cflags_saved=$CFLAGS
17625 CFLAGS="$CFLAGS -mabi=ms"
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__mabi_ms=yes
17632 else
17633 ac_cv_cflags__mabi_ms=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__mabi_ms" >&5
17640 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17641 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17642 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17643 fi ;;
17644 esac ;;
17645 esac
17647 CFLAGS=$saved_CFLAGS
17649 if test "x$enable_maintainer_mode" = "xyes"
17650 then
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17652 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17653 if ${ac_cv_cflags__Werror+:} false; then :
17654 $as_echo_n "(cached) " >&6
17655 else
17656 ac_wine_try_cflags_saved=$CFLAGS
17657 CFLAGS="$CFLAGS -Werror"
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__Werror=yes
17664 else
17665 ac_cv_cflags__Werror=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__Werror" >&5
17672 $as_echo "$ac_cv_cflags__Werror" >&6; }
17673 if test "x$ac_cv_cflags__Werror" = xyes; then :
17674 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17681 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17682 if ${ac_cv_c_fortify_enabled+:} false; then :
17683 $as_echo_n "(cached) " >&6
17684 else
17685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h. */
17687 #include <string.h>
17689 main ()
17691 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17692 #error Fortify enabled
17693 #endif
17695 return 0;
17697 _ACEOF
17698 if ac_fn_c_try_compile "$LINENO"; then :
17699 ac_cv_c_fortify_enabled=no
17700 else
17701 ac_cv_c_fortify_enabled=yes
17703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17706 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17707 if test "$ac_cv_c_fortify_enabled" = yes
17708 then
17709 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17714 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17715 if ${ac_cv_c_cfi_support+:} false; then :
17716 $as_echo_n "(cached) " >&6
17717 else
17718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17719 /* end confdefs.h. */
17720 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17722 main ()
17726 return 0;
17728 _ACEOF
17729 if ac_fn_c_try_compile "$LINENO"; then :
17730 ac_cv_c_cfi_support="yes"
17731 else
17732 ac_cv_c_cfi_support="no"
17734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17737 $as_echo "$ac_cv_c_cfi_support" >&6; }
17738 if test "$ac_cv_c_cfi_support" = "yes"
17739 then
17740 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17741 else
17742 if test "x$enable_win64" = "xyes"
17743 then
17744 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17749 case $build_os in
17750 cygwin*|mingw32*) TOOLSEXT=".exe"
17752 esac
17754 case $host_os in
17755 linux*)
17756 case $host_cpu in
17757 *i[3456789]86*|x86_64*|*aarch64*)
17758 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17759 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17761 esac
17763 esac
17766 ac_save_CFLAGS="$CFLAGS"
17767 CFLAGS="$CFLAGS $BUILTINFLAG"
17768 for ac_func in \
17769 __res_get_state \
17770 __res_getservers \
17771 _spawnvp \
17772 dlopen \
17773 epoll_create \
17774 ffs \
17775 finitef \
17776 fnmatch \
17777 fork \
17778 fpclass \
17779 fstatfs \
17780 fstatvfs \
17781 futimens \
17782 futimes \
17783 futimesat \
17784 getattrlist \
17785 getauxval \
17786 getifaddrs \
17787 getopt_long_only \
17788 kqueue \
17789 lstat \
17790 mach_continuous_time \
17791 pipe2 \
17792 poll \
17793 port_create \
17794 prctl \
17795 pread \
17796 proc_pidinfo \
17797 pwrite \
17798 readdir \
17799 readlink \
17800 sched_yield \
17801 select \
17802 setproctitle \
17803 setprogname \
17804 settimeofday \
17805 sigprocmask \
17806 statfs \
17807 statvfs \
17808 strnlen \
17809 strtold \
17810 symlink \
17811 sysinfo \
17812 tcdrain \
17813 thr_kill2 \
17814 timegm \
17815 usleep
17817 do :
17818 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17820 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17821 cat >>confdefs.h <<_ACEOF
17822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17823 _ACEOF
17826 done
17828 CFLAGS="$ac_save_CFLAGS"
17830 if test "$ac_cv_func_dlopen" = no
17831 then
17832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17833 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17834 if ${ac_cv_lib_dl_dlopen+:} false; then :
17835 $as_echo_n "(cached) " >&6
17836 else
17837 ac_check_lib_save_LIBS=$LIBS
17838 LIBS="-ldl $LIBS"
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17842 /* Override any GCC internal prototype to avoid an error.
17843 Use char because int might match the return type of a GCC
17844 builtin and then its argument prototype would still apply. */
17845 #ifdef __cplusplus
17846 extern "C"
17847 #endif
17848 char dlopen ();
17850 main ()
17852 return dlopen ();
17854 return 0;
17856 _ACEOF
17857 if ac_fn_c_try_link "$LINENO"; then :
17858 ac_cv_lib_dl_dlopen=yes
17859 else
17860 ac_cv_lib_dl_dlopen=no
17862 rm -f core conftest.err conftest.$ac_objext \
17863 conftest$ac_exeext conftest.$ac_ext
17864 LIBS=$ac_check_lib_save_LIBS
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17867 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17868 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17869 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17870 DL_LIBS="-ldl"
17875 ac_wine_check_funcs_save_LIBS="$LIBS"
17876 LIBS="$LIBS $DL_LIBS"
17877 for ac_func in dladdr
17878 do :
17879 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17880 if test "x$ac_cv_func_dladdr" = xyes; then :
17881 cat >>confdefs.h <<_ACEOF
17882 #define HAVE_DLADDR 1
17883 _ACEOF
17886 done
17888 LIBS="$ac_wine_check_funcs_save_LIBS"
17890 if test "$ac_cv_func_poll" = no
17891 then
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17893 $as_echo_n "checking for poll in -lpoll... " >&6; }
17894 if ${ac_cv_lib_poll_poll+:} false; then :
17895 $as_echo_n "(cached) " >&6
17896 else
17897 ac_check_lib_save_LIBS=$LIBS
17898 LIBS="-lpoll $LIBS"
17899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17900 /* end confdefs.h. */
17902 /* Override any GCC internal prototype to avoid an error.
17903 Use char because int might match the return type of a GCC
17904 builtin and then its argument prototype would still apply. */
17905 #ifdef __cplusplus
17906 extern "C"
17907 #endif
17908 char poll ();
17910 main ()
17912 return poll ();
17914 return 0;
17916 _ACEOF
17917 if ac_fn_c_try_link "$LINENO"; then :
17918 ac_cv_lib_poll_poll=yes
17919 else
17920 ac_cv_lib_poll_poll=no
17922 rm -f core conftest.err conftest.$ac_objext \
17923 conftest$ac_exeext conftest.$ac_ext
17924 LIBS=$ac_check_lib_save_LIBS
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17927 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17928 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17929 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17930 POLL_LIBS="-lpoll"
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17937 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17938 if ${ac_cv_search_gethostbyname+:} false; then :
17939 $as_echo_n "(cached) " >&6
17940 else
17941 ac_func_search_save_LIBS=$LIBS
17942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17943 /* end confdefs.h. */
17945 /* Override any GCC internal prototype to avoid an error.
17946 Use char because int might match the return type of a GCC
17947 builtin and then its argument prototype would still apply. */
17948 #ifdef __cplusplus
17949 extern "C"
17950 #endif
17951 char gethostbyname ();
17953 main ()
17955 return gethostbyname ();
17957 return 0;
17959 _ACEOF
17960 for ac_lib in '' nsl; do
17961 if test -z "$ac_lib"; then
17962 ac_res="none required"
17963 else
17964 ac_res=-l$ac_lib
17965 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17967 if ac_fn_c_try_link "$LINENO"; then :
17968 ac_cv_search_gethostbyname=$ac_res
17970 rm -f core conftest.err conftest.$ac_objext \
17971 conftest$ac_exeext
17972 if ${ac_cv_search_gethostbyname+:} false; then :
17973 break
17975 done
17976 if ${ac_cv_search_gethostbyname+:} false; then :
17978 else
17979 ac_cv_search_gethostbyname=no
17981 rm conftest.$ac_ext
17982 LIBS=$ac_func_search_save_LIBS
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17985 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17986 ac_res=$ac_cv_search_gethostbyname
17987 if test "$ac_res" != no; then :
17988 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17994 $as_echo_n "checking for library containing connect... " >&6; }
17995 if ${ac_cv_search_connect+:} false; then :
17996 $as_echo_n "(cached) " >&6
17997 else
17998 ac_func_search_save_LIBS=$LIBS
17999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18000 /* end confdefs.h. */
18002 /* Override any GCC internal prototype to avoid an error.
18003 Use char because int might match the return type of a GCC
18004 builtin and then its argument prototype would still apply. */
18005 #ifdef __cplusplus
18006 extern "C"
18007 #endif
18008 char connect ();
18010 main ()
18012 return connect ();
18014 return 0;
18016 _ACEOF
18017 for ac_lib in '' socket; do
18018 if test -z "$ac_lib"; then
18019 ac_res="none required"
18020 else
18021 ac_res=-l$ac_lib
18022 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18024 if ac_fn_c_try_link "$LINENO"; then :
18025 ac_cv_search_connect=$ac_res
18027 rm -f core conftest.err conftest.$ac_objext \
18028 conftest$ac_exeext
18029 if ${ac_cv_search_connect+:} false; then :
18030 break
18032 done
18033 if ${ac_cv_search_connect+:} false; then :
18035 else
18036 ac_cv_search_connect=no
18038 rm conftest.$ac_ext
18039 LIBS=$ac_func_search_save_LIBS
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18042 $as_echo "$ac_cv_search_connect" >&6; }
18043 ac_res=$ac_cv_search_connect
18044 if test "$ac_res" != no; then :
18045 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18051 $as_echo_n "checking for library containing inet_aton... " >&6; }
18052 if ${ac_cv_search_inet_aton+:} false; then :
18053 $as_echo_n "(cached) " >&6
18054 else
18055 ac_func_search_save_LIBS=$LIBS
18056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18057 /* end confdefs.h. */
18059 /* Override any GCC internal prototype to avoid an error.
18060 Use char because int might match the return type of a GCC
18061 builtin and then its argument prototype would still apply. */
18062 #ifdef __cplusplus
18063 extern "C"
18064 #endif
18065 char inet_aton ();
18067 main ()
18069 return inet_aton ();
18071 return 0;
18073 _ACEOF
18074 for ac_lib in '' resolv; do
18075 if test -z "$ac_lib"; then
18076 ac_res="none required"
18077 else
18078 ac_res=-l$ac_lib
18079 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18081 if ac_fn_c_try_link "$LINENO"; then :
18082 ac_cv_search_inet_aton=$ac_res
18084 rm -f core conftest.err conftest.$ac_objext \
18085 conftest$ac_exeext
18086 if ${ac_cv_search_inet_aton+:} false; then :
18087 break
18089 done
18090 if ${ac_cv_search_inet_aton+:} false; then :
18092 else
18093 ac_cv_search_inet_aton=no
18095 rm conftest.$ac_ext
18096 LIBS=$ac_func_search_save_LIBS
18098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18099 $as_echo "$ac_cv_search_inet_aton" >&6; }
18100 ac_res=$ac_cv_search_inet_aton
18101 if test "$ac_res" != no; then :
18102 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18107 for ac_func in \
18108 getaddrinfo \
18109 getnameinfo \
18110 getnetbyname \
18111 getprotobyname \
18112 getprotobynumber \
18113 getservbyport \
18114 inet_addr \
18115 inet_network \
18116 inet_ntop \
18117 inet_pton \
18119 do :
18120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18122 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18123 cat >>confdefs.h <<_ACEOF
18124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18125 _ACEOF
18128 done
18131 case $host_os in
18132 darwin*|macosx*) ;;
18133 *) ac_save_LIBS=$LIBS
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18135 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18136 if ${ac_cv_search_clock_gettime+:} false; then :
18137 $as_echo_n "(cached) " >&6
18138 else
18139 ac_func_search_save_LIBS=$LIBS
18140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18141 /* end confdefs.h. */
18143 /* Override any GCC internal prototype to avoid an error.
18144 Use char because int might match the return type of a GCC
18145 builtin and then its argument prototype would still apply. */
18146 #ifdef __cplusplus
18147 extern "C"
18148 #endif
18149 char clock_gettime ();
18151 main ()
18153 return clock_gettime ();
18155 return 0;
18157 _ACEOF
18158 for ac_lib in '' rt; do
18159 if test -z "$ac_lib"; then
18160 ac_res="none required"
18161 else
18162 ac_res=-l$ac_lib
18163 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18165 if ac_fn_c_try_link "$LINENO"; then :
18166 ac_cv_search_clock_gettime=$ac_res
18168 rm -f core conftest.err conftest.$ac_objext \
18169 conftest$ac_exeext
18170 if ${ac_cv_search_clock_gettime+:} false; then :
18171 break
18173 done
18174 if ${ac_cv_search_clock_gettime+:} false; then :
18176 else
18177 ac_cv_search_clock_gettime=no
18179 rm conftest.$ac_ext
18180 LIBS=$ac_func_search_save_LIBS
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18183 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18184 ac_res=$ac_cv_search_clock_gettime
18185 if test "$ac_res" != no; then :
18186 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18188 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18190 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18194 LIBS=$ac_save_LIBS
18196 esac
18198 if test "x$with_ldap" != "xno"
18199 then
18200 if ${LDAP_CFLAGS:+false} :; then :
18201 if ${PKG_CONFIG+:} false; then :
18202 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18206 if ${LDAP_LIBS:+false} :; then :
18207 if ${PKG_CONFIG+:} false; then :
18208 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18212 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18213 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18214 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18215 ac_save_CPPFLAGS=$CPPFLAGS
18216 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18217 for ac_header in ldap.h lber.h
18218 do :
18219 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18220 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18221 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18222 cat >>confdefs.h <<_ACEOF
18223 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18224 _ACEOF
18228 done
18230 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18231 then
18232 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18234 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18236 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18237 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18238 $as_echo_n "(cached) " >&6
18239 else
18240 ac_check_lib_save_LIBS=$LIBS
18241 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18245 /* Override any GCC internal prototype to avoid an error.
18246 Use char because int might match the return type of a GCC
18247 builtin and then its argument prototype would still apply. */
18248 #ifdef __cplusplus
18249 extern "C"
18250 #endif
18251 char ldap_initialize ();
18253 main ()
18255 return ldap_initialize ();
18257 return 0;
18259 _ACEOF
18260 if ac_fn_c_try_link "$LINENO"; then :
18261 ac_cv_lib_ldap_r_ldap_initialize=yes
18262 else
18263 ac_cv_lib_ldap_r_ldap_initialize=no
18265 rm -f core conftest.err conftest.$ac_objext \
18266 conftest$ac_exeext conftest.$ac_ext
18267 LIBS=$ac_check_lib_save_LIBS
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18270 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18271 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18273 $as_echo_n "checking for ber_init in -llber... " >&6; }
18274 if ${ac_cv_lib_lber_ber_init+:} false; then :
18275 $as_echo_n "(cached) " >&6
18276 else
18277 ac_check_lib_save_LIBS=$LIBS
18278 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18280 /* end confdefs.h. */
18282 /* Override any GCC internal prototype to avoid an error.
18283 Use char because int might match the return type of a GCC
18284 builtin and then its argument prototype would still apply. */
18285 #ifdef __cplusplus
18286 extern "C"
18287 #endif
18288 char ber_init ();
18290 main ()
18292 return ber_init ();
18294 return 0;
18296 _ACEOF
18297 if ac_fn_c_try_link "$LINENO"; then :
18298 ac_cv_lib_lber_ber_init=yes
18299 else
18300 ac_cv_lib_lber_ber_init=no
18302 rm -f core conftest.err conftest.$ac_objext \
18303 conftest$ac_exeext conftest.$ac_ext
18304 LIBS=$ac_check_lib_save_LIBS
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18307 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18308 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18310 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18312 else
18313 LDAP_LIBS=""
18316 else
18317 LDAP_LIBS=""
18320 else
18321 LDAP_LIBS=""
18324 ac_wine_check_funcs_save_LIBS="$LIBS"
18325 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18326 for ac_func in \
18327 ldap_count_references \
18328 ldap_first_reference \
18329 ldap_next_reference \
18330 ldap_parse_reference \
18331 ldap_parse_sort_control \
18332 ldap_parse_sortresponse_control \
18333 ldap_parse_vlv_control \
18334 ldap_parse_vlvresponse_control
18335 do :
18336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18338 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18339 cat >>confdefs.h <<_ACEOF
18340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18341 _ACEOF
18344 done
18346 LIBS="$ac_wine_check_funcs_save_LIBS"
18347 else
18348 LDAP_LIBS=""
18350 CPPFLAGS=$ac_save_CPPFLAGS
18351 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18352 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18355 if test "x$LDAP_LIBS" = "x"; then :
18356 case "x$with_ldap" in
18357 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18358 xno) ;;
18359 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18360 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18361 esac
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18366 $as_echo_n "checking for sched_setaffinity... " >&6; }
18367 if ${wine_cv_have_sched_setaffinity+:} false; then :
18368 $as_echo_n "(cached) " >&6
18369 else
18370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18371 /* end confdefs.h. */
18372 #define _GNU_SOURCE
18373 #include <sched.h>
18375 main ()
18377 sched_setaffinity(0, 0, 0);
18379 return 0;
18381 _ACEOF
18382 if ac_fn_c_try_link "$LINENO"; then :
18383 wine_cv_have_sched_setaffinity=yes
18384 else
18385 wine_cv_have_sched_setaffinity=no
18387 rm -f core conftest.err conftest.$ac_objext \
18388 conftest$ac_exeext conftest.$ac_ext
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18391 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18392 if test "$wine_cv_have_sched_setaffinity" = "yes"
18393 then
18395 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18400 $as_echo_n "checking for fallocate... " >&6; }
18401 if ${wine_cv_have_fallocate+:} false; then :
18402 $as_echo_n "(cached) " >&6
18403 else
18404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18405 /* end confdefs.h. */
18406 #define _GNU_SOURCE
18407 #include <fcntl.h>
18409 main ()
18411 fallocate(-1, 0, 0, 0);
18413 return 0;
18415 _ACEOF
18416 if ac_fn_c_try_link "$LINENO"; then :
18417 wine_cv_have_fallocate=yes
18418 else
18419 wine_cv_have_fallocate=no
18421 rm -f core conftest.err conftest.$ac_objext \
18422 conftest$ac_exeext conftest.$ac_ext
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18425 $as_echo "$wine_cv_have_fallocate" >&6; }
18426 if test "$wine_cv_have_fallocate" = "yes"
18427 then
18429 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18435 $as_echo_n "checking for inline... " >&6; }
18436 if ${ac_cv_c_inline+:} false; then :
18437 $as_echo_n "(cached) " >&6
18438 else
18439 ac_cv_c_inline=no
18440 for ac_kw in inline __inline__ __inline; do
18441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18443 #ifndef __cplusplus
18444 typedef int foo_t;
18445 static $ac_kw foo_t static_foo () {return 0; }
18446 $ac_kw foo_t foo () {return 0; }
18447 #endif
18449 _ACEOF
18450 if ac_fn_c_try_compile "$LINENO"; then :
18451 ac_cv_c_inline=$ac_kw
18453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18454 test "$ac_cv_c_inline" != no && break
18455 done
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18459 $as_echo "$ac_cv_c_inline" >&6; }
18461 case $ac_cv_c_inline in
18462 inline | yes) ;;
18464 case $ac_cv_c_inline in
18465 no) ac_val=;;
18466 *) ac_val=$ac_cv_c_inline;;
18467 esac
18468 cat >>confdefs.h <<_ACEOF
18469 #ifndef __cplusplus
18470 #define inline $ac_val
18471 #endif
18472 _ACEOF
18474 esac
18476 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18477 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18479 cat >>confdefs.h <<_ACEOF
18480 #define HAVE_FSBLKCNT_T 1
18481 _ACEOF
18485 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18486 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18488 cat >>confdefs.h <<_ACEOF
18489 #define HAVE_FSFILCNT_T 1
18490 _ACEOF
18495 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18496 #include <signal.h>
18498 if test "x$ac_cv_type_sigset_t" = xyes; then :
18500 cat >>confdefs.h <<_ACEOF
18501 #define HAVE_SIGSET_T 1
18502 _ACEOF
18507 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18509 if test "x$ac_cv_type_request_sense" = xyes; then :
18511 cat >>confdefs.h <<_ACEOF
18512 #define HAVE_REQUEST_SENSE 1
18513 _ACEOF
18519 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18520 #ifdef HAVE_SYS_SOCKET_H
18521 #include <sys/socket.h>
18522 #endif
18523 #ifdef HAVE_SYS_SOCKETVAR_H
18524 #include <sys/socketvar.h>
18525 #endif
18526 #ifdef HAVE_NET_ROUTE_H
18527 #include <net/route.h>
18528 #endif
18529 #ifdef HAVE_NETINET_IN_H
18530 #include <netinet/in.h>
18531 #endif
18532 #ifdef HAVE_NETINET_IN_SYSTM_H
18533 #include <netinet/in_systm.h>
18534 #endif
18535 #ifdef HAVE_NETINET_IP_H
18536 #include <netinet/ip.h>
18537 #endif
18538 #ifdef HAVE_NETINET_IN_PCB_H
18539 #include <netinet/in_pcb.h>
18540 #endif
18542 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18544 cat >>confdefs.h <<_ACEOF
18545 #define HAVE_STRUCT_XINPGEN 1
18546 _ACEOF
18552 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18553 #include <link.h>
18554 #endif
18555 #ifdef HAVE_SYS_LINK_H
18556 #include <sys/link.h>
18557 #endif
18559 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18561 cat >>confdefs.h <<_ACEOF
18562 #define HAVE_STRUCT_R_DEBUG 1
18563 _ACEOF
18567 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18568 #include <link.h>
18569 #endif
18570 #ifdef HAVE_SYS_LINK_H
18571 #include <sys/link.h>
18572 #endif
18574 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18576 cat >>confdefs.h <<_ACEOF
18577 #define HAVE_STRUCT_LINK_MAP 1
18578 _ACEOF
18584 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18585 #include <linux/input.h>
18586 #endif
18588 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18590 cat >>confdefs.h <<_ACEOF
18591 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18592 _ACEOF
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18599 $as_echo_n "checking for if_nameindex... " >&6; }
18600 if ${wine_cv_have_if_nameindex+:} false; then :
18601 $as_echo_n "(cached) " >&6
18602 else
18603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18604 /* end confdefs.h. */
18605 #ifdef HAVE_SYS_TYPES_H
18606 #include <sys/types.h>
18607 #endif
18608 #ifdef HAVE_SYS_SOCKET_H
18609 #include <sys/socket.h>
18610 #endif
18611 #ifdef HAVE_NET_IF_H
18612 # include <net/if.h>
18613 #endif
18615 main ()
18617 struct if_nameindex *p = if_nameindex(); return p->if_index;
18619 return 0;
18621 _ACEOF
18622 if ac_fn_c_try_link "$LINENO"; then :
18623 wine_cv_have_if_nameindex=yes
18624 else
18625 wine_cv_have_if_nameindex=no
18627 rm -f core conftest.err conftest.$ac_objext \
18628 conftest$ac_exeext conftest.$ac_ext
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18631 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18632 if test "$wine_cv_have_if_nameindex" = "yes"
18633 then
18635 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18640 $as_echo_n "checking for sigaddset... " >&6; }
18641 if ${wine_cv_have_sigaddset+:} false; then :
18642 $as_echo_n "(cached) " >&6
18643 else
18644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18646 #include <signal.h>
18648 main ()
18650 sigset_t set; sigaddset(&set,SIGTERM);
18652 return 0;
18654 _ACEOF
18655 if ac_fn_c_try_link "$LINENO"; then :
18656 wine_cv_have_sigaddset=yes
18657 else
18658 wine_cv_have_sigaddset=no
18660 rm -f core conftest.err conftest.$ac_objext \
18661 conftest$ac_exeext conftest.$ac_ext
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18664 $as_echo "$wine_cv_have_sigaddset" >&6; }
18665 if test "$wine_cv_have_sigaddset" = "yes"
18666 then
18668 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18674 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18675 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18676 $as_echo_n "(cached) " >&6
18677 else
18678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18679 /* end confdefs.h. */
18680 #include <netdb.h>
18682 main ()
18685 char *name=0;
18686 struct hostent he;
18687 struct hostent *result;
18688 char *buf=0;
18689 int bufsize=0;
18690 int errnr;
18691 char *addr=0;
18692 int addrlen=0;
18693 int addrtype=0;
18694 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18695 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18698 return 0;
18700 _ACEOF
18701 if ac_fn_c_try_link "$LINENO"; then :
18702 wine_cv_linux_gethostbyname_r_6=yes
18703 else
18704 wine_cv_linux_gethostbyname_r_6=no
18707 rm -f core conftest.err conftest.$ac_objext \
18708 conftest$ac_exeext conftest.$ac_ext
18711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18712 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18713 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18714 then
18716 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18720 if test "$ac_cv_header_linux_joystick_h" = "yes"
18721 then
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18723 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18724 if ${wine_cv_linux_joystick_22_api+:} false; then :
18725 $as_echo_n "(cached) " >&6
18726 else
18727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18728 /* end confdefs.h. */
18730 #include <sys/ioctl.h>
18731 #include <sys/types.h>
18732 #include <linux/joystick.h>
18734 struct js_event blub;
18735 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18736 #error "no 2.2 header"
18737 #endif
18740 main ()
18742 /*empty*/
18744 return 0;
18746 _ACEOF
18747 if ac_fn_c_try_compile "$LINENO"; then :
18748 wine_cv_linux_joystick_22_api=yes
18749 else
18750 wine_cv_linux_joystick_22_api=no
18752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18756 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18757 if test "$wine_cv_linux_joystick_22_api" = "yes"
18758 then
18760 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18766 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18767 #ifdef HAVE_SYS_PARAM_H
18768 # include <sys/param.h>
18769 #endif
18770 #ifdef HAVE_SYS_MOUNT_H
18771 # include <sys/mount.h>
18772 #endif
18773 #ifdef HAVE_SYS_VFS_H
18774 # include <sys/vfs.h>
18775 #endif
18776 #ifdef HAVE_SYS_STATFS_H
18777 # include <sys/statfs.h>
18778 #endif
18780 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18782 cat >>confdefs.h <<_ACEOF
18783 #define HAVE_STRUCT_STATFS_F_BFREE 1
18784 _ACEOF
18788 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18789 #ifdef HAVE_SYS_PARAM_H
18790 # include <sys/param.h>
18791 #endif
18792 #ifdef HAVE_SYS_MOUNT_H
18793 # include <sys/mount.h>
18794 #endif
18795 #ifdef HAVE_SYS_VFS_H
18796 # include <sys/vfs.h>
18797 #endif
18798 #ifdef HAVE_SYS_STATFS_H
18799 # include <sys/statfs.h>
18800 #endif
18802 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18804 cat >>confdefs.h <<_ACEOF
18805 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18806 _ACEOF
18810 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18811 #ifdef HAVE_SYS_PARAM_H
18812 # include <sys/param.h>
18813 #endif
18814 #ifdef HAVE_SYS_MOUNT_H
18815 # include <sys/mount.h>
18816 #endif
18817 #ifdef HAVE_SYS_VFS_H
18818 # include <sys/vfs.h>
18819 #endif
18820 #ifdef HAVE_SYS_STATFS_H
18821 # include <sys/statfs.h>
18822 #endif
18824 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18826 cat >>confdefs.h <<_ACEOF
18827 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18828 _ACEOF
18832 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18833 #ifdef HAVE_SYS_PARAM_H
18834 # include <sys/param.h>
18835 #endif
18836 #ifdef HAVE_SYS_MOUNT_H
18837 # include <sys/mount.h>
18838 #endif
18839 #ifdef HAVE_SYS_VFS_H
18840 # include <sys/vfs.h>
18841 #endif
18842 #ifdef HAVE_SYS_STATFS_H
18843 # include <sys/statfs.h>
18844 #endif
18846 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18848 cat >>confdefs.h <<_ACEOF
18849 #define HAVE_STRUCT_STATFS_F_FFREE 1
18850 _ACEOF
18854 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18855 #ifdef HAVE_SYS_PARAM_H
18856 # include <sys/param.h>
18857 #endif
18858 #ifdef HAVE_SYS_MOUNT_H
18859 # include <sys/mount.h>
18860 #endif
18861 #ifdef HAVE_SYS_VFS_H
18862 # include <sys/vfs.h>
18863 #endif
18864 #ifdef HAVE_SYS_STATFS_H
18865 # include <sys/statfs.h>
18866 #endif
18868 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18870 cat >>confdefs.h <<_ACEOF
18871 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18872 _ACEOF
18876 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18877 #ifdef HAVE_SYS_PARAM_H
18878 # include <sys/param.h>
18879 #endif
18880 #ifdef HAVE_SYS_MOUNT_H
18881 # include <sys/mount.h>
18882 #endif
18883 #ifdef HAVE_SYS_VFS_H
18884 # include <sys/vfs.h>
18885 #endif
18886 #ifdef HAVE_SYS_STATFS_H
18887 # include <sys/statfs.h>
18888 #endif
18890 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18892 cat >>confdefs.h <<_ACEOF
18893 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18894 _ACEOF
18900 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18901 #include <sys/statvfs.h>
18902 #endif
18904 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18906 cat >>confdefs.h <<_ACEOF
18907 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18908 _ACEOF
18914 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18915 #include <dirent.h>
18916 #endif
18918 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18920 cat >>confdefs.h <<_ACEOF
18921 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18922 _ACEOF
18928 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18929 #ifdef HAVE_SYS_SOCKET_H
18930 # include <sys/socket.h>
18931 #endif
18932 #ifdef HAVE_SYS_UN_H
18933 # include <sys/un.h>
18934 #endif
18936 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18938 cat >>confdefs.h <<_ACEOF
18939 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18940 _ACEOF
18944 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18945 #ifdef HAVE_SYS_SOCKET_H
18946 # include <sys/socket.h>
18947 #endif
18948 #ifdef HAVE_SYS_UN_H
18949 # include <sys/un.h>
18950 #endif
18952 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18954 cat >>confdefs.h <<_ACEOF
18955 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18956 _ACEOF
18960 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18961 #ifdef HAVE_SYS_SOCKET_H
18962 # include <sys/socket.h>
18963 #endif
18964 #ifdef HAVE_SYS_UN_H
18965 # include <sys/un.h>
18966 #endif
18968 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18970 cat >>confdefs.h <<_ACEOF
18971 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18972 _ACEOF
18978 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18979 #ifdef HAVE_SCSI_SG_H
18980 #include <scsi/sg.h>
18981 #endif
18983 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18985 cat >>confdefs.h <<_ACEOF
18986 #define HAVE_SCSIREQ_T_CMD 1
18987 _ACEOF
18991 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>
18992 #ifdef HAVE_SCSI_SG_H
18993 #include <scsi/sg.h>
18994 #endif
18996 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18998 cat >>confdefs.h <<_ACEOF
18999 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19000 _ACEOF
19006 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19008 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19010 cat >>confdefs.h <<_ACEOF
19011 #define HAVE_SIGINFO_T_SI_FD 1
19012 _ACEOF
19018 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19019 #ifdef HAVE_SYS_MTIO_H
19020 #include <sys/mtio.h>
19021 #endif
19023 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19025 cat >>confdefs.h <<_ACEOF
19026 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19027 _ACEOF
19031 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19032 #ifdef HAVE_SYS_MTIO_H
19033 #include <sys/mtio.h>
19034 #endif
19036 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19038 cat >>confdefs.h <<_ACEOF
19039 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19040 _ACEOF
19044 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19045 #ifdef HAVE_SYS_MTIO_H
19046 #include <sys/mtio.h>
19047 #endif
19049 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19051 cat >>confdefs.h <<_ACEOF
19052 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19053 _ACEOF
19059 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19060 #include <getopt.h>
19061 #endif
19063 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19065 cat >>confdefs.h <<_ACEOF
19066 #define HAVE_STRUCT_OPTION_NAME 1
19067 _ACEOF
19073 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19074 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19078 _ACEOF
19082 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19083 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19085 cat >>confdefs.h <<_ACEOF
19086 #define HAVE_STRUCT_STAT_ST_MTIM 1
19087 _ACEOF
19091 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19092 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19094 cat >>confdefs.h <<_ACEOF
19095 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19096 _ACEOF
19100 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19101 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19103 cat >>confdefs.h <<_ACEOF
19104 #define HAVE_STRUCT_STAT_ST_CTIM 1
19105 _ACEOF
19109 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19110 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19112 cat >>confdefs.h <<_ACEOF
19113 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19114 _ACEOF
19118 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19119 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19121 cat >>confdefs.h <<_ACEOF
19122 #define HAVE_STRUCT_STAT_ST_ATIM 1
19123 _ACEOF
19127 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19128 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19130 cat >>confdefs.h <<_ACEOF
19131 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19132 _ACEOF
19136 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19137 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19139 cat >>confdefs.h <<_ACEOF
19140 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19141 _ACEOF
19145 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19146 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19150 _ACEOF
19154 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19155 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19157 cat >>confdefs.h <<_ACEOF
19158 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19159 _ACEOF
19163 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19164 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19166 cat >>confdefs.h <<_ACEOF
19167 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19168 _ACEOF
19172 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19173 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19175 cat >>confdefs.h <<_ACEOF
19176 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19177 _ACEOF
19183 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
19184 #include <sys/types.h>
19185 #endif
19186 #ifdef HAVE_NETINET_IN_H
19187 #include <netinet/in.h>
19188 #endif
19190 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19192 cat >>confdefs.h <<_ACEOF
19193 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19194 _ACEOF
19200 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19201 #include <sys/types.h>
19202 #endif
19203 #ifdef HAVE_NETINET_IN_H
19204 #include <netinet/in.h>
19205 #endif
19206 #ifdef HAVE_RESOLV_H
19207 #include <resolv.h>
19208 #endif
19210 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19212 cat >>confdefs.h <<_ACEOF
19213 #define HAVE_STRUCT___RES_STATE 1
19214 _ACEOF
19220 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
19221 #include <resolv.h>
19222 #endif
19224 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19226 cat >>confdefs.h <<_ACEOF
19227 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19228 _ACEOF
19234 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19235 #include <sys/types.h>
19236 #endif
19237 #ifdef HAVE_NETINET_IN_H
19238 # include <netinet/in.h>
19239 #endif
19240 #ifdef HAVE_ARPA_NAMESER_H
19241 # include <arpa/nameser.h>
19242 #endif
19244 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19246 cat >>confdefs.h <<_ACEOF
19247 #define HAVE_NS_MSG__MSG_PTR 1
19248 _ACEOF
19254 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19255 #include <sys/types.h>
19256 #endif
19257 #ifdef HAVE_NETINET_IN_H
19258 #include <netinet/in.h>
19259 #endif
19260 #ifdef HAVE_NETINET_IP_H
19261 #include <netinet/ip.h>
19262 #endif
19263 #ifdef HAVE_NETINET_IP_ICMP_H
19264 #include <netinet/ip_icmp.h>
19265 #endif
19266 #ifdef HAVE_NETINET_ICMP_VAR_H
19267 #include <netinet/icmp_var.h>
19268 #endif
19270 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19272 cat >>confdefs.h <<_ACEOF
19273 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19274 _ACEOF
19280 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19281 #include <sys/types.h>
19282 #endif
19283 #ifdef HAVE_ALIAS_H
19284 #include <alias.h>
19285 #endif
19286 #ifdef HAVE_SYS_SOCKET_H
19287 #include <sys/socket.h>
19288 #endif
19289 #ifdef HAVE_SYS_SOCKETVAR_H
19290 #include <sys/socketvar.h>
19291 #endif
19292 #ifdef HAVE_SYS_TIMEOUT_H
19293 #include <sys/timeout.h>
19294 #endif
19295 #ifdef HAVE_NETINET_IN_H
19296 #include <netinet/in.h>
19297 #endif
19298 #ifdef HAVE_NETINET_IN_SYSTM_H
19299 #include <netinet/in_systm.h>
19300 #endif
19301 #ifdef HAVE_NETINET_IP_H
19302 #include <netinet/ip.h>
19303 #endif
19304 #ifdef HAVE_NETINET_IP_VAR_H
19305 #include <netinet/ip_var.h>
19306 #endif
19307 #ifdef HAVE_NETINET_IP_ICMP_H
19308 #include <netinet/ip_icmp.h>
19309 #endif
19310 #ifdef HAVE_NETINET_ICMP_VAR_H
19311 #include <netinet/icmp_var.h>
19312 #endif
19314 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19316 cat >>confdefs.h <<_ACEOF
19317 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19318 _ACEOF
19324 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19325 #include <sys/types.h>
19326 #endif
19327 #ifdef HAVE_SYS_SOCKETVAR_H
19328 #include <sys/socketvar.h>
19329 #endif
19330 #ifdef HAVE_NETINET_IN_H
19331 #include <netinet/in.h>
19332 #endif
19333 #ifdef HAVE_NETINET_IP_VAR_H
19334 #include <netinet/ip_var.h>
19335 #endif
19337 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19339 cat >>confdefs.h <<_ACEOF
19340 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19341 _ACEOF
19347 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
19348 #include <netinet/ip_var.h>
19349 #endif
19351 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19353 cat >>confdefs.h <<_ACEOF
19354 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19355 _ACEOF
19361 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19362 #include <sys/types.h>
19363 #endif
19364 #ifdef HAVE_SYS_SOCKETVAR_H
19365 #include <sys/socketvar.h>
19366 #endif
19367 #ifdef HAVE_NETINET_IN_H
19368 #include <netinet/in.h>
19369 #endif
19370 #ifdef HAVE_NETINET_TCP_H
19371 #include <netinet/tcp.h>
19372 #endif
19373 #ifdef HAVE_NETINET_TCP_VAR_H
19374 #include <netinet/tcp_var.h>
19375 #endif
19377 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19379 cat >>confdefs.h <<_ACEOF
19380 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19381 _ACEOF
19387 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
19388 #include <netinet/tcp_var.h>
19389 #endif
19391 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19393 cat >>confdefs.h <<_ACEOF
19394 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19395 _ACEOF
19401 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19402 #include <sys/types.h>
19403 #endif
19404 #ifdef HAVE_NETINET_IN_H
19405 #include <netinet/in.h>
19406 #endif
19407 #ifdef HAVE_NETINET_IP_VAR_H
19408 #include <netinet/ip_var.h>
19409 #endif
19410 #ifdef HAVE_NETINET_UDP_H
19411 #include <netinet/udp.h>
19412 #endif
19413 #ifdef HAVE_NETINET_UDP_VAR_H
19414 #include <netinet/udp_var.h>
19415 #endif
19417 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19419 cat >>confdefs.h <<_ACEOF
19420 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19421 _ACEOF
19427 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19428 #include <sys/types.h>
19429 #endif
19430 #ifdef HAVE_NET_IF_H
19431 # include <net/if.h>
19432 #endif
19434 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19436 cat >>confdefs.h <<_ACEOF
19437 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19438 _ACEOF
19444 ac_save_LIBS="$LIBS"
19445 LIBS="$LIBS -lm"
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19447 $as_echo_n "checking for isfinite... " >&6; }
19448 if ${ac_cv_have_isfinite+:} false; then :
19449 $as_echo_n "(cached) " >&6
19450 else
19451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19452 /* end confdefs.h. */
19453 #define _GNU_SOURCE
19454 #include <math.h>
19456 main ()
19458 float f = 0.0; return isfinite(f)
19460 return 0;
19462 _ACEOF
19463 if ac_fn_c_try_link "$LINENO"; then :
19464 ac_cv_have_isfinite="yes"
19465 else
19466 ac_cv_have_isfinite="no"
19468 rm -f core conftest.err conftest.$ac_objext \
19469 conftest$ac_exeext conftest.$ac_ext
19471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19472 $as_echo "$ac_cv_have_isfinite" >&6; }
19473 if test "$ac_cv_have_isfinite" = "yes"
19474 then
19476 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19481 $as_echo_n "checking for isinf... " >&6; }
19482 if ${ac_cv_have_isinf+:} false; then :
19483 $as_echo_n "(cached) " >&6
19484 else
19485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19486 /* end confdefs.h. */
19487 #include <math.h>
19489 main ()
19491 float f = 0.0; return isinf(f)
19493 return 0;
19495 _ACEOF
19496 if ac_fn_c_try_link "$LINENO"; then :
19497 ac_cv_have_isinf="yes"
19498 else
19499 ac_cv_have_isinf="no"
19501 rm -f core conftest.err conftest.$ac_objext \
19502 conftest$ac_exeext conftest.$ac_ext
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19505 $as_echo "$ac_cv_have_isinf" >&6; }
19506 if test "$ac_cv_have_isinf" = "yes"
19507 then
19509 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19514 $as_echo_n "checking for isnan... " >&6; }
19515 if ${ac_cv_have_isnan+:} false; then :
19516 $as_echo_n "(cached) " >&6
19517 else
19518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19519 /* end confdefs.h. */
19520 #include <math.h>
19522 main ()
19524 float f = 0.0; return isnan(f)
19526 return 0;
19528 _ACEOF
19529 if ac_fn_c_try_link "$LINENO"; then :
19530 ac_cv_have_isnan="yes"
19531 else
19532 ac_cv_have_isnan="no"
19534 rm -f core conftest.err conftest.$ac_objext \
19535 conftest$ac_exeext conftest.$ac_ext
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19538 $as_echo "$ac_cv_have_isnan" >&6; }
19539 if test "$ac_cv_have_isnan" = "yes"
19540 then
19542 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19546 for ac_func in \
19547 acosh \
19548 acoshf \
19549 asinh \
19550 asinhf \
19551 atanh \
19552 atanhf \
19553 cbrt \
19554 cbrtf \
19555 erf \
19556 erfc \
19557 erfcf \
19558 erff \
19559 exp2 \
19560 exp2f \
19561 expm1 \
19562 expm1f \
19563 fma \
19564 fmaf \
19565 ilogb \
19566 ilogbf \
19567 j0 \
19568 j1 \
19569 jn \
19570 lgamma \
19571 lgammaf \
19572 llrint \
19573 llrintf \
19574 llround \
19575 llroundf \
19576 log1p \
19577 log1pf \
19578 log2 \
19579 log2f \
19580 lrint \
19581 lrintf \
19582 lround \
19583 lroundf \
19584 nearbyint \
19585 nearbyintf \
19586 nexttoward \
19587 nexttowardf \
19588 powl \
19589 remainder \
19590 remainderf \
19591 remquo \
19592 remquof \
19593 rint \
19594 rintf \
19595 round \
19596 roundf \
19597 tgamma \
19598 tgammaf \
19599 trunc \
19600 truncf \
19601 y0 \
19602 y1 \
19605 do :
19606 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19607 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19608 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19609 cat >>confdefs.h <<_ACEOF
19610 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19611 _ACEOF
19614 done
19616 LIBS="$ac_save_LIBS"
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19619 $as_echo_n "checking for __builtin_popcount... " >&6; }
19620 if ${ac_cv_have___builtin_popcount+:} false; then :
19621 $as_echo_n "(cached) " >&6
19622 else
19623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19624 /* end confdefs.h. */
19627 main ()
19629 return __builtin_popcount(1)
19631 return 0;
19633 _ACEOF
19634 if ac_fn_c_try_link "$LINENO"; then :
19635 ac_cv_have___builtin_popcount="yes"
19636 else
19637 ac_cv_have___builtin_popcount="no"
19639 rm -f core conftest.err conftest.$ac_objext \
19640 conftest$ac_exeext conftest.$ac_ext
19642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19643 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19644 if test "$ac_cv_have___builtin_popcount" = "yes"
19645 then
19647 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19652 $as_echo_n "checking for __clear_cache... " >&6; }
19653 if ${ac_cv_have___clear_cache+:} false; then :
19654 $as_echo_n "(cached) " >&6
19655 else
19656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19657 /* end confdefs.h. */
19660 main ()
19662 __clear_cache((void*)0, (void*)0); return 0;
19664 return 0;
19666 _ACEOF
19667 if ac_fn_c_try_link "$LINENO"; then :
19668 ac_cv_have___clear_cache="yes"
19669 else
19670 ac_cv_have___clear_cache="no"
19672 rm -f core conftest.err conftest.$ac_objext \
19673 conftest$ac_exeext conftest.$ac_ext
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19676 $as_echo "$ac_cv_have___clear_cache" >&6; }
19677 if test "$ac_cv_have___clear_cache" = "yes"
19678 then
19680 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19685 case $host_cpu in
19686 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19687 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19688 if ${ac_cv_cpp_def___i386__+:} false; then :
19689 $as_echo_n "(cached) " >&6
19690 else
19691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19692 /* end confdefs.h. */
19693 #ifndef __i386__
19695 #endif
19696 _ACEOF
19697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19698 $EGREP "yes" >/dev/null 2>&1; then :
19699 ac_cv_cpp_def___i386__=yes
19700 else
19701 ac_cv_cpp_def___i386__=no
19703 rm -f conftest*
19706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19707 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19708 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19709 CFLAGS="$CFLAGS -D__i386__"
19710 LINTFLAGS="$LINTFLAGS -D__i386__"
19711 fi ;;
19712 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19713 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19714 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19715 $as_echo_n "(cached) " >&6
19716 else
19717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19718 /* end confdefs.h. */
19719 #ifndef __x86_64__
19721 #endif
19722 _ACEOF
19723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19724 $EGREP "yes" >/dev/null 2>&1; then :
19725 ac_cv_cpp_def___x86_64__=yes
19726 else
19727 ac_cv_cpp_def___x86_64__=no
19729 rm -f conftest*
19732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19733 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19734 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19735 CFLAGS="$CFLAGS -D__x86_64__"
19736 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19737 fi ;;
19738 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19739 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19740 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19741 $as_echo_n "(cached) " >&6
19742 else
19743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19744 /* end confdefs.h. */
19745 #ifndef __sparc64__
19747 #endif
19748 _ACEOF
19749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19750 $EGREP "yes" >/dev/null 2>&1; then :
19751 ac_cv_cpp_def___sparc64__=yes
19752 else
19753 ac_cv_cpp_def___sparc64__=no
19755 rm -f conftest*
19758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19759 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19760 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19761 CFLAGS="$CFLAGS -D__sparc64__"
19762 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19763 fi ;;
19764 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19765 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19766 if ${ac_cv_cpp_def___sparc__+:} false; then :
19767 $as_echo_n "(cached) " >&6
19768 else
19769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19770 /* end confdefs.h. */
19771 #ifndef __sparc__
19773 #endif
19774 _ACEOF
19775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19776 $EGREP "yes" >/dev/null 2>&1; then :
19777 ac_cv_cpp_def___sparc__=yes
19778 else
19779 ac_cv_cpp_def___sparc__=no
19781 rm -f conftest*
19784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19785 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19786 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19787 CFLAGS="$CFLAGS -D__sparc__"
19788 LINTFLAGS="$LINTFLAGS -D__sparc__"
19789 fi ;;
19790 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19791 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19792 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19793 $as_echo_n "(cached) " >&6
19794 else
19795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19796 /* end confdefs.h. */
19797 #ifndef __powerpc64__
19799 #endif
19800 _ACEOF
19801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19802 $EGREP "yes" >/dev/null 2>&1; then :
19803 ac_cv_cpp_def___powerpc64__=yes
19804 else
19805 ac_cv_cpp_def___powerpc64__=no
19807 rm -f conftest*
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19811 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19812 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19813 CFLAGS="$CFLAGS -D__powerpc64__"
19814 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19815 fi ;;
19816 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19817 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19818 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19819 $as_echo_n "(cached) " >&6
19820 else
19821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19822 /* end confdefs.h. */
19823 #ifndef __powerpc__
19825 #endif
19826 _ACEOF
19827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19828 $EGREP "yes" >/dev/null 2>&1; then :
19829 ac_cv_cpp_def___powerpc__=yes
19830 else
19831 ac_cv_cpp_def___powerpc__=no
19833 rm -f conftest*
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19837 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19838 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19839 CFLAGS="$CFLAGS -D__powerpc__"
19840 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19841 fi ;;
19842 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19843 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19844 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19845 $as_echo_n "(cached) " >&6
19846 else
19847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19848 /* end confdefs.h. */
19849 #ifndef __aarch64__
19851 #endif
19852 _ACEOF
19853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19854 $EGREP "yes" >/dev/null 2>&1; then :
19855 ac_cv_cpp_def___aarch64__=yes
19856 else
19857 ac_cv_cpp_def___aarch64__=no
19859 rm -f conftest*
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19863 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19864 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19865 CFLAGS="$CFLAGS -D__aarch64__"
19866 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19867 fi ;;
19868 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19869 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19870 if ${ac_cv_cpp_def___arm__+:} false; then :
19871 $as_echo_n "(cached) " >&6
19872 else
19873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19874 /* end confdefs.h. */
19875 #ifndef __arm__
19877 #endif
19878 _ACEOF
19879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19880 $EGREP "yes" >/dev/null 2>&1; then :
19881 ac_cv_cpp_def___arm__=yes
19882 else
19883 ac_cv_cpp_def___arm__=no
19885 rm -f conftest*
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19889 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19890 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19891 CFLAGS="$CFLAGS -D__arm__"
19892 LINTFLAGS="$LINTFLAGS -D__arm__"
19893 fi ;;
19894 esac
19896 case $host_vendor in
19897 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19898 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19899 if ${ac_cv_cpp_def___sun__+:} false; then :
19900 $as_echo_n "(cached) " >&6
19901 else
19902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19903 /* end confdefs.h. */
19904 #ifndef __sun__
19906 #endif
19907 _ACEOF
19908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19909 $EGREP "yes" >/dev/null 2>&1; then :
19910 ac_cv_cpp_def___sun__=yes
19911 else
19912 ac_cv_cpp_def___sun__=no
19914 rm -f conftest*
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19918 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19919 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19920 CFLAGS="$CFLAGS -D__sun__"
19921 LINTFLAGS="$LINTFLAGS -D__sun__"
19922 fi ;;
19923 esac
19929 ac_config_commands="$ac_config_commands include/stamp-h"
19931 $as_echo_n "creating Makefile rules..." >&6
19933 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19934 OPENGL_LIBS = $OPENGL_LIBS
19935 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19936 IOKIT_LIBS = $IOKIT_LIBS
19937 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19938 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19939 CORESERVICES_LIBS = $CORESERVICES_LIBS
19940 APPKIT_LIBS = $APPKIT_LIBS
19941 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19942 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19943 SECURITY_LIBS = $SECURITY_LIBS
19944 COREAUDIO_LIBS = $COREAUDIO_LIBS
19945 OPENAL_LIBS = $OPENAL_LIBS
19946 OPENCL_LIBS = $OPENCL_LIBS
19947 QUICKTIME_LIBS = $QUICKTIME_LIBS
19948 CARBON_LIBS = $CARBON_LIBS
19949 METAL_LIBS = $METAL_LIBS
19950 PTHREAD_LIBS = $PTHREAD_LIBS
19951 X_CFLAGS = $X_CFLAGS
19952 X_PRE_LIBS = $X_PRE_LIBS
19953 X_LIBS = $X_LIBS
19954 X_EXTRA_LIBS = $X_EXTRA_LIBS
19955 PCAP_LIBS = $PCAP_LIBS
19956 XML2_CFLAGS = $XML2_CFLAGS
19957 XML2_LIBS = $XML2_LIBS
19958 XSLT_CFLAGS = $XSLT_CFLAGS
19959 XSLT_LIBS = $XSLT_LIBS
19960 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19961 INOTIFY_LIBS = $INOTIFY_LIBS
19962 DBUS_CFLAGS = $DBUS_CFLAGS
19963 DBUS_LIBS = $DBUS_LIBS
19964 HAL_CFLAGS = $HAL_CFLAGS
19965 HAL_LIBS = $HAL_LIBS
19966 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19967 GNUTLS_LIBS = $GNUTLS_LIBS
19968 SANE_CFLAGS = $SANE_CFLAGS
19969 SANE_LIBS = $SANE_LIBS
19970 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19971 GPHOTO2_LIBS = $GPHOTO2_LIBS
19972 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19973 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19974 RESOLV_LIBS = $RESOLV_LIBS
19975 LCMS2_CFLAGS = $LCMS2_CFLAGS
19976 LCMS2_LIBS = $LCMS2_LIBS
19977 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19978 FREETYPE_LIBS = $FREETYPE_LIBS
19979 Z_CFLAGS = $Z_CFLAGS
19980 Z_LIBS = $Z_LIBS
19981 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19982 PULSE_CFLAGS = $PULSE_CFLAGS
19983 PULSE_LIBS = $PULSE_LIBS
19984 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19985 GSTREAMER_LIBS = $GSTREAMER_LIBS
19986 ALSA_LIBS = $ALSA_LIBS
19987 OSS4_CFLAGS = $OSS4_CFLAGS
19988 OSS4_LIBS = $OSS4_LIBS
19989 UDEV_CFLAGS = $UDEV_CFLAGS
19990 UDEV_LIBS = $UDEV_LIBS
19991 UNWIND_CFLAGS = $UNWIND_CFLAGS
19992 UNWIND_LIBS = $UNWIND_LIBS
19993 SDL2_CFLAGS = $SDL2_CFLAGS
19994 SDL2_LIBS = $SDL2_LIBS
19995 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19996 FAUDIO_LIBS = $FAUDIO_LIBS
19997 CAPI20_CFLAGS = $CAPI20_CFLAGS
19998 CAPI20_LIBS = $CAPI20_LIBS
19999 CUPS_CFLAGS = $CUPS_CFLAGS
20000 CUPS_LIBS = $CUPS_LIBS
20001 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20002 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20003 KRB5_CFLAGS = $KRB5_CFLAGS
20004 KRB5_LIBS = $KRB5_LIBS
20005 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20006 GSSAPI_LIBS = $GSSAPI_LIBS
20007 JPEG_CFLAGS = $JPEG_CFLAGS
20008 JPEG_LIBS = $JPEG_LIBS
20009 PNG_CFLAGS = $PNG_CFLAGS
20010 PNG_LIBS = $PNG_LIBS
20011 TIFF_CFLAGS = $TIFF_CFLAGS
20012 TIFF_LIBS = $TIFF_LIBS
20013 MPG123_CFLAGS = $MPG123_CFLAGS
20014 MPG123_LIBS = $MPG123_LIBS
20015 KSTAT_LIBS = $KSTAT_LIBS
20016 PROCSTAT_LIBS = $PROCSTAT_LIBS
20017 NETAPI_CFLAGS = $NETAPI_CFLAGS
20018 NETAPI_LIBS = $NETAPI_LIBS
20019 VKD3D_CFLAGS = $VKD3D_CFLAGS
20020 VKD3D_LIBS = $VKD3D_LIBS
20021 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20022 DL_LIBS = $DL_LIBS
20023 POLL_LIBS = $POLL_LIBS
20024 RT_LIBS = $RT_LIBS
20025 LDAP_CFLAGS = $LDAP_CFLAGS
20026 LDAP_LIBS = $LDAP_LIBS
20031 wine_fn_append_rule "
20032 # Rules automatically generated by configure
20034 .INIT: Makefile
20035 .MAKEFILEDEPS:
20036 all: Makefile
20037 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20038 @./config.status Make.tmp Makefile
20039 depend: \$(MAKEDEP) dummy
20040 \$(MAKEDEP)"
20042 ac_config_links="$ac_config_links wine:tools/winewrapper"
20043 wine_fn_config_symlink wine
20044 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20045 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20046 wine_fn_config_symlink wine64
20049 wine_fn_config_makefile dlls/acledit enable_acledit
20050 wine_fn_config_makefile dlls/aclui enable_aclui
20051 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20052 wine_fn_config_makefile dlls/activeds enable_activeds
20053 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20054 wine_fn_config_makefile dlls/adsiid enable_adsiid
20055 wine_fn_config_makefile dlls/adsldp enable_adsldp
20056 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20057 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20058 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20059 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20060 wine_fn_config_makefile dlls/advpack enable_advpack
20061 wine_fn_config_makefile dlls/advpack/tests enable_tests
20062 wine_fn_config_makefile dlls/amsi enable_amsi
20063 wine_fn_config_makefile dlls/amstream enable_amstream
20064 wine_fn_config_makefile dlls/amstream/tests enable_tests
20065 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20067 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20068 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20070 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20075 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20083 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20085 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20087 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20089 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20090 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20091 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20093 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20096 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20097 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20099 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20100 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20109 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20114 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20117 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20120 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20123 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20131 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20132 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20139 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20143 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20144 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20145 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20167 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20171 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20174 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20184 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20189 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20190 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20195 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20197 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20216 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20217 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20236 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20247 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20251 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20253 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20255 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20256 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20261 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20263 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20269 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20272 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20274 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20276 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20280 wine_fn_config_makefile dlls/apphelp enable_apphelp
20281 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20282 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20283 wine_fn_config_makefile dlls/atl enable_atl
20284 wine_fn_config_makefile dlls/atl/tests enable_tests
20285 wine_fn_config_makefile dlls/atl100 enable_atl100
20286 wine_fn_config_makefile dlls/atl100/tests enable_tests
20287 wine_fn_config_makefile dlls/atl110 enable_atl110
20288 wine_fn_config_makefile dlls/atl80 enable_atl80
20289 wine_fn_config_makefile dlls/atl80/tests enable_tests
20290 wine_fn_config_makefile dlls/atl90 enable_atl90
20291 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20292 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20293 wine_fn_config_makefile dlls/atmlib enable_atmlib
20294 wine_fn_config_makefile dlls/authz enable_authz
20295 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20296 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20297 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20298 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20299 wine_fn_config_makefile dlls/avrt enable_avrt
20300 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20301 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20302 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20303 wine_fn_config_makefile dlls/browseui enable_browseui
20304 wine_fn_config_makefile dlls/browseui/tests enable_tests
20305 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20306 wine_fn_config_makefile dlls/cabinet enable_cabinet
20307 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20308 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20309 wine_fn_config_makefile dlls/cards enable_cards
20310 wine_fn_config_makefile dlls/cdosys enable_cdosys
20311 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20312 wine_fn_config_makefile dlls/clusapi enable_clusapi
20313 wine_fn_config_makefile dlls/combase enable_combase
20314 wine_fn_config_makefile dlls/combase/tests enable_tests
20315 wine_fn_config_makefile dlls/comcat enable_comcat
20316 wine_fn_config_makefile dlls/comcat/tests enable_tests
20317 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20318 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20319 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20320 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20321 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20322 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20323 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20324 wine_fn_config_makefile dlls/compstui enable_compstui
20325 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20326 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20327 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20328 wine_fn_config_makefile dlls/connect enable_connect
20329 wine_fn_config_makefile dlls/credui enable_credui
20330 wine_fn_config_makefile dlls/credui/tests enable_tests
20331 wine_fn_config_makefile dlls/crtdll enable_crtdll
20332 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20333 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20334 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20335 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20336 wine_fn_config_makefile dlls/cryptext enable_cryptext
20337 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20338 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20339 wine_fn_config_makefile dlls/cryptui enable_cryptui
20340 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20341 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20342 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20343 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20344 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20345 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20346 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20347 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20348 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20349 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20350 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20351 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20352 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20353 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20354 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20355 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20356 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20357 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20358 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20359 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20360 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20361 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20362 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20363 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20364 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20365 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20366 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20367 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20368 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20369 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20370 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20371 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20372 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20373 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20374 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20375 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20376 wine_fn_config_makefile dlls/d3dim enable_d3dim
20377 wine_fn_config_makefile dlls/d3drm enable_d3drm
20378 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20379 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20380 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20381 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20382 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20383 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20384 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20385 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20386 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20387 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20388 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20389 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20390 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20391 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20392 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20393 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20394 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20395 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20396 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20397 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20398 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20399 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20400 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20401 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20402 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20403 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20404 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20405 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20406 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20407 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20408 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20409 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20410 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20411 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20412 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20413 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20414 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20415 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20416 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20417 wine_fn_config_makefile dlls/davclnt enable_davclnt
20418 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20419 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20420 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20421 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20422 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20423 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20424 wine_fn_config_makefile dlls/ddraw enable_ddraw
20425 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20426 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20427 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20428 wine_fn_config_makefile dlls/devenum enable_devenum
20429 wine_fn_config_makefile dlls/devenum/tests enable_tests
20430 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20431 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20432 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20433 wine_fn_config_makefile dlls/difxapi enable_difxapi
20434 wine_fn_config_makefile dlls/dinput enable_dinput
20435 wine_fn_config_makefile dlls/dinput/tests enable_tests
20436 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20437 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20438 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20439 wine_fn_config_makefile dlls/dispex enable_dispex
20440 wine_fn_config_makefile dlls/dispex/tests enable_tests
20441 wine_fn_config_makefile dlls/display.drv16 enable_win16
20442 wine_fn_config_makefile dlls/dmband enable_dmband
20443 wine_fn_config_makefile dlls/dmband/tests enable_tests
20444 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20445 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20446 wine_fn_config_makefile dlls/dmime enable_dmime
20447 wine_fn_config_makefile dlls/dmime/tests enable_tests
20448 wine_fn_config_makefile dlls/dmloader enable_dmloader
20449 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20450 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20451 wine_fn_config_makefile dlls/dmscript enable_dmscript
20452 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20453 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20454 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20455 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20456 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20457 wine_fn_config_makefile dlls/dmusic enable_dmusic
20458 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20459 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20460 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20461 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20462 wine_fn_config_makefile dlls/dplay enable_dplay
20463 wine_fn_config_makefile dlls/dplayx enable_dplayx
20464 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20465 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20466 wine_fn_config_makefile dlls/dpnet enable_dpnet
20467 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20468 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20469 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20470 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20471 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20472 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20473 wine_fn_config_makefile dlls/drmclien enable_drmclien
20474 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20475 wine_fn_config_makefile dlls/dsound enable_dsound
20476 wine_fn_config_makefile dlls/dsound/tests enable_tests
20477 wine_fn_config_makefile dlls/dsquery enable_dsquery
20478 wine_fn_config_makefile dlls/dssenh enable_dssenh
20479 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20480 wine_fn_config_makefile dlls/dswave enable_dswave
20481 wine_fn_config_makefile dlls/dswave/tests enable_tests
20482 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20483 wine_fn_config_makefile dlls/dwrite enable_dwrite
20484 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20485 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20486 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20487 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20488 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20489 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20490 wine_fn_config_makefile dlls/dxgi enable_dxgi
20491 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20492 wine_fn_config_makefile dlls/dxguid enable_dxguid
20493 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20494 wine_fn_config_makefile dlls/esent enable_esent
20495 wine_fn_config_makefile dlls/evr enable_evr
20496 wine_fn_config_makefile dlls/evr/tests enable_tests
20497 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20498 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20499 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20500 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20501 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20502 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20503 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20504 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20505 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20506 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20507 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20508 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20509 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20510 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20511 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20512 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20513 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20514 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20515 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20516 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20517 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20518 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20519 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20520 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20521 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20522 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20523 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20524 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20525 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20526 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20527 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20528 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20529 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20530 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20531 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20532 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20533 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20534 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20535 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20536 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20537 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20538 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20539 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
20540 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20541 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20542 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20543 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20544 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20545 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20546 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20547 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20548 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20549 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20550 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20551 wine_fn_config_makefile dlls/faultrep enable_faultrep
20552 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20553 wine_fn_config_makefile dlls/feclient enable_feclient
20554 wine_fn_config_makefile dlls/fltlib enable_fltlib
20555 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20556 wine_fn_config_makefile dlls/fntcache enable_fntcache
20557 wine_fn_config_makefile dlls/fontsub enable_fontsub
20558 wine_fn_config_makefile dlls/fusion enable_fusion
20559 wine_fn_config_makefile dlls/fusion/tests enable_tests
20560 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20561 wine_fn_config_makefile dlls/gameux enable_gameux
20562 wine_fn_config_makefile dlls/gameux/tests enable_tests
20563 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20564 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20565 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20566 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20567 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20568 wine_fn_config_makefile dlls/glu32 enable_glu32
20569 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20570 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20571 wine_fn_config_makefile dlls/hal enable_hal
20572 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20573 wine_fn_config_makefile dlls/hid enable_hid
20574 wine_fn_config_makefile dlls/hid/tests enable_tests
20575 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20576 wine_fn_config_makefile dlls/hlink enable_hlink
20577 wine_fn_config_makefile dlls/hlink/tests enable_tests
20578 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20579 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20580 wine_fn_config_makefile dlls/http.sys enable_http_sys
20581 wine_fn_config_makefile dlls/httpapi enable_httpapi
20582 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20583 wine_fn_config_makefile dlls/iccvid enable_iccvid
20584 wine_fn_config_makefile dlls/icmp enable_icmp
20585 wine_fn_config_makefile dlls/ieframe enable_ieframe
20586 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20587 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20588 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20589 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20590 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20591 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20592 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20593 wine_fn_config_makefile dlls/imm32 enable_imm32
20594 wine_fn_config_makefile dlls/imm32/tests enable_tests
20595 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20596 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20597 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20598 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20599 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20600 wine_fn_config_makefile dlls/infosoft enable_infosoft
20601 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20602 wine_fn_config_makefile dlls/initpki enable_initpki
20603 wine_fn_config_makefile dlls/inkobj enable_inkobj
20604 wine_fn_config_makefile dlls/inseng enable_inseng
20605 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20606 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20607 wine_fn_config_makefile dlls/iprop enable_iprop
20608 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20609 wine_fn_config_makefile dlls/itircl enable_itircl
20610 wine_fn_config_makefile dlls/itss enable_itss
20611 wine_fn_config_makefile dlls/itss/tests enable_tests
20612 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20613 wine_fn_config_makefile dlls/jscript enable_jscript
20614 wine_fn_config_makefile dlls/jscript/tests enable_tests
20615 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20616 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20617 wine_fn_config_makefile dlls/kerberos enable_kerberos
20618 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20619 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20620 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20621 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20622 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20623 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20624 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20625 wine_fn_config_makefile dlls/ksuser enable_ksuser
20626 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20627 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20628 wine_fn_config_makefile dlls/loadperf enable_loadperf
20629 wine_fn_config_makefile dlls/localspl enable_localspl
20630 wine_fn_config_makefile dlls/localspl/tests enable_tests
20631 wine_fn_config_makefile dlls/localui enable_localui
20632 wine_fn_config_makefile dlls/localui/tests enable_tests
20633 wine_fn_config_makefile dlls/lz32 enable_lz32
20634 wine_fn_config_makefile dlls/lz32/tests enable_tests
20635 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20636 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20637 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20638 wine_fn_config_makefile dlls/mapistub enable_mapistub
20639 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20640 wine_fn_config_makefile dlls/mcicda enable_mcicda
20641 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20642 wine_fn_config_makefile dlls/mciseq enable_mciseq
20643 wine_fn_config_makefile dlls/mciwave enable_mciwave
20644 wine_fn_config_makefile dlls/mf enable_mf
20645 wine_fn_config_makefile dlls/mf/tests enable_tests
20646 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20647 wine_fn_config_makefile dlls/mferror enable_mferror
20648 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20649 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20650 wine_fn_config_makefile dlls/mfplat enable_mfplat
20651 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20652 wine_fn_config_makefile dlls/mfplay enable_mfplay
20653 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20654 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20655 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20656 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20657 wine_fn_config_makefile dlls/midimap enable_midimap
20658 wine_fn_config_makefile dlls/mlang enable_mlang
20659 wine_fn_config_makefile dlls/mlang/tests enable_tests
20660 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20661 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20662 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20663 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20664 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20665 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20666 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20667 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20668 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20669 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20670 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20671 wine_fn_config_makefile dlls/mpr enable_mpr
20672 wine_fn_config_makefile dlls/mpr/tests enable_tests
20673 wine_fn_config_makefile dlls/mprapi enable_mprapi
20674 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20675 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20676 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20677 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20678 wine_fn_config_makefile dlls/msado15 enable_msado15
20679 wine_fn_config_makefile dlls/msado15/tests enable_tests
20680 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20681 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20682 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20683 wine_fn_config_makefile dlls/mscms enable_mscms
20684 wine_fn_config_makefile dlls/mscms/tests enable_tests
20685 wine_fn_config_makefile dlls/mscoree enable_mscoree
20686 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20687 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20688 wine_fn_config_makefile dlls/msctf enable_msctf
20689 wine_fn_config_makefile dlls/msctf/tests enable_tests
20690 wine_fn_config_makefile dlls/msctfp enable_msctfp
20691 wine_fn_config_makefile dlls/msdaps enable_msdaps
20692 wine_fn_config_makefile dlls/msdelta enable_msdelta
20693 wine_fn_config_makefile dlls/msdmo enable_msdmo
20694 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20695 wine_fn_config_makefile dlls/msdrm enable_msdrm
20696 wine_fn_config_makefile dlls/msftedit enable_msftedit
20697 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20698 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20699 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20700 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20701 wine_fn_config_makefile dlls/mshtml enable_mshtml
20702 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20703 wine_fn_config_makefile dlls/msi enable_msi
20704 wine_fn_config_makefile dlls/msi/tests enable_tests
20705 wine_fn_config_makefile dlls/msident enable_msident
20706 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20707 wine_fn_config_makefile dlls/msimsg enable_msimsg
20708 wine_fn_config_makefile dlls/msimtf enable_msimtf
20709 wine_fn_config_makefile dlls/msisip enable_msisip
20710 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20711 wine_fn_config_makefile dlls/msls31 enable_msls31
20712 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20713 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20714 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20715 wine_fn_config_makefile dlls/msports enable_msports
20716 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20717 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20718 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20719 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20720 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20721 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20722 wine_fn_config_makefile dlls/mstask enable_mstask
20723 wine_fn_config_makefile dlls/mstask/tests enable_tests
20724 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20725 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20726 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20727 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20728 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20729 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20730 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20731 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20732 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20733 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20734 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20735 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20736 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20737 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20738 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20739 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20740 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20741 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20742 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20743 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20744 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20745 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20746 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20747 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20748 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20749 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20750 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20751 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20752 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20753 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20754 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20755 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20756 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20757 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20758 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20759 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20760 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20761 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20762 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20763 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20764 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20765 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20766 wine_fn_config_makefile dlls/mswsock enable_mswsock
20767 wine_fn_config_makefile dlls/msxml enable_msxml
20768 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20769 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20770 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20771 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20772 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20773 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20774 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20775 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20776 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20777 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20778 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20779 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20780 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20781 wine_fn_config_makefile dlls/netprofm enable_netprofm
20782 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20783 wine_fn_config_makefile dlls/newdev enable_newdev
20784 wine_fn_config_makefile dlls/ninput enable_ninput
20785 wine_fn_config_makefile dlls/ninput/tests enable_tests
20786 wine_fn_config_makefile dlls/normaliz enable_normaliz
20787 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20788 wine_fn_config_makefile dlls/npptools enable_npptools
20789 wine_fn_config_makefile dlls/ntdll enable_ntdll
20790 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20791 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20792 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20793 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20794 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20795 wine_fn_config_makefile dlls/ntprint enable_ntprint
20796 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20797 wine_fn_config_makefile dlls/objsel enable_objsel
20798 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20799 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20800 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20801 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20802 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20803 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20804 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20805 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20806 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20807 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20808 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20809 wine_fn_config_makefile dlls/ole32 enable_ole32
20810 wine_fn_config_makefile dlls/ole32/tests enable_tests
20811 wine_fn_config_makefile dlls/oleacc enable_oleacc
20812 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20813 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20814 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20815 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20816 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20817 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20818 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20819 wine_fn_config_makefile dlls/oledlg enable_oledlg
20820 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20821 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20822 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20823 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20824 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20825 wine_fn_config_makefile dlls/opcservices enable_opcservices
20826 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20827 wine_fn_config_makefile dlls/openal32 enable_openal32
20828 wine_fn_config_makefile dlls/opencl enable_opencl
20829 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20830 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20831 wine_fn_config_makefile dlls/packager enable_packager
20832 wine_fn_config_makefile dlls/packager/tests enable_tests
20833 wine_fn_config_makefile dlls/pdh enable_pdh
20834 wine_fn_config_makefile dlls/pdh/tests enable_tests
20835 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20836 wine_fn_config_makefile dlls/pidgen enable_pidgen
20837 wine_fn_config_makefile dlls/powrprof enable_powrprof
20838 wine_fn_config_makefile dlls/printui enable_printui
20839 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20840 wine_fn_config_makefile dlls/propsys enable_propsys
20841 wine_fn_config_makefile dlls/propsys/tests enable_tests
20842 wine_fn_config_makefile dlls/psapi enable_psapi
20843 wine_fn_config_makefile dlls/psapi/tests enable_tests
20844 wine_fn_config_makefile dlls/pstorec enable_pstorec
20845 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20846 wine_fn_config_makefile dlls/qasf enable_qasf
20847 wine_fn_config_makefile dlls/qasf/tests enable_tests
20848 wine_fn_config_makefile dlls/qcap enable_qcap
20849 wine_fn_config_makefile dlls/qcap/tests enable_tests
20850 wine_fn_config_makefile dlls/qedit enable_qedit
20851 wine_fn_config_makefile dlls/qedit/tests enable_tests
20852 wine_fn_config_makefile dlls/qmgr enable_qmgr
20853 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20854 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20855 wine_fn_config_makefile dlls/quartz enable_quartz
20856 wine_fn_config_makefile dlls/quartz/tests enable_tests
20857 wine_fn_config_makefile dlls/query enable_query
20858 wine_fn_config_makefile dlls/qwave enable_qwave
20859 wine_fn_config_makefile dlls/qwave/tests enable_tests
20860 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20861 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20862 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20863 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20864 wine_fn_config_makefile dlls/regapi enable_regapi
20865 wine_fn_config_makefile dlls/resutils enable_resutils
20866 wine_fn_config_makefile dlls/riched20 enable_riched20
20867 wine_fn_config_makefile dlls/riched20/tests enable_tests
20868 wine_fn_config_makefile dlls/riched32 enable_riched32
20869 wine_fn_config_makefile dlls/riched32/tests enable_tests
20870 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20871 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20872 wine_fn_config_makefile dlls/rsabase enable_rsabase
20873 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20874 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20875 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20876 wine_fn_config_makefile dlls/rtutils enable_rtutils
20877 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20878 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20879 wine_fn_config_makefile dlls/samlib enable_samlib
20880 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20881 wine_fn_config_makefile dlls/sapi enable_sapi
20882 wine_fn_config_makefile dlls/sapi/tests enable_tests
20883 wine_fn_config_makefile dlls/sas enable_sas
20884 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20885 wine_fn_config_makefile dlls/sccbase enable_sccbase
20886 wine_fn_config_makefile dlls/schannel enable_schannel
20887 wine_fn_config_makefile dlls/schannel/tests enable_tests
20888 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20889 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20890 wine_fn_config_makefile dlls/scrobj enable_scrobj
20891 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20892 wine_fn_config_makefile dlls/scrrun enable_scrrun
20893 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20894 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20895 wine_fn_config_makefile dlls/secur32 enable_secur32
20896 wine_fn_config_makefile dlls/secur32/tests enable_tests
20897 wine_fn_config_makefile dlls/security enable_security
20898 wine_fn_config_makefile dlls/sensapi enable_sensapi
20899 wine_fn_config_makefile dlls/serialui enable_serialui
20900 wine_fn_config_makefile dlls/serialui/tests enable_tests
20901 wine_fn_config_makefile dlls/setupapi enable_setupapi
20902 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20903 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20904 wine_fn_config_makefile dlls/sfc enable_sfc
20905 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20906 wine_fn_config_makefile dlls/shcore enable_shcore
20907 wine_fn_config_makefile dlls/shcore/tests enable_tests
20908 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20909 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20910 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20911 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20912 wine_fn_config_makefile dlls/shell32 enable_shell32
20913 wine_fn_config_makefile dlls/shell32/tests enable_tests
20914 wine_fn_config_makefile dlls/shfolder enable_shfolder
20915 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20916 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20917 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20918 wine_fn_config_makefile dlls/slc enable_slc
20919 wine_fn_config_makefile dlls/slc/tests enable_tests
20920 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20921 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20922 wine_fn_config_makefile dlls/softpub enable_softpub
20923 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20924 wine_fn_config_makefile dlls/spoolss enable_spoolss
20925 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20926 wine_fn_config_makefile dlls/srclient enable_srclient
20927 wine_fn_config_makefile dlls/sspicli enable_sspicli
20928 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20929 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20930 wine_fn_config_makefile dlls/sti enable_sti
20931 wine_fn_config_makefile dlls/sti/tests enable_tests
20932 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20933 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20934 wine_fn_config_makefile dlls/strmbase enable_strmbase
20935 wine_fn_config_makefile dlls/strmdll enable_strmdll
20936 wine_fn_config_makefile dlls/strmiids enable_strmiids
20937 wine_fn_config_makefile dlls/svrapi enable_svrapi
20938 wine_fn_config_makefile dlls/sxs enable_sxs
20939 wine_fn_config_makefile dlls/sxs/tests enable_tests
20940 wine_fn_config_makefile dlls/system.drv16 enable_win16
20941 wine_fn_config_makefile dlls/t2embed enable_t2embed
20942 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20943 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20944 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20945 wine_fn_config_makefile dlls/taskschd enable_taskschd
20946 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20947 wine_fn_config_makefile dlls/tdh enable_tdh
20948 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20949 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20950 wine_fn_config_makefile dlls/traffic enable_traffic
20951 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20952 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20953 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20954 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20955 wine_fn_config_makefile dlls/tzres enable_tzres
20956 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20957 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20958 wine_fn_config_makefile dlls/uianimation enable_uianimation
20959 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20960 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20961 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20962 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20963 wine_fn_config_makefile dlls/unicows enable_unicows
20964 wine_fn_config_makefile dlls/updspapi enable_updspapi
20965 wine_fn_config_makefile dlls/url enable_url
20966 wine_fn_config_makefile dlls/urlmon enable_urlmon
20967 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20968 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20969 wine_fn_config_makefile dlls/user.exe16 enable_win16
20970 wine_fn_config_makefile dlls/user32 enable_user32
20971 wine_fn_config_makefile dlls/user32/tests enable_tests
20972 wine_fn_config_makefile dlls/userenv enable_userenv
20973 wine_fn_config_makefile dlls/userenv/tests enable_tests
20974 wine_fn_config_makefile dlls/usp10 enable_usp10
20975 wine_fn_config_makefile dlls/usp10/tests enable_tests
20976 wine_fn_config_makefile dlls/utildll enable_utildll
20977 wine_fn_config_makefile dlls/uuid enable_uuid
20978 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20979 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20980 wine_fn_config_makefile dlls/vbscript enable_vbscript
20981 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20982 wine_fn_config_makefile dlls/vcomp enable_vcomp
20983 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20984 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20985 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20986 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20987 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20988 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20989 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20990 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20991 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20992 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20993 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20994 wine_fn_config_makefile dlls/version enable_version
20995 wine_fn_config_makefile dlls/version/tests enable_tests
20996 wine_fn_config_makefile dlls/vga enable_vga
20997 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20998 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20999 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21000 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21001 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21002 wine_fn_config_makefile dlls/vssapi enable_vssapi
21003 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21004 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21005 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21006 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21007 wine_fn_config_makefile dlls/w32skrnl enable_win16
21008 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21009 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21010 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21011 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21012 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21013 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21014 wine_fn_config_makefile dlls/wdscore enable_wdscore
21015 wine_fn_config_makefile dlls/webservices enable_webservices
21016 wine_fn_config_makefile dlls/webservices/tests enable_tests
21017 wine_fn_config_makefile dlls/wer enable_wer
21018 wine_fn_config_makefile dlls/wer/tests enable_tests
21019 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21020 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21021 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21022 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21023 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21024 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21025 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21026 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21027 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21028 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21029 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21030 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21031 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21032 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21033 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21034 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21035 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21036 wine_fn_config_makefile dlls/wined3d enable_wined3d
21037 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21038 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21039 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21040 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21041 wine_fn_config_makefile dlls/winemapi enable_winemapi
21042 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21043 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21044 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21045 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21046 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21047 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21048 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21049 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21050 wine_fn_config_makefile dlls/wing32 enable_wing32
21051 wine_fn_config_makefile dlls/winhttp enable_winhttp
21052 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21053 wine_fn_config_makefile dlls/wininet enable_wininet
21054 wine_fn_config_makefile dlls/wininet/tests enable_tests
21055 wine_fn_config_makefile dlls/winmm enable_winmm
21056 wine_fn_config_makefile dlls/winmm/tests enable_tests
21057 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21058 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21059 wine_fn_config_makefile dlls/winscard enable_winscard
21060 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21061 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21062 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21063 wine_fn_config_makefile dlls/winsta enable_winsta
21064 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21065 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21066 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21067 wine_fn_config_makefile dlls/wintrust enable_wintrust
21068 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21069 wine_fn_config_makefile dlls/winusb enable_winusb
21070 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21071 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21072 wine_fn_config_makefile dlls/wlanui enable_wlanui
21073 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21074 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21075 wine_fn_config_makefile dlls/wmasf enable_wmasf
21076 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21077 wine_fn_config_makefile dlls/wmi enable_wmi
21078 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21079 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21080 wine_fn_config_makefile dlls/wmp enable_wmp
21081 wine_fn_config_makefile dlls/wmp/tests enable_tests
21082 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21083 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21084 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21085 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21086 wine_fn_config_makefile dlls/wow32 enable_win16
21087 wine_fn_config_makefile dlls/wpc enable_wpc
21088 wine_fn_config_makefile dlls/wpc/tests enable_tests
21089 wine_fn_config_makefile dlls/wpcap enable_wpcap
21090 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21091 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21092 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21093 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21094 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21095 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21096 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21097 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21098 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21099 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21100 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21101 wine_fn_config_makefile dlls/wuapi enable_wuapi
21102 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21103 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21104 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21105 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21106 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21107 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21108 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21109 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21110 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21111 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21112 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21113 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21114 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21115 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21116 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21117 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21118 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21119 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21120 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21121 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21122 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21123 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21124 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21125 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21126 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21127 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21128 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21129 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21130 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21131 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21132 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21133 wine_fn_config_makefile dlls/xmllite enable_xmllite
21134 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21135 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21136 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21137 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21138 wine_fn_config_makefile fonts enable_fonts
21139 wine_fn_config_makefile include enable_include
21140 wine_fn_config_makefile libs/port enable_port
21141 wine_fn_config_makefile libs/wine enable_wine
21142 wine_fn_config_makefile libs/wpp enable_wpp
21143 wine_fn_config_makefile loader enable_loader
21144 wine_fn_config_makefile nls enable_nls
21145 wine_fn_config_makefile po enable_po
21146 wine_fn_config_makefile programs/arp enable_arp
21147 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21148 wine_fn_config_makefile programs/attrib enable_attrib
21149 wine_fn_config_makefile programs/cabarc enable_cabarc
21150 wine_fn_config_makefile programs/cacls enable_cacls
21151 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21152 wine_fn_config_makefile programs/clock enable_clock
21153 wine_fn_config_makefile programs/cmd enable_cmd
21154 wine_fn_config_makefile programs/cmd/tests enable_tests
21155 wine_fn_config_makefile programs/conhost enable_conhost
21156 wine_fn_config_makefile programs/control enable_control
21157 wine_fn_config_makefile programs/cscript enable_cscript
21158 wine_fn_config_makefile programs/dism enable_dism
21159 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21160 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21161 wine_fn_config_makefile programs/eject enable_eject
21162 wine_fn_config_makefile programs/expand enable_expand
21163 wine_fn_config_makefile programs/explorer enable_explorer
21164 wine_fn_config_makefile programs/extrac32 enable_extrac32
21165 wine_fn_config_makefile programs/fc enable_fc
21166 wine_fn_config_makefile programs/find enable_find
21167 wine_fn_config_makefile programs/find/tests enable_tests
21168 wine_fn_config_makefile programs/findstr enable_findstr
21169 wine_fn_config_makefile programs/fsutil enable_fsutil
21170 wine_fn_config_makefile programs/hh enable_hh
21171 wine_fn_config_makefile programs/hostname enable_hostname
21172 wine_fn_config_makefile programs/icacls enable_icacls
21173 wine_fn_config_makefile programs/icinfo enable_icinfo
21174 wine_fn_config_makefile programs/iexplore enable_iexplore
21175 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21176 wine_fn_config_makefile programs/lodctr enable_lodctr
21177 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21178 wine_fn_config_makefile programs/mshta enable_mshta
21179 wine_fn_config_makefile programs/msidb enable_msidb
21180 wine_fn_config_makefile programs/msiexec enable_msiexec
21181 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21182 wine_fn_config_makefile programs/net enable_net
21183 wine_fn_config_makefile programs/netsh enable_netsh
21184 wine_fn_config_makefile programs/netstat enable_netstat
21185 wine_fn_config_makefile programs/ngen enable_ngen
21186 wine_fn_config_makefile programs/notepad enable_notepad
21187 wine_fn_config_makefile programs/oleview enable_oleview
21188 wine_fn_config_makefile programs/ping enable_ping
21189 wine_fn_config_makefile programs/plugplay enable_plugplay
21190 wine_fn_config_makefile programs/powershell enable_powershell
21191 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21192 wine_fn_config_makefile programs/progman enable_progman
21193 wine_fn_config_makefile programs/reg enable_reg
21194 wine_fn_config_makefile programs/reg/tests enable_tests
21195 wine_fn_config_makefile programs/regasm enable_regasm
21196 wine_fn_config_makefile programs/regedit enable_regedit
21197 wine_fn_config_makefile programs/regedit/tests enable_tests
21198 wine_fn_config_makefile programs/regini enable_regini
21199 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21200 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21201 wine_fn_config_makefile programs/rpcss enable_rpcss
21202 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21203 wine_fn_config_makefile programs/rundll32 enable_rundll32
21204 wine_fn_config_makefile programs/sc enable_sc
21205 wine_fn_config_makefile programs/schtasks enable_schtasks
21206 wine_fn_config_makefile programs/schtasks/tests enable_tests
21207 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21208 wine_fn_config_makefile programs/secedit enable_secedit
21209 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21210 wine_fn_config_makefile programs/services enable_services
21211 wine_fn_config_makefile programs/services/tests enable_tests
21212 wine_fn_config_makefile programs/shutdown enable_shutdown
21213 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21214 wine_fn_config_makefile programs/start enable_start
21215 wine_fn_config_makefile programs/subst enable_subst
21216 wine_fn_config_makefile programs/svchost enable_svchost
21217 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21218 wine_fn_config_makefile programs/taskkill enable_taskkill
21219 wine_fn_config_makefile programs/tasklist enable_tasklist
21220 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21221 wine_fn_config_makefile programs/termsv enable_termsv
21222 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21223 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21224 wine_fn_config_makefile programs/view enable_view
21225 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21226 wine_fn_config_makefile programs/wineboot enable_wineboot
21227 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21228 wine_fn_config_makefile programs/winecfg enable_winecfg
21229 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21230 wine_fn_config_makefile programs/winedbg enable_winedbg
21231 wine_fn_config_makefile programs/winedevice enable_winedevice
21232 wine_fn_config_makefile programs/winefile enable_winefile
21233 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21234 wine_fn_config_makefile programs/winemine enable_winemine
21235 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21236 wine_fn_config_makefile programs/winepath enable_winepath
21237 wine_fn_config_makefile programs/winetest enable_winetest
21238 wine_fn_config_makefile programs/winevdm enable_win16
21239 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21240 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21241 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21242 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21243 wine_fn_config_makefile programs/winver enable_winver
21244 wine_fn_config_makefile programs/wmic enable_wmic
21245 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21246 wine_fn_config_makefile programs/wordpad enable_wordpad
21247 wine_fn_config_makefile programs/write enable_write
21248 wine_fn_config_makefile programs/wscript enable_wscript
21249 wine_fn_config_makefile programs/wscript/tests enable_tests
21250 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21251 wine_fn_config_makefile programs/wusa enable_wusa
21252 wine_fn_config_makefile programs/xcopy enable_xcopy
21253 wine_fn_config_makefile programs/xcopy/tests enable_tests
21254 wine_fn_config_makefile server enable_server
21255 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21256 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21257 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21258 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21259 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21260 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21261 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21262 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21263 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21266 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21267 wine_fn_append_file CONFIGURE_TARGETS "tags"
21268 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21269 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21270 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21271 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21272 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21273 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21275 if test "x$enable_tools" != xno
21276 then
21277 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21278 ac_config_commands="$ac_config_commands tools/makedep"
21282 ac_config_commands="$ac_config_commands Makefile"
21285 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21289 if test "x$enable_maintainer_mode" = xyes
21290 then
21291 wine_fn_append_rule "configure: configure.ac aclocal.m4
21292 autoconf --warnings=all
21293 include/config.h.in: include/stamp-h.in
21294 include/stamp-h.in: configure.ac aclocal.m4
21295 autoheader --warnings=all
21296 @echo timestamp > \$@"
21299 if test "x$enable_tools" != xno
21300 then
21301 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21302 @./config.status tools/makedep
21303 Makefile: tools/makedep$ac_exeext
21304 fonts: tools/sfnt2fon
21305 include: tools tools/widl"
21306 else
21307 wine_fn_append_rule "\$(MAKEDEP):
21308 @echo \"You need to run make in $TOOLSDIR first\" && false"
21311 if test -n "$with_wine64"
21312 then
21313 case "$with_wine64" in
21314 /*) reldir="" ;;
21315 *) reldir="../" ;;
21316 esac
21317 rm -f fonts server 2>/dev/null
21318 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21319 loader/wine64 loader/wine64-preloader:
21320 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21321 $with_wine64/loader/wine:
21322 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21323 $with_wine64/loader/wine-preloader:
21324 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21325 clean::
21326 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21327 else
21328 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21329 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21330 fonts \
21331 loader/wine.inf \
21332 loader/winebus.inf \
21333 loader/winehid.inf \
21334 nls \
21335 programs/msidb/msidb \
21336 programs/msiexec/msiexec \
21337 programs/notepad/notepad \
21338 programs/regedit/regedit \
21339 programs/regsvr32/regsvr32 \
21340 programs/wineboot/wineboot \
21341 programs/winecfg/winecfg \
21342 programs/wineconsole/wineconsole \
21343 programs/winedbg/winedbg \
21344 programs/winefile/winefile \
21345 programs/winemine/winemine \
21346 programs/winepath/winepath \
21347 server/wineserver"
21349 case $host_os in
21350 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21351 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21352 esac
21355 $as_echo " done" >&6
21356 cat >confcache <<\_ACEOF
21357 # This file is a shell script that caches the results of configure
21358 # tests run on this system so they can be shared between configure
21359 # scripts and configure runs, see configure's option --config-cache.
21360 # It is not useful on other systems. If it contains results you don't
21361 # want to keep, you may remove or edit it.
21363 # config.status only pays attention to the cache file if you give it
21364 # the --recheck option to rerun configure.
21366 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21367 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21368 # following values.
21370 _ACEOF
21372 # The following way of writing the cache mishandles newlines in values,
21373 # but we know of no workaround that is simple, portable, and efficient.
21374 # So, we kill variables containing newlines.
21375 # Ultrix sh set writes to stderr and can't be redirected directly,
21376 # and sets the high bit in the cache file unless we assign to the vars.
21378 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21379 eval ac_val=\$$ac_var
21380 case $ac_val in #(
21381 *${as_nl}*)
21382 case $ac_var in #(
21383 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21384 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21385 esac
21386 case $ac_var in #(
21387 _ | IFS | as_nl) ;; #(
21388 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21389 *) { eval $ac_var=; unset $ac_var;} ;;
21390 esac ;;
21391 esac
21392 done
21394 (set) 2>&1 |
21395 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21396 *${as_nl}ac_space=\ *)
21397 # `set' does not quote correctly, so add quotes: double-quote
21398 # substitution turns \\\\ into \\, and sed turns \\ into \.
21399 sed -n \
21400 "s/'/'\\\\''/g;
21401 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21402 ;; #(
21404 # `set' quotes correctly as required by POSIX, so do not add quotes.
21405 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21407 esac |
21408 sort
21410 sed '
21411 /^ac_cv_env_/b end
21412 t clear
21413 :clear
21414 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21415 t end
21416 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21417 :end' >>confcache
21418 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21419 if test -w "$cache_file"; then
21420 if test "x$cache_file" != "x/dev/null"; then
21421 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21422 $as_echo "$as_me: updating cache $cache_file" >&6;}
21423 if test ! -f "$cache_file" || test -h "$cache_file"; then
21424 cat confcache >"$cache_file"
21425 else
21426 case $cache_file in #(
21427 */* | ?:*)
21428 mv -f confcache "$cache_file"$$ &&
21429 mv -f "$cache_file"$$ "$cache_file" ;; #(
21431 mv -f confcache "$cache_file" ;;
21432 esac
21435 else
21436 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21437 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21440 rm -f confcache
21442 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21443 # Let make expand exec_prefix.
21444 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21446 DEFS=-DHAVE_CONFIG_H
21448 ac_libobjs=
21449 ac_ltlibobjs=
21451 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21452 # 1. Remove the extension, and $U if already installed.
21453 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21454 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21455 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21456 # will be set to the directory where LIBOBJS objects are built.
21457 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21458 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21459 done
21460 LIBOBJS=$ac_libobjs
21462 LTLIBOBJS=$ac_ltlibobjs
21466 : "${CONFIG_STATUS=./config.status}"
21467 ac_write_fail=0
21468 ac_clean_files_save=$ac_clean_files
21469 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21471 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21472 as_write_fail=0
21473 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21474 #! $SHELL
21475 # Generated by $as_me.
21476 # Run this file to recreate the current configuration.
21477 # Compiler output produced by configure, useful for debugging
21478 # configure, is in config.log if it exists.
21480 debug=false
21481 ac_cs_recheck=false
21482 ac_cs_silent=false
21484 SHELL=\${CONFIG_SHELL-$SHELL}
21485 export SHELL
21486 _ASEOF
21487 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21488 ## -------------------- ##
21489 ## M4sh Initialization. ##
21490 ## -------------------- ##
21492 # Be more Bourne compatible
21493 DUALCASE=1; export DUALCASE # for MKS sh
21494 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21495 emulate sh
21496 NULLCMD=:
21497 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21498 # is contrary to our usage. Disable this feature.
21499 alias -g '${1+"$@"}'='"$@"'
21500 setopt NO_GLOB_SUBST
21501 else
21502 case `(set -o) 2>/dev/null` in #(
21503 *posix*) :
21504 set -o posix ;; #(
21505 *) :
21507 esac
21511 as_nl='
21513 export as_nl
21514 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21515 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21516 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21517 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21518 # Prefer a ksh shell builtin over an external printf program on Solaris,
21519 # but without wasting forks for bash or zsh.
21520 if test -z "$BASH_VERSION$ZSH_VERSION" \
21521 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21522 as_echo='print -r --'
21523 as_echo_n='print -rn --'
21524 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21525 as_echo='printf %s\n'
21526 as_echo_n='printf %s'
21527 else
21528 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21529 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21530 as_echo_n='/usr/ucb/echo -n'
21531 else
21532 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21533 as_echo_n_body='eval
21534 arg=$1;
21535 case $arg in #(
21536 *"$as_nl"*)
21537 expr "X$arg" : "X\\(.*\\)$as_nl";
21538 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21539 esac;
21540 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21542 export as_echo_n_body
21543 as_echo_n='sh -c $as_echo_n_body as_echo'
21545 export as_echo_body
21546 as_echo='sh -c $as_echo_body as_echo'
21549 # The user is always right.
21550 if test "${PATH_SEPARATOR+set}" != set; then
21551 PATH_SEPARATOR=:
21552 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21553 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21554 PATH_SEPARATOR=';'
21559 # IFS
21560 # We need space, tab and new line, in precisely that order. Quoting is
21561 # there to prevent editors from complaining about space-tab.
21562 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21563 # splitting by setting IFS to empty value.)
21564 IFS=" "" $as_nl"
21566 # Find who we are. Look in the path if we contain no directory separator.
21567 as_myself=
21568 case $0 in #((
21569 *[\\/]* ) as_myself=$0 ;;
21570 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21571 for as_dir in $PATH
21573 IFS=$as_save_IFS
21574 test -z "$as_dir" && as_dir=.
21575 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21576 done
21577 IFS=$as_save_IFS
21580 esac
21581 # We did not find ourselves, most probably we were run as `sh COMMAND'
21582 # in which case we are not to be found in the path.
21583 if test "x$as_myself" = x; then
21584 as_myself=$0
21586 if test ! -f "$as_myself"; then
21587 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21588 exit 1
21591 # Unset variables that we do not need and which cause bugs (e.g. in
21592 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21593 # suppresses any "Segmentation fault" message there. '((' could
21594 # trigger a bug in pdksh 5.2.14.
21595 for as_var in BASH_ENV ENV MAIL MAILPATH
21596 do eval test x\${$as_var+set} = xset \
21597 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21598 done
21599 PS1='$ '
21600 PS2='> '
21601 PS4='+ '
21603 # NLS nuisances.
21604 LC_ALL=C
21605 export LC_ALL
21606 LANGUAGE=C
21607 export LANGUAGE
21609 # CDPATH.
21610 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21613 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21614 # ----------------------------------------
21615 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21616 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21617 # script with STATUS, using 1 if that was 0.
21618 as_fn_error ()
21620 as_status=$1; test $as_status -eq 0 && as_status=1
21621 if test "$4"; then
21622 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21623 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21625 $as_echo "$as_me: error: $2" >&2
21626 as_fn_exit $as_status
21627 } # as_fn_error
21630 # as_fn_set_status STATUS
21631 # -----------------------
21632 # Set $? to STATUS, without forking.
21633 as_fn_set_status ()
21635 return $1
21636 } # as_fn_set_status
21638 # as_fn_exit STATUS
21639 # -----------------
21640 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21641 as_fn_exit ()
21643 set +e
21644 as_fn_set_status $1
21645 exit $1
21646 } # as_fn_exit
21648 # as_fn_unset VAR
21649 # ---------------
21650 # Portably unset VAR.
21651 as_fn_unset ()
21653 { eval $1=; unset $1;}
21655 as_unset=as_fn_unset
21656 # as_fn_append VAR VALUE
21657 # ----------------------
21658 # Append the text in VALUE to the end of the definition contained in VAR. Take
21659 # advantage of any shell optimizations that allow amortized linear growth over
21660 # repeated appends, instead of the typical quadratic growth present in naive
21661 # implementations.
21662 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21663 eval 'as_fn_append ()
21665 eval $1+=\$2
21667 else
21668 as_fn_append ()
21670 eval $1=\$$1\$2
21672 fi # as_fn_append
21674 # as_fn_arith ARG...
21675 # ------------------
21676 # Perform arithmetic evaluation on the ARGs, and store the result in the
21677 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21678 # must be portable across $(()) and expr.
21679 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21680 eval 'as_fn_arith ()
21682 as_val=$(( $* ))
21684 else
21685 as_fn_arith ()
21687 as_val=`expr "$@" || test $? -eq 1`
21689 fi # as_fn_arith
21692 if expr a : '\(a\)' >/dev/null 2>&1 &&
21693 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21694 as_expr=expr
21695 else
21696 as_expr=false
21699 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21700 as_basename=basename
21701 else
21702 as_basename=false
21705 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21706 as_dirname=dirname
21707 else
21708 as_dirname=false
21711 as_me=`$as_basename -- "$0" ||
21712 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21713 X"$0" : 'X\(//\)$' \| \
21714 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21715 $as_echo X/"$0" |
21716 sed '/^.*\/\([^/][^/]*\)\/*$/{
21717 s//\1/
21720 /^X\/\(\/\/\)$/{
21721 s//\1/
21724 /^X\/\(\/\).*/{
21725 s//\1/
21728 s/.*/./; q'`
21730 # Avoid depending upon Character Ranges.
21731 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21732 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21733 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21734 as_cr_digits='0123456789'
21735 as_cr_alnum=$as_cr_Letters$as_cr_digits
21737 ECHO_C= ECHO_N= ECHO_T=
21738 case `echo -n x` in #(((((
21739 -n*)
21740 case `echo 'xy\c'` in
21741 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21742 xy) ECHO_C='\c';;
21743 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21744 ECHO_T=' ';;
21745 esac;;
21747 ECHO_N='-n';;
21748 esac
21750 rm -f conf$$ conf$$.exe conf$$.file
21751 if test -d conf$$.dir; then
21752 rm -f conf$$.dir/conf$$.file
21753 else
21754 rm -f conf$$.dir
21755 mkdir conf$$.dir 2>/dev/null
21757 if (echo >conf$$.file) 2>/dev/null; then
21758 if ln -s conf$$.file conf$$ 2>/dev/null; then
21759 as_ln_s='ln -s'
21760 # ... but there are two gotchas:
21761 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21762 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21763 # In both cases, we have to default to `cp -pR'.
21764 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21765 as_ln_s='cp -pR'
21766 elif ln conf$$.file conf$$ 2>/dev/null; then
21767 as_ln_s=ln
21768 else
21769 as_ln_s='cp -pR'
21771 else
21772 as_ln_s='cp -pR'
21774 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21775 rmdir conf$$.dir 2>/dev/null
21778 # as_fn_mkdir_p
21779 # -------------
21780 # Create "$as_dir" as a directory, including parents if necessary.
21781 as_fn_mkdir_p ()
21784 case $as_dir in #(
21785 -*) as_dir=./$as_dir;;
21786 esac
21787 test -d "$as_dir" || eval $as_mkdir_p || {
21788 as_dirs=
21789 while :; do
21790 case $as_dir in #(
21791 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21792 *) as_qdir=$as_dir;;
21793 esac
21794 as_dirs="'$as_qdir' $as_dirs"
21795 as_dir=`$as_dirname -- "$as_dir" ||
21796 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21797 X"$as_dir" : 'X\(//\)[^/]' \| \
21798 X"$as_dir" : 'X\(//\)$' \| \
21799 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21800 $as_echo X"$as_dir" |
21801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21802 s//\1/
21805 /^X\(\/\/\)[^/].*/{
21806 s//\1/
21809 /^X\(\/\/\)$/{
21810 s//\1/
21813 /^X\(\/\).*/{
21814 s//\1/
21817 s/.*/./; q'`
21818 test -d "$as_dir" && break
21819 done
21820 test -z "$as_dirs" || eval "mkdir $as_dirs"
21821 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21824 } # as_fn_mkdir_p
21825 if mkdir -p . 2>/dev/null; then
21826 as_mkdir_p='mkdir -p "$as_dir"'
21827 else
21828 test -d ./-p && rmdir ./-p
21829 as_mkdir_p=false
21833 # as_fn_executable_p FILE
21834 # -----------------------
21835 # Test if FILE is an executable regular file.
21836 as_fn_executable_p ()
21838 test -f "$1" && test -x "$1"
21839 } # as_fn_executable_p
21840 as_test_x='test -x'
21841 as_executable_p=as_fn_executable_p
21843 # Sed expression to map a string onto a valid CPP name.
21844 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21846 # Sed expression to map a string onto a valid variable name.
21847 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21850 exec 6>&1
21851 ## ----------------------------------- ##
21852 ## Main body of $CONFIG_STATUS script. ##
21853 ## ----------------------------------- ##
21854 _ASEOF
21855 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21858 # Save the log message, to keep $0 and so on meaningful, and to
21859 # report actual input values of CONFIG_FILES etc. instead of their
21860 # values after options handling.
21861 ac_log="
21862 This file was extended by Wine $as_me 5.2, which was
21863 generated by GNU Autoconf 2.69. Invocation command line was
21865 CONFIG_FILES = $CONFIG_FILES
21866 CONFIG_HEADERS = $CONFIG_HEADERS
21867 CONFIG_LINKS = $CONFIG_LINKS
21868 CONFIG_COMMANDS = $CONFIG_COMMANDS
21869 $ $0 $@
21871 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21874 _ACEOF
21876 case $ac_config_files in *"
21877 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21878 esac
21880 case $ac_config_headers in *"
21881 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21882 esac
21885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21886 # Files that config.status was made for.
21887 config_files="$ac_config_files"
21888 config_headers="$ac_config_headers"
21889 config_links="$ac_config_links"
21890 config_commands="$ac_config_commands"
21892 _ACEOF
21894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21895 ac_cs_usage="\
21896 \`$as_me' instantiates files and other configuration actions
21897 from templates according to the current configuration. Unless the files
21898 and actions are specified as TAGs, all are instantiated by default.
21900 Usage: $0 [OPTION]... [TAG]...
21902 -h, --help print this help, then exit
21903 -V, --version print version number and configuration settings, then exit
21904 --config print configuration, then exit
21905 -q, --quiet, --silent
21906 do not print progress messages
21907 -d, --debug don't remove temporary files
21908 --recheck update $as_me by reconfiguring in the same conditions
21909 --file=FILE[:TEMPLATE]
21910 instantiate the configuration file FILE
21911 --header=FILE[:TEMPLATE]
21912 instantiate the configuration header FILE
21914 Configuration files:
21915 $config_files
21917 Configuration headers:
21918 $config_headers
21920 Configuration links:
21921 $config_links
21923 Configuration commands:
21924 $config_commands
21926 Report bugs to <wine-devel@winehq.org>.
21927 Wine home page: <https://www.winehq.org>."
21929 _ACEOF
21930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21931 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21932 ac_cs_version="\\
21933 Wine config.status 5.2
21934 configured by $0, generated by GNU Autoconf 2.69,
21935 with options \\"\$ac_cs_config\\"
21937 Copyright (C) 2012 Free Software Foundation, Inc.
21938 This config.status script is free software; the Free Software Foundation
21939 gives unlimited permission to copy, distribute and modify it."
21941 ac_pwd='$ac_pwd'
21942 srcdir='$srcdir'
21943 test -n "\$AWK" || AWK=awk
21944 _ACEOF
21946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21947 # The default lists apply if the user does not specify any file.
21948 ac_need_defaults=:
21949 while test $# != 0
21951 case $1 in
21952 --*=?*)
21953 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21954 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21955 ac_shift=:
21957 --*=)
21958 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21959 ac_optarg=
21960 ac_shift=:
21963 ac_option=$1
21964 ac_optarg=$2
21965 ac_shift=shift
21967 esac
21969 case $ac_option in
21970 # Handling of the options.
21971 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21972 ac_cs_recheck=: ;;
21973 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21974 $as_echo "$ac_cs_version"; exit ;;
21975 --config | --confi | --conf | --con | --co | --c )
21976 $as_echo "$ac_cs_config"; exit ;;
21977 --debug | --debu | --deb | --de | --d | -d )
21978 debug=: ;;
21979 --file | --fil | --fi | --f )
21980 $ac_shift
21981 case $ac_optarg in
21982 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21983 '') as_fn_error $? "missing file argument" ;;
21984 esac
21985 as_fn_append CONFIG_FILES " '$ac_optarg'"
21986 ac_need_defaults=false;;
21987 --header | --heade | --head | --hea )
21988 $ac_shift
21989 case $ac_optarg in
21990 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21991 esac
21992 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21993 ac_need_defaults=false;;
21994 --he | --h)
21995 # Conflict between --help and --header
21996 as_fn_error $? "ambiguous option: \`$1'
21997 Try \`$0 --help' for more information.";;
21998 --help | --hel | -h )
21999 $as_echo "$ac_cs_usage"; exit ;;
22000 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22001 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22002 ac_cs_silent=: ;;
22004 # This is an error.
22005 -*) as_fn_error $? "unrecognized option: \`$1'
22006 Try \`$0 --help' for more information." ;;
22008 *) as_fn_append ac_config_targets " $1"
22009 ac_need_defaults=false ;;
22011 esac
22012 shift
22013 done
22015 ac_configure_extra_args=
22017 if $ac_cs_silent; then
22018 exec 6>/dev/null
22019 ac_configure_extra_args="$ac_configure_extra_args --silent"
22022 _ACEOF
22023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22024 if \$ac_cs_recheck; then
22025 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22026 shift
22027 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22028 CONFIG_SHELL='$SHELL'
22029 export CONFIG_SHELL
22030 exec "\$@"
22033 _ACEOF
22034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22035 exec 5>>config.log
22037 echo
22038 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22039 ## Running $as_me. ##
22040 _ASBOX
22041 $as_echo "$ac_log"
22042 } >&5
22044 _ACEOF
22045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22047 # INIT-COMMANDS
22049 wine_fn_output_makedep ()
22051 as_dir=tools; as_fn_mkdir_p
22052 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22054 wine_fn_output_makefile ()
22056 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22057 `cat $wine_rules_file`
22058 _WINE_EOF
22059 as_fn_error $? "could not create Makefile" "$LINENO" 5
22062 _ACEOF
22064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22066 # Handling of arguments.
22067 for ac_config_target in $ac_config_targets
22069 case $ac_config_target in
22070 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22071 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22072 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22073 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22074 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22075 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22076 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22078 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22079 esac
22080 done
22083 # If the user did not use the arguments to specify the items to instantiate,
22084 # then the envvar interface is used. Set only those that are not.
22085 # We use the long form for the default assignment because of an extremely
22086 # bizarre bug on SunOS 4.1.3.
22087 if $ac_need_defaults; then
22088 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22089 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22090 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22091 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22094 # Have a temporary directory for convenience. Make it in the build tree
22095 # simply because there is no reason against having it here, and in addition,
22096 # creating and moving files from /tmp can sometimes cause problems.
22097 # Hook for its removal unless debugging.
22098 # Note that there is a small window in which the directory will not be cleaned:
22099 # after its creation but before its name has been assigned to `$tmp'.
22100 $debug ||
22102 tmp= ac_tmp=
22103 trap 'exit_status=$?
22104 : "${ac_tmp:=$tmp}"
22105 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22107 trap 'as_fn_exit 1' 1 2 13 15
22109 # Create a (secure) tmp directory for tmp files.
22112 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22113 test -d "$tmp"
22114 } ||
22116 tmp=./conf$$-$RANDOM
22117 (umask 077 && mkdir "$tmp")
22118 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22119 ac_tmp=$tmp
22121 # Set up the scripts for CONFIG_FILES section.
22122 # No need to generate them if there are no CONFIG_FILES.
22123 # This happens for instance with `./config.status config.h'.
22124 if test -n "$CONFIG_FILES"; then
22127 ac_cr=`echo X | tr X '\015'`
22128 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22129 # But we know of no other shell where ac_cr would be empty at this
22130 # point, so we can use a bashism as a fallback.
22131 if test "x$ac_cr" = x; then
22132 eval ac_cr=\$\'\\r\'
22134 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22135 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22136 ac_cs_awk_cr='\\r'
22137 else
22138 ac_cs_awk_cr=$ac_cr
22141 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22142 _ACEOF
22146 echo "cat >conf$$subs.awk <<_ACEOF" &&
22147 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22148 echo "_ACEOF"
22149 } >conf$$subs.sh ||
22150 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22151 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22152 ac_delim='%!_!# '
22153 for ac_last_try in false false false false false :; do
22154 . ./conf$$subs.sh ||
22155 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22157 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22158 if test $ac_delim_n = $ac_delim_num; then
22159 break
22160 elif $ac_last_try; then
22161 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22162 else
22163 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22165 done
22166 rm -f conf$$subs.sh
22168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22169 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22170 _ACEOF
22171 sed -n '
22173 s/^/S["/; s/!.*/"]=/
22176 s/^[^!]*!//
22177 :repl
22178 t repl
22179 s/'"$ac_delim"'$//
22180 t delim
22183 s/\(.\{148\}\)..*/\1/
22184 t more1
22185 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22188 b repl
22189 :more1
22190 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22193 s/.\{148\}//
22194 t nl
22195 :delim
22197 s/\(.\{148\}\)..*/\1/
22198 t more2
22199 s/["\\]/\\&/g; s/^/"/; s/$/"/
22202 :more2
22203 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22206 s/.\{148\}//
22207 t delim
22208 ' <conf$$subs.awk | sed '
22209 /^[^""]/{
22211 s/\n//
22213 ' >>$CONFIG_STATUS || ac_write_fail=1
22214 rm -f conf$$subs.awk
22215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22216 _ACAWK
22217 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22218 for (key in S) S_is_set[key] = 1
22219 FS = "\a"
22223 line = $ 0
22224 nfields = split(line, field, "@")
22225 substed = 0
22226 len = length(field[1])
22227 for (i = 2; i < nfields; i++) {
22228 key = field[i]
22229 keylen = length(key)
22230 if (S_is_set[key]) {
22231 value = S[key]
22232 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22233 len += length(value) + length(field[++i])
22234 substed = 1
22235 } else
22236 len += 1 + keylen
22239 print line
22242 _ACAWK
22243 _ACEOF
22244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22245 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22246 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22247 else
22249 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22250 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22251 _ACEOF
22253 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22254 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22255 # trailing colons and then remove the whole line if VPATH becomes empty
22256 # (actually we leave an empty line to preserve line numbers).
22257 if test "x$srcdir" = x.; then
22258 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22260 s///
22261 s/^/:/
22262 s/[ ]*$/:/
22263 s/:\$(srcdir):/:/g
22264 s/:\${srcdir}:/:/g
22265 s/:@srcdir@:/:/g
22266 s/^:*//
22267 s/:*$//
22269 s/\(=[ ]*\).*/\1/
22271 s/\n//
22272 s/^[^=]*=[ ]*$//
22276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22277 fi # test -n "$CONFIG_FILES"
22279 # Set up the scripts for CONFIG_HEADERS section.
22280 # No need to generate them if there are no CONFIG_HEADERS.
22281 # This happens for instance with `./config.status Makefile'.
22282 if test -n "$CONFIG_HEADERS"; then
22283 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22284 BEGIN {
22285 _ACEOF
22287 # Transform confdefs.h into an awk script `defines.awk', embedded as
22288 # here-document in config.status, that substitutes the proper values into
22289 # config.h.in to produce config.h.
22291 # Create a delimiter string that does not exist in confdefs.h, to ease
22292 # handling of long lines.
22293 ac_delim='%!_!# '
22294 for ac_last_try in false false :; do
22295 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22296 if test -z "$ac_tt"; then
22297 break
22298 elif $ac_last_try; then
22299 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22300 else
22301 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22303 done
22305 # For the awk script, D is an array of macro values keyed by name,
22306 # likewise P contains macro parameters if any. Preserve backslash
22307 # newline sequences.
22309 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22310 sed -n '
22311 s/.\{148\}/&'"$ac_delim"'/g
22312 t rset
22313 :rset
22314 s/^[ ]*#[ ]*define[ ][ ]*/ /
22315 t def
22317 :def
22318 s/\\$//
22319 t bsnl
22320 s/["\\]/\\&/g
22321 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22322 D["\1"]=" \3"/p
22323 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22325 :bsnl
22326 s/["\\]/\\&/g
22327 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22328 D["\1"]=" \3\\\\\\n"\\/p
22329 t cont
22330 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22331 t cont
22333 :cont
22335 s/.\{148\}/&'"$ac_delim"'/g
22336 t clear
22337 :clear
22338 s/\\$//
22339 t bsnlc
22340 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22342 :bsnlc
22343 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22344 b cont
22345 ' <confdefs.h | sed '
22346 s/'"$ac_delim"'/"\\\
22347 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22350 for (key in D) D_is_set[key] = 1
22351 FS = "\a"
22353 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22354 line = \$ 0
22355 split(line, arg, " ")
22356 if (arg[1] == "#") {
22357 defundef = arg[2]
22358 mac1 = arg[3]
22359 } else {
22360 defundef = substr(arg[1], 2)
22361 mac1 = arg[2]
22363 split(mac1, mac2, "(") #)
22364 macro = mac2[1]
22365 prefix = substr(line, 1, index(line, defundef) - 1)
22366 if (D_is_set[macro]) {
22367 # Preserve the white space surrounding the "#".
22368 print prefix "define", macro P[macro] D[macro]
22369 next
22370 } else {
22371 # Replace #undef with comments. This is necessary, for example,
22372 # in the case of _POSIX_SOURCE, which is predefined and required
22373 # on some systems where configure will not decide to define it.
22374 if (defundef == "undef") {
22375 print "/*", prefix defundef, macro, "*/"
22376 next
22380 { print }
22381 _ACAWK
22382 _ACEOF
22383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22384 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22385 fi # test -n "$CONFIG_HEADERS"
22388 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22389 shift
22390 for ac_tag
22392 case $ac_tag in
22393 :[FHLC]) ac_mode=$ac_tag; continue;;
22394 esac
22395 case $ac_mode$ac_tag in
22396 :[FHL]*:*);;
22397 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22398 :[FH]-) ac_tag=-:-;;
22399 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22400 esac
22401 ac_save_IFS=$IFS
22402 IFS=:
22403 set x $ac_tag
22404 IFS=$ac_save_IFS
22405 shift
22406 ac_file=$1
22407 shift
22409 case $ac_mode in
22410 :L) ac_source=$1;;
22411 :[FH])
22412 ac_file_inputs=
22413 for ac_f
22415 case $ac_f in
22416 -) ac_f="$ac_tmp/stdin";;
22417 *) # Look for the file first in the build tree, then in the source tree
22418 # (if the path is not absolute). The absolute path cannot be DOS-style,
22419 # because $ac_f cannot contain `:'.
22420 test -f "$ac_f" ||
22421 case $ac_f in
22422 [\\/$]*) false;;
22423 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22424 esac ||
22425 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22426 esac
22427 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22428 as_fn_append ac_file_inputs " '$ac_f'"
22429 done
22431 # Let's still pretend it is `configure' which instantiates (i.e., don't
22432 # use $as_me), people would be surprised to read:
22433 # /* config.h. Generated by config.status. */
22434 configure_input='Generated from '`
22435 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22436 `' by configure.'
22437 if test x"$ac_file" != x-; then
22438 configure_input="$ac_file. $configure_input"
22439 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22440 $as_echo "$as_me: creating $ac_file" >&6;}
22442 # Neutralize special characters interpreted by sed in replacement strings.
22443 case $configure_input in #(
22444 *\&* | *\|* | *\\* )
22445 ac_sed_conf_input=`$as_echo "$configure_input" |
22446 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22447 *) ac_sed_conf_input=$configure_input;;
22448 esac
22450 case $ac_tag in
22451 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22452 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22453 esac
22455 esac
22457 ac_dir=`$as_dirname -- "$ac_file" ||
22458 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22459 X"$ac_file" : 'X\(//\)[^/]' \| \
22460 X"$ac_file" : 'X\(//\)$' \| \
22461 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22462 $as_echo X"$ac_file" |
22463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22464 s//\1/
22467 /^X\(\/\/\)[^/].*/{
22468 s//\1/
22471 /^X\(\/\/\)$/{
22472 s//\1/
22475 /^X\(\/\).*/{
22476 s//\1/
22479 s/.*/./; q'`
22480 as_dir="$ac_dir"; as_fn_mkdir_p
22481 ac_builddir=.
22483 case "$ac_dir" in
22484 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22486 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22487 # A ".." for each directory in $ac_dir_suffix.
22488 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22489 case $ac_top_builddir_sub in
22490 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22491 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22492 esac ;;
22493 esac
22494 ac_abs_top_builddir=$ac_pwd
22495 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22496 # for backward compatibility:
22497 ac_top_builddir=$ac_top_build_prefix
22499 case $srcdir in
22500 .) # We are building in place.
22501 ac_srcdir=.
22502 ac_top_srcdir=$ac_top_builddir_sub
22503 ac_abs_top_srcdir=$ac_pwd ;;
22504 [\\/]* | ?:[\\/]* ) # Absolute name.
22505 ac_srcdir=$srcdir$ac_dir_suffix;
22506 ac_top_srcdir=$srcdir
22507 ac_abs_top_srcdir=$srcdir ;;
22508 *) # Relative name.
22509 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22510 ac_top_srcdir=$ac_top_build_prefix$srcdir
22511 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22512 esac
22513 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22516 case $ac_mode in
22519 # CONFIG_FILE
22522 _ACEOF
22524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22525 # If the template does not know about datarootdir, expand it.
22526 # FIXME: This hack should be removed a few years after 2.60.
22527 ac_datarootdir_hack=; ac_datarootdir_seen=
22528 ac_sed_dataroot='
22529 /datarootdir/ {
22533 /@datadir@/p
22534 /@docdir@/p
22535 /@infodir@/p
22536 /@localedir@/p
22537 /@mandir@/p'
22538 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22539 *datarootdir*) ac_datarootdir_seen=yes;;
22540 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22542 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22543 _ACEOF
22544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22545 ac_datarootdir_hack='
22546 s&@datadir@&$datadir&g
22547 s&@docdir@&$docdir&g
22548 s&@infodir@&$infodir&g
22549 s&@localedir@&$localedir&g
22550 s&@mandir@&$mandir&g
22551 s&\\\${datarootdir}&$datarootdir&g' ;;
22552 esac
22553 _ACEOF
22555 # Neutralize VPATH when `$srcdir' = `.'.
22556 # Shell code in configure.ac might set extrasub.
22557 # FIXME: do we really want to maintain this feature?
22558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22559 ac_sed_extra="$ac_vpsub
22560 $extrasub
22561 _ACEOF
22562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22564 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22565 s|@configure_input@|$ac_sed_conf_input|;t t
22566 s&@top_builddir@&$ac_top_builddir_sub&;t t
22567 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22568 s&@srcdir@&$ac_srcdir&;t t
22569 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22570 s&@top_srcdir@&$ac_top_srcdir&;t t
22571 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22572 s&@builddir@&$ac_builddir&;t t
22573 s&@abs_builddir@&$ac_abs_builddir&;t t
22574 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22575 $ac_datarootdir_hack
22577 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22578 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22580 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22581 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22582 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22583 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22585 which seems to be undefined. Please make sure it is defined" >&5
22586 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22587 which seems to be undefined. Please make sure it is defined" >&2;}
22589 rm -f "$ac_tmp/stdin"
22590 case $ac_file in
22591 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22592 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22593 esac \
22594 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22598 # CONFIG_HEADER
22600 if test x"$ac_file" != x-; then
22602 $as_echo "/* $configure_input */" \
22603 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22604 } >"$ac_tmp/config.h" \
22605 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22606 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22607 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22608 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22609 else
22610 rm -f "$ac_file"
22611 mv "$ac_tmp/config.h" "$ac_file" \
22612 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22614 else
22615 $as_echo "/* $configure_input */" \
22616 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22617 || as_fn_error $? "could not create -" "$LINENO" 5
22622 # CONFIG_LINK
22625 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22627 else
22628 # Prefer the file from the source tree if names are identical.
22629 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22630 ac_source=$srcdir/$ac_source
22633 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22634 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22636 if test ! -r "$ac_source"; then
22637 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22639 rm -f "$ac_file"
22641 # Try a relative symlink, then a hard link, then a copy.
22642 case $ac_source in
22643 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22644 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22645 esac
22646 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22647 ln "$ac_source" "$ac_file" 2>/dev/null ||
22648 cp -p "$ac_source" "$ac_file" ||
22649 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22652 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22653 $as_echo "$as_me: executing $ac_file commands" >&6;}
22655 esac
22658 case $ac_file$ac_mode in
22659 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22660 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22661 "Makefile":C) wine_fn_output_makefile Makefile ;;
22663 esac
22664 done # for ac_tag
22667 as_fn_exit 0
22668 _ACEOF
22669 ac_clean_files=$ac_clean_files_save
22671 test $ac_write_fail = 0 ||
22672 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22675 # configure is writing to config.log, and then calls config.status.
22676 # config.status does its own redirection, appending to config.log.
22677 # Unfortunately, on DOS this fails, as config.log is still kept open
22678 # by configure, so config.status won't be able to write to it; its
22679 # output is simply discarded. So we exec the FD to /dev/null,
22680 # effectively closing config.log, so it can be properly (re)opened and
22681 # appended to by config.status. When coming back to configure, we
22682 # need to make the FD available again.
22683 if test "$no_create" != yes; then
22684 ac_cs_success=:
22685 ac_config_status_args=
22686 test "$silent" = yes &&
22687 ac_config_status_args="$ac_config_status_args --quiet"
22688 exec 5>/dev/null
22689 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22690 exec 5>>config.log
22691 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22692 # would make configure fail if this is the last instruction.
22693 $ac_cs_success || as_fn_exit 1
22695 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22697 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22701 if test "$no_create" = "yes"
22702 then
22703 exit 0
22706 ac_save_IFS="$IFS"
22707 if test "x$wine_notices" != x; then
22708 echo >&6
22709 IFS="|"
22710 for msg in $wine_notices; do
22711 IFS="$ac_save_IFS"
22712 if ${msg:+false} :; then :
22714 else
22715 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22716 $as_echo "$as_me: $msg" >&6;}
22718 done
22720 IFS="|"
22721 for msg in $wine_warnings; do
22722 IFS="$ac_save_IFS"
22723 if ${msg:+false} :; then :
22725 else
22726 echo >&2
22727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22728 $as_echo "$as_me: WARNING: $msg" >&2;}
22730 done
22731 IFS="$ac_save_IFS"
22733 $as_echo "
22734 $as_me: Finished. Do '${ac_make}' to compile Wine.
22735 " >&6