msvcrt: Implement _get_environ and _get_wenviron.
[wine.git] / configure
bloba7c072bfddc45bf86606f985a19b46667f094dc0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.5.
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='4.5'
584 PACKAGE_STRING='Wine 4.5'
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 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 VKD3D_LIBS
639 VKD3D_CFLAGS
640 NETAPI_LIBS
641 NETAPI_CFLAGS
642 PROCSTAT_LIBS
643 KSTAT_LIBS
644 MPG123_LIBS
645 MPG123_CFLAGS
646 TIFF_LIBS
647 TIFF_CFLAGS
648 PNG_LIBS
649 PNG_CFLAGS
650 JPEG_LIBS
651 JPEG_CFLAGS
652 GSSAPI_LIBS
653 GSSAPI_CFLAGS
654 KRB5_LIBS
655 KRB5_CFLAGS
656 FONTCONFIG_LIBS
657 FONTCONFIG_CFLAGS
658 CUPS_LIBS
659 CUPS_CFLAGS
660 CAPI20_LIBS
661 CAPI20_CFLAGS
662 FAUDIO_LIBS
663 FAUDIO_CFLAGS
664 SDL2_LIBS
665 SDL2_CFLAGS
666 UDEV_LIBS
667 UDEV_CFLAGS
668 OSS4_CFLAGS
669 ALSA_LIBS
670 GSTREAMER_LIBS
671 GSTREAMER_CFLAGS
672 PULSE_LIBS
673 PULSE_CFLAGS
674 GETTEXTPO_LIBS
675 Z_LIBS
676 FREETYPE_LIBS
677 FREETYPE_CFLAGS
678 LCMS2_LIBS
679 LCMS2_CFLAGS
680 RESOLV_LIBS
681 GPHOTO2_PORT_LIBS
682 GPHOTO2_PORT_CFLAGS
683 GPHOTO2_LIBS
684 GPHOTO2_CFLAGS
685 SANE_LIBS
686 SANE_CFLAGS
687 GNUTLS_LIBS
688 GNUTLS_CFLAGS
689 HAL_LIBS
690 HAL_CFLAGS
691 DBUS_LIBS
692 DBUS_CFLAGS
693 XSLT_LIBS
694 XSLT_CFLAGS
695 XML2_LIBS
696 XML2_CFLAGS
697 PCAP_LIBS
698 X_EXTRA_LIBS
699 X_LIBS
700 X_PRE_LIBS
701 X_CFLAGS
702 XMKMF
703 PTHREAD_LIBS
704 EXTRACROSSCFLAGS
705 CROSSCFLAGS
706 CROSSCC
707 CROSSTARGET
708 LIBWINE_DEPENDS
709 PRELINK
710 WINELOADER_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_SHAREDLIB
713 METAL_LIBS
714 CARBON_LIBS
715 QUICKTIME_LIBS
716 OPENCL_LIBS
717 OPENAL_LIBS
718 COREAUDIO_LIBS
719 SECURITY_LIBS
720 DISKARBITRATION_LIBS
721 APPKIT_LIBS
722 CORESERVICES_LIBS
723 APPLICATIONSERVICES_LIBS
724 FORCEFEEDBACK_LIBS
725 IOKIT_LIBS
726 COREFOUNDATION_LIBS
727 OBJCPP
728 ac_ct_OBJC
729 OBJCFLAGS
730 OBJC
731 DLLTOOL
732 WINELOADER_PROGRAMS
733 CONFIGURE_TARGETS
734 DISABLED_SUBDIRS
735 SUBDIRS
736 READELF
737 OTOOL
739 WINEPRELOADER_LDFLAGS
740 WINELOADER_LDFLAGS
741 TOP_INSTALL_DEV
742 TOP_INSTALL_LIB
743 LDEXECFLAGS
744 LDRPATH_LOCAL
745 LDRPATH_INSTALL
746 DLLFLAGS
748 OPENGL_LIBS
749 ICOTOOL
750 CONVERT
751 RSVG
752 FONTFORGE
753 PKG_CONFIG
754 MSGFMT
755 LDCONFIG
756 EGREP
757 GREP
758 LN_S
759 RANLIB
760 STRIP
761 ac_ct_AR
763 BISON
764 FLEX
765 TOOLSDIR
766 TARGETFLAGS
768 CPPBIN
769 ac_ct_CXX
770 CXXFLAGS
772 OBJEXT
773 EXEEXT
774 ac_ct_CC
775 CPPFLAGS
776 LDFLAGS
777 CFLAGS
779 SET_MAKE
780 host_os
781 host_vendor
782 host_cpu
783 host
784 build_os
785 build_vendor
786 build_cpu
787 build
788 target_alias
789 host_alias
790 build_alias
791 LIBS
792 ECHO_T
793 ECHO_N
794 ECHO_C
795 DEFS
796 mandir
797 localedir
798 libdir
799 psdir
800 pdfdir
801 dvidir
802 htmldir
803 infodir
804 docdir
805 oldincludedir
806 includedir
807 runstatedir
808 localstatedir
809 sharedstatedir
810 sysconfdir
811 datadir
812 datarootdir
813 libexecdir
814 sbindir
815 bindir
816 program_transform_name
817 prefix
818 exec_prefix
819 PACKAGE_URL
820 PACKAGE_BUGREPORT
821 PACKAGE_STRING
822 PACKAGE_VERSION
823 PACKAGE_TARNAME
824 PACKAGE_NAME
825 PATH_SEPARATOR
826 SHELL'
827 ac_subst_files=''
828 ac_user_opts='
829 enable_option_checking
830 enable_win16
831 enable_win64
832 enable_tests
833 enable_maintainer_mode
834 with_alsa
835 with_capi
836 with_cms
837 with_coreaudio
838 with_cups
839 with_curses
840 with_dbus
841 with_faudio
842 with_float_abi
843 with_fontconfig
844 with_freetype
845 with_gettext
846 with_gettextpo
847 with_gphoto
848 with_glu
849 with_gnutls
850 with_gsm
851 with_gssapi
852 with_gstreamer
853 with_hal
854 with_jpeg
855 with_krb5
856 with_ldap
857 with_mingw
858 with_mpg123
859 with_netapi
860 with_openal
861 with_opencl
862 with_opengl
863 with_osmesa
864 with_oss
865 with_pcap
866 with_png
867 with_pthread
868 with_pulse
869 with_sane
870 with_sdl
871 with_tiff
872 with_udev
873 with_v4l2
874 with_vkd3d
875 with_vulkan
876 with_xcomposite
877 with_xcursor
878 with_xfixes
879 with_xinerama
880 with_xinput
881 with_xinput2
882 with_xml
883 with_xrandr
884 with_xrender
885 with_xshape
886 with_xshm
887 with_xslt
888 with_xxf86vm
889 with_zlib
890 with_wine_tools
891 with_wine64
892 enable_largefile
893 with_x
894 enable_acledit
895 enable_aclui
896 enable_activeds
897 enable_actxprxy
898 enable_adsiid
899 enable_adsldp
900 enable_adsldpc
901 enable_advapi32
902 enable_advpack
903 enable_amsi
904 enable_amstream
905 enable_api_ms_win_appmodel_identity_l1_1_0
906 enable_api_ms_win_appmodel_runtime_l1_1_1
907 enable_api_ms_win_appmodel_runtime_l1_1_2
908 enable_api_ms_win_core_apiquery_l1_1_0
909 enable_api_ms_win_core_appcompat_l1_1_1
910 enable_api_ms_win_core_appinit_l1_1_0
911 enable_api_ms_win_core_atoms_l1_1_0
912 enable_api_ms_win_core_bem_l1_1_0
913 enable_api_ms_win_core_com_l1_1_0
914 enable_api_ms_win_core_com_l1_1_1
915 enable_api_ms_win_core_com_private_l1_1_0
916 enable_api_ms_win_core_comm_l1_1_0
917 enable_api_ms_win_core_console_l1_1_0
918 enable_api_ms_win_core_console_l2_1_0
919 enable_api_ms_win_core_crt_l1_1_0
920 enable_api_ms_win_core_crt_l2_1_0
921 enable_api_ms_win_core_datetime_l1_1_0
922 enable_api_ms_win_core_datetime_l1_1_1
923 enable_api_ms_win_core_debug_l1_1_0
924 enable_api_ms_win_core_debug_l1_1_1
925 enable_api_ms_win_core_delayload_l1_1_0
926 enable_api_ms_win_core_delayload_l1_1_1
927 enable_api_ms_win_core_errorhandling_l1_1_0
928 enable_api_ms_win_core_errorhandling_l1_1_1
929 enable_api_ms_win_core_errorhandling_l1_1_2
930 enable_api_ms_win_core_errorhandling_l1_1_3
931 enable_api_ms_win_core_fibers_l1_1_0
932 enable_api_ms_win_core_fibers_l1_1_1
933 enable_api_ms_win_core_file_l1_1_0
934 enable_api_ms_win_core_file_l1_2_0
935 enable_api_ms_win_core_file_l1_2_1
936 enable_api_ms_win_core_file_l1_2_2
937 enable_api_ms_win_core_file_l2_1_0
938 enable_api_ms_win_core_file_l2_1_1
939 enable_api_ms_win_core_file_l2_1_2
940 enable_api_ms_win_core_handle_l1_1_0
941 enable_api_ms_win_core_heap_l1_1_0
942 enable_api_ms_win_core_heap_l1_2_0
943 enable_api_ms_win_core_heap_l2_1_0
944 enable_api_ms_win_core_heap_obsolete_l1_1_0
945 enable_api_ms_win_core_interlocked_l1_1_0
946 enable_api_ms_win_core_interlocked_l1_2_0
947 enable_api_ms_win_core_io_l1_1_0
948 enable_api_ms_win_core_io_l1_1_1
949 enable_api_ms_win_core_job_l1_1_0
950 enable_api_ms_win_core_job_l2_1_0
951 enable_api_ms_win_core_kernel32_legacy_l1_1_0
952 enable_api_ms_win_core_kernel32_legacy_l1_1_1
953 enable_api_ms_win_core_kernel32_private_l1_1_1
954 enable_api_ms_win_core_largeinteger_l1_1_0
955 enable_api_ms_win_core_libraryloader_l1_1_0
956 enable_api_ms_win_core_libraryloader_l1_1_1
957 enable_api_ms_win_core_libraryloader_l1_2_0
958 enable_api_ms_win_core_libraryloader_l1_2_1
959 enable_api_ms_win_core_libraryloader_l1_2_2
960 enable_api_ms_win_core_localization_l1_1_0
961 enable_api_ms_win_core_localization_l1_2_0
962 enable_api_ms_win_core_localization_l1_2_1
963 enable_api_ms_win_core_localization_l2_1_0
964 enable_api_ms_win_core_localization_obsolete_l1_1_0
965 enable_api_ms_win_core_localization_obsolete_l1_2_0
966 enable_api_ms_win_core_localization_obsolete_l1_3_0
967 enable_api_ms_win_core_localization_private_l1_1_0
968 enable_api_ms_win_core_localregistry_l1_1_0
969 enable_api_ms_win_core_memory_l1_1_0
970 enable_api_ms_win_core_memory_l1_1_1
971 enable_api_ms_win_core_memory_l1_1_2
972 enable_api_ms_win_core_misc_l1_1_0
973 enable_api_ms_win_core_namedpipe_l1_1_0
974 enable_api_ms_win_core_namedpipe_l1_2_0
975 enable_api_ms_win_core_namespace_l1_1_0
976 enable_api_ms_win_core_normalization_l1_1_0
977 enable_api_ms_win_core_path_l1_1_0
978 enable_api_ms_win_core_privateprofile_l1_1_1
979 enable_api_ms_win_core_processenvironment_l1_1_0
980 enable_api_ms_win_core_processenvironment_l1_2_0
981 enable_api_ms_win_core_processthreads_l1_1_0
982 enable_api_ms_win_core_processthreads_l1_1_1
983 enable_api_ms_win_core_processthreads_l1_1_2
984 enable_api_ms_win_core_processthreads_l1_1_3
985 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
986 enable_api_ms_win_core_profile_l1_1_0
987 enable_api_ms_win_core_psapi_ansi_l1_1_0
988 enable_api_ms_win_core_psapi_l1_1_0
989 enable_api_ms_win_core_psapi_obsolete_l1_1_0
990 enable_api_ms_win_core_quirks_l1_1_0
991 enable_api_ms_win_core_realtime_l1_1_0
992 enable_api_ms_win_core_registry_l1_1_0
993 enable_api_ms_win_core_registry_l2_1_0
994 enable_api_ms_win_core_registryuserspecific_l1_1_0
995 enable_api_ms_win_core_rtlsupport_l1_1_0
996 enable_api_ms_win_core_rtlsupport_l1_2_0
997 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
998 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
999 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1000 enable_api_ms_win_core_shutdown_l1_1_0
1001 enable_api_ms_win_core_sidebyside_l1_1_0
1002 enable_api_ms_win_core_string_l1_1_0
1003 enable_api_ms_win_core_string_l2_1_0
1004 enable_api_ms_win_core_string_obsolete_l1_1_0
1005 enable_api_ms_win_core_stringansi_l1_1_0
1006 enable_api_ms_win_core_stringloader_l1_1_1
1007 enable_api_ms_win_core_synch_ansi_l1_1_0
1008 enable_api_ms_win_core_synch_l1_1_0
1009 enable_api_ms_win_core_synch_l1_2_0
1010 enable_api_ms_win_core_synch_l1_2_1
1011 enable_api_ms_win_core_sysinfo_l1_1_0
1012 enable_api_ms_win_core_sysinfo_l1_2_0
1013 enable_api_ms_win_core_sysinfo_l1_2_1
1014 enable_api_ms_win_core_threadpool_l1_1_0
1015 enable_api_ms_win_core_threadpool_l1_2_0
1016 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1017 enable_api_ms_win_core_threadpool_private_l1_1_0
1018 enable_api_ms_win_core_timezone_l1_1_0
1019 enable_api_ms_win_core_toolhelp_l1_1_0
1020 enable_api_ms_win_core_url_l1_1_0
1021 enable_api_ms_win_core_util_l1_1_0
1022 enable_api_ms_win_core_version_l1_1_0
1023 enable_api_ms_win_core_version_l1_1_1
1024 enable_api_ms_win_core_version_private_l1_1_0
1025 enable_api_ms_win_core_versionansi_l1_1_0
1026 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1027 enable_api_ms_win_core_winrt_error_l1_1_0
1028 enable_api_ms_win_core_winrt_error_l1_1_1
1029 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1030 enable_api_ms_win_core_winrt_l1_1_0
1031 enable_api_ms_win_core_winrt_registration_l1_1_0
1032 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1033 enable_api_ms_win_core_winrt_string_l1_1_0
1034 enable_api_ms_win_core_winrt_string_l1_1_1
1035 enable_api_ms_win_core_wow64_l1_1_0
1036 enable_api_ms_win_core_wow64_l1_1_1
1037 enable_api_ms_win_core_xstate_l1_1_0
1038 enable_api_ms_win_core_xstate_l2_1_0
1039 enable_api_ms_win_crt_conio_l1_1_0
1040 enable_api_ms_win_crt_convert_l1_1_0
1041 enable_api_ms_win_crt_environment_l1_1_0
1042 enable_api_ms_win_crt_filesystem_l1_1_0
1043 enable_api_ms_win_crt_heap_l1_1_0
1044 enable_api_ms_win_crt_locale_l1_1_0
1045 enable_api_ms_win_crt_math_l1_1_0
1046 enable_api_ms_win_crt_multibyte_l1_1_0
1047 enable_api_ms_win_crt_private_l1_1_0
1048 enable_api_ms_win_crt_process_l1_1_0
1049 enable_api_ms_win_crt_runtime_l1_1_0
1050 enable_api_ms_win_crt_stdio_l1_1_0
1051 enable_api_ms_win_crt_string_l1_1_0
1052 enable_api_ms_win_crt_time_l1_1_0
1053 enable_api_ms_win_crt_utility_l1_1_0
1054 enable_api_ms_win_devices_config_l1_1_0
1055 enable_api_ms_win_devices_config_l1_1_1
1056 enable_api_ms_win_devices_query_l1_1_1
1057 enable_api_ms_win_downlevel_advapi32_l1_1_0
1058 enable_api_ms_win_downlevel_advapi32_l2_1_0
1059 enable_api_ms_win_downlevel_normaliz_l1_1_0
1060 enable_api_ms_win_downlevel_ole32_l1_1_0
1061 enable_api_ms_win_downlevel_shell32_l1_1_0
1062 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1063 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1064 enable_api_ms_win_downlevel_user32_l1_1_0
1065 enable_api_ms_win_downlevel_version_l1_1_0
1066 enable_api_ms_win_dx_d3dkmt_l1_1_0
1067 enable_api_ms_win_eventing_classicprovider_l1_1_0
1068 enable_api_ms_win_eventing_consumer_l1_1_0
1069 enable_api_ms_win_eventing_controller_l1_1_0
1070 enable_api_ms_win_eventing_legacy_l1_1_0
1071 enable_api_ms_win_eventing_provider_l1_1_0
1072 enable_api_ms_win_eventlog_legacy_l1_1_0
1073 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1074 enable_api_ms_win_mm_joystick_l1_1_0
1075 enable_api_ms_win_mm_misc_l1_1_1
1076 enable_api_ms_win_mm_mme_l1_1_0
1077 enable_api_ms_win_mm_time_l1_1_0
1078 enable_api_ms_win_ntuser_dc_access_l1_1_0
1079 enable_api_ms_win_ntuser_rectangle_l1_1_0
1080 enable_api_ms_win_ntuser_sysparams_l1_1_0
1081 enable_api_ms_win_perf_legacy_l1_1_0
1082 enable_api_ms_win_power_base_l1_1_0
1083 enable_api_ms_win_power_setting_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1085 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1086 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1087 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1088 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1089 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1090 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1091 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1092 enable_api_ms_win_security_audit_l1_1_1
1093 enable_api_ms_win_security_base_l1_1_0
1094 enable_api_ms_win_security_base_l1_2_0
1095 enable_api_ms_win_security_base_private_l1_1_1
1096 enable_api_ms_win_security_credentials_l1_1_0
1097 enable_api_ms_win_security_cryptoapi_l1_1_0
1098 enable_api_ms_win_security_grouppolicy_l1_1_0
1099 enable_api_ms_win_security_lsalookup_l1_1_0
1100 enable_api_ms_win_security_lsalookup_l1_1_1
1101 enable_api_ms_win_security_lsalookup_l2_1_0
1102 enable_api_ms_win_security_lsalookup_l2_1_1
1103 enable_api_ms_win_security_lsapolicy_l1_1_0
1104 enable_api_ms_win_security_provider_l1_1_0
1105 enable_api_ms_win_security_sddl_l1_1_0
1106 enable_api_ms_win_security_systemfunctions_l1_1_0
1107 enable_api_ms_win_service_core_l1_1_0
1108 enable_api_ms_win_service_core_l1_1_1
1109 enable_api_ms_win_service_management_l1_1_0
1110 enable_api_ms_win_service_management_l2_1_0
1111 enable_api_ms_win_service_private_l1_1_1
1112 enable_api_ms_win_service_winsvc_l1_1_0
1113 enable_api_ms_win_service_winsvc_l1_2_0
1114 enable_api_ms_win_shcore_obsolete_l1_1_0
1115 enable_api_ms_win_shcore_scaling_l1_1_1
1116 enable_api_ms_win_shcore_stream_l1_1_0
1117 enable_api_ms_win_shcore_thread_l1_1_0
1118 enable_api_ms_win_shell_shellcom_l1_1_0
1119 enable_api_ms_win_shell_shellfolders_l1_1_0
1120 enable_apphelp
1121 enable_appwiz_cpl
1122 enable_atl
1123 enable_atl100
1124 enable_atl110
1125 enable_atl80
1126 enable_atl90
1127 enable_atlthunk
1128 enable_atmlib
1129 enable_authz
1130 enable_avicap32
1131 enable_avifil32
1132 enable_avrt
1133 enable_bcrypt
1134 enable_bluetoothapis
1135 enable_browseui
1136 enable_bthprops_cpl
1137 enable_cabinet
1138 enable_capi2032
1139 enable_cards
1140 enable_cdosys
1141 enable_cfgmgr32
1142 enable_clusapi
1143 enable_combase
1144 enable_comcat
1145 enable_comctl32
1146 enable_comdlg32
1147 enable_compstui
1148 enable_comsvcs
1149 enable_concrt140
1150 enable_connect
1151 enable_credui
1152 enable_crtdll
1153 enable_crypt32
1154 enable_cryptdlg
1155 enable_cryptdll
1156 enable_cryptext
1157 enable_cryptnet
1158 enable_cryptui
1159 enable_ctapi32
1160 enable_ctl3d32
1161 enable_d2d1
1162 enable_d3d10
1163 enable_d3d10_1
1164 enable_d3d10core
1165 enable_d3d11
1166 enable_d3d12
1167 enable_d3d8
1168 enable_d3d9
1169 enable_d3dcompiler_33
1170 enable_d3dcompiler_34
1171 enable_d3dcompiler_35
1172 enable_d3dcompiler_36
1173 enable_d3dcompiler_37
1174 enable_d3dcompiler_38
1175 enable_d3dcompiler_39
1176 enable_d3dcompiler_40
1177 enable_d3dcompiler_41
1178 enable_d3dcompiler_42
1179 enable_d3dcompiler_43
1180 enable_d3dcompiler_46
1181 enable_d3dcompiler_47
1182 enable_d3dim
1183 enable_d3drm
1184 enable_d3dx10_33
1185 enable_d3dx10_34
1186 enable_d3dx10_35
1187 enable_d3dx10_36
1188 enable_d3dx10_37
1189 enable_d3dx10_38
1190 enable_d3dx10_39
1191 enable_d3dx10_40
1192 enable_d3dx10_41
1193 enable_d3dx10_42
1194 enable_d3dx10_43
1195 enable_d3dx11_42
1196 enable_d3dx11_43
1197 enable_d3dx9_24
1198 enable_d3dx9_25
1199 enable_d3dx9_26
1200 enable_d3dx9_27
1201 enable_d3dx9_28
1202 enable_d3dx9_29
1203 enable_d3dx9_30
1204 enable_d3dx9_31
1205 enable_d3dx9_32
1206 enable_d3dx9_33
1207 enable_d3dx9_34
1208 enable_d3dx9_35
1209 enable_d3dx9_36
1210 enable_d3dx9_37
1211 enable_d3dx9_38
1212 enable_d3dx9_39
1213 enable_d3dx9_40
1214 enable_d3dx9_41
1215 enable_d3dx9_42
1216 enable_d3dx9_43
1217 enable_d3dxof
1218 enable_davclnt
1219 enable_dbgeng
1220 enable_dbghelp
1221 enable_dciman32
1222 enable_ddraw
1223 enable_ddrawex
1224 enable_devenum
1225 enable_dhcpcsvc
1226 enable_dhtmled_ocx
1227 enable_difxapi
1228 enable_dinput
1229 enable_dinput8
1230 enable_dispex
1231 enable_dmband
1232 enable_dmcompos
1233 enable_dmime
1234 enable_dmloader
1235 enable_dmoguids
1236 enable_dmscript
1237 enable_dmstyle
1238 enable_dmsynth
1239 enable_dmusic
1240 enable_dmusic32
1241 enable_dnsapi
1242 enable_dplay
1243 enable_dplayx
1244 enable_dpnaddr
1245 enable_dpnet
1246 enable_dpnhpast
1247 enable_dpnlobby
1248 enable_dpvoice
1249 enable_dpwsockx
1250 enable_drmclien
1251 enable_dsound
1252 enable_dsquery
1253 enable_dssenh
1254 enable_dswave
1255 enable_dwmapi
1256 enable_dwrite
1257 enable_dx8vb
1258 enable_dxdiagn
1259 enable_dxerr8
1260 enable_dxerr9
1261 enable_dxgi
1262 enable_dxguid
1263 enable_dxva2
1264 enable_esent
1265 enable_evr
1266 enable_explorerframe
1267 enable_ext_ms_win_authz_context_l1_1_0
1268 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1269 enable_ext_ms_win_dwmapi_ext_l1_1_0
1270 enable_ext_ms_win_gdi_dc_create_l1_1_0
1271 enable_ext_ms_win_gdi_dc_create_l1_1_1
1272 enable_ext_ms_win_gdi_dc_l1_2_0
1273 enable_ext_ms_win_gdi_devcaps_l1_1_0
1274 enable_ext_ms_win_gdi_draw_l1_1_0
1275 enable_ext_ms_win_gdi_draw_l1_1_1
1276 enable_ext_ms_win_gdi_font_l1_1_0
1277 enable_ext_ms_win_gdi_font_l1_1_1
1278 enable_ext_ms_win_gdi_render_l1_1_0
1279 enable_ext_ms_win_kernel32_package_current_l1_1_0
1280 enable_ext_ms_win_kernel32_package_l1_1_1
1281 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1282 enable_ext_ms_win_ntuser_draw_l1_1_0
1283 enable_ext_ms_win_ntuser_gui_l1_1_0
1284 enable_ext_ms_win_ntuser_gui_l1_3_0
1285 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1286 enable_ext_ms_win_ntuser_message_l1_1_0
1287 enable_ext_ms_win_ntuser_message_l1_1_1
1288 enable_ext_ms_win_ntuser_misc_l1_1_0
1289 enable_ext_ms_win_ntuser_misc_l1_2_0
1290 enable_ext_ms_win_ntuser_misc_l1_5_1
1291 enable_ext_ms_win_ntuser_mouse_l1_1_0
1292 enable_ext_ms_win_ntuser_private_l1_1_1
1293 enable_ext_ms_win_ntuser_private_l1_3_1
1294 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1295 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1296 enable_ext_ms_win_ntuser_window_l1_1_0
1297 enable_ext_ms_win_ntuser_window_l1_1_1
1298 enable_ext_ms_win_ntuser_window_l1_1_4
1299 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1300 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1301 enable_ext_ms_win_oleacc_l1_1_0
1302 enable_ext_ms_win_ras_rasapi32_l1_1_0
1303 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1304 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1305 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1306 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1307 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1308 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1309 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1310 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1311 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1312 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1313 enable_ext_ms_win_security_credui_l1_1_0
1314 enable_ext_ms_win_security_cryptui_l1_1_0
1315 enable_ext_ms_win_uxtheme_themes_l1_1_0
1316 enable_faultrep
1317 enable_feclient
1318 enable_fltlib
1319 enable_fltmgr_sys
1320 enable_fntcache
1321 enable_fontsub
1322 enable_fusion
1323 enable_fwpuclnt
1324 enable_gameux
1325 enable_gdi32
1326 enable_gdiplus
1327 enable_glu32
1328 enable_gphoto2_ds
1329 enable_gpkcsp
1330 enable_hal
1331 enable_hhctrl_ocx
1332 enable_hid
1333 enable_hidclass_sys
1334 enable_hlink
1335 enable_hnetcfg
1336 enable_httpapi
1337 enable_iccvid
1338 enable_icmp
1339 enable_ieframe
1340 enable_ieproxy
1341 enable_imaadp32_acm
1342 enable_imagehlp
1343 enable_imm32
1344 enable_inetcomm
1345 enable_inetcpl_cpl
1346 enable_inetmib1
1347 enable_infosoft
1348 enable_initpki
1349 enable_inkobj
1350 enable_inseng
1351 enable_iphlpapi
1352 enable_iprop
1353 enable_irprops_cpl
1354 enable_itircl
1355 enable_itss
1356 enable_joy_cpl
1357 enable_jscript
1358 enable_jsproxy
1359 enable_kerberos
1360 enable_kernel32
1361 enable_kernelbase
1362 enable_ksecdd_sys
1363 enable_ksuser
1364 enable_ktmw32
1365 enable_l3codeca_acm
1366 enable_loadperf
1367 enable_localspl
1368 enable_localui
1369 enable_lz32
1370 enable_mapi32
1371 enable_mapistub
1372 enable_mciavi32
1373 enable_mcicda
1374 enable_mciqtz32
1375 enable_mciseq
1376 enable_mciwave
1377 enable_mf
1378 enable_mf3216
1379 enable_mferror
1380 enable_mfplat
1381 enable_mfplay
1382 enable_mfreadwrite
1383 enable_mfuuid
1384 enable_mgmtapi
1385 enable_midimap
1386 enable_mlang
1387 enable_mmcndmgr
1388 enable_mmdevapi
1389 enable_mountmgr_sys
1390 enable_mp3dmod
1391 enable_mpr
1392 enable_mprapi
1393 enable_msacm32_drv
1394 enable_msacm32
1395 enable_msadp32_acm
1396 enable_msasn1
1397 enable_mscat32
1398 enable_mscms
1399 enable_mscoree
1400 enable_msctf
1401 enable_msctfp
1402 enable_msdaps
1403 enable_msdelta
1404 enable_msdmo
1405 enable_msdrm
1406 enable_msftedit
1407 enable_msg711_acm
1408 enable_msgsm32_acm
1409 enable_mshtml_tlb
1410 enable_mshtml
1411 enable_msi
1412 enable_msident
1413 enable_msimg32
1414 enable_msimsg
1415 enable_msimtf
1416 enable_msisip
1417 enable_msisys_ocx
1418 enable_msls31
1419 enable_msnet32
1420 enable_mspatcha
1421 enable_msports
1422 enable_msrle32
1423 enable_msscript_ocx
1424 enable_mssign32
1425 enable_mssip32
1426 enable_mstask
1427 enable_msvcirt
1428 enable_msvcm80
1429 enable_msvcm90
1430 enable_msvcp100
1431 enable_msvcp110
1432 enable_msvcp120
1433 enable_msvcp120_app
1434 enable_msvcp140
1435 enable_msvcp60
1436 enable_msvcp70
1437 enable_msvcp71
1438 enable_msvcp80
1439 enable_msvcp90
1440 enable_msvcr100
1441 enable_msvcr110
1442 enable_msvcr120
1443 enable_msvcr120_app
1444 enable_msvcr70
1445 enable_msvcr71
1446 enable_msvcr80
1447 enable_msvcr90
1448 enable_msvcrt
1449 enable_msvcrt20
1450 enable_msvcrt40
1451 enable_msvcrtd
1452 enable_msvfw32
1453 enable_msvidc32
1454 enable_mswsock
1455 enable_msxml
1456 enable_msxml2
1457 enable_msxml3
1458 enable_msxml4
1459 enable_msxml6
1460 enable_mtxdm
1461 enable_ncrypt
1462 enable_nddeapi
1463 enable_ndis_sys
1464 enable_netapi32
1465 enable_netcfgx
1466 enable_netprofm
1467 enable_newdev
1468 enable_ninput
1469 enable_normaliz
1470 enable_npmshtml
1471 enable_npptools
1472 enable_ntdll
1473 enable_ntdsapi
1474 enable_ntoskrnl_exe
1475 enable_ntprint
1476 enable_objsel
1477 enable_odbc32
1478 enable_odbccp32
1479 enable_odbccu32
1480 enable_ole32
1481 enable_oleacc
1482 enable_oleaut32
1483 enable_olecli32
1484 enable_oledb32
1485 enable_oledlg
1486 enable_olepro32
1487 enable_olesvr32
1488 enable_olethk32
1489 enable_opcservices
1490 enable_openal32
1491 enable_opencl
1492 enable_opengl32
1493 enable_packager
1494 enable_pdh
1495 enable_photometadatahandler
1496 enable_pidgen
1497 enable_powrprof
1498 enable_printui
1499 enable_prntvpt
1500 enable_propsys
1501 enable_psapi
1502 enable_pstorec
1503 enable_qcap
1504 enable_qedit
1505 enable_qmgr
1506 enable_qmgrprxy
1507 enable_quartz
1508 enable_query
1509 enable_qwave
1510 enable_rasapi32
1511 enable_rasdlg
1512 enable_regapi
1513 enable_resutils
1514 enable_riched20
1515 enable_riched32
1516 enable_rpcrt4
1517 enable_rsabase
1518 enable_rsaenh
1519 enable_rstrtmgr
1520 enable_rtutils
1521 enable_samlib
1522 enable_sane_ds
1523 enable_sapi
1524 enable_sas
1525 enable_scarddlg
1526 enable_sccbase
1527 enable_schannel
1528 enable_schedsvc
1529 enable_scrobj
1530 enable_scrrun
1531 enable_scsiport_sys
1532 enable_secur32
1533 enable_security
1534 enable_sensapi
1535 enable_serialui
1536 enable_setupapi
1537 enable_sfc
1538 enable_sfc_os
1539 enable_shcore
1540 enable_shdoclc
1541 enable_shdocvw
1542 enable_shell32
1543 enable_shfolder
1544 enable_shlwapi
1545 enable_slbcsp
1546 enable_slc
1547 enable_snmpapi
1548 enable_softpub
1549 enable_spoolss
1550 enable_srclient
1551 enable_sspicli
1552 enable_stdole2_tlb
1553 enable_stdole32_tlb
1554 enable_sti
1555 enable_strmbase
1556 enable_strmdll
1557 enable_strmiids
1558 enable_svrapi
1559 enable_sxs
1560 enable_t2embed
1561 enable_tapi32
1562 enable_taskschd
1563 enable_tdh
1564 enable_tdi_sys
1565 enable_traffic
1566 enable_twain_32
1567 enable_tzres
1568 enable_ucrtbase
1569 enable_uianimation
1570 enable_uiautomationcore
1571 enable_uiribbon
1572 enable_unicows
1573 enable_updspapi
1574 enable_url
1575 enable_urlmon
1576 enable_usbd_sys
1577 enable_user32
1578 enable_userenv
1579 enable_usp10
1580 enable_uuid
1581 enable_uxtheme
1582 enable_vbscript
1583 enable_vcomp
1584 enable_vcomp100
1585 enable_vcomp110
1586 enable_vcomp120
1587 enable_vcomp140
1588 enable_vcomp90
1589 enable_vcruntime140
1590 enable_vdmdbg
1591 enable_version
1592 enable_virtdisk
1593 enable_vssapi
1594 enable_vulkan_1
1595 enable_wbemdisp
1596 enable_wbemprox
1597 enable_wdscore
1598 enable_webservices
1599 enable_wer
1600 enable_wevtapi
1601 enable_wiaservc
1602 enable_wimgapi
1603 enable_windowscodecs
1604 enable_windowscodecsext
1605 enable_winealsa_drv
1606 enable_wineandroid_drv
1607 enable_winebus_sys
1608 enable_winecoreaudio_drv
1609 enable_winecrt0
1610 enable_wined3d
1611 enable_winegstreamer
1612 enable_winehid_sys
1613 enable_winejoystick_drv
1614 enable_winemac_drv
1615 enable_winemapi
1616 enable_wineoss_drv
1617 enable_wineps_drv
1618 enable_winepulse_drv
1619 enable_wineqtdecoder
1620 enable_winevulkan
1621 enable_winex11_drv
1622 enable_wing32
1623 enable_winhttp
1624 enable_wininet
1625 enable_winmm
1626 enable_winnls32
1627 enable_winscard
1628 enable_winspool_drv
1629 enable_winsta
1630 enable_wintab32
1631 enable_wintrust
1632 enable_winusb
1633 enable_wlanapi
1634 enable_wldap32
1635 enable_wmasf
1636 enable_wmcodecdspuuid
1637 enable_wmi
1638 enable_wmiutils
1639 enable_wmp
1640 enable_wmphoto
1641 enable_wmvcore
1642 enable_wnaspi32
1643 enable_wpc
1644 enable_wpcap
1645 enable_ws2_32
1646 enable_wsdapi
1647 enable_wshom_ocx
1648 enable_wsnmp32
1649 enable_wsock32
1650 enable_wtsapi32
1651 enable_wuapi
1652 enable_wuaueng
1653 enable_x3daudio1_0
1654 enable_x3daudio1_1
1655 enable_x3daudio1_2
1656 enable_x3daudio1_3
1657 enable_x3daudio1_4
1658 enable_x3daudio1_5
1659 enable_x3daudio1_6
1660 enable_x3daudio1_7
1661 enable_xapofx1_1
1662 enable_xapofx1_2
1663 enable_xapofx1_3
1664 enable_xapofx1_4
1665 enable_xapofx1_5
1666 enable_xaudio2_0
1667 enable_xaudio2_1
1668 enable_xaudio2_2
1669 enable_xaudio2_3
1670 enable_xaudio2_4
1671 enable_xaudio2_5
1672 enable_xaudio2_6
1673 enable_xaudio2_7
1674 enable_xaudio2_8
1675 enable_xaudio2_9
1676 enable_xinput1_1
1677 enable_xinput1_2
1678 enable_xinput1_3
1679 enable_xinput1_4
1680 enable_xinput9_1_0
1681 enable_xmllite
1682 enable_xolehlp
1683 enable_xpsprint
1684 enable_xpssvcs
1685 enable_fonts
1686 enable_include
1687 enable_port
1688 enable_wine
1689 enable_wpp
1690 enable_loader
1691 enable_po
1692 enable_arp
1693 enable_aspnet_regiis
1694 enable_attrib
1695 enable_cabarc
1696 enable_cacls
1697 enable_clock
1698 enable_cmd
1699 enable_conhost
1700 enable_control
1701 enable_cscript
1702 enable_dism
1703 enable_dpnsvr
1704 enable_dxdiag
1705 enable_eject
1706 enable_expand
1707 enable_explorer
1708 enable_extrac32
1709 enable_fc
1710 enable_find
1711 enable_findstr
1712 enable_fsutil
1713 enable_hh
1714 enable_hostname
1715 enable_icacls
1716 enable_icinfo
1717 enable_iexplore
1718 enable_ipconfig
1719 enable_lodctr
1720 enable_mofcomp
1721 enable_mshta
1722 enable_msidb
1723 enable_msiexec
1724 enable_msinfo32
1725 enable_net
1726 enable_netsh
1727 enable_netstat
1728 enable_ngen
1729 enable_notepad
1730 enable_oleview
1731 enable_ping
1732 enable_plugplay
1733 enable_powershell
1734 enable_presentationfontcache
1735 enable_progman
1736 enable_reg
1737 enable_regasm
1738 enable_regedit
1739 enable_regsvcs
1740 enable_regsvr32
1741 enable_rpcss
1742 enable_rundll32
1743 enable_sc
1744 enable_schtasks
1745 enable_sdbinst
1746 enable_secedit
1747 enable_servicemodelreg
1748 enable_services
1749 enable_shutdown
1750 enable_spoolsv
1751 enable_start
1752 enable_subst
1753 enable_svchost
1754 enable_systeminfo
1755 enable_taskkill
1756 enable_tasklist
1757 enable_taskmgr
1758 enable_termsv
1759 enable_uninstaller
1760 enable_unlodctr
1761 enable_view
1762 enable_wevtutil
1763 enable_wineboot
1764 enable_winebrowser
1765 enable_winecfg
1766 enable_wineconsole
1767 enable_winedbg
1768 enable_winedevice
1769 enable_winefile
1770 enable_winemenubuilder
1771 enable_winemine
1772 enable_winemsibuilder
1773 enable_winepath
1774 enable_winetest
1775 enable_winhlp32
1776 enable_winmgmt
1777 enable_winver
1778 enable_wmic
1779 enable_wmplayer
1780 enable_wordpad
1781 enable_write
1782 enable_wscript
1783 enable_wusa
1784 enable_xcopy
1785 enable_server
1786 enable_tools
1787 enable_sfnt2fon
1788 enable_widl
1789 enable_winebuild
1790 enable_winedump
1791 enable_winegcc
1792 enable_winemaker
1793 enable_wmc
1794 enable_wrc
1796 ac_precious_vars='build_alias
1797 host_alias
1798 target_alias
1800 CFLAGS
1801 LDFLAGS
1802 LIBS
1803 CPPFLAGS
1805 CXXFLAGS
1808 OBJC
1809 OBJCFLAGS
1810 OBJCPP
1811 XMKMF
1812 XML2_CFLAGS
1813 XML2_LIBS
1814 XSLT_CFLAGS
1815 XSLT_LIBS
1816 DBUS_CFLAGS
1817 DBUS_LIBS
1818 HAL_CFLAGS
1819 HAL_LIBS
1820 GNUTLS_CFLAGS
1821 GNUTLS_LIBS
1822 SANE_CFLAGS
1823 SANE_LIBS
1824 GPHOTO2_CFLAGS
1825 GPHOTO2_LIBS
1826 GPHOTO2_PORT_CFLAGS
1827 GPHOTO2_PORT_LIBS
1828 LCMS2_CFLAGS
1829 LCMS2_LIBS
1830 FREETYPE_CFLAGS
1831 FREETYPE_LIBS
1832 PULSE_CFLAGS
1833 PULSE_LIBS
1834 GSTREAMER_CFLAGS
1835 GSTREAMER_LIBS
1836 UDEV_CFLAGS
1837 UDEV_LIBS
1838 SDL2_CFLAGS
1839 SDL2_LIBS
1840 FAUDIO_CFLAGS
1841 FAUDIO_LIBS
1842 CAPI20_CFLAGS
1843 CAPI20_LIBS
1844 CUPS_CFLAGS
1845 CUPS_LIBS
1846 FONTCONFIG_CFLAGS
1847 FONTCONFIG_LIBS
1848 KRB5_CFLAGS
1849 KRB5_LIBS
1850 GSSAPI_CFLAGS
1851 GSSAPI_LIBS
1852 JPEG_CFLAGS
1853 JPEG_LIBS
1854 PNG_CFLAGS
1855 PNG_LIBS
1856 TIFF_CFLAGS
1857 TIFF_LIBS
1858 MPG123_CFLAGS
1859 MPG123_LIBS
1860 NETAPI_CFLAGS
1861 NETAPI_LIBS
1862 VKD3D_CFLAGS
1863 VKD3D_LIBS
1864 LDAP_CFLAGS
1865 LDAP_LIBS'
1868 # Initialize some variables set by options.
1869 ac_init_help=
1870 ac_init_version=false
1871 ac_unrecognized_opts=
1872 ac_unrecognized_sep=
1873 # The variables have the same names as the options, with
1874 # dashes changed to underlines.
1875 cache_file=/dev/null
1876 exec_prefix=NONE
1877 no_create=
1878 no_recursion=
1879 prefix=NONE
1880 program_prefix=NONE
1881 program_suffix=NONE
1882 program_transform_name=s,x,x,
1883 silent=
1884 site=
1885 srcdir=
1886 verbose=
1887 x_includes=NONE
1888 x_libraries=NONE
1890 # Installation directory options.
1891 # These are left unexpanded so users can "make install exec_prefix=/foo"
1892 # and all the variables that are supposed to be based on exec_prefix
1893 # by default will actually change.
1894 # Use braces instead of parens because sh, perl, etc. also accept them.
1895 # (The list follows the same order as the GNU Coding Standards.)
1896 bindir='${exec_prefix}/bin'
1897 sbindir='${exec_prefix}/sbin'
1898 libexecdir='${exec_prefix}/libexec'
1899 datarootdir='${prefix}/share'
1900 datadir='${datarootdir}'
1901 sysconfdir='${prefix}/etc'
1902 sharedstatedir='${prefix}/com'
1903 localstatedir='${prefix}/var'
1904 runstatedir='${localstatedir}/run'
1905 includedir='${prefix}/include'
1906 oldincludedir='/usr/include'
1907 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1908 infodir='${datarootdir}/info'
1909 htmldir='${docdir}'
1910 dvidir='${docdir}'
1911 pdfdir='${docdir}'
1912 psdir='${docdir}'
1913 libdir='${exec_prefix}/lib'
1914 localedir='${datarootdir}/locale'
1915 mandir='${datarootdir}/man'
1917 ac_prev=
1918 ac_dashdash=
1919 for ac_option
1921 # If the previous option needs an argument, assign it.
1922 if test -n "$ac_prev"; then
1923 eval $ac_prev=\$ac_option
1924 ac_prev=
1925 continue
1928 case $ac_option in
1929 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1930 *=) ac_optarg= ;;
1931 *) ac_optarg=yes ;;
1932 esac
1934 # Accept the important Cygnus configure options, so we can diagnose typos.
1936 case $ac_dashdash$ac_option in
1938 ac_dashdash=yes ;;
1940 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1941 ac_prev=bindir ;;
1942 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1943 bindir=$ac_optarg ;;
1945 -build | --build | --buil | --bui | --bu)
1946 ac_prev=build_alias ;;
1947 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1948 build_alias=$ac_optarg ;;
1950 -cache-file | --cache-file | --cache-fil | --cache-fi \
1951 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1952 ac_prev=cache_file ;;
1953 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1954 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1955 cache_file=$ac_optarg ;;
1957 --config-cache | -C)
1958 cache_file=config.cache ;;
1960 -datadir | --datadir | --datadi | --datad)
1961 ac_prev=datadir ;;
1962 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1963 datadir=$ac_optarg ;;
1965 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1966 | --dataroo | --dataro | --datar)
1967 ac_prev=datarootdir ;;
1968 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1969 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1970 datarootdir=$ac_optarg ;;
1972 -disable-* | --disable-*)
1973 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1974 # Reject names that are not valid shell variable names.
1975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1976 as_fn_error $? "invalid feature name: $ac_useropt"
1977 ac_useropt_orig=$ac_useropt
1978 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1979 case $ac_user_opts in
1981 "enable_$ac_useropt"
1982 "*) ;;
1983 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1984 ac_unrecognized_sep=', ';;
1985 esac
1986 eval enable_$ac_useropt=no ;;
1988 -docdir | --docdir | --docdi | --doc | --do)
1989 ac_prev=docdir ;;
1990 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1991 docdir=$ac_optarg ;;
1993 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1994 ac_prev=dvidir ;;
1995 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1996 dvidir=$ac_optarg ;;
1998 -enable-* | --enable-*)
1999 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2000 # Reject names that are not valid shell variable names.
2001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2002 as_fn_error $? "invalid feature name: $ac_useropt"
2003 ac_useropt_orig=$ac_useropt
2004 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2005 case $ac_user_opts in
2007 "enable_$ac_useropt"
2008 "*) ;;
2009 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2010 ac_unrecognized_sep=', ';;
2011 esac
2012 eval enable_$ac_useropt=\$ac_optarg ;;
2014 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2015 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2016 | --exec | --exe | --ex)
2017 ac_prev=exec_prefix ;;
2018 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2019 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2020 | --exec=* | --exe=* | --ex=*)
2021 exec_prefix=$ac_optarg ;;
2023 -gas | --gas | --ga | --g)
2024 # Obsolete; use --with-gas.
2025 with_gas=yes ;;
2027 -help | --help | --hel | --he | -h)
2028 ac_init_help=long ;;
2029 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2030 ac_init_help=recursive ;;
2031 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2032 ac_init_help=short ;;
2034 -host | --host | --hos | --ho)
2035 ac_prev=host_alias ;;
2036 -host=* | --host=* | --hos=* | --ho=*)
2037 host_alias=$ac_optarg ;;
2039 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2040 ac_prev=htmldir ;;
2041 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2042 | --ht=*)
2043 htmldir=$ac_optarg ;;
2045 -includedir | --includedir | --includedi | --included | --include \
2046 | --includ | --inclu | --incl | --inc)
2047 ac_prev=includedir ;;
2048 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2049 | --includ=* | --inclu=* | --incl=* | --inc=*)
2050 includedir=$ac_optarg ;;
2052 -infodir | --infodir | --infodi | --infod | --info | --inf)
2053 ac_prev=infodir ;;
2054 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2055 infodir=$ac_optarg ;;
2057 -libdir | --libdir | --libdi | --libd)
2058 ac_prev=libdir ;;
2059 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2060 libdir=$ac_optarg ;;
2062 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2063 | --libexe | --libex | --libe)
2064 ac_prev=libexecdir ;;
2065 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2066 | --libexe=* | --libex=* | --libe=*)
2067 libexecdir=$ac_optarg ;;
2069 -localedir | --localedir | --localedi | --localed | --locale)
2070 ac_prev=localedir ;;
2071 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2072 localedir=$ac_optarg ;;
2074 -localstatedir | --localstatedir | --localstatedi | --localstated \
2075 | --localstate | --localstat | --localsta | --localst | --locals)
2076 ac_prev=localstatedir ;;
2077 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2078 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2079 localstatedir=$ac_optarg ;;
2081 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2082 ac_prev=mandir ;;
2083 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2084 mandir=$ac_optarg ;;
2086 -nfp | --nfp | --nf)
2087 # Obsolete; use --without-fp.
2088 with_fp=no ;;
2090 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2091 | --no-cr | --no-c | -n)
2092 no_create=yes ;;
2094 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2095 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2096 no_recursion=yes ;;
2098 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2099 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2100 | --oldin | --oldi | --old | --ol | --o)
2101 ac_prev=oldincludedir ;;
2102 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2103 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2104 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2105 oldincludedir=$ac_optarg ;;
2107 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2108 ac_prev=prefix ;;
2109 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2110 prefix=$ac_optarg ;;
2112 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2113 | --program-pre | --program-pr | --program-p)
2114 ac_prev=program_prefix ;;
2115 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2116 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2117 program_prefix=$ac_optarg ;;
2119 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2120 | --program-suf | --program-su | --program-s)
2121 ac_prev=program_suffix ;;
2122 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2123 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2124 program_suffix=$ac_optarg ;;
2126 -program-transform-name | --program-transform-name \
2127 | --program-transform-nam | --program-transform-na \
2128 | --program-transform-n | --program-transform- \
2129 | --program-transform | --program-transfor \
2130 | --program-transfo | --program-transf \
2131 | --program-trans | --program-tran \
2132 | --progr-tra | --program-tr | --program-t)
2133 ac_prev=program_transform_name ;;
2134 -program-transform-name=* | --program-transform-name=* \
2135 | --program-transform-nam=* | --program-transform-na=* \
2136 | --program-transform-n=* | --program-transform-=* \
2137 | --program-transform=* | --program-transfor=* \
2138 | --program-transfo=* | --program-transf=* \
2139 | --program-trans=* | --program-tran=* \
2140 | --progr-tra=* | --program-tr=* | --program-t=*)
2141 program_transform_name=$ac_optarg ;;
2143 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2144 ac_prev=pdfdir ;;
2145 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2146 pdfdir=$ac_optarg ;;
2148 -psdir | --psdir | --psdi | --psd | --ps)
2149 ac_prev=psdir ;;
2150 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2151 psdir=$ac_optarg ;;
2153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2154 | -silent | --silent | --silen | --sile | --sil)
2155 silent=yes ;;
2157 -runstatedir | --runstatedir | --runstatedi | --runstated \
2158 | --runstate | --runstat | --runsta | --runst | --runs \
2159 | --run | --ru | --r)
2160 ac_prev=runstatedir ;;
2161 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2162 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2163 | --run=* | --ru=* | --r=*)
2164 runstatedir=$ac_optarg ;;
2166 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2167 ac_prev=sbindir ;;
2168 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2169 | --sbi=* | --sb=*)
2170 sbindir=$ac_optarg ;;
2172 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2173 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2174 | --sharedst | --shareds | --shared | --share | --shar \
2175 | --sha | --sh)
2176 ac_prev=sharedstatedir ;;
2177 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2178 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2179 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2180 | --sha=* | --sh=*)
2181 sharedstatedir=$ac_optarg ;;
2183 -site | --site | --sit)
2184 ac_prev=site ;;
2185 -site=* | --site=* | --sit=*)
2186 site=$ac_optarg ;;
2188 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2189 ac_prev=srcdir ;;
2190 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2191 srcdir=$ac_optarg ;;
2193 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2194 | --syscon | --sysco | --sysc | --sys | --sy)
2195 ac_prev=sysconfdir ;;
2196 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2197 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2198 sysconfdir=$ac_optarg ;;
2200 -target | --target | --targe | --targ | --tar | --ta | --t)
2201 ac_prev=target_alias ;;
2202 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2203 target_alias=$ac_optarg ;;
2205 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2206 verbose=yes ;;
2208 -version | --version | --versio | --versi | --vers | -V)
2209 ac_init_version=: ;;
2211 -with-* | --with-*)
2212 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2213 # Reject names that are not valid shell variable names.
2214 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2215 as_fn_error $? "invalid package name: $ac_useropt"
2216 ac_useropt_orig=$ac_useropt
2217 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2218 case $ac_user_opts in
2220 "with_$ac_useropt"
2221 "*) ;;
2222 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2223 ac_unrecognized_sep=', ';;
2224 esac
2225 eval with_$ac_useropt=\$ac_optarg ;;
2227 -without-* | --without-*)
2228 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2229 # Reject names that are not valid shell variable names.
2230 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2231 as_fn_error $? "invalid package name: $ac_useropt"
2232 ac_useropt_orig=$ac_useropt
2233 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2234 case $ac_user_opts in
2236 "with_$ac_useropt"
2237 "*) ;;
2238 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2239 ac_unrecognized_sep=', ';;
2240 esac
2241 eval with_$ac_useropt=no ;;
2243 --x)
2244 # Obsolete; use --with-x.
2245 with_x=yes ;;
2247 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2248 | --x-incl | --x-inc | --x-in | --x-i)
2249 ac_prev=x_includes ;;
2250 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2251 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2252 x_includes=$ac_optarg ;;
2254 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2255 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2256 ac_prev=x_libraries ;;
2257 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2258 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2259 x_libraries=$ac_optarg ;;
2261 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2262 Try \`$0 --help' for more information"
2265 *=*)
2266 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2267 # Reject names that are not valid shell variable names.
2268 case $ac_envvar in #(
2269 '' | [0-9]* | *[!_$as_cr_alnum]* )
2270 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2271 esac
2272 eval $ac_envvar=\$ac_optarg
2273 export $ac_envvar ;;
2276 # FIXME: should be removed in autoconf 3.0.
2277 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2278 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2279 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2280 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2283 esac
2284 done
2286 if test -n "$ac_prev"; then
2287 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2288 as_fn_error $? "missing argument to $ac_option"
2291 if test -n "$ac_unrecognized_opts"; then
2292 case $enable_option_checking in
2293 no) ;;
2294 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2295 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2296 esac
2299 # Check all directory arguments for consistency.
2300 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2301 datadir sysconfdir sharedstatedir localstatedir includedir \
2302 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2303 libdir localedir mandir runstatedir
2305 eval ac_val=\$$ac_var
2306 # Remove trailing slashes.
2307 case $ac_val in
2308 */ )
2309 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2310 eval $ac_var=\$ac_val;;
2311 esac
2312 # Be sure to have absolute directory names.
2313 case $ac_val in
2314 [\\/$]* | ?:[\\/]* ) continue;;
2315 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2316 esac
2317 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2318 done
2320 # There might be people who depend on the old broken behavior: `$host'
2321 # used to hold the argument of --host etc.
2322 # FIXME: To remove some day.
2323 build=$build_alias
2324 host=$host_alias
2325 target=$target_alias
2327 # FIXME: To remove some day.
2328 if test "x$host_alias" != x; then
2329 if test "x$build_alias" = x; then
2330 cross_compiling=maybe
2331 elif test "x$build_alias" != "x$host_alias"; then
2332 cross_compiling=yes
2336 ac_tool_prefix=
2337 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2339 test "$silent" = yes && exec 6>/dev/null
2342 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2343 ac_ls_di=`ls -di .` &&
2344 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2345 as_fn_error $? "working directory cannot be determined"
2346 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2347 as_fn_error $? "pwd does not report name of working directory"
2350 # Find the source files, if location was not specified.
2351 if test -z "$srcdir"; then
2352 ac_srcdir_defaulted=yes
2353 # Try the directory containing this script, then the parent directory.
2354 ac_confdir=`$as_dirname -- "$as_myself" ||
2355 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2356 X"$as_myself" : 'X\(//\)[^/]' \| \
2357 X"$as_myself" : 'X\(//\)$' \| \
2358 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2359 $as_echo X"$as_myself" |
2360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2361 s//\1/
2364 /^X\(\/\/\)[^/].*/{
2365 s//\1/
2368 /^X\(\/\/\)$/{
2369 s//\1/
2372 /^X\(\/\).*/{
2373 s//\1/
2376 s/.*/./; q'`
2377 srcdir=$ac_confdir
2378 if test ! -r "$srcdir/$ac_unique_file"; then
2379 srcdir=..
2381 else
2382 ac_srcdir_defaulted=no
2384 if test ! -r "$srcdir/$ac_unique_file"; then
2385 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2386 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2388 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2389 ac_abs_confdir=`(
2390 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2391 pwd)`
2392 # When building in place, set srcdir=.
2393 if test "$ac_abs_confdir" = "$ac_pwd"; then
2394 srcdir=.
2396 # Remove unnecessary trailing slashes from srcdir.
2397 # Double slashes in file names in object file debugging info
2398 # mess up M-x gdb in Emacs.
2399 case $srcdir in
2400 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2401 esac
2402 for ac_var in $ac_precious_vars; do
2403 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2404 eval ac_env_${ac_var}_value=\$${ac_var}
2405 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2406 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2407 done
2410 # Report the --help message.
2412 if test "$ac_init_help" = "long"; then
2413 # Omit some internal or obsolete options to make the list less imposing.
2414 # This message is too long to be a string in the A/UX 3.1 sh.
2415 cat <<_ACEOF
2416 \`configure' configures Wine 4.5 to adapt to many kinds of systems.
2418 Usage: $0 [OPTION]... [VAR=VALUE]...
2420 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2421 VAR=VALUE. See below for descriptions of some of the useful variables.
2423 Defaults for the options are specified in brackets.
2425 Configuration:
2426 -h, --help display this help and exit
2427 --help=short display options specific to this package
2428 --help=recursive display the short help of all the included packages
2429 -V, --version display version information and exit
2430 -q, --quiet, --silent do not print \`checking ...' messages
2431 --cache-file=FILE cache test results in FILE [disabled]
2432 -C, --config-cache alias for \`--cache-file=config.cache'
2433 -n, --no-create do not create output files
2434 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2436 Installation directories:
2437 --prefix=PREFIX install architecture-independent files in PREFIX
2438 [$ac_default_prefix]
2439 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2440 [PREFIX]
2442 By default, \`make install' will install all the files in
2443 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2444 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2445 for instance \`--prefix=\$HOME'.
2447 For better control, use the options below.
2449 Fine tuning of the installation directories:
2450 --bindir=DIR user executables [EPREFIX/bin]
2451 --sbindir=DIR system admin executables [EPREFIX/sbin]
2452 --libexecdir=DIR program executables [EPREFIX/libexec]
2453 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2454 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2455 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2456 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2457 --libdir=DIR object code libraries [EPREFIX/lib]
2458 --includedir=DIR C header files [PREFIX/include]
2459 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2460 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2461 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2462 --infodir=DIR info documentation [DATAROOTDIR/info]
2463 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2464 --mandir=DIR man documentation [DATAROOTDIR/man]
2465 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2466 --htmldir=DIR html documentation [DOCDIR]
2467 --dvidir=DIR dvi documentation [DOCDIR]
2468 --pdfdir=DIR pdf documentation [DOCDIR]
2469 --psdir=DIR ps documentation [DOCDIR]
2470 _ACEOF
2472 cat <<\_ACEOF
2474 X features:
2475 --x-includes=DIR X include files are in DIR
2476 --x-libraries=DIR X library files are in DIR
2478 System types:
2479 --build=BUILD configure for building on BUILD [guessed]
2480 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2481 _ACEOF
2484 if test -n "$ac_init_help"; then
2485 case $ac_init_help in
2486 short | recursive ) echo "Configuration of Wine 4.5:";;
2487 esac
2488 cat <<\_ACEOF
2490 Optional Features:
2491 --disable-option-checking ignore unrecognized --enable/--with options
2492 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2493 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2494 --disable-win16 do not include Win16 support
2495 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2496 binaries)
2497 --disable-tests do not build the regression tests
2498 --enable-maintainer-mode
2499 enable maintainer-specific build rules
2500 --disable-largefile omit support for large files
2502 Optional Packages:
2503 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2504 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2505 --without-alsa do not use the Alsa sound support
2506 --without-capi do not use CAPI (ISDN support)
2507 --without-cms do not use CMS (color management support)
2508 --without-coreaudio do not use the CoreAudio sound support
2509 --without-cups do not use CUPS
2510 --without-curses do not use (n)curses
2511 --without-dbus do not use DBus (dynamic device support)
2512 --without-faudio do not use FAudio (XAudio2 support)
2513 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2514 --without-fontconfig do not use fontconfig
2515 --without-freetype do not use the FreeType library
2516 --without-gettext do not use gettext
2517 --with-gettextpo use the GetTextPO library to rebuild po files
2518 --without-gphoto do not use gphoto (Digital Camera support)
2519 --without-glu do not use the GLU library
2520 --without-gnutls do not use GnuTLS (schannel support)
2521 --without-gsm do not use libgsm (GSM 06.10 codec support)
2522 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2523 --without-gstreamer do not use GStreamer (codecs support)
2524 --without-hal do not use HAL (dynamic device support)
2525 --without-jpeg do not use JPEG
2526 --without-krb5 do not use krb5 (Kerberos)
2527 --without-ldap do not use LDAP
2528 --without-mingw do not use the MinGW cross-compiler
2529 --without-mpg123 do not use the mpg123 library
2530 --without-netapi do not use the Samba NetAPI library
2531 --without-openal do not use OpenAL
2532 --without-opencl do not use OpenCL
2533 --without-opengl do not use OpenGL
2534 --without-osmesa do not use the OSMesa library
2535 --without-oss do not use the OSS sound support
2536 --without-pcap do not use the Packet Capture library
2537 --without-png do not use PNG
2538 --without-pthread do not use the pthread library
2539 --without-pulse do not use PulseAudio sound support
2540 --without-sane do not use SANE (scanner support)
2541 --without-sdl do not use SDL
2542 --without-tiff do not use TIFF
2543 --without-udev do not use udev (plug and play support)
2544 --without-v4l2 do not use v4l2 (video capture)
2545 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2546 --without-vulkan do not use Vulkan
2547 --without-xcomposite do not use the Xcomposite extension
2548 --without-xcursor do not use the Xcursor extension
2549 --without-xfixes do not use Xfixes for clipboard change notifications
2550 --without-xinerama do not use Xinerama (multi-monitor support)
2551 --without-xinput do not use the Xinput extension
2552 --without-xinput2 do not use the Xinput 2 extension
2553 --without-xml do not use XML
2554 --without-xrandr do not use Xrandr (resolution changes)
2555 --without-xrender do not use the Xrender extension
2556 --without-xshape do not use the Xshape extension
2557 --without-xshm do not use XShm (shared memory extension)
2558 --without-xslt do not use XSLT
2559 --without-xxf86vm do not use XFree video mode extension
2560 --without-zlib do not use Zlib (data compression)
2561 --with-wine-tools=DIR use Wine tools from directory DIR
2562 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2563 --with-x use the X Window System
2565 Some influential environment variables:
2566 CC C compiler command
2567 CFLAGS C compiler flags
2568 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2569 nonstandard directory <lib dir>
2570 LIBS libraries to pass to the linker, e.g. -l<library>
2571 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2572 you have headers in a nonstandard directory <include dir>
2573 CXX C++ compiler command
2574 CXXFLAGS C++ compiler flags
2575 CPP C preprocessor
2576 OBJC Objective C compiler command
2577 OBJCFLAGS Objective C compiler flags
2578 OBJCPP Objective C preprocessor
2579 XMKMF Path to xmkmf, Makefile generator for X Window System
2580 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2581 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2582 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2583 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2584 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2585 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2586 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2587 HAL_LIBS Linker flags for hal, overriding pkg-config
2588 GNUTLS_CFLAGS
2589 C compiler flags for gnutls, overriding pkg-config
2590 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2591 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2592 SANE_LIBS Linker flags for libsane, overriding pkg-config
2593 GPHOTO2_CFLAGS
2594 C compiler flags for libgphoto2, overriding pkg-config
2595 GPHOTO2_LIBS
2596 Linker flags for libgphoto2, overriding pkg-config
2597 GPHOTO2_PORT_CFLAGS
2598 C compiler flags for libgphoto2_port, overriding pkg-config
2599 GPHOTO2_PORT_LIBS
2600 Linker flags for libgphoto2_port, overriding pkg-config
2601 LCMS2_CFLAGS
2602 C compiler flags for lcms2, overriding pkg-config
2603 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2604 FREETYPE_CFLAGS
2605 C compiler flags for freetype2, overriding pkg-config
2606 FREETYPE_LIBS
2607 Linker flags for freetype2, overriding pkg-config
2608 PULSE_CFLAGS
2609 C compiler flags for libpulse, overriding pkg-config
2610 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2611 GSTREAMER_CFLAGS
2612 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2613 gstreamer-audio-1.0, overriding pkg-config
2614 GSTREAMER_LIBS
2615 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2616 gstreamer-audio-1.0, overriding pkg-config
2617 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2618 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2619 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2620 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2621 FAUDIO_CFLAGS
2622 C compiler flags for faudio, overriding pkg-config
2623 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2624 CAPI20_CFLAGS
2625 C compiler flags for capi20, overriding pkg-config
2626 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2627 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2628 CUPS_LIBS Linker flags for cups, overriding pkg-config
2629 FONTCONFIG_CFLAGS
2630 C compiler flags for fontconfig, overriding pkg-config
2631 FONTCONFIG_LIBS
2632 Linker flags for fontconfig, overriding pkg-config
2633 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2634 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2635 GSSAPI_CFLAGS
2636 C compiler flags for krb5-gssapi, overriding pkg-config
2637 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2638 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2639 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2640 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2641 PNG_LIBS Linker flags for libpng, overriding pkg-config
2642 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2643 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2644 MPG123_CFLAGS
2645 C compiler flags for libmpg123, overriding pkg-config
2646 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2647 NETAPI_CFLAGS
2648 C compiler flags for netapi, overriding pkg-config
2649 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2650 VKD3D_CFLAGS
2651 C compiler flags for libvkd3d, overriding pkg-config
2652 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2653 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2654 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2656 Use these variables to override the choices made by `configure' or to help
2657 it to find libraries and programs with nonstandard names/locations.
2659 Report bugs to <wine-devel@winehq.org>.
2660 Wine home page: <https://www.winehq.org>.
2661 _ACEOF
2662 ac_status=$?
2665 if test "$ac_init_help" = "recursive"; then
2666 # If there are subdirs, report their specific --help.
2667 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2668 test -d "$ac_dir" ||
2669 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2670 continue
2671 ac_builddir=.
2673 case "$ac_dir" in
2674 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2676 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2677 # A ".." for each directory in $ac_dir_suffix.
2678 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2679 case $ac_top_builddir_sub in
2680 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2681 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2682 esac ;;
2683 esac
2684 ac_abs_top_builddir=$ac_pwd
2685 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2686 # for backward compatibility:
2687 ac_top_builddir=$ac_top_build_prefix
2689 case $srcdir in
2690 .) # We are building in place.
2691 ac_srcdir=.
2692 ac_top_srcdir=$ac_top_builddir_sub
2693 ac_abs_top_srcdir=$ac_pwd ;;
2694 [\\/]* | ?:[\\/]* ) # Absolute name.
2695 ac_srcdir=$srcdir$ac_dir_suffix;
2696 ac_top_srcdir=$srcdir
2697 ac_abs_top_srcdir=$srcdir ;;
2698 *) # Relative name.
2699 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2700 ac_top_srcdir=$ac_top_build_prefix$srcdir
2701 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2702 esac
2703 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2705 cd "$ac_dir" || { ac_status=$?; continue; }
2706 # Check for guested configure.
2707 if test -f "$ac_srcdir/configure.gnu"; then
2708 echo &&
2709 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2710 elif test -f "$ac_srcdir/configure"; then
2711 echo &&
2712 $SHELL "$ac_srcdir/configure" --help=recursive
2713 else
2714 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2715 fi || ac_status=$?
2716 cd "$ac_pwd" || { ac_status=$?; break; }
2717 done
2720 test -n "$ac_init_help" && exit $ac_status
2721 if $ac_init_version; then
2722 cat <<\_ACEOF
2723 Wine configure 4.5
2724 generated by GNU Autoconf 2.69
2726 Copyright (C) 2012 Free Software Foundation, Inc.
2727 This configure script is free software; the Free Software Foundation
2728 gives unlimited permission to copy, distribute and modify it.
2729 _ACEOF
2730 exit
2733 ## ------------------------ ##
2734 ## Autoconf initialization. ##
2735 ## ------------------------ ##
2737 # ac_fn_c_try_compile LINENO
2738 # --------------------------
2739 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2740 ac_fn_c_try_compile ()
2742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2743 rm -f conftest.$ac_objext
2744 if { { ac_try="$ac_compile"
2745 case "(($ac_try" in
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2748 esac
2749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2750 $as_echo "$ac_try_echo"; } >&5
2751 (eval "$ac_compile") 2>conftest.err
2752 ac_status=$?
2753 if test -s conftest.err; then
2754 grep -v '^ *+' conftest.err >conftest.er1
2755 cat conftest.er1 >&5
2756 mv -f conftest.er1 conftest.err
2758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2759 test $ac_status = 0; } && {
2760 test -z "$ac_c_werror_flag" ||
2761 test ! -s conftest.err
2762 } && test -s conftest.$ac_objext; then :
2763 ac_retval=0
2764 else
2765 $as_echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2768 ac_retval=1
2770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2771 as_fn_set_status $ac_retval
2773 } # ac_fn_c_try_compile
2775 # ac_fn_cxx_try_compile LINENO
2776 # ----------------------------
2777 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2778 ac_fn_cxx_try_compile ()
2780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2781 rm -f conftest.$ac_objext
2782 if { { ac_try="$ac_compile"
2783 case "(($ac_try" in
2784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2785 *) ac_try_echo=$ac_try;;
2786 esac
2787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2788 $as_echo "$ac_try_echo"; } >&5
2789 (eval "$ac_compile") 2>conftest.err
2790 ac_status=$?
2791 if test -s conftest.err; then
2792 grep -v '^ *+' conftest.err >conftest.er1
2793 cat conftest.er1 >&5
2794 mv -f conftest.er1 conftest.err
2796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2797 test $ac_status = 0; } && {
2798 test -z "$ac_cxx_werror_flag" ||
2799 test ! -s conftest.err
2800 } && test -s conftest.$ac_objext; then :
2801 ac_retval=0
2802 else
2803 $as_echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.$ac_ext >&5
2806 ac_retval=1
2808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2809 as_fn_set_status $ac_retval
2811 } # ac_fn_cxx_try_compile
2813 # ac_fn_c_try_link LINENO
2814 # -----------------------
2815 # Try to link conftest.$ac_ext, and return whether this succeeded.
2816 ac_fn_c_try_link ()
2818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2819 rm -f conftest.$ac_objext conftest$ac_exeext
2820 if { { ac_try="$ac_link"
2821 case "(($ac_try" in
2822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2824 esac
2825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2826 $as_echo "$ac_try_echo"; } >&5
2827 (eval "$ac_link") 2>conftest.err
2828 ac_status=$?
2829 if test -s conftest.err; then
2830 grep -v '^ *+' conftest.err >conftest.er1
2831 cat conftest.er1 >&5
2832 mv -f conftest.er1 conftest.err
2834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2835 test $ac_status = 0; } && {
2836 test -z "$ac_c_werror_flag" ||
2837 test ! -s conftest.err
2838 } && test -s conftest$ac_exeext && {
2839 test "$cross_compiling" = yes ||
2840 test -x conftest$ac_exeext
2841 }; then :
2842 ac_retval=0
2843 else
2844 $as_echo "$as_me: failed program was:" >&5
2845 sed 's/^/| /' conftest.$ac_ext >&5
2847 ac_retval=1
2849 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2850 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2851 # interfere with the next link command; also delete a directory that is
2852 # left behind by Apple's compiler. We do this before executing the actions.
2853 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2855 as_fn_set_status $ac_retval
2857 } # ac_fn_c_try_link
2859 # ac_fn_c_try_cpp LINENO
2860 # ----------------------
2861 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2862 ac_fn_c_try_cpp ()
2864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2865 if { { ac_try="$ac_cpp conftest.$ac_ext"
2866 case "(($ac_try" in
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2869 esac
2870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2871 $as_echo "$ac_try_echo"; } >&5
2872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2873 ac_status=$?
2874 if test -s conftest.err; then
2875 grep -v '^ *+' conftest.err >conftest.er1
2876 cat conftest.er1 >&5
2877 mv -f conftest.er1 conftest.err
2879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2880 test $ac_status = 0; } > conftest.i && {
2881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2882 test ! -s conftest.err
2883 }; then :
2884 ac_retval=0
2885 else
2886 $as_echo "$as_me: failed program was:" >&5
2887 sed 's/^/| /' conftest.$ac_ext >&5
2889 ac_retval=1
2891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2892 as_fn_set_status $ac_retval
2894 } # ac_fn_c_try_cpp
2896 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2897 # -------------------------------------------------------
2898 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2899 # the include files in INCLUDES and setting the cache variable VAR
2900 # accordingly.
2901 ac_fn_c_check_header_mongrel ()
2903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2904 if eval \${$3+:} false; then :
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2906 $as_echo_n "checking for $2... " >&6; }
2907 if eval \${$3+:} false; then :
2908 $as_echo_n "(cached) " >&6
2910 eval ac_res=\$$3
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2912 $as_echo "$ac_res" >&6; }
2913 else
2914 # Is the header compilable?
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2916 $as_echo_n "checking $2 usability... " >&6; }
2917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2918 /* end confdefs.h. */
2920 #include <$2>
2921 _ACEOF
2922 if ac_fn_c_try_compile "$LINENO"; then :
2923 ac_header_compiler=yes
2924 else
2925 ac_header_compiler=no
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2929 $as_echo "$ac_header_compiler" >&6; }
2931 # Is the header present?
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2933 $as_echo_n "checking $2 presence... " >&6; }
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2936 #include <$2>
2937 _ACEOF
2938 if ac_fn_c_try_cpp "$LINENO"; then :
2939 ac_header_preproc=yes
2940 else
2941 ac_header_preproc=no
2943 rm -f conftest.err conftest.i conftest.$ac_ext
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2945 $as_echo "$ac_header_preproc" >&6; }
2947 # So? What about this header?
2948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2949 yes:no: )
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2951 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2953 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2955 no:yes:* )
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2957 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2959 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2961 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2963 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2965 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2966 ( $as_echo "## ------------------------------------ ##
2967 ## Report this to wine-devel@winehq.org ##
2968 ## ------------------------------------ ##"
2969 ) | sed "s/^/$as_me: WARNING: /" >&2
2971 esac
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2973 $as_echo_n "checking for $2... " >&6; }
2974 if eval \${$3+:} false; then :
2975 $as_echo_n "(cached) " >&6
2976 else
2977 eval "$3=\$ac_header_compiler"
2979 eval ac_res=\$$3
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2981 $as_echo "$ac_res" >&6; }
2983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 } # ac_fn_c_check_header_mongrel
2987 # ac_fn_c_try_run LINENO
2988 # ----------------------
2989 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2990 # that executables *can* be run.
2991 ac_fn_c_try_run ()
2993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2994 if { { ac_try="$ac_link"
2995 case "(($ac_try" in
2996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2997 *) ac_try_echo=$ac_try;;
2998 esac
2999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3000 $as_echo "$ac_try_echo"; } >&5
3001 (eval "$ac_link") 2>&5
3002 ac_status=$?
3003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3004 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3005 { { case "(($ac_try" in
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3008 esac
3009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3010 $as_echo "$ac_try_echo"; } >&5
3011 (eval "$ac_try") 2>&5
3012 ac_status=$?
3013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3014 test $ac_status = 0; }; }; then :
3015 ac_retval=0
3016 else
3017 $as_echo "$as_me: program exited with status $ac_status" >&5
3018 $as_echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3021 ac_retval=$ac_status
3023 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3025 as_fn_set_status $ac_retval
3027 } # ac_fn_c_try_run
3029 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3030 # -------------------------------------------------------
3031 # Tests whether HEADER exists and can be compiled using the include files in
3032 # INCLUDES, setting the cache variable VAR accordingly.
3033 ac_fn_c_check_header_compile ()
3035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3037 $as_echo_n "checking for $2... " >&6; }
3038 if eval \${$3+:} false; then :
3039 $as_echo_n "(cached) " >&6
3040 else
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3044 #include <$2>
3045 _ACEOF
3046 if ac_fn_c_try_compile "$LINENO"; then :
3047 eval "$3=yes"
3048 else
3049 eval "$3=no"
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 eval ac_res=\$$3
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3055 $as_echo "$ac_res" >&6; }
3056 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3058 } # ac_fn_c_check_header_compile
3060 # ac_fn_objc_try_compile LINENO
3061 # -----------------------------
3062 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3063 ac_fn_objc_try_compile ()
3065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3066 rm -f conftest.$ac_objext
3067 if { { ac_try="$ac_compile"
3068 case "(($ac_try" in
3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3071 esac
3072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3073 $as_echo "$ac_try_echo"; } >&5
3074 (eval "$ac_compile") 2>conftest.err
3075 ac_status=$?
3076 if test -s conftest.err; then
3077 grep -v '^ *+' conftest.err >conftest.er1
3078 cat conftest.er1 >&5
3079 mv -f conftest.er1 conftest.err
3081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3082 test $ac_status = 0; } && {
3083 test -z "$ac_objc_werror_flag" ||
3084 test ! -s conftest.err
3085 } && test -s conftest.$ac_objext; then :
3086 ac_retval=0
3087 else
3088 $as_echo "$as_me: failed program was:" >&5
3089 sed 's/^/| /' conftest.$ac_ext >&5
3091 ac_retval=1
3093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3094 as_fn_set_status $ac_retval
3096 } # ac_fn_objc_try_compile
3098 # ac_fn_objc_try_cpp LINENO
3099 # -------------------------
3100 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3101 ac_fn_objc_try_cpp ()
3103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3104 if { { ac_try="$ac_cpp conftest.$ac_ext"
3105 case "(($ac_try" in
3106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3107 *) ac_try_echo=$ac_try;;
3108 esac
3109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3110 $as_echo "$ac_try_echo"; } >&5
3111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3112 ac_status=$?
3113 if test -s conftest.err; then
3114 grep -v '^ *+' conftest.err >conftest.er1
3115 cat conftest.er1 >&5
3116 mv -f conftest.er1 conftest.err
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; } > conftest.i && {
3120 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3121 test ! -s conftest.err
3122 }; then :
3123 ac_retval=0
3124 else
3125 $as_echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.$ac_ext >&5
3128 ac_retval=1
3130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3131 as_fn_set_status $ac_retval
3133 } # ac_fn_objc_try_cpp
3135 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3136 # ----------------------------------------------------------
3137 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3138 # the include files in INCLUDES and setting the cache variable VAR
3139 # accordingly.
3140 ac_fn_objc_check_header_mongrel ()
3142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3143 if eval \${$3+:} false; then :
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3145 $as_echo_n "checking for $2... " >&6; }
3146 if eval \${$3+:} false; then :
3147 $as_echo_n "(cached) " >&6
3149 eval ac_res=\$$3
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3151 $as_echo "$ac_res" >&6; }
3152 else
3153 # Is the header compilable?
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3155 $as_echo_n "checking $2 usability... " >&6; }
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3159 #include <$2>
3160 _ACEOF
3161 if ac_fn_objc_try_compile "$LINENO"; then :
3162 ac_header_compiler=yes
3163 else
3164 ac_header_compiler=no
3166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3168 $as_echo "$ac_header_compiler" >&6; }
3170 # Is the header present?
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3172 $as_echo_n "checking $2 presence... " >&6; }
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3175 #include <$2>
3176 _ACEOF
3177 if ac_fn_objc_try_cpp "$LINENO"; then :
3178 ac_header_preproc=yes
3179 else
3180 ac_header_preproc=no
3182 rm -f conftest.err conftest.i conftest.$ac_ext
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3184 $as_echo "$ac_header_preproc" >&6; }
3186 # So? What about this header?
3187 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3188 yes:no: )
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3190 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3192 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3194 no:yes:* )
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3196 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3198 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3200 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3202 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3204 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3205 ( $as_echo "## ------------------------------------ ##
3206 ## Report this to wine-devel@winehq.org ##
3207 ## ------------------------------------ ##"
3208 ) | sed "s/^/$as_me: WARNING: /" >&2
3210 esac
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3212 $as_echo_n "checking for $2... " >&6; }
3213 if eval \${$3+:} false; then :
3214 $as_echo_n "(cached) " >&6
3215 else
3216 eval "$3=\$ac_header_compiler"
3218 eval ac_res=\$$3
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3220 $as_echo "$ac_res" >&6; }
3222 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3224 } # ac_fn_objc_check_header_mongrel
3226 # ac_fn_c_check_func LINENO FUNC VAR
3227 # ----------------------------------
3228 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3229 ac_fn_c_check_func ()
3231 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3233 $as_echo_n "checking for $2... " >&6; }
3234 if eval \${$3+:} false; then :
3235 $as_echo_n "(cached) " >&6
3236 else
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3239 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3241 #define $2 innocuous_$2
3243 /* System header to define __stub macros and hopefully few prototypes,
3244 which can conflict with char $2 (); below.
3245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3246 <limits.h> exists even on freestanding compilers. */
3248 #ifdef __STDC__
3249 # include <limits.h>
3250 #else
3251 # include <assert.h>
3252 #endif
3254 #undef $2
3256 /* Override any GCC internal prototype to avoid an error.
3257 Use char because int might match the return type of a GCC
3258 builtin and then its argument prototype would still apply. */
3259 #ifdef __cplusplus
3260 extern "C"
3261 #endif
3262 char $2 ();
3263 /* The GNU C library defines this for functions which it implements
3264 to always fail with ENOSYS. Some functions are actually named
3265 something starting with __ and the normal name is an alias. */
3266 #if defined __stub_$2 || defined __stub___$2
3267 choke me
3268 #endif
3271 main ()
3273 return $2 ();
3275 return 0;
3277 _ACEOF
3278 if ac_fn_c_try_link "$LINENO"; then :
3279 eval "$3=yes"
3280 else
3281 eval "$3=no"
3283 rm -f core conftest.err conftest.$ac_objext \
3284 conftest$ac_exeext conftest.$ac_ext
3286 eval ac_res=\$$3
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3288 $as_echo "$ac_res" >&6; }
3289 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3291 } # ac_fn_c_check_func
3293 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3294 # ----------------------------------------------------
3295 # Tries to find if the field MEMBER exists in type AGGR, after including
3296 # INCLUDES, setting cache variable VAR accordingly.
3297 ac_fn_c_check_member ()
3299 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3301 $as_echo_n "checking for $2.$3... " >&6; }
3302 if eval \${$4+:} false; then :
3303 $as_echo_n "(cached) " >&6
3304 else
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3309 main ()
3311 static $2 ac_aggr;
3312 if (ac_aggr.$3)
3313 return 0;
3315 return 0;
3317 _ACEOF
3318 if ac_fn_c_try_compile "$LINENO"; then :
3319 eval "$4=yes"
3320 else
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3325 main ()
3327 static $2 ac_aggr;
3328 if (sizeof ac_aggr.$3)
3329 return 0;
3331 return 0;
3333 _ACEOF
3334 if ac_fn_c_try_compile "$LINENO"; then :
3335 eval "$4=yes"
3336 else
3337 eval "$4=no"
3339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343 eval ac_res=\$$4
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3345 $as_echo "$ac_res" >&6; }
3346 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3348 } # ac_fn_c_check_member
3350 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3351 # -------------------------------------------
3352 # Tests whether TYPE exists after having included INCLUDES, setting cache
3353 # variable VAR accordingly.
3354 ac_fn_c_check_type ()
3356 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3358 $as_echo_n "checking for $2... " >&6; }
3359 if eval \${$3+:} false; then :
3360 $as_echo_n "(cached) " >&6
3361 else
3362 eval "$3=no"
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3367 main ()
3369 if (sizeof ($2))
3370 return 0;
3372 return 0;
3374 _ACEOF
3375 if ac_fn_c_try_compile "$LINENO"; then :
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3380 main ()
3382 if (sizeof (($2)))
3383 return 0;
3385 return 0;
3387 _ACEOF
3388 if ac_fn_c_try_compile "$LINENO"; then :
3390 else
3391 eval "$3=yes"
3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397 eval ac_res=\$$3
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3399 $as_echo "$ac_res" >&6; }
3400 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3402 } # ac_fn_c_check_type
3403 cat >config.log <<_ACEOF
3404 This file contains any messages produced by compilers while
3405 running configure, to aid debugging if configure makes a mistake.
3407 It was created by Wine $as_me 4.5, which was
3408 generated by GNU Autoconf 2.69. Invocation command line was
3410 $ $0 $@
3412 _ACEOF
3413 exec 5>>config.log
3415 cat <<_ASUNAME
3416 ## --------- ##
3417 ## Platform. ##
3418 ## --------- ##
3420 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3421 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3422 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3423 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3424 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3426 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3427 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3429 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3430 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3431 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3432 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3433 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3434 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3435 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3437 _ASUNAME
3439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3440 for as_dir in $PATH
3442 IFS=$as_save_IFS
3443 test -z "$as_dir" && as_dir=.
3444 $as_echo "PATH: $as_dir"
3445 done
3446 IFS=$as_save_IFS
3448 } >&5
3450 cat >&5 <<_ACEOF
3453 ## ----------- ##
3454 ## Core tests. ##
3455 ## ----------- ##
3457 _ACEOF
3460 # Keep a trace of the command line.
3461 # Strip out --no-create and --no-recursion so they do not pile up.
3462 # Strip out --silent because we don't want to record it for future runs.
3463 # Also quote any args containing shell meta-characters.
3464 # Make two passes to allow for proper duplicate-argument suppression.
3465 ac_configure_args=
3466 ac_configure_args0=
3467 ac_configure_args1=
3468 ac_must_keep_next=false
3469 for ac_pass in 1 2
3471 for ac_arg
3473 case $ac_arg in
3474 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3475 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3476 | -silent | --silent | --silen | --sile | --sil)
3477 continue ;;
3478 *\'*)
3479 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3480 esac
3481 case $ac_pass in
3482 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3484 as_fn_append ac_configure_args1 " '$ac_arg'"
3485 if test $ac_must_keep_next = true; then
3486 ac_must_keep_next=false # Got value, back to normal.
3487 else
3488 case $ac_arg in
3489 *=* | --config-cache | -C | -disable-* | --disable-* \
3490 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3491 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3492 | -with-* | --with-* | -without-* | --without-* | --x)
3493 case "$ac_configure_args0 " in
3494 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3495 esac
3497 -* ) ac_must_keep_next=true ;;
3498 esac
3500 as_fn_append ac_configure_args " '$ac_arg'"
3502 esac
3503 done
3504 done
3505 { ac_configure_args0=; unset ac_configure_args0;}
3506 { ac_configure_args1=; unset ac_configure_args1;}
3508 # When interrupted or exit'd, cleanup temporary files, and complete
3509 # config.log. We remove comments because anyway the quotes in there
3510 # would cause problems or look ugly.
3511 # WARNING: Use '\'' to represent an apostrophe within the trap.
3512 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3513 trap 'exit_status=$?
3514 # Save into config.log some information that might help in debugging.
3516 echo
3518 $as_echo "## ---------------- ##
3519 ## Cache variables. ##
3520 ## ---------------- ##"
3521 echo
3522 # The following way of writing the cache mishandles newlines in values,
3524 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3525 eval ac_val=\$$ac_var
3526 case $ac_val in #(
3527 *${as_nl}*)
3528 case $ac_var in #(
3529 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3530 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3531 esac
3532 case $ac_var in #(
3533 _ | IFS | as_nl) ;; #(
3534 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3535 *) { eval $ac_var=; unset $ac_var;} ;;
3536 esac ;;
3537 esac
3538 done
3539 (set) 2>&1 |
3540 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3541 *${as_nl}ac_space=\ *)
3542 sed -n \
3543 "s/'\''/'\''\\\\'\'''\''/g;
3544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3545 ;; #(
3547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3549 esac |
3550 sort
3552 echo
3554 $as_echo "## ----------------- ##
3555 ## Output variables. ##
3556 ## ----------------- ##"
3557 echo
3558 for ac_var in $ac_subst_vars
3560 eval ac_val=\$$ac_var
3561 case $ac_val in
3562 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3563 esac
3564 $as_echo "$ac_var='\''$ac_val'\''"
3565 done | sort
3566 echo
3568 if test -n "$ac_subst_files"; then
3569 $as_echo "## ------------------- ##
3570 ## File substitutions. ##
3571 ## ------------------- ##"
3572 echo
3573 for ac_var in $ac_subst_files
3575 eval ac_val=\$$ac_var
3576 case $ac_val in
3577 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3578 esac
3579 $as_echo "$ac_var='\''$ac_val'\''"
3580 done | sort
3581 echo
3584 if test -s confdefs.h; then
3585 $as_echo "## ----------- ##
3586 ## confdefs.h. ##
3587 ## ----------- ##"
3588 echo
3589 cat confdefs.h
3590 echo
3592 test "$ac_signal" != 0 &&
3593 $as_echo "$as_me: caught signal $ac_signal"
3594 $as_echo "$as_me: exit $exit_status"
3595 } >&5
3596 rm -f core *.core core.conftest.* &&
3597 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3598 exit $exit_status
3600 for ac_signal in 1 2 13 15; do
3601 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3602 done
3603 ac_signal=0
3605 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3606 rm -f -r conftest* confdefs.h
3608 $as_echo "/* confdefs.h */" > confdefs.h
3610 # Predefined preprocessor variables.
3612 cat >>confdefs.h <<_ACEOF
3613 #define PACKAGE_NAME "$PACKAGE_NAME"
3614 _ACEOF
3616 cat >>confdefs.h <<_ACEOF
3617 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3618 _ACEOF
3620 cat >>confdefs.h <<_ACEOF
3621 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3622 _ACEOF
3624 cat >>confdefs.h <<_ACEOF
3625 #define PACKAGE_STRING "$PACKAGE_STRING"
3626 _ACEOF
3628 cat >>confdefs.h <<_ACEOF
3629 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3630 _ACEOF
3632 cat >>confdefs.h <<_ACEOF
3633 #define PACKAGE_URL "$PACKAGE_URL"
3634 _ACEOF
3637 # Let the site file select an alternate cache file if it wants to.
3638 # Prefer an explicitly selected file to automatically selected ones.
3639 ac_site_file1=NONE
3640 ac_site_file2=NONE
3641 if test -n "$CONFIG_SITE"; then
3642 # We do not want a PATH search for config.site.
3643 case $CONFIG_SITE in #((
3644 -*) ac_site_file1=./$CONFIG_SITE;;
3645 */*) ac_site_file1=$CONFIG_SITE;;
3646 *) ac_site_file1=./$CONFIG_SITE;;
3647 esac
3648 elif test "x$prefix" != xNONE; then
3649 ac_site_file1=$prefix/share/config.site
3650 ac_site_file2=$prefix/etc/config.site
3651 else
3652 ac_site_file1=$ac_default_prefix/share/config.site
3653 ac_site_file2=$ac_default_prefix/etc/config.site
3655 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3657 test "x$ac_site_file" = xNONE && continue
3658 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3660 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3661 sed 's/^/| /' "$ac_site_file" >&5
3662 . "$ac_site_file" \
3663 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3665 as_fn_error $? "failed to load site script $ac_site_file
3666 See \`config.log' for more details" "$LINENO" 5; }
3668 done
3670 if test -r "$cache_file"; then
3671 # Some versions of bash will fail to source /dev/null (special files
3672 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3673 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3675 $as_echo "$as_me: loading cache $cache_file" >&6;}
3676 case $cache_file in
3677 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3678 *) . "./$cache_file";;
3679 esac
3681 else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3683 $as_echo "$as_me: creating cache $cache_file" >&6;}
3684 >$cache_file
3687 # Check that the precious variables saved in the cache have kept the same
3688 # value.
3689 ac_cache_corrupted=false
3690 for ac_var in $ac_precious_vars; do
3691 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3692 eval ac_new_set=\$ac_env_${ac_var}_set
3693 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3694 eval ac_new_val=\$ac_env_${ac_var}_value
3695 case $ac_old_set,$ac_new_set in
3696 set,)
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3698 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3699 ac_cache_corrupted=: ;;
3700 ,set)
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3702 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3703 ac_cache_corrupted=: ;;
3704 ,);;
3706 if test "x$ac_old_val" != "x$ac_new_val"; then
3707 # differences in whitespace do not lead to failure.
3708 ac_old_val_w=`echo x $ac_old_val`
3709 ac_new_val_w=`echo x $ac_new_val`
3710 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3712 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3713 ac_cache_corrupted=:
3714 else
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3716 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3717 eval $ac_var=\$ac_old_val
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3720 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3722 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3723 fi;;
3724 esac
3725 # Pass precious variables to config.status.
3726 if test "$ac_new_set" = set; then
3727 case $ac_new_val in
3728 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3729 *) ac_arg=$ac_var=$ac_new_val ;;
3730 esac
3731 case " $ac_configure_args " in
3732 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3733 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3734 esac
3736 done
3737 if $ac_cache_corrupted; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3741 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3742 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3744 ## -------------------- ##
3745 ## Main body of script. ##
3746 ## -------------------- ##
3748 ac_ext=c
3749 ac_cpp='$CPP $CPPFLAGS'
3750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3756 ac_config_headers="$ac_config_headers include/config.h"
3758 ac_aux_dir=
3759 for ac_dir in tools "$srcdir"/tools; do
3760 if test -f "$ac_dir/install-sh"; then
3761 ac_aux_dir=$ac_dir
3762 ac_install_sh="$ac_aux_dir/install-sh -c"
3763 break
3764 elif test -f "$ac_dir/install.sh"; then
3765 ac_aux_dir=$ac_dir
3766 ac_install_sh="$ac_aux_dir/install.sh -c"
3767 break
3768 elif test -f "$ac_dir/shtool"; then
3769 ac_aux_dir=$ac_dir
3770 ac_install_sh="$ac_aux_dir/shtool install -c"
3771 break
3773 done
3774 if test -z "$ac_aux_dir"; then
3775 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3778 # These three variables are undocumented and unsupported,
3779 # and are intended to be withdrawn in a future Autoconf release.
3780 # They can cause serious problems if a builder's source tree is in a directory
3781 # whose full name contains unusual characters.
3782 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3783 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3784 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3788 libwine_version="1.0"
3792 # Check whether --enable-win16 was given.
3793 if test "${enable_win16+set}" = set; then :
3794 enableval=$enable_win16;
3797 # Check whether --enable-win64 was given.
3798 if test "${enable_win64+set}" = set; then :
3799 enableval=$enable_win64;
3802 # Check whether --enable-tests was given.
3803 if test "${enable_tests+set}" = set; then :
3804 enableval=$enable_tests;
3807 # Check whether --enable-maintainer-mode was given.
3808 if test "${enable_maintainer_mode+set}" = set; then :
3809 enableval=$enable_maintainer_mode;
3814 # Check whether --with-alsa was given.
3815 if test "${with_alsa+set}" = set; then :
3816 withval=$with_alsa;
3820 # Check whether --with-capi was given.
3821 if test "${with_capi+set}" = set; then :
3822 withval=$with_capi;
3826 # Check whether --with-cms was given.
3827 if test "${with_cms+set}" = set; then :
3828 withval=$with_cms;
3832 # Check whether --with-coreaudio was given.
3833 if test "${with_coreaudio+set}" = set; then :
3834 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3838 # Check whether --with-cups was given.
3839 if test "${with_cups+set}" = set; then :
3840 withval=$with_cups;
3844 # Check whether --with-curses was given.
3845 if test "${with_curses+set}" = set; then :
3846 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3850 # Check whether --with-dbus was given.
3851 if test "${with_dbus+set}" = set; then :
3852 withval=$with_dbus;
3856 # Check whether --with-faudio was given.
3857 if test "${with_faudio+set}" = set; then :
3858 withval=$with_faudio;
3862 # Check whether --with-float-abi was given.
3863 if test "${with_float_abi+set}" = set; then :
3864 withval=$with_float_abi;
3868 # Check whether --with-fontconfig was given.
3869 if test "${with_fontconfig+set}" = set; then :
3870 withval=$with_fontconfig;
3874 # Check whether --with-freetype was given.
3875 if test "${with_freetype+set}" = set; then :
3876 withval=$with_freetype;
3880 # Check whether --with-gettext was given.
3881 if test "${with_gettext+set}" = set; then :
3882 withval=$with_gettext;
3886 # Check whether --with-gettextpo was given.
3887 if test "${with_gettextpo+set}" = set; then :
3888 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3892 # Check whether --with-gphoto was given.
3893 if test "${with_gphoto+set}" = set; then :
3894 withval=$with_gphoto;
3898 # Check whether --with-glu was given.
3899 if test "${with_glu+set}" = set; then :
3900 withval=$with_glu;
3904 # Check whether --with-gnutls was given.
3905 if test "${with_gnutls+set}" = set; then :
3906 withval=$with_gnutls;
3910 # Check whether --with-gsm was given.
3911 if test "${with_gsm+set}" = set; then :
3912 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3916 # Check whether --with-gssapi was given.
3917 if test "${with_gssapi+set}" = set; then :
3918 withval=$with_gssapi;
3922 # Check whether --with-gstreamer was given.
3923 if test "${with_gstreamer+set}" = set; then :
3924 withval=$with_gstreamer;
3928 # Check whether --with-hal was given.
3929 if test "${with_hal+set}" = set; then :
3930 withval=$with_hal;
3934 # Check whether --with-jpeg was given.
3935 if test "${with_jpeg+set}" = set; then :
3936 withval=$with_jpeg;
3940 # Check whether --with-krb5 was given.
3941 if test "${with_krb5+set}" = set; then :
3942 withval=$with_krb5;
3946 # Check whether --with-ldap was given.
3947 if test "${with_ldap+set}" = set; then :
3948 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3952 # Check whether --with-mingw was given.
3953 if test "${with_mingw+set}" = set; then :
3954 withval=$with_mingw;
3958 # Check whether --with-mpg123 was given.
3959 if test "${with_mpg123+set}" = set; then :
3960 withval=$with_mpg123;
3964 # Check whether --with-netapi was given.
3965 if test "${with_netapi+set}" = set; then :
3966 withval=$with_netapi;
3970 # Check whether --with-openal was given.
3971 if test "${with_openal+set}" = set; then :
3972 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3976 # Check whether --with-opencl was given.
3977 if test "${with_opencl+set}" = set; then :
3978 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3982 # Check whether --with-opengl was given.
3983 if test "${with_opengl+set}" = set; then :
3984 withval=$with_opengl;
3988 # Check whether --with-osmesa was given.
3989 if test "${with_osmesa+set}" = set; then :
3990 withval=$with_osmesa;
3994 # Check whether --with-oss was given.
3995 if test "${with_oss+set}" = set; then :
3996 withval=$with_oss;
4000 # Check whether --with-pcap was given.
4001 if test "${with_pcap+set}" = set; then :
4002 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4006 # Check whether --with-png was given.
4007 if test "${with_png+set}" = set; then :
4008 withval=$with_png;
4012 # Check whether --with-pthread was given.
4013 if test "${with_pthread+set}" = set; then :
4014 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4018 # Check whether --with-pulse was given.
4019 if test "${with_pulse+set}" = set; then :
4020 withval=$with_pulse;
4024 # Check whether --with-sane was given.
4025 if test "${with_sane+set}" = set; then :
4026 withval=$with_sane;
4030 # Check whether --with-sdl was given.
4031 if test "${with_sdl+set}" = set; then :
4032 withval=$with_sdl;
4036 # Check whether --with-tiff was given.
4037 if test "${with_tiff+set}" = set; then :
4038 withval=$with_tiff;
4042 # Check whether --with-udev was given.
4043 if test "${with_udev+set}" = set; then :
4044 withval=$with_udev;
4048 # Check whether --with-v4l2 was given.
4049 if test "${with_v4l2+set}" = set; then :
4050 withval=$with_v4l2;
4054 # Check whether --with-vkd3d was given.
4055 if test "${with_vkd3d+set}" = set; then :
4056 withval=$with_vkd3d;
4060 # Check whether --with-vulkan was given.
4061 if test "${with_vulkan+set}" = set; then :
4062 withval=$with_vulkan;
4066 # Check whether --with-xcomposite was given.
4067 if test "${with_xcomposite+set}" = set; then :
4068 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4072 # Check whether --with-xcursor was given.
4073 if test "${with_xcursor+set}" = set; then :
4074 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4078 # Check whether --with-xfixes was given.
4079 if test "${with_xfixes+set}" = set; then :
4080 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4084 # Check whether --with-xinerama was given.
4085 if test "${with_xinerama+set}" = set; then :
4086 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4090 # Check whether --with-xinput was given.
4091 if test "${with_xinput+set}" = set; then :
4092 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4096 # Check whether --with-xinput2 was given.
4097 if test "${with_xinput2+set}" = set; then :
4098 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4102 # Check whether --with-xml was given.
4103 if test "${with_xml+set}" = set; then :
4104 withval=$with_xml;
4108 # Check whether --with-xrandr was given.
4109 if test "${with_xrandr+set}" = set; then :
4110 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4114 # Check whether --with-xrender was given.
4115 if test "${with_xrender+set}" = set; then :
4116 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4120 # Check whether --with-xshape was given.
4121 if test "${with_xshape+set}" = set; then :
4122 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4126 # Check whether --with-xshm was given.
4127 if test "${with_xshm+set}" = set; then :
4128 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4132 # Check whether --with-xslt was given.
4133 if test "${with_xslt+set}" = set; then :
4134 withval=$with_xslt;
4138 # Check whether --with-xxf86vm was given.
4139 if test "${with_xxf86vm+set}" = set; then :
4140 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
4144 # Check whether --with-zlib was given.
4145 if test "${with_zlib+set}" = set; then :
4146 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4151 # Check whether --with-wine-tools was given.
4152 if test "${with_wine_tools+set}" = set; then :
4153 withval=$with_wine_tools;
4157 # Check whether --with-wine64 was given.
4158 if test "${with_wine64+set}" = set; then :
4159 withval=$with_wine64;
4163 # Make sure we can run config.sub.
4164 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4165 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4168 $as_echo_n "checking build system type... " >&6; }
4169 if ${ac_cv_build+:} false; then :
4170 $as_echo_n "(cached) " >&6
4171 else
4172 ac_build_alias=$build_alias
4173 test "x$ac_build_alias" = x &&
4174 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4175 test "x$ac_build_alias" = x &&
4176 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4177 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4178 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4182 $as_echo "$ac_cv_build" >&6; }
4183 case $ac_cv_build in
4184 *-*-*) ;;
4185 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4186 esac
4187 build=$ac_cv_build
4188 ac_save_IFS=$IFS; IFS='-'
4189 set x $ac_cv_build
4190 shift
4191 build_cpu=$1
4192 build_vendor=$2
4193 shift; shift
4194 # Remember, the first character of IFS is used to create $*,
4195 # except with old shells:
4196 build_os=$*
4197 IFS=$ac_save_IFS
4198 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4202 $as_echo_n "checking host system type... " >&6; }
4203 if ${ac_cv_host+:} false; then :
4204 $as_echo_n "(cached) " >&6
4205 else
4206 if test "x$host_alias" = x; then
4207 ac_cv_host=$ac_cv_build
4208 else
4209 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4210 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4215 $as_echo "$ac_cv_host" >&6; }
4216 case $ac_cv_host in
4217 *-*-*) ;;
4218 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4219 esac
4220 host=$ac_cv_host
4221 ac_save_IFS=$IFS; IFS='-'
4222 set x $ac_cv_host
4223 shift
4224 host_cpu=$1
4225 host_vendor=$2
4226 shift; shift
4227 # Remember, the first character of IFS is used to create $*,
4228 # except with old shells:
4229 host_os=$*
4230 IFS=$ac_save_IFS
4231 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4235 case "$srcdir" in
4236 .) ;;
4237 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4238 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4239 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4240 fi ;;
4241 esac
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4245 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4246 set x ${MAKE-make}
4247 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4248 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4249 $as_echo_n "(cached) " >&6
4250 else
4251 cat >conftest.make <<\_ACEOF
4252 SHELL = /bin/sh
4253 all:
4254 @echo '@@@%%%=$(MAKE)=@@@%%%'
4255 _ACEOF
4256 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4257 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4258 *@@@%%%=?*=@@@%%%*)
4259 eval ac_cv_prog_make_${ac_make}_set=yes;;
4261 eval ac_cv_prog_make_${ac_make}_set=no;;
4262 esac
4263 rm -f conftest.make
4265 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4267 $as_echo "yes" >&6; }
4268 SET_MAKE=
4269 else
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271 $as_echo "no" >&6; }
4272 SET_MAKE="MAKE=${MAKE-make}"
4275 ac_ext=c
4276 ac_cpp='$CPP $CPPFLAGS'
4277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4280 if test -n "$ac_tool_prefix"; then
4281 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4282 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284 $as_echo_n "checking for $ac_word... " >&6; }
4285 if ${ac_cv_prog_CC+:} false; then :
4286 $as_echo_n "(cached) " >&6
4287 else
4288 if test -n "$CC"; then
4289 ac_cv_prog_CC="$CC" # Let the user override the test.
4290 else
4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292 for as_dir in $PATH
4294 IFS=$as_save_IFS
4295 test -z "$as_dir" && as_dir=.
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 break 2
4302 done
4303 done
4304 IFS=$as_save_IFS
4308 CC=$ac_cv_prog_CC
4309 if test -n "$CC"; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4311 $as_echo "$CC" >&6; }
4312 else
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4319 if test -z "$ac_cv_prog_CC"; then
4320 ac_ct_CC=$CC
4321 # Extract the first word of "gcc", so it can be a program name with args.
4322 set dummy gcc; ac_word=$2
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4324 $as_echo_n "checking for $ac_word... " >&6; }
4325 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 if test -n "$ac_ct_CC"; then
4329 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4330 else
4331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4332 for as_dir in $PATH
4334 IFS=$as_save_IFS
4335 test -z "$as_dir" && as_dir=.
4336 for ac_exec_ext in '' $ac_executable_extensions; do
4337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4338 ac_cv_prog_ac_ct_CC="gcc"
4339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4340 break 2
4342 done
4343 done
4344 IFS=$as_save_IFS
4348 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4349 if test -n "$ac_ct_CC"; then
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4351 $as_echo "$ac_ct_CC" >&6; }
4352 else
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4354 $as_echo "no" >&6; }
4357 if test "x$ac_ct_CC" = x; then
4358 CC=""
4359 else
4360 case $cross_compiling:$ac_tool_warned in
4361 yes:)
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4364 ac_tool_warned=yes ;;
4365 esac
4366 CC=$ac_ct_CC
4368 else
4369 CC="$ac_cv_prog_CC"
4372 if test -z "$CC"; then
4373 if test -n "$ac_tool_prefix"; then
4374 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4375 set dummy ${ac_tool_prefix}cc; ac_word=$2
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4377 $as_echo_n "checking for $ac_word... " >&6; }
4378 if ${ac_cv_prog_CC+:} false; then :
4379 $as_echo_n "(cached) " >&6
4380 else
4381 if test -n "$CC"; then
4382 ac_cv_prog_CC="$CC" # Let the user override the test.
4383 else
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 for as_dir in $PATH
4387 IFS=$as_save_IFS
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4391 ac_cv_prog_CC="${ac_tool_prefix}cc"
4392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 break 2
4395 done
4396 done
4397 IFS=$as_save_IFS
4401 CC=$ac_cv_prog_CC
4402 if test -n "$CC"; then
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4404 $as_echo "$CC" >&6; }
4405 else
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407 $as_echo "no" >&6; }
4413 if test -z "$CC"; then
4414 # Extract the first word of "cc", so it can be a program name with args.
4415 set dummy cc; ac_word=$2
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4417 $as_echo_n "checking for $ac_word... " >&6; }
4418 if ${ac_cv_prog_CC+:} false; then :
4419 $as_echo_n "(cached) " >&6
4420 else
4421 if test -n "$CC"; then
4422 ac_cv_prog_CC="$CC" # Let the user override the test.
4423 else
4424 ac_prog_rejected=no
4425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 for as_dir in $PATH
4428 IFS=$as_save_IFS
4429 test -z "$as_dir" && as_dir=.
4430 for ac_exec_ext in '' $ac_executable_extensions; do
4431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4432 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4433 ac_prog_rejected=yes
4434 continue
4436 ac_cv_prog_CC="cc"
4437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 break 2
4440 done
4441 done
4442 IFS=$as_save_IFS
4444 if test $ac_prog_rejected = yes; then
4445 # We found a bogon in the path, so make sure we never use it.
4446 set dummy $ac_cv_prog_CC
4447 shift
4448 if test $# != 0; then
4449 # We chose a different compiler from the bogus one.
4450 # However, it has the same basename, so the bogon will be chosen
4451 # first if we set CC to just the basename; use the full file name.
4452 shift
4453 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4458 CC=$ac_cv_prog_CC
4459 if test -n "$CC"; then
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4461 $as_echo "$CC" >&6; }
4462 else
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4464 $as_echo "no" >&6; }
4469 if test -z "$CC"; then
4470 if test -n "$ac_tool_prefix"; then
4471 for ac_prog in cl.exe
4473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4476 $as_echo_n "checking for $ac_word... " >&6; }
4477 if ${ac_cv_prog_CC+:} false; then :
4478 $as_echo_n "(cached) " >&6
4479 else
4480 if test -n "$CC"; then
4481 ac_cv_prog_CC="$CC" # Let the user override the test.
4482 else
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 for as_dir in $PATH
4486 IFS=$as_save_IFS
4487 test -z "$as_dir" && as_dir=.
4488 for ac_exec_ext in '' $ac_executable_extensions; do
4489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4490 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 break 2
4494 done
4495 done
4496 IFS=$as_save_IFS
4500 CC=$ac_cv_prog_CC
4501 if test -n "$CC"; then
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4503 $as_echo "$CC" >&6; }
4504 else
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4506 $as_echo "no" >&6; }
4510 test -n "$CC" && break
4511 done
4513 if test -z "$CC"; then
4514 ac_ct_CC=$CC
4515 for ac_prog in cl.exe
4517 # Extract the first word of "$ac_prog", so it can be a program name with args.
4518 set dummy $ac_prog; ac_word=$2
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4520 $as_echo_n "checking for $ac_word... " >&6; }
4521 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4522 $as_echo_n "(cached) " >&6
4523 else
4524 if test -n "$ac_ct_CC"; then
4525 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4526 else
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 for as_dir in $PATH
4530 IFS=$as_save_IFS
4531 test -z "$as_dir" && as_dir=.
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4534 ac_cv_prog_ac_ct_CC="$ac_prog"
4535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4536 break 2
4538 done
4539 done
4540 IFS=$as_save_IFS
4544 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4545 if test -n "$ac_ct_CC"; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4547 $as_echo "$ac_ct_CC" >&6; }
4548 else
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4550 $as_echo "no" >&6; }
4554 test -n "$ac_ct_CC" && break
4555 done
4557 if test "x$ac_ct_CC" = x; then
4558 CC=""
4559 else
4560 case $cross_compiling:$ac_tool_warned in
4561 yes:)
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4564 ac_tool_warned=yes ;;
4565 esac
4566 CC=$ac_ct_CC
4573 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4575 as_fn_error $? "no acceptable C compiler found in \$PATH
4576 See \`config.log' for more details" "$LINENO" 5; }
4578 # Provide some information about the compiler.
4579 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4580 set X $ac_compile
4581 ac_compiler=$2
4582 for ac_option in --version -v -V -qversion; do
4583 { { ac_try="$ac_compiler $ac_option >&5"
4584 case "(($ac_try" in
4585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4586 *) ac_try_echo=$ac_try;;
4587 esac
4588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4589 $as_echo "$ac_try_echo"; } >&5
4590 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4591 ac_status=$?
4592 if test -s conftest.err; then
4593 sed '10a\
4594 ... rest of stderr output deleted ...
4595 10q' conftest.err >conftest.er1
4596 cat conftest.er1 >&5
4598 rm -f conftest.er1 conftest.err
4599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4600 test $ac_status = 0; }
4601 done
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4607 main ()
4611 return 0;
4613 _ACEOF
4614 ac_clean_files_save=$ac_clean_files
4615 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4616 # Try to create an executable without -o first, disregard a.out.
4617 # It will help us diagnose broken compilers, and finding out an intuition
4618 # of exeext.
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4620 $as_echo_n "checking whether the C compiler works... " >&6; }
4621 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4623 # The possible output files:
4624 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4626 ac_rmfiles=
4627 for ac_file in $ac_files
4629 case $ac_file in
4630 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4631 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4632 esac
4633 done
4634 rm -f $ac_rmfiles
4636 if { { ac_try="$ac_link_default"
4637 case "(($ac_try" in
4638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4639 *) ac_try_echo=$ac_try;;
4640 esac
4641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4642 $as_echo "$ac_try_echo"; } >&5
4643 (eval "$ac_link_default") 2>&5
4644 ac_status=$?
4645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4646 test $ac_status = 0; }; then :
4647 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4648 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4649 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4650 # so that the user can short-circuit this test for compilers unknown to
4651 # Autoconf.
4652 for ac_file in $ac_files ''
4654 test -f "$ac_file" || continue
4655 case $ac_file in
4656 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4658 [ab].out )
4659 # We found the default executable, but exeext='' is most
4660 # certainly right.
4661 break;;
4662 *.* )
4663 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4664 then :; else
4665 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4667 # We set ac_cv_exeext here because the later test for it is not
4668 # safe: cross compilers may not add the suffix if given an `-o'
4669 # argument, so we may need to know it at that point already.
4670 # Even if this section looks crufty: it has the advantage of
4671 # actually working.
4672 break;;
4674 break;;
4675 esac
4676 done
4677 test "$ac_cv_exeext" = no && ac_cv_exeext=
4679 else
4680 ac_file=''
4682 if test -z "$ac_file"; then :
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4685 $as_echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.$ac_ext >&5
4688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4690 as_fn_error 77 "C compiler cannot create executables
4691 See \`config.log' for more details" "$LINENO" 5; }
4692 else
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4694 $as_echo "yes" >&6; }
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4697 $as_echo_n "checking for C compiler default output file name... " >&6; }
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4699 $as_echo "$ac_file" >&6; }
4700 ac_exeext=$ac_cv_exeext
4702 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4703 ac_clean_files=$ac_clean_files_save
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4705 $as_echo_n "checking for suffix of executables... " >&6; }
4706 if { { ac_try="$ac_link"
4707 case "(($ac_try" in
4708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4709 *) ac_try_echo=$ac_try;;
4710 esac
4711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4712 $as_echo "$ac_try_echo"; } >&5
4713 (eval "$ac_link") 2>&5
4714 ac_status=$?
4715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4716 test $ac_status = 0; }; then :
4717 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4718 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4719 # work properly (i.e., refer to `conftest.exe'), while it won't with
4720 # `rm'.
4721 for ac_file in conftest.exe conftest conftest.*; do
4722 test -f "$ac_file" || continue
4723 case $ac_file in
4724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4725 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4726 break;;
4727 * ) break;;
4728 esac
4729 done
4730 else
4731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4733 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4734 See \`config.log' for more details" "$LINENO" 5; }
4736 rm -f conftest conftest$ac_cv_exeext
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4738 $as_echo "$ac_cv_exeext" >&6; }
4740 rm -f conftest.$ac_ext
4741 EXEEXT=$ac_cv_exeext
4742 ac_exeext=$EXEEXT
4743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4745 #include <stdio.h>
4747 main ()
4749 FILE *f = fopen ("conftest.out", "w");
4750 return ferror (f) || fclose (f) != 0;
4753 return 0;
4755 _ACEOF
4756 ac_clean_files="$ac_clean_files conftest.out"
4757 # Check that the compiler produces executables we can run. If not, either
4758 # the compiler is broken, or we cross compile.
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4760 $as_echo_n "checking whether we are cross compiling... " >&6; }
4761 if test "$cross_compiling" != yes; then
4762 { { ac_try="$ac_link"
4763 case "(($ac_try" in
4764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4765 *) ac_try_echo=$ac_try;;
4766 esac
4767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4768 $as_echo "$ac_try_echo"; } >&5
4769 (eval "$ac_link") 2>&5
4770 ac_status=$?
4771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4772 test $ac_status = 0; }
4773 if { ac_try='./conftest$ac_cv_exeext'
4774 { { case "(($ac_try" in
4775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4776 *) ac_try_echo=$ac_try;;
4777 esac
4778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4779 $as_echo "$ac_try_echo"; } >&5
4780 (eval "$ac_try") 2>&5
4781 ac_status=$?
4782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4783 test $ac_status = 0; }; }; then
4784 cross_compiling=no
4785 else
4786 if test "$cross_compiling" = maybe; then
4787 cross_compiling=yes
4788 else
4789 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4791 as_fn_error $? "cannot run C compiled programs.
4792 If you meant to cross compile, use \`--host'.
4793 See \`config.log' for more details" "$LINENO" 5; }
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4798 $as_echo "$cross_compiling" >&6; }
4800 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4801 ac_clean_files=$ac_clean_files_save
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4803 $as_echo_n "checking for suffix of object files... " >&6; }
4804 if ${ac_cv_objext+:} false; then :
4805 $as_echo_n "(cached) " >&6
4806 else
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4811 main ()
4815 return 0;
4817 _ACEOF
4818 rm -f conftest.o conftest.obj
4819 if { { ac_try="$ac_compile"
4820 case "(($ac_try" in
4821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4822 *) ac_try_echo=$ac_try;;
4823 esac
4824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4825 $as_echo "$ac_try_echo"; } >&5
4826 (eval "$ac_compile") 2>&5
4827 ac_status=$?
4828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4829 test $ac_status = 0; }; then :
4830 for ac_file in conftest.o conftest.obj conftest.*; do
4831 test -f "$ac_file" || continue;
4832 case $ac_file in
4833 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4834 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4835 break;;
4836 esac
4837 done
4838 else
4839 $as_echo "$as_me: failed program was:" >&5
4840 sed 's/^/| /' conftest.$ac_ext >&5
4842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4844 as_fn_error $? "cannot compute suffix of object files: cannot compile
4845 See \`config.log' for more details" "$LINENO" 5; }
4847 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4850 $as_echo "$ac_cv_objext" >&6; }
4851 OBJEXT=$ac_cv_objext
4852 ac_objext=$OBJEXT
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4854 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4855 if ${ac_cv_c_compiler_gnu+:} false; then :
4856 $as_echo_n "(cached) " >&6
4857 else
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4859 /* end confdefs.h. */
4862 main ()
4864 #ifndef __GNUC__
4865 choke me
4866 #endif
4869 return 0;
4871 _ACEOF
4872 if ac_fn_c_try_compile "$LINENO"; then :
4873 ac_compiler_gnu=yes
4874 else
4875 ac_compiler_gnu=no
4877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4878 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4882 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4883 if test $ac_compiler_gnu = yes; then
4884 GCC=yes
4885 else
4886 GCC=
4888 ac_test_CFLAGS=${CFLAGS+set}
4889 ac_save_CFLAGS=$CFLAGS
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4891 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4892 if ${ac_cv_prog_cc_g+:} false; then :
4893 $as_echo_n "(cached) " >&6
4894 else
4895 ac_save_c_werror_flag=$ac_c_werror_flag
4896 ac_c_werror_flag=yes
4897 ac_cv_prog_cc_g=no
4898 CFLAGS="-g"
4899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h. */
4903 main ()
4907 return 0;
4909 _ACEOF
4910 if ac_fn_c_try_compile "$LINENO"; then :
4911 ac_cv_prog_cc_g=yes
4912 else
4913 CFLAGS=""
4914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4915 /* end confdefs.h. */
4918 main ()
4922 return 0;
4924 _ACEOF
4925 if ac_fn_c_try_compile "$LINENO"; then :
4927 else
4928 ac_c_werror_flag=$ac_save_c_werror_flag
4929 CFLAGS="-g"
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4934 main ()
4938 return 0;
4940 _ACEOF
4941 if ac_fn_c_try_compile "$LINENO"; then :
4942 ac_cv_prog_cc_g=yes
4944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4949 ac_c_werror_flag=$ac_save_c_werror_flag
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4952 $as_echo "$ac_cv_prog_cc_g" >&6; }
4953 if test "$ac_test_CFLAGS" = set; then
4954 CFLAGS=$ac_save_CFLAGS
4955 elif test $ac_cv_prog_cc_g = yes; then
4956 if test "$GCC" = yes; then
4957 CFLAGS="-g -O2"
4958 else
4959 CFLAGS="-g"
4961 else
4962 if test "$GCC" = yes; then
4963 CFLAGS="-O2"
4964 else
4965 CFLAGS=
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4969 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4970 if ${ac_cv_prog_cc_c89+:} false; then :
4971 $as_echo_n "(cached) " >&6
4972 else
4973 ac_cv_prog_cc_c89=no
4974 ac_save_CC=$CC
4975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4976 /* end confdefs.h. */
4977 #include <stdarg.h>
4978 #include <stdio.h>
4979 struct stat;
4980 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4981 struct buf { int x; };
4982 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4983 static char *e (p, i)
4984 char **p;
4985 int i;
4987 return p[i];
4989 static char *f (char * (*g) (char **, int), char **p, ...)
4991 char *s;
4992 va_list v;
4993 va_start (v,p);
4994 s = g (p, va_arg (v,int));
4995 va_end (v);
4996 return s;
4999 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5000 function prototypes and stuff, but not '\xHH' hex character constants.
5001 These don't provoke an error unfortunately, instead are silently treated
5002 as 'x'. The following induces an error, until -std is added to get
5003 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5004 array size at least. It's necessary to write '\x00'==0 to get something
5005 that's true only with -std. */
5006 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5008 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5009 inside strings and character constants. */
5010 #define FOO(x) 'x'
5011 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5013 int test (int i, double x);
5014 struct s1 {int (*f) (int a);};
5015 struct s2 {int (*f) (double a);};
5016 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5017 int argc;
5018 char **argv;
5020 main ()
5022 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5024 return 0;
5026 _ACEOF
5027 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5028 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5030 CC="$ac_save_CC $ac_arg"
5031 if ac_fn_c_try_compile "$LINENO"; then :
5032 ac_cv_prog_cc_c89=$ac_arg
5034 rm -f core conftest.err conftest.$ac_objext
5035 test "x$ac_cv_prog_cc_c89" != "xno" && break
5036 done
5037 rm -f conftest.$ac_ext
5038 CC=$ac_save_CC
5041 # AC_CACHE_VAL
5042 case "x$ac_cv_prog_cc_c89" in
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5045 $as_echo "none needed" >&6; } ;;
5046 xno)
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5048 $as_echo "unsupported" >&6; } ;;
5050 CC="$CC $ac_cv_prog_cc_c89"
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5052 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5053 esac
5054 if test "x$ac_cv_prog_cc_c89" != xno; then :
5058 ac_ext=c
5059 ac_cpp='$CPP $CPPFLAGS'
5060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5064 ac_ext=cpp
5065 ac_cpp='$CXXCPP $CPPFLAGS'
5066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5069 if test -z "$CXX"; then
5070 if test -n "$CCC"; then
5071 CXX=$CCC
5072 else
5073 if test -n "$ac_tool_prefix"; then
5074 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5076 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5077 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if ${ac_cv_prog_CXX+:} false; then :
5081 $as_echo_n "(cached) " >&6
5082 else
5083 if test -n "$CXX"; then
5084 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5085 else
5086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087 for as_dir in $PATH
5089 IFS=$as_save_IFS
5090 test -z "$as_dir" && as_dir=.
5091 for ac_exec_ext in '' $ac_executable_extensions; do
5092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5093 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 break 2
5097 done
5098 done
5099 IFS=$as_save_IFS
5103 CXX=$ac_cv_prog_CXX
5104 if test -n "$CXX"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5106 $as_echo "$CXX" >&6; }
5107 else
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5113 test -n "$CXX" && break
5114 done
5116 if test -z "$CXX"; then
5117 ac_ct_CXX=$CXX
5118 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5120 # Extract the first word of "$ac_prog", so it can be a program name with args.
5121 set dummy $ac_prog; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 if test -n "$ac_ct_CXX"; then
5128 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5137 ac_cv_prog_ac_ct_CXX="$ac_prog"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5141 done
5142 done
5143 IFS=$as_save_IFS
5147 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5148 if test -n "$ac_ct_CXX"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5150 $as_echo "$ac_ct_CXX" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5157 test -n "$ac_ct_CXX" && break
5158 done
5160 if test "x$ac_ct_CXX" = x; then
5161 CXX="g++"
5162 else
5163 case $cross_compiling:$ac_tool_warned in
5164 yes:)
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5167 ac_tool_warned=yes ;;
5168 esac
5169 CXX=$ac_ct_CXX
5175 # Provide some information about the compiler.
5176 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5177 set X $ac_compile
5178 ac_compiler=$2
5179 for ac_option in --version -v -V -qversion; do
5180 { { ac_try="$ac_compiler $ac_option >&5"
5181 case "(($ac_try" in
5182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5183 *) ac_try_echo=$ac_try;;
5184 esac
5185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5186 $as_echo "$ac_try_echo"; } >&5
5187 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5188 ac_status=$?
5189 if test -s conftest.err; then
5190 sed '10a\
5191 ... rest of stderr output deleted ...
5192 10q' conftest.err >conftest.er1
5193 cat conftest.er1 >&5
5195 rm -f conftest.er1 conftest.err
5196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5197 test $ac_status = 0; }
5198 done
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5201 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5202 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5203 $as_echo_n "(cached) " >&6
5204 else
5205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5209 main ()
5211 #ifndef __GNUC__
5212 choke me
5213 #endif
5216 return 0;
5218 _ACEOF
5219 if ac_fn_cxx_try_compile "$LINENO"; then :
5220 ac_compiler_gnu=yes
5221 else
5222 ac_compiler_gnu=no
5224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5225 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5229 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5230 if test $ac_compiler_gnu = yes; then
5231 GXX=yes
5232 else
5233 GXX=
5235 ac_test_CXXFLAGS=${CXXFLAGS+set}
5236 ac_save_CXXFLAGS=$CXXFLAGS
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5238 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5239 if ${ac_cv_prog_cxx_g+:} false; then :
5240 $as_echo_n "(cached) " >&6
5241 else
5242 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5243 ac_cxx_werror_flag=yes
5244 ac_cv_prog_cxx_g=no
5245 CXXFLAGS="-g"
5246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5247 /* end confdefs.h. */
5250 main ()
5254 return 0;
5256 _ACEOF
5257 if ac_fn_cxx_try_compile "$LINENO"; then :
5258 ac_cv_prog_cxx_g=yes
5259 else
5260 CXXFLAGS=""
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5265 main ()
5269 return 0;
5271 _ACEOF
5272 if ac_fn_cxx_try_compile "$LINENO"; then :
5274 else
5275 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5276 CXXFLAGS="-g"
5277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5278 /* end confdefs.h. */
5281 main ()
5285 return 0;
5287 _ACEOF
5288 if ac_fn_cxx_try_compile "$LINENO"; then :
5289 ac_cv_prog_cxx_g=yes
5291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5296 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5299 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5300 if test "$ac_test_CXXFLAGS" = set; then
5301 CXXFLAGS=$ac_save_CXXFLAGS
5302 elif test $ac_cv_prog_cxx_g = yes; then
5303 if test "$GXX" = yes; then
5304 CXXFLAGS="-g -O2"
5305 else
5306 CXXFLAGS="-g"
5308 else
5309 if test "$GXX" = yes; then
5310 CXXFLAGS="-O2"
5311 else
5312 CXXFLAGS=
5315 ac_ext=c
5316 ac_cpp='$CPP $CPPFLAGS'
5317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5321 if test -n "$ac_tool_prefix"; then
5322 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5323 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_CPPBIN+:} false; then :
5327 $as_echo_n "(cached) " >&6
5328 else
5329 if test -n "$CPPBIN"; then
5330 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5331 else
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH
5335 IFS=$as_save_IFS
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 break 2
5343 done
5344 done
5345 IFS=$as_save_IFS
5349 CPPBIN=$ac_cv_prog_CPPBIN
5350 if test -n "$CPPBIN"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5352 $as_echo "$CPPBIN" >&6; }
5353 else
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5360 if test -z "$ac_cv_prog_CPPBIN"; then
5361 ac_ct_CPPBIN=$CPPBIN
5362 # Extract the first word of "cpp", so it can be a program name with args.
5363 set dummy cpp; ac_word=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5367 $as_echo_n "(cached) " >&6
5368 else
5369 if test -n "$ac_ct_CPPBIN"; then
5370 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5371 else
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 for as_dir in $PATH
5375 IFS=$as_save_IFS
5376 test -z "$as_dir" && as_dir=.
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_ac_ct_CPPBIN="cpp"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381 break 2
5383 done
5384 done
5385 IFS=$as_save_IFS
5389 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5390 if test -n "$ac_ct_CPPBIN"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5392 $as_echo "$ac_ct_CPPBIN" >&6; }
5393 else
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5398 if test "x$ac_ct_CPPBIN" = x; then
5399 CPPBIN="cpp"
5400 else
5401 case $cross_compiling:$ac_tool_warned in
5402 yes:)
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5405 ac_tool_warned=yes ;;
5406 esac
5407 CPPBIN=$ac_ct_CPPBIN
5409 else
5410 CPPBIN="$ac_cv_prog_CPPBIN"
5414 cat >>confdefs.h <<_ACEOF
5415 #define EXEEXT "$ac_exeext"
5416 _ACEOF
5418 if test -n "$ac_tool_prefix"; then
5419 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5420 set dummy ${ac_tool_prefix}ld; ac_word=$2
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422 $as_echo_n "checking for $ac_word... " >&6; }
5423 if ${ac_cv_prog_LD+:} false; then :
5424 $as_echo_n "(cached) " >&6
5425 else
5426 if test -n "$LD"; then
5427 ac_cv_prog_LD="$LD" # Let the user override the test.
5428 else
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 for as_dir in $PATH
5432 IFS=$as_save_IFS
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5436 ac_cv_prog_LD="${ac_tool_prefix}ld"
5437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 break 2
5440 done
5441 done
5442 IFS=$as_save_IFS
5446 LD=$ac_cv_prog_LD
5447 if test -n "$LD"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5449 $as_echo "$LD" >&6; }
5450 else
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5457 if test -z "$ac_cv_prog_LD"; then
5458 ac_ct_LD=$LD
5459 # Extract the first word of "ld", so it can be a program name with args.
5460 set dummy ld; ac_word=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466 if test -n "$ac_ct_LD"; then
5467 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5468 else
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH
5472 IFS=$as_save_IFS
5473 test -z "$as_dir" && as_dir=.
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_ac_ct_LD="ld"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478 break 2
5480 done
5481 done
5482 IFS=$as_save_IFS
5486 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5487 if test -n "$ac_ct_LD"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5489 $as_echo "$ac_ct_LD" >&6; }
5490 else
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5495 if test "x$ac_ct_LD" = x; then
5496 LD=""
5497 else
5498 case $cross_compiling:$ac_tool_warned in
5499 yes:)
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5502 ac_tool_warned=yes ;;
5503 esac
5504 LD=$ac_ct_LD
5506 else
5507 LD="$ac_cv_prog_LD"
5511 case $host in
5512 *-darwin*)
5513 with_fontconfig=${with_fontconfig:-no}
5515 *-mingw32*|*-cygwin*)
5516 enable_win16=${enable_win16:-no}
5517 with_mingw=${with_mingw:-no}
5518 CFLAGS="$CFLAGS -D_WIN32"
5520 esac
5522 case $host in
5523 x86_64*|amd64*)
5524 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5525 then
5526 CC="$CC -m32"
5527 CXX="$CXX -m32"
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5529 $as_echo_n "checking whether $CC works... " >&6; }
5531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5532 /* end confdefs.h. */
5535 main ()
5539 return 0;
5541 _ACEOF
5542 if ac_fn_c_try_link "$LINENO"; then :
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5544 $as_echo "yes" >&6; }
5545 else
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5548 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5550 rm -f core conftest.err conftest.$ac_objext \
5551 conftest$ac_exeext conftest.$ac_ext
5552 host_cpu="i386"
5553 notice_platform="32-bit "
5554 TARGETFLAGS="-m32"
5556 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5557 export PKG_CONFIG_PATH
5558 enable_win16=${enable_win16:-yes}
5559 else
5560 if test "x${GCC}" = "xyes"
5561 then
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5563 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5565 /* end confdefs.h. */
5566 #include <stdarg.h>
5568 main ()
5570 void func(__builtin_ms_va_list *args);
5572 return 0;
5574 _ACEOF
5575 if ac_fn_c_try_compile "$LINENO"; then :
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5577 $as_echo "yes" >&6; }
5578 else
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580 $as_echo "no" >&6; }
5581 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5585 CC="$CC -m64"
5586 CXX="$CXX -m64"
5587 host_cpu="x86_64"
5588 notice_platform="64-bit "
5589 TARGETFLAGS="-m64"
5593 arm*)
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5595 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5597 /* end confdefs.h. */
5598 int ac_test(int i) { return i; }
5600 main ()
5602 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5604 return 0;
5606 _ACEOF
5607 if ac_fn_c_try_link "$LINENO"; then :
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5609 $as_echo "yes" >&6; }
5610 else
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5613 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5615 rm -f core conftest.err conftest.$ac_objext \
5616 conftest$ac_exeext conftest.$ac_ext
5617 case $with_float_abi in
5618 soft|softfp|hard)
5619 float_abi=$with_float_abi ;;
5621 case $host_os in
5622 *eabihf)
5623 float_abi=hard ;;
5625 float_abi=softfp
5626 saved_CFLAGS=$CFLAGS
5627 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5629 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5634 main ()
5636 asm("vmrs r2,fpscr");
5638 return 0;
5640 _ACEOF
5641 if ac_fn_c_try_link "$LINENO"; then :
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5643 $as_echo "yes" >&6; }
5644 else
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5646 $as_echo "no" >&6; }
5647 float_abi=soft
5648 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5650 rm -f core conftest.err conftest.$ac_objext \
5651 conftest$ac_exeext conftest.$ac_ext
5652 CFLAGS=$saved_CFLAGS
5653 esac
5655 esac
5656 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5657 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5660 aarch64*)
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5662 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5665 #include <stdarg.h>
5667 main ()
5669 void func(__builtin_ms_va_list *args);
5671 return 0;
5673 _ACEOF
5674 if ac_fn_c_try_compile "$LINENO"; then :
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5676 $as_echo "yes" >&6; }
5677 else
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679 $as_echo "no" >&6; }
5680 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5684 i[3456789]86*)
5685 enable_win16=${enable_win16:-yes}
5687 esac
5689 enable_win16=${enable_win16:-no}
5690 enable_win64=${enable_win64:-no}
5692 enable_winetest=${enable_winetest:-$enable_tests}
5694 if test "x$enable_win64" = "xyes"
5695 then
5696 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5697 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5698 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5702 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5703 if ${wine_cv_toolsdir+:} false; then :
5704 $as_echo_n "(cached) " >&6
5705 else
5706 wine_cv_toolsdir="$with_wine_tools"
5707 if test -z "$with_wine_tools"; then
5708 if test "$cross_compiling" = "yes"; then
5709 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5710 elif test -n "$with_wine64"; then
5711 wine_cv_toolsdir="$with_wine64"
5714 if test -z "$wine_cv_toolsdir"; then
5715 wine_makedep=tools/makedep
5716 wine_cv_toolsdir="\$(top_builddir)"
5717 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5718 wine_makedep=$wine_cv_toolsdir/tools/makedep
5719 case "$wine_cv_toolsdir" in
5720 /*) ;;
5721 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5722 esac
5723 enable_tools=${enable_tools:-no}
5724 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5725 else
5726 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5730 $as_echo "$wine_cv_toolsdir" >&6; }
5731 TOOLSDIR=$wine_cv_toolsdir
5733 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5734 then
5735 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5739 for ac_prog in flex
5741 # Extract the first word of "$ac_prog", so it can be a program name with args.
5742 set dummy $ac_prog; ac_word=$2
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5744 $as_echo_n "checking for $ac_word... " >&6; }
5745 if ${ac_cv_prog_FLEX+:} false; then :
5746 $as_echo_n "(cached) " >&6
5747 else
5748 if test -n "$FLEX"; then
5749 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5750 else
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 for as_dir in $PATH
5754 IFS=$as_save_IFS
5755 test -z "$as_dir" && as_dir=.
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5758 ac_cv_prog_FLEX="$ac_prog"
5759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5760 break 2
5762 done
5763 done
5764 IFS=$as_save_IFS
5768 FLEX=$ac_cv_prog_FLEX
5769 if test -n "$FLEX"; then
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5771 $as_echo "$FLEX" >&6; }
5772 else
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5774 $as_echo "no" >&6; }
5778 test -n "$FLEX" && break
5779 done
5780 test -n "$FLEX" || FLEX="none"
5782 if test "$FLEX" = "none"
5783 then
5784 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5787 $as_echo_n "checking whether flex is recent enough... " >&6; }
5788 cat >conftest.l <<EOF
5789 %top{
5790 #include "prediluvian.h"
5794 if $FLEX -t conftest.l >/dev/null 2>&5
5795 then
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5797 $as_echo "yes" >&6; }
5798 else
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5800 $as_echo "no" >&6; }
5801 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5804 for ac_prog in bison
5806 # Extract the first word of "$ac_prog", so it can be a program name with args.
5807 set dummy $ac_prog; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_BISON+:} false; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 if test -n "$BISON"; then
5814 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5819 IFS=$as_save_IFS
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_BISON="$ac_prog"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 break 2
5827 done
5828 done
5829 IFS=$as_save_IFS
5833 BISON=$ac_cv_prog_BISON
5834 if test -n "$BISON"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5836 $as_echo "$BISON" >&6; }
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5843 test -n "$BISON" && break
5844 done
5845 test -n "$BISON" || BISON="none"
5847 if test "$BISON" = "none"
5848 then
5849 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5852 if test -n "$ac_tool_prefix"; then
5853 for ac_prog in ar gar
5855 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5856 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_AR+:} false; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 if test -n "$AR"; then
5863 ac_cv_prog_AR="$AR" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5868 IFS=$as_save_IFS
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5872 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 break 2
5876 done
5877 done
5878 IFS=$as_save_IFS
5882 AR=$ac_cv_prog_AR
5883 if test -n "$AR"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5885 $as_echo "$AR" >&6; }
5886 else
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5892 test -n "$AR" && break
5893 done
5895 if test -z "$AR"; then
5896 ac_ct_AR=$AR
5897 for ac_prog in ar gar
5899 # Extract the first word of "$ac_prog", so it can be a program name with args.
5900 set dummy $ac_prog; ac_word=$2
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 $as_echo_n "checking for $ac_word... " >&6; }
5903 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5904 $as_echo_n "(cached) " >&6
5905 else
5906 if test -n "$ac_ct_AR"; then
5907 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5908 else
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 for as_dir in $PATH
5912 IFS=$as_save_IFS
5913 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916 ac_cv_prog_ac_ct_AR="$ac_prog"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 break 2
5920 done
5921 done
5922 IFS=$as_save_IFS
5926 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5927 if test -n "$ac_ct_AR"; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5929 $as_echo "$ac_ct_AR" >&6; }
5930 else
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932 $as_echo "no" >&6; }
5936 test -n "$ac_ct_AR" && break
5937 done
5939 if test "x$ac_ct_AR" = x; then
5940 AR="ar"
5941 else
5942 case $cross_compiling:$ac_tool_warned in
5943 yes:)
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5946 ac_tool_warned=yes ;;
5947 esac
5948 AR=$ac_ct_AR
5952 if test -n "$ac_tool_prefix"; then
5953 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5954 set dummy ${ac_tool_prefix}strip; ac_word=$2
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956 $as_echo_n "checking for $ac_word... " >&6; }
5957 if ${ac_cv_prog_STRIP+:} false; then :
5958 $as_echo_n "(cached) " >&6
5959 else
5960 if test -n "$STRIP"; then
5961 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5962 else
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964 for as_dir in $PATH
5966 IFS=$as_save_IFS
5967 test -z "$as_dir" && as_dir=.
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5970 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5972 break 2
5974 done
5975 done
5976 IFS=$as_save_IFS
5980 STRIP=$ac_cv_prog_STRIP
5981 if test -n "$STRIP"; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5983 $as_echo "$STRIP" >&6; }
5984 else
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5991 if test -z "$ac_cv_prog_STRIP"; then
5992 ac_ct_STRIP=$STRIP
5993 # Extract the first word of "strip", so it can be a program name with args.
5994 set dummy strip; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5998 $as_echo_n "(cached) " >&6
5999 else
6000 if test -n "$ac_ct_STRIP"; then
6001 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6002 else
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 for as_dir in $PATH
6006 IFS=$as_save_IFS
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_ac_ct_STRIP="strip"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 break 2
6014 done
6015 done
6016 IFS=$as_save_IFS
6020 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6021 if test -n "$ac_ct_STRIP"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6023 $as_echo "$ac_ct_STRIP" >&6; }
6024 else
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6029 if test "x$ac_ct_STRIP" = x; then
6030 STRIP="strip"
6031 else
6032 case $cross_compiling:$ac_tool_warned in
6033 yes:)
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6036 ac_tool_warned=yes ;;
6037 esac
6038 STRIP=$ac_ct_STRIP
6040 else
6041 STRIP="$ac_cv_prog_STRIP"
6044 if test -n "$ac_tool_prefix"; then
6045 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6046 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048 $as_echo_n "checking for $ac_word... " >&6; }
6049 if ${ac_cv_prog_RANLIB+:} false; then :
6050 $as_echo_n "(cached) " >&6
6051 else
6052 if test -n "$RANLIB"; then
6053 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6058 IFS=$as_save_IFS
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6062 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 break 2
6066 done
6067 done
6068 IFS=$as_save_IFS
6072 RANLIB=$ac_cv_prog_RANLIB
6073 if test -n "$RANLIB"; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6075 $as_echo "$RANLIB" >&6; }
6076 else
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078 $as_echo "no" >&6; }
6083 if test -z "$ac_cv_prog_RANLIB"; then
6084 ac_ct_RANLIB=$RANLIB
6085 # Extract the first word of "ranlib", so it can be a program name with args.
6086 set dummy ranlib; ac_word=$2
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6088 $as_echo_n "checking for $ac_word... " >&6; }
6089 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6090 $as_echo_n "(cached) " >&6
6091 else
6092 if test -n "$ac_ct_RANLIB"; then
6093 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6094 else
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in $PATH
6098 IFS=$as_save_IFS
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6102 ac_cv_prog_ac_ct_RANLIB="ranlib"
6103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6104 break 2
6106 done
6107 done
6108 IFS=$as_save_IFS
6112 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6113 if test -n "$ac_ct_RANLIB"; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6115 $as_echo "$ac_ct_RANLIB" >&6; }
6116 else
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6118 $as_echo "no" >&6; }
6121 if test "x$ac_ct_RANLIB" = x; then
6122 RANLIB=":"
6123 else
6124 case $cross_compiling:$ac_tool_warned in
6125 yes:)
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6128 ac_tool_warned=yes ;;
6129 esac
6130 RANLIB=$ac_ct_RANLIB
6132 else
6133 RANLIB="$ac_cv_prog_RANLIB"
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6137 $as_echo_n "checking whether ln -s works... " >&6; }
6138 LN_S=$as_ln_s
6139 if test "$LN_S" = "ln -s"; then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6141 $as_echo "yes" >&6; }
6142 else
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6144 $as_echo "no, using $LN_S" >&6; }
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6148 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6149 if ${ac_cv_path_GREP+:} false; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -z "$GREP"; then
6153 ac_path_GREP_found=false
6154 # Loop through the user's path and test for each of PROGNAME-LIST
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_prog in grep ggrep; do
6161 for ac_exec_ext in '' $ac_executable_extensions; do
6162 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6163 as_fn_executable_p "$ac_path_GREP" || continue
6164 # Check for GNU ac_path_GREP and select it if it is found.
6165 # Check for GNU $ac_path_GREP
6166 case `"$ac_path_GREP" --version 2>&1` in
6167 *GNU*)
6168 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6170 ac_count=0
6171 $as_echo_n 0123456789 >"conftest.in"
6172 while :
6174 cat "conftest.in" "conftest.in" >"conftest.tmp"
6175 mv "conftest.tmp" "conftest.in"
6176 cp "conftest.in" "conftest.nl"
6177 $as_echo 'GREP' >> "conftest.nl"
6178 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6179 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6180 as_fn_arith $ac_count + 1 && ac_count=$as_val
6181 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6182 # Best one so far, save it but keep looking for a better one
6183 ac_cv_path_GREP="$ac_path_GREP"
6184 ac_path_GREP_max=$ac_count
6186 # 10*(2^10) chars as input seems more than enough
6187 test $ac_count -gt 10 && break
6188 done
6189 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6190 esac
6192 $ac_path_GREP_found && break 3
6193 done
6194 done
6195 done
6196 IFS=$as_save_IFS
6197 if test -z "$ac_cv_path_GREP"; then
6198 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6200 else
6201 ac_cv_path_GREP=$GREP
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6206 $as_echo "$ac_cv_path_GREP" >&6; }
6207 GREP="$ac_cv_path_GREP"
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6211 $as_echo_n "checking for egrep... " >&6; }
6212 if ${ac_cv_path_EGREP+:} false; then :
6213 $as_echo_n "(cached) " >&6
6214 else
6215 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6216 then ac_cv_path_EGREP="$GREP -E"
6217 else
6218 if test -z "$EGREP"; then
6219 ac_path_EGREP_found=false
6220 # Loop through the user's path and test for each of PROGNAME-LIST
6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6222 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6224 IFS=$as_save_IFS
6225 test -z "$as_dir" && as_dir=.
6226 for ac_prog in egrep; do
6227 for ac_exec_ext in '' $ac_executable_extensions; do
6228 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6229 as_fn_executable_p "$ac_path_EGREP" || continue
6230 # Check for GNU ac_path_EGREP and select it if it is found.
6231 # Check for GNU $ac_path_EGREP
6232 case `"$ac_path_EGREP" --version 2>&1` in
6233 *GNU*)
6234 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6236 ac_count=0
6237 $as_echo_n 0123456789 >"conftest.in"
6238 while :
6240 cat "conftest.in" "conftest.in" >"conftest.tmp"
6241 mv "conftest.tmp" "conftest.in"
6242 cp "conftest.in" "conftest.nl"
6243 $as_echo 'EGREP' >> "conftest.nl"
6244 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6245 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6246 as_fn_arith $ac_count + 1 && ac_count=$as_val
6247 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6248 # Best one so far, save it but keep looking for a better one
6249 ac_cv_path_EGREP="$ac_path_EGREP"
6250 ac_path_EGREP_max=$ac_count
6252 # 10*(2^10) chars as input seems more than enough
6253 test $ac_count -gt 10 && break
6254 done
6255 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6256 esac
6258 $ac_path_EGREP_found && break 3
6259 done
6260 done
6261 done
6262 IFS=$as_save_IFS
6263 if test -z "$ac_cv_path_EGREP"; then
6264 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6266 else
6267 ac_cv_path_EGREP=$EGREP
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6273 $as_echo "$ac_cv_path_EGREP" >&6; }
6274 EGREP="$ac_cv_path_EGREP"
6277 # Extract the first word of "ldconfig", so it can be a program name with args.
6278 set dummy ldconfig; ac_word=$2
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6280 $as_echo_n "checking for $ac_word... " >&6; }
6281 if ${ac_cv_path_LDCONFIG+:} false; then :
6282 $as_echo_n "(cached) " >&6
6283 else
6284 case $LDCONFIG in
6285 [\\/]* | ?:[\\/]*)
6286 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290 for as_dir in /sbin /usr/sbin $PATH
6292 IFS=$as_save_IFS
6293 test -z "$as_dir" && as_dir=.
6294 for ac_exec_ext in '' $ac_executable_extensions; do
6295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6296 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6298 break 2
6300 done
6301 done
6302 IFS=$as_save_IFS
6304 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6306 esac
6308 LDCONFIG=$ac_cv_path_LDCONFIG
6309 if test -n "$LDCONFIG"; then
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6311 $as_echo "$LDCONFIG" >&6; }
6312 else
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6314 $as_echo "no" >&6; }
6318 for ac_prog in msgfmt
6320 # Extract the first word of "$ac_prog", so it can be a program name with args.
6321 set dummy $ac_prog; ac_word=$2
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6323 $as_echo_n "checking for $ac_word... " >&6; }
6324 if ${ac_cv_prog_MSGFMT+:} false; then :
6325 $as_echo_n "(cached) " >&6
6326 else
6327 if test -n "$MSGFMT"; then
6328 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6329 else
6330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6331 for as_dir in $PATH
6333 IFS=$as_save_IFS
6334 test -z "$as_dir" && as_dir=.
6335 for ac_exec_ext in '' $ac_executable_extensions; do
6336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6337 ac_cv_prog_MSGFMT="$ac_prog"
6338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6339 break 2
6341 done
6342 done
6343 IFS=$as_save_IFS
6347 MSGFMT=$ac_cv_prog_MSGFMT
6348 if test -n "$MSGFMT"; then
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6350 $as_echo "$MSGFMT" >&6; }
6351 else
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6353 $as_echo "no" >&6; }
6357 test -n "$MSGFMT" && break
6358 done
6359 test -n "$MSGFMT" || MSGFMT="false"
6361 if ${ac_tool_prefix+:} false; then :
6362 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6363 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6365 $as_echo_n "checking for $ac_word... " >&6; }
6366 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6367 $as_echo_n "(cached) " >&6
6368 else
6369 if test -n "$PKG_CONFIG"; then
6370 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6371 else
6372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373 for as_dir in $PATH
6375 IFS=$as_save_IFS
6376 test -z "$as_dir" && as_dir=.
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6379 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6381 break 2
6383 done
6384 done
6385 IFS=$as_save_IFS
6389 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6390 if test -n "$PKG_CONFIG"; then
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6392 $as_echo "$PKG_CONFIG" >&6; }
6393 else
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6395 $as_echo "no" >&6; }
6400 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6401 if test "x$cross_compiling" = xyes; then :
6403 else
6404 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6405 # Extract the first word of "pkg-config", so it can be a program name with args.
6406 set dummy pkg-config; ac_word=$2
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6408 $as_echo_n "checking for $ac_word... " >&6; }
6409 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6410 $as_echo_n "(cached) " >&6
6411 else
6412 if test -n "$PKG_CONFIG"; then
6413 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6414 else
6415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6416 for as_dir in $PATH
6418 IFS=$as_save_IFS
6419 test -z "$as_dir" && as_dir=.
6420 for ac_exec_ext in '' $ac_executable_extensions; do
6421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6422 ac_cv_prog_PKG_CONFIG="pkg-config"
6423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6424 break 2
6426 done
6427 done
6428 IFS=$as_save_IFS
6432 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6433 if test -n "$PKG_CONFIG"; then
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6435 $as_echo "$PKG_CONFIG" >&6; }
6436 else
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6438 $as_echo "no" >&6; }
6443 else
6444 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6447 if test "x$enable_maintainer_mode" != "xyes"
6448 then
6449 FONTFORGE=""
6450 RSVG=""
6451 CONVERT=""
6452 ICOTOOL=""
6453 else
6454 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6455 for ac_prog in fontforge
6457 # Extract the first word of "$ac_prog", so it can be a program name with args.
6458 set dummy $ac_prog; ac_word=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if ${ac_cv_prog_FONTFORGE+:} false; then :
6462 $as_echo_n "(cached) " >&6
6463 else
6464 if test -n "$FONTFORGE"; then
6465 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6466 else
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in $PATH
6470 IFS=$as_save_IFS
6471 test -z "$as_dir" && as_dir=.
6472 for ac_exec_ext in '' $ac_executable_extensions; do
6473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6474 ac_cv_prog_FONTFORGE="$ac_prog"
6475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6476 break 2
6478 done
6479 done
6480 IFS=$as_save_IFS
6484 FONTFORGE=$ac_cv_prog_FONTFORGE
6485 if test -n "$FONTFORGE"; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6487 $as_echo "$FONTFORGE" >&6; }
6488 else
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 $as_echo "no" >&6; }
6494 test -n "$FONTFORGE" && break
6495 done
6496 test -n "$FONTFORGE" || FONTFORGE="false"
6498 for ac_prog in rsvg-convert rsvg
6500 # Extract the first word of "$ac_prog", so it can be a program name with args.
6501 set dummy $ac_prog; ac_word=$2
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 $as_echo_n "checking for $ac_word... " >&6; }
6504 if ${ac_cv_prog_RSVG+:} false; then :
6505 $as_echo_n "(cached) " >&6
6506 else
6507 if test -n "$RSVG"; then
6508 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6509 else
6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 for as_dir in $PATH
6513 IFS=$as_save_IFS
6514 test -z "$as_dir" && as_dir=.
6515 for ac_exec_ext in '' $ac_executable_extensions; do
6516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6517 ac_cv_prog_RSVG="$ac_prog"
6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 break 2
6521 done
6522 done
6523 IFS=$as_save_IFS
6527 RSVG=$ac_cv_prog_RSVG
6528 if test -n "$RSVG"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6530 $as_echo "$RSVG" >&6; }
6531 else
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533 $as_echo "no" >&6; }
6537 test -n "$RSVG" && break
6538 done
6539 test -n "$RSVG" || RSVG="false"
6541 for ac_prog in convert
6543 # Extract the first word of "$ac_prog", so it can be a program name with args.
6544 set dummy $ac_prog; ac_word=$2
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if ${ac_cv_prog_CONVERT+:} false; then :
6548 $as_echo_n "(cached) " >&6
6549 else
6550 if test -n "$CONVERT"; then
6551 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6552 else
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 for as_dir in $PATH
6556 IFS=$as_save_IFS
6557 test -z "$as_dir" && as_dir=.
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6560 ac_cv_prog_CONVERT="$ac_prog"
6561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562 break 2
6564 done
6565 done
6566 IFS=$as_save_IFS
6570 CONVERT=$ac_cv_prog_CONVERT
6571 if test -n "$CONVERT"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6573 $as_echo "$CONVERT" >&6; }
6574 else
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6580 test -n "$CONVERT" && break
6581 done
6582 test -n "$CONVERT" || CONVERT="false"
6584 for ac_prog in icotool
6586 # Extract the first word of "$ac_prog", so it can be a program name with args.
6587 set dummy $ac_prog; ac_word=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if ${ac_cv_prog_ICOTOOL+:} false; then :
6591 $as_echo_n "(cached) " >&6
6592 else
6593 if test -n "$ICOTOOL"; then
6594 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6595 else
6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 for as_dir in $PATH
6599 IFS=$as_save_IFS
6600 test -z "$as_dir" && as_dir=.
6601 for ac_exec_ext in '' $ac_executable_extensions; do
6602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6603 ac_cv_prog_ICOTOOL="$ac_prog"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6605 break 2
6607 done
6608 done
6609 IFS=$as_save_IFS
6613 ICOTOOL=$ac_cv_prog_ICOTOOL
6614 if test -n "$ICOTOOL"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6616 $as_echo "$ICOTOOL" >&6; }
6617 else
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6623 test -n "$ICOTOOL" && break
6624 done
6625 test -n "$ICOTOOL" || ICOTOOL="false"
6627 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6628 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6630 if test "$CONVERT" = false
6631 then
6632 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6633 else
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6635 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6636 convert_version=`convert --version | head -n1`
6637 if test "x$convert_version" != "x"
6638 then
6639 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6640 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6641 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6642 then
6643 CONVERT=false
6646 if test "$CONVERT" = false
6647 then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6649 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6650 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6651 else
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6653 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6657 if test "$ICOTOOL" = false
6658 then
6659 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6660 else
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6662 $as_echo_n "checking for recent enough icotool... " >&6; }
6663 icotool_version=`icotool --version | head -n1`
6664 if test "x$icotool_version" != "x"
6665 then
6666 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6667 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6668 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6669 then
6670 ICOTOOL=false
6671 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6674 if test "$ICOTOOL" = false
6675 then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6677 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6678 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6679 else
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6681 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6685 with_gettext=yes
6686 with_gettextpo=yes
6687 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6690 test "x$with_gettext" != xno || MSGFMT=false
6691 if test "$MSGFMT" != "false"
6692 then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6694 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6695 cat >conftest.po <<EOF
6696 # comment
6697 msgctxt "ctxt"
6698 msgid "id"
6699 msgstr "str"
6701 if $MSGFMT -o /dev/null conftest.po 2>&5
6702 then
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6704 $as_echo "yes" >&6; }
6705 else
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6707 $as_echo "no" >&6; }
6708 MSGFMT=false
6711 if test "$MSGFMT" = false; then :
6712 case "x$with_gettext" in
6713 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6714 xno) ;;
6715 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6716 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6717 esac
6718 enable_po=${enable_po:-no}
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6723 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6724 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6725 $as_echo_n "(cached) " >&6
6726 else
6727 ac_check_lib_save_LIBS=$LIBS
6728 LIBS="-li386 $LIBS"
6729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6730 /* end confdefs.h. */
6732 /* Override any GCC internal prototype to avoid an error.
6733 Use char because int might match the return type of a GCC
6734 builtin and then its argument prototype would still apply. */
6735 #ifdef __cplusplus
6736 extern "C"
6737 #endif
6738 char i386_set_ldt ();
6740 main ()
6742 return i386_set_ldt ();
6744 return 0;
6746 _ACEOF
6747 if ac_fn_c_try_link "$LINENO"; then :
6748 ac_cv_lib_i386_i386_set_ldt=yes
6749 else
6750 ac_cv_lib_i386_i386_set_ldt=no
6752 rm -f core conftest.err conftest.$ac_objext \
6753 conftest$ac_exeext conftest.$ac_ext
6754 LIBS=$ac_check_lib_save_LIBS
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6757 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6758 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6759 cat >>confdefs.h <<_ACEOF
6760 #define HAVE_LIBI386 1
6761 _ACEOF
6763 LIBS="-li386 $LIBS"
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6768 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6769 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6770 $as_echo_n "(cached) " >&6
6771 else
6772 ac_check_lib_save_LIBS=$LIBS
6773 LIBS="-lossaudio $LIBS"
6774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6775 /* end confdefs.h. */
6777 /* Override any GCC internal prototype to avoid an error.
6778 Use char because int might match the return type of a GCC
6779 builtin and then its argument prototype would still apply. */
6780 #ifdef __cplusplus
6781 extern "C"
6782 #endif
6783 char _oss_ioctl ();
6785 main ()
6787 return _oss_ioctl ();
6789 return 0;
6791 _ACEOF
6792 if ac_fn_c_try_link "$LINENO"; then :
6793 ac_cv_lib_ossaudio__oss_ioctl=yes
6794 else
6795 ac_cv_lib_ossaudio__oss_ioctl=no
6797 rm -f core conftest.err conftest.$ac_objext \
6798 conftest$ac_exeext conftest.$ac_ext
6799 LIBS=$ac_check_lib_save_LIBS
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6802 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6803 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6804 cat >>confdefs.h <<_ACEOF
6805 #define HAVE_LIBOSSAUDIO 1
6806 _ACEOF
6808 LIBS="-lossaudio $LIBS"
6813 OPENGL_LIBS=""
6817 # Check whether --enable-largefile was given.
6818 if test "${enable_largefile+set}" = set; then :
6819 enableval=$enable_largefile;
6822 if test "$enable_largefile" != no; then
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6825 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6826 if ${ac_cv_sys_largefile_CC+:} false; then :
6827 $as_echo_n "(cached) " >&6
6828 else
6829 ac_cv_sys_largefile_CC=no
6830 if test "$GCC" != yes; then
6831 ac_save_CC=$CC
6832 while :; do
6833 # IRIX 6.2 and later do not support large files by default,
6834 # so use the C compiler's -n32 option if that helps.
6835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6836 /* end confdefs.h. */
6837 #include <sys/types.h>
6838 /* Check that off_t can represent 2**63 - 1 correctly.
6839 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6840 since some C++ compilers masquerading as C compilers
6841 incorrectly reject 9223372036854775807. */
6842 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6843 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6844 && LARGE_OFF_T % 2147483647 == 1)
6845 ? 1 : -1];
6847 main ()
6851 return 0;
6853 _ACEOF
6854 if ac_fn_c_try_compile "$LINENO"; then :
6855 break
6857 rm -f core conftest.err conftest.$ac_objext
6858 CC="$CC -n32"
6859 if ac_fn_c_try_compile "$LINENO"; then :
6860 ac_cv_sys_largefile_CC=' -n32'; break
6862 rm -f core conftest.err conftest.$ac_objext
6863 break
6864 done
6865 CC=$ac_save_CC
6866 rm -f conftest.$ac_ext
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6870 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6871 if test "$ac_cv_sys_largefile_CC" != no; then
6872 CC=$CC$ac_cv_sys_largefile_CC
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6876 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6877 if ${ac_cv_sys_file_offset_bits+:} false; then :
6878 $as_echo_n "(cached) " >&6
6879 else
6880 while :; do
6881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6882 /* end confdefs.h. */
6883 #include <sys/types.h>
6884 /* Check that off_t can represent 2**63 - 1 correctly.
6885 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6886 since some C++ compilers masquerading as C compilers
6887 incorrectly reject 9223372036854775807. */
6888 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6889 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6890 && LARGE_OFF_T % 2147483647 == 1)
6891 ? 1 : -1];
6893 main ()
6897 return 0;
6899 _ACEOF
6900 if ac_fn_c_try_compile "$LINENO"; then :
6901 ac_cv_sys_file_offset_bits=no; break
6903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6905 /* end confdefs.h. */
6906 #define _FILE_OFFSET_BITS 64
6907 #include <sys/types.h>
6908 /* Check that off_t can represent 2**63 - 1 correctly.
6909 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6910 since some C++ compilers masquerading as C compilers
6911 incorrectly reject 9223372036854775807. */
6912 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6913 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6914 && LARGE_OFF_T % 2147483647 == 1)
6915 ? 1 : -1];
6917 main ()
6921 return 0;
6923 _ACEOF
6924 if ac_fn_c_try_compile "$LINENO"; then :
6925 ac_cv_sys_file_offset_bits=64; break
6927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6928 ac_cv_sys_file_offset_bits=unknown
6929 break
6930 done
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6933 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6934 case $ac_cv_sys_file_offset_bits in #(
6935 no | unknown) ;;
6937 cat >>confdefs.h <<_ACEOF
6938 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6939 _ACEOF
6941 esac
6942 rm -rf conftest*
6943 if test $ac_cv_sys_file_offset_bits = unknown; then
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6945 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6946 if ${ac_cv_sys_large_files+:} false; then :
6947 $as_echo_n "(cached) " >&6
6948 else
6949 while :; do
6950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6951 /* end confdefs.h. */
6952 #include <sys/types.h>
6953 /* Check that off_t can represent 2**63 - 1 correctly.
6954 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6955 since some C++ compilers masquerading as C compilers
6956 incorrectly reject 9223372036854775807. */
6957 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6958 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6959 && LARGE_OFF_T % 2147483647 == 1)
6960 ? 1 : -1];
6962 main ()
6966 return 0;
6968 _ACEOF
6969 if ac_fn_c_try_compile "$LINENO"; then :
6970 ac_cv_sys_large_files=no; break
6972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6974 /* end confdefs.h. */
6975 #define _LARGE_FILES 1
6976 #include <sys/types.h>
6977 /* Check that off_t can represent 2**63 - 1 correctly.
6978 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6979 since some C++ compilers masquerading as C compilers
6980 incorrectly reject 9223372036854775807. */
6981 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6982 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6983 && LARGE_OFF_T % 2147483647 == 1)
6984 ? 1 : -1];
6986 main ()
6990 return 0;
6992 _ACEOF
6993 if ac_fn_c_try_compile "$LINENO"; then :
6994 ac_cv_sys_large_files=1; break
6996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6997 ac_cv_sys_large_files=unknown
6998 break
6999 done
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7002 $as_echo "$ac_cv_sys_large_files" >&6; }
7003 case $ac_cv_sys_large_files in #(
7004 no | unknown) ;;
7006 cat >>confdefs.h <<_ACEOF
7007 #define _LARGE_FILES $ac_cv_sys_large_files
7008 _ACEOF
7010 esac
7011 rm -rf conftest*
7018 ac_ext=c
7019 ac_cpp='$CPP $CPPFLAGS'
7020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7024 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7025 # On Suns, sometimes $CPP names a directory.
7026 if test -n "$CPP" && test -d "$CPP"; then
7027 CPP=
7029 if test -z "$CPP"; then
7030 if ${ac_cv_prog_CPP+:} false; then :
7031 $as_echo_n "(cached) " >&6
7032 else
7033 # Double quotes because CPP needs to be expanded
7034 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7036 ac_preproc_ok=false
7037 for ac_c_preproc_warn_flag in '' yes
7039 # Use a header file that comes with gcc, so configuring glibc
7040 # with a fresh cross-compiler works.
7041 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7042 # <limits.h> exists even on freestanding compilers.
7043 # On the NeXT, cc -E runs the code through the compiler's parser,
7044 # not just through cpp. "Syntax error" is here to catch this case.
7045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7046 /* end confdefs.h. */
7047 #ifdef __STDC__
7048 # include <limits.h>
7049 #else
7050 # include <assert.h>
7051 #endif
7052 Syntax error
7053 _ACEOF
7054 if ac_fn_c_try_cpp "$LINENO"; then :
7056 else
7057 # Broken: fails on valid input.
7058 continue
7060 rm -f conftest.err conftest.i conftest.$ac_ext
7062 # OK, works on sane cases. Now check whether nonexistent headers
7063 # can be detected and how.
7064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7065 /* end confdefs.h. */
7066 #include <ac_nonexistent.h>
7067 _ACEOF
7068 if ac_fn_c_try_cpp "$LINENO"; then :
7069 # Broken: success on invalid input.
7070 continue
7071 else
7072 # Passes both tests.
7073 ac_preproc_ok=:
7074 break
7076 rm -f conftest.err conftest.i conftest.$ac_ext
7078 done
7079 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7080 rm -f conftest.i conftest.err conftest.$ac_ext
7081 if $ac_preproc_ok; then :
7082 break
7085 done
7086 ac_cv_prog_CPP=$CPP
7089 CPP=$ac_cv_prog_CPP
7090 else
7091 ac_cv_prog_CPP=$CPP
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7094 $as_echo "$CPP" >&6; }
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 :
7142 else
7143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7145 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7146 See \`config.log' for more details" "$LINENO" 5; }
7149 ac_ext=c
7150 ac_cpp='$CPP $CPPFLAGS'
7151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7157 $as_echo_n "checking for ANSI C header files... " >&6; }
7158 if ${ac_cv_header_stdc+:} false; then :
7159 $as_echo_n "(cached) " >&6
7160 else
7161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7162 /* end confdefs.h. */
7163 #include <stdlib.h>
7164 #include <stdarg.h>
7165 #include <string.h>
7166 #include <float.h>
7169 main ()
7173 return 0;
7175 _ACEOF
7176 if ac_fn_c_try_compile "$LINENO"; then :
7177 ac_cv_header_stdc=yes
7178 else
7179 ac_cv_header_stdc=no
7181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7183 if test $ac_cv_header_stdc = yes; then
7184 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7186 /* end confdefs.h. */
7187 #include <string.h>
7189 _ACEOF
7190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7191 $EGREP "memchr" >/dev/null 2>&1; then :
7193 else
7194 ac_cv_header_stdc=no
7196 rm -f conftest*
7200 if test $ac_cv_header_stdc = yes; then
7201 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7203 /* end confdefs.h. */
7204 #include <stdlib.h>
7206 _ACEOF
7207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7208 $EGREP "free" >/dev/null 2>&1; then :
7210 else
7211 ac_cv_header_stdc=no
7213 rm -f conftest*
7217 if test $ac_cv_header_stdc = yes; then
7218 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7219 if test "$cross_compiling" = yes; then :
7221 else
7222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7223 /* end confdefs.h. */
7224 #include <ctype.h>
7225 #include <stdlib.h>
7226 #if ((' ' & 0x0FF) == 0x020)
7227 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7228 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7229 #else
7230 # define ISLOWER(c) \
7231 (('a' <= (c) && (c) <= 'i') \
7232 || ('j' <= (c) && (c) <= 'r') \
7233 || ('s' <= (c) && (c) <= 'z'))
7234 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7235 #endif
7237 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7239 main ()
7241 int i;
7242 for (i = 0; i < 256; i++)
7243 if (XOR (islower (i), ISLOWER (i))
7244 || toupper (i) != TOUPPER (i))
7245 return 2;
7246 return 0;
7248 _ACEOF
7249 if ac_fn_c_try_run "$LINENO"; then :
7251 else
7252 ac_cv_header_stdc=no
7254 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7255 conftest.$ac_objext conftest.beam conftest.$ac_ext
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7261 $as_echo "$ac_cv_header_stdc" >&6; }
7262 if test $ac_cv_header_stdc = yes; then
7264 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7268 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7269 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7270 inttypes.h stdint.h unistd.h
7271 do :
7272 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7273 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7275 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7276 cat >>confdefs.h <<_ACEOF
7277 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7278 _ACEOF
7282 done
7285 for ac_header in \
7286 AL/al.h \
7287 ApplicationServices/ApplicationServices.h \
7288 AudioToolbox/AudioConverter.h \
7289 AudioUnit/AudioUnit.h \
7290 AudioUnit/AudioComponent.h \
7291 CL/cl.h \
7292 Carbon/Carbon.h \
7293 CommonCrypto/CommonCryptor.h \
7294 CoreAudio/CoreAudio.h \
7295 CoreServices/CoreServices.h \
7296 DiskArbitration/DiskArbitration.h \
7297 EGL/egl.h \
7298 IOKit/IOKitLib.h \
7299 IOKit/hid/IOHIDLib.h \
7300 OpenAL/al.h \
7301 OpenCL/opencl.h \
7302 QuickTime/ImageCompression.h \
7303 Security/Security.h \
7304 alias.h \
7305 arpa/inet.h \
7306 arpa/nameser.h \
7307 asm/types.h \
7308 asm/user.h \
7309 curses.h \
7310 dirent.h \
7311 dlfcn.h \
7312 elf.h \
7313 float.h \
7314 fnmatch.h \
7315 getopt.h \
7316 gettext-po.h \
7317 grp.h \
7318 gsm.h \
7319 gsm/gsm.h \
7320 ieeefp.h \
7321 inet/mib2.h \
7322 kstat.h \
7323 libproc.h \
7324 link.h \
7325 linux/cdrom.h \
7326 linux/compiler.h \
7327 linux/filter.h \
7328 linux/hdreg.h \
7329 linux/hidraw.h \
7330 linux/input.h \
7331 linux/ioctl.h \
7332 linux/joystick.h \
7333 linux/major.h \
7334 linux/param.h \
7335 linux/serial.h \
7336 linux/types.h \
7337 linux/ucdrom.h \
7338 lwp.h \
7339 mach-o/nlist.h \
7340 mach-o/loader.h \
7341 mach/mach.h \
7342 mach/machine.h \
7343 machine/cpu.h \
7344 machine/limits.h \
7345 machine/sysarch.h \
7346 mntent.h \
7347 ncurses.h \
7348 netdb.h \
7349 netinet/in.h \
7350 netinet/in_systm.h \
7351 netinet/tcp.h \
7352 netinet/tcp_fsm.h \
7353 pcap/pcap.h \
7354 poll.h \
7355 port.h \
7356 pthread.h \
7357 pwd.h \
7358 sched.h \
7359 scsi/scsi.h \
7360 scsi/scsi_ioctl.h \
7361 scsi/sg.h \
7362 stdbool.h \
7363 stdint.h \
7364 stropts.h \
7365 sys/attr.h \
7366 sys/auxv.h \
7367 sys/cdio.h \
7368 sys/elf32.h \
7369 sys/epoll.h \
7370 sys/event.h \
7371 sys/exec_elf.h \
7372 sys/filio.h \
7373 sys/inotify.h \
7374 sys/ioctl.h \
7375 sys/ipc.h \
7376 sys/limits.h \
7377 sys/link.h \
7378 sys/mman.h \
7379 sys/modem.h \
7380 sys/msg.h \
7381 sys/mtio.h \
7382 sys/param.h \
7383 sys/poll.h \
7384 sys/prctl.h \
7385 sys/protosw.h \
7386 sys/ptrace.h \
7387 sys/queue.h \
7388 sys/resource.h \
7389 sys/scsiio.h \
7390 sys/shm.h \
7391 sys/signal.h \
7392 sys/socket.h \
7393 sys/socketvar.h \
7394 sys/sockio.h \
7395 sys/statvfs.h \
7396 sys/strtio.h \
7397 sys/syscall.h \
7398 sys/sysinfo.h \
7399 sys/tihdr.h \
7400 sys/time.h \
7401 sys/timeout.h \
7402 sys/times.h \
7403 sys/uio.h \
7404 sys/user.h \
7405 sys/utsname.h \
7406 sys/vnode.h \
7407 sys/wait.h \
7408 syscall.h \
7409 termios.h \
7410 unistd.h \
7411 utime.h \
7412 valgrind/memcheck.h \
7413 valgrind/valgrind.h \
7414 zlib.h
7416 do :
7417 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7418 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7419 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7420 cat >>confdefs.h <<_ACEOF
7421 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7422 _ACEOF
7426 done
7428 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7429 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7431 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7436 if test $ac_cv_header_sys_mkdev_h = no; then
7437 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7438 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7440 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7447 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7448 if ${ac_cv_header_stat_broken+:} false; then :
7449 $as_echo_n "(cached) " >&6
7450 else
7451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7452 /* end confdefs.h. */
7453 #include <sys/types.h>
7454 #include <sys/stat.h>
7456 #if defined S_ISBLK && defined S_IFDIR
7457 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7458 #endif
7460 #if defined S_ISBLK && defined S_IFCHR
7461 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7462 #endif
7464 #if defined S_ISLNK && defined S_IFREG
7465 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7466 #endif
7468 #if defined S_ISSOCK && defined S_IFREG
7469 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7470 #endif
7472 _ACEOF
7473 if ac_fn_c_try_compile "$LINENO"; then :
7474 ac_cv_header_stat_broken=no
7475 else
7476 ac_cv_header_stat_broken=yes
7478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7481 $as_echo "$ac_cv_header_stat_broken" >&6; }
7482 if test $ac_cv_header_stat_broken = yes; then
7484 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7490 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7491 do :
7492 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7493 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7494 #ifdef HAVE_SYS_PARAM_H
7495 # include <sys/param.h>
7496 #endif
7498 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7499 cat >>confdefs.h <<_ACEOF
7500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7501 _ACEOF
7505 done
7508 for ac_header in \
7509 netinet/ip.h \
7510 net/if.h \
7511 net/if_arp.h \
7512 net/if_dl.h \
7513 net/if_types.h \
7514 net/route.h \
7515 netinet/if_ether.h \
7516 netinet/if_inarp.h \
7517 netinet/in_pcb.h \
7518 netinet/ip_icmp.h \
7519 netinet/ip_var.h \
7520 netinet/udp.h \
7521 netipx/ipx.h \
7522 sys/un.h \
7524 do :
7525 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7526 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7527 #ifdef HAVE_SYS_SOCKET_H
7528 # include <sys/socket.h>
7529 #endif
7530 #ifdef HAVE_SYS_SOCKETVAR_H
7531 # include <sys/socketvar.h>
7532 #endif
7533 #ifdef HAVE_NET_ROUTE_H
7534 # include <net/route.h>
7535 #endif
7536 #ifdef HAVE_NETINET_IN_H
7537 # include <netinet/in.h>
7538 #endif
7539 #ifdef HAVE_NETINET_IN_SYSTM_H
7540 # include <netinet/in_systm.h>
7541 #endif
7542 #ifdef HAVE_NET_IF_H
7543 # include <net/if.h>
7544 #endif
7545 #ifdef HAVE_NETINET_IP_H
7546 # include <netinet/ip.h>
7547 #endif
7549 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7550 cat >>confdefs.h <<_ACEOF
7551 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7552 _ACEOF
7556 done
7559 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7560 do :
7561 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7562 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7563 #ifdef HAVE_ALIAS_H
7564 # include <alias.h>
7565 #endif
7566 #ifdef HAVE_SYS_SOCKET_H
7567 # include <sys/socket.h>
7568 #endif
7569 #ifdef HAVE_SYS_SOCKETVAR_H
7570 # include <sys/socketvar.h>
7571 #endif
7572 #ifdef HAVE_SYS_TIMEOUT_H
7573 # include <sys/timeout.h>
7574 #endif
7575 #ifdef HAVE_NETINET_IN_H
7576 # include <netinet/in.h>
7577 #endif
7578 #ifdef HAVE_NETINET_IN_SYSTM_H
7579 # include <netinet/in_systm.h>
7580 #endif
7581 #ifdef HAVE_NETINET_IP_H
7582 # include <netinet/ip.h>
7583 #endif
7584 #ifdef HAVE_NETINET_IP_VAR_H
7585 # include <netinet/ip_var.h>
7586 #endif
7587 #ifdef HAVE_NETINET_IP_ICMP_H
7588 # include <netinet/ip_icmp.h>
7589 #endif
7590 #ifdef HAVE_NETINET_UDP_H
7591 # include <netinet/udp.h>
7592 #endif
7593 #ifdef HAVE_NETINET_TCP_H
7594 # include <netinet/tcp.h>
7595 #endif
7596 #ifdef HAVE_NETINET_TCP_TIMER_H
7597 #include <netinet/tcp_timer.h>
7598 #endif
7600 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7601 cat >>confdefs.h <<_ACEOF
7602 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7603 _ACEOF
7607 done
7610 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7611 do :
7612 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7613 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7614 #ifdef HAVE_ASM_TYPES_H
7615 # include <asm/types.h>
7616 #endif
7617 #ifdef HAVE_SYS_SOCKET_H
7618 # include <sys/socket.h>
7619 #endif
7620 #ifdef HAVE_LINUX_TYPES_H
7621 # include <linux/types.h>
7622 #endif
7624 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7625 cat >>confdefs.h <<_ACEOF
7626 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7627 _ACEOF
7631 done
7634 for ac_header in mach-o/dyld_images.h
7635 do :
7636 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7637 # include <stdbool.h>
7638 #endif
7639 #ifdef HAVE_STDINT_H
7640 # include <stdint.h>
7641 #endif
7643 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7644 cat >>confdefs.h <<_ACEOF
7645 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7646 _ACEOF
7650 done
7653 for ac_header in resolv.h
7654 do :
7655 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7656 #ifdef HAVE_SYS_SOCKET_H
7657 # include <sys/socket.h>
7658 #endif
7659 #ifdef HAVE_NETINET_IN_H
7660 # include <netinet/in.h>
7661 #endif
7662 #ifdef HAVE_ARPA_NAMESER_H
7663 # include <arpa/nameser.h>
7664 #endif
7666 if test "x$ac_cv_header_resolv_h" = xyes; then :
7667 cat >>confdefs.h <<_ACEOF
7668 #define HAVE_RESOLV_H 1
7669 _ACEOF
7673 done
7676 for ac_header in ifaddrs.h
7677 do :
7678 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7680 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7681 cat >>confdefs.h <<_ACEOF
7682 #define HAVE_IFADDRS_H 1
7683 _ACEOF
7687 done
7690 for ac_header in sys/ucontext.h
7691 do :
7692 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7694 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7695 cat >>confdefs.h <<_ACEOF
7696 #define HAVE_SYS_UCONTEXT_H 1
7697 _ACEOF
7701 done
7704 for ac_header in sys/thr.h
7705 do :
7706 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7707 #ifdef HAVE_SYS_UCONTEXT_H
7708 #include <sys/ucontext.h>
7709 #endif
7711 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7712 cat >>confdefs.h <<_ACEOF
7713 #define HAVE_SYS_THR_H 1
7714 _ACEOF
7718 done
7721 for ac_header in pthread_np.h
7722 do :
7723 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7724 #include <pthread.h>
7725 #endif
7727 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7728 cat >>confdefs.h <<_ACEOF
7729 #define HAVE_PTHREAD_NP_H 1
7730 _ACEOF
7734 done
7737 for ac_header in linux/videodev2.h
7738 do :
7739 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7740 #include <sys/time.h>
7741 #endif
7742 #include <sys/types.h>
7743 #ifdef HAVE_ASM_TYPES_H
7744 #include <asm/types.h>
7745 #endif
7747 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7748 cat >>confdefs.h <<_ACEOF
7749 #define HAVE_LINUX_VIDEODEV2_H 1
7750 _ACEOF
7754 done
7757 for ac_header in libprocstat.h
7758 do :
7759 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7760 #include <sys/param.h>
7761 #endif
7762 #ifdef HAVE_SYS_QUEUE_H
7763 #include <sys/queue.h>
7764 #endif
7765 #ifdef HAVE_SYS_SOCKET_H
7766 #include <sys/socket.h>
7767 #endif
7769 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7770 cat >>confdefs.h <<_ACEOF
7771 #define HAVE_LIBPROCSTAT_H 1
7772 _ACEOF
7776 done
7780 DLLFLAGS="-D_REENTRANT"
7782 LDRPATH_INSTALL=""
7784 LDRPATH_LOCAL=""
7786 LDEXECFLAGS=""
7788 TOP_INSTALL_LIB=""
7790 TOP_INSTALL_DEV=""
7792 WINELOADER_LDFLAGS=""
7794 WINEPRELOADER_LDFLAGS=""
7796 LIBEXT="so"
7797 DLLEXT=".so"
7798 # Extract the first word of "ldd", so it can be a program name with args.
7799 set dummy ldd; ac_word=$2
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7801 $as_echo_n "checking for $ac_word... " >&6; }
7802 if ${ac_cv_path_LDD+:} false; then :
7803 $as_echo_n "(cached) " >&6
7804 else
7805 case $LDD in
7806 [\\/]* | ?:[\\/]*)
7807 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7811 as_dummy="/sbin:/usr/sbin:$PATH"
7812 for as_dir in $as_dummy
7814 IFS=$as_save_IFS
7815 test -z "$as_dir" && as_dir=.
7816 for ac_exec_ext in '' $ac_executable_extensions; do
7817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7818 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7820 break 2
7822 done
7823 done
7824 IFS=$as_save_IFS
7826 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7828 esac
7830 LDD=$ac_cv_path_LDD
7831 if test -n "$LDD"; then
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7833 $as_echo "$LDD" >&6; }
7834 else
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7836 $as_echo "no" >&6; }
7840 if test -n "$ac_tool_prefix"; then
7841 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7842 set dummy ${ac_tool_prefix}otool; ac_word=$2
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7844 $as_echo_n "checking for $ac_word... " >&6; }
7845 if ${ac_cv_prog_OTOOL+:} false; then :
7846 $as_echo_n "(cached) " >&6
7847 else
7848 if test -n "$OTOOL"; then
7849 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7850 else
7851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7852 for as_dir in $PATH
7854 IFS=$as_save_IFS
7855 test -z "$as_dir" && as_dir=.
7856 for ac_exec_ext in '' $ac_executable_extensions; do
7857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7858 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7860 break 2
7862 done
7863 done
7864 IFS=$as_save_IFS
7868 OTOOL=$ac_cv_prog_OTOOL
7869 if test -n "$OTOOL"; then
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7871 $as_echo "$OTOOL" >&6; }
7872 else
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7874 $as_echo "no" >&6; }
7879 if test -z "$ac_cv_prog_OTOOL"; then
7880 ac_ct_OTOOL=$OTOOL
7881 # Extract the first word of "otool", so it can be a program name with args.
7882 set dummy otool; ac_word=$2
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7884 $as_echo_n "checking for $ac_word... " >&6; }
7885 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7886 $as_echo_n "(cached) " >&6
7887 else
7888 if test -n "$ac_ct_OTOOL"; then
7889 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7890 else
7891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7892 for as_dir in $PATH
7894 IFS=$as_save_IFS
7895 test -z "$as_dir" && as_dir=.
7896 for ac_exec_ext in '' $ac_executable_extensions; do
7897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7898 ac_cv_prog_ac_ct_OTOOL="otool"
7899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7900 break 2
7902 done
7903 done
7904 IFS=$as_save_IFS
7908 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7909 if test -n "$ac_ct_OTOOL"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7911 $as_echo "$ac_ct_OTOOL" >&6; }
7912 else
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7914 $as_echo "no" >&6; }
7917 if test "x$ac_ct_OTOOL" = x; then
7918 OTOOL="otool"
7919 else
7920 case $cross_compiling:$ac_tool_warned in
7921 yes:)
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7924 ac_tool_warned=yes ;;
7925 esac
7926 OTOOL=$ac_ct_OTOOL
7928 else
7929 OTOOL="$ac_cv_prog_OTOOL"
7932 if test -n "$ac_tool_prefix"; then
7933 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7934 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7936 $as_echo_n "checking for $ac_word... " >&6; }
7937 if ${ac_cv_prog_READELF+:} false; then :
7938 $as_echo_n "(cached) " >&6
7939 else
7940 if test -n "$READELF"; then
7941 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7942 else
7943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7944 for as_dir in $PATH
7946 IFS=$as_save_IFS
7947 test -z "$as_dir" && as_dir=.
7948 for ac_exec_ext in '' $ac_executable_extensions; do
7949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7950 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7952 break 2
7954 done
7955 done
7956 IFS=$as_save_IFS
7960 READELF=$ac_cv_prog_READELF
7961 if test -n "$READELF"; then
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7963 $as_echo "$READELF" >&6; }
7964 else
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7966 $as_echo "no" >&6; }
7971 if test -z "$ac_cv_prog_READELF"; then
7972 ac_ct_READELF=$READELF
7973 # Extract the first word of "readelf", so it can be a program name with args.
7974 set dummy readelf; ac_word=$2
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7976 $as_echo_n "checking for $ac_word... " >&6; }
7977 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7978 $as_echo_n "(cached) " >&6
7979 else
7980 if test -n "$ac_ct_READELF"; then
7981 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7982 else
7983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7984 for as_dir in $PATH
7986 IFS=$as_save_IFS
7987 test -z "$as_dir" && as_dir=.
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7990 ac_cv_prog_ac_ct_READELF="readelf"
7991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7992 break 2
7994 done
7995 done
7996 IFS=$as_save_IFS
8000 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8001 if test -n "$ac_ct_READELF"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8003 $as_echo "$ac_ct_READELF" >&6; }
8004 else
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8006 $as_echo "no" >&6; }
8009 if test "x$ac_ct_READELF" = x; then
8010 READELF="true"
8011 else
8012 case $cross_compiling:$ac_tool_warned in
8013 yes:)
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8016 ac_tool_warned=yes ;;
8017 esac
8018 READELF=$ac_ct_READELF
8020 else
8021 READELF="$ac_cv_prog_READELF"
8024 wine_rules_file=conf$$rules.make
8025 rm -f $wine_rules_file
8026 SUBDIRS=""
8028 DISABLED_SUBDIRS=""
8030 CONFIGURE_TARGETS=""
8033 wine_fn_append_file ()
8035 as_fn_append $1 " \\$as_nl $2"
8038 wine_fn_append_rule ()
8040 $as_echo "$1" >>$wine_rules_file
8043 wine_fn_config_makefile ()
8045 wine_fn_append_file SUBDIRS $1
8046 if eval test \"x\$"$2"\" = x"no"; then :
8047 wine_fn_append_file DISABLED_SUBDIRS $1
8051 wine_fn_config_symlink ()
8053 ac_links=$@
8054 wine_fn_append_rule \
8055 "$ac_links:
8056 @./config.status \$@"
8057 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8060 wine_binary="wine"
8061 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8062 WINELOADER_PROGRAMS="$wine_binary"
8064 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8066 case $host_os in
8067 cygwin*|mingw32*)
8068 if test -n "$ac_tool_prefix"; then
8069 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8070 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8072 $as_echo_n "checking for $ac_word... " >&6; }
8073 if ${ac_cv_prog_DLLTOOL+:} false; then :
8074 $as_echo_n "(cached) " >&6
8075 else
8076 if test -n "$DLLTOOL"; then
8077 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8078 else
8079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8080 for as_dir in $PATH
8082 IFS=$as_save_IFS
8083 test -z "$as_dir" && as_dir=.
8084 for ac_exec_ext in '' $ac_executable_extensions; do
8085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8086 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8088 break 2
8090 done
8091 done
8092 IFS=$as_save_IFS
8096 DLLTOOL=$ac_cv_prog_DLLTOOL
8097 if test -n "$DLLTOOL"; then
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8099 $as_echo "$DLLTOOL" >&6; }
8100 else
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8102 $as_echo "no" >&6; }
8107 if test -z "$ac_cv_prog_DLLTOOL"; then
8108 ac_ct_DLLTOOL=$DLLTOOL
8109 # Extract the first word of "dlltool", so it can be a program name with args.
8110 set dummy dlltool; ac_word=$2
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8112 $as_echo_n "checking for $ac_word... " >&6; }
8113 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8114 $as_echo_n "(cached) " >&6
8115 else
8116 if test -n "$ac_ct_DLLTOOL"; then
8117 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8118 else
8119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8120 for as_dir in $PATH
8122 IFS=$as_save_IFS
8123 test -z "$as_dir" && as_dir=.
8124 for ac_exec_ext in '' $ac_executable_extensions; do
8125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8126 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8128 break 2
8130 done
8131 done
8132 IFS=$as_save_IFS
8136 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8137 if test -n "$ac_ct_DLLTOOL"; then
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8139 $as_echo "$ac_ct_DLLTOOL" >&6; }
8140 else
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8142 $as_echo "no" >&6; }
8145 if test "x$ac_ct_DLLTOOL" = x; then
8146 DLLTOOL="false"
8147 else
8148 case $cross_compiling:$ac_tool_warned in
8149 yes:)
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8152 ac_tool_warned=yes ;;
8153 esac
8154 DLLTOOL=$ac_ct_DLLTOOL
8156 else
8157 DLLTOOL="$ac_cv_prog_DLLTOOL"
8160 LIBEXT="dll"
8161 DLLEXT=""
8162 enable_iphlpapi=${enable_iphlpapi:-no}
8163 enable_kernel32=${enable_kernel32:-no}
8164 enable_ntdll=${enable_ntdll:-no}
8165 enable_ws2_32=${enable_ws2_32:-no}
8166 enable_loader=${enable_loader:-no}
8167 enable_server=${enable_server:-no}
8168 with_x=${with_x:-no}
8169 with_pthread=${with_pthread:-no}
8172 darwin*|macosx*)
8173 for ac_header in libunwind.h
8174 do :
8175 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8177 cat >>confdefs.h <<_ACEOF
8178 #define HAVE_LIBUNWIND_H 1
8179 _ACEOF
8183 done
8185 ac_ext=m
8186 ac_cpp='$OBJCPP $CPPFLAGS'
8187 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8188 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8189 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8191 ac_ext=m
8192 ac_cpp='$OBJCPP $CPPFLAGS'
8193 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8194 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8195 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8196 if test -n "$ac_tool_prefix"; then
8197 for ac_prog in gcc objcc objc cc CC
8199 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8200 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202 $as_echo_n "checking for $ac_word... " >&6; }
8203 if ${ac_cv_prog_OBJC+:} false; then :
8204 $as_echo_n "(cached) " >&6
8205 else
8206 if test -n "$OBJC"; then
8207 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8208 else
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210 for as_dir in $PATH
8212 IFS=$as_save_IFS
8213 test -z "$as_dir" && as_dir=.
8214 for ac_exec_ext in '' $ac_executable_extensions; do
8215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8216 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8218 break 2
8220 done
8221 done
8222 IFS=$as_save_IFS
8226 OBJC=$ac_cv_prog_OBJC
8227 if test -n "$OBJC"; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8229 $as_echo "$OBJC" >&6; }
8230 else
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8236 test -n "$OBJC" && break
8237 done
8239 if test -z "$OBJC"; then
8240 ac_ct_OBJC=$OBJC
8241 for ac_prog in gcc objcc objc cc CC
8243 # Extract the first word of "$ac_prog", so it can be a program name with args.
8244 set dummy $ac_prog; ac_word=$2
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8246 $as_echo_n "checking for $ac_word... " >&6; }
8247 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8248 $as_echo_n "(cached) " >&6
8249 else
8250 if test -n "$ac_ct_OBJC"; then
8251 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8252 else
8253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8254 for as_dir in $PATH
8256 IFS=$as_save_IFS
8257 test -z "$as_dir" && as_dir=.
8258 for ac_exec_ext in '' $ac_executable_extensions; do
8259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8260 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8262 break 2
8264 done
8265 done
8266 IFS=$as_save_IFS
8270 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8271 if test -n "$ac_ct_OBJC"; then
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8273 $as_echo "$ac_ct_OBJC" >&6; }
8274 else
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8276 $as_echo "no" >&6; }
8280 test -n "$ac_ct_OBJC" && break
8281 done
8283 if test "x$ac_ct_OBJC" = x; then
8284 OBJC="gcc"
8285 else
8286 case $cross_compiling:$ac_tool_warned in
8287 yes:)
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8290 ac_tool_warned=yes ;;
8291 esac
8292 OBJC=$ac_ct_OBJC
8296 # Provide some information about the compiler.
8297 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8298 set X $ac_compile
8299 ac_compiler=$2
8300 for ac_option in --version -v -V -qversion; do
8301 { { ac_try="$ac_compiler $ac_option >&5"
8302 case "(($ac_try" in
8303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8304 *) ac_try_echo=$ac_try;;
8305 esac
8306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8307 $as_echo "$ac_try_echo"; } >&5
8308 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8309 ac_status=$?
8310 if test -s conftest.err; then
8311 sed '10a\
8312 ... rest of stderr output deleted ...
8313 10q' conftest.err >conftest.er1
8314 cat conftest.er1 >&5
8316 rm -f conftest.er1 conftest.err
8317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8318 test $ac_status = 0; }
8319 done
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8322 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8323 if ${ac_cv_objc_compiler_gnu+:} false; then :
8324 $as_echo_n "(cached) " >&6
8325 else
8326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8327 /* end confdefs.h. */
8330 main ()
8332 #ifndef __GNUC__
8333 choke me
8334 #endif
8337 return 0;
8339 _ACEOF
8340 if ac_fn_objc_try_compile "$LINENO"; then :
8341 ac_compiler_gnu=yes
8342 else
8343 ac_compiler_gnu=no
8345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8346 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8350 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8351 if test $ac_compiler_gnu = yes; then
8352 GOBJC=yes
8353 else
8354 GOBJC=
8356 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8357 ac_save_OBJCFLAGS=$OBJCFLAGS
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8359 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8360 if ${ac_cv_prog_objc_g+:} false; then :
8361 $as_echo_n "(cached) " >&6
8362 else
8363 ac_save_objc_werror_flag=$ac_objc_werror_flag
8364 ac_objc_werror_flag=yes
8365 ac_cv_prog_objc_g=no
8366 OBJCFLAGS="-g"
8367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8371 main ()
8375 return 0;
8377 _ACEOF
8378 if ac_fn_objc_try_compile "$LINENO"; then :
8379 ac_cv_prog_objc_g=yes
8380 else
8381 OBJCFLAGS=""
8382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8383 /* end confdefs.h. */
8386 main ()
8390 return 0;
8392 _ACEOF
8393 if ac_fn_objc_try_compile "$LINENO"; then :
8395 else
8396 ac_objc_werror_flag=$ac_save_objc_werror_flag
8397 OBJCFLAGS="-g"
8398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8402 main ()
8406 return 0;
8408 _ACEOF
8409 if ac_fn_objc_try_compile "$LINENO"; then :
8410 ac_cv_prog_objc_g=yes
8412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8417 ac_objc_werror_flag=$ac_save_objc_werror_flag
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8420 $as_echo "$ac_cv_prog_objc_g" >&6; }
8421 if test "$ac_test_OBJCFLAGS" = set; then
8422 OBJCFLAGS=$ac_save_OBJCFLAGS
8423 elif test $ac_cv_prog_objc_g = yes; then
8424 if test "$GOBJC" = yes; then
8425 OBJCFLAGS="-g -O2"
8426 else
8427 OBJCFLAGS="-g"
8429 else
8430 if test "$GOBJC" = yes; then
8431 OBJCFLAGS="-O2"
8432 else
8433 OBJCFLAGS=
8436 ac_ext=m
8437 ac_cpp='$OBJCPP $CPPFLAGS'
8438 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8439 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8440 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8443 ac_ext=m
8444 ac_cpp='$OBJCPP $CPPFLAGS'
8445 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8446 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8447 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8449 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8450 if test -z "$OBJCPP"; then
8451 if ${ac_cv_prog_OBJCPP+:} false; then :
8452 $as_echo_n "(cached) " >&6
8453 else
8454 # Double quotes because OBJCPP needs to be expanded
8455 for OBJCPP in "$OBJC -E" "/lib/cpp"
8457 ac_preproc_ok=false
8458 for ac_objc_preproc_warn_flag in '' yes
8460 # Use a header file that comes with gcc, so configuring glibc
8461 # with a fresh cross-compiler works.
8462 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8463 # <limits.h> exists even on freestanding compilers.
8464 # On the NeXT, cc -E runs the code through the compiler's parser,
8465 # not just through cpp. "Syntax error" is here to catch this case.
8466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8467 /* end confdefs.h. */
8468 #ifdef __STDC__
8469 # include <limits.h>
8470 #else
8471 # include <assert.h>
8472 #endif
8473 Syntax error
8474 _ACEOF
8475 if ac_fn_objc_try_cpp "$LINENO"; then :
8477 else
8478 # Broken: fails on valid input.
8479 continue
8481 rm -f conftest.err conftest.i conftest.$ac_ext
8483 # OK, works on sane cases. Now check whether nonexistent headers
8484 # can be detected and how.
8485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8486 /* end confdefs.h. */
8487 #include <ac_nonexistent.h>
8488 _ACEOF
8489 if ac_fn_objc_try_cpp "$LINENO"; then :
8490 # Broken: success on invalid input.
8491 continue
8492 else
8493 # Passes both tests.
8494 ac_preproc_ok=:
8495 break
8497 rm -f conftest.err conftest.i conftest.$ac_ext
8499 done
8500 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8501 rm -f conftest.i conftest.err conftest.$ac_ext
8502 if $ac_preproc_ok; then :
8503 break
8506 done
8507 ac_cv_prog_OBJCPP=$OBJCPP
8510 OBJCPP=$ac_cv_prog_OBJCPP
8511 else
8512 ac_cv_prog_OBJCPP=$OBJCPP
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8515 $as_echo "$OBJCPP" >&6; }
8516 ac_preproc_ok=false
8517 for ac_objc_preproc_warn_flag in '' yes
8519 # Use a header file that comes with gcc, so configuring glibc
8520 # with a fresh cross-compiler works.
8521 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8522 # <limits.h> exists even on freestanding compilers.
8523 # On the NeXT, cc -E runs the code through the compiler's parser,
8524 # not just through cpp. "Syntax error" is here to catch this case.
8525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8526 /* end confdefs.h. */
8527 #ifdef __STDC__
8528 # include <limits.h>
8529 #else
8530 # include <assert.h>
8531 #endif
8532 Syntax error
8533 _ACEOF
8534 if ac_fn_objc_try_cpp "$LINENO"; then :
8536 else
8537 # Broken: fails on valid input.
8538 continue
8540 rm -f conftest.err conftest.i conftest.$ac_ext
8542 # OK, works on sane cases. Now check whether nonexistent headers
8543 # can be detected and how.
8544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8546 #include <ac_nonexistent.h>
8547 _ACEOF
8548 if ac_fn_objc_try_cpp "$LINENO"; then :
8549 # Broken: success on invalid input.
8550 continue
8551 else
8552 # Passes both tests.
8553 ac_preproc_ok=:
8554 break
8556 rm -f conftest.err conftest.i conftest.$ac_ext
8558 done
8559 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8560 rm -f conftest.i conftest.err conftest.$ac_ext
8561 if $ac_preproc_ok; then :
8563 else
8564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8566 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8567 See \`config.log' for more details" "$LINENO" 5; }
8570 ac_ext=m
8571 ac_cpp='$OBJCPP $CPPFLAGS'
8572 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8573 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8574 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8577 for ac_header in Metal/Metal.h
8578 do :
8579 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8580 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8581 cat >>confdefs.h <<_ACEOF
8582 #define HAVE_METAL_METAL_H 1
8583 _ACEOF
8587 done
8589 ac_ext=c
8590 ac_cpp='$CPP $CPPFLAGS'
8591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8595 LIBEXT="dylib"
8596 DLLFLAGS="$DLLFLAGS -fPIC"
8597 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8598 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8599 COREFOUNDATION_LIBS="-framework CoreFoundation"
8601 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8603 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8605 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8607 CORESERVICES_LIBS="-framework CoreServices"
8609 APPKIT_LIBS="-framework AppKit"
8612 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8614 wine_can_build_preloader=yes
8615 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8617 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8618 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8619 $as_echo_n "(cached) " >&6
8620 else
8621 ac_wine_try_cflags_saved=$CFLAGS
8622 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8624 /* end confdefs.h. */
8625 int main(int argc, char **argv) { return 0; }
8626 _ACEOF
8627 if ac_fn_c_try_link "$LINENO"; then :
8628 ac_cv_cflags__Wl__no_new_main__e__main=yes
8629 else
8630 ac_cv_cflags__Wl__no_new_main__e__main=no
8632 rm -f core conftest.err conftest.$ac_objext \
8633 conftest$ac_exeext conftest.$ac_ext
8634 CFLAGS=$ac_wine_try_cflags_saved
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8637 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8638 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8639 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8641 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8642 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8643 $as_echo_n "(cached) " >&6
8644 else
8645 ac_wine_try_cflags_saved=$CFLAGS
8646 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8648 /* end confdefs.h. */
8649 int main(int argc, char **argv) { return 0; }
8650 _ACEOF
8651 if ac_fn_c_try_link "$LINENO"; then :
8652 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8653 else
8654 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8656 rm -f core conftest.err conftest.$ac_objext \
8657 conftest$ac_exeext conftest.$ac_ext
8658 CFLAGS=$ac_wine_try_cflags_saved
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8661 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8662 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8663 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8664 else
8665 { $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
8666 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8667 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8668 $as_echo_n "(cached) " >&6
8669 else
8670 ac_wine_try_cflags_saved=$CFLAGS
8671 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8673 /* end confdefs.h. */
8674 int main(int argc, char **argv) { return 0; }
8675 _ACEOF
8676 if ac_fn_c_try_link "$LINENO"; then :
8677 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8678 else
8679 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8681 rm -f core conftest.err conftest.$ac_objext \
8682 conftest$ac_exeext conftest.$ac_ext
8683 CFLAGS=$ac_wine_try_cflags_saved
8685 { $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
8686 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8687 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8688 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8689 else
8690 wine_can_build_preloader=no
8693 else
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8695 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8696 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8697 $as_echo_n "(cached) " >&6
8698 else
8699 ac_wine_try_cflags_saved=$CFLAGS
8700 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8702 /* end confdefs.h. */
8703 int main(int argc, char **argv) { return 0; }
8704 _ACEOF
8705 if ac_fn_c_try_link "$LINENO"; then :
8706 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8707 else
8708 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8710 rm -f core conftest.err conftest.$ac_objext \
8711 conftest$ac_exeext conftest.$ac_ext
8712 CFLAGS=$ac_wine_try_cflags_saved
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8715 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8716 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8717 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8718 else
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8720 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8721 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8722 $as_echo_n "(cached) " >&6
8723 else
8724 ac_wine_try_cflags_saved=$CFLAGS
8725 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8728 int main(int argc, char **argv) { return 0; }
8729 _ACEOF
8730 if ac_fn_c_try_link "$LINENO"; then :
8731 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8732 else
8733 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8735 rm -f core conftest.err conftest.$ac_objext \
8736 conftest$ac_exeext conftest.$ac_ext
8737 CFLAGS=$ac_wine_try_cflags_saved
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8740 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8741 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8742 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8743 else
8744 wine_can_build_preloader=no
8748 if test "$wine_can_build_preloader" = "yes"
8749 then
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8751 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8752 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8753 $as_echo_n "(cached) " >&6
8754 else
8755 ac_wine_try_cflags_saved=$CFLAGS
8756 CFLAGS="$CFLAGS -Wl,-no_pie"
8757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8758 /* end confdefs.h. */
8759 int main(int argc, char **argv) { return 0; }
8760 _ACEOF
8761 if ac_fn_c_try_link "$LINENO"; then :
8762 ac_cv_cflags__Wl__no_pie=yes
8763 else
8764 ac_cv_cflags__Wl__no_pie=no
8766 rm -f core conftest.err conftest.$ac_objext \
8767 conftest$ac_exeext conftest.$ac_ext
8768 CFLAGS=$ac_wine_try_cflags_saved
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8771 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8772 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8773 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8775 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8776 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8777 else
8778 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8781 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8782 then
8783 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8786 if test "$ac_cv_header_Security_Security_h" = "yes"
8787 then
8788 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8790 ac_save_LIBS="$LIBS"
8791 LIBS="$LIBS $SECURITY_LIBS"
8792 for ac_func in SSLCopyPeerCertificates
8793 do :
8794 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8795 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8796 cat >>confdefs.h <<_ACEOF
8797 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8798 _ACEOF
8801 done
8803 LIBS="$ac_save_LIBS"
8805 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8806 then
8807 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8808 then
8809 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8811 else
8812 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8815 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8816 ac_save_LIBS="$LIBS"
8817 LIBS="$LIBS $COREAUDIO_LIBS"
8818 for ac_func in AUGraphAddNode
8819 do :
8820 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8821 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8822 cat >>confdefs.h <<_ACEOF
8823 #define HAVE_AUGRAPHADDNODE 1
8824 _ACEOF
8827 done
8829 LIBS="$ac_save_LIBS"
8831 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8832 then
8833 OPENAL_LIBS="-framework OpenAL"
8836 cat >>confdefs.h <<_ACEOF
8837 #define HAVE_OPENAL 1
8838 _ACEOF
8840 ac_cv_lib_openal=yes
8842 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8843 then
8844 OPENCL_LIBS="-framework OpenCL"
8846 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8848 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8849 then
8850 ac_save_LIBS="$LIBS"
8851 LIBS="$LIBS $IOKIT_LIBS"
8852 for ac_func in IOHIDManagerCreate
8853 do :
8854 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8855 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8856 cat >>confdefs.h <<_ACEOF
8857 #define HAVE_IOHIDMANAGERCREATE 1
8858 _ACEOF
8861 done
8863 LIBS="$ac_save_LIBS"
8865 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8866 then
8867 ac_save_LIBS="$LIBS"
8868 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8870 $as_echo_n "checking for the QuickTime framework... " >&6; }
8871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h. */
8873 #include <QuickTime/ImageCompression.h>
8875 main ()
8877 CodecManagerVersion(NULL);
8879 return 0;
8881 _ACEOF
8882 if ac_fn_c_try_link "$LINENO"; then :
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8884 $as_echo "yes" >&6; }
8885 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8887 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8888 else
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8890 $as_echo "no" >&6; }
8891 ac_cv_header_QuickTime_ImageCompression_h=no
8893 rm -f core conftest.err conftest.$ac_objext \
8894 conftest$ac_exeext conftest.$ac_ext
8895 LIBS="$ac_save_LIBS"
8897 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8898 then
8899 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8901 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8902 then
8903 CARBON_LIBS="-framework Carbon"
8906 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8907 then
8908 METAL_LIBS="-framework Metal -framework QuartzCore"
8912 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8913 then
8914 ac_save_LIBS="$LIBS"
8915 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8916 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8917 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8918 enable_winemac_drv=${enable_winemac_drv:-yes}
8921 LIBS="$ac_save_LIBS"
8924 if test "x$enable_win16" = "xyes"
8925 then
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8927 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8928 if test "$cross_compiling" = yes; then :
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8930 $as_echo "cross-compiling, assuming yes" >&6; }
8931 else
8932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8933 /* end confdefs.h. */
8934 asm(".text\n"
8935 "bad:\tnop;nop\n"
8936 "good:\tnop;nop\n\t"
8937 ".globl _testfunc\n"
8938 "_testfunc:\tcallw good");
8939 extern void testfunc();
8941 main ()
8943 unsigned short *p = (unsigned short *)testfunc;
8944 return p[0] != 0xe866 || p[1] != 0xfffa
8946 return 0;
8948 _ACEOF
8949 if ac_fn_c_try_run "$LINENO"; then :
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8951 $as_echo "yes" >&6; }
8952 else
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8954 $as_echo "no" >&6; }
8955 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
8957 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8958 conftest.$ac_objext conftest.beam conftest.$ac_ext
8963 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8965 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8967 WINELOADER_DEPENDS="wine_info.plist"
8969 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
8970 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
8973 linux-android*)
8974 DLLFLAGS="$DLLFLAGS -fPIC"
8975 LDEXECFLAGS="-Wl,-pie"
8976 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8978 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8979 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8980 $as_echo_n "(cached) " >&6
8981 else
8982 ac_wine_try_cflags_saved=$CFLAGS
8983 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8985 /* end confdefs.h. */
8986 int main(int argc, char **argv) { return 0; }
8987 _ACEOF
8988 if ac_fn_c_try_link "$LINENO"; then :
8989 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8990 else
8991 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8993 rm -f core conftest.err conftest.$ac_objext \
8994 conftest$ac_exeext conftest.$ac_ext
8995 CFLAGS=$ac_wine_try_cflags_saved
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8998 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8999 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9000 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9002 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9003 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9005 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9006 if eval \${$as_ac_var+:} false; then :
9007 $as_echo_n "(cached) " >&6
9008 else
9009 ac_wine_try_cflags_saved=$CFLAGS
9010 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9012 /* end confdefs.h. */
9013 int main(int argc, char **argv) { return 0; }
9014 _ACEOF
9015 if ac_fn_c_try_link "$LINENO"; then :
9016 eval "$as_ac_var=yes"
9017 else
9018 eval "$as_ac_var=no"
9020 rm -f core conftest.err conftest.$ac_objext \
9021 conftest$ac_exeext conftest.$ac_ext
9022 CFLAGS=$ac_wine_try_cflags_saved
9024 eval ac_res=\$$as_ac_var
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9026 $as_echo "$ac_res" >&6; }
9027 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9028 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9029 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9030 else
9031 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9033 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9034 if eval \${$as_ac_var+:} false; then :
9035 $as_echo_n "(cached) " >&6
9036 else
9037 ac_wine_try_cflags_saved=$CFLAGS
9038 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9040 /* end confdefs.h. */
9041 int main(int argc, char **argv) { return 0; }
9042 _ACEOF
9043 if ac_fn_c_try_link "$LINENO"; then :
9044 eval "$as_ac_var=yes"
9045 else
9046 eval "$as_ac_var=no"
9048 rm -f core conftest.err conftest.$ac_objext \
9049 conftest$ac_exeext conftest.$ac_ext
9050 CFLAGS=$ac_wine_try_cflags_saved
9052 eval ac_res=\$$as_ac_var
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9054 $as_echo "$ac_res" >&6; }
9055 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9056 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9057 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9061 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9062 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9063 $as_echo_n "(cached) " >&6
9064 else
9065 ac_wine_try_cflags_saved=$CFLAGS
9066 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9068 /* end confdefs.h. */
9069 int main(int argc, char **argv) { return 0; }
9070 _ACEOF
9071 if ac_fn_c_try_link "$LINENO"; then :
9072 ac_cv_cflags__Wl___enable_new_dtags=yes
9073 else
9074 ac_cv_cflags__Wl___enable_new_dtags=no
9076 rm -f core conftest.err conftest.$ac_objext \
9077 conftest$ac_exeext conftest.$ac_ext
9078 CFLAGS=$ac_wine_try_cflags_saved
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9081 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9082 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9083 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9086 LIBWINE_SHAREDLIB="libwine.so"
9088 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9090 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9093 $as_echo_n "checking for -lEGL... " >&6; }
9094 if ${ac_cv_lib_soname_EGL+:} false; then :
9095 $as_echo_n "(cached) " >&6
9096 else
9097 ac_check_soname_save_LIBS=$LIBS
9098 LIBS="-lEGL $LIBS"
9099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9100 /* end confdefs.h. */
9102 /* Override any GCC internal prototype to avoid an error.
9103 Use char because int might match the return type of a GCC
9104 builtin and then its argument prototype would still apply. */
9105 #ifdef __cplusplus
9106 extern "C"
9107 #endif
9108 char eglGetProcAddress ();
9110 main ()
9112 return eglGetProcAddress ();
9114 return 0;
9116 _ACEOF
9117 if ac_fn_c_try_link "$LINENO"; then :
9118 case "$LIBEXT" in
9119 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9120 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'` ;;
9121 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9122 if ${ac_cv_lib_soname_EGL:+false} :; then :
9123 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9124 fi ;;
9125 esac
9127 rm -f core conftest.err conftest.$ac_objext \
9128 conftest$ac_exeext conftest.$ac_ext
9129 LIBS=$ac_check_soname_save_LIBS
9131 if ${ac_cv_lib_soname_EGL:+false} :; then :
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9133 $as_echo "not found" >&6; }
9135 else
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9137 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9139 cat >>confdefs.h <<_ACEOF
9140 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9141 _ACEOF
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9146 $as_echo_n "checking for -lGLESv2... " >&6; }
9147 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9148 $as_echo_n "(cached) " >&6
9149 else
9150 ac_check_soname_save_LIBS=$LIBS
9151 LIBS="-lGLESv2 $LIBS"
9152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9153 /* end confdefs.h. */
9155 /* Override any GCC internal prototype to avoid an error.
9156 Use char because int might match the return type of a GCC
9157 builtin and then its argument prototype would still apply. */
9158 #ifdef __cplusplus
9159 extern "C"
9160 #endif
9161 char glFlush ();
9163 main ()
9165 return glFlush ();
9167 return 0;
9169 _ACEOF
9170 if ac_fn_c_try_link "$LINENO"; then :
9171 case "$LIBEXT" in
9172 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9173 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'` ;;
9174 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9175 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9176 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9177 fi ;;
9178 esac
9180 rm -f core conftest.err conftest.$ac_objext \
9181 conftest$ac_exeext conftest.$ac_ext
9182 LIBS=$ac_check_soname_save_LIBS
9184 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9186 $as_echo "not found" >&6; }
9188 else
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9190 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9192 cat >>confdefs.h <<_ACEOF
9193 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9194 _ACEOF
9199 if test "x$exec_prefix" = xNONE
9200 then
9201 case $host_cpu in
9202 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9203 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9204 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9205 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9206 esac
9211 DLLFLAGS="$DLLFLAGS -fPIC"
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9213 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9214 if ${ac_cv_c_dll_gnuelf+:} false; then :
9215 $as_echo_n "(cached) " >&6
9216 else
9217 ac_wine_try_cflags_saved=$CFLAGS
9218 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9220 /* end confdefs.h. */
9221 void myfunc() {}
9222 _ACEOF
9223 if ac_fn_c_try_link "$LINENO"; then :
9224 ac_cv_c_dll_gnuelf="yes"
9225 else
9226 ac_cv_c_dll_gnuelf="no"
9228 rm -f core conftest.err conftest.$ac_objext \
9229 conftest$ac_exeext conftest.$ac_ext
9230 CFLAGS=$ac_wine_try_cflags_saved
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9233 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9234 if test "$ac_cv_c_dll_gnuelf" = "yes"
9235 then
9236 LIBWINE_LDFLAGS="-shared"
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9238 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9239 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9240 $as_echo_n "(cached) " >&6
9241 else
9242 ac_wine_try_cflags_saved=$CFLAGS
9243 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9245 /* end confdefs.h. */
9246 int main(int argc, char **argv) { return 0; }
9247 _ACEOF
9248 if ac_fn_c_try_link "$LINENO"; then :
9249 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9250 else
9251 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9253 rm -f core conftest.err conftest.$ac_objext \
9254 conftest$ac_exeext conftest.$ac_ext
9255 CFLAGS=$ac_wine_try_cflags_saved
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9258 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9259 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9260 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9261 else
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9263 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9264 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9265 $as_echo_n "(cached) " >&6
9266 else
9267 ac_wine_try_cflags_saved=$CFLAGS
9268 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9270 /* end confdefs.h. */
9271 int main(int argc, char **argv) { return 0; }
9272 _ACEOF
9273 if ac_fn_c_try_link "$LINENO"; then :
9274 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9275 else
9276 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9278 rm -f core conftest.err conftest.$ac_objext \
9279 conftest$ac_exeext conftest.$ac_ext
9280 CFLAGS=$ac_wine_try_cflags_saved
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9283 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9284 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9285 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9289 echo '{ global: *; };' >conftest.map
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9291 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9292 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9293 $as_echo_n "(cached) " >&6
9294 else
9295 ac_wine_try_cflags_saved=$CFLAGS
9296 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9298 /* end confdefs.h. */
9299 int main(int argc, char **argv) { return 0; }
9300 _ACEOF
9301 if ac_fn_c_try_link "$LINENO"; then :
9302 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9303 else
9304 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9306 rm -f core conftest.err conftest.$ac_objext \
9307 conftest$ac_exeext conftest.$ac_ext
9308 CFLAGS=$ac_wine_try_cflags_saved
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9311 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9312 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9313 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9315 rm -f conftest.map
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9318 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9319 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9320 $as_echo_n "(cached) " >&6
9321 else
9322 ac_wine_try_cflags_saved=$CFLAGS
9323 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9325 /* end confdefs.h. */
9326 int main(int argc, char **argv) { return 0; }
9327 _ACEOF
9328 if ac_fn_c_try_link "$LINENO"; then :
9329 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9330 else
9331 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9333 rm -f core conftest.err conftest.$ac_objext \
9334 conftest$ac_exeext conftest.$ac_ext
9335 CFLAGS=$ac_wine_try_cflags_saved
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9338 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9339 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9340 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9342 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9344 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9346 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9347 if eval \${$as_ac_var+:} false; then :
9348 $as_echo_n "(cached) " >&6
9349 else
9350 ac_wine_try_cflags_saved=$CFLAGS
9351 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9353 /* end confdefs.h. */
9354 int main(int argc, char **argv) { return 0; }
9355 _ACEOF
9356 if ac_fn_c_try_link "$LINENO"; then :
9357 eval "$as_ac_var=yes"
9358 else
9359 eval "$as_ac_var=no"
9361 rm -f core conftest.err conftest.$ac_objext \
9362 conftest$ac_exeext conftest.$ac_ext
9363 CFLAGS=$ac_wine_try_cflags_saved
9365 eval ac_res=\$$as_ac_var
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9367 $as_echo "$ac_res" >&6; }
9368 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9369 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9370 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9371 else
9372 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9374 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9375 if eval \${$as_ac_var+:} false; then :
9376 $as_echo_n "(cached) " >&6
9377 else
9378 ac_wine_try_cflags_saved=$CFLAGS
9379 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h. */
9382 int main(int argc, char **argv) { return 0; }
9383 _ACEOF
9384 if ac_fn_c_try_link "$LINENO"; then :
9385 eval "$as_ac_var=yes"
9386 else
9387 eval "$as_ac_var=no"
9389 rm -f core conftest.err conftest.$ac_objext \
9390 conftest$ac_exeext conftest.$ac_ext
9391 CFLAGS=$ac_wine_try_cflags_saved
9393 eval ac_res=\$$as_ac_var
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9395 $as_echo "$ac_res" >&6; }
9396 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9397 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9398 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9403 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9404 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9405 $as_echo_n "(cached) " >&6
9406 else
9407 ac_wine_try_cflags_saved=$CFLAGS
9408 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9410 /* end confdefs.h. */
9411 int main(int argc, char **argv) { return 0; }
9412 _ACEOF
9413 if ac_fn_c_try_link "$LINENO"; then :
9414 ac_cv_cflags__Wl___enable_new_dtags=yes
9415 else
9416 ac_cv_cflags__Wl___enable_new_dtags=no
9418 rm -f core conftest.err conftest.$ac_objext \
9419 conftest$ac_exeext conftest.$ac_ext
9420 CFLAGS=$ac_wine_try_cflags_saved
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9423 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9424 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9425 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9428 case $host_cpu in
9429 *i[3456789]86* | x86_64 | *aarch64*)
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9431 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9432 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9433 $as_echo_n "(cached) " >&6
9434 else
9435 ac_wine_try_cflags_saved=$CFLAGS
9436 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9438 /* end confdefs.h. */
9439 int main(int argc, char **argv) { return 0; }
9440 _ACEOF
9441 if ac_fn_c_try_link "$LINENO"; then :
9442 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9443 else
9444 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9446 rm -f core conftest.err conftest.$ac_objext \
9447 conftest$ac_exeext conftest.$ac_ext
9448 CFLAGS=$ac_wine_try_cflags_saved
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9451 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9452 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9453 case $host_os in
9454 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9455 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9456 esac
9457 else
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9459 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9460 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9461 $as_echo_n "(cached) " >&6
9462 else
9463 ac_wine_try_cflags_saved=$CFLAGS
9464 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9466 /* end confdefs.h. */
9467 int main(int argc, char **argv) { return 0; }
9468 _ACEOF
9469 if ac_fn_c_try_link "$LINENO"; then :
9470 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9471 else
9472 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9474 rm -f core conftest.err conftest.$ac_objext \
9475 conftest$ac_exeext conftest.$ac_ext
9476 CFLAGS=$ac_wine_try_cflags_saved
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9479 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9480 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9481 case $host_os in
9482 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9483 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9484 esac
9486 # Extract the first word of "prelink", so it can be a program name with args.
9487 set dummy prelink; ac_word=$2
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9489 $as_echo_n "checking for $ac_word... " >&6; }
9490 if ${ac_cv_path_PRELINK+:} false; then :
9491 $as_echo_n "(cached) " >&6
9492 else
9493 case $PRELINK in
9494 [\\/]* | ?:[\\/]*)
9495 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9499 for as_dir in /sbin /usr/sbin $PATH
9501 IFS=$as_save_IFS
9502 test -z "$as_dir" && as_dir=.
9503 for ac_exec_ext in '' $ac_executable_extensions; do
9504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9505 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9507 break 2
9509 done
9510 done
9511 IFS=$as_save_IFS
9513 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9515 esac
9517 PRELINK=$ac_cv_path_PRELINK
9518 if test -n "$PRELINK"; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9520 $as_echo "$PRELINK" >&6; }
9521 else
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9523 $as_echo "no" >&6; }
9527 if test "x$PRELINK" = xfalse
9528 then
9529 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9533 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9534 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9535 $as_echo_n "(cached) " >&6
9536 else
9537 ac_wine_try_cflags_saved=$CFLAGS
9538 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h. */
9541 int main(int argc, char **argv) { return 0; }
9542 _ACEOF
9543 if ac_fn_c_try_link "$LINENO"; then :
9544 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9545 else
9546 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9548 rm -f core conftest.err conftest.$ac_objext \
9549 conftest$ac_exeext conftest.$ac_ext
9550 CFLAGS=$ac_wine_try_cflags_saved
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9553 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9554 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9555 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9558 esac
9560 else
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9562 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9563 if ${ac_cv_c_dll_unixware+:} false; then :
9564 $as_echo_n "(cached) " >&6
9565 else
9566 ac_wine_try_cflags_saved=$CFLAGS
9567 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9570 void myfunc() {}
9571 _ACEOF
9572 if ac_fn_c_try_link "$LINENO"; then :
9573 ac_cv_c_dll_unixware="yes"
9574 else
9575 ac_cv_c_dll_unixware="no"
9577 rm -f core conftest.err conftest.$ac_objext \
9578 conftest$ac_exeext conftest.$ac_ext
9579 CFLAGS=$ac_wine_try_cflags_saved
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9582 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9583 if test "$ac_cv_c_dll_unixware" = "yes"
9584 then
9585 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9588 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9590 LIBWINE_DEPENDS="wine.map"
9592 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9593 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9595 esac
9597 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9598 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9599 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9600 enable_winemac_drv=${enable_winemac_drv:-no}
9601 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9603 CROSSTARGET=""
9605 if test "x$with_mingw" != xno
9606 then
9607 case "x$with_mingw" in
9608 x|xyes) case "$host_cpu" in
9609 aarch64*)
9610 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9611 arm*)
9612 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9613 i[3456789]86*)
9614 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
9615 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9616 mingw32-gcc" ;;
9617 x86_64)
9618 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
9619 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9621 ac_prefix_list="" ;;
9622 esac
9623 for ac_prog in $ac_prefix_list
9625 # Extract the first word of "$ac_prog", so it can be a program name with args.
9626 set dummy $ac_prog; ac_word=$2
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9628 $as_echo_n "checking for $ac_word... " >&6; }
9629 if ${ac_cv_prog_CROSSCC+:} false; then :
9630 $as_echo_n "(cached) " >&6
9631 else
9632 if test -n "$CROSSCC"; then
9633 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9634 else
9635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9636 for as_dir in $PATH
9638 IFS=$as_save_IFS
9639 test -z "$as_dir" && as_dir=.
9640 for ac_exec_ext in '' $ac_executable_extensions; do
9641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9642 ac_cv_prog_CROSSCC="$ac_prog"
9643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9644 break 2
9646 done
9647 done
9648 IFS=$as_save_IFS
9652 CROSSCC=$ac_cv_prog_CROSSCC
9653 if test -n "$CROSSCC"; then
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9655 $as_echo "$CROSSCC" >&6; }
9656 else
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9658 $as_echo "no" >&6; }
9662 test -n "$CROSSCC" && break
9663 done
9664 test -n "$CROSSCC" || CROSSCC="false"
9666 *) CROSSCC=$with_mingw ;;
9667 esac
9668 if test "$CROSSCC" != "false"
9669 then
9670 ac_save_CC="$CC"
9671 saved_CFLAGS=$CFLAGS
9672 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9674 EXTRACROSSCFLAGS="-DWINE_CROSSTEST -Wall"
9677 CC="$CROSSCC"
9678 CFLAGS=$CROSSCFLAGS
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9680 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9682 /* end confdefs.h. */
9685 main ()
9689 return 0;
9691 _ACEOF
9692 if ac_fn_c_try_compile "$LINENO"; then :
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9694 $as_echo "yes" >&6; }
9695 set x $CROSSCC
9696 shift
9697 while test $# -ge 1
9699 case "$1" in
9700 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9701 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9702 esac
9703 shift
9704 done
9705 else
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9707 $as_echo "no" >&6; }
9709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9711 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9712 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9713 $as_echo_n "(cached) " >&6
9714 else
9715 ac_wine_try_cflags_saved=$CFLAGS
9716 ac_wine_try_cflags_saved_cc=$CC
9717 ac_wine_try_cflags_saved_exeext=$ac_exeext
9718 CFLAGS="$CFLAGS -fno-strict-aliasing"
9719 CC="$CROSSCC"
9720 ac_exeext=".exe"
9721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9723 int main(int argc, char **argv) { return 0; }
9724 _ACEOF
9725 if ac_fn_c_try_link "$LINENO"; then :
9726 ac_cv_crosscflags__fno_strict_aliasing=yes
9727 else
9728 ac_cv_crosscflags__fno_strict_aliasing=no
9730 rm -f core conftest.err conftest.$ac_objext \
9731 conftest$ac_exeext conftest.$ac_ext
9732 CFLAGS=$ac_wine_try_cflags_saved
9733 CC=$ac_wine_try_cflags_saved_cc
9734 ac_exeext=$ac_wine_try_cflags_saved_exeext
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9737 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9738 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9739 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9742 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9743 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9744 $as_echo_n "(cached) " >&6
9745 else
9746 ac_wine_try_cflags_saved=$CFLAGS
9747 ac_wine_try_cflags_saved_cc=$CC
9748 ac_wine_try_cflags_saved_exeext=$ac_exeext
9749 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9750 CC="$CROSSCC"
9751 ac_exeext=".exe"
9752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9753 /* end confdefs.h. */
9754 int main(int argc, char **argv) { return 0; }
9755 _ACEOF
9756 if ac_fn_c_try_link "$LINENO"; then :
9757 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9758 else
9759 ac_cv_crosscflags__Werror_unknown_warning_option=no
9761 rm -f core conftest.err conftest.$ac_objext \
9762 conftest$ac_exeext conftest.$ac_ext
9763 CFLAGS=$ac_wine_try_cflags_saved
9764 CC=$ac_wine_try_cflags_saved_cc
9765 ac_exeext=$ac_wine_try_cflags_saved_exeext
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9768 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9769 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9770 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9773 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9774 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9775 $as_echo_n "(cached) " >&6
9776 else
9777 ac_wine_try_cflags_saved=$CFLAGS
9778 ac_wine_try_cflags_saved_cc=$CC
9779 ac_wine_try_cflags_saved_exeext=$ac_exeext
9780 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9781 CC="$CROSSCC"
9782 ac_exeext=".exe"
9783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9784 /* end confdefs.h. */
9785 int main(int argc, char **argv) { return 0; }
9786 _ACEOF
9787 if ac_fn_c_try_link "$LINENO"; then :
9788 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9789 else
9790 ac_cv_crosscflags__Wdeclaration_after_statement=no
9792 rm -f core conftest.err conftest.$ac_objext \
9793 conftest$ac_exeext conftest.$ac_ext
9794 CFLAGS=$ac_wine_try_cflags_saved
9795 CC=$ac_wine_try_cflags_saved_cc
9796 ac_exeext=$ac_wine_try_cflags_saved_exeext
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9799 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9800 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9801 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9804 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9805 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9806 $as_echo_n "(cached) " >&6
9807 else
9808 ac_wine_try_cflags_saved=$CFLAGS
9809 ac_wine_try_cflags_saved_cc=$CC
9810 ac_wine_try_cflags_saved_exeext=$ac_exeext
9811 CFLAGS="$CFLAGS -Wempty-body"
9812 CC="$CROSSCC"
9813 ac_exeext=".exe"
9814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9815 /* end confdefs.h. */
9816 int main(int argc, char **argv) { return 0; }
9817 _ACEOF
9818 if ac_fn_c_try_link "$LINENO"; then :
9819 ac_cv_crosscflags__Wempty_body=yes
9820 else
9821 ac_cv_crosscflags__Wempty_body=no
9823 rm -f core conftest.err conftest.$ac_objext \
9824 conftest$ac_exeext conftest.$ac_ext
9825 CFLAGS=$ac_wine_try_cflags_saved
9826 CC=$ac_wine_try_cflags_saved_cc
9827 ac_exeext=$ac_wine_try_cflags_saved_exeext
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9830 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9831 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9832 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9835 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9836 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9837 $as_echo_n "(cached) " >&6
9838 else
9839 ac_wine_try_cflags_saved=$CFLAGS
9840 ac_wine_try_cflags_saved_cc=$CC
9841 ac_wine_try_cflags_saved_exeext=$ac_exeext
9842 CFLAGS="$CFLAGS -Wignored-qualifiers"
9843 CC="$CROSSCC"
9844 ac_exeext=".exe"
9845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9847 int main(int argc, char **argv) { return 0; }
9848 _ACEOF
9849 if ac_fn_c_try_link "$LINENO"; then :
9850 ac_cv_crosscflags__Wignored_qualifiers=yes
9851 else
9852 ac_cv_crosscflags__Wignored_qualifiers=no
9854 rm -f core conftest.err conftest.$ac_objext \
9855 conftest$ac_exeext conftest.$ac_ext
9856 CFLAGS=$ac_wine_try_cflags_saved
9857 CC=$ac_wine_try_cflags_saved_cc
9858 ac_exeext=$ac_wine_try_cflags_saved_exeext
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9861 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9862 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9863 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9866 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9867 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9868 $as_echo_n "(cached) " >&6
9869 else
9870 ac_wine_try_cflags_saved=$CFLAGS
9871 ac_wine_try_cflags_saved_cc=$CC
9872 ac_wine_try_cflags_saved_exeext=$ac_exeext
9873 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9874 CC="$CROSSCC"
9875 ac_exeext=".exe"
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9878 int main(int argc, char **argv) { return 0; }
9879 _ACEOF
9880 if ac_fn_c_try_link "$LINENO"; then :
9881 ac_cv_crosscflags__Wpacked_not_aligned=yes
9882 else
9883 ac_cv_crosscflags__Wpacked_not_aligned=no
9885 rm -f core conftest.err conftest.$ac_objext \
9886 conftest$ac_exeext conftest.$ac_ext
9887 CFLAGS=$ac_wine_try_cflags_saved
9888 CC=$ac_wine_try_cflags_saved_cc
9889 ac_exeext=$ac_wine_try_cflags_saved_exeext
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9892 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9893 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9894 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9897 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9898 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9899 $as_echo_n "(cached) " >&6
9900 else
9901 ac_wine_try_cflags_saved=$CFLAGS
9902 ac_wine_try_cflags_saved_cc=$CC
9903 ac_wine_try_cflags_saved_exeext=$ac_exeext
9904 CFLAGS="$CFLAGS -Wpragma-pack"
9905 CC="$CROSSCC"
9906 ac_exeext=".exe"
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9909 int main(int argc, char **argv) { return 0; }
9910 _ACEOF
9911 if ac_fn_c_try_link "$LINENO"; then :
9912 ac_cv_crosscflags__Wpragma_pack=yes
9913 else
9914 ac_cv_crosscflags__Wpragma_pack=no
9916 rm -f core conftest.err conftest.$ac_objext \
9917 conftest$ac_exeext conftest.$ac_ext
9918 CFLAGS=$ac_wine_try_cflags_saved
9919 CC=$ac_wine_try_cflags_saved_cc
9920 ac_exeext=$ac_wine_try_cflags_saved_exeext
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
9923 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
9924 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
9925 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
9928 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
9929 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
9930 $as_echo_n "(cached) " >&6
9931 else
9932 ac_wine_try_cflags_saved=$CFLAGS
9933 ac_wine_try_cflags_saved_cc=$CC
9934 ac_wine_try_cflags_saved_exeext=$ac_exeext
9935 CFLAGS="$CFLAGS -Wshift-overflow=2"
9936 CC="$CROSSCC"
9937 ac_exeext=".exe"
9938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9939 /* end confdefs.h. */
9940 int main(int argc, char **argv) { return 0; }
9941 _ACEOF
9942 if ac_fn_c_try_link "$LINENO"; then :
9943 ac_cv_crosscflags__Wshift_overflow_2=yes
9944 else
9945 ac_cv_crosscflags__Wshift_overflow_2=no
9947 rm -f core conftest.err conftest.$ac_objext \
9948 conftest$ac_exeext conftest.$ac_ext
9949 CFLAGS=$ac_wine_try_cflags_saved
9950 CC=$ac_wine_try_cflags_saved_cc
9951 ac_exeext=$ac_wine_try_cflags_saved_exeext
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
9954 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
9955 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
9956 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
9959 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
9960 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
9961 $as_echo_n "(cached) " >&6
9962 else
9963 ac_wine_try_cflags_saved=$CFLAGS
9964 ac_wine_try_cflags_saved_cc=$CC
9965 ac_wine_try_cflags_saved_exeext=$ac_exeext
9966 CFLAGS="$CFLAGS -Wstrict-prototypes"
9967 CC="$CROSSCC"
9968 ac_exeext=".exe"
9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9971 int main(int argc, char **argv) { return 0; }
9972 _ACEOF
9973 if ac_fn_c_try_link "$LINENO"; then :
9974 ac_cv_crosscflags__Wstrict_prototypes=yes
9975 else
9976 ac_cv_crosscflags__Wstrict_prototypes=no
9978 rm -f core conftest.err conftest.$ac_objext \
9979 conftest$ac_exeext conftest.$ac_ext
9980 CFLAGS=$ac_wine_try_cflags_saved
9981 CC=$ac_wine_try_cflags_saved_cc
9982 ac_exeext=$ac_wine_try_cflags_saved_exeext
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
9985 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
9986 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
9987 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
9990 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
9991 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
9992 $as_echo_n "(cached) " >&6
9993 else
9994 ac_wine_try_cflags_saved=$CFLAGS
9995 ac_wine_try_cflags_saved_cc=$CC
9996 ac_wine_try_cflags_saved_exeext=$ac_exeext
9997 CFLAGS="$CFLAGS -Wtype-limits"
9998 CC="$CROSSCC"
9999 ac_exeext=".exe"
10000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10001 /* end confdefs.h. */
10002 int main(int argc, char **argv) { return 0; }
10003 _ACEOF
10004 if ac_fn_c_try_link "$LINENO"; then :
10005 ac_cv_crosscflags__Wtype_limits=yes
10006 else
10007 ac_cv_crosscflags__Wtype_limits=no
10009 rm -f core conftest.err conftest.$ac_objext \
10010 conftest$ac_exeext conftest.$ac_ext
10011 CFLAGS=$ac_wine_try_cflags_saved
10012 CC=$ac_wine_try_cflags_saved_cc
10013 ac_exeext=$ac_wine_try_cflags_saved_exeext
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10016 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10017 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10018 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10021 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10022 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10023 $as_echo_n "(cached) " >&6
10024 else
10025 ac_wine_try_cflags_saved=$CFLAGS
10026 ac_wine_try_cflags_saved_cc=$CC
10027 ac_wine_try_cflags_saved_exeext=$ac_exeext
10028 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10029 CC="$CROSSCC"
10030 ac_exeext=".exe"
10031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10033 int main(int argc, char **argv) { return 0; }
10034 _ACEOF
10035 if ac_fn_c_try_link "$LINENO"; then :
10036 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10037 else
10038 ac_cv_crosscflags__Wunused_but_set_parameter=no
10040 rm -f core conftest.err conftest.$ac_objext \
10041 conftest$ac_exeext conftest.$ac_ext
10042 CFLAGS=$ac_wine_try_cflags_saved
10043 CC=$ac_wine_try_cflags_saved_cc
10044 ac_exeext=$ac_wine_try_cflags_saved_exeext
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10047 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10048 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10049 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10052 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10053 if ${ac_cv_crosscflags__Wvla+:} false; then :
10054 $as_echo_n "(cached) " >&6
10055 else
10056 ac_wine_try_cflags_saved=$CFLAGS
10057 ac_wine_try_cflags_saved_cc=$CC
10058 ac_wine_try_cflags_saved_exeext=$ac_exeext
10059 CFLAGS="$CFLAGS -Wvla"
10060 CC="$CROSSCC"
10061 ac_exeext=".exe"
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10064 int main(int argc, char **argv) { return 0; }
10065 _ACEOF
10066 if ac_fn_c_try_link "$LINENO"; then :
10067 ac_cv_crosscflags__Wvla=yes
10068 else
10069 ac_cv_crosscflags__Wvla=no
10071 rm -f core conftest.err conftest.$ac_objext \
10072 conftest$ac_exeext conftest.$ac_ext
10073 CFLAGS=$ac_wine_try_cflags_saved
10074 CC=$ac_wine_try_cflags_saved_cc
10075 ac_exeext=$ac_wine_try_cflags_saved_exeext
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10078 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10079 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10080 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10083 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10084 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10085 $as_echo_n "(cached) " >&6
10086 else
10087 ac_wine_try_cflags_saved=$CFLAGS
10088 ac_wine_try_cflags_saved_cc=$CC
10089 ac_wine_try_cflags_saved_exeext=$ac_exeext
10090 CFLAGS="$CFLAGS -Wwrite-strings"
10091 CC="$CROSSCC"
10092 ac_exeext=".exe"
10093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10095 int main(int argc, char **argv) { return 0; }
10096 _ACEOF
10097 if ac_fn_c_try_link "$LINENO"; then :
10098 ac_cv_crosscflags__Wwrite_strings=yes
10099 else
10100 ac_cv_crosscflags__Wwrite_strings=no
10102 rm -f core conftest.err conftest.$ac_objext \
10103 conftest$ac_exeext conftest.$ac_ext
10104 CFLAGS=$ac_wine_try_cflags_saved
10105 CC=$ac_wine_try_cflags_saved_cc
10106 ac_exeext=$ac_wine_try_cflags_saved_exeext
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10109 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10110 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10111 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10114 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10115 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10116 $as_echo_n "(cached) " >&6
10117 else
10118 ac_wine_try_cflags_saved=$CFLAGS
10119 ac_wine_try_cflags_saved_cc=$CC
10120 ac_wine_try_cflags_saved_exeext=$ac_exeext
10121 CFLAGS="$CFLAGS -Wpointer-arith"
10122 CC="$CROSSCC"
10123 ac_exeext=".exe"
10124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10125 /* end confdefs.h. */
10126 int main(int argc, char **argv) { return 0; }
10127 _ACEOF
10128 if ac_fn_c_try_link "$LINENO"; then :
10129 ac_cv_crosscflags__Wpointer_arith=yes
10130 else
10131 ac_cv_crosscflags__Wpointer_arith=no
10133 rm -f core conftest.err conftest.$ac_objext \
10134 conftest$ac_exeext conftest.$ac_ext
10135 CFLAGS=$ac_wine_try_cflags_saved
10136 CC=$ac_wine_try_cflags_saved_cc
10137 ac_exeext=$ac_wine_try_cflags_saved_exeext
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10140 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10141 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10142 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10145 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10146 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10147 $as_echo_n "(cached) " >&6
10148 else
10149 ac_wine_try_cflags_saved=$CFLAGS
10150 ac_wine_try_cflags_saved_cc=$CC
10151 ac_wine_try_cflags_saved_exeext=$ac_exeext
10152 CFLAGS="$CFLAGS -Wlogical-op"
10153 CC="$CROSSCC"
10154 ac_exeext=".exe"
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10157 int main(int argc, char **argv) { return 0; }
10158 _ACEOF
10159 if ac_fn_c_try_link "$LINENO"; then :
10160 ac_cv_crosscflags__Wlogical_op=yes
10161 else
10162 ac_cv_crosscflags__Wlogical_op=no
10164 rm -f core conftest.err conftest.$ac_objext \
10165 conftest$ac_exeext conftest.$ac_ext
10166 CFLAGS=$ac_wine_try_cflags_saved
10167 CC=$ac_wine_try_cflags_saved_cc
10168 ac_exeext=$ac_wine_try_cflags_saved_exeext
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10171 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10172 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10173 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10176 case $host_cpu in
10177 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10178 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10179 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10180 $as_echo_n "(cached) " >&6
10181 else
10182 ac_wine_try_cflags_saved=$CFLAGS
10183 ac_wine_try_cflags_saved_cc=$CC
10184 ac_wine_try_cflags_saved_exeext=$ac_exeext
10185 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10186 CC="$CROSSCC"
10187 ac_exeext=".exe"
10188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10189 /* end confdefs.h. */
10190 int main(int argc, char **argv) { return 0; }
10191 _ACEOF
10192 if ac_fn_c_try_link "$LINENO"; then :
10193 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10194 else
10195 ac_cv_crosscflags__fno_omit_frame_pointer=no
10197 rm -f core conftest.err conftest.$ac_objext \
10198 conftest$ac_exeext conftest.$ac_ext
10199 CFLAGS=$ac_wine_try_cflags_saved
10200 CC=$ac_wine_try_cflags_saved_cc
10201 ac_exeext=$ac_wine_try_cflags_saved_exeext
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10204 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10205 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10206 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10207 fi ;;
10208 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10209 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10210 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10211 $as_echo_n "(cached) " >&6
10212 else
10213 ac_wine_try_cflags_saved=$CFLAGS
10214 ac_wine_try_cflags_saved_cc=$CC
10215 ac_wine_try_cflags_saved_exeext=$ac_exeext
10216 CFLAGS="$CFLAGS -Wno-format"
10217 CC="$CROSSCC"
10218 ac_exeext=".exe"
10219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10221 int main(int argc, char **argv) { return 0; }
10222 _ACEOF
10223 if ac_fn_c_try_link "$LINENO"; then :
10224 ac_cv_crosscflags__Wno_format=yes
10225 else
10226 ac_cv_crosscflags__Wno_format=no
10228 rm -f core conftest.err conftest.$ac_objext \
10229 conftest$ac_exeext conftest.$ac_ext
10230 CFLAGS=$ac_wine_try_cflags_saved
10231 CC=$ac_wine_try_cflags_saved_cc
10232 ac_exeext=$ac_wine_try_cflags_saved_exeext
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10235 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10236 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10237 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10238 fi ;;
10239 esac
10241 for ac_flag in $CROSSCFLAGS; do
10242 case $ac_flag in
10243 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10244 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10245 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10246 $as_echo_n "(cached) " >&6
10247 else
10248 ac_wine_try_cflags_saved=$CFLAGS
10249 ac_wine_try_cflags_saved_cc=$CC
10250 ac_wine_try_cflags_saved_exeext=$ac_exeext
10251 CFLAGS="$CFLAGS -gdwarf-2"
10252 CC="$CROSSCC"
10253 ac_exeext=".exe"
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10256 int main(int argc, char **argv) { return 0; }
10257 _ACEOF
10258 if ac_fn_c_try_link "$LINENO"; then :
10259 ac_cv_crosscflags__gdwarf_2=yes
10260 else
10261 ac_cv_crosscflags__gdwarf_2=no
10263 rm -f core conftest.err conftest.$ac_objext \
10264 conftest$ac_exeext conftest.$ac_ext
10265 CFLAGS=$ac_wine_try_cflags_saved
10266 CC=$ac_wine_try_cflags_saved_cc
10267 ac_exeext=$ac_wine_try_cflags_saved_exeext
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10270 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10271 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10272 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10275 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10276 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10277 $as_echo_n "(cached) " >&6
10278 else
10279 ac_wine_try_cflags_saved=$CFLAGS
10280 ac_wine_try_cflags_saved_cc=$CC
10281 ac_wine_try_cflags_saved_exeext=$ac_exeext
10282 CFLAGS="$CFLAGS -gstrict-dwarf"
10283 CC="$CROSSCC"
10284 ac_exeext=".exe"
10285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10286 /* end confdefs.h. */
10287 int main(int argc, char **argv) { return 0; }
10288 _ACEOF
10289 if ac_fn_c_try_link "$LINENO"; then :
10290 ac_cv_crosscflags__gstrict_dwarf=yes
10291 else
10292 ac_cv_crosscflags__gstrict_dwarf=no
10294 rm -f core conftest.err conftest.$ac_objext \
10295 conftest$ac_exeext conftest.$ac_ext
10296 CFLAGS=$ac_wine_try_cflags_saved
10297 CC=$ac_wine_try_cflags_saved_cc
10298 ac_exeext=$ac_wine_try_cflags_saved_exeext
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10301 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10302 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10303 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10304 fi ;;
10305 esac
10306 done
10308 if test "x$enable_maintainer_mode" = xyes
10309 then
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10311 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10312 if ${ac_cv_crosscflags__Werror+:} false; then :
10313 $as_echo_n "(cached) " >&6
10314 else
10315 ac_wine_try_cflags_saved=$CFLAGS
10316 ac_wine_try_cflags_saved_cc=$CC
10317 ac_wine_try_cflags_saved_exeext=$ac_exeext
10318 CFLAGS="$CFLAGS -Werror"
10319 CC="$CROSSCC"
10320 ac_exeext=".exe"
10321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10323 int main(int argc, char **argv) { return 0; }
10324 _ACEOF
10325 if ac_fn_c_try_link "$LINENO"; then :
10326 ac_cv_crosscflags__Werror=yes
10327 else
10328 ac_cv_crosscflags__Werror=no
10330 rm -f core conftest.err conftest.$ac_objext \
10331 conftest$ac_exeext conftest.$ac_ext
10332 CFLAGS=$ac_wine_try_cflags_saved
10333 CC=$ac_wine_try_cflags_saved_cc
10334 ac_exeext=$ac_wine_try_cflags_saved_exeext
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10337 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10338 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10339 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10343 CFLAGS=$saved_CFLAGS
10344 CC="$ac_save_CC"
10347 if test "x$CROSSTARGET" = "x"; then :
10348 case "x$with_mingw" in
10349 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10350 xno) ;;
10351 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10352 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10353 esac
10358 if test "$ac_cv_header_pthread_h" = "yes"
10359 then
10360 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10361 if test "x$ac_cv_func_pthread_create" = xyes; then :
10363 else
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10365 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10366 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10367 $as_echo_n "(cached) " >&6
10368 else
10369 ac_check_lib_save_LIBS=$LIBS
10370 LIBS="-lpthread $LIBS"
10371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10372 /* end confdefs.h. */
10374 /* Override any GCC internal prototype to avoid an error.
10375 Use char because int might match the return type of a GCC
10376 builtin and then its argument prototype would still apply. */
10377 #ifdef __cplusplus
10378 extern "C"
10379 #endif
10380 char pthread_create ();
10382 main ()
10384 return pthread_create ();
10386 return 0;
10388 _ACEOF
10389 if ac_fn_c_try_link "$LINENO"; then :
10390 ac_cv_lib_pthread_pthread_create=yes
10391 else
10392 ac_cv_lib_pthread_pthread_create=no
10394 rm -f core conftest.err conftest.$ac_objext \
10395 conftest$ac_exeext conftest.$ac_ext
10396 LIBS=$ac_check_lib_save_LIBS
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10399 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10400 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10401 PTHREAD_LIBS="-lpthread"
10408 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10409 case "x$with_pthread" in
10410 xno) ;;
10411 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10412 Wine cannot support threads without libpthread.
10413 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10414 esac
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10420 $as_echo_n "checking for X... " >&6; }
10423 # Check whether --with-x was given.
10424 if test "${with_x+set}" = set; then :
10425 withval=$with_x;
10428 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10429 if test "x$with_x" = xno; then
10430 # The user explicitly disabled X.
10431 have_x=disabled
10432 else
10433 case $x_includes,$x_libraries in #(
10434 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10435 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10436 $as_echo_n "(cached) " >&6
10437 else
10438 # One or both of the vars are not set, and there is no cached value.
10439 ac_x_includes=no ac_x_libraries=no
10440 rm -f -r conftest.dir
10441 if mkdir conftest.dir; then
10442 cd conftest.dir
10443 cat >Imakefile <<'_ACEOF'
10444 incroot:
10445 @echo incroot='${INCROOT}'
10446 usrlibdir:
10447 @echo usrlibdir='${USRLIBDIR}'
10448 libdir:
10449 @echo libdir='${LIBDIR}'
10450 _ACEOF
10451 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10452 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10453 for ac_var in incroot usrlibdir libdir; do
10454 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10455 done
10456 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10457 for ac_extension in a so sl dylib la dll; do
10458 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10459 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10460 ac_im_usrlibdir=$ac_im_libdir; break
10462 done
10463 # Screen out bogus values from the imake configuration. They are
10464 # bogus both because they are the default anyway, and because
10465 # using them would break gcc on systems where it needs fixed includes.
10466 case $ac_im_incroot in
10467 /usr/include) ac_x_includes= ;;
10468 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10469 esac
10470 case $ac_im_usrlibdir in
10471 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10472 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10473 esac
10475 cd ..
10476 rm -f -r conftest.dir
10479 # Standard set of common directories for X headers.
10480 # Check X11 before X11Rn because it is often a symlink to the current release.
10481 ac_x_header_dirs='
10482 /usr/X11/include
10483 /usr/X11R7/include
10484 /usr/X11R6/include
10485 /usr/X11R5/include
10486 /usr/X11R4/include
10488 /usr/include/X11
10489 /usr/include/X11R7
10490 /usr/include/X11R6
10491 /usr/include/X11R5
10492 /usr/include/X11R4
10494 /usr/local/X11/include
10495 /usr/local/X11R7/include
10496 /usr/local/X11R6/include
10497 /usr/local/X11R5/include
10498 /usr/local/X11R4/include
10500 /usr/local/include/X11
10501 /usr/local/include/X11R7
10502 /usr/local/include/X11R6
10503 /usr/local/include/X11R5
10504 /usr/local/include/X11R4
10506 /usr/X386/include
10507 /usr/x386/include
10508 /usr/XFree86/include/X11
10510 /usr/include
10511 /usr/local/include
10512 /usr/unsupported/include
10513 /usr/athena/include
10514 /usr/local/x11r5/include
10515 /usr/lpp/Xamples/include
10517 /usr/openwin/include
10518 /usr/openwin/share/include'
10520 if test "$ac_x_includes" = no; then
10521 # Guess where to find include files, by looking for Xlib.h.
10522 # First, try using that file with no special directory specified.
10523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10524 /* end confdefs.h. */
10525 #include <X11/Xlib.h>
10526 _ACEOF
10527 if ac_fn_c_try_cpp "$LINENO"; then :
10528 # We can compile using X headers with no special include directory.
10529 ac_x_includes=
10530 else
10531 for ac_dir in $ac_x_header_dirs; do
10532 if test -r "$ac_dir/X11/Xlib.h"; then
10533 ac_x_includes=$ac_dir
10534 break
10536 done
10538 rm -f conftest.err conftest.i conftest.$ac_ext
10539 fi # $ac_x_includes = no
10541 if test "$ac_x_libraries" = no; then
10542 # Check for the libraries.
10543 # See if we find them without any special options.
10544 # Don't add to $LIBS permanently.
10545 ac_save_LIBS=$LIBS
10546 LIBS="-lX11 $LIBS"
10547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10548 /* end confdefs.h. */
10549 #include <X11/Xlib.h>
10551 main ()
10553 XrmInitialize ()
10555 return 0;
10557 _ACEOF
10558 if ac_fn_c_try_link "$LINENO"; then :
10559 LIBS=$ac_save_LIBS
10560 # We can link X programs with no special library path.
10561 ac_x_libraries=
10562 else
10563 LIBS=$ac_save_LIBS
10564 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10566 # Don't even attempt the hair of trying to link an X program!
10567 for ac_extension in a so sl dylib la dll; do
10568 if test -r "$ac_dir/libX11.$ac_extension"; then
10569 ac_x_libraries=$ac_dir
10570 break 2
10572 done
10573 done
10575 rm -f core conftest.err conftest.$ac_objext \
10576 conftest$ac_exeext conftest.$ac_ext
10577 fi # $ac_x_libraries = no
10579 case $ac_x_includes,$ac_x_libraries in #(
10580 no,* | *,no | *\'*)
10581 # Didn't find X, or a directory has "'" in its name.
10582 ac_cv_have_x="have_x=no";; #(
10584 # Record where we found X for the cache.
10585 ac_cv_have_x="have_x=yes\
10586 ac_x_includes='$ac_x_includes'\
10587 ac_x_libraries='$ac_x_libraries'"
10588 esac
10590 ;; #(
10591 *) have_x=yes;;
10592 esac
10593 eval "$ac_cv_have_x"
10594 fi # $with_x != no
10596 if test "$have_x" != yes; then
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10598 $as_echo "$have_x" >&6; }
10599 no_x=yes
10600 else
10601 # If each of the values was on the command line, it overrides each guess.
10602 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10603 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10604 # Update the cache value to reflect the command line values.
10605 ac_cv_have_x="have_x=yes\
10606 ac_x_includes='$x_includes'\
10607 ac_x_libraries='$x_libraries'"
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10609 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10612 if test "$no_x" = yes; then
10613 # Not all programs may use this symbol, but it does not hurt to define it.
10615 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10617 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10618 else
10619 if test -n "$x_includes"; then
10620 X_CFLAGS="$X_CFLAGS -I$x_includes"
10623 # It would also be nice to do this for all -L options, not just this one.
10624 if test -n "$x_libraries"; then
10625 X_LIBS="$X_LIBS -L$x_libraries"
10626 # For Solaris; some versions of Sun CC require a space after -R and
10627 # others require no space. Words are not sufficient . . . .
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10629 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10630 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10631 ac_xsave_c_werror_flag=$ac_c_werror_flag
10632 ac_c_werror_flag=yes
10633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10634 /* end confdefs.h. */
10637 main ()
10641 return 0;
10643 _ACEOF
10644 if ac_fn_c_try_link "$LINENO"; then :
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10646 $as_echo "no" >&6; }
10647 X_LIBS="$X_LIBS -R$x_libraries"
10648 else
10649 LIBS="$ac_xsave_LIBS -R $x_libraries"
10650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10654 main ()
10658 return 0;
10660 _ACEOF
10661 if ac_fn_c_try_link "$LINENO"; then :
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10663 $as_echo "yes" >&6; }
10664 X_LIBS="$X_LIBS -R $x_libraries"
10665 else
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10667 $as_echo "neither works" >&6; }
10669 rm -f core conftest.err conftest.$ac_objext \
10670 conftest$ac_exeext conftest.$ac_ext
10672 rm -f core conftest.err conftest.$ac_objext \
10673 conftest$ac_exeext conftest.$ac_ext
10674 ac_c_werror_flag=$ac_xsave_c_werror_flag
10675 LIBS=$ac_xsave_LIBS
10678 # Check for system-dependent libraries X programs must link with.
10679 # Do this before checking for the system-independent R6 libraries
10680 # (-lICE), since we may need -lsocket or whatever for X linking.
10682 if test "$ISC" = yes; then
10683 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10684 else
10685 # Martyn Johnson says this is needed for Ultrix, if the X
10686 # libraries were built with DECnet support. And Karl Berry says
10687 # the Alpha needs dnet_stub (dnet does not exist).
10688 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10690 /* end confdefs.h. */
10692 /* Override any GCC internal prototype to avoid an error.
10693 Use char because int might match the return type of a GCC
10694 builtin and then its argument prototype would still apply. */
10695 #ifdef __cplusplus
10696 extern "C"
10697 #endif
10698 char XOpenDisplay ();
10700 main ()
10702 return XOpenDisplay ();
10704 return 0;
10706 _ACEOF
10707 if ac_fn_c_try_link "$LINENO"; then :
10709 else
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10711 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10712 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10713 $as_echo_n "(cached) " >&6
10714 else
10715 ac_check_lib_save_LIBS=$LIBS
10716 LIBS="-ldnet $LIBS"
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10720 /* Override any GCC internal prototype to avoid an error.
10721 Use char because int might match the return type of a GCC
10722 builtin and then its argument prototype would still apply. */
10723 #ifdef __cplusplus
10724 extern "C"
10725 #endif
10726 char dnet_ntoa ();
10728 main ()
10730 return dnet_ntoa ();
10732 return 0;
10734 _ACEOF
10735 if ac_fn_c_try_link "$LINENO"; then :
10736 ac_cv_lib_dnet_dnet_ntoa=yes
10737 else
10738 ac_cv_lib_dnet_dnet_ntoa=no
10740 rm -f core conftest.err conftest.$ac_objext \
10741 conftest$ac_exeext conftest.$ac_ext
10742 LIBS=$ac_check_lib_save_LIBS
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10745 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10746 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10747 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10750 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10752 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10753 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10754 $as_echo_n "(cached) " >&6
10755 else
10756 ac_check_lib_save_LIBS=$LIBS
10757 LIBS="-ldnet_stub $LIBS"
10758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10761 /* Override any GCC internal prototype to avoid an error.
10762 Use char because int might match the return type of a GCC
10763 builtin and then its argument prototype would still apply. */
10764 #ifdef __cplusplus
10765 extern "C"
10766 #endif
10767 char dnet_ntoa ();
10769 main ()
10771 return dnet_ntoa ();
10773 return 0;
10775 _ACEOF
10776 if ac_fn_c_try_link "$LINENO"; then :
10777 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10778 else
10779 ac_cv_lib_dnet_stub_dnet_ntoa=no
10781 rm -f core conftest.err conftest.$ac_objext \
10782 conftest$ac_exeext conftest.$ac_ext
10783 LIBS=$ac_check_lib_save_LIBS
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10786 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10787 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10788 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10793 rm -f core conftest.err conftest.$ac_objext \
10794 conftest$ac_exeext conftest.$ac_ext
10795 LIBS="$ac_xsave_LIBS"
10797 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10798 # to get the SysV transport functions.
10799 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10800 # needs -lnsl.
10801 # The nsl library prevents programs from opening the X display
10802 # on Irix 5.2, according to T.E. Dickey.
10803 # The functions gethostbyname, getservbyname, and inet_addr are
10804 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10805 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10806 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10810 if test $ac_cv_func_gethostbyname = no; then
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10812 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10813 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10814 $as_echo_n "(cached) " >&6
10815 else
10816 ac_check_lib_save_LIBS=$LIBS
10817 LIBS="-lnsl $LIBS"
10818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10821 /* Override any GCC internal prototype to avoid an error.
10822 Use char because int might match the return type of a GCC
10823 builtin and then its argument prototype would still apply. */
10824 #ifdef __cplusplus
10825 extern "C"
10826 #endif
10827 char gethostbyname ();
10829 main ()
10831 return gethostbyname ();
10833 return 0;
10835 _ACEOF
10836 if ac_fn_c_try_link "$LINENO"; then :
10837 ac_cv_lib_nsl_gethostbyname=yes
10838 else
10839 ac_cv_lib_nsl_gethostbyname=no
10841 rm -f core conftest.err conftest.$ac_objext \
10842 conftest$ac_exeext conftest.$ac_ext
10843 LIBS=$ac_check_lib_save_LIBS
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10846 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10847 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10848 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10851 if test $ac_cv_lib_nsl_gethostbyname = no; then
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10853 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10854 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10855 $as_echo_n "(cached) " >&6
10856 else
10857 ac_check_lib_save_LIBS=$LIBS
10858 LIBS="-lbsd $LIBS"
10859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10860 /* end confdefs.h. */
10862 /* Override any GCC internal prototype to avoid an error.
10863 Use char because int might match the return type of a GCC
10864 builtin and then its argument prototype would still apply. */
10865 #ifdef __cplusplus
10866 extern "C"
10867 #endif
10868 char gethostbyname ();
10870 main ()
10872 return gethostbyname ();
10874 return 0;
10876 _ACEOF
10877 if ac_fn_c_try_link "$LINENO"; then :
10878 ac_cv_lib_bsd_gethostbyname=yes
10879 else
10880 ac_cv_lib_bsd_gethostbyname=no
10882 rm -f core conftest.err conftest.$ac_objext \
10883 conftest$ac_exeext conftest.$ac_ext
10884 LIBS=$ac_check_lib_save_LIBS
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10887 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10888 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10889 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10895 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10896 # socket/setsockopt and other routines are undefined under SCO ODT
10897 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10898 # on later versions), says Simon Leinen: it contains gethostby*
10899 # variants that don't use the name server (or something). -lsocket
10900 # must be given before -lnsl if both are needed. We assume that
10901 # if connect needs -lnsl, so does gethostbyname.
10902 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10903 if test "x$ac_cv_func_connect" = xyes; then :
10907 if test $ac_cv_func_connect = no; then
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10909 $as_echo_n "checking for connect in -lsocket... " >&6; }
10910 if ${ac_cv_lib_socket_connect+:} false; then :
10911 $as_echo_n "(cached) " >&6
10912 else
10913 ac_check_lib_save_LIBS=$LIBS
10914 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10916 /* end confdefs.h. */
10918 /* Override any GCC internal prototype to avoid an error.
10919 Use char because int might match the return type of a GCC
10920 builtin and then its argument prototype would still apply. */
10921 #ifdef __cplusplus
10922 extern "C"
10923 #endif
10924 char connect ();
10926 main ()
10928 return connect ();
10930 return 0;
10932 _ACEOF
10933 if ac_fn_c_try_link "$LINENO"; then :
10934 ac_cv_lib_socket_connect=yes
10935 else
10936 ac_cv_lib_socket_connect=no
10938 rm -f core conftest.err conftest.$ac_objext \
10939 conftest$ac_exeext conftest.$ac_ext
10940 LIBS=$ac_check_lib_save_LIBS
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10943 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10944 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10945 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10950 # Guillermo Gomez says -lposix is necessary on A/UX.
10951 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10952 if test "x$ac_cv_func_remove" = xyes; then :
10956 if test $ac_cv_func_remove = no; then
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10958 $as_echo_n "checking for remove in -lposix... " >&6; }
10959 if ${ac_cv_lib_posix_remove+:} false; then :
10960 $as_echo_n "(cached) " >&6
10961 else
10962 ac_check_lib_save_LIBS=$LIBS
10963 LIBS="-lposix $LIBS"
10964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10965 /* end confdefs.h. */
10967 /* Override any GCC internal prototype to avoid an error.
10968 Use char because int might match the return type of a GCC
10969 builtin and then its argument prototype would still apply. */
10970 #ifdef __cplusplus
10971 extern "C"
10972 #endif
10973 char remove ();
10975 main ()
10977 return remove ();
10979 return 0;
10981 _ACEOF
10982 if ac_fn_c_try_link "$LINENO"; then :
10983 ac_cv_lib_posix_remove=yes
10984 else
10985 ac_cv_lib_posix_remove=no
10987 rm -f core conftest.err conftest.$ac_objext \
10988 conftest$ac_exeext conftest.$ac_ext
10989 LIBS=$ac_check_lib_save_LIBS
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10992 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10993 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10994 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10999 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11000 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11001 if test "x$ac_cv_func_shmat" = xyes; then :
11005 if test $ac_cv_func_shmat = no; then
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11007 $as_echo_n "checking for shmat in -lipc... " >&6; }
11008 if ${ac_cv_lib_ipc_shmat+:} false; then :
11009 $as_echo_n "(cached) " >&6
11010 else
11011 ac_check_lib_save_LIBS=$LIBS
11012 LIBS="-lipc $LIBS"
11013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11014 /* end confdefs.h. */
11016 /* Override any GCC internal prototype to avoid an error.
11017 Use char because int might match the return type of a GCC
11018 builtin and then its argument prototype would still apply. */
11019 #ifdef __cplusplus
11020 extern "C"
11021 #endif
11022 char shmat ();
11024 main ()
11026 return shmat ();
11028 return 0;
11030 _ACEOF
11031 if ac_fn_c_try_link "$LINENO"; then :
11032 ac_cv_lib_ipc_shmat=yes
11033 else
11034 ac_cv_lib_ipc_shmat=no
11036 rm -f core conftest.err conftest.$ac_objext \
11037 conftest$ac_exeext conftest.$ac_ext
11038 LIBS=$ac_check_lib_save_LIBS
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11041 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11042 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11043 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11049 # Check for libraries that X11R6 Xt/Xaw programs need.
11050 ac_save_LDFLAGS=$LDFLAGS
11051 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11052 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11053 # check for ICE first), but we must link in the order -lSM -lICE or
11054 # we get undefined symbols. So assume we have SM if we have ICE.
11055 # These have to be linked with before -lX11, unlike the other
11056 # libraries we check for below, so use a different variable.
11057 # John Interrante, Karl Berry
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11059 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11060 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11061 $as_echo_n "(cached) " >&6
11062 else
11063 ac_check_lib_save_LIBS=$LIBS
11064 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11068 /* Override any GCC internal prototype to avoid an error.
11069 Use char because int might match the return type of a GCC
11070 builtin and then its argument prototype would still apply. */
11071 #ifdef __cplusplus
11072 extern "C"
11073 #endif
11074 char IceConnectionNumber ();
11076 main ()
11078 return IceConnectionNumber ();
11080 return 0;
11082 _ACEOF
11083 if ac_fn_c_try_link "$LINENO"; then :
11084 ac_cv_lib_ICE_IceConnectionNumber=yes
11085 else
11086 ac_cv_lib_ICE_IceConnectionNumber=no
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_lib_save_LIBS
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11093 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11094 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11095 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11098 LDFLAGS=$ac_save_LDFLAGS
11103 if test "$have_x" = "yes"
11104 then
11105 ac_save_CPPFLAGS="$CPPFLAGS"
11106 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11109 $as_echo_n "checking for -lX11... " >&6; }
11110 if ${ac_cv_lib_soname_X11+:} false; then :
11111 $as_echo_n "(cached) " >&6
11112 else
11113 ac_check_soname_save_LIBS=$LIBS
11114 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11118 /* Override any GCC internal prototype to avoid an error.
11119 Use char because int might match the return type of a GCC
11120 builtin and then its argument prototype would still apply. */
11121 #ifdef __cplusplus
11122 extern "C"
11123 #endif
11124 char XCreateWindow ();
11126 main ()
11128 return XCreateWindow ();
11130 return 0;
11132 _ACEOF
11133 if ac_fn_c_try_link "$LINENO"; then :
11134 case "$LIBEXT" in
11135 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11136 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'` ;;
11137 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11138 if ${ac_cv_lib_soname_X11:+false} :; then :
11139 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11140 fi ;;
11141 esac
11143 rm -f core conftest.err conftest.$ac_objext \
11144 conftest$ac_exeext conftest.$ac_ext
11145 LIBS=$ac_check_soname_save_LIBS
11147 if ${ac_cv_lib_soname_X11:+false} :; then :
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11149 $as_echo "not found" >&6; }
11151 else
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11153 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11155 cat >>confdefs.h <<_ACEOF
11156 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11157 _ACEOF
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11162 $as_echo_n "checking for -lXext... " >&6; }
11163 if ${ac_cv_lib_soname_Xext+:} false; then :
11164 $as_echo_n "(cached) " >&6
11165 else
11166 ac_check_soname_save_LIBS=$LIBS
11167 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11171 /* Override any GCC internal prototype to avoid an error.
11172 Use char because int might match the return type of a GCC
11173 builtin and then its argument prototype would still apply. */
11174 #ifdef __cplusplus
11175 extern "C"
11176 #endif
11177 char XextCreateExtension ();
11179 main ()
11181 return XextCreateExtension ();
11183 return 0;
11185 _ACEOF
11186 if ac_fn_c_try_link "$LINENO"; then :
11187 case "$LIBEXT" in
11188 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11189 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'` ;;
11190 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11191 if ${ac_cv_lib_soname_Xext:+false} :; then :
11192 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11193 fi ;;
11194 esac
11196 rm -f core conftest.err conftest.$ac_objext \
11197 conftest$ac_exeext conftest.$ac_ext
11198 LIBS=$ac_check_soname_save_LIBS
11200 if ${ac_cv_lib_soname_Xext:+false} :; then :
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11202 $as_echo "not found" >&6; }
11204 else
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11206 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11208 cat >>confdefs.h <<_ACEOF
11209 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11210 _ACEOF
11212 X_LIBS="$X_LIBS -lXext"
11214 X_LIBS="$X_LIBS -lX11"
11216 for ac_header in X11/Xlib.h \
11217 X11/XKBlib.h \
11218 X11/Xutil.h \
11219 X11/Xcursor/Xcursor.h \
11220 X11/extensions/shape.h \
11221 X11/extensions/XInput.h \
11222 X11/extensions/XInput2.h \
11223 X11/extensions/XShm.h \
11224 X11/extensions/Xcomposite.h \
11225 X11/extensions/Xfixes.h \
11226 X11/extensions/Xinerama.h \
11227 X11/extensions/Xrandr.h \
11228 X11/extensions/Xrender.h \
11229 X11/extensions/xf86vmode.h \
11230 X11/extensions/xf86vmproto.h
11231 do :
11232 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11233 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11234 # include <X11/Xlib.h>
11235 #endif
11236 #ifdef HAVE_X11_XUTIL_H
11237 # include <X11/Xutil.h>
11238 #endif
11240 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11241 cat >>confdefs.h <<_ACEOF
11242 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11243 _ACEOF
11247 done
11250 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11251 then
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11253 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11254 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11255 $as_echo_n "(cached) " >&6
11256 else
11257 ac_check_lib_save_LIBS=$LIBS
11258 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11262 /* Override any GCC internal prototype to avoid an error.
11263 Use char because int might match the return type of a GCC
11264 builtin and then its argument prototype would still apply. */
11265 #ifdef __cplusplus
11266 extern "C"
11267 #endif
11268 char XkbQueryExtension ();
11270 main ()
11272 return XkbQueryExtension ();
11274 return 0;
11276 _ACEOF
11277 if ac_fn_c_try_link "$LINENO"; then :
11278 ac_cv_lib_X11_XkbQueryExtension=yes
11279 else
11280 ac_cv_lib_X11_XkbQueryExtension=no
11282 rm -f core conftest.err conftest.$ac_objext \
11283 conftest$ac_exeext conftest.$ac_ext
11284 LIBS=$ac_check_lib_save_LIBS
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11287 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11288 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11290 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11296 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11297 then
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11299 $as_echo_n "checking for -lXcursor... " >&6; }
11300 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11301 $as_echo_n "(cached) " >&6
11302 else
11303 ac_check_soname_save_LIBS=$LIBS
11304 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11306 /* end confdefs.h. */
11308 /* Override any GCC internal prototype to avoid an error.
11309 Use char because int might match the return type of a GCC
11310 builtin and then its argument prototype would still apply. */
11311 #ifdef __cplusplus
11312 extern "C"
11313 #endif
11314 char XcursorImageLoadCursor ();
11316 main ()
11318 return XcursorImageLoadCursor ();
11320 return 0;
11322 _ACEOF
11323 if ac_fn_c_try_link "$LINENO"; then :
11324 case "$LIBEXT" in
11325 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11326 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'` ;;
11327 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11328 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11329 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11330 fi ;;
11331 esac
11333 rm -f core conftest.err conftest.$ac_objext \
11334 conftest$ac_exeext conftest.$ac_ext
11335 LIBS=$ac_check_soname_save_LIBS
11337 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11339 $as_echo "not found" >&6; }
11341 else
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11343 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11345 cat >>confdefs.h <<_ACEOF
11346 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11347 _ACEOF
11352 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11353 case "x$with_xcursor" in
11354 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11355 xno) ;;
11356 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11357 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11358 esac
11362 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11363 then
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11365 $as_echo_n "checking for -lXi... " >&6; }
11366 if ${ac_cv_lib_soname_Xi+:} false; then :
11367 $as_echo_n "(cached) " >&6
11368 else
11369 ac_check_soname_save_LIBS=$LIBS
11370 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11377 #ifdef __cplusplus
11378 extern "C"
11379 #endif
11380 char XOpenDevice ();
11382 main ()
11384 return XOpenDevice ();
11386 return 0;
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"; then :
11390 case "$LIBEXT" in
11391 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11392 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'` ;;
11393 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11394 if ${ac_cv_lib_soname_Xi:+false} :; then :
11395 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11396 fi ;;
11397 esac
11399 rm -f core conftest.err conftest.$ac_objext \
11400 conftest$ac_exeext conftest.$ac_ext
11401 LIBS=$ac_check_soname_save_LIBS
11403 if ${ac_cv_lib_soname_Xi:+false} :; then :
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11405 $as_echo "not found" >&6; }
11407 else
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11409 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11411 cat >>confdefs.h <<_ACEOF
11412 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11413 _ACEOF
11418 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11419 case "x$with_xinput" in
11420 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11421 xno) ;;
11422 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11423 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11424 esac
11428 if test "x$ac_cv_lib_soname_Xi" != x
11429 then
11430 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11431 case "x$with_xinput2" in
11432 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11433 xno) ;;
11434 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11435 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11436 esac
11441 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11442 then
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11444 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11445 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11446 $as_echo_n "(cached) " >&6
11447 else
11448 ac_check_lib_save_LIBS=$LIBS
11449 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11456 #ifdef __cplusplus
11457 extern "C"
11458 #endif
11459 char XShmQueryExtension ();
11461 main ()
11463 return XShmQueryExtension ();
11465 return 0;
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469 ac_cv_lib_Xext_XShmQueryExtension=yes
11470 else
11471 ac_cv_lib_Xext_XShmQueryExtension=no
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_lib_save_LIBS
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11478 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11479 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11481 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11486 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11487 case "x$with_xshm" in
11488 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11489 xno) ;;
11490 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11491 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11492 esac
11496 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11497 then
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11499 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11500 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11501 $as_echo_n "(cached) " >&6
11502 else
11503 ac_check_lib_save_LIBS=$LIBS
11504 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11506 /* end confdefs.h. */
11508 /* Override any GCC internal prototype to avoid an error.
11509 Use char because int might match the return type of a GCC
11510 builtin and then its argument prototype would still apply. */
11511 #ifdef __cplusplus
11512 extern "C"
11513 #endif
11514 char XShapeQueryExtension ();
11516 main ()
11518 return XShapeQueryExtension ();
11520 return 0;
11522 _ACEOF
11523 if ac_fn_c_try_link "$LINENO"; then :
11524 ac_cv_lib_Xext_XShapeQueryExtension=yes
11525 else
11526 ac_cv_lib_Xext_XShapeQueryExtension=no
11528 rm -f core conftest.err conftest.$ac_objext \
11529 conftest$ac_exeext conftest.$ac_ext
11530 LIBS=$ac_check_lib_save_LIBS
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11533 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11534 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11536 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11541 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11542 case "x$with_xshape" in
11543 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11544 xno) ;;
11545 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11546 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11547 esac
11551 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11552 then
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11554 $as_echo_n "checking for -lXxf86vm... " >&6; }
11555 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11556 $as_echo_n "(cached) " >&6
11557 else
11558 ac_check_soname_save_LIBS=$LIBS
11559 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11561 /* end confdefs.h. */
11563 /* Override any GCC internal prototype to avoid an error.
11564 Use char because int might match the return type of a GCC
11565 builtin and then its argument prototype would still apply. */
11566 #ifdef __cplusplus
11567 extern "C"
11568 #endif
11569 char XF86VidModeQueryExtension ();
11571 main ()
11573 return XF86VidModeQueryExtension ();
11575 return 0;
11577 _ACEOF
11578 if ac_fn_c_try_link "$LINENO"; then :
11579 case "$LIBEXT" in
11580 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11581 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'` ;;
11582 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11583 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11584 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11585 fi ;;
11586 esac
11588 rm -f core conftest.err conftest.$ac_objext \
11589 conftest$ac_exeext conftest.$ac_ext
11590 LIBS=$ac_check_soname_save_LIBS
11592 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11594 $as_echo "not found" >&6; }
11596 else
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11598 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11600 cat >>confdefs.h <<_ACEOF
11601 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11602 _ACEOF
11607 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11608 case "x$with_xxf86vm" in
11609 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11610 xno) ;;
11611 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11612 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11613 esac
11617 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11618 then
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11620 $as_echo_n "checking for -lXrender... " >&6; }
11621 if ${ac_cv_lib_soname_Xrender+:} false; then :
11622 $as_echo_n "(cached) " >&6
11623 else
11624 ac_check_soname_save_LIBS=$LIBS
11625 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11627 /* end confdefs.h. */
11629 /* Override any GCC internal prototype to avoid an error.
11630 Use char because int might match the return type of a GCC
11631 builtin and then its argument prototype would still apply. */
11632 #ifdef __cplusplus
11633 extern "C"
11634 #endif
11635 char XRenderQueryExtension ();
11637 main ()
11639 return XRenderQueryExtension ();
11641 return 0;
11643 _ACEOF
11644 if ac_fn_c_try_link "$LINENO"; then :
11645 case "$LIBEXT" in
11646 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11647 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'` ;;
11648 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11649 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11650 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11651 fi ;;
11652 esac
11654 rm -f core conftest.err conftest.$ac_objext \
11655 conftest$ac_exeext conftest.$ac_ext
11656 LIBS=$ac_check_soname_save_LIBS
11658 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11660 $as_echo "not found" >&6; }
11662 else
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11664 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11666 cat >>confdefs.h <<_ACEOF
11667 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11668 _ACEOF
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11671 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11672 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11673 $as_echo_n "(cached) " >&6
11674 else
11675 ac_check_lib_save_LIBS=$LIBS
11676 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11680 /* Override any GCC internal prototype to avoid an error.
11681 Use char because int might match the return type of a GCC
11682 builtin and then its argument prototype would still apply. */
11683 #ifdef __cplusplus
11684 extern "C"
11685 #endif
11686 char XRenderSetPictureTransform ();
11688 main ()
11690 return XRenderSetPictureTransform ();
11692 return 0;
11694 _ACEOF
11695 if ac_fn_c_try_link "$LINENO"; then :
11696 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11697 else
11698 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11700 rm -f core conftest.err conftest.$ac_objext \
11701 conftest$ac_exeext conftest.$ac_ext
11702 LIBS=$ac_check_lib_save_LIBS
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11705 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11706 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11708 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11713 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11714 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11715 $as_echo_n "(cached) " >&6
11716 else
11717 ac_check_lib_save_LIBS=$LIBS
11718 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11720 /* end confdefs.h. */
11722 /* Override any GCC internal prototype to avoid an error.
11723 Use char because int might match the return type of a GCC
11724 builtin and then its argument prototype would still apply. */
11725 #ifdef __cplusplus
11726 extern "C"
11727 #endif
11728 char XRenderCreateLinearGradient ();
11730 main ()
11732 return XRenderCreateLinearGradient ();
11734 return 0;
11736 _ACEOF
11737 if ac_fn_c_try_link "$LINENO"; then :
11738 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11739 else
11740 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11742 rm -f core conftest.err conftest.$ac_objext \
11743 conftest$ac_exeext conftest.$ac_ext
11744 LIBS=$ac_check_lib_save_LIBS
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11747 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11748 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11750 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11757 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11758 case "x$with_xrender" in
11759 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11760 xno) ;;
11761 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11762 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11763 esac
11767 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11768 then
11769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11770 /* end confdefs.h. */
11771 #include <X11/Xlib.h>
11772 #include <X11/extensions/Xrandr.h>
11774 main ()
11776 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11778 return 0;
11780 _ACEOF
11781 if ac_fn_c_try_compile "$LINENO"; then :
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11783 $as_echo_n "checking for -lXrandr... " >&6; }
11784 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11785 $as_echo_n "(cached) " >&6
11786 else
11787 ac_check_soname_save_LIBS=$LIBS
11788 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h. */
11792 /* Override any GCC internal prototype to avoid an error.
11793 Use char because int might match the return type of a GCC
11794 builtin and then its argument prototype would still apply. */
11795 #ifdef __cplusplus
11796 extern "C"
11797 #endif
11798 char XRRQueryExtension ();
11800 main ()
11802 return XRRQueryExtension ();
11804 return 0;
11806 _ACEOF
11807 if ac_fn_c_try_link "$LINENO"; then :
11808 case "$LIBEXT" in
11809 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11810 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'` ;;
11811 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11812 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11813 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11814 fi ;;
11815 esac
11817 rm -f core conftest.err conftest.$ac_objext \
11818 conftest$ac_exeext conftest.$ac_ext
11819 LIBS=$ac_check_soname_save_LIBS
11821 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11823 $as_echo "not found" >&6; }
11825 else
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11827 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11829 cat >>confdefs.h <<_ACEOF
11830 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11831 _ACEOF
11833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11835 #include <X11/Xlib.h>
11836 #include <X11/extensions/Xrandr.h>
11838 main ()
11840 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11842 return 0;
11844 _ACEOF
11845 if ac_fn_c_try_compile "$LINENO"; then :
11847 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11855 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11856 case "x$with_xrandr" in
11857 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11858 xno) ;;
11859 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11860 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11861 esac
11865 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11866 then
11867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11868 /* end confdefs.h. */
11869 #include <X11/Xlib.h>
11870 #include <X11/extensions/Xfixes.h>
11872 main ()
11874 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11876 return 0;
11878 _ACEOF
11879 if ac_fn_c_try_compile "$LINENO"; then :
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11881 $as_echo_n "checking for -lXfixes... " >&6; }
11882 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11883 $as_echo_n "(cached) " >&6
11884 else
11885 ac_check_soname_save_LIBS=$LIBS
11886 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11888 /* end confdefs.h. */
11890 /* Override any GCC internal prototype to avoid an error.
11891 Use char because int might match the return type of a GCC
11892 builtin and then its argument prototype would still apply. */
11893 #ifdef __cplusplus
11894 extern "C"
11895 #endif
11896 char XFixesQueryVersion ();
11898 main ()
11900 return XFixesQueryVersion ();
11902 return 0;
11904 _ACEOF
11905 if ac_fn_c_try_link "$LINENO"; then :
11906 case "$LIBEXT" in
11907 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11908 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'` ;;
11909 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11910 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11911 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11912 fi ;;
11913 esac
11915 rm -f core conftest.err conftest.$ac_objext \
11916 conftest$ac_exeext conftest.$ac_ext
11917 LIBS=$ac_check_soname_save_LIBS
11919 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11921 $as_echo "not found" >&6; }
11923 else
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11925 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11927 cat >>confdefs.h <<_ACEOF
11928 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11929 _ACEOF
11934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11936 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11937 case "x$with_xfixes" in
11938 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11939 xno) ;;
11940 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11941 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11942 esac
11946 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11947 then
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11950 #include <X11/Xlib.h>
11951 #include <X11/extensions/Xinerama.h>
11953 main ()
11955 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11957 return 0;
11959 _ACEOF
11960 if ac_fn_c_try_compile "$LINENO"; then :
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11962 $as_echo_n "checking for -lXinerama... " >&6; }
11963 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11964 $as_echo_n "(cached) " >&6
11965 else
11966 ac_check_soname_save_LIBS=$LIBS
11967 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11969 /* end confdefs.h. */
11971 /* Override any GCC internal prototype to avoid an error.
11972 Use char because int might match the return type of a GCC
11973 builtin and then its argument prototype would still apply. */
11974 #ifdef __cplusplus
11975 extern "C"
11976 #endif
11977 char XineramaQueryScreens ();
11979 main ()
11981 return XineramaQueryScreens ();
11983 return 0;
11985 _ACEOF
11986 if ac_fn_c_try_link "$LINENO"; then :
11987 case "$LIBEXT" in
11988 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11989 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'` ;;
11990 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11991 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11992 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11993 fi ;;
11994 esac
11996 rm -f core conftest.err conftest.$ac_objext \
11997 conftest$ac_exeext conftest.$ac_ext
11998 LIBS=$ac_check_soname_save_LIBS
12000 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12002 $as_echo "not found" >&6; }
12004 else
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12006 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12008 cat >>confdefs.h <<_ACEOF
12009 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12010 _ACEOF
12015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12017 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12018 case "x$with_xinerama" in
12019 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12020 xno) ;;
12021 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12022 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12023 esac
12027 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12028 then
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12030 $as_echo_n "checking for -lXcomposite... " >&6; }
12031 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12032 $as_echo_n "(cached) " >&6
12033 else
12034 ac_check_soname_save_LIBS=$LIBS
12035 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12037 /* end confdefs.h. */
12039 /* Override any GCC internal prototype to avoid an error.
12040 Use char because int might match the return type of a GCC
12041 builtin and then its argument prototype would still apply. */
12042 #ifdef __cplusplus
12043 extern "C"
12044 #endif
12045 char XCompositeRedirectWindow ();
12047 main ()
12049 return XCompositeRedirectWindow ();
12051 return 0;
12053 _ACEOF
12054 if ac_fn_c_try_link "$LINENO"; then :
12055 case "$LIBEXT" in
12056 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12057 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'` ;;
12058 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12059 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12060 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12061 fi ;;
12062 esac
12064 rm -f core conftest.err conftest.$ac_objext \
12065 conftest$ac_exeext conftest.$ac_ext
12066 LIBS=$ac_check_soname_save_LIBS
12068 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12070 $as_echo "not found" >&6; }
12072 else
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12074 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12076 cat >>confdefs.h <<_ACEOF
12077 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12078 _ACEOF
12083 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12084 case "x$with_xcomposite" in
12085 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12086 xno) ;;
12087 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12088 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12089 esac
12093 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12094 #include <X11/Xlib.h>
12095 #endif
12097 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12099 cat >>confdefs.h <<_ACEOF
12100 #define HAVE_XICCALLBACK_CALLBACK 1
12101 _ACEOF
12105 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12106 #include <X11/Xlib.h>
12107 #endif
12109 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12111 cat >>confdefs.h <<_ACEOF
12112 #define HAVE_XEVENT_XCOOKIE 1
12113 _ACEOF
12120 opengl_msg=""
12121 if test "x$with_opengl" != "xno"
12122 then
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12124 $as_echo_n "checking for -lGL... " >&6; }
12125 if ${ac_cv_lib_soname_GL+:} false; then :
12126 $as_echo_n "(cached) " >&6
12127 else
12128 ac_check_soname_save_LIBS=$LIBS
12129 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h. */
12133 /* Override any GCC internal prototype to avoid an error.
12134 Use char because int might match the return type of a GCC
12135 builtin and then its argument prototype would still apply. */
12136 #ifdef __cplusplus
12137 extern "C"
12138 #endif
12139 char glXCreateContext ();
12141 main ()
12143 return glXCreateContext ();
12145 return 0;
12147 _ACEOF
12148 if ac_fn_c_try_link "$LINENO"; then :
12149 case "$LIBEXT" in
12150 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12151 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'` ;;
12152 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12153 if ${ac_cv_lib_soname_GL:+false} :; then :
12154 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12155 fi ;;
12156 esac
12158 rm -f core conftest.err conftest.$ac_objext \
12159 conftest$ac_exeext conftest.$ac_ext
12160 LIBS=$ac_check_soname_save_LIBS
12162 if ${ac_cv_lib_soname_GL:+false} :; then :
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12164 $as_echo "not found" >&6; }
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12166 $as_echo_n "checking for -lGL... " >&6; }
12167 if ${ac_cv_lib_soname_GL+:} false; then :
12168 $as_echo_n "(cached) " >&6
12169 else
12170 ac_check_soname_save_LIBS=$LIBS
12171 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"
12172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12173 /* end confdefs.h. */
12175 /* Override any GCC internal prototype to avoid an error.
12176 Use char because int might match the return type of a GCC
12177 builtin and then its argument prototype would still apply. */
12178 #ifdef __cplusplus
12179 extern "C"
12180 #endif
12181 char glXCreateContext ();
12183 main ()
12185 return glXCreateContext ();
12187 return 0;
12189 _ACEOF
12190 if ac_fn_c_try_link "$LINENO"; then :
12191 case "$LIBEXT" in
12192 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12193 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'` ;;
12194 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12195 if ${ac_cv_lib_soname_GL:+false} :; then :
12196 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12197 fi ;;
12198 esac
12200 rm -f core conftest.err conftest.$ac_objext \
12201 conftest$ac_exeext conftest.$ac_ext
12202 LIBS=$ac_check_soname_save_LIBS
12204 if ${ac_cv_lib_soname_GL:+false} :; then :
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12206 $as_echo "not found" >&6; }
12207 if test -f /usr/X11R6/lib/libGL.a
12208 then
12209 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12210 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12211 else
12212 opengl_msg="No OpenGL library found on this system."
12214 else
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12216 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12218 cat >>confdefs.h <<_ACEOF
12219 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12220 _ACEOF
12222 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"
12224 else
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12226 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12228 cat >>confdefs.h <<_ACEOF
12229 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12230 _ACEOF
12232 OPENGL_LIBS="-lGL"
12234 if test "x$with_glu" != "xno"
12235 then
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12237 $as_echo_n "checking for -lGLU... " >&6; }
12238 if ${ac_cv_lib_soname_GLU+:} false; then :
12239 $as_echo_n "(cached) " >&6
12240 else
12241 ac_check_soname_save_LIBS=$LIBS
12242 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12246 /* Override any GCC internal prototype to avoid an error.
12247 Use char because int might match the return type of a GCC
12248 builtin and then its argument prototype would still apply. */
12249 #ifdef __cplusplus
12250 extern "C"
12251 #endif
12252 char gluLookAt ();
12254 main ()
12256 return gluLookAt ();
12258 return 0;
12260 _ACEOF
12261 if ac_fn_c_try_link "$LINENO"; then :
12262 case "$LIBEXT" in
12263 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12264 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'` ;;
12265 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12266 if ${ac_cv_lib_soname_GLU:+false} :; then :
12267 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12268 fi ;;
12269 esac
12271 rm -f core conftest.err conftest.$ac_objext \
12272 conftest$ac_exeext conftest.$ac_ext
12273 LIBS=$ac_check_soname_save_LIBS
12275 if ${ac_cv_lib_soname_GLU:+false} :; then :
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12277 $as_echo "not found" >&6; }
12279 else
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12281 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12283 cat >>confdefs.h <<_ACEOF
12284 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12285 _ACEOF
12289 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12290 case "x$with_glu" in
12291 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12292 xno) ;;
12293 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12294 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12295 esac
12300 if test "x$with_osmesa" != "xno"
12301 then
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12303 $as_echo_n "checking for -lOSMesa... " >&6; }
12304 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12305 $as_echo_n "(cached) " >&6
12306 else
12307 ac_check_soname_save_LIBS=$LIBS
12308 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h. */
12312 /* Override any GCC internal prototype to avoid an error.
12313 Use char because int might match the return type of a GCC
12314 builtin and then its argument prototype would still apply. */
12315 #ifdef __cplusplus
12316 extern "C"
12317 #endif
12318 char OSMesaGetProcAddress ();
12320 main ()
12322 return OSMesaGetProcAddress ();
12324 return 0;
12326 _ACEOF
12327 if ac_fn_c_try_link "$LINENO"; then :
12328 case "$LIBEXT" in
12329 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12330 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'` ;;
12331 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12332 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12333 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12334 fi ;;
12335 esac
12337 rm -f core conftest.err conftest.$ac_objext \
12338 conftest$ac_exeext conftest.$ac_ext
12339 LIBS=$ac_check_soname_save_LIBS
12341 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12343 $as_echo "not found" >&6; }
12345 else
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12347 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12349 cat >>confdefs.h <<_ACEOF
12350 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12351 _ACEOF
12355 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12356 case "x$with_osmesa" in
12357 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12358 xno) ;;
12359 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12360 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12361 esac
12366 if test -n "$opengl_msg"; then :
12367 case "x$with_opengl" in
12368 x) as_fn_append wine_warnings "|$opengl_msg
12369 OpenGL and Direct3D won't be supported." ;;
12370 xno) ;;
12371 *) as_fn_error $? "$opengl_msg
12372 OpenGL and Direct3D won't be supported.
12373 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12374 esac
12378 CPPFLAGS="$ac_save_CPPFLAGS"
12379 else
12380 X_CFLAGS=""
12381 X_LIBS=""
12384 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12385 then
12386 if test "x$X_LIBS" = "x"; then :
12387 case "x$with_x" in
12388 xno) ;;
12389 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12390 without X support, which probably isn't what you want. You will need
12391 to install ${notice_platform}development packages of Xlib at the very least.
12392 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12393 esac
12394 enable_winex11_drv=${enable_winex11_drv:-no}
12396 else
12397 if test "x$X_LIBS" = "x"; then :
12398 case "x$with_x" in
12399 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12400 xno) ;;
12401 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12402 This is an error since --with-x was requested." "$LINENO" 5 ;;
12403 esac
12404 enable_winex11_drv=${enable_winex11_drv:-no}
12408 if test "$ac_cv_header_CL_cl_h" = "yes"
12409 then
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12411 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12412 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12413 $as_echo_n "(cached) " >&6
12414 else
12415 ac_check_lib_save_LIBS=$LIBS
12416 LIBS="-lOpenCL $LIBS"
12417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12418 /* end confdefs.h. */
12420 /* Override any GCC internal prototype to avoid an error.
12421 Use char because int might match the return type of a GCC
12422 builtin and then its argument prototype would still apply. */
12423 #ifdef __cplusplus
12424 extern "C"
12425 #endif
12426 char clGetPlatformInfo ();
12428 main ()
12430 return clGetPlatformInfo ();
12432 return 0;
12434 _ACEOF
12435 if ac_fn_c_try_link "$LINENO"; then :
12436 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12437 else
12438 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12440 rm -f core conftest.err conftest.$ac_objext \
12441 conftest$ac_exeext conftest.$ac_ext
12442 LIBS=$ac_check_lib_save_LIBS
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12445 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12446 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12447 OPENCL_LIBS="-lOpenCL"
12452 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12453 case "x$with_opencl" in
12454 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12455 xno) ;;
12456 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12457 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12458 esac
12459 enable_opencl=${enable_opencl:-no}
12462 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12463 then
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12465 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12466 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12467 $as_echo_n "(cached) " >&6
12468 else
12469 ac_check_lib_save_LIBS=$LIBS
12470 LIBS="-lpcap $LIBS"
12471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12474 /* Override any GCC internal prototype to avoid an error.
12475 Use char because int might match the return type of a GCC
12476 builtin and then its argument prototype would still apply. */
12477 #ifdef __cplusplus
12478 extern "C"
12479 #endif
12480 char pcap_create ();
12482 main ()
12484 return pcap_create ();
12486 return 0;
12488 _ACEOF
12489 if ac_fn_c_try_link "$LINENO"; then :
12490 ac_cv_lib_pcap_pcap_create=yes
12491 else
12492 ac_cv_lib_pcap_pcap_create=no
12494 rm -f core conftest.err conftest.$ac_objext \
12495 conftest$ac_exeext conftest.$ac_ext
12496 LIBS=$ac_check_lib_save_LIBS
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12499 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12500 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12501 PCAP_LIBS="-lpcap"
12506 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12507 case "x$with_pcap" in
12508 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12509 xno) ;;
12510 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12511 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12512 esac
12513 enable_wpcap=${enable_wpcap:-no}
12517 if test "x$with_xml" != "xno"
12518 then
12519 if ${XML2_CFLAGS:+false} :; then :
12520 if ${PKG_CONFIG+:} false; then :
12521 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12524 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12525 if ${XML2_LIBS:+false} :; then :
12526 if ${PKG_CONFIG+:} false; then :
12527 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12530 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12531 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12532 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12533 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12534 ac_save_CPPFLAGS=$CPPFLAGS
12535 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12536 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12537 do :
12538 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12539 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12540 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12541 cat >>confdefs.h <<_ACEOF
12542 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12543 _ACEOF
12547 done
12549 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"
12550 then
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12552 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12553 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12554 $as_echo_n "(cached) " >&6
12555 else
12556 ac_check_lib_save_LIBS=$LIBS
12557 LIBS="-lxml2 $XML2_LIBS $LIBS"
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12561 /* Override any GCC internal prototype to avoid an error.
12562 Use char because int might match the return type of a GCC
12563 builtin and then its argument prototype would still apply. */
12564 #ifdef __cplusplus
12565 extern "C"
12566 #endif
12567 char xmlParseMemory ();
12569 main ()
12571 return xmlParseMemory ();
12573 return 0;
12575 _ACEOF
12576 if ac_fn_c_try_link "$LINENO"; then :
12577 ac_cv_lib_xml2_xmlParseMemory=yes
12578 else
12579 ac_cv_lib_xml2_xmlParseMemory=no
12581 rm -f core conftest.err conftest.$ac_objext \
12582 conftest$ac_exeext conftest.$ac_ext
12583 LIBS=$ac_check_lib_save_LIBS
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12586 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12587 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12589 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12591 else
12592 XML2_LIBS=""
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12596 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12597 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12598 $as_echo_n "(cached) " >&6
12599 else
12600 ac_check_lib_save_LIBS=$LIBS
12601 LIBS="-lxml2 $XML2_LIBS $LIBS"
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12603 /* end confdefs.h. */
12605 /* Override any GCC internal prototype to avoid an error.
12606 Use char because int might match the return type of a GCC
12607 builtin and then its argument prototype would still apply. */
12608 #ifdef __cplusplus
12609 extern "C"
12610 #endif
12611 char xmlReadMemory ();
12613 main ()
12615 return xmlReadMemory ();
12617 return 0;
12619 _ACEOF
12620 if ac_fn_c_try_link "$LINENO"; then :
12621 ac_cv_lib_xml2_xmlReadMemory=yes
12622 else
12623 ac_cv_lib_xml2_xmlReadMemory=no
12625 rm -f core conftest.err conftest.$ac_objext \
12626 conftest$ac_exeext conftest.$ac_ext
12627 LIBS=$ac_check_lib_save_LIBS
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12630 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12631 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12633 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12638 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12639 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12640 $as_echo_n "(cached) " >&6
12641 else
12642 ac_check_lib_save_LIBS=$LIBS
12643 LIBS="-lxml2 $XML2_LIBS $LIBS"
12644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12645 /* end confdefs.h. */
12647 /* Override any GCC internal prototype to avoid an error.
12648 Use char because int might match the return type of a GCC
12649 builtin and then its argument prototype would still apply. */
12650 #ifdef __cplusplus
12651 extern "C"
12652 #endif
12653 char xmlNewDocPI ();
12655 main ()
12657 return xmlNewDocPI ();
12659 return 0;
12661 _ACEOF
12662 if ac_fn_c_try_link "$LINENO"; then :
12663 ac_cv_lib_xml2_xmlNewDocPI=yes
12664 else
12665 ac_cv_lib_xml2_xmlNewDocPI=no
12667 rm -f core conftest.err conftest.$ac_objext \
12668 conftest$ac_exeext conftest.$ac_ext
12669 LIBS=$ac_check_lib_save_LIBS
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12672 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12673 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12675 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12680 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12681 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12682 $as_echo_n "(cached) " >&6
12683 else
12684 ac_check_lib_save_LIBS=$LIBS
12685 LIBS="-lxml2 $XML2_LIBS $LIBS"
12686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12689 /* Override any GCC internal prototype to avoid an error.
12690 Use char because int might match the return type of a GCC
12691 builtin and then its argument prototype would still apply. */
12692 #ifdef __cplusplus
12693 extern "C"
12694 #endif
12695 char xmlSchemaSetParserStructuredErrors ();
12697 main ()
12699 return xmlSchemaSetParserStructuredErrors ();
12701 return 0;
12703 _ACEOF
12704 if ac_fn_c_try_link "$LINENO"; then :
12705 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12706 else
12707 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12709 rm -f core conftest.err conftest.$ac_objext \
12710 conftest$ac_exeext conftest.$ac_ext
12711 LIBS=$ac_check_lib_save_LIBS
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12714 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12715 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12717 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12722 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12723 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12724 $as_echo_n "(cached) " >&6
12725 else
12726 ac_check_lib_save_LIBS=$LIBS
12727 LIBS="-lxml2 $XML2_LIBS $LIBS"
12728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12729 /* end confdefs.h. */
12731 /* Override any GCC internal prototype to avoid an error.
12732 Use char because int might match the return type of a GCC
12733 builtin and then its argument prototype would still apply. */
12734 #ifdef __cplusplus
12735 extern "C"
12736 #endif
12737 char xmlSchemaSetValidStructuredErrors ();
12739 main ()
12741 return xmlSchemaSetValidStructuredErrors ();
12743 return 0;
12745 _ACEOF
12746 if ac_fn_c_try_link "$LINENO"; then :
12747 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12748 else
12749 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12751 rm -f core conftest.err conftest.$ac_objext \
12752 conftest$ac_exeext conftest.$ac_ext
12753 LIBS=$ac_check_lib_save_LIBS
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12756 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12757 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12759 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12764 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12765 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12766 $as_echo_n "(cached) " >&6
12767 else
12768 ac_check_lib_save_LIBS=$LIBS
12769 LIBS="-lxml2 $XML2_LIBS $LIBS"
12770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12771 /* end confdefs.h. */
12773 /* Override any GCC internal prototype to avoid an error.
12774 Use char because int might match the return type of a GCC
12775 builtin and then its argument prototype would still apply. */
12776 #ifdef __cplusplus
12777 extern "C"
12778 #endif
12779 char xmlFirstElementChild ();
12781 main ()
12783 return xmlFirstElementChild ();
12785 return 0;
12787 _ACEOF
12788 if ac_fn_c_try_link "$LINENO"; then :
12789 ac_cv_lib_xml2_xmlFirstElementChild=yes
12790 else
12791 ac_cv_lib_xml2_xmlFirstElementChild=no
12793 rm -f core conftest.err conftest.$ac_objext \
12794 conftest$ac_exeext conftest.$ac_ext
12795 LIBS=$ac_check_lib_save_LIBS
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12798 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12799 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12801 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12805 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12807 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12809 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12813 else
12814 XML2_CFLAGS=""
12815 XML2_LIBS=""
12817 CPPFLAGS=$ac_save_CPPFLAGS
12818 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12819 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12822 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12823 case "x$with_xml" in
12824 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12825 xno) ;;
12826 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12827 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12828 esac
12832 if test "x$with_xslt" != "xno"
12833 then
12834 if ${XSLT_CFLAGS:+false} :; then :
12835 if ${PKG_CONFIG+:} false; then :
12836 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12839 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12840 if ${XSLT_LIBS:+false} :; then :
12841 if ${PKG_CONFIG+:} false; then :
12842 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12845 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12846 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12847 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12848 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12849 ac_save_CPPFLAGS=$CPPFLAGS
12850 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12851 for ac_header in libxslt/pattern.h libxslt/transform.h
12852 do :
12853 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12854 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12855 # include <libxslt/pattern.h>
12856 #endif
12858 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12859 cat >>confdefs.h <<_ACEOF
12860 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12861 _ACEOF
12865 done
12867 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12868 then
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12870 $as_echo_n "checking for -lxslt... " >&6; }
12871 if ${ac_cv_lib_soname_xslt+:} false; then :
12872 $as_echo_n "(cached) " >&6
12873 else
12874 ac_check_soname_save_LIBS=$LIBS
12875 LIBS="-lxslt $XSLT_LIBS $LIBS"
12876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12877 /* end confdefs.h. */
12879 /* Override any GCC internal prototype to avoid an error.
12880 Use char because int might match the return type of a GCC
12881 builtin and then its argument prototype would still apply. */
12882 #ifdef __cplusplus
12883 extern "C"
12884 #endif
12885 char xsltCompilePattern ();
12887 main ()
12889 return xsltCompilePattern ();
12891 return 0;
12893 _ACEOF
12894 if ac_fn_c_try_link "$LINENO"; then :
12895 case "$LIBEXT" in
12896 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12897 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'` ;;
12898 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12899 if ${ac_cv_lib_soname_xslt:+false} :; then :
12900 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12901 fi ;;
12902 esac
12904 rm -f core conftest.err conftest.$ac_objext \
12905 conftest$ac_exeext conftest.$ac_ext
12906 LIBS=$ac_check_soname_save_LIBS
12908 if ${ac_cv_lib_soname_xslt:+false} :; then :
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12910 $as_echo "not found" >&6; }
12912 else
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12914 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12916 cat >>confdefs.h <<_ACEOF
12917 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12918 _ACEOF
12922 else
12923 XSLT_CFLAGS=""
12925 CPPFLAGS=$ac_save_CPPFLAGS
12926 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12927 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12930 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12931 case "x$with_xslt" in
12932 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12933 xno) ;;
12934 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12935 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12936 esac
12940 if test "x$with_dbus" != "xno"
12941 then
12942 if ${DBUS_CFLAGS:+false} :; then :
12943 if ${PKG_CONFIG+:} false; then :
12944 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12948 if ${DBUS_LIBS:+false} :; then :
12949 if ${PKG_CONFIG+:} false; then :
12950 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12955 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12956 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12957 ac_save_CPPFLAGS=$CPPFLAGS
12958 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12959 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12960 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12962 $as_echo_n "checking for -ldbus-1... " >&6; }
12963 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12964 $as_echo_n "(cached) " >&6
12965 else
12966 ac_check_soname_save_LIBS=$LIBS
12967 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12971 /* Override any GCC internal prototype to avoid an error.
12972 Use char because int might match the return type of a GCC
12973 builtin and then its argument prototype would still apply. */
12974 #ifdef __cplusplus
12975 extern "C"
12976 #endif
12977 char dbus_connection_close ();
12979 main ()
12981 return dbus_connection_close ();
12983 return 0;
12985 _ACEOF
12986 if ac_fn_c_try_link "$LINENO"; then :
12987 case "$LIBEXT" in
12988 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12989 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'` ;;
12990 *) 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'`
12991 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12992 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12993 fi ;;
12994 esac
12996 rm -f core conftest.err conftest.$ac_objext \
12997 conftest$ac_exeext conftest.$ac_ext
12998 LIBS=$ac_check_soname_save_LIBS
13000 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13002 $as_echo "not found" >&6; }
13003 DBUS_CFLAGS=""
13004 else
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13006 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13008 cat >>confdefs.h <<_ACEOF
13009 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13010 _ACEOF
13014 else
13015 DBUS_CFLAGS=""
13019 CPPFLAGS=$ac_save_CPPFLAGS
13020 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13021 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13024 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13025 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13026 case "x$with_dbus" in
13027 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13028 xno) ;;
13029 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13030 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13031 esac
13035 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13036 then
13037 if ${HAL_CFLAGS:+false} :; then :
13038 if ${PKG_CONFIG+:} false; then :
13039 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13043 if ${HAL_LIBS:+false} :; then :
13044 if ${PKG_CONFIG+:} false; then :
13045 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13049 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13050 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13051 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13052 ac_save_CPPFLAGS=$CPPFLAGS
13053 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13054 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13055 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13057 $as_echo_n "checking for -lhal... " >&6; }
13058 if ${ac_cv_lib_soname_hal+:} false; then :
13059 $as_echo_n "(cached) " >&6
13060 else
13061 ac_check_soname_save_LIBS=$LIBS
13062 LIBS="-lhal $HAL_LIBS $LIBS"
13063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13064 /* end confdefs.h. */
13066 /* Override any GCC internal prototype to avoid an error.
13067 Use char because int might match the return type of a GCC
13068 builtin and then its argument prototype would still apply. */
13069 #ifdef __cplusplus
13070 extern "C"
13071 #endif
13072 char libhal_ctx_new ();
13074 main ()
13076 return libhal_ctx_new ();
13078 return 0;
13080 _ACEOF
13081 if ac_fn_c_try_link "$LINENO"; then :
13082 case "$LIBEXT" in
13083 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13084 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'` ;;
13085 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13086 if ${ac_cv_lib_soname_hal:+false} :; then :
13087 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13088 fi ;;
13089 esac
13091 rm -f core conftest.err conftest.$ac_objext \
13092 conftest$ac_exeext conftest.$ac_ext
13093 LIBS=$ac_check_soname_save_LIBS
13095 if ${ac_cv_lib_soname_hal:+false} :; then :
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13097 $as_echo "not found" >&6; }
13098 HAL_CFLAGS=""
13099 else
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13101 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13103 cat >>confdefs.h <<_ACEOF
13104 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13105 _ACEOF
13109 else
13110 HAL_CFLAGS=""
13114 CPPFLAGS=$ac_save_CPPFLAGS
13115 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13116 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13118 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13119 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13120 case "x$with_hal" in
13121 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13122 xno) ;;
13123 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13124 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13125 esac
13130 if test "x$with_gnutls" != "xno"
13131 then
13132 if ${GNUTLS_CFLAGS:+false} :; then :
13133 if ${PKG_CONFIG+:} false; then :
13134 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13138 if ${GNUTLS_LIBS:+false} :; then :
13139 if ${PKG_CONFIG+:} false; then :
13140 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13145 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13146 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13147 ac_save_CPPFLAGS=$CPPFLAGS
13148 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13149 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13150 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13152 /* end confdefs.h. */
13153 #include <gnutls/gnutls.h>
13154 #include <gnutls/crypto.h>
13156 main ()
13158 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13160 return 0;
13162 _ACEOF
13163 if ac_fn_c_try_compile "$LINENO"; then :
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13165 $as_echo_n "checking for -lgnutls... " >&6; }
13166 if ${ac_cv_lib_soname_gnutls+:} false; then :
13167 $as_echo_n "(cached) " >&6
13168 else
13169 ac_check_soname_save_LIBS=$LIBS
13170 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13172 /* end confdefs.h. */
13174 /* Override any GCC internal prototype to avoid an error.
13175 Use char because int might match the return type of a GCC
13176 builtin and then its argument prototype would still apply. */
13177 #ifdef __cplusplus
13178 extern "C"
13179 #endif
13180 char gnutls_global_init ();
13182 main ()
13184 return gnutls_global_init ();
13186 return 0;
13188 _ACEOF
13189 if ac_fn_c_try_link "$LINENO"; then :
13190 case "$LIBEXT" in
13191 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13192 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'` ;;
13193 *) 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'`
13194 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13195 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'`
13196 fi ;;
13197 esac
13199 rm -f core conftest.err conftest.$ac_objext \
13200 conftest$ac_exeext conftest.$ac_ext
13201 LIBS=$ac_check_soname_save_LIBS
13203 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13205 $as_echo "not found" >&6; }
13206 GNUTLS_CFLAGS=""
13207 else
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13209 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13211 cat >>confdefs.h <<_ACEOF
13212 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13213 _ACEOF
13217 ac_wine_check_funcs_save_LIBS="$LIBS"
13218 LIBS="$LIBS $GNUTLS_LIBS"
13219 for ac_func in gnutls_cipher_init
13220 do :
13221 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13222 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13223 cat >>confdefs.h <<_ACEOF
13224 #define HAVE_GNUTLS_CIPHER_INIT 1
13225 _ACEOF
13227 else
13228 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13230 done
13232 LIBS="$ac_wine_check_funcs_save_LIBS"
13234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13235 else
13236 GNUTLS_CFLAGS=""
13240 CPPFLAGS=$ac_save_CPPFLAGS
13241 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13242 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13245 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13246 case "x$with_gnutls" in
13247 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13248 xno) ;;
13249 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13250 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13251 esac
13255 CURSES_LIBS=""
13256 if test "$ac_cv_header_ncurses_h" = "yes"
13257 then
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13259 $as_echo_n "checking for -lncurses... " >&6; }
13260 if ${ac_cv_lib_soname_ncurses+:} false; then :
13261 $as_echo_n "(cached) " >&6
13262 else
13263 ac_check_soname_save_LIBS=$LIBS
13264 LIBS="-lncurses $LIBS"
13265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13266 /* end confdefs.h. */
13268 /* Override any GCC internal prototype to avoid an error.
13269 Use char because int might match the return type of a GCC
13270 builtin and then its argument prototype would still apply. */
13271 #ifdef __cplusplus
13272 extern "C"
13273 #endif
13274 char waddch ();
13276 main ()
13278 return waddch ();
13280 return 0;
13282 _ACEOF
13283 if ac_fn_c_try_link "$LINENO"; then :
13284 case "$LIBEXT" in
13285 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13286 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'` ;;
13287 *) 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'`
13288 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13289 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13290 fi ;;
13291 esac
13293 rm -f core conftest.err conftest.$ac_objext \
13294 conftest$ac_exeext conftest.$ac_ext
13295 LIBS=$ac_check_soname_save_LIBS
13297 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13299 $as_echo "not found" >&6; }
13301 else
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13303 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13305 cat >>confdefs.h <<_ACEOF
13306 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13307 _ACEOF
13309 CURSES_LIBS="-lncurses"
13311 elif test "$ac_cv_header_curses_h" = "yes"
13312 then
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13314 $as_echo_n "checking for -lcurses... " >&6; }
13315 if ${ac_cv_lib_soname_curses+:} false; then :
13316 $as_echo_n "(cached) " >&6
13317 else
13318 ac_check_soname_save_LIBS=$LIBS
13319 LIBS="-lcurses $LIBS"
13320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13321 /* end confdefs.h. */
13323 /* Override any GCC internal prototype to avoid an error.
13324 Use char because int might match the return type of a GCC
13325 builtin and then its argument prototype would still apply. */
13326 #ifdef __cplusplus
13327 extern "C"
13328 #endif
13329 char waddch ();
13331 main ()
13333 return waddch ();
13335 return 0;
13337 _ACEOF
13338 if ac_fn_c_try_link "$LINENO"; then :
13339 case "$LIBEXT" in
13340 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13341 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'` ;;
13342 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13343 if ${ac_cv_lib_soname_curses:+false} :; then :
13344 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13345 fi ;;
13346 esac
13348 rm -f core conftest.err conftest.$ac_objext \
13349 conftest$ac_exeext conftest.$ac_ext
13350 LIBS=$ac_check_soname_save_LIBS
13352 if ${ac_cv_lib_soname_curses:+false} :; then :
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13354 $as_echo "not found" >&6; }
13356 else
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13358 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13360 cat >>confdefs.h <<_ACEOF
13361 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13362 _ACEOF
13364 CURSES_LIBS="-lcurses"
13367 ac_save_LIBS="$LIBS"
13368 LIBS="$LIBS $CURSES_LIBS"
13369 for ac_func in mousemask
13370 do :
13371 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13372 if test "x$ac_cv_func_mousemask" = xyes; then :
13373 cat >>confdefs.h <<_ACEOF
13374 #define HAVE_MOUSEMASK 1
13375 _ACEOF
13378 done
13380 LIBS="$ac_save_LIBS"
13381 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13382 case "x$with_curses" in
13383 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13384 xno) ;;
13385 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13386 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13387 esac
13391 if test "x$with_sane" != "xno"
13392 then
13393 if ${SANE_CFLAGS:+false} :; then :
13394 if ${PKG_CONFIG+:} false; then :
13395 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13398 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13399 if ${SANE_LIBS:+false} :; then :
13400 if ${PKG_CONFIG+:} false; then :
13401 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13404 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13406 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13407 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13408 ac_save_CPPFLAGS=$CPPFLAGS
13409 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13410 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13411 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13413 $as_echo_n "checking for -lsane... " >&6; }
13414 if ${ac_cv_lib_soname_sane+:} false; then :
13415 $as_echo_n "(cached) " >&6
13416 else
13417 ac_check_soname_save_LIBS=$LIBS
13418 LIBS="-lsane $SANE_LIBS $LIBS"
13419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13420 /* end confdefs.h. */
13422 /* Override any GCC internal prototype to avoid an error.
13423 Use char because int might match the return type of a GCC
13424 builtin and then its argument prototype would still apply. */
13425 #ifdef __cplusplus
13426 extern "C"
13427 #endif
13428 char sane_init ();
13430 main ()
13432 return sane_init ();
13434 return 0;
13436 _ACEOF
13437 if ac_fn_c_try_link "$LINENO"; then :
13438 case "$LIBEXT" in
13439 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13440 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'` ;;
13441 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13442 if ${ac_cv_lib_soname_sane:+false} :; then :
13443 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13444 fi ;;
13445 esac
13447 rm -f core conftest.err conftest.$ac_objext \
13448 conftest$ac_exeext conftest.$ac_ext
13449 LIBS=$ac_check_soname_save_LIBS
13451 if ${ac_cv_lib_soname_sane:+false} :; then :
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13453 $as_echo "not found" >&6; }
13454 SANE_CFLAGS=""
13455 else
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13457 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13459 cat >>confdefs.h <<_ACEOF
13460 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13461 _ACEOF
13465 else
13466 SANE_CFLAGS=""
13470 CPPFLAGS=$ac_save_CPPFLAGS
13471 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13472 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13475 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13476 case "x$with_sane" in
13477 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13478 xno) ;;
13479 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13480 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13481 esac
13485 if test "x$with_v4l2" != "xno"
13486 then
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13488 $as_echo_n "checking for -lv4l2... " >&6; }
13489 if ${ac_cv_lib_soname_v4l2+:} false; then :
13490 $as_echo_n "(cached) " >&6
13491 else
13492 ac_check_soname_save_LIBS=$LIBS
13493 LIBS="-lv4l2 $LIBS"
13494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13495 /* end confdefs.h. */
13497 /* Override any GCC internal prototype to avoid an error.
13498 Use char because int might match the return type of a GCC
13499 builtin and then its argument prototype would still apply. */
13500 #ifdef __cplusplus
13501 extern "C"
13502 #endif
13503 char v4l2_open ();
13505 main ()
13507 return v4l2_open ();
13509 return 0;
13511 _ACEOF
13512 if ac_fn_c_try_link "$LINENO"; then :
13513 case "$LIBEXT" in
13514 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13515 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'` ;;
13516 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13517 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13518 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13519 fi ;;
13520 esac
13522 rm -f core conftest.err conftest.$ac_objext \
13523 conftest$ac_exeext conftest.$ac_ext
13524 LIBS=$ac_check_soname_save_LIBS
13526 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13528 $as_echo "not found" >&6; }
13530 else
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13532 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13534 cat >>confdefs.h <<_ACEOF
13535 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13536 _ACEOF
13541 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13542 case "x$with_v4l2" in
13543 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13544 xno) ;;
13545 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13546 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13547 esac
13551 if test "x$with_gphoto" != "xno"
13552 then
13553 if ${GPHOTO2_CFLAGS:+false} :; then :
13554 if ${PKG_CONFIG+:} false; then :
13555 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13558 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13559 if ${GPHOTO2_LIBS:+false} :; then :
13560 if ${PKG_CONFIG+:} false; then :
13561 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13564 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13565 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13566 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13567 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13568 ac_save_CPPFLAGS=$CPPFLAGS
13569 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13570 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13571 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13573 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13574 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13575 $as_echo_n "(cached) " >&6
13576 else
13577 ac_check_lib_save_LIBS=$LIBS
13578 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13580 /* end confdefs.h. */
13582 /* Override any GCC internal prototype to avoid an error.
13583 Use char because int might match the return type of a GCC
13584 builtin and then its argument prototype would still apply. */
13585 #ifdef __cplusplus
13586 extern "C"
13587 #endif
13588 char gp_camera_new ();
13590 main ()
13592 return gp_camera_new ();
13594 return 0;
13596 _ACEOF
13597 if ac_fn_c_try_link "$LINENO"; then :
13598 ac_cv_lib_gphoto2_gp_camera_new=yes
13599 else
13600 ac_cv_lib_gphoto2_gp_camera_new=no
13602 rm -f core conftest.err conftest.$ac_objext \
13603 conftest$ac_exeext conftest.$ac_ext
13604 LIBS=$ac_check_lib_save_LIBS
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13607 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13608 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13610 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13612 else
13613 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13616 else
13617 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13621 CPPFLAGS=$ac_save_CPPFLAGS
13622 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13623 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13625 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13626 if ${PKG_CONFIG+:} false; then :
13627 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13630 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13631 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13632 if ${PKG_CONFIG+:} false; then :
13633 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13636 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13637 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13638 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13639 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13640 ac_save_CPPFLAGS=$CPPFLAGS
13641 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13642 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13643 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13645 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13646 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13647 $as_echo_n "(cached) " >&6
13648 else
13649 ac_check_lib_save_LIBS=$LIBS
13650 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13652 /* end confdefs.h. */
13654 /* Override any GCC internal prototype to avoid an error.
13655 Use char because int might match the return type of a GCC
13656 builtin and then its argument prototype would still apply. */
13657 #ifdef __cplusplus
13658 extern "C"
13659 #endif
13660 char gp_port_info_list_new ();
13662 main ()
13664 return gp_port_info_list_new ();
13666 return 0;
13668 _ACEOF
13669 if ac_fn_c_try_link "$LINENO"; then :
13670 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13671 else
13672 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13674 rm -f core conftest.err conftest.$ac_objext \
13675 conftest$ac_exeext conftest.$ac_ext
13676 LIBS=$ac_check_lib_save_LIBS
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13679 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13680 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13682 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13684 else
13685 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13688 else
13689 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13693 CPPFLAGS=$ac_save_CPPFLAGS
13694 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13695 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13698 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13699 case "x$with_gphoto" in
13700 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13701 xno) ;;
13702 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13703 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13704 esac
13707 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13708 case "x$with_gphoto" in
13709 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13710 xno) ;;
13711 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13712 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13713 esac
13718 if test "$ac_cv_header_resolv_h" = "yes"
13719 then
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13721 $as_echo_n "checking for resolver library... " >&6; }
13722 if ${ac_cv_have_resolv+:} false; then :
13723 $as_echo_n "(cached) " >&6
13724 else
13725 ac_save_LIBS="$LIBS"
13726 for lib in '' -lresolv
13728 LIBS="$lib $ac_save_LIBS"
13729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13731 #ifdef HAVE_NETINET_IN_H
13732 #include <netinet/in.h>
13733 #endif
13734 #include <resolv.h>
13736 main ()
13738 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13740 return 0;
13742 _ACEOF
13743 if ac_fn_c_try_link "$LINENO"; then :
13744 ac_cv_have_resolv=${lib:-"none required"}
13745 else
13746 ac_cv_have_resolv="not found"
13748 rm -f core conftest.err conftest.$ac_objext \
13749 conftest$ac_exeext conftest.$ac_ext
13750 test "x$ac_cv_have_resolv" = "xnot found" || break
13751 done
13752 LIBS="$ac_save_LIBS"
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13755 $as_echo "$ac_cv_have_resolv" >&6; }
13757 case "$ac_cv_have_resolv" in
13758 "not found") ;;
13759 "none required")
13761 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13764 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13766 RESOLV_LIBS=$ac_cv_have_resolv
13768 esac
13771 if test "x$with_cms" != "xno"
13772 then
13773 if ${LCMS2_CFLAGS:+false} :; then :
13774 if ${PKG_CONFIG+:} false; then :
13775 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
13779 if ${LCMS2_LIBS:+false} :; then :
13780 if ${PKG_CONFIG+:} false; then :
13781 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
13785 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
13786 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
13787 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
13788 ac_save_CPPFLAGS=$CPPFLAGS
13789 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13790 for ac_header in lcms2.h
13791 do :
13792 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13793 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13794 cat >>confdefs.h <<_ACEOF
13795 #define HAVE_LCMS2_H 1
13796 _ACEOF
13800 done
13802 if test "$ac_cv_header_lcms2_h" = "yes"
13803 then
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13805 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13806 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13807 $as_echo_n "(cached) " >&6
13808 else
13809 ac_check_lib_save_LIBS=$LIBS
13810 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13812 /* end confdefs.h. */
13814 /* Override any GCC internal prototype to avoid an error.
13815 Use char because int might match the return type of a GCC
13816 builtin and then its argument prototype would still apply. */
13817 #ifdef __cplusplus
13818 extern "C"
13819 #endif
13820 char cmsOpenProfileFromFile ();
13822 main ()
13824 return cmsOpenProfileFromFile ();
13826 return 0;
13828 _ACEOF
13829 if ac_fn_c_try_link "$LINENO"; then :
13830 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13831 else
13832 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13834 rm -f core conftest.err conftest.$ac_objext \
13835 conftest$ac_exeext conftest.$ac_ext
13836 LIBS=$ac_check_lib_save_LIBS
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13839 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13840 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13842 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13844 else
13845 LCMS2_LIBS=""
13848 else
13849 LCMS2_CFLAGS=""
13850 LCMS2_LIBS=""
13852 CPPFLAGS=$ac_save_CPPFLAGS
13853 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13854 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13857 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13858 case "x$with_cms" in
13859 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13860 xno) ;;
13861 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13862 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13863 esac
13867 if test "x$with_freetype" != "xno"
13868 then
13869 if ${FREETYPE_CFLAGS:+false} :; then :
13870 if ${PKG_CONFIG+:} false; then :
13871 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13874 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13875 if ${FREETYPE_LIBS:+false} :; then :
13876 if ${PKG_CONFIG+:} false; then :
13877 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13880 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13881 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13882 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13883 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13884 ac_save_CPPFLAGS=$CPPFLAGS
13885 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13886 for ac_header in ft2build.h
13887 do :
13888 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13889 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13890 cat >>confdefs.h <<_ACEOF
13891 #define HAVE_FT2BUILD_H 1
13892 _ACEOF
13896 done
13898 if test "$ac_cv_header_ft2build_h" = "yes"
13899 then
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13901 $as_echo_n "checking for -lfreetype... " >&6; }
13902 if ${ac_cv_lib_soname_freetype+:} false; then :
13903 $as_echo_n "(cached) " >&6
13904 else
13905 ac_check_soname_save_LIBS=$LIBS
13906 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13908 /* end confdefs.h. */
13910 /* Override any GCC internal prototype to avoid an error.
13911 Use char because int might match the return type of a GCC
13912 builtin and then its argument prototype would still apply. */
13913 #ifdef __cplusplus
13914 extern "C"
13915 #endif
13916 char FT_Init_FreeType ();
13918 main ()
13920 return FT_Init_FreeType ();
13922 return 0;
13924 _ACEOF
13925 if ac_fn_c_try_link "$LINENO"; then :
13926 case "$LIBEXT" in
13927 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13928 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'` ;;
13929 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13930 if ${ac_cv_lib_soname_freetype:+false} :; then :
13931 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13932 fi ;;
13933 esac
13935 rm -f core conftest.err conftest.$ac_objext \
13936 conftest$ac_exeext conftest.$ac_ext
13937 LIBS=$ac_check_soname_save_LIBS
13939 if ${ac_cv_lib_soname_freetype:+false} :; then :
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13941 $as_echo "not found" >&6; }
13942 FREETYPE_LIBS=""
13943 else
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13945 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13947 cat >>confdefs.h <<_ACEOF
13948 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13949 _ACEOF
13952 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13954 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13955 #include FT_MODULE_H
13957 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13959 cat >>confdefs.h <<_ACEOF
13960 #define HAVE_FT_TRUETYPEENGINETYPE 1
13961 _ACEOF
13967 else
13968 FREETYPE_CFLAGS=""
13969 FREETYPE_LIBS=""
13971 CPPFLAGS=$ac_save_CPPFLAGS
13972 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13973 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13976 if test "x$ac_cv_lib_soname_freetype" = x; then :
13977 case "x$with_freetype" in
13978 xno) ;;
13979 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13980 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13981 esac
13982 enable_fonts=${enable_fonts:-no}
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13986 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13987 if ${ac_cv_c_ppdev+:} false; then :
13988 $as_echo_n "(cached) " >&6
13989 else
13990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13991 /* end confdefs.h. */
13992 #ifdef HAVE_SYS_IOCTL_H
13993 # include <sys/ioctl.h>
13994 #endif
13995 #include <linux/ppdev.h>
13997 main ()
13999 ioctl (1,PPCLAIM,0)
14001 return 0;
14003 _ACEOF
14004 if ac_fn_c_try_compile "$LINENO"; then :
14005 ac_cv_c_ppdev="yes"
14006 else
14007 ac_cv_c_ppdev="no"
14009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14012 $as_echo "$ac_cv_c_ppdev" >&6; }
14013 if test "$ac_cv_c_ppdev" = "yes"
14014 then
14016 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14020 ac_wine_check_funcs_save_LIBS="$LIBS"
14021 LIBS="$LIBS "
14022 for ac_func in \
14023 pthread_getthreadid_np \
14024 $PTHREAD_LIBS
14025 do :
14026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14028 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14029 cat >>confdefs.h <<_ACEOF
14030 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14031 _ACEOF
14034 done
14036 LIBS="$ac_wine_check_funcs_save_LIBS"
14038 if test "$ac_cv_header_zlib_h" = "yes"
14039 then
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14041 $as_echo_n "checking for inflate in -lz... " >&6; }
14042 if ${ac_cv_lib_z_inflate+:} false; then :
14043 $as_echo_n "(cached) " >&6
14044 else
14045 ac_check_lib_save_LIBS=$LIBS
14046 LIBS="-lz $LIBS"
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14050 /* Override any GCC internal prototype to avoid an error.
14051 Use char because int might match the return type of a GCC
14052 builtin and then its argument prototype would still apply. */
14053 #ifdef __cplusplus
14054 extern "C"
14055 #endif
14056 char inflate ();
14058 main ()
14060 return inflate ();
14062 return 0;
14064 _ACEOF
14065 if ac_fn_c_try_link "$LINENO"; then :
14066 ac_cv_lib_z_inflate=yes
14067 else
14068 ac_cv_lib_z_inflate=no
14070 rm -f core conftest.err conftest.$ac_objext \
14071 conftest$ac_exeext conftest.$ac_ext
14072 LIBS=$ac_check_lib_save_LIBS
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14075 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14076 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14078 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14080 Z_LIBS="-lz"
14085 if test "x$Z_LIBS" = "x"; then :
14086 case "x$with_zlib" in
14087 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14088 xno) ;;
14089 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14090 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14091 esac
14095 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14096 then
14097 if test "$ac_cv_header_gettext_po_h" = "yes"
14098 then
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14100 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14101 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14102 $as_echo_n "(cached) " >&6
14103 else
14104 ac_check_lib_save_LIBS=$LIBS
14105 LIBS="-lgettextpo $LIBS"
14106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14109 /* Override any GCC internal prototype to avoid an error.
14110 Use char because int might match the return type of a GCC
14111 builtin and then its argument prototype would still apply. */
14112 #ifdef __cplusplus
14113 extern "C"
14114 #endif
14115 char po_message_msgctxt ();
14117 main ()
14119 return po_message_msgctxt ();
14121 return 0;
14123 _ACEOF
14124 if ac_fn_c_try_link "$LINENO"; then :
14125 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14126 else
14127 ac_cv_lib_gettextpo_po_message_msgctxt=no
14129 rm -f core conftest.err conftest.$ac_objext \
14130 conftest$ac_exeext conftest.$ac_ext
14131 LIBS=$ac_check_lib_save_LIBS
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14134 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14135 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14137 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14139 GETTEXTPO_LIBS="-lgettextpo"
14144 if test "x$GETTEXTPO_LIBS" = "x"; then :
14145 case "x$with_gettextpo" in
14146 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14147 xno) ;;
14148 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14149 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14150 esac
14153 if test "$srcdir" != .; then :
14154 case "x$with_gettextpo" in
14155 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14156 xno) ;;
14157 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14158 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14159 esac
14164 if test "x$with_pulse" != "xno";
14165 then
14166 if ${PULSE_CFLAGS:+false} :; then :
14167 if ${PKG_CONFIG+:} false; then :
14168 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14172 if ${PULSE_LIBS:+false} :; then :
14173 if ${PKG_CONFIG+:} false; then :
14174 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14179 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14180 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14181 ac_save_CPPFLAGS=$CPPFLAGS
14182 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14183 for ac_header in pulse/pulseaudio.h
14184 do :
14185 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14186 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14187 cat >>confdefs.h <<_ACEOF
14188 #define HAVE_PULSE_PULSEAUDIO_H 1
14189 _ACEOF
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14191 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14192 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14193 $as_echo_n "(cached) " >&6
14194 else
14195 ac_check_lib_save_LIBS=$LIBS
14196 LIBS="-lpulse $PULSE_LIBS $LIBS"
14197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14200 /* Override any GCC internal prototype to avoid an error.
14201 Use char because int might match the return type of a GCC
14202 builtin and then its argument prototype would still apply. */
14203 #ifdef __cplusplus
14204 extern "C"
14205 #endif
14206 char pa_stream_is_corked ();
14208 main ()
14210 return pa_stream_is_corked ();
14212 return 0;
14214 _ACEOF
14215 if ac_fn_c_try_link "$LINENO"; then :
14216 ac_cv_lib_pulse_pa_stream_is_corked=yes
14217 else
14218 ac_cv_lib_pulse_pa_stream_is_corked=no
14220 rm -f core conftest.err conftest.$ac_objext \
14221 conftest$ac_exeext conftest.$ac_ext
14222 LIBS=$ac_check_lib_save_LIBS
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14225 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14226 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14228 else
14229 PULSE_LIBS=""
14232 else
14233 PULSE_LIBS=""
14236 done
14238 CPPFLAGS=$ac_save_CPPFLAGS
14239 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14240 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14243 if test -z "$PULSE_LIBS"; then :
14244 case "x$with_pulse" in
14245 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14246 xno) ;;
14247 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14248 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14249 esac
14250 enable_winepulse_drv=${enable_winepulse_drv:-no}
14253 if test "x$with_gstreamer" != "xno"
14254 then
14255 if ${GSTREAMER_CFLAGS:+false} :; then :
14256 if ${PKG_CONFIG+:} false; then :
14257 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14261 if ${GSTREAMER_LIBS:+false} :; then :
14262 if ${PKG_CONFIG+:} false; then :
14263 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14268 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14269 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14270 ac_save_CPPFLAGS=$CPPFLAGS
14271 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14272 ac_gst_incl=""
14273 for i in $GSTREAMER_CFLAGS
14275 case "$i" in
14276 -I*) ac_gst_incl="$ac_gst_incl $i";;
14277 esac
14278 done
14279 GSTREAMER_CFLAGS=$ac_gst_incl
14280 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14281 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14282 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14284 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14287 #include <gst/gst.h>
14289 main ()
14291 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14293 return 0;
14295 _ACEOF
14296 if ac_fn_c_try_compile "$LINENO"; then :
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14298 $as_echo "yes" >&6; }
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14300 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14301 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14302 $as_echo_n "(cached) " >&6
14303 else
14304 ac_check_lib_save_LIBS=$LIBS
14305 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14309 /* Override any GCC internal prototype to avoid an error.
14310 Use char because int might match the return type of a GCC
14311 builtin and then its argument prototype would still apply. */
14312 #ifdef __cplusplus
14313 extern "C"
14314 #endif
14315 char gst_pad_new ();
14317 main ()
14319 return gst_pad_new ();
14321 return 0;
14323 _ACEOF
14324 if ac_fn_c_try_link "$LINENO"; then :
14325 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14326 else
14327 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14329 rm -f core conftest.err conftest.$ac_objext \
14330 conftest$ac_exeext conftest.$ac_ext
14331 LIBS=$ac_check_lib_save_LIBS
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14334 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14335 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14339 else
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14341 $as_echo "no" >&6; }
14342 ac_glib2_broken=yes
14343 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14349 CPPFLAGS=$ac_save_CPPFLAGS
14350 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14351 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14354 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 :
14355 case "x$with_gstreamer" in
14356 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14357 xno) ;;
14358 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14359 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14360 esac
14363 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14365 ALSA_LIBS=""
14367 if test "x$with_alsa" != "xno"
14368 then
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14370 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14371 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14372 $as_echo_n "(cached) " >&6
14373 else
14374 ac_check_lib_save_LIBS=$LIBS
14375 LIBS="-lasound $LIBS"
14376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14377 /* end confdefs.h. */
14379 /* Override any GCC internal prototype to avoid an error.
14380 Use char because int might match the return type of a GCC
14381 builtin and then its argument prototype would still apply. */
14382 #ifdef __cplusplus
14383 extern "C"
14384 #endif
14385 char snd_pcm_hw_params_get_access_mask ();
14387 main ()
14389 return snd_pcm_hw_params_get_access_mask ();
14391 return 0;
14393 _ACEOF
14394 if ac_fn_c_try_link "$LINENO"; then :
14395 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14396 else
14397 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14399 rm -f core conftest.err conftest.$ac_objext \
14400 conftest$ac_exeext conftest.$ac_ext
14401 LIBS=$ac_check_lib_save_LIBS
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14404 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14405 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14407 /* end confdefs.h. */
14408 #include <alsa/asoundlib.h>
14410 main ()
14412 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14414 return 0;
14416 _ACEOF
14417 if ac_fn_c_try_compile "$LINENO"; then :
14418 ALSA_LIBS="-lasound"
14420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14424 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14426 if test "x$with_oss" != xno
14427 then
14428 ac_save_CPPFLAGS="$CPPFLAGS"
14429 if test -f /etc/oss.conf
14430 then
14431 . /etc/oss.conf
14433 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14434 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14435 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14436 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14437 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14439 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14441 cat >>confdefs.h <<_ACEOF
14442 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14443 _ACEOF
14445 OSS4_CFLAGS="$ac_oss_incl"
14452 CPPFLAGS="$ac_save_CPPFLAGS"
14454 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14455 case "x$with_oss" in
14456 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14457 xno) ;;
14458 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14459 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14460 esac
14461 enable_wineoss_drv=${enable_wineoss_drv:-no}
14464 if test "x$with_udev" != "xno"
14465 then
14466 if ${UDEV_CFLAGS:+false} :; then :
14467 if ${PKG_CONFIG+:} false; then :
14468 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14472 if ${UDEV_LIBS:+false} :; then :
14473 if ${PKG_CONFIG+:} false; then :
14474 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14478 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14479 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14480 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14481 ac_save_CPPFLAGS=$CPPFLAGS
14482 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14483 for ac_header in libudev.h
14484 do :
14485 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14486 if test "x$ac_cv_header_libudev_h" = xyes; then :
14487 cat >>confdefs.h <<_ACEOF
14488 #define HAVE_LIBUDEV_H 1
14489 _ACEOF
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14491 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14492 if ${ac_cv_lib_udev_udev_new+:} false; then :
14493 $as_echo_n "(cached) " >&6
14494 else
14495 ac_check_lib_save_LIBS=$LIBS
14496 LIBS="-ludev $UDEV_LIBS $LIBS"
14497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14498 /* end confdefs.h. */
14500 /* Override any GCC internal prototype to avoid an error.
14501 Use char because int might match the return type of a GCC
14502 builtin and then its argument prototype would still apply. */
14503 #ifdef __cplusplus
14504 extern "C"
14505 #endif
14506 char udev_new ();
14508 main ()
14510 return udev_new ();
14512 return 0;
14514 _ACEOF
14515 if ac_fn_c_try_link "$LINENO"; then :
14516 ac_cv_lib_udev_udev_new=yes
14517 else
14518 ac_cv_lib_udev_udev_new=no
14520 rm -f core conftest.err conftest.$ac_objext \
14521 conftest$ac_exeext conftest.$ac_ext
14522 LIBS=$ac_check_lib_save_LIBS
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14525 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14526 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14528 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14530 else
14531 UDEV_LIBS=""
14534 else
14535 UDEV_LIBS=""
14538 done
14540 CPPFLAGS=$ac_save_CPPFLAGS
14541 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14542 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14545 if test "x$UDEV_LIBS" = "x"; then :
14546 case "x$with_udev" in
14547 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14548 xno) ;;
14549 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14550 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14551 esac
14555 if test "x$with_sdl" != "xno"
14556 then
14557 if ${SDL2_CFLAGS:+false} :; then :
14558 if ${PKG_CONFIG+:} false; then :
14559 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14563 if ${SDL2_LIBS:+false} :; then :
14564 if ${PKG_CONFIG+:} false; then :
14565 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14569 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14570 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14571 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14572 ac_save_CPPFLAGS=$CPPFLAGS
14573 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14574 for ac_header in SDL2/SDL.h
14575 do :
14576 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14577 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14578 cat >>confdefs.h <<_ACEOF
14579 #define HAVE_SDL2_SDL_H 1
14580 _ACEOF
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14582 $as_echo_n "checking for -lSDL2... " >&6; }
14583 if ${ac_cv_lib_soname_SDL2+:} false; then :
14584 $as_echo_n "(cached) " >&6
14585 else
14586 ac_check_soname_save_LIBS=$LIBS
14587 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14591 /* Override any GCC internal prototype to avoid an error.
14592 Use char because int might match the return type of a GCC
14593 builtin and then its argument prototype would still apply. */
14594 #ifdef __cplusplus
14595 extern "C"
14596 #endif
14597 char SDL_Init ();
14599 main ()
14601 return SDL_Init ();
14603 return 0;
14605 _ACEOF
14606 if ac_fn_c_try_link "$LINENO"; then :
14607 case "$LIBEXT" in
14608 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14609 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'` ;;
14610 *) 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'`
14611 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14612 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14613 fi ;;
14614 esac
14616 rm -f core conftest.err conftest.$ac_objext \
14617 conftest$ac_exeext conftest.$ac_ext
14618 LIBS=$ac_check_soname_save_LIBS
14620 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14622 $as_echo "not found" >&6; }
14624 else
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14626 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14628 cat >>confdefs.h <<_ACEOF
14629 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14630 _ACEOF
14636 done
14638 CPPFLAGS=$ac_save_CPPFLAGS
14639 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14640 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14643 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14644 case "x$with_sdl" in
14645 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14646 xno) ;;
14647 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14648 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14649 esac
14653 if test "x$with_faudio" != "xno"
14654 then
14655 if ${FAUDIO_CFLAGS:+false} :; then :
14656 if ${PKG_CONFIG+:} false; then :
14657 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14661 if ${FAUDIO_LIBS:+false} :; then :
14662 if ${PKG_CONFIG+:} false; then :
14663 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14667 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14668 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14669 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14670 ac_save_CPPFLAGS=$CPPFLAGS
14671 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14672 for ac_header in FAudio.h
14673 do :
14674 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14675 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14676 cat >>confdefs.h <<_ACEOF
14677 #define HAVE_FAUDIO_H 1
14678 _ACEOF
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14680 $as_echo_n "checking for -lFAudio... " >&6; }
14681 if ${ac_cv_lib_soname_FAudio+:} false; then :
14682 $as_echo_n "(cached) " >&6
14683 else
14684 ac_check_soname_save_LIBS=$LIBS
14685 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14687 /* end confdefs.h. */
14689 /* Override any GCC internal prototype to avoid an error.
14690 Use char because int might match the return type of a GCC
14691 builtin and then its argument prototype would still apply. */
14692 #ifdef __cplusplus
14693 extern "C"
14694 #endif
14695 char FAudioCreate ();
14697 main ()
14699 return FAudioCreate ();
14701 return 0;
14703 _ACEOF
14704 if ac_fn_c_try_link "$LINENO"; then :
14705 case "$LIBEXT" in
14706 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14707 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'` ;;
14708 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14709 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14710 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14711 fi ;;
14712 esac
14714 rm -f core conftest.err conftest.$ac_objext \
14715 conftest$ac_exeext conftest.$ac_ext
14716 LIBS=$ac_check_soname_save_LIBS
14718 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14720 $as_echo "not found" >&6; }
14722 else
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14724 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14726 cat >>confdefs.h <<_ACEOF
14727 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14728 _ACEOF
14734 done
14736 CPPFLAGS=$ac_save_CPPFLAGS
14737 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14738 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14741 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
14742 case "x$with_faudio" in
14743 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
14744 xno) ;;
14745 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
14746 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
14747 esac
14751 if test "x$with_capi" != "xno"
14752 then
14753 if ${CAPI20_CFLAGS:+false} :; then :
14754 if ${PKG_CONFIG+:} false; then :
14755 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14759 if ${CAPI20_LIBS:+false} :; then :
14760 if ${PKG_CONFIG+:} false; then :
14761 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14766 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14767 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14768 ac_save_CPPFLAGS=$CPPFLAGS
14769 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14770 for ac_header in capi20.h linux/capi.h
14771 do :
14772 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14773 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14775 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14776 cat >>confdefs.h <<_ACEOF
14777 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14778 _ACEOF
14782 done
14784 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14785 then
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
14787 $as_echo_n "checking for -lcapi20... " >&6; }
14788 if ${ac_cv_lib_soname_capi20+:} false; then :
14789 $as_echo_n "(cached) " >&6
14790 else
14791 ac_check_soname_save_LIBS=$LIBS
14792 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
14793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h. */
14796 /* Override any GCC internal prototype to avoid an error.
14797 Use char because int might match the return type of a GCC
14798 builtin and then its argument prototype would still apply. */
14799 #ifdef __cplusplus
14800 extern "C"
14801 #endif
14802 char capi20_register ();
14804 main ()
14806 return capi20_register ();
14808 return 0;
14810 _ACEOF
14811 if ac_fn_c_try_link "$LINENO"; then :
14812 case "$LIBEXT" in
14813 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14814 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'` ;;
14815 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14816 if ${ac_cv_lib_soname_capi20:+false} :; then :
14817 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14818 fi ;;
14819 esac
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext conftest.$ac_ext
14823 LIBS=$ac_check_soname_save_LIBS
14825 if ${ac_cv_lib_soname_capi20:+false} :; then :
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14827 $as_echo "not found" >&6; }
14829 else
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
14831 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
14833 cat >>confdefs.h <<_ACEOF
14834 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14835 _ACEOF
14840 CPPFLAGS=$ac_save_CPPFLAGS
14841 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14842 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14845 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
14846 case "x$with_capi" in
14847 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
14848 xno) ;;
14849 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
14850 This is an error since --with-capi was requested." "$LINENO" 5 ;;
14851 esac
14855 if test "x$with_cups" != "xno"
14856 then
14857 if ${CUPS_CFLAGS:+false} :; then :
14858 if ${PKG_CONFIG+:} false; then :
14859 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
14862 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
14863 if ${CUPS_LIBS:+false} :; then :
14864 if ${PKG_CONFIG+:} false; then :
14865 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
14868 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
14869 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
14870 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
14871 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
14872 ac_save_CPPFLAGS=$CPPFLAGS
14873 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
14874 for ac_header in cups/cups.h cups/ppd.h
14875 do :
14876 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14877 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14878 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14879 cat >>confdefs.h <<_ACEOF
14880 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14881 _ACEOF
14885 done
14887 if test "$ac_cv_header_cups_cups_h" = "yes"
14888 then
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14890 $as_echo_n "checking for -lcups... " >&6; }
14891 if ${ac_cv_lib_soname_cups+:} false; then :
14892 $as_echo_n "(cached) " >&6
14893 else
14894 ac_check_soname_save_LIBS=$LIBS
14895 LIBS="-lcups $CUPS_LIBS $LIBS"
14896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14897 /* end confdefs.h. */
14899 /* Override any GCC internal prototype to avoid an error.
14900 Use char because int might match the return type of a GCC
14901 builtin and then its argument prototype would still apply. */
14902 #ifdef __cplusplus
14903 extern "C"
14904 #endif
14905 char cupsGetDefault ();
14907 main ()
14909 return cupsGetDefault ();
14911 return 0;
14913 _ACEOF
14914 if ac_fn_c_try_link "$LINENO"; then :
14915 case "$LIBEXT" in
14916 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14917 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'` ;;
14918 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14919 if ${ac_cv_lib_soname_cups:+false} :; then :
14920 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14921 fi ;;
14922 esac
14924 rm -f core conftest.err conftest.$ac_objext \
14925 conftest$ac_exeext conftest.$ac_ext
14926 LIBS=$ac_check_soname_save_LIBS
14928 if ${ac_cv_lib_soname_cups:+false} :; then :
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14930 $as_echo "not found" >&6; }
14931 CUPS_LIBS=""
14932 else
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14934 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14936 cat >>confdefs.h <<_ACEOF
14937 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14938 _ACEOF
14942 else
14943 CUPS_CFLAGS=""
14944 CUPS_LIBS=""
14946 CPPFLAGS=$ac_save_CPPFLAGS
14947 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14948 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14951 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14952 case "x$with_cups" in
14953 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14954 xno) ;;
14955 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14956 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14957 esac
14961 if test "x$with_fontconfig" != "xno"
14962 then
14963 if ${FONTCONFIG_CFLAGS:+false} :; then :
14964 if ${PKG_CONFIG+:} false; then :
14965 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14968 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14969 if ${FONTCONFIG_LIBS:+false} :; then :
14970 if ${PKG_CONFIG+:} false; then :
14971 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14974 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14976 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14977 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14978 ac_save_CPPFLAGS=$CPPFLAGS
14979 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14980 for ac_header in fontconfig/fontconfig.h
14981 do :
14982 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14983 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14984 cat >>confdefs.h <<_ACEOF
14985 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14986 _ACEOF
14990 done
14992 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14993 then
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14995 $as_echo_n "checking for -lfontconfig... " >&6; }
14996 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14997 $as_echo_n "(cached) " >&6
14998 else
14999 ac_check_soname_save_LIBS=$LIBS
15000 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h. */
15004 /* Override any GCC internal prototype to avoid an error.
15005 Use char because int might match the return type of a GCC
15006 builtin and then its argument prototype would still apply. */
15007 #ifdef __cplusplus
15008 extern "C"
15009 #endif
15010 char FcInit ();
15012 main ()
15014 return FcInit ();
15016 return 0;
15018 _ACEOF
15019 if ac_fn_c_try_link "$LINENO"; then :
15020 case "$LIBEXT" in
15021 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15022 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'` ;;
15023 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15024 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15025 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15026 fi ;;
15027 esac
15029 rm -f core conftest.err conftest.$ac_objext \
15030 conftest$ac_exeext conftest.$ac_ext
15031 LIBS=$ac_check_soname_save_LIBS
15033 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15035 $as_echo "not found" >&6; }
15036 FONTCONFIG_CFLAGS=""
15037 else
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15039 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15041 cat >>confdefs.h <<_ACEOF
15042 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15043 _ACEOF
15047 else
15048 FONTCONFIG_CFLAGS=""
15050 CPPFLAGS=$ac_save_CPPFLAGS
15051 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15052 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15055 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15056 case "x$with_fontconfig" in
15057 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15058 xno) ;;
15059 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15060 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15061 esac
15065 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15066 then
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15068 $as_echo_n "checking for -lgsm... " >&6; }
15069 if ${ac_cv_lib_soname_gsm+:} false; then :
15070 $as_echo_n "(cached) " >&6
15071 else
15072 ac_check_soname_save_LIBS=$LIBS
15073 LIBS="-lgsm $LIBS"
15074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 /* end confdefs.h. */
15077 /* Override any GCC internal prototype to avoid an error.
15078 Use char because int might match the return type of a GCC
15079 builtin and then its argument prototype would still apply. */
15080 #ifdef __cplusplus
15081 extern "C"
15082 #endif
15083 char gsm_create ();
15085 main ()
15087 return gsm_create ();
15089 return 0;
15091 _ACEOF
15092 if ac_fn_c_try_link "$LINENO"; then :
15093 case "$LIBEXT" in
15094 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15095 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'` ;;
15096 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15097 if ${ac_cv_lib_soname_gsm:+false} :; then :
15098 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15099 fi ;;
15100 esac
15102 rm -f core conftest.err conftest.$ac_objext \
15103 conftest$ac_exeext conftest.$ac_ext
15104 LIBS=$ac_check_soname_save_LIBS
15106 if ${ac_cv_lib_soname_gsm:+false} :; then :
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15108 $as_echo "not found" >&6; }
15110 else
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15112 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15114 cat >>confdefs.h <<_ACEOF
15115 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15116 _ACEOF
15121 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15122 case "x$with_gsm" in
15123 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15124 xno) ;;
15125 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15126 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15127 esac
15131 if test "x$with_krb5" != "xno"
15132 then
15133 if ${KRB5_CFLAGS:+false} :; then :
15134 if ${PKG_CONFIG+:} false; then :
15135 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15138 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15139 if ${KRB5_LIBS:+false} :; then :
15140 if ${PKG_CONFIG+:} false; then :
15141 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15144 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15146 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15147 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15148 ac_save_CPPFLAGS=$CPPFLAGS
15149 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15150 for ac_header in krb5/krb5.h
15151 do :
15152 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15153 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15154 cat >>confdefs.h <<_ACEOF
15155 #define HAVE_KRB5_KRB5_H 1
15156 _ACEOF
15160 done
15162 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15163 then
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15165 $as_echo_n "checking for -lkrb5... " >&6; }
15166 if ${ac_cv_lib_soname_krb5+:} false; then :
15167 $as_echo_n "(cached) " >&6
15168 else
15169 ac_check_soname_save_LIBS=$LIBS
15170 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15172 /* end confdefs.h. */
15174 /* Override any GCC internal prototype to avoid an error.
15175 Use char because int might match the return type of a GCC
15176 builtin and then its argument prototype would still apply. */
15177 #ifdef __cplusplus
15178 extern "C"
15179 #endif
15180 char krb5_is_config_principal ();
15182 main ()
15184 return krb5_is_config_principal ();
15186 return 0;
15188 _ACEOF
15189 if ac_fn_c_try_link "$LINENO"; then :
15190 case "$LIBEXT" in
15191 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15192 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'` ;;
15193 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15194 if ${ac_cv_lib_soname_krb5:+false} :; then :
15195 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15196 fi ;;
15197 esac
15199 rm -f core conftest.err conftest.$ac_objext \
15200 conftest$ac_exeext conftest.$ac_ext
15201 LIBS=$ac_check_soname_save_LIBS
15203 if ${ac_cv_lib_soname_krb5:+false} :; then :
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15205 $as_echo "not found" >&6; }
15206 KRB5_CFLAGS=""
15207 else
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15209 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15211 cat >>confdefs.h <<_ACEOF
15212 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15213 _ACEOF
15217 else
15218 KRB5_CFLAGS=""
15220 CPPFLAGS=$ac_save_CPPFLAGS
15221 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15222 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15224 else
15225 with_gssapi=${with_gssapi:-no}
15227 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15228 case "x$with_krb5" in
15229 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15230 xno) ;;
15231 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15232 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15233 esac
15237 if test "x$with_gssapi" != "xno"
15238 then
15239 if ${GSSAPI_CFLAGS:+false} :; then :
15240 if ${PKG_CONFIG+:} false; then :
15241 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15244 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15245 if ${GSSAPI_LIBS:+false} :; then :
15246 if ${PKG_CONFIG+:} false; then :
15247 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15250 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15252 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15253 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15254 ac_save_CPPFLAGS=$CPPFLAGS
15255 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15256 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15257 do :
15258 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15259 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15260 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15261 cat >>confdefs.h <<_ACEOF
15262 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15263 _ACEOF
15267 done
15269 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15270 then
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15272 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15273 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15274 $as_echo_n "(cached) " >&6
15275 else
15276 ac_check_soname_save_LIBS=$LIBS
15277 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15281 /* Override any GCC internal prototype to avoid an error.
15282 Use char because int might match the return type of a GCC
15283 builtin and then its argument prototype would still apply. */
15284 #ifdef __cplusplus
15285 extern "C"
15286 #endif
15287 char gss_init_sec_context ();
15289 main ()
15291 return gss_init_sec_context ();
15293 return 0;
15295 _ACEOF
15296 if ac_fn_c_try_link "$LINENO"; then :
15297 case "$LIBEXT" in
15298 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15299 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'` ;;
15300 *) 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'`
15301 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15302 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15303 fi ;;
15304 esac
15306 rm -f core conftest.err conftest.$ac_objext \
15307 conftest$ac_exeext conftest.$ac_ext
15308 LIBS=$ac_check_soname_save_LIBS
15310 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15312 $as_echo "not found" >&6; }
15313 GSSAPI_CFLAGS=""
15314 else
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15316 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15318 cat >>confdefs.h <<_ACEOF
15319 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15320 _ACEOF
15324 else
15325 GSSAPI_CFLAGS=""
15327 CPPFLAGS=$ac_save_CPPFLAGS
15328 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15329 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15332 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15333 case "x$with_gssapi" in
15334 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15335 xno) ;;
15336 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15337 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15338 esac
15342 if test "x$with_jpeg" != "xno"
15343 then
15344 if ${JPEG_CFLAGS:+false} :; then :
15345 if ${PKG_CONFIG+:} false; then :
15346 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15350 if ${JPEG_LIBS:+false} :; then :
15351 if ${PKG_CONFIG+:} false; then :
15352 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15357 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15358 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15359 ac_save_CPPFLAGS=$CPPFLAGS
15360 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15361 for ac_header in jpeglib.h
15362 do :
15363 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15364 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15365 cat >>confdefs.h <<_ACEOF
15366 #define HAVE_JPEGLIB_H 1
15367 _ACEOF
15371 done
15373 if test "$ac_cv_header_jpeglib_h" = "yes"
15374 then
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15376 $as_echo_n "checking for -ljpeg... " >&6; }
15377 if ${ac_cv_lib_soname_jpeg+:} false; then :
15378 $as_echo_n "(cached) " >&6
15379 else
15380 ac_check_soname_save_LIBS=$LIBS
15381 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15383 /* end confdefs.h. */
15385 /* Override any GCC internal prototype to avoid an error.
15386 Use char because int might match the return type of a GCC
15387 builtin and then its argument prototype would still apply. */
15388 #ifdef __cplusplus
15389 extern "C"
15390 #endif
15391 char jpeg_start_decompress ();
15393 main ()
15395 return jpeg_start_decompress ();
15397 return 0;
15399 _ACEOF
15400 if ac_fn_c_try_link "$LINENO"; then :
15401 case "$LIBEXT" in
15402 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15403 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'` ;;
15404 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15405 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15406 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15407 fi ;;
15408 esac
15410 rm -f core conftest.err conftest.$ac_objext \
15411 conftest$ac_exeext conftest.$ac_ext
15412 LIBS=$ac_check_soname_save_LIBS
15414 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15416 $as_echo "not found" >&6; }
15417 JPEG_CFLAGS=""
15418 else
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15420 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15422 cat >>confdefs.h <<_ACEOF
15423 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15424 _ACEOF
15428 else
15429 JPEG_CFLAGS=""
15431 CPPFLAGS=$ac_save_CPPFLAGS
15432 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15433 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15436 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15437 case "x$with_jpeg" in
15438 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15439 xno) ;;
15440 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15441 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15442 esac
15446 if test "x$with_png" != "xno"
15447 then
15448 if ${PNG_CFLAGS:+false} :; then :
15449 if ${PKG_CONFIG+:} false; then :
15450 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15453 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15454 if ${PNG_LIBS:+false} :; then :
15455 if ${PKG_CONFIG+:} false; then :
15456 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15459 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15461 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15462 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15463 ac_save_CPPFLAGS=$CPPFLAGS
15464 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15465 for ac_header in png.h
15466 do :
15467 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15468 if test "x$ac_cv_header_png_h" = xyes; then :
15469 cat >>confdefs.h <<_ACEOF
15470 #define HAVE_PNG_H 1
15471 _ACEOF
15475 done
15477 if test "$ac_cv_header_png_h" = "yes"
15478 then
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15480 $as_echo_n "checking for -lpng... " >&6; }
15481 if ${ac_cv_lib_soname_png+:} false; then :
15482 $as_echo_n "(cached) " >&6
15483 else
15484 ac_check_soname_save_LIBS=$LIBS
15485 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15487 /* end confdefs.h. */
15489 /* Override any GCC internal prototype to avoid an error.
15490 Use char because int might match the return type of a GCC
15491 builtin and then its argument prototype would still apply. */
15492 #ifdef __cplusplus
15493 extern "C"
15494 #endif
15495 char png_create_read_struct ();
15497 main ()
15499 return png_create_read_struct ();
15501 return 0;
15503 _ACEOF
15504 if ac_fn_c_try_link "$LINENO"; then :
15505 case "$LIBEXT" in
15506 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15507 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'` ;;
15508 *) 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'`
15509 if ${ac_cv_lib_soname_png:+false} :; then :
15510 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15511 fi ;;
15512 esac
15514 rm -f core conftest.err conftest.$ac_objext \
15515 conftest$ac_exeext conftest.$ac_ext
15516 LIBS=$ac_check_soname_save_LIBS
15518 if ${ac_cv_lib_soname_png:+false} :; then :
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15520 $as_echo "not found" >&6; }
15521 PNG_CFLAGS=""
15522 else
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15524 $as_echo "$ac_cv_lib_soname_png" >&6; }
15526 cat >>confdefs.h <<_ACEOF
15527 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15528 _ACEOF
15532 else
15533 PNG_CFLAGS=""
15535 CPPFLAGS=$ac_save_CPPFLAGS
15536 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15537 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15540 if test "x$ac_cv_lib_soname_png" = "x"; then :
15541 case "x$with_png" in
15542 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15543 xno) ;;
15544 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15545 This is an error since --with-png was requested." "$LINENO" 5 ;;
15546 esac
15550 if test "x$with_tiff" != "xno"
15551 then
15552 if ${TIFF_CFLAGS:+false} :; then :
15553 if ${PKG_CONFIG+:} false; then :
15554 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15558 if ${TIFF_LIBS:+false} :; then :
15559 if ${PKG_CONFIG+:} false; then :
15560 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15565 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15566 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15567 ac_save_CPPFLAGS=$CPPFLAGS
15568 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15569 for ac_header in tiffio.h
15570 do :
15571 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15572 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15573 cat >>confdefs.h <<_ACEOF
15574 #define HAVE_TIFFIO_H 1
15575 _ACEOF
15579 done
15581 if test "$ac_cv_header_tiffio_h" = "yes"
15582 then
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15584 $as_echo_n "checking for -ltiff... " >&6; }
15585 if ${ac_cv_lib_soname_tiff+:} false; then :
15586 $as_echo_n "(cached) " >&6
15587 else
15588 ac_check_soname_save_LIBS=$LIBS
15589 LIBS="-ltiff $TIFF_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 TIFFClientOpen ();
15601 main ()
15603 return TIFFClientOpen ();
15605 return 0;
15607 _ACEOF
15608 if ac_fn_c_try_link "$LINENO"; then :
15609 case "$LIBEXT" in
15610 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15611 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'` ;;
15612 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15613 if ${ac_cv_lib_soname_tiff:+false} :; then :
15614 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15615 fi ;;
15616 esac
15618 rm -f core conftest.err conftest.$ac_objext \
15619 conftest$ac_exeext conftest.$ac_ext
15620 LIBS=$ac_check_soname_save_LIBS
15622 if ${ac_cv_lib_soname_tiff:+false} :; then :
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15624 $as_echo "not found" >&6; }
15626 else
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
15628 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
15630 cat >>confdefs.h <<_ACEOF
15631 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
15632 _ACEOF
15637 CPPFLAGS=$ac_save_CPPFLAGS
15638 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15639 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15642 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15643 case "x$with_tiff" in
15644 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15645 xno) ;;
15646 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15647 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15648 esac
15652 if test "x$with_mpg123" != "xno"
15653 then
15654 if ${MPG123_CFLAGS:+false} :; then :
15655 if ${PKG_CONFIG+:} false; then :
15656 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15660 if ${MPG123_LIBS:+false} :; then :
15661 if ${PKG_CONFIG+:} false; then :
15662 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15666 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15667 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15668 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15669 ac_save_CPPFLAGS=$CPPFLAGS
15670 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15671 for ac_header in mpg123.h
15672 do :
15673 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15674 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15675 cat >>confdefs.h <<_ACEOF
15676 #define HAVE_MPG123_H 1
15677 _ACEOF
15681 done
15683 if test "$ac_cv_header_mpg123_h" = "yes"
15684 then
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15686 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15687 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15688 $as_echo_n "(cached) " >&6
15689 else
15690 ac_check_lib_save_LIBS=$LIBS
15691 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15693 /* end confdefs.h. */
15695 /* Override any GCC internal prototype to avoid an error.
15696 Use char because int might match the return type of a GCC
15697 builtin and then its argument prototype would still apply. */
15698 #ifdef __cplusplus
15699 extern "C"
15700 #endif
15701 char mpg123_feed ();
15703 main ()
15705 return mpg123_feed ();
15707 return 0;
15709 _ACEOF
15710 if ac_fn_c_try_link "$LINENO"; then :
15711 ac_cv_lib_mpg123_mpg123_feed=yes
15712 else
15713 ac_cv_lib_mpg123_mpg123_feed=no
15715 rm -f core conftest.err conftest.$ac_objext \
15716 conftest$ac_exeext conftest.$ac_ext
15717 LIBS=$ac_check_lib_save_LIBS
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
15720 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
15721 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
15723 else
15724 MPG123_LIBS=""
15727 else
15728 MPG123_CFLAGS=""
15729 MPG123_LIBS=""
15731 CPPFLAGS=$ac_save_CPPFLAGS
15732 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15733 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15736 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
15737 case "x$with_mpg123" in
15738 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
15739 xno) ;;
15740 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
15741 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
15742 esac
15743 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
15745 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
15747 if test "$ac_cv_header_AL_al_h" = "yes"
15748 then
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15750 $as_echo_n "checking for -lopenal... " >&6; }
15751 if ${ac_cv_lib_soname_openal+:} false; then :
15752 $as_echo_n "(cached) " >&6
15753 else
15754 ac_check_soname_save_LIBS=$LIBS
15755 LIBS="-lopenal $LIBS"
15756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15757 /* end confdefs.h. */
15759 /* Override any GCC internal prototype to avoid an error.
15760 Use char because int might match the return type of a GCC
15761 builtin and then its argument prototype would still apply. */
15762 #ifdef __cplusplus
15763 extern "C"
15764 #endif
15765 char alGetSource3i ();
15767 main ()
15769 return alGetSource3i ();
15771 return 0;
15773 _ACEOF
15774 if ac_fn_c_try_link "$LINENO"; then :
15775 case "$LIBEXT" in
15776 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15777 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'` ;;
15778 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15779 if ${ac_cv_lib_soname_openal:+false} :; then :
15780 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15781 fi ;;
15782 esac
15784 rm -f core conftest.err conftest.$ac_objext \
15785 conftest$ac_exeext conftest.$ac_ext
15786 LIBS=$ac_check_soname_save_LIBS
15788 if ${ac_cv_lib_soname_openal:+false} :; then :
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15790 $as_echo "not found" >&6; }
15792 else
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
15794 $as_echo "$ac_cv_lib_soname_openal" >&6; }
15796 cat >>confdefs.h <<_ACEOF
15797 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
15798 _ACEOF
15800 OPENAL_LIBS="-lopenal"
15802 ac_cv_lib_openal=yes
15804 cat >>confdefs.h <<_ACEOF
15805 #define HAVE_OPENAL 1
15806 _ACEOF
15810 if test "x$ac_cv_lib_openal" != xyes; then :
15811 case "x$with_openal" in
15812 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
15813 xno) ;;
15814 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
15815 This is an error since --with-openal was requested." "$LINENO" 5 ;;
15816 esac
15817 enable_openal32=${enable_openal32:-no}
15820 if test "x$ac_cv_lib_soname_FAudio" = "x"
15821 then
15822 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
15823 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
15824 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
15825 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
15826 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
15827 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
15828 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
15829 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
15830 enable_xapofx1_1=${enable_xapofx1_1:-no}
15831 enable_xapofx1_2=${enable_xapofx1_2:-no}
15832 enable_xapofx1_3=${enable_xapofx1_3:-no}
15833 enable_xapofx1_4=${enable_xapofx1_4:-no}
15834 enable_xapofx1_5=${enable_xapofx1_5:-no}
15835 enable_xaudio2_0=${enable_xaudio2_0:-no}
15836 enable_xaudio2_1=${enable_xaudio2_1:-no}
15837 enable_xaudio2_2=${enable_xaudio2_2:-no}
15838 enable_xaudio2_3=${enable_xaudio2_3:-no}
15839 enable_xaudio2_4=${enable_xaudio2_4:-no}
15840 enable_xaudio2_5=${enable_xaudio2_5:-no}
15841 enable_xaudio2_6=${enable_xaudio2_6:-no}
15842 enable_xaudio2_7=${enable_xaudio2_7:-no}
15843 enable_xaudio2_8=${enable_xaudio2_8:-no}
15844 enable_xaudio2_9=${enable_xaudio2_9:-no}
15847 if test "$ac_cv_header_kstat_h" = "yes"
15848 then
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15850 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15851 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15852 $as_echo_n "(cached) " >&6
15853 else
15854 ac_check_lib_save_LIBS=$LIBS
15855 LIBS="-lkstat $LIBS"
15856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15857 /* end confdefs.h. */
15859 /* Override any GCC internal prototype to avoid an error.
15860 Use char because int might match the return type of a GCC
15861 builtin and then its argument prototype would still apply. */
15862 #ifdef __cplusplus
15863 extern "C"
15864 #endif
15865 char kstat_open ();
15867 main ()
15869 return kstat_open ();
15871 return 0;
15873 _ACEOF
15874 if ac_fn_c_try_link "$LINENO"; then :
15875 ac_cv_lib_kstat_kstat_open=yes
15876 else
15877 ac_cv_lib_kstat_kstat_open=no
15879 rm -f core conftest.err conftest.$ac_objext \
15880 conftest$ac_exeext conftest.$ac_ext
15881 LIBS=$ac_check_lib_save_LIBS
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15884 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15885 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15887 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15889 KSTAT_LIBS="-lkstat"
15895 if test "$ac_cv_header_libprocstat_h" = "yes"
15896 then
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15898 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15899 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15900 $as_echo_n "(cached) " >&6
15901 else
15902 ac_check_lib_save_LIBS=$LIBS
15903 LIBS="-lprocstat $LIBS"
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15907 /* Override any GCC internal prototype to avoid an error.
15908 Use char because int might match the return type of a GCC
15909 builtin and then its argument prototype would still apply. */
15910 #ifdef __cplusplus
15911 extern "C"
15912 #endif
15913 char procstat_open_sysctl ();
15915 main ()
15917 return procstat_open_sysctl ();
15919 return 0;
15921 _ACEOF
15922 if ac_fn_c_try_link "$LINENO"; then :
15923 ac_cv_lib_procstat_procstat_open_sysctl=yes
15924 else
15925 ac_cv_lib_procstat_procstat_open_sysctl=no
15927 rm -f core conftest.err conftest.$ac_objext \
15928 conftest$ac_exeext conftest.$ac_ext
15929 LIBS=$ac_check_lib_save_LIBS
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15932 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15933 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15935 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15937 PROCSTAT_LIBS="-lprocstat"
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15944 $as_echo_n "checking for -lodbc... " >&6; }
15945 if ${ac_cv_lib_soname_odbc+:} false; then :
15946 $as_echo_n "(cached) " >&6
15947 else
15948 ac_check_soname_save_LIBS=$LIBS
15949 LIBS="-lodbc $LIBS"
15950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15951 /* end confdefs.h. */
15953 /* Override any GCC internal prototype to avoid an error.
15954 Use char because int might match the return type of a GCC
15955 builtin and then its argument prototype would still apply. */
15956 #ifdef __cplusplus
15957 extern "C"
15958 #endif
15959 char SQLConnect ();
15961 main ()
15963 return SQLConnect ();
15965 return 0;
15967 _ACEOF
15968 if ac_fn_c_try_link "$LINENO"; then :
15969 case "$LIBEXT" in
15970 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15971 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'` ;;
15972 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15973 if ${ac_cv_lib_soname_odbc:+false} :; then :
15974 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15975 fi ;;
15976 esac
15978 rm -f core conftest.err conftest.$ac_objext \
15979 conftest$ac_exeext conftest.$ac_ext
15980 LIBS=$ac_check_soname_save_LIBS
15982 if ${ac_cv_lib_soname_odbc:+false} :; then :
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15984 $as_echo "not found" >&6; }
15985 cat >>confdefs.h <<_ACEOF
15986 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15987 _ACEOF
15989 else
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15991 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15993 cat >>confdefs.h <<_ACEOF
15994 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15995 _ACEOF
16000 if test "x$with_netapi" != "xno"
16001 then
16002 if ${NETAPI_CFLAGS:+false} :; then :
16003 if ${PKG_CONFIG+:} false; then :
16004 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16008 if ${NETAPI_LIBS:+false} :; then :
16009 if ${PKG_CONFIG+:} false; then :
16010 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16015 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16016 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16017 ac_save_CPPFLAGS=$CPPFLAGS
16018 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16020 $as_echo_n "checking for -lnetapi... " >&6; }
16021 if ${ac_cv_lib_soname_netapi+:} false; then :
16022 $as_echo_n "(cached) " >&6
16023 else
16024 ac_check_soname_save_LIBS=$LIBS
16025 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16027 /* end confdefs.h. */
16029 /* Override any GCC internal prototype to avoid an error.
16030 Use char because int might match the return type of a GCC
16031 builtin and then its argument prototype would still apply. */
16032 #ifdef __cplusplus
16033 extern "C"
16034 #endif
16035 char libnetapi_init ();
16037 main ()
16039 return libnetapi_init ();
16041 return 0;
16043 _ACEOF
16044 if ac_fn_c_try_link "$LINENO"; then :
16045 case "$LIBEXT" in
16046 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16047 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'` ;;
16048 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16049 if ${ac_cv_lib_soname_netapi:+false} :; then :
16050 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16051 fi ;;
16052 esac
16054 rm -f core conftest.err conftest.$ac_objext \
16055 conftest$ac_exeext conftest.$ac_ext
16056 LIBS=$ac_check_soname_save_LIBS
16058 if ${ac_cv_lib_soname_netapi:+false} :; then :
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16060 $as_echo "not found" >&6; }
16061 cat >>confdefs.h <<_ACEOF
16062 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16063 _ACEOF
16065 else
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16067 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16069 cat >>confdefs.h <<_ACEOF
16070 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16071 _ACEOF
16075 CPPFLAGS=$ac_save_CPPFLAGS
16076 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16077 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16081 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16082 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16083 then
16084 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16087 if test "x$with_vulkan" != "xno"
16088 then
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16090 $as_echo_n "checking for -lvulkan... " >&6; }
16091 if ${ac_cv_lib_soname_vulkan+:} false; then :
16092 $as_echo_n "(cached) " >&6
16093 else
16094 ac_check_soname_save_LIBS=$LIBS
16095 LIBS="-lvulkan $LIBS"
16096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16097 /* end confdefs.h. */
16099 /* Override any GCC internal prototype to avoid an error.
16100 Use char because int might match the return type of a GCC
16101 builtin and then its argument prototype would still apply. */
16102 #ifdef __cplusplus
16103 extern "C"
16104 #endif
16105 char vkGetInstanceProcAddr ();
16107 main ()
16109 return vkGetInstanceProcAddr ();
16111 return 0;
16113 _ACEOF
16114 if ac_fn_c_try_link "$LINENO"; then :
16115 case "$LIBEXT" in
16116 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16117 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'` ;;
16118 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16119 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16120 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16121 fi ;;
16122 esac
16124 rm -f core conftest.err conftest.$ac_objext \
16125 conftest$ac_exeext conftest.$ac_ext
16126 LIBS=$ac_check_soname_save_LIBS
16128 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16130 $as_echo "not found" >&6; }
16132 else
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16134 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16136 cat >>confdefs.h <<_ACEOF
16137 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16138 _ACEOF
16142 if test "x$ac_cv_lib_soname_vulkan" = "x"
16143 then
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16145 $as_echo_n "checking for -lMoltenVK... " >&6; }
16146 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16147 $as_echo_n "(cached) " >&6
16148 else
16149 ac_check_soname_save_LIBS=$LIBS
16150 LIBS="-lMoltenVK $LIBS"
16151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16152 /* end confdefs.h. */
16154 /* Override any GCC internal prototype to avoid an error.
16155 Use char because int might match the return type of a GCC
16156 builtin and then its argument prototype would still apply. */
16157 #ifdef __cplusplus
16158 extern "C"
16159 #endif
16160 char vkGetInstanceProcAddr ();
16162 main ()
16164 return vkGetInstanceProcAddr ();
16166 return 0;
16168 _ACEOF
16169 if ac_fn_c_try_link "$LINENO"; then :
16170 case "$LIBEXT" in
16171 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16172 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'` ;;
16173 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16174 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16175 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16176 fi ;;
16177 esac
16179 rm -f core conftest.err conftest.$ac_objext \
16180 conftest$ac_exeext conftest.$ac_ext
16181 LIBS=$ac_check_soname_save_LIBS
16183 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16185 $as_echo "not found" >&6; }
16187 else
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16189 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16191 cat >>confdefs.h <<_ACEOF
16192 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16193 _ACEOF
16199 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16200 case "x$with_vulkan" in
16201 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16202 xno) ;;
16203 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16204 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16205 esac
16209 if test "x$with_vkd3d" != "xno"
16210 then
16211 if ${VKD3D_CFLAGS:+false} :; then :
16212 if ${PKG_CONFIG+:} false; then :
16213 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16217 if ${VKD3D_LIBS:+false} :; then :
16218 if ${PKG_CONFIG+:} false; then :
16219 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16224 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16225 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16226 ac_save_CPPFLAGS=$CPPFLAGS
16227 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16229 $as_echo_n "checking for -lvkd3d... " >&6; }
16230 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16231 $as_echo_n "(cached) " >&6
16232 else
16233 ac_check_soname_save_LIBS=$LIBS
16234 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16236 /* end confdefs.h. */
16238 /* Override any GCC internal prototype to avoid an error.
16239 Use char because int might match the return type of a GCC
16240 builtin and then its argument prototype would still apply. */
16241 #ifdef __cplusplus
16242 extern "C"
16243 #endif
16244 char vkd3d_get_dxgi_format ();
16246 main ()
16248 return vkd3d_get_dxgi_format ();
16250 return 0;
16252 _ACEOF
16253 if ac_fn_c_try_link "$LINENO"; then :
16254 case "$LIBEXT" in
16255 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16256 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'` ;;
16257 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16258 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16259 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16260 fi ;;
16261 esac
16263 rm -f core conftest.err conftest.$ac_objext \
16264 conftest$ac_exeext conftest.$ac_ext
16265 LIBS=$ac_check_soname_save_LIBS
16267 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16269 $as_echo "not found" >&6; }
16271 else
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16273 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16275 cat >>confdefs.h <<_ACEOF
16276 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16277 _ACEOF
16281 CPPFLAGS=$ac_save_CPPFLAGS
16282 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16283 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16286 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16287 case "x$with_vkd3d" in
16288 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16289 xno) ;;
16290 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16291 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16292 esac
16295 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16298 EXTRACFLAGS=""
16300 if test "x${GCC}" = "xyes"
16301 then
16302 EXTRACFLAGS="-Wall -pipe"
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16305 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16306 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16307 $as_echo_n "(cached) " >&6
16308 else
16309 if test "$cross_compiling" = yes; then :
16310 ac_cv_c_gcc_strength_bug="no"
16311 else
16312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16313 /* end confdefs.h. */
16314 int L[4] = {0,1,2,3};
16316 main ()
16318 static int Array[3];
16319 unsigned int B = 3;
16320 int i;
16321 for(i=0; i<B; i++) Array[i] = i - 3;
16322 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16323 L[i] = 4;
16324 return (Array[1] != -2 || L[2] != 3)
16326 return 0;
16328 _ACEOF
16329 if ac_fn_c_try_run "$LINENO"; then :
16330 ac_cv_c_gcc_strength_bug="no"
16331 else
16332 ac_cv_c_gcc_strength_bug="yes"
16334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16335 conftest.$ac_objext conftest.beam conftest.$ac_ext
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16340 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16341 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16342 then
16343 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
16347 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
16348 if ${ac_cv_cflags__fno_builtin+:} false; then :
16349 $as_echo_n "(cached) " >&6
16350 else
16351 ac_wine_try_cflags_saved=$CFLAGS
16352 CFLAGS="$CFLAGS -fno-builtin"
16353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16354 /* end confdefs.h. */
16355 int main(int argc, char **argv) { return 0; }
16356 _ACEOF
16357 if ac_fn_c_try_link "$LINENO"; then :
16358 ac_cv_cflags__fno_builtin=yes
16359 else
16360 ac_cv_cflags__fno_builtin=no
16362 rm -f core conftest.err conftest.$ac_objext \
16363 conftest$ac_exeext conftest.$ac_ext
16364 CFLAGS=$ac_wine_try_cflags_saved
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
16367 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
16368 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
16369 BUILTINFLAG="-fno-builtin"
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16373 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16374 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16375 $as_echo_n "(cached) " >&6
16376 else
16377 ac_wine_try_cflags_saved=$CFLAGS
16378 CFLAGS="$CFLAGS -fno-strict-aliasing"
16379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16381 int main(int argc, char **argv) { return 0; }
16382 _ACEOF
16383 if ac_fn_c_try_link "$LINENO"; then :
16384 ac_cv_cflags__fno_strict_aliasing=yes
16385 else
16386 ac_cv_cflags__fno_strict_aliasing=no
16388 rm -f core conftest.err conftest.$ac_objext \
16389 conftest$ac_exeext conftest.$ac_ext
16390 CFLAGS=$ac_wine_try_cflags_saved
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16393 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16394 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16395 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16398 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16399 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16400 $as_echo_n "(cached) " >&6
16401 else
16402 ac_wine_try_cflags_saved=$CFLAGS
16403 CFLAGS="$CFLAGS -fexcess-precision=standard"
16404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16405 /* end confdefs.h. */
16406 int main(int argc, char **argv) { return 0; }
16407 _ACEOF
16408 if ac_fn_c_try_link "$LINENO"; then :
16409 ac_cv_cflags__fexcess_precision_standard=yes
16410 else
16411 ac_cv_cflags__fexcess_precision_standard=no
16413 rm -f core conftest.err conftest.$ac_objext \
16414 conftest$ac_exeext conftest.$ac_ext
16415 CFLAGS=$ac_wine_try_cflags_saved
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16418 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16419 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16420 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16423 saved_CFLAGS=$CFLAGS
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16425 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16426 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16427 $as_echo_n "(cached) " >&6
16428 else
16429 ac_wine_try_cflags_saved=$CFLAGS
16430 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16432 /* end confdefs.h. */
16433 int main(int argc, char **argv) { return 0; }
16434 _ACEOF
16435 if ac_fn_c_try_link "$LINENO"; then :
16436 ac_cv_cflags__Werror_unknown_warning_option=yes
16437 else
16438 ac_cv_cflags__Werror_unknown_warning_option=no
16440 rm -f core conftest.err conftest.$ac_objext \
16441 conftest$ac_exeext conftest.$ac_ext
16442 CFLAGS=$ac_wine_try_cflags_saved
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16445 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16446 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16447 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16450 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16451 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16452 $as_echo_n "(cached) " >&6
16453 else
16454 ac_wine_try_cflags_saved=$CFLAGS
16455 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16457 /* end confdefs.h. */
16458 int main(int argc, char **argv) { return 0; }
16459 _ACEOF
16460 if ac_fn_c_try_link "$LINENO"; then :
16461 ac_cv_cflags__Wdeclaration_after_statement=yes
16462 else
16463 ac_cv_cflags__Wdeclaration_after_statement=no
16465 rm -f core conftest.err conftest.$ac_objext \
16466 conftest$ac_exeext conftest.$ac_ext
16467 CFLAGS=$ac_wine_try_cflags_saved
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16470 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16471 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16472 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16475 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16476 if ${ac_cv_cflags__Wempty_body+:} false; then :
16477 $as_echo_n "(cached) " >&6
16478 else
16479 ac_wine_try_cflags_saved=$CFLAGS
16480 CFLAGS="$CFLAGS -Wempty-body"
16481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16482 /* end confdefs.h. */
16483 int main(int argc, char **argv) { return 0; }
16484 _ACEOF
16485 if ac_fn_c_try_link "$LINENO"; then :
16486 ac_cv_cflags__Wempty_body=yes
16487 else
16488 ac_cv_cflags__Wempty_body=no
16490 rm -f core conftest.err conftest.$ac_objext \
16491 conftest$ac_exeext conftest.$ac_ext
16492 CFLAGS=$ac_wine_try_cflags_saved
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16495 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16496 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16497 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16500 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16501 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16502 $as_echo_n "(cached) " >&6
16503 else
16504 ac_wine_try_cflags_saved=$CFLAGS
16505 CFLAGS="$CFLAGS -Wignored-qualifiers"
16506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16507 /* end confdefs.h. */
16508 int main(int argc, char **argv) { return 0; }
16509 _ACEOF
16510 if ac_fn_c_try_link "$LINENO"; then :
16511 ac_cv_cflags__Wignored_qualifiers=yes
16512 else
16513 ac_cv_cflags__Wignored_qualifiers=no
16515 rm -f core conftest.err conftest.$ac_objext \
16516 conftest$ac_exeext conftest.$ac_ext
16517 CFLAGS=$ac_wine_try_cflags_saved
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16520 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16521 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16522 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16525 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16526 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16527 $as_echo_n "(cached) " >&6
16528 else
16529 ac_wine_try_cflags_saved=$CFLAGS
16530 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16532 /* end confdefs.h. */
16533 int main(int argc, char **argv) { return 0; }
16534 _ACEOF
16535 if ac_fn_c_try_link "$LINENO"; then :
16536 ac_cv_cflags__Wpacked_not_aligned=yes
16537 else
16538 ac_cv_cflags__Wpacked_not_aligned=no
16540 rm -f core conftest.err conftest.$ac_objext \
16541 conftest$ac_exeext conftest.$ac_ext
16542 CFLAGS=$ac_wine_try_cflags_saved
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
16545 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
16546 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
16547 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
16550 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
16551 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
16552 $as_echo_n "(cached) " >&6
16553 else
16554 ac_wine_try_cflags_saved=$CFLAGS
16555 CFLAGS="$CFLAGS -Wpragma-pack"
16556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16557 /* end confdefs.h. */
16558 int main(int argc, char **argv) { return 0; }
16559 _ACEOF
16560 if ac_fn_c_try_link "$LINENO"; then :
16561 ac_cv_cflags__Wpragma_pack=yes
16562 else
16563 ac_cv_cflags__Wpragma_pack=no
16565 rm -f core conftest.err conftest.$ac_objext \
16566 conftest$ac_exeext conftest.$ac_ext
16567 CFLAGS=$ac_wine_try_cflags_saved
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
16570 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
16571 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
16572 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
16575 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
16576 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
16577 $as_echo_n "(cached) " >&6
16578 else
16579 ac_wine_try_cflags_saved=$CFLAGS
16580 CFLAGS="$CFLAGS -Wshift-overflow=2"
16581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16582 /* end confdefs.h. */
16583 int main(int argc, char **argv) { return 0; }
16584 _ACEOF
16585 if ac_fn_c_try_link "$LINENO"; then :
16586 ac_cv_cflags__Wshift_overflow_2=yes
16587 else
16588 ac_cv_cflags__Wshift_overflow_2=no
16590 rm -f core conftest.err conftest.$ac_objext \
16591 conftest$ac_exeext conftest.$ac_ext
16592 CFLAGS=$ac_wine_try_cflags_saved
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16595 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16596 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16597 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16600 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16601 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16602 $as_echo_n "(cached) " >&6
16603 else
16604 ac_wine_try_cflags_saved=$CFLAGS
16605 CFLAGS="$CFLAGS -Wstrict-prototypes"
16606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16608 int main(int argc, char **argv) { return 0; }
16609 _ACEOF
16610 if ac_fn_c_try_link "$LINENO"; then :
16611 ac_cv_cflags__Wstrict_prototypes=yes
16612 else
16613 ac_cv_cflags__Wstrict_prototypes=no
16615 rm -f core conftest.err conftest.$ac_objext \
16616 conftest$ac_exeext conftest.$ac_ext
16617 CFLAGS=$ac_wine_try_cflags_saved
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16620 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16621 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16622 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16625 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16626 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16627 $as_echo_n "(cached) " >&6
16628 else
16629 ac_wine_try_cflags_saved=$CFLAGS
16630 CFLAGS="$CFLAGS -Wtype-limits"
16631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16632 /* end confdefs.h. */
16633 int main(int argc, char **argv) { return 0; }
16634 _ACEOF
16635 if ac_fn_c_try_link "$LINENO"; then :
16636 ac_cv_cflags__Wtype_limits=yes
16637 else
16638 ac_cv_cflags__Wtype_limits=no
16640 rm -f core conftest.err conftest.$ac_objext \
16641 conftest$ac_exeext conftest.$ac_ext
16642 CFLAGS=$ac_wine_try_cflags_saved
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16645 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16646 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16647 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16650 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16651 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16652 $as_echo_n "(cached) " >&6
16653 else
16654 ac_wine_try_cflags_saved=$CFLAGS
16655 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16657 /* end confdefs.h. */
16658 int main(int argc, char **argv) { return 0; }
16659 _ACEOF
16660 if ac_fn_c_try_link "$LINENO"; then :
16661 ac_cv_cflags__Wunused_but_set_parameter=yes
16662 else
16663 ac_cv_cflags__Wunused_but_set_parameter=no
16665 rm -f core conftest.err conftest.$ac_objext \
16666 conftest$ac_exeext conftest.$ac_ext
16667 CFLAGS=$ac_wine_try_cflags_saved
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16670 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16671 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16672 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16675 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16676 if ${ac_cv_cflags__Wvla+:} false; then :
16677 $as_echo_n "(cached) " >&6
16678 else
16679 ac_wine_try_cflags_saved=$CFLAGS
16680 CFLAGS="$CFLAGS -Wvla"
16681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16682 /* end confdefs.h. */
16683 int main(int argc, char **argv) { return 0; }
16684 _ACEOF
16685 if ac_fn_c_try_link "$LINENO"; then :
16686 ac_cv_cflags__Wvla=yes
16687 else
16688 ac_cv_cflags__Wvla=no
16690 rm -f core conftest.err conftest.$ac_objext \
16691 conftest$ac_exeext conftest.$ac_ext
16692 CFLAGS=$ac_wine_try_cflags_saved
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16695 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16696 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16697 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16700 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16701 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16702 $as_echo_n "(cached) " >&6
16703 else
16704 ac_wine_try_cflags_saved=$CFLAGS
16705 CFLAGS="$CFLAGS -Wwrite-strings"
16706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16707 /* end confdefs.h. */
16708 int main(int argc, char **argv) { return 0; }
16709 _ACEOF
16710 if ac_fn_c_try_link "$LINENO"; then :
16711 ac_cv_cflags__Wwrite_strings=yes
16712 else
16713 ac_cv_cflags__Wwrite_strings=no
16715 rm -f core conftest.err conftest.$ac_objext \
16716 conftest$ac_exeext conftest.$ac_ext
16717 CFLAGS=$ac_wine_try_cflags_saved
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16720 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16721 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16722 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16726 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16727 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16728 $as_echo_n "(cached) " >&6
16729 else
16730 ac_wine_try_cflags_saved=$CFLAGS
16731 CFLAGS="$CFLAGS -Wpointer-arith"
16732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16733 /* end confdefs.h. */
16734 int main(int argc, char **argv) { return 0; }
16735 _ACEOF
16736 if ac_fn_c_try_link "$LINENO"; then :
16737 ac_cv_cflags__Wpointer_arith=yes
16738 else
16739 ac_cv_cflags__Wpointer_arith=no
16741 rm -f core conftest.err conftest.$ac_objext \
16742 conftest$ac_exeext conftest.$ac_ext
16743 CFLAGS=$ac_wine_try_cflags_saved
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16746 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16747 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16748 saved_string_h_CFLAGS=$CFLAGS
16749 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16751 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16752 if ${ac_cv_c_string_h_warnings+:} false; then :
16753 $as_echo_n "(cached) " >&6
16754 else
16755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16756 /* end confdefs.h. */
16757 #include <string.h>
16759 main ()
16763 return 0;
16765 _ACEOF
16766 if ac_fn_c_try_compile "$LINENO"; then :
16767 ac_cv_c_string_h_warnings=no
16768 else
16769 ac_cv_c_string_h_warnings=yes
16771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16774 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
16775 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16776 CFLAGS=$saved_string_h_CFLAGS
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
16780 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
16781 if ${ac_cv_cflags__Wlogical_op+:} false; then :
16782 $as_echo_n "(cached) " >&6
16783 else
16784 ac_wine_try_cflags_saved=$CFLAGS
16785 CFLAGS="$CFLAGS -Wlogical-op"
16786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16787 /* end confdefs.h. */
16788 int main(int argc, char **argv) { return 0; }
16789 _ACEOF
16790 if ac_fn_c_try_link "$LINENO"; then :
16791 ac_cv_cflags__Wlogical_op=yes
16792 else
16793 ac_cv_cflags__Wlogical_op=no
16795 rm -f core conftest.err conftest.$ac_objext \
16796 conftest$ac_exeext conftest.$ac_ext
16797 CFLAGS=$ac_wine_try_cflags_saved
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
16800 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
16801 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
16802 saved_string_h_CFLAGS=$CFLAGS
16803 CFLAGS="$CFLAGS -Wlogical-op -Werror"
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
16805 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
16806 if ${ac_cv_c_logicalop_noisy+:} false; then :
16807 $as_echo_n "(cached) " >&6
16808 else
16809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16810 /* end confdefs.h. */
16811 #include <string.h>
16812 char*f(const char *h,char n) {return strchr(h,n);}
16814 main ()
16818 return 0;
16820 _ACEOF
16821 if ac_fn_c_try_compile "$LINENO"; then :
16822 ac_cv_c_logicalop_noisy=no
16823 else
16824 ac_cv_c_logicalop_noisy=yes
16826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
16829 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
16830 CFLAGS=$saved_string_h_CFLAGS
16831 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
16834 CFLAGS=$saved_CFLAGS
16836 for ac_flag in $CFLAGS; do
16837 case $ac_flag in
16838 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
16839 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
16840 if ${ac_cv_cflags__gdwarf_2+:} false; then :
16841 $as_echo_n "(cached) " >&6
16842 else
16843 ac_wine_try_cflags_saved=$CFLAGS
16844 CFLAGS="$CFLAGS -gdwarf-2"
16845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16846 /* end confdefs.h. */
16847 int main(int argc, char **argv) { return 0; }
16848 _ACEOF
16849 if ac_fn_c_try_link "$LINENO"; then :
16850 ac_cv_cflags__gdwarf_2=yes
16851 else
16852 ac_cv_cflags__gdwarf_2=no
16854 rm -f core conftest.err conftest.$ac_objext \
16855 conftest$ac_exeext conftest.$ac_ext
16856 CFLAGS=$ac_wine_try_cflags_saved
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16859 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16860 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16861 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16864 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16865 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16866 $as_echo_n "(cached) " >&6
16867 else
16868 ac_wine_try_cflags_saved=$CFLAGS
16869 CFLAGS="$CFLAGS -gstrict-dwarf"
16870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16871 /* end confdefs.h. */
16872 int main(int argc, char **argv) { return 0; }
16873 _ACEOF
16874 if ac_fn_c_try_link "$LINENO"; then :
16875 ac_cv_cflags__gstrict_dwarf=yes
16876 else
16877 ac_cv_cflags__gstrict_dwarf=no
16879 rm -f core conftest.err conftest.$ac_objext \
16880 conftest$ac_exeext conftest.$ac_ext
16881 CFLAGS=$ac_wine_try_cflags_saved
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16884 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16885 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16886 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16887 fi ;;
16888 esac
16889 done
16891 case $host_cpu in
16892 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16893 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16894 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16895 $as_echo_n "(cached) " >&6
16896 else
16897 ac_wine_try_cflags_saved=$CFLAGS
16898 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 /* end confdefs.h. */
16901 int main(int argc, char **argv) { return 0; }
16902 _ACEOF
16903 if ac_fn_c_try_link "$LINENO"; then :
16904 ac_cv_cflags__fno_omit_frame_pointer=yes
16905 else
16906 ac_cv_cflags__fno_omit_frame_pointer=no
16908 rm -f core conftest.err conftest.$ac_objext \
16909 conftest$ac_exeext conftest.$ac_ext
16910 CFLAGS=$ac_wine_try_cflags_saved
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16913 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16914 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16915 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16916 fi ;;
16917 esac
16919 case $host in
16920 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16921 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16922 if ${ac_cv_cflags__Wno_format+:} false; then :
16923 $as_echo_n "(cached) " >&6
16924 else
16925 ac_wine_try_cflags_saved=$CFLAGS
16926 CFLAGS="$CFLAGS -Wno-format"
16927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16928 /* end confdefs.h. */
16929 int main(int argc, char **argv) { return 0; }
16930 _ACEOF
16931 if ac_fn_c_try_link "$LINENO"; then :
16932 ac_cv_cflags__Wno_format=yes
16933 else
16934 ac_cv_cflags__Wno_format=no
16936 rm -f core conftest.err conftest.$ac_objext \
16937 conftest$ac_exeext conftest.$ac_ext
16938 CFLAGS=$ac_wine_try_cflags_saved
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16941 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16942 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16943 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16944 fi ;;
16945 esac
16947 if test "x$enable_maintainer_mode" = "xyes"
16948 then
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16950 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16951 if ${ac_cv_cflags__Werror+:} false; then :
16952 $as_echo_n "(cached) " >&6
16953 else
16954 ac_wine_try_cflags_saved=$CFLAGS
16955 CFLAGS="$CFLAGS -Werror"
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16958 int main(int argc, char **argv) { return 0; }
16959 _ACEOF
16960 if ac_fn_c_try_link "$LINENO"; then :
16961 ac_cv_cflags__Werror=yes
16962 else
16963 ac_cv_cflags__Werror=no
16965 rm -f core conftest.err conftest.$ac_objext \
16966 conftest$ac_exeext conftest.$ac_ext
16967 CFLAGS=$ac_wine_try_cflags_saved
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16970 $as_echo "$ac_cv_cflags__Werror" >&6; }
16971 if test "x$ac_cv_cflags__Werror" = xyes; then :
16972 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16976 saved_CFLAGS="$CFLAGS"
16977 CFLAGS="$CFLAGS -Werror"
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16979 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16980 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16981 $as_echo_n "(cached) " >&6
16982 else
16983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h. */
16985 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16987 main ()
16991 return 0;
16993 _ACEOF
16994 if ac_fn_c_try_compile "$LINENO"; then :
16995 ac_cv_have_ms_hook_prologue="yes"
16996 else
16997 ac_cv_have_ms_hook_prologue="no"
16999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
17002 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
17003 CFLAGS="$saved_CFLAGS"
17004 if test "$ac_cv_have_ms_hook_prologue" = "yes"
17005 then
17007 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
17009 else
17010 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17017 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17018 if ${ac_cv_c_fortify_enabled+:} false; then :
17019 $as_echo_n "(cached) " >&6
17020 else
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 #include <string.h>
17025 main ()
17027 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17028 #error Fortify enabled
17029 #endif
17031 return 0;
17033 _ACEOF
17034 if ac_fn_c_try_compile "$LINENO"; then :
17035 ac_cv_c_fortify_enabled=no
17036 else
17037 ac_cv_c_fortify_enabled=yes
17039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17042 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17043 if test "$ac_cv_c_fortify_enabled" = yes
17044 then
17045 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
17050 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
17051 if ${ac_cv_c_extern_prefix+:} false; then :
17052 $as_echo_n "(cached) " >&6
17053 else
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 extern int ac_test;
17058 main ()
17060 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
17062 return 0;
17064 _ACEOF
17065 if ac_fn_c_try_link "$LINENO"; then :
17066 ac_cv_c_extern_prefix="yes"
17067 else
17068 ac_cv_c_extern_prefix="no"
17070 rm -f core conftest.err conftest.$ac_objext \
17071 conftest$ac_exeext conftest.$ac_ext
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
17074 $as_echo "$ac_cv_c_extern_prefix" >&6; }
17076 case $host_cpu in
17077 *i[3456789]86*)
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
17079 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
17080 if ${ac_cv_c_stdcall_suffix+:} false; then :
17081 $as_echo_n "(cached) " >&6
17082 else
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 #ifndef _MSC_VER
17086 #define __stdcall __attribute__((__stdcall__))
17087 #endif
17088 int __stdcall ac_test(int i) { return i; }
17090 main ()
17092 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
17094 return 0;
17096 _ACEOF
17097 if ac_fn_c_try_link "$LINENO"; then :
17098 ac_cv_c_stdcall_suffix="yes"
17099 else
17100 ac_cv_c_stdcall_suffix="no"
17102 rm -f core conftest.err conftest.$ac_objext \
17103 conftest$ac_exeext conftest.$ac_ext
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
17106 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
17107 *) ac_cv_c_stdcall_suffix="no" ;;
17108 esac
17111 if test "$ac_cv_c_extern_prefix" = "yes"
17112 then
17113 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
17115 asm_name_prefix="_"
17116 else
17117 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
17119 asm_name_prefix=""
17123 if test "$ac_cv_c_stdcall_suffix" = "yes"
17124 then
17125 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
17127 else
17128 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
17134 $as_echo_n "checking how to define a function in assembly code... " >&6; }
17135 if ${ac_cv_asm_func_def+:} false; then :
17136 $as_echo_n "(cached) " >&6
17137 else
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17142 main ()
17144 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
17146 return 0;
17148 _ACEOF
17149 if ac_fn_c_try_link "$LINENO"; then :
17150 ac_cv_asm_func_def=".def"
17151 else
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17156 main ()
17158 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
17160 return 0;
17162 _ACEOF
17163 if ac_fn_c_try_link "$LINENO"; then :
17164 ac_cv_asm_func_def=".type @function"
17165 else
17166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17167 /* end confdefs.h. */
17170 main ()
17172 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
17174 return 0;
17176 _ACEOF
17177 if ac_fn_c_try_link "$LINENO"; then :
17178 ac_cv_asm_func_def=".type 2"
17179 else
17180 ac_cv_asm_func_def="unknown"
17182 rm -f core conftest.err conftest.$ac_objext \
17183 conftest$ac_exeext conftest.$ac_ext
17185 rm -f core conftest.err conftest.$ac_objext \
17186 conftest$ac_exeext conftest.$ac_ext
17188 rm -f core conftest.err conftest.$ac_objext \
17189 conftest$ac_exeext conftest.$ac_ext
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
17192 $as_echo "$ac_cv_asm_func_def" >&6; }
17194 case "$ac_cv_asm_func_def" in
17195 ".def")
17196 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
17197 ".type @function")
17198 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
17199 ".type 2")
17200 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
17202 asm_func_header="" ;;
17203 esac
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
17206 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
17207 if ${ac_cv_c_asm_outside_funcs+:} false; then :
17208 $as_echo_n "(cached) " >&6
17209 else
17210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17212 asm(".text\n\t.long 0");
17214 main ()
17218 return 0;
17220 _ACEOF
17221 if ac_fn_c_try_compile "$LINENO"; then :
17222 ac_cv_c_asm_outside_funcs="yes"
17223 else
17224 ac_cv_c_asm_outside_funcs="no"
17226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
17229 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
17232 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
17233 if ${ac_cv_c_dot_previous+:} false; then :
17234 $as_echo_n "(cached) " >&6
17235 else
17236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17237 /* end confdefs.h. */
17240 main ()
17242 asm(".text\nac_test:\t.long 0\n\t.previous");
17244 return 0;
17246 _ACEOF
17247 if ac_fn_c_try_link "$LINENO"; then :
17248 ac_cv_c_dot_previous="yes"
17249 else
17250 ac_cv_c_dot_previous="no"
17252 rm -f core conftest.err conftest.$ac_objext \
17253 conftest$ac_exeext conftest.$ac_ext
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
17256 $as_echo "$ac_cv_c_dot_previous" >&6; }
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17259 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17260 if ${ac_cv_c_cfi_support+:} false; then :
17261 $as_echo_n "(cached) " >&6
17262 else
17263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17264 /* end confdefs.h. */
17265 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17267 main ()
17271 return 0;
17273 _ACEOF
17274 if ac_fn_c_try_compile "$LINENO"; then :
17275 ac_cv_c_cfi_support="yes"
17276 else
17277 ac_cv_c_cfi_support="no"
17279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17282 $as_echo "$ac_cv_c_cfi_support" >&6; }
17284 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
17285 asm_func_trailer=""
17286 if test "$ac_cv_c_dot_previous" = "yes"
17287 then
17288 asm_func_trailer="\\n\\t.previous"
17290 if test "$ac_cv_c_cfi_support" = "yes"
17291 then
17292 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
17293 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
17295 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
17297 UNWINDFLAGS=-fasynchronous-unwind-tables
17299 else
17300 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
17302 if test "x$enable_win64" = "xyes"
17303 then
17304 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17308 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
17311 if test "$ac_cv_c_asm_outside_funcs" = "yes"
17312 then
17313 cat >>confdefs.h <<_ACEOF
17314 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
17315 _ACEOF
17317 else
17318 cat >>confdefs.h <<_ACEOF
17319 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
17320 _ACEOF
17324 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
17327 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
17331 case $build_os in
17332 cygwin*|mingw32*) TOOLSEXT=".exe"
17334 esac
17336 case $host_os in
17337 linux*)
17338 case $host_cpu in
17339 *i[3456789]86*|x86_64*|*aarch64*)
17340 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17341 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17343 esac
17345 esac
17348 ac_save_CFLAGS="$CFLAGS"
17349 CFLAGS="$CFLAGS $BUILTINFLAG"
17350 for ac_func in \
17351 __res_get_state \
17352 __res_getservers \
17353 _spawnvp \
17354 dlopen \
17355 epoll_create \
17356 ffs \
17357 finitef \
17358 fnmatch \
17359 fork \
17360 fpclass \
17361 fstatfs \
17362 fstatvfs \
17363 futimens \
17364 futimes \
17365 futimesat \
17366 getattrlist \
17367 getauxval \
17368 getifaddrs \
17369 getopt_long_only \
17370 kqueue \
17371 lstat \
17372 pipe2 \
17373 poll \
17374 port_create \
17375 prctl \
17376 pread \
17377 proc_pidinfo \
17378 pwrite \
17379 readdir \
17380 readlink \
17381 sched_yield \
17382 select \
17383 setproctitle \
17384 setprogname \
17385 settimeofday \
17386 sigprocmask \
17387 statfs \
17388 statvfs \
17389 strnlen \
17390 strtold \
17391 symlink \
17392 sysinfo \
17393 tcdrain \
17394 thr_kill2 \
17395 timegm \
17396 usleep
17398 do :
17399 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17400 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17401 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17402 cat >>confdefs.h <<_ACEOF
17403 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17404 _ACEOF
17407 done
17409 CFLAGS="$ac_save_CFLAGS"
17411 if test "$ac_cv_func_dlopen" = no
17412 then
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17414 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17415 if ${ac_cv_lib_dl_dlopen+:} false; then :
17416 $as_echo_n "(cached) " >&6
17417 else
17418 ac_check_lib_save_LIBS=$LIBS
17419 LIBS="-ldl $LIBS"
17420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17421 /* end confdefs.h. */
17423 /* Override any GCC internal prototype to avoid an error.
17424 Use char because int might match the return type of a GCC
17425 builtin and then its argument prototype would still apply. */
17426 #ifdef __cplusplus
17427 extern "C"
17428 #endif
17429 char dlopen ();
17431 main ()
17433 return dlopen ();
17435 return 0;
17437 _ACEOF
17438 if ac_fn_c_try_link "$LINENO"; then :
17439 ac_cv_lib_dl_dlopen=yes
17440 else
17441 ac_cv_lib_dl_dlopen=no
17443 rm -f core conftest.err conftest.$ac_objext \
17444 conftest$ac_exeext conftest.$ac_ext
17445 LIBS=$ac_check_lib_save_LIBS
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17448 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17449 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17450 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17451 DL_LIBS="-ldl"
17456 ac_wine_check_funcs_save_LIBS="$LIBS"
17457 LIBS="$LIBS $DL_LIBS"
17458 for ac_func in dladdr
17459 do :
17460 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17461 if test "x$ac_cv_func_dladdr" = xyes; then :
17462 cat >>confdefs.h <<_ACEOF
17463 #define HAVE_DLADDR 1
17464 _ACEOF
17467 done
17469 LIBS="$ac_wine_check_funcs_save_LIBS"
17471 if test "$ac_cv_func_poll" = no
17472 then
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17474 $as_echo_n "checking for poll in -lpoll... " >&6; }
17475 if ${ac_cv_lib_poll_poll+:} false; then :
17476 $as_echo_n "(cached) " >&6
17477 else
17478 ac_check_lib_save_LIBS=$LIBS
17479 LIBS="-lpoll $LIBS"
17480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17481 /* end confdefs.h. */
17483 /* Override any GCC internal prototype to avoid an error.
17484 Use char because int might match the return type of a GCC
17485 builtin and then its argument prototype would still apply. */
17486 #ifdef __cplusplus
17487 extern "C"
17488 #endif
17489 char poll ();
17491 main ()
17493 return poll ();
17495 return 0;
17497 _ACEOF
17498 if ac_fn_c_try_link "$LINENO"; then :
17499 ac_cv_lib_poll_poll=yes
17500 else
17501 ac_cv_lib_poll_poll=no
17503 rm -f core conftest.err conftest.$ac_objext \
17504 conftest$ac_exeext conftest.$ac_ext
17505 LIBS=$ac_check_lib_save_LIBS
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17508 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17509 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17510 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17511 POLL_LIBS="-lpoll"
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17518 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17519 if ${ac_cv_search_gethostbyname+:} false; then :
17520 $as_echo_n "(cached) " >&6
17521 else
17522 ac_func_search_save_LIBS=$LIBS
17523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17524 /* end confdefs.h. */
17526 /* Override any GCC internal prototype to avoid an error.
17527 Use char because int might match the return type of a GCC
17528 builtin and then its argument prototype would still apply. */
17529 #ifdef __cplusplus
17530 extern "C"
17531 #endif
17532 char gethostbyname ();
17534 main ()
17536 return gethostbyname ();
17538 return 0;
17540 _ACEOF
17541 for ac_lib in '' nsl; do
17542 if test -z "$ac_lib"; then
17543 ac_res="none required"
17544 else
17545 ac_res=-l$ac_lib
17546 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17548 if ac_fn_c_try_link "$LINENO"; then :
17549 ac_cv_search_gethostbyname=$ac_res
17551 rm -f core conftest.err conftest.$ac_objext \
17552 conftest$ac_exeext
17553 if ${ac_cv_search_gethostbyname+:} false; then :
17554 break
17556 done
17557 if ${ac_cv_search_gethostbyname+:} false; then :
17559 else
17560 ac_cv_search_gethostbyname=no
17562 rm conftest.$ac_ext
17563 LIBS=$ac_func_search_save_LIBS
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17566 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17567 ac_res=$ac_cv_search_gethostbyname
17568 if test "$ac_res" != no; then :
17569 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17575 $as_echo_n "checking for library containing connect... " >&6; }
17576 if ${ac_cv_search_connect+:} false; then :
17577 $as_echo_n "(cached) " >&6
17578 else
17579 ac_func_search_save_LIBS=$LIBS
17580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17581 /* end confdefs.h. */
17583 /* Override any GCC internal prototype to avoid an error.
17584 Use char because int might match the return type of a GCC
17585 builtin and then its argument prototype would still apply. */
17586 #ifdef __cplusplus
17587 extern "C"
17588 #endif
17589 char connect ();
17591 main ()
17593 return connect ();
17595 return 0;
17597 _ACEOF
17598 for ac_lib in '' socket; do
17599 if test -z "$ac_lib"; then
17600 ac_res="none required"
17601 else
17602 ac_res=-l$ac_lib
17603 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17605 if ac_fn_c_try_link "$LINENO"; then :
17606 ac_cv_search_connect=$ac_res
17608 rm -f core conftest.err conftest.$ac_objext \
17609 conftest$ac_exeext
17610 if ${ac_cv_search_connect+:} false; then :
17611 break
17613 done
17614 if ${ac_cv_search_connect+:} false; then :
17616 else
17617 ac_cv_search_connect=no
17619 rm conftest.$ac_ext
17620 LIBS=$ac_func_search_save_LIBS
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17623 $as_echo "$ac_cv_search_connect" >&6; }
17624 ac_res=$ac_cv_search_connect
17625 if test "$ac_res" != no; then :
17626 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17632 $as_echo_n "checking for library containing inet_aton... " >&6; }
17633 if ${ac_cv_search_inet_aton+:} false; then :
17634 $as_echo_n "(cached) " >&6
17635 else
17636 ac_func_search_save_LIBS=$LIBS
17637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17640 /* Override any GCC internal prototype to avoid an error.
17641 Use char because int might match the return type of a GCC
17642 builtin and then its argument prototype would still apply. */
17643 #ifdef __cplusplus
17644 extern "C"
17645 #endif
17646 char inet_aton ();
17648 main ()
17650 return inet_aton ();
17652 return 0;
17654 _ACEOF
17655 for ac_lib in '' resolv; do
17656 if test -z "$ac_lib"; then
17657 ac_res="none required"
17658 else
17659 ac_res=-l$ac_lib
17660 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17662 if ac_fn_c_try_link "$LINENO"; then :
17663 ac_cv_search_inet_aton=$ac_res
17665 rm -f core conftest.err conftest.$ac_objext \
17666 conftest$ac_exeext
17667 if ${ac_cv_search_inet_aton+:} false; then :
17668 break
17670 done
17671 if ${ac_cv_search_inet_aton+:} false; then :
17673 else
17674 ac_cv_search_inet_aton=no
17676 rm conftest.$ac_ext
17677 LIBS=$ac_func_search_save_LIBS
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17680 $as_echo "$ac_cv_search_inet_aton" >&6; }
17681 ac_res=$ac_cv_search_inet_aton
17682 if test "$ac_res" != no; then :
17683 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17688 for ac_func in \
17689 getaddrinfo \
17690 getnameinfo \
17691 getnetbyname \
17692 getprotobyname \
17693 getprotobynumber \
17694 getservbyport \
17695 inet_addr \
17696 inet_network \
17697 inet_ntop \
17698 inet_pton \
17700 do :
17701 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17702 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17703 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17704 cat >>confdefs.h <<_ACEOF
17705 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17706 _ACEOF
17709 done
17712 ac_save_LIBS=$LIBS
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17714 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17715 if ${ac_cv_search_clock_gettime+:} false; then :
17716 $as_echo_n "(cached) " >&6
17717 else
17718 ac_func_search_save_LIBS=$LIBS
17719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17722 /* Override any GCC internal prototype to avoid an error.
17723 Use char because int might match the return type of a GCC
17724 builtin and then its argument prototype would still apply. */
17725 #ifdef __cplusplus
17726 extern "C"
17727 #endif
17728 char clock_gettime ();
17730 main ()
17732 return clock_gettime ();
17734 return 0;
17736 _ACEOF
17737 for ac_lib in '' rt; do
17738 if test -z "$ac_lib"; then
17739 ac_res="none required"
17740 else
17741 ac_res=-l$ac_lib
17742 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17744 if ac_fn_c_try_link "$LINENO"; then :
17745 ac_cv_search_clock_gettime=$ac_res
17747 rm -f core conftest.err conftest.$ac_objext \
17748 conftest$ac_exeext
17749 if ${ac_cv_search_clock_gettime+:} false; then :
17750 break
17752 done
17753 if ${ac_cv_search_clock_gettime+:} false; then :
17755 else
17756 ac_cv_search_clock_gettime=no
17758 rm conftest.$ac_ext
17759 LIBS=$ac_func_search_save_LIBS
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17762 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17763 ac_res=$ac_cv_search_clock_gettime
17764 if test "$ac_res" != no; then :
17765 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17767 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17769 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17773 LIBS=$ac_save_LIBS
17775 if test "x$with_ldap" != "xno"
17776 then
17777 if ${LDAP_CFLAGS:+false} :; then :
17778 if ${PKG_CONFIG+:} false; then :
17779 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17783 if ${LDAP_LIBS:+false} :; then :
17784 if ${PKG_CONFIG+:} false; then :
17785 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17789 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17790 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17791 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17792 ac_save_CPPFLAGS=$CPPFLAGS
17793 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17794 for ac_header in ldap.h lber.h
17795 do :
17796 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17797 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17798 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17799 cat >>confdefs.h <<_ACEOF
17800 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17801 _ACEOF
17805 done
17807 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17808 then
17809 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17811 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17813 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17814 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17815 $as_echo_n "(cached) " >&6
17816 else
17817 ac_check_lib_save_LIBS=$LIBS
17818 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17820 /* end confdefs.h. */
17822 /* Override any GCC internal prototype to avoid an error.
17823 Use char because int might match the return type of a GCC
17824 builtin and then its argument prototype would still apply. */
17825 #ifdef __cplusplus
17826 extern "C"
17827 #endif
17828 char ldap_initialize ();
17830 main ()
17832 return ldap_initialize ();
17834 return 0;
17836 _ACEOF
17837 if ac_fn_c_try_link "$LINENO"; then :
17838 ac_cv_lib_ldap_r_ldap_initialize=yes
17839 else
17840 ac_cv_lib_ldap_r_ldap_initialize=no
17842 rm -f core conftest.err conftest.$ac_objext \
17843 conftest$ac_exeext conftest.$ac_ext
17844 LIBS=$ac_check_lib_save_LIBS
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17847 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17848 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17850 $as_echo_n "checking for ber_init in -llber... " >&6; }
17851 if ${ac_cv_lib_lber_ber_init+:} false; then :
17852 $as_echo_n "(cached) " >&6
17853 else
17854 ac_check_lib_save_LIBS=$LIBS
17855 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17857 /* end confdefs.h. */
17859 /* Override any GCC internal prototype to avoid an error.
17860 Use char because int might match the return type of a GCC
17861 builtin and then its argument prototype would still apply. */
17862 #ifdef __cplusplus
17863 extern "C"
17864 #endif
17865 char ber_init ();
17867 main ()
17869 return ber_init ();
17871 return 0;
17873 _ACEOF
17874 if ac_fn_c_try_link "$LINENO"; then :
17875 ac_cv_lib_lber_ber_init=yes
17876 else
17877 ac_cv_lib_lber_ber_init=no
17879 rm -f core conftest.err conftest.$ac_objext \
17880 conftest$ac_exeext conftest.$ac_ext
17881 LIBS=$ac_check_lib_save_LIBS
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17884 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17885 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17887 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17889 else
17890 LDAP_LIBS=""
17893 else
17894 LDAP_LIBS=""
17897 else
17898 LDAP_LIBS=""
17901 ac_wine_check_funcs_save_LIBS="$LIBS"
17902 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17903 for ac_func in \
17904 ldap_count_references \
17905 ldap_first_reference \
17906 ldap_next_reference \
17907 ldap_parse_reference \
17908 ldap_parse_sort_control \
17909 ldap_parse_sortresponse_control \
17910 ldap_parse_vlv_control \
17911 ldap_parse_vlvresponse_control
17912 do :
17913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17915 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17916 cat >>confdefs.h <<_ACEOF
17917 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17918 _ACEOF
17921 done
17923 LIBS="$ac_wine_check_funcs_save_LIBS"
17924 else
17925 LDAP_LIBS=""
17927 CPPFLAGS=$ac_save_CPPFLAGS
17928 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17929 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17932 if test "x$LDAP_LIBS" = "x"; then :
17933 case "x$with_ldap" in
17934 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17935 xno) ;;
17936 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17937 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17938 esac
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17943 $as_echo_n "checking for sched_setaffinity... " >&6; }
17944 if ${wine_cv_have_sched_setaffinity+:} false; then :
17945 $as_echo_n "(cached) " >&6
17946 else
17947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17948 /* end confdefs.h. */
17949 #define _GNU_SOURCE
17950 #include <sched.h>
17952 main ()
17954 sched_setaffinity(0, 0, 0);
17956 return 0;
17958 _ACEOF
17959 if ac_fn_c_try_link "$LINENO"; then :
17960 wine_cv_have_sched_setaffinity=yes
17961 else
17962 wine_cv_have_sched_setaffinity=no
17964 rm -f core conftest.err conftest.$ac_objext \
17965 conftest$ac_exeext conftest.$ac_ext
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17968 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17969 if test "$wine_cv_have_sched_setaffinity" = "yes"
17970 then
17972 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17977 $as_echo_n "checking for fallocate... " >&6; }
17978 if ${wine_cv_have_fallocate+:} false; then :
17979 $as_echo_n "(cached) " >&6
17980 else
17981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17982 /* end confdefs.h. */
17983 #define _GNU_SOURCE
17984 #include <fcntl.h>
17986 main ()
17988 fallocate(-1, 0, 0, 0);
17990 return 0;
17992 _ACEOF
17993 if ac_fn_c_try_link "$LINENO"; then :
17994 wine_cv_have_fallocate=yes
17995 else
17996 wine_cv_have_fallocate=no
17998 rm -f core conftest.err conftest.$ac_objext \
17999 conftest$ac_exeext conftest.$ac_ext
18001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18002 $as_echo "$wine_cv_have_fallocate" >&6; }
18003 if test "$wine_cv_have_fallocate" = "yes"
18004 then
18006 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18012 $as_echo_n "checking for inline... " >&6; }
18013 if ${ac_cv_c_inline+:} false; then :
18014 $as_echo_n "(cached) " >&6
18015 else
18016 ac_cv_c_inline=no
18017 for ac_kw in inline __inline__ __inline; do
18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18019 /* end confdefs.h. */
18020 #ifndef __cplusplus
18021 typedef int foo_t;
18022 static $ac_kw foo_t static_foo () {return 0; }
18023 $ac_kw foo_t foo () {return 0; }
18024 #endif
18026 _ACEOF
18027 if ac_fn_c_try_compile "$LINENO"; then :
18028 ac_cv_c_inline=$ac_kw
18030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18031 test "$ac_cv_c_inline" != no && break
18032 done
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18036 $as_echo "$ac_cv_c_inline" >&6; }
18038 case $ac_cv_c_inline in
18039 inline | yes) ;;
18041 case $ac_cv_c_inline in
18042 no) ac_val=;;
18043 *) ac_val=$ac_cv_c_inline;;
18044 esac
18045 cat >>confdefs.h <<_ACEOF
18046 #ifndef __cplusplus
18047 #define inline $ac_val
18048 #endif
18049 _ACEOF
18051 esac
18053 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18054 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18056 cat >>confdefs.h <<_ACEOF
18057 #define HAVE_FSBLKCNT_T 1
18058 _ACEOF
18062 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18063 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18065 cat >>confdefs.h <<_ACEOF
18066 #define HAVE_FSFILCNT_T 1
18067 _ACEOF
18072 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18073 #include <signal.h>
18075 if test "x$ac_cv_type_sigset_t" = xyes; then :
18077 cat >>confdefs.h <<_ACEOF
18078 #define HAVE_SIGSET_T 1
18079 _ACEOF
18084 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18086 if test "x$ac_cv_type_request_sense" = xyes; then :
18088 cat >>confdefs.h <<_ACEOF
18089 #define HAVE_REQUEST_SENSE 1
18090 _ACEOF
18096 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18097 #ifdef HAVE_SYS_SOCKET_H
18098 #include <sys/socket.h>
18099 #endif
18100 #ifdef HAVE_SYS_SOCKETVAR_H
18101 #include <sys/socketvar.h>
18102 #endif
18103 #ifdef HAVE_NET_ROUTE_H
18104 #include <net/route.h>
18105 #endif
18106 #ifdef HAVE_NETINET_IN_H
18107 #include <netinet/in.h>
18108 #endif
18109 #ifdef HAVE_NETINET_IN_SYSTM_H
18110 #include <netinet/in_systm.h>
18111 #endif
18112 #ifdef HAVE_NETINET_IP_H
18113 #include <netinet/ip.h>
18114 #endif
18115 #ifdef HAVE_NETINET_IN_PCB_H
18116 #include <netinet/in_pcb.h>
18117 #endif
18119 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18121 cat >>confdefs.h <<_ACEOF
18122 #define HAVE_STRUCT_XINPGEN 1
18123 _ACEOF
18129 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18130 #include <link.h>
18131 #endif
18132 #ifdef HAVE_SYS_LINK_H
18133 #include <sys/link.h>
18134 #endif
18136 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18138 cat >>confdefs.h <<_ACEOF
18139 #define HAVE_STRUCT_R_DEBUG 1
18140 _ACEOF
18144 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18145 #include <link.h>
18146 #endif
18147 #ifdef HAVE_SYS_LINK_H
18148 #include <sys/link.h>
18149 #endif
18151 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18153 cat >>confdefs.h <<_ACEOF
18154 #define HAVE_STRUCT_LINK_MAP 1
18155 _ACEOF
18161 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18162 #include <linux/input.h>
18163 #endif
18165 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18167 cat >>confdefs.h <<_ACEOF
18168 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18169 _ACEOF
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18176 $as_echo_n "checking for if_nameindex... " >&6; }
18177 if ${wine_cv_have_if_nameindex+:} false; then :
18178 $as_echo_n "(cached) " >&6
18179 else
18180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18181 /* end confdefs.h. */
18182 #ifdef HAVE_SYS_TYPES_H
18183 #include <sys/types.h>
18184 #endif
18185 #ifdef HAVE_SYS_SOCKET_H
18186 #include <sys/socket.h>
18187 #endif
18188 #ifdef HAVE_NET_IF_H
18189 # include <net/if.h>
18190 #endif
18192 main ()
18194 struct if_nameindex *p = if_nameindex(); return p->if_index;
18196 return 0;
18198 _ACEOF
18199 if ac_fn_c_try_link "$LINENO"; then :
18200 wine_cv_have_if_nameindex=yes
18201 else
18202 wine_cv_have_if_nameindex=no
18204 rm -f core conftest.err conftest.$ac_objext \
18205 conftest$ac_exeext conftest.$ac_ext
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18208 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18209 if test "$wine_cv_have_if_nameindex" = "yes"
18210 then
18212 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18217 $as_echo_n "checking for sigaddset... " >&6; }
18218 if ${wine_cv_have_sigaddset+:} false; then :
18219 $as_echo_n "(cached) " >&6
18220 else
18221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18222 /* end confdefs.h. */
18223 #include <signal.h>
18225 main ()
18227 sigset_t set; sigaddset(&set,SIGTERM);
18229 return 0;
18231 _ACEOF
18232 if ac_fn_c_try_link "$LINENO"; then :
18233 wine_cv_have_sigaddset=yes
18234 else
18235 wine_cv_have_sigaddset=no
18237 rm -f core conftest.err conftest.$ac_objext \
18238 conftest$ac_exeext conftest.$ac_ext
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18241 $as_echo "$wine_cv_have_sigaddset" >&6; }
18242 if test "$wine_cv_have_sigaddset" = "yes"
18243 then
18245 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18251 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18252 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18253 $as_echo_n "(cached) " >&6
18254 else
18255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18256 /* end confdefs.h. */
18257 #include <netdb.h>
18259 main ()
18262 char *name=0;
18263 struct hostent he;
18264 struct hostent *result;
18265 char *buf=0;
18266 int bufsize=0;
18267 int errnr;
18268 char *addr=0;
18269 int addrlen=0;
18270 int addrtype=0;
18271 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18272 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18275 return 0;
18277 _ACEOF
18278 if ac_fn_c_try_link "$LINENO"; then :
18279 wine_cv_linux_gethostbyname_r_6=yes
18280 else
18281 wine_cv_linux_gethostbyname_r_6=no
18284 rm -f core conftest.err conftest.$ac_objext \
18285 conftest$ac_exeext conftest.$ac_ext
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18289 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18290 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18291 then
18293 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18297 if test "$ac_cv_header_linux_joystick_h" = "yes"
18298 then
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18300 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18301 if ${wine_cv_linux_joystick_22_api+:} false; then :
18302 $as_echo_n "(cached) " >&6
18303 else
18304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18305 /* end confdefs.h. */
18307 #include <sys/ioctl.h>
18308 #include <sys/types.h>
18309 #include <linux/joystick.h>
18311 struct js_event blub;
18312 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18313 #error "no 2.2 header"
18314 #endif
18317 main ()
18319 /*empty*/
18321 return 0;
18323 _ACEOF
18324 if ac_fn_c_try_compile "$LINENO"; then :
18325 wine_cv_linux_joystick_22_api=yes
18326 else
18327 wine_cv_linux_joystick_22_api=no
18329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18333 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18334 if test "$wine_cv_linux_joystick_22_api" = "yes"
18335 then
18337 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18343 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18344 #ifdef HAVE_SYS_PARAM_H
18345 # include <sys/param.h>
18346 #endif
18347 #ifdef HAVE_SYS_MOUNT_H
18348 # include <sys/mount.h>
18349 #endif
18350 #ifdef HAVE_SYS_VFS_H
18351 # include <sys/vfs.h>
18352 #endif
18353 #ifdef HAVE_SYS_STATFS_H
18354 # include <sys/statfs.h>
18355 #endif
18357 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18359 cat >>confdefs.h <<_ACEOF
18360 #define HAVE_STRUCT_STATFS_F_BFREE 1
18361 _ACEOF
18365 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18366 #ifdef HAVE_SYS_PARAM_H
18367 # include <sys/param.h>
18368 #endif
18369 #ifdef HAVE_SYS_MOUNT_H
18370 # include <sys/mount.h>
18371 #endif
18372 #ifdef HAVE_SYS_VFS_H
18373 # include <sys/vfs.h>
18374 #endif
18375 #ifdef HAVE_SYS_STATFS_H
18376 # include <sys/statfs.h>
18377 #endif
18379 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18381 cat >>confdefs.h <<_ACEOF
18382 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18383 _ACEOF
18387 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18388 #ifdef HAVE_SYS_PARAM_H
18389 # include <sys/param.h>
18390 #endif
18391 #ifdef HAVE_SYS_MOUNT_H
18392 # include <sys/mount.h>
18393 #endif
18394 #ifdef HAVE_SYS_VFS_H
18395 # include <sys/vfs.h>
18396 #endif
18397 #ifdef HAVE_SYS_STATFS_H
18398 # include <sys/statfs.h>
18399 #endif
18401 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18403 cat >>confdefs.h <<_ACEOF
18404 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18405 _ACEOF
18409 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18410 #ifdef HAVE_SYS_PARAM_H
18411 # include <sys/param.h>
18412 #endif
18413 #ifdef HAVE_SYS_MOUNT_H
18414 # include <sys/mount.h>
18415 #endif
18416 #ifdef HAVE_SYS_VFS_H
18417 # include <sys/vfs.h>
18418 #endif
18419 #ifdef HAVE_SYS_STATFS_H
18420 # include <sys/statfs.h>
18421 #endif
18423 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18425 cat >>confdefs.h <<_ACEOF
18426 #define HAVE_STRUCT_STATFS_F_FFREE 1
18427 _ACEOF
18431 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18432 #ifdef HAVE_SYS_PARAM_H
18433 # include <sys/param.h>
18434 #endif
18435 #ifdef HAVE_SYS_MOUNT_H
18436 # include <sys/mount.h>
18437 #endif
18438 #ifdef HAVE_SYS_VFS_H
18439 # include <sys/vfs.h>
18440 #endif
18441 #ifdef HAVE_SYS_STATFS_H
18442 # include <sys/statfs.h>
18443 #endif
18445 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18447 cat >>confdefs.h <<_ACEOF
18448 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18449 _ACEOF
18453 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18454 #ifdef HAVE_SYS_PARAM_H
18455 # include <sys/param.h>
18456 #endif
18457 #ifdef HAVE_SYS_MOUNT_H
18458 # include <sys/mount.h>
18459 #endif
18460 #ifdef HAVE_SYS_VFS_H
18461 # include <sys/vfs.h>
18462 #endif
18463 #ifdef HAVE_SYS_STATFS_H
18464 # include <sys/statfs.h>
18465 #endif
18467 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18469 cat >>confdefs.h <<_ACEOF
18470 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18471 _ACEOF
18477 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18478 #include <sys/statvfs.h>
18479 #endif
18481 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18483 cat >>confdefs.h <<_ACEOF
18484 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18485 _ACEOF
18491 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18492 #include <dirent.h>
18493 #endif
18495 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18497 cat >>confdefs.h <<_ACEOF
18498 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18499 _ACEOF
18505 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18506 #ifdef HAVE_SYS_SOCKET_H
18507 # include <sys/socket.h>
18508 #endif
18509 #ifdef HAVE_SYS_UN_H
18510 # include <sys/un.h>
18511 #endif
18513 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18515 cat >>confdefs.h <<_ACEOF
18516 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18517 _ACEOF
18521 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18522 #ifdef HAVE_SYS_SOCKET_H
18523 # include <sys/socket.h>
18524 #endif
18525 #ifdef HAVE_SYS_UN_H
18526 # include <sys/un.h>
18527 #endif
18529 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18531 cat >>confdefs.h <<_ACEOF
18532 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18533 _ACEOF
18537 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18538 #ifdef HAVE_SYS_SOCKET_H
18539 # include <sys/socket.h>
18540 #endif
18541 #ifdef HAVE_SYS_UN_H
18542 # include <sys/un.h>
18543 #endif
18545 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18547 cat >>confdefs.h <<_ACEOF
18548 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18549 _ACEOF
18555 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18556 #ifdef HAVE_SCSI_SG_H
18557 #include <scsi/sg.h>
18558 #endif
18560 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18562 cat >>confdefs.h <<_ACEOF
18563 #define HAVE_SCSIREQ_T_CMD 1
18564 _ACEOF
18568 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>
18569 #ifdef HAVE_SCSI_SG_H
18570 #include <scsi/sg.h>
18571 #endif
18573 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18575 cat >>confdefs.h <<_ACEOF
18576 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18577 _ACEOF
18583 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18585 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18587 cat >>confdefs.h <<_ACEOF
18588 #define HAVE_SIGINFO_T_SI_FD 1
18589 _ACEOF
18595 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18596 #ifdef HAVE_SYS_MTIO_H
18597 #include <sys/mtio.h>
18598 #endif
18600 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18602 cat >>confdefs.h <<_ACEOF
18603 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18604 _ACEOF
18608 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18609 #ifdef HAVE_SYS_MTIO_H
18610 #include <sys/mtio.h>
18611 #endif
18613 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18615 cat >>confdefs.h <<_ACEOF
18616 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18617 _ACEOF
18621 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18622 #ifdef HAVE_SYS_MTIO_H
18623 #include <sys/mtio.h>
18624 #endif
18626 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18628 cat >>confdefs.h <<_ACEOF
18629 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18630 _ACEOF
18636 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18637 #include <getopt.h>
18638 #endif
18640 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18642 cat >>confdefs.h <<_ACEOF
18643 #define HAVE_STRUCT_OPTION_NAME 1
18644 _ACEOF
18650 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18651 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18653 cat >>confdefs.h <<_ACEOF
18654 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18655 _ACEOF
18659 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18660 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18662 cat >>confdefs.h <<_ACEOF
18663 #define HAVE_STRUCT_STAT_ST_MTIM 1
18664 _ACEOF
18668 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18669 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18671 cat >>confdefs.h <<_ACEOF
18672 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18673 _ACEOF
18677 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18678 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18680 cat >>confdefs.h <<_ACEOF
18681 #define HAVE_STRUCT_STAT_ST_CTIM 1
18682 _ACEOF
18686 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18687 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18689 cat >>confdefs.h <<_ACEOF
18690 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18691 _ACEOF
18695 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18696 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18698 cat >>confdefs.h <<_ACEOF
18699 #define HAVE_STRUCT_STAT_ST_ATIM 1
18700 _ACEOF
18704 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18705 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18707 cat >>confdefs.h <<_ACEOF
18708 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18709 _ACEOF
18713 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18714 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18716 cat >>confdefs.h <<_ACEOF
18717 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18718 _ACEOF
18722 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18723 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18725 cat >>confdefs.h <<_ACEOF
18726 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18727 _ACEOF
18731 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18732 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18734 cat >>confdefs.h <<_ACEOF
18735 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18736 _ACEOF
18740 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18741 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18743 cat >>confdefs.h <<_ACEOF
18744 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18745 _ACEOF
18749 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18750 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18752 cat >>confdefs.h <<_ACEOF
18753 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18754 _ACEOF
18760 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
18761 #include <sys/types.h>
18762 #endif
18763 #ifdef HAVE_NETINET_IN_H
18764 #include <netinet/in.h>
18765 #endif
18767 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18769 cat >>confdefs.h <<_ACEOF
18770 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18771 _ACEOF
18777 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18778 #include <sys/types.h>
18779 #endif
18780 #ifdef HAVE_NETINET_IN_H
18781 #include <netinet/in.h>
18782 #endif
18783 #ifdef HAVE_RESOLV_H
18784 #include <resolv.h>
18785 #endif
18787 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18789 cat >>confdefs.h <<_ACEOF
18790 #define HAVE_STRUCT___RES_STATE 1
18791 _ACEOF
18797 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
18798 #include <resolv.h>
18799 #endif
18801 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18803 cat >>confdefs.h <<_ACEOF
18804 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18805 _ACEOF
18811 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18812 #include <sys/types.h>
18813 #endif
18814 #ifdef HAVE_NETINET_IN_H
18815 # include <netinet/in.h>
18816 #endif
18817 #ifdef HAVE_ARPA_NAMESER_H
18818 # include <arpa/nameser.h>
18819 #endif
18821 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18823 cat >>confdefs.h <<_ACEOF
18824 #define HAVE_NS_MSG__MSG_PTR 1
18825 _ACEOF
18831 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18832 #include <sys/types.h>
18833 #endif
18834 #ifdef HAVE_NETINET_IN_H
18835 #include <netinet/in.h>
18836 #endif
18837 #ifdef HAVE_NETINET_IP_H
18838 #include <netinet/ip.h>
18839 #endif
18840 #ifdef HAVE_NETINET_IP_ICMP_H
18841 #include <netinet/ip_icmp.h>
18842 #endif
18843 #ifdef HAVE_NETINET_ICMP_VAR_H
18844 #include <netinet/icmp_var.h>
18845 #endif
18847 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18849 cat >>confdefs.h <<_ACEOF
18850 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18851 _ACEOF
18857 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18858 #include <sys/types.h>
18859 #endif
18860 #ifdef HAVE_ALIAS_H
18861 #include <alias.h>
18862 #endif
18863 #ifdef HAVE_SYS_SOCKET_H
18864 #include <sys/socket.h>
18865 #endif
18866 #ifdef HAVE_SYS_SOCKETVAR_H
18867 #include <sys/socketvar.h>
18868 #endif
18869 #ifdef HAVE_SYS_TIMEOUT_H
18870 #include <sys/timeout.h>
18871 #endif
18872 #ifdef HAVE_NETINET_IN_H
18873 #include <netinet/in.h>
18874 #endif
18875 #ifdef HAVE_NETINET_IN_SYSTM_H
18876 #include <netinet/in_systm.h>
18877 #endif
18878 #ifdef HAVE_NETINET_IP_H
18879 #include <netinet/ip.h>
18880 #endif
18881 #ifdef HAVE_NETINET_IP_VAR_H
18882 #include <netinet/ip_var.h>
18883 #endif
18884 #ifdef HAVE_NETINET_IP_ICMP_H
18885 #include <netinet/ip_icmp.h>
18886 #endif
18887 #ifdef HAVE_NETINET_ICMP_VAR_H
18888 #include <netinet/icmp_var.h>
18889 #endif
18891 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18893 cat >>confdefs.h <<_ACEOF
18894 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18895 _ACEOF
18901 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18902 #include <sys/types.h>
18903 #endif
18904 #ifdef HAVE_SYS_SOCKETVAR_H
18905 #include <sys/socketvar.h>
18906 #endif
18907 #ifdef HAVE_NETINET_IN_H
18908 #include <netinet/in.h>
18909 #endif
18910 #ifdef HAVE_NETINET_IP_VAR_H
18911 #include <netinet/ip_var.h>
18912 #endif
18914 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18916 cat >>confdefs.h <<_ACEOF
18917 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18918 _ACEOF
18924 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
18925 #include <netinet/ip_var.h>
18926 #endif
18928 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18930 cat >>confdefs.h <<_ACEOF
18931 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18932 _ACEOF
18938 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18939 #include <sys/types.h>
18940 #endif
18941 #ifdef HAVE_SYS_SOCKETVAR_H
18942 #include <sys/socketvar.h>
18943 #endif
18944 #ifdef HAVE_NETINET_IN_H
18945 #include <netinet/in.h>
18946 #endif
18947 #ifdef HAVE_NETINET_TCP_H
18948 #include <netinet/tcp.h>
18949 #endif
18950 #ifdef HAVE_NETINET_TCP_VAR_H
18951 #include <netinet/tcp_var.h>
18952 #endif
18954 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18956 cat >>confdefs.h <<_ACEOF
18957 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18958 _ACEOF
18964 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
18965 #include <netinet/tcp_var.h>
18966 #endif
18968 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18970 cat >>confdefs.h <<_ACEOF
18971 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18972 _ACEOF
18978 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18979 #include <sys/types.h>
18980 #endif
18981 #ifdef HAVE_NETINET_IN_H
18982 #include <netinet/in.h>
18983 #endif
18984 #ifdef HAVE_NETINET_IP_VAR_H
18985 #include <netinet/ip_var.h>
18986 #endif
18987 #ifdef HAVE_NETINET_UDP_H
18988 #include <netinet/udp.h>
18989 #endif
18990 #ifdef HAVE_NETINET_UDP_VAR_H
18991 #include <netinet/udp_var.h>
18992 #endif
18994 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18996 cat >>confdefs.h <<_ACEOF
18997 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18998 _ACEOF
19004 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19005 #include <sys/types.h>
19006 #endif
19007 #ifdef HAVE_NET_IF_H
19008 # include <net/if.h>
19009 #endif
19011 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19013 cat >>confdefs.h <<_ACEOF
19014 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19015 _ACEOF
19021 ac_save_LIBS="$LIBS"
19022 LIBS="$LIBS -lm"
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19024 $as_echo_n "checking for isfinite... " >&6; }
19025 if ${ac_cv_have_isfinite+:} false; then :
19026 $as_echo_n "(cached) " >&6
19027 else
19028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19029 /* end confdefs.h. */
19030 #define _GNU_SOURCE
19031 #include <math.h>
19033 main ()
19035 float f = 0.0; return isfinite(f)
19037 return 0;
19039 _ACEOF
19040 if ac_fn_c_try_link "$LINENO"; then :
19041 ac_cv_have_isfinite="yes"
19042 else
19043 ac_cv_have_isfinite="no"
19045 rm -f core conftest.err conftest.$ac_objext \
19046 conftest$ac_exeext conftest.$ac_ext
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19049 $as_echo "$ac_cv_have_isfinite" >&6; }
19050 if test "$ac_cv_have_isfinite" = "yes"
19051 then
19053 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19058 $as_echo_n "checking for isinf... " >&6; }
19059 if ${ac_cv_have_isinf+:} false; then :
19060 $as_echo_n "(cached) " >&6
19061 else
19062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19063 /* end confdefs.h. */
19064 #include <math.h>
19066 main ()
19068 float f = 0.0; return isinf(f)
19070 return 0;
19072 _ACEOF
19073 if ac_fn_c_try_link "$LINENO"; then :
19074 ac_cv_have_isinf="yes"
19075 else
19076 ac_cv_have_isinf="no"
19078 rm -f core conftest.err conftest.$ac_objext \
19079 conftest$ac_exeext conftest.$ac_ext
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19082 $as_echo "$ac_cv_have_isinf" >&6; }
19083 if test "$ac_cv_have_isinf" = "yes"
19084 then
19086 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19091 $as_echo_n "checking for isnan... " >&6; }
19092 if ${ac_cv_have_isnan+:} false; then :
19093 $as_echo_n "(cached) " >&6
19094 else
19095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19096 /* end confdefs.h. */
19097 #include <math.h>
19099 main ()
19101 float f = 0.0; return isnan(f)
19103 return 0;
19105 _ACEOF
19106 if ac_fn_c_try_link "$LINENO"; then :
19107 ac_cv_have_isnan="yes"
19108 else
19109 ac_cv_have_isnan="no"
19111 rm -f core conftest.err conftest.$ac_objext \
19112 conftest$ac_exeext conftest.$ac_ext
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19115 $as_echo "$ac_cv_have_isnan" >&6; }
19116 if test "$ac_cv_have_isnan" = "yes"
19117 then
19119 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19123 for ac_func in \
19124 acosh \
19125 acoshf \
19126 asinh \
19127 asinhf \
19128 atanh \
19129 atanhf \
19130 cbrt \
19131 cbrtf \
19132 erf \
19133 erfc \
19134 erfcf \
19135 erff \
19136 exp2 \
19137 exp2f \
19138 expm1 \
19139 expm1f \
19140 ilogb \
19141 ilogbf \
19142 j0 \
19143 j1 \
19144 jn \
19145 lgamma \
19146 lgammaf \
19147 llrint \
19148 llrintf \
19149 llround \
19150 llroundf \
19151 log1p \
19152 log1pf \
19153 log2 \
19154 log2f \
19155 lrint \
19156 lrintf \
19157 lround \
19158 lroundf \
19159 nearbyint \
19160 nearbyintf \
19161 nexttoward \
19162 nexttowardf \
19163 powl \
19164 remainder \
19165 remainderf \
19166 rint \
19167 rintf \
19168 round \
19169 roundf \
19170 trunc \
19171 truncf \
19172 y0 \
19173 y1 \
19176 do :
19177 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19178 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19179 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19180 cat >>confdefs.h <<_ACEOF
19181 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19182 _ACEOF
19185 done
19187 LIBS="$ac_save_LIBS"
19189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
19190 $as_echo_n "checking for __builtin_clz... " >&6; }
19191 if ${ac_cv_have___builtin_clz+:} false; then :
19192 $as_echo_n "(cached) " >&6
19193 else
19194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19195 /* end confdefs.h. */
19198 main ()
19200 return __builtin_clz(1)
19202 return 0;
19204 _ACEOF
19205 if ac_fn_c_try_link "$LINENO"; then :
19206 ac_cv_have___builtin_clz="yes"
19207 else
19208 ac_cv_have___builtin_clz="no"
19210 rm -f core conftest.err conftest.$ac_objext \
19211 conftest$ac_exeext conftest.$ac_ext
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
19214 $as_echo "$ac_cv_have___builtin_clz" >&6; }
19215 if test "$ac_cv_have___builtin_clz" = "yes"
19216 then
19218 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19223 $as_echo_n "checking for __builtin_popcount... " >&6; }
19224 if ${ac_cv_have___builtin_popcount+:} false; then :
19225 $as_echo_n "(cached) " >&6
19226 else
19227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19228 /* end confdefs.h. */
19231 main ()
19233 return __builtin_popcount(1)
19235 return 0;
19237 _ACEOF
19238 if ac_fn_c_try_link "$LINENO"; then :
19239 ac_cv_have___builtin_popcount="yes"
19240 else
19241 ac_cv_have___builtin_popcount="no"
19243 rm -f core conftest.err conftest.$ac_objext \
19244 conftest$ac_exeext conftest.$ac_ext
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19247 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19248 if test "$ac_cv_have___builtin_popcount" = "yes"
19249 then
19251 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19256 $as_echo_n "checking for __clear_cache... " >&6; }
19257 if ${ac_cv_have___clear_cache+:} false; then :
19258 $as_echo_n "(cached) " >&6
19259 else
19260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19261 /* end confdefs.h. */
19264 main ()
19266 __clear_cache((void*)0, (void*)0); return 0;
19268 return 0;
19270 _ACEOF
19271 if ac_fn_c_try_link "$LINENO"; then :
19272 ac_cv_have___clear_cache="yes"
19273 else
19274 ac_cv_have___clear_cache="no"
19276 rm -f core conftest.err conftest.$ac_objext \
19277 conftest$ac_exeext conftest.$ac_ext
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19280 $as_echo "$ac_cv_have___clear_cache" >&6; }
19281 if test "$ac_cv_have___clear_cache" = "yes"
19282 then
19284 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19289 case $host_cpu in
19290 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19291 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19292 if ${ac_cv_cpp_def___i386__+:} false; then :
19293 $as_echo_n "(cached) " >&6
19294 else
19295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19296 /* end confdefs.h. */
19297 #ifndef __i386__
19299 #endif
19300 _ACEOF
19301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19302 $EGREP "yes" >/dev/null 2>&1; then :
19303 ac_cv_cpp_def___i386__=yes
19304 else
19305 ac_cv_cpp_def___i386__=no
19307 rm -f conftest*
19310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19311 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19312 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19313 CFLAGS="$CFLAGS -D__i386__"
19314 LINTFLAGS="$LINTFLAGS -D__i386__"
19315 fi ;;
19316 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19317 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19318 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19319 $as_echo_n "(cached) " >&6
19320 else
19321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19322 /* end confdefs.h. */
19323 #ifndef __x86_64__
19325 #endif
19326 _ACEOF
19327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19328 $EGREP "yes" >/dev/null 2>&1; then :
19329 ac_cv_cpp_def___x86_64__=yes
19330 else
19331 ac_cv_cpp_def___x86_64__=no
19333 rm -f conftest*
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19337 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19338 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19339 CFLAGS="$CFLAGS -D__x86_64__"
19340 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19341 fi ;;
19342 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19343 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19344 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19345 $as_echo_n "(cached) " >&6
19346 else
19347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19348 /* end confdefs.h. */
19349 #ifndef __sparc64__
19351 #endif
19352 _ACEOF
19353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19354 $EGREP "yes" >/dev/null 2>&1; then :
19355 ac_cv_cpp_def___sparc64__=yes
19356 else
19357 ac_cv_cpp_def___sparc64__=no
19359 rm -f conftest*
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19363 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19364 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19365 CFLAGS="$CFLAGS -D__sparc64__"
19366 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19367 fi ;;
19368 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19369 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19370 if ${ac_cv_cpp_def___sparc__+:} false; then :
19371 $as_echo_n "(cached) " >&6
19372 else
19373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374 /* end confdefs.h. */
19375 #ifndef __sparc__
19377 #endif
19378 _ACEOF
19379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19380 $EGREP "yes" >/dev/null 2>&1; then :
19381 ac_cv_cpp_def___sparc__=yes
19382 else
19383 ac_cv_cpp_def___sparc__=no
19385 rm -f conftest*
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19389 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19390 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19391 CFLAGS="$CFLAGS -D__sparc__"
19392 LINTFLAGS="$LINTFLAGS -D__sparc__"
19393 fi ;;
19394 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19395 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19396 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19397 $as_echo_n "(cached) " >&6
19398 else
19399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h. */
19401 #ifndef __powerpc64__
19403 #endif
19404 _ACEOF
19405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19406 $EGREP "yes" >/dev/null 2>&1; then :
19407 ac_cv_cpp_def___powerpc64__=yes
19408 else
19409 ac_cv_cpp_def___powerpc64__=no
19411 rm -f conftest*
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19415 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19416 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19417 CFLAGS="$CFLAGS -D__powerpc64__"
19418 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19419 fi ;;
19420 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19421 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19422 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19423 $as_echo_n "(cached) " >&6
19424 else
19425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19426 /* end confdefs.h. */
19427 #ifndef __powerpc__
19429 #endif
19430 _ACEOF
19431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19432 $EGREP "yes" >/dev/null 2>&1; then :
19433 ac_cv_cpp_def___powerpc__=yes
19434 else
19435 ac_cv_cpp_def___powerpc__=no
19437 rm -f conftest*
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19441 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19442 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19443 CFLAGS="$CFLAGS -D__powerpc__"
19444 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19445 fi ;;
19446 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19447 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19448 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19449 $as_echo_n "(cached) " >&6
19450 else
19451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19452 /* end confdefs.h. */
19453 #ifndef __aarch64__
19455 #endif
19456 _ACEOF
19457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19458 $EGREP "yes" >/dev/null 2>&1; then :
19459 ac_cv_cpp_def___aarch64__=yes
19460 else
19461 ac_cv_cpp_def___aarch64__=no
19463 rm -f conftest*
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19467 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19468 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19469 CFLAGS="$CFLAGS -D__aarch64__"
19470 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19471 fi ;;
19472 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19473 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19474 if ${ac_cv_cpp_def___arm__+:} false; then :
19475 $as_echo_n "(cached) " >&6
19476 else
19477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19478 /* end confdefs.h. */
19479 #ifndef __arm__
19481 #endif
19482 _ACEOF
19483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19484 $EGREP "yes" >/dev/null 2>&1; then :
19485 ac_cv_cpp_def___arm__=yes
19486 else
19487 ac_cv_cpp_def___arm__=no
19489 rm -f conftest*
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19493 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19494 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19495 CFLAGS="$CFLAGS -D__arm__"
19496 LINTFLAGS="$LINTFLAGS -D__arm__"
19497 fi ;;
19498 esac
19500 case $host_vendor in
19501 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19502 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19503 if ${ac_cv_cpp_def___sun__+:} false; then :
19504 $as_echo_n "(cached) " >&6
19505 else
19506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19507 /* end confdefs.h. */
19508 #ifndef __sun__
19510 #endif
19511 _ACEOF
19512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19513 $EGREP "yes" >/dev/null 2>&1; then :
19514 ac_cv_cpp_def___sun__=yes
19515 else
19516 ac_cv_cpp_def___sun__=no
19518 rm -f conftest*
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19522 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19523 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19524 CFLAGS="$CFLAGS -D__sun__"
19525 LINTFLAGS="$LINTFLAGS -D__sun__"
19526 fi ;;
19527 esac
19533 ac_config_commands="$ac_config_commands include/stamp-h"
19535 $as_echo_n "creating Makefile rules..." >&6
19537 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
19538 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19539 IOKIT_LIBS = $IOKIT_LIBS
19540 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19541 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19542 CORESERVICES_LIBS = $CORESERVICES_LIBS
19543 APPKIT_LIBS = $APPKIT_LIBS
19544 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19545 SECURITY_LIBS = $SECURITY_LIBS
19546 COREAUDIO_LIBS = $COREAUDIO_LIBS
19547 OPENAL_LIBS = $OPENAL_LIBS
19548 OPENCL_LIBS = $OPENCL_LIBS
19549 QUICKTIME_LIBS = $QUICKTIME_LIBS
19550 CARBON_LIBS = $CARBON_LIBS
19551 METAL_LIBS = $METAL_LIBS
19552 PTHREAD_LIBS = $PTHREAD_LIBS
19553 X_CFLAGS = $X_CFLAGS
19554 X_PRE_LIBS = $X_PRE_LIBS
19555 X_LIBS = $X_LIBS
19556 X_EXTRA_LIBS = $X_EXTRA_LIBS
19557 PCAP_LIBS = $PCAP_LIBS
19558 XML2_CFLAGS = $XML2_CFLAGS
19559 XML2_LIBS = $XML2_LIBS
19560 XSLT_CFLAGS = $XSLT_CFLAGS
19561 XSLT_LIBS = $XSLT_LIBS
19562 DBUS_CFLAGS = $DBUS_CFLAGS
19563 DBUS_LIBS = $DBUS_LIBS
19564 HAL_CFLAGS = $HAL_CFLAGS
19565 HAL_LIBS = $HAL_LIBS
19566 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19567 GNUTLS_LIBS = $GNUTLS_LIBS
19568 SANE_CFLAGS = $SANE_CFLAGS
19569 SANE_LIBS = $SANE_LIBS
19570 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19571 GPHOTO2_LIBS = $GPHOTO2_LIBS
19572 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19573 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19574 RESOLV_LIBS = $RESOLV_LIBS
19575 LCMS2_CFLAGS = $LCMS2_CFLAGS
19576 LCMS2_LIBS = $LCMS2_LIBS
19577 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19578 FREETYPE_LIBS = $FREETYPE_LIBS
19579 Z_LIBS = $Z_LIBS
19580 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19581 PULSE_CFLAGS = $PULSE_CFLAGS
19582 PULSE_LIBS = $PULSE_LIBS
19583 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19584 GSTREAMER_LIBS = $GSTREAMER_LIBS
19585 ALSA_LIBS = $ALSA_LIBS
19586 OSS4_CFLAGS = $OSS4_CFLAGS
19587 UDEV_CFLAGS = $UDEV_CFLAGS
19588 UDEV_LIBS = $UDEV_LIBS
19589 SDL2_CFLAGS = $SDL2_CFLAGS
19590 SDL2_LIBS = $SDL2_LIBS
19591 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19592 FAUDIO_LIBS = $FAUDIO_LIBS
19593 CAPI20_CFLAGS = $CAPI20_CFLAGS
19594 CAPI20_LIBS = $CAPI20_LIBS
19595 CUPS_CFLAGS = $CUPS_CFLAGS
19596 CUPS_LIBS = $CUPS_LIBS
19597 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19598 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19599 KRB5_CFLAGS = $KRB5_CFLAGS
19600 KRB5_LIBS = $KRB5_LIBS
19601 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19602 GSSAPI_LIBS = $GSSAPI_LIBS
19603 JPEG_CFLAGS = $JPEG_CFLAGS
19604 JPEG_LIBS = $JPEG_LIBS
19605 PNG_CFLAGS = $PNG_CFLAGS
19606 PNG_LIBS = $PNG_LIBS
19607 TIFF_CFLAGS = $TIFF_CFLAGS
19608 TIFF_LIBS = $TIFF_LIBS
19609 MPG123_CFLAGS = $MPG123_CFLAGS
19610 MPG123_LIBS = $MPG123_LIBS
19611 KSTAT_LIBS = $KSTAT_LIBS
19612 PROCSTAT_LIBS = $PROCSTAT_LIBS
19613 NETAPI_CFLAGS = $NETAPI_CFLAGS
19614 NETAPI_LIBS = $NETAPI_LIBS
19615 VKD3D_CFLAGS = $VKD3D_CFLAGS
19616 VKD3D_LIBS = $VKD3D_LIBS
19617 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19618 DL_LIBS = $DL_LIBS
19619 POLL_LIBS = $POLL_LIBS
19620 RT_LIBS = $RT_LIBS
19621 LDAP_CFLAGS = $LDAP_CFLAGS
19622 LDAP_LIBS = $LDAP_LIBS
19627 wine_fn_append_rule "
19628 # Rules automatically generated by configure
19630 .INIT: Makefile
19631 .MAKEFILEDEPS:
19632 all: Makefile
19633 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19634 @./config.status Make.tmp Makefile
19635 depend: \$(MAKEDEP) dummy
19636 \$(MAKEDEP)"
19638 if test "x$enable_fonts" != xno; then
19639 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19640 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19641 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19642 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19643 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19644 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19646 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19647 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19648 ac_config_links="$ac_config_links wine:tools/winewrapper"
19649 wine_fn_config_symlink wine
19650 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19651 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19652 wine_fn_config_symlink wine64
19655 wine_fn_config_makefile dlls/acledit enable_acledit
19656 wine_fn_config_makefile dlls/aclui enable_aclui
19657 wine_fn_config_makefile dlls/activeds enable_activeds
19658 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19659 wine_fn_config_makefile dlls/adsiid enable_adsiid
19660 wine_fn_config_makefile dlls/adsldp enable_adsldp
19661 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19662 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19663 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19664 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19665 wine_fn_config_makefile dlls/advpack enable_advpack
19666 wine_fn_config_makefile dlls/advpack/tests enable_tests
19667 wine_fn_config_makefile dlls/amsi enable_amsi
19668 wine_fn_config_makefile dlls/amstream enable_amstream
19669 wine_fn_config_makefile dlls/amstream/tests enable_tests
19670 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19671 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19672 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19673 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19674 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19675 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19676 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19677 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19678 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19679 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19680 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19681 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19682 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19683 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19684 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19685 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19686 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19687 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19688 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19689 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19690 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19691 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19692 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19693 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19694 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19695 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19696 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19697 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19698 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19699 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19700 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19701 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19702 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19703 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19704 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19705 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19706 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19707 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19708 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19709 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19710 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19711 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19712 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19713 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19714 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19715 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19716 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19717 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19718 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19719 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19720 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19721 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19722 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19723 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19724 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19725 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19726 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19727 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19728 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19729 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19730 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19731 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19732 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19733 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19734 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19735 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19736 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19737 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19738 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19739 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19740 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19741 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19742 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19743 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19744 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19745 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19746 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19747 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19748 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19749 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19750 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19751 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19752 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19753 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19754 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19755 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19756 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19757 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19758 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19759 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19760 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19761 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19762 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19763 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19764 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19765 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19766 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19767 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19768 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19769 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19770 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19771 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19772 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19773 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19774 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19775 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19776 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19777 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19778 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19779 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19780 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19781 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19782 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19783 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19784 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19785 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19786 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19787 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19788 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19789 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19790 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19791 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19792 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19793 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19794 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19795 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19796 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19797 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19798 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19799 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19800 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19801 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19802 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19803 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19804 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19805 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19806 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19807 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19808 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19809 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19810 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19811 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19812 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19813 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19814 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19815 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19816 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19817 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19818 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19819 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19820 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19821 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19822 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19823 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19824 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19825 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19826 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19827 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19828 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19829 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19830 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19831 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19832 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19833 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19834 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19835 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19836 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19837 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19838 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19839 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19840 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19841 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19842 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19843 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19844 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19845 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19846 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19847 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19848 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19849 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19850 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19851 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19852 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19853 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19854 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19855 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19856 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19857 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19858 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19859 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19860 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19861 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19862 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19863 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19864 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19865 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19866 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19867 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19868 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19869 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19870 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19871 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19872 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19873 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19874 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19875 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19876 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19877 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19878 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19879 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19880 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19881 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19882 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19883 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19884 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19885 wine_fn_config_makefile dlls/apphelp enable_apphelp
19886 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19887 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19888 wine_fn_config_makefile dlls/atl enable_atl
19889 wine_fn_config_makefile dlls/atl/tests enable_tests
19890 wine_fn_config_makefile dlls/atl100 enable_atl100
19891 wine_fn_config_makefile dlls/atl100/tests enable_tests
19892 wine_fn_config_makefile dlls/atl110 enable_atl110
19893 wine_fn_config_makefile dlls/atl80 enable_atl80
19894 wine_fn_config_makefile dlls/atl80/tests enable_tests
19895 wine_fn_config_makefile dlls/atl90 enable_atl90
19896 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
19897 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
19898 wine_fn_config_makefile dlls/atmlib enable_atmlib
19899 wine_fn_config_makefile dlls/authz enable_authz
19900 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19901 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19902 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19903 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19904 wine_fn_config_makefile dlls/avrt enable_avrt
19905 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19906 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19907 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19908 wine_fn_config_makefile dlls/browseui enable_browseui
19909 wine_fn_config_makefile dlls/browseui/tests enable_tests
19910 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19911 wine_fn_config_makefile dlls/cabinet enable_cabinet
19912 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19913 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19914 wine_fn_config_makefile dlls/cards enable_cards
19915 wine_fn_config_makefile dlls/cdosys enable_cdosys
19916 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19917 wine_fn_config_makefile dlls/clusapi enable_clusapi
19918 wine_fn_config_makefile dlls/combase enable_combase
19919 wine_fn_config_makefile dlls/combase/tests enable_tests
19920 wine_fn_config_makefile dlls/comcat enable_comcat
19921 wine_fn_config_makefile dlls/comcat/tests enable_tests
19922 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19923 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19924 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19925 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19926 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19927 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19928 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19929 wine_fn_config_makefile dlls/compstui enable_compstui
19930 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19931 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19932 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19933 wine_fn_config_makefile dlls/connect enable_connect
19934 wine_fn_config_makefile dlls/credui enable_credui
19935 wine_fn_config_makefile dlls/credui/tests enable_tests
19936 wine_fn_config_makefile dlls/crtdll enable_crtdll
19937 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19938 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19939 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19940 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19941 wine_fn_config_makefile dlls/cryptext enable_cryptext
19942 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19943 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19944 wine_fn_config_makefile dlls/cryptui enable_cryptui
19945 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19946 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19947 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19948 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19949 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19950 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19951 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19952 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19953 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19954 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19955 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19956 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19957 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19958 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19959 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19960 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19961 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19962 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19963 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19964 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19965 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19966 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19967 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19968 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19969 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19970 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19971 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19972 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19973 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19974 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19975 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19976 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19977 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19978 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19979 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19980 wine_fn_config_makefile dlls/d3dim enable_d3dim
19981 wine_fn_config_makefile dlls/d3drm enable_d3drm
19982 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19983 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19984 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19985 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19986 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19987 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19988 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19989 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19990 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19991 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19992 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19993 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19994 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19995 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19996 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19997 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19998 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19999 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20000 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20001 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20002 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20003 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20004 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20005 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20006 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20007 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20008 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20009 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20010 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20011 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20012 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20013 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20014 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20015 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20016 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20017 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20018 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20019 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20020 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20021 wine_fn_config_makefile dlls/davclnt enable_davclnt
20022 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20023 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20024 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20025 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20026 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20027 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20028 wine_fn_config_makefile dlls/ddraw enable_ddraw
20029 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20030 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20031 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20032 wine_fn_config_makefile dlls/devenum enable_devenum
20033 wine_fn_config_makefile dlls/devenum/tests enable_tests
20034 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20035 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20036 wine_fn_config_makefile dlls/difxapi enable_difxapi
20037 wine_fn_config_makefile dlls/dinput enable_dinput
20038 wine_fn_config_makefile dlls/dinput/tests enable_tests
20039 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20040 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20041 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20042 wine_fn_config_makefile dlls/dispex enable_dispex
20043 wine_fn_config_makefile dlls/dispex/tests enable_tests
20044 wine_fn_config_makefile dlls/display.drv16 enable_win16
20045 wine_fn_config_makefile dlls/dmband enable_dmband
20046 wine_fn_config_makefile dlls/dmband/tests enable_tests
20047 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20048 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20049 wine_fn_config_makefile dlls/dmime enable_dmime
20050 wine_fn_config_makefile dlls/dmime/tests enable_tests
20051 wine_fn_config_makefile dlls/dmloader enable_dmloader
20052 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20053 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20054 wine_fn_config_makefile dlls/dmscript enable_dmscript
20055 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20056 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20057 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20058 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20059 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20060 wine_fn_config_makefile dlls/dmusic enable_dmusic
20061 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20062 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20063 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20064 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20065 wine_fn_config_makefile dlls/dplay enable_dplay
20066 wine_fn_config_makefile dlls/dplayx enable_dplayx
20067 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20068 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20069 wine_fn_config_makefile dlls/dpnet enable_dpnet
20070 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20071 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20072 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20073 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20074 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20075 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20076 wine_fn_config_makefile dlls/drmclien enable_drmclien
20077 wine_fn_config_makefile dlls/dsound enable_dsound
20078 wine_fn_config_makefile dlls/dsound/tests enable_tests
20079 wine_fn_config_makefile dlls/dsquery enable_dsquery
20080 wine_fn_config_makefile dlls/dssenh enable_dssenh
20081 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20082 wine_fn_config_makefile dlls/dswave enable_dswave
20083 wine_fn_config_makefile dlls/dswave/tests enable_tests
20084 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20085 wine_fn_config_makefile dlls/dwrite enable_dwrite
20086 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20087 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20088 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20089 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20090 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20091 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20092 wine_fn_config_makefile dlls/dxgi enable_dxgi
20093 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20094 wine_fn_config_makefile dlls/dxguid enable_dxguid
20095 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20096 wine_fn_config_makefile dlls/esent enable_esent
20097 wine_fn_config_makefile dlls/evr enable_evr
20098 wine_fn_config_makefile dlls/evr/tests enable_tests
20099 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20100 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20101 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20102 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20103 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20104 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20105 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20106 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20107 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20108 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20109 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20110 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20111 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20112 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20113 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20114 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20115 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20116 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20117 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20118 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20119 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20120 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20121 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20122 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20123 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20124 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20125 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20126 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20127 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20128 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20129 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20130 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20131 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20132 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20133 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20134 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20135 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20136 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20137 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20138 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20139 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20140 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20141 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
20142 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20143 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20144 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20145 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20146 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20147 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20148 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20149 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20150 wine_fn_config_makefile dlls/faultrep enable_faultrep
20151 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20152 wine_fn_config_makefile dlls/feclient enable_feclient
20153 wine_fn_config_makefile dlls/fltlib enable_fltlib
20154 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20155 wine_fn_config_makefile dlls/fntcache enable_fntcache
20156 wine_fn_config_makefile dlls/fontsub enable_fontsub
20157 wine_fn_config_makefile dlls/fusion enable_fusion
20158 wine_fn_config_makefile dlls/fusion/tests enable_tests
20159 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20160 wine_fn_config_makefile dlls/gameux enable_gameux
20161 wine_fn_config_makefile dlls/gameux/tests enable_tests
20162 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20163 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20164 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20165 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20166 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20167 wine_fn_config_makefile dlls/glu32 enable_glu32
20168 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20169 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20170 wine_fn_config_makefile dlls/hal enable_hal
20171 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20172 wine_fn_config_makefile dlls/hid enable_hid
20173 wine_fn_config_makefile dlls/hid/tests enable_tests
20174 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20175 wine_fn_config_makefile dlls/hlink enable_hlink
20176 wine_fn_config_makefile dlls/hlink/tests enable_tests
20177 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20178 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20179 wine_fn_config_makefile dlls/httpapi enable_httpapi
20180 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20181 wine_fn_config_makefile dlls/iccvid enable_iccvid
20182 wine_fn_config_makefile dlls/icmp enable_icmp
20183 wine_fn_config_makefile dlls/ieframe enable_ieframe
20184 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20185 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20186 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20187 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20188 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20189 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20190 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20191 wine_fn_config_makefile dlls/imm32 enable_imm32
20192 wine_fn_config_makefile dlls/imm32/tests enable_tests
20193 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20194 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20195 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20196 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20197 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20198 wine_fn_config_makefile dlls/infosoft enable_infosoft
20199 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20200 wine_fn_config_makefile dlls/initpki enable_initpki
20201 wine_fn_config_makefile dlls/inkobj enable_inkobj
20202 wine_fn_config_makefile dlls/inseng enable_inseng
20203 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20204 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20205 wine_fn_config_makefile dlls/iprop enable_iprop
20206 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20207 wine_fn_config_makefile dlls/itircl enable_itircl
20208 wine_fn_config_makefile dlls/itss enable_itss
20209 wine_fn_config_makefile dlls/itss/tests enable_tests
20210 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20211 wine_fn_config_makefile dlls/jscript enable_jscript
20212 wine_fn_config_makefile dlls/jscript/tests enable_tests
20213 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20214 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20215 wine_fn_config_makefile dlls/kerberos enable_kerberos
20216 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20217 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20218 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20219 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20220 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20221 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20222 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20223 wine_fn_config_makefile dlls/ksuser enable_ksuser
20224 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20225 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20226 wine_fn_config_makefile dlls/loadperf enable_loadperf
20227 wine_fn_config_makefile dlls/localspl enable_localspl
20228 wine_fn_config_makefile dlls/localspl/tests enable_tests
20229 wine_fn_config_makefile dlls/localui enable_localui
20230 wine_fn_config_makefile dlls/localui/tests enable_tests
20231 wine_fn_config_makefile dlls/lz32 enable_lz32
20232 wine_fn_config_makefile dlls/lz32/tests enable_tests
20233 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20234 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20235 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20236 wine_fn_config_makefile dlls/mapistub enable_mapistub
20237 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20238 wine_fn_config_makefile dlls/mcicda enable_mcicda
20239 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20240 wine_fn_config_makefile dlls/mciseq enable_mciseq
20241 wine_fn_config_makefile dlls/mciwave enable_mciwave
20242 wine_fn_config_makefile dlls/mf enable_mf
20243 wine_fn_config_makefile dlls/mf/tests enable_tests
20244 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20245 wine_fn_config_makefile dlls/mferror enable_mferror
20246 wine_fn_config_makefile dlls/mfplat enable_mfplat
20247 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20248 wine_fn_config_makefile dlls/mfplay enable_mfplay
20249 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20250 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20251 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20252 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20253 wine_fn_config_makefile dlls/midimap enable_midimap
20254 wine_fn_config_makefile dlls/mlang enable_mlang
20255 wine_fn_config_makefile dlls/mlang/tests enable_tests
20256 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20257 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20258 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20259 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20260 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20261 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20262 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20263 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20264 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20265 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20266 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20267 wine_fn_config_makefile dlls/mpr enable_mpr
20268 wine_fn_config_makefile dlls/mpr/tests enable_tests
20269 wine_fn_config_makefile dlls/mprapi enable_mprapi
20270 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20271 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20272 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20273 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20274 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20275 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20276 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20277 wine_fn_config_makefile dlls/mscms enable_mscms
20278 wine_fn_config_makefile dlls/mscms/tests enable_tests
20279 wine_fn_config_makefile dlls/mscoree enable_mscoree
20280 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20281 wine_fn_config_makefile dlls/msctf enable_msctf
20282 wine_fn_config_makefile dlls/msctf/tests enable_tests
20283 wine_fn_config_makefile dlls/msctfp enable_msctfp
20284 wine_fn_config_makefile dlls/msdaps enable_msdaps
20285 wine_fn_config_makefile dlls/msdelta enable_msdelta
20286 wine_fn_config_makefile dlls/msdmo enable_msdmo
20287 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20288 wine_fn_config_makefile dlls/msdrm enable_msdrm
20289 wine_fn_config_makefile dlls/msftedit enable_msftedit
20290 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20291 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20292 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20293 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20294 wine_fn_config_makefile dlls/mshtml enable_mshtml
20295 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20296 wine_fn_config_makefile dlls/msi enable_msi
20297 wine_fn_config_makefile dlls/msi/tests enable_tests
20298 wine_fn_config_makefile dlls/msident enable_msident
20299 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20300 wine_fn_config_makefile dlls/msimsg enable_msimsg
20301 wine_fn_config_makefile dlls/msimtf enable_msimtf
20302 wine_fn_config_makefile dlls/msisip enable_msisip
20303 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20304 wine_fn_config_makefile dlls/msls31 enable_msls31
20305 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20306 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20307 wine_fn_config_makefile dlls/msports enable_msports
20308 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20309 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20310 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20311 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20312 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20313 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20314 wine_fn_config_makefile dlls/mstask enable_mstask
20315 wine_fn_config_makefile dlls/mstask/tests enable_tests
20316 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20317 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20318 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20319 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20320 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20321 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20322 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20323 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20324 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20325 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20326 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20327 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20328 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20329 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20330 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20331 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20332 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20333 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20334 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20335 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20336 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20337 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20338 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20339 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20340 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20341 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20342 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20343 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20344 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20345 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20346 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20347 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20348 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20349 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20350 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20351 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20352 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20353 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20354 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20355 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20356 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20357 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20358 wine_fn_config_makefile dlls/mswsock enable_mswsock
20359 wine_fn_config_makefile dlls/msxml enable_msxml
20360 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20361 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20362 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20363 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20364 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20365 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20366 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20367 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20368 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20369 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20370 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20371 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20372 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20373 wine_fn_config_makefile dlls/netprofm enable_netprofm
20374 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20375 wine_fn_config_makefile dlls/newdev enable_newdev
20376 wine_fn_config_makefile dlls/ninput enable_ninput
20377 wine_fn_config_makefile dlls/ninput/tests enable_tests
20378 wine_fn_config_makefile dlls/normaliz enable_normaliz
20379 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20380 wine_fn_config_makefile dlls/npptools enable_npptools
20381 wine_fn_config_makefile dlls/ntdll enable_ntdll
20382 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20383 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20384 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20385 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20386 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20387 wine_fn_config_makefile dlls/ntprint enable_ntprint
20388 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20389 wine_fn_config_makefile dlls/objsel enable_objsel
20390 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20391 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20392 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20393 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20394 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20395 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20396 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20397 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20398 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20399 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20400 wine_fn_config_makefile dlls/ole32 enable_ole32
20401 wine_fn_config_makefile dlls/ole32/tests enable_tests
20402 wine_fn_config_makefile dlls/oleacc enable_oleacc
20403 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20404 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20405 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20406 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20407 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20408 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20409 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20410 wine_fn_config_makefile dlls/oledlg enable_oledlg
20411 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20412 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20413 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20414 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20415 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20416 wine_fn_config_makefile dlls/opcservices enable_opcservices
20417 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20418 wine_fn_config_makefile dlls/openal32 enable_openal32
20419 wine_fn_config_makefile dlls/opencl enable_opencl
20420 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20421 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20422 wine_fn_config_makefile dlls/packager enable_packager
20423 wine_fn_config_makefile dlls/packager/tests enable_tests
20424 wine_fn_config_makefile dlls/pdh enable_pdh
20425 wine_fn_config_makefile dlls/pdh/tests enable_tests
20426 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20427 wine_fn_config_makefile dlls/pidgen enable_pidgen
20428 wine_fn_config_makefile dlls/powrprof enable_powrprof
20429 wine_fn_config_makefile dlls/printui enable_printui
20430 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20431 wine_fn_config_makefile dlls/propsys enable_propsys
20432 wine_fn_config_makefile dlls/propsys/tests enable_tests
20433 wine_fn_config_makefile dlls/psapi enable_psapi
20434 wine_fn_config_makefile dlls/psapi/tests enable_tests
20435 wine_fn_config_makefile dlls/pstorec enable_pstorec
20436 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20437 wine_fn_config_makefile dlls/qcap enable_qcap
20438 wine_fn_config_makefile dlls/qcap/tests enable_tests
20439 wine_fn_config_makefile dlls/qedit enable_qedit
20440 wine_fn_config_makefile dlls/qedit/tests enable_tests
20441 wine_fn_config_makefile dlls/qmgr enable_qmgr
20442 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20443 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20444 wine_fn_config_makefile dlls/quartz enable_quartz
20445 wine_fn_config_makefile dlls/quartz/tests enable_tests
20446 wine_fn_config_makefile dlls/query enable_query
20447 wine_fn_config_makefile dlls/qwave enable_qwave
20448 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20449 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20450 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20451 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20452 wine_fn_config_makefile dlls/regapi enable_regapi
20453 wine_fn_config_makefile dlls/resutils enable_resutils
20454 wine_fn_config_makefile dlls/riched20 enable_riched20
20455 wine_fn_config_makefile dlls/riched20/tests enable_tests
20456 wine_fn_config_makefile dlls/riched32 enable_riched32
20457 wine_fn_config_makefile dlls/riched32/tests enable_tests
20458 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20459 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20460 wine_fn_config_makefile dlls/rsabase enable_rsabase
20461 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20462 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20463 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20464 wine_fn_config_makefile dlls/rtutils enable_rtutils
20465 wine_fn_config_makefile dlls/samlib enable_samlib
20466 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20467 wine_fn_config_makefile dlls/sapi enable_sapi
20468 wine_fn_config_makefile dlls/sapi/tests enable_tests
20469 wine_fn_config_makefile dlls/sas enable_sas
20470 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20471 wine_fn_config_makefile dlls/sccbase enable_sccbase
20472 wine_fn_config_makefile dlls/schannel enable_schannel
20473 wine_fn_config_makefile dlls/schannel/tests enable_tests
20474 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20475 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20476 wine_fn_config_makefile dlls/scrobj enable_scrobj
20477 wine_fn_config_makefile dlls/scrrun enable_scrrun
20478 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20479 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20480 wine_fn_config_makefile dlls/secur32 enable_secur32
20481 wine_fn_config_makefile dlls/secur32/tests enable_tests
20482 wine_fn_config_makefile dlls/security enable_security
20483 wine_fn_config_makefile dlls/sensapi enable_sensapi
20484 wine_fn_config_makefile dlls/serialui enable_serialui
20485 wine_fn_config_makefile dlls/serialui/tests enable_tests
20486 wine_fn_config_makefile dlls/setupapi enable_setupapi
20487 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20488 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20489 wine_fn_config_makefile dlls/sfc enable_sfc
20490 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20491 wine_fn_config_makefile dlls/shcore enable_shcore
20492 wine_fn_config_makefile dlls/shcore/tests enable_tests
20493 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20494 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20495 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20496 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20497 wine_fn_config_makefile dlls/shell32 enable_shell32
20498 wine_fn_config_makefile dlls/shell32/tests enable_tests
20499 wine_fn_config_makefile dlls/shfolder enable_shfolder
20500 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20501 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20502 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20503 wine_fn_config_makefile dlls/slc enable_slc
20504 wine_fn_config_makefile dlls/slc/tests enable_tests
20505 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20506 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20507 wine_fn_config_makefile dlls/softpub enable_softpub
20508 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20509 wine_fn_config_makefile dlls/spoolss enable_spoolss
20510 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20511 wine_fn_config_makefile dlls/srclient enable_srclient
20512 wine_fn_config_makefile dlls/sspicli enable_sspicli
20513 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20514 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20515 wine_fn_config_makefile dlls/sti enable_sti
20516 wine_fn_config_makefile dlls/sti/tests enable_tests
20517 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20518 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20519 wine_fn_config_makefile dlls/strmbase enable_strmbase
20520 wine_fn_config_makefile dlls/strmdll enable_strmdll
20521 wine_fn_config_makefile dlls/strmiids enable_strmiids
20522 wine_fn_config_makefile dlls/svrapi enable_svrapi
20523 wine_fn_config_makefile dlls/sxs enable_sxs
20524 wine_fn_config_makefile dlls/sxs/tests enable_tests
20525 wine_fn_config_makefile dlls/system.drv16 enable_win16
20526 wine_fn_config_makefile dlls/t2embed enable_t2embed
20527 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20528 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20529 wine_fn_config_makefile dlls/taskschd enable_taskschd
20530 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20531 wine_fn_config_makefile dlls/tdh enable_tdh
20532 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20533 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20534 wine_fn_config_makefile dlls/traffic enable_traffic
20535 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20536 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20537 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20538 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20539 wine_fn_config_makefile dlls/tzres enable_tzres
20540 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20541 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20542 wine_fn_config_makefile dlls/uianimation enable_uianimation
20543 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20544 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20545 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20546 wine_fn_config_makefile dlls/unicows enable_unicows
20547 wine_fn_config_makefile dlls/updspapi enable_updspapi
20548 wine_fn_config_makefile dlls/url enable_url
20549 wine_fn_config_makefile dlls/urlmon enable_urlmon
20550 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20551 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20552 wine_fn_config_makefile dlls/user.exe16 enable_win16
20553 wine_fn_config_makefile dlls/user32 enable_user32
20554 wine_fn_config_makefile dlls/user32/tests enable_tests
20555 wine_fn_config_makefile dlls/userenv enable_userenv
20556 wine_fn_config_makefile dlls/userenv/tests enable_tests
20557 wine_fn_config_makefile dlls/usp10 enable_usp10
20558 wine_fn_config_makefile dlls/usp10/tests enable_tests
20559 wine_fn_config_makefile dlls/uuid enable_uuid
20560 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20561 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20562 wine_fn_config_makefile dlls/vbscript enable_vbscript
20563 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20564 wine_fn_config_makefile dlls/vcomp enable_vcomp
20565 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20566 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20567 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20568 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20569 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20570 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20571 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20572 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20573 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20574 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20575 wine_fn_config_makefile dlls/version enable_version
20576 wine_fn_config_makefile dlls/version/tests enable_tests
20577 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20578 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20579 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20580 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20581 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20582 wine_fn_config_makefile dlls/vssapi enable_vssapi
20583 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20584 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20585 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20586 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20587 wine_fn_config_makefile dlls/w32skrnl enable_win16
20588 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20589 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20590 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20591 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20592 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20593 wine_fn_config_makefile dlls/wdscore enable_wdscore
20594 wine_fn_config_makefile dlls/webservices enable_webservices
20595 wine_fn_config_makefile dlls/webservices/tests enable_tests
20596 wine_fn_config_makefile dlls/wer enable_wer
20597 wine_fn_config_makefile dlls/wer/tests enable_tests
20598 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20599 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20600 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20601 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20602 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20603 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20604 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20605 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20606 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20607 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20608 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20609 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20610 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20611 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20612 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20613 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20614 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20615 wine_fn_config_makefile dlls/wined3d enable_wined3d
20616 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20617 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20618 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20619 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20620 wine_fn_config_makefile dlls/winemapi enable_winemapi
20621 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20622 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20623 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20624 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20625 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20626 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20627 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20628 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20629 wine_fn_config_makefile dlls/wing32 enable_wing32
20630 wine_fn_config_makefile dlls/winhttp enable_winhttp
20631 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20632 wine_fn_config_makefile dlls/wininet enable_wininet
20633 wine_fn_config_makefile dlls/wininet/tests enable_tests
20634 wine_fn_config_makefile dlls/winmm enable_winmm
20635 wine_fn_config_makefile dlls/winmm/tests enable_tests
20636 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20637 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20638 wine_fn_config_makefile dlls/winscard enable_winscard
20639 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20640 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20641 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20642 wine_fn_config_makefile dlls/winsta enable_winsta
20643 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20644 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20645 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20646 wine_fn_config_makefile dlls/wintrust enable_wintrust
20647 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20648 wine_fn_config_makefile dlls/winusb enable_winusb
20649 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20650 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20651 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20652 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20653 wine_fn_config_makefile dlls/wmasf enable_wmasf
20654 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20655 wine_fn_config_makefile dlls/wmi enable_wmi
20656 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20657 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20658 wine_fn_config_makefile dlls/wmp enable_wmp
20659 wine_fn_config_makefile dlls/wmp/tests enable_tests
20660 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20661 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20662 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20663 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20664 wine_fn_config_makefile dlls/wow32 enable_win16
20665 wine_fn_config_makefile dlls/wpc enable_wpc
20666 wine_fn_config_makefile dlls/wpc/tests enable_tests
20667 wine_fn_config_makefile dlls/wpcap enable_wpcap
20668 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20669 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20670 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20671 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20672 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20673 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20674 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20675 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20676 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20677 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20678 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20679 wine_fn_config_makefile dlls/wuapi enable_wuapi
20680 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20681 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20682 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20683 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20684 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20685 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20686 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20687 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20688 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20689 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20690 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20691 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20692 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20693 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20694 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20695 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20696 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20697 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20698 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20699 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20700 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20701 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20702 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20703 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20704 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20705 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20706 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20707 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20708 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20709 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20710 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20711 wine_fn_config_makefile dlls/xmllite enable_xmllite
20712 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20713 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20714 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20715 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20716 wine_fn_config_makefile fonts enable_fonts
20717 wine_fn_config_makefile include enable_include
20718 wine_fn_config_makefile libs/port enable_port
20719 wine_fn_config_makefile libs/wine enable_wine
20720 wine_fn_config_makefile libs/wpp enable_wpp
20721 wine_fn_config_makefile loader enable_loader
20722 wine_fn_config_makefile po enable_po
20723 wine_fn_config_makefile programs/arp enable_arp
20724 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20725 wine_fn_config_makefile programs/attrib enable_attrib
20726 wine_fn_config_makefile programs/cabarc enable_cabarc
20727 wine_fn_config_makefile programs/cacls enable_cacls
20728 wine_fn_config_makefile programs/clock enable_clock
20729 wine_fn_config_makefile programs/cmd enable_cmd
20730 wine_fn_config_makefile programs/cmd/tests enable_tests
20731 wine_fn_config_makefile programs/conhost enable_conhost
20732 wine_fn_config_makefile programs/control enable_control
20733 wine_fn_config_makefile programs/cscript enable_cscript
20734 wine_fn_config_makefile programs/dism enable_dism
20735 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20736 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20737 wine_fn_config_makefile programs/eject enable_eject
20738 wine_fn_config_makefile programs/expand enable_expand
20739 wine_fn_config_makefile programs/explorer enable_explorer
20740 wine_fn_config_makefile programs/extrac32 enable_extrac32
20741 wine_fn_config_makefile programs/fc enable_fc
20742 wine_fn_config_makefile programs/find enable_find
20743 wine_fn_config_makefile programs/findstr enable_findstr
20744 wine_fn_config_makefile programs/fsutil enable_fsutil
20745 wine_fn_config_makefile programs/hh enable_hh
20746 wine_fn_config_makefile programs/hostname enable_hostname
20747 wine_fn_config_makefile programs/icacls enable_icacls
20748 wine_fn_config_makefile programs/icinfo enable_icinfo
20749 wine_fn_config_makefile programs/iexplore enable_iexplore
20750 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20751 wine_fn_config_makefile programs/lodctr enable_lodctr
20752 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20753 wine_fn_config_makefile programs/mshta enable_mshta
20754 wine_fn_config_makefile programs/msidb enable_msidb
20755 wine_fn_config_makefile programs/msiexec enable_msiexec
20756 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20757 wine_fn_config_makefile programs/net enable_net
20758 wine_fn_config_makefile programs/netsh enable_netsh
20759 wine_fn_config_makefile programs/netstat enable_netstat
20760 wine_fn_config_makefile programs/ngen enable_ngen
20761 wine_fn_config_makefile programs/notepad enable_notepad
20762 wine_fn_config_makefile programs/oleview enable_oleview
20763 wine_fn_config_makefile programs/ping enable_ping
20764 wine_fn_config_makefile programs/plugplay enable_plugplay
20765 wine_fn_config_makefile programs/powershell enable_powershell
20766 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20767 wine_fn_config_makefile programs/progman enable_progman
20768 wine_fn_config_makefile programs/reg enable_reg
20769 wine_fn_config_makefile programs/reg/tests enable_tests
20770 wine_fn_config_makefile programs/regasm enable_regasm
20771 wine_fn_config_makefile programs/regedit enable_regedit
20772 wine_fn_config_makefile programs/regedit/tests enable_tests
20773 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20774 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20775 wine_fn_config_makefile programs/rpcss enable_rpcss
20776 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20777 wine_fn_config_makefile programs/rundll32 enable_rundll32
20778 wine_fn_config_makefile programs/sc enable_sc
20779 wine_fn_config_makefile programs/schtasks enable_schtasks
20780 wine_fn_config_makefile programs/schtasks/tests enable_tests
20781 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20782 wine_fn_config_makefile programs/secedit enable_secedit
20783 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20784 wine_fn_config_makefile programs/services enable_services
20785 wine_fn_config_makefile programs/services/tests enable_tests
20786 wine_fn_config_makefile programs/shutdown enable_shutdown
20787 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20788 wine_fn_config_makefile programs/start enable_start
20789 wine_fn_config_makefile programs/subst enable_subst
20790 wine_fn_config_makefile programs/svchost enable_svchost
20791 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20792 wine_fn_config_makefile programs/taskkill enable_taskkill
20793 wine_fn_config_makefile programs/tasklist enable_tasklist
20794 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20795 wine_fn_config_makefile programs/termsv enable_termsv
20796 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20797 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20798 wine_fn_config_makefile programs/view enable_view
20799 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20800 wine_fn_config_makefile programs/wineboot enable_wineboot
20801 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20802 wine_fn_config_makefile programs/winecfg enable_winecfg
20803 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20804 wine_fn_config_makefile programs/winedbg enable_winedbg
20805 wine_fn_config_makefile programs/winedevice enable_winedevice
20806 wine_fn_config_makefile programs/winefile enable_winefile
20807 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20808 wine_fn_config_makefile programs/winemine enable_winemine
20809 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20810 wine_fn_config_makefile programs/winepath enable_winepath
20811 wine_fn_config_makefile programs/winetest enable_winetest
20812 wine_fn_config_makefile programs/winevdm enable_win16
20813 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20814 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20815 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20816 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20817 wine_fn_config_makefile programs/winver enable_winver
20818 wine_fn_config_makefile programs/wmic enable_wmic
20819 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20820 wine_fn_config_makefile programs/wordpad enable_wordpad
20821 wine_fn_config_makefile programs/write enable_write
20822 wine_fn_config_makefile programs/wscript enable_wscript
20823 wine_fn_config_makefile programs/wscript/tests enable_tests
20824 wine_fn_config_makefile programs/wusa enable_wusa
20825 wine_fn_config_makefile programs/xcopy enable_xcopy
20826 wine_fn_config_makefile programs/xcopy/tests enable_tests
20827 wine_fn_config_makefile server enable_server
20828 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20829 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20830 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20831 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20832 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20833 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20834 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20835 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20836 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20839 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20840 wine_fn_append_file CONFIGURE_TARGETS "tags"
20841 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20842 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20843 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20844 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20845 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20846 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20848 if test "x$enable_tools" != xno
20849 then
20850 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20851 ac_config_commands="$ac_config_commands tools/makedep"
20855 ac_config_commands="$ac_config_commands Makefile"
20858 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20862 if test "x$enable_maintainer_mode" = xyes
20863 then
20864 wine_fn_append_rule "configure: configure.ac aclocal.m4
20865 autoconf --warnings=all
20866 include/config.h.in: include/stamp-h.in
20867 include/stamp-h.in: configure.ac aclocal.m4
20868 autoheader --warnings=all
20869 @echo timestamp > \$@"
20872 if test "x$enable_tools" != xno
20873 then
20874 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20875 @./config.status tools/makedep
20876 Makefile: tools/makedep$ac_exeext
20877 fonts: tools/sfnt2fon
20878 include: tools tools/widl"
20879 else
20880 wine_fn_append_rule "\$(MAKEDEP):
20881 @echo \"You need to run make in $TOOLSDIR first\" && false"
20884 if test -n "$with_wine64"
20885 then
20886 case "$with_wine64" in
20887 /*) reldir="" ;;
20888 *) reldir="../" ;;
20889 esac
20890 rm -f fonts server 2>/dev/null
20891 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20892 loader/wine64 loader/wine64-preloader:
20893 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20894 $with_wine64/loader/wine:
20895 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20896 $with_wine64/loader/wine-preloader:
20897 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20898 clean::
20899 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20900 else
20901 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20902 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20903 fonts \
20904 loader/l_intl.nls \
20905 loader/wine.inf \
20906 programs/msidb/msidb \
20907 programs/msiexec/msiexec \
20908 programs/notepad/notepad \
20909 programs/regedit/regedit \
20910 programs/regsvr32/regsvr32 \
20911 programs/wineboot/wineboot \
20912 programs/winecfg/winecfg \
20913 programs/wineconsole/wineconsole \
20914 programs/winedbg/winedbg \
20915 programs/winefile/winefile \
20916 programs/winemine/winemine \
20917 programs/winepath/winepath \
20918 server/wineserver"
20920 case $host_os in
20921 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20922 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20923 esac
20926 $as_echo " done" >&6
20927 cat >confcache <<\_ACEOF
20928 # This file is a shell script that caches the results of configure
20929 # tests run on this system so they can be shared between configure
20930 # scripts and configure runs, see configure's option --config-cache.
20931 # It is not useful on other systems. If it contains results you don't
20932 # want to keep, you may remove or edit it.
20934 # config.status only pays attention to the cache file if you give it
20935 # the --recheck option to rerun configure.
20937 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20938 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20939 # following values.
20941 _ACEOF
20943 # The following way of writing the cache mishandles newlines in values,
20944 # but we know of no workaround that is simple, portable, and efficient.
20945 # So, we kill variables containing newlines.
20946 # Ultrix sh set writes to stderr and can't be redirected directly,
20947 # and sets the high bit in the cache file unless we assign to the vars.
20949 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20950 eval ac_val=\$$ac_var
20951 case $ac_val in #(
20952 *${as_nl}*)
20953 case $ac_var in #(
20954 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20955 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20956 esac
20957 case $ac_var in #(
20958 _ | IFS | as_nl) ;; #(
20959 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20960 *) { eval $ac_var=; unset $ac_var;} ;;
20961 esac ;;
20962 esac
20963 done
20965 (set) 2>&1 |
20966 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20967 *${as_nl}ac_space=\ *)
20968 # `set' does not quote correctly, so add quotes: double-quote
20969 # substitution turns \\\\ into \\, and sed turns \\ into \.
20970 sed -n \
20971 "s/'/'\\\\''/g;
20972 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20973 ;; #(
20975 # `set' quotes correctly as required by POSIX, so do not add quotes.
20976 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20978 esac |
20979 sort
20981 sed '
20982 /^ac_cv_env_/b end
20983 t clear
20984 :clear
20985 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20986 t end
20987 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20988 :end' >>confcache
20989 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20990 if test -w "$cache_file"; then
20991 if test "x$cache_file" != "x/dev/null"; then
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20993 $as_echo "$as_me: updating cache $cache_file" >&6;}
20994 if test ! -f "$cache_file" || test -h "$cache_file"; then
20995 cat confcache >"$cache_file"
20996 else
20997 case $cache_file in #(
20998 */* | ?:*)
20999 mv -f confcache "$cache_file"$$ &&
21000 mv -f "$cache_file"$$ "$cache_file" ;; #(
21002 mv -f confcache "$cache_file" ;;
21003 esac
21006 else
21007 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21008 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21011 rm -f confcache
21013 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21014 # Let make expand exec_prefix.
21015 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21017 DEFS=-DHAVE_CONFIG_H
21019 ac_libobjs=
21020 ac_ltlibobjs=
21022 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21023 # 1. Remove the extension, and $U if already installed.
21024 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21025 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21026 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21027 # will be set to the directory where LIBOBJS objects are built.
21028 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21029 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21030 done
21031 LIBOBJS=$ac_libobjs
21033 LTLIBOBJS=$ac_ltlibobjs
21037 : "${CONFIG_STATUS=./config.status}"
21038 ac_write_fail=0
21039 ac_clean_files_save=$ac_clean_files
21040 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21042 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21043 as_write_fail=0
21044 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21045 #! $SHELL
21046 # Generated by $as_me.
21047 # Run this file to recreate the current configuration.
21048 # Compiler output produced by configure, useful for debugging
21049 # configure, is in config.log if it exists.
21051 debug=false
21052 ac_cs_recheck=false
21053 ac_cs_silent=false
21055 SHELL=\${CONFIG_SHELL-$SHELL}
21056 export SHELL
21057 _ASEOF
21058 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21059 ## -------------------- ##
21060 ## M4sh Initialization. ##
21061 ## -------------------- ##
21063 # Be more Bourne compatible
21064 DUALCASE=1; export DUALCASE # for MKS sh
21065 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21066 emulate sh
21067 NULLCMD=:
21068 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21069 # is contrary to our usage. Disable this feature.
21070 alias -g '${1+"$@"}'='"$@"'
21071 setopt NO_GLOB_SUBST
21072 else
21073 case `(set -o) 2>/dev/null` in #(
21074 *posix*) :
21075 set -o posix ;; #(
21076 *) :
21078 esac
21082 as_nl='
21084 export as_nl
21085 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21086 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21087 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21088 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21089 # Prefer a ksh shell builtin over an external printf program on Solaris,
21090 # but without wasting forks for bash or zsh.
21091 if test -z "$BASH_VERSION$ZSH_VERSION" \
21092 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21093 as_echo='print -r --'
21094 as_echo_n='print -rn --'
21095 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21096 as_echo='printf %s\n'
21097 as_echo_n='printf %s'
21098 else
21099 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21100 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21101 as_echo_n='/usr/ucb/echo -n'
21102 else
21103 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21104 as_echo_n_body='eval
21105 arg=$1;
21106 case $arg in #(
21107 *"$as_nl"*)
21108 expr "X$arg" : "X\\(.*\\)$as_nl";
21109 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21110 esac;
21111 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21113 export as_echo_n_body
21114 as_echo_n='sh -c $as_echo_n_body as_echo'
21116 export as_echo_body
21117 as_echo='sh -c $as_echo_body as_echo'
21120 # The user is always right.
21121 if test "${PATH_SEPARATOR+set}" != set; then
21122 PATH_SEPARATOR=:
21123 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21124 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21125 PATH_SEPARATOR=';'
21130 # IFS
21131 # We need space, tab and new line, in precisely that order. Quoting is
21132 # there to prevent editors from complaining about space-tab.
21133 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21134 # splitting by setting IFS to empty value.)
21135 IFS=" "" $as_nl"
21137 # Find who we are. Look in the path if we contain no directory separator.
21138 as_myself=
21139 case $0 in #((
21140 *[\\/]* ) as_myself=$0 ;;
21141 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21142 for as_dir in $PATH
21144 IFS=$as_save_IFS
21145 test -z "$as_dir" && as_dir=.
21146 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21147 done
21148 IFS=$as_save_IFS
21151 esac
21152 # We did not find ourselves, most probably we were run as `sh COMMAND'
21153 # in which case we are not to be found in the path.
21154 if test "x$as_myself" = x; then
21155 as_myself=$0
21157 if test ! -f "$as_myself"; then
21158 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21159 exit 1
21162 # Unset variables that we do not need and which cause bugs (e.g. in
21163 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21164 # suppresses any "Segmentation fault" message there. '((' could
21165 # trigger a bug in pdksh 5.2.14.
21166 for as_var in BASH_ENV ENV MAIL MAILPATH
21167 do eval test x\${$as_var+set} = xset \
21168 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21169 done
21170 PS1='$ '
21171 PS2='> '
21172 PS4='+ '
21174 # NLS nuisances.
21175 LC_ALL=C
21176 export LC_ALL
21177 LANGUAGE=C
21178 export LANGUAGE
21180 # CDPATH.
21181 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21184 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21185 # ----------------------------------------
21186 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21187 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21188 # script with STATUS, using 1 if that was 0.
21189 as_fn_error ()
21191 as_status=$1; test $as_status -eq 0 && as_status=1
21192 if test "$4"; then
21193 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21194 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21196 $as_echo "$as_me: error: $2" >&2
21197 as_fn_exit $as_status
21198 } # as_fn_error
21201 # as_fn_set_status STATUS
21202 # -----------------------
21203 # Set $? to STATUS, without forking.
21204 as_fn_set_status ()
21206 return $1
21207 } # as_fn_set_status
21209 # as_fn_exit STATUS
21210 # -----------------
21211 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21212 as_fn_exit ()
21214 set +e
21215 as_fn_set_status $1
21216 exit $1
21217 } # as_fn_exit
21219 # as_fn_unset VAR
21220 # ---------------
21221 # Portably unset VAR.
21222 as_fn_unset ()
21224 { eval $1=; unset $1;}
21226 as_unset=as_fn_unset
21227 # as_fn_append VAR VALUE
21228 # ----------------------
21229 # Append the text in VALUE to the end of the definition contained in VAR. Take
21230 # advantage of any shell optimizations that allow amortized linear growth over
21231 # repeated appends, instead of the typical quadratic growth present in naive
21232 # implementations.
21233 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21234 eval 'as_fn_append ()
21236 eval $1+=\$2
21238 else
21239 as_fn_append ()
21241 eval $1=\$$1\$2
21243 fi # as_fn_append
21245 # as_fn_arith ARG...
21246 # ------------------
21247 # Perform arithmetic evaluation on the ARGs, and store the result in the
21248 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21249 # must be portable across $(()) and expr.
21250 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21251 eval 'as_fn_arith ()
21253 as_val=$(( $* ))
21255 else
21256 as_fn_arith ()
21258 as_val=`expr "$@" || test $? -eq 1`
21260 fi # as_fn_arith
21263 if expr a : '\(a\)' >/dev/null 2>&1 &&
21264 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21265 as_expr=expr
21266 else
21267 as_expr=false
21270 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21271 as_basename=basename
21272 else
21273 as_basename=false
21276 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21277 as_dirname=dirname
21278 else
21279 as_dirname=false
21282 as_me=`$as_basename -- "$0" ||
21283 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21284 X"$0" : 'X\(//\)$' \| \
21285 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21286 $as_echo X/"$0" |
21287 sed '/^.*\/\([^/][^/]*\)\/*$/{
21288 s//\1/
21291 /^X\/\(\/\/\)$/{
21292 s//\1/
21295 /^X\/\(\/\).*/{
21296 s//\1/
21299 s/.*/./; q'`
21301 # Avoid depending upon Character Ranges.
21302 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21303 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21304 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21305 as_cr_digits='0123456789'
21306 as_cr_alnum=$as_cr_Letters$as_cr_digits
21308 ECHO_C= ECHO_N= ECHO_T=
21309 case `echo -n x` in #(((((
21310 -n*)
21311 case `echo 'xy\c'` in
21312 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21313 xy) ECHO_C='\c';;
21314 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21315 ECHO_T=' ';;
21316 esac;;
21318 ECHO_N='-n';;
21319 esac
21321 rm -f conf$$ conf$$.exe conf$$.file
21322 if test -d conf$$.dir; then
21323 rm -f conf$$.dir/conf$$.file
21324 else
21325 rm -f conf$$.dir
21326 mkdir conf$$.dir 2>/dev/null
21328 if (echo >conf$$.file) 2>/dev/null; then
21329 if ln -s conf$$.file conf$$ 2>/dev/null; then
21330 as_ln_s='ln -s'
21331 # ... but there are two gotchas:
21332 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21333 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21334 # In both cases, we have to default to `cp -pR'.
21335 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21336 as_ln_s='cp -pR'
21337 elif ln conf$$.file conf$$ 2>/dev/null; then
21338 as_ln_s=ln
21339 else
21340 as_ln_s='cp -pR'
21342 else
21343 as_ln_s='cp -pR'
21345 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21346 rmdir conf$$.dir 2>/dev/null
21349 # as_fn_mkdir_p
21350 # -------------
21351 # Create "$as_dir" as a directory, including parents if necessary.
21352 as_fn_mkdir_p ()
21355 case $as_dir in #(
21356 -*) as_dir=./$as_dir;;
21357 esac
21358 test -d "$as_dir" || eval $as_mkdir_p || {
21359 as_dirs=
21360 while :; do
21361 case $as_dir in #(
21362 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21363 *) as_qdir=$as_dir;;
21364 esac
21365 as_dirs="'$as_qdir' $as_dirs"
21366 as_dir=`$as_dirname -- "$as_dir" ||
21367 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21368 X"$as_dir" : 'X\(//\)[^/]' \| \
21369 X"$as_dir" : 'X\(//\)$' \| \
21370 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21371 $as_echo X"$as_dir" |
21372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21373 s//\1/
21376 /^X\(\/\/\)[^/].*/{
21377 s//\1/
21380 /^X\(\/\/\)$/{
21381 s//\1/
21384 /^X\(\/\).*/{
21385 s//\1/
21388 s/.*/./; q'`
21389 test -d "$as_dir" && break
21390 done
21391 test -z "$as_dirs" || eval "mkdir $as_dirs"
21392 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21395 } # as_fn_mkdir_p
21396 if mkdir -p . 2>/dev/null; then
21397 as_mkdir_p='mkdir -p "$as_dir"'
21398 else
21399 test -d ./-p && rmdir ./-p
21400 as_mkdir_p=false
21404 # as_fn_executable_p FILE
21405 # -----------------------
21406 # Test if FILE is an executable regular file.
21407 as_fn_executable_p ()
21409 test -f "$1" && test -x "$1"
21410 } # as_fn_executable_p
21411 as_test_x='test -x'
21412 as_executable_p=as_fn_executable_p
21414 # Sed expression to map a string onto a valid CPP name.
21415 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21417 # Sed expression to map a string onto a valid variable name.
21418 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21421 exec 6>&1
21422 ## ----------------------------------- ##
21423 ## Main body of $CONFIG_STATUS script. ##
21424 ## ----------------------------------- ##
21425 _ASEOF
21426 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21429 # Save the log message, to keep $0 and so on meaningful, and to
21430 # report actual input values of CONFIG_FILES etc. instead of their
21431 # values after options handling.
21432 ac_log="
21433 This file was extended by Wine $as_me 4.5, which was
21434 generated by GNU Autoconf 2.69. Invocation command line was
21436 CONFIG_FILES = $CONFIG_FILES
21437 CONFIG_HEADERS = $CONFIG_HEADERS
21438 CONFIG_LINKS = $CONFIG_LINKS
21439 CONFIG_COMMANDS = $CONFIG_COMMANDS
21440 $ $0 $@
21442 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21445 _ACEOF
21447 case $ac_config_files in *"
21448 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21449 esac
21451 case $ac_config_headers in *"
21452 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21453 esac
21456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21457 # Files that config.status was made for.
21458 config_files="$ac_config_files"
21459 config_headers="$ac_config_headers"
21460 config_links="$ac_config_links"
21461 config_commands="$ac_config_commands"
21463 _ACEOF
21465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21466 ac_cs_usage="\
21467 \`$as_me' instantiates files and other configuration actions
21468 from templates according to the current configuration. Unless the files
21469 and actions are specified as TAGs, all are instantiated by default.
21471 Usage: $0 [OPTION]... [TAG]...
21473 -h, --help print this help, then exit
21474 -V, --version print version number and configuration settings, then exit
21475 --config print configuration, then exit
21476 -q, --quiet, --silent
21477 do not print progress messages
21478 -d, --debug don't remove temporary files
21479 --recheck update $as_me by reconfiguring in the same conditions
21480 --file=FILE[:TEMPLATE]
21481 instantiate the configuration file FILE
21482 --header=FILE[:TEMPLATE]
21483 instantiate the configuration header FILE
21485 Configuration files:
21486 $config_files
21488 Configuration headers:
21489 $config_headers
21491 Configuration links:
21492 $config_links
21494 Configuration commands:
21495 $config_commands
21497 Report bugs to <wine-devel@winehq.org>.
21498 Wine home page: <https://www.winehq.org>."
21500 _ACEOF
21501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21502 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21503 ac_cs_version="\\
21504 Wine config.status 4.5
21505 configured by $0, generated by GNU Autoconf 2.69,
21506 with options \\"\$ac_cs_config\\"
21508 Copyright (C) 2012 Free Software Foundation, Inc.
21509 This config.status script is free software; the Free Software Foundation
21510 gives unlimited permission to copy, distribute and modify it."
21512 ac_pwd='$ac_pwd'
21513 srcdir='$srcdir'
21514 test -n "\$AWK" || AWK=awk
21515 _ACEOF
21517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21518 # The default lists apply if the user does not specify any file.
21519 ac_need_defaults=:
21520 while test $# != 0
21522 case $1 in
21523 --*=?*)
21524 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21525 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21526 ac_shift=:
21528 --*=)
21529 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21530 ac_optarg=
21531 ac_shift=:
21534 ac_option=$1
21535 ac_optarg=$2
21536 ac_shift=shift
21538 esac
21540 case $ac_option in
21541 # Handling of the options.
21542 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21543 ac_cs_recheck=: ;;
21544 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21545 $as_echo "$ac_cs_version"; exit ;;
21546 --config | --confi | --conf | --con | --co | --c )
21547 $as_echo "$ac_cs_config"; exit ;;
21548 --debug | --debu | --deb | --de | --d | -d )
21549 debug=: ;;
21550 --file | --fil | --fi | --f )
21551 $ac_shift
21552 case $ac_optarg in
21553 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21554 '') as_fn_error $? "missing file argument" ;;
21555 esac
21556 as_fn_append CONFIG_FILES " '$ac_optarg'"
21557 ac_need_defaults=false;;
21558 --header | --heade | --head | --hea )
21559 $ac_shift
21560 case $ac_optarg in
21561 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21562 esac
21563 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21564 ac_need_defaults=false;;
21565 --he | --h)
21566 # Conflict between --help and --header
21567 as_fn_error $? "ambiguous option: \`$1'
21568 Try \`$0 --help' for more information.";;
21569 --help | --hel | -h )
21570 $as_echo "$ac_cs_usage"; exit ;;
21571 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21572 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21573 ac_cs_silent=: ;;
21575 # This is an error.
21576 -*) as_fn_error $? "unrecognized option: \`$1'
21577 Try \`$0 --help' for more information." ;;
21579 *) as_fn_append ac_config_targets " $1"
21580 ac_need_defaults=false ;;
21582 esac
21583 shift
21584 done
21586 ac_configure_extra_args=
21588 if $ac_cs_silent; then
21589 exec 6>/dev/null
21590 ac_configure_extra_args="$ac_configure_extra_args --silent"
21593 _ACEOF
21594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21595 if \$ac_cs_recheck; then
21596 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21597 shift
21598 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21599 CONFIG_SHELL='$SHELL'
21600 export CONFIG_SHELL
21601 exec "\$@"
21604 _ACEOF
21605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21606 exec 5>>config.log
21608 echo
21609 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21610 ## Running $as_me. ##
21611 _ASBOX
21612 $as_echo "$ac_log"
21613 } >&5
21615 _ACEOF
21616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21618 # INIT-COMMANDS
21620 wine_fn_output_makedep ()
21622 as_dir=tools; as_fn_mkdir_p
21623 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21625 wine_fn_output_makefile ()
21627 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21628 `cat $wine_rules_file`
21629 _WINE_EOF
21630 as_fn_error $? "could not create Makefile" "$LINENO" 5
21633 _ACEOF
21635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21637 # Handling of arguments.
21638 for ac_config_target in $ac_config_targets
21640 case $ac_config_target in
21641 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21642 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21643 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21644 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21645 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21646 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21647 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21648 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21649 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21650 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21651 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21652 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21653 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21655 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21656 esac
21657 done
21660 # If the user did not use the arguments to specify the items to instantiate,
21661 # then the envvar interface is used. Set only those that are not.
21662 # We use the long form for the default assignment because of an extremely
21663 # bizarre bug on SunOS 4.1.3.
21664 if $ac_need_defaults; then
21665 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21666 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21667 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21668 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21671 # Have a temporary directory for convenience. Make it in the build tree
21672 # simply because there is no reason against having it here, and in addition,
21673 # creating and moving files from /tmp can sometimes cause problems.
21674 # Hook for its removal unless debugging.
21675 # Note that there is a small window in which the directory will not be cleaned:
21676 # after its creation but before its name has been assigned to `$tmp'.
21677 $debug ||
21679 tmp= ac_tmp=
21680 trap 'exit_status=$?
21681 : "${ac_tmp:=$tmp}"
21682 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21684 trap 'as_fn_exit 1' 1 2 13 15
21686 # Create a (secure) tmp directory for tmp files.
21689 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21690 test -d "$tmp"
21691 } ||
21693 tmp=./conf$$-$RANDOM
21694 (umask 077 && mkdir "$tmp")
21695 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21696 ac_tmp=$tmp
21698 # Set up the scripts for CONFIG_FILES section.
21699 # No need to generate them if there are no CONFIG_FILES.
21700 # This happens for instance with `./config.status config.h'.
21701 if test -n "$CONFIG_FILES"; then
21704 ac_cr=`echo X | tr X '\015'`
21705 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21706 # But we know of no other shell where ac_cr would be empty at this
21707 # point, so we can use a bashism as a fallback.
21708 if test "x$ac_cr" = x; then
21709 eval ac_cr=\$\'\\r\'
21711 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21712 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21713 ac_cs_awk_cr='\\r'
21714 else
21715 ac_cs_awk_cr=$ac_cr
21718 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21719 _ACEOF
21723 echo "cat >conf$$subs.awk <<_ACEOF" &&
21724 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21725 echo "_ACEOF"
21726 } >conf$$subs.sh ||
21727 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21728 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21729 ac_delim='%!_!# '
21730 for ac_last_try in false false false false false :; do
21731 . ./conf$$subs.sh ||
21732 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21734 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21735 if test $ac_delim_n = $ac_delim_num; then
21736 break
21737 elif $ac_last_try; then
21738 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21739 else
21740 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21742 done
21743 rm -f conf$$subs.sh
21745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21746 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21747 _ACEOF
21748 sed -n '
21750 s/^/S["/; s/!.*/"]=/
21753 s/^[^!]*!//
21754 :repl
21755 t repl
21756 s/'"$ac_delim"'$//
21757 t delim
21760 s/\(.\{148\}\)..*/\1/
21761 t more1
21762 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21765 b repl
21766 :more1
21767 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21770 s/.\{148\}//
21771 t nl
21772 :delim
21774 s/\(.\{148\}\)..*/\1/
21775 t more2
21776 s/["\\]/\\&/g; s/^/"/; s/$/"/
21779 :more2
21780 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21783 s/.\{148\}//
21784 t delim
21785 ' <conf$$subs.awk | sed '
21786 /^[^""]/{
21788 s/\n//
21790 ' >>$CONFIG_STATUS || ac_write_fail=1
21791 rm -f conf$$subs.awk
21792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21793 _ACAWK
21794 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21795 for (key in S) S_is_set[key] = 1
21796 FS = "\a"
21800 line = $ 0
21801 nfields = split(line, field, "@")
21802 substed = 0
21803 len = length(field[1])
21804 for (i = 2; i < nfields; i++) {
21805 key = field[i]
21806 keylen = length(key)
21807 if (S_is_set[key]) {
21808 value = S[key]
21809 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21810 len += length(value) + length(field[++i])
21811 substed = 1
21812 } else
21813 len += 1 + keylen
21816 print line
21819 _ACAWK
21820 _ACEOF
21821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21822 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21823 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21824 else
21826 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21827 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21828 _ACEOF
21830 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21831 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21832 # trailing colons and then remove the whole line if VPATH becomes empty
21833 # (actually we leave an empty line to preserve line numbers).
21834 if test "x$srcdir" = x.; then
21835 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21837 s///
21838 s/^/:/
21839 s/[ ]*$/:/
21840 s/:\$(srcdir):/:/g
21841 s/:\${srcdir}:/:/g
21842 s/:@srcdir@:/:/g
21843 s/^:*//
21844 s/:*$//
21846 s/\(=[ ]*\).*/\1/
21848 s/\n//
21849 s/^[^=]*=[ ]*$//
21853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21854 fi # test -n "$CONFIG_FILES"
21856 # Set up the scripts for CONFIG_HEADERS section.
21857 # No need to generate them if there are no CONFIG_HEADERS.
21858 # This happens for instance with `./config.status Makefile'.
21859 if test -n "$CONFIG_HEADERS"; then
21860 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21861 BEGIN {
21862 _ACEOF
21864 # Transform confdefs.h into an awk script `defines.awk', embedded as
21865 # here-document in config.status, that substitutes the proper values into
21866 # config.h.in to produce config.h.
21868 # Create a delimiter string that does not exist in confdefs.h, to ease
21869 # handling of long lines.
21870 ac_delim='%!_!# '
21871 for ac_last_try in false false :; do
21872 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21873 if test -z "$ac_tt"; then
21874 break
21875 elif $ac_last_try; then
21876 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21877 else
21878 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21880 done
21882 # For the awk script, D is an array of macro values keyed by name,
21883 # likewise P contains macro parameters if any. Preserve backslash
21884 # newline sequences.
21886 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21887 sed -n '
21888 s/.\{148\}/&'"$ac_delim"'/g
21889 t rset
21890 :rset
21891 s/^[ ]*#[ ]*define[ ][ ]*/ /
21892 t def
21894 :def
21895 s/\\$//
21896 t bsnl
21897 s/["\\]/\\&/g
21898 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21899 D["\1"]=" \3"/p
21900 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21902 :bsnl
21903 s/["\\]/\\&/g
21904 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21905 D["\1"]=" \3\\\\\\n"\\/p
21906 t cont
21907 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21908 t cont
21910 :cont
21912 s/.\{148\}/&'"$ac_delim"'/g
21913 t clear
21914 :clear
21915 s/\\$//
21916 t bsnlc
21917 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21919 :bsnlc
21920 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21921 b cont
21922 ' <confdefs.h | sed '
21923 s/'"$ac_delim"'/"\\\
21924 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21927 for (key in D) D_is_set[key] = 1
21928 FS = "\a"
21930 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21931 line = \$ 0
21932 split(line, arg, " ")
21933 if (arg[1] == "#") {
21934 defundef = arg[2]
21935 mac1 = arg[3]
21936 } else {
21937 defundef = substr(arg[1], 2)
21938 mac1 = arg[2]
21940 split(mac1, mac2, "(") #)
21941 macro = mac2[1]
21942 prefix = substr(line, 1, index(line, defundef) - 1)
21943 if (D_is_set[macro]) {
21944 # Preserve the white space surrounding the "#".
21945 print prefix "define", macro P[macro] D[macro]
21946 next
21947 } else {
21948 # Replace #undef with comments. This is necessary, for example,
21949 # in the case of _POSIX_SOURCE, which is predefined and required
21950 # on some systems where configure will not decide to define it.
21951 if (defundef == "undef") {
21952 print "/*", prefix defundef, macro, "*/"
21953 next
21957 { print }
21958 _ACAWK
21959 _ACEOF
21960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21961 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21962 fi # test -n "$CONFIG_HEADERS"
21965 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21966 shift
21967 for ac_tag
21969 case $ac_tag in
21970 :[FHLC]) ac_mode=$ac_tag; continue;;
21971 esac
21972 case $ac_mode$ac_tag in
21973 :[FHL]*:*);;
21974 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21975 :[FH]-) ac_tag=-:-;;
21976 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21977 esac
21978 ac_save_IFS=$IFS
21979 IFS=:
21980 set x $ac_tag
21981 IFS=$ac_save_IFS
21982 shift
21983 ac_file=$1
21984 shift
21986 case $ac_mode in
21987 :L) ac_source=$1;;
21988 :[FH])
21989 ac_file_inputs=
21990 for ac_f
21992 case $ac_f in
21993 -) ac_f="$ac_tmp/stdin";;
21994 *) # Look for the file first in the build tree, then in the source tree
21995 # (if the path is not absolute). The absolute path cannot be DOS-style,
21996 # because $ac_f cannot contain `:'.
21997 test -f "$ac_f" ||
21998 case $ac_f in
21999 [\\/$]*) false;;
22000 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22001 esac ||
22002 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22003 esac
22004 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22005 as_fn_append ac_file_inputs " '$ac_f'"
22006 done
22008 # Let's still pretend it is `configure' which instantiates (i.e., don't
22009 # use $as_me), people would be surprised to read:
22010 # /* config.h. Generated by config.status. */
22011 configure_input='Generated from '`
22012 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22013 `' by configure.'
22014 if test x"$ac_file" != x-; then
22015 configure_input="$ac_file. $configure_input"
22016 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22017 $as_echo "$as_me: creating $ac_file" >&6;}
22019 # Neutralize special characters interpreted by sed in replacement strings.
22020 case $configure_input in #(
22021 *\&* | *\|* | *\\* )
22022 ac_sed_conf_input=`$as_echo "$configure_input" |
22023 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22024 *) ac_sed_conf_input=$configure_input;;
22025 esac
22027 case $ac_tag in
22028 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22029 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22030 esac
22032 esac
22034 ac_dir=`$as_dirname -- "$ac_file" ||
22035 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22036 X"$ac_file" : 'X\(//\)[^/]' \| \
22037 X"$ac_file" : 'X\(//\)$' \| \
22038 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22039 $as_echo X"$ac_file" |
22040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22041 s//\1/
22044 /^X\(\/\/\)[^/].*/{
22045 s//\1/
22048 /^X\(\/\/\)$/{
22049 s//\1/
22052 /^X\(\/\).*/{
22053 s//\1/
22056 s/.*/./; q'`
22057 as_dir="$ac_dir"; as_fn_mkdir_p
22058 ac_builddir=.
22060 case "$ac_dir" in
22061 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22063 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22064 # A ".." for each directory in $ac_dir_suffix.
22065 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22066 case $ac_top_builddir_sub in
22067 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22068 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22069 esac ;;
22070 esac
22071 ac_abs_top_builddir=$ac_pwd
22072 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22073 # for backward compatibility:
22074 ac_top_builddir=$ac_top_build_prefix
22076 case $srcdir in
22077 .) # We are building in place.
22078 ac_srcdir=.
22079 ac_top_srcdir=$ac_top_builddir_sub
22080 ac_abs_top_srcdir=$ac_pwd ;;
22081 [\\/]* | ?:[\\/]* ) # Absolute name.
22082 ac_srcdir=$srcdir$ac_dir_suffix;
22083 ac_top_srcdir=$srcdir
22084 ac_abs_top_srcdir=$srcdir ;;
22085 *) # Relative name.
22086 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22087 ac_top_srcdir=$ac_top_build_prefix$srcdir
22088 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22089 esac
22090 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22093 case $ac_mode in
22096 # CONFIG_FILE
22099 _ACEOF
22101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22102 # If the template does not know about datarootdir, expand it.
22103 # FIXME: This hack should be removed a few years after 2.60.
22104 ac_datarootdir_hack=; ac_datarootdir_seen=
22105 ac_sed_dataroot='
22106 /datarootdir/ {
22110 /@datadir@/p
22111 /@docdir@/p
22112 /@infodir@/p
22113 /@localedir@/p
22114 /@mandir@/p'
22115 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22116 *datarootdir*) ac_datarootdir_seen=yes;;
22117 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22119 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22120 _ACEOF
22121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22122 ac_datarootdir_hack='
22123 s&@datadir@&$datadir&g
22124 s&@docdir@&$docdir&g
22125 s&@infodir@&$infodir&g
22126 s&@localedir@&$localedir&g
22127 s&@mandir@&$mandir&g
22128 s&\\\${datarootdir}&$datarootdir&g' ;;
22129 esac
22130 _ACEOF
22132 # Neutralize VPATH when `$srcdir' = `.'.
22133 # Shell code in configure.ac might set extrasub.
22134 # FIXME: do we really want to maintain this feature?
22135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22136 ac_sed_extra="$ac_vpsub
22137 $extrasub
22138 _ACEOF
22139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22141 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22142 s|@configure_input@|$ac_sed_conf_input|;t t
22143 s&@top_builddir@&$ac_top_builddir_sub&;t t
22144 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22145 s&@srcdir@&$ac_srcdir&;t t
22146 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22147 s&@top_srcdir@&$ac_top_srcdir&;t t
22148 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22149 s&@builddir@&$ac_builddir&;t t
22150 s&@abs_builddir@&$ac_abs_builddir&;t t
22151 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22152 $ac_datarootdir_hack
22154 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22155 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22157 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22158 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22159 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22160 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22162 which seems to be undefined. Please make sure it is defined" >&5
22163 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22164 which seems to be undefined. Please make sure it is defined" >&2;}
22166 rm -f "$ac_tmp/stdin"
22167 case $ac_file in
22168 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22169 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22170 esac \
22171 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22175 # CONFIG_HEADER
22177 if test x"$ac_file" != x-; then
22179 $as_echo "/* $configure_input */" \
22180 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22181 } >"$ac_tmp/config.h" \
22182 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22183 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22184 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22185 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22186 else
22187 rm -f "$ac_file"
22188 mv "$ac_tmp/config.h" "$ac_file" \
22189 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22191 else
22192 $as_echo "/* $configure_input */" \
22193 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22194 || as_fn_error $? "could not create -" "$LINENO" 5
22199 # CONFIG_LINK
22202 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22204 else
22205 # Prefer the file from the source tree if names are identical.
22206 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22207 ac_source=$srcdir/$ac_source
22210 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22211 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22213 if test ! -r "$ac_source"; then
22214 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22216 rm -f "$ac_file"
22218 # Try a relative symlink, then a hard link, then a copy.
22219 case $ac_source in
22220 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22221 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22222 esac
22223 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22224 ln "$ac_source" "$ac_file" 2>/dev/null ||
22225 cp -p "$ac_source" "$ac_file" ||
22226 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22229 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22230 $as_echo "$as_me: executing $ac_file commands" >&6;}
22232 esac
22235 case $ac_file$ac_mode in
22236 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22237 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22238 "Makefile":C) wine_fn_output_makefile Makefile ;;
22240 esac
22241 done # for ac_tag
22244 as_fn_exit 0
22245 _ACEOF
22246 ac_clean_files=$ac_clean_files_save
22248 test $ac_write_fail = 0 ||
22249 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22252 # configure is writing to config.log, and then calls config.status.
22253 # config.status does its own redirection, appending to config.log.
22254 # Unfortunately, on DOS this fails, as config.log is still kept open
22255 # by configure, so config.status won't be able to write to it; its
22256 # output is simply discarded. So we exec the FD to /dev/null,
22257 # effectively closing config.log, so it can be properly (re)opened and
22258 # appended to by config.status. When coming back to configure, we
22259 # need to make the FD available again.
22260 if test "$no_create" != yes; then
22261 ac_cs_success=:
22262 ac_config_status_args=
22263 test "$silent" = yes &&
22264 ac_config_status_args="$ac_config_status_args --quiet"
22265 exec 5>/dev/null
22266 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22267 exec 5>>config.log
22268 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22269 # would make configure fail if this is the last instruction.
22270 $ac_cs_success || as_fn_exit 1
22272 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22274 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22278 if test "$no_create" = "yes"
22279 then
22280 exit 0
22283 ac_save_IFS="$IFS"
22284 if test "x$wine_notices" != x; then
22285 echo >&6
22286 IFS="|"
22287 for msg in $wine_notices; do
22288 IFS="$ac_save_IFS"
22289 if ${msg:+false} :; then :
22291 else
22292 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22293 $as_echo "$as_me: $msg" >&6;}
22295 done
22297 IFS="|"
22298 for msg in $wine_warnings; do
22299 IFS="$ac_save_IFS"
22300 if ${msg:+false} :; then :
22302 else
22303 echo >&2
22304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22305 $as_echo "$as_me: WARNING: $msg" >&2;}
22307 done
22308 IFS="$ac_save_IFS"
22310 $as_echo "
22311 $as_me: Finished. Do '${ac_make}' to compile Wine.
22312 " >&6