d3dx9: Release the full parameter name when a parameter is released (Valgrind).
[wine.git] / configure
blob90c8e1af0c17de566533576c282983ed3306062b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.9.
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.9'
584 PACKAGE_STRING='Wine 4.9'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 MSVCRTFLAGS
635 EXCESS_PRECISION_CFLAGS
636 EXTRACFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_CFLAGS
668 ALSA_LIBS
669 GSTREAMER_LIBS
670 GSTREAMER_CFLAGS
671 PULSE_LIBS
672 PULSE_CFLAGS
673 GETTEXTPO_LIBS
674 Z_LIBS
675 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 SANE_LIBS
685 SANE_CFLAGS
686 GNUTLS_LIBS
687 GNUTLS_CFLAGS
688 HAL_LIBS
689 HAL_CFLAGS
690 DBUS_LIBS
691 DBUS_CFLAGS
692 INOTIFY_LIBS
693 INOTIFY_CFLAGS
694 XSLT_LIBS
695 XSLT_CFLAGS
696 XML2_LIBS
697 XML2_CFLAGS
698 PCAP_LIBS
699 X_EXTRA_LIBS
700 X_LIBS
701 X_PRE_LIBS
702 X_CFLAGS
703 XMKMF
704 PTHREAD_LIBS
705 EXTRACROSSCFLAGS
706 CROSSCFLAGS
707 CROSSCC
708 CROSSTARGET
709 LIBWINE_DEPENDS
710 PRELINK
711 WINELOADER_DEPENDS
712 LIBWINE_LDFLAGS
713 LIBWINE_SHAREDLIB
714 METAL_LIBS
715 CARBON_LIBS
716 QUICKTIME_LIBS
717 OPENCL_LIBS
718 OPENAL_LIBS
719 COREAUDIO_LIBS
720 SECURITY_LIBS
721 DISKARBITRATION_LIBS
722 APPKIT_LIBS
723 CORESERVICES_LIBS
724 APPLICATIONSERVICES_LIBS
725 FORCEFEEDBACK_LIBS
726 IOKIT_LIBS
727 COREFOUNDATION_LIBS
728 OBJCPP
729 ac_ct_OBJC
730 OBJCFLAGS
731 OBJC
732 DLLTOOL
733 WINELOADER_PROGRAMS
734 CONFIGURE_TARGETS
735 DISABLED_SUBDIRS
736 SUBDIRS
737 READELF
738 OTOOL
740 WINEPRELOADER_LDFLAGS
741 WINELOADER_LDFLAGS
742 TOP_INSTALL_DEV
743 TOP_INSTALL_LIB
744 LDEXECFLAGS
745 LDDLLFLAGS
746 LDRPATH_LOCAL
747 LDRPATH_INSTALL
748 DLLFLAGS
750 OPENGL_LIBS
751 ICOTOOL
752 CONVERT
753 RSVG
754 FONTFORGE
755 PKG_CONFIG
756 MSGFMT
757 LDCONFIG
758 EGREP
759 GREP
760 LN_S
761 RANLIB
762 STRIP
763 ac_ct_AR
765 BISON
766 FLEX
767 TOOLSDIR
768 TARGETFLAGS
770 CPPBIN
771 ac_ct_CXX
772 CXXFLAGS
774 OBJEXT
775 EXEEXT
776 ac_ct_CC
777 CPPFLAGS
778 LDFLAGS
779 CFLAGS
781 SET_MAKE
782 host_os
783 host_vendor
784 host_cpu
785 host
786 build_os
787 build_vendor
788 build_cpu
789 build
790 target_alias
791 host_alias
792 build_alias
793 LIBS
794 ECHO_T
795 ECHO_N
796 ECHO_C
797 DEFS
798 mandir
799 localedir
800 libdir
801 psdir
802 pdfdir
803 dvidir
804 htmldir
805 infodir
806 docdir
807 oldincludedir
808 includedir
809 runstatedir
810 localstatedir
811 sharedstatedir
812 sysconfdir
813 datadir
814 datarootdir
815 libexecdir
816 sbindir
817 bindir
818 program_transform_name
819 prefix
820 exec_prefix
821 PACKAGE_URL
822 PACKAGE_BUGREPORT
823 PACKAGE_STRING
824 PACKAGE_VERSION
825 PACKAGE_TARNAME
826 PACKAGE_NAME
827 PATH_SEPARATOR
828 SHELL'
829 ac_subst_files=''
830 ac_user_opts='
831 enable_option_checking
832 enable_win16
833 enable_win64
834 enable_tests
835 enable_maintainer_mode
836 with_alsa
837 with_capi
838 with_cms
839 with_coreaudio
840 with_cups
841 with_curses
842 with_dbus
843 with_faudio
844 with_float_abi
845 with_fontconfig
846 with_freetype
847 with_gettext
848 with_gettextpo
849 with_gphoto
850 with_glu
851 with_gnutls
852 with_gsm
853 with_gssapi
854 with_gstreamer
855 with_hal
856 with_inotify
857 with_jpeg
858 with_krb5
859 with_ldap
860 with_mingw
861 with_mpg123
862 with_netapi
863 with_openal
864 with_opencl
865 with_opengl
866 with_osmesa
867 with_oss
868 with_pcap
869 with_png
870 with_pthread
871 with_pulse
872 with_sane
873 with_sdl
874 with_tiff
875 with_udev
876 with_v4l2
877 with_vkd3d
878 with_vulkan
879 with_xcomposite
880 with_xcursor
881 with_xfixes
882 with_xinerama
883 with_xinput
884 with_xinput2
885 with_xml
886 with_xrandr
887 with_xrender
888 with_xshape
889 with_xshm
890 with_xslt
891 with_xxf86vm
892 with_zlib
893 with_wine_tools
894 with_wine64
895 enable_largefile
896 with_x
897 enable_acledit
898 enable_aclui
899 enable_activeds
900 enable_actxprxy
901 enable_adsiid
902 enable_adsldp
903 enable_adsldpc
904 enable_advapi32
905 enable_advpack
906 enable_amsi
907 enable_amstream
908 enable_api_ms_win_appmodel_identity_l1_1_0
909 enable_api_ms_win_appmodel_runtime_l1_1_1
910 enable_api_ms_win_appmodel_runtime_l1_1_2
911 enable_api_ms_win_core_apiquery_l1_1_0
912 enable_api_ms_win_core_appcompat_l1_1_1
913 enable_api_ms_win_core_appinit_l1_1_0
914 enable_api_ms_win_core_atoms_l1_1_0
915 enable_api_ms_win_core_bem_l1_1_0
916 enable_api_ms_win_core_com_l1_1_0
917 enable_api_ms_win_core_com_l1_1_1
918 enable_api_ms_win_core_com_private_l1_1_0
919 enable_api_ms_win_core_comm_l1_1_0
920 enable_api_ms_win_core_console_l1_1_0
921 enable_api_ms_win_core_console_l2_1_0
922 enable_api_ms_win_core_crt_l1_1_0
923 enable_api_ms_win_core_crt_l2_1_0
924 enable_api_ms_win_core_datetime_l1_1_0
925 enable_api_ms_win_core_datetime_l1_1_1
926 enable_api_ms_win_core_debug_l1_1_0
927 enable_api_ms_win_core_debug_l1_1_1
928 enable_api_ms_win_core_delayload_l1_1_0
929 enable_api_ms_win_core_delayload_l1_1_1
930 enable_api_ms_win_core_errorhandling_l1_1_0
931 enable_api_ms_win_core_errorhandling_l1_1_1
932 enable_api_ms_win_core_errorhandling_l1_1_2
933 enable_api_ms_win_core_errorhandling_l1_1_3
934 enable_api_ms_win_core_fibers_l1_1_0
935 enable_api_ms_win_core_fibers_l1_1_1
936 enable_api_ms_win_core_file_l1_1_0
937 enable_api_ms_win_core_file_l1_2_0
938 enable_api_ms_win_core_file_l1_2_1
939 enable_api_ms_win_core_file_l1_2_2
940 enable_api_ms_win_core_file_l2_1_0
941 enable_api_ms_win_core_file_l2_1_1
942 enable_api_ms_win_core_file_l2_1_2
943 enable_api_ms_win_core_handle_l1_1_0
944 enable_api_ms_win_core_heap_l1_1_0
945 enable_api_ms_win_core_heap_l1_2_0
946 enable_api_ms_win_core_heap_l2_1_0
947 enable_api_ms_win_core_heap_obsolete_l1_1_0
948 enable_api_ms_win_core_interlocked_l1_1_0
949 enable_api_ms_win_core_interlocked_l1_2_0
950 enable_api_ms_win_core_io_l1_1_0
951 enable_api_ms_win_core_io_l1_1_1
952 enable_api_ms_win_core_job_l1_1_0
953 enable_api_ms_win_core_job_l2_1_0
954 enable_api_ms_win_core_kernel32_legacy_l1_1_0
955 enable_api_ms_win_core_kernel32_legacy_l1_1_1
956 enable_api_ms_win_core_kernel32_private_l1_1_1
957 enable_api_ms_win_core_largeinteger_l1_1_0
958 enable_api_ms_win_core_libraryloader_l1_1_0
959 enable_api_ms_win_core_libraryloader_l1_1_1
960 enable_api_ms_win_core_libraryloader_l1_2_0
961 enable_api_ms_win_core_libraryloader_l1_2_1
962 enable_api_ms_win_core_libraryloader_l1_2_2
963 enable_api_ms_win_core_localization_l1_1_0
964 enable_api_ms_win_core_localization_l1_2_0
965 enable_api_ms_win_core_localization_l1_2_1
966 enable_api_ms_win_core_localization_l2_1_0
967 enable_api_ms_win_core_localization_obsolete_l1_1_0
968 enable_api_ms_win_core_localization_obsolete_l1_2_0
969 enable_api_ms_win_core_localization_obsolete_l1_3_0
970 enable_api_ms_win_core_localization_private_l1_1_0
971 enable_api_ms_win_core_localregistry_l1_1_0
972 enable_api_ms_win_core_memory_l1_1_0
973 enable_api_ms_win_core_memory_l1_1_1
974 enable_api_ms_win_core_memory_l1_1_2
975 enable_api_ms_win_core_misc_l1_1_0
976 enable_api_ms_win_core_namedpipe_l1_1_0
977 enable_api_ms_win_core_namedpipe_l1_2_0
978 enable_api_ms_win_core_namespace_l1_1_0
979 enable_api_ms_win_core_normalization_l1_1_0
980 enable_api_ms_win_core_path_l1_1_0
981 enable_api_ms_win_core_privateprofile_l1_1_1
982 enable_api_ms_win_core_processenvironment_l1_1_0
983 enable_api_ms_win_core_processenvironment_l1_2_0
984 enable_api_ms_win_core_processthreads_l1_1_0
985 enable_api_ms_win_core_processthreads_l1_1_1
986 enable_api_ms_win_core_processthreads_l1_1_2
987 enable_api_ms_win_core_processthreads_l1_1_3
988 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
989 enable_api_ms_win_core_profile_l1_1_0
990 enable_api_ms_win_core_psapi_ansi_l1_1_0
991 enable_api_ms_win_core_psapi_l1_1_0
992 enable_api_ms_win_core_psapi_obsolete_l1_1_0
993 enable_api_ms_win_core_quirks_l1_1_0
994 enable_api_ms_win_core_realtime_l1_1_0
995 enable_api_ms_win_core_registry_l1_1_0
996 enable_api_ms_win_core_registry_l2_1_0
997 enable_api_ms_win_core_registryuserspecific_l1_1_0
998 enable_api_ms_win_core_rtlsupport_l1_1_0
999 enable_api_ms_win_core_rtlsupport_l1_2_0
1000 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1001 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1002 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1003 enable_api_ms_win_core_shutdown_l1_1_0
1004 enable_api_ms_win_core_sidebyside_l1_1_0
1005 enable_api_ms_win_core_string_l1_1_0
1006 enable_api_ms_win_core_string_l2_1_0
1007 enable_api_ms_win_core_string_obsolete_l1_1_0
1008 enable_api_ms_win_core_stringansi_l1_1_0
1009 enable_api_ms_win_core_stringloader_l1_1_1
1010 enable_api_ms_win_core_synch_ansi_l1_1_0
1011 enable_api_ms_win_core_synch_l1_1_0
1012 enable_api_ms_win_core_synch_l1_2_0
1013 enable_api_ms_win_core_synch_l1_2_1
1014 enable_api_ms_win_core_sysinfo_l1_1_0
1015 enable_api_ms_win_core_sysinfo_l1_2_0
1016 enable_api_ms_win_core_sysinfo_l1_2_1
1017 enable_api_ms_win_core_threadpool_l1_1_0
1018 enable_api_ms_win_core_threadpool_l1_2_0
1019 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1020 enable_api_ms_win_core_threadpool_private_l1_1_0
1021 enable_api_ms_win_core_timezone_l1_1_0
1022 enable_api_ms_win_core_toolhelp_l1_1_0
1023 enable_api_ms_win_core_url_l1_1_0
1024 enable_api_ms_win_core_util_l1_1_0
1025 enable_api_ms_win_core_version_l1_1_0
1026 enable_api_ms_win_core_version_l1_1_1
1027 enable_api_ms_win_core_version_private_l1_1_0
1028 enable_api_ms_win_core_versionansi_l1_1_0
1029 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1030 enable_api_ms_win_core_winrt_error_l1_1_0
1031 enable_api_ms_win_core_winrt_error_l1_1_1
1032 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1033 enable_api_ms_win_core_winrt_l1_1_0
1034 enable_api_ms_win_core_winrt_registration_l1_1_0
1035 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1036 enable_api_ms_win_core_winrt_string_l1_1_0
1037 enable_api_ms_win_core_winrt_string_l1_1_1
1038 enable_api_ms_win_core_wow64_l1_1_0
1039 enable_api_ms_win_core_wow64_l1_1_1
1040 enable_api_ms_win_core_xstate_l1_1_0
1041 enable_api_ms_win_core_xstate_l2_1_0
1042 enable_api_ms_win_crt_conio_l1_1_0
1043 enable_api_ms_win_crt_convert_l1_1_0
1044 enable_api_ms_win_crt_environment_l1_1_0
1045 enable_api_ms_win_crt_filesystem_l1_1_0
1046 enable_api_ms_win_crt_heap_l1_1_0
1047 enable_api_ms_win_crt_locale_l1_1_0
1048 enable_api_ms_win_crt_math_l1_1_0
1049 enable_api_ms_win_crt_multibyte_l1_1_0
1050 enable_api_ms_win_crt_private_l1_1_0
1051 enable_api_ms_win_crt_process_l1_1_0
1052 enable_api_ms_win_crt_runtime_l1_1_0
1053 enable_api_ms_win_crt_stdio_l1_1_0
1054 enable_api_ms_win_crt_string_l1_1_0
1055 enable_api_ms_win_crt_time_l1_1_0
1056 enable_api_ms_win_crt_utility_l1_1_0
1057 enable_api_ms_win_devices_config_l1_1_0
1058 enable_api_ms_win_devices_config_l1_1_1
1059 enable_api_ms_win_devices_query_l1_1_1
1060 enable_api_ms_win_downlevel_advapi32_l1_1_0
1061 enable_api_ms_win_downlevel_advapi32_l2_1_0
1062 enable_api_ms_win_downlevel_normaliz_l1_1_0
1063 enable_api_ms_win_downlevel_ole32_l1_1_0
1064 enable_api_ms_win_downlevel_shell32_l1_1_0
1065 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1066 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1067 enable_api_ms_win_downlevel_user32_l1_1_0
1068 enable_api_ms_win_downlevel_version_l1_1_0
1069 enable_api_ms_win_dx_d3dkmt_l1_1_0
1070 enable_api_ms_win_eventing_classicprovider_l1_1_0
1071 enable_api_ms_win_eventing_consumer_l1_1_0
1072 enable_api_ms_win_eventing_controller_l1_1_0
1073 enable_api_ms_win_eventing_legacy_l1_1_0
1074 enable_api_ms_win_eventing_provider_l1_1_0
1075 enable_api_ms_win_eventlog_legacy_l1_1_0
1076 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1077 enable_api_ms_win_mm_joystick_l1_1_0
1078 enable_api_ms_win_mm_misc_l1_1_1
1079 enable_api_ms_win_mm_mme_l1_1_0
1080 enable_api_ms_win_mm_time_l1_1_0
1081 enable_api_ms_win_ntuser_dc_access_l1_1_0
1082 enable_api_ms_win_ntuser_rectangle_l1_1_0
1083 enable_api_ms_win_ntuser_sysparams_l1_1_0
1084 enable_api_ms_win_perf_legacy_l1_1_0
1085 enable_api_ms_win_power_base_l1_1_0
1086 enable_api_ms_win_power_setting_l1_1_0
1087 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1088 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1089 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1090 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1091 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1092 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1093 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1094 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1095 enable_api_ms_win_security_audit_l1_1_1
1096 enable_api_ms_win_security_base_l1_1_0
1097 enable_api_ms_win_security_base_l1_2_0
1098 enable_api_ms_win_security_base_private_l1_1_1
1099 enable_api_ms_win_security_credentials_l1_1_0
1100 enable_api_ms_win_security_cryptoapi_l1_1_0
1101 enable_api_ms_win_security_grouppolicy_l1_1_0
1102 enable_api_ms_win_security_lsalookup_l1_1_0
1103 enable_api_ms_win_security_lsalookup_l1_1_1
1104 enable_api_ms_win_security_lsalookup_l2_1_0
1105 enable_api_ms_win_security_lsalookup_l2_1_1
1106 enable_api_ms_win_security_lsapolicy_l1_1_0
1107 enable_api_ms_win_security_provider_l1_1_0
1108 enable_api_ms_win_security_sddl_l1_1_0
1109 enable_api_ms_win_security_systemfunctions_l1_1_0
1110 enable_api_ms_win_service_core_l1_1_0
1111 enable_api_ms_win_service_core_l1_1_1
1112 enable_api_ms_win_service_management_l1_1_0
1113 enable_api_ms_win_service_management_l2_1_0
1114 enable_api_ms_win_service_private_l1_1_1
1115 enable_api_ms_win_service_winsvc_l1_1_0
1116 enable_api_ms_win_service_winsvc_l1_2_0
1117 enable_api_ms_win_shcore_obsolete_l1_1_0
1118 enable_api_ms_win_shcore_scaling_l1_1_1
1119 enable_api_ms_win_shcore_stream_l1_1_0
1120 enable_api_ms_win_shcore_thread_l1_1_0
1121 enable_api_ms_win_shell_shellcom_l1_1_0
1122 enable_api_ms_win_shell_shellfolders_l1_1_0
1123 enable_apphelp
1124 enable_appwiz_cpl
1125 enable_atl
1126 enable_atl100
1127 enable_atl110
1128 enable_atl80
1129 enable_atl90
1130 enable_atlthunk
1131 enable_atmlib
1132 enable_authz
1133 enable_avicap32
1134 enable_avifil32
1135 enable_avrt
1136 enable_bcrypt
1137 enable_bluetoothapis
1138 enable_browseui
1139 enable_bthprops_cpl
1140 enable_cabinet
1141 enable_capi2032
1142 enable_cards
1143 enable_cdosys
1144 enable_cfgmgr32
1145 enable_clusapi
1146 enable_combase
1147 enable_comcat
1148 enable_comctl32
1149 enable_comdlg32
1150 enable_compstui
1151 enable_comsvcs
1152 enable_concrt140
1153 enable_connect
1154 enable_credui
1155 enable_crtdll
1156 enable_crypt32
1157 enable_cryptdlg
1158 enable_cryptdll
1159 enable_cryptext
1160 enable_cryptnet
1161 enable_cryptui
1162 enable_ctapi32
1163 enable_ctl3d32
1164 enable_d2d1
1165 enable_d3d10
1166 enable_d3d10_1
1167 enable_d3d10core
1168 enable_d3d11
1169 enable_d3d12
1170 enable_d3d8
1171 enable_d3d9
1172 enable_d3dcompiler_33
1173 enable_d3dcompiler_34
1174 enable_d3dcompiler_35
1175 enable_d3dcompiler_36
1176 enable_d3dcompiler_37
1177 enable_d3dcompiler_38
1178 enable_d3dcompiler_39
1179 enable_d3dcompiler_40
1180 enable_d3dcompiler_41
1181 enable_d3dcompiler_42
1182 enable_d3dcompiler_43
1183 enable_d3dcompiler_46
1184 enable_d3dcompiler_47
1185 enable_d3dim
1186 enable_d3drm
1187 enable_d3dx10_33
1188 enable_d3dx10_34
1189 enable_d3dx10_35
1190 enable_d3dx10_36
1191 enable_d3dx10_37
1192 enable_d3dx10_38
1193 enable_d3dx10_39
1194 enable_d3dx10_40
1195 enable_d3dx10_41
1196 enable_d3dx10_42
1197 enable_d3dx10_43
1198 enable_d3dx11_42
1199 enable_d3dx11_43
1200 enable_d3dx9_24
1201 enable_d3dx9_25
1202 enable_d3dx9_26
1203 enable_d3dx9_27
1204 enable_d3dx9_28
1205 enable_d3dx9_29
1206 enable_d3dx9_30
1207 enable_d3dx9_31
1208 enable_d3dx9_32
1209 enable_d3dx9_33
1210 enable_d3dx9_34
1211 enable_d3dx9_35
1212 enable_d3dx9_36
1213 enable_d3dx9_37
1214 enable_d3dx9_38
1215 enable_d3dx9_39
1216 enable_d3dx9_40
1217 enable_d3dx9_41
1218 enable_d3dx9_42
1219 enable_d3dx9_43
1220 enable_d3dxof
1221 enable_davclnt
1222 enable_dbgeng
1223 enable_dbghelp
1224 enable_dciman32
1225 enable_ddraw
1226 enable_ddrawex
1227 enable_devenum
1228 enable_dhcpcsvc
1229 enable_dhtmled_ocx
1230 enable_difxapi
1231 enable_dinput
1232 enable_dinput8
1233 enable_dispex
1234 enable_dmband
1235 enable_dmcompos
1236 enable_dmime
1237 enable_dmloader
1238 enable_dmoguids
1239 enable_dmscript
1240 enable_dmstyle
1241 enable_dmsynth
1242 enable_dmusic
1243 enable_dmusic32
1244 enable_dnsapi
1245 enable_dplay
1246 enable_dplayx
1247 enable_dpnaddr
1248 enable_dpnet
1249 enable_dpnhpast
1250 enable_dpnlobby
1251 enable_dpvoice
1252 enable_dpwsockx
1253 enable_drmclien
1254 enable_dsound
1255 enable_dsquery
1256 enable_dssenh
1257 enable_dswave
1258 enable_dwmapi
1259 enable_dwrite
1260 enable_dx8vb
1261 enable_dxdiagn
1262 enable_dxerr8
1263 enable_dxerr9
1264 enable_dxgi
1265 enable_dxguid
1266 enable_dxva2
1267 enable_esent
1268 enable_evr
1269 enable_explorerframe
1270 enable_ext_ms_win_authz_context_l1_1_0
1271 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1272 enable_ext_ms_win_dwmapi_ext_l1_1_0
1273 enable_ext_ms_win_gdi_dc_create_l1_1_0
1274 enable_ext_ms_win_gdi_dc_create_l1_1_1
1275 enable_ext_ms_win_gdi_dc_l1_2_0
1276 enable_ext_ms_win_gdi_devcaps_l1_1_0
1277 enable_ext_ms_win_gdi_draw_l1_1_0
1278 enable_ext_ms_win_gdi_draw_l1_1_1
1279 enable_ext_ms_win_gdi_font_l1_1_0
1280 enable_ext_ms_win_gdi_font_l1_1_1
1281 enable_ext_ms_win_gdi_render_l1_1_0
1282 enable_ext_ms_win_kernel32_package_current_l1_1_0
1283 enable_ext_ms_win_kernel32_package_l1_1_1
1284 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1285 enable_ext_ms_win_ntuser_draw_l1_1_0
1286 enable_ext_ms_win_ntuser_gui_l1_1_0
1287 enable_ext_ms_win_ntuser_gui_l1_3_0
1288 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1289 enable_ext_ms_win_ntuser_message_l1_1_0
1290 enable_ext_ms_win_ntuser_message_l1_1_1
1291 enable_ext_ms_win_ntuser_misc_l1_1_0
1292 enable_ext_ms_win_ntuser_misc_l1_2_0
1293 enable_ext_ms_win_ntuser_misc_l1_5_1
1294 enable_ext_ms_win_ntuser_mouse_l1_1_0
1295 enable_ext_ms_win_ntuser_private_l1_1_1
1296 enable_ext_ms_win_ntuser_private_l1_3_1
1297 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1298 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1299 enable_ext_ms_win_ntuser_window_l1_1_0
1300 enable_ext_ms_win_ntuser_window_l1_1_1
1301 enable_ext_ms_win_ntuser_window_l1_1_4
1302 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1303 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1304 enable_ext_ms_win_oleacc_l1_1_0
1305 enable_ext_ms_win_ras_rasapi32_l1_1_0
1306 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1307 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1308 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1309 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1310 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1311 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1312 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1313 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1314 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1315 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1316 enable_ext_ms_win_security_credui_l1_1_0
1317 enable_ext_ms_win_security_cryptui_l1_1_0
1318 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1319 enable_ext_ms_win_shell_comdlg32_l1_1_0
1320 enable_ext_ms_win_shell_shell32_l1_2_0
1321 enable_ext_ms_win_uxtheme_themes_l1_1_0
1322 enable_faultrep
1323 enable_feclient
1324 enable_fltlib
1325 enable_fltmgr_sys
1326 enable_fntcache
1327 enable_fontsub
1328 enable_fusion
1329 enable_fwpuclnt
1330 enable_gameux
1331 enable_gdi32
1332 enable_gdiplus
1333 enable_glu32
1334 enable_gphoto2_ds
1335 enable_gpkcsp
1336 enable_hal
1337 enable_hhctrl_ocx
1338 enable_hid
1339 enable_hidclass_sys
1340 enable_hlink
1341 enable_hnetcfg
1342 enable_httpapi
1343 enable_iccvid
1344 enable_icmp
1345 enable_ieframe
1346 enable_ieproxy
1347 enable_imaadp32_acm
1348 enable_imagehlp
1349 enable_imm32
1350 enable_inetcomm
1351 enable_inetcpl_cpl
1352 enable_inetmib1
1353 enable_infosoft
1354 enable_initpki
1355 enable_inkobj
1356 enable_inseng
1357 enable_iphlpapi
1358 enable_iprop
1359 enable_irprops_cpl
1360 enable_itircl
1361 enable_itss
1362 enable_joy_cpl
1363 enable_jscript
1364 enable_jsproxy
1365 enable_kerberos
1366 enable_kernel32
1367 enable_kernelbase
1368 enable_ksecdd_sys
1369 enable_ksuser
1370 enable_ktmw32
1371 enable_l3codeca_acm
1372 enable_loadperf
1373 enable_localspl
1374 enable_localui
1375 enable_lz32
1376 enable_mapi32
1377 enable_mapistub
1378 enable_mciavi32
1379 enable_mcicda
1380 enable_mciqtz32
1381 enable_mciseq
1382 enable_mciwave
1383 enable_mf
1384 enable_mf3216
1385 enable_mferror
1386 enable_mfplat
1387 enable_mfplay
1388 enable_mfreadwrite
1389 enable_mfuuid
1390 enable_mgmtapi
1391 enable_midimap
1392 enable_mlang
1393 enable_mmcndmgr
1394 enable_mmdevapi
1395 enable_mountmgr_sys
1396 enable_mp3dmod
1397 enable_mpr
1398 enable_mprapi
1399 enable_msacm32_drv
1400 enable_msacm32
1401 enable_msadp32_acm
1402 enable_msasn1
1403 enable_mscat32
1404 enable_mscms
1405 enable_mscoree
1406 enable_msctf
1407 enable_msctfp
1408 enable_msdaps
1409 enable_msdelta
1410 enable_msdmo
1411 enable_msdrm
1412 enable_msftedit
1413 enable_msg711_acm
1414 enable_msgsm32_acm
1415 enable_mshtml_tlb
1416 enable_mshtml
1417 enable_msi
1418 enable_msident
1419 enable_msimg32
1420 enable_msimsg
1421 enable_msimtf
1422 enable_msisip
1423 enable_msisys_ocx
1424 enable_msls31
1425 enable_msnet32
1426 enable_mspatcha
1427 enable_msports
1428 enable_msrle32
1429 enable_msscript_ocx
1430 enable_mssign32
1431 enable_mssip32
1432 enable_mstask
1433 enable_msvcirt
1434 enable_msvcm80
1435 enable_msvcm90
1436 enable_msvcp100
1437 enable_msvcp110
1438 enable_msvcp120
1439 enable_msvcp120_app
1440 enable_msvcp140
1441 enable_msvcp60
1442 enable_msvcp70
1443 enable_msvcp71
1444 enable_msvcp80
1445 enable_msvcp90
1446 enable_msvcr100
1447 enable_msvcr110
1448 enable_msvcr120
1449 enable_msvcr120_app
1450 enable_msvcr70
1451 enable_msvcr71
1452 enable_msvcr80
1453 enable_msvcr90
1454 enable_msvcrt
1455 enable_msvcrt20
1456 enable_msvcrt40
1457 enable_msvcrtd
1458 enable_msvfw32
1459 enable_msvidc32
1460 enable_mswsock
1461 enable_msxml
1462 enable_msxml2
1463 enable_msxml3
1464 enable_msxml4
1465 enable_msxml6
1466 enable_mtxdm
1467 enable_ncrypt
1468 enable_nddeapi
1469 enable_ndis_sys
1470 enable_netapi32
1471 enable_netcfgx
1472 enable_netprofm
1473 enable_newdev
1474 enable_ninput
1475 enable_normaliz
1476 enable_npmshtml
1477 enable_npptools
1478 enable_ntdll
1479 enable_ntdsapi
1480 enable_ntoskrnl_exe
1481 enable_ntprint
1482 enable_objsel
1483 enable_odbc32
1484 enable_odbccp32
1485 enable_odbccu32
1486 enable_ole32
1487 enable_oleacc
1488 enable_oleaut32
1489 enable_olecli32
1490 enable_oledb32
1491 enable_oledlg
1492 enable_olepro32
1493 enable_olesvr32
1494 enable_olethk32
1495 enable_opcservices
1496 enable_openal32
1497 enable_opencl
1498 enable_opengl32
1499 enable_packager
1500 enable_pdh
1501 enable_photometadatahandler
1502 enable_pidgen
1503 enable_powrprof
1504 enable_printui
1505 enable_prntvpt
1506 enable_propsys
1507 enable_psapi
1508 enable_pstorec
1509 enable_qcap
1510 enable_qedit
1511 enable_qmgr
1512 enable_qmgrprxy
1513 enable_quartz
1514 enable_query
1515 enable_qwave
1516 enable_rasapi32
1517 enable_rasdlg
1518 enable_regapi
1519 enable_resutils
1520 enable_riched20
1521 enable_riched32
1522 enable_rpcrt4
1523 enable_rsabase
1524 enable_rsaenh
1525 enable_rstrtmgr
1526 enable_rtutils
1527 enable_samlib
1528 enable_sane_ds
1529 enable_sapi
1530 enable_sas
1531 enable_scarddlg
1532 enable_sccbase
1533 enable_schannel
1534 enable_schedsvc
1535 enable_scrobj
1536 enable_scrrun
1537 enable_scsiport_sys
1538 enable_secur32
1539 enable_security
1540 enable_sensapi
1541 enable_serialui
1542 enable_setupapi
1543 enable_sfc
1544 enable_sfc_os
1545 enable_shcore
1546 enable_shdoclc
1547 enable_shdocvw
1548 enable_shell32
1549 enable_shfolder
1550 enable_shlwapi
1551 enable_slbcsp
1552 enable_slc
1553 enable_snmpapi
1554 enable_softpub
1555 enable_spoolss
1556 enable_srclient
1557 enable_sspicli
1558 enable_stdole2_tlb
1559 enable_stdole32_tlb
1560 enable_sti
1561 enable_strmbase
1562 enable_strmdll
1563 enable_strmiids
1564 enable_svrapi
1565 enable_sxs
1566 enable_t2embed
1567 enable_tapi32
1568 enable_taskschd
1569 enable_tdh
1570 enable_tdi_sys
1571 enable_traffic
1572 enable_twain_32
1573 enable_tzres
1574 enable_ucrtbase
1575 enable_uianimation
1576 enable_uiautomationcore
1577 enable_uiribbon
1578 enable_unicows
1579 enable_updspapi
1580 enable_url
1581 enable_urlmon
1582 enable_usbd_sys
1583 enable_user32
1584 enable_userenv
1585 enable_usp10
1586 enable_uuid
1587 enable_uxtheme
1588 enable_vbscript
1589 enable_vcomp
1590 enable_vcomp100
1591 enable_vcomp110
1592 enable_vcomp120
1593 enable_vcomp140
1594 enable_vcomp90
1595 enable_vcruntime140
1596 enable_vdmdbg
1597 enable_version
1598 enable_virtdisk
1599 enable_vssapi
1600 enable_vulkan_1
1601 enable_wbemdisp
1602 enable_wbemprox
1603 enable_wdscore
1604 enable_webservices
1605 enable_wer
1606 enable_wevtapi
1607 enable_wiaservc
1608 enable_wimgapi
1609 enable_windowscodecs
1610 enable_windowscodecsext
1611 enable_winealsa_drv
1612 enable_wineandroid_drv
1613 enable_winebus_sys
1614 enable_winecoreaudio_drv
1615 enable_winecrt0
1616 enable_wined3d
1617 enable_winegstreamer
1618 enable_winehid_sys
1619 enable_winejoystick_drv
1620 enable_winemac_drv
1621 enable_winemapi
1622 enable_wineoss_drv
1623 enable_wineps_drv
1624 enable_winepulse_drv
1625 enable_wineqtdecoder
1626 enable_winevulkan
1627 enable_winex11_drv
1628 enable_wing32
1629 enable_winhttp
1630 enable_wininet
1631 enable_winmm
1632 enable_winnls32
1633 enable_winscard
1634 enable_winspool_drv
1635 enable_winsta
1636 enable_wintab32
1637 enable_wintrust
1638 enable_winusb
1639 enable_wlanapi
1640 enable_wldap32
1641 enable_wmasf
1642 enable_wmcodecdspuuid
1643 enable_wmi
1644 enable_wmiutils
1645 enable_wmp
1646 enable_wmphoto
1647 enable_wmvcore
1648 enable_wnaspi32
1649 enable_wpc
1650 enable_wpcap
1651 enable_ws2_32
1652 enable_wsdapi
1653 enable_wshom_ocx
1654 enable_wsnmp32
1655 enable_wsock32
1656 enable_wtsapi32
1657 enable_wuapi
1658 enable_wuaueng
1659 enable_x3daudio1_0
1660 enable_x3daudio1_1
1661 enable_x3daudio1_2
1662 enable_x3daudio1_3
1663 enable_x3daudio1_4
1664 enable_x3daudio1_5
1665 enable_x3daudio1_6
1666 enable_x3daudio1_7
1667 enable_xapofx1_1
1668 enable_xapofx1_2
1669 enable_xapofx1_3
1670 enable_xapofx1_4
1671 enable_xapofx1_5
1672 enable_xaudio2_0
1673 enable_xaudio2_1
1674 enable_xaudio2_2
1675 enable_xaudio2_3
1676 enable_xaudio2_4
1677 enable_xaudio2_5
1678 enable_xaudio2_6
1679 enable_xaudio2_7
1680 enable_xaudio2_8
1681 enable_xaudio2_9
1682 enable_xinput1_1
1683 enable_xinput1_2
1684 enable_xinput1_3
1685 enable_xinput1_4
1686 enable_xinput9_1_0
1687 enable_xmllite
1688 enable_xolehlp
1689 enable_xpsprint
1690 enable_xpssvcs
1691 enable_fonts
1692 enable_include
1693 enable_port
1694 enable_wine
1695 enable_wpp
1696 enable_loader
1697 enable_po
1698 enable_arp
1699 enable_aspnet_regiis
1700 enable_attrib
1701 enable_cabarc
1702 enable_cacls
1703 enable_clock
1704 enable_cmd
1705 enable_conhost
1706 enable_control
1707 enable_cscript
1708 enable_dism
1709 enable_dpnsvr
1710 enable_dxdiag
1711 enable_eject
1712 enable_expand
1713 enable_explorer
1714 enable_extrac32
1715 enable_fc
1716 enable_find
1717 enable_findstr
1718 enable_fsutil
1719 enable_hh
1720 enable_hostname
1721 enable_icacls
1722 enable_icinfo
1723 enable_iexplore
1724 enable_ipconfig
1725 enable_lodctr
1726 enable_mofcomp
1727 enable_mshta
1728 enable_msidb
1729 enable_msiexec
1730 enable_msinfo32
1731 enable_net
1732 enable_netsh
1733 enable_netstat
1734 enable_ngen
1735 enable_notepad
1736 enable_oleview
1737 enable_ping
1738 enable_plugplay
1739 enable_powershell
1740 enable_presentationfontcache
1741 enable_progman
1742 enable_reg
1743 enable_regasm
1744 enable_regedit
1745 enable_regsvcs
1746 enable_regsvr32
1747 enable_rpcss
1748 enable_rundll32
1749 enable_sc
1750 enable_schtasks
1751 enable_sdbinst
1752 enable_secedit
1753 enable_servicemodelreg
1754 enable_services
1755 enable_shutdown
1756 enable_spoolsv
1757 enable_start
1758 enable_subst
1759 enable_svchost
1760 enable_systeminfo
1761 enable_taskkill
1762 enable_tasklist
1763 enable_taskmgr
1764 enable_termsv
1765 enable_uninstaller
1766 enable_unlodctr
1767 enable_view
1768 enable_wevtutil
1769 enable_wineboot
1770 enable_winebrowser
1771 enable_winecfg
1772 enable_wineconsole
1773 enable_winedbg
1774 enable_winedevice
1775 enable_winefile
1776 enable_winemenubuilder
1777 enable_winemine
1778 enable_winemsibuilder
1779 enable_winepath
1780 enable_winetest
1781 enable_winhlp32
1782 enable_winmgmt
1783 enable_winver
1784 enable_wmic
1785 enable_wmplayer
1786 enable_wordpad
1787 enable_write
1788 enable_wscript
1789 enable_wusa
1790 enable_xcopy
1791 enable_server
1792 enable_tools
1793 enable_sfnt2fon
1794 enable_widl
1795 enable_winebuild
1796 enable_winedump
1797 enable_winegcc
1798 enable_winemaker
1799 enable_wmc
1800 enable_wrc
1802 ac_precious_vars='build_alias
1803 host_alias
1804 target_alias
1806 CFLAGS
1807 LDFLAGS
1808 LIBS
1809 CPPFLAGS
1811 CXXFLAGS
1814 OBJC
1815 OBJCFLAGS
1816 OBJCPP
1817 XMKMF
1818 XML2_CFLAGS
1819 XML2_LIBS
1820 XSLT_CFLAGS
1821 XSLT_LIBS
1822 INOTIFY_CFLAGS
1823 INOTIFY_LIBS
1824 DBUS_CFLAGS
1825 DBUS_LIBS
1826 HAL_CFLAGS
1827 HAL_LIBS
1828 GNUTLS_CFLAGS
1829 GNUTLS_LIBS
1830 SANE_CFLAGS
1831 SANE_LIBS
1832 GPHOTO2_CFLAGS
1833 GPHOTO2_LIBS
1834 GPHOTO2_PORT_CFLAGS
1835 GPHOTO2_PORT_LIBS
1836 LCMS2_CFLAGS
1837 LCMS2_LIBS
1838 FREETYPE_CFLAGS
1839 FREETYPE_LIBS
1840 PULSE_CFLAGS
1841 PULSE_LIBS
1842 GSTREAMER_CFLAGS
1843 GSTREAMER_LIBS
1844 UDEV_CFLAGS
1845 UDEV_LIBS
1846 SDL2_CFLAGS
1847 SDL2_LIBS
1848 FAUDIO_CFLAGS
1849 FAUDIO_LIBS
1850 CAPI20_CFLAGS
1851 CAPI20_LIBS
1852 CUPS_CFLAGS
1853 CUPS_LIBS
1854 FONTCONFIG_CFLAGS
1855 FONTCONFIG_LIBS
1856 KRB5_CFLAGS
1857 KRB5_LIBS
1858 GSSAPI_CFLAGS
1859 GSSAPI_LIBS
1860 JPEG_CFLAGS
1861 JPEG_LIBS
1862 PNG_CFLAGS
1863 PNG_LIBS
1864 TIFF_CFLAGS
1865 TIFF_LIBS
1866 MPG123_CFLAGS
1867 MPG123_LIBS
1868 NETAPI_CFLAGS
1869 NETAPI_LIBS
1870 VKD3D_CFLAGS
1871 VKD3D_LIBS
1872 LDAP_CFLAGS
1873 LDAP_LIBS'
1876 # Initialize some variables set by options.
1877 ac_init_help=
1878 ac_init_version=false
1879 ac_unrecognized_opts=
1880 ac_unrecognized_sep=
1881 # The variables have the same names as the options, with
1882 # dashes changed to underlines.
1883 cache_file=/dev/null
1884 exec_prefix=NONE
1885 no_create=
1886 no_recursion=
1887 prefix=NONE
1888 program_prefix=NONE
1889 program_suffix=NONE
1890 program_transform_name=s,x,x,
1891 silent=
1892 site=
1893 srcdir=
1894 verbose=
1895 x_includes=NONE
1896 x_libraries=NONE
1898 # Installation directory options.
1899 # These are left unexpanded so users can "make install exec_prefix=/foo"
1900 # and all the variables that are supposed to be based on exec_prefix
1901 # by default will actually change.
1902 # Use braces instead of parens because sh, perl, etc. also accept them.
1903 # (The list follows the same order as the GNU Coding Standards.)
1904 bindir='${exec_prefix}/bin'
1905 sbindir='${exec_prefix}/sbin'
1906 libexecdir='${exec_prefix}/libexec'
1907 datarootdir='${prefix}/share'
1908 datadir='${datarootdir}'
1909 sysconfdir='${prefix}/etc'
1910 sharedstatedir='${prefix}/com'
1911 localstatedir='${prefix}/var'
1912 runstatedir='${localstatedir}/run'
1913 includedir='${prefix}/include'
1914 oldincludedir='/usr/include'
1915 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1916 infodir='${datarootdir}/info'
1917 htmldir='${docdir}'
1918 dvidir='${docdir}'
1919 pdfdir='${docdir}'
1920 psdir='${docdir}'
1921 libdir='${exec_prefix}/lib'
1922 localedir='${datarootdir}/locale'
1923 mandir='${datarootdir}/man'
1925 ac_prev=
1926 ac_dashdash=
1927 for ac_option
1929 # If the previous option needs an argument, assign it.
1930 if test -n "$ac_prev"; then
1931 eval $ac_prev=\$ac_option
1932 ac_prev=
1933 continue
1936 case $ac_option in
1937 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1938 *=) ac_optarg= ;;
1939 *) ac_optarg=yes ;;
1940 esac
1942 # Accept the important Cygnus configure options, so we can diagnose typos.
1944 case $ac_dashdash$ac_option in
1946 ac_dashdash=yes ;;
1948 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1949 ac_prev=bindir ;;
1950 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1951 bindir=$ac_optarg ;;
1953 -build | --build | --buil | --bui | --bu)
1954 ac_prev=build_alias ;;
1955 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1956 build_alias=$ac_optarg ;;
1958 -cache-file | --cache-file | --cache-fil | --cache-fi \
1959 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1960 ac_prev=cache_file ;;
1961 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1962 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1963 cache_file=$ac_optarg ;;
1965 --config-cache | -C)
1966 cache_file=config.cache ;;
1968 -datadir | --datadir | --datadi | --datad)
1969 ac_prev=datadir ;;
1970 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1971 datadir=$ac_optarg ;;
1973 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1974 | --dataroo | --dataro | --datar)
1975 ac_prev=datarootdir ;;
1976 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1977 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1978 datarootdir=$ac_optarg ;;
1980 -disable-* | --disable-*)
1981 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1982 # Reject names that are not valid shell variable names.
1983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1984 as_fn_error $? "invalid feature name: $ac_useropt"
1985 ac_useropt_orig=$ac_useropt
1986 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1987 case $ac_user_opts in
1989 "enable_$ac_useropt"
1990 "*) ;;
1991 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1992 ac_unrecognized_sep=', ';;
1993 esac
1994 eval enable_$ac_useropt=no ;;
1996 -docdir | --docdir | --docdi | --doc | --do)
1997 ac_prev=docdir ;;
1998 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1999 docdir=$ac_optarg ;;
2001 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2002 ac_prev=dvidir ;;
2003 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2004 dvidir=$ac_optarg ;;
2006 -enable-* | --enable-*)
2007 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2008 # Reject names that are not valid shell variable names.
2009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2010 as_fn_error $? "invalid feature name: $ac_useropt"
2011 ac_useropt_orig=$ac_useropt
2012 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2013 case $ac_user_opts in
2015 "enable_$ac_useropt"
2016 "*) ;;
2017 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2018 ac_unrecognized_sep=', ';;
2019 esac
2020 eval enable_$ac_useropt=\$ac_optarg ;;
2022 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2023 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2024 | --exec | --exe | --ex)
2025 ac_prev=exec_prefix ;;
2026 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2027 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2028 | --exec=* | --exe=* | --ex=*)
2029 exec_prefix=$ac_optarg ;;
2031 -gas | --gas | --ga | --g)
2032 # Obsolete; use --with-gas.
2033 with_gas=yes ;;
2035 -help | --help | --hel | --he | -h)
2036 ac_init_help=long ;;
2037 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2038 ac_init_help=recursive ;;
2039 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2040 ac_init_help=short ;;
2042 -host | --host | --hos | --ho)
2043 ac_prev=host_alias ;;
2044 -host=* | --host=* | --hos=* | --ho=*)
2045 host_alias=$ac_optarg ;;
2047 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2048 ac_prev=htmldir ;;
2049 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2050 | --ht=*)
2051 htmldir=$ac_optarg ;;
2053 -includedir | --includedir | --includedi | --included | --include \
2054 | --includ | --inclu | --incl | --inc)
2055 ac_prev=includedir ;;
2056 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2057 | --includ=* | --inclu=* | --incl=* | --inc=*)
2058 includedir=$ac_optarg ;;
2060 -infodir | --infodir | --infodi | --infod | --info | --inf)
2061 ac_prev=infodir ;;
2062 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2063 infodir=$ac_optarg ;;
2065 -libdir | --libdir | --libdi | --libd)
2066 ac_prev=libdir ;;
2067 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2068 libdir=$ac_optarg ;;
2070 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2071 | --libexe | --libex | --libe)
2072 ac_prev=libexecdir ;;
2073 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2074 | --libexe=* | --libex=* | --libe=*)
2075 libexecdir=$ac_optarg ;;
2077 -localedir | --localedir | --localedi | --localed | --locale)
2078 ac_prev=localedir ;;
2079 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2080 localedir=$ac_optarg ;;
2082 -localstatedir | --localstatedir | --localstatedi | --localstated \
2083 | --localstate | --localstat | --localsta | --localst | --locals)
2084 ac_prev=localstatedir ;;
2085 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2086 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2087 localstatedir=$ac_optarg ;;
2089 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2090 ac_prev=mandir ;;
2091 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2092 mandir=$ac_optarg ;;
2094 -nfp | --nfp | --nf)
2095 # Obsolete; use --without-fp.
2096 with_fp=no ;;
2098 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2099 | --no-cr | --no-c | -n)
2100 no_create=yes ;;
2102 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2103 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2104 no_recursion=yes ;;
2106 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2107 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2108 | --oldin | --oldi | --old | --ol | --o)
2109 ac_prev=oldincludedir ;;
2110 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2111 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2112 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2113 oldincludedir=$ac_optarg ;;
2115 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2116 ac_prev=prefix ;;
2117 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2118 prefix=$ac_optarg ;;
2120 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2121 | --program-pre | --program-pr | --program-p)
2122 ac_prev=program_prefix ;;
2123 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2124 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2125 program_prefix=$ac_optarg ;;
2127 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2128 | --program-suf | --program-su | --program-s)
2129 ac_prev=program_suffix ;;
2130 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2131 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2132 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
2142 -program-transform-name=* | --program-transform-name=* \
2143 | --program-transform-nam=* | --program-transform-na=* \
2144 | --program-transform-n=* | --program-transform-=* \
2145 | --program-transform=* | --program-transfor=* \
2146 | --program-transfo=* | --program-transf=* \
2147 | --program-trans=* | --program-tran=* \
2148 | --progr-tra=* | --program-tr=* | --program-t=*)
2149 program_transform_name=$ac_optarg ;;
2151 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2152 ac_prev=pdfdir ;;
2153 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2154 pdfdir=$ac_optarg ;;
2156 -psdir | --psdir | --psdi | --psd | --ps)
2157 ac_prev=psdir ;;
2158 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2159 psdir=$ac_optarg ;;
2161 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2162 | -silent | --silent | --silen | --sile | --sil)
2163 silent=yes ;;
2165 -runstatedir | --runstatedir | --runstatedi | --runstated \
2166 | --runstate | --runstat | --runsta | --runst | --runs \
2167 | --run | --ru | --r)
2168 ac_prev=runstatedir ;;
2169 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2170 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2171 | --run=* | --ru=* | --r=*)
2172 runstatedir=$ac_optarg ;;
2174 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2175 ac_prev=sbindir ;;
2176 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2177 | --sbi=* | --sb=*)
2178 sbindir=$ac_optarg ;;
2180 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2181 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2182 | --sharedst | --shareds | --shared | --share | --shar \
2183 | --sha | --sh)
2184 ac_prev=sharedstatedir ;;
2185 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2186 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2187 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2188 | --sha=* | --sh=*)
2189 sharedstatedir=$ac_optarg ;;
2191 -site | --site | --sit)
2192 ac_prev=site ;;
2193 -site=* | --site=* | --sit=*)
2194 site=$ac_optarg ;;
2196 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2197 ac_prev=srcdir ;;
2198 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2199 srcdir=$ac_optarg ;;
2201 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2202 | --syscon | --sysco | --sysc | --sys | --sy)
2203 ac_prev=sysconfdir ;;
2204 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2205 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2206 sysconfdir=$ac_optarg ;;
2208 -target | --target | --targe | --targ | --tar | --ta | --t)
2209 ac_prev=target_alias ;;
2210 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2211 target_alias=$ac_optarg ;;
2213 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2214 verbose=yes ;;
2216 -version | --version | --versio | --versi | --vers | -V)
2217 ac_init_version=: ;;
2219 -with-* | --with-*)
2220 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2221 # Reject names that are not valid shell variable names.
2222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2223 as_fn_error $? "invalid package name: $ac_useropt"
2224 ac_useropt_orig=$ac_useropt
2225 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2226 case $ac_user_opts in
2228 "with_$ac_useropt"
2229 "*) ;;
2230 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2231 ac_unrecognized_sep=', ';;
2232 esac
2233 eval with_$ac_useropt=\$ac_optarg ;;
2235 -without-* | --without-*)
2236 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2237 # Reject names that are not valid shell variable names.
2238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2239 as_fn_error $? "invalid package name: $ac_useropt"
2240 ac_useropt_orig=$ac_useropt
2241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2242 case $ac_user_opts in
2244 "with_$ac_useropt"
2245 "*) ;;
2246 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2247 ac_unrecognized_sep=', ';;
2248 esac
2249 eval with_$ac_useropt=no ;;
2251 --x)
2252 # Obsolete; use --with-x.
2253 with_x=yes ;;
2255 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2256 | --x-incl | --x-inc | --x-in | --x-i)
2257 ac_prev=x_includes ;;
2258 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2259 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2260 x_includes=$ac_optarg ;;
2262 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2263 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2264 ac_prev=x_libraries ;;
2265 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2266 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2267 x_libraries=$ac_optarg ;;
2269 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2270 Try \`$0 --help' for more information"
2273 *=*)
2274 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2275 # Reject names that are not valid shell variable names.
2276 case $ac_envvar in #(
2277 '' | [0-9]* | *[!_$as_cr_alnum]* )
2278 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2279 esac
2280 eval $ac_envvar=\$ac_optarg
2281 export $ac_envvar ;;
2284 # FIXME: should be removed in autoconf 3.0.
2285 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2286 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2287 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2288 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2291 esac
2292 done
2294 if test -n "$ac_prev"; then
2295 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2296 as_fn_error $? "missing argument to $ac_option"
2299 if test -n "$ac_unrecognized_opts"; then
2300 case $enable_option_checking in
2301 no) ;;
2302 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2303 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2304 esac
2307 # Check all directory arguments for consistency.
2308 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2309 datadir sysconfdir sharedstatedir localstatedir includedir \
2310 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2311 libdir localedir mandir runstatedir
2313 eval ac_val=\$$ac_var
2314 # Remove trailing slashes.
2315 case $ac_val in
2316 */ )
2317 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2318 eval $ac_var=\$ac_val;;
2319 esac
2320 # Be sure to have absolute directory names.
2321 case $ac_val in
2322 [\\/$]* | ?:[\\/]* ) continue;;
2323 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2324 esac
2325 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2326 done
2328 # There might be people who depend on the old broken behavior: `$host'
2329 # used to hold the argument of --host etc.
2330 # FIXME: To remove some day.
2331 build=$build_alias
2332 host=$host_alias
2333 target=$target_alias
2335 # FIXME: To remove some day.
2336 if test "x$host_alias" != x; then
2337 if test "x$build_alias" = x; then
2338 cross_compiling=maybe
2339 elif test "x$build_alias" != "x$host_alias"; then
2340 cross_compiling=yes
2344 ac_tool_prefix=
2345 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2347 test "$silent" = yes && exec 6>/dev/null
2350 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2351 ac_ls_di=`ls -di .` &&
2352 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2353 as_fn_error $? "working directory cannot be determined"
2354 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2355 as_fn_error $? "pwd does not report name of working directory"
2358 # Find the source files, if location was not specified.
2359 if test -z "$srcdir"; then
2360 ac_srcdir_defaulted=yes
2361 # Try the directory containing this script, then the parent directory.
2362 ac_confdir=`$as_dirname -- "$as_myself" ||
2363 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2364 X"$as_myself" : 'X\(//\)[^/]' \| \
2365 X"$as_myself" : 'X\(//\)$' \| \
2366 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2367 $as_echo X"$as_myself" |
2368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2369 s//\1/
2372 /^X\(\/\/\)[^/].*/{
2373 s//\1/
2376 /^X\(\/\/\)$/{
2377 s//\1/
2380 /^X\(\/\).*/{
2381 s//\1/
2384 s/.*/./; q'`
2385 srcdir=$ac_confdir
2386 if test ! -r "$srcdir/$ac_unique_file"; then
2387 srcdir=..
2389 else
2390 ac_srcdir_defaulted=no
2392 if test ! -r "$srcdir/$ac_unique_file"; then
2393 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2394 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2396 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2397 ac_abs_confdir=`(
2398 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2399 pwd)`
2400 # When building in place, set srcdir=.
2401 if test "$ac_abs_confdir" = "$ac_pwd"; then
2402 srcdir=.
2404 # Remove unnecessary trailing slashes from srcdir.
2405 # Double slashes in file names in object file debugging info
2406 # mess up M-x gdb in Emacs.
2407 case $srcdir in
2408 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2409 esac
2410 for ac_var in $ac_precious_vars; do
2411 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2412 eval ac_env_${ac_var}_value=\$${ac_var}
2413 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2414 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2415 done
2418 # Report the --help message.
2420 if test "$ac_init_help" = "long"; then
2421 # Omit some internal or obsolete options to make the list less imposing.
2422 # This message is too long to be a string in the A/UX 3.1 sh.
2423 cat <<_ACEOF
2424 \`configure' configures Wine 4.9 to adapt to many kinds of systems.
2426 Usage: $0 [OPTION]... [VAR=VALUE]...
2428 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2429 VAR=VALUE. See below for descriptions of some of the useful variables.
2431 Defaults for the options are specified in brackets.
2433 Configuration:
2434 -h, --help display this help and exit
2435 --help=short display options specific to this package
2436 --help=recursive display the short help of all the included packages
2437 -V, --version display version information and exit
2438 -q, --quiet, --silent do not print \`checking ...' messages
2439 --cache-file=FILE cache test results in FILE [disabled]
2440 -C, --config-cache alias for \`--cache-file=config.cache'
2441 -n, --no-create do not create output files
2442 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2444 Installation directories:
2445 --prefix=PREFIX install architecture-independent files in PREFIX
2446 [$ac_default_prefix]
2447 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2448 [PREFIX]
2450 By default, \`make install' will install all the files in
2451 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2452 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2453 for instance \`--prefix=\$HOME'.
2455 For better control, use the options below.
2457 Fine tuning of the installation directories:
2458 --bindir=DIR user executables [EPREFIX/bin]
2459 --sbindir=DIR system admin executables [EPREFIX/sbin]
2460 --libexecdir=DIR program executables [EPREFIX/libexec]
2461 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2462 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2463 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2464 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2465 --libdir=DIR object code libraries [EPREFIX/lib]
2466 --includedir=DIR C header files [PREFIX/include]
2467 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2468 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2469 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2470 --infodir=DIR info documentation [DATAROOTDIR/info]
2471 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2472 --mandir=DIR man documentation [DATAROOTDIR/man]
2473 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2474 --htmldir=DIR html documentation [DOCDIR]
2475 --dvidir=DIR dvi documentation [DOCDIR]
2476 --pdfdir=DIR pdf documentation [DOCDIR]
2477 --psdir=DIR ps documentation [DOCDIR]
2478 _ACEOF
2480 cat <<\_ACEOF
2482 X features:
2483 --x-includes=DIR X include files are in DIR
2484 --x-libraries=DIR X library files are in DIR
2486 System types:
2487 --build=BUILD configure for building on BUILD [guessed]
2488 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2489 _ACEOF
2492 if test -n "$ac_init_help"; then
2493 case $ac_init_help in
2494 short | recursive ) echo "Configuration of Wine 4.9:";;
2495 esac
2496 cat <<\_ACEOF
2498 Optional Features:
2499 --disable-option-checking ignore unrecognized --enable/--with options
2500 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2501 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2502 --disable-win16 do not include Win16 support
2503 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2504 binaries)
2505 --disable-tests do not build the regression tests
2506 --enable-maintainer-mode
2507 enable maintainer-specific build rules
2508 --disable-largefile omit support for large files
2510 Optional Packages:
2511 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2512 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2513 --without-alsa do not use the Alsa sound support
2514 --without-capi do not use CAPI (ISDN support)
2515 --without-cms do not use CMS (color management support)
2516 --without-coreaudio do not use the CoreAudio sound support
2517 --without-cups do not use CUPS
2518 --without-curses do not use (n)curses
2519 --without-dbus do not use DBus (dynamic device support)
2520 --without-faudio do not use FAudio (XAudio2 support)
2521 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2522 --without-fontconfig do not use fontconfig
2523 --without-freetype do not use the FreeType library
2524 --without-gettext do not use gettext
2525 --with-gettextpo use the GetTextPO library to rebuild po files
2526 --without-gphoto do not use gphoto (Digital Camera support)
2527 --without-glu do not use the GLU library
2528 --without-gnutls do not use GnuTLS (schannel support)
2529 --without-gsm do not use libgsm (GSM 06.10 codec support)
2530 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2531 --without-gstreamer do not use GStreamer (codecs support)
2532 --without-hal do not use HAL (dynamic device support)
2533 --without-inotify do not use inotify (filesystem change notifications)
2534 --without-jpeg do not use JPEG
2535 --without-krb5 do not use krb5 (Kerberos)
2536 --without-ldap do not use LDAP
2537 --without-mingw do not use the MinGW cross-compiler
2538 --without-mpg123 do not use the mpg123 library
2539 --without-netapi do not use the Samba NetAPI library
2540 --without-openal do not use OpenAL
2541 --without-opencl do not use OpenCL
2542 --without-opengl do not use OpenGL
2543 --without-osmesa do not use the OSMesa library
2544 --without-oss do not use the OSS sound support
2545 --without-pcap do not use the Packet Capture library
2546 --without-png do not use PNG
2547 --without-pthread do not use the pthread library
2548 --without-pulse do not use PulseAudio sound support
2549 --without-sane do not use SANE (scanner support)
2550 --without-sdl do not use SDL
2551 --without-tiff do not use TIFF
2552 --without-udev do not use udev (plug and play support)
2553 --without-v4l2 do not use v4l2 (video capture)
2554 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2555 --without-vulkan do not use Vulkan
2556 --without-xcomposite do not use the Xcomposite extension
2557 --without-xcursor do not use the Xcursor extension
2558 --without-xfixes do not use Xfixes for clipboard change notifications
2559 --without-xinerama do not use Xinerama (multi-monitor support)
2560 --without-xinput do not use the Xinput extension
2561 --without-xinput2 do not use the Xinput 2 extension
2562 --without-xml do not use XML
2563 --without-xrandr do not use Xrandr (resolution changes)
2564 --without-xrender do not use the Xrender extension
2565 --without-xshape do not use the Xshape extension
2566 --without-xshm do not use XShm (shared memory extension)
2567 --without-xslt do not use XSLT
2568 --without-xxf86vm do not use XFree video mode extension
2569 --without-zlib do not use Zlib (data compression)
2570 --with-wine-tools=DIR use Wine tools from directory DIR
2571 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2572 --with-x use the X Window System
2574 Some influential environment variables:
2575 CC C compiler command
2576 CFLAGS C compiler flags
2577 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2578 nonstandard directory <lib dir>
2579 LIBS libraries to pass to the linker, e.g. -l<library>
2580 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2581 you have headers in a nonstandard directory <include dir>
2582 CXX C++ compiler command
2583 CXXFLAGS C++ compiler flags
2584 CPP C preprocessor
2585 OBJC Objective C compiler command
2586 OBJCFLAGS Objective C compiler flags
2587 OBJCPP Objective C preprocessor
2588 XMKMF Path to xmkmf, Makefile generator for X Window System
2589 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2590 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2591 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2592 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2593 INOTIFY_CFLAGS
2594 C compiler flags for libinotify, overriding pkg-config
2595 INOTIFY_LIBS
2596 Linker flags for libinotify, overriding pkg-config
2597 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2598 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2599 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2600 HAL_LIBS Linker flags for hal, overriding pkg-config
2601 GNUTLS_CFLAGS
2602 C compiler flags for gnutls, overriding pkg-config
2603 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2604 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2605 SANE_LIBS Linker flags for libsane, overriding pkg-config
2606 GPHOTO2_CFLAGS
2607 C compiler flags for libgphoto2, overriding pkg-config
2608 GPHOTO2_LIBS
2609 Linker flags for libgphoto2, overriding pkg-config
2610 GPHOTO2_PORT_CFLAGS
2611 C compiler flags for libgphoto2_port, overriding pkg-config
2612 GPHOTO2_PORT_LIBS
2613 Linker flags for libgphoto2_port, overriding pkg-config
2614 LCMS2_CFLAGS
2615 C compiler flags for lcms2, overriding pkg-config
2616 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2617 FREETYPE_CFLAGS
2618 C compiler flags for freetype2, overriding pkg-config
2619 FREETYPE_LIBS
2620 Linker flags for freetype2, overriding pkg-config
2621 PULSE_CFLAGS
2622 C compiler flags for libpulse, overriding pkg-config
2623 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2624 GSTREAMER_CFLAGS
2625 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2626 gstreamer-audio-1.0, overriding pkg-config
2627 GSTREAMER_LIBS
2628 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2629 gstreamer-audio-1.0, overriding pkg-config
2630 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2631 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2632 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2633 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2634 FAUDIO_CFLAGS
2635 C compiler flags for faudio, overriding pkg-config
2636 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2637 CAPI20_CFLAGS
2638 C compiler flags for capi20, overriding pkg-config
2639 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2640 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2641 CUPS_LIBS Linker flags for cups, overriding pkg-config
2642 FONTCONFIG_CFLAGS
2643 C compiler flags for fontconfig, overriding pkg-config
2644 FONTCONFIG_LIBS
2645 Linker flags for fontconfig, overriding pkg-config
2646 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2647 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2648 GSSAPI_CFLAGS
2649 C compiler flags for krb5-gssapi, overriding pkg-config
2650 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2651 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2652 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2653 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2654 PNG_LIBS Linker flags for libpng, overriding pkg-config
2655 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2656 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2657 MPG123_CFLAGS
2658 C compiler flags for libmpg123, overriding pkg-config
2659 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2660 NETAPI_CFLAGS
2661 C compiler flags for netapi, overriding pkg-config
2662 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2663 VKD3D_CFLAGS
2664 C compiler flags for libvkd3d, overriding pkg-config
2665 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2666 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2667 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2669 Use these variables to override the choices made by `configure' or to help
2670 it to find libraries and programs with nonstandard names/locations.
2672 Report bugs to <wine-devel@winehq.org>.
2673 Wine home page: <https://www.winehq.org>.
2674 _ACEOF
2675 ac_status=$?
2678 if test "$ac_init_help" = "recursive"; then
2679 # If there are subdirs, report their specific --help.
2680 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2681 test -d "$ac_dir" ||
2682 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2683 continue
2684 ac_builddir=.
2686 case "$ac_dir" in
2687 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2689 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2690 # A ".." for each directory in $ac_dir_suffix.
2691 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2692 case $ac_top_builddir_sub in
2693 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2694 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2695 esac ;;
2696 esac
2697 ac_abs_top_builddir=$ac_pwd
2698 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2699 # for backward compatibility:
2700 ac_top_builddir=$ac_top_build_prefix
2702 case $srcdir in
2703 .) # We are building in place.
2704 ac_srcdir=.
2705 ac_top_srcdir=$ac_top_builddir_sub
2706 ac_abs_top_srcdir=$ac_pwd ;;
2707 [\\/]* | ?:[\\/]* ) # Absolute name.
2708 ac_srcdir=$srcdir$ac_dir_suffix;
2709 ac_top_srcdir=$srcdir
2710 ac_abs_top_srcdir=$srcdir ;;
2711 *) # Relative name.
2712 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2713 ac_top_srcdir=$ac_top_build_prefix$srcdir
2714 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2715 esac
2716 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2718 cd "$ac_dir" || { ac_status=$?; continue; }
2719 # Check for guested configure.
2720 if test -f "$ac_srcdir/configure.gnu"; then
2721 echo &&
2722 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2723 elif test -f "$ac_srcdir/configure"; then
2724 echo &&
2725 $SHELL "$ac_srcdir/configure" --help=recursive
2726 else
2727 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2728 fi || ac_status=$?
2729 cd "$ac_pwd" || { ac_status=$?; break; }
2730 done
2733 test -n "$ac_init_help" && exit $ac_status
2734 if $ac_init_version; then
2735 cat <<\_ACEOF
2736 Wine configure 4.9
2737 generated by GNU Autoconf 2.69
2739 Copyright (C) 2012 Free Software Foundation, Inc.
2740 This configure script is free software; the Free Software Foundation
2741 gives unlimited permission to copy, distribute and modify it.
2742 _ACEOF
2743 exit
2746 ## ------------------------ ##
2747 ## Autoconf initialization. ##
2748 ## ------------------------ ##
2750 # ac_fn_c_try_compile LINENO
2751 # --------------------------
2752 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2753 ac_fn_c_try_compile ()
2755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2756 rm -f conftest.$ac_objext
2757 if { { ac_try="$ac_compile"
2758 case "(($ac_try" in
2759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2761 esac
2762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2763 $as_echo "$ac_try_echo"; } >&5
2764 (eval "$ac_compile") 2>conftest.err
2765 ac_status=$?
2766 if test -s conftest.err; then
2767 grep -v '^ *+' conftest.err >conftest.er1
2768 cat conftest.er1 >&5
2769 mv -f conftest.er1 conftest.err
2771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2772 test $ac_status = 0; } && {
2773 test -z "$ac_c_werror_flag" ||
2774 test ! -s conftest.err
2775 } && test -s conftest.$ac_objext; then :
2776 ac_retval=0
2777 else
2778 $as_echo "$as_me: failed program was:" >&5
2779 sed 's/^/| /' conftest.$ac_ext >&5
2781 ac_retval=1
2783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2784 as_fn_set_status $ac_retval
2786 } # ac_fn_c_try_compile
2788 # ac_fn_cxx_try_compile LINENO
2789 # ----------------------------
2790 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2791 ac_fn_cxx_try_compile ()
2793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2794 rm -f conftest.$ac_objext
2795 if { { ac_try="$ac_compile"
2796 case "(($ac_try" in
2797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2799 esac
2800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2801 $as_echo "$ac_try_echo"; } >&5
2802 (eval "$ac_compile") 2>conftest.err
2803 ac_status=$?
2804 if test -s conftest.err; then
2805 grep -v '^ *+' conftest.err >conftest.er1
2806 cat conftest.er1 >&5
2807 mv -f conftest.er1 conftest.err
2809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2810 test $ac_status = 0; } && {
2811 test -z "$ac_cxx_werror_flag" ||
2812 test ! -s conftest.err
2813 } && test -s conftest.$ac_objext; then :
2814 ac_retval=0
2815 else
2816 $as_echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2819 ac_retval=1
2821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2822 as_fn_set_status $ac_retval
2824 } # ac_fn_cxx_try_compile
2826 # ac_fn_c_try_link LINENO
2827 # -----------------------
2828 # Try to link conftest.$ac_ext, and return whether this succeeded.
2829 ac_fn_c_try_link ()
2831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2832 rm -f conftest.$ac_objext conftest$ac_exeext
2833 if { { ac_try="$ac_link"
2834 case "(($ac_try" in
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2837 esac
2838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2839 $as_echo "$ac_try_echo"; } >&5
2840 (eval "$ac_link") 2>conftest.err
2841 ac_status=$?
2842 if test -s conftest.err; then
2843 grep -v '^ *+' conftest.err >conftest.er1
2844 cat conftest.er1 >&5
2845 mv -f conftest.er1 conftest.err
2847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2848 test $ac_status = 0; } && {
2849 test -z "$ac_c_werror_flag" ||
2850 test ! -s conftest.err
2851 } && test -s conftest$ac_exeext && {
2852 test "$cross_compiling" = yes ||
2853 test -x conftest$ac_exeext
2854 }; then :
2855 ac_retval=0
2856 else
2857 $as_echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2860 ac_retval=1
2862 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2863 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2864 # interfere with the next link command; also delete a directory that is
2865 # left behind by Apple's compiler. We do this before executing the actions.
2866 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2868 as_fn_set_status $ac_retval
2870 } # ac_fn_c_try_link
2872 # ac_fn_c_try_cpp LINENO
2873 # ----------------------
2874 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2875 ac_fn_c_try_cpp ()
2877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2878 if { { ac_try="$ac_cpp conftest.$ac_ext"
2879 case "(($ac_try" in
2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2882 esac
2883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2884 $as_echo "$ac_try_echo"; } >&5
2885 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2886 ac_status=$?
2887 if test -s conftest.err; then
2888 grep -v '^ *+' conftest.err >conftest.er1
2889 cat conftest.er1 >&5
2890 mv -f conftest.er1 conftest.err
2892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2893 test $ac_status = 0; } > conftest.i && {
2894 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2895 test ! -s conftest.err
2896 }; then :
2897 ac_retval=0
2898 else
2899 $as_echo "$as_me: failed program was:" >&5
2900 sed 's/^/| /' conftest.$ac_ext >&5
2902 ac_retval=1
2904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2905 as_fn_set_status $ac_retval
2907 } # ac_fn_c_try_cpp
2909 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2910 # -------------------------------------------------------
2911 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2912 # the include files in INCLUDES and setting the cache variable VAR
2913 # accordingly.
2914 ac_fn_c_check_header_mongrel ()
2916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2917 if eval \${$3+:} false; then :
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2919 $as_echo_n "checking for $2... " >&6; }
2920 if eval \${$3+:} false; then :
2921 $as_echo_n "(cached) " >&6
2923 eval ac_res=\$$3
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2925 $as_echo "$ac_res" >&6; }
2926 else
2927 # Is the header compilable?
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2929 $as_echo_n "checking $2 usability... " >&6; }
2930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2931 /* end confdefs.h. */
2933 #include <$2>
2934 _ACEOF
2935 if ac_fn_c_try_compile "$LINENO"; then :
2936 ac_header_compiler=yes
2937 else
2938 ac_header_compiler=no
2940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2942 $as_echo "$ac_header_compiler" >&6; }
2944 # Is the header present?
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2946 $as_echo_n "checking $2 presence... " >&6; }
2947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2949 #include <$2>
2950 _ACEOF
2951 if ac_fn_c_try_cpp "$LINENO"; then :
2952 ac_header_preproc=yes
2953 else
2954 ac_header_preproc=no
2956 rm -f conftest.err conftest.i conftest.$ac_ext
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2958 $as_echo "$ac_header_preproc" >&6; }
2960 # So? What about this header?
2961 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2962 yes:no: )
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2964 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2966 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2968 no:yes:* )
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2970 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2972 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2974 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2976 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2978 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2979 ( $as_echo "## ------------------------------------ ##
2980 ## Report this to wine-devel@winehq.org ##
2981 ## ------------------------------------ ##"
2982 ) | sed "s/^/$as_me: WARNING: /" >&2
2984 esac
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2986 $as_echo_n "checking for $2... " >&6; }
2987 if eval \${$3+:} false; then :
2988 $as_echo_n "(cached) " >&6
2989 else
2990 eval "$3=\$ac_header_compiler"
2992 eval ac_res=\$$3
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2994 $as_echo "$ac_res" >&6; }
2996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2998 } # ac_fn_c_check_header_mongrel
3000 # ac_fn_c_try_run LINENO
3001 # ----------------------
3002 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3003 # that executables *can* be run.
3004 ac_fn_c_try_run ()
3006 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3007 if { { ac_try="$ac_link"
3008 case "(($ac_try" in
3009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3010 *) ac_try_echo=$ac_try;;
3011 esac
3012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3013 $as_echo "$ac_try_echo"; } >&5
3014 (eval "$ac_link") 2>&5
3015 ac_status=$?
3016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3017 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3018 { { case "(($ac_try" in
3019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3020 *) ac_try_echo=$ac_try;;
3021 esac
3022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3023 $as_echo "$ac_try_echo"; } >&5
3024 (eval "$ac_try") 2>&5
3025 ac_status=$?
3026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3027 test $ac_status = 0; }; }; then :
3028 ac_retval=0
3029 else
3030 $as_echo "$as_me: program exited with status $ac_status" >&5
3031 $as_echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.$ac_ext >&5
3034 ac_retval=$ac_status
3036 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3038 as_fn_set_status $ac_retval
3040 } # ac_fn_c_try_run
3042 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3043 # -------------------------------------------------------
3044 # Tests whether HEADER exists and can be compiled using the include files in
3045 # INCLUDES, setting the cache variable VAR accordingly.
3046 ac_fn_c_check_header_compile ()
3048 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3050 $as_echo_n "checking for $2... " >&6; }
3051 if eval \${$3+:} false; then :
3052 $as_echo_n "(cached) " >&6
3053 else
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3057 #include <$2>
3058 _ACEOF
3059 if ac_fn_c_try_compile "$LINENO"; then :
3060 eval "$3=yes"
3061 else
3062 eval "$3=no"
3064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3066 eval ac_res=\$$3
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3068 $as_echo "$ac_res" >&6; }
3069 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3071 } # ac_fn_c_check_header_compile
3073 # ac_fn_objc_try_compile LINENO
3074 # -----------------------------
3075 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3076 ac_fn_objc_try_compile ()
3078 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3079 rm -f conftest.$ac_objext
3080 if { { ac_try="$ac_compile"
3081 case "(($ac_try" in
3082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3084 esac
3085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3086 $as_echo "$ac_try_echo"; } >&5
3087 (eval "$ac_compile") 2>conftest.err
3088 ac_status=$?
3089 if test -s conftest.err; then
3090 grep -v '^ *+' conftest.err >conftest.er1
3091 cat conftest.er1 >&5
3092 mv -f conftest.er1 conftest.err
3094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3095 test $ac_status = 0; } && {
3096 test -z "$ac_objc_werror_flag" ||
3097 test ! -s conftest.err
3098 } && test -s conftest.$ac_objext; then :
3099 ac_retval=0
3100 else
3101 $as_echo "$as_me: failed program was:" >&5
3102 sed 's/^/| /' conftest.$ac_ext >&5
3104 ac_retval=1
3106 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3107 as_fn_set_status $ac_retval
3109 } # ac_fn_objc_try_compile
3111 # ac_fn_objc_try_cpp LINENO
3112 # -------------------------
3113 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3114 ac_fn_objc_try_cpp ()
3116 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3117 if { { ac_try="$ac_cpp conftest.$ac_ext"
3118 case "(($ac_try" in
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3121 esac
3122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3123 $as_echo "$ac_try_echo"; } >&5
3124 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3125 ac_status=$?
3126 if test -s conftest.err; then
3127 grep -v '^ *+' conftest.err >conftest.er1
3128 cat conftest.er1 >&5
3129 mv -f conftest.er1 conftest.err
3131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3132 test $ac_status = 0; } > conftest.i && {
3133 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3134 test ! -s conftest.err
3135 }; then :
3136 ac_retval=0
3137 else
3138 $as_echo "$as_me: failed program was:" >&5
3139 sed 's/^/| /' conftest.$ac_ext >&5
3141 ac_retval=1
3143 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3144 as_fn_set_status $ac_retval
3146 } # ac_fn_objc_try_cpp
3148 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3149 # ----------------------------------------------------------
3150 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3151 # the include files in INCLUDES and setting the cache variable VAR
3152 # accordingly.
3153 ac_fn_objc_check_header_mongrel ()
3155 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3156 if eval \${$3+:} false; then :
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3158 $as_echo_n "checking for $2... " >&6; }
3159 if eval \${$3+:} false; then :
3160 $as_echo_n "(cached) " >&6
3162 eval ac_res=\$$3
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3164 $as_echo "$ac_res" >&6; }
3165 else
3166 # Is the header compilable?
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3168 $as_echo_n "checking $2 usability... " >&6; }
3169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170 /* end confdefs.h. */
3172 #include <$2>
3173 _ACEOF
3174 if ac_fn_objc_try_compile "$LINENO"; then :
3175 ac_header_compiler=yes
3176 else
3177 ac_header_compiler=no
3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3181 $as_echo "$ac_header_compiler" >&6; }
3183 # Is the header present?
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3185 $as_echo_n "checking $2 presence... " >&6; }
3186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3187 /* end confdefs.h. */
3188 #include <$2>
3189 _ACEOF
3190 if ac_fn_objc_try_cpp "$LINENO"; then :
3191 ac_header_preproc=yes
3192 else
3193 ac_header_preproc=no
3195 rm -f conftest.err conftest.i conftest.$ac_ext
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3197 $as_echo "$ac_header_preproc" >&6; }
3199 # So? What about this header?
3200 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3201 yes:no: )
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3203 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3205 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3207 no:yes:* )
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3209 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3211 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3213 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3215 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3217 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3218 ( $as_echo "## ------------------------------------ ##
3219 ## Report this to wine-devel@winehq.org ##
3220 ## ------------------------------------ ##"
3221 ) | sed "s/^/$as_me: WARNING: /" >&2
3223 esac
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3225 $as_echo_n "checking for $2... " >&6; }
3226 if eval \${$3+:} false; then :
3227 $as_echo_n "(cached) " >&6
3228 else
3229 eval "$3=\$ac_header_compiler"
3231 eval ac_res=\$$3
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3233 $as_echo "$ac_res" >&6; }
3235 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3237 } # ac_fn_objc_check_header_mongrel
3239 # ac_fn_c_check_func LINENO FUNC VAR
3240 # ----------------------------------
3241 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3242 ac_fn_c_check_func ()
3244 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3246 $as_echo_n "checking for $2... " >&6; }
3247 if eval \${$3+:} false; then :
3248 $as_echo_n "(cached) " >&6
3249 else
3250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3251 /* end confdefs.h. */
3252 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3254 #define $2 innocuous_$2
3256 /* System header to define __stub macros and hopefully few prototypes,
3257 which can conflict with char $2 (); below.
3258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3259 <limits.h> exists even on freestanding compilers. */
3261 #ifdef __STDC__
3262 # include <limits.h>
3263 #else
3264 # include <assert.h>
3265 #endif
3267 #undef $2
3269 /* Override any GCC internal prototype to avoid an error.
3270 Use char because int might match the return type of a GCC
3271 builtin and then its argument prototype would still apply. */
3272 #ifdef __cplusplus
3273 extern "C"
3274 #endif
3275 char $2 ();
3276 /* The GNU C library defines this for functions which it implements
3277 to always fail with ENOSYS. Some functions are actually named
3278 something starting with __ and the normal name is an alias. */
3279 #if defined __stub_$2 || defined __stub___$2
3280 choke me
3281 #endif
3284 main ()
3286 return $2 ();
3288 return 0;
3290 _ACEOF
3291 if ac_fn_c_try_link "$LINENO"; then :
3292 eval "$3=yes"
3293 else
3294 eval "$3=no"
3296 rm -f core conftest.err conftest.$ac_objext \
3297 conftest$ac_exeext conftest.$ac_ext
3299 eval ac_res=\$$3
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3301 $as_echo "$ac_res" >&6; }
3302 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3304 } # ac_fn_c_check_func
3306 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3307 # ----------------------------------------------------
3308 # Tries to find if the field MEMBER exists in type AGGR, after including
3309 # INCLUDES, setting cache variable VAR accordingly.
3310 ac_fn_c_check_member ()
3312 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3314 $as_echo_n "checking for $2.$3... " >&6; }
3315 if eval \${$4+:} false; then :
3316 $as_echo_n "(cached) " >&6
3317 else
3318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h. */
3322 main ()
3324 static $2 ac_aggr;
3325 if (ac_aggr.$3)
3326 return 0;
3328 return 0;
3330 _ACEOF
3331 if ac_fn_c_try_compile "$LINENO"; then :
3332 eval "$4=yes"
3333 else
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3338 main ()
3340 static $2 ac_aggr;
3341 if (sizeof ac_aggr.$3)
3342 return 0;
3344 return 0;
3346 _ACEOF
3347 if ac_fn_c_try_compile "$LINENO"; then :
3348 eval "$4=yes"
3349 else
3350 eval "$4=no"
3352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3356 eval ac_res=\$$4
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3358 $as_echo "$ac_res" >&6; }
3359 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3361 } # ac_fn_c_check_member
3363 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3364 # -------------------------------------------
3365 # Tests whether TYPE exists after having included INCLUDES, setting cache
3366 # variable VAR accordingly.
3367 ac_fn_c_check_type ()
3369 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3371 $as_echo_n "checking for $2... " >&6; }
3372 if eval \${$3+:} false; then :
3373 $as_echo_n "(cached) " >&6
3374 else
3375 eval "$3=no"
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 :
3389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3390 /* end confdefs.h. */
3393 main ()
3395 if (sizeof (($2)))
3396 return 0;
3398 return 0;
3400 _ACEOF
3401 if ac_fn_c_try_compile "$LINENO"; then :
3403 else
3404 eval "$3=yes"
3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3410 eval ac_res=\$$3
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3412 $as_echo "$ac_res" >&6; }
3413 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3415 } # ac_fn_c_check_type
3416 cat >config.log <<_ACEOF
3417 This file contains any messages produced by compilers while
3418 running configure, to aid debugging if configure makes a mistake.
3420 It was created by Wine $as_me 4.9, which was
3421 generated by GNU Autoconf 2.69. Invocation command line was
3423 $ $0 $@
3425 _ACEOF
3426 exec 5>>config.log
3428 cat <<_ASUNAME
3429 ## --------- ##
3430 ## Platform. ##
3431 ## --------- ##
3433 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3434 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3435 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3436 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3437 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3439 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3440 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3442 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3443 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3444 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3445 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3446 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3447 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3448 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3450 _ASUNAME
3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3453 for as_dir in $PATH
3455 IFS=$as_save_IFS
3456 test -z "$as_dir" && as_dir=.
3457 $as_echo "PATH: $as_dir"
3458 done
3459 IFS=$as_save_IFS
3461 } >&5
3463 cat >&5 <<_ACEOF
3466 ## ----------- ##
3467 ## Core tests. ##
3468 ## ----------- ##
3470 _ACEOF
3473 # Keep a trace of the command line.
3474 # Strip out --no-create and --no-recursion so they do not pile up.
3475 # Strip out --silent because we don't want to record it for future runs.
3476 # Also quote any args containing shell meta-characters.
3477 # Make two passes to allow for proper duplicate-argument suppression.
3478 ac_configure_args=
3479 ac_configure_args0=
3480 ac_configure_args1=
3481 ac_must_keep_next=false
3482 for ac_pass in 1 2
3484 for ac_arg
3486 case $ac_arg in
3487 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3488 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3489 | -silent | --silent | --silen | --sile | --sil)
3490 continue ;;
3491 *\'*)
3492 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3493 esac
3494 case $ac_pass in
3495 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3497 as_fn_append ac_configure_args1 " '$ac_arg'"
3498 if test $ac_must_keep_next = true; then
3499 ac_must_keep_next=false # Got value, back to normal.
3500 else
3501 case $ac_arg in
3502 *=* | --config-cache | -C | -disable-* | --disable-* \
3503 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3504 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3505 | -with-* | --with-* | -without-* | --without-* | --x)
3506 case "$ac_configure_args0 " in
3507 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3508 esac
3510 -* ) ac_must_keep_next=true ;;
3511 esac
3513 as_fn_append ac_configure_args " '$ac_arg'"
3515 esac
3516 done
3517 done
3518 { ac_configure_args0=; unset ac_configure_args0;}
3519 { ac_configure_args1=; unset ac_configure_args1;}
3521 # When interrupted or exit'd, cleanup temporary files, and complete
3522 # config.log. We remove comments because anyway the quotes in there
3523 # would cause problems or look ugly.
3524 # WARNING: Use '\'' to represent an apostrophe within the trap.
3525 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3526 trap 'exit_status=$?
3527 # Save into config.log some information that might help in debugging.
3529 echo
3531 $as_echo "## ---------------- ##
3532 ## Cache variables. ##
3533 ## ---------------- ##"
3534 echo
3535 # The following way of writing the cache mishandles newlines in values,
3537 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3538 eval ac_val=\$$ac_var
3539 case $ac_val in #(
3540 *${as_nl}*)
3541 case $ac_var in #(
3542 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3543 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3544 esac
3545 case $ac_var in #(
3546 _ | IFS | as_nl) ;; #(
3547 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3548 *) { eval $ac_var=; unset $ac_var;} ;;
3549 esac ;;
3550 esac
3551 done
3552 (set) 2>&1 |
3553 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3554 *${as_nl}ac_space=\ *)
3555 sed -n \
3556 "s/'\''/'\''\\\\'\'''\''/g;
3557 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3558 ;; #(
3560 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3562 esac |
3563 sort
3565 echo
3567 $as_echo "## ----------------- ##
3568 ## Output variables. ##
3569 ## ----------------- ##"
3570 echo
3571 for ac_var in $ac_subst_vars
3573 eval ac_val=\$$ac_var
3574 case $ac_val in
3575 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3576 esac
3577 $as_echo "$ac_var='\''$ac_val'\''"
3578 done | sort
3579 echo
3581 if test -n "$ac_subst_files"; then
3582 $as_echo "## ------------------- ##
3583 ## File substitutions. ##
3584 ## ------------------- ##"
3585 echo
3586 for ac_var in $ac_subst_files
3588 eval ac_val=\$$ac_var
3589 case $ac_val in
3590 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3591 esac
3592 $as_echo "$ac_var='\''$ac_val'\''"
3593 done | sort
3594 echo
3597 if test -s confdefs.h; then
3598 $as_echo "## ----------- ##
3599 ## confdefs.h. ##
3600 ## ----------- ##"
3601 echo
3602 cat confdefs.h
3603 echo
3605 test "$ac_signal" != 0 &&
3606 $as_echo "$as_me: caught signal $ac_signal"
3607 $as_echo "$as_me: exit $exit_status"
3608 } >&5
3609 rm -f core *.core core.conftest.* &&
3610 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3611 exit $exit_status
3613 for ac_signal in 1 2 13 15; do
3614 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3615 done
3616 ac_signal=0
3618 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3619 rm -f -r conftest* confdefs.h
3621 $as_echo "/* confdefs.h */" > confdefs.h
3623 # Predefined preprocessor variables.
3625 cat >>confdefs.h <<_ACEOF
3626 #define PACKAGE_NAME "$PACKAGE_NAME"
3627 _ACEOF
3629 cat >>confdefs.h <<_ACEOF
3630 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3631 _ACEOF
3633 cat >>confdefs.h <<_ACEOF
3634 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3635 _ACEOF
3637 cat >>confdefs.h <<_ACEOF
3638 #define PACKAGE_STRING "$PACKAGE_STRING"
3639 _ACEOF
3641 cat >>confdefs.h <<_ACEOF
3642 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3643 _ACEOF
3645 cat >>confdefs.h <<_ACEOF
3646 #define PACKAGE_URL "$PACKAGE_URL"
3647 _ACEOF
3650 # Let the site file select an alternate cache file if it wants to.
3651 # Prefer an explicitly selected file to automatically selected ones.
3652 ac_site_file1=NONE
3653 ac_site_file2=NONE
3654 if test -n "$CONFIG_SITE"; then
3655 # We do not want a PATH search for config.site.
3656 case $CONFIG_SITE in #((
3657 -*) ac_site_file1=./$CONFIG_SITE;;
3658 */*) ac_site_file1=$CONFIG_SITE;;
3659 *) ac_site_file1=./$CONFIG_SITE;;
3660 esac
3661 elif test "x$prefix" != xNONE; then
3662 ac_site_file1=$prefix/share/config.site
3663 ac_site_file2=$prefix/etc/config.site
3664 else
3665 ac_site_file1=$ac_default_prefix/share/config.site
3666 ac_site_file2=$ac_default_prefix/etc/config.site
3668 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3670 test "x$ac_site_file" = xNONE && continue
3671 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3673 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3674 sed 's/^/| /' "$ac_site_file" >&5
3675 . "$ac_site_file" \
3676 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3678 as_fn_error $? "failed to load site script $ac_site_file
3679 See \`config.log' for more details" "$LINENO" 5; }
3681 done
3683 if test -r "$cache_file"; then
3684 # Some versions of bash will fail to source /dev/null (special files
3685 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3686 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3688 $as_echo "$as_me: loading cache $cache_file" >&6;}
3689 case $cache_file in
3690 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3691 *) . "./$cache_file";;
3692 esac
3694 else
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3696 $as_echo "$as_me: creating cache $cache_file" >&6;}
3697 >$cache_file
3700 # Check that the precious variables saved in the cache have kept the same
3701 # value.
3702 ac_cache_corrupted=false
3703 for ac_var in $ac_precious_vars; do
3704 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3705 eval ac_new_set=\$ac_env_${ac_var}_set
3706 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3707 eval ac_new_val=\$ac_env_${ac_var}_value
3708 case $ac_old_set,$ac_new_set in
3709 set,)
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3711 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3712 ac_cache_corrupted=: ;;
3713 ,set)
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3715 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3716 ac_cache_corrupted=: ;;
3717 ,);;
3719 if test "x$ac_old_val" != "x$ac_new_val"; then
3720 # differences in whitespace do not lead to failure.
3721 ac_old_val_w=`echo x $ac_old_val`
3722 ac_new_val_w=`echo x $ac_new_val`
3723 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3725 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3726 ac_cache_corrupted=:
3727 else
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3729 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3730 eval $ac_var=\$ac_old_val
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3733 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3735 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3736 fi;;
3737 esac
3738 # Pass precious variables to config.status.
3739 if test "$ac_new_set" = set; then
3740 case $ac_new_val in
3741 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3742 *) ac_arg=$ac_var=$ac_new_val ;;
3743 esac
3744 case " $ac_configure_args " in
3745 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3746 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3747 esac
3749 done
3750 if $ac_cache_corrupted; then
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3754 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3755 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3757 ## -------------------- ##
3758 ## Main body of script. ##
3759 ## -------------------- ##
3761 ac_ext=c
3762 ac_cpp='$CPP $CPPFLAGS'
3763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3769 ac_config_headers="$ac_config_headers include/config.h"
3771 ac_aux_dir=
3772 for ac_dir in tools "$srcdir"/tools; do
3773 if test -f "$ac_dir/install-sh"; then
3774 ac_aux_dir=$ac_dir
3775 ac_install_sh="$ac_aux_dir/install-sh -c"
3776 break
3777 elif test -f "$ac_dir/install.sh"; then
3778 ac_aux_dir=$ac_dir
3779 ac_install_sh="$ac_aux_dir/install.sh -c"
3780 break
3781 elif test -f "$ac_dir/shtool"; then
3782 ac_aux_dir=$ac_dir
3783 ac_install_sh="$ac_aux_dir/shtool install -c"
3784 break
3786 done
3787 if test -z "$ac_aux_dir"; then
3788 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3791 # These three variables are undocumented and unsupported,
3792 # and are intended to be withdrawn in a future Autoconf release.
3793 # They can cause serious problems if a builder's source tree is in a directory
3794 # whose full name contains unusual characters.
3795 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3796 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3797 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3801 libwine_version="1.0"
3805 # Check whether --enable-win16 was given.
3806 if test "${enable_win16+set}" = set; then :
3807 enableval=$enable_win16;
3810 # Check whether --enable-win64 was given.
3811 if test "${enable_win64+set}" = set; then :
3812 enableval=$enable_win64;
3815 # Check whether --enable-tests was given.
3816 if test "${enable_tests+set}" = set; then :
3817 enableval=$enable_tests;
3820 # Check whether --enable-maintainer-mode was given.
3821 if test "${enable_maintainer_mode+set}" = set; then :
3822 enableval=$enable_maintainer_mode;
3827 # Check whether --with-alsa was given.
3828 if test "${with_alsa+set}" = set; then :
3829 withval=$with_alsa;
3833 # Check whether --with-capi was given.
3834 if test "${with_capi+set}" = set; then :
3835 withval=$with_capi;
3839 # Check whether --with-cms was given.
3840 if test "${with_cms+set}" = set; then :
3841 withval=$with_cms;
3845 # Check whether --with-coreaudio was given.
3846 if test "${with_coreaudio+set}" = set; then :
3847 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3851 # Check whether --with-cups was given.
3852 if test "${with_cups+set}" = set; then :
3853 withval=$with_cups;
3857 # Check whether --with-curses was given.
3858 if test "${with_curses+set}" = set; then :
3859 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3863 # Check whether --with-dbus was given.
3864 if test "${with_dbus+set}" = set; then :
3865 withval=$with_dbus;
3869 # Check whether --with-faudio was given.
3870 if test "${with_faudio+set}" = set; then :
3871 withval=$with_faudio;
3875 # Check whether --with-float-abi was given.
3876 if test "${with_float_abi+set}" = set; then :
3877 withval=$with_float_abi;
3881 # Check whether --with-fontconfig was given.
3882 if test "${with_fontconfig+set}" = set; then :
3883 withval=$with_fontconfig;
3887 # Check whether --with-freetype was given.
3888 if test "${with_freetype+set}" = set; then :
3889 withval=$with_freetype;
3893 # Check whether --with-gettext was given.
3894 if test "${with_gettext+set}" = set; then :
3895 withval=$with_gettext;
3899 # Check whether --with-gettextpo was given.
3900 if test "${with_gettextpo+set}" = set; then :
3901 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3905 # Check whether --with-gphoto was given.
3906 if test "${with_gphoto+set}" = set; then :
3907 withval=$with_gphoto;
3911 # Check whether --with-glu was given.
3912 if test "${with_glu+set}" = set; then :
3913 withval=$with_glu;
3917 # Check whether --with-gnutls was given.
3918 if test "${with_gnutls+set}" = set; then :
3919 withval=$with_gnutls;
3923 # Check whether --with-gsm was given.
3924 if test "${with_gsm+set}" = set; then :
3925 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3929 # Check whether --with-gssapi was given.
3930 if test "${with_gssapi+set}" = set; then :
3931 withval=$with_gssapi;
3935 # Check whether --with-gstreamer was given.
3936 if test "${with_gstreamer+set}" = set; then :
3937 withval=$with_gstreamer;
3941 # Check whether --with-hal was given.
3942 if test "${with_hal+set}" = set; then :
3943 withval=$with_hal;
3947 # Check whether --with-inotify was given.
3948 if test "${with_inotify+set}" = set; then :
3949 withval=$with_inotify;
3953 # Check whether --with-jpeg was given.
3954 if test "${with_jpeg+set}" = set; then :
3955 withval=$with_jpeg;
3959 # Check whether --with-krb5 was given.
3960 if test "${with_krb5+set}" = set; then :
3961 withval=$with_krb5;
3965 # Check whether --with-ldap was given.
3966 if test "${with_ldap+set}" = set; then :
3967 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3971 # Check whether --with-mingw was given.
3972 if test "${with_mingw+set}" = set; then :
3973 withval=$with_mingw;
3977 # Check whether --with-mpg123 was given.
3978 if test "${with_mpg123+set}" = set; then :
3979 withval=$with_mpg123;
3983 # Check whether --with-netapi was given.
3984 if test "${with_netapi+set}" = set; then :
3985 withval=$with_netapi;
3989 # Check whether --with-openal was given.
3990 if test "${with_openal+set}" = set; then :
3991 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3995 # Check whether --with-opencl was given.
3996 if test "${with_opencl+set}" = set; then :
3997 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4001 # Check whether --with-opengl was given.
4002 if test "${with_opengl+set}" = set; then :
4003 withval=$with_opengl;
4007 # Check whether --with-osmesa was given.
4008 if test "${with_osmesa+set}" = set; then :
4009 withval=$with_osmesa;
4013 # Check whether --with-oss was given.
4014 if test "${with_oss+set}" = set; then :
4015 withval=$with_oss;
4019 # Check whether --with-pcap was given.
4020 if test "${with_pcap+set}" = set; then :
4021 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4025 # Check whether --with-png was given.
4026 if test "${with_png+set}" = set; then :
4027 withval=$with_png;
4031 # Check whether --with-pthread was given.
4032 if test "${with_pthread+set}" = set; then :
4033 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4037 # Check whether --with-pulse was given.
4038 if test "${with_pulse+set}" = set; then :
4039 withval=$with_pulse;
4043 # Check whether --with-sane was given.
4044 if test "${with_sane+set}" = set; then :
4045 withval=$with_sane;
4049 # Check whether --with-sdl was given.
4050 if test "${with_sdl+set}" = set; then :
4051 withval=$with_sdl;
4055 # Check whether --with-tiff was given.
4056 if test "${with_tiff+set}" = set; then :
4057 withval=$with_tiff;
4061 # Check whether --with-udev was given.
4062 if test "${with_udev+set}" = set; then :
4063 withval=$with_udev;
4067 # Check whether --with-v4l2 was given.
4068 if test "${with_v4l2+set}" = set; then :
4069 withval=$with_v4l2;
4073 # Check whether --with-vkd3d was given.
4074 if test "${with_vkd3d+set}" = set; then :
4075 withval=$with_vkd3d;
4079 # Check whether --with-vulkan was given.
4080 if test "${with_vulkan+set}" = set; then :
4081 withval=$with_vulkan;
4085 # Check whether --with-xcomposite was given.
4086 if test "${with_xcomposite+set}" = set; then :
4087 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4091 # Check whether --with-xcursor was given.
4092 if test "${with_xcursor+set}" = set; then :
4093 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4097 # Check whether --with-xfixes was given.
4098 if test "${with_xfixes+set}" = set; then :
4099 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4103 # Check whether --with-xinerama was given.
4104 if test "${with_xinerama+set}" = set; then :
4105 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4109 # Check whether --with-xinput was given.
4110 if test "${with_xinput+set}" = set; then :
4111 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4115 # Check whether --with-xinput2 was given.
4116 if test "${with_xinput2+set}" = set; then :
4117 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4121 # Check whether --with-xml was given.
4122 if test "${with_xml+set}" = set; then :
4123 withval=$with_xml;
4127 # Check whether --with-xrandr was given.
4128 if test "${with_xrandr+set}" = set; then :
4129 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4133 # Check whether --with-xrender was given.
4134 if test "${with_xrender+set}" = set; then :
4135 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4139 # Check whether --with-xshape was given.
4140 if test "${with_xshape+set}" = set; then :
4141 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4145 # Check whether --with-xshm was given.
4146 if test "${with_xshm+set}" = set; then :
4147 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4151 # Check whether --with-xslt was given.
4152 if test "${with_xslt+set}" = set; then :
4153 withval=$with_xslt;
4157 # Check whether --with-xxf86vm was given.
4158 if test "${with_xxf86vm+set}" = set; then :
4159 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
4163 # Check whether --with-zlib was given.
4164 if test "${with_zlib+set}" = set; then :
4165 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4170 # Check whether --with-wine-tools was given.
4171 if test "${with_wine_tools+set}" = set; then :
4172 withval=$with_wine_tools;
4176 # Check whether --with-wine64 was given.
4177 if test "${with_wine64+set}" = set; then :
4178 withval=$with_wine64;
4182 # Make sure we can run config.sub.
4183 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4184 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4187 $as_echo_n "checking build system type... " >&6; }
4188 if ${ac_cv_build+:} false; then :
4189 $as_echo_n "(cached) " >&6
4190 else
4191 ac_build_alias=$build_alias
4192 test "x$ac_build_alias" = x &&
4193 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4194 test "x$ac_build_alias" = x &&
4195 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4196 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4197 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4201 $as_echo "$ac_cv_build" >&6; }
4202 case $ac_cv_build in
4203 *-*-*) ;;
4204 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4205 esac
4206 build=$ac_cv_build
4207 ac_save_IFS=$IFS; IFS='-'
4208 set x $ac_cv_build
4209 shift
4210 build_cpu=$1
4211 build_vendor=$2
4212 shift; shift
4213 # Remember, the first character of IFS is used to create $*,
4214 # except with old shells:
4215 build_os=$*
4216 IFS=$ac_save_IFS
4217 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4221 $as_echo_n "checking host system type... " >&6; }
4222 if ${ac_cv_host+:} false; then :
4223 $as_echo_n "(cached) " >&6
4224 else
4225 if test "x$host_alias" = x; then
4226 ac_cv_host=$ac_cv_build
4227 else
4228 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4229 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4234 $as_echo "$ac_cv_host" >&6; }
4235 case $ac_cv_host in
4236 *-*-*) ;;
4237 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4238 esac
4239 host=$ac_cv_host
4240 ac_save_IFS=$IFS; IFS='-'
4241 set x $ac_cv_host
4242 shift
4243 host_cpu=$1
4244 host_vendor=$2
4245 shift; shift
4246 # Remember, the first character of IFS is used to create $*,
4247 # except with old shells:
4248 host_os=$*
4249 IFS=$ac_save_IFS
4250 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4254 case "$srcdir" in
4255 .) ;;
4256 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4257 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4258 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4259 fi ;;
4260 esac
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4264 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4265 set x ${MAKE-make}
4266 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4267 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4268 $as_echo_n "(cached) " >&6
4269 else
4270 cat >conftest.make <<\_ACEOF
4271 SHELL = /bin/sh
4272 all:
4273 @echo '@@@%%%=$(MAKE)=@@@%%%'
4274 _ACEOF
4275 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4276 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4277 *@@@%%%=?*=@@@%%%*)
4278 eval ac_cv_prog_make_${ac_make}_set=yes;;
4280 eval ac_cv_prog_make_${ac_make}_set=no;;
4281 esac
4282 rm -f conftest.make
4284 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4286 $as_echo "yes" >&6; }
4287 SET_MAKE=
4288 else
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4290 $as_echo "no" >&6; }
4291 SET_MAKE="MAKE=${MAKE-make}"
4294 ac_ext=c
4295 ac_cpp='$CPP $CPPFLAGS'
4296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4299 if test -n "$ac_tool_prefix"; then
4300 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4301 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4303 $as_echo_n "checking for $ac_word... " >&6; }
4304 if ${ac_cv_prog_CC+:} false; then :
4305 $as_echo_n "(cached) " >&6
4306 else
4307 if test -n "$CC"; then
4308 ac_cv_prog_CC="$CC" # Let the user override the test.
4309 else
4310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4311 for as_dir in $PATH
4313 IFS=$as_save_IFS
4314 test -z "$as_dir" && as_dir=.
4315 for ac_exec_ext in '' $ac_executable_extensions; do
4316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4317 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4319 break 2
4321 done
4322 done
4323 IFS=$as_save_IFS
4327 CC=$ac_cv_prog_CC
4328 if test -n "$CC"; then
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4330 $as_echo "$CC" >&6; }
4331 else
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4333 $as_echo "no" >&6; }
4338 if test -z "$ac_cv_prog_CC"; then
4339 ac_ct_CC=$CC
4340 # Extract the first word of "gcc", so it can be a program name with args.
4341 set dummy gcc; ac_word=$2
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4343 $as_echo_n "checking for $ac_word... " >&6; }
4344 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4345 $as_echo_n "(cached) " >&6
4346 else
4347 if test -n "$ac_ct_CC"; then
4348 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4349 else
4350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4351 for as_dir in $PATH
4353 IFS=$as_save_IFS
4354 test -z "$as_dir" && as_dir=.
4355 for ac_exec_ext in '' $ac_executable_extensions; do
4356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4357 ac_cv_prog_ac_ct_CC="gcc"
4358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4359 break 2
4361 done
4362 done
4363 IFS=$as_save_IFS
4367 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4368 if test -n "$ac_ct_CC"; then
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4370 $as_echo "$ac_ct_CC" >&6; }
4371 else
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4376 if test "x$ac_ct_CC" = x; then
4377 CC=""
4378 else
4379 case $cross_compiling:$ac_tool_warned in
4380 yes:)
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4383 ac_tool_warned=yes ;;
4384 esac
4385 CC=$ac_ct_CC
4387 else
4388 CC="$ac_cv_prog_CC"
4391 if test -z "$CC"; then
4392 if test -n "$ac_tool_prefix"; then
4393 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4394 set dummy ${ac_tool_prefix}cc; ac_word=$2
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4396 $as_echo_n "checking for $ac_word... " >&6; }
4397 if ${ac_cv_prog_CC+:} false; then :
4398 $as_echo_n "(cached) " >&6
4399 else
4400 if test -n "$CC"; then
4401 ac_cv_prog_CC="$CC" # Let the user override the test.
4402 else
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4404 for as_dir in $PATH
4406 IFS=$as_save_IFS
4407 test -z "$as_dir" && as_dir=.
4408 for ac_exec_ext in '' $ac_executable_extensions; do
4409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4410 ac_cv_prog_CC="${ac_tool_prefix}cc"
4411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 break 2
4414 done
4415 done
4416 IFS=$as_save_IFS
4420 CC=$ac_cv_prog_CC
4421 if test -n "$CC"; then
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4423 $as_echo "$CC" >&6; }
4424 else
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4426 $as_echo "no" >&6; }
4432 if test -z "$CC"; then
4433 # Extract the first word of "cc", so it can be a program name with args.
4434 set dummy cc; ac_word=$2
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4436 $as_echo_n "checking for $ac_word... " >&6; }
4437 if ${ac_cv_prog_CC+:} false; then :
4438 $as_echo_n "(cached) " >&6
4439 else
4440 if test -n "$CC"; then
4441 ac_cv_prog_CC="$CC" # Let the user override the test.
4442 else
4443 ac_prog_rejected=no
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 for as_dir in $PATH
4447 IFS=$as_save_IFS
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4451 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4452 ac_prog_rejected=yes
4453 continue
4455 ac_cv_prog_CC="cc"
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4457 break 2
4459 done
4460 done
4461 IFS=$as_save_IFS
4463 if test $ac_prog_rejected = yes; then
4464 # We found a bogon in the path, so make sure we never use it.
4465 set dummy $ac_cv_prog_CC
4466 shift
4467 if test $# != 0; then
4468 # We chose a different compiler from the bogus one.
4469 # However, it has the same basename, so the bogon will be chosen
4470 # first if we set CC to just the basename; use the full file name.
4471 shift
4472 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4477 CC=$ac_cv_prog_CC
4478 if test -n "$CC"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4480 $as_echo "$CC" >&6; }
4481 else
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4488 if test -z "$CC"; then
4489 if test -n "$ac_tool_prefix"; then
4490 for ac_prog in cl.exe
4492 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4493 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4495 $as_echo_n "checking for $ac_word... " >&6; }
4496 if ${ac_cv_prog_CC+:} false; then :
4497 $as_echo_n "(cached) " >&6
4498 else
4499 if test -n "$CC"; then
4500 ac_cv_prog_CC="$CC" # Let the user override the test.
4501 else
4502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4503 for as_dir in $PATH
4505 IFS=$as_save_IFS
4506 test -z "$as_dir" && as_dir=.
4507 for ac_exec_ext in '' $ac_executable_extensions; do
4508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4509 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4511 break 2
4513 done
4514 done
4515 IFS=$as_save_IFS
4519 CC=$ac_cv_prog_CC
4520 if test -n "$CC"; then
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4522 $as_echo "$CC" >&6; }
4523 else
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4525 $as_echo "no" >&6; }
4529 test -n "$CC" && break
4530 done
4532 if test -z "$CC"; then
4533 ac_ct_CC=$CC
4534 for ac_prog in cl.exe
4536 # Extract the first word of "$ac_prog", so it can be a program name with args.
4537 set dummy $ac_prog; ac_word=$2
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4539 $as_echo_n "checking for $ac_word... " >&6; }
4540 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4541 $as_echo_n "(cached) " >&6
4542 else
4543 if test -n "$ac_ct_CC"; then
4544 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4545 else
4546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4547 for as_dir in $PATH
4549 IFS=$as_save_IFS
4550 test -z "$as_dir" && as_dir=.
4551 for ac_exec_ext in '' $ac_executable_extensions; do
4552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4553 ac_cv_prog_ac_ct_CC="$ac_prog"
4554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4555 break 2
4557 done
4558 done
4559 IFS=$as_save_IFS
4563 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4564 if test -n "$ac_ct_CC"; then
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4566 $as_echo "$ac_ct_CC" >&6; }
4567 else
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4569 $as_echo "no" >&6; }
4573 test -n "$ac_ct_CC" && break
4574 done
4576 if test "x$ac_ct_CC" = x; then
4577 CC=""
4578 else
4579 case $cross_compiling:$ac_tool_warned in
4580 yes:)
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4583 ac_tool_warned=yes ;;
4584 esac
4585 CC=$ac_ct_CC
4592 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4594 as_fn_error $? "no acceptable C compiler found in \$PATH
4595 See \`config.log' for more details" "$LINENO" 5; }
4597 # Provide some information about the compiler.
4598 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4599 set X $ac_compile
4600 ac_compiler=$2
4601 for ac_option in --version -v -V -qversion; do
4602 { { ac_try="$ac_compiler $ac_option >&5"
4603 case "(($ac_try" in
4604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4605 *) ac_try_echo=$ac_try;;
4606 esac
4607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4608 $as_echo "$ac_try_echo"; } >&5
4609 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4610 ac_status=$?
4611 if test -s conftest.err; then
4612 sed '10a\
4613 ... rest of stderr output deleted ...
4614 10q' conftest.err >conftest.er1
4615 cat conftest.er1 >&5
4617 rm -f conftest.er1 conftest.err
4618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4619 test $ac_status = 0; }
4620 done
4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4626 main ()
4630 return 0;
4632 _ACEOF
4633 ac_clean_files_save=$ac_clean_files
4634 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4635 # Try to create an executable without -o first, disregard a.out.
4636 # It will help us diagnose broken compilers, and finding out an intuition
4637 # of exeext.
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4639 $as_echo_n "checking whether the C compiler works... " >&6; }
4640 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4642 # The possible output files:
4643 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4645 ac_rmfiles=
4646 for ac_file in $ac_files
4648 case $ac_file in
4649 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4650 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4651 esac
4652 done
4653 rm -f $ac_rmfiles
4655 if { { ac_try="$ac_link_default"
4656 case "(($ac_try" in
4657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4658 *) ac_try_echo=$ac_try;;
4659 esac
4660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4661 $as_echo "$ac_try_echo"; } >&5
4662 (eval "$ac_link_default") 2>&5
4663 ac_status=$?
4664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4665 test $ac_status = 0; }; then :
4666 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4667 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4668 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4669 # so that the user can short-circuit this test for compilers unknown to
4670 # Autoconf.
4671 for ac_file in $ac_files ''
4673 test -f "$ac_file" || continue
4674 case $ac_file in
4675 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4677 [ab].out )
4678 # We found the default executable, but exeext='' is most
4679 # certainly right.
4680 break;;
4681 *.* )
4682 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4683 then :; else
4684 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4686 # We set ac_cv_exeext here because the later test for it is not
4687 # safe: cross compilers may not add the suffix if given an `-o'
4688 # argument, so we may need to know it at that point already.
4689 # Even if this section looks crufty: it has the advantage of
4690 # actually working.
4691 break;;
4693 break;;
4694 esac
4695 done
4696 test "$ac_cv_exeext" = no && ac_cv_exeext=
4698 else
4699 ac_file=''
4701 if test -z "$ac_file"; then :
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4703 $as_echo "no" >&6; }
4704 $as_echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.$ac_ext >&5
4707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4709 as_fn_error 77 "C compiler cannot create executables
4710 See \`config.log' for more details" "$LINENO" 5; }
4711 else
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4713 $as_echo "yes" >&6; }
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4716 $as_echo_n "checking for C compiler default output file name... " >&6; }
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4718 $as_echo "$ac_file" >&6; }
4719 ac_exeext=$ac_cv_exeext
4721 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4722 ac_clean_files=$ac_clean_files_save
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4724 $as_echo_n "checking for suffix of executables... " >&6; }
4725 if { { ac_try="$ac_link"
4726 case "(($ac_try" in
4727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4728 *) ac_try_echo=$ac_try;;
4729 esac
4730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4731 $as_echo "$ac_try_echo"; } >&5
4732 (eval "$ac_link") 2>&5
4733 ac_status=$?
4734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4735 test $ac_status = 0; }; then :
4736 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4737 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4738 # work properly (i.e., refer to `conftest.exe'), while it won't with
4739 # `rm'.
4740 for ac_file in conftest.exe conftest conftest.*; do
4741 test -f "$ac_file" || continue
4742 case $ac_file in
4743 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4744 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4745 break;;
4746 * ) break;;
4747 esac
4748 done
4749 else
4750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4752 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4753 See \`config.log' for more details" "$LINENO" 5; }
4755 rm -f conftest conftest$ac_cv_exeext
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4757 $as_echo "$ac_cv_exeext" >&6; }
4759 rm -f conftest.$ac_ext
4760 EXEEXT=$ac_cv_exeext
4761 ac_exeext=$EXEEXT
4762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4763 /* end confdefs.h. */
4764 #include <stdio.h>
4766 main ()
4768 FILE *f = fopen ("conftest.out", "w");
4769 return ferror (f) || fclose (f) != 0;
4772 return 0;
4774 _ACEOF
4775 ac_clean_files="$ac_clean_files conftest.out"
4776 # Check that the compiler produces executables we can run. If not, either
4777 # the compiler is broken, or we cross compile.
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4779 $as_echo_n "checking whether we are cross compiling... " >&6; }
4780 if test "$cross_compiling" != yes; then
4781 { { ac_try="$ac_link"
4782 case "(($ac_try" in
4783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4784 *) ac_try_echo=$ac_try;;
4785 esac
4786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4787 $as_echo "$ac_try_echo"; } >&5
4788 (eval "$ac_link") 2>&5
4789 ac_status=$?
4790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4791 test $ac_status = 0; }
4792 if { ac_try='./conftest$ac_cv_exeext'
4793 { { case "(($ac_try" in
4794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4795 *) ac_try_echo=$ac_try;;
4796 esac
4797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4798 $as_echo "$ac_try_echo"; } >&5
4799 (eval "$ac_try") 2>&5
4800 ac_status=$?
4801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4802 test $ac_status = 0; }; }; then
4803 cross_compiling=no
4804 else
4805 if test "$cross_compiling" = maybe; then
4806 cross_compiling=yes
4807 else
4808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4810 as_fn_error $? "cannot run C compiled programs.
4811 If you meant to cross compile, use \`--host'.
4812 See \`config.log' for more details" "$LINENO" 5; }
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4817 $as_echo "$cross_compiling" >&6; }
4819 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4820 ac_clean_files=$ac_clean_files_save
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4822 $as_echo_n "checking for suffix of object files... " >&6; }
4823 if ${ac_cv_objext+:} false; then :
4824 $as_echo_n "(cached) " >&6
4825 else
4826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4827 /* end confdefs.h. */
4830 main ()
4834 return 0;
4836 _ACEOF
4837 rm -f conftest.o conftest.obj
4838 if { { ac_try="$ac_compile"
4839 case "(($ac_try" in
4840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4841 *) ac_try_echo=$ac_try;;
4842 esac
4843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4844 $as_echo "$ac_try_echo"; } >&5
4845 (eval "$ac_compile") 2>&5
4846 ac_status=$?
4847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4848 test $ac_status = 0; }; then :
4849 for ac_file in conftest.o conftest.obj conftest.*; do
4850 test -f "$ac_file" || continue;
4851 case $ac_file in
4852 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4853 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4854 break;;
4855 esac
4856 done
4857 else
4858 $as_echo "$as_me: failed program was:" >&5
4859 sed 's/^/| /' conftest.$ac_ext >&5
4861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4863 as_fn_error $? "cannot compute suffix of object files: cannot compile
4864 See \`config.log' for more details" "$LINENO" 5; }
4866 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4869 $as_echo "$ac_cv_objext" >&6; }
4870 OBJEXT=$ac_cv_objext
4871 ac_objext=$OBJEXT
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4873 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4874 if ${ac_cv_c_compiler_gnu+:} false; then :
4875 $as_echo_n "(cached) " >&6
4876 else
4877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4878 /* end confdefs.h. */
4881 main ()
4883 #ifndef __GNUC__
4884 choke me
4885 #endif
4888 return 0;
4890 _ACEOF
4891 if ac_fn_c_try_compile "$LINENO"; then :
4892 ac_compiler_gnu=yes
4893 else
4894 ac_compiler_gnu=no
4896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4897 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4901 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4902 if test $ac_compiler_gnu = yes; then
4903 GCC=yes
4904 else
4905 GCC=
4907 ac_test_CFLAGS=${CFLAGS+set}
4908 ac_save_CFLAGS=$CFLAGS
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4910 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4911 if ${ac_cv_prog_cc_g+:} false; then :
4912 $as_echo_n "(cached) " >&6
4913 else
4914 ac_save_c_werror_flag=$ac_c_werror_flag
4915 ac_c_werror_flag=yes
4916 ac_cv_prog_cc_g=no
4917 CFLAGS="-g"
4918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4919 /* end confdefs.h. */
4922 main ()
4926 return 0;
4928 _ACEOF
4929 if ac_fn_c_try_compile "$LINENO"; then :
4930 ac_cv_prog_cc_g=yes
4931 else
4932 CFLAGS=""
4933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4934 /* end confdefs.h. */
4937 main ()
4941 return 0;
4943 _ACEOF
4944 if ac_fn_c_try_compile "$LINENO"; then :
4946 else
4947 ac_c_werror_flag=$ac_save_c_werror_flag
4948 CFLAGS="-g"
4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4953 main ()
4957 return 0;
4959 _ACEOF
4960 if ac_fn_c_try_compile "$LINENO"; then :
4961 ac_cv_prog_cc_g=yes
4963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4968 ac_c_werror_flag=$ac_save_c_werror_flag
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4971 $as_echo "$ac_cv_prog_cc_g" >&6; }
4972 if test "$ac_test_CFLAGS" = set; then
4973 CFLAGS=$ac_save_CFLAGS
4974 elif test $ac_cv_prog_cc_g = yes; then
4975 if test "$GCC" = yes; then
4976 CFLAGS="-g -O2"
4977 else
4978 CFLAGS="-g"
4980 else
4981 if test "$GCC" = yes; then
4982 CFLAGS="-O2"
4983 else
4984 CFLAGS=
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4988 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4989 if ${ac_cv_prog_cc_c89+:} false; then :
4990 $as_echo_n "(cached) " >&6
4991 else
4992 ac_cv_prog_cc_c89=no
4993 ac_save_CC=$CC
4994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
4996 #include <stdarg.h>
4997 #include <stdio.h>
4998 struct stat;
4999 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5000 struct buf { int x; };
5001 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5002 static char *e (p, i)
5003 char **p;
5004 int i;
5006 return p[i];
5008 static char *f (char * (*g) (char **, int), char **p, ...)
5010 char *s;
5011 va_list v;
5012 va_start (v,p);
5013 s = g (p, va_arg (v,int));
5014 va_end (v);
5015 return s;
5018 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5019 function prototypes and stuff, but not '\xHH' hex character constants.
5020 These don't provoke an error unfortunately, instead are silently treated
5021 as 'x'. The following induces an error, until -std is added to get
5022 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5023 array size at least. It's necessary to write '\x00'==0 to get something
5024 that's true only with -std. */
5025 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5027 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5028 inside strings and character constants. */
5029 #define FOO(x) 'x'
5030 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5032 int test (int i, double x);
5033 struct s1 {int (*f) (int a);};
5034 struct s2 {int (*f) (double a);};
5035 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5036 int argc;
5037 char **argv;
5039 main ()
5041 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5043 return 0;
5045 _ACEOF
5046 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5047 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5049 CC="$ac_save_CC $ac_arg"
5050 if ac_fn_c_try_compile "$LINENO"; then :
5051 ac_cv_prog_cc_c89=$ac_arg
5053 rm -f core conftest.err conftest.$ac_objext
5054 test "x$ac_cv_prog_cc_c89" != "xno" && break
5055 done
5056 rm -f conftest.$ac_ext
5057 CC=$ac_save_CC
5060 # AC_CACHE_VAL
5061 case "x$ac_cv_prog_cc_c89" in
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5064 $as_echo "none needed" >&6; } ;;
5065 xno)
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5067 $as_echo "unsupported" >&6; } ;;
5069 CC="$CC $ac_cv_prog_cc_c89"
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5071 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5072 esac
5073 if test "x$ac_cv_prog_cc_c89" != xno; then :
5077 ac_ext=c
5078 ac_cpp='$CPP $CPPFLAGS'
5079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5083 ac_ext=cpp
5084 ac_cpp='$CXXCPP $CPPFLAGS'
5085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5088 if test -z "$CXX"; then
5089 if test -n "$CCC"; then
5090 CXX=$CCC
5091 else
5092 if test -n "$ac_tool_prefix"; then
5093 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5095 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5096 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098 $as_echo_n "checking for $ac_word... " >&6; }
5099 if ${ac_cv_prog_CXX+:} false; then :
5100 $as_echo_n "(cached) " >&6
5101 else
5102 if test -n "$CXX"; then
5103 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5104 else
5105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5106 for as_dir in $PATH
5108 IFS=$as_save_IFS
5109 test -z "$as_dir" && as_dir=.
5110 for ac_exec_ext in '' $ac_executable_extensions; do
5111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5112 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 break 2
5116 done
5117 done
5118 IFS=$as_save_IFS
5122 CXX=$ac_cv_prog_CXX
5123 if test -n "$CXX"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5125 $as_echo "$CXX" >&6; }
5126 else
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5132 test -n "$CXX" && break
5133 done
5135 if test -z "$CXX"; then
5136 ac_ct_CXX=$CXX
5137 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5139 # Extract the first word of "$ac_prog", so it can be a program name with args.
5140 set dummy $ac_prog; ac_word=$2
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5142 $as_echo_n "checking for $ac_word... " >&6; }
5143 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5144 $as_echo_n "(cached) " >&6
5145 else
5146 if test -n "$ac_ct_CXX"; then
5147 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5148 else
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 for as_dir in $PATH
5152 IFS=$as_save_IFS
5153 test -z "$as_dir" && as_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5156 ac_cv_prog_ac_ct_CXX="$ac_prog"
5157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 break 2
5160 done
5161 done
5162 IFS=$as_save_IFS
5166 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5167 if test -n "$ac_ct_CXX"; then
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5169 $as_echo "$ac_ct_CXX" >&6; }
5170 else
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5172 $as_echo "no" >&6; }
5176 test -n "$ac_ct_CXX" && break
5177 done
5179 if test "x$ac_ct_CXX" = x; then
5180 CXX="g++"
5181 else
5182 case $cross_compiling:$ac_tool_warned in
5183 yes:)
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5186 ac_tool_warned=yes ;;
5187 esac
5188 CXX=$ac_ct_CXX
5194 # Provide some information about the compiler.
5195 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5196 set X $ac_compile
5197 ac_compiler=$2
5198 for ac_option in --version -v -V -qversion; do
5199 { { ac_try="$ac_compiler $ac_option >&5"
5200 case "(($ac_try" in
5201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5202 *) ac_try_echo=$ac_try;;
5203 esac
5204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5205 $as_echo "$ac_try_echo"; } >&5
5206 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5207 ac_status=$?
5208 if test -s conftest.err; then
5209 sed '10a\
5210 ... rest of stderr output deleted ...
5211 10q' conftest.err >conftest.er1
5212 cat conftest.er1 >&5
5214 rm -f conftest.er1 conftest.err
5215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5216 test $ac_status = 0; }
5217 done
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5220 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5221 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5222 $as_echo_n "(cached) " >&6
5223 else
5224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5225 /* end confdefs.h. */
5228 main ()
5230 #ifndef __GNUC__
5231 choke me
5232 #endif
5235 return 0;
5237 _ACEOF
5238 if ac_fn_cxx_try_compile "$LINENO"; then :
5239 ac_compiler_gnu=yes
5240 else
5241 ac_compiler_gnu=no
5243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5244 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5248 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5249 if test $ac_compiler_gnu = yes; then
5250 GXX=yes
5251 else
5252 GXX=
5254 ac_test_CXXFLAGS=${CXXFLAGS+set}
5255 ac_save_CXXFLAGS=$CXXFLAGS
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5257 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5258 if ${ac_cv_prog_cxx_g+:} false; then :
5259 $as_echo_n "(cached) " >&6
5260 else
5261 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5262 ac_cxx_werror_flag=yes
5263 ac_cv_prog_cxx_g=no
5264 CXXFLAGS="-g"
5265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5266 /* end confdefs.h. */
5269 main ()
5273 return 0;
5275 _ACEOF
5276 if ac_fn_cxx_try_compile "$LINENO"; then :
5277 ac_cv_prog_cxx_g=yes
5278 else
5279 CXXFLAGS=""
5280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5284 main ()
5288 return 0;
5290 _ACEOF
5291 if ac_fn_cxx_try_compile "$LINENO"; then :
5293 else
5294 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5295 CXXFLAGS="-g"
5296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5297 /* end confdefs.h. */
5300 main ()
5304 return 0;
5306 _ACEOF
5307 if ac_fn_cxx_try_compile "$LINENO"; then :
5308 ac_cv_prog_cxx_g=yes
5310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5315 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5318 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5319 if test "$ac_test_CXXFLAGS" = set; then
5320 CXXFLAGS=$ac_save_CXXFLAGS
5321 elif test $ac_cv_prog_cxx_g = yes; then
5322 if test "$GXX" = yes; then
5323 CXXFLAGS="-g -O2"
5324 else
5325 CXXFLAGS="-g"
5327 else
5328 if test "$GXX" = yes; then
5329 CXXFLAGS="-O2"
5330 else
5331 CXXFLAGS=
5334 ac_ext=c
5335 ac_cpp='$CPP $CPPFLAGS'
5336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5340 if test -n "$ac_tool_prefix"; then
5341 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5342 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5344 $as_echo_n "checking for $ac_word... " >&6; }
5345 if ${ac_cv_prog_CPPBIN+:} false; then :
5346 $as_echo_n "(cached) " >&6
5347 else
5348 if test -n "$CPPBIN"; then
5349 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5350 else
5351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 for as_dir in $PATH
5354 IFS=$as_save_IFS
5355 test -z "$as_dir" && as_dir=.
5356 for ac_exec_ext in '' $ac_executable_extensions; do
5357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5358 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 break 2
5362 done
5363 done
5364 IFS=$as_save_IFS
5368 CPPBIN=$ac_cv_prog_CPPBIN
5369 if test -n "$CPPBIN"; then
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5371 $as_echo "$CPPBIN" >&6; }
5372 else
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5374 $as_echo "no" >&6; }
5379 if test -z "$ac_cv_prog_CPPBIN"; then
5380 ac_ct_CPPBIN=$CPPBIN
5381 # Extract the first word of "cpp", so it can be a program name with args.
5382 set dummy cpp; ac_word=$2
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5384 $as_echo_n "checking for $ac_word... " >&6; }
5385 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5386 $as_echo_n "(cached) " >&6
5387 else
5388 if test -n "$ac_ct_CPPBIN"; then
5389 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5390 else
5391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5392 for as_dir in $PATH
5394 IFS=$as_save_IFS
5395 test -z "$as_dir" && as_dir=.
5396 for ac_exec_ext in '' $ac_executable_extensions; do
5397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5398 ac_cv_prog_ac_ct_CPPBIN="cpp"
5399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5400 break 2
5402 done
5403 done
5404 IFS=$as_save_IFS
5408 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5409 if test -n "$ac_ct_CPPBIN"; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5411 $as_echo "$ac_ct_CPPBIN" >&6; }
5412 else
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5414 $as_echo "no" >&6; }
5417 if test "x$ac_ct_CPPBIN" = x; then
5418 CPPBIN="cpp"
5419 else
5420 case $cross_compiling:$ac_tool_warned in
5421 yes:)
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5424 ac_tool_warned=yes ;;
5425 esac
5426 CPPBIN=$ac_ct_CPPBIN
5428 else
5429 CPPBIN="$ac_cv_prog_CPPBIN"
5433 cat >>confdefs.h <<_ACEOF
5434 #define EXEEXT "$ac_exeext"
5435 _ACEOF
5437 if test -n "$ac_tool_prefix"; then
5438 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5439 set dummy ${ac_tool_prefix}ld; ac_word=$2
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5441 $as_echo_n "checking for $ac_word... " >&6; }
5442 if ${ac_cv_prog_LD+:} false; then :
5443 $as_echo_n "(cached) " >&6
5444 else
5445 if test -n "$LD"; then
5446 ac_cv_prog_LD="$LD" # Let the user override the test.
5447 else
5448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5449 for as_dir in $PATH
5451 IFS=$as_save_IFS
5452 test -z "$as_dir" && as_dir=.
5453 for ac_exec_ext in '' $ac_executable_extensions; do
5454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5455 ac_cv_prog_LD="${ac_tool_prefix}ld"
5456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5457 break 2
5459 done
5460 done
5461 IFS=$as_save_IFS
5465 LD=$ac_cv_prog_LD
5466 if test -n "$LD"; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5468 $as_echo "$LD" >&6; }
5469 else
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471 $as_echo "no" >&6; }
5476 if test -z "$ac_cv_prog_LD"; then
5477 ac_ct_LD=$LD
5478 # Extract the first word of "ld", so it can be a program name with args.
5479 set dummy ld; ac_word=$2
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5481 $as_echo_n "checking for $ac_word... " >&6; }
5482 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5483 $as_echo_n "(cached) " >&6
5484 else
5485 if test -n "$ac_ct_LD"; then
5486 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5487 else
5488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5489 for as_dir in $PATH
5491 IFS=$as_save_IFS
5492 test -z "$as_dir" && as_dir=.
5493 for ac_exec_ext in '' $ac_executable_extensions; do
5494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5495 ac_cv_prog_ac_ct_LD="ld"
5496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5497 break 2
5499 done
5500 done
5501 IFS=$as_save_IFS
5505 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5506 if test -n "$ac_ct_LD"; then
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5508 $as_echo "$ac_ct_LD" >&6; }
5509 else
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5511 $as_echo "no" >&6; }
5514 if test "x$ac_ct_LD" = x; then
5515 LD=""
5516 else
5517 case $cross_compiling:$ac_tool_warned in
5518 yes:)
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5521 ac_tool_warned=yes ;;
5522 esac
5523 LD=$ac_ct_LD
5525 else
5526 LD="$ac_cv_prog_LD"
5530 case $host in
5531 *-darwin*)
5532 with_fontconfig=${with_fontconfig:-no}
5534 *-mingw32*|*-cygwin*)
5535 enable_win16=${enable_win16:-no}
5536 with_mingw=${with_mingw:-no}
5537 CFLAGS="$CFLAGS -D_WIN32"
5539 esac
5541 case $host in
5542 x86_64*|amd64*)
5543 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5544 then
5545 CC="$CC -m32"
5546 CXX="$CXX -m32"
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5549 $as_echo_n "checking whether $CC works... " >&6; }
5550 if ${wine_cv_cc_m32+:} false; then :
5551 $as_echo_n "(cached) " >&6
5552 else
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5557 main ()
5561 return 0;
5563 _ACEOF
5564 if ac_fn_c_try_link "$LINENO"; then :
5565 wine_cv_cc_m32=yes
5566 else
5567 wine_cv_cc_m32=no
5569 rm -f core conftest.err conftest.$ac_objext \
5570 conftest$ac_exeext conftest.$ac_ext
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5573 $as_echo "$wine_cv_cc_m32" >&6; }
5574 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5575 host_cpu="i386"
5576 notice_platform="32-bit "
5577 TARGETFLAGS="-m32"
5579 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5580 export PKG_CONFIG_PATH
5581 enable_win16=${enable_win16:-yes}
5582 else
5583 if test "x${GCC}" = "xyes"
5584 then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5586 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5587 if ${wine_cv_builtin_ms_va_list+:} false; then :
5588 $as_echo_n "(cached) " >&6
5589 else
5590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5591 /* end confdefs.h. */
5592 #include <stdarg.h>
5594 main ()
5596 void func(__builtin_ms_va_list *args);
5598 return 0;
5600 _ACEOF
5601 if ac_fn_c_try_compile "$LINENO"; then :
5602 wine_cv_builtin_ms_va_list=yes
5603 else
5604 wine_cv_builtin_ms_va_list=no
5606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5609 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5610 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5612 CC="$CC -m64"
5613 CXX="$CXX -m64"
5614 host_cpu="x86_64"
5615 notice_platform="64-bit "
5616 TARGETFLAGS="-m64"
5620 arm*)
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5622 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5623 if ${wine_cv_thumb+:} false; then :
5624 $as_echo_n "(cached) " >&6
5625 else
5626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5627 /* end confdefs.h. */
5628 int ac_test(int i) { return i; }
5630 main ()
5632 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5634 return 0;
5636 _ACEOF
5637 if ac_fn_c_try_link "$LINENO"; then :
5638 wine_cv_thumb=yes
5639 else
5640 wine_cv_thumb=no
5642 rm -f core conftest.err conftest.$ac_objext \
5643 conftest$ac_exeext conftest.$ac_ext
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5646 $as_echo "$wine_cv_thumb" >&6; }
5647 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5648 case $with_float_abi in
5649 soft|softfp|hard)
5650 float_abi=$with_float_abi ;;
5652 case $host_os in
5653 *eabihf)
5654 float_abi=hard ;;
5656 float_abi=softfp
5657 saved_CFLAGS=$CFLAGS
5658 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5660 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5661 if ${wine_cv_float_abi+:} false; then :
5662 $as_echo_n "(cached) " >&6
5663 else
5664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5665 /* end confdefs.h. */
5668 main ()
5670 asm("vmrs r2,fpscr");
5672 return 0;
5674 _ACEOF
5675 if ac_fn_c_try_link "$LINENO"; then :
5676 wine_cv_float_abi=yes
5677 else
5678 wine_cv_float_abi=no
5680 rm -f core conftest.err conftest.$ac_objext \
5681 conftest$ac_exeext conftest.$ac_ext
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5684 $as_echo "$wine_cv_float_abi" >&6; }
5685 if test $wine_cv_float_abi = no
5686 then
5687 float_abi=soft
5688 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5690 CFLAGS=$saved_CFLAGS
5691 esac
5693 esac
5694 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5695 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5698 aarch64*)
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5700 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5701 if ${wine_cv_builtin_ms_va_list+:} false; then :
5702 $as_echo_n "(cached) " >&6
5703 else
5704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5705 /* end confdefs.h. */
5706 #include <stdarg.h>
5708 main ()
5710 void func(__builtin_ms_va_list *args);
5712 return 0;
5714 _ACEOF
5715 if ac_fn_c_try_compile "$LINENO"; then :
5716 wine_cv_builtin_ms_va_list=yes
5717 else
5718 wine_cv_builtin_ms_va_list=no
5720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5723 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5724 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5726 i[3456789]86*)
5727 enable_win16=${enable_win16:-yes}
5729 esac
5731 enable_win16=${enable_win16:-no}
5732 enable_win64=${enable_win64:-no}
5734 enable_winetest=${enable_winetest:-$enable_tests}
5736 if test "x$enable_win64" = "xyes"
5737 then
5738 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5739 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5740 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5744 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5745 if ${wine_cv_toolsdir+:} false; then :
5746 $as_echo_n "(cached) " >&6
5747 else
5748 wine_cv_toolsdir="$with_wine_tools"
5749 if test -z "$with_wine_tools"; then
5750 if test "$cross_compiling" = "yes"; then
5751 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5752 elif test -n "$with_wine64"; then
5753 wine_cv_toolsdir="$with_wine64"
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5758 $as_echo "$wine_cv_toolsdir" >&6; }
5759 if test -z "$wine_cv_toolsdir"; then
5760 wine_makedep=tools/makedep
5761 TOOLSDIR="\$(top_builddir)"
5763 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5764 wine_makedep=$wine_cv_toolsdir/tools/makedep
5765 case "$wine_cv_toolsdir" in
5766 /*) TOOLSDIR=$wine_cv_toolsdir
5768 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5770 esac
5771 enable_tools=${enable_tools:-no}
5772 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5773 else
5774 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5776 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5777 then
5778 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5782 for ac_prog in flex
5784 # Extract the first word of "$ac_prog", so it can be a program name with args.
5785 set dummy $ac_prog; ac_word=$2
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787 $as_echo_n "checking for $ac_word... " >&6; }
5788 if ${ac_cv_prog_FLEX+:} false; then :
5789 $as_echo_n "(cached) " >&6
5790 else
5791 if test -n "$FLEX"; then
5792 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5793 else
5794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795 for as_dir in $PATH
5797 IFS=$as_save_IFS
5798 test -z "$as_dir" && as_dir=.
5799 for ac_exec_ext in '' $ac_executable_extensions; do
5800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5801 ac_cv_prog_FLEX="$ac_prog"
5802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 break 2
5805 done
5806 done
5807 IFS=$as_save_IFS
5811 FLEX=$ac_cv_prog_FLEX
5812 if test -n "$FLEX"; then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5814 $as_echo "$FLEX" >&6; }
5815 else
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5817 $as_echo "no" >&6; }
5821 test -n "$FLEX" && break
5822 done
5823 test -n "$FLEX" || FLEX="none"
5825 if test "$FLEX" = "none"
5826 then
5827 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5830 $as_echo_n "checking whether flex is recent enough... " >&6; }
5831 if ${wine_cv_recent_flex+:} false; then :
5832 $as_echo_n "(cached) " >&6
5833 else
5834 cat >conftest.l <<EOF
5835 %top{
5836 #include "prediluvian.h"
5840 if $FLEX -t conftest.l >/dev/null 2>&5
5841 then
5842 wine_cv_recent_flex=yes
5843 else
5844 wine_cv_recent_flex=no
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5848 $as_echo "$wine_cv_recent_flex" >&6; }
5849 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5851 for ac_prog in bison
5853 # Extract the first word of "$ac_prog", so it can be a program name with args.
5854 set dummy $ac_prog; ac_word=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if ${ac_cv_prog_BISON+:} false; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 if test -n "$BISON"; then
5861 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5862 else
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH
5866 IFS=$as_save_IFS
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5870 ac_cv_prog_BISON="$ac_prog"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 break 2
5874 done
5875 done
5876 IFS=$as_save_IFS
5880 BISON=$ac_cv_prog_BISON
5881 if test -n "$BISON"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5883 $as_echo "$BISON" >&6; }
5884 else
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5890 test -n "$BISON" && break
5891 done
5892 test -n "$BISON" || BISON="none"
5894 if test "$BISON" = "none"
5895 then
5896 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5899 $as_echo_n "checking whether bison is recent enough... " >&6; }
5900 if ${wine_cv_recent_bison+:} false; then :
5901 $as_echo_n "(cached) " >&6
5902 else
5903 cat >conftest.y <<EOF
5904 %define parse.error verbose
5906 empty: ;
5908 if $BISON conftest.y >/dev/null 2>&5
5909 then
5910 wine_cv_recent_bison=yes
5911 else
5912 wine_cv_recent_bison=no
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5916 $as_echo "$wine_cv_recent_bison" >&6; }
5917 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
5919 if test -n "$ac_tool_prefix"; then
5920 for ac_prog in ar gar
5922 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5923 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5925 $as_echo_n "checking for $ac_word... " >&6; }
5926 if ${ac_cv_prog_AR+:} false; then :
5927 $as_echo_n "(cached) " >&6
5928 else
5929 if test -n "$AR"; then
5930 ac_cv_prog_AR="$AR" # Let the user override the test.
5931 else
5932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5933 for as_dir in $PATH
5935 IFS=$as_save_IFS
5936 test -z "$as_dir" && as_dir=.
5937 for ac_exec_ext in '' $ac_executable_extensions; do
5938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5939 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5941 break 2
5943 done
5944 done
5945 IFS=$as_save_IFS
5949 AR=$ac_cv_prog_AR
5950 if test -n "$AR"; then
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5952 $as_echo "$AR" >&6; }
5953 else
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5955 $as_echo "no" >&6; }
5959 test -n "$AR" && break
5960 done
5962 if test -z "$AR"; then
5963 ac_ct_AR=$AR
5964 for ac_prog in ar gar
5966 # Extract the first word of "$ac_prog", so it can be a program name with args.
5967 set dummy $ac_prog; ac_word=$2
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5969 $as_echo_n "checking for $ac_word... " >&6; }
5970 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5971 $as_echo_n "(cached) " >&6
5972 else
5973 if test -n "$ac_ct_AR"; then
5974 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5975 else
5976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5977 for as_dir in $PATH
5979 IFS=$as_save_IFS
5980 test -z "$as_dir" && as_dir=.
5981 for ac_exec_ext in '' $ac_executable_extensions; do
5982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5983 ac_cv_prog_ac_ct_AR="$ac_prog"
5984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5985 break 2
5987 done
5988 done
5989 IFS=$as_save_IFS
5993 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5994 if test -n "$ac_ct_AR"; then
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5996 $as_echo "$ac_ct_AR" >&6; }
5997 else
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5999 $as_echo "no" >&6; }
6003 test -n "$ac_ct_AR" && break
6004 done
6006 if test "x$ac_ct_AR" = x; then
6007 AR="ar"
6008 else
6009 case $cross_compiling:$ac_tool_warned in
6010 yes:)
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6013 ac_tool_warned=yes ;;
6014 esac
6015 AR=$ac_ct_AR
6019 if test -n "$ac_tool_prefix"; then
6020 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6021 set dummy ${ac_tool_prefix}strip; ac_word=$2
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023 $as_echo_n "checking for $ac_word... " >&6; }
6024 if ${ac_cv_prog_STRIP+:} false; then :
6025 $as_echo_n "(cached) " >&6
6026 else
6027 if test -n "$STRIP"; then
6028 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6029 else
6030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 for as_dir in $PATH
6033 IFS=$as_save_IFS
6034 test -z "$as_dir" && as_dir=.
6035 for ac_exec_ext in '' $ac_executable_extensions; do
6036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6037 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 break 2
6041 done
6042 done
6043 IFS=$as_save_IFS
6047 STRIP=$ac_cv_prog_STRIP
6048 if test -n "$STRIP"; then
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6050 $as_echo "$STRIP" >&6; }
6051 else
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053 $as_echo "no" >&6; }
6058 if test -z "$ac_cv_prog_STRIP"; then
6059 ac_ct_STRIP=$STRIP
6060 # Extract the first word of "strip", so it can be a program name with args.
6061 set dummy strip; ac_word=$2
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063 $as_echo_n "checking for $ac_word... " >&6; }
6064 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6065 $as_echo_n "(cached) " >&6
6066 else
6067 if test -n "$ac_ct_STRIP"; then
6068 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6069 else
6070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6071 for as_dir in $PATH
6073 IFS=$as_save_IFS
6074 test -z "$as_dir" && as_dir=.
6075 for ac_exec_ext in '' $ac_executable_extensions; do
6076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6077 ac_cv_prog_ac_ct_STRIP="strip"
6078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6079 break 2
6081 done
6082 done
6083 IFS=$as_save_IFS
6087 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6088 if test -n "$ac_ct_STRIP"; then
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6090 $as_echo "$ac_ct_STRIP" >&6; }
6091 else
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6093 $as_echo "no" >&6; }
6096 if test "x$ac_ct_STRIP" = x; then
6097 STRIP="strip"
6098 else
6099 case $cross_compiling:$ac_tool_warned in
6100 yes:)
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6103 ac_tool_warned=yes ;;
6104 esac
6105 STRIP=$ac_ct_STRIP
6107 else
6108 STRIP="$ac_cv_prog_STRIP"
6111 if test -n "$ac_tool_prefix"; then
6112 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6113 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if ${ac_cv_prog_RANLIB+:} false; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$RANLIB"; then
6120 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6129 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6139 RANLIB=$ac_cv_prog_RANLIB
6140 if test -n "$RANLIB"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6142 $as_echo "$RANLIB" >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6150 if test -z "$ac_cv_prog_RANLIB"; then
6151 ac_ct_RANLIB=$RANLIB
6152 # Extract the first word of "ranlib", so it can be a program name with args.
6153 set dummy ranlib; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; }
6156 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6157 $as_echo_n "(cached) " >&6
6158 else
6159 if test -n "$ac_ct_RANLIB"; then
6160 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6161 else
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 for as_dir in $PATH
6165 IFS=$as_save_IFS
6166 test -z "$as_dir" && as_dir=.
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6169 ac_cv_prog_ac_ct_RANLIB="ranlib"
6170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171 break 2
6173 done
6174 done
6175 IFS=$as_save_IFS
6179 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6180 if test -n "$ac_ct_RANLIB"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6182 $as_echo "$ac_ct_RANLIB" >&6; }
6183 else
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6188 if test "x$ac_ct_RANLIB" = x; then
6189 RANLIB=":"
6190 else
6191 case $cross_compiling:$ac_tool_warned in
6192 yes:)
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195 ac_tool_warned=yes ;;
6196 esac
6197 RANLIB=$ac_ct_RANLIB
6199 else
6200 RANLIB="$ac_cv_prog_RANLIB"
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6204 $as_echo_n "checking whether ln -s works... " >&6; }
6205 LN_S=$as_ln_s
6206 if test "$LN_S" = "ln -s"; then
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6208 $as_echo "yes" >&6; }
6209 else
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6211 $as_echo "no, using $LN_S" >&6; }
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6215 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6216 if ${ac_cv_path_GREP+:} false; then :
6217 $as_echo_n "(cached) " >&6
6218 else
6219 if test -z "$GREP"; then
6220 ac_path_GREP_found=false
6221 # Loop through the user's path and test for each of PROGNAME-LIST
6222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6223 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6225 IFS=$as_save_IFS
6226 test -z "$as_dir" && as_dir=.
6227 for ac_prog in grep ggrep; do
6228 for ac_exec_ext in '' $ac_executable_extensions; do
6229 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6230 as_fn_executable_p "$ac_path_GREP" || continue
6231 # Check for GNU ac_path_GREP and select it if it is found.
6232 # Check for GNU $ac_path_GREP
6233 case `"$ac_path_GREP" --version 2>&1` in
6234 *GNU*)
6235 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6237 ac_count=0
6238 $as_echo_n 0123456789 >"conftest.in"
6239 while :
6241 cat "conftest.in" "conftest.in" >"conftest.tmp"
6242 mv "conftest.tmp" "conftest.in"
6243 cp "conftest.in" "conftest.nl"
6244 $as_echo 'GREP' >> "conftest.nl"
6245 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6246 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6247 as_fn_arith $ac_count + 1 && ac_count=$as_val
6248 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6249 # Best one so far, save it but keep looking for a better one
6250 ac_cv_path_GREP="$ac_path_GREP"
6251 ac_path_GREP_max=$ac_count
6253 # 10*(2^10) chars as input seems more than enough
6254 test $ac_count -gt 10 && break
6255 done
6256 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6257 esac
6259 $ac_path_GREP_found && break 3
6260 done
6261 done
6262 done
6263 IFS=$as_save_IFS
6264 if test -z "$ac_cv_path_GREP"; then
6265 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6267 else
6268 ac_cv_path_GREP=$GREP
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6273 $as_echo "$ac_cv_path_GREP" >&6; }
6274 GREP="$ac_cv_path_GREP"
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6278 $as_echo_n "checking for egrep... " >&6; }
6279 if ${ac_cv_path_EGREP+:} false; then :
6280 $as_echo_n "(cached) " >&6
6281 else
6282 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6283 then ac_cv_path_EGREP="$GREP -E"
6284 else
6285 if test -z "$EGREP"; then
6286 ac_path_EGREP_found=false
6287 # Loop through the user's path and test for each of PROGNAME-LIST
6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6291 IFS=$as_save_IFS
6292 test -z "$as_dir" && as_dir=.
6293 for ac_prog in egrep; do
6294 for ac_exec_ext in '' $ac_executable_extensions; do
6295 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6296 as_fn_executable_p "$ac_path_EGREP" || continue
6297 # Check for GNU ac_path_EGREP and select it if it is found.
6298 # Check for GNU $ac_path_EGREP
6299 case `"$ac_path_EGREP" --version 2>&1` in
6300 *GNU*)
6301 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6303 ac_count=0
6304 $as_echo_n 0123456789 >"conftest.in"
6305 while :
6307 cat "conftest.in" "conftest.in" >"conftest.tmp"
6308 mv "conftest.tmp" "conftest.in"
6309 cp "conftest.in" "conftest.nl"
6310 $as_echo 'EGREP' >> "conftest.nl"
6311 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6312 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6313 as_fn_arith $ac_count + 1 && ac_count=$as_val
6314 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6315 # Best one so far, save it but keep looking for a better one
6316 ac_cv_path_EGREP="$ac_path_EGREP"
6317 ac_path_EGREP_max=$ac_count
6319 # 10*(2^10) chars as input seems more than enough
6320 test $ac_count -gt 10 && break
6321 done
6322 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6323 esac
6325 $ac_path_EGREP_found && break 3
6326 done
6327 done
6328 done
6329 IFS=$as_save_IFS
6330 if test -z "$ac_cv_path_EGREP"; then
6331 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6333 else
6334 ac_cv_path_EGREP=$EGREP
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6340 $as_echo "$ac_cv_path_EGREP" >&6; }
6341 EGREP="$ac_cv_path_EGREP"
6344 # Extract the first word of "ldconfig", so it can be a program name with args.
6345 set dummy ldconfig; ac_word=$2
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6347 $as_echo_n "checking for $ac_word... " >&6; }
6348 if ${ac_cv_path_LDCONFIG+:} false; then :
6349 $as_echo_n "(cached) " >&6
6350 else
6351 case $LDCONFIG in
6352 [\\/]* | ?:[\\/]*)
6353 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6357 for as_dir in /sbin /usr/sbin $PATH
6359 IFS=$as_save_IFS
6360 test -z "$as_dir" && as_dir=.
6361 for ac_exec_ext in '' $ac_executable_extensions; do
6362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6363 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6365 break 2
6367 done
6368 done
6369 IFS=$as_save_IFS
6371 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6373 esac
6375 LDCONFIG=$ac_cv_path_LDCONFIG
6376 if test -n "$LDCONFIG"; then
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6378 $as_echo "$LDCONFIG" >&6; }
6379 else
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6381 $as_echo "no" >&6; }
6385 for ac_prog in msgfmt
6387 # Extract the first word of "$ac_prog", so it can be a program name with args.
6388 set dummy $ac_prog; ac_word=$2
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6390 $as_echo_n "checking for $ac_word... " >&6; }
6391 if ${ac_cv_prog_MSGFMT+:} false; then :
6392 $as_echo_n "(cached) " >&6
6393 else
6394 if test -n "$MSGFMT"; then
6395 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6396 else
6397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398 for as_dir in $PATH
6400 IFS=$as_save_IFS
6401 test -z "$as_dir" && as_dir=.
6402 for ac_exec_ext in '' $ac_executable_extensions; do
6403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6404 ac_cv_prog_MSGFMT="$ac_prog"
6405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6406 break 2
6408 done
6409 done
6410 IFS=$as_save_IFS
6414 MSGFMT=$ac_cv_prog_MSGFMT
6415 if test -n "$MSGFMT"; then
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6417 $as_echo "$MSGFMT" >&6; }
6418 else
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420 $as_echo "no" >&6; }
6424 test -n "$MSGFMT" && break
6425 done
6426 test -n "$MSGFMT" || MSGFMT="false"
6428 if ${ac_tool_prefix+:} false; then :
6429 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6430 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6432 $as_echo_n "checking for $ac_word... " >&6; }
6433 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6434 $as_echo_n "(cached) " >&6
6435 else
6436 if test -n "$PKG_CONFIG"; then
6437 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6438 else
6439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6440 for as_dir in $PATH
6442 IFS=$as_save_IFS
6443 test -z "$as_dir" && as_dir=.
6444 for ac_exec_ext in '' $ac_executable_extensions; do
6445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6446 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6448 break 2
6450 done
6451 done
6452 IFS=$as_save_IFS
6456 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6457 if test -n "$PKG_CONFIG"; then
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6459 $as_echo "$PKG_CONFIG" >&6; }
6460 else
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6462 $as_echo "no" >&6; }
6467 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6468 if test "x$cross_compiling" = xyes; then :
6470 else
6471 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6472 # Extract the first word of "pkg-config", so it can be a program name with args.
6473 set dummy pkg-config; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 if test -n "$PKG_CONFIG"; then
6480 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6485 IFS=$as_save_IFS
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6489 ac_cv_prog_PKG_CONFIG="pkg-config"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6491 break 2
6493 done
6494 done
6495 IFS=$as_save_IFS
6499 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6500 if test -n "$PKG_CONFIG"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6502 $as_echo "$PKG_CONFIG" >&6; }
6503 else
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6510 else
6511 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6514 if test "x$enable_maintainer_mode" != "xyes"
6515 then
6516 FONTFORGE=""
6517 RSVG=""
6518 CONVERT=""
6519 ICOTOOL=""
6520 else
6521 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6522 for ac_prog in fontforge
6524 # Extract the first word of "$ac_prog", so it can be a program name with args.
6525 set dummy $ac_prog; ac_word=$2
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527 $as_echo_n "checking for $ac_word... " >&6; }
6528 if ${ac_cv_prog_FONTFORGE+:} false; then :
6529 $as_echo_n "(cached) " >&6
6530 else
6531 if test -n "$FONTFORGE"; then
6532 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6533 else
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6535 for as_dir in $PATH
6537 IFS=$as_save_IFS
6538 test -z "$as_dir" && as_dir=.
6539 for ac_exec_ext in '' $ac_executable_extensions; do
6540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6541 ac_cv_prog_FONTFORGE="$ac_prog"
6542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6543 break 2
6545 done
6546 done
6547 IFS=$as_save_IFS
6551 FONTFORGE=$ac_cv_prog_FONTFORGE
6552 if test -n "$FONTFORGE"; then
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6554 $as_echo "$FONTFORGE" >&6; }
6555 else
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6557 $as_echo "no" >&6; }
6561 test -n "$FONTFORGE" && break
6562 done
6563 test -n "$FONTFORGE" || FONTFORGE="false"
6565 for ac_prog in rsvg-convert rsvg
6567 # Extract the first word of "$ac_prog", so it can be a program name with args.
6568 set dummy $ac_prog; ac_word=$2
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6570 $as_echo_n "checking for $ac_word... " >&6; }
6571 if ${ac_cv_prog_RSVG+:} false; then :
6572 $as_echo_n "(cached) " >&6
6573 else
6574 if test -n "$RSVG"; then
6575 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6576 else
6577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6578 for as_dir in $PATH
6580 IFS=$as_save_IFS
6581 test -z "$as_dir" && as_dir=.
6582 for ac_exec_ext in '' $ac_executable_extensions; do
6583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6584 ac_cv_prog_RSVG="$ac_prog"
6585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6586 break 2
6588 done
6589 done
6590 IFS=$as_save_IFS
6594 RSVG=$ac_cv_prog_RSVG
6595 if test -n "$RSVG"; then
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6597 $as_echo "$RSVG" >&6; }
6598 else
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6600 $as_echo "no" >&6; }
6604 test -n "$RSVG" && break
6605 done
6606 test -n "$RSVG" || RSVG="false"
6608 for ac_prog in convert
6610 # Extract the first word of "$ac_prog", so it can be a program name with args.
6611 set dummy $ac_prog; ac_word=$2
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6613 $as_echo_n "checking for $ac_word... " >&6; }
6614 if ${ac_cv_prog_CONVERT+:} false; then :
6615 $as_echo_n "(cached) " >&6
6616 else
6617 if test -n "$CONVERT"; then
6618 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6619 else
6620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621 for as_dir in $PATH
6623 IFS=$as_save_IFS
6624 test -z "$as_dir" && as_dir=.
6625 for ac_exec_ext in '' $ac_executable_extensions; do
6626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6627 ac_cv_prog_CONVERT="$ac_prog"
6628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 break 2
6631 done
6632 done
6633 IFS=$as_save_IFS
6637 CONVERT=$ac_cv_prog_CONVERT
6638 if test -n "$CONVERT"; then
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6640 $as_echo "$CONVERT" >&6; }
6641 else
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643 $as_echo "no" >&6; }
6647 test -n "$CONVERT" && break
6648 done
6649 test -n "$CONVERT" || CONVERT="false"
6651 for ac_prog in icotool
6653 # Extract the first word of "$ac_prog", so it can be a program name with args.
6654 set dummy $ac_prog; ac_word=$2
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6656 $as_echo_n "checking for $ac_word... " >&6; }
6657 if ${ac_cv_prog_ICOTOOL+:} false; then :
6658 $as_echo_n "(cached) " >&6
6659 else
6660 if test -n "$ICOTOOL"; then
6661 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6662 else
6663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6664 for as_dir in $PATH
6666 IFS=$as_save_IFS
6667 test -z "$as_dir" && as_dir=.
6668 for ac_exec_ext in '' $ac_executable_extensions; do
6669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6670 ac_cv_prog_ICOTOOL="$ac_prog"
6671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6672 break 2
6674 done
6675 done
6676 IFS=$as_save_IFS
6680 ICOTOOL=$ac_cv_prog_ICOTOOL
6681 if test -n "$ICOTOOL"; then
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6683 $as_echo "$ICOTOOL" >&6; }
6684 else
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686 $as_echo "no" >&6; }
6690 test -n "$ICOTOOL" && break
6691 done
6692 test -n "$ICOTOOL" || ICOTOOL="false"
6694 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6695 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6697 if test "$CONVERT" = false
6698 then
6699 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6700 else
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6702 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6703 convert_version=`convert --version | head -n1`
6704 if test "x$convert_version" != "x"
6705 then
6706 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6707 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6708 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6709 then
6710 CONVERT=false
6713 if test "$CONVERT" = false
6714 then
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6716 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6717 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6718 else
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6720 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6724 if test "$ICOTOOL" = false
6725 then
6726 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6727 else
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6729 $as_echo_n "checking for recent enough icotool... " >&6; }
6730 icotool_version=`icotool --version | head -n1`
6731 if test "x$icotool_version" != "x"
6732 then
6733 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6734 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6735 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6736 then
6737 ICOTOOL=false
6738 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6741 if test "$ICOTOOL" = false
6742 then
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6744 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6745 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6746 else
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6748 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6752 with_gettext=yes
6753 with_gettextpo=yes
6756 test "x$with_gettext" != xno || MSGFMT=false
6757 if test "$MSGFMT" != "false"
6758 then
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6760 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6761 if ${wine_cv_msgfmt_contexts+:} false; then :
6762 $as_echo_n "(cached) " >&6
6763 else
6764 cat >conftest.po <<EOF
6765 # comment
6766 msgctxt "ctxt"
6767 msgid "id"
6768 msgstr "str"
6770 if $MSGFMT -o /dev/null conftest.po 2>&5
6771 then
6772 wine_cv_msgfmt_contexts=yes
6773 else
6774 wine_cv_msgfmt_contexts=no
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6778 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6779 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6781 if test "$MSGFMT" = false; then :
6782 case "x$with_gettext" in
6783 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6784 xno) ;;
6785 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6786 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6787 esac
6788 enable_po=${enable_po:-no}
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6793 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6794 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6795 $as_echo_n "(cached) " >&6
6796 else
6797 ac_check_lib_save_LIBS=$LIBS
6798 LIBS="-li386 $LIBS"
6799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6800 /* end confdefs.h. */
6802 /* Override any GCC internal prototype to avoid an error.
6803 Use char because int might match the return type of a GCC
6804 builtin and then its argument prototype would still apply. */
6805 #ifdef __cplusplus
6806 extern "C"
6807 #endif
6808 char i386_set_ldt ();
6810 main ()
6812 return i386_set_ldt ();
6814 return 0;
6816 _ACEOF
6817 if ac_fn_c_try_link "$LINENO"; then :
6818 ac_cv_lib_i386_i386_set_ldt=yes
6819 else
6820 ac_cv_lib_i386_i386_set_ldt=no
6822 rm -f core conftest.err conftest.$ac_objext \
6823 conftest$ac_exeext conftest.$ac_ext
6824 LIBS=$ac_check_lib_save_LIBS
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6827 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6828 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6829 cat >>confdefs.h <<_ACEOF
6830 #define HAVE_LIBI386 1
6831 _ACEOF
6833 LIBS="-li386 $LIBS"
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6838 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6839 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6840 $as_echo_n "(cached) " >&6
6841 else
6842 ac_check_lib_save_LIBS=$LIBS
6843 LIBS="-lossaudio $LIBS"
6844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6845 /* end confdefs.h. */
6847 /* Override any GCC internal prototype to avoid an error.
6848 Use char because int might match the return type of a GCC
6849 builtin and then its argument prototype would still apply. */
6850 #ifdef __cplusplus
6851 extern "C"
6852 #endif
6853 char _oss_ioctl ();
6855 main ()
6857 return _oss_ioctl ();
6859 return 0;
6861 _ACEOF
6862 if ac_fn_c_try_link "$LINENO"; then :
6863 ac_cv_lib_ossaudio__oss_ioctl=yes
6864 else
6865 ac_cv_lib_ossaudio__oss_ioctl=no
6867 rm -f core conftest.err conftest.$ac_objext \
6868 conftest$ac_exeext conftest.$ac_ext
6869 LIBS=$ac_check_lib_save_LIBS
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6872 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6873 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6874 cat >>confdefs.h <<_ACEOF
6875 #define HAVE_LIBOSSAUDIO 1
6876 _ACEOF
6878 LIBS="-lossaudio $LIBS"
6883 OPENGL_LIBS=""
6887 # Check whether --enable-largefile was given.
6888 if test "${enable_largefile+set}" = set; then :
6889 enableval=$enable_largefile;
6892 if test "$enable_largefile" != no; then
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6895 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6896 if ${ac_cv_sys_largefile_CC+:} false; then :
6897 $as_echo_n "(cached) " >&6
6898 else
6899 ac_cv_sys_largefile_CC=no
6900 if test "$GCC" != yes; then
6901 ac_save_CC=$CC
6902 while :; do
6903 # IRIX 6.2 and later do not support large files by default,
6904 # so use the C compiler's -n32 option if that helps.
6905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6906 /* end confdefs.h. */
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 break
6927 rm -f core conftest.err conftest.$ac_objext
6928 CC="$CC -n32"
6929 if ac_fn_c_try_compile "$LINENO"; then :
6930 ac_cv_sys_largefile_CC=' -n32'; break
6932 rm -f core conftest.err conftest.$ac_objext
6933 break
6934 done
6935 CC=$ac_save_CC
6936 rm -f conftest.$ac_ext
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6940 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6941 if test "$ac_cv_sys_largefile_CC" != no; then
6942 CC=$CC$ac_cv_sys_largefile_CC
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6946 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6947 if ${ac_cv_sys_file_offset_bits+:} false; then :
6948 $as_echo_n "(cached) " >&6
6949 else
6950 while :; do
6951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6952 /* end confdefs.h. */
6953 #include <sys/types.h>
6954 /* Check that off_t can represent 2**63 - 1 correctly.
6955 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6956 since some C++ compilers masquerading as C compilers
6957 incorrectly reject 9223372036854775807. */
6958 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6959 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6960 && LARGE_OFF_T % 2147483647 == 1)
6961 ? 1 : -1];
6963 main ()
6967 return 0;
6969 _ACEOF
6970 if ac_fn_c_try_compile "$LINENO"; then :
6971 ac_cv_sys_file_offset_bits=no; break
6973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6975 /* end confdefs.h. */
6976 #define _FILE_OFFSET_BITS 64
6977 #include <sys/types.h>
6978 /* Check that off_t can represent 2**63 - 1 correctly.
6979 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6980 since some C++ compilers masquerading as C compilers
6981 incorrectly reject 9223372036854775807. */
6982 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6983 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6984 && LARGE_OFF_T % 2147483647 == 1)
6985 ? 1 : -1];
6987 main ()
6991 return 0;
6993 _ACEOF
6994 if ac_fn_c_try_compile "$LINENO"; then :
6995 ac_cv_sys_file_offset_bits=64; break
6997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6998 ac_cv_sys_file_offset_bits=unknown
6999 break
7000 done
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7003 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7004 case $ac_cv_sys_file_offset_bits in #(
7005 no | unknown) ;;
7007 cat >>confdefs.h <<_ACEOF
7008 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7009 _ACEOF
7011 esac
7012 rm -rf conftest*
7013 if test $ac_cv_sys_file_offset_bits = unknown; then
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7015 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7016 if ${ac_cv_sys_large_files+:} false; then :
7017 $as_echo_n "(cached) " >&6
7018 else
7019 while :; do
7020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7021 /* end confdefs.h. */
7022 #include <sys/types.h>
7023 /* Check that off_t can represent 2**63 - 1 correctly.
7024 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7025 since some C++ compilers masquerading as C compilers
7026 incorrectly reject 9223372036854775807. */
7027 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7028 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7029 && LARGE_OFF_T % 2147483647 == 1)
7030 ? 1 : -1];
7032 main ()
7036 return 0;
7038 _ACEOF
7039 if ac_fn_c_try_compile "$LINENO"; then :
7040 ac_cv_sys_large_files=no; break
7042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7044 /* end confdefs.h. */
7045 #define _LARGE_FILES 1
7046 #include <sys/types.h>
7047 /* Check that off_t can represent 2**63 - 1 correctly.
7048 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7049 since some C++ compilers masquerading as C compilers
7050 incorrectly reject 9223372036854775807. */
7051 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7052 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7053 && LARGE_OFF_T % 2147483647 == 1)
7054 ? 1 : -1];
7056 main ()
7060 return 0;
7062 _ACEOF
7063 if ac_fn_c_try_compile "$LINENO"; then :
7064 ac_cv_sys_large_files=1; break
7066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7067 ac_cv_sys_large_files=unknown
7068 break
7069 done
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7072 $as_echo "$ac_cv_sys_large_files" >&6; }
7073 case $ac_cv_sys_large_files in #(
7074 no | unknown) ;;
7076 cat >>confdefs.h <<_ACEOF
7077 #define _LARGE_FILES $ac_cv_sys_large_files
7078 _ACEOF
7080 esac
7081 rm -rf conftest*
7088 ac_ext=c
7089 ac_cpp='$CPP $CPPFLAGS'
7090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7094 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7095 # On Suns, sometimes $CPP names a directory.
7096 if test -n "$CPP" && test -d "$CPP"; then
7097 CPP=
7099 if test -z "$CPP"; then
7100 if ${ac_cv_prog_CPP+:} false; then :
7101 $as_echo_n "(cached) " >&6
7102 else
7103 # Double quotes because CPP needs to be expanded
7104 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7106 ac_preproc_ok=false
7107 for ac_c_preproc_warn_flag in '' yes
7109 # Use a header file that comes with gcc, so configuring glibc
7110 # with a fresh cross-compiler works.
7111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7112 # <limits.h> exists even on freestanding compilers.
7113 # On the NeXT, cc -E runs the code through the compiler's parser,
7114 # not just through cpp. "Syntax error" is here to catch this case.
7115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7116 /* end confdefs.h. */
7117 #ifdef __STDC__
7118 # include <limits.h>
7119 #else
7120 # include <assert.h>
7121 #endif
7122 Syntax error
7123 _ACEOF
7124 if ac_fn_c_try_cpp "$LINENO"; then :
7126 else
7127 # Broken: fails on valid input.
7128 continue
7130 rm -f conftest.err conftest.i conftest.$ac_ext
7132 # OK, works on sane cases. Now check whether nonexistent headers
7133 # can be detected and how.
7134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7135 /* end confdefs.h. */
7136 #include <ac_nonexistent.h>
7137 _ACEOF
7138 if ac_fn_c_try_cpp "$LINENO"; then :
7139 # Broken: success on invalid input.
7140 continue
7141 else
7142 # Passes both tests.
7143 ac_preproc_ok=:
7144 break
7146 rm -f conftest.err conftest.i conftest.$ac_ext
7148 done
7149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7150 rm -f conftest.i conftest.err conftest.$ac_ext
7151 if $ac_preproc_ok; then :
7152 break
7155 done
7156 ac_cv_prog_CPP=$CPP
7159 CPP=$ac_cv_prog_CPP
7160 else
7161 ac_cv_prog_CPP=$CPP
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7164 $as_echo "$CPP" >&6; }
7165 ac_preproc_ok=false
7166 for ac_c_preproc_warn_flag in '' yes
7168 # Use a header file that comes with gcc, so configuring glibc
7169 # with a fresh cross-compiler works.
7170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7171 # <limits.h> exists even on freestanding compilers.
7172 # On the NeXT, cc -E runs the code through the compiler's parser,
7173 # not just through cpp. "Syntax error" is here to catch this case.
7174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7175 /* end confdefs.h. */
7176 #ifdef __STDC__
7177 # include <limits.h>
7178 #else
7179 # include <assert.h>
7180 #endif
7181 Syntax error
7182 _ACEOF
7183 if ac_fn_c_try_cpp "$LINENO"; then :
7185 else
7186 # Broken: fails on valid input.
7187 continue
7189 rm -f conftest.err conftest.i conftest.$ac_ext
7191 # OK, works on sane cases. Now check whether nonexistent headers
7192 # can be detected and how.
7193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h. */
7195 #include <ac_nonexistent.h>
7196 _ACEOF
7197 if ac_fn_c_try_cpp "$LINENO"; then :
7198 # Broken: success on invalid input.
7199 continue
7200 else
7201 # Passes both tests.
7202 ac_preproc_ok=:
7203 break
7205 rm -f conftest.err conftest.i conftest.$ac_ext
7207 done
7208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7209 rm -f conftest.i conftest.err conftest.$ac_ext
7210 if $ac_preproc_ok; then :
7212 else
7213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7215 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7216 See \`config.log' for more details" "$LINENO" 5; }
7219 ac_ext=c
7220 ac_cpp='$CPP $CPPFLAGS'
7221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7227 $as_echo_n "checking for ANSI C header files... " >&6; }
7228 if ${ac_cv_header_stdc+:} false; then :
7229 $as_echo_n "(cached) " >&6
7230 else
7231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7232 /* end confdefs.h. */
7233 #include <stdlib.h>
7234 #include <stdarg.h>
7235 #include <string.h>
7236 #include <float.h>
7239 main ()
7243 return 0;
7245 _ACEOF
7246 if ac_fn_c_try_compile "$LINENO"; then :
7247 ac_cv_header_stdc=yes
7248 else
7249 ac_cv_header_stdc=no
7251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7253 if test $ac_cv_header_stdc = yes; then
7254 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7256 /* end confdefs.h. */
7257 #include <string.h>
7259 _ACEOF
7260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7261 $EGREP "memchr" >/dev/null 2>&1; then :
7263 else
7264 ac_cv_header_stdc=no
7266 rm -f conftest*
7270 if test $ac_cv_header_stdc = yes; then
7271 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7273 /* end confdefs.h. */
7274 #include <stdlib.h>
7276 _ACEOF
7277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7278 $EGREP "free" >/dev/null 2>&1; then :
7280 else
7281 ac_cv_header_stdc=no
7283 rm -f conftest*
7287 if test $ac_cv_header_stdc = yes; then
7288 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7289 if test "$cross_compiling" = yes; then :
7291 else
7292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7293 /* end confdefs.h. */
7294 #include <ctype.h>
7295 #include <stdlib.h>
7296 #if ((' ' & 0x0FF) == 0x020)
7297 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7298 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7299 #else
7300 # define ISLOWER(c) \
7301 (('a' <= (c) && (c) <= 'i') \
7302 || ('j' <= (c) && (c) <= 'r') \
7303 || ('s' <= (c) && (c) <= 'z'))
7304 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7305 #endif
7307 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7309 main ()
7311 int i;
7312 for (i = 0; i < 256; i++)
7313 if (XOR (islower (i), ISLOWER (i))
7314 || toupper (i) != TOUPPER (i))
7315 return 2;
7316 return 0;
7318 _ACEOF
7319 if ac_fn_c_try_run "$LINENO"; then :
7321 else
7322 ac_cv_header_stdc=no
7324 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7325 conftest.$ac_objext conftest.beam conftest.$ac_ext
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7331 $as_echo "$ac_cv_header_stdc" >&6; }
7332 if test $ac_cv_header_stdc = yes; then
7334 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7338 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7339 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7340 inttypes.h stdint.h unistd.h
7341 do :
7342 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7343 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7345 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7346 cat >>confdefs.h <<_ACEOF
7347 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7348 _ACEOF
7352 done
7355 for ac_header in \
7356 AL/al.h \
7357 ApplicationServices/ApplicationServices.h \
7358 AudioToolbox/AudioConverter.h \
7359 AudioUnit/AudioUnit.h \
7360 AudioUnit/AudioComponent.h \
7361 CL/cl.h \
7362 Carbon/Carbon.h \
7363 CommonCrypto/CommonCryptor.h \
7364 CoreAudio/CoreAudio.h \
7365 CoreServices/CoreServices.h \
7366 DiskArbitration/DiskArbitration.h \
7367 EGL/egl.h \
7368 IOKit/IOKitLib.h \
7369 IOKit/hid/IOHIDLib.h \
7370 OpenAL/al.h \
7371 OpenCL/opencl.h \
7372 QuickTime/ImageCompression.h \
7373 Security/Security.h \
7374 alias.h \
7375 arpa/inet.h \
7376 arpa/nameser.h \
7377 asm/types.h \
7378 asm/user.h \
7379 curses.h \
7380 dirent.h \
7381 dlfcn.h \
7382 elf.h \
7383 float.h \
7384 fnmatch.h \
7385 getopt.h \
7386 gettext-po.h \
7387 grp.h \
7388 gsm.h \
7389 gsm/gsm.h \
7390 ieeefp.h \
7391 inet/mib2.h \
7392 kstat.h \
7393 libproc.h \
7394 link.h \
7395 linux/cdrom.h \
7396 linux/compiler.h \
7397 linux/filter.h \
7398 linux/hdreg.h \
7399 linux/hidraw.h \
7400 linux/input.h \
7401 linux/ioctl.h \
7402 linux/joystick.h \
7403 linux/major.h \
7404 linux/param.h \
7405 linux/serial.h \
7406 linux/types.h \
7407 linux/ucdrom.h \
7408 lwp.h \
7409 mach-o/nlist.h \
7410 mach-o/loader.h \
7411 mach/mach.h \
7412 mach/machine.h \
7413 machine/cpu.h \
7414 machine/limits.h \
7415 machine/sysarch.h \
7416 mntent.h \
7417 ncurses.h \
7418 netdb.h \
7419 netinet/in.h \
7420 netinet/in_systm.h \
7421 netinet/tcp.h \
7422 netinet/tcp_fsm.h \
7423 pcap/pcap.h \
7424 poll.h \
7425 port.h \
7426 pthread.h \
7427 pwd.h \
7428 sched.h \
7429 scsi/scsi.h \
7430 scsi/scsi_ioctl.h \
7431 scsi/sg.h \
7432 stdbool.h \
7433 stdint.h \
7434 stropts.h \
7435 sys/attr.h \
7436 sys/auxv.h \
7437 sys/cdio.h \
7438 sys/elf32.h \
7439 sys/epoll.h \
7440 sys/event.h \
7441 sys/exec_elf.h \
7442 sys/filio.h \
7443 sys/ioctl.h \
7444 sys/ipc.h \
7445 sys/limits.h \
7446 sys/link.h \
7447 sys/mman.h \
7448 sys/modem.h \
7449 sys/msg.h \
7450 sys/mtio.h \
7451 sys/param.h \
7452 sys/poll.h \
7453 sys/prctl.h \
7454 sys/protosw.h \
7455 sys/ptrace.h \
7456 sys/queue.h \
7457 sys/resource.h \
7458 sys/scsiio.h \
7459 sys/shm.h \
7460 sys/signal.h \
7461 sys/socket.h \
7462 sys/socketvar.h \
7463 sys/sockio.h \
7464 sys/statvfs.h \
7465 sys/strtio.h \
7466 sys/syscall.h \
7467 sys/sysinfo.h \
7468 sys/tihdr.h \
7469 sys/time.h \
7470 sys/timeout.h \
7471 sys/times.h \
7472 sys/uio.h \
7473 sys/user.h \
7474 sys/utsname.h \
7475 sys/vnode.h \
7476 sys/wait.h \
7477 syscall.h \
7478 termios.h \
7479 unistd.h \
7480 utime.h \
7481 valgrind/memcheck.h \
7482 valgrind/valgrind.h \
7483 zlib.h
7485 do :
7486 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7487 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7488 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7489 cat >>confdefs.h <<_ACEOF
7490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7491 _ACEOF
7495 done
7497 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7498 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7500 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7505 if test $ac_cv_header_sys_mkdev_h = no; then
7506 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7507 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7509 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7516 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7517 if ${ac_cv_header_stat_broken+:} false; then :
7518 $as_echo_n "(cached) " >&6
7519 else
7520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7521 /* end confdefs.h. */
7522 #include <sys/types.h>
7523 #include <sys/stat.h>
7525 #if defined S_ISBLK && defined S_IFDIR
7526 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7527 #endif
7529 #if defined S_ISBLK && defined S_IFCHR
7530 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7531 #endif
7533 #if defined S_ISLNK && defined S_IFREG
7534 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7535 #endif
7537 #if defined S_ISSOCK && defined S_IFREG
7538 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7539 #endif
7541 _ACEOF
7542 if ac_fn_c_try_compile "$LINENO"; then :
7543 ac_cv_header_stat_broken=no
7544 else
7545 ac_cv_header_stat_broken=yes
7547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7550 $as_echo "$ac_cv_header_stat_broken" >&6; }
7551 if test $ac_cv_header_stat_broken = yes; then
7553 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7559 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.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_SYS_PARAM_H
7564 # include <sys/param.h>
7565 #endif
7567 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7568 cat >>confdefs.h <<_ACEOF
7569 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7570 _ACEOF
7574 done
7577 for ac_header in \
7578 netinet/ip.h \
7579 net/if.h \
7580 net/if_arp.h \
7581 net/if_dl.h \
7582 net/if_types.h \
7583 net/route.h \
7584 netinet/if_ether.h \
7585 netinet/if_inarp.h \
7586 netinet/in_pcb.h \
7587 netinet/ip_icmp.h \
7588 netinet/ip_var.h \
7589 netinet/udp.h \
7590 netipx/ipx.h \
7591 sys/un.h \
7593 do :
7594 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7595 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7596 #ifdef HAVE_SYS_SOCKET_H
7597 # include <sys/socket.h>
7598 #endif
7599 #ifdef HAVE_SYS_SOCKETVAR_H
7600 # include <sys/socketvar.h>
7601 #endif
7602 #ifdef HAVE_NET_ROUTE_H
7603 # include <net/route.h>
7604 #endif
7605 #ifdef HAVE_NETINET_IN_H
7606 # include <netinet/in.h>
7607 #endif
7608 #ifdef HAVE_NETINET_IN_SYSTM_H
7609 # include <netinet/in_systm.h>
7610 #endif
7611 #ifdef HAVE_NET_IF_H
7612 # include <net/if.h>
7613 #endif
7614 #ifdef HAVE_NETINET_IP_H
7615 # include <netinet/ip.h>
7616 #endif
7618 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7619 cat >>confdefs.h <<_ACEOF
7620 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7621 _ACEOF
7625 done
7628 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7629 do :
7630 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7631 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7632 #ifdef HAVE_ALIAS_H
7633 # include <alias.h>
7634 #endif
7635 #ifdef HAVE_SYS_SOCKET_H
7636 # include <sys/socket.h>
7637 #endif
7638 #ifdef HAVE_SYS_SOCKETVAR_H
7639 # include <sys/socketvar.h>
7640 #endif
7641 #ifdef HAVE_SYS_TIMEOUT_H
7642 # include <sys/timeout.h>
7643 #endif
7644 #ifdef HAVE_NETINET_IN_H
7645 # include <netinet/in.h>
7646 #endif
7647 #ifdef HAVE_NETINET_IN_SYSTM_H
7648 # include <netinet/in_systm.h>
7649 #endif
7650 #ifdef HAVE_NETINET_IP_H
7651 # include <netinet/ip.h>
7652 #endif
7653 #ifdef HAVE_NETINET_IP_VAR_H
7654 # include <netinet/ip_var.h>
7655 #endif
7656 #ifdef HAVE_NETINET_IP_ICMP_H
7657 # include <netinet/ip_icmp.h>
7658 #endif
7659 #ifdef HAVE_NETINET_UDP_H
7660 # include <netinet/udp.h>
7661 #endif
7662 #ifdef HAVE_NETINET_TCP_H
7663 # include <netinet/tcp.h>
7664 #endif
7665 #ifdef HAVE_NETINET_TCP_TIMER_H
7666 #include <netinet/tcp_timer.h>
7667 #endif
7669 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7670 cat >>confdefs.h <<_ACEOF
7671 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7672 _ACEOF
7676 done
7679 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7680 do :
7681 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7682 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7683 #ifdef HAVE_ASM_TYPES_H
7684 # include <asm/types.h>
7685 #endif
7686 #ifdef HAVE_SYS_SOCKET_H
7687 # include <sys/socket.h>
7688 #endif
7689 #ifdef HAVE_LINUX_TYPES_H
7690 # include <linux/types.h>
7691 #endif
7693 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7694 cat >>confdefs.h <<_ACEOF
7695 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7696 _ACEOF
7700 done
7703 for ac_header in mach-o/dyld_images.h
7704 do :
7705 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7706 # include <stdbool.h>
7707 #endif
7708 #ifdef HAVE_STDINT_H
7709 # include <stdint.h>
7710 #endif
7712 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7713 cat >>confdefs.h <<_ACEOF
7714 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7715 _ACEOF
7719 done
7722 for ac_header in resolv.h
7723 do :
7724 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7725 #ifdef HAVE_SYS_SOCKET_H
7726 # include <sys/socket.h>
7727 #endif
7728 #ifdef HAVE_NETINET_IN_H
7729 # include <netinet/in.h>
7730 #endif
7731 #ifdef HAVE_ARPA_NAMESER_H
7732 # include <arpa/nameser.h>
7733 #endif
7735 if test "x$ac_cv_header_resolv_h" = xyes; then :
7736 cat >>confdefs.h <<_ACEOF
7737 #define HAVE_RESOLV_H 1
7738 _ACEOF
7742 done
7745 for ac_header in ifaddrs.h
7746 do :
7747 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7749 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7750 cat >>confdefs.h <<_ACEOF
7751 #define HAVE_IFADDRS_H 1
7752 _ACEOF
7756 done
7759 for ac_header in sys/ucontext.h
7760 do :
7761 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7763 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7764 cat >>confdefs.h <<_ACEOF
7765 #define HAVE_SYS_UCONTEXT_H 1
7766 _ACEOF
7770 done
7773 for ac_header in sys/thr.h
7774 do :
7775 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7776 #ifdef HAVE_SYS_UCONTEXT_H
7777 #include <sys/ucontext.h>
7778 #endif
7780 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7781 cat >>confdefs.h <<_ACEOF
7782 #define HAVE_SYS_THR_H 1
7783 _ACEOF
7787 done
7790 for ac_header in pthread_np.h
7791 do :
7792 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7793 #include <pthread.h>
7794 #endif
7796 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7797 cat >>confdefs.h <<_ACEOF
7798 #define HAVE_PTHREAD_NP_H 1
7799 _ACEOF
7803 done
7806 for ac_header in linux/videodev2.h
7807 do :
7808 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7809 #include <sys/time.h>
7810 #endif
7811 #include <sys/types.h>
7812 #ifdef HAVE_ASM_TYPES_H
7813 #include <asm/types.h>
7814 #endif
7816 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7817 cat >>confdefs.h <<_ACEOF
7818 #define HAVE_LINUX_VIDEODEV2_H 1
7819 _ACEOF
7823 done
7826 for ac_header in libprocstat.h
7827 do :
7828 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7829 #include <sys/param.h>
7830 #endif
7831 #ifdef HAVE_SYS_QUEUE_H
7832 #include <sys/queue.h>
7833 #endif
7834 #ifdef HAVE_SYS_SOCKET_H
7835 #include <sys/socket.h>
7836 #endif
7838 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7839 cat >>confdefs.h <<_ACEOF
7840 #define HAVE_LIBPROCSTAT_H 1
7841 _ACEOF
7845 done
7849 DLLFLAGS="-D_REENTRANT"
7851 LDRPATH_INSTALL=""
7853 LDRPATH_LOCAL=""
7855 LDDLLFLAGS=""
7857 LDEXECFLAGS=""
7859 TOP_INSTALL_LIB=""
7861 TOP_INSTALL_DEV=""
7863 WINELOADER_LDFLAGS=""
7865 WINEPRELOADER_LDFLAGS=""
7867 LIBEXT="so"
7868 DLLEXT=".so"
7869 # Extract the first word of "ldd", so it can be a program name with args.
7870 set dummy ldd; ac_word=$2
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7872 $as_echo_n "checking for $ac_word... " >&6; }
7873 if ${ac_cv_path_LDD+:} false; then :
7874 $as_echo_n "(cached) " >&6
7875 else
7876 case $LDD in
7877 [\\/]* | ?:[\\/]*)
7878 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7882 as_dummy="/sbin:/usr/sbin:$PATH"
7883 for as_dir in $as_dummy
7885 IFS=$as_save_IFS
7886 test -z "$as_dir" && as_dir=.
7887 for ac_exec_ext in '' $ac_executable_extensions; do
7888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7889 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7891 break 2
7893 done
7894 done
7895 IFS=$as_save_IFS
7897 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7899 esac
7901 LDD=$ac_cv_path_LDD
7902 if test -n "$LDD"; then
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7904 $as_echo "$LDD" >&6; }
7905 else
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7907 $as_echo "no" >&6; }
7911 if test -n "$ac_tool_prefix"; then
7912 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7913 set dummy ${ac_tool_prefix}otool; ac_word=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915 $as_echo_n "checking for $ac_word... " >&6; }
7916 if ${ac_cv_prog_OTOOL+:} false; then :
7917 $as_echo_n "(cached) " >&6
7918 else
7919 if test -n "$OTOOL"; then
7920 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7921 else
7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7923 for as_dir in $PATH
7925 IFS=$as_save_IFS
7926 test -z "$as_dir" && as_dir=.
7927 for ac_exec_ext in '' $ac_executable_extensions; do
7928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7929 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7931 break 2
7933 done
7934 done
7935 IFS=$as_save_IFS
7939 OTOOL=$ac_cv_prog_OTOOL
7940 if test -n "$OTOOL"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7942 $as_echo "$OTOOL" >&6; }
7943 else
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 $as_echo "no" >&6; }
7950 if test -z "$ac_cv_prog_OTOOL"; then
7951 ac_ct_OTOOL=$OTOOL
7952 # Extract the first word of "otool", so it can be a program name with args.
7953 set dummy otool; ac_word=$2
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7955 $as_echo_n "checking for $ac_word... " >&6; }
7956 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7957 $as_echo_n "(cached) " >&6
7958 else
7959 if test -n "$ac_ct_OTOOL"; then
7960 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7961 else
7962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7963 for as_dir in $PATH
7965 IFS=$as_save_IFS
7966 test -z "$as_dir" && as_dir=.
7967 for ac_exec_ext in '' $ac_executable_extensions; do
7968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7969 ac_cv_prog_ac_ct_OTOOL="otool"
7970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7971 break 2
7973 done
7974 done
7975 IFS=$as_save_IFS
7979 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7980 if test -n "$ac_ct_OTOOL"; then
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7982 $as_echo "$ac_ct_OTOOL" >&6; }
7983 else
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7985 $as_echo "no" >&6; }
7988 if test "x$ac_ct_OTOOL" = x; then
7989 OTOOL="otool"
7990 else
7991 case $cross_compiling:$ac_tool_warned in
7992 yes:)
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7995 ac_tool_warned=yes ;;
7996 esac
7997 OTOOL=$ac_ct_OTOOL
7999 else
8000 OTOOL="$ac_cv_prog_OTOOL"
8003 if test -n "$ac_tool_prefix"; then
8004 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8005 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8007 $as_echo_n "checking for $ac_word... " >&6; }
8008 if ${ac_cv_prog_READELF+:} false; then :
8009 $as_echo_n "(cached) " >&6
8010 else
8011 if test -n "$READELF"; then
8012 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8013 else
8014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8015 for as_dir in $PATH
8017 IFS=$as_save_IFS
8018 test -z "$as_dir" && as_dir=.
8019 for ac_exec_ext in '' $ac_executable_extensions; do
8020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8021 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8023 break 2
8025 done
8026 done
8027 IFS=$as_save_IFS
8031 READELF=$ac_cv_prog_READELF
8032 if test -n "$READELF"; then
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8034 $as_echo "$READELF" >&6; }
8035 else
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8037 $as_echo "no" >&6; }
8042 if test -z "$ac_cv_prog_READELF"; then
8043 ac_ct_READELF=$READELF
8044 # Extract the first word of "readelf", so it can be a program name with args.
8045 set dummy readelf; ac_word=$2
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8047 $as_echo_n "checking for $ac_word... " >&6; }
8048 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8049 $as_echo_n "(cached) " >&6
8050 else
8051 if test -n "$ac_ct_READELF"; then
8052 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8053 else
8054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8055 for as_dir in $PATH
8057 IFS=$as_save_IFS
8058 test -z "$as_dir" && as_dir=.
8059 for ac_exec_ext in '' $ac_executable_extensions; do
8060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8061 ac_cv_prog_ac_ct_READELF="readelf"
8062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8063 break 2
8065 done
8066 done
8067 IFS=$as_save_IFS
8071 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8072 if test -n "$ac_ct_READELF"; then
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8074 $as_echo "$ac_ct_READELF" >&6; }
8075 else
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8077 $as_echo "no" >&6; }
8080 if test "x$ac_ct_READELF" = x; then
8081 READELF="true"
8082 else
8083 case $cross_compiling:$ac_tool_warned in
8084 yes:)
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8087 ac_tool_warned=yes ;;
8088 esac
8089 READELF=$ac_ct_READELF
8091 else
8092 READELF="$ac_cv_prog_READELF"
8095 wine_rules_file=conf$$rules.make
8096 rm -f $wine_rules_file
8097 SUBDIRS=""
8099 DISABLED_SUBDIRS=""
8101 CONFIGURE_TARGETS=""
8104 wine_fn_append_file ()
8106 as_fn_append $1 " \\$as_nl $2"
8109 wine_fn_append_rule ()
8111 $as_echo "$1" >>$wine_rules_file
8114 wine_fn_config_makefile ()
8116 wine_fn_append_file SUBDIRS $1
8117 if eval test \"x\$"$2"\" = x"no"; then :
8118 wine_fn_append_file DISABLED_SUBDIRS $1
8122 wine_fn_config_symlink ()
8124 ac_links=$@
8125 wine_fn_append_rule \
8126 "$ac_links:
8127 @./config.status \$@"
8128 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8131 wine_binary="wine"
8132 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8133 WINELOADER_PROGRAMS="$wine_binary"
8135 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8137 case $host_os in
8138 cygwin*|mingw32*)
8139 if test -n "$ac_tool_prefix"; then
8140 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8141 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8143 $as_echo_n "checking for $ac_word... " >&6; }
8144 if ${ac_cv_prog_DLLTOOL+:} false; then :
8145 $as_echo_n "(cached) " >&6
8146 else
8147 if test -n "$DLLTOOL"; then
8148 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8149 else
8150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8151 for as_dir in $PATH
8153 IFS=$as_save_IFS
8154 test -z "$as_dir" && as_dir=.
8155 for ac_exec_ext in '' $ac_executable_extensions; do
8156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8157 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8159 break 2
8161 done
8162 done
8163 IFS=$as_save_IFS
8167 DLLTOOL=$ac_cv_prog_DLLTOOL
8168 if test -n "$DLLTOOL"; then
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8170 $as_echo "$DLLTOOL" >&6; }
8171 else
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8173 $as_echo "no" >&6; }
8178 if test -z "$ac_cv_prog_DLLTOOL"; then
8179 ac_ct_DLLTOOL=$DLLTOOL
8180 # Extract the first word of "dlltool", so it can be a program name with args.
8181 set dummy dlltool; ac_word=$2
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8183 $as_echo_n "checking for $ac_word... " >&6; }
8184 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8185 $as_echo_n "(cached) " >&6
8186 else
8187 if test -n "$ac_ct_DLLTOOL"; then
8188 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8189 else
8190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8191 for as_dir in $PATH
8193 IFS=$as_save_IFS
8194 test -z "$as_dir" && as_dir=.
8195 for ac_exec_ext in '' $ac_executable_extensions; do
8196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8197 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8199 break 2
8201 done
8202 done
8203 IFS=$as_save_IFS
8207 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8208 if test -n "$ac_ct_DLLTOOL"; then
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8210 $as_echo "$ac_ct_DLLTOOL" >&6; }
8211 else
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8213 $as_echo "no" >&6; }
8216 if test "x$ac_ct_DLLTOOL" = x; then
8217 DLLTOOL="false"
8218 else
8219 case $cross_compiling:$ac_tool_warned in
8220 yes:)
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8223 ac_tool_warned=yes ;;
8224 esac
8225 DLLTOOL=$ac_ct_DLLTOOL
8227 else
8228 DLLTOOL="$ac_cv_prog_DLLTOOL"
8231 LIBEXT="dll"
8232 DLLEXT=""
8233 case $host_cpu in
8234 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8235 esac
8236 enable_iphlpapi=${enable_iphlpapi:-no}
8237 enable_kernel32=${enable_kernel32:-no}
8238 enable_ntdll=${enable_ntdll:-no}
8239 enable_ws2_32=${enable_ws2_32:-no}
8240 enable_loader=${enable_loader:-no}
8241 enable_server=${enable_server:-no}
8242 with_x=${with_x:-no}
8243 with_pthread=${with_pthread:-no}
8246 darwin*|macosx*)
8247 for ac_header in libunwind.h
8248 do :
8249 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8251 cat >>confdefs.h <<_ACEOF
8252 #define HAVE_LIBUNWIND_H 1
8253 _ACEOF
8257 done
8259 ac_ext=m
8260 ac_cpp='$OBJCPP $CPPFLAGS'
8261 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8262 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8263 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8265 ac_ext=m
8266 ac_cpp='$OBJCPP $CPPFLAGS'
8267 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8268 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8269 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8270 if test -n "$ac_tool_prefix"; then
8271 for ac_prog in gcc objcc objc cc CC
8273 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8274 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8276 $as_echo_n "checking for $ac_word... " >&6; }
8277 if ${ac_cv_prog_OBJC+:} false; then :
8278 $as_echo_n "(cached) " >&6
8279 else
8280 if test -n "$OBJC"; then
8281 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8282 else
8283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8284 for as_dir in $PATH
8286 IFS=$as_save_IFS
8287 test -z "$as_dir" && as_dir=.
8288 for ac_exec_ext in '' $ac_executable_extensions; do
8289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8290 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8292 break 2
8294 done
8295 done
8296 IFS=$as_save_IFS
8300 OBJC=$ac_cv_prog_OBJC
8301 if test -n "$OBJC"; then
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8303 $as_echo "$OBJC" >&6; }
8304 else
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8306 $as_echo "no" >&6; }
8310 test -n "$OBJC" && break
8311 done
8313 if test -z "$OBJC"; then
8314 ac_ct_OBJC=$OBJC
8315 for ac_prog in gcc objcc objc cc CC
8317 # Extract the first word of "$ac_prog", so it can be a program name with args.
8318 set dummy $ac_prog; ac_word=$2
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8320 $as_echo_n "checking for $ac_word... " >&6; }
8321 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8322 $as_echo_n "(cached) " >&6
8323 else
8324 if test -n "$ac_ct_OBJC"; then
8325 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8326 else
8327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8328 for as_dir in $PATH
8330 IFS=$as_save_IFS
8331 test -z "$as_dir" && as_dir=.
8332 for ac_exec_ext in '' $ac_executable_extensions; do
8333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8334 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8336 break 2
8338 done
8339 done
8340 IFS=$as_save_IFS
8344 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8345 if test -n "$ac_ct_OBJC"; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8347 $as_echo "$ac_ct_OBJC" >&6; }
8348 else
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8350 $as_echo "no" >&6; }
8354 test -n "$ac_ct_OBJC" && break
8355 done
8357 if test "x$ac_ct_OBJC" = x; then
8358 OBJC="gcc"
8359 else
8360 case $cross_compiling:$ac_tool_warned in
8361 yes:)
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8364 ac_tool_warned=yes ;;
8365 esac
8366 OBJC=$ac_ct_OBJC
8370 # Provide some information about the compiler.
8371 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8372 set X $ac_compile
8373 ac_compiler=$2
8374 for ac_option in --version -v -V -qversion; do
8375 { { ac_try="$ac_compiler $ac_option >&5"
8376 case "(($ac_try" in
8377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8378 *) ac_try_echo=$ac_try;;
8379 esac
8380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8381 $as_echo "$ac_try_echo"; } >&5
8382 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8383 ac_status=$?
8384 if test -s conftest.err; then
8385 sed '10a\
8386 ... rest of stderr output deleted ...
8387 10q' conftest.err >conftest.er1
8388 cat conftest.er1 >&5
8390 rm -f conftest.er1 conftest.err
8391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8392 test $ac_status = 0; }
8393 done
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8396 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8397 if ${ac_cv_objc_compiler_gnu+:} false; then :
8398 $as_echo_n "(cached) " >&6
8399 else
8400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8401 /* end confdefs.h. */
8404 main ()
8406 #ifndef __GNUC__
8407 choke me
8408 #endif
8411 return 0;
8413 _ACEOF
8414 if ac_fn_objc_try_compile "$LINENO"; then :
8415 ac_compiler_gnu=yes
8416 else
8417 ac_compiler_gnu=no
8419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8420 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8424 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8425 if test $ac_compiler_gnu = yes; then
8426 GOBJC=yes
8427 else
8428 GOBJC=
8430 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8431 ac_save_OBJCFLAGS=$OBJCFLAGS
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8433 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8434 if ${ac_cv_prog_objc_g+:} false; then :
8435 $as_echo_n "(cached) " >&6
8436 else
8437 ac_save_objc_werror_flag=$ac_objc_werror_flag
8438 ac_objc_werror_flag=yes
8439 ac_cv_prog_objc_g=no
8440 OBJCFLAGS="-g"
8441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8442 /* end confdefs.h. */
8445 main ()
8449 return 0;
8451 _ACEOF
8452 if ac_fn_objc_try_compile "$LINENO"; then :
8453 ac_cv_prog_objc_g=yes
8454 else
8455 OBJCFLAGS=""
8456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8457 /* end confdefs.h. */
8460 main ()
8464 return 0;
8466 _ACEOF
8467 if ac_fn_objc_try_compile "$LINENO"; then :
8469 else
8470 ac_objc_werror_flag=$ac_save_objc_werror_flag
8471 OBJCFLAGS="-g"
8472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8473 /* end confdefs.h. */
8476 main ()
8480 return 0;
8482 _ACEOF
8483 if ac_fn_objc_try_compile "$LINENO"; then :
8484 ac_cv_prog_objc_g=yes
8486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8491 ac_objc_werror_flag=$ac_save_objc_werror_flag
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8494 $as_echo "$ac_cv_prog_objc_g" >&6; }
8495 if test "$ac_test_OBJCFLAGS" = set; then
8496 OBJCFLAGS=$ac_save_OBJCFLAGS
8497 elif test $ac_cv_prog_objc_g = yes; then
8498 if test "$GOBJC" = yes; then
8499 OBJCFLAGS="-g -O2"
8500 else
8501 OBJCFLAGS="-g"
8503 else
8504 if test "$GOBJC" = yes; then
8505 OBJCFLAGS="-O2"
8506 else
8507 OBJCFLAGS=
8510 ac_ext=m
8511 ac_cpp='$OBJCPP $CPPFLAGS'
8512 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8513 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8514 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8517 ac_ext=m
8518 ac_cpp='$OBJCPP $CPPFLAGS'
8519 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8520 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8521 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8523 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8524 if test -z "$OBJCPP"; then
8525 if ${ac_cv_prog_OBJCPP+:} false; then :
8526 $as_echo_n "(cached) " >&6
8527 else
8528 # Double quotes because OBJCPP needs to be expanded
8529 for OBJCPP in "$OBJC -E" "/lib/cpp"
8531 ac_preproc_ok=false
8532 for ac_objc_preproc_warn_flag in '' yes
8534 # Use a header file that comes with gcc, so configuring glibc
8535 # with a fresh cross-compiler works.
8536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8537 # <limits.h> exists even on freestanding compilers.
8538 # On the NeXT, cc -E runs the code through the compiler's parser,
8539 # not just through cpp. "Syntax error" is here to catch this case.
8540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8541 /* end confdefs.h. */
8542 #ifdef __STDC__
8543 # include <limits.h>
8544 #else
8545 # include <assert.h>
8546 #endif
8547 Syntax error
8548 _ACEOF
8549 if ac_fn_objc_try_cpp "$LINENO"; then :
8551 else
8552 # Broken: fails on valid input.
8553 continue
8555 rm -f conftest.err conftest.i conftest.$ac_ext
8557 # OK, works on sane cases. Now check whether nonexistent headers
8558 # can be detected and how.
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8561 #include <ac_nonexistent.h>
8562 _ACEOF
8563 if ac_fn_objc_try_cpp "$LINENO"; then :
8564 # Broken: success on invalid input.
8565 continue
8566 else
8567 # Passes both tests.
8568 ac_preproc_ok=:
8569 break
8571 rm -f conftest.err conftest.i conftest.$ac_ext
8573 done
8574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8575 rm -f conftest.i conftest.err conftest.$ac_ext
8576 if $ac_preproc_ok; then :
8577 break
8580 done
8581 ac_cv_prog_OBJCPP=$OBJCPP
8584 OBJCPP=$ac_cv_prog_OBJCPP
8585 else
8586 ac_cv_prog_OBJCPP=$OBJCPP
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8589 $as_echo "$OBJCPP" >&6; }
8590 ac_preproc_ok=false
8591 for ac_objc_preproc_warn_flag in '' yes
8593 # Use a header file that comes with gcc, so configuring glibc
8594 # with a fresh cross-compiler works.
8595 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8596 # <limits.h> exists even on freestanding compilers.
8597 # On the NeXT, cc -E runs the code through the compiler's parser,
8598 # not just through cpp. "Syntax error" is here to catch this case.
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8601 #ifdef __STDC__
8602 # include <limits.h>
8603 #else
8604 # include <assert.h>
8605 #endif
8606 Syntax error
8607 _ACEOF
8608 if ac_fn_objc_try_cpp "$LINENO"; then :
8610 else
8611 # Broken: fails on valid input.
8612 continue
8614 rm -f conftest.err conftest.i conftest.$ac_ext
8616 # OK, works on sane cases. Now check whether nonexistent headers
8617 # can be detected and how.
8618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8620 #include <ac_nonexistent.h>
8621 _ACEOF
8622 if ac_fn_objc_try_cpp "$LINENO"; then :
8623 # Broken: success on invalid input.
8624 continue
8625 else
8626 # Passes both tests.
8627 ac_preproc_ok=:
8628 break
8630 rm -f conftest.err conftest.i conftest.$ac_ext
8632 done
8633 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8634 rm -f conftest.i conftest.err conftest.$ac_ext
8635 if $ac_preproc_ok; then :
8637 else
8638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8640 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8641 See \`config.log' for more details" "$LINENO" 5; }
8644 ac_ext=m
8645 ac_cpp='$OBJCPP $CPPFLAGS'
8646 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8647 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8648 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8651 for ac_header in Metal/Metal.h
8652 do :
8653 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8654 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8655 cat >>confdefs.h <<_ACEOF
8656 #define HAVE_METAL_METAL_H 1
8657 _ACEOF
8661 done
8663 ac_ext=c
8664 ac_cpp='$CPP $CPPFLAGS'
8665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8669 LIBEXT="dylib"
8670 DLLFLAGS="$DLLFLAGS -fPIC"
8671 LDDLLFLAGS="-fPIC"
8672 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8673 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8674 COREFOUNDATION_LIBS="-framework CoreFoundation"
8676 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8678 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8680 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8682 CORESERVICES_LIBS="-framework CoreServices"
8684 APPKIT_LIBS="-framework AppKit"
8687 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8689 wine_can_build_preloader=yes
8690 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8692 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8693 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8694 $as_echo_n "(cached) " >&6
8695 else
8696 ac_wine_try_cflags_saved=$CFLAGS
8697 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8699 /* end confdefs.h. */
8700 int main(int argc, char **argv) { return 0; }
8701 _ACEOF
8702 if ac_fn_c_try_link "$LINENO"; then :
8703 ac_cv_cflags__Wl__no_new_main__e__main=yes
8704 else
8705 ac_cv_cflags__Wl__no_new_main__e__main=no
8707 rm -f core conftest.err conftest.$ac_objext \
8708 conftest$ac_exeext conftest.$ac_ext
8709 CFLAGS=$ac_wine_try_cflags_saved
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8712 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8713 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8714 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8716 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8717 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8718 $as_echo_n "(cached) " >&6
8719 else
8720 ac_wine_try_cflags_saved=$CFLAGS
8721 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8723 /* end confdefs.h. */
8724 int main(int argc, char **argv) { return 0; }
8725 _ACEOF
8726 if ac_fn_c_try_link "$LINENO"; then :
8727 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8728 else
8729 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8731 rm -f core conftest.err conftest.$ac_objext \
8732 conftest$ac_exeext conftest.$ac_ext
8733 CFLAGS=$ac_wine_try_cflags_saved
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8736 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8737 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8738 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8739 else
8740 { $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
8741 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8742 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8743 $as_echo_n "(cached) " >&6
8744 else
8745 ac_wine_try_cflags_saved=$CFLAGS
8746 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8748 /* end confdefs.h. */
8749 int main(int argc, char **argv) { return 0; }
8750 _ACEOF
8751 if ac_fn_c_try_link "$LINENO"; then :
8752 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8753 else
8754 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8756 rm -f core conftest.err conftest.$ac_objext \
8757 conftest$ac_exeext conftest.$ac_ext
8758 CFLAGS=$ac_wine_try_cflags_saved
8760 { $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
8761 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8762 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8763 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8764 else
8765 wine_can_build_preloader=no
8768 else
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8770 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8771 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8772 $as_echo_n "(cached) " >&6
8773 else
8774 ac_wine_try_cflags_saved=$CFLAGS
8775 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8777 /* end confdefs.h. */
8778 int main(int argc, char **argv) { return 0; }
8779 _ACEOF
8780 if ac_fn_c_try_link "$LINENO"; then :
8781 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8782 else
8783 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8785 rm -f core conftest.err conftest.$ac_objext \
8786 conftest$ac_exeext conftest.$ac_ext
8787 CFLAGS=$ac_wine_try_cflags_saved
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8790 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8791 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8792 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8793 else
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8795 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8796 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8797 $as_echo_n "(cached) " >&6
8798 else
8799 ac_wine_try_cflags_saved=$CFLAGS
8800 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8802 /* end confdefs.h. */
8803 int main(int argc, char **argv) { return 0; }
8804 _ACEOF
8805 if ac_fn_c_try_link "$LINENO"; then :
8806 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8807 else
8808 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8810 rm -f core conftest.err conftest.$ac_objext \
8811 conftest$ac_exeext conftest.$ac_ext
8812 CFLAGS=$ac_wine_try_cflags_saved
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8815 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8816 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8817 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8818 else
8819 wine_can_build_preloader=no
8823 if test "$wine_can_build_preloader" = "yes"
8824 then
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8826 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8827 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8828 $as_echo_n "(cached) " >&6
8829 else
8830 ac_wine_try_cflags_saved=$CFLAGS
8831 CFLAGS="$CFLAGS -Wl,-no_pie"
8832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8833 /* end confdefs.h. */
8834 int main(int argc, char **argv) { return 0; }
8835 _ACEOF
8836 if ac_fn_c_try_link "$LINENO"; then :
8837 ac_cv_cflags__Wl__no_pie=yes
8838 else
8839 ac_cv_cflags__Wl__no_pie=no
8841 rm -f core conftest.err conftest.$ac_objext \
8842 conftest$ac_exeext conftest.$ac_ext
8843 CFLAGS=$ac_wine_try_cflags_saved
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8846 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8847 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8848 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8850 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8851 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8852 else
8853 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8856 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8857 then
8858 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8861 if test "$ac_cv_header_Security_Security_h" = "yes"
8862 then
8863 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8865 ac_save_LIBS="$LIBS"
8866 LIBS="$LIBS $SECURITY_LIBS"
8867 for ac_func in SSLCopyPeerCertificates
8868 do :
8869 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8870 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8871 cat >>confdefs.h <<_ACEOF
8872 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8873 _ACEOF
8876 done
8878 LIBS="$ac_save_LIBS"
8880 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8881 then
8882 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8883 then
8884 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8886 else
8887 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8890 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8891 ac_save_LIBS="$LIBS"
8892 LIBS="$LIBS $COREAUDIO_LIBS"
8893 for ac_func in AUGraphAddNode
8894 do :
8895 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8896 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8897 cat >>confdefs.h <<_ACEOF
8898 #define HAVE_AUGRAPHADDNODE 1
8899 _ACEOF
8902 done
8904 LIBS="$ac_save_LIBS"
8906 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8907 then
8908 OPENAL_LIBS="-framework OpenAL"
8911 cat >>confdefs.h <<_ACEOF
8912 #define HAVE_OPENAL 1
8913 _ACEOF
8915 ac_cv_lib_openal=yes
8917 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8918 then
8919 OPENCL_LIBS="-framework OpenCL"
8921 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8923 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8924 then
8925 ac_save_LIBS="$LIBS"
8926 LIBS="$LIBS $IOKIT_LIBS"
8927 for ac_func in IOHIDManagerCreate
8928 do :
8929 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8930 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8931 cat >>confdefs.h <<_ACEOF
8932 #define HAVE_IOHIDMANAGERCREATE 1
8933 _ACEOF
8936 done
8938 LIBS="$ac_save_LIBS"
8940 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8941 then
8942 ac_save_LIBS="$LIBS"
8943 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8945 $as_echo_n "checking for the QuickTime framework... " >&6; }
8946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8947 /* end confdefs.h. */
8948 #include <QuickTime/ImageCompression.h>
8950 main ()
8952 CodecManagerVersion(NULL);
8954 return 0;
8956 _ACEOF
8957 if ac_fn_c_try_link "$LINENO"; then :
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8959 $as_echo "yes" >&6; }
8960 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8962 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8963 else
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8965 $as_echo "no" >&6; }
8966 ac_cv_header_QuickTime_ImageCompression_h=no
8968 rm -f core conftest.err conftest.$ac_objext \
8969 conftest$ac_exeext conftest.$ac_ext
8970 LIBS="$ac_save_LIBS"
8972 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8973 then
8974 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8976 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8977 then
8978 CARBON_LIBS="-framework Carbon"
8981 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8982 then
8983 METAL_LIBS="-framework Metal -framework QuartzCore"
8987 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8988 then
8989 ac_save_LIBS="$LIBS"
8990 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8991 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8992 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8993 enable_winemac_drv=${enable_winemac_drv:-yes}
8996 LIBS="$ac_save_LIBS"
8999 if test "x$enable_win16" = "xyes"
9000 then
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9002 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9003 if test "$cross_compiling" = yes; then :
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9005 $as_echo "cross-compiling, assuming yes" >&6; }
9006 else
9007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9008 /* end confdefs.h. */
9009 asm(".text\n"
9010 "bad:\tnop;nop\n"
9011 "good:\tnop;nop\n\t"
9012 ".globl _testfunc\n"
9013 "_testfunc:\tcallw good");
9014 extern void testfunc();
9016 main ()
9018 unsigned short *p = (unsigned short *)testfunc;
9019 return p[0] != 0xe866 || p[1] != 0xfffa
9021 return 0;
9023 _ACEOF
9024 if ac_fn_c_try_run "$LINENO"; then :
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9026 $as_echo "yes" >&6; }
9027 else
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9029 $as_echo "no" >&6; }
9030 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
9032 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9033 conftest.$ac_objext conftest.beam conftest.$ac_ext
9038 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9040 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9042 WINELOADER_DEPENDS="wine_info.plist"
9044 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9045 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9048 linux-android*)
9049 DLLFLAGS="$DLLFLAGS -fPIC"
9050 LDDLLFLAGS="-fPIC"
9051 LDEXECFLAGS="-Wl,-pie"
9052 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9054 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9055 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9056 $as_echo_n "(cached) " >&6
9057 else
9058 ac_wine_try_cflags_saved=$CFLAGS
9059 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9061 /* end confdefs.h. */
9062 int main(int argc, char **argv) { return 0; }
9063 _ACEOF
9064 if ac_fn_c_try_link "$LINENO"; then :
9065 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9066 else
9067 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9069 rm -f core conftest.err conftest.$ac_objext \
9070 conftest$ac_exeext conftest.$ac_ext
9071 CFLAGS=$ac_wine_try_cflags_saved
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9074 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9075 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9076 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9078 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9079 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9081 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9082 if eval \${$as_ac_var+:} false; then :
9083 $as_echo_n "(cached) " >&6
9084 else
9085 ac_wine_try_cflags_saved=$CFLAGS
9086 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9088 /* end confdefs.h. */
9089 int main(int argc, char **argv) { return 0; }
9090 _ACEOF
9091 if ac_fn_c_try_link "$LINENO"; then :
9092 eval "$as_ac_var=yes"
9093 else
9094 eval "$as_ac_var=no"
9096 rm -f core conftest.err conftest.$ac_objext \
9097 conftest$ac_exeext conftest.$ac_ext
9098 CFLAGS=$ac_wine_try_cflags_saved
9100 eval ac_res=\$$as_ac_var
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9102 $as_echo "$ac_res" >&6; }
9103 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9104 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9105 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9106 else
9107 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9109 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9110 if eval \${$as_ac_var+:} false; then :
9111 $as_echo_n "(cached) " >&6
9112 else
9113 ac_wine_try_cflags_saved=$CFLAGS
9114 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9116 /* end confdefs.h. */
9117 int main(int argc, char **argv) { return 0; }
9118 _ACEOF
9119 if ac_fn_c_try_link "$LINENO"; then :
9120 eval "$as_ac_var=yes"
9121 else
9122 eval "$as_ac_var=no"
9124 rm -f core conftest.err conftest.$ac_objext \
9125 conftest$ac_exeext conftest.$ac_ext
9126 CFLAGS=$ac_wine_try_cflags_saved
9128 eval ac_res=\$$as_ac_var
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9130 $as_echo "$ac_res" >&6; }
9131 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9132 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9133 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9137 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9138 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9139 $as_echo_n "(cached) " >&6
9140 else
9141 ac_wine_try_cflags_saved=$CFLAGS
9142 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9145 int main(int argc, char **argv) { return 0; }
9146 _ACEOF
9147 if ac_fn_c_try_link "$LINENO"; then :
9148 ac_cv_cflags__Wl___enable_new_dtags=yes
9149 else
9150 ac_cv_cflags__Wl___enable_new_dtags=no
9152 rm -f core conftest.err conftest.$ac_objext \
9153 conftest$ac_exeext conftest.$ac_ext
9154 CFLAGS=$ac_wine_try_cflags_saved
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9157 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9158 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9159 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9162 LIBWINE_SHAREDLIB="libwine.so"
9164 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9166 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9169 $as_echo_n "checking for -lEGL... " >&6; }
9170 if ${ac_cv_lib_soname_EGL+:} false; then :
9171 $as_echo_n "(cached) " >&6
9172 else
9173 ac_check_soname_save_LIBS=$LIBS
9174 LIBS="-lEGL $LIBS"
9175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9178 /* Override any GCC internal prototype to avoid an error.
9179 Use char because int might match the return type of a GCC
9180 builtin and then its argument prototype would still apply. */
9181 #ifdef __cplusplus
9182 extern "C"
9183 #endif
9184 char eglGetProcAddress ();
9186 main ()
9188 return eglGetProcAddress ();
9190 return 0;
9192 _ACEOF
9193 if ac_fn_c_try_link "$LINENO"; then :
9194 case "$LIBEXT" in
9195 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9196 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'` ;;
9197 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9198 if ${ac_cv_lib_soname_EGL:+false} :; then :
9199 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9200 fi ;;
9201 esac
9202 else
9203 ac_cv_lib_soname_EGL=
9205 rm -f core conftest.err conftest.$ac_objext \
9206 conftest$ac_exeext conftest.$ac_ext
9207 LIBS=$ac_check_soname_save_LIBS
9209 if ${ac_cv_lib_soname_EGL:+false} :; then :
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9211 $as_echo "not found" >&6; }
9213 else
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9215 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9217 cat >>confdefs.h <<_ACEOF
9218 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9219 _ACEOF
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9224 $as_echo_n "checking for -lGLESv2... " >&6; }
9225 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9226 $as_echo_n "(cached) " >&6
9227 else
9228 ac_check_soname_save_LIBS=$LIBS
9229 LIBS="-lGLESv2 $LIBS"
9230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9231 /* end confdefs.h. */
9233 /* Override any GCC internal prototype to avoid an error.
9234 Use char because int might match the return type of a GCC
9235 builtin and then its argument prototype would still apply. */
9236 #ifdef __cplusplus
9237 extern "C"
9238 #endif
9239 char glFlush ();
9241 main ()
9243 return glFlush ();
9245 return 0;
9247 _ACEOF
9248 if ac_fn_c_try_link "$LINENO"; then :
9249 case "$LIBEXT" in
9250 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9251 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'` ;;
9252 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9253 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9254 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9255 fi ;;
9256 esac
9257 else
9258 ac_cv_lib_soname_GLESv2=
9260 rm -f core conftest.err conftest.$ac_objext \
9261 conftest$ac_exeext conftest.$ac_ext
9262 LIBS=$ac_check_soname_save_LIBS
9264 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9266 $as_echo "not found" >&6; }
9268 else
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9270 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9272 cat >>confdefs.h <<_ACEOF
9273 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9274 _ACEOF
9279 if test "x$exec_prefix" = xNONE
9280 then
9281 case $host_cpu in
9282 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9283 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9284 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9285 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9286 esac
9291 case $host_cpu in
9292 *i[3456789]86*)
9293 DLLFLAGS="$DLLFLAGS -fno-PIC"
9294 LDDLLFLAGS="-fno-PIC" ;;
9296 DLLFLAGS="$DLLFLAGS -fPIC"
9297 LDDLLFLAGS="-fPIC" ;;
9298 esac
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9300 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9301 if ${ac_cv_c_dll_gnuelf+:} false; then :
9302 $as_echo_n "(cached) " >&6
9303 else
9304 ac_wine_try_cflags_saved=$CFLAGS
9305 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9307 /* end confdefs.h. */
9308 void myfunc() {}
9309 _ACEOF
9310 if ac_fn_c_try_link "$LINENO"; then :
9311 ac_cv_c_dll_gnuelf="yes"
9312 else
9313 ac_cv_c_dll_gnuelf="no"
9315 rm -f core conftest.err conftest.$ac_objext \
9316 conftest$ac_exeext conftest.$ac_ext
9317 CFLAGS=$ac_wine_try_cflags_saved
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9320 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9321 if test "$ac_cv_c_dll_gnuelf" = "yes"
9322 then
9323 LIBWINE_LDFLAGS="-shared"
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9325 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9326 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9327 $as_echo_n "(cached) " >&6
9328 else
9329 ac_wine_try_cflags_saved=$CFLAGS
9330 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9332 /* end confdefs.h. */
9333 int main(int argc, char **argv) { return 0; }
9334 _ACEOF
9335 if ac_fn_c_try_link "$LINENO"; then :
9336 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9337 else
9338 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9340 rm -f core conftest.err conftest.$ac_objext \
9341 conftest$ac_exeext conftest.$ac_ext
9342 CFLAGS=$ac_wine_try_cflags_saved
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9345 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9346 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9347 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9348 else
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9350 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9351 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9352 $as_echo_n "(cached) " >&6
9353 else
9354 ac_wine_try_cflags_saved=$CFLAGS
9355 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h. */
9358 int main(int argc, char **argv) { return 0; }
9359 _ACEOF
9360 if ac_fn_c_try_link "$LINENO"; then :
9361 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9362 else
9363 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9365 rm -f core conftest.err conftest.$ac_objext \
9366 conftest$ac_exeext conftest.$ac_ext
9367 CFLAGS=$ac_wine_try_cflags_saved
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9370 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9371 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9372 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9376 echo '{ global: *; };' >conftest.map
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9378 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9379 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9380 $as_echo_n "(cached) " >&6
9381 else
9382 ac_wine_try_cflags_saved=$CFLAGS
9383 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9386 int main(int argc, char **argv) { return 0; }
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9390 else
9391 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9393 rm -f core conftest.err conftest.$ac_objext \
9394 conftest$ac_exeext conftest.$ac_ext
9395 CFLAGS=$ac_wine_try_cflags_saved
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9398 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9399 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9400 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9402 rm -f conftest.map
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9405 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9406 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9407 $as_echo_n "(cached) " >&6
9408 else
9409 ac_wine_try_cflags_saved=$CFLAGS
9410 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9413 int main(int argc, char **argv) { return 0; }
9414 _ACEOF
9415 if ac_fn_c_try_link "$LINENO"; then :
9416 ac_cv_cflags__Wl___export_dynamic=yes
9417 else
9418 ac_cv_cflags__Wl___export_dynamic=no
9420 rm -f core conftest.err conftest.$ac_objext \
9421 conftest$ac_exeext conftest.$ac_ext
9422 CFLAGS=$ac_wine_try_cflags_saved
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9425 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9426 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9427 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9429 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9431 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9433 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9434 if eval \${$as_ac_var+:} false; then :
9435 $as_echo_n "(cached) " >&6
9436 else
9437 ac_wine_try_cflags_saved=$CFLAGS
9438 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9441 int main(int argc, char **argv) { return 0; }
9442 _ACEOF
9443 if ac_fn_c_try_link "$LINENO"; then :
9444 eval "$as_ac_var=yes"
9445 else
9446 eval "$as_ac_var=no"
9448 rm -f core conftest.err conftest.$ac_objext \
9449 conftest$ac_exeext conftest.$ac_ext
9450 CFLAGS=$ac_wine_try_cflags_saved
9452 eval ac_res=\$$as_ac_var
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9454 $as_echo "$ac_res" >&6; }
9455 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9456 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9457 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9458 else
9459 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9461 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9462 if eval \${$as_ac_var+:} false; then :
9463 $as_echo_n "(cached) " >&6
9464 else
9465 ac_wine_try_cflags_saved=$CFLAGS
9466 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9469 int main(int argc, char **argv) { return 0; }
9470 _ACEOF
9471 if ac_fn_c_try_link "$LINENO"; then :
9472 eval "$as_ac_var=yes"
9473 else
9474 eval "$as_ac_var=no"
9476 rm -f core conftest.err conftest.$ac_objext \
9477 conftest$ac_exeext conftest.$ac_ext
9478 CFLAGS=$ac_wine_try_cflags_saved
9480 eval ac_res=\$$as_ac_var
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9482 $as_echo "$ac_res" >&6; }
9483 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9484 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9485 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9490 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9491 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9492 $as_echo_n "(cached) " >&6
9493 else
9494 ac_wine_try_cflags_saved=$CFLAGS
9495 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9497 /* end confdefs.h. */
9498 int main(int argc, char **argv) { return 0; }
9499 _ACEOF
9500 if ac_fn_c_try_link "$LINENO"; then :
9501 ac_cv_cflags__Wl___enable_new_dtags=yes
9502 else
9503 ac_cv_cflags__Wl___enable_new_dtags=no
9505 rm -f core conftest.err conftest.$ac_objext \
9506 conftest$ac_exeext conftest.$ac_ext
9507 CFLAGS=$ac_wine_try_cflags_saved
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9510 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9511 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9512 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9515 case $host_cpu in
9516 *i[3456789]86* | x86_64 | *aarch64*)
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9518 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9519 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9520 $as_echo_n "(cached) " >&6
9521 else
9522 ac_wine_try_cflags_saved=$CFLAGS
9523 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9526 int main(int argc, char **argv) { return 0; }
9527 _ACEOF
9528 if ac_fn_c_try_link "$LINENO"; then :
9529 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9530 else
9531 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9533 rm -f core conftest.err conftest.$ac_objext \
9534 conftest$ac_exeext conftest.$ac_ext
9535 CFLAGS=$ac_wine_try_cflags_saved
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9538 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9539 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9540 case $host_os in
9541 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9542 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9543 esac
9544 else
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9546 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9547 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9548 $as_echo_n "(cached) " >&6
9549 else
9550 ac_wine_try_cflags_saved=$CFLAGS
9551 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9553 /* end confdefs.h. */
9554 int main(int argc, char **argv) { return 0; }
9555 _ACEOF
9556 if ac_fn_c_try_link "$LINENO"; then :
9557 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9558 else
9559 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9561 rm -f core conftest.err conftest.$ac_objext \
9562 conftest$ac_exeext conftest.$ac_ext
9563 CFLAGS=$ac_wine_try_cflags_saved
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9566 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9567 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9568 case $host_os in
9569 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9570 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9571 esac
9573 # Extract the first word of "prelink", so it can be a program name with args.
9574 set dummy prelink; ac_word=$2
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9576 $as_echo_n "checking for $ac_word... " >&6; }
9577 if ${ac_cv_path_PRELINK+:} false; then :
9578 $as_echo_n "(cached) " >&6
9579 else
9580 case $PRELINK in
9581 [\\/]* | ?:[\\/]*)
9582 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9586 for as_dir in /sbin /usr/sbin $PATH
9588 IFS=$as_save_IFS
9589 test -z "$as_dir" && as_dir=.
9590 for ac_exec_ext in '' $ac_executable_extensions; do
9591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9592 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9594 break 2
9596 done
9597 done
9598 IFS=$as_save_IFS
9600 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9602 esac
9604 PRELINK=$ac_cv_path_PRELINK
9605 if test -n "$PRELINK"; then
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9607 $as_echo "$PRELINK" >&6; }
9608 else
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9610 $as_echo "no" >&6; }
9614 if test "x$PRELINK" = xfalse
9615 then
9616 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9620 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9621 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9622 $as_echo_n "(cached) " >&6
9623 else
9624 ac_wine_try_cflags_saved=$CFLAGS
9625 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9627 /* end confdefs.h. */
9628 int main(int argc, char **argv) { return 0; }
9629 _ACEOF
9630 if ac_fn_c_try_link "$LINENO"; then :
9631 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9632 else
9633 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9635 rm -f core conftest.err conftest.$ac_objext \
9636 conftest$ac_exeext conftest.$ac_ext
9637 CFLAGS=$ac_wine_try_cflags_saved
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9640 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9641 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9642 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9645 esac
9647 else
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9649 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9650 if ${ac_cv_c_dll_unixware+:} false; then :
9651 $as_echo_n "(cached) " >&6
9652 else
9653 ac_wine_try_cflags_saved=$CFLAGS
9654 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9656 /* end confdefs.h. */
9657 void myfunc() {}
9658 _ACEOF
9659 if ac_fn_c_try_link "$LINENO"; then :
9660 ac_cv_c_dll_unixware="yes"
9661 else
9662 ac_cv_c_dll_unixware="no"
9664 rm -f core conftest.err conftest.$ac_objext \
9665 conftest$ac_exeext conftest.$ac_ext
9666 CFLAGS=$ac_wine_try_cflags_saved
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9669 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9670 if test "$ac_cv_c_dll_unixware" = "yes"
9671 then
9672 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9675 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9677 LIBWINE_DEPENDS="wine.map"
9679 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9680 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9682 esac
9684 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9685 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9686 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9687 enable_winemac_drv=${enable_winemac_drv:-no}
9688 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9690 CROSSTARGET=""
9692 if test "x$with_mingw" != xno
9693 then
9694 case "x$with_mingw" in
9695 x|xyes) case "$host_cpu" in
9696 aarch64*)
9697 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9698 arm*)
9699 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9700 i[3456789]86*)
9701 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
9702 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9703 mingw32-gcc" ;;
9704 x86_64)
9705 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
9706 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9708 ac_prefix_list="" ;;
9709 esac
9710 for ac_prog in $ac_prefix_list
9712 # Extract the first word of "$ac_prog", so it can be a program name with args.
9713 set dummy $ac_prog; ac_word=$2
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9715 $as_echo_n "checking for $ac_word... " >&6; }
9716 if ${ac_cv_prog_CROSSCC+:} false; then :
9717 $as_echo_n "(cached) " >&6
9718 else
9719 if test -n "$CROSSCC"; then
9720 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9721 else
9722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9723 for as_dir in $PATH
9725 IFS=$as_save_IFS
9726 test -z "$as_dir" && as_dir=.
9727 for ac_exec_ext in '' $ac_executable_extensions; do
9728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9729 ac_cv_prog_CROSSCC="$ac_prog"
9730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9731 break 2
9733 done
9734 done
9735 IFS=$as_save_IFS
9739 CROSSCC=$ac_cv_prog_CROSSCC
9740 if test -n "$CROSSCC"; then
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9742 $as_echo "$CROSSCC" >&6; }
9743 else
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9745 $as_echo "no" >&6; }
9749 test -n "$CROSSCC" && break
9750 done
9751 test -n "$CROSSCC" || CROSSCC="false"
9753 *) CROSSCC=$with_mingw ;;
9754 esac
9755 if test "$CROSSCC" != "false"
9756 then
9757 ac_save_CC="$CC"
9758 saved_CFLAGS=$CFLAGS
9759 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9761 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9764 CC="$CROSSCC"
9765 CFLAGS=$CROSSCFLAGS
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9767 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9768 if ${wine_cv_crosscc+:} false; then :
9769 $as_echo_n "(cached) " >&6
9770 else
9771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9772 /* end confdefs.h. */
9775 main ()
9779 return 0;
9781 _ACEOF
9782 if ac_fn_c_try_compile "$LINENO"; then :
9783 wine_cv_crosscc=yes
9784 else
9785 wine_cv_crosscc=no
9787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9790 $as_echo "$wine_cv_crosscc" >&6; }
9791 if test $wine_cv_crosscc = yes
9792 then
9793 set x $CROSSCC
9794 shift
9795 while test $# -ge 1
9797 case "$1" in
9798 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9799 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9800 esac
9801 shift
9802 done
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9805 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9806 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9807 $as_echo_n "(cached) " >&6
9808 else
9809 ac_wine_try_cflags_saved=$CFLAGS
9810 ac_wine_try_cflags_saved_cc=$CC
9811 ac_wine_try_cflags_saved_exeext=$ac_exeext
9812 CFLAGS="$CFLAGS -fno-strict-aliasing"
9813 CC="$CROSSCC"
9814 ac_exeext=".exe"
9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9817 int main(int argc, char **argv) { return 0; }
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 ac_cv_crosscflags__fno_strict_aliasing=yes
9821 else
9822 ac_cv_crosscflags__fno_strict_aliasing=no
9824 rm -f core conftest.err conftest.$ac_objext \
9825 conftest$ac_exeext conftest.$ac_ext
9826 CFLAGS=$ac_wine_try_cflags_saved
9827 CC=$ac_wine_try_cflags_saved_cc
9828 ac_exeext=$ac_wine_try_cflags_saved_exeext
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9831 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9832 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9833 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9836 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9837 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9838 $as_echo_n "(cached) " >&6
9839 else
9840 ac_wine_try_cflags_saved=$CFLAGS
9841 ac_wine_try_cflags_saved_cc=$CC
9842 ac_wine_try_cflags_saved_exeext=$ac_exeext
9843 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9844 CC="$CROSSCC"
9845 ac_exeext=".exe"
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9848 int main(int argc, char **argv) { return 0; }
9849 _ACEOF
9850 if ac_fn_c_try_link "$LINENO"; then :
9851 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9852 else
9853 ac_cv_crosscflags__Werror_unknown_warning_option=no
9855 rm -f core conftest.err conftest.$ac_objext \
9856 conftest$ac_exeext conftest.$ac_ext
9857 CFLAGS=$ac_wine_try_cflags_saved
9858 CC=$ac_wine_try_cflags_saved_cc
9859 ac_exeext=$ac_wine_try_cflags_saved_exeext
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9862 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9863 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9864 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9867 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9868 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9869 $as_echo_n "(cached) " >&6
9870 else
9871 ac_wine_try_cflags_saved=$CFLAGS
9872 ac_wine_try_cflags_saved_cc=$CC
9873 ac_wine_try_cflags_saved_exeext=$ac_exeext
9874 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9875 CC="$CROSSCC"
9876 ac_exeext=".exe"
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9879 int main(int argc, char **argv) { return 0; }
9880 _ACEOF
9881 if ac_fn_c_try_link "$LINENO"; then :
9882 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9883 else
9884 ac_cv_crosscflags__Wdeclaration_after_statement=no
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 CFLAGS=$ac_wine_try_cflags_saved
9889 CC=$ac_wine_try_cflags_saved_cc
9890 ac_exeext=$ac_wine_try_cflags_saved_exeext
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9893 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9894 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9895 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9898 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9899 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9900 $as_echo_n "(cached) " >&6
9901 else
9902 ac_wine_try_cflags_saved=$CFLAGS
9903 ac_wine_try_cflags_saved_cc=$CC
9904 ac_wine_try_cflags_saved_exeext=$ac_exeext
9905 CFLAGS="$CFLAGS -Wempty-body"
9906 CC="$CROSSCC"
9907 ac_exeext=".exe"
9908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9910 int main(int argc, char **argv) { return 0; }
9911 _ACEOF
9912 if ac_fn_c_try_link "$LINENO"; then :
9913 ac_cv_crosscflags__Wempty_body=yes
9914 else
9915 ac_cv_crosscflags__Wempty_body=no
9917 rm -f core conftest.err conftest.$ac_objext \
9918 conftest$ac_exeext conftest.$ac_ext
9919 CFLAGS=$ac_wine_try_cflags_saved
9920 CC=$ac_wine_try_cflags_saved_cc
9921 ac_exeext=$ac_wine_try_cflags_saved_exeext
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9924 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9925 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9926 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9929 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9930 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9931 $as_echo_n "(cached) " >&6
9932 else
9933 ac_wine_try_cflags_saved=$CFLAGS
9934 ac_wine_try_cflags_saved_cc=$CC
9935 ac_wine_try_cflags_saved_exeext=$ac_exeext
9936 CFLAGS="$CFLAGS -Wignored-qualifiers"
9937 CC="$CROSSCC"
9938 ac_exeext=".exe"
9939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9941 int main(int argc, char **argv) { return 0; }
9942 _ACEOF
9943 if ac_fn_c_try_link "$LINENO"; then :
9944 ac_cv_crosscflags__Wignored_qualifiers=yes
9945 else
9946 ac_cv_crosscflags__Wignored_qualifiers=no
9948 rm -f core conftest.err conftest.$ac_objext \
9949 conftest$ac_exeext conftest.$ac_ext
9950 CFLAGS=$ac_wine_try_cflags_saved
9951 CC=$ac_wine_try_cflags_saved_cc
9952 ac_exeext=$ac_wine_try_cflags_saved_exeext
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9955 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9956 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9957 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9960 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9961 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9962 $as_echo_n "(cached) " >&6
9963 else
9964 ac_wine_try_cflags_saved=$CFLAGS
9965 ac_wine_try_cflags_saved_cc=$CC
9966 ac_wine_try_cflags_saved_exeext=$ac_exeext
9967 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9968 CC="$CROSSCC"
9969 ac_exeext=".exe"
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9972 int main(int argc, char **argv) { return 0; }
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"; then :
9975 ac_cv_crosscflags__Wpacked_not_aligned=yes
9976 else
9977 ac_cv_crosscflags__Wpacked_not_aligned=no
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 CFLAGS=$ac_wine_try_cflags_saved
9982 CC=$ac_wine_try_cflags_saved_cc
9983 ac_exeext=$ac_wine_try_cflags_saved_exeext
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9986 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9987 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9988 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9991 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9992 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9993 $as_echo_n "(cached) " >&6
9994 else
9995 ac_wine_try_cflags_saved=$CFLAGS
9996 ac_wine_try_cflags_saved_cc=$CC
9997 ac_wine_try_cflags_saved_exeext=$ac_exeext
9998 CFLAGS="$CFLAGS -Wpragma-pack"
9999 CC="$CROSSCC"
10000 ac_exeext=".exe"
10001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10003 int main(int argc, char **argv) { return 0; }
10004 _ACEOF
10005 if ac_fn_c_try_link "$LINENO"; then :
10006 ac_cv_crosscflags__Wpragma_pack=yes
10007 else
10008 ac_cv_crosscflags__Wpragma_pack=no
10010 rm -f core conftest.err conftest.$ac_objext \
10011 conftest$ac_exeext conftest.$ac_ext
10012 CFLAGS=$ac_wine_try_cflags_saved
10013 CC=$ac_wine_try_cflags_saved_cc
10014 ac_exeext=$ac_wine_try_cflags_saved_exeext
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10017 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10018 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10019 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10022 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10023 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10024 $as_echo_n "(cached) " >&6
10025 else
10026 ac_wine_try_cflags_saved=$CFLAGS
10027 ac_wine_try_cflags_saved_cc=$CC
10028 ac_wine_try_cflags_saved_exeext=$ac_exeext
10029 CFLAGS="$CFLAGS -Wshift-overflow=2"
10030 CC="$CROSSCC"
10031 ac_exeext=".exe"
10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10034 int main(int argc, char **argv) { return 0; }
10035 _ACEOF
10036 if ac_fn_c_try_link "$LINENO"; then :
10037 ac_cv_crosscflags__Wshift_overflow_2=yes
10038 else
10039 ac_cv_crosscflags__Wshift_overflow_2=no
10041 rm -f core conftest.err conftest.$ac_objext \
10042 conftest$ac_exeext conftest.$ac_ext
10043 CFLAGS=$ac_wine_try_cflags_saved
10044 CC=$ac_wine_try_cflags_saved_cc
10045 ac_exeext=$ac_wine_try_cflags_saved_exeext
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10048 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10049 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10050 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10053 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10054 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10055 $as_echo_n "(cached) " >&6
10056 else
10057 ac_wine_try_cflags_saved=$CFLAGS
10058 ac_wine_try_cflags_saved_cc=$CC
10059 ac_wine_try_cflags_saved_exeext=$ac_exeext
10060 CFLAGS="$CFLAGS -Wstrict-prototypes"
10061 CC="$CROSSCC"
10062 ac_exeext=".exe"
10063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h. */
10065 int main(int argc, char **argv) { return 0; }
10066 _ACEOF
10067 if ac_fn_c_try_link "$LINENO"; then :
10068 ac_cv_crosscflags__Wstrict_prototypes=yes
10069 else
10070 ac_cv_crosscflags__Wstrict_prototypes=no
10072 rm -f core conftest.err conftest.$ac_objext \
10073 conftest$ac_exeext conftest.$ac_ext
10074 CFLAGS=$ac_wine_try_cflags_saved
10075 CC=$ac_wine_try_cflags_saved_cc
10076 ac_exeext=$ac_wine_try_cflags_saved_exeext
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10079 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10080 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10081 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10084 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10085 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10086 $as_echo_n "(cached) " >&6
10087 else
10088 ac_wine_try_cflags_saved=$CFLAGS
10089 ac_wine_try_cflags_saved_cc=$CC
10090 ac_wine_try_cflags_saved_exeext=$ac_exeext
10091 CFLAGS="$CFLAGS -Wtype-limits"
10092 CC="$CROSSCC"
10093 ac_exeext=".exe"
10094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10095 /* end confdefs.h. */
10096 int main(int argc, char **argv) { return 0; }
10097 _ACEOF
10098 if ac_fn_c_try_link "$LINENO"; then :
10099 ac_cv_crosscflags__Wtype_limits=yes
10100 else
10101 ac_cv_crosscflags__Wtype_limits=no
10103 rm -f core conftest.err conftest.$ac_objext \
10104 conftest$ac_exeext conftest.$ac_ext
10105 CFLAGS=$ac_wine_try_cflags_saved
10106 CC=$ac_wine_try_cflags_saved_cc
10107 ac_exeext=$ac_wine_try_cflags_saved_exeext
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10110 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10111 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10112 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10115 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10116 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10117 $as_echo_n "(cached) " >&6
10118 else
10119 ac_wine_try_cflags_saved=$CFLAGS
10120 ac_wine_try_cflags_saved_cc=$CC
10121 ac_wine_try_cflags_saved_exeext=$ac_exeext
10122 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10123 CC="$CROSSCC"
10124 ac_exeext=".exe"
10125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10127 int main(int argc, char **argv) { return 0; }
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"; then :
10130 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10131 else
10132 ac_cv_crosscflags__Wunused_but_set_parameter=no
10134 rm -f core conftest.err conftest.$ac_objext \
10135 conftest$ac_exeext conftest.$ac_ext
10136 CFLAGS=$ac_wine_try_cflags_saved
10137 CC=$ac_wine_try_cflags_saved_cc
10138 ac_exeext=$ac_wine_try_cflags_saved_exeext
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10141 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10142 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10143 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10146 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10147 if ${ac_cv_crosscflags__Wvla+:} false; then :
10148 $as_echo_n "(cached) " >&6
10149 else
10150 ac_wine_try_cflags_saved=$CFLAGS
10151 ac_wine_try_cflags_saved_cc=$CC
10152 ac_wine_try_cflags_saved_exeext=$ac_exeext
10153 CFLAGS="$CFLAGS -Wvla"
10154 CC="$CROSSCC"
10155 ac_exeext=".exe"
10156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10157 /* end confdefs.h. */
10158 int main(int argc, char **argv) { return 0; }
10159 _ACEOF
10160 if ac_fn_c_try_link "$LINENO"; then :
10161 ac_cv_crosscflags__Wvla=yes
10162 else
10163 ac_cv_crosscflags__Wvla=no
10165 rm -f core conftest.err conftest.$ac_objext \
10166 conftest$ac_exeext conftest.$ac_ext
10167 CFLAGS=$ac_wine_try_cflags_saved
10168 CC=$ac_wine_try_cflags_saved_cc
10169 ac_exeext=$ac_wine_try_cflags_saved_exeext
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10172 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10173 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10174 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10177 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10178 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10179 $as_echo_n "(cached) " >&6
10180 else
10181 ac_wine_try_cflags_saved=$CFLAGS
10182 ac_wine_try_cflags_saved_cc=$CC
10183 ac_wine_try_cflags_saved_exeext=$ac_exeext
10184 CFLAGS="$CFLAGS -Wwrite-strings"
10185 CC="$CROSSCC"
10186 ac_exeext=".exe"
10187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10188 /* end confdefs.h. */
10189 int main(int argc, char **argv) { return 0; }
10190 _ACEOF
10191 if ac_fn_c_try_link "$LINENO"; then :
10192 ac_cv_crosscflags__Wwrite_strings=yes
10193 else
10194 ac_cv_crosscflags__Wwrite_strings=no
10196 rm -f core conftest.err conftest.$ac_objext \
10197 conftest$ac_exeext conftest.$ac_ext
10198 CFLAGS=$ac_wine_try_cflags_saved
10199 CC=$ac_wine_try_cflags_saved_cc
10200 ac_exeext=$ac_wine_try_cflags_saved_exeext
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10203 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10204 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10205 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10208 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10209 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10210 $as_echo_n "(cached) " >&6
10211 else
10212 ac_wine_try_cflags_saved=$CFLAGS
10213 ac_wine_try_cflags_saved_cc=$CC
10214 ac_wine_try_cflags_saved_exeext=$ac_exeext
10215 CFLAGS="$CFLAGS -Wpointer-arith"
10216 CC="$CROSSCC"
10217 ac_exeext=".exe"
10218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10219 /* end confdefs.h. */
10220 int main(int argc, char **argv) { return 0; }
10221 _ACEOF
10222 if ac_fn_c_try_link "$LINENO"; then :
10223 ac_cv_crosscflags__Wpointer_arith=yes
10224 else
10225 ac_cv_crosscflags__Wpointer_arith=no
10227 rm -f core conftest.err conftest.$ac_objext \
10228 conftest$ac_exeext conftest.$ac_ext
10229 CFLAGS=$ac_wine_try_cflags_saved
10230 CC=$ac_wine_try_cflags_saved_cc
10231 ac_exeext=$ac_wine_try_cflags_saved_exeext
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10234 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10235 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10236 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10239 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10240 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10241 $as_echo_n "(cached) " >&6
10242 else
10243 ac_wine_try_cflags_saved=$CFLAGS
10244 ac_wine_try_cflags_saved_cc=$CC
10245 ac_wine_try_cflags_saved_exeext=$ac_exeext
10246 CFLAGS="$CFLAGS -Wlogical-op"
10247 CC="$CROSSCC"
10248 ac_exeext=".exe"
10249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10250 /* end confdefs.h. */
10251 int main(int argc, char **argv) { return 0; }
10252 _ACEOF
10253 if ac_fn_c_try_link "$LINENO"; then :
10254 ac_cv_crosscflags__Wlogical_op=yes
10255 else
10256 ac_cv_crosscflags__Wlogical_op=no
10258 rm -f core conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext
10260 CFLAGS=$ac_wine_try_cflags_saved
10261 CC=$ac_wine_try_cflags_saved_cc
10262 ac_exeext=$ac_wine_try_cflags_saved_exeext
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10265 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10266 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10267 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10270 case $host_cpu in
10271 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10272 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10273 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10274 $as_echo_n "(cached) " >&6
10275 else
10276 ac_wine_try_cflags_saved=$CFLAGS
10277 ac_wine_try_cflags_saved_cc=$CC
10278 ac_wine_try_cflags_saved_exeext=$ac_exeext
10279 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10280 CC="$CROSSCC"
10281 ac_exeext=".exe"
10282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10283 /* end confdefs.h. */
10284 int main(int argc, char **argv) { return 0; }
10285 _ACEOF
10286 if ac_fn_c_try_link "$LINENO"; then :
10287 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10288 else
10289 ac_cv_crosscflags__fno_omit_frame_pointer=no
10291 rm -f core conftest.err conftest.$ac_objext \
10292 conftest$ac_exeext conftest.$ac_ext
10293 CFLAGS=$ac_wine_try_cflags_saved
10294 CC=$ac_wine_try_cflags_saved_cc
10295 ac_exeext=$ac_wine_try_cflags_saved_exeext
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10298 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10299 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10300 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10301 fi ;;
10302 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10303 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10304 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10305 $as_echo_n "(cached) " >&6
10306 else
10307 ac_wine_try_cflags_saved=$CFLAGS
10308 ac_wine_try_cflags_saved_cc=$CC
10309 ac_wine_try_cflags_saved_exeext=$ac_exeext
10310 CFLAGS="$CFLAGS -Wno-format"
10311 CC="$CROSSCC"
10312 ac_exeext=".exe"
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10315 int main(int argc, char **argv) { return 0; }
10316 _ACEOF
10317 if ac_fn_c_try_link "$LINENO"; then :
10318 ac_cv_crosscflags__Wno_format=yes
10319 else
10320 ac_cv_crosscflags__Wno_format=no
10322 rm -f core conftest.err conftest.$ac_objext \
10323 conftest$ac_exeext conftest.$ac_ext
10324 CFLAGS=$ac_wine_try_cflags_saved
10325 CC=$ac_wine_try_cflags_saved_cc
10326 ac_exeext=$ac_wine_try_cflags_saved_exeext
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10329 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10330 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10331 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10332 fi ;;
10333 esac
10335 for ac_flag in $CROSSCFLAGS; do
10336 case $ac_flag in
10337 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10338 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10339 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10340 $as_echo_n "(cached) " >&6
10341 else
10342 ac_wine_try_cflags_saved=$CFLAGS
10343 ac_wine_try_cflags_saved_cc=$CC
10344 ac_wine_try_cflags_saved_exeext=$ac_exeext
10345 CFLAGS="$CFLAGS -gdwarf-2"
10346 CC="$CROSSCC"
10347 ac_exeext=".exe"
10348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10349 /* end confdefs.h. */
10350 int main(int argc, char **argv) { return 0; }
10351 _ACEOF
10352 if ac_fn_c_try_link "$LINENO"; then :
10353 ac_cv_crosscflags__gdwarf_2=yes
10354 else
10355 ac_cv_crosscflags__gdwarf_2=no
10357 rm -f core conftest.err conftest.$ac_objext \
10358 conftest$ac_exeext conftest.$ac_ext
10359 CFLAGS=$ac_wine_try_cflags_saved
10360 CC=$ac_wine_try_cflags_saved_cc
10361 ac_exeext=$ac_wine_try_cflags_saved_exeext
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10364 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10365 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10366 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10369 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10370 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10371 $as_echo_n "(cached) " >&6
10372 else
10373 ac_wine_try_cflags_saved=$CFLAGS
10374 ac_wine_try_cflags_saved_cc=$CC
10375 ac_wine_try_cflags_saved_exeext=$ac_exeext
10376 CFLAGS="$CFLAGS -gstrict-dwarf"
10377 CC="$CROSSCC"
10378 ac_exeext=".exe"
10379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10380 /* end confdefs.h. */
10381 int main(int argc, char **argv) { return 0; }
10382 _ACEOF
10383 if ac_fn_c_try_link "$LINENO"; then :
10384 ac_cv_crosscflags__gstrict_dwarf=yes
10385 else
10386 ac_cv_crosscflags__gstrict_dwarf=no
10388 rm -f core conftest.err conftest.$ac_objext \
10389 conftest$ac_exeext conftest.$ac_ext
10390 CFLAGS=$ac_wine_try_cflags_saved
10391 CC=$ac_wine_try_cflags_saved_cc
10392 ac_exeext=$ac_wine_try_cflags_saved_exeext
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10395 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10396 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10397 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10398 fi ;;
10399 esac
10400 done
10402 if test "x$enable_maintainer_mode" = xyes
10403 then
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10405 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10406 if ${ac_cv_crosscflags__Werror+:} false; then :
10407 $as_echo_n "(cached) " >&6
10408 else
10409 ac_wine_try_cflags_saved=$CFLAGS
10410 ac_wine_try_cflags_saved_cc=$CC
10411 ac_wine_try_cflags_saved_exeext=$ac_exeext
10412 CFLAGS="$CFLAGS -Werror"
10413 CC="$CROSSCC"
10414 ac_exeext=".exe"
10415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10416 /* end confdefs.h. */
10417 int main(int argc, char **argv) { return 0; }
10418 _ACEOF
10419 if ac_fn_c_try_link "$LINENO"; then :
10420 ac_cv_crosscflags__Werror=yes
10421 else
10422 ac_cv_crosscflags__Werror=no
10424 rm -f core conftest.err conftest.$ac_objext \
10425 conftest$ac_exeext conftest.$ac_ext
10426 CFLAGS=$ac_wine_try_cflags_saved
10427 CC=$ac_wine_try_cflags_saved_cc
10428 ac_exeext=$ac_wine_try_cflags_saved_exeext
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10431 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10432 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10433 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10437 CFLAGS=$saved_CFLAGS
10438 CC="$ac_save_CC"
10441 if test "x$CROSSTARGET" = "x"; then :
10442 case "x$with_mingw" in
10443 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10444 xno) ;;
10445 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10446 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10447 esac
10452 if test "$ac_cv_header_pthread_h" = "yes"
10453 then
10454 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10455 if test "x$ac_cv_func_pthread_create" = xyes; then :
10457 else
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10459 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10460 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10461 $as_echo_n "(cached) " >&6
10462 else
10463 ac_check_lib_save_LIBS=$LIBS
10464 LIBS="-lpthread $LIBS"
10465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10466 /* end confdefs.h. */
10468 /* Override any GCC internal prototype to avoid an error.
10469 Use char because int might match the return type of a GCC
10470 builtin and then its argument prototype would still apply. */
10471 #ifdef __cplusplus
10472 extern "C"
10473 #endif
10474 char pthread_create ();
10476 main ()
10478 return pthread_create ();
10480 return 0;
10482 _ACEOF
10483 if ac_fn_c_try_link "$LINENO"; then :
10484 ac_cv_lib_pthread_pthread_create=yes
10485 else
10486 ac_cv_lib_pthread_pthread_create=no
10488 rm -f core conftest.err conftest.$ac_objext \
10489 conftest$ac_exeext conftest.$ac_ext
10490 LIBS=$ac_check_lib_save_LIBS
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10493 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10494 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10495 PTHREAD_LIBS="-lpthread"
10502 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10503 case "x$with_pthread" in
10504 xno) ;;
10505 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10506 Wine cannot support threads without libpthread.
10507 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10508 esac
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10514 $as_echo_n "checking for X... " >&6; }
10517 # Check whether --with-x was given.
10518 if test "${with_x+set}" = set; then :
10519 withval=$with_x;
10522 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10523 if test "x$with_x" = xno; then
10524 # The user explicitly disabled X.
10525 have_x=disabled
10526 else
10527 case $x_includes,$x_libraries in #(
10528 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10529 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10530 $as_echo_n "(cached) " >&6
10531 else
10532 # One or both of the vars are not set, and there is no cached value.
10533 ac_x_includes=no ac_x_libraries=no
10534 rm -f -r conftest.dir
10535 if mkdir conftest.dir; then
10536 cd conftest.dir
10537 cat >Imakefile <<'_ACEOF'
10538 incroot:
10539 @echo incroot='${INCROOT}'
10540 usrlibdir:
10541 @echo usrlibdir='${USRLIBDIR}'
10542 libdir:
10543 @echo libdir='${LIBDIR}'
10544 _ACEOF
10545 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10546 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10547 for ac_var in incroot usrlibdir libdir; do
10548 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10549 done
10550 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10551 for ac_extension in a so sl dylib la dll; do
10552 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10553 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10554 ac_im_usrlibdir=$ac_im_libdir; break
10556 done
10557 # Screen out bogus values from the imake configuration. They are
10558 # bogus both because they are the default anyway, and because
10559 # using them would break gcc on systems where it needs fixed includes.
10560 case $ac_im_incroot in
10561 /usr/include) ac_x_includes= ;;
10562 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10563 esac
10564 case $ac_im_usrlibdir in
10565 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10566 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10567 esac
10569 cd ..
10570 rm -f -r conftest.dir
10573 # Standard set of common directories for X headers.
10574 # Check X11 before X11Rn because it is often a symlink to the current release.
10575 ac_x_header_dirs='
10576 /usr/X11/include
10577 /usr/X11R7/include
10578 /usr/X11R6/include
10579 /usr/X11R5/include
10580 /usr/X11R4/include
10582 /usr/include/X11
10583 /usr/include/X11R7
10584 /usr/include/X11R6
10585 /usr/include/X11R5
10586 /usr/include/X11R4
10588 /usr/local/X11/include
10589 /usr/local/X11R7/include
10590 /usr/local/X11R6/include
10591 /usr/local/X11R5/include
10592 /usr/local/X11R4/include
10594 /usr/local/include/X11
10595 /usr/local/include/X11R7
10596 /usr/local/include/X11R6
10597 /usr/local/include/X11R5
10598 /usr/local/include/X11R4
10600 /usr/X386/include
10601 /usr/x386/include
10602 /usr/XFree86/include/X11
10604 /usr/include
10605 /usr/local/include
10606 /usr/unsupported/include
10607 /usr/athena/include
10608 /usr/local/x11r5/include
10609 /usr/lpp/Xamples/include
10611 /usr/openwin/include
10612 /usr/openwin/share/include'
10614 if test "$ac_x_includes" = no; then
10615 # Guess where to find include files, by looking for Xlib.h.
10616 # First, try using that file with no special directory specified.
10617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10618 /* end confdefs.h. */
10619 #include <X11/Xlib.h>
10620 _ACEOF
10621 if ac_fn_c_try_cpp "$LINENO"; then :
10622 # We can compile using X headers with no special include directory.
10623 ac_x_includes=
10624 else
10625 for ac_dir in $ac_x_header_dirs; do
10626 if test -r "$ac_dir/X11/Xlib.h"; then
10627 ac_x_includes=$ac_dir
10628 break
10630 done
10632 rm -f conftest.err conftest.i conftest.$ac_ext
10633 fi # $ac_x_includes = no
10635 if test "$ac_x_libraries" = no; then
10636 # Check for the libraries.
10637 # See if we find them without any special options.
10638 # Don't add to $LIBS permanently.
10639 ac_save_LIBS=$LIBS
10640 LIBS="-lX11 $LIBS"
10641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10642 /* end confdefs.h. */
10643 #include <X11/Xlib.h>
10645 main ()
10647 XrmInitialize ()
10649 return 0;
10651 _ACEOF
10652 if ac_fn_c_try_link "$LINENO"; then :
10653 LIBS=$ac_save_LIBS
10654 # We can link X programs with no special library path.
10655 ac_x_libraries=
10656 else
10657 LIBS=$ac_save_LIBS
10658 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10660 # Don't even attempt the hair of trying to link an X program!
10661 for ac_extension in a so sl dylib la dll; do
10662 if test -r "$ac_dir/libX11.$ac_extension"; then
10663 ac_x_libraries=$ac_dir
10664 break 2
10666 done
10667 done
10669 rm -f core conftest.err conftest.$ac_objext \
10670 conftest$ac_exeext conftest.$ac_ext
10671 fi # $ac_x_libraries = no
10673 case $ac_x_includes,$ac_x_libraries in #(
10674 no,* | *,no | *\'*)
10675 # Didn't find X, or a directory has "'" in its name.
10676 ac_cv_have_x="have_x=no";; #(
10678 # Record where we found X for the cache.
10679 ac_cv_have_x="have_x=yes\
10680 ac_x_includes='$ac_x_includes'\
10681 ac_x_libraries='$ac_x_libraries'"
10682 esac
10684 ;; #(
10685 *) have_x=yes;;
10686 esac
10687 eval "$ac_cv_have_x"
10688 fi # $with_x != no
10690 if test "$have_x" != yes; then
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10692 $as_echo "$have_x" >&6; }
10693 no_x=yes
10694 else
10695 # If each of the values was on the command line, it overrides each guess.
10696 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10697 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10698 # Update the cache value to reflect the command line values.
10699 ac_cv_have_x="have_x=yes\
10700 ac_x_includes='$x_includes'\
10701 ac_x_libraries='$x_libraries'"
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10703 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10706 if test "$no_x" = yes; then
10707 # Not all programs may use this symbol, but it does not hurt to define it.
10709 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10711 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10712 else
10713 if test -n "$x_includes"; then
10714 X_CFLAGS="$X_CFLAGS -I$x_includes"
10717 # It would also be nice to do this for all -L options, not just this one.
10718 if test -n "$x_libraries"; then
10719 X_LIBS="$X_LIBS -L$x_libraries"
10720 # For Solaris; some versions of Sun CC require a space after -R and
10721 # others require no space. Words are not sufficient . . . .
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10723 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10724 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10725 ac_xsave_c_werror_flag=$ac_c_werror_flag
10726 ac_c_werror_flag=yes
10727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10728 /* end confdefs.h. */
10731 main ()
10735 return 0;
10737 _ACEOF
10738 if ac_fn_c_try_link "$LINENO"; then :
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10740 $as_echo "no" >&6; }
10741 X_LIBS="$X_LIBS -R$x_libraries"
10742 else
10743 LIBS="$ac_xsave_LIBS -R $x_libraries"
10744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10745 /* end confdefs.h. */
10748 main ()
10752 return 0;
10754 _ACEOF
10755 if ac_fn_c_try_link "$LINENO"; then :
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10757 $as_echo "yes" >&6; }
10758 X_LIBS="$X_LIBS -R $x_libraries"
10759 else
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10761 $as_echo "neither works" >&6; }
10763 rm -f core conftest.err conftest.$ac_objext \
10764 conftest$ac_exeext conftest.$ac_ext
10766 rm -f core conftest.err conftest.$ac_objext \
10767 conftest$ac_exeext conftest.$ac_ext
10768 ac_c_werror_flag=$ac_xsave_c_werror_flag
10769 LIBS=$ac_xsave_LIBS
10772 # Check for system-dependent libraries X programs must link with.
10773 # Do this before checking for the system-independent R6 libraries
10774 # (-lICE), since we may need -lsocket or whatever for X linking.
10776 if test "$ISC" = yes; then
10777 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10778 else
10779 # Martyn Johnson says this is needed for Ultrix, if the X
10780 # libraries were built with DECnet support. And Karl Berry says
10781 # the Alpha needs dnet_stub (dnet does not exist).
10782 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10784 /* end confdefs.h. */
10786 /* Override any GCC internal prototype to avoid an error.
10787 Use char because int might match the return type of a GCC
10788 builtin and then its argument prototype would still apply. */
10789 #ifdef __cplusplus
10790 extern "C"
10791 #endif
10792 char XOpenDisplay ();
10794 main ()
10796 return XOpenDisplay ();
10798 return 0;
10800 _ACEOF
10801 if ac_fn_c_try_link "$LINENO"; then :
10803 else
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10805 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10806 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10807 $as_echo_n "(cached) " >&6
10808 else
10809 ac_check_lib_save_LIBS=$LIBS
10810 LIBS="-ldnet $LIBS"
10811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10812 /* end confdefs.h. */
10814 /* Override any GCC internal prototype to avoid an error.
10815 Use char because int might match the return type of a GCC
10816 builtin and then its argument prototype would still apply. */
10817 #ifdef __cplusplus
10818 extern "C"
10819 #endif
10820 char dnet_ntoa ();
10822 main ()
10824 return dnet_ntoa ();
10826 return 0;
10828 _ACEOF
10829 if ac_fn_c_try_link "$LINENO"; then :
10830 ac_cv_lib_dnet_dnet_ntoa=yes
10831 else
10832 ac_cv_lib_dnet_dnet_ntoa=no
10834 rm -f core conftest.err conftest.$ac_objext \
10835 conftest$ac_exeext conftest.$ac_ext
10836 LIBS=$ac_check_lib_save_LIBS
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10839 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10840 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10841 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10844 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10846 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10847 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10848 $as_echo_n "(cached) " >&6
10849 else
10850 ac_check_lib_save_LIBS=$LIBS
10851 LIBS="-ldnet_stub $LIBS"
10852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10853 /* end confdefs.h. */
10855 /* Override any GCC internal prototype to avoid an error.
10856 Use char because int might match the return type of a GCC
10857 builtin and then its argument prototype would still apply. */
10858 #ifdef __cplusplus
10859 extern "C"
10860 #endif
10861 char dnet_ntoa ();
10863 main ()
10865 return dnet_ntoa ();
10867 return 0;
10869 _ACEOF
10870 if ac_fn_c_try_link "$LINENO"; then :
10871 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10872 else
10873 ac_cv_lib_dnet_stub_dnet_ntoa=no
10875 rm -f core conftest.err conftest.$ac_objext \
10876 conftest$ac_exeext conftest.$ac_ext
10877 LIBS=$ac_check_lib_save_LIBS
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10880 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10881 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10882 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10887 rm -f core conftest.err conftest.$ac_objext \
10888 conftest$ac_exeext conftest.$ac_ext
10889 LIBS="$ac_xsave_LIBS"
10891 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10892 # to get the SysV transport functions.
10893 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10894 # needs -lnsl.
10895 # The nsl library prevents programs from opening the X display
10896 # on Irix 5.2, according to T.E. Dickey.
10897 # The functions gethostbyname, getservbyname, and inet_addr are
10898 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10899 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10900 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10904 if test $ac_cv_func_gethostbyname = no; then
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10906 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10907 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10908 $as_echo_n "(cached) " >&6
10909 else
10910 ac_check_lib_save_LIBS=$LIBS
10911 LIBS="-lnsl $LIBS"
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 /* end confdefs.h. */
10915 /* Override any GCC internal prototype to avoid an error.
10916 Use char because int might match the return type of a GCC
10917 builtin and then its argument prototype would still apply. */
10918 #ifdef __cplusplus
10919 extern "C"
10920 #endif
10921 char gethostbyname ();
10923 main ()
10925 return gethostbyname ();
10927 return 0;
10929 _ACEOF
10930 if ac_fn_c_try_link "$LINENO"; then :
10931 ac_cv_lib_nsl_gethostbyname=yes
10932 else
10933 ac_cv_lib_nsl_gethostbyname=no
10935 rm -f core conftest.err conftest.$ac_objext \
10936 conftest$ac_exeext conftest.$ac_ext
10937 LIBS=$ac_check_lib_save_LIBS
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10940 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10941 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10942 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10945 if test $ac_cv_lib_nsl_gethostbyname = no; then
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10947 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10948 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10949 $as_echo_n "(cached) " >&6
10950 else
10951 ac_check_lib_save_LIBS=$LIBS
10952 LIBS="-lbsd $LIBS"
10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10956 /* Override any GCC internal prototype to avoid an error.
10957 Use char because int might match the return type of a GCC
10958 builtin and then its argument prototype would still apply. */
10959 #ifdef __cplusplus
10960 extern "C"
10961 #endif
10962 char gethostbyname ();
10964 main ()
10966 return gethostbyname ();
10968 return 0;
10970 _ACEOF
10971 if ac_fn_c_try_link "$LINENO"; then :
10972 ac_cv_lib_bsd_gethostbyname=yes
10973 else
10974 ac_cv_lib_bsd_gethostbyname=no
10976 rm -f core conftest.err conftest.$ac_objext \
10977 conftest$ac_exeext conftest.$ac_ext
10978 LIBS=$ac_check_lib_save_LIBS
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10981 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10982 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10983 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10989 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10990 # socket/setsockopt and other routines are undefined under SCO ODT
10991 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10992 # on later versions), says Simon Leinen: it contains gethostby*
10993 # variants that don't use the name server (or something). -lsocket
10994 # must be given before -lnsl if both are needed. We assume that
10995 # if connect needs -lnsl, so does gethostbyname.
10996 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10997 if test "x$ac_cv_func_connect" = xyes; then :
11001 if test $ac_cv_func_connect = no; then
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11003 $as_echo_n "checking for connect in -lsocket... " >&6; }
11004 if ${ac_cv_lib_socket_connect+:} false; then :
11005 $as_echo_n "(cached) " >&6
11006 else
11007 ac_check_lib_save_LIBS=$LIBS
11008 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11012 /* Override any GCC internal prototype to avoid an error.
11013 Use char because int might match the return type of a GCC
11014 builtin and then its argument prototype would still apply. */
11015 #ifdef __cplusplus
11016 extern "C"
11017 #endif
11018 char connect ();
11020 main ()
11022 return connect ();
11024 return 0;
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"; then :
11028 ac_cv_lib_socket_connect=yes
11029 else
11030 ac_cv_lib_socket_connect=no
11032 rm -f core conftest.err conftest.$ac_objext \
11033 conftest$ac_exeext conftest.$ac_ext
11034 LIBS=$ac_check_lib_save_LIBS
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11037 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11038 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11039 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11044 # Guillermo Gomez says -lposix is necessary on A/UX.
11045 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11046 if test "x$ac_cv_func_remove" = xyes; then :
11050 if test $ac_cv_func_remove = no; then
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11052 $as_echo_n "checking for remove in -lposix... " >&6; }
11053 if ${ac_cv_lib_posix_remove+:} false; then :
11054 $as_echo_n "(cached) " >&6
11055 else
11056 ac_check_lib_save_LIBS=$LIBS
11057 LIBS="-lposix $LIBS"
11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11064 #ifdef __cplusplus
11065 extern "C"
11066 #endif
11067 char remove ();
11069 main ()
11071 return remove ();
11073 return 0;
11075 _ACEOF
11076 if ac_fn_c_try_link "$LINENO"; then :
11077 ac_cv_lib_posix_remove=yes
11078 else
11079 ac_cv_lib_posix_remove=no
11081 rm -f core conftest.err conftest.$ac_objext \
11082 conftest$ac_exeext conftest.$ac_ext
11083 LIBS=$ac_check_lib_save_LIBS
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11086 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11087 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11088 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11093 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11094 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11095 if test "x$ac_cv_func_shmat" = xyes; then :
11099 if test $ac_cv_func_shmat = no; then
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11101 $as_echo_n "checking for shmat in -lipc... " >&6; }
11102 if ${ac_cv_lib_ipc_shmat+:} false; then :
11103 $as_echo_n "(cached) " >&6
11104 else
11105 ac_check_lib_save_LIBS=$LIBS
11106 LIBS="-lipc $LIBS"
11107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108 /* end confdefs.h. */
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11113 #ifdef __cplusplus
11114 extern "C"
11115 #endif
11116 char shmat ();
11118 main ()
11120 return shmat ();
11122 return 0;
11124 _ACEOF
11125 if ac_fn_c_try_link "$LINENO"; then :
11126 ac_cv_lib_ipc_shmat=yes
11127 else
11128 ac_cv_lib_ipc_shmat=no
11130 rm -f core conftest.err conftest.$ac_objext \
11131 conftest$ac_exeext conftest.$ac_ext
11132 LIBS=$ac_check_lib_save_LIBS
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11135 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11136 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11137 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11143 # Check for libraries that X11R6 Xt/Xaw programs need.
11144 ac_save_LDFLAGS=$LDFLAGS
11145 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11146 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11147 # check for ICE first), but we must link in the order -lSM -lICE or
11148 # we get undefined symbols. So assume we have SM if we have ICE.
11149 # These have to be linked with before -lX11, unlike the other
11150 # libraries we check for below, so use a different variable.
11151 # John Interrante, Karl Berry
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11153 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11154 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11155 $as_echo_n "(cached) " >&6
11156 else
11157 ac_check_lib_save_LIBS=$LIBS
11158 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11162 /* Override any GCC internal prototype to avoid an error.
11163 Use char because int might match the return type of a GCC
11164 builtin and then its argument prototype would still apply. */
11165 #ifdef __cplusplus
11166 extern "C"
11167 #endif
11168 char IceConnectionNumber ();
11170 main ()
11172 return IceConnectionNumber ();
11174 return 0;
11176 _ACEOF
11177 if ac_fn_c_try_link "$LINENO"; then :
11178 ac_cv_lib_ICE_IceConnectionNumber=yes
11179 else
11180 ac_cv_lib_ICE_IceConnectionNumber=no
11182 rm -f core conftest.err conftest.$ac_objext \
11183 conftest$ac_exeext conftest.$ac_ext
11184 LIBS=$ac_check_lib_save_LIBS
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11187 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11188 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11189 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11192 LDFLAGS=$ac_save_LDFLAGS
11197 if test "$have_x" = "yes"
11198 then
11199 ac_save_CPPFLAGS="$CPPFLAGS"
11200 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11203 $as_echo_n "checking for -lX11... " >&6; }
11204 if ${ac_cv_lib_soname_X11+:} false; then :
11205 $as_echo_n "(cached) " >&6
11206 else
11207 ac_check_soname_save_LIBS=$LIBS
11208 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11210 /* end confdefs.h. */
11212 /* Override any GCC internal prototype to avoid an error.
11213 Use char because int might match the return type of a GCC
11214 builtin and then its argument prototype would still apply. */
11215 #ifdef __cplusplus
11216 extern "C"
11217 #endif
11218 char XCreateWindow ();
11220 main ()
11222 return XCreateWindow ();
11224 return 0;
11226 _ACEOF
11227 if ac_fn_c_try_link "$LINENO"; then :
11228 case "$LIBEXT" in
11229 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11230 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'` ;;
11231 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11232 if ${ac_cv_lib_soname_X11:+false} :; then :
11233 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11234 fi ;;
11235 esac
11236 else
11237 ac_cv_lib_soname_X11=
11239 rm -f core conftest.err conftest.$ac_objext \
11240 conftest$ac_exeext conftest.$ac_ext
11241 LIBS=$ac_check_soname_save_LIBS
11243 if ${ac_cv_lib_soname_X11:+false} :; then :
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11245 $as_echo "not found" >&6; }
11247 else
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11249 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11251 cat >>confdefs.h <<_ACEOF
11252 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11253 _ACEOF
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11258 $as_echo_n "checking for -lXext... " >&6; }
11259 if ${ac_cv_lib_soname_Xext+:} false; then :
11260 $as_echo_n "(cached) " >&6
11261 else
11262 ac_check_soname_save_LIBS=$LIBS
11263 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char XextCreateExtension ();
11275 main ()
11277 return XextCreateExtension ();
11279 return 0;
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 case "$LIBEXT" in
11284 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11285 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'` ;;
11286 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11287 if ${ac_cv_lib_soname_Xext:+false} :; then :
11288 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11289 fi ;;
11290 esac
11291 else
11292 ac_cv_lib_soname_Xext=
11294 rm -f core conftest.err conftest.$ac_objext \
11295 conftest$ac_exeext conftest.$ac_ext
11296 LIBS=$ac_check_soname_save_LIBS
11298 if ${ac_cv_lib_soname_Xext:+false} :; then :
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11300 $as_echo "not found" >&6; }
11302 else
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11304 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11306 cat >>confdefs.h <<_ACEOF
11307 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11308 _ACEOF
11310 X_LIBS="$X_LIBS -lXext"
11312 X_LIBS="$X_LIBS -lX11"
11314 for ac_header in X11/Xlib.h \
11315 X11/XKBlib.h \
11316 X11/Xutil.h \
11317 X11/Xcursor/Xcursor.h \
11318 X11/extensions/shape.h \
11319 X11/extensions/XInput.h \
11320 X11/extensions/XInput2.h \
11321 X11/extensions/XShm.h \
11322 X11/extensions/Xcomposite.h \
11323 X11/extensions/Xfixes.h \
11324 X11/extensions/Xinerama.h \
11325 X11/extensions/Xrandr.h \
11326 X11/extensions/Xrender.h \
11327 X11/extensions/xf86vmode.h \
11328 X11/extensions/xf86vmproto.h
11329 do :
11330 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11331 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11332 # include <X11/Xlib.h>
11333 #endif
11334 #ifdef HAVE_X11_XUTIL_H
11335 # include <X11/Xutil.h>
11336 #endif
11338 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11339 cat >>confdefs.h <<_ACEOF
11340 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11341 _ACEOF
11345 done
11348 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11349 then
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11351 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11352 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11353 $as_echo_n "(cached) " >&6
11354 else
11355 ac_check_lib_save_LIBS=$LIBS
11356 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11358 /* end confdefs.h. */
11360 /* Override any GCC internal prototype to avoid an error.
11361 Use char because int might match the return type of a GCC
11362 builtin and then its argument prototype would still apply. */
11363 #ifdef __cplusplus
11364 extern "C"
11365 #endif
11366 char XkbQueryExtension ();
11368 main ()
11370 return XkbQueryExtension ();
11372 return 0;
11374 _ACEOF
11375 if ac_fn_c_try_link "$LINENO"; then :
11376 ac_cv_lib_X11_XkbQueryExtension=yes
11377 else
11378 ac_cv_lib_X11_XkbQueryExtension=no
11380 rm -f core conftest.err conftest.$ac_objext \
11381 conftest$ac_exeext conftest.$ac_ext
11382 LIBS=$ac_check_lib_save_LIBS
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11385 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11386 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11388 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11394 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11395 then
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11397 $as_echo_n "checking for -lXcursor... " >&6; }
11398 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11399 $as_echo_n "(cached) " >&6
11400 else
11401 ac_check_soname_save_LIBS=$LIBS
11402 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11406 /* Override any GCC internal prototype to avoid an error.
11407 Use char because int might match the return type of a GCC
11408 builtin and then its argument prototype would still apply. */
11409 #ifdef __cplusplus
11410 extern "C"
11411 #endif
11412 char XcursorImageLoadCursor ();
11414 main ()
11416 return XcursorImageLoadCursor ();
11418 return 0;
11420 _ACEOF
11421 if ac_fn_c_try_link "$LINENO"; then :
11422 case "$LIBEXT" in
11423 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11424 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'` ;;
11425 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11426 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11427 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11428 fi ;;
11429 esac
11430 else
11431 ac_cv_lib_soname_Xcursor=
11433 rm -f core conftest.err conftest.$ac_objext \
11434 conftest$ac_exeext conftest.$ac_ext
11435 LIBS=$ac_check_soname_save_LIBS
11437 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11439 $as_echo "not found" >&6; }
11441 else
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11443 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11445 cat >>confdefs.h <<_ACEOF
11446 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11447 _ACEOF
11452 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11453 case "x$with_xcursor" in
11454 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11455 xno) ;;
11456 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11457 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11458 esac
11462 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11463 then
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11465 $as_echo_n "checking for -lXi... " >&6; }
11466 if ${ac_cv_lib_soname_Xi+:} false; then :
11467 $as_echo_n "(cached) " >&6
11468 else
11469 ac_check_soname_save_LIBS=$LIBS
11470 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11472 /* end confdefs.h. */
11474 /* Override any GCC internal prototype to avoid an error.
11475 Use char because int might match the return type of a GCC
11476 builtin and then its argument prototype would still apply. */
11477 #ifdef __cplusplus
11478 extern "C"
11479 #endif
11480 char XOpenDevice ();
11482 main ()
11484 return XOpenDevice ();
11486 return 0;
11488 _ACEOF
11489 if ac_fn_c_try_link "$LINENO"; then :
11490 case "$LIBEXT" in
11491 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11492 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'` ;;
11493 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11494 if ${ac_cv_lib_soname_Xi:+false} :; then :
11495 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11496 fi ;;
11497 esac
11498 else
11499 ac_cv_lib_soname_Xi=
11501 rm -f core conftest.err conftest.$ac_objext \
11502 conftest$ac_exeext conftest.$ac_ext
11503 LIBS=$ac_check_soname_save_LIBS
11505 if ${ac_cv_lib_soname_Xi:+false} :; then :
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11507 $as_echo "not found" >&6; }
11509 else
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11511 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11513 cat >>confdefs.h <<_ACEOF
11514 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11515 _ACEOF
11520 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11521 case "x$with_xinput" in
11522 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11523 xno) ;;
11524 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11525 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11526 esac
11530 if test "x$ac_cv_lib_soname_Xi" != x
11531 then
11532 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11533 case "x$with_xinput2" in
11534 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11535 xno) ;;
11536 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11537 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11538 esac
11543 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11544 then
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11546 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11547 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11548 $as_echo_n "(cached) " >&6
11549 else
11550 ac_check_lib_save_LIBS=$LIBS
11551 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11553 /* end confdefs.h. */
11555 /* Override any GCC internal prototype to avoid an error.
11556 Use char because int might match the return type of a GCC
11557 builtin and then its argument prototype would still apply. */
11558 #ifdef __cplusplus
11559 extern "C"
11560 #endif
11561 char XShmQueryExtension ();
11563 main ()
11565 return XShmQueryExtension ();
11567 return 0;
11569 _ACEOF
11570 if ac_fn_c_try_link "$LINENO"; then :
11571 ac_cv_lib_Xext_XShmQueryExtension=yes
11572 else
11573 ac_cv_lib_Xext_XShmQueryExtension=no
11575 rm -f core conftest.err conftest.$ac_objext \
11576 conftest$ac_exeext conftest.$ac_ext
11577 LIBS=$ac_check_lib_save_LIBS
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11580 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11581 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11583 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11588 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11589 case "x$with_xshm" in
11590 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11591 xno) ;;
11592 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11593 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11594 esac
11598 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11599 then
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11601 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11602 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11603 $as_echo_n "(cached) " >&6
11604 else
11605 ac_check_lib_save_LIBS=$LIBS
11606 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11610 /* Override any GCC internal prototype to avoid an error.
11611 Use char because int might match the return type of a GCC
11612 builtin and then its argument prototype would still apply. */
11613 #ifdef __cplusplus
11614 extern "C"
11615 #endif
11616 char XShapeQueryExtension ();
11618 main ()
11620 return XShapeQueryExtension ();
11622 return 0;
11624 _ACEOF
11625 if ac_fn_c_try_link "$LINENO"; then :
11626 ac_cv_lib_Xext_XShapeQueryExtension=yes
11627 else
11628 ac_cv_lib_Xext_XShapeQueryExtension=no
11630 rm -f core conftest.err conftest.$ac_objext \
11631 conftest$ac_exeext conftest.$ac_ext
11632 LIBS=$ac_check_lib_save_LIBS
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11635 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11636 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11638 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11643 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11644 case "x$with_xshape" in
11645 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11646 xno) ;;
11647 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11648 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11649 esac
11653 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11654 then
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11656 $as_echo_n "checking for -lXxf86vm... " >&6; }
11657 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11658 $as_echo_n "(cached) " >&6
11659 else
11660 ac_check_soname_save_LIBS=$LIBS
11661 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11663 /* end confdefs.h. */
11665 /* Override any GCC internal prototype to avoid an error.
11666 Use char because int might match the return type of a GCC
11667 builtin and then its argument prototype would still apply. */
11668 #ifdef __cplusplus
11669 extern "C"
11670 #endif
11671 char XF86VidModeQueryExtension ();
11673 main ()
11675 return XF86VidModeQueryExtension ();
11677 return 0;
11679 _ACEOF
11680 if ac_fn_c_try_link "$LINENO"; then :
11681 case "$LIBEXT" in
11682 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11683 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'` ;;
11684 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11685 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11686 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11687 fi ;;
11688 esac
11689 else
11690 ac_cv_lib_soname_Xxf86vm=
11692 rm -f core conftest.err conftest.$ac_objext \
11693 conftest$ac_exeext conftest.$ac_ext
11694 LIBS=$ac_check_soname_save_LIBS
11696 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11698 $as_echo "not found" >&6; }
11700 else
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11702 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11704 cat >>confdefs.h <<_ACEOF
11705 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11706 _ACEOF
11711 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11712 case "x$with_xxf86vm" in
11713 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11714 xno) ;;
11715 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11716 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11717 esac
11721 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11722 then
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11724 $as_echo_n "checking for -lXrender... " >&6; }
11725 if ${ac_cv_lib_soname_Xrender+:} false; then :
11726 $as_echo_n "(cached) " >&6
11727 else
11728 ac_check_soname_save_LIBS=$LIBS
11729 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11733 /* Override any GCC internal prototype to avoid an error.
11734 Use char because int might match the return type of a GCC
11735 builtin and then its argument prototype would still apply. */
11736 #ifdef __cplusplus
11737 extern "C"
11738 #endif
11739 char XRenderQueryExtension ();
11741 main ()
11743 return XRenderQueryExtension ();
11745 return 0;
11747 _ACEOF
11748 if ac_fn_c_try_link "$LINENO"; then :
11749 case "$LIBEXT" in
11750 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11751 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'` ;;
11752 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11753 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11754 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11755 fi ;;
11756 esac
11757 else
11758 ac_cv_lib_soname_Xrender=
11760 rm -f core conftest.err conftest.$ac_objext \
11761 conftest$ac_exeext conftest.$ac_ext
11762 LIBS=$ac_check_soname_save_LIBS
11764 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11766 $as_echo "not found" >&6; }
11768 else
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11770 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11772 cat >>confdefs.h <<_ACEOF
11773 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11774 _ACEOF
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11777 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11778 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11779 $as_echo_n "(cached) " >&6
11780 else
11781 ac_check_lib_save_LIBS=$LIBS
11782 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11784 /* end confdefs.h. */
11786 /* Override any GCC internal prototype to avoid an error.
11787 Use char because int might match the return type of a GCC
11788 builtin and then its argument prototype would still apply. */
11789 #ifdef __cplusplus
11790 extern "C"
11791 #endif
11792 char XRenderSetPictureTransform ();
11794 main ()
11796 return XRenderSetPictureTransform ();
11798 return 0;
11800 _ACEOF
11801 if ac_fn_c_try_link "$LINENO"; then :
11802 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11803 else
11804 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11806 rm -f core conftest.err conftest.$ac_objext \
11807 conftest$ac_exeext conftest.$ac_ext
11808 LIBS=$ac_check_lib_save_LIBS
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11811 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11812 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11814 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11819 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11820 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11821 $as_echo_n "(cached) " >&6
11822 else
11823 ac_check_lib_save_LIBS=$LIBS
11824 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11826 /* end confdefs.h. */
11828 /* Override any GCC internal prototype to avoid an error.
11829 Use char because int might match the return type of a GCC
11830 builtin and then its argument prototype would still apply. */
11831 #ifdef __cplusplus
11832 extern "C"
11833 #endif
11834 char XRenderCreateLinearGradient ();
11836 main ()
11838 return XRenderCreateLinearGradient ();
11840 return 0;
11842 _ACEOF
11843 if ac_fn_c_try_link "$LINENO"; then :
11844 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11845 else
11846 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11848 rm -f core conftest.err conftest.$ac_objext \
11849 conftest$ac_exeext conftest.$ac_ext
11850 LIBS=$ac_check_lib_save_LIBS
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11853 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11854 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11856 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11863 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11864 case "x$with_xrender" in
11865 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11866 xno) ;;
11867 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11868 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11869 esac
11873 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11874 then
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11877 #include <X11/Xlib.h>
11878 #include <X11/extensions/Xrandr.h>
11880 main ()
11882 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11884 return 0;
11886 _ACEOF
11887 if ac_fn_c_try_compile "$LINENO"; then :
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11889 $as_echo_n "checking for -lXrandr... " >&6; }
11890 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11891 $as_echo_n "(cached) " >&6
11892 else
11893 ac_check_soname_save_LIBS=$LIBS
11894 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11898 /* Override any GCC internal prototype to avoid an error.
11899 Use char because int might match the return type of a GCC
11900 builtin and then its argument prototype would still apply. */
11901 #ifdef __cplusplus
11902 extern "C"
11903 #endif
11904 char XRRQueryExtension ();
11906 main ()
11908 return XRRQueryExtension ();
11910 return 0;
11912 _ACEOF
11913 if ac_fn_c_try_link "$LINENO"; then :
11914 case "$LIBEXT" in
11915 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11916 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'` ;;
11917 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11918 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11919 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11920 fi ;;
11921 esac
11922 else
11923 ac_cv_lib_soname_Xrandr=
11925 rm -f core conftest.err conftest.$ac_objext \
11926 conftest$ac_exeext conftest.$ac_ext
11927 LIBS=$ac_check_soname_save_LIBS
11929 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11931 $as_echo "not found" >&6; }
11933 else
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11935 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11937 cat >>confdefs.h <<_ACEOF
11938 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11939 _ACEOF
11941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11943 #include <X11/Xlib.h>
11944 #include <X11/extensions/Xrandr.h>
11946 main ()
11948 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11950 return 0;
11952 _ACEOF
11953 if ac_fn_c_try_compile "$LINENO"; then :
11955 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11963 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11964 case "x$with_xrandr" in
11965 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11966 xno) ;;
11967 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11968 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11969 esac
11973 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11974 then
11975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11976 /* end confdefs.h. */
11977 #include <X11/Xlib.h>
11978 #include <X11/extensions/Xfixes.h>
11980 main ()
11982 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11984 return 0;
11986 _ACEOF
11987 if ac_fn_c_try_compile "$LINENO"; then :
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11989 $as_echo_n "checking for -lXfixes... " >&6; }
11990 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11991 $as_echo_n "(cached) " >&6
11992 else
11993 ac_check_soname_save_LIBS=$LIBS
11994 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11998 /* Override any GCC internal prototype to avoid an error.
11999 Use char because int might match the return type of a GCC
12000 builtin and then its argument prototype would still apply. */
12001 #ifdef __cplusplus
12002 extern "C"
12003 #endif
12004 char XFixesQueryVersion ();
12006 main ()
12008 return XFixesQueryVersion ();
12010 return 0;
12012 _ACEOF
12013 if ac_fn_c_try_link "$LINENO"; then :
12014 case "$LIBEXT" in
12015 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12016 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'` ;;
12017 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12018 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12019 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12020 fi ;;
12021 esac
12022 else
12023 ac_cv_lib_soname_Xfixes=
12025 rm -f core conftest.err conftest.$ac_objext \
12026 conftest$ac_exeext conftest.$ac_ext
12027 LIBS=$ac_check_soname_save_LIBS
12029 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12031 $as_echo "not found" >&6; }
12033 else
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12035 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12037 cat >>confdefs.h <<_ACEOF
12038 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12039 _ACEOF
12044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12046 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12047 case "x$with_xfixes" in
12048 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12049 xno) ;;
12050 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12051 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12052 esac
12056 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12057 then
12058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12059 /* end confdefs.h. */
12060 #include <X11/Xlib.h>
12061 #include <X11/extensions/Xinerama.h>
12063 main ()
12065 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12067 return 0;
12069 _ACEOF
12070 if ac_fn_c_try_compile "$LINENO"; then :
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12072 $as_echo_n "checking for -lXinerama... " >&6; }
12073 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12074 $as_echo_n "(cached) " >&6
12075 else
12076 ac_check_soname_save_LIBS=$LIBS
12077 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 /* Override any GCC internal prototype to avoid an error.
12082 Use char because int might match the return type of a GCC
12083 builtin and then its argument prototype would still apply. */
12084 #ifdef __cplusplus
12085 extern "C"
12086 #endif
12087 char XineramaQueryScreens ();
12089 main ()
12091 return XineramaQueryScreens ();
12093 return 0;
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"; then :
12097 case "$LIBEXT" in
12098 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12099 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'` ;;
12100 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12101 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12102 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12103 fi ;;
12104 esac
12105 else
12106 ac_cv_lib_soname_Xinerama=
12108 rm -f core conftest.err conftest.$ac_objext \
12109 conftest$ac_exeext conftest.$ac_ext
12110 LIBS=$ac_check_soname_save_LIBS
12112 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12114 $as_echo "not found" >&6; }
12116 else
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12118 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12120 cat >>confdefs.h <<_ACEOF
12121 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12122 _ACEOF
12127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12129 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12130 case "x$with_xinerama" in
12131 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12132 xno) ;;
12133 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12134 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12135 esac
12139 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12140 then
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12142 $as_echo_n "checking for -lXcomposite... " >&6; }
12143 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12144 $as_echo_n "(cached) " >&6
12145 else
12146 ac_check_soname_save_LIBS=$LIBS
12147 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12151 /* Override any GCC internal prototype to avoid an error.
12152 Use char because int might match the return type of a GCC
12153 builtin and then its argument prototype would still apply. */
12154 #ifdef __cplusplus
12155 extern "C"
12156 #endif
12157 char XCompositeRedirectWindow ();
12159 main ()
12161 return XCompositeRedirectWindow ();
12163 return 0;
12165 _ACEOF
12166 if ac_fn_c_try_link "$LINENO"; then :
12167 case "$LIBEXT" in
12168 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12169 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'` ;;
12170 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12171 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12172 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12173 fi ;;
12174 esac
12175 else
12176 ac_cv_lib_soname_Xcomposite=
12178 rm -f core conftest.err conftest.$ac_objext \
12179 conftest$ac_exeext conftest.$ac_ext
12180 LIBS=$ac_check_soname_save_LIBS
12182 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12184 $as_echo "not found" >&6; }
12186 else
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12188 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12190 cat >>confdefs.h <<_ACEOF
12191 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12192 _ACEOF
12197 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12198 case "x$with_xcomposite" in
12199 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12200 xno) ;;
12201 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12202 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12203 esac
12207 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12208 #include <X11/Xlib.h>
12209 #endif
12211 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12213 cat >>confdefs.h <<_ACEOF
12214 #define HAVE_XICCALLBACK_CALLBACK 1
12215 _ACEOF
12219 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12220 #include <X11/Xlib.h>
12221 #endif
12223 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12225 cat >>confdefs.h <<_ACEOF
12226 #define HAVE_XEVENT_XCOOKIE 1
12227 _ACEOF
12234 opengl_msg=""
12235 if test "x$with_opengl" != "xno"
12236 then
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12238 $as_echo_n "checking for -lGL... " >&6; }
12239 if ${ac_cv_lib_soname_GL+:} false; then :
12240 $as_echo_n "(cached) " >&6
12241 else
12242 ac_check_soname_save_LIBS=$LIBS
12243 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12245 /* end confdefs.h. */
12247 /* Override any GCC internal prototype to avoid an error.
12248 Use char because int might match the return type of a GCC
12249 builtin and then its argument prototype would still apply. */
12250 #ifdef __cplusplus
12251 extern "C"
12252 #endif
12253 char glXCreateContext ();
12255 main ()
12257 return glXCreateContext ();
12259 return 0;
12261 _ACEOF
12262 if ac_fn_c_try_link "$LINENO"; then :
12263 case "$LIBEXT" in
12264 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12265 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'` ;;
12266 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12267 if ${ac_cv_lib_soname_GL:+false} :; then :
12268 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12269 fi ;;
12270 esac
12271 else
12272 ac_cv_lib_soname_GL=
12274 rm -f core conftest.err conftest.$ac_objext \
12275 conftest$ac_exeext conftest.$ac_ext
12276 LIBS=$ac_check_soname_save_LIBS
12278 if ${ac_cv_lib_soname_GL:+false} :; then :
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12280 $as_echo "not found" >&6; }
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12282 $as_echo_n "checking for -lGL... " >&6; }
12283 if ${ac_cv_lib_soname_GL+:} false; then :
12284 $as_echo_n "(cached) " >&6
12285 else
12286 ac_check_soname_save_LIBS=$LIBS
12287 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"
12288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12289 /* end confdefs.h. */
12291 /* Override any GCC internal prototype to avoid an error.
12292 Use char because int might match the return type of a GCC
12293 builtin and then its argument prototype would still apply. */
12294 #ifdef __cplusplus
12295 extern "C"
12296 #endif
12297 char glXCreateContext ();
12299 main ()
12301 return glXCreateContext ();
12303 return 0;
12305 _ACEOF
12306 if ac_fn_c_try_link "$LINENO"; then :
12307 case "$LIBEXT" in
12308 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12309 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'` ;;
12310 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12311 if ${ac_cv_lib_soname_GL:+false} :; then :
12312 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12313 fi ;;
12314 esac
12315 else
12316 ac_cv_lib_soname_GL=
12318 rm -f core conftest.err conftest.$ac_objext \
12319 conftest$ac_exeext conftest.$ac_ext
12320 LIBS=$ac_check_soname_save_LIBS
12322 if ${ac_cv_lib_soname_GL:+false} :; then :
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12324 $as_echo "not found" >&6; }
12325 if test -f /usr/X11R6/lib/libGL.a
12326 then
12327 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12328 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12329 else
12330 opengl_msg="No OpenGL library found on this system."
12332 else
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12334 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12336 cat >>confdefs.h <<_ACEOF
12337 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12338 _ACEOF
12340 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"
12342 else
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12344 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12346 cat >>confdefs.h <<_ACEOF
12347 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12348 _ACEOF
12350 OPENGL_LIBS="-lGL"
12352 if test "x$with_glu" != "xno"
12353 then
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12355 $as_echo_n "checking for -lGLU... " >&6; }
12356 if ${ac_cv_lib_soname_GLU+:} false; then :
12357 $as_echo_n "(cached) " >&6
12358 else
12359 ac_check_soname_save_LIBS=$LIBS
12360 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h. */
12364 /* Override any GCC internal prototype to avoid an error.
12365 Use char because int might match the return type of a GCC
12366 builtin and then its argument prototype would still apply. */
12367 #ifdef __cplusplus
12368 extern "C"
12369 #endif
12370 char gluLookAt ();
12372 main ()
12374 return gluLookAt ();
12376 return 0;
12378 _ACEOF
12379 if ac_fn_c_try_link "$LINENO"; then :
12380 case "$LIBEXT" in
12381 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12382 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'` ;;
12383 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12384 if ${ac_cv_lib_soname_GLU:+false} :; then :
12385 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12386 fi ;;
12387 esac
12388 else
12389 ac_cv_lib_soname_GLU=
12391 rm -f core conftest.err conftest.$ac_objext \
12392 conftest$ac_exeext conftest.$ac_ext
12393 LIBS=$ac_check_soname_save_LIBS
12395 if ${ac_cv_lib_soname_GLU:+false} :; then :
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12397 $as_echo "not found" >&6; }
12399 else
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12401 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12403 cat >>confdefs.h <<_ACEOF
12404 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12405 _ACEOF
12409 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12410 case "x$with_glu" in
12411 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12412 xno) ;;
12413 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12414 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12415 esac
12420 if test "x$with_osmesa" != "xno"
12421 then
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12423 $as_echo_n "checking for -lOSMesa... " >&6; }
12424 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12425 $as_echo_n "(cached) " >&6
12426 else
12427 ac_check_soname_save_LIBS=$LIBS
12428 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12430 /* end confdefs.h. */
12432 /* Override any GCC internal prototype to avoid an error.
12433 Use char because int might match the return type of a GCC
12434 builtin and then its argument prototype would still apply. */
12435 #ifdef __cplusplus
12436 extern "C"
12437 #endif
12438 char OSMesaGetProcAddress ();
12440 main ()
12442 return OSMesaGetProcAddress ();
12444 return 0;
12446 _ACEOF
12447 if ac_fn_c_try_link "$LINENO"; then :
12448 case "$LIBEXT" in
12449 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12450 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'` ;;
12451 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12452 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12453 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12454 fi ;;
12455 esac
12456 else
12457 ac_cv_lib_soname_OSMesa=
12459 rm -f core conftest.err conftest.$ac_objext \
12460 conftest$ac_exeext conftest.$ac_ext
12461 LIBS=$ac_check_soname_save_LIBS
12463 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12465 $as_echo "not found" >&6; }
12467 else
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12469 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12471 cat >>confdefs.h <<_ACEOF
12472 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12473 _ACEOF
12477 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12478 case "x$with_osmesa" in
12479 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12480 xno) ;;
12481 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12482 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12483 esac
12488 if test -n "$opengl_msg"; then :
12489 case "x$with_opengl" in
12490 x) as_fn_append wine_warnings "|$opengl_msg
12491 OpenGL and Direct3D won't be supported." ;;
12492 xno) ;;
12493 *) as_fn_error $? "$opengl_msg
12494 OpenGL and Direct3D won't be supported.
12495 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12496 esac
12500 CPPFLAGS="$ac_save_CPPFLAGS"
12501 else
12502 X_CFLAGS=""
12503 X_LIBS=""
12506 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12507 then
12508 if test "x$X_LIBS" = "x"; then :
12509 case "x$with_x" in
12510 xno) ;;
12511 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12512 without X support, which probably isn't what you want. You will need
12513 to install ${notice_platform}development packages of Xlib at the very least.
12514 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12515 esac
12516 enable_winex11_drv=${enable_winex11_drv:-no}
12518 else
12519 if test "x$X_LIBS" = "x"; then :
12520 case "x$with_x" in
12521 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12522 xno) ;;
12523 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12524 This is an error since --with-x was requested." "$LINENO" 5 ;;
12525 esac
12526 enable_winex11_drv=${enable_winex11_drv:-no}
12530 if test "$ac_cv_header_CL_cl_h" = "yes"
12531 then
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12533 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12534 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12535 $as_echo_n "(cached) " >&6
12536 else
12537 ac_check_lib_save_LIBS=$LIBS
12538 LIBS="-lOpenCL $LIBS"
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12542 /* Override any GCC internal prototype to avoid an error.
12543 Use char because int might match the return type of a GCC
12544 builtin and then its argument prototype would still apply. */
12545 #ifdef __cplusplus
12546 extern "C"
12547 #endif
12548 char clGetPlatformInfo ();
12550 main ()
12552 return clGetPlatformInfo ();
12554 return 0;
12556 _ACEOF
12557 if ac_fn_c_try_link "$LINENO"; then :
12558 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12559 else
12560 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12562 rm -f core conftest.err conftest.$ac_objext \
12563 conftest$ac_exeext conftest.$ac_ext
12564 LIBS=$ac_check_lib_save_LIBS
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12567 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12568 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12569 OPENCL_LIBS="-lOpenCL"
12574 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12575 case "x$with_opencl" in
12576 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12577 xno) ;;
12578 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12579 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12580 esac
12581 enable_opencl=${enable_opencl:-no}
12584 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12585 then
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12587 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12588 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12589 $as_echo_n "(cached) " >&6
12590 else
12591 ac_check_lib_save_LIBS=$LIBS
12592 LIBS="-lpcap $LIBS"
12593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12594 /* end confdefs.h. */
12596 /* Override any GCC internal prototype to avoid an error.
12597 Use char because int might match the return type of a GCC
12598 builtin and then its argument prototype would still apply. */
12599 #ifdef __cplusplus
12600 extern "C"
12601 #endif
12602 char pcap_create ();
12604 main ()
12606 return pcap_create ();
12608 return 0;
12610 _ACEOF
12611 if ac_fn_c_try_link "$LINENO"; then :
12612 ac_cv_lib_pcap_pcap_create=yes
12613 else
12614 ac_cv_lib_pcap_pcap_create=no
12616 rm -f core conftest.err conftest.$ac_objext \
12617 conftest$ac_exeext conftest.$ac_ext
12618 LIBS=$ac_check_lib_save_LIBS
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12621 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12622 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12623 PCAP_LIBS="-lpcap"
12628 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12629 case "x$with_pcap" in
12630 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12631 xno) ;;
12632 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12633 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12634 esac
12635 enable_wpcap=${enable_wpcap:-no}
12639 if test "x$with_xml" != "xno"
12640 then
12641 if ${XML2_CFLAGS:+false} :; then :
12642 if ${PKG_CONFIG+:} false; then :
12643 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12646 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12647 if ${XML2_LIBS:+false} :; then :
12648 if ${PKG_CONFIG+:} false; then :
12649 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12652 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12653 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12654 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12655 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12656 ac_save_CPPFLAGS=$CPPFLAGS
12657 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12658 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12659 do :
12660 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12661 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12662 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12663 cat >>confdefs.h <<_ACEOF
12664 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12665 _ACEOF
12669 done
12671 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"
12672 then
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12674 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12675 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12676 $as_echo_n "(cached) " >&6
12677 else
12678 ac_check_lib_save_LIBS=$LIBS
12679 LIBS="-lxml2 $XML2_LIBS $LIBS"
12680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12681 /* end confdefs.h. */
12683 /* Override any GCC internal prototype to avoid an error.
12684 Use char because int might match the return type of a GCC
12685 builtin and then its argument prototype would still apply. */
12686 #ifdef __cplusplus
12687 extern "C"
12688 #endif
12689 char xmlParseMemory ();
12691 main ()
12693 return xmlParseMemory ();
12695 return 0;
12697 _ACEOF
12698 if ac_fn_c_try_link "$LINENO"; then :
12699 ac_cv_lib_xml2_xmlParseMemory=yes
12700 else
12701 ac_cv_lib_xml2_xmlParseMemory=no
12703 rm -f core conftest.err conftest.$ac_objext \
12704 conftest$ac_exeext conftest.$ac_ext
12705 LIBS=$ac_check_lib_save_LIBS
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12708 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12709 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12711 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12713 else
12714 XML2_LIBS=""
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12718 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12719 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12720 $as_echo_n "(cached) " >&6
12721 else
12722 ac_check_lib_save_LIBS=$LIBS
12723 LIBS="-lxml2 $XML2_LIBS $LIBS"
12724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12725 /* end confdefs.h. */
12727 /* Override any GCC internal prototype to avoid an error.
12728 Use char because int might match the return type of a GCC
12729 builtin and then its argument prototype would still apply. */
12730 #ifdef __cplusplus
12731 extern "C"
12732 #endif
12733 char xmlReadMemory ();
12735 main ()
12737 return xmlReadMemory ();
12739 return 0;
12741 _ACEOF
12742 if ac_fn_c_try_link "$LINENO"; then :
12743 ac_cv_lib_xml2_xmlReadMemory=yes
12744 else
12745 ac_cv_lib_xml2_xmlReadMemory=no
12747 rm -f core conftest.err conftest.$ac_objext \
12748 conftest$ac_exeext conftest.$ac_ext
12749 LIBS=$ac_check_lib_save_LIBS
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12752 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12753 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12755 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12760 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12761 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12762 $as_echo_n "(cached) " >&6
12763 else
12764 ac_check_lib_save_LIBS=$LIBS
12765 LIBS="-lxml2 $XML2_LIBS $LIBS"
12766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12767 /* end confdefs.h. */
12769 /* Override any GCC internal prototype to avoid an error.
12770 Use char because int might match the return type of a GCC
12771 builtin and then its argument prototype would still apply. */
12772 #ifdef __cplusplus
12773 extern "C"
12774 #endif
12775 char xmlNewDocPI ();
12777 main ()
12779 return xmlNewDocPI ();
12781 return 0;
12783 _ACEOF
12784 if ac_fn_c_try_link "$LINENO"; then :
12785 ac_cv_lib_xml2_xmlNewDocPI=yes
12786 else
12787 ac_cv_lib_xml2_xmlNewDocPI=no
12789 rm -f core conftest.err conftest.$ac_objext \
12790 conftest$ac_exeext conftest.$ac_ext
12791 LIBS=$ac_check_lib_save_LIBS
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12794 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12795 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12797 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12802 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12803 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12804 $as_echo_n "(cached) " >&6
12805 else
12806 ac_check_lib_save_LIBS=$LIBS
12807 LIBS="-lxml2 $XML2_LIBS $LIBS"
12808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12809 /* end confdefs.h. */
12811 /* Override any GCC internal prototype to avoid an error.
12812 Use char because int might match the return type of a GCC
12813 builtin and then its argument prototype would still apply. */
12814 #ifdef __cplusplus
12815 extern "C"
12816 #endif
12817 char xmlSchemaSetParserStructuredErrors ();
12819 main ()
12821 return xmlSchemaSetParserStructuredErrors ();
12823 return 0;
12825 _ACEOF
12826 if ac_fn_c_try_link "$LINENO"; then :
12827 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12828 else
12829 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12831 rm -f core conftest.err conftest.$ac_objext \
12832 conftest$ac_exeext conftest.$ac_ext
12833 LIBS=$ac_check_lib_save_LIBS
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12836 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12837 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12839 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12844 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12845 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12846 $as_echo_n "(cached) " >&6
12847 else
12848 ac_check_lib_save_LIBS=$LIBS
12849 LIBS="-lxml2 $XML2_LIBS $LIBS"
12850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12851 /* end confdefs.h. */
12853 /* Override any GCC internal prototype to avoid an error.
12854 Use char because int might match the return type of a GCC
12855 builtin and then its argument prototype would still apply. */
12856 #ifdef __cplusplus
12857 extern "C"
12858 #endif
12859 char xmlSchemaSetValidStructuredErrors ();
12861 main ()
12863 return xmlSchemaSetValidStructuredErrors ();
12865 return 0;
12867 _ACEOF
12868 if ac_fn_c_try_link "$LINENO"; then :
12869 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12870 else
12871 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12873 rm -f core conftest.err conftest.$ac_objext \
12874 conftest$ac_exeext conftest.$ac_ext
12875 LIBS=$ac_check_lib_save_LIBS
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12878 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12879 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12881 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12886 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12887 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12888 $as_echo_n "(cached) " >&6
12889 else
12890 ac_check_lib_save_LIBS=$LIBS
12891 LIBS="-lxml2 $XML2_LIBS $LIBS"
12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12895 /* Override any GCC internal prototype to avoid an error.
12896 Use char because int might match the return type of a GCC
12897 builtin and then its argument prototype would still apply. */
12898 #ifdef __cplusplus
12899 extern "C"
12900 #endif
12901 char xmlFirstElementChild ();
12903 main ()
12905 return xmlFirstElementChild ();
12907 return 0;
12909 _ACEOF
12910 if ac_fn_c_try_link "$LINENO"; then :
12911 ac_cv_lib_xml2_xmlFirstElementChild=yes
12912 else
12913 ac_cv_lib_xml2_xmlFirstElementChild=no
12915 rm -f core conftest.err conftest.$ac_objext \
12916 conftest$ac_exeext conftest.$ac_ext
12917 LIBS=$ac_check_lib_save_LIBS
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12920 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12921 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12923 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12927 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12929 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12931 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12935 else
12936 XML2_CFLAGS=""
12937 XML2_LIBS=""
12939 CPPFLAGS=$ac_save_CPPFLAGS
12940 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12941 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12944 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12945 case "x$with_xml" in
12946 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12947 xno) ;;
12948 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12949 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12950 esac
12954 if test "x$with_xslt" != "xno"
12955 then
12956 if ${XSLT_CFLAGS:+false} :; then :
12957 if ${PKG_CONFIG+:} false; then :
12958 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12961 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12962 if ${XSLT_LIBS:+false} :; then :
12963 if ${PKG_CONFIG+:} false; then :
12964 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12967 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12968 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12969 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12970 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12971 ac_save_CPPFLAGS=$CPPFLAGS
12972 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12973 for ac_header in libxslt/pattern.h libxslt/transform.h
12974 do :
12975 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12976 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12977 # include <libxslt/pattern.h>
12978 #endif
12980 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12981 cat >>confdefs.h <<_ACEOF
12982 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12983 _ACEOF
12987 done
12989 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12990 then
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12992 $as_echo_n "checking for -lxslt... " >&6; }
12993 if ${ac_cv_lib_soname_xslt+:} false; then :
12994 $as_echo_n "(cached) " >&6
12995 else
12996 ac_check_soname_save_LIBS=$LIBS
12997 LIBS="-lxslt $XSLT_LIBS $LIBS"
12998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12999 /* end confdefs.h. */
13001 /* Override any GCC internal prototype to avoid an error.
13002 Use char because int might match the return type of a GCC
13003 builtin and then its argument prototype would still apply. */
13004 #ifdef __cplusplus
13005 extern "C"
13006 #endif
13007 char xsltCompilePattern ();
13009 main ()
13011 return xsltCompilePattern ();
13013 return 0;
13015 _ACEOF
13016 if ac_fn_c_try_link "$LINENO"; then :
13017 case "$LIBEXT" in
13018 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13019 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'` ;;
13020 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13021 if ${ac_cv_lib_soname_xslt:+false} :; then :
13022 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13023 fi ;;
13024 esac
13025 else
13026 ac_cv_lib_soname_xslt=
13028 rm -f core conftest.err conftest.$ac_objext \
13029 conftest$ac_exeext conftest.$ac_ext
13030 LIBS=$ac_check_soname_save_LIBS
13032 if ${ac_cv_lib_soname_xslt:+false} :; then :
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13034 $as_echo "not found" >&6; }
13036 else
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13038 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13040 cat >>confdefs.h <<_ACEOF
13041 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13042 _ACEOF
13046 else
13047 XSLT_CFLAGS=""
13049 CPPFLAGS=$ac_save_CPPFLAGS
13050 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13051 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13054 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13055 case "x$with_xslt" in
13056 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13057 xno) ;;
13058 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13059 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13060 esac
13064 if test "x$with_inotify" != "xno"
13065 then
13066 if ${INOTIFY_CFLAGS:+false} :; then :
13067 if ${PKG_CONFIG+:} false; then :
13068 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13072 if ${INOTIFY_LIBS:+false} :; then :
13073 if ${PKG_CONFIG+:} false; then :
13074 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13079 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13080 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13081 ac_save_CPPFLAGS=$CPPFLAGS
13082 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13083 for ac_header in sys/inotify.h
13084 do :
13085 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13086 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13087 cat >>confdefs.h <<_ACEOF
13088 #define HAVE_SYS_INOTIFY_H 1
13089 _ACEOF
13093 done
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13096 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13097 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13098 $as_echo_n "(cached) " >&6
13099 else
13100 ac_check_lib_save_LIBS=$LIBS
13101 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13103 /* end confdefs.h. */
13105 /* Override any GCC internal prototype to avoid an error.
13106 Use char because int might match the return type of a GCC
13107 builtin and then its argument prototype would still apply. */
13108 #ifdef __cplusplus
13109 extern "C"
13110 #endif
13111 char inotify_add_watch ();
13113 main ()
13115 return inotify_add_watch ();
13117 return 0;
13119 _ACEOF
13120 if ac_fn_c_try_link "$LINENO"; then :
13121 ac_cv_lib_inotify_inotify_add_watch=yes
13122 else
13123 ac_cv_lib_inotify_inotify_add_watch=no
13125 rm -f core conftest.err conftest.$ac_objext \
13126 conftest$ac_exeext conftest.$ac_ext
13127 LIBS=$ac_check_lib_save_LIBS
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13130 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13131 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13133 else
13134 INOTIFY_LIBS=""
13137 CPPFLAGS=$ac_save_CPPFLAGS
13138 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13139 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13142 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13143 case "x$with_inotify" in
13144 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13145 xno) ;;
13146 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13147 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13148 esac
13152 if test "x$with_dbus" != "xno"
13153 then
13154 if ${DBUS_CFLAGS:+false} :; then :
13155 if ${PKG_CONFIG+:} false; then :
13156 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13160 if ${DBUS_LIBS:+false} :; then :
13161 if ${PKG_CONFIG+:} false; then :
13162 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13167 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13168 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13169 ac_save_CPPFLAGS=$CPPFLAGS
13170 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13171 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13172 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13174 $as_echo_n "checking for -ldbus-1... " >&6; }
13175 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13176 $as_echo_n "(cached) " >&6
13177 else
13178 ac_check_soname_save_LIBS=$LIBS
13179 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13181 /* end confdefs.h. */
13183 /* Override any GCC internal prototype to avoid an error.
13184 Use char because int might match the return type of a GCC
13185 builtin and then its argument prototype would still apply. */
13186 #ifdef __cplusplus
13187 extern "C"
13188 #endif
13189 char dbus_connection_close ();
13191 main ()
13193 return dbus_connection_close ();
13195 return 0;
13197 _ACEOF
13198 if ac_fn_c_try_link "$LINENO"; then :
13199 case "$LIBEXT" in
13200 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13201 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'` ;;
13202 *) 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'`
13203 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13204 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13205 fi ;;
13206 esac
13207 else
13208 ac_cv_lib_soname_dbus_1=
13210 rm -f core conftest.err conftest.$ac_objext \
13211 conftest$ac_exeext conftest.$ac_ext
13212 LIBS=$ac_check_soname_save_LIBS
13214 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13216 $as_echo "not found" >&6; }
13217 DBUS_CFLAGS=""
13218 else
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13220 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13222 cat >>confdefs.h <<_ACEOF
13223 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13224 _ACEOF
13228 else
13229 DBUS_CFLAGS=""
13233 CPPFLAGS=$ac_save_CPPFLAGS
13234 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13235 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13238 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13239 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13240 case "x$with_dbus" in
13241 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13242 xno) ;;
13243 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13244 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13245 esac
13249 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13250 then
13251 if ${HAL_CFLAGS:+false} :; then :
13252 if ${PKG_CONFIG+:} false; then :
13253 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13257 if ${HAL_LIBS:+false} :; then :
13258 if ${PKG_CONFIG+:} false; then :
13259 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13263 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13264 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13265 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13266 ac_save_CPPFLAGS=$CPPFLAGS
13267 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13268 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13269 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13271 $as_echo_n "checking for -lhal... " >&6; }
13272 if ${ac_cv_lib_soname_hal+:} false; then :
13273 $as_echo_n "(cached) " >&6
13274 else
13275 ac_check_soname_save_LIBS=$LIBS
13276 LIBS="-lhal $HAL_LIBS $LIBS"
13277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13278 /* end confdefs.h. */
13280 /* Override any GCC internal prototype to avoid an error.
13281 Use char because int might match the return type of a GCC
13282 builtin and then its argument prototype would still apply. */
13283 #ifdef __cplusplus
13284 extern "C"
13285 #endif
13286 char libhal_ctx_new ();
13288 main ()
13290 return libhal_ctx_new ();
13292 return 0;
13294 _ACEOF
13295 if ac_fn_c_try_link "$LINENO"; then :
13296 case "$LIBEXT" in
13297 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13298 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'` ;;
13299 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13300 if ${ac_cv_lib_soname_hal:+false} :; then :
13301 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13302 fi ;;
13303 esac
13304 else
13305 ac_cv_lib_soname_hal=
13307 rm -f core conftest.err conftest.$ac_objext \
13308 conftest$ac_exeext conftest.$ac_ext
13309 LIBS=$ac_check_soname_save_LIBS
13311 if ${ac_cv_lib_soname_hal:+false} :; then :
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13313 $as_echo "not found" >&6; }
13314 HAL_CFLAGS=""
13315 else
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13317 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13319 cat >>confdefs.h <<_ACEOF
13320 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13321 _ACEOF
13325 else
13326 HAL_CFLAGS=""
13330 CPPFLAGS=$ac_save_CPPFLAGS
13331 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13332 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13334 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13335 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13336 case "x$with_hal" in
13337 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13338 xno) ;;
13339 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13340 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13341 esac
13346 if test "x$with_gnutls" != "xno"
13347 then
13348 if ${GNUTLS_CFLAGS:+false} :; then :
13349 if ${PKG_CONFIG+:} false; then :
13350 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13354 if ${GNUTLS_LIBS:+false} :; then :
13355 if ${PKG_CONFIG+:} false; then :
13356 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13361 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13362 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13363 ac_save_CPPFLAGS=$CPPFLAGS
13364 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13365 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13366 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13368 /* end confdefs.h. */
13369 #include <gnutls/gnutls.h>
13370 #include <gnutls/crypto.h>
13372 main ()
13374 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13376 return 0;
13378 _ACEOF
13379 if ac_fn_c_try_compile "$LINENO"; then :
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13381 $as_echo_n "checking for -lgnutls... " >&6; }
13382 if ${ac_cv_lib_soname_gnutls+:} false; then :
13383 $as_echo_n "(cached) " >&6
13384 else
13385 ac_check_soname_save_LIBS=$LIBS
13386 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13388 /* end confdefs.h. */
13390 /* Override any GCC internal prototype to avoid an error.
13391 Use char because int might match the return type of a GCC
13392 builtin and then its argument prototype would still apply. */
13393 #ifdef __cplusplus
13394 extern "C"
13395 #endif
13396 char gnutls_global_init ();
13398 main ()
13400 return gnutls_global_init ();
13402 return 0;
13404 _ACEOF
13405 if ac_fn_c_try_link "$LINENO"; then :
13406 case "$LIBEXT" in
13407 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13408 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'` ;;
13409 *) 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'`
13410 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13411 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'`
13412 fi ;;
13413 esac
13414 else
13415 ac_cv_lib_soname_gnutls=
13417 rm -f core conftest.err conftest.$ac_objext \
13418 conftest$ac_exeext conftest.$ac_ext
13419 LIBS=$ac_check_soname_save_LIBS
13421 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13423 $as_echo "not found" >&6; }
13424 GNUTLS_CFLAGS=""
13425 else
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13427 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13429 cat >>confdefs.h <<_ACEOF
13430 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13431 _ACEOF
13435 ac_wine_check_funcs_save_LIBS="$LIBS"
13436 LIBS="$LIBS $GNUTLS_LIBS"
13437 for ac_func in gnutls_cipher_init
13438 do :
13439 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13440 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13441 cat >>confdefs.h <<_ACEOF
13442 #define HAVE_GNUTLS_CIPHER_INIT 1
13443 _ACEOF
13445 else
13446 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13448 done
13450 LIBS="$ac_wine_check_funcs_save_LIBS"
13452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13453 else
13454 GNUTLS_CFLAGS=""
13458 CPPFLAGS=$ac_save_CPPFLAGS
13459 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13460 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13463 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13464 case "x$with_gnutls" in
13465 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13466 xno) ;;
13467 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13468 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13469 esac
13473 CURSES_LIBS=""
13474 if test "$ac_cv_header_ncurses_h" = "yes"
13475 then
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13477 $as_echo_n "checking for -lncurses... " >&6; }
13478 if ${ac_cv_lib_soname_ncurses+:} false; then :
13479 $as_echo_n "(cached) " >&6
13480 else
13481 ac_check_soname_save_LIBS=$LIBS
13482 LIBS="-lncurses $LIBS"
13483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13484 /* end confdefs.h. */
13486 /* Override any GCC internal prototype to avoid an error.
13487 Use char because int might match the return type of a GCC
13488 builtin and then its argument prototype would still apply. */
13489 #ifdef __cplusplus
13490 extern "C"
13491 #endif
13492 char waddch ();
13494 main ()
13496 return waddch ();
13498 return 0;
13500 _ACEOF
13501 if ac_fn_c_try_link "$LINENO"; then :
13502 case "$LIBEXT" in
13503 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13504 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'` ;;
13505 *) 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'`
13506 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13507 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13508 fi ;;
13509 esac
13510 else
13511 ac_cv_lib_soname_ncurses=
13513 rm -f core conftest.err conftest.$ac_objext \
13514 conftest$ac_exeext conftest.$ac_ext
13515 LIBS=$ac_check_soname_save_LIBS
13517 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13519 $as_echo "not found" >&6; }
13521 else
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13523 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13525 cat >>confdefs.h <<_ACEOF
13526 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13527 _ACEOF
13529 CURSES_LIBS="-lncurses"
13531 elif test "$ac_cv_header_curses_h" = "yes"
13532 then
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13534 $as_echo_n "checking for -lcurses... " >&6; }
13535 if ${ac_cv_lib_soname_curses+:} false; then :
13536 $as_echo_n "(cached) " >&6
13537 else
13538 ac_check_soname_save_LIBS=$LIBS
13539 LIBS="-lcurses $LIBS"
13540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13541 /* end confdefs.h. */
13543 /* Override any GCC internal prototype to avoid an error.
13544 Use char because int might match the return type of a GCC
13545 builtin and then its argument prototype would still apply. */
13546 #ifdef __cplusplus
13547 extern "C"
13548 #endif
13549 char waddch ();
13551 main ()
13553 return waddch ();
13555 return 0;
13557 _ACEOF
13558 if ac_fn_c_try_link "$LINENO"; then :
13559 case "$LIBEXT" in
13560 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13561 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'` ;;
13562 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13563 if ${ac_cv_lib_soname_curses:+false} :; then :
13564 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13565 fi ;;
13566 esac
13567 else
13568 ac_cv_lib_soname_curses=
13570 rm -f core conftest.err conftest.$ac_objext \
13571 conftest$ac_exeext conftest.$ac_ext
13572 LIBS=$ac_check_soname_save_LIBS
13574 if ${ac_cv_lib_soname_curses:+false} :; then :
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13576 $as_echo "not found" >&6; }
13578 else
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13580 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13582 cat >>confdefs.h <<_ACEOF
13583 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13584 _ACEOF
13586 CURSES_LIBS="-lcurses"
13589 ac_save_LIBS="$LIBS"
13590 LIBS="$LIBS $CURSES_LIBS"
13591 for ac_func in mousemask
13592 do :
13593 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13594 if test "x$ac_cv_func_mousemask" = xyes; then :
13595 cat >>confdefs.h <<_ACEOF
13596 #define HAVE_MOUSEMASK 1
13597 _ACEOF
13600 done
13602 LIBS="$ac_save_LIBS"
13603 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13604 case "x$with_curses" in
13605 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13606 xno) ;;
13607 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13608 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13609 esac
13613 if test "x$with_sane" != "xno"
13614 then
13615 if ${SANE_CFLAGS:+false} :; then :
13616 if ${PKG_CONFIG+:} false; then :
13617 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13620 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13621 if ${SANE_LIBS:+false} :; then :
13622 if ${PKG_CONFIG+:} false; then :
13623 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13626 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13628 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13629 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13630 ac_save_CPPFLAGS=$CPPFLAGS
13631 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13632 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13633 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13635 $as_echo_n "checking for -lsane... " >&6; }
13636 if ${ac_cv_lib_soname_sane+:} false; then :
13637 $as_echo_n "(cached) " >&6
13638 else
13639 ac_check_soname_save_LIBS=$LIBS
13640 LIBS="-lsane $SANE_LIBS $LIBS"
13641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13642 /* end confdefs.h. */
13644 /* Override any GCC internal prototype to avoid an error.
13645 Use char because int might match the return type of a GCC
13646 builtin and then its argument prototype would still apply. */
13647 #ifdef __cplusplus
13648 extern "C"
13649 #endif
13650 char sane_init ();
13652 main ()
13654 return sane_init ();
13656 return 0;
13658 _ACEOF
13659 if ac_fn_c_try_link "$LINENO"; then :
13660 case "$LIBEXT" in
13661 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13662 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'` ;;
13663 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13664 if ${ac_cv_lib_soname_sane:+false} :; then :
13665 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13666 fi ;;
13667 esac
13668 else
13669 ac_cv_lib_soname_sane=
13671 rm -f core conftest.err conftest.$ac_objext \
13672 conftest$ac_exeext conftest.$ac_ext
13673 LIBS=$ac_check_soname_save_LIBS
13675 if ${ac_cv_lib_soname_sane:+false} :; then :
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13677 $as_echo "not found" >&6; }
13678 SANE_CFLAGS=""
13679 else
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13681 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13683 cat >>confdefs.h <<_ACEOF
13684 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13685 _ACEOF
13689 else
13690 SANE_CFLAGS=""
13694 CPPFLAGS=$ac_save_CPPFLAGS
13695 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13696 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13699 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13700 case "x$with_sane" in
13701 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13702 xno) ;;
13703 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13704 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13705 esac
13709 if test "x$with_v4l2" != "xno"
13710 then
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13712 $as_echo_n "checking for -lv4l2... " >&6; }
13713 if ${ac_cv_lib_soname_v4l2+:} false; then :
13714 $as_echo_n "(cached) " >&6
13715 else
13716 ac_check_soname_save_LIBS=$LIBS
13717 LIBS="-lv4l2 $LIBS"
13718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13719 /* end confdefs.h. */
13721 /* Override any GCC internal prototype to avoid an error.
13722 Use char because int might match the return type of a GCC
13723 builtin and then its argument prototype would still apply. */
13724 #ifdef __cplusplus
13725 extern "C"
13726 #endif
13727 char v4l2_open ();
13729 main ()
13731 return v4l2_open ();
13733 return 0;
13735 _ACEOF
13736 if ac_fn_c_try_link "$LINENO"; then :
13737 case "$LIBEXT" in
13738 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13739 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'` ;;
13740 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13741 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13742 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13743 fi ;;
13744 esac
13745 else
13746 ac_cv_lib_soname_v4l2=
13748 rm -f core conftest.err conftest.$ac_objext \
13749 conftest$ac_exeext conftest.$ac_ext
13750 LIBS=$ac_check_soname_save_LIBS
13752 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13754 $as_echo "not found" >&6; }
13756 else
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13758 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13760 cat >>confdefs.h <<_ACEOF
13761 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13762 _ACEOF
13767 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13768 case "x$with_v4l2" in
13769 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13770 xno) ;;
13771 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13772 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13773 esac
13777 if test "x$with_gphoto" != "xno"
13778 then
13779 if ${GPHOTO2_CFLAGS:+false} :; then :
13780 if ${PKG_CONFIG+:} false; then :
13781 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13784 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13785 if ${GPHOTO2_LIBS:+false} :; then :
13786 if ${PKG_CONFIG+:} false; then :
13787 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13790 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13791 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13792 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13793 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13794 ac_save_CPPFLAGS=$CPPFLAGS
13795 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13796 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13797 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13799 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13800 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 ac_check_lib_save_LIBS=$LIBS
13804 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h. */
13808 /* Override any GCC internal prototype to avoid an error.
13809 Use char because int might match the return type of a GCC
13810 builtin and then its argument prototype would still apply. */
13811 #ifdef __cplusplus
13812 extern "C"
13813 #endif
13814 char gp_camera_new ();
13816 main ()
13818 return gp_camera_new ();
13820 return 0;
13822 _ACEOF
13823 if ac_fn_c_try_link "$LINENO"; then :
13824 ac_cv_lib_gphoto2_gp_camera_new=yes
13825 else
13826 ac_cv_lib_gphoto2_gp_camera_new=no
13828 rm -f core conftest.err conftest.$ac_objext \
13829 conftest$ac_exeext conftest.$ac_ext
13830 LIBS=$ac_check_lib_save_LIBS
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13833 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13834 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13836 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13838 else
13839 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13842 else
13843 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13847 CPPFLAGS=$ac_save_CPPFLAGS
13848 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13849 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13851 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13852 if ${PKG_CONFIG+:} false; then :
13853 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13856 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13857 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13858 if ${PKG_CONFIG+:} false; then :
13859 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13862 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13863 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13864 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13865 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13866 ac_save_CPPFLAGS=$CPPFLAGS
13867 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13868 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13869 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13871 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13872 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13873 $as_echo_n "(cached) " >&6
13874 else
13875 ac_check_lib_save_LIBS=$LIBS
13876 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13880 /* Override any GCC internal prototype to avoid an error.
13881 Use char because int might match the return type of a GCC
13882 builtin and then its argument prototype would still apply. */
13883 #ifdef __cplusplus
13884 extern "C"
13885 #endif
13886 char gp_port_info_list_new ();
13888 main ()
13890 return gp_port_info_list_new ();
13892 return 0;
13894 _ACEOF
13895 if ac_fn_c_try_link "$LINENO"; then :
13896 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13897 else
13898 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13900 rm -f core conftest.err conftest.$ac_objext \
13901 conftest$ac_exeext conftest.$ac_ext
13902 LIBS=$ac_check_lib_save_LIBS
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13905 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13906 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13908 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13910 else
13911 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13914 else
13915 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13919 CPPFLAGS=$ac_save_CPPFLAGS
13920 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13921 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13924 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13925 case "x$with_gphoto" in
13926 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13927 xno) ;;
13928 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13929 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13930 esac
13933 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13934 case "x$with_gphoto" in
13935 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13936 xno) ;;
13937 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13938 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13939 esac
13944 if test "$ac_cv_header_resolv_h" = "yes"
13945 then
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13947 $as_echo_n "checking for resolver library... " >&6; }
13948 if ${ac_cv_have_resolv+:} false; then :
13949 $as_echo_n "(cached) " >&6
13950 else
13951 ac_save_LIBS="$LIBS"
13952 for lib in '' -lresolv
13954 LIBS="$lib $ac_save_LIBS"
13955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13956 /* end confdefs.h. */
13957 #ifdef HAVE_NETINET_IN_H
13958 #include <netinet/in.h>
13959 #endif
13960 #include <resolv.h>
13962 main ()
13964 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13966 return 0;
13968 _ACEOF
13969 if ac_fn_c_try_link "$LINENO"; then :
13970 ac_cv_have_resolv=${lib:-"none required"}
13971 else
13972 ac_cv_have_resolv="not found"
13974 rm -f core conftest.err conftest.$ac_objext \
13975 conftest$ac_exeext conftest.$ac_ext
13976 test "x$ac_cv_have_resolv" = "xnot found" || break
13977 done
13978 LIBS="$ac_save_LIBS"
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13981 $as_echo "$ac_cv_have_resolv" >&6; }
13983 case "$ac_cv_have_resolv" in
13984 "not found") ;;
13985 "none required")
13987 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13990 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13992 RESOLV_LIBS=$ac_cv_have_resolv
13994 esac
13997 if test "x$with_cms" != "xno"
13998 then
13999 if ${LCMS2_CFLAGS:+false} :; then :
14000 if ${PKG_CONFIG+:} false; then :
14001 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14005 if ${LCMS2_LIBS:+false} :; then :
14006 if ${PKG_CONFIG+:} false; then :
14007 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14011 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14012 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14013 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14014 ac_save_CPPFLAGS=$CPPFLAGS
14015 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14016 for ac_header in lcms2.h
14017 do :
14018 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14019 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14020 cat >>confdefs.h <<_ACEOF
14021 #define HAVE_LCMS2_H 1
14022 _ACEOF
14026 done
14028 if test "$ac_cv_header_lcms2_h" = "yes"
14029 then
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14031 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14032 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14033 $as_echo_n "(cached) " >&6
14034 else
14035 ac_check_lib_save_LIBS=$LIBS
14036 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14038 /* end confdefs.h. */
14040 /* Override any GCC internal prototype to avoid an error.
14041 Use char because int might match the return type of a GCC
14042 builtin and then its argument prototype would still apply. */
14043 #ifdef __cplusplus
14044 extern "C"
14045 #endif
14046 char cmsOpenProfileFromFile ();
14048 main ()
14050 return cmsOpenProfileFromFile ();
14052 return 0;
14054 _ACEOF
14055 if ac_fn_c_try_link "$LINENO"; then :
14056 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14057 else
14058 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14060 rm -f core conftest.err conftest.$ac_objext \
14061 conftest$ac_exeext conftest.$ac_ext
14062 LIBS=$ac_check_lib_save_LIBS
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14065 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14066 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14068 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14070 else
14071 LCMS2_LIBS=""
14074 else
14075 LCMS2_CFLAGS=""
14076 LCMS2_LIBS=""
14078 CPPFLAGS=$ac_save_CPPFLAGS
14079 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14080 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14083 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14084 case "x$with_cms" in
14085 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14086 xno) ;;
14087 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14088 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14089 esac
14093 if test "x$with_freetype" != "xno"
14094 then
14095 if ${FREETYPE_CFLAGS:+false} :; then :
14096 if ${PKG_CONFIG+:} false; then :
14097 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14100 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14101 if ${FREETYPE_LIBS:+false} :; then :
14102 if ${PKG_CONFIG+:} false; then :
14103 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14106 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14107 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14108 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14109 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14110 ac_save_CPPFLAGS=$CPPFLAGS
14111 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14112 for ac_header in ft2build.h
14113 do :
14114 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14115 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14116 cat >>confdefs.h <<_ACEOF
14117 #define HAVE_FT2BUILD_H 1
14118 _ACEOF
14122 done
14124 if test "$ac_cv_header_ft2build_h" = "yes"
14125 then
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14127 $as_echo_n "checking for -lfreetype... " >&6; }
14128 if ${ac_cv_lib_soname_freetype+:} false; then :
14129 $as_echo_n "(cached) " >&6
14130 else
14131 ac_check_soname_save_LIBS=$LIBS
14132 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14134 /* end confdefs.h. */
14136 /* Override any GCC internal prototype to avoid an error.
14137 Use char because int might match the return type of a GCC
14138 builtin and then its argument prototype would still apply. */
14139 #ifdef __cplusplus
14140 extern "C"
14141 #endif
14142 char FT_Init_FreeType ();
14144 main ()
14146 return FT_Init_FreeType ();
14148 return 0;
14150 _ACEOF
14151 if ac_fn_c_try_link "$LINENO"; then :
14152 case "$LIBEXT" in
14153 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14154 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'` ;;
14155 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14156 if ${ac_cv_lib_soname_freetype:+false} :; then :
14157 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14158 fi ;;
14159 esac
14160 else
14161 ac_cv_lib_soname_freetype=
14163 rm -f core conftest.err conftest.$ac_objext \
14164 conftest$ac_exeext conftest.$ac_ext
14165 LIBS=$ac_check_soname_save_LIBS
14167 if ${ac_cv_lib_soname_freetype:+false} :; then :
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14169 $as_echo "not found" >&6; }
14170 FREETYPE_LIBS=""
14171 else
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14173 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14175 cat >>confdefs.h <<_ACEOF
14176 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14177 _ACEOF
14180 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14182 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14183 #include FT_MODULE_H
14185 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14187 cat >>confdefs.h <<_ACEOF
14188 #define HAVE_FT_TRUETYPEENGINETYPE 1
14189 _ACEOF
14195 else
14196 FREETYPE_CFLAGS=""
14197 FREETYPE_LIBS=""
14199 CPPFLAGS=$ac_save_CPPFLAGS
14200 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14201 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14204 if test "x$ac_cv_lib_soname_freetype" = x; then :
14205 case "x$with_freetype" in
14206 xno) ;;
14207 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14208 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14209 esac
14210 enable_fonts=${enable_fonts:-no}
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14214 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14215 if ${ac_cv_c_ppdev+:} false; then :
14216 $as_echo_n "(cached) " >&6
14217 else
14218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14219 /* end confdefs.h. */
14220 #ifdef HAVE_SYS_IOCTL_H
14221 # include <sys/ioctl.h>
14222 #endif
14223 #include <linux/ppdev.h>
14225 main ()
14227 ioctl (1,PPCLAIM,0)
14229 return 0;
14231 _ACEOF
14232 if ac_fn_c_try_compile "$LINENO"; then :
14233 ac_cv_c_ppdev="yes"
14234 else
14235 ac_cv_c_ppdev="no"
14237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14240 $as_echo "$ac_cv_c_ppdev" >&6; }
14241 if test "$ac_cv_c_ppdev" = "yes"
14242 then
14244 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14248 ac_wine_check_funcs_save_LIBS="$LIBS"
14249 LIBS="$LIBS "
14250 for ac_func in \
14251 pthread_getthreadid_np \
14252 $PTHREAD_LIBS
14253 do :
14254 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14255 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14256 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14257 cat >>confdefs.h <<_ACEOF
14258 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14259 _ACEOF
14262 done
14264 LIBS="$ac_wine_check_funcs_save_LIBS"
14266 if test "$ac_cv_header_zlib_h" = "yes"
14267 then
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14269 $as_echo_n "checking for inflate in -lz... " >&6; }
14270 if ${ac_cv_lib_z_inflate+:} false; then :
14271 $as_echo_n "(cached) " >&6
14272 else
14273 ac_check_lib_save_LIBS=$LIBS
14274 LIBS="-lz $LIBS"
14275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14276 /* end confdefs.h. */
14278 /* Override any GCC internal prototype to avoid an error.
14279 Use char because int might match the return type of a GCC
14280 builtin and then its argument prototype would still apply. */
14281 #ifdef __cplusplus
14282 extern "C"
14283 #endif
14284 char inflate ();
14286 main ()
14288 return inflate ();
14290 return 0;
14292 _ACEOF
14293 if ac_fn_c_try_link "$LINENO"; then :
14294 ac_cv_lib_z_inflate=yes
14295 else
14296 ac_cv_lib_z_inflate=no
14298 rm -f core conftest.err conftest.$ac_objext \
14299 conftest$ac_exeext conftest.$ac_ext
14300 LIBS=$ac_check_lib_save_LIBS
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14303 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14304 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14306 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14308 Z_LIBS="-lz"
14313 if test "x$Z_LIBS" = "x"; then :
14314 case "x$with_zlib" in
14315 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14316 xno) ;;
14317 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14318 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14319 esac
14323 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14324 then
14325 if test "$ac_cv_header_gettext_po_h" = "yes"
14326 then
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14328 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14329 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14330 $as_echo_n "(cached) " >&6
14331 else
14332 ac_check_lib_save_LIBS=$LIBS
14333 LIBS="-lgettextpo $LIBS"
14334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14335 /* end confdefs.h. */
14337 /* Override any GCC internal prototype to avoid an error.
14338 Use char because int might match the return type of a GCC
14339 builtin and then its argument prototype would still apply. */
14340 #ifdef __cplusplus
14341 extern "C"
14342 #endif
14343 char po_message_msgctxt ();
14345 main ()
14347 return po_message_msgctxt ();
14349 return 0;
14351 _ACEOF
14352 if ac_fn_c_try_link "$LINENO"; then :
14353 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14354 else
14355 ac_cv_lib_gettextpo_po_message_msgctxt=no
14357 rm -f core conftest.err conftest.$ac_objext \
14358 conftest$ac_exeext conftest.$ac_ext
14359 LIBS=$ac_check_lib_save_LIBS
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14362 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14363 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14365 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14367 GETTEXTPO_LIBS="-lgettextpo"
14372 if test "x$GETTEXTPO_LIBS" = "x"; then :
14373 case "x$with_gettextpo" in
14374 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14375 xno) ;;
14376 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14377 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14378 esac
14381 if test "$srcdir" != .; then :
14382 case "x$with_gettextpo" in
14383 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14384 xno) ;;
14385 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14386 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14387 esac
14392 if test "x$with_pulse" != "xno";
14393 then
14394 if ${PULSE_CFLAGS:+false} :; then :
14395 if ${PKG_CONFIG+:} false; then :
14396 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14400 if ${PULSE_LIBS:+false} :; then :
14401 if ${PKG_CONFIG+:} false; then :
14402 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14407 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14408 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14409 ac_save_CPPFLAGS=$CPPFLAGS
14410 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14411 for ac_header in pulse/pulseaudio.h
14412 do :
14413 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14414 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14415 cat >>confdefs.h <<_ACEOF
14416 #define HAVE_PULSE_PULSEAUDIO_H 1
14417 _ACEOF
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14419 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14420 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14421 $as_echo_n "(cached) " >&6
14422 else
14423 ac_check_lib_save_LIBS=$LIBS
14424 LIBS="-lpulse $PULSE_LIBS $LIBS"
14425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14426 /* end confdefs.h. */
14428 /* Override any GCC internal prototype to avoid an error.
14429 Use char because int might match the return type of a GCC
14430 builtin and then its argument prototype would still apply. */
14431 #ifdef __cplusplus
14432 extern "C"
14433 #endif
14434 char pa_stream_is_corked ();
14436 main ()
14438 return pa_stream_is_corked ();
14440 return 0;
14442 _ACEOF
14443 if ac_fn_c_try_link "$LINENO"; then :
14444 ac_cv_lib_pulse_pa_stream_is_corked=yes
14445 else
14446 ac_cv_lib_pulse_pa_stream_is_corked=no
14448 rm -f core conftest.err conftest.$ac_objext \
14449 conftest$ac_exeext conftest.$ac_ext
14450 LIBS=$ac_check_lib_save_LIBS
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14453 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14454 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14456 else
14457 PULSE_LIBS=""
14460 else
14461 PULSE_LIBS=""
14464 done
14466 CPPFLAGS=$ac_save_CPPFLAGS
14467 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14468 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14471 if test -z "$PULSE_LIBS"; then :
14472 case "x$with_pulse" in
14473 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14474 xno) ;;
14475 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14476 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14477 esac
14478 enable_winepulse_drv=${enable_winepulse_drv:-no}
14481 if test "x$with_gstreamer" != "xno"
14482 then
14483 if ${GSTREAMER_CFLAGS:+false} :; then :
14484 if ${PKG_CONFIG+:} false; then :
14485 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14489 if ${GSTREAMER_LIBS:+false} :; then :
14490 if ${PKG_CONFIG+:} false; then :
14491 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14496 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14497 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14498 ac_save_CPPFLAGS=$CPPFLAGS
14499 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14500 ac_gst_incl=""
14501 for i in $GSTREAMER_CFLAGS
14503 case "$i" in
14504 -I*) ac_gst_incl="$ac_gst_incl $i";;
14505 esac
14506 done
14507 GSTREAMER_CFLAGS=$ac_gst_incl
14508 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14509 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14510 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14512 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14514 /* end confdefs.h. */
14515 #include <gst/gst.h>
14517 main ()
14519 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14521 return 0;
14523 _ACEOF
14524 if ac_fn_c_try_compile "$LINENO"; then :
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14526 $as_echo "yes" >&6; }
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14528 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14529 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14530 $as_echo_n "(cached) " >&6
14531 else
14532 ac_check_lib_save_LIBS=$LIBS
14533 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14535 /* end confdefs.h. */
14537 /* Override any GCC internal prototype to avoid an error.
14538 Use char because int might match the return type of a GCC
14539 builtin and then its argument prototype would still apply. */
14540 #ifdef __cplusplus
14541 extern "C"
14542 #endif
14543 char gst_pad_new ();
14545 main ()
14547 return gst_pad_new ();
14549 return 0;
14551 _ACEOF
14552 if ac_fn_c_try_link "$LINENO"; then :
14553 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14554 else
14555 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14557 rm -f core conftest.err conftest.$ac_objext \
14558 conftest$ac_exeext conftest.$ac_ext
14559 LIBS=$ac_check_lib_save_LIBS
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14562 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14563 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14567 else
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14569 $as_echo "no" >&6; }
14570 ac_glib2_broken=yes
14571 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14577 CPPFLAGS=$ac_save_CPPFLAGS
14578 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14579 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14582 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 :
14583 case "x$with_gstreamer" in
14584 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14585 xno) ;;
14586 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14587 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14588 esac
14591 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14593 ALSA_LIBS=""
14595 if test "x$with_alsa" != "xno"
14596 then
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14598 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14599 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14600 $as_echo_n "(cached) " >&6
14601 else
14602 ac_check_lib_save_LIBS=$LIBS
14603 LIBS="-lasound $LIBS"
14604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14605 /* end confdefs.h. */
14607 /* Override any GCC internal prototype to avoid an error.
14608 Use char because int might match the return type of a GCC
14609 builtin and then its argument prototype would still apply. */
14610 #ifdef __cplusplus
14611 extern "C"
14612 #endif
14613 char snd_pcm_hw_params_get_access_mask ();
14615 main ()
14617 return snd_pcm_hw_params_get_access_mask ();
14619 return 0;
14621 _ACEOF
14622 if ac_fn_c_try_link "$LINENO"; then :
14623 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14624 else
14625 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14627 rm -f core conftest.err conftest.$ac_objext \
14628 conftest$ac_exeext conftest.$ac_ext
14629 LIBS=$ac_check_lib_save_LIBS
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14632 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14633 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14635 /* end confdefs.h. */
14636 #include <alsa/asoundlib.h>
14638 main ()
14640 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14642 return 0;
14644 _ACEOF
14645 if ac_fn_c_try_compile "$LINENO"; then :
14646 ALSA_LIBS="-lasound"
14648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14652 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14654 if test "x$with_oss" != xno
14655 then
14656 ac_save_CPPFLAGS="$CPPFLAGS"
14657 if test -f /etc/oss.conf
14658 then
14659 . /etc/oss.conf
14661 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14662 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14663 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14664 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14665 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14667 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14669 cat >>confdefs.h <<_ACEOF
14670 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14671 _ACEOF
14673 OSS4_CFLAGS="$ac_oss_incl"
14680 CPPFLAGS="$ac_save_CPPFLAGS"
14682 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14683 case "x$with_oss" in
14684 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14685 xno) ;;
14686 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14687 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14688 esac
14689 enable_wineoss_drv=${enable_wineoss_drv:-no}
14692 if test "x$with_udev" != "xno"
14693 then
14694 if ${UDEV_CFLAGS:+false} :; then :
14695 if ${PKG_CONFIG+:} false; then :
14696 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14700 if ${UDEV_LIBS:+false} :; then :
14701 if ${PKG_CONFIG+:} false; then :
14702 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14706 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14707 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14708 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14709 ac_save_CPPFLAGS=$CPPFLAGS
14710 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14711 for ac_header in libudev.h
14712 do :
14713 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14714 if test "x$ac_cv_header_libudev_h" = xyes; then :
14715 cat >>confdefs.h <<_ACEOF
14716 #define HAVE_LIBUDEV_H 1
14717 _ACEOF
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14719 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14720 if ${ac_cv_lib_udev_udev_new+:} false; then :
14721 $as_echo_n "(cached) " >&6
14722 else
14723 ac_check_lib_save_LIBS=$LIBS
14724 LIBS="-ludev $UDEV_LIBS $LIBS"
14725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14726 /* end confdefs.h. */
14728 /* Override any GCC internal prototype to avoid an error.
14729 Use char because int might match the return type of a GCC
14730 builtin and then its argument prototype would still apply. */
14731 #ifdef __cplusplus
14732 extern "C"
14733 #endif
14734 char udev_new ();
14736 main ()
14738 return udev_new ();
14740 return 0;
14742 _ACEOF
14743 if ac_fn_c_try_link "$LINENO"; then :
14744 ac_cv_lib_udev_udev_new=yes
14745 else
14746 ac_cv_lib_udev_udev_new=no
14748 rm -f core conftest.err conftest.$ac_objext \
14749 conftest$ac_exeext conftest.$ac_ext
14750 LIBS=$ac_check_lib_save_LIBS
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14753 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14754 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14756 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14758 else
14759 UDEV_LIBS=""
14762 else
14763 UDEV_LIBS=""
14766 done
14768 CPPFLAGS=$ac_save_CPPFLAGS
14769 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14770 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14773 if test "x$UDEV_LIBS" = "x"; then :
14774 case "x$with_udev" in
14775 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14776 xno) ;;
14777 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14778 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14779 esac
14783 if test "x$with_sdl" != "xno"
14784 then
14785 if ${SDL2_CFLAGS:+false} :; then :
14786 if ${PKG_CONFIG+:} false; then :
14787 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14791 if ${SDL2_LIBS:+false} :; then :
14792 if ${PKG_CONFIG+:} false; then :
14793 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14797 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14798 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14799 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14800 ac_save_CPPFLAGS=$CPPFLAGS
14801 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14802 for ac_header in SDL2/SDL.h
14803 do :
14804 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14805 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14806 cat >>confdefs.h <<_ACEOF
14807 #define HAVE_SDL2_SDL_H 1
14808 _ACEOF
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14810 $as_echo_n "checking for -lSDL2... " >&6; }
14811 if ${ac_cv_lib_soname_SDL2+:} false; then :
14812 $as_echo_n "(cached) " >&6
14813 else
14814 ac_check_soname_save_LIBS=$LIBS
14815 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14817 /* end confdefs.h. */
14819 /* Override any GCC internal prototype to avoid an error.
14820 Use char because int might match the return type of a GCC
14821 builtin and then its argument prototype would still apply. */
14822 #ifdef __cplusplus
14823 extern "C"
14824 #endif
14825 char SDL_Init ();
14827 main ()
14829 return SDL_Init ();
14831 return 0;
14833 _ACEOF
14834 if ac_fn_c_try_link "$LINENO"; then :
14835 case "$LIBEXT" in
14836 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14837 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'` ;;
14838 *) 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'`
14839 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14840 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14841 fi ;;
14842 esac
14843 else
14844 ac_cv_lib_soname_SDL2=
14846 rm -f core conftest.err conftest.$ac_objext \
14847 conftest$ac_exeext conftest.$ac_ext
14848 LIBS=$ac_check_soname_save_LIBS
14850 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14852 $as_echo "not found" >&6; }
14854 else
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14856 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14858 cat >>confdefs.h <<_ACEOF
14859 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14860 _ACEOF
14866 done
14868 CPPFLAGS=$ac_save_CPPFLAGS
14869 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14870 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14873 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14874 case "x$with_sdl" in
14875 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14876 xno) ;;
14877 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14878 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14879 esac
14883 if test "x$with_faudio" != "xno"
14884 then
14885 if ${FAUDIO_CFLAGS:+false} :; then :
14886 if ${PKG_CONFIG+:} false; then :
14887 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14891 if ${FAUDIO_LIBS:+false} :; then :
14892 if ${PKG_CONFIG+:} false; then :
14893 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14897 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14898 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14899 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14900 ac_save_CPPFLAGS=$CPPFLAGS
14901 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14902 for ac_header in FAudio.h
14903 do :
14904 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14905 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14906 cat >>confdefs.h <<_ACEOF
14907 #define HAVE_FAUDIO_H 1
14908 _ACEOF
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14910 $as_echo_n "checking for -lFAudio... " >&6; }
14911 if ${ac_cv_lib_soname_FAudio+:} false; then :
14912 $as_echo_n "(cached) " >&6
14913 else
14914 ac_check_soname_save_LIBS=$LIBS
14915 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14917 /* end confdefs.h. */
14919 /* Override any GCC internal prototype to avoid an error.
14920 Use char because int might match the return type of a GCC
14921 builtin and then its argument prototype would still apply. */
14922 #ifdef __cplusplus
14923 extern "C"
14924 #endif
14925 char FAudioCreate ();
14927 main ()
14929 return FAudioCreate ();
14931 return 0;
14933 _ACEOF
14934 if ac_fn_c_try_link "$LINENO"; then :
14935 case "$LIBEXT" in
14936 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14937 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'` ;;
14938 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14939 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14940 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14941 fi ;;
14942 esac
14943 else
14944 ac_cv_lib_soname_FAudio=
14946 rm -f core conftest.err conftest.$ac_objext \
14947 conftest$ac_exeext conftest.$ac_ext
14948 LIBS=$ac_check_soname_save_LIBS
14950 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14952 $as_echo "not found" >&6; }
14954 else
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14956 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14958 cat >>confdefs.h <<_ACEOF
14959 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14960 _ACEOF
14966 done
14968 CPPFLAGS=$ac_save_CPPFLAGS
14969 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14970 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14972 ac_wine_check_funcs_save_LIBS="$LIBS"
14973 LIBS="$LIBS $FAUDIO_LIBS"
14974 for ac_func in \
14975 FAudio_CommitOperationSet \
14976 F3DAudioInitialize8
14977 do :
14978 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14979 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14980 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14981 cat >>confdefs.h <<_ACEOF
14982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14983 _ACEOF
14986 done
14988 LIBS="$ac_wine_check_funcs_save_LIBS"
14990 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
14991 case "x$with_faudio" in
14992 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
14993 xno) ;;
14994 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
14995 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
14996 esac
15000 if test "x$with_capi" != "xno"
15001 then
15002 if ${CAPI20_CFLAGS:+false} :; then :
15003 if ${PKG_CONFIG+:} false; then :
15004 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15008 if ${CAPI20_LIBS:+false} :; then :
15009 if ${PKG_CONFIG+:} false; then :
15010 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15015 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15016 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15017 ac_save_CPPFLAGS=$CPPFLAGS
15018 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15019 for ac_header in capi20.h linux/capi.h
15020 do :
15021 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15022 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15024 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15025 cat >>confdefs.h <<_ACEOF
15026 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15027 _ACEOF
15031 done
15033 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15034 then
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15036 $as_echo_n "checking for -lcapi20... " >&6; }
15037 if ${ac_cv_lib_soname_capi20+:} false; then :
15038 $as_echo_n "(cached) " >&6
15039 else
15040 ac_check_soname_save_LIBS=$LIBS
15041 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15045 /* Override any GCC internal prototype to avoid an error.
15046 Use char because int might match the return type of a GCC
15047 builtin and then its argument prototype would still apply. */
15048 #ifdef __cplusplus
15049 extern "C"
15050 #endif
15051 char capi20_register ();
15053 main ()
15055 return capi20_register ();
15057 return 0;
15059 _ACEOF
15060 if ac_fn_c_try_link "$LINENO"; then :
15061 case "$LIBEXT" in
15062 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15063 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'` ;;
15064 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15065 if ${ac_cv_lib_soname_capi20:+false} :; then :
15066 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15067 fi ;;
15068 esac
15069 else
15070 ac_cv_lib_soname_capi20=
15072 rm -f core conftest.err conftest.$ac_objext \
15073 conftest$ac_exeext conftest.$ac_ext
15074 LIBS=$ac_check_soname_save_LIBS
15076 if ${ac_cv_lib_soname_capi20:+false} :; then :
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15078 $as_echo "not found" >&6; }
15080 else
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15082 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15084 cat >>confdefs.h <<_ACEOF
15085 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15086 _ACEOF
15091 CPPFLAGS=$ac_save_CPPFLAGS
15092 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15093 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15096 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15097 case "x$with_capi" in
15098 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15099 xno) ;;
15100 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15101 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15102 esac
15106 if test "x$with_cups" != "xno"
15107 then
15108 if ${CUPS_CFLAGS:+false} :; then :
15109 if ${PKG_CONFIG+:} false; then :
15110 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15113 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15114 if ${CUPS_LIBS:+false} :; then :
15115 if ${PKG_CONFIG+:} false; then :
15116 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15119 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15120 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15121 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15122 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15123 ac_save_CPPFLAGS=$CPPFLAGS
15124 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15125 for ac_header in cups/cups.h cups/ppd.h
15126 do :
15127 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15128 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15129 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15130 cat >>confdefs.h <<_ACEOF
15131 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15132 _ACEOF
15136 done
15138 if test "$ac_cv_header_cups_cups_h" = "yes"
15139 then
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15141 $as_echo_n "checking for -lcups... " >&6; }
15142 if ${ac_cv_lib_soname_cups+:} false; then :
15143 $as_echo_n "(cached) " >&6
15144 else
15145 ac_check_soname_save_LIBS=$LIBS
15146 LIBS="-lcups $CUPS_LIBS $LIBS"
15147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15148 /* end confdefs.h. */
15150 /* Override any GCC internal prototype to avoid an error.
15151 Use char because int might match the return type of a GCC
15152 builtin and then its argument prototype would still apply. */
15153 #ifdef __cplusplus
15154 extern "C"
15155 #endif
15156 char cupsGetDefault ();
15158 main ()
15160 return cupsGetDefault ();
15162 return 0;
15164 _ACEOF
15165 if ac_fn_c_try_link "$LINENO"; then :
15166 case "$LIBEXT" in
15167 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15168 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'` ;;
15169 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15170 if ${ac_cv_lib_soname_cups:+false} :; then :
15171 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15172 fi ;;
15173 esac
15174 else
15175 ac_cv_lib_soname_cups=
15177 rm -f core conftest.err conftest.$ac_objext \
15178 conftest$ac_exeext conftest.$ac_ext
15179 LIBS=$ac_check_soname_save_LIBS
15181 if ${ac_cv_lib_soname_cups:+false} :; then :
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15183 $as_echo "not found" >&6; }
15184 CUPS_LIBS=""
15185 else
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15187 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15189 cat >>confdefs.h <<_ACEOF
15190 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15191 _ACEOF
15195 else
15196 CUPS_CFLAGS=""
15197 CUPS_LIBS=""
15199 CPPFLAGS=$ac_save_CPPFLAGS
15200 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15201 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15204 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15205 case "x$with_cups" in
15206 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15207 xno) ;;
15208 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15209 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15210 esac
15214 if test "x$with_fontconfig" != "xno"
15215 then
15216 if ${FONTCONFIG_CFLAGS:+false} :; then :
15217 if ${PKG_CONFIG+:} false; then :
15218 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15221 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15222 if ${FONTCONFIG_LIBS:+false} :; then :
15223 if ${PKG_CONFIG+:} false; then :
15224 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15227 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15229 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15230 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15231 ac_save_CPPFLAGS=$CPPFLAGS
15232 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15233 for ac_header in fontconfig/fontconfig.h
15234 do :
15235 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15236 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15237 cat >>confdefs.h <<_ACEOF
15238 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15239 _ACEOF
15243 done
15245 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15246 then
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15248 $as_echo_n "checking for -lfontconfig... " >&6; }
15249 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15250 $as_echo_n "(cached) " >&6
15251 else
15252 ac_check_soname_save_LIBS=$LIBS
15253 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15255 /* end confdefs.h. */
15257 /* Override any GCC internal prototype to avoid an error.
15258 Use char because int might match the return type of a GCC
15259 builtin and then its argument prototype would still apply. */
15260 #ifdef __cplusplus
15261 extern "C"
15262 #endif
15263 char FcInit ();
15265 main ()
15267 return FcInit ();
15269 return 0;
15271 _ACEOF
15272 if ac_fn_c_try_link "$LINENO"; then :
15273 case "$LIBEXT" in
15274 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15275 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'` ;;
15276 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15277 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15278 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15279 fi ;;
15280 esac
15281 else
15282 ac_cv_lib_soname_fontconfig=
15284 rm -f core conftest.err conftest.$ac_objext \
15285 conftest$ac_exeext conftest.$ac_ext
15286 LIBS=$ac_check_soname_save_LIBS
15288 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15290 $as_echo "not found" >&6; }
15291 FONTCONFIG_CFLAGS=""
15292 else
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15294 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15296 cat >>confdefs.h <<_ACEOF
15297 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15298 _ACEOF
15302 else
15303 FONTCONFIG_CFLAGS=""
15305 CPPFLAGS=$ac_save_CPPFLAGS
15306 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15307 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15310 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15311 case "x$with_fontconfig" in
15312 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15313 xno) ;;
15314 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15315 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15316 esac
15320 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15321 then
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15323 $as_echo_n "checking for -lgsm... " >&6; }
15324 if ${ac_cv_lib_soname_gsm+:} false; then :
15325 $as_echo_n "(cached) " >&6
15326 else
15327 ac_check_soname_save_LIBS=$LIBS
15328 LIBS="-lgsm $LIBS"
15329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15330 /* end confdefs.h. */
15332 /* Override any GCC internal prototype to avoid an error.
15333 Use char because int might match the return type of a GCC
15334 builtin and then its argument prototype would still apply. */
15335 #ifdef __cplusplus
15336 extern "C"
15337 #endif
15338 char gsm_create ();
15340 main ()
15342 return gsm_create ();
15344 return 0;
15346 _ACEOF
15347 if ac_fn_c_try_link "$LINENO"; then :
15348 case "$LIBEXT" in
15349 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15350 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'` ;;
15351 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15352 if ${ac_cv_lib_soname_gsm:+false} :; then :
15353 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15354 fi ;;
15355 esac
15356 else
15357 ac_cv_lib_soname_gsm=
15359 rm -f core conftest.err conftest.$ac_objext \
15360 conftest$ac_exeext conftest.$ac_ext
15361 LIBS=$ac_check_soname_save_LIBS
15363 if ${ac_cv_lib_soname_gsm:+false} :; then :
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15365 $as_echo "not found" >&6; }
15367 else
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15369 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15371 cat >>confdefs.h <<_ACEOF
15372 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15373 _ACEOF
15378 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15379 case "x$with_gsm" in
15380 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15381 xno) ;;
15382 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15383 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15384 esac
15388 if test "x$with_krb5" != "xno"
15389 then
15390 if ${KRB5_CFLAGS:+false} :; then :
15391 if ${PKG_CONFIG+:} false; then :
15392 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15395 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15396 if ${KRB5_LIBS:+false} :; then :
15397 if ${PKG_CONFIG+:} false; then :
15398 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15401 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15403 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15404 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15405 ac_save_CPPFLAGS=$CPPFLAGS
15406 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15407 for ac_header in krb5/krb5.h
15408 do :
15409 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15410 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15411 cat >>confdefs.h <<_ACEOF
15412 #define HAVE_KRB5_KRB5_H 1
15413 _ACEOF
15417 done
15419 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15420 then
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15422 $as_echo_n "checking for -lkrb5... " >&6; }
15423 if ${ac_cv_lib_soname_krb5+:} false; then :
15424 $as_echo_n "(cached) " >&6
15425 else
15426 ac_check_soname_save_LIBS=$LIBS
15427 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15429 /* end confdefs.h. */
15431 /* Override any GCC internal prototype to avoid an error.
15432 Use char because int might match the return type of a GCC
15433 builtin and then its argument prototype would still apply. */
15434 #ifdef __cplusplus
15435 extern "C"
15436 #endif
15437 char krb5_is_config_principal ();
15439 main ()
15441 return krb5_is_config_principal ();
15443 return 0;
15445 _ACEOF
15446 if ac_fn_c_try_link "$LINENO"; then :
15447 case "$LIBEXT" in
15448 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15449 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'` ;;
15450 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15451 if ${ac_cv_lib_soname_krb5:+false} :; then :
15452 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15453 fi ;;
15454 esac
15455 else
15456 ac_cv_lib_soname_krb5=
15458 rm -f core conftest.err conftest.$ac_objext \
15459 conftest$ac_exeext conftest.$ac_ext
15460 LIBS=$ac_check_soname_save_LIBS
15462 if ${ac_cv_lib_soname_krb5:+false} :; then :
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15464 $as_echo "not found" >&6; }
15465 KRB5_CFLAGS=""
15466 else
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15468 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15470 cat >>confdefs.h <<_ACEOF
15471 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15472 _ACEOF
15476 else
15477 KRB5_CFLAGS=""
15479 CPPFLAGS=$ac_save_CPPFLAGS
15480 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15481 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15483 else
15484 with_gssapi=${with_gssapi:-no}
15486 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15487 case "x$with_krb5" in
15488 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15489 xno) ;;
15490 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15491 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15492 esac
15496 if test "x$with_gssapi" != "xno"
15497 then
15498 if ${GSSAPI_CFLAGS:+false} :; then :
15499 if ${PKG_CONFIG+:} false; then :
15500 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15503 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15504 if ${GSSAPI_LIBS:+false} :; then :
15505 if ${PKG_CONFIG+:} false; then :
15506 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15509 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15511 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15512 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15513 ac_save_CPPFLAGS=$CPPFLAGS
15514 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15515 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15516 do :
15517 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15518 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15519 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15520 cat >>confdefs.h <<_ACEOF
15521 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15522 _ACEOF
15526 done
15528 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15529 then
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15531 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15532 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15533 $as_echo_n "(cached) " >&6
15534 else
15535 ac_check_soname_save_LIBS=$LIBS
15536 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15538 /* end confdefs.h. */
15540 /* Override any GCC internal prototype to avoid an error.
15541 Use char because int might match the return type of a GCC
15542 builtin and then its argument prototype would still apply. */
15543 #ifdef __cplusplus
15544 extern "C"
15545 #endif
15546 char gss_init_sec_context ();
15548 main ()
15550 return gss_init_sec_context ();
15552 return 0;
15554 _ACEOF
15555 if ac_fn_c_try_link "$LINENO"; then :
15556 case "$LIBEXT" in
15557 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15558 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'` ;;
15559 *) 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'`
15560 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15561 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15562 fi ;;
15563 esac
15564 else
15565 ac_cv_lib_soname_gssapi_krb5=
15567 rm -f core conftest.err conftest.$ac_objext \
15568 conftest$ac_exeext conftest.$ac_ext
15569 LIBS=$ac_check_soname_save_LIBS
15571 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15573 $as_echo "not found" >&6; }
15574 GSSAPI_CFLAGS=""
15575 else
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15577 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15579 cat >>confdefs.h <<_ACEOF
15580 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15581 _ACEOF
15585 else
15586 GSSAPI_CFLAGS=""
15588 CPPFLAGS=$ac_save_CPPFLAGS
15589 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15590 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15593 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15594 case "x$with_gssapi" in
15595 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15596 xno) ;;
15597 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15598 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15599 esac
15603 if test "x$with_jpeg" != "xno"
15604 then
15605 if ${JPEG_CFLAGS:+false} :; then :
15606 if ${PKG_CONFIG+:} false; then :
15607 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15611 if ${JPEG_LIBS:+false} :; then :
15612 if ${PKG_CONFIG+:} false; then :
15613 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15618 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15619 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15620 ac_save_CPPFLAGS=$CPPFLAGS
15621 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15622 for ac_header in jpeglib.h
15623 do :
15624 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15625 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15626 cat >>confdefs.h <<_ACEOF
15627 #define HAVE_JPEGLIB_H 1
15628 _ACEOF
15632 done
15634 if test "$ac_cv_header_jpeglib_h" = "yes"
15635 then
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15637 $as_echo_n "checking for -ljpeg... " >&6; }
15638 if ${ac_cv_lib_soname_jpeg+:} false; then :
15639 $as_echo_n "(cached) " >&6
15640 else
15641 ac_check_soname_save_LIBS=$LIBS
15642 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15644 /* end confdefs.h. */
15646 /* Override any GCC internal prototype to avoid an error.
15647 Use char because int might match the return type of a GCC
15648 builtin and then its argument prototype would still apply. */
15649 #ifdef __cplusplus
15650 extern "C"
15651 #endif
15652 char jpeg_start_decompress ();
15654 main ()
15656 return jpeg_start_decompress ();
15658 return 0;
15660 _ACEOF
15661 if ac_fn_c_try_link "$LINENO"; then :
15662 case "$LIBEXT" in
15663 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15664 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'` ;;
15665 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15666 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15667 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15668 fi ;;
15669 esac
15670 else
15671 ac_cv_lib_soname_jpeg=
15673 rm -f core conftest.err conftest.$ac_objext \
15674 conftest$ac_exeext conftest.$ac_ext
15675 LIBS=$ac_check_soname_save_LIBS
15677 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15679 $as_echo "not found" >&6; }
15680 JPEG_CFLAGS=""
15681 else
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15683 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15685 cat >>confdefs.h <<_ACEOF
15686 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15687 _ACEOF
15691 else
15692 JPEG_CFLAGS=""
15694 CPPFLAGS=$ac_save_CPPFLAGS
15695 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15696 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15699 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15700 case "x$with_jpeg" in
15701 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15702 xno) ;;
15703 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15704 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15705 esac
15709 if test "x$with_png" != "xno"
15710 then
15711 if ${PNG_CFLAGS:+false} :; then :
15712 if ${PKG_CONFIG+:} false; then :
15713 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15716 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15717 if ${PNG_LIBS:+false} :; then :
15718 if ${PKG_CONFIG+:} false; then :
15719 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15722 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15724 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15725 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15726 ac_save_CPPFLAGS=$CPPFLAGS
15727 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15728 for ac_header in png.h
15729 do :
15730 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15731 if test "x$ac_cv_header_png_h" = xyes; then :
15732 cat >>confdefs.h <<_ACEOF
15733 #define HAVE_PNG_H 1
15734 _ACEOF
15738 done
15740 if test "$ac_cv_header_png_h" = "yes"
15741 then
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15743 $as_echo_n "checking for -lpng... " >&6; }
15744 if ${ac_cv_lib_soname_png+:} false; then :
15745 $as_echo_n "(cached) " >&6
15746 else
15747 ac_check_soname_save_LIBS=$LIBS
15748 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15750 /* end confdefs.h. */
15752 /* Override any GCC internal prototype to avoid an error.
15753 Use char because int might match the return type of a GCC
15754 builtin and then its argument prototype would still apply. */
15755 #ifdef __cplusplus
15756 extern "C"
15757 #endif
15758 char png_create_read_struct ();
15760 main ()
15762 return png_create_read_struct ();
15764 return 0;
15766 _ACEOF
15767 if ac_fn_c_try_link "$LINENO"; then :
15768 case "$LIBEXT" in
15769 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15770 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'` ;;
15771 *) 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'`
15772 if ${ac_cv_lib_soname_png:+false} :; then :
15773 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15774 fi ;;
15775 esac
15776 else
15777 ac_cv_lib_soname_png=
15779 rm -f core conftest.err conftest.$ac_objext \
15780 conftest$ac_exeext conftest.$ac_ext
15781 LIBS=$ac_check_soname_save_LIBS
15783 if ${ac_cv_lib_soname_png:+false} :; then :
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15785 $as_echo "not found" >&6; }
15786 PNG_CFLAGS=""
15787 else
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15789 $as_echo "$ac_cv_lib_soname_png" >&6; }
15791 cat >>confdefs.h <<_ACEOF
15792 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15793 _ACEOF
15797 else
15798 PNG_CFLAGS=""
15800 CPPFLAGS=$ac_save_CPPFLAGS
15801 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15802 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15805 if test "x$ac_cv_lib_soname_png" = "x"; then :
15806 case "x$with_png" in
15807 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15808 xno) ;;
15809 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15810 This is an error since --with-png was requested." "$LINENO" 5 ;;
15811 esac
15815 if test "x$with_tiff" != "xno"
15816 then
15817 if ${TIFF_CFLAGS:+false} :; then :
15818 if ${PKG_CONFIG+:} false; then :
15819 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15823 if ${TIFF_LIBS:+false} :; then :
15824 if ${PKG_CONFIG+:} false; then :
15825 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15830 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15831 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15832 ac_save_CPPFLAGS=$CPPFLAGS
15833 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15834 for ac_header in tiffio.h
15835 do :
15836 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15837 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15838 cat >>confdefs.h <<_ACEOF
15839 #define HAVE_TIFFIO_H 1
15840 _ACEOF
15844 done
15846 if test "$ac_cv_header_tiffio_h" = "yes"
15847 then
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15849 $as_echo_n "checking for -ltiff... " >&6; }
15850 if ${ac_cv_lib_soname_tiff+:} false; then :
15851 $as_echo_n "(cached) " >&6
15852 else
15853 ac_check_soname_save_LIBS=$LIBS
15854 LIBS="-ltiff $TIFF_LIBS $LIBS"
15855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15858 /* Override any GCC internal prototype to avoid an error.
15859 Use char because int might match the return type of a GCC
15860 builtin and then its argument prototype would still apply. */
15861 #ifdef __cplusplus
15862 extern "C"
15863 #endif
15864 char TIFFClientOpen ();
15866 main ()
15868 return TIFFClientOpen ();
15870 return 0;
15872 _ACEOF
15873 if ac_fn_c_try_link "$LINENO"; then :
15874 case "$LIBEXT" in
15875 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15876 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'` ;;
15877 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15878 if ${ac_cv_lib_soname_tiff:+false} :; then :
15879 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15880 fi ;;
15881 esac
15882 else
15883 ac_cv_lib_soname_tiff=
15885 rm -f core conftest.err conftest.$ac_objext \
15886 conftest$ac_exeext conftest.$ac_ext
15887 LIBS=$ac_check_soname_save_LIBS
15889 if ${ac_cv_lib_soname_tiff:+false} :; then :
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15891 $as_echo "not found" >&6; }
15893 else
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
15895 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
15897 cat >>confdefs.h <<_ACEOF
15898 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
15899 _ACEOF
15904 CPPFLAGS=$ac_save_CPPFLAGS
15905 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15906 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15909 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15910 case "x$with_tiff" in
15911 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15912 xno) ;;
15913 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15914 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15915 esac
15919 if test "x$with_mpg123" != "xno"
15920 then
15921 if ${MPG123_CFLAGS:+false} :; then :
15922 if ${PKG_CONFIG+:} false; then :
15923 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15927 if ${MPG123_LIBS:+false} :; then :
15928 if ${PKG_CONFIG+:} false; then :
15929 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15933 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15934 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15935 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15936 ac_save_CPPFLAGS=$CPPFLAGS
15937 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15938 for ac_header in mpg123.h
15939 do :
15940 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15941 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15942 cat >>confdefs.h <<_ACEOF
15943 #define HAVE_MPG123_H 1
15944 _ACEOF
15948 done
15950 if test "$ac_cv_header_mpg123_h" = "yes"
15951 then
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15953 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15954 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15955 $as_echo_n "(cached) " >&6
15956 else
15957 ac_check_lib_save_LIBS=$LIBS
15958 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15960 /* end confdefs.h. */
15962 /* Override any GCC internal prototype to avoid an error.
15963 Use char because int might match the return type of a GCC
15964 builtin and then its argument prototype would still apply. */
15965 #ifdef __cplusplus
15966 extern "C"
15967 #endif
15968 char mpg123_feed ();
15970 main ()
15972 return mpg123_feed ();
15974 return 0;
15976 _ACEOF
15977 if ac_fn_c_try_link "$LINENO"; then :
15978 ac_cv_lib_mpg123_mpg123_feed=yes
15979 else
15980 ac_cv_lib_mpg123_mpg123_feed=no
15982 rm -f core conftest.err conftest.$ac_objext \
15983 conftest$ac_exeext conftest.$ac_ext
15984 LIBS=$ac_check_lib_save_LIBS
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
15987 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
15988 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
15990 else
15991 MPG123_LIBS=""
15994 else
15995 MPG123_CFLAGS=""
15996 MPG123_LIBS=""
15998 CPPFLAGS=$ac_save_CPPFLAGS
15999 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16000 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16003 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16004 case "x$with_mpg123" in
16005 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16006 xno) ;;
16007 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16008 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16009 esac
16010 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16012 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16014 if test "$ac_cv_header_AL_al_h" = "yes"
16015 then
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16017 $as_echo_n "checking for -lopenal... " >&6; }
16018 if ${ac_cv_lib_soname_openal+:} false; then :
16019 $as_echo_n "(cached) " >&6
16020 else
16021 ac_check_soname_save_LIBS=$LIBS
16022 LIBS="-lopenal $LIBS"
16023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16024 /* end confdefs.h. */
16026 /* Override any GCC internal prototype to avoid an error.
16027 Use char because int might match the return type of a GCC
16028 builtin and then its argument prototype would still apply. */
16029 #ifdef __cplusplus
16030 extern "C"
16031 #endif
16032 char alGetSource3i ();
16034 main ()
16036 return alGetSource3i ();
16038 return 0;
16040 _ACEOF
16041 if ac_fn_c_try_link "$LINENO"; then :
16042 case "$LIBEXT" in
16043 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16044 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'` ;;
16045 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16046 if ${ac_cv_lib_soname_openal:+false} :; then :
16047 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16048 fi ;;
16049 esac
16050 else
16051 ac_cv_lib_soname_openal=
16053 rm -f core conftest.err conftest.$ac_objext \
16054 conftest$ac_exeext conftest.$ac_ext
16055 LIBS=$ac_check_soname_save_LIBS
16057 if ${ac_cv_lib_soname_openal:+false} :; then :
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16059 $as_echo "not found" >&6; }
16061 else
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16063 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16065 cat >>confdefs.h <<_ACEOF
16066 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16067 _ACEOF
16069 OPENAL_LIBS="-lopenal"
16071 ac_cv_lib_openal=yes
16073 cat >>confdefs.h <<_ACEOF
16074 #define HAVE_OPENAL 1
16075 _ACEOF
16079 if test "x$ac_cv_lib_openal" != xyes; then :
16080 case "x$with_openal" in
16081 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16082 xno) ;;
16083 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16084 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16085 esac
16086 enable_openal32=${enable_openal32:-no}
16089 if test "x$ac_cv_lib_soname_FAudio" = "x"
16090 then
16091 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16092 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16093 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16094 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16095 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16096 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16097 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16098 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16099 enable_xapofx1_1=${enable_xapofx1_1:-no}
16100 enable_xapofx1_2=${enable_xapofx1_2:-no}
16101 enable_xapofx1_3=${enable_xapofx1_3:-no}
16102 enable_xapofx1_4=${enable_xapofx1_4:-no}
16103 enable_xapofx1_5=${enable_xapofx1_5:-no}
16104 enable_xaudio2_0=${enable_xaudio2_0:-no}
16105 enable_xaudio2_1=${enable_xaudio2_1:-no}
16106 enable_xaudio2_2=${enable_xaudio2_2:-no}
16107 enable_xaudio2_3=${enable_xaudio2_3:-no}
16108 enable_xaudio2_4=${enable_xaudio2_4:-no}
16109 enable_xaudio2_5=${enable_xaudio2_5:-no}
16110 enable_xaudio2_6=${enable_xaudio2_6:-no}
16111 enable_xaudio2_7=${enable_xaudio2_7:-no}
16112 enable_xaudio2_8=${enable_xaudio2_8:-no}
16113 enable_xaudio2_9=${enable_xaudio2_9:-no}
16116 if test "$ac_cv_header_kstat_h" = "yes"
16117 then
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16119 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16120 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16121 $as_echo_n "(cached) " >&6
16122 else
16123 ac_check_lib_save_LIBS=$LIBS
16124 LIBS="-lkstat $LIBS"
16125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16126 /* end confdefs.h. */
16128 /* Override any GCC internal prototype to avoid an error.
16129 Use char because int might match the return type of a GCC
16130 builtin and then its argument prototype would still apply. */
16131 #ifdef __cplusplus
16132 extern "C"
16133 #endif
16134 char kstat_open ();
16136 main ()
16138 return kstat_open ();
16140 return 0;
16142 _ACEOF
16143 if ac_fn_c_try_link "$LINENO"; then :
16144 ac_cv_lib_kstat_kstat_open=yes
16145 else
16146 ac_cv_lib_kstat_kstat_open=no
16148 rm -f core conftest.err conftest.$ac_objext \
16149 conftest$ac_exeext conftest.$ac_ext
16150 LIBS=$ac_check_lib_save_LIBS
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16153 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16154 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16156 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16158 KSTAT_LIBS="-lkstat"
16164 if test "$ac_cv_header_libprocstat_h" = "yes"
16165 then
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16167 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16168 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16169 $as_echo_n "(cached) " >&6
16170 else
16171 ac_check_lib_save_LIBS=$LIBS
16172 LIBS="-lprocstat $LIBS"
16173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16174 /* end confdefs.h. */
16176 /* Override any GCC internal prototype to avoid an error.
16177 Use char because int might match the return type of a GCC
16178 builtin and then its argument prototype would still apply. */
16179 #ifdef __cplusplus
16180 extern "C"
16181 #endif
16182 char procstat_open_sysctl ();
16184 main ()
16186 return procstat_open_sysctl ();
16188 return 0;
16190 _ACEOF
16191 if ac_fn_c_try_link "$LINENO"; then :
16192 ac_cv_lib_procstat_procstat_open_sysctl=yes
16193 else
16194 ac_cv_lib_procstat_procstat_open_sysctl=no
16196 rm -f core conftest.err conftest.$ac_objext \
16197 conftest$ac_exeext conftest.$ac_ext
16198 LIBS=$ac_check_lib_save_LIBS
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16201 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16202 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16204 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16206 PROCSTAT_LIBS="-lprocstat"
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16213 $as_echo_n "checking for -lodbc... " >&6; }
16214 if ${ac_cv_lib_soname_odbc+:} false; then :
16215 $as_echo_n "(cached) " >&6
16216 else
16217 ac_check_soname_save_LIBS=$LIBS
16218 LIBS="-lodbc $LIBS"
16219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16220 /* end confdefs.h. */
16222 /* Override any GCC internal prototype to avoid an error.
16223 Use char because int might match the return type of a GCC
16224 builtin and then its argument prototype would still apply. */
16225 #ifdef __cplusplus
16226 extern "C"
16227 #endif
16228 char SQLConnect ();
16230 main ()
16232 return SQLConnect ();
16234 return 0;
16236 _ACEOF
16237 if ac_fn_c_try_link "$LINENO"; then :
16238 case "$LIBEXT" in
16239 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16240 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'` ;;
16241 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16242 if ${ac_cv_lib_soname_odbc:+false} :; then :
16243 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16244 fi ;;
16245 esac
16246 else
16247 ac_cv_lib_soname_odbc=
16249 rm -f core conftest.err conftest.$ac_objext \
16250 conftest$ac_exeext conftest.$ac_ext
16251 LIBS=$ac_check_soname_save_LIBS
16253 if ${ac_cv_lib_soname_odbc:+false} :; then :
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16255 $as_echo "not found" >&6; }
16256 cat >>confdefs.h <<_ACEOF
16257 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16258 _ACEOF
16260 else
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16262 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16264 cat >>confdefs.h <<_ACEOF
16265 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16266 _ACEOF
16271 if test "x$with_netapi" != "xno"
16272 then
16273 if ${NETAPI_CFLAGS:+false} :; then :
16274 if ${PKG_CONFIG+:} false; then :
16275 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16279 if ${NETAPI_LIBS:+false} :; then :
16280 if ${PKG_CONFIG+:} false; then :
16281 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16286 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16287 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16288 ac_save_CPPFLAGS=$CPPFLAGS
16289 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16291 $as_echo_n "checking for -lnetapi... " >&6; }
16292 if ${ac_cv_lib_soname_netapi+:} false; then :
16293 $as_echo_n "(cached) " >&6
16294 else
16295 ac_check_soname_save_LIBS=$LIBS
16296 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16298 /* end confdefs.h. */
16300 /* Override any GCC internal prototype to avoid an error.
16301 Use char because int might match the return type of a GCC
16302 builtin and then its argument prototype would still apply. */
16303 #ifdef __cplusplus
16304 extern "C"
16305 #endif
16306 char libnetapi_init ();
16308 main ()
16310 return libnetapi_init ();
16312 return 0;
16314 _ACEOF
16315 if ac_fn_c_try_link "$LINENO"; then :
16316 case "$LIBEXT" in
16317 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16318 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'` ;;
16319 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16320 if ${ac_cv_lib_soname_netapi:+false} :; then :
16321 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16322 fi ;;
16323 esac
16324 else
16325 ac_cv_lib_soname_netapi=
16327 rm -f core conftest.err conftest.$ac_objext \
16328 conftest$ac_exeext conftest.$ac_ext
16329 LIBS=$ac_check_soname_save_LIBS
16331 if ${ac_cv_lib_soname_netapi:+false} :; then :
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16333 $as_echo "not found" >&6; }
16334 cat >>confdefs.h <<_ACEOF
16335 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16336 _ACEOF
16338 else
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16340 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16342 cat >>confdefs.h <<_ACEOF
16343 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16344 _ACEOF
16348 CPPFLAGS=$ac_save_CPPFLAGS
16349 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16350 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16354 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16355 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16356 then
16357 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16360 if test "x$with_vulkan" != "xno"
16361 then
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16363 $as_echo_n "checking for -lvulkan... " >&6; }
16364 if ${ac_cv_lib_soname_vulkan+:} false; then :
16365 $as_echo_n "(cached) " >&6
16366 else
16367 ac_check_soname_save_LIBS=$LIBS
16368 LIBS="-lvulkan $LIBS"
16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16372 /* Override any GCC internal prototype to avoid an error.
16373 Use char because int might match the return type of a GCC
16374 builtin and then its argument prototype would still apply. */
16375 #ifdef __cplusplus
16376 extern "C"
16377 #endif
16378 char vkGetInstanceProcAddr ();
16380 main ()
16382 return vkGetInstanceProcAddr ();
16384 return 0;
16386 _ACEOF
16387 if ac_fn_c_try_link "$LINENO"; then :
16388 case "$LIBEXT" in
16389 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16390 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'` ;;
16391 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16392 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16393 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16394 fi ;;
16395 esac
16396 else
16397 ac_cv_lib_soname_vulkan=
16399 rm -f core conftest.err conftest.$ac_objext \
16400 conftest$ac_exeext conftest.$ac_ext
16401 LIBS=$ac_check_soname_save_LIBS
16403 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16405 $as_echo "not found" >&6; }
16407 else
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16409 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16411 cat >>confdefs.h <<_ACEOF
16412 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16413 _ACEOF
16417 if test "x$ac_cv_lib_soname_vulkan" = "x"
16418 then
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16420 $as_echo_n "checking for -lMoltenVK... " >&6; }
16421 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16422 $as_echo_n "(cached) " >&6
16423 else
16424 ac_check_soname_save_LIBS=$LIBS
16425 LIBS="-lMoltenVK $LIBS"
16426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16427 /* end confdefs.h. */
16429 /* Override any GCC internal prototype to avoid an error.
16430 Use char because int might match the return type of a GCC
16431 builtin and then its argument prototype would still apply. */
16432 #ifdef __cplusplus
16433 extern "C"
16434 #endif
16435 char vkGetInstanceProcAddr ();
16437 main ()
16439 return vkGetInstanceProcAddr ();
16441 return 0;
16443 _ACEOF
16444 if ac_fn_c_try_link "$LINENO"; then :
16445 case "$LIBEXT" in
16446 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16447 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'` ;;
16448 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16449 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16450 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16451 fi ;;
16452 esac
16453 else
16454 ac_cv_lib_soname_MoltenVK=
16456 rm -f core conftest.err conftest.$ac_objext \
16457 conftest$ac_exeext conftest.$ac_ext
16458 LIBS=$ac_check_soname_save_LIBS
16460 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16462 $as_echo "not found" >&6; }
16464 else
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16466 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16468 cat >>confdefs.h <<_ACEOF
16469 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16470 _ACEOF
16476 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16477 case "x$with_vulkan" in
16478 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16479 xno) ;;
16480 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16481 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16482 esac
16486 if test "x$with_vkd3d" != "xno"
16487 then
16488 if ${VKD3D_CFLAGS:+false} :; then :
16489 if ${PKG_CONFIG+:} false; then :
16490 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16494 if ${VKD3D_LIBS:+false} :; then :
16495 if ${PKG_CONFIG+:} false; then :
16496 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16501 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16502 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16503 ac_save_CPPFLAGS=$CPPFLAGS
16504 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16506 $as_echo_n "checking for -lvkd3d... " >&6; }
16507 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16508 $as_echo_n "(cached) " >&6
16509 else
16510 ac_check_soname_save_LIBS=$LIBS
16511 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16513 /* end confdefs.h. */
16515 /* Override any GCC internal prototype to avoid an error.
16516 Use char because int might match the return type of a GCC
16517 builtin and then its argument prototype would still apply. */
16518 #ifdef __cplusplus
16519 extern "C"
16520 #endif
16521 char vkd3d_get_dxgi_format ();
16523 main ()
16525 return vkd3d_get_dxgi_format ();
16527 return 0;
16529 _ACEOF
16530 if ac_fn_c_try_link "$LINENO"; then :
16531 case "$LIBEXT" in
16532 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16533 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'` ;;
16534 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16535 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16536 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16537 fi ;;
16538 esac
16539 else
16540 ac_cv_lib_soname_vkd3d=
16542 rm -f core conftest.err conftest.$ac_objext \
16543 conftest$ac_exeext conftest.$ac_ext
16544 LIBS=$ac_check_soname_save_LIBS
16546 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16548 $as_echo "not found" >&6; }
16550 else
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16552 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16554 cat >>confdefs.h <<_ACEOF
16555 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16556 _ACEOF
16560 CPPFLAGS=$ac_save_CPPFLAGS
16561 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16562 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16565 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16566 case "x$with_vkd3d" in
16567 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16568 xno) ;;
16569 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16570 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16571 esac
16574 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16577 EXTRACFLAGS=""
16579 if test "x${GCC}" = "xyes"
16580 then
16581 EXTRACFLAGS="-Wall -pipe"
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16584 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16585 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16586 $as_echo_n "(cached) " >&6
16587 else
16588 if test "$cross_compiling" = yes; then :
16589 ac_cv_c_gcc_strength_bug="no"
16590 else
16591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h. */
16593 int L[4] = {0,1,2,3};
16595 main ()
16597 static int Array[3];
16598 unsigned int B = 3;
16599 int i;
16600 for(i=0; i<B; i++) Array[i] = i - 3;
16601 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16602 L[i] = 4;
16603 return (Array[1] != -2 || L[2] != 3)
16605 return 0;
16607 _ACEOF
16608 if ac_fn_c_try_run "$LINENO"; then :
16609 ac_cv_c_gcc_strength_bug="no"
16610 else
16611 ac_cv_c_gcc_strength_bug="yes"
16613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16614 conftest.$ac_objext conftest.beam conftest.$ac_ext
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16619 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16620 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16621 then
16622 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16626 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16627 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16628 $as_echo_n "(cached) " >&6
16629 else
16630 ac_wine_try_cflags_saved=$CFLAGS
16631 CFLAGS="$CFLAGS -fno-strict-aliasing"
16632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16634 int main(int argc, char **argv) { return 0; }
16635 _ACEOF
16636 if ac_fn_c_try_link "$LINENO"; then :
16637 ac_cv_cflags__fno_strict_aliasing=yes
16638 else
16639 ac_cv_cflags__fno_strict_aliasing=no
16641 rm -f core conftest.err conftest.$ac_objext \
16642 conftest$ac_exeext conftest.$ac_ext
16643 CFLAGS=$ac_wine_try_cflags_saved
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16646 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16647 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16648 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16651 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16652 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16653 $as_echo_n "(cached) " >&6
16654 else
16655 ac_wine_try_cflags_saved=$CFLAGS
16656 CFLAGS="$CFLAGS -fexcess-precision=standard"
16657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16658 /* end confdefs.h. */
16659 int main(int argc, char **argv) { return 0; }
16660 _ACEOF
16661 if ac_fn_c_try_link "$LINENO"; then :
16662 ac_cv_cflags__fexcess_precision_standard=yes
16663 else
16664 ac_cv_cflags__fexcess_precision_standard=no
16666 rm -f core conftest.err conftest.$ac_objext \
16667 conftest$ac_exeext conftest.$ac_ext
16668 CFLAGS=$ac_wine_try_cflags_saved
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16671 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16672 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16673 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16676 saved_CFLAGS=$CFLAGS
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16678 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16679 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16680 $as_echo_n "(cached) " >&6
16681 else
16682 ac_wine_try_cflags_saved=$CFLAGS
16683 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16685 /* end confdefs.h. */
16686 int main(int argc, char **argv) { return 0; }
16687 _ACEOF
16688 if ac_fn_c_try_link "$LINENO"; then :
16689 ac_cv_cflags__Werror_unknown_warning_option=yes
16690 else
16691 ac_cv_cflags__Werror_unknown_warning_option=no
16693 rm -f core conftest.err conftest.$ac_objext \
16694 conftest$ac_exeext conftest.$ac_ext
16695 CFLAGS=$ac_wine_try_cflags_saved
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16698 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16699 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16700 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16703 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16704 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16705 $as_echo_n "(cached) " >&6
16706 else
16707 ac_wine_try_cflags_saved=$CFLAGS
16708 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16710 /* end confdefs.h. */
16711 int main(int argc, char **argv) { return 0; }
16712 _ACEOF
16713 if ac_fn_c_try_link "$LINENO"; then :
16714 ac_cv_cflags__Wdeclaration_after_statement=yes
16715 else
16716 ac_cv_cflags__Wdeclaration_after_statement=no
16718 rm -f core conftest.err conftest.$ac_objext \
16719 conftest$ac_exeext conftest.$ac_ext
16720 CFLAGS=$ac_wine_try_cflags_saved
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16723 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16724 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16725 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16728 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16729 if ${ac_cv_cflags__Wempty_body+:} false; then :
16730 $as_echo_n "(cached) " >&6
16731 else
16732 ac_wine_try_cflags_saved=$CFLAGS
16733 CFLAGS="$CFLAGS -Wempty-body"
16734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16735 /* end confdefs.h. */
16736 int main(int argc, char **argv) { return 0; }
16737 _ACEOF
16738 if ac_fn_c_try_link "$LINENO"; then :
16739 ac_cv_cflags__Wempty_body=yes
16740 else
16741 ac_cv_cflags__Wempty_body=no
16743 rm -f core conftest.err conftest.$ac_objext \
16744 conftest$ac_exeext conftest.$ac_ext
16745 CFLAGS=$ac_wine_try_cflags_saved
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16748 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16749 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16750 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16753 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16754 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16755 $as_echo_n "(cached) " >&6
16756 else
16757 ac_wine_try_cflags_saved=$CFLAGS
16758 CFLAGS="$CFLAGS -Wignored-qualifiers"
16759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16761 int main(int argc, char **argv) { return 0; }
16762 _ACEOF
16763 if ac_fn_c_try_link "$LINENO"; then :
16764 ac_cv_cflags__Wignored_qualifiers=yes
16765 else
16766 ac_cv_cflags__Wignored_qualifiers=no
16768 rm -f core conftest.err conftest.$ac_objext \
16769 conftest$ac_exeext conftest.$ac_ext
16770 CFLAGS=$ac_wine_try_cflags_saved
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16773 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16774 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16775 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16778 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16779 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16780 $as_echo_n "(cached) " >&6
16781 else
16782 ac_wine_try_cflags_saved=$CFLAGS
16783 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16785 /* end confdefs.h. */
16786 int main(int argc, char **argv) { return 0; }
16787 _ACEOF
16788 if ac_fn_c_try_link "$LINENO"; then :
16789 ac_cv_cflags__Wpacked_not_aligned=yes
16790 else
16791 ac_cv_cflags__Wpacked_not_aligned=no
16793 rm -f core conftest.err conftest.$ac_objext \
16794 conftest$ac_exeext conftest.$ac_ext
16795 CFLAGS=$ac_wine_try_cflags_saved
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
16798 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
16799 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
16800 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
16803 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
16804 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
16805 $as_echo_n "(cached) " >&6
16806 else
16807 ac_wine_try_cflags_saved=$CFLAGS
16808 CFLAGS="$CFLAGS -Wpragma-pack"
16809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16810 /* end confdefs.h. */
16811 int main(int argc, char **argv) { return 0; }
16812 _ACEOF
16813 if ac_fn_c_try_link "$LINENO"; then :
16814 ac_cv_cflags__Wpragma_pack=yes
16815 else
16816 ac_cv_cflags__Wpragma_pack=no
16818 rm -f core conftest.err conftest.$ac_objext \
16819 conftest$ac_exeext conftest.$ac_ext
16820 CFLAGS=$ac_wine_try_cflags_saved
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
16823 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
16824 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
16825 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
16828 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
16829 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
16830 $as_echo_n "(cached) " >&6
16831 else
16832 ac_wine_try_cflags_saved=$CFLAGS
16833 CFLAGS="$CFLAGS -Wshift-overflow=2"
16834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16835 /* end confdefs.h. */
16836 int main(int argc, char **argv) { return 0; }
16837 _ACEOF
16838 if ac_fn_c_try_link "$LINENO"; then :
16839 ac_cv_cflags__Wshift_overflow_2=yes
16840 else
16841 ac_cv_cflags__Wshift_overflow_2=no
16843 rm -f core conftest.err conftest.$ac_objext \
16844 conftest$ac_exeext conftest.$ac_ext
16845 CFLAGS=$ac_wine_try_cflags_saved
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16848 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16849 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16850 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16853 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16854 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16855 $as_echo_n "(cached) " >&6
16856 else
16857 ac_wine_try_cflags_saved=$CFLAGS
16858 CFLAGS="$CFLAGS -Wstrict-prototypes"
16859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */
16861 int main(int argc, char **argv) { return 0; }
16862 _ACEOF
16863 if ac_fn_c_try_link "$LINENO"; then :
16864 ac_cv_cflags__Wstrict_prototypes=yes
16865 else
16866 ac_cv_cflags__Wstrict_prototypes=no
16868 rm -f core conftest.err conftest.$ac_objext \
16869 conftest$ac_exeext conftest.$ac_ext
16870 CFLAGS=$ac_wine_try_cflags_saved
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16873 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16874 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16875 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16878 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16879 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16880 $as_echo_n "(cached) " >&6
16881 else
16882 ac_wine_try_cflags_saved=$CFLAGS
16883 CFLAGS="$CFLAGS -Wtype-limits"
16884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16885 /* end confdefs.h. */
16886 int main(int argc, char **argv) { return 0; }
16887 _ACEOF
16888 if ac_fn_c_try_link "$LINENO"; then :
16889 ac_cv_cflags__Wtype_limits=yes
16890 else
16891 ac_cv_cflags__Wtype_limits=no
16893 rm -f core conftest.err conftest.$ac_objext \
16894 conftest$ac_exeext conftest.$ac_ext
16895 CFLAGS=$ac_wine_try_cflags_saved
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16898 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16899 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16900 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16903 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16904 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16905 $as_echo_n "(cached) " >&6
16906 else
16907 ac_wine_try_cflags_saved=$CFLAGS
16908 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16910 /* end confdefs.h. */
16911 int main(int argc, char **argv) { return 0; }
16912 _ACEOF
16913 if ac_fn_c_try_link "$LINENO"; then :
16914 ac_cv_cflags__Wunused_but_set_parameter=yes
16915 else
16916 ac_cv_cflags__Wunused_but_set_parameter=no
16918 rm -f core conftest.err conftest.$ac_objext \
16919 conftest$ac_exeext conftest.$ac_ext
16920 CFLAGS=$ac_wine_try_cflags_saved
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16923 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16924 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16925 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16928 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16929 if ${ac_cv_cflags__Wvla+:} false; then :
16930 $as_echo_n "(cached) " >&6
16931 else
16932 ac_wine_try_cflags_saved=$CFLAGS
16933 CFLAGS="$CFLAGS -Wvla"
16934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16935 /* end confdefs.h. */
16936 int main(int argc, char **argv) { return 0; }
16937 _ACEOF
16938 if ac_fn_c_try_link "$LINENO"; then :
16939 ac_cv_cflags__Wvla=yes
16940 else
16941 ac_cv_cflags__Wvla=no
16943 rm -f core conftest.err conftest.$ac_objext \
16944 conftest$ac_exeext conftest.$ac_ext
16945 CFLAGS=$ac_wine_try_cflags_saved
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16948 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16949 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16950 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16953 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16954 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16955 $as_echo_n "(cached) " >&6
16956 else
16957 ac_wine_try_cflags_saved=$CFLAGS
16958 CFLAGS="$CFLAGS -Wwrite-strings"
16959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16960 /* end confdefs.h. */
16961 int main(int argc, char **argv) { return 0; }
16962 _ACEOF
16963 if ac_fn_c_try_link "$LINENO"; then :
16964 ac_cv_cflags__Wwrite_strings=yes
16965 else
16966 ac_cv_cflags__Wwrite_strings=no
16968 rm -f core conftest.err conftest.$ac_objext \
16969 conftest$ac_exeext conftest.$ac_ext
16970 CFLAGS=$ac_wine_try_cflags_saved
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16973 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16974 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16975 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16979 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16980 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16981 $as_echo_n "(cached) " >&6
16982 else
16983 ac_wine_try_cflags_saved=$CFLAGS
16984 CFLAGS="$CFLAGS -Wpointer-arith"
16985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986 /* end confdefs.h. */
16987 int main(int argc, char **argv) { return 0; }
16988 _ACEOF
16989 if ac_fn_c_try_link "$LINENO"; then :
16990 ac_cv_cflags__Wpointer_arith=yes
16991 else
16992 ac_cv_cflags__Wpointer_arith=no
16994 rm -f core conftest.err conftest.$ac_objext \
16995 conftest$ac_exeext conftest.$ac_ext
16996 CFLAGS=$ac_wine_try_cflags_saved
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16999 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17000 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17001 saved_string_h_CFLAGS=$CFLAGS
17002 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17004 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17005 if ${ac_cv_c_string_h_warnings+:} false; then :
17006 $as_echo_n "(cached) " >&6
17007 else
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 #include <string.h>
17012 main ()
17016 return 0;
17018 _ACEOF
17019 if ac_fn_c_try_compile "$LINENO"; then :
17020 ac_cv_c_string_h_warnings=no
17021 else
17022 ac_cv_c_string_h_warnings=yes
17024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17027 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17028 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17029 CFLAGS=$saved_string_h_CFLAGS
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17033 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17034 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17035 $as_echo_n "(cached) " >&6
17036 else
17037 ac_wine_try_cflags_saved=$CFLAGS
17038 CFLAGS="$CFLAGS -Wlogical-op"
17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17041 int main(int argc, char **argv) { return 0; }
17042 _ACEOF
17043 if ac_fn_c_try_link "$LINENO"; then :
17044 ac_cv_cflags__Wlogical_op=yes
17045 else
17046 ac_cv_cflags__Wlogical_op=no
17048 rm -f core conftest.err conftest.$ac_objext \
17049 conftest$ac_exeext conftest.$ac_ext
17050 CFLAGS=$ac_wine_try_cflags_saved
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17053 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17054 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17055 saved_string_h_CFLAGS=$CFLAGS
17056 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17058 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17059 if ${ac_cv_c_logicalop_noisy+:} false; then :
17060 $as_echo_n "(cached) " >&6
17061 else
17062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17063 /* end confdefs.h. */
17064 #include <string.h>
17065 char*f(const char *h,char n) {return strchr(h,n);}
17067 main ()
17071 return 0;
17073 _ACEOF
17074 if ac_fn_c_try_compile "$LINENO"; then :
17075 ac_cv_c_logicalop_noisy=no
17076 else
17077 ac_cv_c_logicalop_noisy=yes
17079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17082 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17083 CFLAGS=$saved_string_h_CFLAGS
17084 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17087 CFLAGS=$saved_CFLAGS
17089 for ac_flag in $CFLAGS; do
17090 case $ac_flag in
17091 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17092 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17093 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17094 $as_echo_n "(cached) " >&6
17095 else
17096 ac_wine_try_cflags_saved=$CFLAGS
17097 CFLAGS="$CFLAGS -gdwarf-2"
17098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17100 int main(int argc, char **argv) { return 0; }
17101 _ACEOF
17102 if ac_fn_c_try_link "$LINENO"; then :
17103 ac_cv_cflags__gdwarf_2=yes
17104 else
17105 ac_cv_cflags__gdwarf_2=no
17107 rm -f core conftest.err conftest.$ac_objext \
17108 conftest$ac_exeext conftest.$ac_ext
17109 CFLAGS=$ac_wine_try_cflags_saved
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17112 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17113 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17114 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17117 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17118 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17119 $as_echo_n "(cached) " >&6
17120 else
17121 ac_wine_try_cflags_saved=$CFLAGS
17122 CFLAGS="$CFLAGS -gstrict-dwarf"
17123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17124 /* end confdefs.h. */
17125 int main(int argc, char **argv) { return 0; }
17126 _ACEOF
17127 if ac_fn_c_try_link "$LINENO"; then :
17128 ac_cv_cflags__gstrict_dwarf=yes
17129 else
17130 ac_cv_cflags__gstrict_dwarf=no
17132 rm -f core conftest.err conftest.$ac_objext \
17133 conftest$ac_exeext conftest.$ac_ext
17134 CFLAGS=$ac_wine_try_cflags_saved
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17137 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17138 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17139 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17140 fi ;;
17141 esac
17142 done
17144 MSVCRTFLAGS=""
17146 case $host_os in
17147 cygwin*|mingw32*) ;;
17148 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17149 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17150 if ${ac_cv_cflags__fno_builtin+:} false; then :
17151 $as_echo_n "(cached) " >&6
17152 else
17153 ac_wine_try_cflags_saved=$CFLAGS
17154 CFLAGS="$CFLAGS -fno-builtin"
17155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17157 int main(int argc, char **argv) { return 0; }
17158 _ACEOF
17159 if ac_fn_c_try_link "$LINENO"; then :
17160 ac_cv_cflags__fno_builtin=yes
17161 else
17162 ac_cv_cflags__fno_builtin=no
17164 rm -f core conftest.err conftest.$ac_objext \
17165 conftest$ac_exeext conftest.$ac_ext
17166 CFLAGS=$ac_wine_try_cflags_saved
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17169 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17170 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17171 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17174 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17175 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17176 $as_echo_n "(cached) " >&6
17177 else
17178 ac_wine_try_cflags_saved=$CFLAGS
17179 CFLAGS="$CFLAGS -fshort-wchar"
17180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17181 /* end confdefs.h. */
17182 int main(int argc, char **argv) { return 0; }
17183 _ACEOF
17184 if ac_fn_c_try_link "$LINENO"; then :
17185 ac_cv_cflags__fshort_wchar=yes
17186 else
17187 ac_cv_cflags__fshort_wchar=no
17189 rm -f core conftest.err conftest.$ac_objext \
17190 conftest$ac_exeext conftest.$ac_ext
17191 CFLAGS=$ac_wine_try_cflags_saved
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17194 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17195 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17196 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17197 fi ;;
17198 esac
17200 case $host_cpu in
17201 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17202 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17203 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17204 $as_echo_n "(cached) " >&6
17205 else
17206 ac_wine_try_cflags_saved=$CFLAGS
17207 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17210 int main(int argc, char **argv) { return 0; }
17211 _ACEOF
17212 if ac_fn_c_try_link "$LINENO"; then :
17213 ac_cv_cflags__fno_omit_frame_pointer=yes
17214 else
17215 ac_cv_cflags__fno_omit_frame_pointer=no
17217 rm -f core conftest.err conftest.$ac_objext \
17218 conftest$ac_exeext conftest.$ac_ext
17219 CFLAGS=$ac_wine_try_cflags_saved
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17222 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17223 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17224 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17225 fi ;;
17226 esac
17228 case $host in
17229 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17230 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17231 if ${ac_cv_cflags__Wno_format+:} false; then :
17232 $as_echo_n "(cached) " >&6
17233 else
17234 ac_wine_try_cflags_saved=$CFLAGS
17235 CFLAGS="$CFLAGS -Wno-format"
17236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17237 /* end confdefs.h. */
17238 int main(int argc, char **argv) { return 0; }
17239 _ACEOF
17240 if ac_fn_c_try_link "$LINENO"; then :
17241 ac_cv_cflags__Wno_format=yes
17242 else
17243 ac_cv_cflags__Wno_format=no
17245 rm -f core conftest.err conftest.$ac_objext \
17246 conftest$ac_exeext conftest.$ac_ext
17247 CFLAGS=$ac_wine_try_cflags_saved
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17250 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17251 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17252 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17253 fi ;;
17254 esac
17256 if test "x$enable_maintainer_mode" = "xyes"
17257 then
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17259 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17260 if ${ac_cv_cflags__Werror+:} false; then :
17261 $as_echo_n "(cached) " >&6
17262 else
17263 ac_wine_try_cflags_saved=$CFLAGS
17264 CFLAGS="$CFLAGS -Werror"
17265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17266 /* end confdefs.h. */
17267 int main(int argc, char **argv) { return 0; }
17268 _ACEOF
17269 if ac_fn_c_try_link "$LINENO"; then :
17270 ac_cv_cflags__Werror=yes
17271 else
17272 ac_cv_cflags__Werror=no
17274 rm -f core conftest.err conftest.$ac_objext \
17275 conftest$ac_exeext conftest.$ac_ext
17276 CFLAGS=$ac_wine_try_cflags_saved
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17279 $as_echo "$ac_cv_cflags__Werror" >&6; }
17280 if test "x$ac_cv_cflags__Werror" = xyes; then :
17281 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17288 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17289 if ${ac_cv_c_fortify_enabled+:} false; then :
17290 $as_echo_n "(cached) " >&6
17291 else
17292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17293 /* end confdefs.h. */
17294 #include <string.h>
17296 main ()
17298 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17299 #error Fortify enabled
17300 #endif
17302 return 0;
17304 _ACEOF
17305 if ac_fn_c_try_compile "$LINENO"; then :
17306 ac_cv_c_fortify_enabled=no
17307 else
17308 ac_cv_c_fortify_enabled=yes
17310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17313 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17314 if test "$ac_cv_c_fortify_enabled" = yes
17315 then
17316 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17321 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17322 if ${ac_cv_c_cfi_support+:} false; then :
17323 $as_echo_n "(cached) " >&6
17324 else
17325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17326 /* end confdefs.h. */
17327 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17329 main ()
17333 return 0;
17335 _ACEOF
17336 if ac_fn_c_try_compile "$LINENO"; then :
17337 ac_cv_c_cfi_support="yes"
17338 else
17339 ac_cv_c_cfi_support="no"
17341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17344 $as_echo "$ac_cv_c_cfi_support" >&6; }
17345 if test "$ac_cv_c_cfi_support" = "yes"
17346 then
17347 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17348 else
17349 if test "x$enable_win64" = "xyes"
17350 then
17351 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17356 case $build_os in
17357 cygwin*|mingw32*) TOOLSEXT=".exe"
17359 esac
17361 case $host_os in
17362 linux*)
17363 case $host_cpu in
17364 *i[3456789]86*|x86_64*|*aarch64*)
17365 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17366 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17368 esac
17370 esac
17373 ac_save_CFLAGS="$CFLAGS"
17374 CFLAGS="$CFLAGS $BUILTINFLAG"
17375 for ac_func in \
17376 __res_get_state \
17377 __res_getservers \
17378 _spawnvp \
17379 dlopen \
17380 epoll_create \
17381 ffs \
17382 finitef \
17383 fnmatch \
17384 fork \
17385 fpclass \
17386 fstatfs \
17387 fstatvfs \
17388 futimens \
17389 futimes \
17390 futimesat \
17391 getattrlist \
17392 getauxval \
17393 getifaddrs \
17394 getopt_long_only \
17395 kqueue \
17396 lstat \
17397 pipe2 \
17398 poll \
17399 port_create \
17400 prctl \
17401 pread \
17402 proc_pidinfo \
17403 pwrite \
17404 readdir \
17405 readlink \
17406 sched_yield \
17407 select \
17408 setproctitle \
17409 setprogname \
17410 settimeofday \
17411 sigprocmask \
17412 statfs \
17413 statvfs \
17414 strnlen \
17415 strtold \
17416 symlink \
17417 sysinfo \
17418 tcdrain \
17419 thr_kill2 \
17420 timegm \
17421 usleep
17423 do :
17424 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17426 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17427 cat >>confdefs.h <<_ACEOF
17428 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17429 _ACEOF
17432 done
17434 CFLAGS="$ac_save_CFLAGS"
17436 if test "$ac_cv_func_dlopen" = no
17437 then
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17439 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17440 if ${ac_cv_lib_dl_dlopen+:} false; then :
17441 $as_echo_n "(cached) " >&6
17442 else
17443 ac_check_lib_save_LIBS=$LIBS
17444 LIBS="-ldl $LIBS"
17445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17448 /* Override any GCC internal prototype to avoid an error.
17449 Use char because int might match the return type of a GCC
17450 builtin and then its argument prototype would still apply. */
17451 #ifdef __cplusplus
17452 extern "C"
17453 #endif
17454 char dlopen ();
17456 main ()
17458 return dlopen ();
17460 return 0;
17462 _ACEOF
17463 if ac_fn_c_try_link "$LINENO"; then :
17464 ac_cv_lib_dl_dlopen=yes
17465 else
17466 ac_cv_lib_dl_dlopen=no
17468 rm -f core conftest.err conftest.$ac_objext \
17469 conftest$ac_exeext conftest.$ac_ext
17470 LIBS=$ac_check_lib_save_LIBS
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17473 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17474 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17475 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17476 DL_LIBS="-ldl"
17481 ac_wine_check_funcs_save_LIBS="$LIBS"
17482 LIBS="$LIBS $DL_LIBS"
17483 for ac_func in dladdr
17484 do :
17485 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17486 if test "x$ac_cv_func_dladdr" = xyes; then :
17487 cat >>confdefs.h <<_ACEOF
17488 #define HAVE_DLADDR 1
17489 _ACEOF
17492 done
17494 LIBS="$ac_wine_check_funcs_save_LIBS"
17496 if test "$ac_cv_func_poll" = no
17497 then
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17499 $as_echo_n "checking for poll in -lpoll... " >&6; }
17500 if ${ac_cv_lib_poll_poll+:} false; then :
17501 $as_echo_n "(cached) " >&6
17502 else
17503 ac_check_lib_save_LIBS=$LIBS
17504 LIBS="-lpoll $LIBS"
17505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17506 /* end confdefs.h. */
17508 /* Override any GCC internal prototype to avoid an error.
17509 Use char because int might match the return type of a GCC
17510 builtin and then its argument prototype would still apply. */
17511 #ifdef __cplusplus
17512 extern "C"
17513 #endif
17514 char poll ();
17516 main ()
17518 return poll ();
17520 return 0;
17522 _ACEOF
17523 if ac_fn_c_try_link "$LINENO"; then :
17524 ac_cv_lib_poll_poll=yes
17525 else
17526 ac_cv_lib_poll_poll=no
17528 rm -f core conftest.err conftest.$ac_objext \
17529 conftest$ac_exeext conftest.$ac_ext
17530 LIBS=$ac_check_lib_save_LIBS
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17533 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17534 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17535 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17536 POLL_LIBS="-lpoll"
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17543 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17544 if ${ac_cv_search_gethostbyname+:} false; then :
17545 $as_echo_n "(cached) " >&6
17546 else
17547 ac_func_search_save_LIBS=$LIBS
17548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17549 /* end confdefs.h. */
17551 /* Override any GCC internal prototype to avoid an error.
17552 Use char because int might match the return type of a GCC
17553 builtin and then its argument prototype would still apply. */
17554 #ifdef __cplusplus
17555 extern "C"
17556 #endif
17557 char gethostbyname ();
17559 main ()
17561 return gethostbyname ();
17563 return 0;
17565 _ACEOF
17566 for ac_lib in '' nsl; do
17567 if test -z "$ac_lib"; then
17568 ac_res="none required"
17569 else
17570 ac_res=-l$ac_lib
17571 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17573 if ac_fn_c_try_link "$LINENO"; then :
17574 ac_cv_search_gethostbyname=$ac_res
17576 rm -f core conftest.err conftest.$ac_objext \
17577 conftest$ac_exeext
17578 if ${ac_cv_search_gethostbyname+:} false; then :
17579 break
17581 done
17582 if ${ac_cv_search_gethostbyname+:} false; then :
17584 else
17585 ac_cv_search_gethostbyname=no
17587 rm conftest.$ac_ext
17588 LIBS=$ac_func_search_save_LIBS
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17591 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17592 ac_res=$ac_cv_search_gethostbyname
17593 if test "$ac_res" != no; then :
17594 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17600 $as_echo_n "checking for library containing connect... " >&6; }
17601 if ${ac_cv_search_connect+:} false; then :
17602 $as_echo_n "(cached) " >&6
17603 else
17604 ac_func_search_save_LIBS=$LIBS
17605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17606 /* end confdefs.h. */
17608 /* Override any GCC internal prototype to avoid an error.
17609 Use char because int might match the return type of a GCC
17610 builtin and then its argument prototype would still apply. */
17611 #ifdef __cplusplus
17612 extern "C"
17613 #endif
17614 char connect ();
17616 main ()
17618 return connect ();
17620 return 0;
17622 _ACEOF
17623 for ac_lib in '' socket; do
17624 if test -z "$ac_lib"; then
17625 ac_res="none required"
17626 else
17627 ac_res=-l$ac_lib
17628 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17630 if ac_fn_c_try_link "$LINENO"; then :
17631 ac_cv_search_connect=$ac_res
17633 rm -f core conftest.err conftest.$ac_objext \
17634 conftest$ac_exeext
17635 if ${ac_cv_search_connect+:} false; then :
17636 break
17638 done
17639 if ${ac_cv_search_connect+:} false; then :
17641 else
17642 ac_cv_search_connect=no
17644 rm conftest.$ac_ext
17645 LIBS=$ac_func_search_save_LIBS
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17648 $as_echo "$ac_cv_search_connect" >&6; }
17649 ac_res=$ac_cv_search_connect
17650 if test "$ac_res" != no; then :
17651 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17657 $as_echo_n "checking for library containing inet_aton... " >&6; }
17658 if ${ac_cv_search_inet_aton+:} false; then :
17659 $as_echo_n "(cached) " >&6
17660 else
17661 ac_func_search_save_LIBS=$LIBS
17662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17663 /* end confdefs.h. */
17665 /* Override any GCC internal prototype to avoid an error.
17666 Use char because int might match the return type of a GCC
17667 builtin and then its argument prototype would still apply. */
17668 #ifdef __cplusplus
17669 extern "C"
17670 #endif
17671 char inet_aton ();
17673 main ()
17675 return inet_aton ();
17677 return 0;
17679 _ACEOF
17680 for ac_lib in '' resolv; do
17681 if test -z "$ac_lib"; then
17682 ac_res="none required"
17683 else
17684 ac_res=-l$ac_lib
17685 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17687 if ac_fn_c_try_link "$LINENO"; then :
17688 ac_cv_search_inet_aton=$ac_res
17690 rm -f core conftest.err conftest.$ac_objext \
17691 conftest$ac_exeext
17692 if ${ac_cv_search_inet_aton+:} false; then :
17693 break
17695 done
17696 if ${ac_cv_search_inet_aton+:} false; then :
17698 else
17699 ac_cv_search_inet_aton=no
17701 rm conftest.$ac_ext
17702 LIBS=$ac_func_search_save_LIBS
17704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17705 $as_echo "$ac_cv_search_inet_aton" >&6; }
17706 ac_res=$ac_cv_search_inet_aton
17707 if test "$ac_res" != no; then :
17708 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17713 for ac_func in \
17714 getaddrinfo \
17715 getnameinfo \
17716 getnetbyname \
17717 getprotobyname \
17718 getprotobynumber \
17719 getservbyport \
17720 inet_addr \
17721 inet_network \
17722 inet_ntop \
17723 inet_pton \
17725 do :
17726 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17727 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17728 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17729 cat >>confdefs.h <<_ACEOF
17730 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17731 _ACEOF
17734 done
17737 case $host_os in
17738 darwin*|macosx*) ;;
17739 *) ac_save_LIBS=$LIBS
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17741 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17742 if ${ac_cv_search_clock_gettime+:} false; then :
17743 $as_echo_n "(cached) " >&6
17744 else
17745 ac_func_search_save_LIBS=$LIBS
17746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17747 /* end confdefs.h. */
17749 /* Override any GCC internal prototype to avoid an error.
17750 Use char because int might match the return type of a GCC
17751 builtin and then its argument prototype would still apply. */
17752 #ifdef __cplusplus
17753 extern "C"
17754 #endif
17755 char clock_gettime ();
17757 main ()
17759 return clock_gettime ();
17761 return 0;
17763 _ACEOF
17764 for ac_lib in '' rt; do
17765 if test -z "$ac_lib"; then
17766 ac_res="none required"
17767 else
17768 ac_res=-l$ac_lib
17769 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17771 if ac_fn_c_try_link "$LINENO"; then :
17772 ac_cv_search_clock_gettime=$ac_res
17774 rm -f core conftest.err conftest.$ac_objext \
17775 conftest$ac_exeext
17776 if ${ac_cv_search_clock_gettime+:} false; then :
17777 break
17779 done
17780 if ${ac_cv_search_clock_gettime+:} false; then :
17782 else
17783 ac_cv_search_clock_gettime=no
17785 rm conftest.$ac_ext
17786 LIBS=$ac_func_search_save_LIBS
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17789 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17790 ac_res=$ac_cv_search_clock_gettime
17791 if test "$ac_res" != no; then :
17792 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17794 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17796 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17800 LIBS=$ac_save_LIBS
17802 esac
17804 if test "x$with_ldap" != "xno"
17805 then
17806 if ${LDAP_CFLAGS:+false} :; then :
17807 if ${PKG_CONFIG+:} false; then :
17808 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17812 if ${LDAP_LIBS:+false} :; then :
17813 if ${PKG_CONFIG+:} false; then :
17814 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17818 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17819 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17820 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17821 ac_save_CPPFLAGS=$CPPFLAGS
17822 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17823 for ac_header in ldap.h lber.h
17824 do :
17825 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17826 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17827 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17828 cat >>confdefs.h <<_ACEOF
17829 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17830 _ACEOF
17834 done
17836 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17837 then
17838 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17840 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17842 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17843 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17844 $as_echo_n "(cached) " >&6
17845 else
17846 ac_check_lib_save_LIBS=$LIBS
17847 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17849 /* end confdefs.h. */
17851 /* Override any GCC internal prototype to avoid an error.
17852 Use char because int might match the return type of a GCC
17853 builtin and then its argument prototype would still apply. */
17854 #ifdef __cplusplus
17855 extern "C"
17856 #endif
17857 char ldap_initialize ();
17859 main ()
17861 return ldap_initialize ();
17863 return 0;
17865 _ACEOF
17866 if ac_fn_c_try_link "$LINENO"; then :
17867 ac_cv_lib_ldap_r_ldap_initialize=yes
17868 else
17869 ac_cv_lib_ldap_r_ldap_initialize=no
17871 rm -f core conftest.err conftest.$ac_objext \
17872 conftest$ac_exeext conftest.$ac_ext
17873 LIBS=$ac_check_lib_save_LIBS
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17876 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17877 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17879 $as_echo_n "checking for ber_init in -llber... " >&6; }
17880 if ${ac_cv_lib_lber_ber_init+:} false; then :
17881 $as_echo_n "(cached) " >&6
17882 else
17883 ac_check_lib_save_LIBS=$LIBS
17884 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17886 /* end confdefs.h. */
17888 /* Override any GCC internal prototype to avoid an error.
17889 Use char because int might match the return type of a GCC
17890 builtin and then its argument prototype would still apply. */
17891 #ifdef __cplusplus
17892 extern "C"
17893 #endif
17894 char ber_init ();
17896 main ()
17898 return ber_init ();
17900 return 0;
17902 _ACEOF
17903 if ac_fn_c_try_link "$LINENO"; then :
17904 ac_cv_lib_lber_ber_init=yes
17905 else
17906 ac_cv_lib_lber_ber_init=no
17908 rm -f core conftest.err conftest.$ac_objext \
17909 conftest$ac_exeext conftest.$ac_ext
17910 LIBS=$ac_check_lib_save_LIBS
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17913 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17914 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17916 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17918 else
17919 LDAP_LIBS=""
17922 else
17923 LDAP_LIBS=""
17926 else
17927 LDAP_LIBS=""
17930 ac_wine_check_funcs_save_LIBS="$LIBS"
17931 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17932 for ac_func in \
17933 ldap_count_references \
17934 ldap_first_reference \
17935 ldap_next_reference \
17936 ldap_parse_reference \
17937 ldap_parse_sort_control \
17938 ldap_parse_sortresponse_control \
17939 ldap_parse_vlv_control \
17940 ldap_parse_vlvresponse_control
17941 do :
17942 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17944 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17945 cat >>confdefs.h <<_ACEOF
17946 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17947 _ACEOF
17950 done
17952 LIBS="$ac_wine_check_funcs_save_LIBS"
17953 else
17954 LDAP_LIBS=""
17956 CPPFLAGS=$ac_save_CPPFLAGS
17957 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17958 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17961 if test "x$LDAP_LIBS" = "x"; then :
17962 case "x$with_ldap" in
17963 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17964 xno) ;;
17965 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17966 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17967 esac
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17972 $as_echo_n "checking for sched_setaffinity... " >&6; }
17973 if ${wine_cv_have_sched_setaffinity+:} false; then :
17974 $as_echo_n "(cached) " >&6
17975 else
17976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17977 /* end confdefs.h. */
17978 #define _GNU_SOURCE
17979 #include <sched.h>
17981 main ()
17983 sched_setaffinity(0, 0, 0);
17985 return 0;
17987 _ACEOF
17988 if ac_fn_c_try_link "$LINENO"; then :
17989 wine_cv_have_sched_setaffinity=yes
17990 else
17991 wine_cv_have_sched_setaffinity=no
17993 rm -f core conftest.err conftest.$ac_objext \
17994 conftest$ac_exeext conftest.$ac_ext
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17997 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17998 if test "$wine_cv_have_sched_setaffinity" = "yes"
17999 then
18001 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18006 $as_echo_n "checking for fallocate... " >&6; }
18007 if ${wine_cv_have_fallocate+:} false; then :
18008 $as_echo_n "(cached) " >&6
18009 else
18010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18011 /* end confdefs.h. */
18012 #define _GNU_SOURCE
18013 #include <fcntl.h>
18015 main ()
18017 fallocate(-1, 0, 0, 0);
18019 return 0;
18021 _ACEOF
18022 if ac_fn_c_try_link "$LINENO"; then :
18023 wine_cv_have_fallocate=yes
18024 else
18025 wine_cv_have_fallocate=no
18027 rm -f core conftest.err conftest.$ac_objext \
18028 conftest$ac_exeext conftest.$ac_ext
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18031 $as_echo "$wine_cv_have_fallocate" >&6; }
18032 if test "$wine_cv_have_fallocate" = "yes"
18033 then
18035 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18041 $as_echo_n "checking for inline... " >&6; }
18042 if ${ac_cv_c_inline+:} false; then :
18043 $as_echo_n "(cached) " >&6
18044 else
18045 ac_cv_c_inline=no
18046 for ac_kw in inline __inline__ __inline; do
18047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18048 /* end confdefs.h. */
18049 #ifndef __cplusplus
18050 typedef int foo_t;
18051 static $ac_kw foo_t static_foo () {return 0; }
18052 $ac_kw foo_t foo () {return 0; }
18053 #endif
18055 _ACEOF
18056 if ac_fn_c_try_compile "$LINENO"; then :
18057 ac_cv_c_inline=$ac_kw
18059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18060 test "$ac_cv_c_inline" != no && break
18061 done
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18065 $as_echo "$ac_cv_c_inline" >&6; }
18067 case $ac_cv_c_inline in
18068 inline | yes) ;;
18070 case $ac_cv_c_inline in
18071 no) ac_val=;;
18072 *) ac_val=$ac_cv_c_inline;;
18073 esac
18074 cat >>confdefs.h <<_ACEOF
18075 #ifndef __cplusplus
18076 #define inline $ac_val
18077 #endif
18078 _ACEOF
18080 esac
18082 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18083 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18085 cat >>confdefs.h <<_ACEOF
18086 #define HAVE_FSBLKCNT_T 1
18087 _ACEOF
18091 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18092 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18094 cat >>confdefs.h <<_ACEOF
18095 #define HAVE_FSFILCNT_T 1
18096 _ACEOF
18101 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18102 #include <signal.h>
18104 if test "x$ac_cv_type_sigset_t" = xyes; then :
18106 cat >>confdefs.h <<_ACEOF
18107 #define HAVE_SIGSET_T 1
18108 _ACEOF
18113 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18115 if test "x$ac_cv_type_request_sense" = xyes; then :
18117 cat >>confdefs.h <<_ACEOF
18118 #define HAVE_REQUEST_SENSE 1
18119 _ACEOF
18125 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18126 #ifdef HAVE_SYS_SOCKET_H
18127 #include <sys/socket.h>
18128 #endif
18129 #ifdef HAVE_SYS_SOCKETVAR_H
18130 #include <sys/socketvar.h>
18131 #endif
18132 #ifdef HAVE_NET_ROUTE_H
18133 #include <net/route.h>
18134 #endif
18135 #ifdef HAVE_NETINET_IN_H
18136 #include <netinet/in.h>
18137 #endif
18138 #ifdef HAVE_NETINET_IN_SYSTM_H
18139 #include <netinet/in_systm.h>
18140 #endif
18141 #ifdef HAVE_NETINET_IP_H
18142 #include <netinet/ip.h>
18143 #endif
18144 #ifdef HAVE_NETINET_IN_PCB_H
18145 #include <netinet/in_pcb.h>
18146 #endif
18148 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18150 cat >>confdefs.h <<_ACEOF
18151 #define HAVE_STRUCT_XINPGEN 1
18152 _ACEOF
18158 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18159 #include <link.h>
18160 #endif
18161 #ifdef HAVE_SYS_LINK_H
18162 #include <sys/link.h>
18163 #endif
18165 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18167 cat >>confdefs.h <<_ACEOF
18168 #define HAVE_STRUCT_R_DEBUG 1
18169 _ACEOF
18173 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18174 #include <link.h>
18175 #endif
18176 #ifdef HAVE_SYS_LINK_H
18177 #include <sys/link.h>
18178 #endif
18180 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18182 cat >>confdefs.h <<_ACEOF
18183 #define HAVE_STRUCT_LINK_MAP 1
18184 _ACEOF
18190 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18191 #include <linux/input.h>
18192 #endif
18194 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18196 cat >>confdefs.h <<_ACEOF
18197 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18198 _ACEOF
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18205 $as_echo_n "checking for if_nameindex... " >&6; }
18206 if ${wine_cv_have_if_nameindex+:} false; then :
18207 $as_echo_n "(cached) " >&6
18208 else
18209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18210 /* end confdefs.h. */
18211 #ifdef HAVE_SYS_TYPES_H
18212 #include <sys/types.h>
18213 #endif
18214 #ifdef HAVE_SYS_SOCKET_H
18215 #include <sys/socket.h>
18216 #endif
18217 #ifdef HAVE_NET_IF_H
18218 # include <net/if.h>
18219 #endif
18221 main ()
18223 struct if_nameindex *p = if_nameindex(); return p->if_index;
18225 return 0;
18227 _ACEOF
18228 if ac_fn_c_try_link "$LINENO"; then :
18229 wine_cv_have_if_nameindex=yes
18230 else
18231 wine_cv_have_if_nameindex=no
18233 rm -f core conftest.err conftest.$ac_objext \
18234 conftest$ac_exeext conftest.$ac_ext
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18237 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18238 if test "$wine_cv_have_if_nameindex" = "yes"
18239 then
18241 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18246 $as_echo_n "checking for sigaddset... " >&6; }
18247 if ${wine_cv_have_sigaddset+:} false; then :
18248 $as_echo_n "(cached) " >&6
18249 else
18250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18251 /* end confdefs.h. */
18252 #include <signal.h>
18254 main ()
18256 sigset_t set; sigaddset(&set,SIGTERM);
18258 return 0;
18260 _ACEOF
18261 if ac_fn_c_try_link "$LINENO"; then :
18262 wine_cv_have_sigaddset=yes
18263 else
18264 wine_cv_have_sigaddset=no
18266 rm -f core conftest.err conftest.$ac_objext \
18267 conftest$ac_exeext conftest.$ac_ext
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18270 $as_echo "$wine_cv_have_sigaddset" >&6; }
18271 if test "$wine_cv_have_sigaddset" = "yes"
18272 then
18274 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18280 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18281 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18282 $as_echo_n "(cached) " >&6
18283 else
18284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18285 /* end confdefs.h. */
18286 #include <netdb.h>
18288 main ()
18291 char *name=0;
18292 struct hostent he;
18293 struct hostent *result;
18294 char *buf=0;
18295 int bufsize=0;
18296 int errnr;
18297 char *addr=0;
18298 int addrlen=0;
18299 int addrtype=0;
18300 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18301 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18304 return 0;
18306 _ACEOF
18307 if ac_fn_c_try_link "$LINENO"; then :
18308 wine_cv_linux_gethostbyname_r_6=yes
18309 else
18310 wine_cv_linux_gethostbyname_r_6=no
18313 rm -f core conftest.err conftest.$ac_objext \
18314 conftest$ac_exeext conftest.$ac_ext
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18318 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18319 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18320 then
18322 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18326 if test "$ac_cv_header_linux_joystick_h" = "yes"
18327 then
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18329 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18330 if ${wine_cv_linux_joystick_22_api+:} false; then :
18331 $as_echo_n "(cached) " >&6
18332 else
18333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18334 /* end confdefs.h. */
18336 #include <sys/ioctl.h>
18337 #include <sys/types.h>
18338 #include <linux/joystick.h>
18340 struct js_event blub;
18341 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18342 #error "no 2.2 header"
18343 #endif
18346 main ()
18348 /*empty*/
18350 return 0;
18352 _ACEOF
18353 if ac_fn_c_try_compile "$LINENO"; then :
18354 wine_cv_linux_joystick_22_api=yes
18355 else
18356 wine_cv_linux_joystick_22_api=no
18358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18362 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18363 if test "$wine_cv_linux_joystick_22_api" = "yes"
18364 then
18366 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18372 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18373 #ifdef HAVE_SYS_PARAM_H
18374 # include <sys/param.h>
18375 #endif
18376 #ifdef HAVE_SYS_MOUNT_H
18377 # include <sys/mount.h>
18378 #endif
18379 #ifdef HAVE_SYS_VFS_H
18380 # include <sys/vfs.h>
18381 #endif
18382 #ifdef HAVE_SYS_STATFS_H
18383 # include <sys/statfs.h>
18384 #endif
18386 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18388 cat >>confdefs.h <<_ACEOF
18389 #define HAVE_STRUCT_STATFS_F_BFREE 1
18390 _ACEOF
18394 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18395 #ifdef HAVE_SYS_PARAM_H
18396 # include <sys/param.h>
18397 #endif
18398 #ifdef HAVE_SYS_MOUNT_H
18399 # include <sys/mount.h>
18400 #endif
18401 #ifdef HAVE_SYS_VFS_H
18402 # include <sys/vfs.h>
18403 #endif
18404 #ifdef HAVE_SYS_STATFS_H
18405 # include <sys/statfs.h>
18406 #endif
18408 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18410 cat >>confdefs.h <<_ACEOF
18411 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18412 _ACEOF
18416 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18417 #ifdef HAVE_SYS_PARAM_H
18418 # include <sys/param.h>
18419 #endif
18420 #ifdef HAVE_SYS_MOUNT_H
18421 # include <sys/mount.h>
18422 #endif
18423 #ifdef HAVE_SYS_VFS_H
18424 # include <sys/vfs.h>
18425 #endif
18426 #ifdef HAVE_SYS_STATFS_H
18427 # include <sys/statfs.h>
18428 #endif
18430 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18432 cat >>confdefs.h <<_ACEOF
18433 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18434 _ACEOF
18438 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18439 #ifdef HAVE_SYS_PARAM_H
18440 # include <sys/param.h>
18441 #endif
18442 #ifdef HAVE_SYS_MOUNT_H
18443 # include <sys/mount.h>
18444 #endif
18445 #ifdef HAVE_SYS_VFS_H
18446 # include <sys/vfs.h>
18447 #endif
18448 #ifdef HAVE_SYS_STATFS_H
18449 # include <sys/statfs.h>
18450 #endif
18452 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18454 cat >>confdefs.h <<_ACEOF
18455 #define HAVE_STRUCT_STATFS_F_FFREE 1
18456 _ACEOF
18460 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18461 #ifdef HAVE_SYS_PARAM_H
18462 # include <sys/param.h>
18463 #endif
18464 #ifdef HAVE_SYS_MOUNT_H
18465 # include <sys/mount.h>
18466 #endif
18467 #ifdef HAVE_SYS_VFS_H
18468 # include <sys/vfs.h>
18469 #endif
18470 #ifdef HAVE_SYS_STATFS_H
18471 # include <sys/statfs.h>
18472 #endif
18474 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18476 cat >>confdefs.h <<_ACEOF
18477 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18478 _ACEOF
18482 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18483 #ifdef HAVE_SYS_PARAM_H
18484 # include <sys/param.h>
18485 #endif
18486 #ifdef HAVE_SYS_MOUNT_H
18487 # include <sys/mount.h>
18488 #endif
18489 #ifdef HAVE_SYS_VFS_H
18490 # include <sys/vfs.h>
18491 #endif
18492 #ifdef HAVE_SYS_STATFS_H
18493 # include <sys/statfs.h>
18494 #endif
18496 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18498 cat >>confdefs.h <<_ACEOF
18499 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18500 _ACEOF
18506 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18507 #include <sys/statvfs.h>
18508 #endif
18510 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18512 cat >>confdefs.h <<_ACEOF
18513 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18514 _ACEOF
18520 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18521 #include <dirent.h>
18522 #endif
18524 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18526 cat >>confdefs.h <<_ACEOF
18527 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18528 _ACEOF
18534 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18535 #ifdef HAVE_SYS_SOCKET_H
18536 # include <sys/socket.h>
18537 #endif
18538 #ifdef HAVE_SYS_UN_H
18539 # include <sys/un.h>
18540 #endif
18542 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18544 cat >>confdefs.h <<_ACEOF
18545 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18546 _ACEOF
18550 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18551 #ifdef HAVE_SYS_SOCKET_H
18552 # include <sys/socket.h>
18553 #endif
18554 #ifdef HAVE_SYS_UN_H
18555 # include <sys/un.h>
18556 #endif
18558 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18560 cat >>confdefs.h <<_ACEOF
18561 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18562 _ACEOF
18566 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18567 #ifdef HAVE_SYS_SOCKET_H
18568 # include <sys/socket.h>
18569 #endif
18570 #ifdef HAVE_SYS_UN_H
18571 # include <sys/un.h>
18572 #endif
18574 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18576 cat >>confdefs.h <<_ACEOF
18577 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18578 _ACEOF
18584 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18585 #ifdef HAVE_SCSI_SG_H
18586 #include <scsi/sg.h>
18587 #endif
18589 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18591 cat >>confdefs.h <<_ACEOF
18592 #define HAVE_SCSIREQ_T_CMD 1
18593 _ACEOF
18597 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>
18598 #ifdef HAVE_SCSI_SG_H
18599 #include <scsi/sg.h>
18600 #endif
18602 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18604 cat >>confdefs.h <<_ACEOF
18605 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18606 _ACEOF
18612 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18614 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18616 cat >>confdefs.h <<_ACEOF
18617 #define HAVE_SIGINFO_T_SI_FD 1
18618 _ACEOF
18624 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18625 #ifdef HAVE_SYS_MTIO_H
18626 #include <sys/mtio.h>
18627 #endif
18629 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18631 cat >>confdefs.h <<_ACEOF
18632 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18633 _ACEOF
18637 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18638 #ifdef HAVE_SYS_MTIO_H
18639 #include <sys/mtio.h>
18640 #endif
18642 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18644 cat >>confdefs.h <<_ACEOF
18645 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18646 _ACEOF
18650 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18651 #ifdef HAVE_SYS_MTIO_H
18652 #include <sys/mtio.h>
18653 #endif
18655 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18657 cat >>confdefs.h <<_ACEOF
18658 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18659 _ACEOF
18665 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18666 #include <getopt.h>
18667 #endif
18669 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18671 cat >>confdefs.h <<_ACEOF
18672 #define HAVE_STRUCT_OPTION_NAME 1
18673 _ACEOF
18679 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18680 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18682 cat >>confdefs.h <<_ACEOF
18683 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18684 _ACEOF
18688 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18689 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18691 cat >>confdefs.h <<_ACEOF
18692 #define HAVE_STRUCT_STAT_ST_MTIM 1
18693 _ACEOF
18697 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18698 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18700 cat >>confdefs.h <<_ACEOF
18701 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18702 _ACEOF
18706 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18707 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18709 cat >>confdefs.h <<_ACEOF
18710 #define HAVE_STRUCT_STAT_ST_CTIM 1
18711 _ACEOF
18715 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18716 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18718 cat >>confdefs.h <<_ACEOF
18719 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18720 _ACEOF
18724 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18725 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18727 cat >>confdefs.h <<_ACEOF
18728 #define HAVE_STRUCT_STAT_ST_ATIM 1
18729 _ACEOF
18733 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18734 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18736 cat >>confdefs.h <<_ACEOF
18737 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18738 _ACEOF
18742 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18743 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18745 cat >>confdefs.h <<_ACEOF
18746 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18747 _ACEOF
18751 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18752 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18754 cat >>confdefs.h <<_ACEOF
18755 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18756 _ACEOF
18760 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18761 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18763 cat >>confdefs.h <<_ACEOF
18764 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18765 _ACEOF
18769 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18770 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18772 cat >>confdefs.h <<_ACEOF
18773 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18774 _ACEOF
18778 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18779 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18781 cat >>confdefs.h <<_ACEOF
18782 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18783 _ACEOF
18789 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
18790 #include <sys/types.h>
18791 #endif
18792 #ifdef HAVE_NETINET_IN_H
18793 #include <netinet/in.h>
18794 #endif
18796 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18798 cat >>confdefs.h <<_ACEOF
18799 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18800 _ACEOF
18806 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18807 #include <sys/types.h>
18808 #endif
18809 #ifdef HAVE_NETINET_IN_H
18810 #include <netinet/in.h>
18811 #endif
18812 #ifdef HAVE_RESOLV_H
18813 #include <resolv.h>
18814 #endif
18816 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18818 cat >>confdefs.h <<_ACEOF
18819 #define HAVE_STRUCT___RES_STATE 1
18820 _ACEOF
18826 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
18827 #include <resolv.h>
18828 #endif
18830 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18832 cat >>confdefs.h <<_ACEOF
18833 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18834 _ACEOF
18840 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18841 #include <sys/types.h>
18842 #endif
18843 #ifdef HAVE_NETINET_IN_H
18844 # include <netinet/in.h>
18845 #endif
18846 #ifdef HAVE_ARPA_NAMESER_H
18847 # include <arpa/nameser.h>
18848 #endif
18850 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18852 cat >>confdefs.h <<_ACEOF
18853 #define HAVE_NS_MSG__MSG_PTR 1
18854 _ACEOF
18860 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18861 #include <sys/types.h>
18862 #endif
18863 #ifdef HAVE_NETINET_IN_H
18864 #include <netinet/in.h>
18865 #endif
18866 #ifdef HAVE_NETINET_IP_H
18867 #include <netinet/ip.h>
18868 #endif
18869 #ifdef HAVE_NETINET_IP_ICMP_H
18870 #include <netinet/ip_icmp.h>
18871 #endif
18872 #ifdef HAVE_NETINET_ICMP_VAR_H
18873 #include <netinet/icmp_var.h>
18874 #endif
18876 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18878 cat >>confdefs.h <<_ACEOF
18879 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18880 _ACEOF
18886 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18887 #include <sys/types.h>
18888 #endif
18889 #ifdef HAVE_ALIAS_H
18890 #include <alias.h>
18891 #endif
18892 #ifdef HAVE_SYS_SOCKET_H
18893 #include <sys/socket.h>
18894 #endif
18895 #ifdef HAVE_SYS_SOCKETVAR_H
18896 #include <sys/socketvar.h>
18897 #endif
18898 #ifdef HAVE_SYS_TIMEOUT_H
18899 #include <sys/timeout.h>
18900 #endif
18901 #ifdef HAVE_NETINET_IN_H
18902 #include <netinet/in.h>
18903 #endif
18904 #ifdef HAVE_NETINET_IN_SYSTM_H
18905 #include <netinet/in_systm.h>
18906 #endif
18907 #ifdef HAVE_NETINET_IP_H
18908 #include <netinet/ip.h>
18909 #endif
18910 #ifdef HAVE_NETINET_IP_VAR_H
18911 #include <netinet/ip_var.h>
18912 #endif
18913 #ifdef HAVE_NETINET_IP_ICMP_H
18914 #include <netinet/ip_icmp.h>
18915 #endif
18916 #ifdef HAVE_NETINET_ICMP_VAR_H
18917 #include <netinet/icmp_var.h>
18918 #endif
18920 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18922 cat >>confdefs.h <<_ACEOF
18923 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18924 _ACEOF
18930 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18931 #include <sys/types.h>
18932 #endif
18933 #ifdef HAVE_SYS_SOCKETVAR_H
18934 #include <sys/socketvar.h>
18935 #endif
18936 #ifdef HAVE_NETINET_IN_H
18937 #include <netinet/in.h>
18938 #endif
18939 #ifdef HAVE_NETINET_IP_VAR_H
18940 #include <netinet/ip_var.h>
18941 #endif
18943 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18945 cat >>confdefs.h <<_ACEOF
18946 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18947 _ACEOF
18953 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
18954 #include <netinet/ip_var.h>
18955 #endif
18957 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18959 cat >>confdefs.h <<_ACEOF
18960 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18961 _ACEOF
18967 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18968 #include <sys/types.h>
18969 #endif
18970 #ifdef HAVE_SYS_SOCKETVAR_H
18971 #include <sys/socketvar.h>
18972 #endif
18973 #ifdef HAVE_NETINET_IN_H
18974 #include <netinet/in.h>
18975 #endif
18976 #ifdef HAVE_NETINET_TCP_H
18977 #include <netinet/tcp.h>
18978 #endif
18979 #ifdef HAVE_NETINET_TCP_VAR_H
18980 #include <netinet/tcp_var.h>
18981 #endif
18983 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18985 cat >>confdefs.h <<_ACEOF
18986 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18987 _ACEOF
18993 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
18994 #include <netinet/tcp_var.h>
18995 #endif
18997 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18999 cat >>confdefs.h <<_ACEOF
19000 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19001 _ACEOF
19007 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19008 #include <sys/types.h>
19009 #endif
19010 #ifdef HAVE_NETINET_IN_H
19011 #include <netinet/in.h>
19012 #endif
19013 #ifdef HAVE_NETINET_IP_VAR_H
19014 #include <netinet/ip_var.h>
19015 #endif
19016 #ifdef HAVE_NETINET_UDP_H
19017 #include <netinet/udp.h>
19018 #endif
19019 #ifdef HAVE_NETINET_UDP_VAR_H
19020 #include <netinet/udp_var.h>
19021 #endif
19023 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19025 cat >>confdefs.h <<_ACEOF
19026 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19027 _ACEOF
19033 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19034 #include <sys/types.h>
19035 #endif
19036 #ifdef HAVE_NET_IF_H
19037 # include <net/if.h>
19038 #endif
19040 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19042 cat >>confdefs.h <<_ACEOF
19043 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19044 _ACEOF
19050 ac_save_LIBS="$LIBS"
19051 LIBS="$LIBS -lm"
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19053 $as_echo_n "checking for isfinite... " >&6; }
19054 if ${ac_cv_have_isfinite+:} false; then :
19055 $as_echo_n "(cached) " >&6
19056 else
19057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19058 /* end confdefs.h. */
19059 #define _GNU_SOURCE
19060 #include <math.h>
19062 main ()
19064 float f = 0.0; return isfinite(f)
19066 return 0;
19068 _ACEOF
19069 if ac_fn_c_try_link "$LINENO"; then :
19070 ac_cv_have_isfinite="yes"
19071 else
19072 ac_cv_have_isfinite="no"
19074 rm -f core conftest.err conftest.$ac_objext \
19075 conftest$ac_exeext conftest.$ac_ext
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19078 $as_echo "$ac_cv_have_isfinite" >&6; }
19079 if test "$ac_cv_have_isfinite" = "yes"
19080 then
19082 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19087 $as_echo_n "checking for isinf... " >&6; }
19088 if ${ac_cv_have_isinf+:} false; then :
19089 $as_echo_n "(cached) " >&6
19090 else
19091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19092 /* end confdefs.h. */
19093 #include <math.h>
19095 main ()
19097 float f = 0.0; return isinf(f)
19099 return 0;
19101 _ACEOF
19102 if ac_fn_c_try_link "$LINENO"; then :
19103 ac_cv_have_isinf="yes"
19104 else
19105 ac_cv_have_isinf="no"
19107 rm -f core conftest.err conftest.$ac_objext \
19108 conftest$ac_exeext conftest.$ac_ext
19110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19111 $as_echo "$ac_cv_have_isinf" >&6; }
19112 if test "$ac_cv_have_isinf" = "yes"
19113 then
19115 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19120 $as_echo_n "checking for isnan... " >&6; }
19121 if ${ac_cv_have_isnan+:} false; then :
19122 $as_echo_n "(cached) " >&6
19123 else
19124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19125 /* end confdefs.h. */
19126 #include <math.h>
19128 main ()
19130 float f = 0.0; return isnan(f)
19132 return 0;
19134 _ACEOF
19135 if ac_fn_c_try_link "$LINENO"; then :
19136 ac_cv_have_isnan="yes"
19137 else
19138 ac_cv_have_isnan="no"
19140 rm -f core conftest.err conftest.$ac_objext \
19141 conftest$ac_exeext conftest.$ac_ext
19143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19144 $as_echo "$ac_cv_have_isnan" >&6; }
19145 if test "$ac_cv_have_isnan" = "yes"
19146 then
19148 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19152 for ac_func in \
19153 acosh \
19154 acoshf \
19155 asinh \
19156 asinhf \
19157 atanh \
19158 atanhf \
19159 cbrt \
19160 cbrtf \
19161 erf \
19162 erfc \
19163 erfcf \
19164 erff \
19165 exp2 \
19166 exp2f \
19167 expm1 \
19168 expm1f \
19169 fma \
19170 fmaf \
19171 ilogb \
19172 ilogbf \
19173 j0 \
19174 j1 \
19175 jn \
19176 lgamma \
19177 lgammaf \
19178 llrint \
19179 llrintf \
19180 llround \
19181 llroundf \
19182 log1p \
19183 log1pf \
19184 log2 \
19185 log2f \
19186 lrint \
19187 lrintf \
19188 lround \
19189 lroundf \
19190 nearbyint \
19191 nearbyintf \
19192 nexttoward \
19193 nexttowardf \
19194 powl \
19195 remainder \
19196 remainderf \
19197 remquo \
19198 remquof \
19199 rint \
19200 rintf \
19201 round \
19202 roundf \
19203 trunc \
19204 truncf \
19205 y0 \
19206 y1 \
19209 do :
19210 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19211 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19212 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19213 cat >>confdefs.h <<_ACEOF
19214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19215 _ACEOF
19218 done
19220 LIBS="$ac_save_LIBS"
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
19223 $as_echo_n "checking for __builtin_clz... " >&6; }
19224 if ${ac_cv_have___builtin_clz+:} 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_clz(1)
19235 return 0;
19237 _ACEOF
19238 if ac_fn_c_try_link "$LINENO"; then :
19239 ac_cv_have___builtin_clz="yes"
19240 else
19241 ac_cv_have___builtin_clz="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_clz" >&5
19247 $as_echo "$ac_cv_have___builtin_clz" >&6; }
19248 if test "$ac_cv_have___builtin_clz" = "yes"
19249 then
19251 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19256 $as_echo_n "checking for __builtin_popcount... " >&6; }
19257 if ${ac_cv_have___builtin_popcount+:} 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 return __builtin_popcount(1)
19268 return 0;
19270 _ACEOF
19271 if ac_fn_c_try_link "$LINENO"; then :
19272 ac_cv_have___builtin_popcount="yes"
19273 else
19274 ac_cv_have___builtin_popcount="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___builtin_popcount" >&5
19280 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19281 if test "$ac_cv_have___builtin_popcount" = "yes"
19282 then
19284 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19289 $as_echo_n "checking for __clear_cache... " >&6; }
19290 if ${ac_cv_have___clear_cache+:} false; then :
19291 $as_echo_n "(cached) " >&6
19292 else
19293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19294 /* end confdefs.h. */
19297 main ()
19299 __clear_cache((void*)0, (void*)0); return 0;
19301 return 0;
19303 _ACEOF
19304 if ac_fn_c_try_link "$LINENO"; then :
19305 ac_cv_have___clear_cache="yes"
19306 else
19307 ac_cv_have___clear_cache="no"
19309 rm -f core conftest.err conftest.$ac_objext \
19310 conftest$ac_exeext conftest.$ac_ext
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19313 $as_echo "$ac_cv_have___clear_cache" >&6; }
19314 if test "$ac_cv_have___clear_cache" = "yes"
19315 then
19317 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19322 case $host_cpu in
19323 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19324 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19325 if ${ac_cv_cpp_def___i386__+:} false; then :
19326 $as_echo_n "(cached) " >&6
19327 else
19328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19329 /* end confdefs.h. */
19330 #ifndef __i386__
19332 #endif
19333 _ACEOF
19334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19335 $EGREP "yes" >/dev/null 2>&1; then :
19336 ac_cv_cpp_def___i386__=yes
19337 else
19338 ac_cv_cpp_def___i386__=no
19340 rm -f conftest*
19343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19344 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19345 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19346 CFLAGS="$CFLAGS -D__i386__"
19347 LINTFLAGS="$LINTFLAGS -D__i386__"
19348 fi ;;
19349 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19350 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19351 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19352 $as_echo_n "(cached) " >&6
19353 else
19354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19355 /* end confdefs.h. */
19356 #ifndef __x86_64__
19358 #endif
19359 _ACEOF
19360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19361 $EGREP "yes" >/dev/null 2>&1; then :
19362 ac_cv_cpp_def___x86_64__=yes
19363 else
19364 ac_cv_cpp_def___x86_64__=no
19366 rm -f conftest*
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19370 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19371 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19372 CFLAGS="$CFLAGS -D__x86_64__"
19373 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19374 fi ;;
19375 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19376 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19377 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19378 $as_echo_n "(cached) " >&6
19379 else
19380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19381 /* end confdefs.h. */
19382 #ifndef __sparc64__
19384 #endif
19385 _ACEOF
19386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19387 $EGREP "yes" >/dev/null 2>&1; then :
19388 ac_cv_cpp_def___sparc64__=yes
19389 else
19390 ac_cv_cpp_def___sparc64__=no
19392 rm -f conftest*
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19396 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19397 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19398 CFLAGS="$CFLAGS -D__sparc64__"
19399 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19400 fi ;;
19401 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19402 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19403 if ${ac_cv_cpp_def___sparc__+:} false; then :
19404 $as_echo_n "(cached) " >&6
19405 else
19406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19407 /* end confdefs.h. */
19408 #ifndef __sparc__
19410 #endif
19411 _ACEOF
19412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19413 $EGREP "yes" >/dev/null 2>&1; then :
19414 ac_cv_cpp_def___sparc__=yes
19415 else
19416 ac_cv_cpp_def___sparc__=no
19418 rm -f conftest*
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19422 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19423 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19424 CFLAGS="$CFLAGS -D__sparc__"
19425 LINTFLAGS="$LINTFLAGS -D__sparc__"
19426 fi ;;
19427 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19428 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19429 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19430 $as_echo_n "(cached) " >&6
19431 else
19432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19434 #ifndef __powerpc64__
19436 #endif
19437 _ACEOF
19438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19439 $EGREP "yes" >/dev/null 2>&1; then :
19440 ac_cv_cpp_def___powerpc64__=yes
19441 else
19442 ac_cv_cpp_def___powerpc64__=no
19444 rm -f conftest*
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19448 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19449 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19450 CFLAGS="$CFLAGS -D__powerpc64__"
19451 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19452 fi ;;
19453 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19454 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19455 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19456 $as_echo_n "(cached) " >&6
19457 else
19458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19459 /* end confdefs.h. */
19460 #ifndef __powerpc__
19462 #endif
19463 _ACEOF
19464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19465 $EGREP "yes" >/dev/null 2>&1; then :
19466 ac_cv_cpp_def___powerpc__=yes
19467 else
19468 ac_cv_cpp_def___powerpc__=no
19470 rm -f conftest*
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19474 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19475 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19476 CFLAGS="$CFLAGS -D__powerpc__"
19477 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19478 fi ;;
19479 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19480 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19481 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19482 $as_echo_n "(cached) " >&6
19483 else
19484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19485 /* end confdefs.h. */
19486 #ifndef __aarch64__
19488 #endif
19489 _ACEOF
19490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19491 $EGREP "yes" >/dev/null 2>&1; then :
19492 ac_cv_cpp_def___aarch64__=yes
19493 else
19494 ac_cv_cpp_def___aarch64__=no
19496 rm -f conftest*
19499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19500 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19501 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19502 CFLAGS="$CFLAGS -D__aarch64__"
19503 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19504 fi ;;
19505 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19506 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19507 if ${ac_cv_cpp_def___arm__+:} false; then :
19508 $as_echo_n "(cached) " >&6
19509 else
19510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19511 /* end confdefs.h. */
19512 #ifndef __arm__
19514 #endif
19515 _ACEOF
19516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19517 $EGREP "yes" >/dev/null 2>&1; then :
19518 ac_cv_cpp_def___arm__=yes
19519 else
19520 ac_cv_cpp_def___arm__=no
19522 rm -f conftest*
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19526 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19527 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19528 CFLAGS="$CFLAGS -D__arm__"
19529 LINTFLAGS="$LINTFLAGS -D__arm__"
19530 fi ;;
19531 esac
19533 case $host_vendor in
19534 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19535 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19536 if ${ac_cv_cpp_def___sun__+:} false; then :
19537 $as_echo_n "(cached) " >&6
19538 else
19539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19540 /* end confdefs.h. */
19541 #ifndef __sun__
19543 #endif
19544 _ACEOF
19545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19546 $EGREP "yes" >/dev/null 2>&1; then :
19547 ac_cv_cpp_def___sun__=yes
19548 else
19549 ac_cv_cpp_def___sun__=no
19551 rm -f conftest*
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19555 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19556 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19557 CFLAGS="$CFLAGS -D__sun__"
19558 LINTFLAGS="$LINTFLAGS -D__sun__"
19559 fi ;;
19560 esac
19566 ac_config_commands="$ac_config_commands include/stamp-h"
19568 $as_echo_n "creating Makefile rules..." >&6
19570 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
19571 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19572 IOKIT_LIBS = $IOKIT_LIBS
19573 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19574 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19575 CORESERVICES_LIBS = $CORESERVICES_LIBS
19576 APPKIT_LIBS = $APPKIT_LIBS
19577 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19578 SECURITY_LIBS = $SECURITY_LIBS
19579 COREAUDIO_LIBS = $COREAUDIO_LIBS
19580 OPENAL_LIBS = $OPENAL_LIBS
19581 OPENCL_LIBS = $OPENCL_LIBS
19582 QUICKTIME_LIBS = $QUICKTIME_LIBS
19583 CARBON_LIBS = $CARBON_LIBS
19584 METAL_LIBS = $METAL_LIBS
19585 PTHREAD_LIBS = $PTHREAD_LIBS
19586 X_CFLAGS = $X_CFLAGS
19587 X_PRE_LIBS = $X_PRE_LIBS
19588 X_LIBS = $X_LIBS
19589 X_EXTRA_LIBS = $X_EXTRA_LIBS
19590 PCAP_LIBS = $PCAP_LIBS
19591 XML2_CFLAGS = $XML2_CFLAGS
19592 XML2_LIBS = $XML2_LIBS
19593 XSLT_CFLAGS = $XSLT_CFLAGS
19594 XSLT_LIBS = $XSLT_LIBS
19595 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19596 INOTIFY_LIBS = $INOTIFY_LIBS
19597 DBUS_CFLAGS = $DBUS_CFLAGS
19598 DBUS_LIBS = $DBUS_LIBS
19599 HAL_CFLAGS = $HAL_CFLAGS
19600 HAL_LIBS = $HAL_LIBS
19601 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19602 GNUTLS_LIBS = $GNUTLS_LIBS
19603 SANE_CFLAGS = $SANE_CFLAGS
19604 SANE_LIBS = $SANE_LIBS
19605 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19606 GPHOTO2_LIBS = $GPHOTO2_LIBS
19607 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19608 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19609 RESOLV_LIBS = $RESOLV_LIBS
19610 LCMS2_CFLAGS = $LCMS2_CFLAGS
19611 LCMS2_LIBS = $LCMS2_LIBS
19612 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19613 FREETYPE_LIBS = $FREETYPE_LIBS
19614 Z_LIBS = $Z_LIBS
19615 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19616 PULSE_CFLAGS = $PULSE_CFLAGS
19617 PULSE_LIBS = $PULSE_LIBS
19618 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19619 GSTREAMER_LIBS = $GSTREAMER_LIBS
19620 ALSA_LIBS = $ALSA_LIBS
19621 OSS4_CFLAGS = $OSS4_CFLAGS
19622 UDEV_CFLAGS = $UDEV_CFLAGS
19623 UDEV_LIBS = $UDEV_LIBS
19624 SDL2_CFLAGS = $SDL2_CFLAGS
19625 SDL2_LIBS = $SDL2_LIBS
19626 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19627 FAUDIO_LIBS = $FAUDIO_LIBS
19628 CAPI20_CFLAGS = $CAPI20_CFLAGS
19629 CAPI20_LIBS = $CAPI20_LIBS
19630 CUPS_CFLAGS = $CUPS_CFLAGS
19631 CUPS_LIBS = $CUPS_LIBS
19632 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19633 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19634 KRB5_CFLAGS = $KRB5_CFLAGS
19635 KRB5_LIBS = $KRB5_LIBS
19636 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19637 GSSAPI_LIBS = $GSSAPI_LIBS
19638 JPEG_CFLAGS = $JPEG_CFLAGS
19639 JPEG_LIBS = $JPEG_LIBS
19640 PNG_CFLAGS = $PNG_CFLAGS
19641 PNG_LIBS = $PNG_LIBS
19642 TIFF_CFLAGS = $TIFF_CFLAGS
19643 TIFF_LIBS = $TIFF_LIBS
19644 MPG123_CFLAGS = $MPG123_CFLAGS
19645 MPG123_LIBS = $MPG123_LIBS
19646 KSTAT_LIBS = $KSTAT_LIBS
19647 PROCSTAT_LIBS = $PROCSTAT_LIBS
19648 NETAPI_CFLAGS = $NETAPI_CFLAGS
19649 NETAPI_LIBS = $NETAPI_LIBS
19650 VKD3D_CFLAGS = $VKD3D_CFLAGS
19651 VKD3D_LIBS = $VKD3D_LIBS
19652 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19653 DL_LIBS = $DL_LIBS
19654 POLL_LIBS = $POLL_LIBS
19655 RT_LIBS = $RT_LIBS
19656 LDAP_CFLAGS = $LDAP_CFLAGS
19657 LDAP_LIBS = $LDAP_LIBS
19662 wine_fn_append_rule "
19663 # Rules automatically generated by configure
19665 .INIT: Makefile
19666 .MAKEFILEDEPS:
19667 all: Makefile
19668 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19669 @./config.status Make.tmp Makefile
19670 depend: \$(MAKEDEP) dummy
19671 \$(MAKEDEP)"
19673 if test "x$enable_fonts" != xno; then
19674 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19675 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19676 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19677 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19678 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19679 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19681 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19682 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19683 ac_config_links="$ac_config_links wine:tools/winewrapper"
19684 wine_fn_config_symlink wine
19685 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19686 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19687 wine_fn_config_symlink wine64
19690 wine_fn_config_makefile dlls/acledit enable_acledit
19691 wine_fn_config_makefile dlls/aclui enable_aclui
19692 wine_fn_config_makefile dlls/activeds enable_activeds
19693 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19694 wine_fn_config_makefile dlls/adsiid enable_adsiid
19695 wine_fn_config_makefile dlls/adsldp enable_adsldp
19696 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19697 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19698 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19699 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19700 wine_fn_config_makefile dlls/advpack enable_advpack
19701 wine_fn_config_makefile dlls/advpack/tests enable_tests
19702 wine_fn_config_makefile dlls/amsi enable_amsi
19703 wine_fn_config_makefile dlls/amstream enable_amstream
19704 wine_fn_config_makefile dlls/amstream/tests enable_tests
19705 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19706 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19707 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19708 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19709 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19710 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19711 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19712 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19713 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19714 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19715 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19716 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19717 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19718 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19719 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19720 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19721 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19722 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19723 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19724 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19725 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19726 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19727 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19728 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19729 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19730 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19731 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19732 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19733 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19734 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19735 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19736 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19737 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19738 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19739 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19740 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19741 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19742 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19743 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19744 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19745 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19746 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19747 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19748 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19749 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19750 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19751 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19752 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19753 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19754 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19755 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19756 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19757 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19758 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19759 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19760 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19761 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19762 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19763 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19764 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19765 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19766 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19767 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19768 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19769 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19770 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19771 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19772 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19773 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19774 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19775 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19776 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19777 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19778 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19779 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19780 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19781 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19782 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19783 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19784 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19785 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19786 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19787 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19788 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19789 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19790 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19791 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19792 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19793 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19794 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19795 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19796 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19797 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19798 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19799 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19800 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19801 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19802 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19803 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19804 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19805 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19806 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19807 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19808 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19809 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19810 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19811 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19812 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19813 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19814 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19815 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19816 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19817 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19818 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19819 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19820 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19821 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19822 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19823 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19824 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19825 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19826 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19827 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19828 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19829 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19830 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19831 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19832 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19833 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19834 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19835 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19836 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19837 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19838 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19839 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19840 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19841 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19842 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19843 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19844 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19845 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19846 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19847 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19848 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19849 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19850 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19851 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19852 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19853 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19854 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19855 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19856 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19857 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19858 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19859 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19860 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19861 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19862 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19863 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19864 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19865 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19866 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19867 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19868 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19869 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19870 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19871 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19872 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19873 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19874 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19875 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19876 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19877 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19878 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19879 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19880 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19881 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19882 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19883 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19884 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19885 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19886 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19887 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19888 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19889 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19890 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19891 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19892 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19893 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19894 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19895 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19896 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19897 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19898 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19899 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19900 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19901 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19902 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19903 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19904 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19905 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19906 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19907 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19908 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19909 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19910 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19911 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19912 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19913 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19914 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19915 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19916 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19917 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19918 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19919 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19920 wine_fn_config_makefile dlls/apphelp enable_apphelp
19921 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19922 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19923 wine_fn_config_makefile dlls/atl enable_atl
19924 wine_fn_config_makefile dlls/atl/tests enable_tests
19925 wine_fn_config_makefile dlls/atl100 enable_atl100
19926 wine_fn_config_makefile dlls/atl100/tests enable_tests
19927 wine_fn_config_makefile dlls/atl110 enable_atl110
19928 wine_fn_config_makefile dlls/atl80 enable_atl80
19929 wine_fn_config_makefile dlls/atl80/tests enable_tests
19930 wine_fn_config_makefile dlls/atl90 enable_atl90
19931 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
19932 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
19933 wine_fn_config_makefile dlls/atmlib enable_atmlib
19934 wine_fn_config_makefile dlls/authz enable_authz
19935 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19936 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19937 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19938 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19939 wine_fn_config_makefile dlls/avrt enable_avrt
19940 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19941 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19942 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19943 wine_fn_config_makefile dlls/browseui enable_browseui
19944 wine_fn_config_makefile dlls/browseui/tests enable_tests
19945 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19946 wine_fn_config_makefile dlls/cabinet enable_cabinet
19947 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19948 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19949 wine_fn_config_makefile dlls/cards enable_cards
19950 wine_fn_config_makefile dlls/cdosys enable_cdosys
19951 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19952 wine_fn_config_makefile dlls/clusapi enable_clusapi
19953 wine_fn_config_makefile dlls/combase enable_combase
19954 wine_fn_config_makefile dlls/combase/tests enable_tests
19955 wine_fn_config_makefile dlls/comcat enable_comcat
19956 wine_fn_config_makefile dlls/comcat/tests enable_tests
19957 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19958 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19959 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19960 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19961 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19962 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19963 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19964 wine_fn_config_makefile dlls/compstui enable_compstui
19965 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19966 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19967 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19968 wine_fn_config_makefile dlls/connect enable_connect
19969 wine_fn_config_makefile dlls/credui enable_credui
19970 wine_fn_config_makefile dlls/credui/tests enable_tests
19971 wine_fn_config_makefile dlls/crtdll enable_crtdll
19972 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19973 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19974 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19975 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19976 wine_fn_config_makefile dlls/cryptext enable_cryptext
19977 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19978 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19979 wine_fn_config_makefile dlls/cryptui enable_cryptui
19980 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19981 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19982 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19983 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19984 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19985 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19986 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19987 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19988 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19989 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19990 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19991 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19992 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19993 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19994 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19995 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19996 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19997 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19998 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19999 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20000 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20001 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20002 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20003 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20004 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20005 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20006 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20007 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20008 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20009 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20010 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20011 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20012 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20013 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20014 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20015 wine_fn_config_makefile dlls/d3dim enable_d3dim
20016 wine_fn_config_makefile dlls/d3drm enable_d3drm
20017 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20018 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20019 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20020 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20021 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20022 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20023 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20024 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20025 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20026 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20027 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20028 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20029 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20030 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20031 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20032 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20033 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20034 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20035 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20036 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20037 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20038 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20039 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20040 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20041 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20042 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20043 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20044 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20045 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20046 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20047 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20048 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20049 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20050 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20051 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20052 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20053 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20054 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20055 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20056 wine_fn_config_makefile dlls/davclnt enable_davclnt
20057 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20058 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20059 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20060 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20061 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20062 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20063 wine_fn_config_makefile dlls/ddraw enable_ddraw
20064 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20065 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20066 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20067 wine_fn_config_makefile dlls/devenum enable_devenum
20068 wine_fn_config_makefile dlls/devenum/tests enable_tests
20069 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20070 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20071 wine_fn_config_makefile dlls/difxapi enable_difxapi
20072 wine_fn_config_makefile dlls/dinput enable_dinput
20073 wine_fn_config_makefile dlls/dinput/tests enable_tests
20074 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20075 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20076 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20077 wine_fn_config_makefile dlls/dispex enable_dispex
20078 wine_fn_config_makefile dlls/dispex/tests enable_tests
20079 wine_fn_config_makefile dlls/display.drv16 enable_win16
20080 wine_fn_config_makefile dlls/dmband enable_dmband
20081 wine_fn_config_makefile dlls/dmband/tests enable_tests
20082 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20083 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20084 wine_fn_config_makefile dlls/dmime enable_dmime
20085 wine_fn_config_makefile dlls/dmime/tests enable_tests
20086 wine_fn_config_makefile dlls/dmloader enable_dmloader
20087 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20088 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20089 wine_fn_config_makefile dlls/dmscript enable_dmscript
20090 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20091 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20092 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20093 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20094 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20095 wine_fn_config_makefile dlls/dmusic enable_dmusic
20096 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20097 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20098 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20099 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20100 wine_fn_config_makefile dlls/dplay enable_dplay
20101 wine_fn_config_makefile dlls/dplayx enable_dplayx
20102 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20103 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20104 wine_fn_config_makefile dlls/dpnet enable_dpnet
20105 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20106 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20107 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20108 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20109 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20110 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20111 wine_fn_config_makefile dlls/drmclien enable_drmclien
20112 wine_fn_config_makefile dlls/dsound enable_dsound
20113 wine_fn_config_makefile dlls/dsound/tests enable_tests
20114 wine_fn_config_makefile dlls/dsquery enable_dsquery
20115 wine_fn_config_makefile dlls/dssenh enable_dssenh
20116 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20117 wine_fn_config_makefile dlls/dswave enable_dswave
20118 wine_fn_config_makefile dlls/dswave/tests enable_tests
20119 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20120 wine_fn_config_makefile dlls/dwrite enable_dwrite
20121 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20122 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20123 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20124 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20125 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20126 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20127 wine_fn_config_makefile dlls/dxgi enable_dxgi
20128 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20129 wine_fn_config_makefile dlls/dxguid enable_dxguid
20130 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20131 wine_fn_config_makefile dlls/esent enable_esent
20132 wine_fn_config_makefile dlls/evr enable_evr
20133 wine_fn_config_makefile dlls/evr/tests enable_tests
20134 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20135 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20136 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20137 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20138 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20139 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20140 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20141 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20142 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20143 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20144 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20145 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20146 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20147 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20148 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20149 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20150 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20151 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20152 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20153 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20154 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20155 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20156 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20157 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20158 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20159 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20160 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20161 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20162 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20163 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20164 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20165 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20166 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20167 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20168 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20169 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20170 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20171 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20172 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20173 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20174 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20175 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20176 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
20177 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20178 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20179 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20180 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20181 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20182 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20183 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20184 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20185 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20186 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20187 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20188 wine_fn_config_makefile dlls/faultrep enable_faultrep
20189 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20190 wine_fn_config_makefile dlls/feclient enable_feclient
20191 wine_fn_config_makefile dlls/fltlib enable_fltlib
20192 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20193 wine_fn_config_makefile dlls/fntcache enable_fntcache
20194 wine_fn_config_makefile dlls/fontsub enable_fontsub
20195 wine_fn_config_makefile dlls/fusion enable_fusion
20196 wine_fn_config_makefile dlls/fusion/tests enable_tests
20197 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20198 wine_fn_config_makefile dlls/gameux enable_gameux
20199 wine_fn_config_makefile dlls/gameux/tests enable_tests
20200 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20201 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20202 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20203 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20204 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20205 wine_fn_config_makefile dlls/glu32 enable_glu32
20206 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20207 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20208 wine_fn_config_makefile dlls/hal enable_hal
20209 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20210 wine_fn_config_makefile dlls/hid enable_hid
20211 wine_fn_config_makefile dlls/hid/tests enable_tests
20212 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20213 wine_fn_config_makefile dlls/hlink enable_hlink
20214 wine_fn_config_makefile dlls/hlink/tests enable_tests
20215 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20216 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20217 wine_fn_config_makefile dlls/httpapi enable_httpapi
20218 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20219 wine_fn_config_makefile dlls/iccvid enable_iccvid
20220 wine_fn_config_makefile dlls/icmp enable_icmp
20221 wine_fn_config_makefile dlls/ieframe enable_ieframe
20222 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20223 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20224 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20225 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20226 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20227 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20228 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20229 wine_fn_config_makefile dlls/imm32 enable_imm32
20230 wine_fn_config_makefile dlls/imm32/tests enable_tests
20231 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20232 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20233 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20234 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20235 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20236 wine_fn_config_makefile dlls/infosoft enable_infosoft
20237 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20238 wine_fn_config_makefile dlls/initpki enable_initpki
20239 wine_fn_config_makefile dlls/inkobj enable_inkobj
20240 wine_fn_config_makefile dlls/inseng enable_inseng
20241 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20242 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20243 wine_fn_config_makefile dlls/iprop enable_iprop
20244 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20245 wine_fn_config_makefile dlls/itircl enable_itircl
20246 wine_fn_config_makefile dlls/itss enable_itss
20247 wine_fn_config_makefile dlls/itss/tests enable_tests
20248 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20249 wine_fn_config_makefile dlls/jscript enable_jscript
20250 wine_fn_config_makefile dlls/jscript/tests enable_tests
20251 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20252 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20253 wine_fn_config_makefile dlls/kerberos enable_kerberos
20254 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20255 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20256 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20257 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20258 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20259 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20260 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20261 wine_fn_config_makefile dlls/ksuser enable_ksuser
20262 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20263 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20264 wine_fn_config_makefile dlls/loadperf enable_loadperf
20265 wine_fn_config_makefile dlls/localspl enable_localspl
20266 wine_fn_config_makefile dlls/localspl/tests enable_tests
20267 wine_fn_config_makefile dlls/localui enable_localui
20268 wine_fn_config_makefile dlls/localui/tests enable_tests
20269 wine_fn_config_makefile dlls/lz32 enable_lz32
20270 wine_fn_config_makefile dlls/lz32/tests enable_tests
20271 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20272 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20273 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20274 wine_fn_config_makefile dlls/mapistub enable_mapistub
20275 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20276 wine_fn_config_makefile dlls/mcicda enable_mcicda
20277 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20278 wine_fn_config_makefile dlls/mciseq enable_mciseq
20279 wine_fn_config_makefile dlls/mciwave enable_mciwave
20280 wine_fn_config_makefile dlls/mf enable_mf
20281 wine_fn_config_makefile dlls/mf/tests enable_tests
20282 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20283 wine_fn_config_makefile dlls/mferror enable_mferror
20284 wine_fn_config_makefile dlls/mfplat enable_mfplat
20285 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20286 wine_fn_config_makefile dlls/mfplay enable_mfplay
20287 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20288 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20289 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20290 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20291 wine_fn_config_makefile dlls/midimap enable_midimap
20292 wine_fn_config_makefile dlls/mlang enable_mlang
20293 wine_fn_config_makefile dlls/mlang/tests enable_tests
20294 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20295 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20296 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20297 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20298 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20299 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20300 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20301 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20302 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20303 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20304 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20305 wine_fn_config_makefile dlls/mpr enable_mpr
20306 wine_fn_config_makefile dlls/mpr/tests enable_tests
20307 wine_fn_config_makefile dlls/mprapi enable_mprapi
20308 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20309 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20310 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20311 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20312 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20313 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20314 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20315 wine_fn_config_makefile dlls/mscms enable_mscms
20316 wine_fn_config_makefile dlls/mscms/tests enable_tests
20317 wine_fn_config_makefile dlls/mscoree enable_mscoree
20318 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20319 wine_fn_config_makefile dlls/msctf enable_msctf
20320 wine_fn_config_makefile dlls/msctf/tests enable_tests
20321 wine_fn_config_makefile dlls/msctfp enable_msctfp
20322 wine_fn_config_makefile dlls/msdaps enable_msdaps
20323 wine_fn_config_makefile dlls/msdelta enable_msdelta
20324 wine_fn_config_makefile dlls/msdmo enable_msdmo
20325 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20326 wine_fn_config_makefile dlls/msdrm enable_msdrm
20327 wine_fn_config_makefile dlls/msftedit enable_msftedit
20328 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20329 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20330 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20331 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20332 wine_fn_config_makefile dlls/mshtml enable_mshtml
20333 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20334 wine_fn_config_makefile dlls/msi enable_msi
20335 wine_fn_config_makefile dlls/msi/tests enable_tests
20336 wine_fn_config_makefile dlls/msident enable_msident
20337 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20338 wine_fn_config_makefile dlls/msimsg enable_msimsg
20339 wine_fn_config_makefile dlls/msimtf enable_msimtf
20340 wine_fn_config_makefile dlls/msisip enable_msisip
20341 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20342 wine_fn_config_makefile dlls/msls31 enable_msls31
20343 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20344 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20345 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20346 wine_fn_config_makefile dlls/msports enable_msports
20347 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20348 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20349 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20350 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20351 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20352 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20353 wine_fn_config_makefile dlls/mstask enable_mstask
20354 wine_fn_config_makefile dlls/mstask/tests enable_tests
20355 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20356 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20357 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20358 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20359 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20360 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20361 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20362 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20363 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20364 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20365 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20366 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20367 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20368 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20369 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20370 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20371 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20372 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20373 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20374 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20375 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20376 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20377 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20378 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20379 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20380 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20381 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20382 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20383 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20384 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20385 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20386 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20387 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20388 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20389 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20390 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20391 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20392 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20393 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20394 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20395 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20396 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20397 wine_fn_config_makefile dlls/mswsock enable_mswsock
20398 wine_fn_config_makefile dlls/msxml enable_msxml
20399 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20400 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20401 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20402 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20403 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20404 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20405 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20406 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20407 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20408 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20409 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20410 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20411 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20412 wine_fn_config_makefile dlls/netprofm enable_netprofm
20413 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20414 wine_fn_config_makefile dlls/newdev enable_newdev
20415 wine_fn_config_makefile dlls/ninput enable_ninput
20416 wine_fn_config_makefile dlls/ninput/tests enable_tests
20417 wine_fn_config_makefile dlls/normaliz enable_normaliz
20418 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20419 wine_fn_config_makefile dlls/npptools enable_npptools
20420 wine_fn_config_makefile dlls/ntdll enable_ntdll
20421 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20422 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20423 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20424 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20425 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20426 wine_fn_config_makefile dlls/ntprint enable_ntprint
20427 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20428 wine_fn_config_makefile dlls/objsel enable_objsel
20429 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20430 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20431 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20432 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20433 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20434 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20435 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20436 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20437 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20438 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20439 wine_fn_config_makefile dlls/ole32 enable_ole32
20440 wine_fn_config_makefile dlls/ole32/tests enable_tests
20441 wine_fn_config_makefile dlls/oleacc enable_oleacc
20442 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20443 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20444 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20445 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20446 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20447 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20448 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20449 wine_fn_config_makefile dlls/oledlg enable_oledlg
20450 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20451 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20452 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20453 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20454 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20455 wine_fn_config_makefile dlls/opcservices enable_opcservices
20456 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20457 wine_fn_config_makefile dlls/openal32 enable_openal32
20458 wine_fn_config_makefile dlls/opencl enable_opencl
20459 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20460 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20461 wine_fn_config_makefile dlls/packager enable_packager
20462 wine_fn_config_makefile dlls/packager/tests enable_tests
20463 wine_fn_config_makefile dlls/pdh enable_pdh
20464 wine_fn_config_makefile dlls/pdh/tests enable_tests
20465 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20466 wine_fn_config_makefile dlls/pidgen enable_pidgen
20467 wine_fn_config_makefile dlls/powrprof enable_powrprof
20468 wine_fn_config_makefile dlls/printui enable_printui
20469 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20470 wine_fn_config_makefile dlls/propsys enable_propsys
20471 wine_fn_config_makefile dlls/propsys/tests enable_tests
20472 wine_fn_config_makefile dlls/psapi enable_psapi
20473 wine_fn_config_makefile dlls/psapi/tests enable_tests
20474 wine_fn_config_makefile dlls/pstorec enable_pstorec
20475 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20476 wine_fn_config_makefile dlls/qcap enable_qcap
20477 wine_fn_config_makefile dlls/qcap/tests enable_tests
20478 wine_fn_config_makefile dlls/qedit enable_qedit
20479 wine_fn_config_makefile dlls/qedit/tests enable_tests
20480 wine_fn_config_makefile dlls/qmgr enable_qmgr
20481 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20482 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20483 wine_fn_config_makefile dlls/quartz enable_quartz
20484 wine_fn_config_makefile dlls/quartz/tests enable_tests
20485 wine_fn_config_makefile dlls/query enable_query
20486 wine_fn_config_makefile dlls/qwave enable_qwave
20487 wine_fn_config_makefile dlls/qwave/tests enable_tests
20488 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20489 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20490 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20491 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20492 wine_fn_config_makefile dlls/regapi enable_regapi
20493 wine_fn_config_makefile dlls/resutils enable_resutils
20494 wine_fn_config_makefile dlls/riched20 enable_riched20
20495 wine_fn_config_makefile dlls/riched20/tests enable_tests
20496 wine_fn_config_makefile dlls/riched32 enable_riched32
20497 wine_fn_config_makefile dlls/riched32/tests enable_tests
20498 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20499 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20500 wine_fn_config_makefile dlls/rsabase enable_rsabase
20501 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20502 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20503 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20504 wine_fn_config_makefile dlls/rtutils enable_rtutils
20505 wine_fn_config_makefile dlls/samlib enable_samlib
20506 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20507 wine_fn_config_makefile dlls/sapi enable_sapi
20508 wine_fn_config_makefile dlls/sapi/tests enable_tests
20509 wine_fn_config_makefile dlls/sas enable_sas
20510 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20511 wine_fn_config_makefile dlls/sccbase enable_sccbase
20512 wine_fn_config_makefile dlls/schannel enable_schannel
20513 wine_fn_config_makefile dlls/schannel/tests enable_tests
20514 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20515 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20516 wine_fn_config_makefile dlls/scrobj enable_scrobj
20517 wine_fn_config_makefile dlls/scrrun enable_scrrun
20518 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20519 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20520 wine_fn_config_makefile dlls/secur32 enable_secur32
20521 wine_fn_config_makefile dlls/secur32/tests enable_tests
20522 wine_fn_config_makefile dlls/security enable_security
20523 wine_fn_config_makefile dlls/sensapi enable_sensapi
20524 wine_fn_config_makefile dlls/serialui enable_serialui
20525 wine_fn_config_makefile dlls/serialui/tests enable_tests
20526 wine_fn_config_makefile dlls/setupapi enable_setupapi
20527 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20528 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20529 wine_fn_config_makefile dlls/sfc enable_sfc
20530 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20531 wine_fn_config_makefile dlls/shcore enable_shcore
20532 wine_fn_config_makefile dlls/shcore/tests enable_tests
20533 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20534 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20535 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20536 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20537 wine_fn_config_makefile dlls/shell32 enable_shell32
20538 wine_fn_config_makefile dlls/shell32/tests enable_tests
20539 wine_fn_config_makefile dlls/shfolder enable_shfolder
20540 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20541 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20542 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20543 wine_fn_config_makefile dlls/slc enable_slc
20544 wine_fn_config_makefile dlls/slc/tests enable_tests
20545 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20546 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20547 wine_fn_config_makefile dlls/softpub enable_softpub
20548 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20549 wine_fn_config_makefile dlls/spoolss enable_spoolss
20550 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20551 wine_fn_config_makefile dlls/srclient enable_srclient
20552 wine_fn_config_makefile dlls/sspicli enable_sspicli
20553 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20554 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20555 wine_fn_config_makefile dlls/sti enable_sti
20556 wine_fn_config_makefile dlls/sti/tests enable_tests
20557 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20558 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20559 wine_fn_config_makefile dlls/strmbase enable_strmbase
20560 wine_fn_config_makefile dlls/strmdll enable_strmdll
20561 wine_fn_config_makefile dlls/strmiids enable_strmiids
20562 wine_fn_config_makefile dlls/svrapi enable_svrapi
20563 wine_fn_config_makefile dlls/sxs enable_sxs
20564 wine_fn_config_makefile dlls/sxs/tests enable_tests
20565 wine_fn_config_makefile dlls/system.drv16 enable_win16
20566 wine_fn_config_makefile dlls/t2embed enable_t2embed
20567 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20568 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20569 wine_fn_config_makefile dlls/taskschd enable_taskschd
20570 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20571 wine_fn_config_makefile dlls/tdh enable_tdh
20572 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20573 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20574 wine_fn_config_makefile dlls/traffic enable_traffic
20575 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20576 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20577 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20578 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20579 wine_fn_config_makefile dlls/tzres enable_tzres
20580 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20581 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20582 wine_fn_config_makefile dlls/uianimation enable_uianimation
20583 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20584 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20585 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20586 wine_fn_config_makefile dlls/unicows enable_unicows
20587 wine_fn_config_makefile dlls/updspapi enable_updspapi
20588 wine_fn_config_makefile dlls/url enable_url
20589 wine_fn_config_makefile dlls/urlmon enable_urlmon
20590 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20591 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20592 wine_fn_config_makefile dlls/user.exe16 enable_win16
20593 wine_fn_config_makefile dlls/user32 enable_user32
20594 wine_fn_config_makefile dlls/user32/tests enable_tests
20595 wine_fn_config_makefile dlls/userenv enable_userenv
20596 wine_fn_config_makefile dlls/userenv/tests enable_tests
20597 wine_fn_config_makefile dlls/usp10 enable_usp10
20598 wine_fn_config_makefile dlls/usp10/tests enable_tests
20599 wine_fn_config_makefile dlls/uuid enable_uuid
20600 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20601 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20602 wine_fn_config_makefile dlls/vbscript enable_vbscript
20603 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20604 wine_fn_config_makefile dlls/vcomp enable_vcomp
20605 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20606 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20607 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20608 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20609 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20610 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20611 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20612 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20613 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20614 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20615 wine_fn_config_makefile dlls/version enable_version
20616 wine_fn_config_makefile dlls/version/tests enable_tests
20617 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20618 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20619 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20620 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20621 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20622 wine_fn_config_makefile dlls/vssapi enable_vssapi
20623 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20624 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20625 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20626 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20627 wine_fn_config_makefile dlls/w32skrnl enable_win16
20628 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20629 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20630 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20631 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20632 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20633 wine_fn_config_makefile dlls/wdscore enable_wdscore
20634 wine_fn_config_makefile dlls/webservices enable_webservices
20635 wine_fn_config_makefile dlls/webservices/tests enable_tests
20636 wine_fn_config_makefile dlls/wer enable_wer
20637 wine_fn_config_makefile dlls/wer/tests enable_tests
20638 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20639 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20640 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20641 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20642 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20643 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20644 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20645 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20646 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20647 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20648 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20649 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20650 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20651 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20652 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20653 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20654 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20655 wine_fn_config_makefile dlls/wined3d enable_wined3d
20656 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20657 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20658 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20659 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20660 wine_fn_config_makefile dlls/winemapi enable_winemapi
20661 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20662 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20663 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20664 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20665 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20666 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20667 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20668 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20669 wine_fn_config_makefile dlls/wing32 enable_wing32
20670 wine_fn_config_makefile dlls/winhttp enable_winhttp
20671 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20672 wine_fn_config_makefile dlls/wininet enable_wininet
20673 wine_fn_config_makefile dlls/wininet/tests enable_tests
20674 wine_fn_config_makefile dlls/winmm enable_winmm
20675 wine_fn_config_makefile dlls/winmm/tests enable_tests
20676 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20677 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20678 wine_fn_config_makefile dlls/winscard enable_winscard
20679 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20680 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20681 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20682 wine_fn_config_makefile dlls/winsta enable_winsta
20683 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20684 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20685 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20686 wine_fn_config_makefile dlls/wintrust enable_wintrust
20687 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20688 wine_fn_config_makefile dlls/winusb enable_winusb
20689 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20690 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20691 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20692 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20693 wine_fn_config_makefile dlls/wmasf enable_wmasf
20694 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20695 wine_fn_config_makefile dlls/wmi enable_wmi
20696 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20697 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20698 wine_fn_config_makefile dlls/wmp enable_wmp
20699 wine_fn_config_makefile dlls/wmp/tests enable_tests
20700 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20701 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20702 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20703 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20704 wine_fn_config_makefile dlls/wow32 enable_win16
20705 wine_fn_config_makefile dlls/wpc enable_wpc
20706 wine_fn_config_makefile dlls/wpc/tests enable_tests
20707 wine_fn_config_makefile dlls/wpcap enable_wpcap
20708 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20709 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20710 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20711 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20712 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20713 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20714 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20715 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20716 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20717 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20718 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20719 wine_fn_config_makefile dlls/wuapi enable_wuapi
20720 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20721 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20722 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20723 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20724 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20725 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20726 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20727 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20728 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20729 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20730 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20731 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20732 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20733 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20734 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20735 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20736 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20737 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20738 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20739 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20740 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20741 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20742 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20743 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20744 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20745 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20746 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20747 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20748 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20749 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20750 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20751 wine_fn_config_makefile dlls/xmllite enable_xmllite
20752 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20753 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20754 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20755 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20756 wine_fn_config_makefile fonts enable_fonts
20757 wine_fn_config_makefile include enable_include
20758 wine_fn_config_makefile libs/port enable_port
20759 wine_fn_config_makefile libs/wine enable_wine
20760 wine_fn_config_makefile libs/wpp enable_wpp
20761 wine_fn_config_makefile loader enable_loader
20762 wine_fn_config_makefile po enable_po
20763 wine_fn_config_makefile programs/arp enable_arp
20764 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20765 wine_fn_config_makefile programs/attrib enable_attrib
20766 wine_fn_config_makefile programs/cabarc enable_cabarc
20767 wine_fn_config_makefile programs/cacls enable_cacls
20768 wine_fn_config_makefile programs/clock enable_clock
20769 wine_fn_config_makefile programs/cmd enable_cmd
20770 wine_fn_config_makefile programs/cmd/tests enable_tests
20771 wine_fn_config_makefile programs/conhost enable_conhost
20772 wine_fn_config_makefile programs/control enable_control
20773 wine_fn_config_makefile programs/cscript enable_cscript
20774 wine_fn_config_makefile programs/dism enable_dism
20775 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20776 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20777 wine_fn_config_makefile programs/eject enable_eject
20778 wine_fn_config_makefile programs/expand enable_expand
20779 wine_fn_config_makefile programs/explorer enable_explorer
20780 wine_fn_config_makefile programs/extrac32 enable_extrac32
20781 wine_fn_config_makefile programs/fc enable_fc
20782 wine_fn_config_makefile programs/find enable_find
20783 wine_fn_config_makefile programs/findstr enable_findstr
20784 wine_fn_config_makefile programs/fsutil enable_fsutil
20785 wine_fn_config_makefile programs/hh enable_hh
20786 wine_fn_config_makefile programs/hostname enable_hostname
20787 wine_fn_config_makefile programs/icacls enable_icacls
20788 wine_fn_config_makefile programs/icinfo enable_icinfo
20789 wine_fn_config_makefile programs/iexplore enable_iexplore
20790 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20791 wine_fn_config_makefile programs/lodctr enable_lodctr
20792 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20793 wine_fn_config_makefile programs/mshta enable_mshta
20794 wine_fn_config_makefile programs/msidb enable_msidb
20795 wine_fn_config_makefile programs/msiexec enable_msiexec
20796 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20797 wine_fn_config_makefile programs/net enable_net
20798 wine_fn_config_makefile programs/netsh enable_netsh
20799 wine_fn_config_makefile programs/netstat enable_netstat
20800 wine_fn_config_makefile programs/ngen enable_ngen
20801 wine_fn_config_makefile programs/notepad enable_notepad
20802 wine_fn_config_makefile programs/oleview enable_oleview
20803 wine_fn_config_makefile programs/ping enable_ping
20804 wine_fn_config_makefile programs/plugplay enable_plugplay
20805 wine_fn_config_makefile programs/powershell enable_powershell
20806 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20807 wine_fn_config_makefile programs/progman enable_progman
20808 wine_fn_config_makefile programs/reg enable_reg
20809 wine_fn_config_makefile programs/reg/tests enable_tests
20810 wine_fn_config_makefile programs/regasm enable_regasm
20811 wine_fn_config_makefile programs/regedit enable_regedit
20812 wine_fn_config_makefile programs/regedit/tests enable_tests
20813 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20814 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20815 wine_fn_config_makefile programs/rpcss enable_rpcss
20816 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20817 wine_fn_config_makefile programs/rundll32 enable_rundll32
20818 wine_fn_config_makefile programs/sc enable_sc
20819 wine_fn_config_makefile programs/schtasks enable_schtasks
20820 wine_fn_config_makefile programs/schtasks/tests enable_tests
20821 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20822 wine_fn_config_makefile programs/secedit enable_secedit
20823 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20824 wine_fn_config_makefile programs/services enable_services
20825 wine_fn_config_makefile programs/services/tests enable_tests
20826 wine_fn_config_makefile programs/shutdown enable_shutdown
20827 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20828 wine_fn_config_makefile programs/start enable_start
20829 wine_fn_config_makefile programs/subst enable_subst
20830 wine_fn_config_makefile programs/svchost enable_svchost
20831 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20832 wine_fn_config_makefile programs/taskkill enable_taskkill
20833 wine_fn_config_makefile programs/tasklist enable_tasklist
20834 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20835 wine_fn_config_makefile programs/termsv enable_termsv
20836 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20837 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20838 wine_fn_config_makefile programs/view enable_view
20839 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20840 wine_fn_config_makefile programs/wineboot enable_wineboot
20841 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20842 wine_fn_config_makefile programs/winecfg enable_winecfg
20843 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20844 wine_fn_config_makefile programs/winedbg enable_winedbg
20845 wine_fn_config_makefile programs/winedevice enable_winedevice
20846 wine_fn_config_makefile programs/winefile enable_winefile
20847 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20848 wine_fn_config_makefile programs/winemine enable_winemine
20849 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20850 wine_fn_config_makefile programs/winepath enable_winepath
20851 wine_fn_config_makefile programs/winetest enable_winetest
20852 wine_fn_config_makefile programs/winevdm enable_win16
20853 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20854 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20855 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20856 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20857 wine_fn_config_makefile programs/winver enable_winver
20858 wine_fn_config_makefile programs/wmic enable_wmic
20859 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20860 wine_fn_config_makefile programs/wordpad enable_wordpad
20861 wine_fn_config_makefile programs/write enable_write
20862 wine_fn_config_makefile programs/wscript enable_wscript
20863 wine_fn_config_makefile programs/wscript/tests enable_tests
20864 wine_fn_config_makefile programs/wusa enable_wusa
20865 wine_fn_config_makefile programs/xcopy enable_xcopy
20866 wine_fn_config_makefile programs/xcopy/tests enable_tests
20867 wine_fn_config_makefile server enable_server
20868 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20869 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20870 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20871 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20872 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20873 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20874 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20875 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20876 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20879 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20880 wine_fn_append_file CONFIGURE_TARGETS "tags"
20881 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20882 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20883 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20884 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20885 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20886 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20888 if test "x$enable_tools" != xno
20889 then
20890 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20891 ac_config_commands="$ac_config_commands tools/makedep"
20895 ac_config_commands="$ac_config_commands Makefile"
20898 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20902 if test "x$enable_maintainer_mode" = xyes
20903 then
20904 wine_fn_append_rule "configure: configure.ac aclocal.m4
20905 autoconf --warnings=all
20906 include/config.h.in: include/stamp-h.in
20907 include/stamp-h.in: configure.ac aclocal.m4
20908 autoheader --warnings=all
20909 @echo timestamp > \$@"
20912 if test "x$enable_tools" != xno
20913 then
20914 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20915 @./config.status tools/makedep
20916 Makefile: tools/makedep$ac_exeext
20917 fonts: tools/sfnt2fon
20918 include: tools tools/widl"
20919 else
20920 wine_fn_append_rule "\$(MAKEDEP):
20921 @echo \"You need to run make in $TOOLSDIR first\" && false"
20924 if test -n "$with_wine64"
20925 then
20926 case "$with_wine64" in
20927 /*) reldir="" ;;
20928 *) reldir="../" ;;
20929 esac
20930 rm -f fonts server 2>/dev/null
20931 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20932 loader/wine64 loader/wine64-preloader:
20933 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20934 $with_wine64/loader/wine:
20935 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20936 $with_wine64/loader/wine-preloader:
20937 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20938 clean::
20939 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20940 else
20941 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20942 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20943 fonts \
20944 loader/l_intl.nls \
20945 loader/wine.inf \
20946 programs/msidb/msidb \
20947 programs/msiexec/msiexec \
20948 programs/notepad/notepad \
20949 programs/regedit/regedit \
20950 programs/regsvr32/regsvr32 \
20951 programs/wineboot/wineboot \
20952 programs/winecfg/winecfg \
20953 programs/wineconsole/wineconsole \
20954 programs/winedbg/winedbg \
20955 programs/winefile/winefile \
20956 programs/winemine/winemine \
20957 programs/winepath/winepath \
20958 server/wineserver"
20960 case $host_os in
20961 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20962 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20963 esac
20966 $as_echo " done" >&6
20967 cat >confcache <<\_ACEOF
20968 # This file is a shell script that caches the results of configure
20969 # tests run on this system so they can be shared between configure
20970 # scripts and configure runs, see configure's option --config-cache.
20971 # It is not useful on other systems. If it contains results you don't
20972 # want to keep, you may remove or edit it.
20974 # config.status only pays attention to the cache file if you give it
20975 # the --recheck option to rerun configure.
20977 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20978 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20979 # following values.
20981 _ACEOF
20983 # The following way of writing the cache mishandles newlines in values,
20984 # but we know of no workaround that is simple, portable, and efficient.
20985 # So, we kill variables containing newlines.
20986 # Ultrix sh set writes to stderr and can't be redirected directly,
20987 # and sets the high bit in the cache file unless we assign to the vars.
20989 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20990 eval ac_val=\$$ac_var
20991 case $ac_val in #(
20992 *${as_nl}*)
20993 case $ac_var in #(
20994 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20995 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20996 esac
20997 case $ac_var in #(
20998 _ | IFS | as_nl) ;; #(
20999 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21000 *) { eval $ac_var=; unset $ac_var;} ;;
21001 esac ;;
21002 esac
21003 done
21005 (set) 2>&1 |
21006 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21007 *${as_nl}ac_space=\ *)
21008 # `set' does not quote correctly, so add quotes: double-quote
21009 # substitution turns \\\\ into \\, and sed turns \\ into \.
21010 sed -n \
21011 "s/'/'\\\\''/g;
21012 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21013 ;; #(
21015 # `set' quotes correctly as required by POSIX, so do not add quotes.
21016 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21018 esac |
21019 sort
21021 sed '
21022 /^ac_cv_env_/b end
21023 t clear
21024 :clear
21025 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21026 t end
21027 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21028 :end' >>confcache
21029 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21030 if test -w "$cache_file"; then
21031 if test "x$cache_file" != "x/dev/null"; then
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21033 $as_echo "$as_me: updating cache $cache_file" >&6;}
21034 if test ! -f "$cache_file" || test -h "$cache_file"; then
21035 cat confcache >"$cache_file"
21036 else
21037 case $cache_file in #(
21038 */* | ?:*)
21039 mv -f confcache "$cache_file"$$ &&
21040 mv -f "$cache_file"$$ "$cache_file" ;; #(
21042 mv -f confcache "$cache_file" ;;
21043 esac
21046 else
21047 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21048 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21051 rm -f confcache
21053 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21054 # Let make expand exec_prefix.
21055 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21057 DEFS=-DHAVE_CONFIG_H
21059 ac_libobjs=
21060 ac_ltlibobjs=
21062 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21063 # 1. Remove the extension, and $U if already installed.
21064 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21065 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21066 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21067 # will be set to the directory where LIBOBJS objects are built.
21068 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21069 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21070 done
21071 LIBOBJS=$ac_libobjs
21073 LTLIBOBJS=$ac_ltlibobjs
21077 : "${CONFIG_STATUS=./config.status}"
21078 ac_write_fail=0
21079 ac_clean_files_save=$ac_clean_files
21080 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21081 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21082 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21083 as_write_fail=0
21084 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21085 #! $SHELL
21086 # Generated by $as_me.
21087 # Run this file to recreate the current configuration.
21088 # Compiler output produced by configure, useful for debugging
21089 # configure, is in config.log if it exists.
21091 debug=false
21092 ac_cs_recheck=false
21093 ac_cs_silent=false
21095 SHELL=\${CONFIG_SHELL-$SHELL}
21096 export SHELL
21097 _ASEOF
21098 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21099 ## -------------------- ##
21100 ## M4sh Initialization. ##
21101 ## -------------------- ##
21103 # Be more Bourne compatible
21104 DUALCASE=1; export DUALCASE # for MKS sh
21105 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21106 emulate sh
21107 NULLCMD=:
21108 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21109 # is contrary to our usage. Disable this feature.
21110 alias -g '${1+"$@"}'='"$@"'
21111 setopt NO_GLOB_SUBST
21112 else
21113 case `(set -o) 2>/dev/null` in #(
21114 *posix*) :
21115 set -o posix ;; #(
21116 *) :
21118 esac
21122 as_nl='
21124 export as_nl
21125 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21126 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21127 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21128 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21129 # Prefer a ksh shell builtin over an external printf program on Solaris,
21130 # but without wasting forks for bash or zsh.
21131 if test -z "$BASH_VERSION$ZSH_VERSION" \
21132 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21133 as_echo='print -r --'
21134 as_echo_n='print -rn --'
21135 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21136 as_echo='printf %s\n'
21137 as_echo_n='printf %s'
21138 else
21139 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21140 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21141 as_echo_n='/usr/ucb/echo -n'
21142 else
21143 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21144 as_echo_n_body='eval
21145 arg=$1;
21146 case $arg in #(
21147 *"$as_nl"*)
21148 expr "X$arg" : "X\\(.*\\)$as_nl";
21149 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21150 esac;
21151 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21153 export as_echo_n_body
21154 as_echo_n='sh -c $as_echo_n_body as_echo'
21156 export as_echo_body
21157 as_echo='sh -c $as_echo_body as_echo'
21160 # The user is always right.
21161 if test "${PATH_SEPARATOR+set}" != set; then
21162 PATH_SEPARATOR=:
21163 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21164 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21165 PATH_SEPARATOR=';'
21170 # IFS
21171 # We need space, tab and new line, in precisely that order. Quoting is
21172 # there to prevent editors from complaining about space-tab.
21173 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21174 # splitting by setting IFS to empty value.)
21175 IFS=" "" $as_nl"
21177 # Find who we are. Look in the path if we contain no directory separator.
21178 as_myself=
21179 case $0 in #((
21180 *[\\/]* ) as_myself=$0 ;;
21181 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21182 for as_dir in $PATH
21184 IFS=$as_save_IFS
21185 test -z "$as_dir" && as_dir=.
21186 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21187 done
21188 IFS=$as_save_IFS
21191 esac
21192 # We did not find ourselves, most probably we were run as `sh COMMAND'
21193 # in which case we are not to be found in the path.
21194 if test "x$as_myself" = x; then
21195 as_myself=$0
21197 if test ! -f "$as_myself"; then
21198 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21199 exit 1
21202 # Unset variables that we do not need and which cause bugs (e.g. in
21203 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21204 # suppresses any "Segmentation fault" message there. '((' could
21205 # trigger a bug in pdksh 5.2.14.
21206 for as_var in BASH_ENV ENV MAIL MAILPATH
21207 do eval test x\${$as_var+set} = xset \
21208 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21209 done
21210 PS1='$ '
21211 PS2='> '
21212 PS4='+ '
21214 # NLS nuisances.
21215 LC_ALL=C
21216 export LC_ALL
21217 LANGUAGE=C
21218 export LANGUAGE
21220 # CDPATH.
21221 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21224 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21225 # ----------------------------------------
21226 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21227 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21228 # script with STATUS, using 1 if that was 0.
21229 as_fn_error ()
21231 as_status=$1; test $as_status -eq 0 && as_status=1
21232 if test "$4"; then
21233 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21234 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21236 $as_echo "$as_me: error: $2" >&2
21237 as_fn_exit $as_status
21238 } # as_fn_error
21241 # as_fn_set_status STATUS
21242 # -----------------------
21243 # Set $? to STATUS, without forking.
21244 as_fn_set_status ()
21246 return $1
21247 } # as_fn_set_status
21249 # as_fn_exit STATUS
21250 # -----------------
21251 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21252 as_fn_exit ()
21254 set +e
21255 as_fn_set_status $1
21256 exit $1
21257 } # as_fn_exit
21259 # as_fn_unset VAR
21260 # ---------------
21261 # Portably unset VAR.
21262 as_fn_unset ()
21264 { eval $1=; unset $1;}
21266 as_unset=as_fn_unset
21267 # as_fn_append VAR VALUE
21268 # ----------------------
21269 # Append the text in VALUE to the end of the definition contained in VAR. Take
21270 # advantage of any shell optimizations that allow amortized linear growth over
21271 # repeated appends, instead of the typical quadratic growth present in naive
21272 # implementations.
21273 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21274 eval 'as_fn_append ()
21276 eval $1+=\$2
21278 else
21279 as_fn_append ()
21281 eval $1=\$$1\$2
21283 fi # as_fn_append
21285 # as_fn_arith ARG...
21286 # ------------------
21287 # Perform arithmetic evaluation on the ARGs, and store the result in the
21288 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21289 # must be portable across $(()) and expr.
21290 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21291 eval 'as_fn_arith ()
21293 as_val=$(( $* ))
21295 else
21296 as_fn_arith ()
21298 as_val=`expr "$@" || test $? -eq 1`
21300 fi # as_fn_arith
21303 if expr a : '\(a\)' >/dev/null 2>&1 &&
21304 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21305 as_expr=expr
21306 else
21307 as_expr=false
21310 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21311 as_basename=basename
21312 else
21313 as_basename=false
21316 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21317 as_dirname=dirname
21318 else
21319 as_dirname=false
21322 as_me=`$as_basename -- "$0" ||
21323 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21324 X"$0" : 'X\(//\)$' \| \
21325 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21326 $as_echo X/"$0" |
21327 sed '/^.*\/\([^/][^/]*\)\/*$/{
21328 s//\1/
21331 /^X\/\(\/\/\)$/{
21332 s//\1/
21335 /^X\/\(\/\).*/{
21336 s//\1/
21339 s/.*/./; q'`
21341 # Avoid depending upon Character Ranges.
21342 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21343 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21344 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21345 as_cr_digits='0123456789'
21346 as_cr_alnum=$as_cr_Letters$as_cr_digits
21348 ECHO_C= ECHO_N= ECHO_T=
21349 case `echo -n x` in #(((((
21350 -n*)
21351 case `echo 'xy\c'` in
21352 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21353 xy) ECHO_C='\c';;
21354 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21355 ECHO_T=' ';;
21356 esac;;
21358 ECHO_N='-n';;
21359 esac
21361 rm -f conf$$ conf$$.exe conf$$.file
21362 if test -d conf$$.dir; then
21363 rm -f conf$$.dir/conf$$.file
21364 else
21365 rm -f conf$$.dir
21366 mkdir conf$$.dir 2>/dev/null
21368 if (echo >conf$$.file) 2>/dev/null; then
21369 if ln -s conf$$.file conf$$ 2>/dev/null; then
21370 as_ln_s='ln -s'
21371 # ... but there are two gotchas:
21372 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21373 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21374 # In both cases, we have to default to `cp -pR'.
21375 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21376 as_ln_s='cp -pR'
21377 elif ln conf$$.file conf$$ 2>/dev/null; then
21378 as_ln_s=ln
21379 else
21380 as_ln_s='cp -pR'
21382 else
21383 as_ln_s='cp -pR'
21385 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21386 rmdir conf$$.dir 2>/dev/null
21389 # as_fn_mkdir_p
21390 # -------------
21391 # Create "$as_dir" as a directory, including parents if necessary.
21392 as_fn_mkdir_p ()
21395 case $as_dir in #(
21396 -*) as_dir=./$as_dir;;
21397 esac
21398 test -d "$as_dir" || eval $as_mkdir_p || {
21399 as_dirs=
21400 while :; do
21401 case $as_dir in #(
21402 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21403 *) as_qdir=$as_dir;;
21404 esac
21405 as_dirs="'$as_qdir' $as_dirs"
21406 as_dir=`$as_dirname -- "$as_dir" ||
21407 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21408 X"$as_dir" : 'X\(//\)[^/]' \| \
21409 X"$as_dir" : 'X\(//\)$' \| \
21410 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21411 $as_echo X"$as_dir" |
21412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21413 s//\1/
21416 /^X\(\/\/\)[^/].*/{
21417 s//\1/
21420 /^X\(\/\/\)$/{
21421 s//\1/
21424 /^X\(\/\).*/{
21425 s//\1/
21428 s/.*/./; q'`
21429 test -d "$as_dir" && break
21430 done
21431 test -z "$as_dirs" || eval "mkdir $as_dirs"
21432 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21435 } # as_fn_mkdir_p
21436 if mkdir -p . 2>/dev/null; then
21437 as_mkdir_p='mkdir -p "$as_dir"'
21438 else
21439 test -d ./-p && rmdir ./-p
21440 as_mkdir_p=false
21444 # as_fn_executable_p FILE
21445 # -----------------------
21446 # Test if FILE is an executable regular file.
21447 as_fn_executable_p ()
21449 test -f "$1" && test -x "$1"
21450 } # as_fn_executable_p
21451 as_test_x='test -x'
21452 as_executable_p=as_fn_executable_p
21454 # Sed expression to map a string onto a valid CPP name.
21455 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21457 # Sed expression to map a string onto a valid variable name.
21458 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21461 exec 6>&1
21462 ## ----------------------------------- ##
21463 ## Main body of $CONFIG_STATUS script. ##
21464 ## ----------------------------------- ##
21465 _ASEOF
21466 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21469 # Save the log message, to keep $0 and so on meaningful, and to
21470 # report actual input values of CONFIG_FILES etc. instead of their
21471 # values after options handling.
21472 ac_log="
21473 This file was extended by Wine $as_me 4.9, which was
21474 generated by GNU Autoconf 2.69. Invocation command line was
21476 CONFIG_FILES = $CONFIG_FILES
21477 CONFIG_HEADERS = $CONFIG_HEADERS
21478 CONFIG_LINKS = $CONFIG_LINKS
21479 CONFIG_COMMANDS = $CONFIG_COMMANDS
21480 $ $0 $@
21482 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21485 _ACEOF
21487 case $ac_config_files in *"
21488 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21489 esac
21491 case $ac_config_headers in *"
21492 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21493 esac
21496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21497 # Files that config.status was made for.
21498 config_files="$ac_config_files"
21499 config_headers="$ac_config_headers"
21500 config_links="$ac_config_links"
21501 config_commands="$ac_config_commands"
21503 _ACEOF
21505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21506 ac_cs_usage="\
21507 \`$as_me' instantiates files and other configuration actions
21508 from templates according to the current configuration. Unless the files
21509 and actions are specified as TAGs, all are instantiated by default.
21511 Usage: $0 [OPTION]... [TAG]...
21513 -h, --help print this help, then exit
21514 -V, --version print version number and configuration settings, then exit
21515 --config print configuration, then exit
21516 -q, --quiet, --silent
21517 do not print progress messages
21518 -d, --debug don't remove temporary files
21519 --recheck update $as_me by reconfiguring in the same conditions
21520 --file=FILE[:TEMPLATE]
21521 instantiate the configuration file FILE
21522 --header=FILE[:TEMPLATE]
21523 instantiate the configuration header FILE
21525 Configuration files:
21526 $config_files
21528 Configuration headers:
21529 $config_headers
21531 Configuration links:
21532 $config_links
21534 Configuration commands:
21535 $config_commands
21537 Report bugs to <wine-devel@winehq.org>.
21538 Wine home page: <https://www.winehq.org>."
21540 _ACEOF
21541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21542 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21543 ac_cs_version="\\
21544 Wine config.status 4.9
21545 configured by $0, generated by GNU Autoconf 2.69,
21546 with options \\"\$ac_cs_config\\"
21548 Copyright (C) 2012 Free Software Foundation, Inc.
21549 This config.status script is free software; the Free Software Foundation
21550 gives unlimited permission to copy, distribute and modify it."
21552 ac_pwd='$ac_pwd'
21553 srcdir='$srcdir'
21554 test -n "\$AWK" || AWK=awk
21555 _ACEOF
21557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21558 # The default lists apply if the user does not specify any file.
21559 ac_need_defaults=:
21560 while test $# != 0
21562 case $1 in
21563 --*=?*)
21564 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21565 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21566 ac_shift=:
21568 --*=)
21569 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21570 ac_optarg=
21571 ac_shift=:
21574 ac_option=$1
21575 ac_optarg=$2
21576 ac_shift=shift
21578 esac
21580 case $ac_option in
21581 # Handling of the options.
21582 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21583 ac_cs_recheck=: ;;
21584 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21585 $as_echo "$ac_cs_version"; exit ;;
21586 --config | --confi | --conf | --con | --co | --c )
21587 $as_echo "$ac_cs_config"; exit ;;
21588 --debug | --debu | --deb | --de | --d | -d )
21589 debug=: ;;
21590 --file | --fil | --fi | --f )
21591 $ac_shift
21592 case $ac_optarg in
21593 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21594 '') as_fn_error $? "missing file argument" ;;
21595 esac
21596 as_fn_append CONFIG_FILES " '$ac_optarg'"
21597 ac_need_defaults=false;;
21598 --header | --heade | --head | --hea )
21599 $ac_shift
21600 case $ac_optarg in
21601 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21602 esac
21603 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21604 ac_need_defaults=false;;
21605 --he | --h)
21606 # Conflict between --help and --header
21607 as_fn_error $? "ambiguous option: \`$1'
21608 Try \`$0 --help' for more information.";;
21609 --help | --hel | -h )
21610 $as_echo "$ac_cs_usage"; exit ;;
21611 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21612 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21613 ac_cs_silent=: ;;
21615 # This is an error.
21616 -*) as_fn_error $? "unrecognized option: \`$1'
21617 Try \`$0 --help' for more information." ;;
21619 *) as_fn_append ac_config_targets " $1"
21620 ac_need_defaults=false ;;
21622 esac
21623 shift
21624 done
21626 ac_configure_extra_args=
21628 if $ac_cs_silent; then
21629 exec 6>/dev/null
21630 ac_configure_extra_args="$ac_configure_extra_args --silent"
21633 _ACEOF
21634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21635 if \$ac_cs_recheck; then
21636 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21637 shift
21638 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21639 CONFIG_SHELL='$SHELL'
21640 export CONFIG_SHELL
21641 exec "\$@"
21644 _ACEOF
21645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21646 exec 5>>config.log
21648 echo
21649 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21650 ## Running $as_me. ##
21651 _ASBOX
21652 $as_echo "$ac_log"
21653 } >&5
21655 _ACEOF
21656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21658 # INIT-COMMANDS
21660 wine_fn_output_makedep ()
21662 as_dir=tools; as_fn_mkdir_p
21663 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21665 wine_fn_output_makefile ()
21667 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21668 `cat $wine_rules_file`
21669 _WINE_EOF
21670 as_fn_error $? "could not create Makefile" "$LINENO" 5
21673 _ACEOF
21675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21677 # Handling of arguments.
21678 for ac_config_target in $ac_config_targets
21680 case $ac_config_target in
21681 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21682 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21683 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21684 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21685 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21686 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21687 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21688 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21689 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21690 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21691 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21692 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21693 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21695 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21696 esac
21697 done
21700 # If the user did not use the arguments to specify the items to instantiate,
21701 # then the envvar interface is used. Set only those that are not.
21702 # We use the long form for the default assignment because of an extremely
21703 # bizarre bug on SunOS 4.1.3.
21704 if $ac_need_defaults; then
21705 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21706 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21707 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21708 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21711 # Have a temporary directory for convenience. Make it in the build tree
21712 # simply because there is no reason against having it here, and in addition,
21713 # creating and moving files from /tmp can sometimes cause problems.
21714 # Hook for its removal unless debugging.
21715 # Note that there is a small window in which the directory will not be cleaned:
21716 # after its creation but before its name has been assigned to `$tmp'.
21717 $debug ||
21719 tmp= ac_tmp=
21720 trap 'exit_status=$?
21721 : "${ac_tmp:=$tmp}"
21722 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21724 trap 'as_fn_exit 1' 1 2 13 15
21726 # Create a (secure) tmp directory for tmp files.
21729 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21730 test -d "$tmp"
21731 } ||
21733 tmp=./conf$$-$RANDOM
21734 (umask 077 && mkdir "$tmp")
21735 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21736 ac_tmp=$tmp
21738 # Set up the scripts for CONFIG_FILES section.
21739 # No need to generate them if there are no CONFIG_FILES.
21740 # This happens for instance with `./config.status config.h'.
21741 if test -n "$CONFIG_FILES"; then
21744 ac_cr=`echo X | tr X '\015'`
21745 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21746 # But we know of no other shell where ac_cr would be empty at this
21747 # point, so we can use a bashism as a fallback.
21748 if test "x$ac_cr" = x; then
21749 eval ac_cr=\$\'\\r\'
21751 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21752 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21753 ac_cs_awk_cr='\\r'
21754 else
21755 ac_cs_awk_cr=$ac_cr
21758 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21759 _ACEOF
21763 echo "cat >conf$$subs.awk <<_ACEOF" &&
21764 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21765 echo "_ACEOF"
21766 } >conf$$subs.sh ||
21767 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21768 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21769 ac_delim='%!_!# '
21770 for ac_last_try in false false false false false :; do
21771 . ./conf$$subs.sh ||
21772 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21774 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21775 if test $ac_delim_n = $ac_delim_num; then
21776 break
21777 elif $ac_last_try; then
21778 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21779 else
21780 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21782 done
21783 rm -f conf$$subs.sh
21785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21786 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21787 _ACEOF
21788 sed -n '
21790 s/^/S["/; s/!.*/"]=/
21793 s/^[^!]*!//
21794 :repl
21795 t repl
21796 s/'"$ac_delim"'$//
21797 t delim
21800 s/\(.\{148\}\)..*/\1/
21801 t more1
21802 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21805 b repl
21806 :more1
21807 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21810 s/.\{148\}//
21811 t nl
21812 :delim
21814 s/\(.\{148\}\)..*/\1/
21815 t more2
21816 s/["\\]/\\&/g; s/^/"/; s/$/"/
21819 :more2
21820 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21823 s/.\{148\}//
21824 t delim
21825 ' <conf$$subs.awk | sed '
21826 /^[^""]/{
21828 s/\n//
21830 ' >>$CONFIG_STATUS || ac_write_fail=1
21831 rm -f conf$$subs.awk
21832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21833 _ACAWK
21834 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21835 for (key in S) S_is_set[key] = 1
21836 FS = "\a"
21840 line = $ 0
21841 nfields = split(line, field, "@")
21842 substed = 0
21843 len = length(field[1])
21844 for (i = 2; i < nfields; i++) {
21845 key = field[i]
21846 keylen = length(key)
21847 if (S_is_set[key]) {
21848 value = S[key]
21849 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21850 len += length(value) + length(field[++i])
21851 substed = 1
21852 } else
21853 len += 1 + keylen
21856 print line
21859 _ACAWK
21860 _ACEOF
21861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21862 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21863 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21864 else
21866 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21867 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21868 _ACEOF
21870 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21871 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21872 # trailing colons and then remove the whole line if VPATH becomes empty
21873 # (actually we leave an empty line to preserve line numbers).
21874 if test "x$srcdir" = x.; then
21875 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21877 s///
21878 s/^/:/
21879 s/[ ]*$/:/
21880 s/:\$(srcdir):/:/g
21881 s/:\${srcdir}:/:/g
21882 s/:@srcdir@:/:/g
21883 s/^:*//
21884 s/:*$//
21886 s/\(=[ ]*\).*/\1/
21888 s/\n//
21889 s/^[^=]*=[ ]*$//
21893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21894 fi # test -n "$CONFIG_FILES"
21896 # Set up the scripts for CONFIG_HEADERS section.
21897 # No need to generate them if there are no CONFIG_HEADERS.
21898 # This happens for instance with `./config.status Makefile'.
21899 if test -n "$CONFIG_HEADERS"; then
21900 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21901 BEGIN {
21902 _ACEOF
21904 # Transform confdefs.h into an awk script `defines.awk', embedded as
21905 # here-document in config.status, that substitutes the proper values into
21906 # config.h.in to produce config.h.
21908 # Create a delimiter string that does not exist in confdefs.h, to ease
21909 # handling of long lines.
21910 ac_delim='%!_!# '
21911 for ac_last_try in false false :; do
21912 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21913 if test -z "$ac_tt"; then
21914 break
21915 elif $ac_last_try; then
21916 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21917 else
21918 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21920 done
21922 # For the awk script, D is an array of macro values keyed by name,
21923 # likewise P contains macro parameters if any. Preserve backslash
21924 # newline sequences.
21926 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21927 sed -n '
21928 s/.\{148\}/&'"$ac_delim"'/g
21929 t rset
21930 :rset
21931 s/^[ ]*#[ ]*define[ ][ ]*/ /
21932 t def
21934 :def
21935 s/\\$//
21936 t bsnl
21937 s/["\\]/\\&/g
21938 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21939 D["\1"]=" \3"/p
21940 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21942 :bsnl
21943 s/["\\]/\\&/g
21944 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21945 D["\1"]=" \3\\\\\\n"\\/p
21946 t cont
21947 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21948 t cont
21950 :cont
21952 s/.\{148\}/&'"$ac_delim"'/g
21953 t clear
21954 :clear
21955 s/\\$//
21956 t bsnlc
21957 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21959 :bsnlc
21960 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21961 b cont
21962 ' <confdefs.h | sed '
21963 s/'"$ac_delim"'/"\\\
21964 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21967 for (key in D) D_is_set[key] = 1
21968 FS = "\a"
21970 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21971 line = \$ 0
21972 split(line, arg, " ")
21973 if (arg[1] == "#") {
21974 defundef = arg[2]
21975 mac1 = arg[3]
21976 } else {
21977 defundef = substr(arg[1], 2)
21978 mac1 = arg[2]
21980 split(mac1, mac2, "(") #)
21981 macro = mac2[1]
21982 prefix = substr(line, 1, index(line, defundef) - 1)
21983 if (D_is_set[macro]) {
21984 # Preserve the white space surrounding the "#".
21985 print prefix "define", macro P[macro] D[macro]
21986 next
21987 } else {
21988 # Replace #undef with comments. This is necessary, for example,
21989 # in the case of _POSIX_SOURCE, which is predefined and required
21990 # on some systems where configure will not decide to define it.
21991 if (defundef == "undef") {
21992 print "/*", prefix defundef, macro, "*/"
21993 next
21997 { print }
21998 _ACAWK
21999 _ACEOF
22000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22001 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22002 fi # test -n "$CONFIG_HEADERS"
22005 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22006 shift
22007 for ac_tag
22009 case $ac_tag in
22010 :[FHLC]) ac_mode=$ac_tag; continue;;
22011 esac
22012 case $ac_mode$ac_tag in
22013 :[FHL]*:*);;
22014 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22015 :[FH]-) ac_tag=-:-;;
22016 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22017 esac
22018 ac_save_IFS=$IFS
22019 IFS=:
22020 set x $ac_tag
22021 IFS=$ac_save_IFS
22022 shift
22023 ac_file=$1
22024 shift
22026 case $ac_mode in
22027 :L) ac_source=$1;;
22028 :[FH])
22029 ac_file_inputs=
22030 for ac_f
22032 case $ac_f in
22033 -) ac_f="$ac_tmp/stdin";;
22034 *) # Look for the file first in the build tree, then in the source tree
22035 # (if the path is not absolute). The absolute path cannot be DOS-style,
22036 # because $ac_f cannot contain `:'.
22037 test -f "$ac_f" ||
22038 case $ac_f in
22039 [\\/$]*) false;;
22040 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22041 esac ||
22042 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22043 esac
22044 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22045 as_fn_append ac_file_inputs " '$ac_f'"
22046 done
22048 # Let's still pretend it is `configure' which instantiates (i.e., don't
22049 # use $as_me), people would be surprised to read:
22050 # /* config.h. Generated by config.status. */
22051 configure_input='Generated from '`
22052 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22053 `' by configure.'
22054 if test x"$ac_file" != x-; then
22055 configure_input="$ac_file. $configure_input"
22056 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22057 $as_echo "$as_me: creating $ac_file" >&6;}
22059 # Neutralize special characters interpreted by sed in replacement strings.
22060 case $configure_input in #(
22061 *\&* | *\|* | *\\* )
22062 ac_sed_conf_input=`$as_echo "$configure_input" |
22063 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22064 *) ac_sed_conf_input=$configure_input;;
22065 esac
22067 case $ac_tag in
22068 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22069 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22070 esac
22072 esac
22074 ac_dir=`$as_dirname -- "$ac_file" ||
22075 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22076 X"$ac_file" : 'X\(//\)[^/]' \| \
22077 X"$ac_file" : 'X\(//\)$' \| \
22078 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22079 $as_echo X"$ac_file" |
22080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22081 s//\1/
22084 /^X\(\/\/\)[^/].*/{
22085 s//\1/
22088 /^X\(\/\/\)$/{
22089 s//\1/
22092 /^X\(\/\).*/{
22093 s//\1/
22096 s/.*/./; q'`
22097 as_dir="$ac_dir"; as_fn_mkdir_p
22098 ac_builddir=.
22100 case "$ac_dir" in
22101 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22103 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22104 # A ".." for each directory in $ac_dir_suffix.
22105 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22106 case $ac_top_builddir_sub in
22107 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22108 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22109 esac ;;
22110 esac
22111 ac_abs_top_builddir=$ac_pwd
22112 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22113 # for backward compatibility:
22114 ac_top_builddir=$ac_top_build_prefix
22116 case $srcdir in
22117 .) # We are building in place.
22118 ac_srcdir=.
22119 ac_top_srcdir=$ac_top_builddir_sub
22120 ac_abs_top_srcdir=$ac_pwd ;;
22121 [\\/]* | ?:[\\/]* ) # Absolute name.
22122 ac_srcdir=$srcdir$ac_dir_suffix;
22123 ac_top_srcdir=$srcdir
22124 ac_abs_top_srcdir=$srcdir ;;
22125 *) # Relative name.
22126 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22127 ac_top_srcdir=$ac_top_build_prefix$srcdir
22128 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22129 esac
22130 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22133 case $ac_mode in
22136 # CONFIG_FILE
22139 _ACEOF
22141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22142 # If the template does not know about datarootdir, expand it.
22143 # FIXME: This hack should be removed a few years after 2.60.
22144 ac_datarootdir_hack=; ac_datarootdir_seen=
22145 ac_sed_dataroot='
22146 /datarootdir/ {
22150 /@datadir@/p
22151 /@docdir@/p
22152 /@infodir@/p
22153 /@localedir@/p
22154 /@mandir@/p'
22155 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22156 *datarootdir*) ac_datarootdir_seen=yes;;
22157 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22159 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22160 _ACEOF
22161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22162 ac_datarootdir_hack='
22163 s&@datadir@&$datadir&g
22164 s&@docdir@&$docdir&g
22165 s&@infodir@&$infodir&g
22166 s&@localedir@&$localedir&g
22167 s&@mandir@&$mandir&g
22168 s&\\\${datarootdir}&$datarootdir&g' ;;
22169 esac
22170 _ACEOF
22172 # Neutralize VPATH when `$srcdir' = `.'.
22173 # Shell code in configure.ac might set extrasub.
22174 # FIXME: do we really want to maintain this feature?
22175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22176 ac_sed_extra="$ac_vpsub
22177 $extrasub
22178 _ACEOF
22179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22181 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22182 s|@configure_input@|$ac_sed_conf_input|;t t
22183 s&@top_builddir@&$ac_top_builddir_sub&;t t
22184 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22185 s&@srcdir@&$ac_srcdir&;t t
22186 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22187 s&@top_srcdir@&$ac_top_srcdir&;t t
22188 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22189 s&@builddir@&$ac_builddir&;t t
22190 s&@abs_builddir@&$ac_abs_builddir&;t t
22191 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22192 $ac_datarootdir_hack
22194 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22195 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22197 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22198 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22199 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22200 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22202 which seems to be undefined. Please make sure it is defined" >&5
22203 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22204 which seems to be undefined. Please make sure it is defined" >&2;}
22206 rm -f "$ac_tmp/stdin"
22207 case $ac_file in
22208 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22209 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22210 esac \
22211 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22215 # CONFIG_HEADER
22217 if test x"$ac_file" != x-; then
22219 $as_echo "/* $configure_input */" \
22220 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22221 } >"$ac_tmp/config.h" \
22222 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22223 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22225 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22226 else
22227 rm -f "$ac_file"
22228 mv "$ac_tmp/config.h" "$ac_file" \
22229 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22231 else
22232 $as_echo "/* $configure_input */" \
22233 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22234 || as_fn_error $? "could not create -" "$LINENO" 5
22239 # CONFIG_LINK
22242 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22244 else
22245 # Prefer the file from the source tree if names are identical.
22246 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22247 ac_source=$srcdir/$ac_source
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22251 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22253 if test ! -r "$ac_source"; then
22254 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22256 rm -f "$ac_file"
22258 # Try a relative symlink, then a hard link, then a copy.
22259 case $ac_source in
22260 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22261 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22262 esac
22263 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22264 ln "$ac_source" "$ac_file" 2>/dev/null ||
22265 cp -p "$ac_source" "$ac_file" ||
22266 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22269 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22270 $as_echo "$as_me: executing $ac_file commands" >&6;}
22272 esac
22275 case $ac_file$ac_mode in
22276 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22277 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22278 "Makefile":C) wine_fn_output_makefile Makefile ;;
22280 esac
22281 done # for ac_tag
22284 as_fn_exit 0
22285 _ACEOF
22286 ac_clean_files=$ac_clean_files_save
22288 test $ac_write_fail = 0 ||
22289 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22292 # configure is writing to config.log, and then calls config.status.
22293 # config.status does its own redirection, appending to config.log.
22294 # Unfortunately, on DOS this fails, as config.log is still kept open
22295 # by configure, so config.status won't be able to write to it; its
22296 # output is simply discarded. So we exec the FD to /dev/null,
22297 # effectively closing config.log, so it can be properly (re)opened and
22298 # appended to by config.status. When coming back to configure, we
22299 # need to make the FD available again.
22300 if test "$no_create" != yes; then
22301 ac_cs_success=:
22302 ac_config_status_args=
22303 test "$silent" = yes &&
22304 ac_config_status_args="$ac_config_status_args --quiet"
22305 exec 5>/dev/null
22306 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22307 exec 5>>config.log
22308 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22309 # would make configure fail if this is the last instruction.
22310 $ac_cs_success || as_fn_exit 1
22312 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22314 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22318 if test "$no_create" = "yes"
22319 then
22320 exit 0
22323 ac_save_IFS="$IFS"
22324 if test "x$wine_notices" != x; then
22325 echo >&6
22326 IFS="|"
22327 for msg in $wine_notices; do
22328 IFS="$ac_save_IFS"
22329 if ${msg:+false} :; then :
22331 else
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22333 $as_echo "$as_me: $msg" >&6;}
22335 done
22337 IFS="|"
22338 for msg in $wine_warnings; do
22339 IFS="$ac_save_IFS"
22340 if ${msg:+false} :; then :
22342 else
22343 echo >&2
22344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22345 $as_echo "$as_me: WARNING: $msg" >&2;}
22347 done
22348 IFS="$ac_save_IFS"
22350 $as_echo "
22351 $as_me: Finished. Do '${ac_make}' to compile Wine.
22352 " >&6