msi: Always use the 64-bit registry view to retrieve registered owner and organization.
[wine.git] / configure
blob451c92d2b4dbc23a7a9ea8d45b1b148fc3321b09
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.6.
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.6'
584 PACKAGE_STRING='Wine 4.6'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 VKD3D_LIBS
639 VKD3D_CFLAGS
640 NETAPI_LIBS
641 NETAPI_CFLAGS
642 PROCSTAT_LIBS
643 KSTAT_LIBS
644 MPG123_LIBS
645 MPG123_CFLAGS
646 TIFF_LIBS
647 TIFF_CFLAGS
648 PNG_LIBS
649 PNG_CFLAGS
650 JPEG_LIBS
651 JPEG_CFLAGS
652 GSSAPI_LIBS
653 GSSAPI_CFLAGS
654 KRB5_LIBS
655 KRB5_CFLAGS
656 FONTCONFIG_LIBS
657 FONTCONFIG_CFLAGS
658 CUPS_LIBS
659 CUPS_CFLAGS
660 CAPI20_LIBS
661 CAPI20_CFLAGS
662 FAUDIO_LIBS
663 FAUDIO_CFLAGS
664 SDL2_LIBS
665 SDL2_CFLAGS
666 UDEV_LIBS
667 UDEV_CFLAGS
668 OSS4_CFLAGS
669 ALSA_LIBS
670 GSTREAMER_LIBS
671 GSTREAMER_CFLAGS
672 PULSE_LIBS
673 PULSE_CFLAGS
674 GETTEXTPO_LIBS
675 Z_LIBS
676 FREETYPE_LIBS
677 FREETYPE_CFLAGS
678 LCMS2_LIBS
679 LCMS2_CFLAGS
680 RESOLV_LIBS
681 GPHOTO2_PORT_LIBS
682 GPHOTO2_PORT_CFLAGS
683 GPHOTO2_LIBS
684 GPHOTO2_CFLAGS
685 SANE_LIBS
686 SANE_CFLAGS
687 GNUTLS_LIBS
688 GNUTLS_CFLAGS
689 HAL_LIBS
690 HAL_CFLAGS
691 DBUS_LIBS
692 DBUS_CFLAGS
693 XSLT_LIBS
694 XSLT_CFLAGS
695 XML2_LIBS
696 XML2_CFLAGS
697 PCAP_LIBS
698 X_EXTRA_LIBS
699 X_LIBS
700 X_PRE_LIBS
701 X_CFLAGS
702 XMKMF
703 PTHREAD_LIBS
704 EXTRACROSSCFLAGS
705 CROSSCFLAGS
706 CROSSCC
707 CROSSTARGET
708 LIBWINE_DEPENDS
709 PRELINK
710 WINELOADER_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_SHAREDLIB
713 METAL_LIBS
714 CARBON_LIBS
715 QUICKTIME_LIBS
716 OPENCL_LIBS
717 OPENAL_LIBS
718 COREAUDIO_LIBS
719 SECURITY_LIBS
720 DISKARBITRATION_LIBS
721 APPKIT_LIBS
722 CORESERVICES_LIBS
723 APPLICATIONSERVICES_LIBS
724 FORCEFEEDBACK_LIBS
725 IOKIT_LIBS
726 COREFOUNDATION_LIBS
727 OBJCPP
728 ac_ct_OBJC
729 OBJCFLAGS
730 OBJC
731 DLLTOOL
732 WINELOADER_PROGRAMS
733 CONFIGURE_TARGETS
734 DISABLED_SUBDIRS
735 SUBDIRS
736 READELF
737 OTOOL
739 WINEPRELOADER_LDFLAGS
740 WINELOADER_LDFLAGS
741 TOP_INSTALL_DEV
742 TOP_INSTALL_LIB
743 LDEXECFLAGS
744 LDRPATH_LOCAL
745 LDRPATH_INSTALL
746 DLLFLAGS
748 OPENGL_LIBS
749 ICOTOOL
750 CONVERT
751 RSVG
752 FONTFORGE
753 PKG_CONFIG
754 MSGFMT
755 LDCONFIG
756 EGREP
757 GREP
758 LN_S
759 RANLIB
760 STRIP
761 ac_ct_AR
763 BISON
764 FLEX
765 TOOLSDIR
766 TARGETFLAGS
768 CPPBIN
769 ac_ct_CXX
770 CXXFLAGS
772 OBJEXT
773 EXEEXT
774 ac_ct_CC
775 CPPFLAGS
776 LDFLAGS
777 CFLAGS
779 SET_MAKE
780 host_os
781 host_vendor
782 host_cpu
783 host
784 build_os
785 build_vendor
786 build_cpu
787 build
788 target_alias
789 host_alias
790 build_alias
791 LIBS
792 ECHO_T
793 ECHO_N
794 ECHO_C
795 DEFS
796 mandir
797 localedir
798 libdir
799 psdir
800 pdfdir
801 dvidir
802 htmldir
803 infodir
804 docdir
805 oldincludedir
806 includedir
807 runstatedir
808 localstatedir
809 sharedstatedir
810 sysconfdir
811 datadir
812 datarootdir
813 libexecdir
814 sbindir
815 bindir
816 program_transform_name
817 prefix
818 exec_prefix
819 PACKAGE_URL
820 PACKAGE_BUGREPORT
821 PACKAGE_STRING
822 PACKAGE_VERSION
823 PACKAGE_TARNAME
824 PACKAGE_NAME
825 PATH_SEPARATOR
826 SHELL'
827 ac_subst_files=''
828 ac_user_opts='
829 enable_option_checking
830 enable_win16
831 enable_win64
832 enable_tests
833 enable_maintainer_mode
834 with_alsa
835 with_capi
836 with_cms
837 with_coreaudio
838 with_cups
839 with_curses
840 with_dbus
841 with_faudio
842 with_float_abi
843 with_fontconfig
844 with_freetype
845 with_gettext
846 with_gettextpo
847 with_gphoto
848 with_glu
849 with_gnutls
850 with_gsm
851 with_gssapi
852 with_gstreamer
853 with_hal
854 with_jpeg
855 with_krb5
856 with_ldap
857 with_mingw
858 with_mpg123
859 with_netapi
860 with_openal
861 with_opencl
862 with_opengl
863 with_osmesa
864 with_oss
865 with_pcap
866 with_png
867 with_pthread
868 with_pulse
869 with_sane
870 with_sdl
871 with_tiff
872 with_udev
873 with_v4l2
874 with_vkd3d
875 with_vulkan
876 with_xcomposite
877 with_xcursor
878 with_xfixes
879 with_xinerama
880 with_xinput
881 with_xinput2
882 with_xml
883 with_xrandr
884 with_xrender
885 with_xshape
886 with_xshm
887 with_xslt
888 with_xxf86vm
889 with_zlib
890 with_wine_tools
891 with_wine64
892 enable_largefile
893 with_x
894 enable_acledit
895 enable_aclui
896 enable_activeds
897 enable_actxprxy
898 enable_adsiid
899 enable_adsldp
900 enable_adsldpc
901 enable_advapi32
902 enable_advpack
903 enable_amsi
904 enable_amstream
905 enable_api_ms_win_appmodel_identity_l1_1_0
906 enable_api_ms_win_appmodel_runtime_l1_1_1
907 enable_api_ms_win_appmodel_runtime_l1_1_2
908 enable_api_ms_win_core_apiquery_l1_1_0
909 enable_api_ms_win_core_appcompat_l1_1_1
910 enable_api_ms_win_core_appinit_l1_1_0
911 enable_api_ms_win_core_atoms_l1_1_0
912 enable_api_ms_win_core_bem_l1_1_0
913 enable_api_ms_win_core_com_l1_1_0
914 enable_api_ms_win_core_com_l1_1_1
915 enable_api_ms_win_core_com_private_l1_1_0
916 enable_api_ms_win_core_comm_l1_1_0
917 enable_api_ms_win_core_console_l1_1_0
918 enable_api_ms_win_core_console_l2_1_0
919 enable_api_ms_win_core_crt_l1_1_0
920 enable_api_ms_win_core_crt_l2_1_0
921 enable_api_ms_win_core_datetime_l1_1_0
922 enable_api_ms_win_core_datetime_l1_1_1
923 enable_api_ms_win_core_debug_l1_1_0
924 enable_api_ms_win_core_debug_l1_1_1
925 enable_api_ms_win_core_delayload_l1_1_0
926 enable_api_ms_win_core_delayload_l1_1_1
927 enable_api_ms_win_core_errorhandling_l1_1_0
928 enable_api_ms_win_core_errorhandling_l1_1_1
929 enable_api_ms_win_core_errorhandling_l1_1_2
930 enable_api_ms_win_core_errorhandling_l1_1_3
931 enable_api_ms_win_core_fibers_l1_1_0
932 enable_api_ms_win_core_fibers_l1_1_1
933 enable_api_ms_win_core_file_l1_1_0
934 enable_api_ms_win_core_file_l1_2_0
935 enable_api_ms_win_core_file_l1_2_1
936 enable_api_ms_win_core_file_l1_2_2
937 enable_api_ms_win_core_file_l2_1_0
938 enable_api_ms_win_core_file_l2_1_1
939 enable_api_ms_win_core_file_l2_1_2
940 enable_api_ms_win_core_handle_l1_1_0
941 enable_api_ms_win_core_heap_l1_1_0
942 enable_api_ms_win_core_heap_l1_2_0
943 enable_api_ms_win_core_heap_l2_1_0
944 enable_api_ms_win_core_heap_obsolete_l1_1_0
945 enable_api_ms_win_core_interlocked_l1_1_0
946 enable_api_ms_win_core_interlocked_l1_2_0
947 enable_api_ms_win_core_io_l1_1_0
948 enable_api_ms_win_core_io_l1_1_1
949 enable_api_ms_win_core_job_l1_1_0
950 enable_api_ms_win_core_job_l2_1_0
951 enable_api_ms_win_core_kernel32_legacy_l1_1_0
952 enable_api_ms_win_core_kernel32_legacy_l1_1_1
953 enable_api_ms_win_core_kernel32_private_l1_1_1
954 enable_api_ms_win_core_largeinteger_l1_1_0
955 enable_api_ms_win_core_libraryloader_l1_1_0
956 enable_api_ms_win_core_libraryloader_l1_1_1
957 enable_api_ms_win_core_libraryloader_l1_2_0
958 enable_api_ms_win_core_libraryloader_l1_2_1
959 enable_api_ms_win_core_libraryloader_l1_2_2
960 enable_api_ms_win_core_localization_l1_1_0
961 enable_api_ms_win_core_localization_l1_2_0
962 enable_api_ms_win_core_localization_l1_2_1
963 enable_api_ms_win_core_localization_l2_1_0
964 enable_api_ms_win_core_localization_obsolete_l1_1_0
965 enable_api_ms_win_core_localization_obsolete_l1_2_0
966 enable_api_ms_win_core_localization_obsolete_l1_3_0
967 enable_api_ms_win_core_localization_private_l1_1_0
968 enable_api_ms_win_core_localregistry_l1_1_0
969 enable_api_ms_win_core_memory_l1_1_0
970 enable_api_ms_win_core_memory_l1_1_1
971 enable_api_ms_win_core_memory_l1_1_2
972 enable_api_ms_win_core_misc_l1_1_0
973 enable_api_ms_win_core_namedpipe_l1_1_0
974 enable_api_ms_win_core_namedpipe_l1_2_0
975 enable_api_ms_win_core_namespace_l1_1_0
976 enable_api_ms_win_core_normalization_l1_1_0
977 enable_api_ms_win_core_path_l1_1_0
978 enable_api_ms_win_core_privateprofile_l1_1_1
979 enable_api_ms_win_core_processenvironment_l1_1_0
980 enable_api_ms_win_core_processenvironment_l1_2_0
981 enable_api_ms_win_core_processthreads_l1_1_0
982 enable_api_ms_win_core_processthreads_l1_1_1
983 enable_api_ms_win_core_processthreads_l1_1_2
984 enable_api_ms_win_core_processthreads_l1_1_3
985 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
986 enable_api_ms_win_core_profile_l1_1_0
987 enable_api_ms_win_core_psapi_ansi_l1_1_0
988 enable_api_ms_win_core_psapi_l1_1_0
989 enable_api_ms_win_core_psapi_obsolete_l1_1_0
990 enable_api_ms_win_core_quirks_l1_1_0
991 enable_api_ms_win_core_realtime_l1_1_0
992 enable_api_ms_win_core_registry_l1_1_0
993 enable_api_ms_win_core_registry_l2_1_0
994 enable_api_ms_win_core_registryuserspecific_l1_1_0
995 enable_api_ms_win_core_rtlsupport_l1_1_0
996 enable_api_ms_win_core_rtlsupport_l1_2_0
997 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
998 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
999 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1000 enable_api_ms_win_core_shutdown_l1_1_0
1001 enable_api_ms_win_core_sidebyside_l1_1_0
1002 enable_api_ms_win_core_string_l1_1_0
1003 enable_api_ms_win_core_string_l2_1_0
1004 enable_api_ms_win_core_string_obsolete_l1_1_0
1005 enable_api_ms_win_core_stringansi_l1_1_0
1006 enable_api_ms_win_core_stringloader_l1_1_1
1007 enable_api_ms_win_core_synch_ansi_l1_1_0
1008 enable_api_ms_win_core_synch_l1_1_0
1009 enable_api_ms_win_core_synch_l1_2_0
1010 enable_api_ms_win_core_synch_l1_2_1
1011 enable_api_ms_win_core_sysinfo_l1_1_0
1012 enable_api_ms_win_core_sysinfo_l1_2_0
1013 enable_api_ms_win_core_sysinfo_l1_2_1
1014 enable_api_ms_win_core_threadpool_l1_1_0
1015 enable_api_ms_win_core_threadpool_l1_2_0
1016 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1017 enable_api_ms_win_core_threadpool_private_l1_1_0
1018 enable_api_ms_win_core_timezone_l1_1_0
1019 enable_api_ms_win_core_toolhelp_l1_1_0
1020 enable_api_ms_win_core_url_l1_1_0
1021 enable_api_ms_win_core_util_l1_1_0
1022 enable_api_ms_win_core_version_l1_1_0
1023 enable_api_ms_win_core_version_l1_1_1
1024 enable_api_ms_win_core_version_private_l1_1_0
1025 enable_api_ms_win_core_versionansi_l1_1_0
1026 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1027 enable_api_ms_win_core_winrt_error_l1_1_0
1028 enable_api_ms_win_core_winrt_error_l1_1_1
1029 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1030 enable_api_ms_win_core_winrt_l1_1_0
1031 enable_api_ms_win_core_winrt_registration_l1_1_0
1032 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1033 enable_api_ms_win_core_winrt_string_l1_1_0
1034 enable_api_ms_win_core_winrt_string_l1_1_1
1035 enable_api_ms_win_core_wow64_l1_1_0
1036 enable_api_ms_win_core_wow64_l1_1_1
1037 enable_api_ms_win_core_xstate_l1_1_0
1038 enable_api_ms_win_core_xstate_l2_1_0
1039 enable_api_ms_win_crt_conio_l1_1_0
1040 enable_api_ms_win_crt_convert_l1_1_0
1041 enable_api_ms_win_crt_environment_l1_1_0
1042 enable_api_ms_win_crt_filesystem_l1_1_0
1043 enable_api_ms_win_crt_heap_l1_1_0
1044 enable_api_ms_win_crt_locale_l1_1_0
1045 enable_api_ms_win_crt_math_l1_1_0
1046 enable_api_ms_win_crt_multibyte_l1_1_0
1047 enable_api_ms_win_crt_private_l1_1_0
1048 enable_api_ms_win_crt_process_l1_1_0
1049 enable_api_ms_win_crt_runtime_l1_1_0
1050 enable_api_ms_win_crt_stdio_l1_1_0
1051 enable_api_ms_win_crt_string_l1_1_0
1052 enable_api_ms_win_crt_time_l1_1_0
1053 enable_api_ms_win_crt_utility_l1_1_0
1054 enable_api_ms_win_devices_config_l1_1_0
1055 enable_api_ms_win_devices_config_l1_1_1
1056 enable_api_ms_win_devices_query_l1_1_1
1057 enable_api_ms_win_downlevel_advapi32_l1_1_0
1058 enable_api_ms_win_downlevel_advapi32_l2_1_0
1059 enable_api_ms_win_downlevel_normaliz_l1_1_0
1060 enable_api_ms_win_downlevel_ole32_l1_1_0
1061 enable_api_ms_win_downlevel_shell32_l1_1_0
1062 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1063 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1064 enable_api_ms_win_downlevel_user32_l1_1_0
1065 enable_api_ms_win_downlevel_version_l1_1_0
1066 enable_api_ms_win_dx_d3dkmt_l1_1_0
1067 enable_api_ms_win_eventing_classicprovider_l1_1_0
1068 enable_api_ms_win_eventing_consumer_l1_1_0
1069 enable_api_ms_win_eventing_controller_l1_1_0
1070 enable_api_ms_win_eventing_legacy_l1_1_0
1071 enable_api_ms_win_eventing_provider_l1_1_0
1072 enable_api_ms_win_eventlog_legacy_l1_1_0
1073 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1074 enable_api_ms_win_mm_joystick_l1_1_0
1075 enable_api_ms_win_mm_misc_l1_1_1
1076 enable_api_ms_win_mm_mme_l1_1_0
1077 enable_api_ms_win_mm_time_l1_1_0
1078 enable_api_ms_win_ntuser_dc_access_l1_1_0
1079 enable_api_ms_win_ntuser_rectangle_l1_1_0
1080 enable_api_ms_win_ntuser_sysparams_l1_1_0
1081 enable_api_ms_win_perf_legacy_l1_1_0
1082 enable_api_ms_win_power_base_l1_1_0
1083 enable_api_ms_win_power_setting_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1085 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1086 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1087 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1088 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1089 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1090 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1091 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1092 enable_api_ms_win_security_audit_l1_1_1
1093 enable_api_ms_win_security_base_l1_1_0
1094 enable_api_ms_win_security_base_l1_2_0
1095 enable_api_ms_win_security_base_private_l1_1_1
1096 enable_api_ms_win_security_credentials_l1_1_0
1097 enable_api_ms_win_security_cryptoapi_l1_1_0
1098 enable_api_ms_win_security_grouppolicy_l1_1_0
1099 enable_api_ms_win_security_lsalookup_l1_1_0
1100 enable_api_ms_win_security_lsalookup_l1_1_1
1101 enable_api_ms_win_security_lsalookup_l2_1_0
1102 enable_api_ms_win_security_lsalookup_l2_1_1
1103 enable_api_ms_win_security_lsapolicy_l1_1_0
1104 enable_api_ms_win_security_provider_l1_1_0
1105 enable_api_ms_win_security_sddl_l1_1_0
1106 enable_api_ms_win_security_systemfunctions_l1_1_0
1107 enable_api_ms_win_service_core_l1_1_0
1108 enable_api_ms_win_service_core_l1_1_1
1109 enable_api_ms_win_service_management_l1_1_0
1110 enable_api_ms_win_service_management_l2_1_0
1111 enable_api_ms_win_service_private_l1_1_1
1112 enable_api_ms_win_service_winsvc_l1_1_0
1113 enable_api_ms_win_service_winsvc_l1_2_0
1114 enable_api_ms_win_shcore_obsolete_l1_1_0
1115 enable_api_ms_win_shcore_scaling_l1_1_1
1116 enable_api_ms_win_shcore_stream_l1_1_0
1117 enable_api_ms_win_shcore_thread_l1_1_0
1118 enable_api_ms_win_shell_shellcom_l1_1_0
1119 enable_api_ms_win_shell_shellfolders_l1_1_0
1120 enable_apphelp
1121 enable_appwiz_cpl
1122 enable_atl
1123 enable_atl100
1124 enable_atl110
1125 enable_atl80
1126 enable_atl90
1127 enable_atlthunk
1128 enable_atmlib
1129 enable_authz
1130 enable_avicap32
1131 enable_avifil32
1132 enable_avrt
1133 enable_bcrypt
1134 enable_bluetoothapis
1135 enable_browseui
1136 enable_bthprops_cpl
1137 enable_cabinet
1138 enable_capi2032
1139 enable_cards
1140 enable_cdosys
1141 enable_cfgmgr32
1142 enable_clusapi
1143 enable_combase
1144 enable_comcat
1145 enable_comctl32
1146 enable_comdlg32
1147 enable_compstui
1148 enable_comsvcs
1149 enable_concrt140
1150 enable_connect
1151 enable_credui
1152 enable_crtdll
1153 enable_crypt32
1154 enable_cryptdlg
1155 enable_cryptdll
1156 enable_cryptext
1157 enable_cryptnet
1158 enable_cryptui
1159 enable_ctapi32
1160 enable_ctl3d32
1161 enable_d2d1
1162 enable_d3d10
1163 enable_d3d10_1
1164 enable_d3d10core
1165 enable_d3d11
1166 enable_d3d12
1167 enable_d3d8
1168 enable_d3d9
1169 enable_d3dcompiler_33
1170 enable_d3dcompiler_34
1171 enable_d3dcompiler_35
1172 enable_d3dcompiler_36
1173 enable_d3dcompiler_37
1174 enable_d3dcompiler_38
1175 enable_d3dcompiler_39
1176 enable_d3dcompiler_40
1177 enable_d3dcompiler_41
1178 enable_d3dcompiler_42
1179 enable_d3dcompiler_43
1180 enable_d3dcompiler_46
1181 enable_d3dcompiler_47
1182 enable_d3dim
1183 enable_d3drm
1184 enable_d3dx10_33
1185 enable_d3dx10_34
1186 enable_d3dx10_35
1187 enable_d3dx10_36
1188 enable_d3dx10_37
1189 enable_d3dx10_38
1190 enable_d3dx10_39
1191 enable_d3dx10_40
1192 enable_d3dx10_41
1193 enable_d3dx10_42
1194 enable_d3dx10_43
1195 enable_d3dx11_42
1196 enable_d3dx11_43
1197 enable_d3dx9_24
1198 enable_d3dx9_25
1199 enable_d3dx9_26
1200 enable_d3dx9_27
1201 enable_d3dx9_28
1202 enable_d3dx9_29
1203 enable_d3dx9_30
1204 enable_d3dx9_31
1205 enable_d3dx9_32
1206 enable_d3dx9_33
1207 enable_d3dx9_34
1208 enable_d3dx9_35
1209 enable_d3dx9_36
1210 enable_d3dx9_37
1211 enable_d3dx9_38
1212 enable_d3dx9_39
1213 enable_d3dx9_40
1214 enable_d3dx9_41
1215 enable_d3dx9_42
1216 enable_d3dx9_43
1217 enable_d3dxof
1218 enable_davclnt
1219 enable_dbgeng
1220 enable_dbghelp
1221 enable_dciman32
1222 enable_ddraw
1223 enable_ddrawex
1224 enable_devenum
1225 enable_dhcpcsvc
1226 enable_dhtmled_ocx
1227 enable_difxapi
1228 enable_dinput
1229 enable_dinput8
1230 enable_dispex
1231 enable_dmband
1232 enable_dmcompos
1233 enable_dmime
1234 enable_dmloader
1235 enable_dmoguids
1236 enable_dmscript
1237 enable_dmstyle
1238 enable_dmsynth
1239 enable_dmusic
1240 enable_dmusic32
1241 enable_dnsapi
1242 enable_dplay
1243 enable_dplayx
1244 enable_dpnaddr
1245 enable_dpnet
1246 enable_dpnhpast
1247 enable_dpnlobby
1248 enable_dpvoice
1249 enable_dpwsockx
1250 enable_drmclien
1251 enable_dsound
1252 enable_dsquery
1253 enable_dssenh
1254 enable_dswave
1255 enable_dwmapi
1256 enable_dwrite
1257 enable_dx8vb
1258 enable_dxdiagn
1259 enable_dxerr8
1260 enable_dxerr9
1261 enable_dxgi
1262 enable_dxguid
1263 enable_dxva2
1264 enable_esent
1265 enable_evr
1266 enable_explorerframe
1267 enable_ext_ms_win_authz_context_l1_1_0
1268 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1269 enable_ext_ms_win_dwmapi_ext_l1_1_0
1270 enable_ext_ms_win_gdi_dc_create_l1_1_0
1271 enable_ext_ms_win_gdi_dc_create_l1_1_1
1272 enable_ext_ms_win_gdi_dc_l1_2_0
1273 enable_ext_ms_win_gdi_devcaps_l1_1_0
1274 enable_ext_ms_win_gdi_draw_l1_1_0
1275 enable_ext_ms_win_gdi_draw_l1_1_1
1276 enable_ext_ms_win_gdi_font_l1_1_0
1277 enable_ext_ms_win_gdi_font_l1_1_1
1278 enable_ext_ms_win_gdi_render_l1_1_0
1279 enable_ext_ms_win_kernel32_package_current_l1_1_0
1280 enable_ext_ms_win_kernel32_package_l1_1_1
1281 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1282 enable_ext_ms_win_ntuser_draw_l1_1_0
1283 enable_ext_ms_win_ntuser_gui_l1_1_0
1284 enable_ext_ms_win_ntuser_gui_l1_3_0
1285 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1286 enable_ext_ms_win_ntuser_message_l1_1_0
1287 enable_ext_ms_win_ntuser_message_l1_1_1
1288 enable_ext_ms_win_ntuser_misc_l1_1_0
1289 enable_ext_ms_win_ntuser_misc_l1_2_0
1290 enable_ext_ms_win_ntuser_misc_l1_5_1
1291 enable_ext_ms_win_ntuser_mouse_l1_1_0
1292 enable_ext_ms_win_ntuser_private_l1_1_1
1293 enable_ext_ms_win_ntuser_private_l1_3_1
1294 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1295 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1296 enable_ext_ms_win_ntuser_window_l1_1_0
1297 enable_ext_ms_win_ntuser_window_l1_1_1
1298 enable_ext_ms_win_ntuser_window_l1_1_4
1299 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1300 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1301 enable_ext_ms_win_oleacc_l1_1_0
1302 enable_ext_ms_win_ras_rasapi32_l1_1_0
1303 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1304 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1305 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1306 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1307 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1308 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1309 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1310 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1311 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1312 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1313 enable_ext_ms_win_security_credui_l1_1_0
1314 enable_ext_ms_win_security_cryptui_l1_1_0
1315 enable_ext_ms_win_uxtheme_themes_l1_1_0
1316 enable_faultrep
1317 enable_feclient
1318 enable_fltlib
1319 enable_fltmgr_sys
1320 enable_fntcache
1321 enable_fontsub
1322 enable_fusion
1323 enable_fwpuclnt
1324 enable_gameux
1325 enable_gdi32
1326 enable_gdiplus
1327 enable_glu32
1328 enable_gphoto2_ds
1329 enable_gpkcsp
1330 enable_hal
1331 enable_hhctrl_ocx
1332 enable_hid
1333 enable_hidclass_sys
1334 enable_hlink
1335 enable_hnetcfg
1336 enable_httpapi
1337 enable_iccvid
1338 enable_icmp
1339 enable_ieframe
1340 enable_ieproxy
1341 enable_imaadp32_acm
1342 enable_imagehlp
1343 enable_imm32
1344 enable_inetcomm
1345 enable_inetcpl_cpl
1346 enable_inetmib1
1347 enable_infosoft
1348 enable_initpki
1349 enable_inkobj
1350 enable_inseng
1351 enable_iphlpapi
1352 enable_iprop
1353 enable_irprops_cpl
1354 enable_itircl
1355 enable_itss
1356 enable_joy_cpl
1357 enable_jscript
1358 enable_jsproxy
1359 enable_kerberos
1360 enable_kernel32
1361 enable_kernelbase
1362 enable_ksecdd_sys
1363 enable_ksuser
1364 enable_ktmw32
1365 enable_l3codeca_acm
1366 enable_loadperf
1367 enable_localspl
1368 enable_localui
1369 enable_lz32
1370 enable_mapi32
1371 enable_mapistub
1372 enable_mciavi32
1373 enable_mcicda
1374 enable_mciqtz32
1375 enable_mciseq
1376 enable_mciwave
1377 enable_mf
1378 enable_mf3216
1379 enable_mferror
1380 enable_mfplat
1381 enable_mfplay
1382 enable_mfreadwrite
1383 enable_mfuuid
1384 enable_mgmtapi
1385 enable_midimap
1386 enable_mlang
1387 enable_mmcndmgr
1388 enable_mmdevapi
1389 enable_mountmgr_sys
1390 enable_mp3dmod
1391 enable_mpr
1392 enable_mprapi
1393 enable_msacm32_drv
1394 enable_msacm32
1395 enable_msadp32_acm
1396 enable_msasn1
1397 enable_mscat32
1398 enable_mscms
1399 enable_mscoree
1400 enable_msctf
1401 enable_msctfp
1402 enable_msdaps
1403 enable_msdelta
1404 enable_msdmo
1405 enable_msdrm
1406 enable_msftedit
1407 enable_msg711_acm
1408 enable_msgsm32_acm
1409 enable_mshtml_tlb
1410 enable_mshtml
1411 enable_msi
1412 enable_msident
1413 enable_msimg32
1414 enable_msimsg
1415 enable_msimtf
1416 enable_msisip
1417 enable_msisys_ocx
1418 enable_msls31
1419 enable_msnet32
1420 enable_mspatcha
1421 enable_msports
1422 enable_msrle32
1423 enable_msscript_ocx
1424 enable_mssign32
1425 enable_mssip32
1426 enable_mstask
1427 enable_msvcirt
1428 enable_msvcm80
1429 enable_msvcm90
1430 enable_msvcp100
1431 enable_msvcp110
1432 enable_msvcp120
1433 enable_msvcp120_app
1434 enable_msvcp140
1435 enable_msvcp60
1436 enable_msvcp70
1437 enable_msvcp71
1438 enable_msvcp80
1439 enable_msvcp90
1440 enable_msvcr100
1441 enable_msvcr110
1442 enable_msvcr120
1443 enable_msvcr120_app
1444 enable_msvcr70
1445 enable_msvcr71
1446 enable_msvcr80
1447 enable_msvcr90
1448 enable_msvcrt
1449 enable_msvcrt20
1450 enable_msvcrt40
1451 enable_msvcrtd
1452 enable_msvfw32
1453 enable_msvidc32
1454 enable_mswsock
1455 enable_msxml
1456 enable_msxml2
1457 enable_msxml3
1458 enable_msxml4
1459 enable_msxml6
1460 enable_mtxdm
1461 enable_ncrypt
1462 enable_nddeapi
1463 enable_ndis_sys
1464 enable_netapi32
1465 enable_netcfgx
1466 enable_netprofm
1467 enable_newdev
1468 enable_ninput
1469 enable_normaliz
1470 enable_npmshtml
1471 enable_npptools
1472 enable_ntdll
1473 enable_ntdsapi
1474 enable_ntoskrnl_exe
1475 enable_ntprint
1476 enable_objsel
1477 enable_odbc32
1478 enable_odbccp32
1479 enable_odbccu32
1480 enable_ole32
1481 enable_oleacc
1482 enable_oleaut32
1483 enable_olecli32
1484 enable_oledb32
1485 enable_oledlg
1486 enable_olepro32
1487 enable_olesvr32
1488 enable_olethk32
1489 enable_opcservices
1490 enable_openal32
1491 enable_opencl
1492 enable_opengl32
1493 enable_packager
1494 enable_pdh
1495 enable_photometadatahandler
1496 enable_pidgen
1497 enable_powrprof
1498 enable_printui
1499 enable_prntvpt
1500 enable_propsys
1501 enable_psapi
1502 enable_pstorec
1503 enable_qcap
1504 enable_qedit
1505 enable_qmgr
1506 enable_qmgrprxy
1507 enable_quartz
1508 enable_query
1509 enable_qwave
1510 enable_rasapi32
1511 enable_rasdlg
1512 enable_regapi
1513 enable_resutils
1514 enable_riched20
1515 enable_riched32
1516 enable_rpcrt4
1517 enable_rsabase
1518 enable_rsaenh
1519 enable_rstrtmgr
1520 enable_rtutils
1521 enable_samlib
1522 enable_sane_ds
1523 enable_sapi
1524 enable_sas
1525 enable_scarddlg
1526 enable_sccbase
1527 enable_schannel
1528 enable_schedsvc
1529 enable_scrobj
1530 enable_scrrun
1531 enable_scsiport_sys
1532 enable_secur32
1533 enable_security
1534 enable_sensapi
1535 enable_serialui
1536 enable_setupapi
1537 enable_sfc
1538 enable_sfc_os
1539 enable_shcore
1540 enable_shdoclc
1541 enable_shdocvw
1542 enable_shell32
1543 enable_shfolder
1544 enable_shlwapi
1545 enable_slbcsp
1546 enable_slc
1547 enable_snmpapi
1548 enable_softpub
1549 enable_spoolss
1550 enable_srclient
1551 enable_sspicli
1552 enable_stdole2_tlb
1553 enable_stdole32_tlb
1554 enable_sti
1555 enable_strmbase
1556 enable_strmdll
1557 enable_strmiids
1558 enable_svrapi
1559 enable_sxs
1560 enable_t2embed
1561 enable_tapi32
1562 enable_taskschd
1563 enable_tdh
1564 enable_tdi_sys
1565 enable_traffic
1566 enable_twain_32
1567 enable_tzres
1568 enable_ucrtbase
1569 enable_uianimation
1570 enable_uiautomationcore
1571 enable_uiribbon
1572 enable_unicows
1573 enable_updspapi
1574 enable_url
1575 enable_urlmon
1576 enable_usbd_sys
1577 enable_user32
1578 enable_userenv
1579 enable_usp10
1580 enable_uuid
1581 enable_uxtheme
1582 enable_vbscript
1583 enable_vcomp
1584 enable_vcomp100
1585 enable_vcomp110
1586 enable_vcomp120
1587 enable_vcomp140
1588 enable_vcomp90
1589 enable_vcruntime140
1590 enable_vdmdbg
1591 enable_version
1592 enable_virtdisk
1593 enable_vssapi
1594 enable_vulkan_1
1595 enable_wbemdisp
1596 enable_wbemprox
1597 enable_wdscore
1598 enable_webservices
1599 enable_wer
1600 enable_wevtapi
1601 enable_wiaservc
1602 enable_wimgapi
1603 enable_windowscodecs
1604 enable_windowscodecsext
1605 enable_winealsa_drv
1606 enable_wineandroid_drv
1607 enable_winebus_sys
1608 enable_winecoreaudio_drv
1609 enable_winecrt0
1610 enable_wined3d
1611 enable_winegstreamer
1612 enable_winehid_sys
1613 enable_winejoystick_drv
1614 enable_winemac_drv
1615 enable_winemapi
1616 enable_wineoss_drv
1617 enable_wineps_drv
1618 enable_winepulse_drv
1619 enable_wineqtdecoder
1620 enable_winevulkan
1621 enable_winex11_drv
1622 enable_wing32
1623 enable_winhttp
1624 enable_wininet
1625 enable_winmm
1626 enable_winnls32
1627 enable_winscard
1628 enable_winspool_drv
1629 enable_winsta
1630 enable_wintab32
1631 enable_wintrust
1632 enable_winusb
1633 enable_wlanapi
1634 enable_wldap32
1635 enable_wmasf
1636 enable_wmcodecdspuuid
1637 enable_wmi
1638 enable_wmiutils
1639 enable_wmp
1640 enable_wmphoto
1641 enable_wmvcore
1642 enable_wnaspi32
1643 enable_wpc
1644 enable_wpcap
1645 enable_ws2_32
1646 enable_wsdapi
1647 enable_wshom_ocx
1648 enable_wsnmp32
1649 enable_wsock32
1650 enable_wtsapi32
1651 enable_wuapi
1652 enable_wuaueng
1653 enable_x3daudio1_0
1654 enable_x3daudio1_1
1655 enable_x3daudio1_2
1656 enable_x3daudio1_3
1657 enable_x3daudio1_4
1658 enable_x3daudio1_5
1659 enable_x3daudio1_6
1660 enable_x3daudio1_7
1661 enable_xapofx1_1
1662 enable_xapofx1_2
1663 enable_xapofx1_3
1664 enable_xapofx1_4
1665 enable_xapofx1_5
1666 enable_xaudio2_0
1667 enable_xaudio2_1
1668 enable_xaudio2_2
1669 enable_xaudio2_3
1670 enable_xaudio2_4
1671 enable_xaudio2_5
1672 enable_xaudio2_6
1673 enable_xaudio2_7
1674 enable_xaudio2_8
1675 enable_xaudio2_9
1676 enable_xinput1_1
1677 enable_xinput1_2
1678 enable_xinput1_3
1679 enable_xinput1_4
1680 enable_xinput9_1_0
1681 enable_xmllite
1682 enable_xolehlp
1683 enable_xpsprint
1684 enable_xpssvcs
1685 enable_fonts
1686 enable_include
1687 enable_port
1688 enable_wine
1689 enable_wpp
1690 enable_loader
1691 enable_po
1692 enable_arp
1693 enable_aspnet_regiis
1694 enable_attrib
1695 enable_cabarc
1696 enable_cacls
1697 enable_clock
1698 enable_cmd
1699 enable_conhost
1700 enable_control
1701 enable_cscript
1702 enable_dism
1703 enable_dpnsvr
1704 enable_dxdiag
1705 enable_eject
1706 enable_expand
1707 enable_explorer
1708 enable_extrac32
1709 enable_fc
1710 enable_find
1711 enable_findstr
1712 enable_fsutil
1713 enable_hh
1714 enable_hostname
1715 enable_icacls
1716 enable_icinfo
1717 enable_iexplore
1718 enable_ipconfig
1719 enable_lodctr
1720 enable_mofcomp
1721 enable_mshta
1722 enable_msidb
1723 enable_msiexec
1724 enable_msinfo32
1725 enable_net
1726 enable_netsh
1727 enable_netstat
1728 enable_ngen
1729 enable_notepad
1730 enable_oleview
1731 enable_ping
1732 enable_plugplay
1733 enable_powershell
1734 enable_presentationfontcache
1735 enable_progman
1736 enable_reg
1737 enable_regasm
1738 enable_regedit
1739 enable_regsvcs
1740 enable_regsvr32
1741 enable_rpcss
1742 enable_rundll32
1743 enable_sc
1744 enable_schtasks
1745 enable_sdbinst
1746 enable_secedit
1747 enable_servicemodelreg
1748 enable_services
1749 enable_shutdown
1750 enable_spoolsv
1751 enable_start
1752 enable_subst
1753 enable_svchost
1754 enable_systeminfo
1755 enable_taskkill
1756 enable_tasklist
1757 enable_taskmgr
1758 enable_termsv
1759 enable_uninstaller
1760 enable_unlodctr
1761 enable_view
1762 enable_wevtutil
1763 enable_wineboot
1764 enable_winebrowser
1765 enable_winecfg
1766 enable_wineconsole
1767 enable_winedbg
1768 enable_winedevice
1769 enable_winefile
1770 enable_winemenubuilder
1771 enable_winemine
1772 enable_winemsibuilder
1773 enable_winepath
1774 enable_winetest
1775 enable_winhlp32
1776 enable_winmgmt
1777 enable_winver
1778 enable_wmic
1779 enable_wmplayer
1780 enable_wordpad
1781 enable_write
1782 enable_wscript
1783 enable_wusa
1784 enable_xcopy
1785 enable_server
1786 enable_tools
1787 enable_sfnt2fon
1788 enable_widl
1789 enable_winebuild
1790 enable_winedump
1791 enable_winegcc
1792 enable_winemaker
1793 enable_wmc
1794 enable_wrc
1796 ac_precious_vars='build_alias
1797 host_alias
1798 target_alias
1800 CFLAGS
1801 LDFLAGS
1802 LIBS
1803 CPPFLAGS
1805 CXXFLAGS
1808 OBJC
1809 OBJCFLAGS
1810 OBJCPP
1811 XMKMF
1812 XML2_CFLAGS
1813 XML2_LIBS
1814 XSLT_CFLAGS
1815 XSLT_LIBS
1816 DBUS_CFLAGS
1817 DBUS_LIBS
1818 HAL_CFLAGS
1819 HAL_LIBS
1820 GNUTLS_CFLAGS
1821 GNUTLS_LIBS
1822 SANE_CFLAGS
1823 SANE_LIBS
1824 GPHOTO2_CFLAGS
1825 GPHOTO2_LIBS
1826 GPHOTO2_PORT_CFLAGS
1827 GPHOTO2_PORT_LIBS
1828 LCMS2_CFLAGS
1829 LCMS2_LIBS
1830 FREETYPE_CFLAGS
1831 FREETYPE_LIBS
1832 PULSE_CFLAGS
1833 PULSE_LIBS
1834 GSTREAMER_CFLAGS
1835 GSTREAMER_LIBS
1836 UDEV_CFLAGS
1837 UDEV_LIBS
1838 SDL2_CFLAGS
1839 SDL2_LIBS
1840 FAUDIO_CFLAGS
1841 FAUDIO_LIBS
1842 CAPI20_CFLAGS
1843 CAPI20_LIBS
1844 CUPS_CFLAGS
1845 CUPS_LIBS
1846 FONTCONFIG_CFLAGS
1847 FONTCONFIG_LIBS
1848 KRB5_CFLAGS
1849 KRB5_LIBS
1850 GSSAPI_CFLAGS
1851 GSSAPI_LIBS
1852 JPEG_CFLAGS
1853 JPEG_LIBS
1854 PNG_CFLAGS
1855 PNG_LIBS
1856 TIFF_CFLAGS
1857 TIFF_LIBS
1858 MPG123_CFLAGS
1859 MPG123_LIBS
1860 NETAPI_CFLAGS
1861 NETAPI_LIBS
1862 VKD3D_CFLAGS
1863 VKD3D_LIBS
1864 LDAP_CFLAGS
1865 LDAP_LIBS'
1868 # Initialize some variables set by options.
1869 ac_init_help=
1870 ac_init_version=false
1871 ac_unrecognized_opts=
1872 ac_unrecognized_sep=
1873 # The variables have the same names as the options, with
1874 # dashes changed to underlines.
1875 cache_file=/dev/null
1876 exec_prefix=NONE
1877 no_create=
1878 no_recursion=
1879 prefix=NONE
1880 program_prefix=NONE
1881 program_suffix=NONE
1882 program_transform_name=s,x,x,
1883 silent=
1884 site=
1885 srcdir=
1886 verbose=
1887 x_includes=NONE
1888 x_libraries=NONE
1890 # Installation directory options.
1891 # These are left unexpanded so users can "make install exec_prefix=/foo"
1892 # and all the variables that are supposed to be based on exec_prefix
1893 # by default will actually change.
1894 # Use braces instead of parens because sh, perl, etc. also accept them.
1895 # (The list follows the same order as the GNU Coding Standards.)
1896 bindir='${exec_prefix}/bin'
1897 sbindir='${exec_prefix}/sbin'
1898 libexecdir='${exec_prefix}/libexec'
1899 datarootdir='${prefix}/share'
1900 datadir='${datarootdir}'
1901 sysconfdir='${prefix}/etc'
1902 sharedstatedir='${prefix}/com'
1903 localstatedir='${prefix}/var'
1904 runstatedir='${localstatedir}/run'
1905 includedir='${prefix}/include'
1906 oldincludedir='/usr/include'
1907 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1908 infodir='${datarootdir}/info'
1909 htmldir='${docdir}'
1910 dvidir='${docdir}'
1911 pdfdir='${docdir}'
1912 psdir='${docdir}'
1913 libdir='${exec_prefix}/lib'
1914 localedir='${datarootdir}/locale'
1915 mandir='${datarootdir}/man'
1917 ac_prev=
1918 ac_dashdash=
1919 for ac_option
1921 # If the previous option needs an argument, assign it.
1922 if test -n "$ac_prev"; then
1923 eval $ac_prev=\$ac_option
1924 ac_prev=
1925 continue
1928 case $ac_option in
1929 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1930 *=) ac_optarg= ;;
1931 *) ac_optarg=yes ;;
1932 esac
1934 # Accept the important Cygnus configure options, so we can diagnose typos.
1936 case $ac_dashdash$ac_option in
1938 ac_dashdash=yes ;;
1940 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1941 ac_prev=bindir ;;
1942 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1943 bindir=$ac_optarg ;;
1945 -build | --build | --buil | --bui | --bu)
1946 ac_prev=build_alias ;;
1947 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1948 build_alias=$ac_optarg ;;
1950 -cache-file | --cache-file | --cache-fil | --cache-fi \
1951 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1952 ac_prev=cache_file ;;
1953 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1954 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1955 cache_file=$ac_optarg ;;
1957 --config-cache | -C)
1958 cache_file=config.cache ;;
1960 -datadir | --datadir | --datadi | --datad)
1961 ac_prev=datadir ;;
1962 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1963 datadir=$ac_optarg ;;
1965 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1966 | --dataroo | --dataro | --datar)
1967 ac_prev=datarootdir ;;
1968 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1969 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1970 datarootdir=$ac_optarg ;;
1972 -disable-* | --disable-*)
1973 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1974 # Reject names that are not valid shell variable names.
1975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1976 as_fn_error $? "invalid feature name: $ac_useropt"
1977 ac_useropt_orig=$ac_useropt
1978 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1979 case $ac_user_opts in
1981 "enable_$ac_useropt"
1982 "*) ;;
1983 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1984 ac_unrecognized_sep=', ';;
1985 esac
1986 eval enable_$ac_useropt=no ;;
1988 -docdir | --docdir | --docdi | --doc | --do)
1989 ac_prev=docdir ;;
1990 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1991 docdir=$ac_optarg ;;
1993 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1994 ac_prev=dvidir ;;
1995 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1996 dvidir=$ac_optarg ;;
1998 -enable-* | --enable-*)
1999 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2000 # Reject names that are not valid shell variable names.
2001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2002 as_fn_error $? "invalid feature name: $ac_useropt"
2003 ac_useropt_orig=$ac_useropt
2004 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2005 case $ac_user_opts in
2007 "enable_$ac_useropt"
2008 "*) ;;
2009 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2010 ac_unrecognized_sep=', ';;
2011 esac
2012 eval enable_$ac_useropt=\$ac_optarg ;;
2014 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2015 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2016 | --exec | --exe | --ex)
2017 ac_prev=exec_prefix ;;
2018 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2019 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2020 | --exec=* | --exe=* | --ex=*)
2021 exec_prefix=$ac_optarg ;;
2023 -gas | --gas | --ga | --g)
2024 # Obsolete; use --with-gas.
2025 with_gas=yes ;;
2027 -help | --help | --hel | --he | -h)
2028 ac_init_help=long ;;
2029 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2030 ac_init_help=recursive ;;
2031 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2032 ac_init_help=short ;;
2034 -host | --host | --hos | --ho)
2035 ac_prev=host_alias ;;
2036 -host=* | --host=* | --hos=* | --ho=*)
2037 host_alias=$ac_optarg ;;
2039 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2040 ac_prev=htmldir ;;
2041 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2042 | --ht=*)
2043 htmldir=$ac_optarg ;;
2045 -includedir | --includedir | --includedi | --included | --include \
2046 | --includ | --inclu | --incl | --inc)
2047 ac_prev=includedir ;;
2048 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2049 | --includ=* | --inclu=* | --incl=* | --inc=*)
2050 includedir=$ac_optarg ;;
2052 -infodir | --infodir | --infodi | --infod | --info | --inf)
2053 ac_prev=infodir ;;
2054 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2055 infodir=$ac_optarg ;;
2057 -libdir | --libdir | --libdi | --libd)
2058 ac_prev=libdir ;;
2059 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2060 libdir=$ac_optarg ;;
2062 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2063 | --libexe | --libex | --libe)
2064 ac_prev=libexecdir ;;
2065 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2066 | --libexe=* | --libex=* | --libe=*)
2067 libexecdir=$ac_optarg ;;
2069 -localedir | --localedir | --localedi | --localed | --locale)
2070 ac_prev=localedir ;;
2071 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2072 localedir=$ac_optarg ;;
2074 -localstatedir | --localstatedir | --localstatedi | --localstated \
2075 | --localstate | --localstat | --localsta | --localst | --locals)
2076 ac_prev=localstatedir ;;
2077 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2078 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2079 localstatedir=$ac_optarg ;;
2081 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2082 ac_prev=mandir ;;
2083 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2084 mandir=$ac_optarg ;;
2086 -nfp | --nfp | --nf)
2087 # Obsolete; use --without-fp.
2088 with_fp=no ;;
2090 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2091 | --no-cr | --no-c | -n)
2092 no_create=yes ;;
2094 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2095 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2096 no_recursion=yes ;;
2098 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2099 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2100 | --oldin | --oldi | --old | --ol | --o)
2101 ac_prev=oldincludedir ;;
2102 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2103 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2104 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2105 oldincludedir=$ac_optarg ;;
2107 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2108 ac_prev=prefix ;;
2109 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2110 prefix=$ac_optarg ;;
2112 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2113 | --program-pre | --program-pr | --program-p)
2114 ac_prev=program_prefix ;;
2115 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2116 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2117 program_prefix=$ac_optarg ;;
2119 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2120 | --program-suf | --program-su | --program-s)
2121 ac_prev=program_suffix ;;
2122 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2123 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2124 program_suffix=$ac_optarg ;;
2126 -program-transform-name | --program-transform-name \
2127 | --program-transform-nam | --program-transform-na \
2128 | --program-transform-n | --program-transform- \
2129 | --program-transform | --program-transfor \
2130 | --program-transfo | --program-transf \
2131 | --program-trans | --program-tran \
2132 | --progr-tra | --program-tr | --program-t)
2133 ac_prev=program_transform_name ;;
2134 -program-transform-name=* | --program-transform-name=* \
2135 | --program-transform-nam=* | --program-transform-na=* \
2136 | --program-transform-n=* | --program-transform-=* \
2137 | --program-transform=* | --program-transfor=* \
2138 | --program-transfo=* | --program-transf=* \
2139 | --program-trans=* | --program-tran=* \
2140 | --progr-tra=* | --program-tr=* | --program-t=*)
2141 program_transform_name=$ac_optarg ;;
2143 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2144 ac_prev=pdfdir ;;
2145 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2146 pdfdir=$ac_optarg ;;
2148 -psdir | --psdir | --psdi | --psd | --ps)
2149 ac_prev=psdir ;;
2150 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2151 psdir=$ac_optarg ;;
2153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2154 | -silent | --silent | --silen | --sile | --sil)
2155 silent=yes ;;
2157 -runstatedir | --runstatedir | --runstatedi | --runstated \
2158 | --runstate | --runstat | --runsta | --runst | --runs \
2159 | --run | --ru | --r)
2160 ac_prev=runstatedir ;;
2161 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2162 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2163 | --run=* | --ru=* | --r=*)
2164 runstatedir=$ac_optarg ;;
2166 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2167 ac_prev=sbindir ;;
2168 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2169 | --sbi=* | --sb=*)
2170 sbindir=$ac_optarg ;;
2172 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2173 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2174 | --sharedst | --shareds | --shared | --share | --shar \
2175 | --sha | --sh)
2176 ac_prev=sharedstatedir ;;
2177 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2178 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2179 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2180 | --sha=* | --sh=*)
2181 sharedstatedir=$ac_optarg ;;
2183 -site | --site | --sit)
2184 ac_prev=site ;;
2185 -site=* | --site=* | --sit=*)
2186 site=$ac_optarg ;;
2188 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2189 ac_prev=srcdir ;;
2190 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2191 srcdir=$ac_optarg ;;
2193 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2194 | --syscon | --sysco | --sysc | --sys | --sy)
2195 ac_prev=sysconfdir ;;
2196 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2197 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2198 sysconfdir=$ac_optarg ;;
2200 -target | --target | --targe | --targ | --tar | --ta | --t)
2201 ac_prev=target_alias ;;
2202 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2203 target_alias=$ac_optarg ;;
2205 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2206 verbose=yes ;;
2208 -version | --version | --versio | --versi | --vers | -V)
2209 ac_init_version=: ;;
2211 -with-* | --with-*)
2212 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2213 # Reject names that are not valid shell variable names.
2214 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2215 as_fn_error $? "invalid package name: $ac_useropt"
2216 ac_useropt_orig=$ac_useropt
2217 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2218 case $ac_user_opts in
2220 "with_$ac_useropt"
2221 "*) ;;
2222 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2223 ac_unrecognized_sep=', ';;
2224 esac
2225 eval with_$ac_useropt=\$ac_optarg ;;
2227 -without-* | --without-*)
2228 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2229 # Reject names that are not valid shell variable names.
2230 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2231 as_fn_error $? "invalid package name: $ac_useropt"
2232 ac_useropt_orig=$ac_useropt
2233 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2234 case $ac_user_opts in
2236 "with_$ac_useropt"
2237 "*) ;;
2238 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2239 ac_unrecognized_sep=', ';;
2240 esac
2241 eval with_$ac_useropt=no ;;
2243 --x)
2244 # Obsolete; use --with-x.
2245 with_x=yes ;;
2247 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2248 | --x-incl | --x-inc | --x-in | --x-i)
2249 ac_prev=x_includes ;;
2250 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2251 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2252 x_includes=$ac_optarg ;;
2254 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2255 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2256 ac_prev=x_libraries ;;
2257 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2258 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2259 x_libraries=$ac_optarg ;;
2261 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2262 Try \`$0 --help' for more information"
2265 *=*)
2266 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2267 # Reject names that are not valid shell variable names.
2268 case $ac_envvar in #(
2269 '' | [0-9]* | *[!_$as_cr_alnum]* )
2270 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2271 esac
2272 eval $ac_envvar=\$ac_optarg
2273 export $ac_envvar ;;
2276 # FIXME: should be removed in autoconf 3.0.
2277 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2278 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2279 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2280 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2283 esac
2284 done
2286 if test -n "$ac_prev"; then
2287 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2288 as_fn_error $? "missing argument to $ac_option"
2291 if test -n "$ac_unrecognized_opts"; then
2292 case $enable_option_checking in
2293 no) ;;
2294 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2295 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2296 esac
2299 # Check all directory arguments for consistency.
2300 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2301 datadir sysconfdir sharedstatedir localstatedir includedir \
2302 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2303 libdir localedir mandir runstatedir
2305 eval ac_val=\$$ac_var
2306 # Remove trailing slashes.
2307 case $ac_val in
2308 */ )
2309 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2310 eval $ac_var=\$ac_val;;
2311 esac
2312 # Be sure to have absolute directory names.
2313 case $ac_val in
2314 [\\/$]* | ?:[\\/]* ) continue;;
2315 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2316 esac
2317 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2318 done
2320 # There might be people who depend on the old broken behavior: `$host'
2321 # used to hold the argument of --host etc.
2322 # FIXME: To remove some day.
2323 build=$build_alias
2324 host=$host_alias
2325 target=$target_alias
2327 # FIXME: To remove some day.
2328 if test "x$host_alias" != x; then
2329 if test "x$build_alias" = x; then
2330 cross_compiling=maybe
2331 elif test "x$build_alias" != "x$host_alias"; then
2332 cross_compiling=yes
2336 ac_tool_prefix=
2337 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2339 test "$silent" = yes && exec 6>/dev/null
2342 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2343 ac_ls_di=`ls -di .` &&
2344 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2345 as_fn_error $? "working directory cannot be determined"
2346 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2347 as_fn_error $? "pwd does not report name of working directory"
2350 # Find the source files, if location was not specified.
2351 if test -z "$srcdir"; then
2352 ac_srcdir_defaulted=yes
2353 # Try the directory containing this script, then the parent directory.
2354 ac_confdir=`$as_dirname -- "$as_myself" ||
2355 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2356 X"$as_myself" : 'X\(//\)[^/]' \| \
2357 X"$as_myself" : 'X\(//\)$' \| \
2358 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2359 $as_echo X"$as_myself" |
2360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2361 s//\1/
2364 /^X\(\/\/\)[^/].*/{
2365 s//\1/
2368 /^X\(\/\/\)$/{
2369 s//\1/
2372 /^X\(\/\).*/{
2373 s//\1/
2376 s/.*/./; q'`
2377 srcdir=$ac_confdir
2378 if test ! -r "$srcdir/$ac_unique_file"; then
2379 srcdir=..
2381 else
2382 ac_srcdir_defaulted=no
2384 if test ! -r "$srcdir/$ac_unique_file"; then
2385 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2386 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2388 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2389 ac_abs_confdir=`(
2390 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2391 pwd)`
2392 # When building in place, set srcdir=.
2393 if test "$ac_abs_confdir" = "$ac_pwd"; then
2394 srcdir=.
2396 # Remove unnecessary trailing slashes from srcdir.
2397 # Double slashes in file names in object file debugging info
2398 # mess up M-x gdb in Emacs.
2399 case $srcdir in
2400 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2401 esac
2402 for ac_var in $ac_precious_vars; do
2403 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2404 eval ac_env_${ac_var}_value=\$${ac_var}
2405 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2406 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2407 done
2410 # Report the --help message.
2412 if test "$ac_init_help" = "long"; then
2413 # Omit some internal or obsolete options to make the list less imposing.
2414 # This message is too long to be a string in the A/UX 3.1 sh.
2415 cat <<_ACEOF
2416 \`configure' configures Wine 4.6 to adapt to many kinds of systems.
2418 Usage: $0 [OPTION]... [VAR=VALUE]...
2420 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2421 VAR=VALUE. See below for descriptions of some of the useful variables.
2423 Defaults for the options are specified in brackets.
2425 Configuration:
2426 -h, --help display this help and exit
2427 --help=short display options specific to this package
2428 --help=recursive display the short help of all the included packages
2429 -V, --version display version information and exit
2430 -q, --quiet, --silent do not print \`checking ...' messages
2431 --cache-file=FILE cache test results in FILE [disabled]
2432 -C, --config-cache alias for \`--cache-file=config.cache'
2433 -n, --no-create do not create output files
2434 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2436 Installation directories:
2437 --prefix=PREFIX install architecture-independent files in PREFIX
2438 [$ac_default_prefix]
2439 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2440 [PREFIX]
2442 By default, \`make install' will install all the files in
2443 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2444 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2445 for instance \`--prefix=\$HOME'.
2447 For better control, use the options below.
2449 Fine tuning of the installation directories:
2450 --bindir=DIR user executables [EPREFIX/bin]
2451 --sbindir=DIR system admin executables [EPREFIX/sbin]
2452 --libexecdir=DIR program executables [EPREFIX/libexec]
2453 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2454 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2455 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2456 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2457 --libdir=DIR object code libraries [EPREFIX/lib]
2458 --includedir=DIR C header files [PREFIX/include]
2459 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2460 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2461 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2462 --infodir=DIR info documentation [DATAROOTDIR/info]
2463 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2464 --mandir=DIR man documentation [DATAROOTDIR/man]
2465 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2466 --htmldir=DIR html documentation [DOCDIR]
2467 --dvidir=DIR dvi documentation [DOCDIR]
2468 --pdfdir=DIR pdf documentation [DOCDIR]
2469 --psdir=DIR ps documentation [DOCDIR]
2470 _ACEOF
2472 cat <<\_ACEOF
2474 X features:
2475 --x-includes=DIR X include files are in DIR
2476 --x-libraries=DIR X library files are in DIR
2478 System types:
2479 --build=BUILD configure for building on BUILD [guessed]
2480 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2481 _ACEOF
2484 if test -n "$ac_init_help"; then
2485 case $ac_init_help in
2486 short | recursive ) echo "Configuration of Wine 4.6:";;
2487 esac
2488 cat <<\_ACEOF
2490 Optional Features:
2491 --disable-option-checking ignore unrecognized --enable/--with options
2492 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2493 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2494 --disable-win16 do not include Win16 support
2495 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2496 binaries)
2497 --disable-tests do not build the regression tests
2498 --enable-maintainer-mode
2499 enable maintainer-specific build rules
2500 --disable-largefile omit support for large files
2502 Optional Packages:
2503 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2504 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2505 --without-alsa do not use the Alsa sound support
2506 --without-capi do not use CAPI (ISDN support)
2507 --without-cms do not use CMS (color management support)
2508 --without-coreaudio do not use the CoreAudio sound support
2509 --without-cups do not use CUPS
2510 --without-curses do not use (n)curses
2511 --without-dbus do not use DBus (dynamic device support)
2512 --without-faudio do not use FAudio (XAudio2 support)
2513 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2514 --without-fontconfig do not use fontconfig
2515 --without-freetype do not use the FreeType library
2516 --without-gettext do not use gettext
2517 --with-gettextpo use the GetTextPO library to rebuild po files
2518 --without-gphoto do not use gphoto (Digital Camera support)
2519 --without-glu do not use the GLU library
2520 --without-gnutls do not use GnuTLS (schannel support)
2521 --without-gsm do not use libgsm (GSM 06.10 codec support)
2522 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2523 --without-gstreamer do not use GStreamer (codecs support)
2524 --without-hal do not use HAL (dynamic device support)
2525 --without-jpeg do not use JPEG
2526 --without-krb5 do not use krb5 (Kerberos)
2527 --without-ldap do not use LDAP
2528 --without-mingw do not use the MinGW cross-compiler
2529 --without-mpg123 do not use the mpg123 library
2530 --without-netapi do not use the Samba NetAPI library
2531 --without-openal do not use OpenAL
2532 --without-opencl do not use OpenCL
2533 --without-opengl do not use OpenGL
2534 --without-osmesa do not use the OSMesa library
2535 --without-oss do not use the OSS sound support
2536 --without-pcap do not use the Packet Capture library
2537 --without-png do not use PNG
2538 --without-pthread do not use the pthread library
2539 --without-pulse do not use PulseAudio sound support
2540 --without-sane do not use SANE (scanner support)
2541 --without-sdl do not use SDL
2542 --without-tiff do not use TIFF
2543 --without-udev do not use udev (plug and play support)
2544 --without-v4l2 do not use v4l2 (video capture)
2545 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2546 --without-vulkan do not use Vulkan
2547 --without-xcomposite do not use the Xcomposite extension
2548 --without-xcursor do not use the Xcursor extension
2549 --without-xfixes do not use Xfixes for clipboard change notifications
2550 --without-xinerama do not use Xinerama (multi-monitor support)
2551 --without-xinput do not use the Xinput extension
2552 --without-xinput2 do not use the Xinput 2 extension
2553 --without-xml do not use XML
2554 --without-xrandr do not use Xrandr (resolution changes)
2555 --without-xrender do not use the Xrender extension
2556 --without-xshape do not use the Xshape extension
2557 --without-xshm do not use XShm (shared memory extension)
2558 --without-xslt do not use XSLT
2559 --without-xxf86vm do not use XFree video mode extension
2560 --without-zlib do not use Zlib (data compression)
2561 --with-wine-tools=DIR use Wine tools from directory DIR
2562 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2563 --with-x use the X Window System
2565 Some influential environment variables:
2566 CC C compiler command
2567 CFLAGS C compiler flags
2568 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2569 nonstandard directory <lib dir>
2570 LIBS libraries to pass to the linker, e.g. -l<library>
2571 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2572 you have headers in a nonstandard directory <include dir>
2573 CXX C++ compiler command
2574 CXXFLAGS C++ compiler flags
2575 CPP C preprocessor
2576 OBJC Objective C compiler command
2577 OBJCFLAGS Objective C compiler flags
2578 OBJCPP Objective C preprocessor
2579 XMKMF Path to xmkmf, Makefile generator for X Window System
2580 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2581 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2582 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2583 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2584 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2585 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2586 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2587 HAL_LIBS Linker flags for hal, overriding pkg-config
2588 GNUTLS_CFLAGS
2589 C compiler flags for gnutls, overriding pkg-config
2590 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2591 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2592 SANE_LIBS Linker flags for libsane, overriding pkg-config
2593 GPHOTO2_CFLAGS
2594 C compiler flags for libgphoto2, overriding pkg-config
2595 GPHOTO2_LIBS
2596 Linker flags for libgphoto2, overriding pkg-config
2597 GPHOTO2_PORT_CFLAGS
2598 C compiler flags for libgphoto2_port, overriding pkg-config
2599 GPHOTO2_PORT_LIBS
2600 Linker flags for libgphoto2_port, overriding pkg-config
2601 LCMS2_CFLAGS
2602 C compiler flags for lcms2, overriding pkg-config
2603 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2604 FREETYPE_CFLAGS
2605 C compiler flags for freetype2, overriding pkg-config
2606 FREETYPE_LIBS
2607 Linker flags for freetype2, overriding pkg-config
2608 PULSE_CFLAGS
2609 C compiler flags for libpulse, overriding pkg-config
2610 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2611 GSTREAMER_CFLAGS
2612 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2613 gstreamer-audio-1.0, overriding pkg-config
2614 GSTREAMER_LIBS
2615 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2616 gstreamer-audio-1.0, overriding pkg-config
2617 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2618 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2619 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2620 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2621 FAUDIO_CFLAGS
2622 C compiler flags for faudio, overriding pkg-config
2623 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2624 CAPI20_CFLAGS
2625 C compiler flags for capi20, overriding pkg-config
2626 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2627 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2628 CUPS_LIBS Linker flags for cups, overriding pkg-config
2629 FONTCONFIG_CFLAGS
2630 C compiler flags for fontconfig, overriding pkg-config
2631 FONTCONFIG_LIBS
2632 Linker flags for fontconfig, overriding pkg-config
2633 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2634 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2635 GSSAPI_CFLAGS
2636 C compiler flags for krb5-gssapi, overriding pkg-config
2637 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2638 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2639 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2640 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2641 PNG_LIBS Linker flags for libpng, overriding pkg-config
2642 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2643 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2644 MPG123_CFLAGS
2645 C compiler flags for libmpg123, overriding pkg-config
2646 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2647 NETAPI_CFLAGS
2648 C compiler flags for netapi, overriding pkg-config
2649 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2650 VKD3D_CFLAGS
2651 C compiler flags for libvkd3d, overriding pkg-config
2652 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2653 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2654 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2656 Use these variables to override the choices made by `configure' or to help
2657 it to find libraries and programs with nonstandard names/locations.
2659 Report bugs to <wine-devel@winehq.org>.
2660 Wine home page: <https://www.winehq.org>.
2661 _ACEOF
2662 ac_status=$?
2665 if test "$ac_init_help" = "recursive"; then
2666 # If there are subdirs, report their specific --help.
2667 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2668 test -d "$ac_dir" ||
2669 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2670 continue
2671 ac_builddir=.
2673 case "$ac_dir" in
2674 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2676 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2677 # A ".." for each directory in $ac_dir_suffix.
2678 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2679 case $ac_top_builddir_sub in
2680 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2681 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2682 esac ;;
2683 esac
2684 ac_abs_top_builddir=$ac_pwd
2685 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2686 # for backward compatibility:
2687 ac_top_builddir=$ac_top_build_prefix
2689 case $srcdir in
2690 .) # We are building in place.
2691 ac_srcdir=.
2692 ac_top_srcdir=$ac_top_builddir_sub
2693 ac_abs_top_srcdir=$ac_pwd ;;
2694 [\\/]* | ?:[\\/]* ) # Absolute name.
2695 ac_srcdir=$srcdir$ac_dir_suffix;
2696 ac_top_srcdir=$srcdir
2697 ac_abs_top_srcdir=$srcdir ;;
2698 *) # Relative name.
2699 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2700 ac_top_srcdir=$ac_top_build_prefix$srcdir
2701 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2702 esac
2703 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2705 cd "$ac_dir" || { ac_status=$?; continue; }
2706 # Check for guested configure.
2707 if test -f "$ac_srcdir/configure.gnu"; then
2708 echo &&
2709 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2710 elif test -f "$ac_srcdir/configure"; then
2711 echo &&
2712 $SHELL "$ac_srcdir/configure" --help=recursive
2713 else
2714 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2715 fi || ac_status=$?
2716 cd "$ac_pwd" || { ac_status=$?; break; }
2717 done
2720 test -n "$ac_init_help" && exit $ac_status
2721 if $ac_init_version; then
2722 cat <<\_ACEOF
2723 Wine configure 4.6
2724 generated by GNU Autoconf 2.69
2726 Copyright (C) 2012 Free Software Foundation, Inc.
2727 This configure script is free software; the Free Software Foundation
2728 gives unlimited permission to copy, distribute and modify it.
2729 _ACEOF
2730 exit
2733 ## ------------------------ ##
2734 ## Autoconf initialization. ##
2735 ## ------------------------ ##
2737 # ac_fn_c_try_compile LINENO
2738 # --------------------------
2739 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2740 ac_fn_c_try_compile ()
2742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2743 rm -f conftest.$ac_objext
2744 if { { ac_try="$ac_compile"
2745 case "(($ac_try" in
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2748 esac
2749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2750 $as_echo "$ac_try_echo"; } >&5
2751 (eval "$ac_compile") 2>conftest.err
2752 ac_status=$?
2753 if test -s conftest.err; then
2754 grep -v '^ *+' conftest.err >conftest.er1
2755 cat conftest.er1 >&5
2756 mv -f conftest.er1 conftest.err
2758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2759 test $ac_status = 0; } && {
2760 test -z "$ac_c_werror_flag" ||
2761 test ! -s conftest.err
2762 } && test -s conftest.$ac_objext; then :
2763 ac_retval=0
2764 else
2765 $as_echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2768 ac_retval=1
2770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2771 as_fn_set_status $ac_retval
2773 } # ac_fn_c_try_compile
2775 # ac_fn_cxx_try_compile LINENO
2776 # ----------------------------
2777 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2778 ac_fn_cxx_try_compile ()
2780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2781 rm -f conftest.$ac_objext
2782 if { { ac_try="$ac_compile"
2783 case "(($ac_try" in
2784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2785 *) ac_try_echo=$ac_try;;
2786 esac
2787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2788 $as_echo "$ac_try_echo"; } >&5
2789 (eval "$ac_compile") 2>conftest.err
2790 ac_status=$?
2791 if test -s conftest.err; then
2792 grep -v '^ *+' conftest.err >conftest.er1
2793 cat conftest.er1 >&5
2794 mv -f conftest.er1 conftest.err
2796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2797 test $ac_status = 0; } && {
2798 test -z "$ac_cxx_werror_flag" ||
2799 test ! -s conftest.err
2800 } && test -s conftest.$ac_objext; then :
2801 ac_retval=0
2802 else
2803 $as_echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.$ac_ext >&5
2806 ac_retval=1
2808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2809 as_fn_set_status $ac_retval
2811 } # ac_fn_cxx_try_compile
2813 # ac_fn_c_try_link LINENO
2814 # -----------------------
2815 # Try to link conftest.$ac_ext, and return whether this succeeded.
2816 ac_fn_c_try_link ()
2818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2819 rm -f conftest.$ac_objext conftest$ac_exeext
2820 if { { ac_try="$ac_link"
2821 case "(($ac_try" in
2822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2824 esac
2825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2826 $as_echo "$ac_try_echo"; } >&5
2827 (eval "$ac_link") 2>conftest.err
2828 ac_status=$?
2829 if test -s conftest.err; then
2830 grep -v '^ *+' conftest.err >conftest.er1
2831 cat conftest.er1 >&5
2832 mv -f conftest.er1 conftest.err
2834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2835 test $ac_status = 0; } && {
2836 test -z "$ac_c_werror_flag" ||
2837 test ! -s conftest.err
2838 } && test -s conftest$ac_exeext && {
2839 test "$cross_compiling" = yes ||
2840 test -x conftest$ac_exeext
2841 }; then :
2842 ac_retval=0
2843 else
2844 $as_echo "$as_me: failed program was:" >&5
2845 sed 's/^/| /' conftest.$ac_ext >&5
2847 ac_retval=1
2849 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2850 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2851 # interfere with the next link command; also delete a directory that is
2852 # left behind by Apple's compiler. We do this before executing the actions.
2853 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2855 as_fn_set_status $ac_retval
2857 } # ac_fn_c_try_link
2859 # ac_fn_c_try_cpp LINENO
2860 # ----------------------
2861 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2862 ac_fn_c_try_cpp ()
2864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2865 if { { ac_try="$ac_cpp conftest.$ac_ext"
2866 case "(($ac_try" in
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2869 esac
2870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2871 $as_echo "$ac_try_echo"; } >&5
2872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2873 ac_status=$?
2874 if test -s conftest.err; then
2875 grep -v '^ *+' conftest.err >conftest.er1
2876 cat conftest.er1 >&5
2877 mv -f conftest.er1 conftest.err
2879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2880 test $ac_status = 0; } > conftest.i && {
2881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2882 test ! -s conftest.err
2883 }; then :
2884 ac_retval=0
2885 else
2886 $as_echo "$as_me: failed program was:" >&5
2887 sed 's/^/| /' conftest.$ac_ext >&5
2889 ac_retval=1
2891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2892 as_fn_set_status $ac_retval
2894 } # ac_fn_c_try_cpp
2896 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2897 # -------------------------------------------------------
2898 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2899 # the include files in INCLUDES and setting the cache variable VAR
2900 # accordingly.
2901 ac_fn_c_check_header_mongrel ()
2903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2904 if eval \${$3+:} false; then :
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2906 $as_echo_n "checking for $2... " >&6; }
2907 if eval \${$3+:} false; then :
2908 $as_echo_n "(cached) " >&6
2910 eval ac_res=\$$3
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2912 $as_echo "$ac_res" >&6; }
2913 else
2914 # Is the header compilable?
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2916 $as_echo_n "checking $2 usability... " >&6; }
2917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2918 /* end confdefs.h. */
2920 #include <$2>
2921 _ACEOF
2922 if ac_fn_c_try_compile "$LINENO"; then :
2923 ac_header_compiler=yes
2924 else
2925 ac_header_compiler=no
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2929 $as_echo "$ac_header_compiler" >&6; }
2931 # Is the header present?
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2933 $as_echo_n "checking $2 presence... " >&6; }
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2936 #include <$2>
2937 _ACEOF
2938 if ac_fn_c_try_cpp "$LINENO"; then :
2939 ac_header_preproc=yes
2940 else
2941 ac_header_preproc=no
2943 rm -f conftest.err conftest.i conftest.$ac_ext
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2945 $as_echo "$ac_header_preproc" >&6; }
2947 # So? What about this header?
2948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2949 yes:no: )
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2951 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2953 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2955 no:yes:* )
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2957 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2959 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2961 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2963 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2965 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2966 ( $as_echo "## ------------------------------------ ##
2967 ## Report this to wine-devel@winehq.org ##
2968 ## ------------------------------------ ##"
2969 ) | sed "s/^/$as_me: WARNING: /" >&2
2971 esac
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2973 $as_echo_n "checking for $2... " >&6; }
2974 if eval \${$3+:} false; then :
2975 $as_echo_n "(cached) " >&6
2976 else
2977 eval "$3=\$ac_header_compiler"
2979 eval ac_res=\$$3
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2981 $as_echo "$ac_res" >&6; }
2983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 } # ac_fn_c_check_header_mongrel
2987 # ac_fn_c_try_run LINENO
2988 # ----------------------
2989 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2990 # that executables *can* be run.
2991 ac_fn_c_try_run ()
2993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2994 if { { ac_try="$ac_link"
2995 case "(($ac_try" in
2996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2997 *) ac_try_echo=$ac_try;;
2998 esac
2999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3000 $as_echo "$ac_try_echo"; } >&5
3001 (eval "$ac_link") 2>&5
3002 ac_status=$?
3003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3004 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3005 { { case "(($ac_try" in
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3008 esac
3009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3010 $as_echo "$ac_try_echo"; } >&5
3011 (eval "$ac_try") 2>&5
3012 ac_status=$?
3013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3014 test $ac_status = 0; }; }; then :
3015 ac_retval=0
3016 else
3017 $as_echo "$as_me: program exited with status $ac_status" >&5
3018 $as_echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3021 ac_retval=$ac_status
3023 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3025 as_fn_set_status $ac_retval
3027 } # ac_fn_c_try_run
3029 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3030 # -------------------------------------------------------
3031 # Tests whether HEADER exists and can be compiled using the include files in
3032 # INCLUDES, setting the cache variable VAR accordingly.
3033 ac_fn_c_check_header_compile ()
3035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3037 $as_echo_n "checking for $2... " >&6; }
3038 if eval \${$3+:} false; then :
3039 $as_echo_n "(cached) " >&6
3040 else
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3044 #include <$2>
3045 _ACEOF
3046 if ac_fn_c_try_compile "$LINENO"; then :
3047 eval "$3=yes"
3048 else
3049 eval "$3=no"
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 eval ac_res=\$$3
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3055 $as_echo "$ac_res" >&6; }
3056 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3058 } # ac_fn_c_check_header_compile
3060 # ac_fn_objc_try_compile LINENO
3061 # -----------------------------
3062 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3063 ac_fn_objc_try_compile ()
3065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3066 rm -f conftest.$ac_objext
3067 if { { ac_try="$ac_compile"
3068 case "(($ac_try" in
3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3071 esac
3072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3073 $as_echo "$ac_try_echo"; } >&5
3074 (eval "$ac_compile") 2>conftest.err
3075 ac_status=$?
3076 if test -s conftest.err; then
3077 grep -v '^ *+' conftest.err >conftest.er1
3078 cat conftest.er1 >&5
3079 mv -f conftest.er1 conftest.err
3081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3082 test $ac_status = 0; } && {
3083 test -z "$ac_objc_werror_flag" ||
3084 test ! -s conftest.err
3085 } && test -s conftest.$ac_objext; then :
3086 ac_retval=0
3087 else
3088 $as_echo "$as_me: failed program was:" >&5
3089 sed 's/^/| /' conftest.$ac_ext >&5
3091 ac_retval=1
3093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3094 as_fn_set_status $ac_retval
3096 } # ac_fn_objc_try_compile
3098 # ac_fn_objc_try_cpp LINENO
3099 # -------------------------
3100 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3101 ac_fn_objc_try_cpp ()
3103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3104 if { { ac_try="$ac_cpp conftest.$ac_ext"
3105 case "(($ac_try" in
3106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3107 *) ac_try_echo=$ac_try;;
3108 esac
3109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3110 $as_echo "$ac_try_echo"; } >&5
3111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3112 ac_status=$?
3113 if test -s conftest.err; then
3114 grep -v '^ *+' conftest.err >conftest.er1
3115 cat conftest.er1 >&5
3116 mv -f conftest.er1 conftest.err
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; } > conftest.i && {
3120 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3121 test ! -s conftest.err
3122 }; then :
3123 ac_retval=0
3124 else
3125 $as_echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.$ac_ext >&5
3128 ac_retval=1
3130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3131 as_fn_set_status $ac_retval
3133 } # ac_fn_objc_try_cpp
3135 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3136 # ----------------------------------------------------------
3137 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3138 # the include files in INCLUDES and setting the cache variable VAR
3139 # accordingly.
3140 ac_fn_objc_check_header_mongrel ()
3142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3143 if eval \${$3+:} false; then :
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3145 $as_echo_n "checking for $2... " >&6; }
3146 if eval \${$3+:} false; then :
3147 $as_echo_n "(cached) " >&6
3149 eval ac_res=\$$3
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3151 $as_echo "$ac_res" >&6; }
3152 else
3153 # Is the header compilable?
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3155 $as_echo_n "checking $2 usability... " >&6; }
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3159 #include <$2>
3160 _ACEOF
3161 if ac_fn_objc_try_compile "$LINENO"; then :
3162 ac_header_compiler=yes
3163 else
3164 ac_header_compiler=no
3166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3168 $as_echo "$ac_header_compiler" >&6; }
3170 # Is the header present?
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3172 $as_echo_n "checking $2 presence... " >&6; }
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3175 #include <$2>
3176 _ACEOF
3177 if ac_fn_objc_try_cpp "$LINENO"; then :
3178 ac_header_preproc=yes
3179 else
3180 ac_header_preproc=no
3182 rm -f conftest.err conftest.i conftest.$ac_ext
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3184 $as_echo "$ac_header_preproc" >&6; }
3186 # So? What about this header?
3187 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3188 yes:no: )
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3190 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3192 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3194 no:yes:* )
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3196 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3198 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3200 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3202 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3204 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3205 ( $as_echo "## ------------------------------------ ##
3206 ## Report this to wine-devel@winehq.org ##
3207 ## ------------------------------------ ##"
3208 ) | sed "s/^/$as_me: WARNING: /" >&2
3210 esac
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3212 $as_echo_n "checking for $2... " >&6; }
3213 if eval \${$3+:} false; then :
3214 $as_echo_n "(cached) " >&6
3215 else
3216 eval "$3=\$ac_header_compiler"
3218 eval ac_res=\$$3
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3220 $as_echo "$ac_res" >&6; }
3222 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3224 } # ac_fn_objc_check_header_mongrel
3226 # ac_fn_c_check_func LINENO FUNC VAR
3227 # ----------------------------------
3228 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3229 ac_fn_c_check_func ()
3231 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3233 $as_echo_n "checking for $2... " >&6; }
3234 if eval \${$3+:} false; then :
3235 $as_echo_n "(cached) " >&6
3236 else
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3239 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3241 #define $2 innocuous_$2
3243 /* System header to define __stub macros and hopefully few prototypes,
3244 which can conflict with char $2 (); below.
3245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3246 <limits.h> exists even on freestanding compilers. */
3248 #ifdef __STDC__
3249 # include <limits.h>
3250 #else
3251 # include <assert.h>
3252 #endif
3254 #undef $2
3256 /* Override any GCC internal prototype to avoid an error.
3257 Use char because int might match the return type of a GCC
3258 builtin and then its argument prototype would still apply. */
3259 #ifdef __cplusplus
3260 extern "C"
3261 #endif
3262 char $2 ();
3263 /* The GNU C library defines this for functions which it implements
3264 to always fail with ENOSYS. Some functions are actually named
3265 something starting with __ and the normal name is an alias. */
3266 #if defined __stub_$2 || defined __stub___$2
3267 choke me
3268 #endif
3271 main ()
3273 return $2 ();
3275 return 0;
3277 _ACEOF
3278 if ac_fn_c_try_link "$LINENO"; then :
3279 eval "$3=yes"
3280 else
3281 eval "$3=no"
3283 rm -f core conftest.err conftest.$ac_objext \
3284 conftest$ac_exeext conftest.$ac_ext
3286 eval ac_res=\$$3
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3288 $as_echo "$ac_res" >&6; }
3289 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3291 } # ac_fn_c_check_func
3293 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3294 # ----------------------------------------------------
3295 # Tries to find if the field MEMBER exists in type AGGR, after including
3296 # INCLUDES, setting cache variable VAR accordingly.
3297 ac_fn_c_check_member ()
3299 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3301 $as_echo_n "checking for $2.$3... " >&6; }
3302 if eval \${$4+:} false; then :
3303 $as_echo_n "(cached) " >&6
3304 else
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3309 main ()
3311 static $2 ac_aggr;
3312 if (ac_aggr.$3)
3313 return 0;
3315 return 0;
3317 _ACEOF
3318 if ac_fn_c_try_compile "$LINENO"; then :
3319 eval "$4=yes"
3320 else
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3325 main ()
3327 static $2 ac_aggr;
3328 if (sizeof ac_aggr.$3)
3329 return 0;
3331 return 0;
3333 _ACEOF
3334 if ac_fn_c_try_compile "$LINENO"; then :
3335 eval "$4=yes"
3336 else
3337 eval "$4=no"
3339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343 eval ac_res=\$$4
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3345 $as_echo "$ac_res" >&6; }
3346 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3348 } # ac_fn_c_check_member
3350 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3351 # -------------------------------------------
3352 # Tests whether TYPE exists after having included INCLUDES, setting cache
3353 # variable VAR accordingly.
3354 ac_fn_c_check_type ()
3356 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3358 $as_echo_n "checking for $2... " >&6; }
3359 if eval \${$3+:} false; then :
3360 $as_echo_n "(cached) " >&6
3361 else
3362 eval "$3=no"
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3367 main ()
3369 if (sizeof ($2))
3370 return 0;
3372 return 0;
3374 _ACEOF
3375 if ac_fn_c_try_compile "$LINENO"; then :
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3380 main ()
3382 if (sizeof (($2)))
3383 return 0;
3385 return 0;
3387 _ACEOF
3388 if ac_fn_c_try_compile "$LINENO"; then :
3390 else
3391 eval "$3=yes"
3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397 eval ac_res=\$$3
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3399 $as_echo "$ac_res" >&6; }
3400 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3402 } # ac_fn_c_check_type
3403 cat >config.log <<_ACEOF
3404 This file contains any messages produced by compilers while
3405 running configure, to aid debugging if configure makes a mistake.
3407 It was created by Wine $as_me 4.6, which was
3408 generated by GNU Autoconf 2.69. Invocation command line was
3410 $ $0 $@
3412 _ACEOF
3413 exec 5>>config.log
3415 cat <<_ASUNAME
3416 ## --------- ##
3417 ## Platform. ##
3418 ## --------- ##
3420 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3421 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3422 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3423 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3424 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3426 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3427 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3429 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3430 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3431 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3432 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3433 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3434 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3435 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3437 _ASUNAME
3439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3440 for as_dir in $PATH
3442 IFS=$as_save_IFS
3443 test -z "$as_dir" && as_dir=.
3444 $as_echo "PATH: $as_dir"
3445 done
3446 IFS=$as_save_IFS
3448 } >&5
3450 cat >&5 <<_ACEOF
3453 ## ----------- ##
3454 ## Core tests. ##
3455 ## ----------- ##
3457 _ACEOF
3460 # Keep a trace of the command line.
3461 # Strip out --no-create and --no-recursion so they do not pile up.
3462 # Strip out --silent because we don't want to record it for future runs.
3463 # Also quote any args containing shell meta-characters.
3464 # Make two passes to allow for proper duplicate-argument suppression.
3465 ac_configure_args=
3466 ac_configure_args0=
3467 ac_configure_args1=
3468 ac_must_keep_next=false
3469 for ac_pass in 1 2
3471 for ac_arg
3473 case $ac_arg in
3474 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3475 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3476 | -silent | --silent | --silen | --sile | --sil)
3477 continue ;;
3478 *\'*)
3479 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3480 esac
3481 case $ac_pass in
3482 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3484 as_fn_append ac_configure_args1 " '$ac_arg'"
3485 if test $ac_must_keep_next = true; then
3486 ac_must_keep_next=false # Got value, back to normal.
3487 else
3488 case $ac_arg in
3489 *=* | --config-cache | -C | -disable-* | --disable-* \
3490 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3491 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3492 | -with-* | --with-* | -without-* | --without-* | --x)
3493 case "$ac_configure_args0 " in
3494 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3495 esac
3497 -* ) ac_must_keep_next=true ;;
3498 esac
3500 as_fn_append ac_configure_args " '$ac_arg'"
3502 esac
3503 done
3504 done
3505 { ac_configure_args0=; unset ac_configure_args0;}
3506 { ac_configure_args1=; unset ac_configure_args1;}
3508 # When interrupted or exit'd, cleanup temporary files, and complete
3509 # config.log. We remove comments because anyway the quotes in there
3510 # would cause problems or look ugly.
3511 # WARNING: Use '\'' to represent an apostrophe within the trap.
3512 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3513 trap 'exit_status=$?
3514 # Save into config.log some information that might help in debugging.
3516 echo
3518 $as_echo "## ---------------- ##
3519 ## Cache variables. ##
3520 ## ---------------- ##"
3521 echo
3522 # The following way of writing the cache mishandles newlines in values,
3524 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3525 eval ac_val=\$$ac_var
3526 case $ac_val in #(
3527 *${as_nl}*)
3528 case $ac_var in #(
3529 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3530 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3531 esac
3532 case $ac_var in #(
3533 _ | IFS | as_nl) ;; #(
3534 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3535 *) { eval $ac_var=; unset $ac_var;} ;;
3536 esac ;;
3537 esac
3538 done
3539 (set) 2>&1 |
3540 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3541 *${as_nl}ac_space=\ *)
3542 sed -n \
3543 "s/'\''/'\''\\\\'\'''\''/g;
3544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3545 ;; #(
3547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3549 esac |
3550 sort
3552 echo
3554 $as_echo "## ----------------- ##
3555 ## Output variables. ##
3556 ## ----------------- ##"
3557 echo
3558 for ac_var in $ac_subst_vars
3560 eval ac_val=\$$ac_var
3561 case $ac_val in
3562 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3563 esac
3564 $as_echo "$ac_var='\''$ac_val'\''"
3565 done | sort
3566 echo
3568 if test -n "$ac_subst_files"; then
3569 $as_echo "## ------------------- ##
3570 ## File substitutions. ##
3571 ## ------------------- ##"
3572 echo
3573 for ac_var in $ac_subst_files
3575 eval ac_val=\$$ac_var
3576 case $ac_val in
3577 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3578 esac
3579 $as_echo "$ac_var='\''$ac_val'\''"
3580 done | sort
3581 echo
3584 if test -s confdefs.h; then
3585 $as_echo "## ----------- ##
3586 ## confdefs.h. ##
3587 ## ----------- ##"
3588 echo
3589 cat confdefs.h
3590 echo
3592 test "$ac_signal" != 0 &&
3593 $as_echo "$as_me: caught signal $ac_signal"
3594 $as_echo "$as_me: exit $exit_status"
3595 } >&5
3596 rm -f core *.core core.conftest.* &&
3597 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3598 exit $exit_status
3600 for ac_signal in 1 2 13 15; do
3601 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3602 done
3603 ac_signal=0
3605 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3606 rm -f -r conftest* confdefs.h
3608 $as_echo "/* confdefs.h */" > confdefs.h
3610 # Predefined preprocessor variables.
3612 cat >>confdefs.h <<_ACEOF
3613 #define PACKAGE_NAME "$PACKAGE_NAME"
3614 _ACEOF
3616 cat >>confdefs.h <<_ACEOF
3617 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3618 _ACEOF
3620 cat >>confdefs.h <<_ACEOF
3621 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3622 _ACEOF
3624 cat >>confdefs.h <<_ACEOF
3625 #define PACKAGE_STRING "$PACKAGE_STRING"
3626 _ACEOF
3628 cat >>confdefs.h <<_ACEOF
3629 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3630 _ACEOF
3632 cat >>confdefs.h <<_ACEOF
3633 #define PACKAGE_URL "$PACKAGE_URL"
3634 _ACEOF
3637 # Let the site file select an alternate cache file if it wants to.
3638 # Prefer an explicitly selected file to automatically selected ones.
3639 ac_site_file1=NONE
3640 ac_site_file2=NONE
3641 if test -n "$CONFIG_SITE"; then
3642 # We do not want a PATH search for config.site.
3643 case $CONFIG_SITE in #((
3644 -*) ac_site_file1=./$CONFIG_SITE;;
3645 */*) ac_site_file1=$CONFIG_SITE;;
3646 *) ac_site_file1=./$CONFIG_SITE;;
3647 esac
3648 elif test "x$prefix" != xNONE; then
3649 ac_site_file1=$prefix/share/config.site
3650 ac_site_file2=$prefix/etc/config.site
3651 else
3652 ac_site_file1=$ac_default_prefix/share/config.site
3653 ac_site_file2=$ac_default_prefix/etc/config.site
3655 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3657 test "x$ac_site_file" = xNONE && continue
3658 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3660 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3661 sed 's/^/| /' "$ac_site_file" >&5
3662 . "$ac_site_file" \
3663 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3665 as_fn_error $? "failed to load site script $ac_site_file
3666 See \`config.log' for more details" "$LINENO" 5; }
3668 done
3670 if test -r "$cache_file"; then
3671 # Some versions of bash will fail to source /dev/null (special files
3672 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3673 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3675 $as_echo "$as_me: loading cache $cache_file" >&6;}
3676 case $cache_file in
3677 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3678 *) . "./$cache_file";;
3679 esac
3681 else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3683 $as_echo "$as_me: creating cache $cache_file" >&6;}
3684 >$cache_file
3687 # Check that the precious variables saved in the cache have kept the same
3688 # value.
3689 ac_cache_corrupted=false
3690 for ac_var in $ac_precious_vars; do
3691 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3692 eval ac_new_set=\$ac_env_${ac_var}_set
3693 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3694 eval ac_new_val=\$ac_env_${ac_var}_value
3695 case $ac_old_set,$ac_new_set in
3696 set,)
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3698 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3699 ac_cache_corrupted=: ;;
3700 ,set)
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3702 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3703 ac_cache_corrupted=: ;;
3704 ,);;
3706 if test "x$ac_old_val" != "x$ac_new_val"; then
3707 # differences in whitespace do not lead to failure.
3708 ac_old_val_w=`echo x $ac_old_val`
3709 ac_new_val_w=`echo x $ac_new_val`
3710 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3712 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3713 ac_cache_corrupted=:
3714 else
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3716 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3717 eval $ac_var=\$ac_old_val
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3720 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3722 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3723 fi;;
3724 esac
3725 # Pass precious variables to config.status.
3726 if test "$ac_new_set" = set; then
3727 case $ac_new_val in
3728 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3729 *) ac_arg=$ac_var=$ac_new_val ;;
3730 esac
3731 case " $ac_configure_args " in
3732 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3733 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3734 esac
3736 done
3737 if $ac_cache_corrupted; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3741 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3742 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3744 ## -------------------- ##
3745 ## Main body of script. ##
3746 ## -------------------- ##
3748 ac_ext=c
3749 ac_cpp='$CPP $CPPFLAGS'
3750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3756 ac_config_headers="$ac_config_headers include/config.h"
3758 ac_aux_dir=
3759 for ac_dir in tools "$srcdir"/tools; do
3760 if test -f "$ac_dir/install-sh"; then
3761 ac_aux_dir=$ac_dir
3762 ac_install_sh="$ac_aux_dir/install-sh -c"
3763 break
3764 elif test -f "$ac_dir/install.sh"; then
3765 ac_aux_dir=$ac_dir
3766 ac_install_sh="$ac_aux_dir/install.sh -c"
3767 break
3768 elif test -f "$ac_dir/shtool"; then
3769 ac_aux_dir=$ac_dir
3770 ac_install_sh="$ac_aux_dir/shtool install -c"
3771 break
3773 done
3774 if test -z "$ac_aux_dir"; then
3775 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3778 # These three variables are undocumented and unsupported,
3779 # and are intended to be withdrawn in a future Autoconf release.
3780 # They can cause serious problems if a builder's source tree is in a directory
3781 # whose full name contains unusual characters.
3782 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3783 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3784 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3788 libwine_version="1.0"
3792 # Check whether --enable-win16 was given.
3793 if test "${enable_win16+set}" = set; then :
3794 enableval=$enable_win16;
3797 # Check whether --enable-win64 was given.
3798 if test "${enable_win64+set}" = set; then :
3799 enableval=$enable_win64;
3802 # Check whether --enable-tests was given.
3803 if test "${enable_tests+set}" = set; then :
3804 enableval=$enable_tests;
3807 # Check whether --enable-maintainer-mode was given.
3808 if test "${enable_maintainer_mode+set}" = set; then :
3809 enableval=$enable_maintainer_mode;
3814 # Check whether --with-alsa was given.
3815 if test "${with_alsa+set}" = set; then :
3816 withval=$with_alsa;
3820 # Check whether --with-capi was given.
3821 if test "${with_capi+set}" = set; then :
3822 withval=$with_capi;
3826 # Check whether --with-cms was given.
3827 if test "${with_cms+set}" = set; then :
3828 withval=$with_cms;
3832 # Check whether --with-coreaudio was given.
3833 if test "${with_coreaudio+set}" = set; then :
3834 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3838 # Check whether --with-cups was given.
3839 if test "${with_cups+set}" = set; then :
3840 withval=$with_cups;
3844 # Check whether --with-curses was given.
3845 if test "${with_curses+set}" = set; then :
3846 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3850 # Check whether --with-dbus was given.
3851 if test "${with_dbus+set}" = set; then :
3852 withval=$with_dbus;
3856 # Check whether --with-faudio was given.
3857 if test "${with_faudio+set}" = set; then :
3858 withval=$with_faudio;
3862 # Check whether --with-float-abi was given.
3863 if test "${with_float_abi+set}" = set; then :
3864 withval=$with_float_abi;
3868 # Check whether --with-fontconfig was given.
3869 if test "${with_fontconfig+set}" = set; then :
3870 withval=$with_fontconfig;
3874 # Check whether --with-freetype was given.
3875 if test "${with_freetype+set}" = set; then :
3876 withval=$with_freetype;
3880 # Check whether --with-gettext was given.
3881 if test "${with_gettext+set}" = set; then :
3882 withval=$with_gettext;
3886 # Check whether --with-gettextpo was given.
3887 if test "${with_gettextpo+set}" = set; then :
3888 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3892 # Check whether --with-gphoto was given.
3893 if test "${with_gphoto+set}" = set; then :
3894 withval=$with_gphoto;
3898 # Check whether --with-glu was given.
3899 if test "${with_glu+set}" = set; then :
3900 withval=$with_glu;
3904 # Check whether --with-gnutls was given.
3905 if test "${with_gnutls+set}" = set; then :
3906 withval=$with_gnutls;
3910 # Check whether --with-gsm was given.
3911 if test "${with_gsm+set}" = set; then :
3912 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3916 # Check whether --with-gssapi was given.
3917 if test "${with_gssapi+set}" = set; then :
3918 withval=$with_gssapi;
3922 # Check whether --with-gstreamer was given.
3923 if test "${with_gstreamer+set}" = set; then :
3924 withval=$with_gstreamer;
3928 # Check whether --with-hal was given.
3929 if test "${with_hal+set}" = set; then :
3930 withval=$with_hal;
3934 # Check whether --with-jpeg was given.
3935 if test "${with_jpeg+set}" = set; then :
3936 withval=$with_jpeg;
3940 # Check whether --with-krb5 was given.
3941 if test "${with_krb5+set}" = set; then :
3942 withval=$with_krb5;
3946 # Check whether --with-ldap was given.
3947 if test "${with_ldap+set}" = set; then :
3948 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3952 # Check whether --with-mingw was given.
3953 if test "${with_mingw+set}" = set; then :
3954 withval=$with_mingw;
3958 # Check whether --with-mpg123 was given.
3959 if test "${with_mpg123+set}" = set; then :
3960 withval=$with_mpg123;
3964 # Check whether --with-netapi was given.
3965 if test "${with_netapi+set}" = set; then :
3966 withval=$with_netapi;
3970 # Check whether --with-openal was given.
3971 if test "${with_openal+set}" = set; then :
3972 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3976 # Check whether --with-opencl was given.
3977 if test "${with_opencl+set}" = set; then :
3978 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3982 # Check whether --with-opengl was given.
3983 if test "${with_opengl+set}" = set; then :
3984 withval=$with_opengl;
3988 # Check whether --with-osmesa was given.
3989 if test "${with_osmesa+set}" = set; then :
3990 withval=$with_osmesa;
3994 # Check whether --with-oss was given.
3995 if test "${with_oss+set}" = set; then :
3996 withval=$with_oss;
4000 # Check whether --with-pcap was given.
4001 if test "${with_pcap+set}" = set; then :
4002 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4006 # Check whether --with-png was given.
4007 if test "${with_png+set}" = set; then :
4008 withval=$with_png;
4012 # Check whether --with-pthread was given.
4013 if test "${with_pthread+set}" = set; then :
4014 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4018 # Check whether --with-pulse was given.
4019 if test "${with_pulse+set}" = set; then :
4020 withval=$with_pulse;
4024 # Check whether --with-sane was given.
4025 if test "${with_sane+set}" = set; then :
4026 withval=$with_sane;
4030 # Check whether --with-sdl was given.
4031 if test "${with_sdl+set}" = set; then :
4032 withval=$with_sdl;
4036 # Check whether --with-tiff was given.
4037 if test "${with_tiff+set}" = set; then :
4038 withval=$with_tiff;
4042 # Check whether --with-udev was given.
4043 if test "${with_udev+set}" = set; then :
4044 withval=$with_udev;
4048 # Check whether --with-v4l2 was given.
4049 if test "${with_v4l2+set}" = set; then :
4050 withval=$with_v4l2;
4054 # Check whether --with-vkd3d was given.
4055 if test "${with_vkd3d+set}" = set; then :
4056 withval=$with_vkd3d;
4060 # Check whether --with-vulkan was given.
4061 if test "${with_vulkan+set}" = set; then :
4062 withval=$with_vulkan;
4066 # Check whether --with-xcomposite was given.
4067 if test "${with_xcomposite+set}" = set; then :
4068 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4072 # Check whether --with-xcursor was given.
4073 if test "${with_xcursor+set}" = set; then :
4074 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4078 # Check whether --with-xfixes was given.
4079 if test "${with_xfixes+set}" = set; then :
4080 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4084 # Check whether --with-xinerama was given.
4085 if test "${with_xinerama+set}" = set; then :
4086 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4090 # Check whether --with-xinput was given.
4091 if test "${with_xinput+set}" = set; then :
4092 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4096 # Check whether --with-xinput2 was given.
4097 if test "${with_xinput2+set}" = set; then :
4098 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4102 # Check whether --with-xml was given.
4103 if test "${with_xml+set}" = set; then :
4104 withval=$with_xml;
4108 # Check whether --with-xrandr was given.
4109 if test "${with_xrandr+set}" = set; then :
4110 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4114 # Check whether --with-xrender was given.
4115 if test "${with_xrender+set}" = set; then :
4116 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4120 # Check whether --with-xshape was given.
4121 if test "${with_xshape+set}" = set; then :
4122 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4126 # Check whether --with-xshm was given.
4127 if test "${with_xshm+set}" = set; then :
4128 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4132 # Check whether --with-xslt was given.
4133 if test "${with_xslt+set}" = set; then :
4134 withval=$with_xslt;
4138 # Check whether --with-xxf86vm was given.
4139 if test "${with_xxf86vm+set}" = set; then :
4140 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4144 # Check whether --with-zlib was given.
4145 if test "${with_zlib+set}" = set; then :
4146 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4151 # Check whether --with-wine-tools was given.
4152 if test "${with_wine_tools+set}" = set; then :
4153 withval=$with_wine_tools;
4157 # Check whether --with-wine64 was given.
4158 if test "${with_wine64+set}" = set; then :
4159 withval=$with_wine64;
4163 # Make sure we can run config.sub.
4164 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4165 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4168 $as_echo_n "checking build system type... " >&6; }
4169 if ${ac_cv_build+:} false; then :
4170 $as_echo_n "(cached) " >&6
4171 else
4172 ac_build_alias=$build_alias
4173 test "x$ac_build_alias" = x &&
4174 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4175 test "x$ac_build_alias" = x &&
4176 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4177 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4178 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4182 $as_echo "$ac_cv_build" >&6; }
4183 case $ac_cv_build in
4184 *-*-*) ;;
4185 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4186 esac
4187 build=$ac_cv_build
4188 ac_save_IFS=$IFS; IFS='-'
4189 set x $ac_cv_build
4190 shift
4191 build_cpu=$1
4192 build_vendor=$2
4193 shift; shift
4194 # Remember, the first character of IFS is used to create $*,
4195 # except with old shells:
4196 build_os=$*
4197 IFS=$ac_save_IFS
4198 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4202 $as_echo_n "checking host system type... " >&6; }
4203 if ${ac_cv_host+:} false; then :
4204 $as_echo_n "(cached) " >&6
4205 else
4206 if test "x$host_alias" = x; then
4207 ac_cv_host=$ac_cv_build
4208 else
4209 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4210 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4215 $as_echo "$ac_cv_host" >&6; }
4216 case $ac_cv_host in
4217 *-*-*) ;;
4218 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4219 esac
4220 host=$ac_cv_host
4221 ac_save_IFS=$IFS; IFS='-'
4222 set x $ac_cv_host
4223 shift
4224 host_cpu=$1
4225 host_vendor=$2
4226 shift; shift
4227 # Remember, the first character of IFS is used to create $*,
4228 # except with old shells:
4229 host_os=$*
4230 IFS=$ac_save_IFS
4231 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4235 case "$srcdir" in
4236 .) ;;
4237 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4238 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4239 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4240 fi ;;
4241 esac
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4245 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4246 set x ${MAKE-make}
4247 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4248 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4249 $as_echo_n "(cached) " >&6
4250 else
4251 cat >conftest.make <<\_ACEOF
4252 SHELL = /bin/sh
4253 all:
4254 @echo '@@@%%%=$(MAKE)=@@@%%%'
4255 _ACEOF
4256 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4257 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4258 *@@@%%%=?*=@@@%%%*)
4259 eval ac_cv_prog_make_${ac_make}_set=yes;;
4261 eval ac_cv_prog_make_${ac_make}_set=no;;
4262 esac
4263 rm -f conftest.make
4265 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4267 $as_echo "yes" >&6; }
4268 SET_MAKE=
4269 else
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271 $as_echo "no" >&6; }
4272 SET_MAKE="MAKE=${MAKE-make}"
4275 ac_ext=c
4276 ac_cpp='$CPP $CPPFLAGS'
4277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4280 if test -n "$ac_tool_prefix"; then
4281 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4282 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284 $as_echo_n "checking for $ac_word... " >&6; }
4285 if ${ac_cv_prog_CC+:} false; then :
4286 $as_echo_n "(cached) " >&6
4287 else
4288 if test -n "$CC"; then
4289 ac_cv_prog_CC="$CC" # Let the user override the test.
4290 else
4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292 for as_dir in $PATH
4294 IFS=$as_save_IFS
4295 test -z "$as_dir" && as_dir=.
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 break 2
4302 done
4303 done
4304 IFS=$as_save_IFS
4308 CC=$ac_cv_prog_CC
4309 if test -n "$CC"; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4311 $as_echo "$CC" >&6; }
4312 else
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4319 if test -z "$ac_cv_prog_CC"; then
4320 ac_ct_CC=$CC
4321 # Extract the first word of "gcc", so it can be a program name with args.
4322 set dummy gcc; ac_word=$2
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4324 $as_echo_n "checking for $ac_word... " >&6; }
4325 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 if test -n "$ac_ct_CC"; then
4329 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4330 else
4331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4332 for as_dir in $PATH
4334 IFS=$as_save_IFS
4335 test -z "$as_dir" && as_dir=.
4336 for ac_exec_ext in '' $ac_executable_extensions; do
4337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4338 ac_cv_prog_ac_ct_CC="gcc"
4339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4340 break 2
4342 done
4343 done
4344 IFS=$as_save_IFS
4348 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4349 if test -n "$ac_ct_CC"; then
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4351 $as_echo "$ac_ct_CC" >&6; }
4352 else
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4354 $as_echo "no" >&6; }
4357 if test "x$ac_ct_CC" = x; then
4358 CC=""
4359 else
4360 case $cross_compiling:$ac_tool_warned in
4361 yes:)
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4364 ac_tool_warned=yes ;;
4365 esac
4366 CC=$ac_ct_CC
4368 else
4369 CC="$ac_cv_prog_CC"
4372 if test -z "$CC"; then
4373 if test -n "$ac_tool_prefix"; then
4374 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4375 set dummy ${ac_tool_prefix}cc; ac_word=$2
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4377 $as_echo_n "checking for $ac_word... " >&6; }
4378 if ${ac_cv_prog_CC+:} false; then :
4379 $as_echo_n "(cached) " >&6
4380 else
4381 if test -n "$CC"; then
4382 ac_cv_prog_CC="$CC" # Let the user override the test.
4383 else
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 for as_dir in $PATH
4387 IFS=$as_save_IFS
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4391 ac_cv_prog_CC="${ac_tool_prefix}cc"
4392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 break 2
4395 done
4396 done
4397 IFS=$as_save_IFS
4401 CC=$ac_cv_prog_CC
4402 if test -n "$CC"; then
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4404 $as_echo "$CC" >&6; }
4405 else
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407 $as_echo "no" >&6; }
4413 if test -z "$CC"; then
4414 # Extract the first word of "cc", so it can be a program name with args.
4415 set dummy cc; ac_word=$2
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4417 $as_echo_n "checking for $ac_word... " >&6; }
4418 if ${ac_cv_prog_CC+:} false; then :
4419 $as_echo_n "(cached) " >&6
4420 else
4421 if test -n "$CC"; then
4422 ac_cv_prog_CC="$CC" # Let the user override the test.
4423 else
4424 ac_prog_rejected=no
4425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 for as_dir in $PATH
4428 IFS=$as_save_IFS
4429 test -z "$as_dir" && as_dir=.
4430 for ac_exec_ext in '' $ac_executable_extensions; do
4431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4432 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4433 ac_prog_rejected=yes
4434 continue
4436 ac_cv_prog_CC="cc"
4437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 break 2
4440 done
4441 done
4442 IFS=$as_save_IFS
4444 if test $ac_prog_rejected = yes; then
4445 # We found a bogon in the path, so make sure we never use it.
4446 set dummy $ac_cv_prog_CC
4447 shift
4448 if test $# != 0; then
4449 # We chose a different compiler from the bogus one.
4450 # However, it has the same basename, so the bogon will be chosen
4451 # first if we set CC to just the basename; use the full file name.
4452 shift
4453 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4458 CC=$ac_cv_prog_CC
4459 if test -n "$CC"; then
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4461 $as_echo "$CC" >&6; }
4462 else
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4464 $as_echo "no" >&6; }
4469 if test -z "$CC"; then
4470 if test -n "$ac_tool_prefix"; then
4471 for ac_prog in cl.exe
4473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4476 $as_echo_n "checking for $ac_word... " >&6; }
4477 if ${ac_cv_prog_CC+:} false; then :
4478 $as_echo_n "(cached) " >&6
4479 else
4480 if test -n "$CC"; then
4481 ac_cv_prog_CC="$CC" # Let the user override the test.
4482 else
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 for as_dir in $PATH
4486 IFS=$as_save_IFS
4487 test -z "$as_dir" && as_dir=.
4488 for ac_exec_ext in '' $ac_executable_extensions; do
4489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4490 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 break 2
4494 done
4495 done
4496 IFS=$as_save_IFS
4500 CC=$ac_cv_prog_CC
4501 if test -n "$CC"; then
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4503 $as_echo "$CC" >&6; }
4504 else
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4506 $as_echo "no" >&6; }
4510 test -n "$CC" && break
4511 done
4513 if test -z "$CC"; then
4514 ac_ct_CC=$CC
4515 for ac_prog in cl.exe
4517 # Extract the first word of "$ac_prog", so it can be a program name with args.
4518 set dummy $ac_prog; ac_word=$2
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4520 $as_echo_n "checking for $ac_word... " >&6; }
4521 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4522 $as_echo_n "(cached) " >&6
4523 else
4524 if test -n "$ac_ct_CC"; then
4525 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4526 else
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 for as_dir in $PATH
4530 IFS=$as_save_IFS
4531 test -z "$as_dir" && as_dir=.
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4534 ac_cv_prog_ac_ct_CC="$ac_prog"
4535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4536 break 2
4538 done
4539 done
4540 IFS=$as_save_IFS
4544 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4545 if test -n "$ac_ct_CC"; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4547 $as_echo "$ac_ct_CC" >&6; }
4548 else
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4550 $as_echo "no" >&6; }
4554 test -n "$ac_ct_CC" && break
4555 done
4557 if test "x$ac_ct_CC" = x; then
4558 CC=""
4559 else
4560 case $cross_compiling:$ac_tool_warned in
4561 yes:)
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4564 ac_tool_warned=yes ;;
4565 esac
4566 CC=$ac_ct_CC
4573 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4575 as_fn_error $? "no acceptable C compiler found in \$PATH
4576 See \`config.log' for more details" "$LINENO" 5; }
4578 # Provide some information about the compiler.
4579 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4580 set X $ac_compile
4581 ac_compiler=$2
4582 for ac_option in --version -v -V -qversion; do
4583 { { ac_try="$ac_compiler $ac_option >&5"
4584 case "(($ac_try" in
4585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4586 *) ac_try_echo=$ac_try;;
4587 esac
4588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4589 $as_echo "$ac_try_echo"; } >&5
4590 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4591 ac_status=$?
4592 if test -s conftest.err; then
4593 sed '10a\
4594 ... rest of stderr output deleted ...
4595 10q' conftest.err >conftest.er1
4596 cat conftest.er1 >&5
4598 rm -f conftest.er1 conftest.err
4599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4600 test $ac_status = 0; }
4601 done
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4607 main ()
4611 return 0;
4613 _ACEOF
4614 ac_clean_files_save=$ac_clean_files
4615 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4616 # Try to create an executable without -o first, disregard a.out.
4617 # It will help us diagnose broken compilers, and finding out an intuition
4618 # of exeext.
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4620 $as_echo_n "checking whether the C compiler works... " >&6; }
4621 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4623 # The possible output files:
4624 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4626 ac_rmfiles=
4627 for ac_file in $ac_files
4629 case $ac_file in
4630 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4631 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4632 esac
4633 done
4634 rm -f $ac_rmfiles
4636 if { { ac_try="$ac_link_default"
4637 case "(($ac_try" in
4638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4639 *) ac_try_echo=$ac_try;;
4640 esac
4641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4642 $as_echo "$ac_try_echo"; } >&5
4643 (eval "$ac_link_default") 2>&5
4644 ac_status=$?
4645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4646 test $ac_status = 0; }; then :
4647 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4648 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4649 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4650 # so that the user can short-circuit this test for compilers unknown to
4651 # Autoconf.
4652 for ac_file in $ac_files ''
4654 test -f "$ac_file" || continue
4655 case $ac_file in
4656 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4658 [ab].out )
4659 # We found the default executable, but exeext='' is most
4660 # certainly right.
4661 break;;
4662 *.* )
4663 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4664 then :; else
4665 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4667 # We set ac_cv_exeext here because the later test for it is not
4668 # safe: cross compilers may not add the suffix if given an `-o'
4669 # argument, so we may need to know it at that point already.
4670 # Even if this section looks crufty: it has the advantage of
4671 # actually working.
4672 break;;
4674 break;;
4675 esac
4676 done
4677 test "$ac_cv_exeext" = no && ac_cv_exeext=
4679 else
4680 ac_file=''
4682 if test -z "$ac_file"; then :
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4685 $as_echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.$ac_ext >&5
4688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4690 as_fn_error 77 "C compiler cannot create executables
4691 See \`config.log' for more details" "$LINENO" 5; }
4692 else
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4694 $as_echo "yes" >&6; }
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4697 $as_echo_n "checking for C compiler default output file name... " >&6; }
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4699 $as_echo "$ac_file" >&6; }
4700 ac_exeext=$ac_cv_exeext
4702 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4703 ac_clean_files=$ac_clean_files_save
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4705 $as_echo_n "checking for suffix of executables... " >&6; }
4706 if { { ac_try="$ac_link"
4707 case "(($ac_try" in
4708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4709 *) ac_try_echo=$ac_try;;
4710 esac
4711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4712 $as_echo "$ac_try_echo"; } >&5
4713 (eval "$ac_link") 2>&5
4714 ac_status=$?
4715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4716 test $ac_status = 0; }; then :
4717 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4718 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4719 # work properly (i.e., refer to `conftest.exe'), while it won't with
4720 # `rm'.
4721 for ac_file in conftest.exe conftest conftest.*; do
4722 test -f "$ac_file" || continue
4723 case $ac_file in
4724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4725 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4726 break;;
4727 * ) break;;
4728 esac
4729 done
4730 else
4731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4733 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4734 See \`config.log' for more details" "$LINENO" 5; }
4736 rm -f conftest conftest$ac_cv_exeext
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4738 $as_echo "$ac_cv_exeext" >&6; }
4740 rm -f conftest.$ac_ext
4741 EXEEXT=$ac_cv_exeext
4742 ac_exeext=$EXEEXT
4743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4745 #include <stdio.h>
4747 main ()
4749 FILE *f = fopen ("conftest.out", "w");
4750 return ferror (f) || fclose (f) != 0;
4753 return 0;
4755 _ACEOF
4756 ac_clean_files="$ac_clean_files conftest.out"
4757 # Check that the compiler produces executables we can run. If not, either
4758 # the compiler is broken, or we cross compile.
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4760 $as_echo_n "checking whether we are cross compiling... " >&6; }
4761 if test "$cross_compiling" != yes; then
4762 { { ac_try="$ac_link"
4763 case "(($ac_try" in
4764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4765 *) ac_try_echo=$ac_try;;
4766 esac
4767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4768 $as_echo "$ac_try_echo"; } >&5
4769 (eval "$ac_link") 2>&5
4770 ac_status=$?
4771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4772 test $ac_status = 0; }
4773 if { ac_try='./conftest$ac_cv_exeext'
4774 { { case "(($ac_try" in
4775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4776 *) ac_try_echo=$ac_try;;
4777 esac
4778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4779 $as_echo "$ac_try_echo"; } >&5
4780 (eval "$ac_try") 2>&5
4781 ac_status=$?
4782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4783 test $ac_status = 0; }; }; then
4784 cross_compiling=no
4785 else
4786 if test "$cross_compiling" = maybe; then
4787 cross_compiling=yes
4788 else
4789 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4791 as_fn_error $? "cannot run C compiled programs.
4792 If you meant to cross compile, use \`--host'.
4793 See \`config.log' for more details" "$LINENO" 5; }
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4798 $as_echo "$cross_compiling" >&6; }
4800 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4801 ac_clean_files=$ac_clean_files_save
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4803 $as_echo_n "checking for suffix of object files... " >&6; }
4804 if ${ac_cv_objext+:} false; then :
4805 $as_echo_n "(cached) " >&6
4806 else
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4811 main ()
4815 return 0;
4817 _ACEOF
4818 rm -f conftest.o conftest.obj
4819 if { { ac_try="$ac_compile"
4820 case "(($ac_try" in
4821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4822 *) ac_try_echo=$ac_try;;
4823 esac
4824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4825 $as_echo "$ac_try_echo"; } >&5
4826 (eval "$ac_compile") 2>&5
4827 ac_status=$?
4828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4829 test $ac_status = 0; }; then :
4830 for ac_file in conftest.o conftest.obj conftest.*; do
4831 test -f "$ac_file" || continue;
4832 case $ac_file in
4833 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4834 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4835 break;;
4836 esac
4837 done
4838 else
4839 $as_echo "$as_me: failed program was:" >&5
4840 sed 's/^/| /' conftest.$ac_ext >&5
4842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4844 as_fn_error $? "cannot compute suffix of object files: cannot compile
4845 See \`config.log' for more details" "$LINENO" 5; }
4847 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4850 $as_echo "$ac_cv_objext" >&6; }
4851 OBJEXT=$ac_cv_objext
4852 ac_objext=$OBJEXT
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4854 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4855 if ${ac_cv_c_compiler_gnu+:} false; then :
4856 $as_echo_n "(cached) " >&6
4857 else
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4859 /* end confdefs.h. */
4862 main ()
4864 #ifndef __GNUC__
4865 choke me
4866 #endif
4869 return 0;
4871 _ACEOF
4872 if ac_fn_c_try_compile "$LINENO"; then :
4873 ac_compiler_gnu=yes
4874 else
4875 ac_compiler_gnu=no
4877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4878 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4882 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4883 if test $ac_compiler_gnu = yes; then
4884 GCC=yes
4885 else
4886 GCC=
4888 ac_test_CFLAGS=${CFLAGS+set}
4889 ac_save_CFLAGS=$CFLAGS
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4891 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4892 if ${ac_cv_prog_cc_g+:} false; then :
4893 $as_echo_n "(cached) " >&6
4894 else
4895 ac_save_c_werror_flag=$ac_c_werror_flag
4896 ac_c_werror_flag=yes
4897 ac_cv_prog_cc_g=no
4898 CFLAGS="-g"
4899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h. */
4903 main ()
4907 return 0;
4909 _ACEOF
4910 if ac_fn_c_try_compile "$LINENO"; then :
4911 ac_cv_prog_cc_g=yes
4912 else
4913 CFLAGS=""
4914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4915 /* end confdefs.h. */
4918 main ()
4922 return 0;
4924 _ACEOF
4925 if ac_fn_c_try_compile "$LINENO"; then :
4927 else
4928 ac_c_werror_flag=$ac_save_c_werror_flag
4929 CFLAGS="-g"
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4934 main ()
4938 return 0;
4940 _ACEOF
4941 if ac_fn_c_try_compile "$LINENO"; then :
4942 ac_cv_prog_cc_g=yes
4944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4949 ac_c_werror_flag=$ac_save_c_werror_flag
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4952 $as_echo "$ac_cv_prog_cc_g" >&6; }
4953 if test "$ac_test_CFLAGS" = set; then
4954 CFLAGS=$ac_save_CFLAGS
4955 elif test $ac_cv_prog_cc_g = yes; then
4956 if test "$GCC" = yes; then
4957 CFLAGS="-g -O2"
4958 else
4959 CFLAGS="-g"
4961 else
4962 if test "$GCC" = yes; then
4963 CFLAGS="-O2"
4964 else
4965 CFLAGS=
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4969 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4970 if ${ac_cv_prog_cc_c89+:} false; then :
4971 $as_echo_n "(cached) " >&6
4972 else
4973 ac_cv_prog_cc_c89=no
4974 ac_save_CC=$CC
4975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4976 /* end confdefs.h. */
4977 #include <stdarg.h>
4978 #include <stdio.h>
4979 struct stat;
4980 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4981 struct buf { int x; };
4982 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4983 static char *e (p, i)
4984 char **p;
4985 int i;
4987 return p[i];
4989 static char *f (char * (*g) (char **, int), char **p, ...)
4991 char *s;
4992 va_list v;
4993 va_start (v,p);
4994 s = g (p, va_arg (v,int));
4995 va_end (v);
4996 return s;
4999 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5000 function prototypes and stuff, but not '\xHH' hex character constants.
5001 These don't provoke an error unfortunately, instead are silently treated
5002 as 'x'. The following induces an error, until -std is added to get
5003 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5004 array size at least. It's necessary to write '\x00'==0 to get something
5005 that's true only with -std. */
5006 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5008 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5009 inside strings and character constants. */
5010 #define FOO(x) 'x'
5011 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5013 int test (int i, double x);
5014 struct s1 {int (*f) (int a);};
5015 struct s2 {int (*f) (double a);};
5016 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5017 int argc;
5018 char **argv;
5020 main ()
5022 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5024 return 0;
5026 _ACEOF
5027 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5028 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5030 CC="$ac_save_CC $ac_arg"
5031 if ac_fn_c_try_compile "$LINENO"; then :
5032 ac_cv_prog_cc_c89=$ac_arg
5034 rm -f core conftest.err conftest.$ac_objext
5035 test "x$ac_cv_prog_cc_c89" != "xno" && break
5036 done
5037 rm -f conftest.$ac_ext
5038 CC=$ac_save_CC
5041 # AC_CACHE_VAL
5042 case "x$ac_cv_prog_cc_c89" in
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5045 $as_echo "none needed" >&6; } ;;
5046 xno)
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5048 $as_echo "unsupported" >&6; } ;;
5050 CC="$CC $ac_cv_prog_cc_c89"
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5052 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5053 esac
5054 if test "x$ac_cv_prog_cc_c89" != xno; then :
5058 ac_ext=c
5059 ac_cpp='$CPP $CPPFLAGS'
5060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5064 ac_ext=cpp
5065 ac_cpp='$CXXCPP $CPPFLAGS'
5066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5069 if test -z "$CXX"; then
5070 if test -n "$CCC"; then
5071 CXX=$CCC
5072 else
5073 if test -n "$ac_tool_prefix"; then
5074 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5076 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5077 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if ${ac_cv_prog_CXX+:} false; then :
5081 $as_echo_n "(cached) " >&6
5082 else
5083 if test -n "$CXX"; then
5084 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5085 else
5086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087 for as_dir in $PATH
5089 IFS=$as_save_IFS
5090 test -z "$as_dir" && as_dir=.
5091 for ac_exec_ext in '' $ac_executable_extensions; do
5092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5093 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 break 2
5097 done
5098 done
5099 IFS=$as_save_IFS
5103 CXX=$ac_cv_prog_CXX
5104 if test -n "$CXX"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5106 $as_echo "$CXX" >&6; }
5107 else
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5113 test -n "$CXX" && break
5114 done
5116 if test -z "$CXX"; then
5117 ac_ct_CXX=$CXX
5118 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5120 # Extract the first word of "$ac_prog", so it can be a program name with args.
5121 set dummy $ac_prog; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 if test -n "$ac_ct_CXX"; then
5128 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5137 ac_cv_prog_ac_ct_CXX="$ac_prog"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5141 done
5142 done
5143 IFS=$as_save_IFS
5147 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5148 if test -n "$ac_ct_CXX"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5150 $as_echo "$ac_ct_CXX" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5157 test -n "$ac_ct_CXX" && break
5158 done
5160 if test "x$ac_ct_CXX" = x; then
5161 CXX="g++"
5162 else
5163 case $cross_compiling:$ac_tool_warned in
5164 yes:)
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5167 ac_tool_warned=yes ;;
5168 esac
5169 CXX=$ac_ct_CXX
5175 # Provide some information about the compiler.
5176 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5177 set X $ac_compile
5178 ac_compiler=$2
5179 for ac_option in --version -v -V -qversion; do
5180 { { ac_try="$ac_compiler $ac_option >&5"
5181 case "(($ac_try" in
5182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5183 *) ac_try_echo=$ac_try;;
5184 esac
5185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5186 $as_echo "$ac_try_echo"; } >&5
5187 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5188 ac_status=$?
5189 if test -s conftest.err; then
5190 sed '10a\
5191 ... rest of stderr output deleted ...
5192 10q' conftest.err >conftest.er1
5193 cat conftest.er1 >&5
5195 rm -f conftest.er1 conftest.err
5196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5197 test $ac_status = 0; }
5198 done
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5201 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5202 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5203 $as_echo_n "(cached) " >&6
5204 else
5205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5209 main ()
5211 #ifndef __GNUC__
5212 choke me
5213 #endif
5216 return 0;
5218 _ACEOF
5219 if ac_fn_cxx_try_compile "$LINENO"; then :
5220 ac_compiler_gnu=yes
5221 else
5222 ac_compiler_gnu=no
5224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5225 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5229 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5230 if test $ac_compiler_gnu = yes; then
5231 GXX=yes
5232 else
5233 GXX=
5235 ac_test_CXXFLAGS=${CXXFLAGS+set}
5236 ac_save_CXXFLAGS=$CXXFLAGS
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5238 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5239 if ${ac_cv_prog_cxx_g+:} false; then :
5240 $as_echo_n "(cached) " >&6
5241 else
5242 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5243 ac_cxx_werror_flag=yes
5244 ac_cv_prog_cxx_g=no
5245 CXXFLAGS="-g"
5246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5247 /* end confdefs.h. */
5250 main ()
5254 return 0;
5256 _ACEOF
5257 if ac_fn_cxx_try_compile "$LINENO"; then :
5258 ac_cv_prog_cxx_g=yes
5259 else
5260 CXXFLAGS=""
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5265 main ()
5269 return 0;
5271 _ACEOF
5272 if ac_fn_cxx_try_compile "$LINENO"; then :
5274 else
5275 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5276 CXXFLAGS="-g"
5277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5278 /* end confdefs.h. */
5281 main ()
5285 return 0;
5287 _ACEOF
5288 if ac_fn_cxx_try_compile "$LINENO"; then :
5289 ac_cv_prog_cxx_g=yes
5291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5296 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5299 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5300 if test "$ac_test_CXXFLAGS" = set; then
5301 CXXFLAGS=$ac_save_CXXFLAGS
5302 elif test $ac_cv_prog_cxx_g = yes; then
5303 if test "$GXX" = yes; then
5304 CXXFLAGS="-g -O2"
5305 else
5306 CXXFLAGS="-g"
5308 else
5309 if test "$GXX" = yes; then
5310 CXXFLAGS="-O2"
5311 else
5312 CXXFLAGS=
5315 ac_ext=c
5316 ac_cpp='$CPP $CPPFLAGS'
5317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5321 if test -n "$ac_tool_prefix"; then
5322 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5323 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_CPPBIN+:} false; then :
5327 $as_echo_n "(cached) " >&6
5328 else
5329 if test -n "$CPPBIN"; then
5330 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5331 else
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH
5335 IFS=$as_save_IFS
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 break 2
5343 done
5344 done
5345 IFS=$as_save_IFS
5349 CPPBIN=$ac_cv_prog_CPPBIN
5350 if test -n "$CPPBIN"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5352 $as_echo "$CPPBIN" >&6; }
5353 else
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5360 if test -z "$ac_cv_prog_CPPBIN"; then
5361 ac_ct_CPPBIN=$CPPBIN
5362 # Extract the first word of "cpp", so it can be a program name with args.
5363 set dummy cpp; ac_word=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5367 $as_echo_n "(cached) " >&6
5368 else
5369 if test -n "$ac_ct_CPPBIN"; then
5370 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5371 else
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 for as_dir in $PATH
5375 IFS=$as_save_IFS
5376 test -z "$as_dir" && as_dir=.
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_ac_ct_CPPBIN="cpp"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381 break 2
5383 done
5384 done
5385 IFS=$as_save_IFS
5389 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5390 if test -n "$ac_ct_CPPBIN"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5392 $as_echo "$ac_ct_CPPBIN" >&6; }
5393 else
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5398 if test "x$ac_ct_CPPBIN" = x; then
5399 CPPBIN="cpp"
5400 else
5401 case $cross_compiling:$ac_tool_warned in
5402 yes:)
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5405 ac_tool_warned=yes ;;
5406 esac
5407 CPPBIN=$ac_ct_CPPBIN
5409 else
5410 CPPBIN="$ac_cv_prog_CPPBIN"
5414 cat >>confdefs.h <<_ACEOF
5415 #define EXEEXT "$ac_exeext"
5416 _ACEOF
5418 if test -n "$ac_tool_prefix"; then
5419 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5420 set dummy ${ac_tool_prefix}ld; ac_word=$2
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422 $as_echo_n "checking for $ac_word... " >&6; }
5423 if ${ac_cv_prog_LD+:} false; then :
5424 $as_echo_n "(cached) " >&6
5425 else
5426 if test -n "$LD"; then
5427 ac_cv_prog_LD="$LD" # Let the user override the test.
5428 else
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 for as_dir in $PATH
5432 IFS=$as_save_IFS
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5436 ac_cv_prog_LD="${ac_tool_prefix}ld"
5437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 break 2
5440 done
5441 done
5442 IFS=$as_save_IFS
5446 LD=$ac_cv_prog_LD
5447 if test -n "$LD"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5449 $as_echo "$LD" >&6; }
5450 else
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5457 if test -z "$ac_cv_prog_LD"; then
5458 ac_ct_LD=$LD
5459 # Extract the first word of "ld", so it can be a program name with args.
5460 set dummy ld; ac_word=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466 if test -n "$ac_ct_LD"; then
5467 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5468 else
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH
5472 IFS=$as_save_IFS
5473 test -z "$as_dir" && as_dir=.
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_ac_ct_LD="ld"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478 break 2
5480 done
5481 done
5482 IFS=$as_save_IFS
5486 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5487 if test -n "$ac_ct_LD"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5489 $as_echo "$ac_ct_LD" >&6; }
5490 else
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5495 if test "x$ac_ct_LD" = x; then
5496 LD=""
5497 else
5498 case $cross_compiling:$ac_tool_warned in
5499 yes:)
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5502 ac_tool_warned=yes ;;
5503 esac
5504 LD=$ac_ct_LD
5506 else
5507 LD="$ac_cv_prog_LD"
5511 case $host in
5512 *-darwin*)
5513 with_fontconfig=${with_fontconfig:-no}
5515 *-mingw32*|*-cygwin*)
5516 enable_win16=${enable_win16:-no}
5517 with_mingw=${with_mingw:-no}
5518 CFLAGS="$CFLAGS -D_WIN32"
5520 esac
5522 case $host in
5523 x86_64*|amd64*)
5524 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5525 then
5526 CC="$CC -m32"
5527 CXX="$CXX -m32"
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5530 $as_echo_n "checking whether $CC works... " >&6; }
5531 if ${wine_cv_cc_m32+:} false; then :
5532 $as_echo_n "(cached) " >&6
5533 else
5534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5535 /* end confdefs.h. */
5538 main ()
5542 return 0;
5544 _ACEOF
5545 if ac_fn_c_try_link "$LINENO"; then :
5546 wine_cv_cc_m32=yes
5547 else
5548 wine_cv_cc_m32=no
5550 rm -f core conftest.err conftest.$ac_objext \
5551 conftest$ac_exeext conftest.$ac_ext
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5554 $as_echo "$wine_cv_cc_m32" >&6; }
5555 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
5556 host_cpu="i386"
5557 notice_platform="32-bit "
5558 TARGETFLAGS="-m32"
5560 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5561 export PKG_CONFIG_PATH
5562 enable_win16=${enable_win16:-yes}
5563 else
5564 if test "x${GCC}" = "xyes"
5565 then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5567 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5568 if ${wine_cv_builtin_ms_va_list+:} false; then :
5569 $as_echo_n "(cached) " >&6
5570 else
5571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5572 /* end confdefs.h. */
5573 #include <stdarg.h>
5575 main ()
5577 void func(__builtin_ms_va_list *args);
5579 return 0;
5581 _ACEOF
5582 if ac_fn_c_try_compile "$LINENO"; then :
5583 wine_cv_builtin_ms_va_list=yes
5584 else
5585 wine_cv_builtin_ms_va_list=no
5587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5590 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5591 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
5593 CC="$CC -m64"
5594 CXX="$CXX -m64"
5595 host_cpu="x86_64"
5596 notice_platform="64-bit "
5597 TARGETFLAGS="-m64"
5601 arm*)
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5603 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5604 if ${wine_cv_thumb+:} false; then :
5605 $as_echo_n "(cached) " >&6
5606 else
5607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h. */
5609 int ac_test(int i) { return i; }
5611 main ()
5613 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5615 return 0;
5617 _ACEOF
5618 if ac_fn_c_try_link "$LINENO"; then :
5619 wine_cv_thumb=yes
5620 else
5621 wine_cv_thumb=no
5623 rm -f core conftest.err conftest.$ac_objext \
5624 conftest$ac_exeext conftest.$ac_ext
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5627 $as_echo "$wine_cv_thumb" >&6; }
5628 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5629 case $with_float_abi in
5630 soft|softfp|hard)
5631 float_abi=$with_float_abi ;;
5633 case $host_os in
5634 *eabihf)
5635 float_abi=hard ;;
5637 float_abi=softfp
5638 saved_CFLAGS=$CFLAGS
5639 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5641 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5642 if ${wine_cv_float_abi+:} false; then :
5643 $as_echo_n "(cached) " >&6
5644 else
5645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5646 /* end confdefs.h. */
5649 main ()
5651 asm("vmrs r2,fpscr");
5653 return 0;
5655 _ACEOF
5656 if ac_fn_c_try_link "$LINENO"; then :
5657 wine_cv_float_abi=yes
5658 else
5659 wine_cv_float_abi=no
5661 rm -f core conftest.err conftest.$ac_objext \
5662 conftest$ac_exeext conftest.$ac_ext
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5665 $as_echo "$wine_cv_float_abi" >&6; }
5666 if test $wine_cv_float_abi = no
5667 then
5668 float_abi=soft
5669 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5671 CFLAGS=$saved_CFLAGS
5672 esac
5674 esac
5675 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5676 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5679 aarch64*)
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5681 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5682 if ${wine_cv_builtin_ms_va_list+:} false; then :
5683 $as_echo_n "(cached) " >&6
5684 else
5685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5686 /* end confdefs.h. */
5687 #include <stdarg.h>
5689 main ()
5691 void func(__builtin_ms_va_list *args);
5693 return 0;
5695 _ACEOF
5696 if ac_fn_c_try_compile "$LINENO"; then :
5697 wine_cv_builtin_ms_va_list=yes
5698 else
5699 wine_cv_builtin_ms_va_list=no
5701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5704 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5705 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5707 i[3456789]86*)
5708 enable_win16=${enable_win16:-yes}
5710 esac
5712 enable_win16=${enable_win16:-no}
5713 enable_win64=${enable_win64:-no}
5715 enable_winetest=${enable_winetest:-$enable_tests}
5717 if test "x$enable_win64" = "xyes"
5718 then
5719 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5720 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5721 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5725 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5726 if ${wine_cv_toolsdir+:} false; then :
5727 $as_echo_n "(cached) " >&6
5728 else
5729 wine_cv_toolsdir="$with_wine_tools"
5730 if test -z "$with_wine_tools"; then
5731 if test "$cross_compiling" = "yes"; then
5732 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5733 elif test -n "$with_wine64"; then
5734 wine_cv_toolsdir="$with_wine64"
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5739 $as_echo "$wine_cv_toolsdir" >&6; }
5740 if test -z "$wine_cv_toolsdir"; then
5741 wine_makedep=tools/makedep
5742 TOOLSDIR="\$(top_builddir)"
5744 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5745 wine_makedep=$wine_cv_toolsdir/tools/makedep
5746 case "$wine_cv_toolsdir" in
5747 /*) TOOLSDIR=$wine_cv_toolsdir
5749 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5751 esac
5752 enable_tools=${enable_tools:-no}
5753 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5754 else
5755 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5757 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5758 then
5759 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5763 for ac_prog in flex
5765 # Extract the first word of "$ac_prog", so it can be a program name with args.
5766 set dummy $ac_prog; ac_word=$2
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5768 $as_echo_n "checking for $ac_word... " >&6; }
5769 if ${ac_cv_prog_FLEX+:} false; then :
5770 $as_echo_n "(cached) " >&6
5771 else
5772 if test -n "$FLEX"; then
5773 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5774 else
5775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776 for as_dir in $PATH
5778 IFS=$as_save_IFS
5779 test -z "$as_dir" && as_dir=.
5780 for ac_exec_ext in '' $ac_executable_extensions; do
5781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5782 ac_cv_prog_FLEX="$ac_prog"
5783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 break 2
5786 done
5787 done
5788 IFS=$as_save_IFS
5792 FLEX=$ac_cv_prog_FLEX
5793 if test -n "$FLEX"; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5795 $as_echo "$FLEX" >&6; }
5796 else
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5798 $as_echo "no" >&6; }
5802 test -n "$FLEX" && break
5803 done
5804 test -n "$FLEX" || FLEX="none"
5806 if test "$FLEX" = "none"
5807 then
5808 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5811 $as_echo_n "checking whether flex is recent enough... " >&6; }
5812 if ${wine_cv_recent_flex+:} false; then :
5813 $as_echo_n "(cached) " >&6
5814 else
5815 cat >conftest.l <<EOF
5816 %top{
5817 #include "prediluvian.h"
5821 if $FLEX -t conftest.l >/dev/null 2>&5
5822 then
5823 wine_cv_recent_flex=yes
5824 else
5825 wine_cv_recent_flex=no
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5829 $as_echo "$wine_cv_recent_flex" >&6; }
5830 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
5832 for ac_prog in bison
5834 # Extract the first word of "$ac_prog", so it can be a program name with args.
5835 set dummy $ac_prog; ac_word=$2
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837 $as_echo_n "checking for $ac_word... " >&6; }
5838 if ${ac_cv_prog_BISON+:} false; then :
5839 $as_echo_n "(cached) " >&6
5840 else
5841 if test -n "$BISON"; then
5842 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5843 else
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5845 for as_dir in $PATH
5847 IFS=$as_save_IFS
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851 ac_cv_prog_BISON="$ac_prog"
5852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 break 2
5855 done
5856 done
5857 IFS=$as_save_IFS
5861 BISON=$ac_cv_prog_BISON
5862 if test -n "$BISON"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5864 $as_echo "$BISON" >&6; }
5865 else
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5871 test -n "$BISON" && break
5872 done
5873 test -n "$BISON" || BISON="none"
5875 if test "$BISON" = "none"
5876 then
5877 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5880 if test -n "$ac_tool_prefix"; then
5881 for ac_prog in ar gar
5883 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5884 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5886 $as_echo_n "checking for $ac_word... " >&6; }
5887 if ${ac_cv_prog_AR+:} false; then :
5888 $as_echo_n "(cached) " >&6
5889 else
5890 if test -n "$AR"; then
5891 ac_cv_prog_AR="$AR" # Let the user override the test.
5892 else
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 for as_dir in $PATH
5896 IFS=$as_save_IFS
5897 test -z "$as_dir" && as_dir=.
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5900 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5902 break 2
5904 done
5905 done
5906 IFS=$as_save_IFS
5910 AR=$ac_cv_prog_AR
5911 if test -n "$AR"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5913 $as_echo "$AR" >&6; }
5914 else
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5920 test -n "$AR" && break
5921 done
5923 if test -z "$AR"; then
5924 ac_ct_AR=$AR
5925 for ac_prog in ar gar
5927 # Extract the first word of "$ac_prog", so it can be a program name with args.
5928 set dummy $ac_prog; ac_word=$2
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5930 $as_echo_n "checking for $ac_word... " >&6; }
5931 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5932 $as_echo_n "(cached) " >&6
5933 else
5934 if test -n "$ac_ct_AR"; then
5935 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5936 else
5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5938 for as_dir in $PATH
5940 IFS=$as_save_IFS
5941 test -z "$as_dir" && as_dir=.
5942 for ac_exec_ext in '' $ac_executable_extensions; do
5943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5944 ac_cv_prog_ac_ct_AR="$ac_prog"
5945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 break 2
5948 done
5949 done
5950 IFS=$as_save_IFS
5954 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5955 if test -n "$ac_ct_AR"; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5957 $as_echo "$ac_ct_AR" >&6; }
5958 else
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5960 $as_echo "no" >&6; }
5964 test -n "$ac_ct_AR" && break
5965 done
5967 if test "x$ac_ct_AR" = x; then
5968 AR="ar"
5969 else
5970 case $cross_compiling:$ac_tool_warned in
5971 yes:)
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5974 ac_tool_warned=yes ;;
5975 esac
5976 AR=$ac_ct_AR
5980 if test -n "$ac_tool_prefix"; then
5981 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5982 set dummy ${ac_tool_prefix}strip; ac_word=$2
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5984 $as_echo_n "checking for $ac_word... " >&6; }
5985 if ${ac_cv_prog_STRIP+:} false; then :
5986 $as_echo_n "(cached) " >&6
5987 else
5988 if test -n "$STRIP"; then
5989 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5990 else
5991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5992 for as_dir in $PATH
5994 IFS=$as_save_IFS
5995 test -z "$as_dir" && as_dir=.
5996 for ac_exec_ext in '' $ac_executable_extensions; do
5997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5998 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6000 break 2
6002 done
6003 done
6004 IFS=$as_save_IFS
6008 STRIP=$ac_cv_prog_STRIP
6009 if test -n "$STRIP"; then
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6011 $as_echo "$STRIP" >&6; }
6012 else
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6014 $as_echo "no" >&6; }
6019 if test -z "$ac_cv_prog_STRIP"; then
6020 ac_ct_STRIP=$STRIP
6021 # Extract the first word of "strip", so it can be a program name with args.
6022 set dummy strip; ac_word=$2
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6024 $as_echo_n "checking for $ac_word... " >&6; }
6025 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6026 $as_echo_n "(cached) " >&6
6027 else
6028 if test -n "$ac_ct_STRIP"; then
6029 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6030 else
6031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6032 for as_dir in $PATH
6034 IFS=$as_save_IFS
6035 test -z "$as_dir" && as_dir=.
6036 for ac_exec_ext in '' $ac_executable_extensions; do
6037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6038 ac_cv_prog_ac_ct_STRIP="strip"
6039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6040 break 2
6042 done
6043 done
6044 IFS=$as_save_IFS
6048 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6049 if test -n "$ac_ct_STRIP"; then
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6051 $as_echo "$ac_ct_STRIP" >&6; }
6052 else
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6054 $as_echo "no" >&6; }
6057 if test "x$ac_ct_STRIP" = x; then
6058 STRIP="strip"
6059 else
6060 case $cross_compiling:$ac_tool_warned in
6061 yes:)
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6064 ac_tool_warned=yes ;;
6065 esac
6066 STRIP=$ac_ct_STRIP
6068 else
6069 STRIP="$ac_cv_prog_STRIP"
6072 if test -n "$ac_tool_prefix"; then
6073 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6074 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6076 $as_echo_n "checking for $ac_word... " >&6; }
6077 if ${ac_cv_prog_RANLIB+:} false; then :
6078 $as_echo_n "(cached) " >&6
6079 else
6080 if test -n "$RANLIB"; then
6081 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6082 else
6083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6084 for as_dir in $PATH
6086 IFS=$as_save_IFS
6087 test -z "$as_dir" && as_dir=.
6088 for ac_exec_ext in '' $ac_executable_extensions; do
6089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6090 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6092 break 2
6094 done
6095 done
6096 IFS=$as_save_IFS
6100 RANLIB=$ac_cv_prog_RANLIB
6101 if test -n "$RANLIB"; then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6103 $as_echo "$RANLIB" >&6; }
6104 else
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6106 $as_echo "no" >&6; }
6111 if test -z "$ac_cv_prog_RANLIB"; then
6112 ac_ct_RANLIB=$RANLIB
6113 # Extract the first word of "ranlib", so it can be a program name with args.
6114 set dummy ranlib; ac_word=$2
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6116 $as_echo_n "checking for $ac_word... " >&6; }
6117 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6118 $as_echo_n "(cached) " >&6
6119 else
6120 if test -n "$ac_ct_RANLIB"; then
6121 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6122 else
6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124 for as_dir in $PATH
6126 IFS=$as_save_IFS
6127 test -z "$as_dir" && as_dir=.
6128 for ac_exec_ext in '' $ac_executable_extensions; do
6129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6130 ac_cv_prog_ac_ct_RANLIB="ranlib"
6131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 break 2
6134 done
6135 done
6136 IFS=$as_save_IFS
6140 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6141 if test -n "$ac_ct_RANLIB"; then
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6143 $as_echo "$ac_ct_RANLIB" >&6; }
6144 else
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6146 $as_echo "no" >&6; }
6149 if test "x$ac_ct_RANLIB" = x; then
6150 RANLIB=":"
6151 else
6152 case $cross_compiling:$ac_tool_warned in
6153 yes:)
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6156 ac_tool_warned=yes ;;
6157 esac
6158 RANLIB=$ac_ct_RANLIB
6160 else
6161 RANLIB="$ac_cv_prog_RANLIB"
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6165 $as_echo_n "checking whether ln -s works... " >&6; }
6166 LN_S=$as_ln_s
6167 if test "$LN_S" = "ln -s"; then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6169 $as_echo "yes" >&6; }
6170 else
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6172 $as_echo "no, using $LN_S" >&6; }
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6176 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6177 if ${ac_cv_path_GREP+:} false; then :
6178 $as_echo_n "(cached) " >&6
6179 else
6180 if test -z "$GREP"; then
6181 ac_path_GREP_found=false
6182 # Loop through the user's path and test for each of PROGNAME-LIST
6183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6184 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6186 IFS=$as_save_IFS
6187 test -z "$as_dir" && as_dir=.
6188 for ac_prog in grep ggrep; do
6189 for ac_exec_ext in '' $ac_executable_extensions; do
6190 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6191 as_fn_executable_p "$ac_path_GREP" || continue
6192 # Check for GNU ac_path_GREP and select it if it is found.
6193 # Check for GNU $ac_path_GREP
6194 case `"$ac_path_GREP" --version 2>&1` in
6195 *GNU*)
6196 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6198 ac_count=0
6199 $as_echo_n 0123456789 >"conftest.in"
6200 while :
6202 cat "conftest.in" "conftest.in" >"conftest.tmp"
6203 mv "conftest.tmp" "conftest.in"
6204 cp "conftest.in" "conftest.nl"
6205 $as_echo 'GREP' >> "conftest.nl"
6206 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6207 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6208 as_fn_arith $ac_count + 1 && ac_count=$as_val
6209 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6210 # Best one so far, save it but keep looking for a better one
6211 ac_cv_path_GREP="$ac_path_GREP"
6212 ac_path_GREP_max=$ac_count
6214 # 10*(2^10) chars as input seems more than enough
6215 test $ac_count -gt 10 && break
6216 done
6217 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6218 esac
6220 $ac_path_GREP_found && break 3
6221 done
6222 done
6223 done
6224 IFS=$as_save_IFS
6225 if test -z "$ac_cv_path_GREP"; then
6226 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6228 else
6229 ac_cv_path_GREP=$GREP
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6234 $as_echo "$ac_cv_path_GREP" >&6; }
6235 GREP="$ac_cv_path_GREP"
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6239 $as_echo_n "checking for egrep... " >&6; }
6240 if ${ac_cv_path_EGREP+:} false; then :
6241 $as_echo_n "(cached) " >&6
6242 else
6243 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6244 then ac_cv_path_EGREP="$GREP -E"
6245 else
6246 if test -z "$EGREP"; then
6247 ac_path_EGREP_found=false
6248 # Loop through the user's path and test for each of PROGNAME-LIST
6249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6252 IFS=$as_save_IFS
6253 test -z "$as_dir" && as_dir=.
6254 for ac_prog in egrep; do
6255 for ac_exec_ext in '' $ac_executable_extensions; do
6256 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6257 as_fn_executable_p "$ac_path_EGREP" || continue
6258 # Check for GNU ac_path_EGREP and select it if it is found.
6259 # Check for GNU $ac_path_EGREP
6260 case `"$ac_path_EGREP" --version 2>&1` in
6261 *GNU*)
6262 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6264 ac_count=0
6265 $as_echo_n 0123456789 >"conftest.in"
6266 while :
6268 cat "conftest.in" "conftest.in" >"conftest.tmp"
6269 mv "conftest.tmp" "conftest.in"
6270 cp "conftest.in" "conftest.nl"
6271 $as_echo 'EGREP' >> "conftest.nl"
6272 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6273 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6274 as_fn_arith $ac_count + 1 && ac_count=$as_val
6275 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6276 # Best one so far, save it but keep looking for a better one
6277 ac_cv_path_EGREP="$ac_path_EGREP"
6278 ac_path_EGREP_max=$ac_count
6280 # 10*(2^10) chars as input seems more than enough
6281 test $ac_count -gt 10 && break
6282 done
6283 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6284 esac
6286 $ac_path_EGREP_found && break 3
6287 done
6288 done
6289 done
6290 IFS=$as_save_IFS
6291 if test -z "$ac_cv_path_EGREP"; then
6292 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6294 else
6295 ac_cv_path_EGREP=$EGREP
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6301 $as_echo "$ac_cv_path_EGREP" >&6; }
6302 EGREP="$ac_cv_path_EGREP"
6305 # Extract the first word of "ldconfig", so it can be a program name with args.
6306 set dummy ldconfig; ac_word=$2
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6308 $as_echo_n "checking for $ac_word... " >&6; }
6309 if ${ac_cv_path_LDCONFIG+:} false; then :
6310 $as_echo_n "(cached) " >&6
6311 else
6312 case $LDCONFIG in
6313 [\\/]* | ?:[\\/]*)
6314 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6318 for as_dir in /sbin /usr/sbin $PATH
6320 IFS=$as_save_IFS
6321 test -z "$as_dir" && as_dir=.
6322 for ac_exec_ext in '' $ac_executable_extensions; do
6323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6324 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6326 break 2
6328 done
6329 done
6330 IFS=$as_save_IFS
6332 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6334 esac
6336 LDCONFIG=$ac_cv_path_LDCONFIG
6337 if test -n "$LDCONFIG"; then
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6339 $as_echo "$LDCONFIG" >&6; }
6340 else
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6342 $as_echo "no" >&6; }
6346 for ac_prog in msgfmt
6348 # Extract the first word of "$ac_prog", so it can be a program name with args.
6349 set dummy $ac_prog; ac_word=$2
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6351 $as_echo_n "checking for $ac_word... " >&6; }
6352 if ${ac_cv_prog_MSGFMT+:} false; then :
6353 $as_echo_n "(cached) " >&6
6354 else
6355 if test -n "$MSGFMT"; then
6356 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6357 else
6358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359 for as_dir in $PATH
6361 IFS=$as_save_IFS
6362 test -z "$as_dir" && as_dir=.
6363 for ac_exec_ext in '' $ac_executable_extensions; do
6364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6365 ac_cv_prog_MSGFMT="$ac_prog"
6366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6367 break 2
6369 done
6370 done
6371 IFS=$as_save_IFS
6375 MSGFMT=$ac_cv_prog_MSGFMT
6376 if test -n "$MSGFMT"; then
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6378 $as_echo "$MSGFMT" >&6; }
6379 else
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6381 $as_echo "no" >&6; }
6385 test -n "$MSGFMT" && break
6386 done
6387 test -n "$MSGFMT" || MSGFMT="false"
6389 if ${ac_tool_prefix+:} false; then :
6390 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6391 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6393 $as_echo_n "checking for $ac_word... " >&6; }
6394 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6395 $as_echo_n "(cached) " >&6
6396 else
6397 if test -n "$PKG_CONFIG"; then
6398 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6399 else
6400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6401 for as_dir in $PATH
6403 IFS=$as_save_IFS
6404 test -z "$as_dir" && as_dir=.
6405 for ac_exec_ext in '' $ac_executable_extensions; do
6406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6407 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6409 break 2
6411 done
6412 done
6413 IFS=$as_save_IFS
6417 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6418 if test -n "$PKG_CONFIG"; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6420 $as_echo "$PKG_CONFIG" >&6; }
6421 else
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6423 $as_echo "no" >&6; }
6428 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6429 if test "x$cross_compiling" = xyes; then :
6431 else
6432 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6433 # Extract the first word of "pkg-config", so it can be a program name with args.
6434 set dummy pkg-config; ac_word=$2
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6436 $as_echo_n "checking for $ac_word... " >&6; }
6437 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6438 $as_echo_n "(cached) " >&6
6439 else
6440 if test -n "$PKG_CONFIG"; then
6441 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6442 else
6443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6444 for as_dir in $PATH
6446 IFS=$as_save_IFS
6447 test -z "$as_dir" && as_dir=.
6448 for ac_exec_ext in '' $ac_executable_extensions; do
6449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6450 ac_cv_prog_PKG_CONFIG="pkg-config"
6451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6452 break 2
6454 done
6455 done
6456 IFS=$as_save_IFS
6460 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6461 if test -n "$PKG_CONFIG"; then
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6463 $as_echo "$PKG_CONFIG" >&6; }
6464 else
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6466 $as_echo "no" >&6; }
6471 else
6472 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6475 if test "x$enable_maintainer_mode" != "xyes"
6476 then
6477 FONTFORGE=""
6478 RSVG=""
6479 CONVERT=""
6480 ICOTOOL=""
6481 else
6482 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6483 for ac_prog in fontforge
6485 # Extract the first word of "$ac_prog", so it can be a program name with args.
6486 set dummy $ac_prog; ac_word=$2
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6488 $as_echo_n "checking for $ac_word... " >&6; }
6489 if ${ac_cv_prog_FONTFORGE+:} false; then :
6490 $as_echo_n "(cached) " >&6
6491 else
6492 if test -n "$FONTFORGE"; then
6493 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6494 else
6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6496 for as_dir in $PATH
6498 IFS=$as_save_IFS
6499 test -z "$as_dir" && as_dir=.
6500 for ac_exec_ext in '' $ac_executable_extensions; do
6501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6502 ac_cv_prog_FONTFORGE="$ac_prog"
6503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6504 break 2
6506 done
6507 done
6508 IFS=$as_save_IFS
6512 FONTFORGE=$ac_cv_prog_FONTFORGE
6513 if test -n "$FONTFORGE"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6515 $as_echo "$FONTFORGE" >&6; }
6516 else
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 $as_echo "no" >&6; }
6522 test -n "$FONTFORGE" && break
6523 done
6524 test -n "$FONTFORGE" || FONTFORGE="false"
6526 for ac_prog in rsvg-convert rsvg
6528 # Extract the first word of "$ac_prog", so it can be a program name with args.
6529 set dummy $ac_prog; ac_word=$2
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6531 $as_echo_n "checking for $ac_word... " >&6; }
6532 if ${ac_cv_prog_RSVG+:} false; then :
6533 $as_echo_n "(cached) " >&6
6534 else
6535 if test -n "$RSVG"; then
6536 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6537 else
6538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6539 for as_dir in $PATH
6541 IFS=$as_save_IFS
6542 test -z "$as_dir" && as_dir=.
6543 for ac_exec_ext in '' $ac_executable_extensions; do
6544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6545 ac_cv_prog_RSVG="$ac_prog"
6546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6547 break 2
6549 done
6550 done
6551 IFS=$as_save_IFS
6555 RSVG=$ac_cv_prog_RSVG
6556 if test -n "$RSVG"; then
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6558 $as_echo "$RSVG" >&6; }
6559 else
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6561 $as_echo "no" >&6; }
6565 test -n "$RSVG" && break
6566 done
6567 test -n "$RSVG" || RSVG="false"
6569 for ac_prog in convert
6571 # Extract the first word of "$ac_prog", so it can be a program name with args.
6572 set dummy $ac_prog; ac_word=$2
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574 $as_echo_n "checking for $ac_word... " >&6; }
6575 if ${ac_cv_prog_CONVERT+:} false; then :
6576 $as_echo_n "(cached) " >&6
6577 else
6578 if test -n "$CONVERT"; then
6579 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6580 else
6581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6582 for as_dir in $PATH
6584 IFS=$as_save_IFS
6585 test -z "$as_dir" && as_dir=.
6586 for ac_exec_ext in '' $ac_executable_extensions; do
6587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6588 ac_cv_prog_CONVERT="$ac_prog"
6589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6590 break 2
6592 done
6593 done
6594 IFS=$as_save_IFS
6598 CONVERT=$ac_cv_prog_CONVERT
6599 if test -n "$CONVERT"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6601 $as_echo "$CONVERT" >&6; }
6602 else
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6608 test -n "$CONVERT" && break
6609 done
6610 test -n "$CONVERT" || CONVERT="false"
6612 for ac_prog in icotool
6614 # Extract the first word of "$ac_prog", so it can be a program name with args.
6615 set dummy $ac_prog; ac_word=$2
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 $as_echo_n "checking for $ac_word... " >&6; }
6618 if ${ac_cv_prog_ICOTOOL+:} false; then :
6619 $as_echo_n "(cached) " >&6
6620 else
6621 if test -n "$ICOTOOL"; then
6622 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6623 else
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 for as_dir in $PATH
6627 IFS=$as_save_IFS
6628 test -z "$as_dir" && as_dir=.
6629 for ac_exec_ext in '' $ac_executable_extensions; do
6630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6631 ac_cv_prog_ICOTOOL="$ac_prog"
6632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6633 break 2
6635 done
6636 done
6637 IFS=$as_save_IFS
6641 ICOTOOL=$ac_cv_prog_ICOTOOL
6642 if test -n "$ICOTOOL"; then
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6644 $as_echo "$ICOTOOL" >&6; }
6645 else
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647 $as_echo "no" >&6; }
6651 test -n "$ICOTOOL" && break
6652 done
6653 test -n "$ICOTOOL" || ICOTOOL="false"
6655 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6656 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6658 if test "$CONVERT" = false
6659 then
6660 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6661 else
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6663 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6664 convert_version=`convert --version | head -n1`
6665 if test "x$convert_version" != "x"
6666 then
6667 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6668 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6669 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6670 then
6671 CONVERT=false
6674 if test "$CONVERT" = false
6675 then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6677 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6678 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6679 else
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6681 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6685 if test "$ICOTOOL" = false
6686 then
6687 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6688 else
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6690 $as_echo_n "checking for recent enough icotool... " >&6; }
6691 icotool_version=`icotool --version | head -n1`
6692 if test "x$icotool_version" != "x"
6693 then
6694 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6695 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6696 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6697 then
6698 ICOTOOL=false
6699 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6702 if test "$ICOTOOL" = false
6703 then
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6705 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6706 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6707 else
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6709 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6713 with_gettext=yes
6714 with_gettextpo=yes
6717 test "x$with_gettext" != xno || MSGFMT=false
6718 if test "$MSGFMT" != "false"
6719 then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6721 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6722 if ${wine_cv_msgfmt_contexts+:} false; then :
6723 $as_echo_n "(cached) " >&6
6724 else
6725 cat >conftest.po <<EOF
6726 # comment
6727 msgctxt "ctxt"
6728 msgid "id"
6729 msgstr "str"
6731 if $MSGFMT -o /dev/null conftest.po 2>&5
6732 then
6733 wine_cv_msgfmt_contexts=yes
6734 else
6735 wine_cv_msgfmt_contexts=no
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6739 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6740 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6742 if test "$MSGFMT" = false; then :
6743 case "x$with_gettext" in
6744 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6745 xno) ;;
6746 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6747 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6748 esac
6749 enable_po=${enable_po:-no}
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6754 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6755 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6756 $as_echo_n "(cached) " >&6
6757 else
6758 ac_check_lib_save_LIBS=$LIBS
6759 LIBS="-li386 $LIBS"
6760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6761 /* end confdefs.h. */
6763 /* Override any GCC internal prototype to avoid an error.
6764 Use char because int might match the return type of a GCC
6765 builtin and then its argument prototype would still apply. */
6766 #ifdef __cplusplus
6767 extern "C"
6768 #endif
6769 char i386_set_ldt ();
6771 main ()
6773 return i386_set_ldt ();
6775 return 0;
6777 _ACEOF
6778 if ac_fn_c_try_link "$LINENO"; then :
6779 ac_cv_lib_i386_i386_set_ldt=yes
6780 else
6781 ac_cv_lib_i386_i386_set_ldt=no
6783 rm -f core conftest.err conftest.$ac_objext \
6784 conftest$ac_exeext conftest.$ac_ext
6785 LIBS=$ac_check_lib_save_LIBS
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6788 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6789 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6790 cat >>confdefs.h <<_ACEOF
6791 #define HAVE_LIBI386 1
6792 _ACEOF
6794 LIBS="-li386 $LIBS"
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6799 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6800 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6801 $as_echo_n "(cached) " >&6
6802 else
6803 ac_check_lib_save_LIBS=$LIBS
6804 LIBS="-lossaudio $LIBS"
6805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6806 /* end confdefs.h. */
6808 /* Override any GCC internal prototype to avoid an error.
6809 Use char because int might match the return type of a GCC
6810 builtin and then its argument prototype would still apply. */
6811 #ifdef __cplusplus
6812 extern "C"
6813 #endif
6814 char _oss_ioctl ();
6816 main ()
6818 return _oss_ioctl ();
6820 return 0;
6822 _ACEOF
6823 if ac_fn_c_try_link "$LINENO"; then :
6824 ac_cv_lib_ossaudio__oss_ioctl=yes
6825 else
6826 ac_cv_lib_ossaudio__oss_ioctl=no
6828 rm -f core conftest.err conftest.$ac_objext \
6829 conftest$ac_exeext conftest.$ac_ext
6830 LIBS=$ac_check_lib_save_LIBS
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6833 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6834 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6835 cat >>confdefs.h <<_ACEOF
6836 #define HAVE_LIBOSSAUDIO 1
6837 _ACEOF
6839 LIBS="-lossaudio $LIBS"
6844 OPENGL_LIBS=""
6848 # Check whether --enable-largefile was given.
6849 if test "${enable_largefile+set}" = set; then :
6850 enableval=$enable_largefile;
6853 if test "$enable_largefile" != no; then
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6856 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6857 if ${ac_cv_sys_largefile_CC+:} false; then :
6858 $as_echo_n "(cached) " >&6
6859 else
6860 ac_cv_sys_largefile_CC=no
6861 if test "$GCC" != yes; then
6862 ac_save_CC=$CC
6863 while :; do
6864 # IRIX 6.2 and later do not support large files by default,
6865 # so use the C compiler's -n32 option if that helps.
6866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6867 /* end confdefs.h. */
6868 #include <sys/types.h>
6869 /* Check that off_t can represent 2**63 - 1 correctly.
6870 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6871 since some C++ compilers masquerading as C compilers
6872 incorrectly reject 9223372036854775807. */
6873 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6874 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6875 && LARGE_OFF_T % 2147483647 == 1)
6876 ? 1 : -1];
6878 main ()
6882 return 0;
6884 _ACEOF
6885 if ac_fn_c_try_compile "$LINENO"; then :
6886 break
6888 rm -f core conftest.err conftest.$ac_objext
6889 CC="$CC -n32"
6890 if ac_fn_c_try_compile "$LINENO"; then :
6891 ac_cv_sys_largefile_CC=' -n32'; break
6893 rm -f core conftest.err conftest.$ac_objext
6894 break
6895 done
6896 CC=$ac_save_CC
6897 rm -f conftest.$ac_ext
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6901 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6902 if test "$ac_cv_sys_largefile_CC" != no; then
6903 CC=$CC$ac_cv_sys_largefile_CC
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6907 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6908 if ${ac_cv_sys_file_offset_bits+:} false; then :
6909 $as_echo_n "(cached) " >&6
6910 else
6911 while :; do
6912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6913 /* end confdefs.h. */
6914 #include <sys/types.h>
6915 /* Check that off_t can represent 2**63 - 1 correctly.
6916 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6917 since some C++ compilers masquerading as C compilers
6918 incorrectly reject 9223372036854775807. */
6919 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6920 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6921 && LARGE_OFF_T % 2147483647 == 1)
6922 ? 1 : -1];
6924 main ()
6928 return 0;
6930 _ACEOF
6931 if ac_fn_c_try_compile "$LINENO"; then :
6932 ac_cv_sys_file_offset_bits=no; break
6934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6936 /* end confdefs.h. */
6937 #define _FILE_OFFSET_BITS 64
6938 #include <sys/types.h>
6939 /* Check that off_t can represent 2**63 - 1 correctly.
6940 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6941 since some C++ compilers masquerading as C compilers
6942 incorrectly reject 9223372036854775807. */
6943 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6944 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6945 && LARGE_OFF_T % 2147483647 == 1)
6946 ? 1 : -1];
6948 main ()
6952 return 0;
6954 _ACEOF
6955 if ac_fn_c_try_compile "$LINENO"; then :
6956 ac_cv_sys_file_offset_bits=64; break
6958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6959 ac_cv_sys_file_offset_bits=unknown
6960 break
6961 done
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6964 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6965 case $ac_cv_sys_file_offset_bits in #(
6966 no | unknown) ;;
6968 cat >>confdefs.h <<_ACEOF
6969 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6970 _ACEOF
6972 esac
6973 rm -rf conftest*
6974 if test $ac_cv_sys_file_offset_bits = unknown; then
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6976 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6977 if ${ac_cv_sys_large_files+:} false; then :
6978 $as_echo_n "(cached) " >&6
6979 else
6980 while :; do
6981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6982 /* end confdefs.h. */
6983 #include <sys/types.h>
6984 /* Check that off_t can represent 2**63 - 1 correctly.
6985 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6986 since some C++ compilers masquerading as C compilers
6987 incorrectly reject 9223372036854775807. */
6988 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6989 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6990 && LARGE_OFF_T % 2147483647 == 1)
6991 ? 1 : -1];
6993 main ()
6997 return 0;
6999 _ACEOF
7000 if ac_fn_c_try_compile "$LINENO"; then :
7001 ac_cv_sys_large_files=no; break
7003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7005 /* end confdefs.h. */
7006 #define _LARGE_FILES 1
7007 #include <sys/types.h>
7008 /* Check that off_t can represent 2**63 - 1 correctly.
7009 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7010 since some C++ compilers masquerading as C compilers
7011 incorrectly reject 9223372036854775807. */
7012 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7013 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7014 && LARGE_OFF_T % 2147483647 == 1)
7015 ? 1 : -1];
7017 main ()
7021 return 0;
7023 _ACEOF
7024 if ac_fn_c_try_compile "$LINENO"; then :
7025 ac_cv_sys_large_files=1; break
7027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7028 ac_cv_sys_large_files=unknown
7029 break
7030 done
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7033 $as_echo "$ac_cv_sys_large_files" >&6; }
7034 case $ac_cv_sys_large_files in #(
7035 no | unknown) ;;
7037 cat >>confdefs.h <<_ACEOF
7038 #define _LARGE_FILES $ac_cv_sys_large_files
7039 _ACEOF
7041 esac
7042 rm -rf conftest*
7049 ac_ext=c
7050 ac_cpp='$CPP $CPPFLAGS'
7051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7055 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7056 # On Suns, sometimes $CPP names a directory.
7057 if test -n "$CPP" && test -d "$CPP"; then
7058 CPP=
7060 if test -z "$CPP"; then
7061 if ${ac_cv_prog_CPP+:} false; then :
7062 $as_echo_n "(cached) " >&6
7063 else
7064 # Double quotes because CPP needs to be expanded
7065 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7067 ac_preproc_ok=false
7068 for ac_c_preproc_warn_flag in '' yes
7070 # Use a header file that comes with gcc, so configuring glibc
7071 # with a fresh cross-compiler works.
7072 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7073 # <limits.h> exists even on freestanding compilers.
7074 # On the NeXT, cc -E runs the code through the compiler's parser,
7075 # not just through cpp. "Syntax error" is here to catch this case.
7076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7077 /* end confdefs.h. */
7078 #ifdef __STDC__
7079 # include <limits.h>
7080 #else
7081 # include <assert.h>
7082 #endif
7083 Syntax error
7084 _ACEOF
7085 if ac_fn_c_try_cpp "$LINENO"; then :
7087 else
7088 # Broken: fails on valid input.
7089 continue
7091 rm -f conftest.err conftest.i conftest.$ac_ext
7093 # OK, works on sane cases. Now check whether nonexistent headers
7094 # can be detected and how.
7095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7096 /* end confdefs.h. */
7097 #include <ac_nonexistent.h>
7098 _ACEOF
7099 if ac_fn_c_try_cpp "$LINENO"; then :
7100 # Broken: success on invalid input.
7101 continue
7102 else
7103 # Passes both tests.
7104 ac_preproc_ok=:
7105 break
7107 rm -f conftest.err conftest.i conftest.$ac_ext
7109 done
7110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7111 rm -f conftest.i conftest.err conftest.$ac_ext
7112 if $ac_preproc_ok; then :
7113 break
7116 done
7117 ac_cv_prog_CPP=$CPP
7120 CPP=$ac_cv_prog_CPP
7121 else
7122 ac_cv_prog_CPP=$CPP
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7125 $as_echo "$CPP" >&6; }
7126 ac_preproc_ok=false
7127 for ac_c_preproc_warn_flag in '' yes
7129 # Use a header file that comes with gcc, so configuring glibc
7130 # with a fresh cross-compiler works.
7131 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7132 # <limits.h> exists even on freestanding compilers.
7133 # On the NeXT, cc -E runs the code through the compiler's parser,
7134 # not just through cpp. "Syntax error" is here to catch this case.
7135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7136 /* end confdefs.h. */
7137 #ifdef __STDC__
7138 # include <limits.h>
7139 #else
7140 # include <assert.h>
7141 #endif
7142 Syntax error
7143 _ACEOF
7144 if ac_fn_c_try_cpp "$LINENO"; then :
7146 else
7147 # Broken: fails on valid input.
7148 continue
7150 rm -f conftest.err conftest.i conftest.$ac_ext
7152 # OK, works on sane cases. Now check whether nonexistent headers
7153 # can be detected and how.
7154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7155 /* end confdefs.h. */
7156 #include <ac_nonexistent.h>
7157 _ACEOF
7158 if ac_fn_c_try_cpp "$LINENO"; then :
7159 # Broken: success on invalid input.
7160 continue
7161 else
7162 # Passes both tests.
7163 ac_preproc_ok=:
7164 break
7166 rm -f conftest.err conftest.i conftest.$ac_ext
7168 done
7169 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7170 rm -f conftest.i conftest.err conftest.$ac_ext
7171 if $ac_preproc_ok; then :
7173 else
7174 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7176 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7177 See \`config.log' for more details" "$LINENO" 5; }
7180 ac_ext=c
7181 ac_cpp='$CPP $CPPFLAGS'
7182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7188 $as_echo_n "checking for ANSI C header files... " >&6; }
7189 if ${ac_cv_header_stdc+:} false; then :
7190 $as_echo_n "(cached) " >&6
7191 else
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h. */
7194 #include <stdlib.h>
7195 #include <stdarg.h>
7196 #include <string.h>
7197 #include <float.h>
7200 main ()
7204 return 0;
7206 _ACEOF
7207 if ac_fn_c_try_compile "$LINENO"; then :
7208 ac_cv_header_stdc=yes
7209 else
7210 ac_cv_header_stdc=no
7212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7214 if test $ac_cv_header_stdc = yes; then
7215 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7217 /* end confdefs.h. */
7218 #include <string.h>
7220 _ACEOF
7221 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7222 $EGREP "memchr" >/dev/null 2>&1; then :
7224 else
7225 ac_cv_header_stdc=no
7227 rm -f conftest*
7231 if test $ac_cv_header_stdc = yes; then
7232 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7234 /* end confdefs.h. */
7235 #include <stdlib.h>
7237 _ACEOF
7238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7239 $EGREP "free" >/dev/null 2>&1; then :
7241 else
7242 ac_cv_header_stdc=no
7244 rm -f conftest*
7248 if test $ac_cv_header_stdc = yes; then
7249 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7250 if test "$cross_compiling" = yes; then :
7252 else
7253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7254 /* end confdefs.h. */
7255 #include <ctype.h>
7256 #include <stdlib.h>
7257 #if ((' ' & 0x0FF) == 0x020)
7258 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7259 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7260 #else
7261 # define ISLOWER(c) \
7262 (('a' <= (c) && (c) <= 'i') \
7263 || ('j' <= (c) && (c) <= 'r') \
7264 || ('s' <= (c) && (c) <= 'z'))
7265 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7266 #endif
7268 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7270 main ()
7272 int i;
7273 for (i = 0; i < 256; i++)
7274 if (XOR (islower (i), ISLOWER (i))
7275 || toupper (i) != TOUPPER (i))
7276 return 2;
7277 return 0;
7279 _ACEOF
7280 if ac_fn_c_try_run "$LINENO"; then :
7282 else
7283 ac_cv_header_stdc=no
7285 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7286 conftest.$ac_objext conftest.beam conftest.$ac_ext
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7292 $as_echo "$ac_cv_header_stdc" >&6; }
7293 if test $ac_cv_header_stdc = yes; then
7295 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7299 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7300 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7301 inttypes.h stdint.h unistd.h
7302 do :
7303 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7304 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7306 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7307 cat >>confdefs.h <<_ACEOF
7308 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7309 _ACEOF
7313 done
7316 for ac_header in \
7317 AL/al.h \
7318 ApplicationServices/ApplicationServices.h \
7319 AudioToolbox/AudioConverter.h \
7320 AudioUnit/AudioUnit.h \
7321 AudioUnit/AudioComponent.h \
7322 CL/cl.h \
7323 Carbon/Carbon.h \
7324 CommonCrypto/CommonCryptor.h \
7325 CoreAudio/CoreAudio.h \
7326 CoreServices/CoreServices.h \
7327 DiskArbitration/DiskArbitration.h \
7328 EGL/egl.h \
7329 IOKit/IOKitLib.h \
7330 IOKit/hid/IOHIDLib.h \
7331 OpenAL/al.h \
7332 OpenCL/opencl.h \
7333 QuickTime/ImageCompression.h \
7334 Security/Security.h \
7335 alias.h \
7336 arpa/inet.h \
7337 arpa/nameser.h \
7338 asm/types.h \
7339 asm/user.h \
7340 curses.h \
7341 dirent.h \
7342 dlfcn.h \
7343 elf.h \
7344 float.h \
7345 fnmatch.h \
7346 getopt.h \
7347 gettext-po.h \
7348 grp.h \
7349 gsm.h \
7350 gsm/gsm.h \
7351 ieeefp.h \
7352 inet/mib2.h \
7353 kstat.h \
7354 libproc.h \
7355 link.h \
7356 linux/cdrom.h \
7357 linux/compiler.h \
7358 linux/filter.h \
7359 linux/hdreg.h \
7360 linux/hidraw.h \
7361 linux/input.h \
7362 linux/ioctl.h \
7363 linux/joystick.h \
7364 linux/major.h \
7365 linux/param.h \
7366 linux/serial.h \
7367 linux/types.h \
7368 linux/ucdrom.h \
7369 lwp.h \
7370 mach-o/nlist.h \
7371 mach-o/loader.h \
7372 mach/mach.h \
7373 mach/machine.h \
7374 machine/cpu.h \
7375 machine/limits.h \
7376 machine/sysarch.h \
7377 mntent.h \
7378 ncurses.h \
7379 netdb.h \
7380 netinet/in.h \
7381 netinet/in_systm.h \
7382 netinet/tcp.h \
7383 netinet/tcp_fsm.h \
7384 pcap/pcap.h \
7385 poll.h \
7386 port.h \
7387 pthread.h \
7388 pwd.h \
7389 sched.h \
7390 scsi/scsi.h \
7391 scsi/scsi_ioctl.h \
7392 scsi/sg.h \
7393 stdbool.h \
7394 stdint.h \
7395 stropts.h \
7396 sys/attr.h \
7397 sys/auxv.h \
7398 sys/cdio.h \
7399 sys/elf32.h \
7400 sys/epoll.h \
7401 sys/event.h \
7402 sys/exec_elf.h \
7403 sys/filio.h \
7404 sys/inotify.h \
7405 sys/ioctl.h \
7406 sys/ipc.h \
7407 sys/limits.h \
7408 sys/link.h \
7409 sys/mman.h \
7410 sys/modem.h \
7411 sys/msg.h \
7412 sys/mtio.h \
7413 sys/param.h \
7414 sys/poll.h \
7415 sys/prctl.h \
7416 sys/protosw.h \
7417 sys/ptrace.h \
7418 sys/queue.h \
7419 sys/resource.h \
7420 sys/scsiio.h \
7421 sys/shm.h \
7422 sys/signal.h \
7423 sys/socket.h \
7424 sys/socketvar.h \
7425 sys/sockio.h \
7426 sys/statvfs.h \
7427 sys/strtio.h \
7428 sys/syscall.h \
7429 sys/sysinfo.h \
7430 sys/tihdr.h \
7431 sys/time.h \
7432 sys/timeout.h \
7433 sys/times.h \
7434 sys/uio.h \
7435 sys/user.h \
7436 sys/utsname.h \
7437 sys/vnode.h \
7438 sys/wait.h \
7439 syscall.h \
7440 termios.h \
7441 unistd.h \
7442 utime.h \
7443 valgrind/memcheck.h \
7444 valgrind/valgrind.h \
7445 zlib.h
7447 do :
7448 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7449 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7450 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7451 cat >>confdefs.h <<_ACEOF
7452 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7453 _ACEOF
7457 done
7459 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7460 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7462 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7467 if test $ac_cv_header_sys_mkdev_h = no; then
7468 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7469 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7471 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7478 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7479 if ${ac_cv_header_stat_broken+:} false; then :
7480 $as_echo_n "(cached) " >&6
7481 else
7482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7483 /* end confdefs.h. */
7484 #include <sys/types.h>
7485 #include <sys/stat.h>
7487 #if defined S_ISBLK && defined S_IFDIR
7488 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7489 #endif
7491 #if defined S_ISBLK && defined S_IFCHR
7492 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7493 #endif
7495 #if defined S_ISLNK && defined S_IFREG
7496 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7497 #endif
7499 #if defined S_ISSOCK && defined S_IFREG
7500 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7501 #endif
7503 _ACEOF
7504 if ac_fn_c_try_compile "$LINENO"; then :
7505 ac_cv_header_stat_broken=no
7506 else
7507 ac_cv_header_stat_broken=yes
7509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7512 $as_echo "$ac_cv_header_stat_broken" >&6; }
7513 if test $ac_cv_header_stat_broken = yes; then
7515 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7521 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7522 do :
7523 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7524 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7525 #ifdef HAVE_SYS_PARAM_H
7526 # include <sys/param.h>
7527 #endif
7529 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7530 cat >>confdefs.h <<_ACEOF
7531 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7532 _ACEOF
7536 done
7539 for ac_header in \
7540 netinet/ip.h \
7541 net/if.h \
7542 net/if_arp.h \
7543 net/if_dl.h \
7544 net/if_types.h \
7545 net/route.h \
7546 netinet/if_ether.h \
7547 netinet/if_inarp.h \
7548 netinet/in_pcb.h \
7549 netinet/ip_icmp.h \
7550 netinet/ip_var.h \
7551 netinet/udp.h \
7552 netipx/ipx.h \
7553 sys/un.h \
7555 do :
7556 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7557 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7558 #ifdef HAVE_SYS_SOCKET_H
7559 # include <sys/socket.h>
7560 #endif
7561 #ifdef HAVE_SYS_SOCKETVAR_H
7562 # include <sys/socketvar.h>
7563 #endif
7564 #ifdef HAVE_NET_ROUTE_H
7565 # include <net/route.h>
7566 #endif
7567 #ifdef HAVE_NETINET_IN_H
7568 # include <netinet/in.h>
7569 #endif
7570 #ifdef HAVE_NETINET_IN_SYSTM_H
7571 # include <netinet/in_systm.h>
7572 #endif
7573 #ifdef HAVE_NET_IF_H
7574 # include <net/if.h>
7575 #endif
7576 #ifdef HAVE_NETINET_IP_H
7577 # include <netinet/ip.h>
7578 #endif
7580 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7581 cat >>confdefs.h <<_ACEOF
7582 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7583 _ACEOF
7587 done
7590 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7591 do :
7592 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7593 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7594 #ifdef HAVE_ALIAS_H
7595 # include <alias.h>
7596 #endif
7597 #ifdef HAVE_SYS_SOCKET_H
7598 # include <sys/socket.h>
7599 #endif
7600 #ifdef HAVE_SYS_SOCKETVAR_H
7601 # include <sys/socketvar.h>
7602 #endif
7603 #ifdef HAVE_SYS_TIMEOUT_H
7604 # include <sys/timeout.h>
7605 #endif
7606 #ifdef HAVE_NETINET_IN_H
7607 # include <netinet/in.h>
7608 #endif
7609 #ifdef HAVE_NETINET_IN_SYSTM_H
7610 # include <netinet/in_systm.h>
7611 #endif
7612 #ifdef HAVE_NETINET_IP_H
7613 # include <netinet/ip.h>
7614 #endif
7615 #ifdef HAVE_NETINET_IP_VAR_H
7616 # include <netinet/ip_var.h>
7617 #endif
7618 #ifdef HAVE_NETINET_IP_ICMP_H
7619 # include <netinet/ip_icmp.h>
7620 #endif
7621 #ifdef HAVE_NETINET_UDP_H
7622 # include <netinet/udp.h>
7623 #endif
7624 #ifdef HAVE_NETINET_TCP_H
7625 # include <netinet/tcp.h>
7626 #endif
7627 #ifdef HAVE_NETINET_TCP_TIMER_H
7628 #include <netinet/tcp_timer.h>
7629 #endif
7631 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7632 cat >>confdefs.h <<_ACEOF
7633 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7634 _ACEOF
7638 done
7641 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7642 do :
7643 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7644 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7645 #ifdef HAVE_ASM_TYPES_H
7646 # include <asm/types.h>
7647 #endif
7648 #ifdef HAVE_SYS_SOCKET_H
7649 # include <sys/socket.h>
7650 #endif
7651 #ifdef HAVE_LINUX_TYPES_H
7652 # include <linux/types.h>
7653 #endif
7655 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7656 cat >>confdefs.h <<_ACEOF
7657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7658 _ACEOF
7662 done
7665 for ac_header in mach-o/dyld_images.h
7666 do :
7667 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7668 # include <stdbool.h>
7669 #endif
7670 #ifdef HAVE_STDINT_H
7671 # include <stdint.h>
7672 #endif
7674 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7675 cat >>confdefs.h <<_ACEOF
7676 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7677 _ACEOF
7681 done
7684 for ac_header in resolv.h
7685 do :
7686 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7687 #ifdef HAVE_SYS_SOCKET_H
7688 # include <sys/socket.h>
7689 #endif
7690 #ifdef HAVE_NETINET_IN_H
7691 # include <netinet/in.h>
7692 #endif
7693 #ifdef HAVE_ARPA_NAMESER_H
7694 # include <arpa/nameser.h>
7695 #endif
7697 if test "x$ac_cv_header_resolv_h" = xyes; then :
7698 cat >>confdefs.h <<_ACEOF
7699 #define HAVE_RESOLV_H 1
7700 _ACEOF
7704 done
7707 for ac_header in ifaddrs.h
7708 do :
7709 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7711 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7712 cat >>confdefs.h <<_ACEOF
7713 #define HAVE_IFADDRS_H 1
7714 _ACEOF
7718 done
7721 for ac_header in sys/ucontext.h
7722 do :
7723 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7725 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7726 cat >>confdefs.h <<_ACEOF
7727 #define HAVE_SYS_UCONTEXT_H 1
7728 _ACEOF
7732 done
7735 for ac_header in sys/thr.h
7736 do :
7737 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7738 #ifdef HAVE_SYS_UCONTEXT_H
7739 #include <sys/ucontext.h>
7740 #endif
7742 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7743 cat >>confdefs.h <<_ACEOF
7744 #define HAVE_SYS_THR_H 1
7745 _ACEOF
7749 done
7752 for ac_header in pthread_np.h
7753 do :
7754 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7755 #include <pthread.h>
7756 #endif
7758 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7759 cat >>confdefs.h <<_ACEOF
7760 #define HAVE_PTHREAD_NP_H 1
7761 _ACEOF
7765 done
7768 for ac_header in linux/videodev2.h
7769 do :
7770 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7771 #include <sys/time.h>
7772 #endif
7773 #include <sys/types.h>
7774 #ifdef HAVE_ASM_TYPES_H
7775 #include <asm/types.h>
7776 #endif
7778 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7779 cat >>confdefs.h <<_ACEOF
7780 #define HAVE_LINUX_VIDEODEV2_H 1
7781 _ACEOF
7785 done
7788 for ac_header in libprocstat.h
7789 do :
7790 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7791 #include <sys/param.h>
7792 #endif
7793 #ifdef HAVE_SYS_QUEUE_H
7794 #include <sys/queue.h>
7795 #endif
7796 #ifdef HAVE_SYS_SOCKET_H
7797 #include <sys/socket.h>
7798 #endif
7800 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7801 cat >>confdefs.h <<_ACEOF
7802 #define HAVE_LIBPROCSTAT_H 1
7803 _ACEOF
7807 done
7811 DLLFLAGS="-D_REENTRANT"
7813 LDRPATH_INSTALL=""
7815 LDRPATH_LOCAL=""
7817 LDEXECFLAGS=""
7819 TOP_INSTALL_LIB=""
7821 TOP_INSTALL_DEV=""
7823 WINELOADER_LDFLAGS=""
7825 WINEPRELOADER_LDFLAGS=""
7827 LIBEXT="so"
7828 DLLEXT=".so"
7829 # Extract the first word of "ldd", so it can be a program name with args.
7830 set dummy ldd; ac_word=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7832 $as_echo_n "checking for $ac_word... " >&6; }
7833 if ${ac_cv_path_LDD+:} false; then :
7834 $as_echo_n "(cached) " >&6
7835 else
7836 case $LDD in
7837 [\\/]* | ?:[\\/]*)
7838 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7842 as_dummy="/sbin:/usr/sbin:$PATH"
7843 for as_dir in $as_dummy
7845 IFS=$as_save_IFS
7846 test -z "$as_dir" && as_dir=.
7847 for ac_exec_ext in '' $ac_executable_extensions; do
7848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7849 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7851 break 2
7853 done
7854 done
7855 IFS=$as_save_IFS
7857 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7859 esac
7861 LDD=$ac_cv_path_LDD
7862 if test -n "$LDD"; then
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7864 $as_echo "$LDD" >&6; }
7865 else
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7867 $as_echo "no" >&6; }
7871 if test -n "$ac_tool_prefix"; then
7872 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7873 set dummy ${ac_tool_prefix}otool; ac_word=$2
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7875 $as_echo_n "checking for $ac_word... " >&6; }
7876 if ${ac_cv_prog_OTOOL+:} false; then :
7877 $as_echo_n "(cached) " >&6
7878 else
7879 if test -n "$OTOOL"; then
7880 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7881 else
7882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7883 for as_dir in $PATH
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_prog_OTOOL="${ac_tool_prefix}otool"
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
7899 OTOOL=$ac_cv_prog_OTOOL
7900 if test -n "$OTOOL"; then
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7902 $as_echo "$OTOOL" >&6; }
7903 else
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7905 $as_echo "no" >&6; }
7910 if test -z "$ac_cv_prog_OTOOL"; then
7911 ac_ct_OTOOL=$OTOOL
7912 # Extract the first word of "otool", so it can be a program name with args.
7913 set dummy 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_ac_ct_OTOOL+:} false; then :
7917 $as_echo_n "(cached) " >&6
7918 else
7919 if test -n "$ac_ct_OTOOL"; then
7920 ac_cv_prog_ac_ct_OTOOL="$ac_ct_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_ac_ct_OTOOL="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 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7940 if test -n "$ac_ct_OTOOL"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7942 $as_echo "$ac_ct_OTOOL" >&6; }
7943 else
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 $as_echo "no" >&6; }
7948 if test "x$ac_ct_OTOOL" = x; then
7949 OTOOL="otool"
7950 else
7951 case $cross_compiling:$ac_tool_warned in
7952 yes:)
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7955 ac_tool_warned=yes ;;
7956 esac
7957 OTOOL=$ac_ct_OTOOL
7959 else
7960 OTOOL="$ac_cv_prog_OTOOL"
7963 if test -n "$ac_tool_prefix"; then
7964 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7965 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7967 $as_echo_n "checking for $ac_word... " >&6; }
7968 if ${ac_cv_prog_READELF+:} false; then :
7969 $as_echo_n "(cached) " >&6
7970 else
7971 if test -n "$READELF"; then
7972 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7973 else
7974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7975 for as_dir in $PATH
7977 IFS=$as_save_IFS
7978 test -z "$as_dir" && as_dir=.
7979 for ac_exec_ext in '' $ac_executable_extensions; do
7980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7981 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7983 break 2
7985 done
7986 done
7987 IFS=$as_save_IFS
7991 READELF=$ac_cv_prog_READELF
7992 if test -n "$READELF"; then
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7994 $as_echo "$READELF" >&6; }
7995 else
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7997 $as_echo "no" >&6; }
8002 if test -z "$ac_cv_prog_READELF"; then
8003 ac_ct_READELF=$READELF
8004 # Extract the first word of "readelf", so it can be a program name with args.
8005 set dummy 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_ac_ct_READELF+:} false; then :
8009 $as_echo_n "(cached) " >&6
8010 else
8011 if test -n "$ac_ct_READELF"; then
8012 ac_cv_prog_ac_ct_READELF="$ac_ct_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_ac_ct_READELF="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 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8032 if test -n "$ac_ct_READELF"; then
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8034 $as_echo "$ac_ct_READELF" >&6; }
8035 else
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8037 $as_echo "no" >&6; }
8040 if test "x$ac_ct_READELF" = x; then
8041 READELF="true"
8042 else
8043 case $cross_compiling:$ac_tool_warned in
8044 yes:)
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8047 ac_tool_warned=yes ;;
8048 esac
8049 READELF=$ac_ct_READELF
8051 else
8052 READELF="$ac_cv_prog_READELF"
8055 wine_rules_file=conf$$rules.make
8056 rm -f $wine_rules_file
8057 SUBDIRS=""
8059 DISABLED_SUBDIRS=""
8061 CONFIGURE_TARGETS=""
8064 wine_fn_append_file ()
8066 as_fn_append $1 " \\$as_nl $2"
8069 wine_fn_append_rule ()
8071 $as_echo "$1" >>$wine_rules_file
8074 wine_fn_config_makefile ()
8076 wine_fn_append_file SUBDIRS $1
8077 if eval test \"x\$"$2"\" = x"no"; then :
8078 wine_fn_append_file DISABLED_SUBDIRS $1
8082 wine_fn_config_symlink ()
8084 ac_links=$@
8085 wine_fn_append_rule \
8086 "$ac_links:
8087 @./config.status \$@"
8088 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8091 wine_binary="wine"
8092 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8093 WINELOADER_PROGRAMS="$wine_binary"
8095 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8097 case $host_os in
8098 cygwin*|mingw32*)
8099 if test -n "$ac_tool_prefix"; then
8100 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8101 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8103 $as_echo_n "checking for $ac_word... " >&6; }
8104 if ${ac_cv_prog_DLLTOOL+:} false; then :
8105 $as_echo_n "(cached) " >&6
8106 else
8107 if test -n "$DLLTOOL"; then
8108 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8109 else
8110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8111 for as_dir in $PATH
8113 IFS=$as_save_IFS
8114 test -z "$as_dir" && as_dir=.
8115 for ac_exec_ext in '' $ac_executable_extensions; do
8116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8117 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8119 break 2
8121 done
8122 done
8123 IFS=$as_save_IFS
8127 DLLTOOL=$ac_cv_prog_DLLTOOL
8128 if test -n "$DLLTOOL"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8130 $as_echo "$DLLTOOL" >&6; }
8131 else
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8138 if test -z "$ac_cv_prog_DLLTOOL"; then
8139 ac_ct_DLLTOOL=$DLLTOOL
8140 # Extract the first word of "dlltool", so it can be a program name with args.
8141 set dummy 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_ac_ct_DLLTOOL+:} false; then :
8145 $as_echo_n "(cached) " >&6
8146 else
8147 if test -n "$ac_ct_DLLTOOL"; then
8148 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_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_ac_ct_DLLTOOL="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 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8168 if test -n "$ac_ct_DLLTOOL"; then
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8170 $as_echo "$ac_ct_DLLTOOL" >&6; }
8171 else
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8173 $as_echo "no" >&6; }
8176 if test "x$ac_ct_DLLTOOL" = x; then
8177 DLLTOOL="false"
8178 else
8179 case $cross_compiling:$ac_tool_warned in
8180 yes:)
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8183 ac_tool_warned=yes ;;
8184 esac
8185 DLLTOOL=$ac_ct_DLLTOOL
8187 else
8188 DLLTOOL="$ac_cv_prog_DLLTOOL"
8191 LIBEXT="dll"
8192 DLLEXT=""
8193 enable_iphlpapi=${enable_iphlpapi:-no}
8194 enable_kernel32=${enable_kernel32:-no}
8195 enable_ntdll=${enable_ntdll:-no}
8196 enable_ws2_32=${enable_ws2_32:-no}
8197 enable_loader=${enable_loader:-no}
8198 enable_server=${enable_server:-no}
8199 with_x=${with_x:-no}
8200 with_pthread=${with_pthread:-no}
8203 darwin*|macosx*)
8204 for ac_header in libunwind.h
8205 do :
8206 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8208 cat >>confdefs.h <<_ACEOF
8209 #define HAVE_LIBUNWIND_H 1
8210 _ACEOF
8214 done
8216 ac_ext=m
8217 ac_cpp='$OBJCPP $CPPFLAGS'
8218 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8219 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8220 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8222 ac_ext=m
8223 ac_cpp='$OBJCPP $CPPFLAGS'
8224 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8225 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8226 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8227 if test -n "$ac_tool_prefix"; then
8228 for ac_prog in gcc objcc objc cc CC
8230 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8231 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8233 $as_echo_n "checking for $ac_word... " >&6; }
8234 if ${ac_cv_prog_OBJC+:} false; then :
8235 $as_echo_n "(cached) " >&6
8236 else
8237 if test -n "$OBJC"; then
8238 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8239 else
8240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8241 for as_dir in $PATH
8243 IFS=$as_save_IFS
8244 test -z "$as_dir" && as_dir=.
8245 for ac_exec_ext in '' $ac_executable_extensions; do
8246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8247 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8249 break 2
8251 done
8252 done
8253 IFS=$as_save_IFS
8257 OBJC=$ac_cv_prog_OBJC
8258 if test -n "$OBJC"; then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8260 $as_echo "$OBJC" >&6; }
8261 else
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263 $as_echo "no" >&6; }
8267 test -n "$OBJC" && break
8268 done
8270 if test -z "$OBJC"; then
8271 ac_ct_OBJC=$OBJC
8272 for ac_prog in gcc objcc objc cc CC
8274 # Extract the first word of "$ac_prog", so it can be a program name with args.
8275 set dummy $ac_prog; ac_word=$2
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8277 $as_echo_n "checking for $ac_word... " >&6; }
8278 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8279 $as_echo_n "(cached) " >&6
8280 else
8281 if test -n "$ac_ct_OBJC"; then
8282 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8283 else
8284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8285 for as_dir in $PATH
8287 IFS=$as_save_IFS
8288 test -z "$as_dir" && as_dir=.
8289 for ac_exec_ext in '' $ac_executable_extensions; do
8290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8291 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8293 break 2
8295 done
8296 done
8297 IFS=$as_save_IFS
8301 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8302 if test -n "$ac_ct_OBJC"; then
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8304 $as_echo "$ac_ct_OBJC" >&6; }
8305 else
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8307 $as_echo "no" >&6; }
8311 test -n "$ac_ct_OBJC" && break
8312 done
8314 if test "x$ac_ct_OBJC" = x; then
8315 OBJC="gcc"
8316 else
8317 case $cross_compiling:$ac_tool_warned in
8318 yes:)
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8321 ac_tool_warned=yes ;;
8322 esac
8323 OBJC=$ac_ct_OBJC
8327 # Provide some information about the compiler.
8328 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8329 set X $ac_compile
8330 ac_compiler=$2
8331 for ac_option in --version -v -V -qversion; do
8332 { { ac_try="$ac_compiler $ac_option >&5"
8333 case "(($ac_try" in
8334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8335 *) ac_try_echo=$ac_try;;
8336 esac
8337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8338 $as_echo "$ac_try_echo"; } >&5
8339 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8340 ac_status=$?
8341 if test -s conftest.err; then
8342 sed '10a\
8343 ... rest of stderr output deleted ...
8344 10q' conftest.err >conftest.er1
8345 cat conftest.er1 >&5
8347 rm -f conftest.er1 conftest.err
8348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8349 test $ac_status = 0; }
8350 done
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8353 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8354 if ${ac_cv_objc_compiler_gnu+:} false; then :
8355 $as_echo_n "(cached) " >&6
8356 else
8357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8358 /* end confdefs.h. */
8361 main ()
8363 #ifndef __GNUC__
8364 choke me
8365 #endif
8368 return 0;
8370 _ACEOF
8371 if ac_fn_objc_try_compile "$LINENO"; then :
8372 ac_compiler_gnu=yes
8373 else
8374 ac_compiler_gnu=no
8376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8377 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8381 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8382 if test $ac_compiler_gnu = yes; then
8383 GOBJC=yes
8384 else
8385 GOBJC=
8387 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8388 ac_save_OBJCFLAGS=$OBJCFLAGS
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8390 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8391 if ${ac_cv_prog_objc_g+:} false; then :
8392 $as_echo_n "(cached) " >&6
8393 else
8394 ac_save_objc_werror_flag=$ac_objc_werror_flag
8395 ac_objc_werror_flag=yes
8396 ac_cv_prog_objc_g=no
8397 OBJCFLAGS="-g"
8398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8402 main ()
8406 return 0;
8408 _ACEOF
8409 if ac_fn_objc_try_compile "$LINENO"; then :
8410 ac_cv_prog_objc_g=yes
8411 else
8412 OBJCFLAGS=""
8413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8414 /* end confdefs.h. */
8417 main ()
8421 return 0;
8423 _ACEOF
8424 if ac_fn_objc_try_compile "$LINENO"; then :
8426 else
8427 ac_objc_werror_flag=$ac_save_objc_werror_flag
8428 OBJCFLAGS="-g"
8429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8430 /* end confdefs.h. */
8433 main ()
8437 return 0;
8439 _ACEOF
8440 if ac_fn_objc_try_compile "$LINENO"; then :
8441 ac_cv_prog_objc_g=yes
8443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8448 ac_objc_werror_flag=$ac_save_objc_werror_flag
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8451 $as_echo "$ac_cv_prog_objc_g" >&6; }
8452 if test "$ac_test_OBJCFLAGS" = set; then
8453 OBJCFLAGS=$ac_save_OBJCFLAGS
8454 elif test $ac_cv_prog_objc_g = yes; then
8455 if test "$GOBJC" = yes; then
8456 OBJCFLAGS="-g -O2"
8457 else
8458 OBJCFLAGS="-g"
8460 else
8461 if test "$GOBJC" = yes; then
8462 OBJCFLAGS="-O2"
8463 else
8464 OBJCFLAGS=
8467 ac_ext=m
8468 ac_cpp='$OBJCPP $CPPFLAGS'
8469 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8470 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8471 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8474 ac_ext=m
8475 ac_cpp='$OBJCPP $CPPFLAGS'
8476 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8477 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8478 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8480 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8481 if test -z "$OBJCPP"; then
8482 if ${ac_cv_prog_OBJCPP+:} false; then :
8483 $as_echo_n "(cached) " >&6
8484 else
8485 # Double quotes because OBJCPP needs to be expanded
8486 for OBJCPP in "$OBJC -E" "/lib/cpp"
8488 ac_preproc_ok=false
8489 for ac_objc_preproc_warn_flag in '' yes
8491 # Use a header file that comes with gcc, so configuring glibc
8492 # with a fresh cross-compiler works.
8493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8494 # <limits.h> exists even on freestanding compilers.
8495 # On the NeXT, cc -E runs the code through the compiler's parser,
8496 # not just through cpp. "Syntax error" is here to catch this case.
8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h. */
8499 #ifdef __STDC__
8500 # include <limits.h>
8501 #else
8502 # include <assert.h>
8503 #endif
8504 Syntax error
8505 _ACEOF
8506 if ac_fn_objc_try_cpp "$LINENO"; then :
8508 else
8509 # Broken: fails on valid input.
8510 continue
8512 rm -f conftest.err conftest.i conftest.$ac_ext
8514 # OK, works on sane cases. Now check whether nonexistent headers
8515 # can be detected and how.
8516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8518 #include <ac_nonexistent.h>
8519 _ACEOF
8520 if ac_fn_objc_try_cpp "$LINENO"; then :
8521 # Broken: success on invalid input.
8522 continue
8523 else
8524 # Passes both tests.
8525 ac_preproc_ok=:
8526 break
8528 rm -f conftest.err conftest.i conftest.$ac_ext
8530 done
8531 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8532 rm -f conftest.i conftest.err conftest.$ac_ext
8533 if $ac_preproc_ok; then :
8534 break
8537 done
8538 ac_cv_prog_OBJCPP=$OBJCPP
8541 OBJCPP=$ac_cv_prog_OBJCPP
8542 else
8543 ac_cv_prog_OBJCPP=$OBJCPP
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8546 $as_echo "$OBJCPP" >&6; }
8547 ac_preproc_ok=false
8548 for ac_objc_preproc_warn_flag in '' yes
8550 # Use a header file that comes with gcc, so configuring glibc
8551 # with a fresh cross-compiler works.
8552 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8553 # <limits.h> exists even on freestanding compilers.
8554 # On the NeXT, cc -E runs the code through the compiler's parser,
8555 # not just through cpp. "Syntax error" is here to catch this case.
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8558 #ifdef __STDC__
8559 # include <limits.h>
8560 #else
8561 # include <assert.h>
8562 #endif
8563 Syntax error
8564 _ACEOF
8565 if ac_fn_objc_try_cpp "$LINENO"; then :
8567 else
8568 # Broken: fails on valid input.
8569 continue
8571 rm -f conftest.err conftest.i conftest.$ac_ext
8573 # OK, works on sane cases. Now check whether nonexistent headers
8574 # can be detected and how.
8575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8576 /* end confdefs.h. */
8577 #include <ac_nonexistent.h>
8578 _ACEOF
8579 if ac_fn_objc_try_cpp "$LINENO"; then :
8580 # Broken: success on invalid input.
8581 continue
8582 else
8583 # Passes both tests.
8584 ac_preproc_ok=:
8585 break
8587 rm -f conftest.err conftest.i conftest.$ac_ext
8589 done
8590 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8591 rm -f conftest.i conftest.err conftest.$ac_ext
8592 if $ac_preproc_ok; then :
8594 else
8595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8597 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8598 See \`config.log' for more details" "$LINENO" 5; }
8601 ac_ext=m
8602 ac_cpp='$OBJCPP $CPPFLAGS'
8603 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8604 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8605 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8608 for ac_header in Metal/Metal.h
8609 do :
8610 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8611 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8612 cat >>confdefs.h <<_ACEOF
8613 #define HAVE_METAL_METAL_H 1
8614 _ACEOF
8618 done
8620 ac_ext=c
8621 ac_cpp='$CPP $CPPFLAGS'
8622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8626 LIBEXT="dylib"
8627 DLLFLAGS="$DLLFLAGS -fPIC"
8628 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8629 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8630 COREFOUNDATION_LIBS="-framework CoreFoundation"
8632 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8634 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8636 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8638 CORESERVICES_LIBS="-framework CoreServices"
8640 APPKIT_LIBS="-framework AppKit"
8643 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8645 wine_can_build_preloader=yes
8646 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8648 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8649 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8650 $as_echo_n "(cached) " >&6
8651 else
8652 ac_wine_try_cflags_saved=$CFLAGS
8653 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8655 /* end confdefs.h. */
8656 int main(int argc, char **argv) { return 0; }
8657 _ACEOF
8658 if ac_fn_c_try_link "$LINENO"; then :
8659 ac_cv_cflags__Wl__no_new_main__e__main=yes
8660 else
8661 ac_cv_cflags__Wl__no_new_main__e__main=no
8663 rm -f core conftest.err conftest.$ac_objext \
8664 conftest$ac_exeext conftest.$ac_ext
8665 CFLAGS=$ac_wine_try_cflags_saved
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8668 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8669 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8670 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8672 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8673 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8674 $as_echo_n "(cached) " >&6
8675 else
8676 ac_wine_try_cflags_saved=$CFLAGS
8677 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8679 /* end confdefs.h. */
8680 int main(int argc, char **argv) { return 0; }
8681 _ACEOF
8682 if ac_fn_c_try_link "$LINENO"; then :
8683 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8684 else
8685 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8687 rm -f core conftest.err conftest.$ac_objext \
8688 conftest$ac_exeext conftest.$ac_ext
8689 CFLAGS=$ac_wine_try_cflags_saved
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8692 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8693 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8694 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8695 else
8696 { $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
8697 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8698 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8699 $as_echo_n "(cached) " >&6
8700 else
8701 ac_wine_try_cflags_saved=$CFLAGS
8702 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8704 /* end confdefs.h. */
8705 int main(int argc, char **argv) { return 0; }
8706 _ACEOF
8707 if ac_fn_c_try_link "$LINENO"; then :
8708 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8709 else
8710 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8712 rm -f core conftest.err conftest.$ac_objext \
8713 conftest$ac_exeext conftest.$ac_ext
8714 CFLAGS=$ac_wine_try_cflags_saved
8716 { $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
8717 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8718 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8719 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8720 else
8721 wine_can_build_preloader=no
8724 else
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8726 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8727 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8728 $as_echo_n "(cached) " >&6
8729 else
8730 ac_wine_try_cflags_saved=$CFLAGS
8731 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8733 /* end confdefs.h. */
8734 int main(int argc, char **argv) { return 0; }
8735 _ACEOF
8736 if ac_fn_c_try_link "$LINENO"; then :
8737 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8738 else
8739 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8741 rm -f core conftest.err conftest.$ac_objext \
8742 conftest$ac_exeext conftest.$ac_ext
8743 CFLAGS=$ac_wine_try_cflags_saved
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8746 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8747 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8748 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8749 else
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8751 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8752 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8753 $as_echo_n "(cached) " >&6
8754 else
8755 ac_wine_try_cflags_saved=$CFLAGS
8756 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8758 /* end confdefs.h. */
8759 int main(int argc, char **argv) { return 0; }
8760 _ACEOF
8761 if ac_fn_c_try_link "$LINENO"; then :
8762 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8763 else
8764 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8766 rm -f core conftest.err conftest.$ac_objext \
8767 conftest$ac_exeext conftest.$ac_ext
8768 CFLAGS=$ac_wine_try_cflags_saved
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8771 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8772 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8773 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8774 else
8775 wine_can_build_preloader=no
8779 if test "$wine_can_build_preloader" = "yes"
8780 then
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8782 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8783 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8784 $as_echo_n "(cached) " >&6
8785 else
8786 ac_wine_try_cflags_saved=$CFLAGS
8787 CFLAGS="$CFLAGS -Wl,-no_pie"
8788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8789 /* end confdefs.h. */
8790 int main(int argc, char **argv) { return 0; }
8791 _ACEOF
8792 if ac_fn_c_try_link "$LINENO"; then :
8793 ac_cv_cflags__Wl__no_pie=yes
8794 else
8795 ac_cv_cflags__Wl__no_pie=no
8797 rm -f core conftest.err conftest.$ac_objext \
8798 conftest$ac_exeext conftest.$ac_ext
8799 CFLAGS=$ac_wine_try_cflags_saved
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8802 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8803 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8804 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8806 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8807 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8808 else
8809 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8812 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8813 then
8814 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8817 if test "$ac_cv_header_Security_Security_h" = "yes"
8818 then
8819 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8821 ac_save_LIBS="$LIBS"
8822 LIBS="$LIBS $SECURITY_LIBS"
8823 for ac_func in SSLCopyPeerCertificates
8824 do :
8825 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8826 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8827 cat >>confdefs.h <<_ACEOF
8828 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8829 _ACEOF
8832 done
8834 LIBS="$ac_save_LIBS"
8836 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8837 then
8838 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8839 then
8840 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8842 else
8843 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8846 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8847 ac_save_LIBS="$LIBS"
8848 LIBS="$LIBS $COREAUDIO_LIBS"
8849 for ac_func in AUGraphAddNode
8850 do :
8851 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8852 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8853 cat >>confdefs.h <<_ACEOF
8854 #define HAVE_AUGRAPHADDNODE 1
8855 _ACEOF
8858 done
8860 LIBS="$ac_save_LIBS"
8862 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8863 then
8864 OPENAL_LIBS="-framework OpenAL"
8867 cat >>confdefs.h <<_ACEOF
8868 #define HAVE_OPENAL 1
8869 _ACEOF
8871 ac_cv_lib_openal=yes
8873 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8874 then
8875 OPENCL_LIBS="-framework OpenCL"
8877 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8879 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8880 then
8881 ac_save_LIBS="$LIBS"
8882 LIBS="$LIBS $IOKIT_LIBS"
8883 for ac_func in IOHIDManagerCreate
8884 do :
8885 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8886 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8887 cat >>confdefs.h <<_ACEOF
8888 #define HAVE_IOHIDMANAGERCREATE 1
8889 _ACEOF
8892 done
8894 LIBS="$ac_save_LIBS"
8896 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8897 then
8898 ac_save_LIBS="$LIBS"
8899 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8901 $as_echo_n "checking for the QuickTime framework... " >&6; }
8902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8903 /* end confdefs.h. */
8904 #include <QuickTime/ImageCompression.h>
8906 main ()
8908 CodecManagerVersion(NULL);
8910 return 0;
8912 _ACEOF
8913 if ac_fn_c_try_link "$LINENO"; then :
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8915 $as_echo "yes" >&6; }
8916 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8918 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8919 else
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8921 $as_echo "no" >&6; }
8922 ac_cv_header_QuickTime_ImageCompression_h=no
8924 rm -f core conftest.err conftest.$ac_objext \
8925 conftest$ac_exeext conftest.$ac_ext
8926 LIBS="$ac_save_LIBS"
8928 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8929 then
8930 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8932 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8933 then
8934 CARBON_LIBS="-framework Carbon"
8937 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8938 then
8939 METAL_LIBS="-framework Metal -framework QuartzCore"
8943 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8944 then
8945 ac_save_LIBS="$LIBS"
8946 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8947 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8948 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8949 enable_winemac_drv=${enable_winemac_drv:-yes}
8952 LIBS="$ac_save_LIBS"
8955 if test "x$enable_win16" = "xyes"
8956 then
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8958 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8959 if test "$cross_compiling" = yes; then :
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8961 $as_echo "cross-compiling, assuming yes" >&6; }
8962 else
8963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8964 /* end confdefs.h. */
8965 asm(".text\n"
8966 "bad:\tnop;nop\n"
8967 "good:\tnop;nop\n\t"
8968 ".globl _testfunc\n"
8969 "_testfunc:\tcallw good");
8970 extern void testfunc();
8972 main ()
8974 unsigned short *p = (unsigned short *)testfunc;
8975 return p[0] != 0xe866 || p[1] != 0xfffa
8977 return 0;
8979 _ACEOF
8980 if ac_fn_c_try_run "$LINENO"; then :
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8982 $as_echo "yes" >&6; }
8983 else
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8985 $as_echo "no" >&6; }
8986 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
8988 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8989 conftest.$ac_objext conftest.beam conftest.$ac_ext
8994 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8996 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8998 WINELOADER_DEPENDS="wine_info.plist"
9000 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9001 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9004 linux-android*)
9005 DLLFLAGS="$DLLFLAGS -fPIC"
9006 LDEXECFLAGS="-Wl,-pie"
9007 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9009 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9010 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9011 $as_echo_n "(cached) " >&6
9012 else
9013 ac_wine_try_cflags_saved=$CFLAGS
9014 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9016 /* end confdefs.h. */
9017 int main(int argc, char **argv) { return 0; }
9018 _ACEOF
9019 if ac_fn_c_try_link "$LINENO"; then :
9020 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9021 else
9022 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9024 rm -f core conftest.err conftest.$ac_objext \
9025 conftest$ac_exeext conftest.$ac_ext
9026 CFLAGS=$ac_wine_try_cflags_saved
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9029 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9030 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9031 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9033 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9034 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9036 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9037 if eval \${$as_ac_var+:} false; then :
9038 $as_echo_n "(cached) " >&6
9039 else
9040 ac_wine_try_cflags_saved=$CFLAGS
9041 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9043 /* end confdefs.h. */
9044 int main(int argc, char **argv) { return 0; }
9045 _ACEOF
9046 if ac_fn_c_try_link "$LINENO"; then :
9047 eval "$as_ac_var=yes"
9048 else
9049 eval "$as_ac_var=no"
9051 rm -f core conftest.err conftest.$ac_objext \
9052 conftest$ac_exeext conftest.$ac_ext
9053 CFLAGS=$ac_wine_try_cflags_saved
9055 eval ac_res=\$$as_ac_var
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9057 $as_echo "$ac_res" >&6; }
9058 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9059 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9060 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9061 else
9062 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9064 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9065 if eval \${$as_ac_var+:} false; then :
9066 $as_echo_n "(cached) " >&6
9067 else
9068 ac_wine_try_cflags_saved=$CFLAGS
9069 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 int main(int argc, char **argv) { return 0; }
9073 _ACEOF
9074 if ac_fn_c_try_link "$LINENO"; then :
9075 eval "$as_ac_var=yes"
9076 else
9077 eval "$as_ac_var=no"
9079 rm -f core conftest.err conftest.$ac_objext \
9080 conftest$ac_exeext conftest.$ac_ext
9081 CFLAGS=$ac_wine_try_cflags_saved
9083 eval ac_res=\$$as_ac_var
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9085 $as_echo "$ac_res" >&6; }
9086 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9087 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9088 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9092 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9093 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9094 $as_echo_n "(cached) " >&6
9095 else
9096 ac_wine_try_cflags_saved=$CFLAGS
9097 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9099 /* end confdefs.h. */
9100 int main(int argc, char **argv) { return 0; }
9101 _ACEOF
9102 if ac_fn_c_try_link "$LINENO"; then :
9103 ac_cv_cflags__Wl___enable_new_dtags=yes
9104 else
9105 ac_cv_cflags__Wl___enable_new_dtags=no
9107 rm -f core conftest.err conftest.$ac_objext \
9108 conftest$ac_exeext conftest.$ac_ext
9109 CFLAGS=$ac_wine_try_cflags_saved
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9112 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9113 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9114 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9117 LIBWINE_SHAREDLIB="libwine.so"
9119 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9121 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9124 $as_echo_n "checking for -lEGL... " >&6; }
9125 if ${ac_cv_lib_soname_EGL+:} false; then :
9126 $as_echo_n "(cached) " >&6
9127 else
9128 ac_check_soname_save_LIBS=$LIBS
9129 LIBS="-lEGL $LIBS"
9130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9131 /* end confdefs.h. */
9133 /* Override any GCC internal prototype to avoid an error.
9134 Use char because int might match the return type of a GCC
9135 builtin and then its argument prototype would still apply. */
9136 #ifdef __cplusplus
9137 extern "C"
9138 #endif
9139 char eglGetProcAddress ();
9141 main ()
9143 return eglGetProcAddress ();
9145 return 0;
9147 _ACEOF
9148 if ac_fn_c_try_link "$LINENO"; then :
9149 case "$LIBEXT" in
9150 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9151 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'` ;;
9152 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9153 if ${ac_cv_lib_soname_EGL:+false} :; then :
9154 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9155 fi ;;
9156 esac
9157 else
9158 ac_cv_lib_soname_EGL=
9160 rm -f core conftest.err conftest.$ac_objext \
9161 conftest$ac_exeext conftest.$ac_ext
9162 LIBS=$ac_check_soname_save_LIBS
9164 if ${ac_cv_lib_soname_EGL:+false} :; then :
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9166 $as_echo "not found" >&6; }
9168 else
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9170 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9172 cat >>confdefs.h <<_ACEOF
9173 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9174 _ACEOF
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9179 $as_echo_n "checking for -lGLESv2... " >&6; }
9180 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9181 $as_echo_n "(cached) " >&6
9182 else
9183 ac_check_soname_save_LIBS=$LIBS
9184 LIBS="-lGLESv2 $LIBS"
9185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9188 /* Override any GCC internal prototype to avoid an error.
9189 Use char because int might match the return type of a GCC
9190 builtin and then its argument prototype would still apply. */
9191 #ifdef __cplusplus
9192 extern "C"
9193 #endif
9194 char glFlush ();
9196 main ()
9198 return glFlush ();
9200 return 0;
9202 _ACEOF
9203 if ac_fn_c_try_link "$LINENO"; then :
9204 case "$LIBEXT" in
9205 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9206 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'` ;;
9207 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9208 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9209 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9210 fi ;;
9211 esac
9212 else
9213 ac_cv_lib_soname_GLESv2=
9215 rm -f core conftest.err conftest.$ac_objext \
9216 conftest$ac_exeext conftest.$ac_ext
9217 LIBS=$ac_check_soname_save_LIBS
9219 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9221 $as_echo "not found" >&6; }
9223 else
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9225 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9227 cat >>confdefs.h <<_ACEOF
9228 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9229 _ACEOF
9234 if test "x$exec_prefix" = xNONE
9235 then
9236 case $host_cpu in
9237 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9238 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9239 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9240 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9241 esac
9246 DLLFLAGS="$DLLFLAGS -fPIC"
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9248 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9249 if ${ac_cv_c_dll_gnuelf+:} false; then :
9250 $as_echo_n "(cached) " >&6
9251 else
9252 ac_wine_try_cflags_saved=$CFLAGS
9253 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9255 /* end confdefs.h. */
9256 void myfunc() {}
9257 _ACEOF
9258 if ac_fn_c_try_link "$LINENO"; then :
9259 ac_cv_c_dll_gnuelf="yes"
9260 else
9261 ac_cv_c_dll_gnuelf="no"
9263 rm -f core conftest.err conftest.$ac_objext \
9264 conftest$ac_exeext conftest.$ac_ext
9265 CFLAGS=$ac_wine_try_cflags_saved
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9268 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9269 if test "$ac_cv_c_dll_gnuelf" = "yes"
9270 then
9271 LIBWINE_LDFLAGS="-shared"
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9273 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9274 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9275 $as_echo_n "(cached) " >&6
9276 else
9277 ac_wine_try_cflags_saved=$CFLAGS
9278 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9280 /* end confdefs.h. */
9281 int main(int argc, char **argv) { return 0; }
9282 _ACEOF
9283 if ac_fn_c_try_link "$LINENO"; then :
9284 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9285 else
9286 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9288 rm -f core conftest.err conftest.$ac_objext \
9289 conftest$ac_exeext conftest.$ac_ext
9290 CFLAGS=$ac_wine_try_cflags_saved
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9293 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9294 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9295 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9296 else
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9298 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9299 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9300 $as_echo_n "(cached) " >&6
9301 else
9302 ac_wine_try_cflags_saved=$CFLAGS
9303 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9305 /* end confdefs.h. */
9306 int main(int argc, char **argv) { return 0; }
9307 _ACEOF
9308 if ac_fn_c_try_link "$LINENO"; then :
9309 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9310 else
9311 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9313 rm -f core conftest.err conftest.$ac_objext \
9314 conftest$ac_exeext conftest.$ac_ext
9315 CFLAGS=$ac_wine_try_cflags_saved
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9318 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9319 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9320 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9324 echo '{ global: *; };' >conftest.map
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9326 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9327 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9328 $as_echo_n "(cached) " >&6
9329 else
9330 ac_wine_try_cflags_saved=$CFLAGS
9331 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9333 /* end confdefs.h. */
9334 int main(int argc, char **argv) { return 0; }
9335 _ACEOF
9336 if ac_fn_c_try_link "$LINENO"; then :
9337 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9338 else
9339 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9341 rm -f core conftest.err conftest.$ac_objext \
9342 conftest$ac_exeext conftest.$ac_ext
9343 CFLAGS=$ac_wine_try_cflags_saved
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9346 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9347 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9348 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9350 rm -f conftest.map
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9353 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9354 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9355 $as_echo_n "(cached) " >&6
9356 else
9357 ac_wine_try_cflags_saved=$CFLAGS
9358 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9360 /* end confdefs.h. */
9361 int main(int argc, char **argv) { return 0; }
9362 _ACEOF
9363 if ac_fn_c_try_link "$LINENO"; then :
9364 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9365 else
9366 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9368 rm -f core conftest.err conftest.$ac_objext \
9369 conftest$ac_exeext conftest.$ac_ext
9370 CFLAGS=$ac_wine_try_cflags_saved
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9373 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9374 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9375 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9377 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9379 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9381 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9382 if eval \${$as_ac_var+:} false; then :
9383 $as_echo_n "(cached) " >&6
9384 else
9385 ac_wine_try_cflags_saved=$CFLAGS
9386 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9388 /* end confdefs.h. */
9389 int main(int argc, char **argv) { return 0; }
9390 _ACEOF
9391 if ac_fn_c_try_link "$LINENO"; then :
9392 eval "$as_ac_var=yes"
9393 else
9394 eval "$as_ac_var=no"
9396 rm -f core conftest.err conftest.$ac_objext \
9397 conftest$ac_exeext conftest.$ac_ext
9398 CFLAGS=$ac_wine_try_cflags_saved
9400 eval ac_res=\$$as_ac_var
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9402 $as_echo "$ac_res" >&6; }
9403 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9404 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9405 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9406 else
9407 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9409 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9410 if eval \${$as_ac_var+:} false; then :
9411 $as_echo_n "(cached) " >&6
9412 else
9413 ac_wine_try_cflags_saved=$CFLAGS
9414 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9417 int main(int argc, char **argv) { return 0; }
9418 _ACEOF
9419 if ac_fn_c_try_link "$LINENO"; then :
9420 eval "$as_ac_var=yes"
9421 else
9422 eval "$as_ac_var=no"
9424 rm -f core conftest.err conftest.$ac_objext \
9425 conftest$ac_exeext conftest.$ac_ext
9426 CFLAGS=$ac_wine_try_cflags_saved
9428 eval ac_res=\$$as_ac_var
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9430 $as_echo "$ac_res" >&6; }
9431 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9432 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9433 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9438 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9439 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9440 $as_echo_n "(cached) " >&6
9441 else
9442 ac_wine_try_cflags_saved=$CFLAGS
9443 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9445 /* end confdefs.h. */
9446 int main(int argc, char **argv) { return 0; }
9447 _ACEOF
9448 if ac_fn_c_try_link "$LINENO"; then :
9449 ac_cv_cflags__Wl___enable_new_dtags=yes
9450 else
9451 ac_cv_cflags__Wl___enable_new_dtags=no
9453 rm -f core conftest.err conftest.$ac_objext \
9454 conftest$ac_exeext conftest.$ac_ext
9455 CFLAGS=$ac_wine_try_cflags_saved
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9458 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9459 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9460 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9463 case $host_cpu in
9464 *i[3456789]86* | x86_64 | *aarch64*)
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9466 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9467 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9468 $as_echo_n "(cached) " >&6
9469 else
9470 ac_wine_try_cflags_saved=$CFLAGS
9471 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9473 /* end confdefs.h. */
9474 int main(int argc, char **argv) { return 0; }
9475 _ACEOF
9476 if ac_fn_c_try_link "$LINENO"; then :
9477 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9478 else
9479 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9481 rm -f core conftest.err conftest.$ac_objext \
9482 conftest$ac_exeext conftest.$ac_ext
9483 CFLAGS=$ac_wine_try_cflags_saved
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9486 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9487 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9488 case $host_os in
9489 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9490 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9491 esac
9492 else
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9494 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9495 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9496 $as_echo_n "(cached) " >&6
9497 else
9498 ac_wine_try_cflags_saved=$CFLAGS
9499 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9501 /* end confdefs.h. */
9502 int main(int argc, char **argv) { return 0; }
9503 _ACEOF
9504 if ac_fn_c_try_link "$LINENO"; then :
9505 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9506 else
9507 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9509 rm -f core conftest.err conftest.$ac_objext \
9510 conftest$ac_exeext conftest.$ac_ext
9511 CFLAGS=$ac_wine_try_cflags_saved
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9514 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9515 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9516 case $host_os in
9517 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9518 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9519 esac
9521 # Extract the first word of "prelink", so it can be a program name with args.
9522 set dummy prelink; ac_word=$2
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9524 $as_echo_n "checking for $ac_word... " >&6; }
9525 if ${ac_cv_path_PRELINK+:} false; then :
9526 $as_echo_n "(cached) " >&6
9527 else
9528 case $PRELINK in
9529 [\\/]* | ?:[\\/]*)
9530 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9534 for as_dir in /sbin /usr/sbin $PATH
9536 IFS=$as_save_IFS
9537 test -z "$as_dir" && as_dir=.
9538 for ac_exec_ext in '' $ac_executable_extensions; do
9539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9540 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9542 break 2
9544 done
9545 done
9546 IFS=$as_save_IFS
9548 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9550 esac
9552 PRELINK=$ac_cv_path_PRELINK
9553 if test -n "$PRELINK"; then
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9555 $as_echo "$PRELINK" >&6; }
9556 else
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9558 $as_echo "no" >&6; }
9562 if test "x$PRELINK" = xfalse
9563 then
9564 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9568 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9569 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9570 $as_echo_n "(cached) " >&6
9571 else
9572 ac_wine_try_cflags_saved=$CFLAGS
9573 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9575 /* end confdefs.h. */
9576 int main(int argc, char **argv) { return 0; }
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9579 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9580 else
9581 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9583 rm -f core conftest.err conftest.$ac_objext \
9584 conftest$ac_exeext conftest.$ac_ext
9585 CFLAGS=$ac_wine_try_cflags_saved
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9588 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9589 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9590 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9593 esac
9595 else
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9597 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9598 if ${ac_cv_c_dll_unixware+:} false; then :
9599 $as_echo_n "(cached) " >&6
9600 else
9601 ac_wine_try_cflags_saved=$CFLAGS
9602 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9604 /* end confdefs.h. */
9605 void myfunc() {}
9606 _ACEOF
9607 if ac_fn_c_try_link "$LINENO"; then :
9608 ac_cv_c_dll_unixware="yes"
9609 else
9610 ac_cv_c_dll_unixware="no"
9612 rm -f core conftest.err conftest.$ac_objext \
9613 conftest$ac_exeext conftest.$ac_ext
9614 CFLAGS=$ac_wine_try_cflags_saved
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9617 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9618 if test "$ac_cv_c_dll_unixware" = "yes"
9619 then
9620 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9623 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9625 LIBWINE_DEPENDS="wine.map"
9627 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9628 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9630 esac
9632 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9633 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9634 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9635 enable_winemac_drv=${enable_winemac_drv:-no}
9636 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9638 CROSSTARGET=""
9640 if test "x$with_mingw" != xno
9641 then
9642 case "x$with_mingw" in
9643 x|xyes) case "$host_cpu" in
9644 aarch64*)
9645 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9646 arm*)
9647 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9648 i[3456789]86*)
9649 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
9650 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9651 mingw32-gcc" ;;
9652 x86_64)
9653 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
9654 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9656 ac_prefix_list="" ;;
9657 esac
9658 for ac_prog in $ac_prefix_list
9660 # Extract the first word of "$ac_prog", so it can be a program name with args.
9661 set dummy $ac_prog; ac_word=$2
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9663 $as_echo_n "checking for $ac_word... " >&6; }
9664 if ${ac_cv_prog_CROSSCC+:} false; then :
9665 $as_echo_n "(cached) " >&6
9666 else
9667 if test -n "$CROSSCC"; then
9668 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9669 else
9670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9671 for as_dir in $PATH
9673 IFS=$as_save_IFS
9674 test -z "$as_dir" && as_dir=.
9675 for ac_exec_ext in '' $ac_executable_extensions; do
9676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9677 ac_cv_prog_CROSSCC="$ac_prog"
9678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9679 break 2
9681 done
9682 done
9683 IFS=$as_save_IFS
9687 CROSSCC=$ac_cv_prog_CROSSCC
9688 if test -n "$CROSSCC"; then
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9690 $as_echo "$CROSSCC" >&6; }
9691 else
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9693 $as_echo "no" >&6; }
9697 test -n "$CROSSCC" && break
9698 done
9699 test -n "$CROSSCC" || CROSSCC="false"
9701 *) CROSSCC=$with_mingw ;;
9702 esac
9703 if test "$CROSSCC" != "false"
9704 then
9705 ac_save_CC="$CC"
9706 saved_CFLAGS=$CFLAGS
9707 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9709 EXTRACROSSCFLAGS="-DWINE_CROSSTEST -Wall"
9712 CC="$CROSSCC"
9713 CFLAGS=$CROSSCFLAGS
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9715 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9716 if ${wine_cv_crosscc+:} false; then :
9717 $as_echo_n "(cached) " >&6
9718 else
9719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9720 /* end confdefs.h. */
9723 main ()
9727 return 0;
9729 _ACEOF
9730 if ac_fn_c_try_compile "$LINENO"; then :
9731 wine_cv_crosscc=yes
9732 else
9733 wine_cv_crosscc=no
9735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9738 $as_echo "$wine_cv_crosscc" >&6; }
9739 if test $wine_cv_crosscc = yes
9740 then
9741 set x $CROSSCC
9742 shift
9743 while test $# -ge 1
9745 case "$1" in
9746 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9747 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9748 esac
9749 shift
9750 done
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9753 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9754 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9755 $as_echo_n "(cached) " >&6
9756 else
9757 ac_wine_try_cflags_saved=$CFLAGS
9758 ac_wine_try_cflags_saved_cc=$CC
9759 ac_wine_try_cflags_saved_exeext=$ac_exeext
9760 CFLAGS="$CFLAGS -fno-strict-aliasing"
9761 CC="$CROSSCC"
9762 ac_exeext=".exe"
9763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9764 /* end confdefs.h. */
9765 int main(int argc, char **argv) { return 0; }
9766 _ACEOF
9767 if ac_fn_c_try_link "$LINENO"; then :
9768 ac_cv_crosscflags__fno_strict_aliasing=yes
9769 else
9770 ac_cv_crosscflags__fno_strict_aliasing=no
9772 rm -f core conftest.err conftest.$ac_objext \
9773 conftest$ac_exeext conftest.$ac_ext
9774 CFLAGS=$ac_wine_try_cflags_saved
9775 CC=$ac_wine_try_cflags_saved_cc
9776 ac_exeext=$ac_wine_try_cflags_saved_exeext
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9779 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9780 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9781 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9784 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9785 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9786 $as_echo_n "(cached) " >&6
9787 else
9788 ac_wine_try_cflags_saved=$CFLAGS
9789 ac_wine_try_cflags_saved_cc=$CC
9790 ac_wine_try_cflags_saved_exeext=$ac_exeext
9791 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9792 CC="$CROSSCC"
9793 ac_exeext=".exe"
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9796 int main(int argc, char **argv) { return 0; }
9797 _ACEOF
9798 if ac_fn_c_try_link "$LINENO"; then :
9799 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9800 else
9801 ac_cv_crosscflags__Werror_unknown_warning_option=no
9803 rm -f core conftest.err conftest.$ac_objext \
9804 conftest$ac_exeext conftest.$ac_ext
9805 CFLAGS=$ac_wine_try_cflags_saved
9806 CC=$ac_wine_try_cflags_saved_cc
9807 ac_exeext=$ac_wine_try_cflags_saved_exeext
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9810 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9811 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9812 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9815 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9816 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9817 $as_echo_n "(cached) " >&6
9818 else
9819 ac_wine_try_cflags_saved=$CFLAGS
9820 ac_wine_try_cflags_saved_cc=$CC
9821 ac_wine_try_cflags_saved_exeext=$ac_exeext
9822 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9823 CC="$CROSSCC"
9824 ac_exeext=".exe"
9825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9826 /* end confdefs.h. */
9827 int main(int argc, char **argv) { return 0; }
9828 _ACEOF
9829 if ac_fn_c_try_link "$LINENO"; then :
9830 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9831 else
9832 ac_cv_crosscflags__Wdeclaration_after_statement=no
9834 rm -f core conftest.err conftest.$ac_objext \
9835 conftest$ac_exeext conftest.$ac_ext
9836 CFLAGS=$ac_wine_try_cflags_saved
9837 CC=$ac_wine_try_cflags_saved_cc
9838 ac_exeext=$ac_wine_try_cflags_saved_exeext
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9841 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9842 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9843 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9846 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9847 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9848 $as_echo_n "(cached) " >&6
9849 else
9850 ac_wine_try_cflags_saved=$CFLAGS
9851 ac_wine_try_cflags_saved_cc=$CC
9852 ac_wine_try_cflags_saved_exeext=$ac_exeext
9853 CFLAGS="$CFLAGS -Wempty-body"
9854 CC="$CROSSCC"
9855 ac_exeext=".exe"
9856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9857 /* end confdefs.h. */
9858 int main(int argc, char **argv) { return 0; }
9859 _ACEOF
9860 if ac_fn_c_try_link "$LINENO"; then :
9861 ac_cv_crosscflags__Wempty_body=yes
9862 else
9863 ac_cv_crosscflags__Wempty_body=no
9865 rm -f core conftest.err conftest.$ac_objext \
9866 conftest$ac_exeext conftest.$ac_ext
9867 CFLAGS=$ac_wine_try_cflags_saved
9868 CC=$ac_wine_try_cflags_saved_cc
9869 ac_exeext=$ac_wine_try_cflags_saved_exeext
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9872 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9873 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9874 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9877 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9878 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9879 $as_echo_n "(cached) " >&6
9880 else
9881 ac_wine_try_cflags_saved=$CFLAGS
9882 ac_wine_try_cflags_saved_cc=$CC
9883 ac_wine_try_cflags_saved_exeext=$ac_exeext
9884 CFLAGS="$CFLAGS -Wignored-qualifiers"
9885 CC="$CROSSCC"
9886 ac_exeext=".exe"
9887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9889 int main(int argc, char **argv) { return 0; }
9890 _ACEOF
9891 if ac_fn_c_try_link "$LINENO"; then :
9892 ac_cv_crosscflags__Wignored_qualifiers=yes
9893 else
9894 ac_cv_crosscflags__Wignored_qualifiers=no
9896 rm -f core conftest.err conftest.$ac_objext \
9897 conftest$ac_exeext conftest.$ac_ext
9898 CFLAGS=$ac_wine_try_cflags_saved
9899 CC=$ac_wine_try_cflags_saved_cc
9900 ac_exeext=$ac_wine_try_cflags_saved_exeext
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9903 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9904 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9905 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9908 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9909 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9910 $as_echo_n "(cached) " >&6
9911 else
9912 ac_wine_try_cflags_saved=$CFLAGS
9913 ac_wine_try_cflags_saved_cc=$CC
9914 ac_wine_try_cflags_saved_exeext=$ac_exeext
9915 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9916 CC="$CROSSCC"
9917 ac_exeext=".exe"
9918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9919 /* end confdefs.h. */
9920 int main(int argc, char **argv) { return 0; }
9921 _ACEOF
9922 if ac_fn_c_try_link "$LINENO"; then :
9923 ac_cv_crosscflags__Wpacked_not_aligned=yes
9924 else
9925 ac_cv_crosscflags__Wpacked_not_aligned=no
9927 rm -f core conftest.err conftest.$ac_objext \
9928 conftest$ac_exeext conftest.$ac_ext
9929 CFLAGS=$ac_wine_try_cflags_saved
9930 CC=$ac_wine_try_cflags_saved_cc
9931 ac_exeext=$ac_wine_try_cflags_saved_exeext
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9934 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9935 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9936 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9939 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9940 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9941 $as_echo_n "(cached) " >&6
9942 else
9943 ac_wine_try_cflags_saved=$CFLAGS
9944 ac_wine_try_cflags_saved_cc=$CC
9945 ac_wine_try_cflags_saved_exeext=$ac_exeext
9946 CFLAGS="$CFLAGS -Wpragma-pack"
9947 CC="$CROSSCC"
9948 ac_exeext=".exe"
9949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9950 /* end confdefs.h. */
9951 int main(int argc, char **argv) { return 0; }
9952 _ACEOF
9953 if ac_fn_c_try_link "$LINENO"; then :
9954 ac_cv_crosscflags__Wpragma_pack=yes
9955 else
9956 ac_cv_crosscflags__Wpragma_pack=no
9958 rm -f core conftest.err conftest.$ac_objext \
9959 conftest$ac_exeext conftest.$ac_ext
9960 CFLAGS=$ac_wine_try_cflags_saved
9961 CC=$ac_wine_try_cflags_saved_cc
9962 ac_exeext=$ac_wine_try_cflags_saved_exeext
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
9965 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
9966 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
9967 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
9970 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
9971 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
9972 $as_echo_n "(cached) " >&6
9973 else
9974 ac_wine_try_cflags_saved=$CFLAGS
9975 ac_wine_try_cflags_saved_cc=$CC
9976 ac_wine_try_cflags_saved_exeext=$ac_exeext
9977 CFLAGS="$CFLAGS -Wshift-overflow=2"
9978 CC="$CROSSCC"
9979 ac_exeext=".exe"
9980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9981 /* end confdefs.h. */
9982 int main(int argc, char **argv) { return 0; }
9983 _ACEOF
9984 if ac_fn_c_try_link "$LINENO"; then :
9985 ac_cv_crosscflags__Wshift_overflow_2=yes
9986 else
9987 ac_cv_crosscflags__Wshift_overflow_2=no
9989 rm -f core conftest.err conftest.$ac_objext \
9990 conftest$ac_exeext conftest.$ac_ext
9991 CFLAGS=$ac_wine_try_cflags_saved
9992 CC=$ac_wine_try_cflags_saved_cc
9993 ac_exeext=$ac_wine_try_cflags_saved_exeext
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
9996 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
9997 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
9998 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10001 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10002 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10003 $as_echo_n "(cached) " >&6
10004 else
10005 ac_wine_try_cflags_saved=$CFLAGS
10006 ac_wine_try_cflags_saved_cc=$CC
10007 ac_wine_try_cflags_saved_exeext=$ac_exeext
10008 CFLAGS="$CFLAGS -Wstrict-prototypes"
10009 CC="$CROSSCC"
10010 ac_exeext=".exe"
10011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10012 /* end confdefs.h. */
10013 int main(int argc, char **argv) { return 0; }
10014 _ACEOF
10015 if ac_fn_c_try_link "$LINENO"; then :
10016 ac_cv_crosscflags__Wstrict_prototypes=yes
10017 else
10018 ac_cv_crosscflags__Wstrict_prototypes=no
10020 rm -f core conftest.err conftest.$ac_objext \
10021 conftest$ac_exeext conftest.$ac_ext
10022 CFLAGS=$ac_wine_try_cflags_saved
10023 CC=$ac_wine_try_cflags_saved_cc
10024 ac_exeext=$ac_wine_try_cflags_saved_exeext
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10027 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10028 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10029 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10032 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10033 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10034 $as_echo_n "(cached) " >&6
10035 else
10036 ac_wine_try_cflags_saved=$CFLAGS
10037 ac_wine_try_cflags_saved_cc=$CC
10038 ac_wine_try_cflags_saved_exeext=$ac_exeext
10039 CFLAGS="$CFLAGS -Wtype-limits"
10040 CC="$CROSSCC"
10041 ac_exeext=".exe"
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10044 int main(int argc, char **argv) { return 0; }
10045 _ACEOF
10046 if ac_fn_c_try_link "$LINENO"; then :
10047 ac_cv_crosscflags__Wtype_limits=yes
10048 else
10049 ac_cv_crosscflags__Wtype_limits=no
10051 rm -f core conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10053 CFLAGS=$ac_wine_try_cflags_saved
10054 CC=$ac_wine_try_cflags_saved_cc
10055 ac_exeext=$ac_wine_try_cflags_saved_exeext
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10058 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10059 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10060 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10063 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10064 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10065 $as_echo_n "(cached) " >&6
10066 else
10067 ac_wine_try_cflags_saved=$CFLAGS
10068 ac_wine_try_cflags_saved_cc=$CC
10069 ac_wine_try_cflags_saved_exeext=$ac_exeext
10070 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10071 CC="$CROSSCC"
10072 ac_exeext=".exe"
10073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10074 /* end confdefs.h. */
10075 int main(int argc, char **argv) { return 0; }
10076 _ACEOF
10077 if ac_fn_c_try_link "$LINENO"; then :
10078 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10079 else
10080 ac_cv_crosscflags__Wunused_but_set_parameter=no
10082 rm -f core conftest.err conftest.$ac_objext \
10083 conftest$ac_exeext conftest.$ac_ext
10084 CFLAGS=$ac_wine_try_cflags_saved
10085 CC=$ac_wine_try_cflags_saved_cc
10086 ac_exeext=$ac_wine_try_cflags_saved_exeext
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10089 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10090 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10091 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10094 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10095 if ${ac_cv_crosscflags__Wvla+:} false; then :
10096 $as_echo_n "(cached) " >&6
10097 else
10098 ac_wine_try_cflags_saved=$CFLAGS
10099 ac_wine_try_cflags_saved_cc=$CC
10100 ac_wine_try_cflags_saved_exeext=$ac_exeext
10101 CFLAGS="$CFLAGS -Wvla"
10102 CC="$CROSSCC"
10103 ac_exeext=".exe"
10104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10105 /* end confdefs.h. */
10106 int main(int argc, char **argv) { return 0; }
10107 _ACEOF
10108 if ac_fn_c_try_link "$LINENO"; then :
10109 ac_cv_crosscflags__Wvla=yes
10110 else
10111 ac_cv_crosscflags__Wvla=no
10113 rm -f core conftest.err conftest.$ac_objext \
10114 conftest$ac_exeext conftest.$ac_ext
10115 CFLAGS=$ac_wine_try_cflags_saved
10116 CC=$ac_wine_try_cflags_saved_cc
10117 ac_exeext=$ac_wine_try_cflags_saved_exeext
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10120 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10121 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10122 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10125 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10126 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10127 $as_echo_n "(cached) " >&6
10128 else
10129 ac_wine_try_cflags_saved=$CFLAGS
10130 ac_wine_try_cflags_saved_cc=$CC
10131 ac_wine_try_cflags_saved_exeext=$ac_exeext
10132 CFLAGS="$CFLAGS -Wwrite-strings"
10133 CC="$CROSSCC"
10134 ac_exeext=".exe"
10135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h. */
10137 int main(int argc, char **argv) { return 0; }
10138 _ACEOF
10139 if ac_fn_c_try_link "$LINENO"; then :
10140 ac_cv_crosscflags__Wwrite_strings=yes
10141 else
10142 ac_cv_crosscflags__Wwrite_strings=no
10144 rm -f core conftest.err conftest.$ac_objext \
10145 conftest$ac_exeext conftest.$ac_ext
10146 CFLAGS=$ac_wine_try_cflags_saved
10147 CC=$ac_wine_try_cflags_saved_cc
10148 ac_exeext=$ac_wine_try_cflags_saved_exeext
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10151 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10152 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10153 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10156 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10157 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 ac_wine_try_cflags_saved=$CFLAGS
10161 ac_wine_try_cflags_saved_cc=$CC
10162 ac_wine_try_cflags_saved_exeext=$ac_exeext
10163 CFLAGS="$CFLAGS -Wpointer-arith"
10164 CC="$CROSSCC"
10165 ac_exeext=".exe"
10166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10168 int main(int argc, char **argv) { return 0; }
10169 _ACEOF
10170 if ac_fn_c_try_link "$LINENO"; then :
10171 ac_cv_crosscflags__Wpointer_arith=yes
10172 else
10173 ac_cv_crosscflags__Wpointer_arith=no
10175 rm -f core conftest.err conftest.$ac_objext \
10176 conftest$ac_exeext conftest.$ac_ext
10177 CFLAGS=$ac_wine_try_cflags_saved
10178 CC=$ac_wine_try_cflags_saved_cc
10179 ac_exeext=$ac_wine_try_cflags_saved_exeext
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10182 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10183 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10184 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10187 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10188 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10189 $as_echo_n "(cached) " >&6
10190 else
10191 ac_wine_try_cflags_saved=$CFLAGS
10192 ac_wine_try_cflags_saved_cc=$CC
10193 ac_wine_try_cflags_saved_exeext=$ac_exeext
10194 CFLAGS="$CFLAGS -Wlogical-op"
10195 CC="$CROSSCC"
10196 ac_exeext=".exe"
10197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10198 /* end confdefs.h. */
10199 int main(int argc, char **argv) { return 0; }
10200 _ACEOF
10201 if ac_fn_c_try_link "$LINENO"; then :
10202 ac_cv_crosscflags__Wlogical_op=yes
10203 else
10204 ac_cv_crosscflags__Wlogical_op=no
10206 rm -f core conftest.err conftest.$ac_objext \
10207 conftest$ac_exeext conftest.$ac_ext
10208 CFLAGS=$ac_wine_try_cflags_saved
10209 CC=$ac_wine_try_cflags_saved_cc
10210 ac_exeext=$ac_wine_try_cflags_saved_exeext
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10213 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10214 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10215 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10218 case $host_cpu in
10219 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10220 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10221 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10222 $as_echo_n "(cached) " >&6
10223 else
10224 ac_wine_try_cflags_saved=$CFLAGS
10225 ac_wine_try_cflags_saved_cc=$CC
10226 ac_wine_try_cflags_saved_exeext=$ac_exeext
10227 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10228 CC="$CROSSCC"
10229 ac_exeext=".exe"
10230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10231 /* end confdefs.h. */
10232 int main(int argc, char **argv) { return 0; }
10233 _ACEOF
10234 if ac_fn_c_try_link "$LINENO"; then :
10235 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10236 else
10237 ac_cv_crosscflags__fno_omit_frame_pointer=no
10239 rm -f core conftest.err conftest.$ac_objext \
10240 conftest$ac_exeext conftest.$ac_ext
10241 CFLAGS=$ac_wine_try_cflags_saved
10242 CC=$ac_wine_try_cflags_saved_cc
10243 ac_exeext=$ac_wine_try_cflags_saved_exeext
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10246 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10247 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10248 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10249 fi ;;
10250 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10251 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10252 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10253 $as_echo_n "(cached) " >&6
10254 else
10255 ac_wine_try_cflags_saved=$CFLAGS
10256 ac_wine_try_cflags_saved_cc=$CC
10257 ac_wine_try_cflags_saved_exeext=$ac_exeext
10258 CFLAGS="$CFLAGS -Wno-format"
10259 CC="$CROSSCC"
10260 ac_exeext=".exe"
10261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10263 int main(int argc, char **argv) { return 0; }
10264 _ACEOF
10265 if ac_fn_c_try_link "$LINENO"; then :
10266 ac_cv_crosscflags__Wno_format=yes
10267 else
10268 ac_cv_crosscflags__Wno_format=no
10270 rm -f core conftest.err conftest.$ac_objext \
10271 conftest$ac_exeext conftest.$ac_ext
10272 CFLAGS=$ac_wine_try_cflags_saved
10273 CC=$ac_wine_try_cflags_saved_cc
10274 ac_exeext=$ac_wine_try_cflags_saved_exeext
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10277 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10278 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10279 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10280 fi ;;
10281 esac
10283 for ac_flag in $CROSSCFLAGS; do
10284 case $ac_flag in
10285 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10286 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10287 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10288 $as_echo_n "(cached) " >&6
10289 else
10290 ac_wine_try_cflags_saved=$CFLAGS
10291 ac_wine_try_cflags_saved_cc=$CC
10292 ac_wine_try_cflags_saved_exeext=$ac_exeext
10293 CFLAGS="$CFLAGS -gdwarf-2"
10294 CC="$CROSSCC"
10295 ac_exeext=".exe"
10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10298 int main(int argc, char **argv) { return 0; }
10299 _ACEOF
10300 if ac_fn_c_try_link "$LINENO"; then :
10301 ac_cv_crosscflags__gdwarf_2=yes
10302 else
10303 ac_cv_crosscflags__gdwarf_2=no
10305 rm -f core conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10307 CFLAGS=$ac_wine_try_cflags_saved
10308 CC=$ac_wine_try_cflags_saved_cc
10309 ac_exeext=$ac_wine_try_cflags_saved_exeext
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10312 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10313 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10314 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10317 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10318 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10319 $as_echo_n "(cached) " >&6
10320 else
10321 ac_wine_try_cflags_saved=$CFLAGS
10322 ac_wine_try_cflags_saved_cc=$CC
10323 ac_wine_try_cflags_saved_exeext=$ac_exeext
10324 CFLAGS="$CFLAGS -gstrict-dwarf"
10325 CC="$CROSSCC"
10326 ac_exeext=".exe"
10327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10329 int main(int argc, char **argv) { return 0; }
10330 _ACEOF
10331 if ac_fn_c_try_link "$LINENO"; then :
10332 ac_cv_crosscflags__gstrict_dwarf=yes
10333 else
10334 ac_cv_crosscflags__gstrict_dwarf=no
10336 rm -f core conftest.err conftest.$ac_objext \
10337 conftest$ac_exeext conftest.$ac_ext
10338 CFLAGS=$ac_wine_try_cflags_saved
10339 CC=$ac_wine_try_cflags_saved_cc
10340 ac_exeext=$ac_wine_try_cflags_saved_exeext
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10343 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10344 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10345 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10346 fi ;;
10347 esac
10348 done
10350 if test "x$enable_maintainer_mode" = xyes
10351 then
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10353 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10354 if ${ac_cv_crosscflags__Werror+:} false; then :
10355 $as_echo_n "(cached) " >&6
10356 else
10357 ac_wine_try_cflags_saved=$CFLAGS
10358 ac_wine_try_cflags_saved_cc=$CC
10359 ac_wine_try_cflags_saved_exeext=$ac_exeext
10360 CFLAGS="$CFLAGS -Werror"
10361 CC="$CROSSCC"
10362 ac_exeext=".exe"
10363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10364 /* end confdefs.h. */
10365 int main(int argc, char **argv) { return 0; }
10366 _ACEOF
10367 if ac_fn_c_try_link "$LINENO"; then :
10368 ac_cv_crosscflags__Werror=yes
10369 else
10370 ac_cv_crosscflags__Werror=no
10372 rm -f core conftest.err conftest.$ac_objext \
10373 conftest$ac_exeext conftest.$ac_ext
10374 CFLAGS=$ac_wine_try_cflags_saved
10375 CC=$ac_wine_try_cflags_saved_cc
10376 ac_exeext=$ac_wine_try_cflags_saved_exeext
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10379 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10380 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10381 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10385 CFLAGS=$saved_CFLAGS
10386 CC="$ac_save_CC"
10389 if test "x$CROSSTARGET" = "x"; then :
10390 case "x$with_mingw" in
10391 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10392 xno) ;;
10393 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10394 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10395 esac
10400 if test "$ac_cv_header_pthread_h" = "yes"
10401 then
10402 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10403 if test "x$ac_cv_func_pthread_create" = xyes; then :
10405 else
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10407 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10408 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10409 $as_echo_n "(cached) " >&6
10410 else
10411 ac_check_lib_save_LIBS=$LIBS
10412 LIBS="-lpthread $LIBS"
10413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10414 /* end confdefs.h. */
10416 /* Override any GCC internal prototype to avoid an error.
10417 Use char because int might match the return type of a GCC
10418 builtin and then its argument prototype would still apply. */
10419 #ifdef __cplusplus
10420 extern "C"
10421 #endif
10422 char pthread_create ();
10424 main ()
10426 return pthread_create ();
10428 return 0;
10430 _ACEOF
10431 if ac_fn_c_try_link "$LINENO"; then :
10432 ac_cv_lib_pthread_pthread_create=yes
10433 else
10434 ac_cv_lib_pthread_pthread_create=no
10436 rm -f core conftest.err conftest.$ac_objext \
10437 conftest$ac_exeext conftest.$ac_ext
10438 LIBS=$ac_check_lib_save_LIBS
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10441 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10442 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10443 PTHREAD_LIBS="-lpthread"
10450 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10451 case "x$with_pthread" in
10452 xno) ;;
10453 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10454 Wine cannot support threads without libpthread.
10455 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10456 esac
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10462 $as_echo_n "checking for X... " >&6; }
10465 # Check whether --with-x was given.
10466 if test "${with_x+set}" = set; then :
10467 withval=$with_x;
10470 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10471 if test "x$with_x" = xno; then
10472 # The user explicitly disabled X.
10473 have_x=disabled
10474 else
10475 case $x_includes,$x_libraries in #(
10476 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10477 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10478 $as_echo_n "(cached) " >&6
10479 else
10480 # One or both of the vars are not set, and there is no cached value.
10481 ac_x_includes=no ac_x_libraries=no
10482 rm -f -r conftest.dir
10483 if mkdir conftest.dir; then
10484 cd conftest.dir
10485 cat >Imakefile <<'_ACEOF'
10486 incroot:
10487 @echo incroot='${INCROOT}'
10488 usrlibdir:
10489 @echo usrlibdir='${USRLIBDIR}'
10490 libdir:
10491 @echo libdir='${LIBDIR}'
10492 _ACEOF
10493 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10494 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10495 for ac_var in incroot usrlibdir libdir; do
10496 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10497 done
10498 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10499 for ac_extension in a so sl dylib la dll; do
10500 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10501 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10502 ac_im_usrlibdir=$ac_im_libdir; break
10504 done
10505 # Screen out bogus values from the imake configuration. They are
10506 # bogus both because they are the default anyway, and because
10507 # using them would break gcc on systems where it needs fixed includes.
10508 case $ac_im_incroot in
10509 /usr/include) ac_x_includes= ;;
10510 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10511 esac
10512 case $ac_im_usrlibdir in
10513 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10514 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10515 esac
10517 cd ..
10518 rm -f -r conftest.dir
10521 # Standard set of common directories for X headers.
10522 # Check X11 before X11Rn because it is often a symlink to the current release.
10523 ac_x_header_dirs='
10524 /usr/X11/include
10525 /usr/X11R7/include
10526 /usr/X11R6/include
10527 /usr/X11R5/include
10528 /usr/X11R4/include
10530 /usr/include/X11
10531 /usr/include/X11R7
10532 /usr/include/X11R6
10533 /usr/include/X11R5
10534 /usr/include/X11R4
10536 /usr/local/X11/include
10537 /usr/local/X11R7/include
10538 /usr/local/X11R6/include
10539 /usr/local/X11R5/include
10540 /usr/local/X11R4/include
10542 /usr/local/include/X11
10543 /usr/local/include/X11R7
10544 /usr/local/include/X11R6
10545 /usr/local/include/X11R5
10546 /usr/local/include/X11R4
10548 /usr/X386/include
10549 /usr/x386/include
10550 /usr/XFree86/include/X11
10552 /usr/include
10553 /usr/local/include
10554 /usr/unsupported/include
10555 /usr/athena/include
10556 /usr/local/x11r5/include
10557 /usr/lpp/Xamples/include
10559 /usr/openwin/include
10560 /usr/openwin/share/include'
10562 if test "$ac_x_includes" = no; then
10563 # Guess where to find include files, by looking for Xlib.h.
10564 # First, try using that file with no special directory specified.
10565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10566 /* end confdefs.h. */
10567 #include <X11/Xlib.h>
10568 _ACEOF
10569 if ac_fn_c_try_cpp "$LINENO"; then :
10570 # We can compile using X headers with no special include directory.
10571 ac_x_includes=
10572 else
10573 for ac_dir in $ac_x_header_dirs; do
10574 if test -r "$ac_dir/X11/Xlib.h"; then
10575 ac_x_includes=$ac_dir
10576 break
10578 done
10580 rm -f conftest.err conftest.i conftest.$ac_ext
10581 fi # $ac_x_includes = no
10583 if test "$ac_x_libraries" = no; then
10584 # Check for the libraries.
10585 # See if we find them without any special options.
10586 # Don't add to $LIBS permanently.
10587 ac_save_LIBS=$LIBS
10588 LIBS="-lX11 $LIBS"
10589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10591 #include <X11/Xlib.h>
10593 main ()
10595 XrmInitialize ()
10597 return 0;
10599 _ACEOF
10600 if ac_fn_c_try_link "$LINENO"; then :
10601 LIBS=$ac_save_LIBS
10602 # We can link X programs with no special library path.
10603 ac_x_libraries=
10604 else
10605 LIBS=$ac_save_LIBS
10606 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10608 # Don't even attempt the hair of trying to link an X program!
10609 for ac_extension in a so sl dylib la dll; do
10610 if test -r "$ac_dir/libX11.$ac_extension"; then
10611 ac_x_libraries=$ac_dir
10612 break 2
10614 done
10615 done
10617 rm -f core conftest.err conftest.$ac_objext \
10618 conftest$ac_exeext conftest.$ac_ext
10619 fi # $ac_x_libraries = no
10621 case $ac_x_includes,$ac_x_libraries in #(
10622 no,* | *,no | *\'*)
10623 # Didn't find X, or a directory has "'" in its name.
10624 ac_cv_have_x="have_x=no";; #(
10626 # Record where we found X for the cache.
10627 ac_cv_have_x="have_x=yes\
10628 ac_x_includes='$ac_x_includes'\
10629 ac_x_libraries='$ac_x_libraries'"
10630 esac
10632 ;; #(
10633 *) have_x=yes;;
10634 esac
10635 eval "$ac_cv_have_x"
10636 fi # $with_x != no
10638 if test "$have_x" != yes; then
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10640 $as_echo "$have_x" >&6; }
10641 no_x=yes
10642 else
10643 # If each of the values was on the command line, it overrides each guess.
10644 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10645 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10646 # Update the cache value to reflect the command line values.
10647 ac_cv_have_x="have_x=yes\
10648 ac_x_includes='$x_includes'\
10649 ac_x_libraries='$x_libraries'"
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10651 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10654 if test "$no_x" = yes; then
10655 # Not all programs may use this symbol, but it does not hurt to define it.
10657 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10659 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10660 else
10661 if test -n "$x_includes"; then
10662 X_CFLAGS="$X_CFLAGS -I$x_includes"
10665 # It would also be nice to do this for all -L options, not just this one.
10666 if test -n "$x_libraries"; then
10667 X_LIBS="$X_LIBS -L$x_libraries"
10668 # For Solaris; some versions of Sun CC require a space after -R and
10669 # others require no space. Words are not sufficient . . . .
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10671 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10672 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10673 ac_xsave_c_werror_flag=$ac_c_werror_flag
10674 ac_c_werror_flag=yes
10675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10676 /* end confdefs.h. */
10679 main ()
10683 return 0;
10685 _ACEOF
10686 if ac_fn_c_try_link "$LINENO"; then :
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10688 $as_echo "no" >&6; }
10689 X_LIBS="$X_LIBS -R$x_libraries"
10690 else
10691 LIBS="$ac_xsave_LIBS -R $x_libraries"
10692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10693 /* end confdefs.h. */
10696 main ()
10700 return 0;
10702 _ACEOF
10703 if ac_fn_c_try_link "$LINENO"; then :
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10705 $as_echo "yes" >&6; }
10706 X_LIBS="$X_LIBS -R $x_libraries"
10707 else
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10709 $as_echo "neither works" >&6; }
10711 rm -f core conftest.err conftest.$ac_objext \
10712 conftest$ac_exeext conftest.$ac_ext
10714 rm -f core conftest.err conftest.$ac_objext \
10715 conftest$ac_exeext conftest.$ac_ext
10716 ac_c_werror_flag=$ac_xsave_c_werror_flag
10717 LIBS=$ac_xsave_LIBS
10720 # Check for system-dependent libraries X programs must link with.
10721 # Do this before checking for the system-independent R6 libraries
10722 # (-lICE), since we may need -lsocket or whatever for X linking.
10724 if test "$ISC" = yes; then
10725 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10726 else
10727 # Martyn Johnson says this is needed for Ultrix, if the X
10728 # libraries were built with DECnet support. And Karl Berry says
10729 # the Alpha needs dnet_stub (dnet does not exist).
10730 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10732 /* end confdefs.h. */
10734 /* Override any GCC internal prototype to avoid an error.
10735 Use char because int might match the return type of a GCC
10736 builtin and then its argument prototype would still apply. */
10737 #ifdef __cplusplus
10738 extern "C"
10739 #endif
10740 char XOpenDisplay ();
10742 main ()
10744 return XOpenDisplay ();
10746 return 0;
10748 _ACEOF
10749 if ac_fn_c_try_link "$LINENO"; then :
10751 else
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10753 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10754 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10755 $as_echo_n "(cached) " >&6
10756 else
10757 ac_check_lib_save_LIBS=$LIBS
10758 LIBS="-ldnet $LIBS"
10759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h. */
10762 /* Override any GCC internal prototype to avoid an error.
10763 Use char because int might match the return type of a GCC
10764 builtin and then its argument prototype would still apply. */
10765 #ifdef __cplusplus
10766 extern "C"
10767 #endif
10768 char dnet_ntoa ();
10770 main ()
10772 return dnet_ntoa ();
10774 return 0;
10776 _ACEOF
10777 if ac_fn_c_try_link "$LINENO"; then :
10778 ac_cv_lib_dnet_dnet_ntoa=yes
10779 else
10780 ac_cv_lib_dnet_dnet_ntoa=no
10782 rm -f core conftest.err conftest.$ac_objext \
10783 conftest$ac_exeext conftest.$ac_ext
10784 LIBS=$ac_check_lib_save_LIBS
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10787 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10788 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10789 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10792 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10794 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10795 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10796 $as_echo_n "(cached) " >&6
10797 else
10798 ac_check_lib_save_LIBS=$LIBS
10799 LIBS="-ldnet_stub $LIBS"
10800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10801 /* end confdefs.h. */
10803 /* Override any GCC internal prototype to avoid an error.
10804 Use char because int might match the return type of a GCC
10805 builtin and then its argument prototype would still apply. */
10806 #ifdef __cplusplus
10807 extern "C"
10808 #endif
10809 char dnet_ntoa ();
10811 main ()
10813 return dnet_ntoa ();
10815 return 0;
10817 _ACEOF
10818 if ac_fn_c_try_link "$LINENO"; then :
10819 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10820 else
10821 ac_cv_lib_dnet_stub_dnet_ntoa=no
10823 rm -f core conftest.err conftest.$ac_objext \
10824 conftest$ac_exeext conftest.$ac_ext
10825 LIBS=$ac_check_lib_save_LIBS
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10828 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10829 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10830 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10835 rm -f core conftest.err conftest.$ac_objext \
10836 conftest$ac_exeext conftest.$ac_ext
10837 LIBS="$ac_xsave_LIBS"
10839 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10840 # to get the SysV transport functions.
10841 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10842 # needs -lnsl.
10843 # The nsl library prevents programs from opening the X display
10844 # on Irix 5.2, according to T.E. Dickey.
10845 # The functions gethostbyname, getservbyname, and inet_addr are
10846 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10847 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10848 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10852 if test $ac_cv_func_gethostbyname = no; then
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10854 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10855 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10856 $as_echo_n "(cached) " >&6
10857 else
10858 ac_check_lib_save_LIBS=$LIBS
10859 LIBS="-lnsl $LIBS"
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10863 /* Override any GCC internal prototype to avoid an error.
10864 Use char because int might match the return type of a GCC
10865 builtin and then its argument prototype would still apply. */
10866 #ifdef __cplusplus
10867 extern "C"
10868 #endif
10869 char gethostbyname ();
10871 main ()
10873 return gethostbyname ();
10875 return 0;
10877 _ACEOF
10878 if ac_fn_c_try_link "$LINENO"; then :
10879 ac_cv_lib_nsl_gethostbyname=yes
10880 else
10881 ac_cv_lib_nsl_gethostbyname=no
10883 rm -f core conftest.err conftest.$ac_objext \
10884 conftest$ac_exeext conftest.$ac_ext
10885 LIBS=$ac_check_lib_save_LIBS
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10888 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10889 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10890 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10893 if test $ac_cv_lib_nsl_gethostbyname = no; then
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10895 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10896 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10897 $as_echo_n "(cached) " >&6
10898 else
10899 ac_check_lib_save_LIBS=$LIBS
10900 LIBS="-lbsd $LIBS"
10901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10902 /* end confdefs.h. */
10904 /* Override any GCC internal prototype to avoid an error.
10905 Use char because int might match the return type of a GCC
10906 builtin and then its argument prototype would still apply. */
10907 #ifdef __cplusplus
10908 extern "C"
10909 #endif
10910 char gethostbyname ();
10912 main ()
10914 return gethostbyname ();
10916 return 0;
10918 _ACEOF
10919 if ac_fn_c_try_link "$LINENO"; then :
10920 ac_cv_lib_bsd_gethostbyname=yes
10921 else
10922 ac_cv_lib_bsd_gethostbyname=no
10924 rm -f core conftest.err conftest.$ac_objext \
10925 conftest$ac_exeext conftest.$ac_ext
10926 LIBS=$ac_check_lib_save_LIBS
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10929 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10930 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10931 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10937 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10938 # socket/setsockopt and other routines are undefined under SCO ODT
10939 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10940 # on later versions), says Simon Leinen: it contains gethostby*
10941 # variants that don't use the name server (or something). -lsocket
10942 # must be given before -lnsl if both are needed. We assume that
10943 # if connect needs -lnsl, so does gethostbyname.
10944 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10945 if test "x$ac_cv_func_connect" = xyes; then :
10949 if test $ac_cv_func_connect = no; then
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10951 $as_echo_n "checking for connect in -lsocket... " >&6; }
10952 if ${ac_cv_lib_socket_connect+:} false; then :
10953 $as_echo_n "(cached) " >&6
10954 else
10955 ac_check_lib_save_LIBS=$LIBS
10956 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10960 /* Override any GCC internal prototype to avoid an error.
10961 Use char because int might match the return type of a GCC
10962 builtin and then its argument prototype would still apply. */
10963 #ifdef __cplusplus
10964 extern "C"
10965 #endif
10966 char connect ();
10968 main ()
10970 return connect ();
10972 return 0;
10974 _ACEOF
10975 if ac_fn_c_try_link "$LINENO"; then :
10976 ac_cv_lib_socket_connect=yes
10977 else
10978 ac_cv_lib_socket_connect=no
10980 rm -f core conftest.err conftest.$ac_objext \
10981 conftest$ac_exeext conftest.$ac_ext
10982 LIBS=$ac_check_lib_save_LIBS
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10985 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10986 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10987 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10992 # Guillermo Gomez says -lposix is necessary on A/UX.
10993 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10994 if test "x$ac_cv_func_remove" = xyes; then :
10998 if test $ac_cv_func_remove = no; then
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11000 $as_echo_n "checking for remove in -lposix... " >&6; }
11001 if ${ac_cv_lib_posix_remove+:} false; then :
11002 $as_echo_n "(cached) " >&6
11003 else
11004 ac_check_lib_save_LIBS=$LIBS
11005 LIBS="-lposix $LIBS"
11006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11009 /* Override any GCC internal prototype to avoid an error.
11010 Use char because int might match the return type of a GCC
11011 builtin and then its argument prototype would still apply. */
11012 #ifdef __cplusplus
11013 extern "C"
11014 #endif
11015 char remove ();
11017 main ()
11019 return remove ();
11021 return 0;
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"; then :
11025 ac_cv_lib_posix_remove=yes
11026 else
11027 ac_cv_lib_posix_remove=no
11029 rm -f core conftest.err conftest.$ac_objext \
11030 conftest$ac_exeext conftest.$ac_ext
11031 LIBS=$ac_check_lib_save_LIBS
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11034 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11035 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11036 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11041 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11042 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11043 if test "x$ac_cv_func_shmat" = xyes; then :
11047 if test $ac_cv_func_shmat = no; then
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11049 $as_echo_n "checking for shmat in -lipc... " >&6; }
11050 if ${ac_cv_lib_ipc_shmat+:} false; then :
11051 $as_echo_n "(cached) " >&6
11052 else
11053 ac_check_lib_save_LIBS=$LIBS
11054 LIBS="-lipc $LIBS"
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11058 /* Override any GCC internal prototype to avoid an error.
11059 Use char because int might match the return type of a GCC
11060 builtin and then its argument prototype would still apply. */
11061 #ifdef __cplusplus
11062 extern "C"
11063 #endif
11064 char shmat ();
11066 main ()
11068 return shmat ();
11070 return 0;
11072 _ACEOF
11073 if ac_fn_c_try_link "$LINENO"; then :
11074 ac_cv_lib_ipc_shmat=yes
11075 else
11076 ac_cv_lib_ipc_shmat=no
11078 rm -f core conftest.err conftest.$ac_objext \
11079 conftest$ac_exeext conftest.$ac_ext
11080 LIBS=$ac_check_lib_save_LIBS
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11083 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11084 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11085 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11091 # Check for libraries that X11R6 Xt/Xaw programs need.
11092 ac_save_LDFLAGS=$LDFLAGS
11093 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11094 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11095 # check for ICE first), but we must link in the order -lSM -lICE or
11096 # we get undefined symbols. So assume we have SM if we have ICE.
11097 # These have to be linked with before -lX11, unlike the other
11098 # libraries we check for below, so use a different variable.
11099 # John Interrante, Karl Berry
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11101 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11102 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11103 $as_echo_n "(cached) " >&6
11104 else
11105 ac_check_lib_save_LIBS=$LIBS
11106 LIBS="-lICE $X_EXTRA_LIBS $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 IceConnectionNumber ();
11118 main ()
11120 return IceConnectionNumber ();
11122 return 0;
11124 _ACEOF
11125 if ac_fn_c_try_link "$LINENO"; then :
11126 ac_cv_lib_ICE_IceConnectionNumber=yes
11127 else
11128 ac_cv_lib_ICE_IceConnectionNumber=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_ICE_IceConnectionNumber" >&5
11135 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11136 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11137 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11140 LDFLAGS=$ac_save_LDFLAGS
11145 if test "$have_x" = "yes"
11146 then
11147 ac_save_CPPFLAGS="$CPPFLAGS"
11148 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11151 $as_echo_n "checking for -lX11... " >&6; }
11152 if ${ac_cv_lib_soname_X11+:} false; then :
11153 $as_echo_n "(cached) " >&6
11154 else
11155 ac_check_soname_save_LIBS=$LIBS
11156 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11160 /* Override any GCC internal prototype to avoid an error.
11161 Use char because int might match the return type of a GCC
11162 builtin and then its argument prototype would still apply. */
11163 #ifdef __cplusplus
11164 extern "C"
11165 #endif
11166 char XCreateWindow ();
11168 main ()
11170 return XCreateWindow ();
11172 return 0;
11174 _ACEOF
11175 if ac_fn_c_try_link "$LINENO"; then :
11176 case "$LIBEXT" in
11177 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11178 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'` ;;
11179 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11180 if ${ac_cv_lib_soname_X11:+false} :; then :
11181 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11182 fi ;;
11183 esac
11184 else
11185 ac_cv_lib_soname_X11=
11187 rm -f core conftest.err conftest.$ac_objext \
11188 conftest$ac_exeext conftest.$ac_ext
11189 LIBS=$ac_check_soname_save_LIBS
11191 if ${ac_cv_lib_soname_X11:+false} :; then :
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11193 $as_echo "not found" >&6; }
11195 else
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11197 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11199 cat >>confdefs.h <<_ACEOF
11200 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11201 _ACEOF
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11206 $as_echo_n "checking for -lXext... " >&6; }
11207 if ${ac_cv_lib_soname_Xext+:} false; then :
11208 $as_echo_n "(cached) " >&6
11209 else
11210 ac_check_soname_save_LIBS=$LIBS
11211 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11213 /* end confdefs.h. */
11215 /* Override any GCC internal prototype to avoid an error.
11216 Use char because int might match the return type of a GCC
11217 builtin and then its argument prototype would still apply. */
11218 #ifdef __cplusplus
11219 extern "C"
11220 #endif
11221 char XextCreateExtension ();
11223 main ()
11225 return XextCreateExtension ();
11227 return 0;
11229 _ACEOF
11230 if ac_fn_c_try_link "$LINENO"; then :
11231 case "$LIBEXT" in
11232 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11233 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'` ;;
11234 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11235 if ${ac_cv_lib_soname_Xext:+false} :; then :
11236 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11237 fi ;;
11238 esac
11239 else
11240 ac_cv_lib_soname_Xext=
11242 rm -f core conftest.err conftest.$ac_objext \
11243 conftest$ac_exeext conftest.$ac_ext
11244 LIBS=$ac_check_soname_save_LIBS
11246 if ${ac_cv_lib_soname_Xext:+false} :; then :
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11248 $as_echo "not found" >&6; }
11250 else
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11252 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11254 cat >>confdefs.h <<_ACEOF
11255 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11256 _ACEOF
11258 X_LIBS="$X_LIBS -lXext"
11260 X_LIBS="$X_LIBS -lX11"
11262 for ac_header in X11/Xlib.h \
11263 X11/XKBlib.h \
11264 X11/Xutil.h \
11265 X11/Xcursor/Xcursor.h \
11266 X11/extensions/shape.h \
11267 X11/extensions/XInput.h \
11268 X11/extensions/XInput2.h \
11269 X11/extensions/XShm.h \
11270 X11/extensions/Xcomposite.h \
11271 X11/extensions/Xfixes.h \
11272 X11/extensions/Xinerama.h \
11273 X11/extensions/Xrandr.h \
11274 X11/extensions/Xrender.h \
11275 X11/extensions/xf86vmode.h \
11276 X11/extensions/xf86vmproto.h
11277 do :
11278 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11279 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11280 # include <X11/Xlib.h>
11281 #endif
11282 #ifdef HAVE_X11_XUTIL_H
11283 # include <X11/Xutil.h>
11284 #endif
11286 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11287 cat >>confdefs.h <<_ACEOF
11288 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11289 _ACEOF
11293 done
11296 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11297 then
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11299 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11300 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11301 $as_echo_n "(cached) " >&6
11302 else
11303 ac_check_lib_save_LIBS=$LIBS
11304 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11306 /* end confdefs.h. */
11308 /* Override any GCC internal prototype to avoid an error.
11309 Use char because int might match the return type of a GCC
11310 builtin and then its argument prototype would still apply. */
11311 #ifdef __cplusplus
11312 extern "C"
11313 #endif
11314 char XkbQueryExtension ();
11316 main ()
11318 return XkbQueryExtension ();
11320 return 0;
11322 _ACEOF
11323 if ac_fn_c_try_link "$LINENO"; then :
11324 ac_cv_lib_X11_XkbQueryExtension=yes
11325 else
11326 ac_cv_lib_X11_XkbQueryExtension=no
11328 rm -f core conftest.err conftest.$ac_objext \
11329 conftest$ac_exeext conftest.$ac_ext
11330 LIBS=$ac_check_lib_save_LIBS
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11333 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11334 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11336 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11342 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11343 then
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11345 $as_echo_n "checking for -lXcursor... " >&6; }
11346 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11347 $as_echo_n "(cached) " >&6
11348 else
11349 ac_check_soname_save_LIBS=$LIBS
11350 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11354 /* Override any GCC internal prototype to avoid an error.
11355 Use char because int might match the return type of a GCC
11356 builtin and then its argument prototype would still apply. */
11357 #ifdef __cplusplus
11358 extern "C"
11359 #endif
11360 char XcursorImageLoadCursor ();
11362 main ()
11364 return XcursorImageLoadCursor ();
11366 return 0;
11368 _ACEOF
11369 if ac_fn_c_try_link "$LINENO"; then :
11370 case "$LIBEXT" in
11371 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11372 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'` ;;
11373 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11374 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11375 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11376 fi ;;
11377 esac
11378 else
11379 ac_cv_lib_soname_Xcursor=
11381 rm -f core conftest.err conftest.$ac_objext \
11382 conftest$ac_exeext conftest.$ac_ext
11383 LIBS=$ac_check_soname_save_LIBS
11385 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11387 $as_echo "not found" >&6; }
11389 else
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11391 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11393 cat >>confdefs.h <<_ACEOF
11394 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11395 _ACEOF
11400 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11401 case "x$with_xcursor" in
11402 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11403 xno) ;;
11404 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11405 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11406 esac
11410 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11411 then
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11413 $as_echo_n "checking for -lXi... " >&6; }
11414 if ${ac_cv_lib_soname_Xi+:} false; then :
11415 $as_echo_n "(cached) " >&6
11416 else
11417 ac_check_soname_save_LIBS=$LIBS
11418 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h. */
11422 /* Override any GCC internal prototype to avoid an error.
11423 Use char because int might match the return type of a GCC
11424 builtin and then its argument prototype would still apply. */
11425 #ifdef __cplusplus
11426 extern "C"
11427 #endif
11428 char XOpenDevice ();
11430 main ()
11432 return XOpenDevice ();
11434 return 0;
11436 _ACEOF
11437 if ac_fn_c_try_link "$LINENO"; then :
11438 case "$LIBEXT" in
11439 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11440 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'` ;;
11441 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11442 if ${ac_cv_lib_soname_Xi:+false} :; then :
11443 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11444 fi ;;
11445 esac
11446 else
11447 ac_cv_lib_soname_Xi=
11449 rm -f core conftest.err conftest.$ac_objext \
11450 conftest$ac_exeext conftest.$ac_ext
11451 LIBS=$ac_check_soname_save_LIBS
11453 if ${ac_cv_lib_soname_Xi:+false} :; then :
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11455 $as_echo "not found" >&6; }
11457 else
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11459 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11461 cat >>confdefs.h <<_ACEOF
11462 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11463 _ACEOF
11468 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11469 case "x$with_xinput" in
11470 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11471 xno) ;;
11472 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11473 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11474 esac
11478 if test "x$ac_cv_lib_soname_Xi" != x
11479 then
11480 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11481 case "x$with_xinput2" in
11482 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11483 xno) ;;
11484 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11485 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11486 esac
11491 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11492 then
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11494 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11495 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11496 $as_echo_n "(cached) " >&6
11497 else
11498 ac_check_lib_save_LIBS=$LIBS
11499 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11503 /* Override any GCC internal prototype to avoid an error.
11504 Use char because int might match the return type of a GCC
11505 builtin and then its argument prototype would still apply. */
11506 #ifdef __cplusplus
11507 extern "C"
11508 #endif
11509 char XShmQueryExtension ();
11511 main ()
11513 return XShmQueryExtension ();
11515 return 0;
11517 _ACEOF
11518 if ac_fn_c_try_link "$LINENO"; then :
11519 ac_cv_lib_Xext_XShmQueryExtension=yes
11520 else
11521 ac_cv_lib_Xext_XShmQueryExtension=no
11523 rm -f core conftest.err conftest.$ac_objext \
11524 conftest$ac_exeext conftest.$ac_ext
11525 LIBS=$ac_check_lib_save_LIBS
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11528 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11529 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11531 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11536 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11537 case "x$with_xshm" in
11538 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11539 xno) ;;
11540 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11541 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11542 esac
11546 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11547 then
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11549 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11550 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11551 $as_echo_n "(cached) " >&6
11552 else
11553 ac_check_lib_save_LIBS=$LIBS
11554 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11556 /* end confdefs.h. */
11558 /* Override any GCC internal prototype to avoid an error.
11559 Use char because int might match the return type of a GCC
11560 builtin and then its argument prototype would still apply. */
11561 #ifdef __cplusplus
11562 extern "C"
11563 #endif
11564 char XShapeQueryExtension ();
11566 main ()
11568 return XShapeQueryExtension ();
11570 return 0;
11572 _ACEOF
11573 if ac_fn_c_try_link "$LINENO"; then :
11574 ac_cv_lib_Xext_XShapeQueryExtension=yes
11575 else
11576 ac_cv_lib_Xext_XShapeQueryExtension=no
11578 rm -f core conftest.err conftest.$ac_objext \
11579 conftest$ac_exeext conftest.$ac_ext
11580 LIBS=$ac_check_lib_save_LIBS
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11583 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11584 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11586 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11591 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11592 case "x$with_xshape" in
11593 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11594 xno) ;;
11595 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11596 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11597 esac
11601 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11602 then
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11604 $as_echo_n "checking for -lXxf86vm... " >&6; }
11605 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11606 $as_echo_n "(cached) " >&6
11607 else
11608 ac_check_soname_save_LIBS=$LIBS
11609 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11613 /* Override any GCC internal prototype to avoid an error.
11614 Use char because int might match the return type of a GCC
11615 builtin and then its argument prototype would still apply. */
11616 #ifdef __cplusplus
11617 extern "C"
11618 #endif
11619 char XF86VidModeQueryExtension ();
11621 main ()
11623 return XF86VidModeQueryExtension ();
11625 return 0;
11627 _ACEOF
11628 if ac_fn_c_try_link "$LINENO"; then :
11629 case "$LIBEXT" in
11630 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11631 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'` ;;
11632 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11633 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11634 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11635 fi ;;
11636 esac
11637 else
11638 ac_cv_lib_soname_Xxf86vm=
11640 rm -f core conftest.err conftest.$ac_objext \
11641 conftest$ac_exeext conftest.$ac_ext
11642 LIBS=$ac_check_soname_save_LIBS
11644 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11646 $as_echo "not found" >&6; }
11648 else
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11650 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11652 cat >>confdefs.h <<_ACEOF
11653 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11654 _ACEOF
11659 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11660 case "x$with_xxf86vm" in
11661 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11662 xno) ;;
11663 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11664 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11665 esac
11669 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11670 then
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11672 $as_echo_n "checking for -lXrender... " >&6; }
11673 if ${ac_cv_lib_soname_Xrender+:} false; then :
11674 $as_echo_n "(cached) " >&6
11675 else
11676 ac_check_soname_save_LIBS=$LIBS
11677 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11681 /* Override any GCC internal prototype to avoid an error.
11682 Use char because int might match the return type of a GCC
11683 builtin and then its argument prototype would still apply. */
11684 #ifdef __cplusplus
11685 extern "C"
11686 #endif
11687 char XRenderQueryExtension ();
11689 main ()
11691 return XRenderQueryExtension ();
11693 return 0;
11695 _ACEOF
11696 if ac_fn_c_try_link "$LINENO"; then :
11697 case "$LIBEXT" in
11698 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11699 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'` ;;
11700 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11701 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11702 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11703 fi ;;
11704 esac
11705 else
11706 ac_cv_lib_soname_Xrender=
11708 rm -f core conftest.err conftest.$ac_objext \
11709 conftest$ac_exeext conftest.$ac_ext
11710 LIBS=$ac_check_soname_save_LIBS
11712 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11714 $as_echo "not found" >&6; }
11716 else
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11718 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11720 cat >>confdefs.h <<_ACEOF
11721 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11722 _ACEOF
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11725 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11726 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11727 $as_echo_n "(cached) " >&6
11728 else
11729 ac_check_lib_save_LIBS=$LIBS
11730 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11732 /* end confdefs.h. */
11734 /* Override any GCC internal prototype to avoid an error.
11735 Use char because int might match the return type of a GCC
11736 builtin and then its argument prototype would still apply. */
11737 #ifdef __cplusplus
11738 extern "C"
11739 #endif
11740 char XRenderSetPictureTransform ();
11742 main ()
11744 return XRenderSetPictureTransform ();
11746 return 0;
11748 _ACEOF
11749 if ac_fn_c_try_link "$LINENO"; then :
11750 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11751 else
11752 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11754 rm -f core conftest.err conftest.$ac_objext \
11755 conftest$ac_exeext conftest.$ac_ext
11756 LIBS=$ac_check_lib_save_LIBS
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11759 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11760 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11762 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11767 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11768 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11769 $as_echo_n "(cached) " >&6
11770 else
11771 ac_check_lib_save_LIBS=$LIBS
11772 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11774 /* end confdefs.h. */
11776 /* Override any GCC internal prototype to avoid an error.
11777 Use char because int might match the return type of a GCC
11778 builtin and then its argument prototype would still apply. */
11779 #ifdef __cplusplus
11780 extern "C"
11781 #endif
11782 char XRenderCreateLinearGradient ();
11784 main ()
11786 return XRenderCreateLinearGradient ();
11788 return 0;
11790 _ACEOF
11791 if ac_fn_c_try_link "$LINENO"; then :
11792 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11793 else
11794 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11796 rm -f core conftest.err conftest.$ac_objext \
11797 conftest$ac_exeext conftest.$ac_ext
11798 LIBS=$ac_check_lib_save_LIBS
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11801 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11802 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11804 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11811 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11812 case "x$with_xrender" in
11813 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11814 xno) ;;
11815 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11816 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11817 esac
11821 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11822 then
11823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11824 /* end confdefs.h. */
11825 #include <X11/Xlib.h>
11826 #include <X11/extensions/Xrandr.h>
11828 main ()
11830 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11832 return 0;
11834 _ACEOF
11835 if ac_fn_c_try_compile "$LINENO"; then :
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11837 $as_echo_n "checking for -lXrandr... " >&6; }
11838 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11839 $as_echo_n "(cached) " >&6
11840 else
11841 ac_check_soname_save_LIBS=$LIBS
11842 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11844 /* end confdefs.h. */
11846 /* Override any GCC internal prototype to avoid an error.
11847 Use char because int might match the return type of a GCC
11848 builtin and then its argument prototype would still apply. */
11849 #ifdef __cplusplus
11850 extern "C"
11851 #endif
11852 char XRRQueryExtension ();
11854 main ()
11856 return XRRQueryExtension ();
11858 return 0;
11860 _ACEOF
11861 if ac_fn_c_try_link "$LINENO"; then :
11862 case "$LIBEXT" in
11863 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11864 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'` ;;
11865 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11866 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11867 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11868 fi ;;
11869 esac
11870 else
11871 ac_cv_lib_soname_Xrandr=
11873 rm -f core conftest.err conftest.$ac_objext \
11874 conftest$ac_exeext conftest.$ac_ext
11875 LIBS=$ac_check_soname_save_LIBS
11877 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11879 $as_echo "not found" >&6; }
11881 else
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11883 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11885 cat >>confdefs.h <<_ACEOF
11886 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11887 _ACEOF
11889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11890 /* end confdefs.h. */
11891 #include <X11/Xlib.h>
11892 #include <X11/extensions/Xrandr.h>
11894 main ()
11896 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11898 return 0;
11900 _ACEOF
11901 if ac_fn_c_try_compile "$LINENO"; then :
11903 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11911 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11912 case "x$with_xrandr" in
11913 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11914 xno) ;;
11915 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11916 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11917 esac
11921 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11922 then
11923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h. */
11925 #include <X11/Xlib.h>
11926 #include <X11/extensions/Xfixes.h>
11928 main ()
11930 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11932 return 0;
11934 _ACEOF
11935 if ac_fn_c_try_compile "$LINENO"; then :
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11937 $as_echo_n "checking for -lXfixes... " >&6; }
11938 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11939 $as_echo_n "(cached) " >&6
11940 else
11941 ac_check_soname_save_LIBS=$LIBS
11942 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11946 /* Override any GCC internal prototype to avoid an error.
11947 Use char because int might match the return type of a GCC
11948 builtin and then its argument prototype would still apply. */
11949 #ifdef __cplusplus
11950 extern "C"
11951 #endif
11952 char XFixesQueryVersion ();
11954 main ()
11956 return XFixesQueryVersion ();
11958 return 0;
11960 _ACEOF
11961 if ac_fn_c_try_link "$LINENO"; then :
11962 case "$LIBEXT" in
11963 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11964 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'` ;;
11965 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11966 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11967 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11968 fi ;;
11969 esac
11970 else
11971 ac_cv_lib_soname_Xfixes=
11973 rm -f core conftest.err conftest.$ac_objext \
11974 conftest$ac_exeext conftest.$ac_ext
11975 LIBS=$ac_check_soname_save_LIBS
11977 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11979 $as_echo "not found" >&6; }
11981 else
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11983 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11985 cat >>confdefs.h <<_ACEOF
11986 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11987 _ACEOF
11992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11994 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11995 case "x$with_xfixes" in
11996 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11997 xno) ;;
11998 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11999 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12000 esac
12004 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12005 then
12006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12007 /* end confdefs.h. */
12008 #include <X11/Xlib.h>
12009 #include <X11/extensions/Xinerama.h>
12011 main ()
12013 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12015 return 0;
12017 _ACEOF
12018 if ac_fn_c_try_compile "$LINENO"; then :
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12020 $as_echo_n "checking for -lXinerama... " >&6; }
12021 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12022 $as_echo_n "(cached) " >&6
12023 else
12024 ac_check_soname_save_LIBS=$LIBS
12025 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12029 /* Override any GCC internal prototype to avoid an error.
12030 Use char because int might match the return type of a GCC
12031 builtin and then its argument prototype would still apply. */
12032 #ifdef __cplusplus
12033 extern "C"
12034 #endif
12035 char XineramaQueryScreens ();
12037 main ()
12039 return XineramaQueryScreens ();
12041 return 0;
12043 _ACEOF
12044 if ac_fn_c_try_link "$LINENO"; then :
12045 case "$LIBEXT" in
12046 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12047 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'` ;;
12048 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12049 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12050 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12051 fi ;;
12052 esac
12053 else
12054 ac_cv_lib_soname_Xinerama=
12056 rm -f core conftest.err conftest.$ac_objext \
12057 conftest$ac_exeext conftest.$ac_ext
12058 LIBS=$ac_check_soname_save_LIBS
12060 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12062 $as_echo "not found" >&6; }
12064 else
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12066 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12068 cat >>confdefs.h <<_ACEOF
12069 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12070 _ACEOF
12075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12077 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12078 case "x$with_xinerama" in
12079 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12080 xno) ;;
12081 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12082 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12083 esac
12087 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12088 then
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12090 $as_echo_n "checking for -lXcomposite... " >&6; }
12091 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12092 $as_echo_n "(cached) " >&6
12093 else
12094 ac_check_soname_save_LIBS=$LIBS
12095 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12097 /* end confdefs.h. */
12099 /* Override any GCC internal prototype to avoid an error.
12100 Use char because int might match the return type of a GCC
12101 builtin and then its argument prototype would still apply. */
12102 #ifdef __cplusplus
12103 extern "C"
12104 #endif
12105 char XCompositeRedirectWindow ();
12107 main ()
12109 return XCompositeRedirectWindow ();
12111 return 0;
12113 _ACEOF
12114 if ac_fn_c_try_link "$LINENO"; then :
12115 case "$LIBEXT" in
12116 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12117 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'` ;;
12118 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12119 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12120 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12121 fi ;;
12122 esac
12123 else
12124 ac_cv_lib_soname_Xcomposite=
12126 rm -f core conftest.err conftest.$ac_objext \
12127 conftest$ac_exeext conftest.$ac_ext
12128 LIBS=$ac_check_soname_save_LIBS
12130 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12132 $as_echo "not found" >&6; }
12134 else
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12136 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12138 cat >>confdefs.h <<_ACEOF
12139 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12140 _ACEOF
12145 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12146 case "x$with_xcomposite" in
12147 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12148 xno) ;;
12149 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12150 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12151 esac
12155 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12156 #include <X11/Xlib.h>
12157 #endif
12159 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12161 cat >>confdefs.h <<_ACEOF
12162 #define HAVE_XICCALLBACK_CALLBACK 1
12163 _ACEOF
12167 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12168 #include <X11/Xlib.h>
12169 #endif
12171 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12173 cat >>confdefs.h <<_ACEOF
12174 #define HAVE_XEVENT_XCOOKIE 1
12175 _ACEOF
12182 opengl_msg=""
12183 if test "x$with_opengl" != "xno"
12184 then
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12186 $as_echo_n "checking for -lGL... " >&6; }
12187 if ${ac_cv_lib_soname_GL+:} false; then :
12188 $as_echo_n "(cached) " >&6
12189 else
12190 ac_check_soname_save_LIBS=$LIBS
12191 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12195 /* Override any GCC internal prototype to avoid an error.
12196 Use char because int might match the return type of a GCC
12197 builtin and then its argument prototype would still apply. */
12198 #ifdef __cplusplus
12199 extern "C"
12200 #endif
12201 char glXCreateContext ();
12203 main ()
12205 return glXCreateContext ();
12207 return 0;
12209 _ACEOF
12210 if ac_fn_c_try_link "$LINENO"; then :
12211 case "$LIBEXT" in
12212 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12213 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'` ;;
12214 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12215 if ${ac_cv_lib_soname_GL:+false} :; then :
12216 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12217 fi ;;
12218 esac
12219 else
12220 ac_cv_lib_soname_GL=
12222 rm -f core conftest.err conftest.$ac_objext \
12223 conftest$ac_exeext conftest.$ac_ext
12224 LIBS=$ac_check_soname_save_LIBS
12226 if ${ac_cv_lib_soname_GL:+false} :; then :
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12228 $as_echo "not found" >&6; }
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12230 $as_echo_n "checking for -lGL... " >&6; }
12231 if ${ac_cv_lib_soname_GL+:} false; then :
12232 $as_echo_n "(cached) " >&6
12233 else
12234 ac_check_soname_save_LIBS=$LIBS
12235 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"
12236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12237 /* end confdefs.h. */
12239 /* Override any GCC internal prototype to avoid an error.
12240 Use char because int might match the return type of a GCC
12241 builtin and then its argument prototype would still apply. */
12242 #ifdef __cplusplus
12243 extern "C"
12244 #endif
12245 char glXCreateContext ();
12247 main ()
12249 return glXCreateContext ();
12251 return 0;
12253 _ACEOF
12254 if ac_fn_c_try_link "$LINENO"; then :
12255 case "$LIBEXT" in
12256 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12257 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'` ;;
12258 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12259 if ${ac_cv_lib_soname_GL:+false} :; then :
12260 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12261 fi ;;
12262 esac
12263 else
12264 ac_cv_lib_soname_GL=
12266 rm -f core conftest.err conftest.$ac_objext \
12267 conftest$ac_exeext conftest.$ac_ext
12268 LIBS=$ac_check_soname_save_LIBS
12270 if ${ac_cv_lib_soname_GL:+false} :; then :
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12272 $as_echo "not found" >&6; }
12273 if test -f /usr/X11R6/lib/libGL.a
12274 then
12275 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12276 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12277 else
12278 opengl_msg="No OpenGL library found on this system."
12280 else
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12282 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12284 cat >>confdefs.h <<_ACEOF
12285 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12286 _ACEOF
12288 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"
12290 else
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12292 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12294 cat >>confdefs.h <<_ACEOF
12295 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12296 _ACEOF
12298 OPENGL_LIBS="-lGL"
12300 if test "x$with_glu" != "xno"
12301 then
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12303 $as_echo_n "checking for -lGLU... " >&6; }
12304 if ${ac_cv_lib_soname_GLU+:} false; then :
12305 $as_echo_n "(cached) " >&6
12306 else
12307 ac_check_soname_save_LIBS=$LIBS
12308 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h. */
12312 /* Override any GCC internal prototype to avoid an error.
12313 Use char because int might match the return type of a GCC
12314 builtin and then its argument prototype would still apply. */
12315 #ifdef __cplusplus
12316 extern "C"
12317 #endif
12318 char gluLookAt ();
12320 main ()
12322 return gluLookAt ();
12324 return 0;
12326 _ACEOF
12327 if ac_fn_c_try_link "$LINENO"; then :
12328 case "$LIBEXT" in
12329 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12330 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'` ;;
12331 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12332 if ${ac_cv_lib_soname_GLU:+false} :; then :
12333 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12334 fi ;;
12335 esac
12336 else
12337 ac_cv_lib_soname_GLU=
12339 rm -f core conftest.err conftest.$ac_objext \
12340 conftest$ac_exeext conftest.$ac_ext
12341 LIBS=$ac_check_soname_save_LIBS
12343 if ${ac_cv_lib_soname_GLU:+false} :; then :
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12345 $as_echo "not found" >&6; }
12347 else
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12349 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12351 cat >>confdefs.h <<_ACEOF
12352 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12353 _ACEOF
12357 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12358 case "x$with_glu" in
12359 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12360 xno) ;;
12361 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12362 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12363 esac
12368 if test "x$with_osmesa" != "xno"
12369 then
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12371 $as_echo_n "checking for -lOSMesa... " >&6; }
12372 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12373 $as_echo_n "(cached) " >&6
12374 else
12375 ac_check_soname_save_LIBS=$LIBS
12376 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12378 /* end confdefs.h. */
12380 /* Override any GCC internal prototype to avoid an error.
12381 Use char because int might match the return type of a GCC
12382 builtin and then its argument prototype would still apply. */
12383 #ifdef __cplusplus
12384 extern "C"
12385 #endif
12386 char OSMesaGetProcAddress ();
12388 main ()
12390 return OSMesaGetProcAddress ();
12392 return 0;
12394 _ACEOF
12395 if ac_fn_c_try_link "$LINENO"; then :
12396 case "$LIBEXT" in
12397 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12398 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'` ;;
12399 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12400 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12401 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12402 fi ;;
12403 esac
12404 else
12405 ac_cv_lib_soname_OSMesa=
12407 rm -f core conftest.err conftest.$ac_objext \
12408 conftest$ac_exeext conftest.$ac_ext
12409 LIBS=$ac_check_soname_save_LIBS
12411 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12413 $as_echo "not found" >&6; }
12415 else
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12417 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12419 cat >>confdefs.h <<_ACEOF
12420 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12421 _ACEOF
12425 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12426 case "x$with_osmesa" in
12427 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12428 xno) ;;
12429 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12430 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12431 esac
12436 if test -n "$opengl_msg"; then :
12437 case "x$with_opengl" in
12438 x) as_fn_append wine_warnings "|$opengl_msg
12439 OpenGL and Direct3D won't be supported." ;;
12440 xno) ;;
12441 *) as_fn_error $? "$opengl_msg
12442 OpenGL and Direct3D won't be supported.
12443 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12444 esac
12448 CPPFLAGS="$ac_save_CPPFLAGS"
12449 else
12450 X_CFLAGS=""
12451 X_LIBS=""
12454 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12455 then
12456 if test "x$X_LIBS" = "x"; then :
12457 case "x$with_x" in
12458 xno) ;;
12459 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12460 without X support, which probably isn't what you want. You will need
12461 to install ${notice_platform}development packages of Xlib at the very least.
12462 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12463 esac
12464 enable_winex11_drv=${enable_winex11_drv:-no}
12466 else
12467 if test "x$X_LIBS" = "x"; then :
12468 case "x$with_x" in
12469 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12470 xno) ;;
12471 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12472 This is an error since --with-x was requested." "$LINENO" 5 ;;
12473 esac
12474 enable_winex11_drv=${enable_winex11_drv:-no}
12478 if test "$ac_cv_header_CL_cl_h" = "yes"
12479 then
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12481 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12482 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12483 $as_echo_n "(cached) " >&6
12484 else
12485 ac_check_lib_save_LIBS=$LIBS
12486 LIBS="-lOpenCL $LIBS"
12487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12488 /* end confdefs.h. */
12490 /* Override any GCC internal prototype to avoid an error.
12491 Use char because int might match the return type of a GCC
12492 builtin and then its argument prototype would still apply. */
12493 #ifdef __cplusplus
12494 extern "C"
12495 #endif
12496 char clGetPlatformInfo ();
12498 main ()
12500 return clGetPlatformInfo ();
12502 return 0;
12504 _ACEOF
12505 if ac_fn_c_try_link "$LINENO"; then :
12506 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12507 else
12508 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12510 rm -f core conftest.err conftest.$ac_objext \
12511 conftest$ac_exeext conftest.$ac_ext
12512 LIBS=$ac_check_lib_save_LIBS
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12515 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12516 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12517 OPENCL_LIBS="-lOpenCL"
12522 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12523 case "x$with_opencl" in
12524 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12525 xno) ;;
12526 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12527 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12528 esac
12529 enable_opencl=${enable_opencl:-no}
12532 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12533 then
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12535 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12536 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12537 $as_echo_n "(cached) " >&6
12538 else
12539 ac_check_lib_save_LIBS=$LIBS
12540 LIBS="-lpcap $LIBS"
12541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12544 /* Override any GCC internal prototype to avoid an error.
12545 Use char because int might match the return type of a GCC
12546 builtin and then its argument prototype would still apply. */
12547 #ifdef __cplusplus
12548 extern "C"
12549 #endif
12550 char pcap_create ();
12552 main ()
12554 return pcap_create ();
12556 return 0;
12558 _ACEOF
12559 if ac_fn_c_try_link "$LINENO"; then :
12560 ac_cv_lib_pcap_pcap_create=yes
12561 else
12562 ac_cv_lib_pcap_pcap_create=no
12564 rm -f core conftest.err conftest.$ac_objext \
12565 conftest$ac_exeext conftest.$ac_ext
12566 LIBS=$ac_check_lib_save_LIBS
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12569 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12570 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12571 PCAP_LIBS="-lpcap"
12576 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12577 case "x$with_pcap" in
12578 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12579 xno) ;;
12580 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12581 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12582 esac
12583 enable_wpcap=${enable_wpcap:-no}
12587 if test "x$with_xml" != "xno"
12588 then
12589 if ${XML2_CFLAGS:+false} :; then :
12590 if ${PKG_CONFIG+:} false; then :
12591 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12594 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12595 if ${XML2_LIBS:+false} :; then :
12596 if ${PKG_CONFIG+:} false; then :
12597 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12600 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12601 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12602 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12603 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12604 ac_save_CPPFLAGS=$CPPFLAGS
12605 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12606 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12607 do :
12608 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12609 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12610 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12611 cat >>confdefs.h <<_ACEOF
12612 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12613 _ACEOF
12617 done
12619 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"
12620 then
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12622 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12623 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12624 $as_echo_n "(cached) " >&6
12625 else
12626 ac_check_lib_save_LIBS=$LIBS
12627 LIBS="-lxml2 $XML2_LIBS $LIBS"
12628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12631 /* Override any GCC internal prototype to avoid an error.
12632 Use char because int might match the return type of a GCC
12633 builtin and then its argument prototype would still apply. */
12634 #ifdef __cplusplus
12635 extern "C"
12636 #endif
12637 char xmlParseMemory ();
12639 main ()
12641 return xmlParseMemory ();
12643 return 0;
12645 _ACEOF
12646 if ac_fn_c_try_link "$LINENO"; then :
12647 ac_cv_lib_xml2_xmlParseMemory=yes
12648 else
12649 ac_cv_lib_xml2_xmlParseMemory=no
12651 rm -f core conftest.err conftest.$ac_objext \
12652 conftest$ac_exeext conftest.$ac_ext
12653 LIBS=$ac_check_lib_save_LIBS
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12656 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12657 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12659 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12661 else
12662 XML2_LIBS=""
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12666 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12667 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12668 $as_echo_n "(cached) " >&6
12669 else
12670 ac_check_lib_save_LIBS=$LIBS
12671 LIBS="-lxml2 $XML2_LIBS $LIBS"
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12675 /* Override any GCC internal prototype to avoid an error.
12676 Use char because int might match the return type of a GCC
12677 builtin and then its argument prototype would still apply. */
12678 #ifdef __cplusplus
12679 extern "C"
12680 #endif
12681 char xmlReadMemory ();
12683 main ()
12685 return xmlReadMemory ();
12687 return 0;
12689 _ACEOF
12690 if ac_fn_c_try_link "$LINENO"; then :
12691 ac_cv_lib_xml2_xmlReadMemory=yes
12692 else
12693 ac_cv_lib_xml2_xmlReadMemory=no
12695 rm -f core conftest.err conftest.$ac_objext \
12696 conftest$ac_exeext conftest.$ac_ext
12697 LIBS=$ac_check_lib_save_LIBS
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12700 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12701 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12703 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12708 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12709 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12710 $as_echo_n "(cached) " >&6
12711 else
12712 ac_check_lib_save_LIBS=$LIBS
12713 LIBS="-lxml2 $XML2_LIBS $LIBS"
12714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12715 /* end confdefs.h. */
12717 /* Override any GCC internal prototype to avoid an error.
12718 Use char because int might match the return type of a GCC
12719 builtin and then its argument prototype would still apply. */
12720 #ifdef __cplusplus
12721 extern "C"
12722 #endif
12723 char xmlNewDocPI ();
12725 main ()
12727 return xmlNewDocPI ();
12729 return 0;
12731 _ACEOF
12732 if ac_fn_c_try_link "$LINENO"; then :
12733 ac_cv_lib_xml2_xmlNewDocPI=yes
12734 else
12735 ac_cv_lib_xml2_xmlNewDocPI=no
12737 rm -f core conftest.err conftest.$ac_objext \
12738 conftest$ac_exeext conftest.$ac_ext
12739 LIBS=$ac_check_lib_save_LIBS
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12742 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12743 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12745 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12750 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12751 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12752 $as_echo_n "(cached) " >&6
12753 else
12754 ac_check_lib_save_LIBS=$LIBS
12755 LIBS="-lxml2 $XML2_LIBS $LIBS"
12756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12757 /* end confdefs.h. */
12759 /* Override any GCC internal prototype to avoid an error.
12760 Use char because int might match the return type of a GCC
12761 builtin and then its argument prototype would still apply. */
12762 #ifdef __cplusplus
12763 extern "C"
12764 #endif
12765 char xmlSchemaSetParserStructuredErrors ();
12767 main ()
12769 return xmlSchemaSetParserStructuredErrors ();
12771 return 0;
12773 _ACEOF
12774 if ac_fn_c_try_link "$LINENO"; then :
12775 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12776 else
12777 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12779 rm -f core conftest.err conftest.$ac_objext \
12780 conftest$ac_exeext conftest.$ac_ext
12781 LIBS=$ac_check_lib_save_LIBS
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12784 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12785 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12787 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12792 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12793 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12794 $as_echo_n "(cached) " >&6
12795 else
12796 ac_check_lib_save_LIBS=$LIBS
12797 LIBS="-lxml2 $XML2_LIBS $LIBS"
12798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12799 /* end confdefs.h. */
12801 /* Override any GCC internal prototype to avoid an error.
12802 Use char because int might match the return type of a GCC
12803 builtin and then its argument prototype would still apply. */
12804 #ifdef __cplusplus
12805 extern "C"
12806 #endif
12807 char xmlSchemaSetValidStructuredErrors ();
12809 main ()
12811 return xmlSchemaSetValidStructuredErrors ();
12813 return 0;
12815 _ACEOF
12816 if ac_fn_c_try_link "$LINENO"; then :
12817 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12818 else
12819 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12821 rm -f core conftest.err conftest.$ac_objext \
12822 conftest$ac_exeext conftest.$ac_ext
12823 LIBS=$ac_check_lib_save_LIBS
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12826 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12827 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12829 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12834 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12835 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12836 $as_echo_n "(cached) " >&6
12837 else
12838 ac_check_lib_save_LIBS=$LIBS
12839 LIBS="-lxml2 $XML2_LIBS $LIBS"
12840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12841 /* end confdefs.h. */
12843 /* Override any GCC internal prototype to avoid an error.
12844 Use char because int might match the return type of a GCC
12845 builtin and then its argument prototype would still apply. */
12846 #ifdef __cplusplus
12847 extern "C"
12848 #endif
12849 char xmlFirstElementChild ();
12851 main ()
12853 return xmlFirstElementChild ();
12855 return 0;
12857 _ACEOF
12858 if ac_fn_c_try_link "$LINENO"; then :
12859 ac_cv_lib_xml2_xmlFirstElementChild=yes
12860 else
12861 ac_cv_lib_xml2_xmlFirstElementChild=no
12863 rm -f core conftest.err conftest.$ac_objext \
12864 conftest$ac_exeext conftest.$ac_ext
12865 LIBS=$ac_check_lib_save_LIBS
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12868 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12869 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12871 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12875 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12877 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12879 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12883 else
12884 XML2_CFLAGS=""
12885 XML2_LIBS=""
12887 CPPFLAGS=$ac_save_CPPFLAGS
12888 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12889 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12892 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12893 case "x$with_xml" in
12894 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12895 xno) ;;
12896 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12897 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12898 esac
12902 if test "x$with_xslt" != "xno"
12903 then
12904 if ${XSLT_CFLAGS:+false} :; then :
12905 if ${PKG_CONFIG+:} false; then :
12906 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12909 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12910 if ${XSLT_LIBS:+false} :; then :
12911 if ${PKG_CONFIG+:} false; then :
12912 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12915 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12916 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12917 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12918 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12919 ac_save_CPPFLAGS=$CPPFLAGS
12920 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12921 for ac_header in libxslt/pattern.h libxslt/transform.h
12922 do :
12923 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12924 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12925 # include <libxslt/pattern.h>
12926 #endif
12928 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12929 cat >>confdefs.h <<_ACEOF
12930 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12931 _ACEOF
12935 done
12937 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12938 then
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12940 $as_echo_n "checking for -lxslt... " >&6; }
12941 if ${ac_cv_lib_soname_xslt+:} false; then :
12942 $as_echo_n "(cached) " >&6
12943 else
12944 ac_check_soname_save_LIBS=$LIBS
12945 LIBS="-lxslt $XSLT_LIBS $LIBS"
12946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12947 /* end confdefs.h. */
12949 /* Override any GCC internal prototype to avoid an error.
12950 Use char because int might match the return type of a GCC
12951 builtin and then its argument prototype would still apply. */
12952 #ifdef __cplusplus
12953 extern "C"
12954 #endif
12955 char xsltCompilePattern ();
12957 main ()
12959 return xsltCompilePattern ();
12961 return 0;
12963 _ACEOF
12964 if ac_fn_c_try_link "$LINENO"; then :
12965 case "$LIBEXT" in
12966 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12967 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'` ;;
12968 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12969 if ${ac_cv_lib_soname_xslt:+false} :; then :
12970 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12971 fi ;;
12972 esac
12973 else
12974 ac_cv_lib_soname_xslt=
12976 rm -f core conftest.err conftest.$ac_objext \
12977 conftest$ac_exeext conftest.$ac_ext
12978 LIBS=$ac_check_soname_save_LIBS
12980 if ${ac_cv_lib_soname_xslt:+false} :; then :
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12982 $as_echo "not found" >&6; }
12984 else
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12986 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12988 cat >>confdefs.h <<_ACEOF
12989 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12990 _ACEOF
12994 else
12995 XSLT_CFLAGS=""
12997 CPPFLAGS=$ac_save_CPPFLAGS
12998 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12999 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13002 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13003 case "x$with_xslt" in
13004 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13005 xno) ;;
13006 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13007 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13008 esac
13012 if test "x$with_dbus" != "xno"
13013 then
13014 if ${DBUS_CFLAGS:+false} :; then :
13015 if ${PKG_CONFIG+:} false; then :
13016 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13020 if ${DBUS_LIBS:+false} :; then :
13021 if ${PKG_CONFIG+:} false; then :
13022 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13027 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13028 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13029 ac_save_CPPFLAGS=$CPPFLAGS
13030 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13031 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13032 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13034 $as_echo_n "checking for -ldbus-1... " >&6; }
13035 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13036 $as_echo_n "(cached) " >&6
13037 else
13038 ac_check_soname_save_LIBS=$LIBS
13039 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13041 /* end confdefs.h. */
13043 /* Override any GCC internal prototype to avoid an error.
13044 Use char because int might match the return type of a GCC
13045 builtin and then its argument prototype would still apply. */
13046 #ifdef __cplusplus
13047 extern "C"
13048 #endif
13049 char dbus_connection_close ();
13051 main ()
13053 return dbus_connection_close ();
13055 return 0;
13057 _ACEOF
13058 if ac_fn_c_try_link "$LINENO"; then :
13059 case "$LIBEXT" in
13060 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13061 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'` ;;
13062 *) 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'`
13063 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13064 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13065 fi ;;
13066 esac
13067 else
13068 ac_cv_lib_soname_dbus_1=
13070 rm -f core conftest.err conftest.$ac_objext \
13071 conftest$ac_exeext conftest.$ac_ext
13072 LIBS=$ac_check_soname_save_LIBS
13074 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13076 $as_echo "not found" >&6; }
13077 DBUS_CFLAGS=""
13078 else
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13080 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13082 cat >>confdefs.h <<_ACEOF
13083 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13084 _ACEOF
13088 else
13089 DBUS_CFLAGS=""
13093 CPPFLAGS=$ac_save_CPPFLAGS
13094 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13095 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13098 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13099 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13100 case "x$with_dbus" in
13101 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13102 xno) ;;
13103 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13104 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13105 esac
13109 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13110 then
13111 if ${HAL_CFLAGS:+false} :; then :
13112 if ${PKG_CONFIG+:} false; then :
13113 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13117 if ${HAL_LIBS:+false} :; then :
13118 if ${PKG_CONFIG+:} false; then :
13119 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13123 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13124 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13125 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13126 ac_save_CPPFLAGS=$CPPFLAGS
13127 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13128 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13129 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13131 $as_echo_n "checking for -lhal... " >&6; }
13132 if ${ac_cv_lib_soname_hal+:} false; then :
13133 $as_echo_n "(cached) " >&6
13134 else
13135 ac_check_soname_save_LIBS=$LIBS
13136 LIBS="-lhal $HAL_LIBS $LIBS"
13137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13138 /* end confdefs.h. */
13140 /* Override any GCC internal prototype to avoid an error.
13141 Use char because int might match the return type of a GCC
13142 builtin and then its argument prototype would still apply. */
13143 #ifdef __cplusplus
13144 extern "C"
13145 #endif
13146 char libhal_ctx_new ();
13148 main ()
13150 return libhal_ctx_new ();
13152 return 0;
13154 _ACEOF
13155 if ac_fn_c_try_link "$LINENO"; then :
13156 case "$LIBEXT" in
13157 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13158 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'` ;;
13159 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13160 if ${ac_cv_lib_soname_hal:+false} :; then :
13161 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13162 fi ;;
13163 esac
13164 else
13165 ac_cv_lib_soname_hal=
13167 rm -f core conftest.err conftest.$ac_objext \
13168 conftest$ac_exeext conftest.$ac_ext
13169 LIBS=$ac_check_soname_save_LIBS
13171 if ${ac_cv_lib_soname_hal:+false} :; then :
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13173 $as_echo "not found" >&6; }
13174 HAL_CFLAGS=""
13175 else
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13177 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13179 cat >>confdefs.h <<_ACEOF
13180 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13181 _ACEOF
13185 else
13186 HAL_CFLAGS=""
13190 CPPFLAGS=$ac_save_CPPFLAGS
13191 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13192 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13194 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13195 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13196 case "x$with_hal" in
13197 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13198 xno) ;;
13199 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13200 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13201 esac
13206 if test "x$with_gnutls" != "xno"
13207 then
13208 if ${GNUTLS_CFLAGS:+false} :; then :
13209 if ${PKG_CONFIG+:} false; then :
13210 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13214 if ${GNUTLS_LIBS:+false} :; then :
13215 if ${PKG_CONFIG+:} false; then :
13216 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13221 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13222 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13223 ac_save_CPPFLAGS=$CPPFLAGS
13224 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13225 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13226 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13228 /* end confdefs.h. */
13229 #include <gnutls/gnutls.h>
13230 #include <gnutls/crypto.h>
13232 main ()
13234 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13236 return 0;
13238 _ACEOF
13239 if ac_fn_c_try_compile "$LINENO"; then :
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13241 $as_echo_n "checking for -lgnutls... " >&6; }
13242 if ${ac_cv_lib_soname_gnutls+:} false; then :
13243 $as_echo_n "(cached) " >&6
13244 else
13245 ac_check_soname_save_LIBS=$LIBS
13246 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13248 /* end confdefs.h. */
13250 /* Override any GCC internal prototype to avoid an error.
13251 Use char because int might match the return type of a GCC
13252 builtin and then its argument prototype would still apply. */
13253 #ifdef __cplusplus
13254 extern "C"
13255 #endif
13256 char gnutls_global_init ();
13258 main ()
13260 return gnutls_global_init ();
13262 return 0;
13264 _ACEOF
13265 if ac_fn_c_try_link "$LINENO"; then :
13266 case "$LIBEXT" in
13267 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13268 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'` ;;
13269 *) 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'`
13270 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13271 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'`
13272 fi ;;
13273 esac
13274 else
13275 ac_cv_lib_soname_gnutls=
13277 rm -f core conftest.err conftest.$ac_objext \
13278 conftest$ac_exeext conftest.$ac_ext
13279 LIBS=$ac_check_soname_save_LIBS
13281 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13283 $as_echo "not found" >&6; }
13284 GNUTLS_CFLAGS=""
13285 else
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13287 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13289 cat >>confdefs.h <<_ACEOF
13290 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13291 _ACEOF
13295 ac_wine_check_funcs_save_LIBS="$LIBS"
13296 LIBS="$LIBS $GNUTLS_LIBS"
13297 for ac_func in gnutls_cipher_init
13298 do :
13299 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13300 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13301 cat >>confdefs.h <<_ACEOF
13302 #define HAVE_GNUTLS_CIPHER_INIT 1
13303 _ACEOF
13305 else
13306 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13308 done
13310 LIBS="$ac_wine_check_funcs_save_LIBS"
13312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13313 else
13314 GNUTLS_CFLAGS=""
13318 CPPFLAGS=$ac_save_CPPFLAGS
13319 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13320 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13323 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13324 case "x$with_gnutls" in
13325 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13326 xno) ;;
13327 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13328 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13329 esac
13333 CURSES_LIBS=""
13334 if test "$ac_cv_header_ncurses_h" = "yes"
13335 then
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13337 $as_echo_n "checking for -lncurses... " >&6; }
13338 if ${ac_cv_lib_soname_ncurses+:} false; then :
13339 $as_echo_n "(cached) " >&6
13340 else
13341 ac_check_soname_save_LIBS=$LIBS
13342 LIBS="-lncurses $LIBS"
13343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13346 /* Override any GCC internal prototype to avoid an error.
13347 Use char because int might match the return type of a GCC
13348 builtin and then its argument prototype would still apply. */
13349 #ifdef __cplusplus
13350 extern "C"
13351 #endif
13352 char waddch ();
13354 main ()
13356 return waddch ();
13358 return 0;
13360 _ACEOF
13361 if ac_fn_c_try_link "$LINENO"; then :
13362 case "$LIBEXT" in
13363 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13364 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'` ;;
13365 *) 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'`
13366 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13367 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13368 fi ;;
13369 esac
13370 else
13371 ac_cv_lib_soname_ncurses=
13373 rm -f core conftest.err conftest.$ac_objext \
13374 conftest$ac_exeext conftest.$ac_ext
13375 LIBS=$ac_check_soname_save_LIBS
13377 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13379 $as_echo "not found" >&6; }
13381 else
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13383 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13385 cat >>confdefs.h <<_ACEOF
13386 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13387 _ACEOF
13389 CURSES_LIBS="-lncurses"
13391 elif test "$ac_cv_header_curses_h" = "yes"
13392 then
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13394 $as_echo_n "checking for -lcurses... " >&6; }
13395 if ${ac_cv_lib_soname_curses+:} false; then :
13396 $as_echo_n "(cached) " >&6
13397 else
13398 ac_check_soname_save_LIBS=$LIBS
13399 LIBS="-lcurses $LIBS"
13400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13401 /* end confdefs.h. */
13403 /* Override any GCC internal prototype to avoid an error.
13404 Use char because int might match the return type of a GCC
13405 builtin and then its argument prototype would still apply. */
13406 #ifdef __cplusplus
13407 extern "C"
13408 #endif
13409 char waddch ();
13411 main ()
13413 return waddch ();
13415 return 0;
13417 _ACEOF
13418 if ac_fn_c_try_link "$LINENO"; then :
13419 case "$LIBEXT" in
13420 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13421 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'` ;;
13422 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13423 if ${ac_cv_lib_soname_curses:+false} :; then :
13424 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13425 fi ;;
13426 esac
13427 else
13428 ac_cv_lib_soname_curses=
13430 rm -f core conftest.err conftest.$ac_objext \
13431 conftest$ac_exeext conftest.$ac_ext
13432 LIBS=$ac_check_soname_save_LIBS
13434 if ${ac_cv_lib_soname_curses:+false} :; then :
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13436 $as_echo "not found" >&6; }
13438 else
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13440 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13442 cat >>confdefs.h <<_ACEOF
13443 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13444 _ACEOF
13446 CURSES_LIBS="-lcurses"
13449 ac_save_LIBS="$LIBS"
13450 LIBS="$LIBS $CURSES_LIBS"
13451 for ac_func in mousemask
13452 do :
13453 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13454 if test "x$ac_cv_func_mousemask" = xyes; then :
13455 cat >>confdefs.h <<_ACEOF
13456 #define HAVE_MOUSEMASK 1
13457 _ACEOF
13460 done
13462 LIBS="$ac_save_LIBS"
13463 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13464 case "x$with_curses" in
13465 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13466 xno) ;;
13467 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13468 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13469 esac
13473 if test "x$with_sane" != "xno"
13474 then
13475 if ${SANE_CFLAGS:+false} :; then :
13476 if ${PKG_CONFIG+:} false; then :
13477 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13480 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13481 if ${SANE_LIBS:+false} :; then :
13482 if ${PKG_CONFIG+:} false; then :
13483 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13486 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13488 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13489 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13490 ac_save_CPPFLAGS=$CPPFLAGS
13491 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13492 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13493 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13495 $as_echo_n "checking for -lsane... " >&6; }
13496 if ${ac_cv_lib_soname_sane+:} false; then :
13497 $as_echo_n "(cached) " >&6
13498 else
13499 ac_check_soname_save_LIBS=$LIBS
13500 LIBS="-lsane $SANE_LIBS $LIBS"
13501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13502 /* end confdefs.h. */
13504 /* Override any GCC internal prototype to avoid an error.
13505 Use char because int might match the return type of a GCC
13506 builtin and then its argument prototype would still apply. */
13507 #ifdef __cplusplus
13508 extern "C"
13509 #endif
13510 char sane_init ();
13512 main ()
13514 return sane_init ();
13516 return 0;
13518 _ACEOF
13519 if ac_fn_c_try_link "$LINENO"; then :
13520 case "$LIBEXT" in
13521 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13522 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'` ;;
13523 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13524 if ${ac_cv_lib_soname_sane:+false} :; then :
13525 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13526 fi ;;
13527 esac
13528 else
13529 ac_cv_lib_soname_sane=
13531 rm -f core conftest.err conftest.$ac_objext \
13532 conftest$ac_exeext conftest.$ac_ext
13533 LIBS=$ac_check_soname_save_LIBS
13535 if ${ac_cv_lib_soname_sane:+false} :; then :
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13537 $as_echo "not found" >&6; }
13538 SANE_CFLAGS=""
13539 else
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13541 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13543 cat >>confdefs.h <<_ACEOF
13544 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13545 _ACEOF
13549 else
13550 SANE_CFLAGS=""
13554 CPPFLAGS=$ac_save_CPPFLAGS
13555 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13556 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13559 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13560 case "x$with_sane" in
13561 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13562 xno) ;;
13563 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13564 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13565 esac
13569 if test "x$with_v4l2" != "xno"
13570 then
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13572 $as_echo_n "checking for -lv4l2... " >&6; }
13573 if ${ac_cv_lib_soname_v4l2+:} false; then :
13574 $as_echo_n "(cached) " >&6
13575 else
13576 ac_check_soname_save_LIBS=$LIBS
13577 LIBS="-lv4l2 $LIBS"
13578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13581 /* Override any GCC internal prototype to avoid an error.
13582 Use char because int might match the return type of a GCC
13583 builtin and then its argument prototype would still apply. */
13584 #ifdef __cplusplus
13585 extern "C"
13586 #endif
13587 char v4l2_open ();
13589 main ()
13591 return v4l2_open ();
13593 return 0;
13595 _ACEOF
13596 if ac_fn_c_try_link "$LINENO"; then :
13597 case "$LIBEXT" in
13598 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13599 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'` ;;
13600 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13601 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13602 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13603 fi ;;
13604 esac
13605 else
13606 ac_cv_lib_soname_v4l2=
13608 rm -f core conftest.err conftest.$ac_objext \
13609 conftest$ac_exeext conftest.$ac_ext
13610 LIBS=$ac_check_soname_save_LIBS
13612 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13614 $as_echo "not found" >&6; }
13616 else
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13618 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13620 cat >>confdefs.h <<_ACEOF
13621 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13622 _ACEOF
13627 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13628 case "x$with_v4l2" in
13629 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13630 xno) ;;
13631 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13632 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13633 esac
13637 if test "x$with_gphoto" != "xno"
13638 then
13639 if ${GPHOTO2_CFLAGS:+false} :; then :
13640 if ${PKG_CONFIG+:} false; then :
13641 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13644 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13645 if ${GPHOTO2_LIBS:+false} :; then :
13646 if ${PKG_CONFIG+:} false; then :
13647 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13650 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13651 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13652 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13653 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13654 ac_save_CPPFLAGS=$CPPFLAGS
13655 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13656 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13657 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13659 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13660 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13661 $as_echo_n "(cached) " >&6
13662 else
13663 ac_check_lib_save_LIBS=$LIBS
13664 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13666 /* end confdefs.h. */
13668 /* Override any GCC internal prototype to avoid an error.
13669 Use char because int might match the return type of a GCC
13670 builtin and then its argument prototype would still apply. */
13671 #ifdef __cplusplus
13672 extern "C"
13673 #endif
13674 char gp_camera_new ();
13676 main ()
13678 return gp_camera_new ();
13680 return 0;
13682 _ACEOF
13683 if ac_fn_c_try_link "$LINENO"; then :
13684 ac_cv_lib_gphoto2_gp_camera_new=yes
13685 else
13686 ac_cv_lib_gphoto2_gp_camera_new=no
13688 rm -f core conftest.err conftest.$ac_objext \
13689 conftest$ac_exeext conftest.$ac_ext
13690 LIBS=$ac_check_lib_save_LIBS
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13693 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13694 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13696 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13698 else
13699 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13702 else
13703 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13707 CPPFLAGS=$ac_save_CPPFLAGS
13708 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13709 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13711 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13712 if ${PKG_CONFIG+:} false; then :
13713 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13716 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13717 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13718 if ${PKG_CONFIG+:} false; then :
13719 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13722 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13723 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13724 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13725 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13726 ac_save_CPPFLAGS=$CPPFLAGS
13727 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13728 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13729 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13731 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13732 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13733 $as_echo_n "(cached) " >&6
13734 else
13735 ac_check_lib_save_LIBS=$LIBS
13736 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13738 /* end confdefs.h. */
13740 /* Override any GCC internal prototype to avoid an error.
13741 Use char because int might match the return type of a GCC
13742 builtin and then its argument prototype would still apply. */
13743 #ifdef __cplusplus
13744 extern "C"
13745 #endif
13746 char gp_port_info_list_new ();
13748 main ()
13750 return gp_port_info_list_new ();
13752 return 0;
13754 _ACEOF
13755 if ac_fn_c_try_link "$LINENO"; then :
13756 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13757 else
13758 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13760 rm -f core conftest.err conftest.$ac_objext \
13761 conftest$ac_exeext conftest.$ac_ext
13762 LIBS=$ac_check_lib_save_LIBS
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13765 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13766 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13768 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13770 else
13771 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13774 else
13775 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13779 CPPFLAGS=$ac_save_CPPFLAGS
13780 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13781 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13784 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13785 case "x$with_gphoto" in
13786 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13787 xno) ;;
13788 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13789 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13790 esac
13793 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13794 case "x$with_gphoto" in
13795 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13796 xno) ;;
13797 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13798 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13799 esac
13804 if test "$ac_cv_header_resolv_h" = "yes"
13805 then
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13807 $as_echo_n "checking for resolver library... " >&6; }
13808 if ${ac_cv_have_resolv+:} false; then :
13809 $as_echo_n "(cached) " >&6
13810 else
13811 ac_save_LIBS="$LIBS"
13812 for lib in '' -lresolv
13814 LIBS="$lib $ac_save_LIBS"
13815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13817 #ifdef HAVE_NETINET_IN_H
13818 #include <netinet/in.h>
13819 #endif
13820 #include <resolv.h>
13822 main ()
13824 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13826 return 0;
13828 _ACEOF
13829 if ac_fn_c_try_link "$LINENO"; then :
13830 ac_cv_have_resolv=${lib:-"none required"}
13831 else
13832 ac_cv_have_resolv="not found"
13834 rm -f core conftest.err conftest.$ac_objext \
13835 conftest$ac_exeext conftest.$ac_ext
13836 test "x$ac_cv_have_resolv" = "xnot found" || break
13837 done
13838 LIBS="$ac_save_LIBS"
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13841 $as_echo "$ac_cv_have_resolv" >&6; }
13843 case "$ac_cv_have_resolv" in
13844 "not found") ;;
13845 "none required")
13847 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13850 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13852 RESOLV_LIBS=$ac_cv_have_resolv
13854 esac
13857 if test "x$with_cms" != "xno"
13858 then
13859 if ${LCMS2_CFLAGS:+false} :; then :
13860 if ${PKG_CONFIG+:} false; then :
13861 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
13865 if ${LCMS2_LIBS:+false} :; then :
13866 if ${PKG_CONFIG+:} false; then :
13867 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
13871 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
13872 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
13873 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
13874 ac_save_CPPFLAGS=$CPPFLAGS
13875 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13876 for ac_header in lcms2.h
13877 do :
13878 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13879 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13880 cat >>confdefs.h <<_ACEOF
13881 #define HAVE_LCMS2_H 1
13882 _ACEOF
13886 done
13888 if test "$ac_cv_header_lcms2_h" = "yes"
13889 then
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13891 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13892 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 ac_check_lib_save_LIBS=$LIBS
13896 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13900 /* Override any GCC internal prototype to avoid an error.
13901 Use char because int might match the return type of a GCC
13902 builtin and then its argument prototype would still apply. */
13903 #ifdef __cplusplus
13904 extern "C"
13905 #endif
13906 char cmsOpenProfileFromFile ();
13908 main ()
13910 return cmsOpenProfileFromFile ();
13912 return 0;
13914 _ACEOF
13915 if ac_fn_c_try_link "$LINENO"; then :
13916 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13917 else
13918 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13920 rm -f core conftest.err conftest.$ac_objext \
13921 conftest$ac_exeext conftest.$ac_ext
13922 LIBS=$ac_check_lib_save_LIBS
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13925 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13926 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13928 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13930 else
13931 LCMS2_LIBS=""
13934 else
13935 LCMS2_CFLAGS=""
13936 LCMS2_LIBS=""
13938 CPPFLAGS=$ac_save_CPPFLAGS
13939 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13940 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13943 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13944 case "x$with_cms" in
13945 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13946 xno) ;;
13947 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13948 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13949 esac
13953 if test "x$with_freetype" != "xno"
13954 then
13955 if ${FREETYPE_CFLAGS:+false} :; then :
13956 if ${PKG_CONFIG+:} false; then :
13957 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13960 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13961 if ${FREETYPE_LIBS:+false} :; then :
13962 if ${PKG_CONFIG+:} false; then :
13963 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13966 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13967 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13968 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13969 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13970 ac_save_CPPFLAGS=$CPPFLAGS
13971 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13972 for ac_header in ft2build.h
13973 do :
13974 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13975 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13976 cat >>confdefs.h <<_ACEOF
13977 #define HAVE_FT2BUILD_H 1
13978 _ACEOF
13982 done
13984 if test "$ac_cv_header_ft2build_h" = "yes"
13985 then
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13987 $as_echo_n "checking for -lfreetype... " >&6; }
13988 if ${ac_cv_lib_soname_freetype+:} false; then :
13989 $as_echo_n "(cached) " >&6
13990 else
13991 ac_check_soname_save_LIBS=$LIBS
13992 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
13996 /* Override any GCC internal prototype to avoid an error.
13997 Use char because int might match the return type of a GCC
13998 builtin and then its argument prototype would still apply. */
13999 #ifdef __cplusplus
14000 extern "C"
14001 #endif
14002 char FT_Init_FreeType ();
14004 main ()
14006 return FT_Init_FreeType ();
14008 return 0;
14010 _ACEOF
14011 if ac_fn_c_try_link "$LINENO"; then :
14012 case "$LIBEXT" in
14013 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14014 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'` ;;
14015 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14016 if ${ac_cv_lib_soname_freetype:+false} :; then :
14017 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14018 fi ;;
14019 esac
14020 else
14021 ac_cv_lib_soname_freetype=
14023 rm -f core conftest.err conftest.$ac_objext \
14024 conftest$ac_exeext conftest.$ac_ext
14025 LIBS=$ac_check_soname_save_LIBS
14027 if ${ac_cv_lib_soname_freetype:+false} :; then :
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14029 $as_echo "not found" >&6; }
14030 FREETYPE_LIBS=""
14031 else
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14033 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14035 cat >>confdefs.h <<_ACEOF
14036 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14037 _ACEOF
14040 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14042 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14043 #include FT_MODULE_H
14045 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14047 cat >>confdefs.h <<_ACEOF
14048 #define HAVE_FT_TRUETYPEENGINETYPE 1
14049 _ACEOF
14055 else
14056 FREETYPE_CFLAGS=""
14057 FREETYPE_LIBS=""
14059 CPPFLAGS=$ac_save_CPPFLAGS
14060 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14061 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14064 if test "x$ac_cv_lib_soname_freetype" = x; then :
14065 case "x$with_freetype" in
14066 xno) ;;
14067 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14068 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14069 esac
14070 enable_fonts=${enable_fonts:-no}
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14074 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14075 if ${ac_cv_c_ppdev+:} false; then :
14076 $as_echo_n "(cached) " >&6
14077 else
14078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14080 #ifdef HAVE_SYS_IOCTL_H
14081 # include <sys/ioctl.h>
14082 #endif
14083 #include <linux/ppdev.h>
14085 main ()
14087 ioctl (1,PPCLAIM,0)
14089 return 0;
14091 _ACEOF
14092 if ac_fn_c_try_compile "$LINENO"; then :
14093 ac_cv_c_ppdev="yes"
14094 else
14095 ac_cv_c_ppdev="no"
14097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14100 $as_echo "$ac_cv_c_ppdev" >&6; }
14101 if test "$ac_cv_c_ppdev" = "yes"
14102 then
14104 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14108 ac_wine_check_funcs_save_LIBS="$LIBS"
14109 LIBS="$LIBS "
14110 for ac_func in \
14111 pthread_getthreadid_np \
14112 $PTHREAD_LIBS
14113 do :
14114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14115 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14116 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14117 cat >>confdefs.h <<_ACEOF
14118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14119 _ACEOF
14122 done
14124 LIBS="$ac_wine_check_funcs_save_LIBS"
14126 if test "$ac_cv_header_zlib_h" = "yes"
14127 then
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14129 $as_echo_n "checking for inflate in -lz... " >&6; }
14130 if ${ac_cv_lib_z_inflate+:} false; then :
14131 $as_echo_n "(cached) " >&6
14132 else
14133 ac_check_lib_save_LIBS=$LIBS
14134 LIBS="-lz $LIBS"
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14138 /* Override any GCC internal prototype to avoid an error.
14139 Use char because int might match the return type of a GCC
14140 builtin and then its argument prototype would still apply. */
14141 #ifdef __cplusplus
14142 extern "C"
14143 #endif
14144 char inflate ();
14146 main ()
14148 return inflate ();
14150 return 0;
14152 _ACEOF
14153 if ac_fn_c_try_link "$LINENO"; then :
14154 ac_cv_lib_z_inflate=yes
14155 else
14156 ac_cv_lib_z_inflate=no
14158 rm -f core conftest.err conftest.$ac_objext \
14159 conftest$ac_exeext conftest.$ac_ext
14160 LIBS=$ac_check_lib_save_LIBS
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14163 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14164 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14166 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14168 Z_LIBS="-lz"
14173 if test "x$Z_LIBS" = "x"; then :
14174 case "x$with_zlib" in
14175 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14176 xno) ;;
14177 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14178 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14179 esac
14183 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14184 then
14185 if test "$ac_cv_header_gettext_po_h" = "yes"
14186 then
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14188 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14189 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14190 $as_echo_n "(cached) " >&6
14191 else
14192 ac_check_lib_save_LIBS=$LIBS
14193 LIBS="-lgettextpo $LIBS"
14194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14197 /* Override any GCC internal prototype to avoid an error.
14198 Use char because int might match the return type of a GCC
14199 builtin and then its argument prototype would still apply. */
14200 #ifdef __cplusplus
14201 extern "C"
14202 #endif
14203 char po_message_msgctxt ();
14205 main ()
14207 return po_message_msgctxt ();
14209 return 0;
14211 _ACEOF
14212 if ac_fn_c_try_link "$LINENO"; then :
14213 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14214 else
14215 ac_cv_lib_gettextpo_po_message_msgctxt=no
14217 rm -f core conftest.err conftest.$ac_objext \
14218 conftest$ac_exeext conftest.$ac_ext
14219 LIBS=$ac_check_lib_save_LIBS
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14222 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14223 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14225 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14227 GETTEXTPO_LIBS="-lgettextpo"
14232 if test "x$GETTEXTPO_LIBS" = "x"; then :
14233 case "x$with_gettextpo" in
14234 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14235 xno) ;;
14236 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14237 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14238 esac
14241 if test "$srcdir" != .; then :
14242 case "x$with_gettextpo" in
14243 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14244 xno) ;;
14245 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14246 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14247 esac
14252 if test "x$with_pulse" != "xno";
14253 then
14254 if ${PULSE_CFLAGS:+false} :; then :
14255 if ${PKG_CONFIG+:} false; then :
14256 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14260 if ${PULSE_LIBS:+false} :; then :
14261 if ${PKG_CONFIG+:} false; then :
14262 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14267 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14268 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14269 ac_save_CPPFLAGS=$CPPFLAGS
14270 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14271 for ac_header in pulse/pulseaudio.h
14272 do :
14273 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14274 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14275 cat >>confdefs.h <<_ACEOF
14276 #define HAVE_PULSE_PULSEAUDIO_H 1
14277 _ACEOF
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14279 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14280 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14281 $as_echo_n "(cached) " >&6
14282 else
14283 ac_check_lib_save_LIBS=$LIBS
14284 LIBS="-lpulse $PULSE_LIBS $LIBS"
14285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14288 /* Override any GCC internal prototype to avoid an error.
14289 Use char because int might match the return type of a GCC
14290 builtin and then its argument prototype would still apply. */
14291 #ifdef __cplusplus
14292 extern "C"
14293 #endif
14294 char pa_stream_is_corked ();
14296 main ()
14298 return pa_stream_is_corked ();
14300 return 0;
14302 _ACEOF
14303 if ac_fn_c_try_link "$LINENO"; then :
14304 ac_cv_lib_pulse_pa_stream_is_corked=yes
14305 else
14306 ac_cv_lib_pulse_pa_stream_is_corked=no
14308 rm -f core conftest.err conftest.$ac_objext \
14309 conftest$ac_exeext conftest.$ac_ext
14310 LIBS=$ac_check_lib_save_LIBS
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14313 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14314 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14316 else
14317 PULSE_LIBS=""
14320 else
14321 PULSE_LIBS=""
14324 done
14326 CPPFLAGS=$ac_save_CPPFLAGS
14327 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14328 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14331 if test -z "$PULSE_LIBS"; then :
14332 case "x$with_pulse" in
14333 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14334 xno) ;;
14335 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14336 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14337 esac
14338 enable_winepulse_drv=${enable_winepulse_drv:-no}
14341 if test "x$with_gstreamer" != "xno"
14342 then
14343 if ${GSTREAMER_CFLAGS:+false} :; then :
14344 if ${PKG_CONFIG+:} false; then :
14345 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14349 if ${GSTREAMER_LIBS:+false} :; then :
14350 if ${PKG_CONFIG+:} false; then :
14351 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14356 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14357 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14358 ac_save_CPPFLAGS=$CPPFLAGS
14359 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14360 ac_gst_incl=""
14361 for i in $GSTREAMER_CFLAGS
14363 case "$i" in
14364 -I*) ac_gst_incl="$ac_gst_incl $i";;
14365 esac
14366 done
14367 GSTREAMER_CFLAGS=$ac_gst_incl
14368 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14369 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14370 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14372 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14375 #include <gst/gst.h>
14377 main ()
14379 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14381 return 0;
14383 _ACEOF
14384 if ac_fn_c_try_compile "$LINENO"; then :
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14386 $as_echo "yes" >&6; }
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14388 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14389 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14390 $as_echo_n "(cached) " >&6
14391 else
14392 ac_check_lib_save_LIBS=$LIBS
14393 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14395 /* end confdefs.h. */
14397 /* Override any GCC internal prototype to avoid an error.
14398 Use char because int might match the return type of a GCC
14399 builtin and then its argument prototype would still apply. */
14400 #ifdef __cplusplus
14401 extern "C"
14402 #endif
14403 char gst_pad_new ();
14405 main ()
14407 return gst_pad_new ();
14409 return 0;
14411 _ACEOF
14412 if ac_fn_c_try_link "$LINENO"; then :
14413 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14414 else
14415 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14417 rm -f core conftest.err conftest.$ac_objext \
14418 conftest$ac_exeext conftest.$ac_ext
14419 LIBS=$ac_check_lib_save_LIBS
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14422 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14423 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14427 else
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14429 $as_echo "no" >&6; }
14430 ac_glib2_broken=yes
14431 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14437 CPPFLAGS=$ac_save_CPPFLAGS
14438 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14439 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14442 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 :
14443 case "x$with_gstreamer" in
14444 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14445 xno) ;;
14446 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14447 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14448 esac
14451 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14453 ALSA_LIBS=""
14455 if test "x$with_alsa" != "xno"
14456 then
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14458 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14459 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14460 $as_echo_n "(cached) " >&6
14461 else
14462 ac_check_lib_save_LIBS=$LIBS
14463 LIBS="-lasound $LIBS"
14464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14467 /* Override any GCC internal prototype to avoid an error.
14468 Use char because int might match the return type of a GCC
14469 builtin and then its argument prototype would still apply. */
14470 #ifdef __cplusplus
14471 extern "C"
14472 #endif
14473 char snd_pcm_hw_params_get_access_mask ();
14475 main ()
14477 return snd_pcm_hw_params_get_access_mask ();
14479 return 0;
14481 _ACEOF
14482 if ac_fn_c_try_link "$LINENO"; then :
14483 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14484 else
14485 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14487 rm -f core conftest.err conftest.$ac_objext \
14488 conftest$ac_exeext conftest.$ac_ext
14489 LIBS=$ac_check_lib_save_LIBS
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14492 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14493 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14495 /* end confdefs.h. */
14496 #include <alsa/asoundlib.h>
14498 main ()
14500 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14502 return 0;
14504 _ACEOF
14505 if ac_fn_c_try_compile "$LINENO"; then :
14506 ALSA_LIBS="-lasound"
14508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14512 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14514 if test "x$with_oss" != xno
14515 then
14516 ac_save_CPPFLAGS="$CPPFLAGS"
14517 if test -f /etc/oss.conf
14518 then
14519 . /etc/oss.conf
14521 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14522 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14523 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14524 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14525 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14527 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14529 cat >>confdefs.h <<_ACEOF
14530 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14531 _ACEOF
14533 OSS4_CFLAGS="$ac_oss_incl"
14540 CPPFLAGS="$ac_save_CPPFLAGS"
14542 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14543 case "x$with_oss" in
14544 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14545 xno) ;;
14546 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14547 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14548 esac
14549 enable_wineoss_drv=${enable_wineoss_drv:-no}
14552 if test "x$with_udev" != "xno"
14553 then
14554 if ${UDEV_CFLAGS:+false} :; then :
14555 if ${PKG_CONFIG+:} false; then :
14556 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14560 if ${UDEV_LIBS:+false} :; then :
14561 if ${PKG_CONFIG+:} false; then :
14562 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14566 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14567 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14568 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14569 ac_save_CPPFLAGS=$CPPFLAGS
14570 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14571 for ac_header in libudev.h
14572 do :
14573 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14574 if test "x$ac_cv_header_libudev_h" = xyes; then :
14575 cat >>confdefs.h <<_ACEOF
14576 #define HAVE_LIBUDEV_H 1
14577 _ACEOF
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14579 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14580 if ${ac_cv_lib_udev_udev_new+:} false; then :
14581 $as_echo_n "(cached) " >&6
14582 else
14583 ac_check_lib_save_LIBS=$LIBS
14584 LIBS="-ludev $UDEV_LIBS $LIBS"
14585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14588 /* Override any GCC internal prototype to avoid an error.
14589 Use char because int might match the return type of a GCC
14590 builtin and then its argument prototype would still apply. */
14591 #ifdef __cplusplus
14592 extern "C"
14593 #endif
14594 char udev_new ();
14596 main ()
14598 return udev_new ();
14600 return 0;
14602 _ACEOF
14603 if ac_fn_c_try_link "$LINENO"; then :
14604 ac_cv_lib_udev_udev_new=yes
14605 else
14606 ac_cv_lib_udev_udev_new=no
14608 rm -f core conftest.err conftest.$ac_objext \
14609 conftest$ac_exeext conftest.$ac_ext
14610 LIBS=$ac_check_lib_save_LIBS
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14613 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14614 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14616 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14618 else
14619 UDEV_LIBS=""
14622 else
14623 UDEV_LIBS=""
14626 done
14628 CPPFLAGS=$ac_save_CPPFLAGS
14629 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14630 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14633 if test "x$UDEV_LIBS" = "x"; then :
14634 case "x$with_udev" in
14635 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14636 xno) ;;
14637 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14638 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14639 esac
14643 if test "x$with_sdl" != "xno"
14644 then
14645 if ${SDL2_CFLAGS:+false} :; then :
14646 if ${PKG_CONFIG+:} false; then :
14647 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14651 if ${SDL2_LIBS:+false} :; then :
14652 if ${PKG_CONFIG+:} false; then :
14653 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14657 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14658 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14659 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14660 ac_save_CPPFLAGS=$CPPFLAGS
14661 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14662 for ac_header in SDL2/SDL.h
14663 do :
14664 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14665 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14666 cat >>confdefs.h <<_ACEOF
14667 #define HAVE_SDL2_SDL_H 1
14668 _ACEOF
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14670 $as_echo_n "checking for -lSDL2... " >&6; }
14671 if ${ac_cv_lib_soname_SDL2+:} false; then :
14672 $as_echo_n "(cached) " >&6
14673 else
14674 ac_check_soname_save_LIBS=$LIBS
14675 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14677 /* end confdefs.h. */
14679 /* Override any GCC internal prototype to avoid an error.
14680 Use char because int might match the return type of a GCC
14681 builtin and then its argument prototype would still apply. */
14682 #ifdef __cplusplus
14683 extern "C"
14684 #endif
14685 char SDL_Init ();
14687 main ()
14689 return SDL_Init ();
14691 return 0;
14693 _ACEOF
14694 if ac_fn_c_try_link "$LINENO"; then :
14695 case "$LIBEXT" in
14696 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14697 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'` ;;
14698 *) 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'`
14699 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14700 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14701 fi ;;
14702 esac
14703 else
14704 ac_cv_lib_soname_SDL2=
14706 rm -f core conftest.err conftest.$ac_objext \
14707 conftest$ac_exeext conftest.$ac_ext
14708 LIBS=$ac_check_soname_save_LIBS
14710 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14712 $as_echo "not found" >&6; }
14714 else
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14716 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14718 cat >>confdefs.h <<_ACEOF
14719 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14720 _ACEOF
14726 done
14728 CPPFLAGS=$ac_save_CPPFLAGS
14729 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14730 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14733 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14734 case "x$with_sdl" in
14735 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14736 xno) ;;
14737 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14738 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14739 esac
14743 if test "x$with_faudio" != "xno"
14744 then
14745 if ${FAUDIO_CFLAGS:+false} :; then :
14746 if ${PKG_CONFIG+:} false; then :
14747 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14751 if ${FAUDIO_LIBS:+false} :; then :
14752 if ${PKG_CONFIG+:} false; then :
14753 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14757 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14758 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14759 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14760 ac_save_CPPFLAGS=$CPPFLAGS
14761 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14762 for ac_header in FAudio.h
14763 do :
14764 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14765 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14766 cat >>confdefs.h <<_ACEOF
14767 #define HAVE_FAUDIO_H 1
14768 _ACEOF
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14770 $as_echo_n "checking for -lFAudio... " >&6; }
14771 if ${ac_cv_lib_soname_FAudio+:} false; then :
14772 $as_echo_n "(cached) " >&6
14773 else
14774 ac_check_soname_save_LIBS=$LIBS
14775 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14777 /* end confdefs.h. */
14779 /* Override any GCC internal prototype to avoid an error.
14780 Use char because int might match the return type of a GCC
14781 builtin and then its argument prototype would still apply. */
14782 #ifdef __cplusplus
14783 extern "C"
14784 #endif
14785 char FAudioCreate ();
14787 main ()
14789 return FAudioCreate ();
14791 return 0;
14793 _ACEOF
14794 if ac_fn_c_try_link "$LINENO"; then :
14795 case "$LIBEXT" in
14796 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14797 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'` ;;
14798 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14799 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14800 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14801 fi ;;
14802 esac
14803 else
14804 ac_cv_lib_soname_FAudio=
14806 rm -f core conftest.err conftest.$ac_objext \
14807 conftest$ac_exeext conftest.$ac_ext
14808 LIBS=$ac_check_soname_save_LIBS
14810 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14812 $as_echo "not found" >&6; }
14814 else
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14816 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14818 cat >>confdefs.h <<_ACEOF
14819 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14820 _ACEOF
14826 done
14828 CPPFLAGS=$ac_save_CPPFLAGS
14829 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14830 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14833 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
14834 case "x$with_faudio" in
14835 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
14836 xno) ;;
14837 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
14838 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
14839 esac
14843 if test "x$with_capi" != "xno"
14844 then
14845 if ${CAPI20_CFLAGS:+false} :; then :
14846 if ${PKG_CONFIG+:} false; then :
14847 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14851 if ${CAPI20_LIBS:+false} :; then :
14852 if ${PKG_CONFIG+:} false; then :
14853 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14858 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14859 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14860 ac_save_CPPFLAGS=$CPPFLAGS
14861 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14862 for ac_header in capi20.h linux/capi.h
14863 do :
14864 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14865 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14867 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14868 cat >>confdefs.h <<_ACEOF
14869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14870 _ACEOF
14874 done
14876 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14877 then
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
14879 $as_echo_n "checking for -lcapi20... " >&6; }
14880 if ${ac_cv_lib_soname_capi20+:} false; then :
14881 $as_echo_n "(cached) " >&6
14882 else
14883 ac_check_soname_save_LIBS=$LIBS
14884 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
14885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14888 /* Override any GCC internal prototype to avoid an error.
14889 Use char because int might match the return type of a GCC
14890 builtin and then its argument prototype would still apply. */
14891 #ifdef __cplusplus
14892 extern "C"
14893 #endif
14894 char capi20_register ();
14896 main ()
14898 return capi20_register ();
14900 return 0;
14902 _ACEOF
14903 if ac_fn_c_try_link "$LINENO"; then :
14904 case "$LIBEXT" in
14905 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14906 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'` ;;
14907 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14908 if ${ac_cv_lib_soname_capi20:+false} :; then :
14909 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14910 fi ;;
14911 esac
14912 else
14913 ac_cv_lib_soname_capi20=
14915 rm -f core conftest.err conftest.$ac_objext \
14916 conftest$ac_exeext conftest.$ac_ext
14917 LIBS=$ac_check_soname_save_LIBS
14919 if ${ac_cv_lib_soname_capi20:+false} :; then :
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14921 $as_echo "not found" >&6; }
14923 else
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
14925 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
14927 cat >>confdefs.h <<_ACEOF
14928 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14929 _ACEOF
14934 CPPFLAGS=$ac_save_CPPFLAGS
14935 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14936 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14939 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
14940 case "x$with_capi" in
14941 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
14942 xno) ;;
14943 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
14944 This is an error since --with-capi was requested." "$LINENO" 5 ;;
14945 esac
14949 if test "x$with_cups" != "xno"
14950 then
14951 if ${CUPS_CFLAGS:+false} :; then :
14952 if ${PKG_CONFIG+:} false; then :
14953 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
14956 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
14957 if ${CUPS_LIBS:+false} :; then :
14958 if ${PKG_CONFIG+:} false; then :
14959 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
14962 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
14963 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
14964 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
14965 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
14966 ac_save_CPPFLAGS=$CPPFLAGS
14967 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
14968 for ac_header in cups/cups.h cups/ppd.h
14969 do :
14970 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14971 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14972 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14973 cat >>confdefs.h <<_ACEOF
14974 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14975 _ACEOF
14979 done
14981 if test "$ac_cv_header_cups_cups_h" = "yes"
14982 then
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14984 $as_echo_n "checking for -lcups... " >&6; }
14985 if ${ac_cv_lib_soname_cups+:} false; then :
14986 $as_echo_n "(cached) " >&6
14987 else
14988 ac_check_soname_save_LIBS=$LIBS
14989 LIBS="-lcups $CUPS_LIBS $LIBS"
14990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14993 /* Override any GCC internal prototype to avoid an error.
14994 Use char because int might match the return type of a GCC
14995 builtin and then its argument prototype would still apply. */
14996 #ifdef __cplusplus
14997 extern "C"
14998 #endif
14999 char cupsGetDefault ();
15001 main ()
15003 return cupsGetDefault ();
15005 return 0;
15007 _ACEOF
15008 if ac_fn_c_try_link "$LINENO"; then :
15009 case "$LIBEXT" in
15010 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15011 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'` ;;
15012 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15013 if ${ac_cv_lib_soname_cups:+false} :; then :
15014 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15015 fi ;;
15016 esac
15017 else
15018 ac_cv_lib_soname_cups=
15020 rm -f core conftest.err conftest.$ac_objext \
15021 conftest$ac_exeext conftest.$ac_ext
15022 LIBS=$ac_check_soname_save_LIBS
15024 if ${ac_cv_lib_soname_cups:+false} :; then :
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15026 $as_echo "not found" >&6; }
15027 CUPS_LIBS=""
15028 else
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15030 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15032 cat >>confdefs.h <<_ACEOF
15033 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15034 _ACEOF
15038 else
15039 CUPS_CFLAGS=""
15040 CUPS_LIBS=""
15042 CPPFLAGS=$ac_save_CPPFLAGS
15043 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15044 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15047 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15048 case "x$with_cups" in
15049 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15050 xno) ;;
15051 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15052 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15053 esac
15057 if test "x$with_fontconfig" != "xno"
15058 then
15059 if ${FONTCONFIG_CFLAGS:+false} :; then :
15060 if ${PKG_CONFIG+:} false; then :
15061 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15064 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15065 if ${FONTCONFIG_LIBS:+false} :; then :
15066 if ${PKG_CONFIG+:} false; then :
15067 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15070 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15072 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15073 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15074 ac_save_CPPFLAGS=$CPPFLAGS
15075 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15076 for ac_header in fontconfig/fontconfig.h
15077 do :
15078 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15079 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15080 cat >>confdefs.h <<_ACEOF
15081 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15082 _ACEOF
15086 done
15088 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15089 then
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15091 $as_echo_n "checking for -lfontconfig... " >&6; }
15092 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15093 $as_echo_n "(cached) " >&6
15094 else
15095 ac_check_soname_save_LIBS=$LIBS
15096 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15098 /* end confdefs.h. */
15100 /* Override any GCC internal prototype to avoid an error.
15101 Use char because int might match the return type of a GCC
15102 builtin and then its argument prototype would still apply. */
15103 #ifdef __cplusplus
15104 extern "C"
15105 #endif
15106 char FcInit ();
15108 main ()
15110 return FcInit ();
15112 return 0;
15114 _ACEOF
15115 if ac_fn_c_try_link "$LINENO"; then :
15116 case "$LIBEXT" in
15117 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15118 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'` ;;
15119 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15120 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15121 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15122 fi ;;
15123 esac
15124 else
15125 ac_cv_lib_soname_fontconfig=
15127 rm -f core conftest.err conftest.$ac_objext \
15128 conftest$ac_exeext conftest.$ac_ext
15129 LIBS=$ac_check_soname_save_LIBS
15131 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15133 $as_echo "not found" >&6; }
15134 FONTCONFIG_CFLAGS=""
15135 else
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15137 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15139 cat >>confdefs.h <<_ACEOF
15140 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15141 _ACEOF
15145 else
15146 FONTCONFIG_CFLAGS=""
15148 CPPFLAGS=$ac_save_CPPFLAGS
15149 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15150 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15153 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15154 case "x$with_fontconfig" in
15155 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15156 xno) ;;
15157 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15158 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15159 esac
15163 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15164 then
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15166 $as_echo_n "checking for -lgsm... " >&6; }
15167 if ${ac_cv_lib_soname_gsm+:} false; then :
15168 $as_echo_n "(cached) " >&6
15169 else
15170 ac_check_soname_save_LIBS=$LIBS
15171 LIBS="-lgsm $LIBS"
15172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15175 /* Override any GCC internal prototype to avoid an error.
15176 Use char because int might match the return type of a GCC
15177 builtin and then its argument prototype would still apply. */
15178 #ifdef __cplusplus
15179 extern "C"
15180 #endif
15181 char gsm_create ();
15183 main ()
15185 return gsm_create ();
15187 return 0;
15189 _ACEOF
15190 if ac_fn_c_try_link "$LINENO"; then :
15191 case "$LIBEXT" in
15192 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15193 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'` ;;
15194 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15195 if ${ac_cv_lib_soname_gsm:+false} :; then :
15196 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15197 fi ;;
15198 esac
15199 else
15200 ac_cv_lib_soname_gsm=
15202 rm -f core conftest.err conftest.$ac_objext \
15203 conftest$ac_exeext conftest.$ac_ext
15204 LIBS=$ac_check_soname_save_LIBS
15206 if ${ac_cv_lib_soname_gsm:+false} :; then :
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15208 $as_echo "not found" >&6; }
15210 else
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15212 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15214 cat >>confdefs.h <<_ACEOF
15215 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15216 _ACEOF
15221 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15222 case "x$with_gsm" in
15223 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15224 xno) ;;
15225 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15226 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15227 esac
15231 if test "x$with_krb5" != "xno"
15232 then
15233 if ${KRB5_CFLAGS:+false} :; then :
15234 if ${PKG_CONFIG+:} false; then :
15235 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15238 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15239 if ${KRB5_LIBS:+false} :; then :
15240 if ${PKG_CONFIG+:} false; then :
15241 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15244 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15246 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15247 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15248 ac_save_CPPFLAGS=$CPPFLAGS
15249 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15250 for ac_header in krb5/krb5.h
15251 do :
15252 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15253 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15254 cat >>confdefs.h <<_ACEOF
15255 #define HAVE_KRB5_KRB5_H 1
15256 _ACEOF
15260 done
15262 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15263 then
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15265 $as_echo_n "checking for -lkrb5... " >&6; }
15266 if ${ac_cv_lib_soname_krb5+:} false; then :
15267 $as_echo_n "(cached) " >&6
15268 else
15269 ac_check_soname_save_LIBS=$LIBS
15270 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15274 /* Override any GCC internal prototype to avoid an error.
15275 Use char because int might match the return type of a GCC
15276 builtin and then its argument prototype would still apply. */
15277 #ifdef __cplusplus
15278 extern "C"
15279 #endif
15280 char krb5_is_config_principal ();
15282 main ()
15284 return krb5_is_config_principal ();
15286 return 0;
15288 _ACEOF
15289 if ac_fn_c_try_link "$LINENO"; then :
15290 case "$LIBEXT" in
15291 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15292 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'` ;;
15293 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15294 if ${ac_cv_lib_soname_krb5:+false} :; then :
15295 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15296 fi ;;
15297 esac
15298 else
15299 ac_cv_lib_soname_krb5=
15301 rm -f core conftest.err conftest.$ac_objext \
15302 conftest$ac_exeext conftest.$ac_ext
15303 LIBS=$ac_check_soname_save_LIBS
15305 if ${ac_cv_lib_soname_krb5:+false} :; then :
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15307 $as_echo "not found" >&6; }
15308 KRB5_CFLAGS=""
15309 else
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15311 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15313 cat >>confdefs.h <<_ACEOF
15314 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15315 _ACEOF
15319 else
15320 KRB5_CFLAGS=""
15322 CPPFLAGS=$ac_save_CPPFLAGS
15323 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15324 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15326 else
15327 with_gssapi=${with_gssapi:-no}
15329 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15330 case "x$with_krb5" in
15331 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15332 xno) ;;
15333 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15334 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15335 esac
15339 if test "x$with_gssapi" != "xno"
15340 then
15341 if ${GSSAPI_CFLAGS:+false} :; then :
15342 if ${PKG_CONFIG+:} false; then :
15343 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15346 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15347 if ${GSSAPI_LIBS:+false} :; then :
15348 if ${PKG_CONFIG+:} false; then :
15349 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15352 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15354 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15355 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15356 ac_save_CPPFLAGS=$CPPFLAGS
15357 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15358 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15359 do :
15360 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15361 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15362 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15363 cat >>confdefs.h <<_ACEOF
15364 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15365 _ACEOF
15369 done
15371 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15372 then
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15374 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15375 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15376 $as_echo_n "(cached) " >&6
15377 else
15378 ac_check_soname_save_LIBS=$LIBS
15379 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15383 /* Override any GCC internal prototype to avoid an error.
15384 Use char because int might match the return type of a GCC
15385 builtin and then its argument prototype would still apply. */
15386 #ifdef __cplusplus
15387 extern "C"
15388 #endif
15389 char gss_init_sec_context ();
15391 main ()
15393 return gss_init_sec_context ();
15395 return 0;
15397 _ACEOF
15398 if ac_fn_c_try_link "$LINENO"; then :
15399 case "$LIBEXT" in
15400 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15401 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'` ;;
15402 *) 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'`
15403 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15404 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15405 fi ;;
15406 esac
15407 else
15408 ac_cv_lib_soname_gssapi_krb5=
15410 rm -f core conftest.err conftest.$ac_objext \
15411 conftest$ac_exeext conftest.$ac_ext
15412 LIBS=$ac_check_soname_save_LIBS
15414 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15416 $as_echo "not found" >&6; }
15417 GSSAPI_CFLAGS=""
15418 else
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15420 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15422 cat >>confdefs.h <<_ACEOF
15423 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15424 _ACEOF
15428 else
15429 GSSAPI_CFLAGS=""
15431 CPPFLAGS=$ac_save_CPPFLAGS
15432 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15433 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15436 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15437 case "x$with_gssapi" in
15438 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15439 xno) ;;
15440 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15441 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15442 esac
15446 if test "x$with_jpeg" != "xno"
15447 then
15448 if ${JPEG_CFLAGS:+false} :; then :
15449 if ${PKG_CONFIG+:} false; then :
15450 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15454 if ${JPEG_LIBS:+false} :; then :
15455 if ${PKG_CONFIG+:} false; then :
15456 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15461 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15462 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15463 ac_save_CPPFLAGS=$CPPFLAGS
15464 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15465 for ac_header in jpeglib.h
15466 do :
15467 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15468 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15469 cat >>confdefs.h <<_ACEOF
15470 #define HAVE_JPEGLIB_H 1
15471 _ACEOF
15475 done
15477 if test "$ac_cv_header_jpeglib_h" = "yes"
15478 then
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15480 $as_echo_n "checking for -ljpeg... " >&6; }
15481 if ${ac_cv_lib_soname_jpeg+:} false; then :
15482 $as_echo_n "(cached) " >&6
15483 else
15484 ac_check_soname_save_LIBS=$LIBS
15485 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15487 /* end confdefs.h. */
15489 /* Override any GCC internal prototype to avoid an error.
15490 Use char because int might match the return type of a GCC
15491 builtin and then its argument prototype would still apply. */
15492 #ifdef __cplusplus
15493 extern "C"
15494 #endif
15495 char jpeg_start_decompress ();
15497 main ()
15499 return jpeg_start_decompress ();
15501 return 0;
15503 _ACEOF
15504 if ac_fn_c_try_link "$LINENO"; then :
15505 case "$LIBEXT" in
15506 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15507 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'` ;;
15508 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15509 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15510 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15511 fi ;;
15512 esac
15513 else
15514 ac_cv_lib_soname_jpeg=
15516 rm -f core conftest.err conftest.$ac_objext \
15517 conftest$ac_exeext conftest.$ac_ext
15518 LIBS=$ac_check_soname_save_LIBS
15520 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15522 $as_echo "not found" >&6; }
15523 JPEG_CFLAGS=""
15524 else
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15526 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15528 cat >>confdefs.h <<_ACEOF
15529 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15530 _ACEOF
15534 else
15535 JPEG_CFLAGS=""
15537 CPPFLAGS=$ac_save_CPPFLAGS
15538 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15539 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15542 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15543 case "x$with_jpeg" in
15544 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15545 xno) ;;
15546 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15547 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15548 esac
15552 if test "x$with_png" != "xno"
15553 then
15554 if ${PNG_CFLAGS:+false} :; then :
15555 if ${PKG_CONFIG+:} false; then :
15556 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15559 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15560 if ${PNG_LIBS:+false} :; then :
15561 if ${PKG_CONFIG+:} false; then :
15562 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15565 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15567 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15568 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15569 ac_save_CPPFLAGS=$CPPFLAGS
15570 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15571 for ac_header in png.h
15572 do :
15573 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15574 if test "x$ac_cv_header_png_h" = xyes; then :
15575 cat >>confdefs.h <<_ACEOF
15576 #define HAVE_PNG_H 1
15577 _ACEOF
15581 done
15583 if test "$ac_cv_header_png_h" = "yes"
15584 then
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15586 $as_echo_n "checking for -lpng... " >&6; }
15587 if ${ac_cv_lib_soname_png+:} false; then :
15588 $as_echo_n "(cached) " >&6
15589 else
15590 ac_check_soname_save_LIBS=$LIBS
15591 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15595 /* Override any GCC internal prototype to avoid an error.
15596 Use char because int might match the return type of a GCC
15597 builtin and then its argument prototype would still apply. */
15598 #ifdef __cplusplus
15599 extern "C"
15600 #endif
15601 char png_create_read_struct ();
15603 main ()
15605 return png_create_read_struct ();
15607 return 0;
15609 _ACEOF
15610 if ac_fn_c_try_link "$LINENO"; then :
15611 case "$LIBEXT" in
15612 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15613 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'` ;;
15614 *) 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'`
15615 if ${ac_cv_lib_soname_png:+false} :; then :
15616 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15617 fi ;;
15618 esac
15619 else
15620 ac_cv_lib_soname_png=
15622 rm -f core conftest.err conftest.$ac_objext \
15623 conftest$ac_exeext conftest.$ac_ext
15624 LIBS=$ac_check_soname_save_LIBS
15626 if ${ac_cv_lib_soname_png:+false} :; then :
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15628 $as_echo "not found" >&6; }
15629 PNG_CFLAGS=""
15630 else
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15632 $as_echo "$ac_cv_lib_soname_png" >&6; }
15634 cat >>confdefs.h <<_ACEOF
15635 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15636 _ACEOF
15640 else
15641 PNG_CFLAGS=""
15643 CPPFLAGS=$ac_save_CPPFLAGS
15644 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15645 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15648 if test "x$ac_cv_lib_soname_png" = "x"; then :
15649 case "x$with_png" in
15650 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15651 xno) ;;
15652 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15653 This is an error since --with-png was requested." "$LINENO" 5 ;;
15654 esac
15658 if test "x$with_tiff" != "xno"
15659 then
15660 if ${TIFF_CFLAGS:+false} :; then :
15661 if ${PKG_CONFIG+:} false; then :
15662 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15666 if ${TIFF_LIBS:+false} :; then :
15667 if ${PKG_CONFIG+:} false; then :
15668 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15673 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15674 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15675 ac_save_CPPFLAGS=$CPPFLAGS
15676 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15677 for ac_header in tiffio.h
15678 do :
15679 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15680 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15681 cat >>confdefs.h <<_ACEOF
15682 #define HAVE_TIFFIO_H 1
15683 _ACEOF
15687 done
15689 if test "$ac_cv_header_tiffio_h" = "yes"
15690 then
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15692 $as_echo_n "checking for -ltiff... " >&6; }
15693 if ${ac_cv_lib_soname_tiff+:} false; then :
15694 $as_echo_n "(cached) " >&6
15695 else
15696 ac_check_soname_save_LIBS=$LIBS
15697 LIBS="-ltiff $TIFF_LIBS $LIBS"
15698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15699 /* end confdefs.h. */
15701 /* Override any GCC internal prototype to avoid an error.
15702 Use char because int might match the return type of a GCC
15703 builtin and then its argument prototype would still apply. */
15704 #ifdef __cplusplus
15705 extern "C"
15706 #endif
15707 char TIFFClientOpen ();
15709 main ()
15711 return TIFFClientOpen ();
15713 return 0;
15715 _ACEOF
15716 if ac_fn_c_try_link "$LINENO"; then :
15717 case "$LIBEXT" in
15718 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15719 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'` ;;
15720 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15721 if ${ac_cv_lib_soname_tiff:+false} :; then :
15722 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15723 fi ;;
15724 esac
15725 else
15726 ac_cv_lib_soname_tiff=
15728 rm -f core conftest.err conftest.$ac_objext \
15729 conftest$ac_exeext conftest.$ac_ext
15730 LIBS=$ac_check_soname_save_LIBS
15732 if ${ac_cv_lib_soname_tiff:+false} :; then :
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15734 $as_echo "not found" >&6; }
15736 else
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
15738 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
15740 cat >>confdefs.h <<_ACEOF
15741 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
15742 _ACEOF
15747 CPPFLAGS=$ac_save_CPPFLAGS
15748 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15749 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15752 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15753 case "x$with_tiff" in
15754 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15755 xno) ;;
15756 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15757 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15758 esac
15762 if test "x$with_mpg123" != "xno"
15763 then
15764 if ${MPG123_CFLAGS:+false} :; then :
15765 if ${PKG_CONFIG+:} false; then :
15766 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15770 if ${MPG123_LIBS:+false} :; then :
15771 if ${PKG_CONFIG+:} false; then :
15772 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15776 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15777 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15778 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15779 ac_save_CPPFLAGS=$CPPFLAGS
15780 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15781 for ac_header in mpg123.h
15782 do :
15783 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15784 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15785 cat >>confdefs.h <<_ACEOF
15786 #define HAVE_MPG123_H 1
15787 _ACEOF
15791 done
15793 if test "$ac_cv_header_mpg123_h" = "yes"
15794 then
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15796 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15797 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15798 $as_echo_n "(cached) " >&6
15799 else
15800 ac_check_lib_save_LIBS=$LIBS
15801 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15803 /* end confdefs.h. */
15805 /* Override any GCC internal prototype to avoid an error.
15806 Use char because int might match the return type of a GCC
15807 builtin and then its argument prototype would still apply. */
15808 #ifdef __cplusplus
15809 extern "C"
15810 #endif
15811 char mpg123_feed ();
15813 main ()
15815 return mpg123_feed ();
15817 return 0;
15819 _ACEOF
15820 if ac_fn_c_try_link "$LINENO"; then :
15821 ac_cv_lib_mpg123_mpg123_feed=yes
15822 else
15823 ac_cv_lib_mpg123_mpg123_feed=no
15825 rm -f core conftest.err conftest.$ac_objext \
15826 conftest$ac_exeext conftest.$ac_ext
15827 LIBS=$ac_check_lib_save_LIBS
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
15830 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
15831 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
15833 else
15834 MPG123_LIBS=""
15837 else
15838 MPG123_CFLAGS=""
15839 MPG123_LIBS=""
15841 CPPFLAGS=$ac_save_CPPFLAGS
15842 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15843 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15846 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
15847 case "x$with_mpg123" in
15848 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
15849 xno) ;;
15850 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
15851 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
15852 esac
15853 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
15855 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
15857 if test "$ac_cv_header_AL_al_h" = "yes"
15858 then
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15860 $as_echo_n "checking for -lopenal... " >&6; }
15861 if ${ac_cv_lib_soname_openal+:} false; then :
15862 $as_echo_n "(cached) " >&6
15863 else
15864 ac_check_soname_save_LIBS=$LIBS
15865 LIBS="-lopenal $LIBS"
15866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15867 /* end confdefs.h. */
15869 /* Override any GCC internal prototype to avoid an error.
15870 Use char because int might match the return type of a GCC
15871 builtin and then its argument prototype would still apply. */
15872 #ifdef __cplusplus
15873 extern "C"
15874 #endif
15875 char alGetSource3i ();
15877 main ()
15879 return alGetSource3i ();
15881 return 0;
15883 _ACEOF
15884 if ac_fn_c_try_link "$LINENO"; then :
15885 case "$LIBEXT" in
15886 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15887 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'` ;;
15888 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15889 if ${ac_cv_lib_soname_openal:+false} :; then :
15890 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15891 fi ;;
15892 esac
15893 else
15894 ac_cv_lib_soname_openal=
15896 rm -f core conftest.err conftest.$ac_objext \
15897 conftest$ac_exeext conftest.$ac_ext
15898 LIBS=$ac_check_soname_save_LIBS
15900 if ${ac_cv_lib_soname_openal:+false} :; then :
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15902 $as_echo "not found" >&6; }
15904 else
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
15906 $as_echo "$ac_cv_lib_soname_openal" >&6; }
15908 cat >>confdefs.h <<_ACEOF
15909 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
15910 _ACEOF
15912 OPENAL_LIBS="-lopenal"
15914 ac_cv_lib_openal=yes
15916 cat >>confdefs.h <<_ACEOF
15917 #define HAVE_OPENAL 1
15918 _ACEOF
15922 if test "x$ac_cv_lib_openal" != xyes; then :
15923 case "x$with_openal" in
15924 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
15925 xno) ;;
15926 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
15927 This is an error since --with-openal was requested." "$LINENO" 5 ;;
15928 esac
15929 enable_openal32=${enable_openal32:-no}
15932 if test "x$ac_cv_lib_soname_FAudio" = "x"
15933 then
15934 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
15935 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
15936 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
15937 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
15938 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
15939 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
15940 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
15941 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
15942 enable_xapofx1_1=${enable_xapofx1_1:-no}
15943 enable_xapofx1_2=${enable_xapofx1_2:-no}
15944 enable_xapofx1_3=${enable_xapofx1_3:-no}
15945 enable_xapofx1_4=${enable_xapofx1_4:-no}
15946 enable_xapofx1_5=${enable_xapofx1_5:-no}
15947 enable_xaudio2_0=${enable_xaudio2_0:-no}
15948 enable_xaudio2_1=${enable_xaudio2_1:-no}
15949 enable_xaudio2_2=${enable_xaudio2_2:-no}
15950 enable_xaudio2_3=${enable_xaudio2_3:-no}
15951 enable_xaudio2_4=${enable_xaudio2_4:-no}
15952 enable_xaudio2_5=${enable_xaudio2_5:-no}
15953 enable_xaudio2_6=${enable_xaudio2_6:-no}
15954 enable_xaudio2_7=${enable_xaudio2_7:-no}
15955 enable_xaudio2_8=${enable_xaudio2_8:-no}
15956 enable_xaudio2_9=${enable_xaudio2_9:-no}
15959 if test "$ac_cv_header_kstat_h" = "yes"
15960 then
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15962 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15963 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15964 $as_echo_n "(cached) " >&6
15965 else
15966 ac_check_lib_save_LIBS=$LIBS
15967 LIBS="-lkstat $LIBS"
15968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15969 /* end confdefs.h. */
15971 /* Override any GCC internal prototype to avoid an error.
15972 Use char because int might match the return type of a GCC
15973 builtin and then its argument prototype would still apply. */
15974 #ifdef __cplusplus
15975 extern "C"
15976 #endif
15977 char kstat_open ();
15979 main ()
15981 return kstat_open ();
15983 return 0;
15985 _ACEOF
15986 if ac_fn_c_try_link "$LINENO"; then :
15987 ac_cv_lib_kstat_kstat_open=yes
15988 else
15989 ac_cv_lib_kstat_kstat_open=no
15991 rm -f core conftest.err conftest.$ac_objext \
15992 conftest$ac_exeext conftest.$ac_ext
15993 LIBS=$ac_check_lib_save_LIBS
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15996 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15997 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15999 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16001 KSTAT_LIBS="-lkstat"
16007 if test "$ac_cv_header_libprocstat_h" = "yes"
16008 then
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16010 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16011 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16012 $as_echo_n "(cached) " >&6
16013 else
16014 ac_check_lib_save_LIBS=$LIBS
16015 LIBS="-lprocstat $LIBS"
16016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16017 /* end confdefs.h. */
16019 /* Override any GCC internal prototype to avoid an error.
16020 Use char because int might match the return type of a GCC
16021 builtin and then its argument prototype would still apply. */
16022 #ifdef __cplusplus
16023 extern "C"
16024 #endif
16025 char procstat_open_sysctl ();
16027 main ()
16029 return procstat_open_sysctl ();
16031 return 0;
16033 _ACEOF
16034 if ac_fn_c_try_link "$LINENO"; then :
16035 ac_cv_lib_procstat_procstat_open_sysctl=yes
16036 else
16037 ac_cv_lib_procstat_procstat_open_sysctl=no
16039 rm -f core conftest.err conftest.$ac_objext \
16040 conftest$ac_exeext conftest.$ac_ext
16041 LIBS=$ac_check_lib_save_LIBS
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16044 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16045 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16047 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16049 PROCSTAT_LIBS="-lprocstat"
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16056 $as_echo_n "checking for -lodbc... " >&6; }
16057 if ${ac_cv_lib_soname_odbc+:} false; then :
16058 $as_echo_n "(cached) " >&6
16059 else
16060 ac_check_soname_save_LIBS=$LIBS
16061 LIBS="-lodbc $LIBS"
16062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16063 /* end confdefs.h. */
16065 /* Override any GCC internal prototype to avoid an error.
16066 Use char because int might match the return type of a GCC
16067 builtin and then its argument prototype would still apply. */
16068 #ifdef __cplusplus
16069 extern "C"
16070 #endif
16071 char SQLConnect ();
16073 main ()
16075 return SQLConnect ();
16077 return 0;
16079 _ACEOF
16080 if ac_fn_c_try_link "$LINENO"; then :
16081 case "$LIBEXT" in
16082 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16083 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'` ;;
16084 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16085 if ${ac_cv_lib_soname_odbc:+false} :; then :
16086 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16087 fi ;;
16088 esac
16089 else
16090 ac_cv_lib_soname_odbc=
16092 rm -f core conftest.err conftest.$ac_objext \
16093 conftest$ac_exeext conftest.$ac_ext
16094 LIBS=$ac_check_soname_save_LIBS
16096 if ${ac_cv_lib_soname_odbc:+false} :; then :
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16098 $as_echo "not found" >&6; }
16099 cat >>confdefs.h <<_ACEOF
16100 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16101 _ACEOF
16103 else
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16105 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16107 cat >>confdefs.h <<_ACEOF
16108 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16109 _ACEOF
16114 if test "x$with_netapi" != "xno"
16115 then
16116 if ${NETAPI_CFLAGS:+false} :; then :
16117 if ${PKG_CONFIG+:} false; then :
16118 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16122 if ${NETAPI_LIBS:+false} :; then :
16123 if ${PKG_CONFIG+:} false; then :
16124 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16129 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16130 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16131 ac_save_CPPFLAGS=$CPPFLAGS
16132 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16134 $as_echo_n "checking for -lnetapi... " >&6; }
16135 if ${ac_cv_lib_soname_netapi+:} false; then :
16136 $as_echo_n "(cached) " >&6
16137 else
16138 ac_check_soname_save_LIBS=$LIBS
16139 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16141 /* end confdefs.h. */
16143 /* Override any GCC internal prototype to avoid an error.
16144 Use char because int might match the return type of a GCC
16145 builtin and then its argument prototype would still apply. */
16146 #ifdef __cplusplus
16147 extern "C"
16148 #endif
16149 char libnetapi_init ();
16151 main ()
16153 return libnetapi_init ();
16155 return 0;
16157 _ACEOF
16158 if ac_fn_c_try_link "$LINENO"; then :
16159 case "$LIBEXT" in
16160 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16161 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'` ;;
16162 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16163 if ${ac_cv_lib_soname_netapi:+false} :; then :
16164 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16165 fi ;;
16166 esac
16167 else
16168 ac_cv_lib_soname_netapi=
16170 rm -f core conftest.err conftest.$ac_objext \
16171 conftest$ac_exeext conftest.$ac_ext
16172 LIBS=$ac_check_soname_save_LIBS
16174 if ${ac_cv_lib_soname_netapi:+false} :; then :
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16176 $as_echo "not found" >&6; }
16177 cat >>confdefs.h <<_ACEOF
16178 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16179 _ACEOF
16181 else
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16183 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16185 cat >>confdefs.h <<_ACEOF
16186 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16187 _ACEOF
16191 CPPFLAGS=$ac_save_CPPFLAGS
16192 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16193 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16197 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16198 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16199 then
16200 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16203 if test "x$with_vulkan" != "xno"
16204 then
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16206 $as_echo_n "checking for -lvulkan... " >&6; }
16207 if ${ac_cv_lib_soname_vulkan+:} false; then :
16208 $as_echo_n "(cached) " >&6
16209 else
16210 ac_check_soname_save_LIBS=$LIBS
16211 LIBS="-lvulkan $LIBS"
16212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16213 /* end confdefs.h. */
16215 /* Override any GCC internal prototype to avoid an error.
16216 Use char because int might match the return type of a GCC
16217 builtin and then its argument prototype would still apply. */
16218 #ifdef __cplusplus
16219 extern "C"
16220 #endif
16221 char vkGetInstanceProcAddr ();
16223 main ()
16225 return vkGetInstanceProcAddr ();
16227 return 0;
16229 _ACEOF
16230 if ac_fn_c_try_link "$LINENO"; then :
16231 case "$LIBEXT" in
16232 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16233 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'` ;;
16234 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16235 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16236 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16237 fi ;;
16238 esac
16239 else
16240 ac_cv_lib_soname_vulkan=
16242 rm -f core conftest.err conftest.$ac_objext \
16243 conftest$ac_exeext conftest.$ac_ext
16244 LIBS=$ac_check_soname_save_LIBS
16246 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16248 $as_echo "not found" >&6; }
16250 else
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16252 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16254 cat >>confdefs.h <<_ACEOF
16255 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16256 _ACEOF
16260 if test "x$ac_cv_lib_soname_vulkan" = "x"
16261 then
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16263 $as_echo_n "checking for -lMoltenVK... " >&6; }
16264 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16265 $as_echo_n "(cached) " >&6
16266 else
16267 ac_check_soname_save_LIBS=$LIBS
16268 LIBS="-lMoltenVK $LIBS"
16269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16270 /* end confdefs.h. */
16272 /* Override any GCC internal prototype to avoid an error.
16273 Use char because int might match the return type of a GCC
16274 builtin and then its argument prototype would still apply. */
16275 #ifdef __cplusplus
16276 extern "C"
16277 #endif
16278 char vkGetInstanceProcAddr ();
16280 main ()
16282 return vkGetInstanceProcAddr ();
16284 return 0;
16286 _ACEOF
16287 if ac_fn_c_try_link "$LINENO"; then :
16288 case "$LIBEXT" in
16289 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16290 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'` ;;
16291 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16292 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16293 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16294 fi ;;
16295 esac
16296 else
16297 ac_cv_lib_soname_MoltenVK=
16299 rm -f core conftest.err conftest.$ac_objext \
16300 conftest$ac_exeext conftest.$ac_ext
16301 LIBS=$ac_check_soname_save_LIBS
16303 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16305 $as_echo "not found" >&6; }
16307 else
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16309 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16311 cat >>confdefs.h <<_ACEOF
16312 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16313 _ACEOF
16319 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16320 case "x$with_vulkan" in
16321 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16322 xno) ;;
16323 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16324 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16325 esac
16329 if test "x$with_vkd3d" != "xno"
16330 then
16331 if ${VKD3D_CFLAGS:+false} :; then :
16332 if ${PKG_CONFIG+:} false; then :
16333 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16337 if ${VKD3D_LIBS:+false} :; then :
16338 if ${PKG_CONFIG+:} false; then :
16339 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16344 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16345 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16346 ac_save_CPPFLAGS=$CPPFLAGS
16347 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16349 $as_echo_n "checking for -lvkd3d... " >&6; }
16350 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16351 $as_echo_n "(cached) " >&6
16352 else
16353 ac_check_soname_save_LIBS=$LIBS
16354 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16356 /* end confdefs.h. */
16358 /* Override any GCC internal prototype to avoid an error.
16359 Use char because int might match the return type of a GCC
16360 builtin and then its argument prototype would still apply. */
16361 #ifdef __cplusplus
16362 extern "C"
16363 #endif
16364 char vkd3d_get_dxgi_format ();
16366 main ()
16368 return vkd3d_get_dxgi_format ();
16370 return 0;
16372 _ACEOF
16373 if ac_fn_c_try_link "$LINENO"; then :
16374 case "$LIBEXT" in
16375 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16376 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'` ;;
16377 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16378 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16379 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16380 fi ;;
16381 esac
16382 else
16383 ac_cv_lib_soname_vkd3d=
16385 rm -f core conftest.err conftest.$ac_objext \
16386 conftest$ac_exeext conftest.$ac_ext
16387 LIBS=$ac_check_soname_save_LIBS
16389 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16391 $as_echo "not found" >&6; }
16393 else
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16395 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16397 cat >>confdefs.h <<_ACEOF
16398 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16399 _ACEOF
16403 CPPFLAGS=$ac_save_CPPFLAGS
16404 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16405 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16408 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16409 case "x$with_vkd3d" in
16410 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16411 xno) ;;
16412 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16413 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16414 esac
16417 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16420 EXTRACFLAGS=""
16422 if test "x${GCC}" = "xyes"
16423 then
16424 EXTRACFLAGS="-Wall -pipe"
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16427 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16428 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16429 $as_echo_n "(cached) " >&6
16430 else
16431 if test "$cross_compiling" = yes; then :
16432 ac_cv_c_gcc_strength_bug="no"
16433 else
16434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16435 /* end confdefs.h. */
16436 int L[4] = {0,1,2,3};
16438 main ()
16440 static int Array[3];
16441 unsigned int B = 3;
16442 int i;
16443 for(i=0; i<B; i++) Array[i] = i - 3;
16444 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16445 L[i] = 4;
16446 return (Array[1] != -2 || L[2] != 3)
16448 return 0;
16450 _ACEOF
16451 if ac_fn_c_try_run "$LINENO"; then :
16452 ac_cv_c_gcc_strength_bug="no"
16453 else
16454 ac_cv_c_gcc_strength_bug="yes"
16456 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16457 conftest.$ac_objext conftest.beam conftest.$ac_ext
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16462 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16463 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16464 then
16465 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
16469 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
16470 if ${ac_cv_cflags__fno_builtin+:} false; then :
16471 $as_echo_n "(cached) " >&6
16472 else
16473 ac_wine_try_cflags_saved=$CFLAGS
16474 CFLAGS="$CFLAGS -fno-builtin"
16475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16476 /* end confdefs.h. */
16477 int main(int argc, char **argv) { return 0; }
16478 _ACEOF
16479 if ac_fn_c_try_link "$LINENO"; then :
16480 ac_cv_cflags__fno_builtin=yes
16481 else
16482 ac_cv_cflags__fno_builtin=no
16484 rm -f core conftest.err conftest.$ac_objext \
16485 conftest$ac_exeext conftest.$ac_ext
16486 CFLAGS=$ac_wine_try_cflags_saved
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
16489 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
16490 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
16491 BUILTINFLAG="-fno-builtin"
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16495 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16496 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16497 $as_echo_n "(cached) " >&6
16498 else
16499 ac_wine_try_cflags_saved=$CFLAGS
16500 CFLAGS="$CFLAGS -fno-strict-aliasing"
16501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16502 /* end confdefs.h. */
16503 int main(int argc, char **argv) { return 0; }
16504 _ACEOF
16505 if ac_fn_c_try_link "$LINENO"; then :
16506 ac_cv_cflags__fno_strict_aliasing=yes
16507 else
16508 ac_cv_cflags__fno_strict_aliasing=no
16510 rm -f core conftest.err conftest.$ac_objext \
16511 conftest$ac_exeext conftest.$ac_ext
16512 CFLAGS=$ac_wine_try_cflags_saved
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16515 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16516 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16517 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16520 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16521 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16522 $as_echo_n "(cached) " >&6
16523 else
16524 ac_wine_try_cflags_saved=$CFLAGS
16525 CFLAGS="$CFLAGS -fexcess-precision=standard"
16526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16527 /* end confdefs.h. */
16528 int main(int argc, char **argv) { return 0; }
16529 _ACEOF
16530 if ac_fn_c_try_link "$LINENO"; then :
16531 ac_cv_cflags__fexcess_precision_standard=yes
16532 else
16533 ac_cv_cflags__fexcess_precision_standard=no
16535 rm -f core conftest.err conftest.$ac_objext \
16536 conftest$ac_exeext conftest.$ac_ext
16537 CFLAGS=$ac_wine_try_cflags_saved
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16540 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16541 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16542 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16545 saved_CFLAGS=$CFLAGS
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16547 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16548 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16549 $as_echo_n "(cached) " >&6
16550 else
16551 ac_wine_try_cflags_saved=$CFLAGS
16552 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16554 /* end confdefs.h. */
16555 int main(int argc, char **argv) { return 0; }
16556 _ACEOF
16557 if ac_fn_c_try_link "$LINENO"; then :
16558 ac_cv_cflags__Werror_unknown_warning_option=yes
16559 else
16560 ac_cv_cflags__Werror_unknown_warning_option=no
16562 rm -f core conftest.err conftest.$ac_objext \
16563 conftest$ac_exeext conftest.$ac_ext
16564 CFLAGS=$ac_wine_try_cflags_saved
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16567 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16568 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16569 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16572 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16573 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16574 $as_echo_n "(cached) " >&6
16575 else
16576 ac_wine_try_cflags_saved=$CFLAGS
16577 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16579 /* end confdefs.h. */
16580 int main(int argc, char **argv) { return 0; }
16581 _ACEOF
16582 if ac_fn_c_try_link "$LINENO"; then :
16583 ac_cv_cflags__Wdeclaration_after_statement=yes
16584 else
16585 ac_cv_cflags__Wdeclaration_after_statement=no
16587 rm -f core conftest.err conftest.$ac_objext \
16588 conftest$ac_exeext conftest.$ac_ext
16589 CFLAGS=$ac_wine_try_cflags_saved
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16592 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16593 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16594 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16597 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16598 if ${ac_cv_cflags__Wempty_body+:} false; then :
16599 $as_echo_n "(cached) " >&6
16600 else
16601 ac_wine_try_cflags_saved=$CFLAGS
16602 CFLAGS="$CFLAGS -Wempty-body"
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16605 int main(int argc, char **argv) { return 0; }
16606 _ACEOF
16607 if ac_fn_c_try_link "$LINENO"; then :
16608 ac_cv_cflags__Wempty_body=yes
16609 else
16610 ac_cv_cflags__Wempty_body=no
16612 rm -f core conftest.err conftest.$ac_objext \
16613 conftest$ac_exeext conftest.$ac_ext
16614 CFLAGS=$ac_wine_try_cflags_saved
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16617 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16618 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16619 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16622 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16623 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16624 $as_echo_n "(cached) " >&6
16625 else
16626 ac_wine_try_cflags_saved=$CFLAGS
16627 CFLAGS="$CFLAGS -Wignored-qualifiers"
16628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 /* end confdefs.h. */
16630 int main(int argc, char **argv) { return 0; }
16631 _ACEOF
16632 if ac_fn_c_try_link "$LINENO"; then :
16633 ac_cv_cflags__Wignored_qualifiers=yes
16634 else
16635 ac_cv_cflags__Wignored_qualifiers=no
16637 rm -f core conftest.err conftest.$ac_objext \
16638 conftest$ac_exeext conftest.$ac_ext
16639 CFLAGS=$ac_wine_try_cflags_saved
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16642 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16643 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16644 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16647 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16648 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16649 $as_echo_n "(cached) " >&6
16650 else
16651 ac_wine_try_cflags_saved=$CFLAGS
16652 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16654 /* end confdefs.h. */
16655 int main(int argc, char **argv) { return 0; }
16656 _ACEOF
16657 if ac_fn_c_try_link "$LINENO"; then :
16658 ac_cv_cflags__Wpacked_not_aligned=yes
16659 else
16660 ac_cv_cflags__Wpacked_not_aligned=no
16662 rm -f core conftest.err conftest.$ac_objext \
16663 conftest$ac_exeext conftest.$ac_ext
16664 CFLAGS=$ac_wine_try_cflags_saved
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
16667 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
16668 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
16669 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
16672 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
16673 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
16674 $as_echo_n "(cached) " >&6
16675 else
16676 ac_wine_try_cflags_saved=$CFLAGS
16677 CFLAGS="$CFLAGS -Wpragma-pack"
16678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16680 int main(int argc, char **argv) { return 0; }
16681 _ACEOF
16682 if ac_fn_c_try_link "$LINENO"; then :
16683 ac_cv_cflags__Wpragma_pack=yes
16684 else
16685 ac_cv_cflags__Wpragma_pack=no
16687 rm -f core conftest.err conftest.$ac_objext \
16688 conftest$ac_exeext conftest.$ac_ext
16689 CFLAGS=$ac_wine_try_cflags_saved
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
16692 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
16693 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
16694 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
16697 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
16698 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
16699 $as_echo_n "(cached) " >&6
16700 else
16701 ac_wine_try_cflags_saved=$CFLAGS
16702 CFLAGS="$CFLAGS -Wshift-overflow=2"
16703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16704 /* end confdefs.h. */
16705 int main(int argc, char **argv) { return 0; }
16706 _ACEOF
16707 if ac_fn_c_try_link "$LINENO"; then :
16708 ac_cv_cflags__Wshift_overflow_2=yes
16709 else
16710 ac_cv_cflags__Wshift_overflow_2=no
16712 rm -f core conftest.err conftest.$ac_objext \
16713 conftest$ac_exeext conftest.$ac_ext
16714 CFLAGS=$ac_wine_try_cflags_saved
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16717 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16718 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16719 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16722 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16723 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16724 $as_echo_n "(cached) " >&6
16725 else
16726 ac_wine_try_cflags_saved=$CFLAGS
16727 CFLAGS="$CFLAGS -Wstrict-prototypes"
16728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16729 /* end confdefs.h. */
16730 int main(int argc, char **argv) { return 0; }
16731 _ACEOF
16732 if ac_fn_c_try_link "$LINENO"; then :
16733 ac_cv_cflags__Wstrict_prototypes=yes
16734 else
16735 ac_cv_cflags__Wstrict_prototypes=no
16737 rm -f core conftest.err conftest.$ac_objext \
16738 conftest$ac_exeext conftest.$ac_ext
16739 CFLAGS=$ac_wine_try_cflags_saved
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16742 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16743 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16744 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16747 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16748 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16749 $as_echo_n "(cached) " >&6
16750 else
16751 ac_wine_try_cflags_saved=$CFLAGS
16752 CFLAGS="$CFLAGS -Wtype-limits"
16753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16754 /* end confdefs.h. */
16755 int main(int argc, char **argv) { return 0; }
16756 _ACEOF
16757 if ac_fn_c_try_link "$LINENO"; then :
16758 ac_cv_cflags__Wtype_limits=yes
16759 else
16760 ac_cv_cflags__Wtype_limits=no
16762 rm -f core conftest.err conftest.$ac_objext \
16763 conftest$ac_exeext conftest.$ac_ext
16764 CFLAGS=$ac_wine_try_cflags_saved
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16767 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16768 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16769 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16772 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16773 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16774 $as_echo_n "(cached) " >&6
16775 else
16776 ac_wine_try_cflags_saved=$CFLAGS
16777 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16779 /* end confdefs.h. */
16780 int main(int argc, char **argv) { return 0; }
16781 _ACEOF
16782 if ac_fn_c_try_link "$LINENO"; then :
16783 ac_cv_cflags__Wunused_but_set_parameter=yes
16784 else
16785 ac_cv_cflags__Wunused_but_set_parameter=no
16787 rm -f core conftest.err conftest.$ac_objext \
16788 conftest$ac_exeext conftest.$ac_ext
16789 CFLAGS=$ac_wine_try_cflags_saved
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16792 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16793 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16794 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16797 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16798 if ${ac_cv_cflags__Wvla+:} false; then :
16799 $as_echo_n "(cached) " >&6
16800 else
16801 ac_wine_try_cflags_saved=$CFLAGS
16802 CFLAGS="$CFLAGS -Wvla"
16803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16804 /* end confdefs.h. */
16805 int main(int argc, char **argv) { return 0; }
16806 _ACEOF
16807 if ac_fn_c_try_link "$LINENO"; then :
16808 ac_cv_cflags__Wvla=yes
16809 else
16810 ac_cv_cflags__Wvla=no
16812 rm -f core conftest.err conftest.$ac_objext \
16813 conftest$ac_exeext conftest.$ac_ext
16814 CFLAGS=$ac_wine_try_cflags_saved
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16817 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16818 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16819 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16822 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16823 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16824 $as_echo_n "(cached) " >&6
16825 else
16826 ac_wine_try_cflags_saved=$CFLAGS
16827 CFLAGS="$CFLAGS -Wwrite-strings"
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16830 int main(int argc, char **argv) { return 0; }
16831 _ACEOF
16832 if ac_fn_c_try_link "$LINENO"; then :
16833 ac_cv_cflags__Wwrite_strings=yes
16834 else
16835 ac_cv_cflags__Wwrite_strings=no
16837 rm -f core conftest.err conftest.$ac_objext \
16838 conftest$ac_exeext conftest.$ac_ext
16839 CFLAGS=$ac_wine_try_cflags_saved
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16842 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16843 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16844 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16848 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16849 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16850 $as_echo_n "(cached) " >&6
16851 else
16852 ac_wine_try_cflags_saved=$CFLAGS
16853 CFLAGS="$CFLAGS -Wpointer-arith"
16854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16855 /* end confdefs.h. */
16856 int main(int argc, char **argv) { return 0; }
16857 _ACEOF
16858 if ac_fn_c_try_link "$LINENO"; then :
16859 ac_cv_cflags__Wpointer_arith=yes
16860 else
16861 ac_cv_cflags__Wpointer_arith=no
16863 rm -f core conftest.err conftest.$ac_objext \
16864 conftest$ac_exeext conftest.$ac_ext
16865 CFLAGS=$ac_wine_try_cflags_saved
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16868 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16869 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16870 saved_string_h_CFLAGS=$CFLAGS
16871 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16873 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16874 if ${ac_cv_c_string_h_warnings+:} false; then :
16875 $as_echo_n "(cached) " >&6
16876 else
16877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16878 /* end confdefs.h. */
16879 #include <string.h>
16881 main ()
16885 return 0;
16887 _ACEOF
16888 if ac_fn_c_try_compile "$LINENO"; then :
16889 ac_cv_c_string_h_warnings=no
16890 else
16891 ac_cv_c_string_h_warnings=yes
16893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16896 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
16897 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16898 CFLAGS=$saved_string_h_CFLAGS
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
16902 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
16903 if ${ac_cv_cflags__Wlogical_op+:} false; then :
16904 $as_echo_n "(cached) " >&6
16905 else
16906 ac_wine_try_cflags_saved=$CFLAGS
16907 CFLAGS="$CFLAGS -Wlogical-op"
16908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16909 /* end confdefs.h. */
16910 int main(int argc, char **argv) { return 0; }
16911 _ACEOF
16912 if ac_fn_c_try_link "$LINENO"; then :
16913 ac_cv_cflags__Wlogical_op=yes
16914 else
16915 ac_cv_cflags__Wlogical_op=no
16917 rm -f core conftest.err conftest.$ac_objext \
16918 conftest$ac_exeext conftest.$ac_ext
16919 CFLAGS=$ac_wine_try_cflags_saved
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
16922 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
16923 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
16924 saved_string_h_CFLAGS=$CFLAGS
16925 CFLAGS="$CFLAGS -Wlogical-op -Werror"
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
16927 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
16928 if ${ac_cv_c_logicalop_noisy+:} false; then :
16929 $as_echo_n "(cached) " >&6
16930 else
16931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16932 /* end confdefs.h. */
16933 #include <string.h>
16934 char*f(const char *h,char n) {return strchr(h,n);}
16936 main ()
16940 return 0;
16942 _ACEOF
16943 if ac_fn_c_try_compile "$LINENO"; then :
16944 ac_cv_c_logicalop_noisy=no
16945 else
16946 ac_cv_c_logicalop_noisy=yes
16948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
16951 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
16952 CFLAGS=$saved_string_h_CFLAGS
16953 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
16956 CFLAGS=$saved_CFLAGS
16958 for ac_flag in $CFLAGS; do
16959 case $ac_flag in
16960 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
16961 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
16962 if ${ac_cv_cflags__gdwarf_2+:} false; then :
16963 $as_echo_n "(cached) " >&6
16964 else
16965 ac_wine_try_cflags_saved=$CFLAGS
16966 CFLAGS="$CFLAGS -gdwarf-2"
16967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16968 /* end confdefs.h. */
16969 int main(int argc, char **argv) { return 0; }
16970 _ACEOF
16971 if ac_fn_c_try_link "$LINENO"; then :
16972 ac_cv_cflags__gdwarf_2=yes
16973 else
16974 ac_cv_cflags__gdwarf_2=no
16976 rm -f core conftest.err conftest.$ac_objext \
16977 conftest$ac_exeext conftest.$ac_ext
16978 CFLAGS=$ac_wine_try_cflags_saved
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16981 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16982 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16983 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16986 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16987 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16988 $as_echo_n "(cached) " >&6
16989 else
16990 ac_wine_try_cflags_saved=$CFLAGS
16991 CFLAGS="$CFLAGS -gstrict-dwarf"
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16994 int main(int argc, char **argv) { return 0; }
16995 _ACEOF
16996 if ac_fn_c_try_link "$LINENO"; then :
16997 ac_cv_cflags__gstrict_dwarf=yes
16998 else
16999 ac_cv_cflags__gstrict_dwarf=no
17001 rm -f core conftest.err conftest.$ac_objext \
17002 conftest$ac_exeext conftest.$ac_ext
17003 CFLAGS=$ac_wine_try_cflags_saved
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17006 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17007 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17008 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17009 fi ;;
17010 esac
17011 done
17013 case $host_cpu in
17014 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17015 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17016 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17017 $as_echo_n "(cached) " >&6
17018 else
17019 ac_wine_try_cflags_saved=$CFLAGS
17020 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 int main(int argc, char **argv) { return 0; }
17024 _ACEOF
17025 if ac_fn_c_try_link "$LINENO"; then :
17026 ac_cv_cflags__fno_omit_frame_pointer=yes
17027 else
17028 ac_cv_cflags__fno_omit_frame_pointer=no
17030 rm -f core conftest.err conftest.$ac_objext \
17031 conftest$ac_exeext conftest.$ac_ext
17032 CFLAGS=$ac_wine_try_cflags_saved
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17035 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17036 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17037 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17038 fi ;;
17039 esac
17041 case $host in
17042 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17043 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17044 if ${ac_cv_cflags__Wno_format+:} false; then :
17045 $as_echo_n "(cached) " >&6
17046 else
17047 ac_wine_try_cflags_saved=$CFLAGS
17048 CFLAGS="$CFLAGS -Wno-format"
17049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17050 /* end confdefs.h. */
17051 int main(int argc, char **argv) { return 0; }
17052 _ACEOF
17053 if ac_fn_c_try_link "$LINENO"; then :
17054 ac_cv_cflags__Wno_format=yes
17055 else
17056 ac_cv_cflags__Wno_format=no
17058 rm -f core conftest.err conftest.$ac_objext \
17059 conftest$ac_exeext conftest.$ac_ext
17060 CFLAGS=$ac_wine_try_cflags_saved
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17063 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17064 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17065 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17066 fi ;;
17067 esac
17069 if test "x$enable_maintainer_mode" = "xyes"
17070 then
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17072 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17073 if ${ac_cv_cflags__Werror+:} false; then :
17074 $as_echo_n "(cached) " >&6
17075 else
17076 ac_wine_try_cflags_saved=$CFLAGS
17077 CFLAGS="$CFLAGS -Werror"
17078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17080 int main(int argc, char **argv) { return 0; }
17081 _ACEOF
17082 if ac_fn_c_try_link "$LINENO"; then :
17083 ac_cv_cflags__Werror=yes
17084 else
17085 ac_cv_cflags__Werror=no
17087 rm -f core conftest.err conftest.$ac_objext \
17088 conftest$ac_exeext conftest.$ac_ext
17089 CFLAGS=$ac_wine_try_cflags_saved
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17092 $as_echo "$ac_cv_cflags__Werror" >&6; }
17093 if test "x$ac_cv_cflags__Werror" = xyes; then :
17094 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17098 saved_CFLAGS="$CFLAGS"
17099 CFLAGS="$CFLAGS -Werror"
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
17101 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
17102 if ${ac_cv_have_ms_hook_prologue+:} false; then :
17103 $as_echo_n "(cached) " >&6
17104 else
17105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17106 /* end confdefs.h. */
17107 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
17109 main ()
17113 return 0;
17115 _ACEOF
17116 if ac_fn_c_try_compile "$LINENO"; then :
17117 ac_cv_have_ms_hook_prologue="yes"
17118 else
17119 ac_cv_have_ms_hook_prologue="no"
17121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
17124 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
17125 CFLAGS="$saved_CFLAGS"
17126 if test "$ac_cv_have_ms_hook_prologue" = "yes"
17127 then
17129 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
17131 else
17132 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17139 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17140 if ${ac_cv_c_fortify_enabled+:} false; then :
17141 $as_echo_n "(cached) " >&6
17142 else
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17145 #include <string.h>
17147 main ()
17149 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17150 #error Fortify enabled
17151 #endif
17153 return 0;
17155 _ACEOF
17156 if ac_fn_c_try_compile "$LINENO"; then :
17157 ac_cv_c_fortify_enabled=no
17158 else
17159 ac_cv_c_fortify_enabled=yes
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17164 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17165 if test "$ac_cv_c_fortify_enabled" = yes
17166 then
17167 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
17172 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
17173 if ${ac_cv_c_extern_prefix+:} false; then :
17174 $as_echo_n "(cached) " >&6
17175 else
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17178 extern int ac_test;
17180 main ()
17182 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
17184 return 0;
17186 _ACEOF
17187 if ac_fn_c_try_link "$LINENO"; then :
17188 ac_cv_c_extern_prefix="yes"
17189 else
17190 ac_cv_c_extern_prefix="no"
17192 rm -f core conftest.err conftest.$ac_objext \
17193 conftest$ac_exeext conftest.$ac_ext
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
17196 $as_echo "$ac_cv_c_extern_prefix" >&6; }
17198 case $host_cpu in
17199 *i[3456789]86*)
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
17201 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
17202 if ${ac_cv_c_stdcall_suffix+:} false; then :
17203 $as_echo_n "(cached) " >&6
17204 else
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17207 #ifndef _MSC_VER
17208 #define __stdcall __attribute__((__stdcall__))
17209 #endif
17210 int __stdcall ac_test(int i) { return i; }
17212 main ()
17214 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
17216 return 0;
17218 _ACEOF
17219 if ac_fn_c_try_link "$LINENO"; then :
17220 ac_cv_c_stdcall_suffix="yes"
17221 else
17222 ac_cv_c_stdcall_suffix="no"
17224 rm -f core conftest.err conftest.$ac_objext \
17225 conftest$ac_exeext conftest.$ac_ext
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
17228 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
17229 *) ac_cv_c_stdcall_suffix="no" ;;
17230 esac
17233 if test "$ac_cv_c_extern_prefix" = "yes"
17234 then
17235 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
17237 asm_name_prefix="_"
17238 else
17239 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
17241 asm_name_prefix=""
17245 if test "$ac_cv_c_stdcall_suffix" = "yes"
17246 then
17247 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
17249 else
17250 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
17256 $as_echo_n "checking how to define a function in assembly code... " >&6; }
17257 if ${ac_cv_asm_func_def+:} false; then :
17258 $as_echo_n "(cached) " >&6
17259 else
17260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17261 /* end confdefs.h. */
17264 main ()
17266 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
17268 return 0;
17270 _ACEOF
17271 if ac_fn_c_try_link "$LINENO"; then :
17272 ac_cv_asm_func_def=".def"
17273 else
17274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17275 /* end confdefs.h. */
17278 main ()
17280 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
17282 return 0;
17284 _ACEOF
17285 if ac_fn_c_try_link "$LINENO"; then :
17286 ac_cv_asm_func_def=".type @function"
17287 else
17288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17289 /* end confdefs.h. */
17292 main ()
17294 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
17296 return 0;
17298 _ACEOF
17299 if ac_fn_c_try_link "$LINENO"; then :
17300 ac_cv_asm_func_def=".type 2"
17301 else
17302 ac_cv_asm_func_def="unknown"
17304 rm -f core conftest.err conftest.$ac_objext \
17305 conftest$ac_exeext conftest.$ac_ext
17307 rm -f core conftest.err conftest.$ac_objext \
17308 conftest$ac_exeext conftest.$ac_ext
17310 rm -f core conftest.err conftest.$ac_objext \
17311 conftest$ac_exeext conftest.$ac_ext
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
17314 $as_echo "$ac_cv_asm_func_def" >&6; }
17316 case "$ac_cv_asm_func_def" in
17317 ".def")
17318 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
17319 ".type @function")
17320 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
17321 ".type 2")
17322 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
17324 asm_func_header="" ;;
17325 esac
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
17328 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
17329 if ${ac_cv_c_asm_outside_funcs+:} false; then :
17330 $as_echo_n "(cached) " >&6
17331 else
17332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17333 /* end confdefs.h. */
17334 asm(".text\n\t.long 0");
17336 main ()
17340 return 0;
17342 _ACEOF
17343 if ac_fn_c_try_compile "$LINENO"; then :
17344 ac_cv_c_asm_outside_funcs="yes"
17345 else
17346 ac_cv_c_asm_outside_funcs="no"
17348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
17351 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
17354 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
17355 if ${ac_cv_c_dot_previous+:} false; then :
17356 $as_echo_n "(cached) " >&6
17357 else
17358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17362 main ()
17364 asm(".text\nac_test:\t.long 0\n\t.previous");
17366 return 0;
17368 _ACEOF
17369 if ac_fn_c_try_link "$LINENO"; then :
17370 ac_cv_c_dot_previous="yes"
17371 else
17372 ac_cv_c_dot_previous="no"
17374 rm -f core conftest.err conftest.$ac_objext \
17375 conftest$ac_exeext conftest.$ac_ext
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
17378 $as_echo "$ac_cv_c_dot_previous" >&6; }
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17381 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17382 if ${ac_cv_c_cfi_support+:} false; then :
17383 $as_echo_n "(cached) " >&6
17384 else
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17387 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17389 main ()
17393 return 0;
17395 _ACEOF
17396 if ac_fn_c_try_compile "$LINENO"; then :
17397 ac_cv_c_cfi_support="yes"
17398 else
17399 ac_cv_c_cfi_support="no"
17401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17404 $as_echo "$ac_cv_c_cfi_support" >&6; }
17406 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
17407 asm_func_trailer=""
17408 if test "$ac_cv_c_dot_previous" = "yes"
17409 then
17410 asm_func_trailer="\\n\\t.previous"
17412 if test "$ac_cv_c_cfi_support" = "yes"
17413 then
17414 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
17415 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
17417 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
17419 UNWINDFLAGS=-fasynchronous-unwind-tables
17421 else
17422 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
17424 if test "x$enable_win64" = "xyes"
17425 then
17426 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17430 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
17433 if test "$ac_cv_c_asm_outside_funcs" = "yes"
17434 then
17435 cat >>confdefs.h <<_ACEOF
17436 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
17437 _ACEOF
17439 else
17440 cat >>confdefs.h <<_ACEOF
17441 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
17442 _ACEOF
17446 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
17449 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
17453 case $build_os in
17454 cygwin*|mingw32*) TOOLSEXT=".exe"
17456 esac
17458 case $host_os in
17459 linux*)
17460 case $host_cpu in
17461 *i[3456789]86*|x86_64*|*aarch64*)
17462 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17463 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17465 esac
17467 esac
17470 ac_save_CFLAGS="$CFLAGS"
17471 CFLAGS="$CFLAGS $BUILTINFLAG"
17472 for ac_func in \
17473 __res_get_state \
17474 __res_getservers \
17475 _spawnvp \
17476 dlopen \
17477 epoll_create \
17478 ffs \
17479 finitef \
17480 fnmatch \
17481 fork \
17482 fpclass \
17483 fstatfs \
17484 fstatvfs \
17485 futimens \
17486 futimes \
17487 futimesat \
17488 getattrlist \
17489 getauxval \
17490 getifaddrs \
17491 getopt_long_only \
17492 kqueue \
17493 lstat \
17494 pipe2 \
17495 poll \
17496 port_create \
17497 prctl \
17498 pread \
17499 proc_pidinfo \
17500 pwrite \
17501 readdir \
17502 readlink \
17503 sched_yield \
17504 select \
17505 setproctitle \
17506 setprogname \
17507 settimeofday \
17508 sigprocmask \
17509 statfs \
17510 statvfs \
17511 strnlen \
17512 strtold \
17513 symlink \
17514 sysinfo \
17515 tcdrain \
17516 thr_kill2 \
17517 timegm \
17518 usleep
17520 do :
17521 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17522 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17523 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17524 cat >>confdefs.h <<_ACEOF
17525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17526 _ACEOF
17529 done
17531 CFLAGS="$ac_save_CFLAGS"
17533 if test "$ac_cv_func_dlopen" = no
17534 then
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17536 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17537 if ${ac_cv_lib_dl_dlopen+:} false; then :
17538 $as_echo_n "(cached) " >&6
17539 else
17540 ac_check_lib_save_LIBS=$LIBS
17541 LIBS="-ldl $LIBS"
17542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17543 /* end confdefs.h. */
17545 /* Override any GCC internal prototype to avoid an error.
17546 Use char because int might match the return type of a GCC
17547 builtin and then its argument prototype would still apply. */
17548 #ifdef __cplusplus
17549 extern "C"
17550 #endif
17551 char dlopen ();
17553 main ()
17555 return dlopen ();
17557 return 0;
17559 _ACEOF
17560 if ac_fn_c_try_link "$LINENO"; then :
17561 ac_cv_lib_dl_dlopen=yes
17562 else
17563 ac_cv_lib_dl_dlopen=no
17565 rm -f core conftest.err conftest.$ac_objext \
17566 conftest$ac_exeext conftest.$ac_ext
17567 LIBS=$ac_check_lib_save_LIBS
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17570 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17571 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17572 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17573 DL_LIBS="-ldl"
17578 ac_wine_check_funcs_save_LIBS="$LIBS"
17579 LIBS="$LIBS $DL_LIBS"
17580 for ac_func in dladdr
17581 do :
17582 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17583 if test "x$ac_cv_func_dladdr" = xyes; then :
17584 cat >>confdefs.h <<_ACEOF
17585 #define HAVE_DLADDR 1
17586 _ACEOF
17589 done
17591 LIBS="$ac_wine_check_funcs_save_LIBS"
17593 if test "$ac_cv_func_poll" = no
17594 then
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17596 $as_echo_n "checking for poll in -lpoll... " >&6; }
17597 if ${ac_cv_lib_poll_poll+:} false; then :
17598 $as_echo_n "(cached) " >&6
17599 else
17600 ac_check_lib_save_LIBS=$LIBS
17601 LIBS="-lpoll $LIBS"
17602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17603 /* end confdefs.h. */
17605 /* Override any GCC internal prototype to avoid an error.
17606 Use char because int might match the return type of a GCC
17607 builtin and then its argument prototype would still apply. */
17608 #ifdef __cplusplus
17609 extern "C"
17610 #endif
17611 char poll ();
17613 main ()
17615 return poll ();
17617 return 0;
17619 _ACEOF
17620 if ac_fn_c_try_link "$LINENO"; then :
17621 ac_cv_lib_poll_poll=yes
17622 else
17623 ac_cv_lib_poll_poll=no
17625 rm -f core conftest.err conftest.$ac_objext \
17626 conftest$ac_exeext conftest.$ac_ext
17627 LIBS=$ac_check_lib_save_LIBS
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17630 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17631 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17632 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17633 POLL_LIBS="-lpoll"
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17640 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17641 if ${ac_cv_search_gethostbyname+:} false; then :
17642 $as_echo_n "(cached) " >&6
17643 else
17644 ac_func_search_save_LIBS=$LIBS
17645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h. */
17648 /* Override any GCC internal prototype to avoid an error.
17649 Use char because int might match the return type of a GCC
17650 builtin and then its argument prototype would still apply. */
17651 #ifdef __cplusplus
17652 extern "C"
17653 #endif
17654 char gethostbyname ();
17656 main ()
17658 return gethostbyname ();
17660 return 0;
17662 _ACEOF
17663 for ac_lib in '' nsl; do
17664 if test -z "$ac_lib"; then
17665 ac_res="none required"
17666 else
17667 ac_res=-l$ac_lib
17668 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17670 if ac_fn_c_try_link "$LINENO"; then :
17671 ac_cv_search_gethostbyname=$ac_res
17673 rm -f core conftest.err conftest.$ac_objext \
17674 conftest$ac_exeext
17675 if ${ac_cv_search_gethostbyname+:} false; then :
17676 break
17678 done
17679 if ${ac_cv_search_gethostbyname+:} false; then :
17681 else
17682 ac_cv_search_gethostbyname=no
17684 rm conftest.$ac_ext
17685 LIBS=$ac_func_search_save_LIBS
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17688 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17689 ac_res=$ac_cv_search_gethostbyname
17690 if test "$ac_res" != no; then :
17691 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17697 $as_echo_n "checking for library containing connect... " >&6; }
17698 if ${ac_cv_search_connect+:} false; then :
17699 $as_echo_n "(cached) " >&6
17700 else
17701 ac_func_search_save_LIBS=$LIBS
17702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17703 /* end confdefs.h. */
17705 /* Override any GCC internal prototype to avoid an error.
17706 Use char because int might match the return type of a GCC
17707 builtin and then its argument prototype would still apply. */
17708 #ifdef __cplusplus
17709 extern "C"
17710 #endif
17711 char connect ();
17713 main ()
17715 return connect ();
17717 return 0;
17719 _ACEOF
17720 for ac_lib in '' socket; do
17721 if test -z "$ac_lib"; then
17722 ac_res="none required"
17723 else
17724 ac_res=-l$ac_lib
17725 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17727 if ac_fn_c_try_link "$LINENO"; then :
17728 ac_cv_search_connect=$ac_res
17730 rm -f core conftest.err conftest.$ac_objext \
17731 conftest$ac_exeext
17732 if ${ac_cv_search_connect+:} false; then :
17733 break
17735 done
17736 if ${ac_cv_search_connect+:} false; then :
17738 else
17739 ac_cv_search_connect=no
17741 rm conftest.$ac_ext
17742 LIBS=$ac_func_search_save_LIBS
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17745 $as_echo "$ac_cv_search_connect" >&6; }
17746 ac_res=$ac_cv_search_connect
17747 if test "$ac_res" != no; then :
17748 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17754 $as_echo_n "checking for library containing inet_aton... " >&6; }
17755 if ${ac_cv_search_inet_aton+:} false; then :
17756 $as_echo_n "(cached) " >&6
17757 else
17758 ac_func_search_save_LIBS=$LIBS
17759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17762 /* Override any GCC internal prototype to avoid an error.
17763 Use char because int might match the return type of a GCC
17764 builtin and then its argument prototype would still apply. */
17765 #ifdef __cplusplus
17766 extern "C"
17767 #endif
17768 char inet_aton ();
17770 main ()
17772 return inet_aton ();
17774 return 0;
17776 _ACEOF
17777 for ac_lib in '' resolv; do
17778 if test -z "$ac_lib"; then
17779 ac_res="none required"
17780 else
17781 ac_res=-l$ac_lib
17782 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17784 if ac_fn_c_try_link "$LINENO"; then :
17785 ac_cv_search_inet_aton=$ac_res
17787 rm -f core conftest.err conftest.$ac_objext \
17788 conftest$ac_exeext
17789 if ${ac_cv_search_inet_aton+:} false; then :
17790 break
17792 done
17793 if ${ac_cv_search_inet_aton+:} false; then :
17795 else
17796 ac_cv_search_inet_aton=no
17798 rm conftest.$ac_ext
17799 LIBS=$ac_func_search_save_LIBS
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17802 $as_echo "$ac_cv_search_inet_aton" >&6; }
17803 ac_res=$ac_cv_search_inet_aton
17804 if test "$ac_res" != no; then :
17805 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17810 for ac_func in \
17811 getaddrinfo \
17812 getnameinfo \
17813 getnetbyname \
17814 getprotobyname \
17815 getprotobynumber \
17816 getservbyport \
17817 inet_addr \
17818 inet_network \
17819 inet_ntop \
17820 inet_pton \
17822 do :
17823 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17824 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17825 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17826 cat >>confdefs.h <<_ACEOF
17827 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17828 _ACEOF
17831 done
17834 ac_save_LIBS=$LIBS
17835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17836 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17837 if ${ac_cv_search_clock_gettime+:} false; then :
17838 $as_echo_n "(cached) " >&6
17839 else
17840 ac_func_search_save_LIBS=$LIBS
17841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17842 /* end confdefs.h. */
17844 /* Override any GCC internal prototype to avoid an error.
17845 Use char because int might match the return type of a GCC
17846 builtin and then its argument prototype would still apply. */
17847 #ifdef __cplusplus
17848 extern "C"
17849 #endif
17850 char clock_gettime ();
17852 main ()
17854 return clock_gettime ();
17856 return 0;
17858 _ACEOF
17859 for ac_lib in '' rt; do
17860 if test -z "$ac_lib"; then
17861 ac_res="none required"
17862 else
17863 ac_res=-l$ac_lib
17864 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17866 if ac_fn_c_try_link "$LINENO"; then :
17867 ac_cv_search_clock_gettime=$ac_res
17869 rm -f core conftest.err conftest.$ac_objext \
17870 conftest$ac_exeext
17871 if ${ac_cv_search_clock_gettime+:} false; then :
17872 break
17874 done
17875 if ${ac_cv_search_clock_gettime+:} false; then :
17877 else
17878 ac_cv_search_clock_gettime=no
17880 rm conftest.$ac_ext
17881 LIBS=$ac_func_search_save_LIBS
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17884 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17885 ac_res=$ac_cv_search_clock_gettime
17886 if test "$ac_res" != no; then :
17887 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17889 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17891 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17895 LIBS=$ac_save_LIBS
17897 if test "x$with_ldap" != "xno"
17898 then
17899 if ${LDAP_CFLAGS:+false} :; then :
17900 if ${PKG_CONFIG+:} false; then :
17901 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17905 if ${LDAP_LIBS:+false} :; then :
17906 if ${PKG_CONFIG+:} false; then :
17907 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17911 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17912 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17913 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17914 ac_save_CPPFLAGS=$CPPFLAGS
17915 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17916 for ac_header in ldap.h lber.h
17917 do :
17918 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17919 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17920 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17921 cat >>confdefs.h <<_ACEOF
17922 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17923 _ACEOF
17927 done
17929 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17930 then
17931 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17933 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17935 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17936 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17937 $as_echo_n "(cached) " >&6
17938 else
17939 ac_check_lib_save_LIBS=$LIBS
17940 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17942 /* end confdefs.h. */
17944 /* Override any GCC internal prototype to avoid an error.
17945 Use char because int might match the return type of a GCC
17946 builtin and then its argument prototype would still apply. */
17947 #ifdef __cplusplus
17948 extern "C"
17949 #endif
17950 char ldap_initialize ();
17952 main ()
17954 return ldap_initialize ();
17956 return 0;
17958 _ACEOF
17959 if ac_fn_c_try_link "$LINENO"; then :
17960 ac_cv_lib_ldap_r_ldap_initialize=yes
17961 else
17962 ac_cv_lib_ldap_r_ldap_initialize=no
17964 rm -f core conftest.err conftest.$ac_objext \
17965 conftest$ac_exeext conftest.$ac_ext
17966 LIBS=$ac_check_lib_save_LIBS
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17969 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17970 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17972 $as_echo_n "checking for ber_init in -llber... " >&6; }
17973 if ${ac_cv_lib_lber_ber_init+:} false; then :
17974 $as_echo_n "(cached) " >&6
17975 else
17976 ac_check_lib_save_LIBS=$LIBS
17977 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17979 /* end confdefs.h. */
17981 /* Override any GCC internal prototype to avoid an error.
17982 Use char because int might match the return type of a GCC
17983 builtin and then its argument prototype would still apply. */
17984 #ifdef __cplusplus
17985 extern "C"
17986 #endif
17987 char ber_init ();
17989 main ()
17991 return ber_init ();
17993 return 0;
17995 _ACEOF
17996 if ac_fn_c_try_link "$LINENO"; then :
17997 ac_cv_lib_lber_ber_init=yes
17998 else
17999 ac_cv_lib_lber_ber_init=no
18001 rm -f core conftest.err conftest.$ac_objext \
18002 conftest$ac_exeext conftest.$ac_ext
18003 LIBS=$ac_check_lib_save_LIBS
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18006 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18007 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18009 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18011 else
18012 LDAP_LIBS=""
18015 else
18016 LDAP_LIBS=""
18019 else
18020 LDAP_LIBS=""
18023 ac_wine_check_funcs_save_LIBS="$LIBS"
18024 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18025 for ac_func in \
18026 ldap_count_references \
18027 ldap_first_reference \
18028 ldap_next_reference \
18029 ldap_parse_reference \
18030 ldap_parse_sort_control \
18031 ldap_parse_sortresponse_control \
18032 ldap_parse_vlv_control \
18033 ldap_parse_vlvresponse_control
18034 do :
18035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18036 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18037 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18038 cat >>confdefs.h <<_ACEOF
18039 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18040 _ACEOF
18043 done
18045 LIBS="$ac_wine_check_funcs_save_LIBS"
18046 else
18047 LDAP_LIBS=""
18049 CPPFLAGS=$ac_save_CPPFLAGS
18050 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18051 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18054 if test "x$LDAP_LIBS" = "x"; then :
18055 case "x$with_ldap" in
18056 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18057 xno) ;;
18058 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18059 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18060 esac
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18065 $as_echo_n "checking for sched_setaffinity... " >&6; }
18066 if ${wine_cv_have_sched_setaffinity+:} false; then :
18067 $as_echo_n "(cached) " >&6
18068 else
18069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18070 /* end confdefs.h. */
18071 #define _GNU_SOURCE
18072 #include <sched.h>
18074 main ()
18076 sched_setaffinity(0, 0, 0);
18078 return 0;
18080 _ACEOF
18081 if ac_fn_c_try_link "$LINENO"; then :
18082 wine_cv_have_sched_setaffinity=yes
18083 else
18084 wine_cv_have_sched_setaffinity=no
18086 rm -f core conftest.err conftest.$ac_objext \
18087 conftest$ac_exeext conftest.$ac_ext
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18090 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18091 if test "$wine_cv_have_sched_setaffinity" = "yes"
18092 then
18094 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18099 $as_echo_n "checking for fallocate... " >&6; }
18100 if ${wine_cv_have_fallocate+:} false; then :
18101 $as_echo_n "(cached) " >&6
18102 else
18103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18104 /* end confdefs.h. */
18105 #define _GNU_SOURCE
18106 #include <fcntl.h>
18108 main ()
18110 fallocate(-1, 0, 0, 0);
18112 return 0;
18114 _ACEOF
18115 if ac_fn_c_try_link "$LINENO"; then :
18116 wine_cv_have_fallocate=yes
18117 else
18118 wine_cv_have_fallocate=no
18120 rm -f core conftest.err conftest.$ac_objext \
18121 conftest$ac_exeext conftest.$ac_ext
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18124 $as_echo "$wine_cv_have_fallocate" >&6; }
18125 if test "$wine_cv_have_fallocate" = "yes"
18126 then
18128 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18134 $as_echo_n "checking for inline... " >&6; }
18135 if ${ac_cv_c_inline+:} false; then :
18136 $as_echo_n "(cached) " >&6
18137 else
18138 ac_cv_c_inline=no
18139 for ac_kw in inline __inline__ __inline; do
18140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18141 /* end confdefs.h. */
18142 #ifndef __cplusplus
18143 typedef int foo_t;
18144 static $ac_kw foo_t static_foo () {return 0; }
18145 $ac_kw foo_t foo () {return 0; }
18146 #endif
18148 _ACEOF
18149 if ac_fn_c_try_compile "$LINENO"; then :
18150 ac_cv_c_inline=$ac_kw
18152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18153 test "$ac_cv_c_inline" != no && break
18154 done
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18158 $as_echo "$ac_cv_c_inline" >&6; }
18160 case $ac_cv_c_inline in
18161 inline | yes) ;;
18163 case $ac_cv_c_inline in
18164 no) ac_val=;;
18165 *) ac_val=$ac_cv_c_inline;;
18166 esac
18167 cat >>confdefs.h <<_ACEOF
18168 #ifndef __cplusplus
18169 #define inline $ac_val
18170 #endif
18171 _ACEOF
18173 esac
18175 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18176 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18178 cat >>confdefs.h <<_ACEOF
18179 #define HAVE_FSBLKCNT_T 1
18180 _ACEOF
18184 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18185 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18187 cat >>confdefs.h <<_ACEOF
18188 #define HAVE_FSFILCNT_T 1
18189 _ACEOF
18194 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18195 #include <signal.h>
18197 if test "x$ac_cv_type_sigset_t" = xyes; then :
18199 cat >>confdefs.h <<_ACEOF
18200 #define HAVE_SIGSET_T 1
18201 _ACEOF
18206 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18208 if test "x$ac_cv_type_request_sense" = xyes; then :
18210 cat >>confdefs.h <<_ACEOF
18211 #define HAVE_REQUEST_SENSE 1
18212 _ACEOF
18218 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18219 #ifdef HAVE_SYS_SOCKET_H
18220 #include <sys/socket.h>
18221 #endif
18222 #ifdef HAVE_SYS_SOCKETVAR_H
18223 #include <sys/socketvar.h>
18224 #endif
18225 #ifdef HAVE_NET_ROUTE_H
18226 #include <net/route.h>
18227 #endif
18228 #ifdef HAVE_NETINET_IN_H
18229 #include <netinet/in.h>
18230 #endif
18231 #ifdef HAVE_NETINET_IN_SYSTM_H
18232 #include <netinet/in_systm.h>
18233 #endif
18234 #ifdef HAVE_NETINET_IP_H
18235 #include <netinet/ip.h>
18236 #endif
18237 #ifdef HAVE_NETINET_IN_PCB_H
18238 #include <netinet/in_pcb.h>
18239 #endif
18241 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18243 cat >>confdefs.h <<_ACEOF
18244 #define HAVE_STRUCT_XINPGEN 1
18245 _ACEOF
18251 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18252 #include <link.h>
18253 #endif
18254 #ifdef HAVE_SYS_LINK_H
18255 #include <sys/link.h>
18256 #endif
18258 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18260 cat >>confdefs.h <<_ACEOF
18261 #define HAVE_STRUCT_R_DEBUG 1
18262 _ACEOF
18266 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18267 #include <link.h>
18268 #endif
18269 #ifdef HAVE_SYS_LINK_H
18270 #include <sys/link.h>
18271 #endif
18273 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18275 cat >>confdefs.h <<_ACEOF
18276 #define HAVE_STRUCT_LINK_MAP 1
18277 _ACEOF
18283 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18284 #include <linux/input.h>
18285 #endif
18287 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18289 cat >>confdefs.h <<_ACEOF
18290 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18291 _ACEOF
18297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18298 $as_echo_n "checking for if_nameindex... " >&6; }
18299 if ${wine_cv_have_if_nameindex+:} false; then :
18300 $as_echo_n "(cached) " >&6
18301 else
18302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18303 /* end confdefs.h. */
18304 #ifdef HAVE_SYS_TYPES_H
18305 #include <sys/types.h>
18306 #endif
18307 #ifdef HAVE_SYS_SOCKET_H
18308 #include <sys/socket.h>
18309 #endif
18310 #ifdef HAVE_NET_IF_H
18311 # include <net/if.h>
18312 #endif
18314 main ()
18316 struct if_nameindex *p = if_nameindex(); return p->if_index;
18318 return 0;
18320 _ACEOF
18321 if ac_fn_c_try_link "$LINENO"; then :
18322 wine_cv_have_if_nameindex=yes
18323 else
18324 wine_cv_have_if_nameindex=no
18326 rm -f core conftest.err conftest.$ac_objext \
18327 conftest$ac_exeext conftest.$ac_ext
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18330 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18331 if test "$wine_cv_have_if_nameindex" = "yes"
18332 then
18334 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18339 $as_echo_n "checking for sigaddset... " >&6; }
18340 if ${wine_cv_have_sigaddset+:} false; then :
18341 $as_echo_n "(cached) " >&6
18342 else
18343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18344 /* end confdefs.h. */
18345 #include <signal.h>
18347 main ()
18349 sigset_t set; sigaddset(&set,SIGTERM);
18351 return 0;
18353 _ACEOF
18354 if ac_fn_c_try_link "$LINENO"; then :
18355 wine_cv_have_sigaddset=yes
18356 else
18357 wine_cv_have_sigaddset=no
18359 rm -f core conftest.err conftest.$ac_objext \
18360 conftest$ac_exeext conftest.$ac_ext
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18363 $as_echo "$wine_cv_have_sigaddset" >&6; }
18364 if test "$wine_cv_have_sigaddset" = "yes"
18365 then
18367 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18373 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18374 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18375 $as_echo_n "(cached) " >&6
18376 else
18377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18378 /* end confdefs.h. */
18379 #include <netdb.h>
18381 main ()
18384 char *name=0;
18385 struct hostent he;
18386 struct hostent *result;
18387 char *buf=0;
18388 int bufsize=0;
18389 int errnr;
18390 char *addr=0;
18391 int addrlen=0;
18392 int addrtype=0;
18393 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18394 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18397 return 0;
18399 _ACEOF
18400 if ac_fn_c_try_link "$LINENO"; then :
18401 wine_cv_linux_gethostbyname_r_6=yes
18402 else
18403 wine_cv_linux_gethostbyname_r_6=no
18406 rm -f core conftest.err conftest.$ac_objext \
18407 conftest$ac_exeext conftest.$ac_ext
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18411 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18412 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18413 then
18415 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18419 if test "$ac_cv_header_linux_joystick_h" = "yes"
18420 then
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18422 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18423 if ${wine_cv_linux_joystick_22_api+:} false; then :
18424 $as_echo_n "(cached) " >&6
18425 else
18426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18427 /* end confdefs.h. */
18429 #include <sys/ioctl.h>
18430 #include <sys/types.h>
18431 #include <linux/joystick.h>
18433 struct js_event blub;
18434 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18435 #error "no 2.2 header"
18436 #endif
18439 main ()
18441 /*empty*/
18443 return 0;
18445 _ACEOF
18446 if ac_fn_c_try_compile "$LINENO"; then :
18447 wine_cv_linux_joystick_22_api=yes
18448 else
18449 wine_cv_linux_joystick_22_api=no
18451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18455 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18456 if test "$wine_cv_linux_joystick_22_api" = "yes"
18457 then
18459 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18465 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18466 #ifdef HAVE_SYS_PARAM_H
18467 # include <sys/param.h>
18468 #endif
18469 #ifdef HAVE_SYS_MOUNT_H
18470 # include <sys/mount.h>
18471 #endif
18472 #ifdef HAVE_SYS_VFS_H
18473 # include <sys/vfs.h>
18474 #endif
18475 #ifdef HAVE_SYS_STATFS_H
18476 # include <sys/statfs.h>
18477 #endif
18479 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18481 cat >>confdefs.h <<_ACEOF
18482 #define HAVE_STRUCT_STATFS_F_BFREE 1
18483 _ACEOF
18487 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18488 #ifdef HAVE_SYS_PARAM_H
18489 # include <sys/param.h>
18490 #endif
18491 #ifdef HAVE_SYS_MOUNT_H
18492 # include <sys/mount.h>
18493 #endif
18494 #ifdef HAVE_SYS_VFS_H
18495 # include <sys/vfs.h>
18496 #endif
18497 #ifdef HAVE_SYS_STATFS_H
18498 # include <sys/statfs.h>
18499 #endif
18501 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18503 cat >>confdefs.h <<_ACEOF
18504 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18505 _ACEOF
18509 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18510 #ifdef HAVE_SYS_PARAM_H
18511 # include <sys/param.h>
18512 #endif
18513 #ifdef HAVE_SYS_MOUNT_H
18514 # include <sys/mount.h>
18515 #endif
18516 #ifdef HAVE_SYS_VFS_H
18517 # include <sys/vfs.h>
18518 #endif
18519 #ifdef HAVE_SYS_STATFS_H
18520 # include <sys/statfs.h>
18521 #endif
18523 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18525 cat >>confdefs.h <<_ACEOF
18526 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18527 _ACEOF
18531 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18532 #ifdef HAVE_SYS_PARAM_H
18533 # include <sys/param.h>
18534 #endif
18535 #ifdef HAVE_SYS_MOUNT_H
18536 # include <sys/mount.h>
18537 #endif
18538 #ifdef HAVE_SYS_VFS_H
18539 # include <sys/vfs.h>
18540 #endif
18541 #ifdef HAVE_SYS_STATFS_H
18542 # include <sys/statfs.h>
18543 #endif
18545 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18547 cat >>confdefs.h <<_ACEOF
18548 #define HAVE_STRUCT_STATFS_F_FFREE 1
18549 _ACEOF
18553 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18554 #ifdef HAVE_SYS_PARAM_H
18555 # include <sys/param.h>
18556 #endif
18557 #ifdef HAVE_SYS_MOUNT_H
18558 # include <sys/mount.h>
18559 #endif
18560 #ifdef HAVE_SYS_VFS_H
18561 # include <sys/vfs.h>
18562 #endif
18563 #ifdef HAVE_SYS_STATFS_H
18564 # include <sys/statfs.h>
18565 #endif
18567 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18569 cat >>confdefs.h <<_ACEOF
18570 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18571 _ACEOF
18575 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18576 #ifdef HAVE_SYS_PARAM_H
18577 # include <sys/param.h>
18578 #endif
18579 #ifdef HAVE_SYS_MOUNT_H
18580 # include <sys/mount.h>
18581 #endif
18582 #ifdef HAVE_SYS_VFS_H
18583 # include <sys/vfs.h>
18584 #endif
18585 #ifdef HAVE_SYS_STATFS_H
18586 # include <sys/statfs.h>
18587 #endif
18589 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18591 cat >>confdefs.h <<_ACEOF
18592 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18593 _ACEOF
18599 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18600 #include <sys/statvfs.h>
18601 #endif
18603 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18605 cat >>confdefs.h <<_ACEOF
18606 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18607 _ACEOF
18613 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18614 #include <dirent.h>
18615 #endif
18617 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18619 cat >>confdefs.h <<_ACEOF
18620 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18621 _ACEOF
18627 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18628 #ifdef HAVE_SYS_SOCKET_H
18629 # include <sys/socket.h>
18630 #endif
18631 #ifdef HAVE_SYS_UN_H
18632 # include <sys/un.h>
18633 #endif
18635 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18637 cat >>confdefs.h <<_ACEOF
18638 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18639 _ACEOF
18643 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18644 #ifdef HAVE_SYS_SOCKET_H
18645 # include <sys/socket.h>
18646 #endif
18647 #ifdef HAVE_SYS_UN_H
18648 # include <sys/un.h>
18649 #endif
18651 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18653 cat >>confdefs.h <<_ACEOF
18654 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18655 _ACEOF
18659 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18660 #ifdef HAVE_SYS_SOCKET_H
18661 # include <sys/socket.h>
18662 #endif
18663 #ifdef HAVE_SYS_UN_H
18664 # include <sys/un.h>
18665 #endif
18667 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18669 cat >>confdefs.h <<_ACEOF
18670 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18671 _ACEOF
18677 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18678 #ifdef HAVE_SCSI_SG_H
18679 #include <scsi/sg.h>
18680 #endif
18682 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18684 cat >>confdefs.h <<_ACEOF
18685 #define HAVE_SCSIREQ_T_CMD 1
18686 _ACEOF
18690 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>
18691 #ifdef HAVE_SCSI_SG_H
18692 #include <scsi/sg.h>
18693 #endif
18695 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18697 cat >>confdefs.h <<_ACEOF
18698 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18699 _ACEOF
18705 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18707 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18709 cat >>confdefs.h <<_ACEOF
18710 #define HAVE_SIGINFO_T_SI_FD 1
18711 _ACEOF
18717 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18718 #ifdef HAVE_SYS_MTIO_H
18719 #include <sys/mtio.h>
18720 #endif
18722 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18724 cat >>confdefs.h <<_ACEOF
18725 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18726 _ACEOF
18730 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18731 #ifdef HAVE_SYS_MTIO_H
18732 #include <sys/mtio.h>
18733 #endif
18735 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18737 cat >>confdefs.h <<_ACEOF
18738 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18739 _ACEOF
18743 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18744 #ifdef HAVE_SYS_MTIO_H
18745 #include <sys/mtio.h>
18746 #endif
18748 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18750 cat >>confdefs.h <<_ACEOF
18751 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18752 _ACEOF
18758 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18759 #include <getopt.h>
18760 #endif
18762 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18764 cat >>confdefs.h <<_ACEOF
18765 #define HAVE_STRUCT_OPTION_NAME 1
18766 _ACEOF
18772 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18773 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18775 cat >>confdefs.h <<_ACEOF
18776 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18777 _ACEOF
18781 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18782 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18784 cat >>confdefs.h <<_ACEOF
18785 #define HAVE_STRUCT_STAT_ST_MTIM 1
18786 _ACEOF
18790 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18791 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18793 cat >>confdefs.h <<_ACEOF
18794 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18795 _ACEOF
18799 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18800 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18802 cat >>confdefs.h <<_ACEOF
18803 #define HAVE_STRUCT_STAT_ST_CTIM 1
18804 _ACEOF
18808 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18809 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18811 cat >>confdefs.h <<_ACEOF
18812 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18813 _ACEOF
18817 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18818 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18820 cat >>confdefs.h <<_ACEOF
18821 #define HAVE_STRUCT_STAT_ST_ATIM 1
18822 _ACEOF
18826 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18827 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18829 cat >>confdefs.h <<_ACEOF
18830 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18831 _ACEOF
18835 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18836 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18838 cat >>confdefs.h <<_ACEOF
18839 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18840 _ACEOF
18844 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18845 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18847 cat >>confdefs.h <<_ACEOF
18848 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18849 _ACEOF
18853 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18854 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18856 cat >>confdefs.h <<_ACEOF
18857 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18858 _ACEOF
18862 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18863 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18865 cat >>confdefs.h <<_ACEOF
18866 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18867 _ACEOF
18871 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18872 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18874 cat >>confdefs.h <<_ACEOF
18875 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18876 _ACEOF
18882 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
18883 #include <sys/types.h>
18884 #endif
18885 #ifdef HAVE_NETINET_IN_H
18886 #include <netinet/in.h>
18887 #endif
18889 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18891 cat >>confdefs.h <<_ACEOF
18892 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18893 _ACEOF
18899 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18900 #include <sys/types.h>
18901 #endif
18902 #ifdef HAVE_NETINET_IN_H
18903 #include <netinet/in.h>
18904 #endif
18905 #ifdef HAVE_RESOLV_H
18906 #include <resolv.h>
18907 #endif
18909 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18911 cat >>confdefs.h <<_ACEOF
18912 #define HAVE_STRUCT___RES_STATE 1
18913 _ACEOF
18919 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
18920 #include <resolv.h>
18921 #endif
18923 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18925 cat >>confdefs.h <<_ACEOF
18926 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18927 _ACEOF
18933 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18934 #include <sys/types.h>
18935 #endif
18936 #ifdef HAVE_NETINET_IN_H
18937 # include <netinet/in.h>
18938 #endif
18939 #ifdef HAVE_ARPA_NAMESER_H
18940 # include <arpa/nameser.h>
18941 #endif
18943 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18945 cat >>confdefs.h <<_ACEOF
18946 #define HAVE_NS_MSG__MSG_PTR 1
18947 _ACEOF
18953 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18954 #include <sys/types.h>
18955 #endif
18956 #ifdef HAVE_NETINET_IN_H
18957 #include <netinet/in.h>
18958 #endif
18959 #ifdef HAVE_NETINET_IP_H
18960 #include <netinet/ip.h>
18961 #endif
18962 #ifdef HAVE_NETINET_IP_ICMP_H
18963 #include <netinet/ip_icmp.h>
18964 #endif
18965 #ifdef HAVE_NETINET_ICMP_VAR_H
18966 #include <netinet/icmp_var.h>
18967 #endif
18969 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18971 cat >>confdefs.h <<_ACEOF
18972 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18973 _ACEOF
18979 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18980 #include <sys/types.h>
18981 #endif
18982 #ifdef HAVE_ALIAS_H
18983 #include <alias.h>
18984 #endif
18985 #ifdef HAVE_SYS_SOCKET_H
18986 #include <sys/socket.h>
18987 #endif
18988 #ifdef HAVE_SYS_SOCKETVAR_H
18989 #include <sys/socketvar.h>
18990 #endif
18991 #ifdef HAVE_SYS_TIMEOUT_H
18992 #include <sys/timeout.h>
18993 #endif
18994 #ifdef HAVE_NETINET_IN_H
18995 #include <netinet/in.h>
18996 #endif
18997 #ifdef HAVE_NETINET_IN_SYSTM_H
18998 #include <netinet/in_systm.h>
18999 #endif
19000 #ifdef HAVE_NETINET_IP_H
19001 #include <netinet/ip.h>
19002 #endif
19003 #ifdef HAVE_NETINET_IP_VAR_H
19004 #include <netinet/ip_var.h>
19005 #endif
19006 #ifdef HAVE_NETINET_IP_ICMP_H
19007 #include <netinet/ip_icmp.h>
19008 #endif
19009 #ifdef HAVE_NETINET_ICMP_VAR_H
19010 #include <netinet/icmp_var.h>
19011 #endif
19013 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19015 cat >>confdefs.h <<_ACEOF
19016 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19017 _ACEOF
19023 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19024 #include <sys/types.h>
19025 #endif
19026 #ifdef HAVE_SYS_SOCKETVAR_H
19027 #include <sys/socketvar.h>
19028 #endif
19029 #ifdef HAVE_NETINET_IN_H
19030 #include <netinet/in.h>
19031 #endif
19032 #ifdef HAVE_NETINET_IP_VAR_H
19033 #include <netinet/ip_var.h>
19034 #endif
19036 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19038 cat >>confdefs.h <<_ACEOF
19039 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19040 _ACEOF
19046 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
19047 #include <netinet/ip_var.h>
19048 #endif
19050 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19052 cat >>confdefs.h <<_ACEOF
19053 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19054 _ACEOF
19060 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19061 #include <sys/types.h>
19062 #endif
19063 #ifdef HAVE_SYS_SOCKETVAR_H
19064 #include <sys/socketvar.h>
19065 #endif
19066 #ifdef HAVE_NETINET_IN_H
19067 #include <netinet/in.h>
19068 #endif
19069 #ifdef HAVE_NETINET_TCP_H
19070 #include <netinet/tcp.h>
19071 #endif
19072 #ifdef HAVE_NETINET_TCP_VAR_H
19073 #include <netinet/tcp_var.h>
19074 #endif
19076 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19078 cat >>confdefs.h <<_ACEOF
19079 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19080 _ACEOF
19086 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
19087 #include <netinet/tcp_var.h>
19088 #endif
19090 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19092 cat >>confdefs.h <<_ACEOF
19093 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19094 _ACEOF
19100 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19101 #include <sys/types.h>
19102 #endif
19103 #ifdef HAVE_NETINET_IN_H
19104 #include <netinet/in.h>
19105 #endif
19106 #ifdef HAVE_NETINET_IP_VAR_H
19107 #include <netinet/ip_var.h>
19108 #endif
19109 #ifdef HAVE_NETINET_UDP_H
19110 #include <netinet/udp.h>
19111 #endif
19112 #ifdef HAVE_NETINET_UDP_VAR_H
19113 #include <netinet/udp_var.h>
19114 #endif
19116 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19118 cat >>confdefs.h <<_ACEOF
19119 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19120 _ACEOF
19126 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19127 #include <sys/types.h>
19128 #endif
19129 #ifdef HAVE_NET_IF_H
19130 # include <net/if.h>
19131 #endif
19133 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19135 cat >>confdefs.h <<_ACEOF
19136 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19137 _ACEOF
19143 ac_save_LIBS="$LIBS"
19144 LIBS="$LIBS -lm"
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19146 $as_echo_n "checking for isfinite... " >&6; }
19147 if ${ac_cv_have_isfinite+:} false; then :
19148 $as_echo_n "(cached) " >&6
19149 else
19150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19151 /* end confdefs.h. */
19152 #define _GNU_SOURCE
19153 #include <math.h>
19155 main ()
19157 float f = 0.0; return isfinite(f)
19159 return 0;
19161 _ACEOF
19162 if ac_fn_c_try_link "$LINENO"; then :
19163 ac_cv_have_isfinite="yes"
19164 else
19165 ac_cv_have_isfinite="no"
19167 rm -f core conftest.err conftest.$ac_objext \
19168 conftest$ac_exeext conftest.$ac_ext
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19171 $as_echo "$ac_cv_have_isfinite" >&6; }
19172 if test "$ac_cv_have_isfinite" = "yes"
19173 then
19175 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19180 $as_echo_n "checking for isinf... " >&6; }
19181 if ${ac_cv_have_isinf+:} false; then :
19182 $as_echo_n "(cached) " >&6
19183 else
19184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19185 /* end confdefs.h. */
19186 #include <math.h>
19188 main ()
19190 float f = 0.0; return isinf(f)
19192 return 0;
19194 _ACEOF
19195 if ac_fn_c_try_link "$LINENO"; then :
19196 ac_cv_have_isinf="yes"
19197 else
19198 ac_cv_have_isinf="no"
19200 rm -f core conftest.err conftest.$ac_objext \
19201 conftest$ac_exeext conftest.$ac_ext
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19204 $as_echo "$ac_cv_have_isinf" >&6; }
19205 if test "$ac_cv_have_isinf" = "yes"
19206 then
19208 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19213 $as_echo_n "checking for isnan... " >&6; }
19214 if ${ac_cv_have_isnan+:} false; then :
19215 $as_echo_n "(cached) " >&6
19216 else
19217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19218 /* end confdefs.h. */
19219 #include <math.h>
19221 main ()
19223 float f = 0.0; return isnan(f)
19225 return 0;
19227 _ACEOF
19228 if ac_fn_c_try_link "$LINENO"; then :
19229 ac_cv_have_isnan="yes"
19230 else
19231 ac_cv_have_isnan="no"
19233 rm -f core conftest.err conftest.$ac_objext \
19234 conftest$ac_exeext conftest.$ac_ext
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19237 $as_echo "$ac_cv_have_isnan" >&6; }
19238 if test "$ac_cv_have_isnan" = "yes"
19239 then
19241 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19245 for ac_func in \
19246 acosh \
19247 acoshf \
19248 asinh \
19249 asinhf \
19250 atanh \
19251 atanhf \
19252 cbrt \
19253 cbrtf \
19254 erf \
19255 erfc \
19256 erfcf \
19257 erff \
19258 exp2 \
19259 exp2f \
19260 expm1 \
19261 expm1f \
19262 ilogb \
19263 ilogbf \
19264 j0 \
19265 j1 \
19266 jn \
19267 lgamma \
19268 lgammaf \
19269 llrint \
19270 llrintf \
19271 llround \
19272 llroundf \
19273 log1p \
19274 log1pf \
19275 log2 \
19276 log2f \
19277 lrint \
19278 lrintf \
19279 lround \
19280 lroundf \
19281 nearbyint \
19282 nearbyintf \
19283 nexttoward \
19284 nexttowardf \
19285 powl \
19286 remainder \
19287 remainderf \
19288 remquo \
19289 remquof \
19290 rint \
19291 rintf \
19292 round \
19293 roundf \
19294 trunc \
19295 truncf \
19296 y0 \
19297 y1 \
19300 do :
19301 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19302 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19303 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19304 cat >>confdefs.h <<_ACEOF
19305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19306 _ACEOF
19309 done
19311 LIBS="$ac_save_LIBS"
19313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
19314 $as_echo_n "checking for __builtin_clz... " >&6; }
19315 if ${ac_cv_have___builtin_clz+:} false; then :
19316 $as_echo_n "(cached) " >&6
19317 else
19318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19319 /* end confdefs.h. */
19322 main ()
19324 return __builtin_clz(1)
19326 return 0;
19328 _ACEOF
19329 if ac_fn_c_try_link "$LINENO"; then :
19330 ac_cv_have___builtin_clz="yes"
19331 else
19332 ac_cv_have___builtin_clz="no"
19334 rm -f core conftest.err conftest.$ac_objext \
19335 conftest$ac_exeext conftest.$ac_ext
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
19338 $as_echo "$ac_cv_have___builtin_clz" >&6; }
19339 if test "$ac_cv_have___builtin_clz" = "yes"
19340 then
19342 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19347 $as_echo_n "checking for __builtin_popcount... " >&6; }
19348 if ${ac_cv_have___builtin_popcount+:} false; then :
19349 $as_echo_n "(cached) " >&6
19350 else
19351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19352 /* end confdefs.h. */
19355 main ()
19357 return __builtin_popcount(1)
19359 return 0;
19361 _ACEOF
19362 if ac_fn_c_try_link "$LINENO"; then :
19363 ac_cv_have___builtin_popcount="yes"
19364 else
19365 ac_cv_have___builtin_popcount="no"
19367 rm -f core conftest.err conftest.$ac_objext \
19368 conftest$ac_exeext conftest.$ac_ext
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19371 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19372 if test "$ac_cv_have___builtin_popcount" = "yes"
19373 then
19375 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19380 $as_echo_n "checking for __clear_cache... " >&6; }
19381 if ${ac_cv_have___clear_cache+:} false; then :
19382 $as_echo_n "(cached) " >&6
19383 else
19384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19385 /* end confdefs.h. */
19388 main ()
19390 __clear_cache((void*)0, (void*)0); return 0;
19392 return 0;
19394 _ACEOF
19395 if ac_fn_c_try_link "$LINENO"; then :
19396 ac_cv_have___clear_cache="yes"
19397 else
19398 ac_cv_have___clear_cache="no"
19400 rm -f core conftest.err conftest.$ac_objext \
19401 conftest$ac_exeext conftest.$ac_ext
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19404 $as_echo "$ac_cv_have___clear_cache" >&6; }
19405 if test "$ac_cv_have___clear_cache" = "yes"
19406 then
19408 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19413 case $host_cpu in
19414 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19415 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19416 if ${ac_cv_cpp_def___i386__+:} false; then :
19417 $as_echo_n "(cached) " >&6
19418 else
19419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19420 /* end confdefs.h. */
19421 #ifndef __i386__
19423 #endif
19424 _ACEOF
19425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19426 $EGREP "yes" >/dev/null 2>&1; then :
19427 ac_cv_cpp_def___i386__=yes
19428 else
19429 ac_cv_cpp_def___i386__=no
19431 rm -f conftest*
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19435 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19436 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19437 CFLAGS="$CFLAGS -D__i386__"
19438 LINTFLAGS="$LINTFLAGS -D__i386__"
19439 fi ;;
19440 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19441 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19442 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19443 $as_echo_n "(cached) " >&6
19444 else
19445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19446 /* end confdefs.h. */
19447 #ifndef __x86_64__
19449 #endif
19450 _ACEOF
19451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19452 $EGREP "yes" >/dev/null 2>&1; then :
19453 ac_cv_cpp_def___x86_64__=yes
19454 else
19455 ac_cv_cpp_def___x86_64__=no
19457 rm -f conftest*
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19461 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19462 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19463 CFLAGS="$CFLAGS -D__x86_64__"
19464 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19465 fi ;;
19466 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19467 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19468 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19469 $as_echo_n "(cached) " >&6
19470 else
19471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19472 /* end confdefs.h. */
19473 #ifndef __sparc64__
19475 #endif
19476 _ACEOF
19477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19478 $EGREP "yes" >/dev/null 2>&1; then :
19479 ac_cv_cpp_def___sparc64__=yes
19480 else
19481 ac_cv_cpp_def___sparc64__=no
19483 rm -f conftest*
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19487 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19488 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19489 CFLAGS="$CFLAGS -D__sparc64__"
19490 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19491 fi ;;
19492 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19493 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19494 if ${ac_cv_cpp_def___sparc__+:} false; then :
19495 $as_echo_n "(cached) " >&6
19496 else
19497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19498 /* end confdefs.h. */
19499 #ifndef __sparc__
19501 #endif
19502 _ACEOF
19503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19504 $EGREP "yes" >/dev/null 2>&1; then :
19505 ac_cv_cpp_def___sparc__=yes
19506 else
19507 ac_cv_cpp_def___sparc__=no
19509 rm -f conftest*
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19513 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19514 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19515 CFLAGS="$CFLAGS -D__sparc__"
19516 LINTFLAGS="$LINTFLAGS -D__sparc__"
19517 fi ;;
19518 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19519 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19520 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19521 $as_echo_n "(cached) " >&6
19522 else
19523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19524 /* end confdefs.h. */
19525 #ifndef __powerpc64__
19527 #endif
19528 _ACEOF
19529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19530 $EGREP "yes" >/dev/null 2>&1; then :
19531 ac_cv_cpp_def___powerpc64__=yes
19532 else
19533 ac_cv_cpp_def___powerpc64__=no
19535 rm -f conftest*
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19539 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19540 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19541 CFLAGS="$CFLAGS -D__powerpc64__"
19542 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19543 fi ;;
19544 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19545 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19546 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19547 $as_echo_n "(cached) " >&6
19548 else
19549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19550 /* end confdefs.h. */
19551 #ifndef __powerpc__
19553 #endif
19554 _ACEOF
19555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19556 $EGREP "yes" >/dev/null 2>&1; then :
19557 ac_cv_cpp_def___powerpc__=yes
19558 else
19559 ac_cv_cpp_def___powerpc__=no
19561 rm -f conftest*
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19565 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19566 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19567 CFLAGS="$CFLAGS -D__powerpc__"
19568 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19569 fi ;;
19570 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19571 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19572 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19573 $as_echo_n "(cached) " >&6
19574 else
19575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19576 /* end confdefs.h. */
19577 #ifndef __aarch64__
19579 #endif
19580 _ACEOF
19581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19582 $EGREP "yes" >/dev/null 2>&1; then :
19583 ac_cv_cpp_def___aarch64__=yes
19584 else
19585 ac_cv_cpp_def___aarch64__=no
19587 rm -f conftest*
19590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19591 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19592 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19593 CFLAGS="$CFLAGS -D__aarch64__"
19594 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19595 fi ;;
19596 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19597 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19598 if ${ac_cv_cpp_def___arm__+:} false; then :
19599 $as_echo_n "(cached) " >&6
19600 else
19601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19602 /* end confdefs.h. */
19603 #ifndef __arm__
19605 #endif
19606 _ACEOF
19607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19608 $EGREP "yes" >/dev/null 2>&1; then :
19609 ac_cv_cpp_def___arm__=yes
19610 else
19611 ac_cv_cpp_def___arm__=no
19613 rm -f conftest*
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19617 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19618 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19619 CFLAGS="$CFLAGS -D__arm__"
19620 LINTFLAGS="$LINTFLAGS -D__arm__"
19621 fi ;;
19622 esac
19624 case $host_vendor in
19625 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19626 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19627 if ${ac_cv_cpp_def___sun__+:} false; then :
19628 $as_echo_n "(cached) " >&6
19629 else
19630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19631 /* end confdefs.h. */
19632 #ifndef __sun__
19634 #endif
19635 _ACEOF
19636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19637 $EGREP "yes" >/dev/null 2>&1; then :
19638 ac_cv_cpp_def___sun__=yes
19639 else
19640 ac_cv_cpp_def___sun__=no
19642 rm -f conftest*
19645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19646 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19647 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19648 CFLAGS="$CFLAGS -D__sun__"
19649 LINTFLAGS="$LINTFLAGS -D__sun__"
19650 fi ;;
19651 esac
19657 ac_config_commands="$ac_config_commands include/stamp-h"
19659 $as_echo_n "creating Makefile rules..." >&6
19661 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
19662 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19663 IOKIT_LIBS = $IOKIT_LIBS
19664 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19665 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19666 CORESERVICES_LIBS = $CORESERVICES_LIBS
19667 APPKIT_LIBS = $APPKIT_LIBS
19668 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19669 SECURITY_LIBS = $SECURITY_LIBS
19670 COREAUDIO_LIBS = $COREAUDIO_LIBS
19671 OPENAL_LIBS = $OPENAL_LIBS
19672 OPENCL_LIBS = $OPENCL_LIBS
19673 QUICKTIME_LIBS = $QUICKTIME_LIBS
19674 CARBON_LIBS = $CARBON_LIBS
19675 METAL_LIBS = $METAL_LIBS
19676 PTHREAD_LIBS = $PTHREAD_LIBS
19677 X_CFLAGS = $X_CFLAGS
19678 X_PRE_LIBS = $X_PRE_LIBS
19679 X_LIBS = $X_LIBS
19680 X_EXTRA_LIBS = $X_EXTRA_LIBS
19681 PCAP_LIBS = $PCAP_LIBS
19682 XML2_CFLAGS = $XML2_CFLAGS
19683 XML2_LIBS = $XML2_LIBS
19684 XSLT_CFLAGS = $XSLT_CFLAGS
19685 XSLT_LIBS = $XSLT_LIBS
19686 DBUS_CFLAGS = $DBUS_CFLAGS
19687 DBUS_LIBS = $DBUS_LIBS
19688 HAL_CFLAGS = $HAL_CFLAGS
19689 HAL_LIBS = $HAL_LIBS
19690 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19691 GNUTLS_LIBS = $GNUTLS_LIBS
19692 SANE_CFLAGS = $SANE_CFLAGS
19693 SANE_LIBS = $SANE_LIBS
19694 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19695 GPHOTO2_LIBS = $GPHOTO2_LIBS
19696 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19697 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19698 RESOLV_LIBS = $RESOLV_LIBS
19699 LCMS2_CFLAGS = $LCMS2_CFLAGS
19700 LCMS2_LIBS = $LCMS2_LIBS
19701 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19702 FREETYPE_LIBS = $FREETYPE_LIBS
19703 Z_LIBS = $Z_LIBS
19704 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19705 PULSE_CFLAGS = $PULSE_CFLAGS
19706 PULSE_LIBS = $PULSE_LIBS
19707 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19708 GSTREAMER_LIBS = $GSTREAMER_LIBS
19709 ALSA_LIBS = $ALSA_LIBS
19710 OSS4_CFLAGS = $OSS4_CFLAGS
19711 UDEV_CFLAGS = $UDEV_CFLAGS
19712 UDEV_LIBS = $UDEV_LIBS
19713 SDL2_CFLAGS = $SDL2_CFLAGS
19714 SDL2_LIBS = $SDL2_LIBS
19715 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19716 FAUDIO_LIBS = $FAUDIO_LIBS
19717 CAPI20_CFLAGS = $CAPI20_CFLAGS
19718 CAPI20_LIBS = $CAPI20_LIBS
19719 CUPS_CFLAGS = $CUPS_CFLAGS
19720 CUPS_LIBS = $CUPS_LIBS
19721 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19722 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19723 KRB5_CFLAGS = $KRB5_CFLAGS
19724 KRB5_LIBS = $KRB5_LIBS
19725 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19726 GSSAPI_LIBS = $GSSAPI_LIBS
19727 JPEG_CFLAGS = $JPEG_CFLAGS
19728 JPEG_LIBS = $JPEG_LIBS
19729 PNG_CFLAGS = $PNG_CFLAGS
19730 PNG_LIBS = $PNG_LIBS
19731 TIFF_CFLAGS = $TIFF_CFLAGS
19732 TIFF_LIBS = $TIFF_LIBS
19733 MPG123_CFLAGS = $MPG123_CFLAGS
19734 MPG123_LIBS = $MPG123_LIBS
19735 KSTAT_LIBS = $KSTAT_LIBS
19736 PROCSTAT_LIBS = $PROCSTAT_LIBS
19737 NETAPI_CFLAGS = $NETAPI_CFLAGS
19738 NETAPI_LIBS = $NETAPI_LIBS
19739 VKD3D_CFLAGS = $VKD3D_CFLAGS
19740 VKD3D_LIBS = $VKD3D_LIBS
19741 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19742 DL_LIBS = $DL_LIBS
19743 POLL_LIBS = $POLL_LIBS
19744 RT_LIBS = $RT_LIBS
19745 LDAP_CFLAGS = $LDAP_CFLAGS
19746 LDAP_LIBS = $LDAP_LIBS
19751 wine_fn_append_rule "
19752 # Rules automatically generated by configure
19754 .INIT: Makefile
19755 .MAKEFILEDEPS:
19756 all: Makefile
19757 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19758 @./config.status Make.tmp Makefile
19759 depend: \$(MAKEDEP) dummy
19760 \$(MAKEDEP)"
19762 if test "x$enable_fonts" != xno; then
19763 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19764 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19765 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19766 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19767 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19768 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19770 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19771 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19772 ac_config_links="$ac_config_links wine:tools/winewrapper"
19773 wine_fn_config_symlink wine
19774 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19775 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19776 wine_fn_config_symlink wine64
19779 wine_fn_config_makefile dlls/acledit enable_acledit
19780 wine_fn_config_makefile dlls/aclui enable_aclui
19781 wine_fn_config_makefile dlls/activeds enable_activeds
19782 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19783 wine_fn_config_makefile dlls/adsiid enable_adsiid
19784 wine_fn_config_makefile dlls/adsldp enable_adsldp
19785 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19786 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19787 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19788 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19789 wine_fn_config_makefile dlls/advpack enable_advpack
19790 wine_fn_config_makefile dlls/advpack/tests enable_tests
19791 wine_fn_config_makefile dlls/amsi enable_amsi
19792 wine_fn_config_makefile dlls/amstream enable_amstream
19793 wine_fn_config_makefile dlls/amstream/tests enable_tests
19794 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19795 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19796 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19797 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19798 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19799 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19800 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19801 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19802 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19803 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19804 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19805 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19806 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19807 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19808 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19809 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19810 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19811 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19812 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19813 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19814 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19815 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19816 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19817 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19818 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19819 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19820 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19821 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19822 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19823 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19824 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19825 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19826 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19827 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19828 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19829 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19830 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19831 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19832 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19833 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19834 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19835 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19836 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19837 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19838 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19839 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19840 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19841 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19842 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19843 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19844 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19845 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19846 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19847 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19848 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19849 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19850 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19851 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19852 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19853 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19854 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19855 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19856 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19857 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19858 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19859 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19860 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19861 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19862 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19863 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19864 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19865 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19866 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19867 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19868 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19869 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19870 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19871 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19872 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19873 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19874 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19875 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19876 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19877 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19878 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19879 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19880 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19881 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19882 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19883 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19884 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19885 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19886 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19887 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19888 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19889 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19890 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19891 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19892 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19893 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19894 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19895 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19896 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19897 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19898 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19899 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19900 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19901 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19902 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19903 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19904 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19905 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19906 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19907 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19908 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19909 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19910 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19911 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19912 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19913 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19914 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19915 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19916 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19917 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19918 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19919 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19920 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19921 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19922 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19923 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19924 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19925 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19926 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19927 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19928 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19929 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19930 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19931 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19932 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19933 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19934 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19935 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19936 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19937 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19938 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19939 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19940 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19941 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19942 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19943 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19944 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19945 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19946 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19947 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19948 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19949 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19950 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19951 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19952 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19953 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19954 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19955 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19956 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19957 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19958 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19959 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19960 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19961 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19962 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19963 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19964 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19965 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19966 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19967 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19968 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19969 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19970 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19972 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19973 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19974 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19975 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19976 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19978 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19979 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19980 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19981 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19982 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19984 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19985 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19986 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19988 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19990 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19992 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19998 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20001 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20003 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20005 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20009 wine_fn_config_makefile dlls/apphelp enable_apphelp
20010 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20011 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20012 wine_fn_config_makefile dlls/atl enable_atl
20013 wine_fn_config_makefile dlls/atl/tests enable_tests
20014 wine_fn_config_makefile dlls/atl100 enable_atl100
20015 wine_fn_config_makefile dlls/atl100/tests enable_tests
20016 wine_fn_config_makefile dlls/atl110 enable_atl110
20017 wine_fn_config_makefile dlls/atl80 enable_atl80
20018 wine_fn_config_makefile dlls/atl80/tests enable_tests
20019 wine_fn_config_makefile dlls/atl90 enable_atl90
20020 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20021 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20022 wine_fn_config_makefile dlls/atmlib enable_atmlib
20023 wine_fn_config_makefile dlls/authz enable_authz
20024 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20025 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20026 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20027 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20028 wine_fn_config_makefile dlls/avrt enable_avrt
20029 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20030 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20031 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20032 wine_fn_config_makefile dlls/browseui enable_browseui
20033 wine_fn_config_makefile dlls/browseui/tests enable_tests
20034 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20035 wine_fn_config_makefile dlls/cabinet enable_cabinet
20036 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20037 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20038 wine_fn_config_makefile dlls/cards enable_cards
20039 wine_fn_config_makefile dlls/cdosys enable_cdosys
20040 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20041 wine_fn_config_makefile dlls/clusapi enable_clusapi
20042 wine_fn_config_makefile dlls/combase enable_combase
20043 wine_fn_config_makefile dlls/combase/tests enable_tests
20044 wine_fn_config_makefile dlls/comcat enable_comcat
20045 wine_fn_config_makefile dlls/comcat/tests enable_tests
20046 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20047 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20048 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20049 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20050 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20051 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20052 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20053 wine_fn_config_makefile dlls/compstui enable_compstui
20054 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20055 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20056 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20057 wine_fn_config_makefile dlls/connect enable_connect
20058 wine_fn_config_makefile dlls/credui enable_credui
20059 wine_fn_config_makefile dlls/credui/tests enable_tests
20060 wine_fn_config_makefile dlls/crtdll enable_crtdll
20061 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20062 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20063 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20064 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20065 wine_fn_config_makefile dlls/cryptext enable_cryptext
20066 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20067 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20068 wine_fn_config_makefile dlls/cryptui enable_cryptui
20069 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20070 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20071 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20072 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20073 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20074 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20075 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20076 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20077 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20078 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20079 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20080 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20081 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20082 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20083 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20084 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20085 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20086 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20087 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20088 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20089 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20090 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20091 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20092 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20093 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20094 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20095 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20096 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20097 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20098 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20099 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20100 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20101 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20102 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20103 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20104 wine_fn_config_makefile dlls/d3dim enable_d3dim
20105 wine_fn_config_makefile dlls/d3drm enable_d3drm
20106 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20107 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20108 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20109 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20110 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20111 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20112 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20113 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20114 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20115 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20116 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20117 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20118 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20119 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20120 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20121 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20122 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20123 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20124 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20125 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20126 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20127 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20128 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20129 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20130 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20131 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20132 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20133 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20134 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20135 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20136 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20137 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20138 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20139 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20140 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20141 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20142 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20143 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20144 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20145 wine_fn_config_makefile dlls/davclnt enable_davclnt
20146 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20147 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20148 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20149 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20150 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20151 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20152 wine_fn_config_makefile dlls/ddraw enable_ddraw
20153 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20154 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20155 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20156 wine_fn_config_makefile dlls/devenum enable_devenum
20157 wine_fn_config_makefile dlls/devenum/tests enable_tests
20158 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20159 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20160 wine_fn_config_makefile dlls/difxapi enable_difxapi
20161 wine_fn_config_makefile dlls/dinput enable_dinput
20162 wine_fn_config_makefile dlls/dinput/tests enable_tests
20163 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20164 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20165 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20166 wine_fn_config_makefile dlls/dispex enable_dispex
20167 wine_fn_config_makefile dlls/dispex/tests enable_tests
20168 wine_fn_config_makefile dlls/display.drv16 enable_win16
20169 wine_fn_config_makefile dlls/dmband enable_dmband
20170 wine_fn_config_makefile dlls/dmband/tests enable_tests
20171 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20172 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20173 wine_fn_config_makefile dlls/dmime enable_dmime
20174 wine_fn_config_makefile dlls/dmime/tests enable_tests
20175 wine_fn_config_makefile dlls/dmloader enable_dmloader
20176 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20177 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20178 wine_fn_config_makefile dlls/dmscript enable_dmscript
20179 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20180 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20181 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20182 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20183 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20184 wine_fn_config_makefile dlls/dmusic enable_dmusic
20185 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20186 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20187 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20188 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20189 wine_fn_config_makefile dlls/dplay enable_dplay
20190 wine_fn_config_makefile dlls/dplayx enable_dplayx
20191 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20192 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20193 wine_fn_config_makefile dlls/dpnet enable_dpnet
20194 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20195 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20196 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20197 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20198 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20199 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20200 wine_fn_config_makefile dlls/drmclien enable_drmclien
20201 wine_fn_config_makefile dlls/dsound enable_dsound
20202 wine_fn_config_makefile dlls/dsound/tests enable_tests
20203 wine_fn_config_makefile dlls/dsquery enable_dsquery
20204 wine_fn_config_makefile dlls/dssenh enable_dssenh
20205 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20206 wine_fn_config_makefile dlls/dswave enable_dswave
20207 wine_fn_config_makefile dlls/dswave/tests enable_tests
20208 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20209 wine_fn_config_makefile dlls/dwrite enable_dwrite
20210 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20211 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20212 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20213 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20214 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20215 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20216 wine_fn_config_makefile dlls/dxgi enable_dxgi
20217 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20218 wine_fn_config_makefile dlls/dxguid enable_dxguid
20219 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20220 wine_fn_config_makefile dlls/esent enable_esent
20221 wine_fn_config_makefile dlls/evr enable_evr
20222 wine_fn_config_makefile dlls/evr/tests enable_tests
20223 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20224 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20225 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20226 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20227 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20228 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20229 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20230 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20231 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20232 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20233 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20234 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20235 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20236 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20237 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20238 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20239 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20240 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20241 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20242 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20243 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20244 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20245 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20246 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20247 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20248 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20249 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20250 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20251 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20252 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20253 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20254 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20255 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20256 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20257 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20258 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20259 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20260 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20261 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20262 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20263 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20264 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20265 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
20266 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20267 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20268 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20269 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20270 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20271 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20272 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20273 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20274 wine_fn_config_makefile dlls/faultrep enable_faultrep
20275 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20276 wine_fn_config_makefile dlls/feclient enable_feclient
20277 wine_fn_config_makefile dlls/fltlib enable_fltlib
20278 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20279 wine_fn_config_makefile dlls/fntcache enable_fntcache
20280 wine_fn_config_makefile dlls/fontsub enable_fontsub
20281 wine_fn_config_makefile dlls/fusion enable_fusion
20282 wine_fn_config_makefile dlls/fusion/tests enable_tests
20283 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20284 wine_fn_config_makefile dlls/gameux enable_gameux
20285 wine_fn_config_makefile dlls/gameux/tests enable_tests
20286 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20287 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20288 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20289 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20290 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20291 wine_fn_config_makefile dlls/glu32 enable_glu32
20292 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20293 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20294 wine_fn_config_makefile dlls/hal enable_hal
20295 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20296 wine_fn_config_makefile dlls/hid enable_hid
20297 wine_fn_config_makefile dlls/hid/tests enable_tests
20298 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20299 wine_fn_config_makefile dlls/hlink enable_hlink
20300 wine_fn_config_makefile dlls/hlink/tests enable_tests
20301 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20302 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20303 wine_fn_config_makefile dlls/httpapi enable_httpapi
20304 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20305 wine_fn_config_makefile dlls/iccvid enable_iccvid
20306 wine_fn_config_makefile dlls/icmp enable_icmp
20307 wine_fn_config_makefile dlls/ieframe enable_ieframe
20308 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20309 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20310 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20311 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20312 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20313 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20314 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20315 wine_fn_config_makefile dlls/imm32 enable_imm32
20316 wine_fn_config_makefile dlls/imm32/tests enable_tests
20317 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20318 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20319 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20320 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20321 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20322 wine_fn_config_makefile dlls/infosoft enable_infosoft
20323 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20324 wine_fn_config_makefile dlls/initpki enable_initpki
20325 wine_fn_config_makefile dlls/inkobj enable_inkobj
20326 wine_fn_config_makefile dlls/inseng enable_inseng
20327 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20328 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20329 wine_fn_config_makefile dlls/iprop enable_iprop
20330 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20331 wine_fn_config_makefile dlls/itircl enable_itircl
20332 wine_fn_config_makefile dlls/itss enable_itss
20333 wine_fn_config_makefile dlls/itss/tests enable_tests
20334 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20335 wine_fn_config_makefile dlls/jscript enable_jscript
20336 wine_fn_config_makefile dlls/jscript/tests enable_tests
20337 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20338 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20339 wine_fn_config_makefile dlls/kerberos enable_kerberos
20340 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20341 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20342 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20343 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20344 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20345 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20346 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20347 wine_fn_config_makefile dlls/ksuser enable_ksuser
20348 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20349 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20350 wine_fn_config_makefile dlls/loadperf enable_loadperf
20351 wine_fn_config_makefile dlls/localspl enable_localspl
20352 wine_fn_config_makefile dlls/localspl/tests enable_tests
20353 wine_fn_config_makefile dlls/localui enable_localui
20354 wine_fn_config_makefile dlls/localui/tests enable_tests
20355 wine_fn_config_makefile dlls/lz32 enable_lz32
20356 wine_fn_config_makefile dlls/lz32/tests enable_tests
20357 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20358 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20359 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20360 wine_fn_config_makefile dlls/mapistub enable_mapistub
20361 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20362 wine_fn_config_makefile dlls/mcicda enable_mcicda
20363 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20364 wine_fn_config_makefile dlls/mciseq enable_mciseq
20365 wine_fn_config_makefile dlls/mciwave enable_mciwave
20366 wine_fn_config_makefile dlls/mf enable_mf
20367 wine_fn_config_makefile dlls/mf/tests enable_tests
20368 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20369 wine_fn_config_makefile dlls/mferror enable_mferror
20370 wine_fn_config_makefile dlls/mfplat enable_mfplat
20371 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20372 wine_fn_config_makefile dlls/mfplay enable_mfplay
20373 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20374 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20375 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20376 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20377 wine_fn_config_makefile dlls/midimap enable_midimap
20378 wine_fn_config_makefile dlls/mlang enable_mlang
20379 wine_fn_config_makefile dlls/mlang/tests enable_tests
20380 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20381 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20382 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20383 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20384 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20385 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20386 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20387 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20388 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20389 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20390 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20391 wine_fn_config_makefile dlls/mpr enable_mpr
20392 wine_fn_config_makefile dlls/mpr/tests enable_tests
20393 wine_fn_config_makefile dlls/mprapi enable_mprapi
20394 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20395 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20396 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20397 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20398 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20399 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20400 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20401 wine_fn_config_makefile dlls/mscms enable_mscms
20402 wine_fn_config_makefile dlls/mscms/tests enable_tests
20403 wine_fn_config_makefile dlls/mscoree enable_mscoree
20404 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20405 wine_fn_config_makefile dlls/msctf enable_msctf
20406 wine_fn_config_makefile dlls/msctf/tests enable_tests
20407 wine_fn_config_makefile dlls/msctfp enable_msctfp
20408 wine_fn_config_makefile dlls/msdaps enable_msdaps
20409 wine_fn_config_makefile dlls/msdelta enable_msdelta
20410 wine_fn_config_makefile dlls/msdmo enable_msdmo
20411 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20412 wine_fn_config_makefile dlls/msdrm enable_msdrm
20413 wine_fn_config_makefile dlls/msftedit enable_msftedit
20414 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20415 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20416 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20417 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20418 wine_fn_config_makefile dlls/mshtml enable_mshtml
20419 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20420 wine_fn_config_makefile dlls/msi enable_msi
20421 wine_fn_config_makefile dlls/msi/tests enable_tests
20422 wine_fn_config_makefile dlls/msident enable_msident
20423 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20424 wine_fn_config_makefile dlls/msimsg enable_msimsg
20425 wine_fn_config_makefile dlls/msimtf enable_msimtf
20426 wine_fn_config_makefile dlls/msisip enable_msisip
20427 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20428 wine_fn_config_makefile dlls/msls31 enable_msls31
20429 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20430 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20431 wine_fn_config_makefile dlls/msports enable_msports
20432 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20433 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20434 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20435 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20436 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20437 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20438 wine_fn_config_makefile dlls/mstask enable_mstask
20439 wine_fn_config_makefile dlls/mstask/tests enable_tests
20440 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20441 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20442 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20443 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20444 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20445 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20446 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20447 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20448 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20449 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20450 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20451 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20452 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20453 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20454 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20455 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20456 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20457 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20458 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20459 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20460 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20461 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20462 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20463 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20464 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20465 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20466 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20467 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20468 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20469 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20470 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20471 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20472 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20473 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20474 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20475 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20476 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20477 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20478 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20479 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20480 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20481 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20482 wine_fn_config_makefile dlls/mswsock enable_mswsock
20483 wine_fn_config_makefile dlls/msxml enable_msxml
20484 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20485 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20486 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20487 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20488 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20489 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20490 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20491 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20492 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20493 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20494 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20495 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20496 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20497 wine_fn_config_makefile dlls/netprofm enable_netprofm
20498 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20499 wine_fn_config_makefile dlls/newdev enable_newdev
20500 wine_fn_config_makefile dlls/ninput enable_ninput
20501 wine_fn_config_makefile dlls/ninput/tests enable_tests
20502 wine_fn_config_makefile dlls/normaliz enable_normaliz
20503 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20504 wine_fn_config_makefile dlls/npptools enable_npptools
20505 wine_fn_config_makefile dlls/ntdll enable_ntdll
20506 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20507 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20508 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20509 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20510 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20511 wine_fn_config_makefile dlls/ntprint enable_ntprint
20512 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20513 wine_fn_config_makefile dlls/objsel enable_objsel
20514 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20515 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20516 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20517 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20518 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20519 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20520 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20521 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20522 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20523 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20524 wine_fn_config_makefile dlls/ole32 enable_ole32
20525 wine_fn_config_makefile dlls/ole32/tests enable_tests
20526 wine_fn_config_makefile dlls/oleacc enable_oleacc
20527 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20528 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20529 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20530 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20531 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20532 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20533 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20534 wine_fn_config_makefile dlls/oledlg enable_oledlg
20535 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20536 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20537 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20538 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20539 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20540 wine_fn_config_makefile dlls/opcservices enable_opcservices
20541 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20542 wine_fn_config_makefile dlls/openal32 enable_openal32
20543 wine_fn_config_makefile dlls/opencl enable_opencl
20544 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20545 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20546 wine_fn_config_makefile dlls/packager enable_packager
20547 wine_fn_config_makefile dlls/packager/tests enable_tests
20548 wine_fn_config_makefile dlls/pdh enable_pdh
20549 wine_fn_config_makefile dlls/pdh/tests enable_tests
20550 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20551 wine_fn_config_makefile dlls/pidgen enable_pidgen
20552 wine_fn_config_makefile dlls/powrprof enable_powrprof
20553 wine_fn_config_makefile dlls/printui enable_printui
20554 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20555 wine_fn_config_makefile dlls/propsys enable_propsys
20556 wine_fn_config_makefile dlls/propsys/tests enable_tests
20557 wine_fn_config_makefile dlls/psapi enable_psapi
20558 wine_fn_config_makefile dlls/psapi/tests enable_tests
20559 wine_fn_config_makefile dlls/pstorec enable_pstorec
20560 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20561 wine_fn_config_makefile dlls/qcap enable_qcap
20562 wine_fn_config_makefile dlls/qcap/tests enable_tests
20563 wine_fn_config_makefile dlls/qedit enable_qedit
20564 wine_fn_config_makefile dlls/qedit/tests enable_tests
20565 wine_fn_config_makefile dlls/qmgr enable_qmgr
20566 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20567 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20568 wine_fn_config_makefile dlls/quartz enable_quartz
20569 wine_fn_config_makefile dlls/quartz/tests enable_tests
20570 wine_fn_config_makefile dlls/query enable_query
20571 wine_fn_config_makefile dlls/qwave enable_qwave
20572 wine_fn_config_makefile dlls/qwave/tests enable_tests
20573 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20574 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20575 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20576 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20577 wine_fn_config_makefile dlls/regapi enable_regapi
20578 wine_fn_config_makefile dlls/resutils enable_resutils
20579 wine_fn_config_makefile dlls/riched20 enable_riched20
20580 wine_fn_config_makefile dlls/riched20/tests enable_tests
20581 wine_fn_config_makefile dlls/riched32 enable_riched32
20582 wine_fn_config_makefile dlls/riched32/tests enable_tests
20583 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20584 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20585 wine_fn_config_makefile dlls/rsabase enable_rsabase
20586 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20587 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20588 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20589 wine_fn_config_makefile dlls/rtutils enable_rtutils
20590 wine_fn_config_makefile dlls/samlib enable_samlib
20591 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20592 wine_fn_config_makefile dlls/sapi enable_sapi
20593 wine_fn_config_makefile dlls/sapi/tests enable_tests
20594 wine_fn_config_makefile dlls/sas enable_sas
20595 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20596 wine_fn_config_makefile dlls/sccbase enable_sccbase
20597 wine_fn_config_makefile dlls/schannel enable_schannel
20598 wine_fn_config_makefile dlls/schannel/tests enable_tests
20599 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20600 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20601 wine_fn_config_makefile dlls/scrobj enable_scrobj
20602 wine_fn_config_makefile dlls/scrrun enable_scrrun
20603 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20604 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20605 wine_fn_config_makefile dlls/secur32 enable_secur32
20606 wine_fn_config_makefile dlls/secur32/tests enable_tests
20607 wine_fn_config_makefile dlls/security enable_security
20608 wine_fn_config_makefile dlls/sensapi enable_sensapi
20609 wine_fn_config_makefile dlls/serialui enable_serialui
20610 wine_fn_config_makefile dlls/serialui/tests enable_tests
20611 wine_fn_config_makefile dlls/setupapi enable_setupapi
20612 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20613 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20614 wine_fn_config_makefile dlls/sfc enable_sfc
20615 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20616 wine_fn_config_makefile dlls/shcore enable_shcore
20617 wine_fn_config_makefile dlls/shcore/tests enable_tests
20618 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20619 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20620 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20621 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20622 wine_fn_config_makefile dlls/shell32 enable_shell32
20623 wine_fn_config_makefile dlls/shell32/tests enable_tests
20624 wine_fn_config_makefile dlls/shfolder enable_shfolder
20625 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20626 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20627 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20628 wine_fn_config_makefile dlls/slc enable_slc
20629 wine_fn_config_makefile dlls/slc/tests enable_tests
20630 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20631 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20632 wine_fn_config_makefile dlls/softpub enable_softpub
20633 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20634 wine_fn_config_makefile dlls/spoolss enable_spoolss
20635 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20636 wine_fn_config_makefile dlls/srclient enable_srclient
20637 wine_fn_config_makefile dlls/sspicli enable_sspicli
20638 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20639 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20640 wine_fn_config_makefile dlls/sti enable_sti
20641 wine_fn_config_makefile dlls/sti/tests enable_tests
20642 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20643 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20644 wine_fn_config_makefile dlls/strmbase enable_strmbase
20645 wine_fn_config_makefile dlls/strmdll enable_strmdll
20646 wine_fn_config_makefile dlls/strmiids enable_strmiids
20647 wine_fn_config_makefile dlls/svrapi enable_svrapi
20648 wine_fn_config_makefile dlls/sxs enable_sxs
20649 wine_fn_config_makefile dlls/sxs/tests enable_tests
20650 wine_fn_config_makefile dlls/system.drv16 enable_win16
20651 wine_fn_config_makefile dlls/t2embed enable_t2embed
20652 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20653 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20654 wine_fn_config_makefile dlls/taskschd enable_taskschd
20655 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20656 wine_fn_config_makefile dlls/tdh enable_tdh
20657 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20658 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20659 wine_fn_config_makefile dlls/traffic enable_traffic
20660 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20661 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20662 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20663 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20664 wine_fn_config_makefile dlls/tzres enable_tzres
20665 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20666 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20667 wine_fn_config_makefile dlls/uianimation enable_uianimation
20668 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20669 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20670 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20671 wine_fn_config_makefile dlls/unicows enable_unicows
20672 wine_fn_config_makefile dlls/updspapi enable_updspapi
20673 wine_fn_config_makefile dlls/url enable_url
20674 wine_fn_config_makefile dlls/urlmon enable_urlmon
20675 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20676 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20677 wine_fn_config_makefile dlls/user.exe16 enable_win16
20678 wine_fn_config_makefile dlls/user32 enable_user32
20679 wine_fn_config_makefile dlls/user32/tests enable_tests
20680 wine_fn_config_makefile dlls/userenv enable_userenv
20681 wine_fn_config_makefile dlls/userenv/tests enable_tests
20682 wine_fn_config_makefile dlls/usp10 enable_usp10
20683 wine_fn_config_makefile dlls/usp10/tests enable_tests
20684 wine_fn_config_makefile dlls/uuid enable_uuid
20685 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20686 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20687 wine_fn_config_makefile dlls/vbscript enable_vbscript
20688 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20689 wine_fn_config_makefile dlls/vcomp enable_vcomp
20690 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20691 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20692 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20693 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20694 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20695 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20696 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20697 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20698 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20699 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20700 wine_fn_config_makefile dlls/version enable_version
20701 wine_fn_config_makefile dlls/version/tests enable_tests
20702 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20703 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20704 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20705 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20706 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20707 wine_fn_config_makefile dlls/vssapi enable_vssapi
20708 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20709 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20710 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20711 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20712 wine_fn_config_makefile dlls/w32skrnl enable_win16
20713 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20714 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20715 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20716 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20717 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20718 wine_fn_config_makefile dlls/wdscore enable_wdscore
20719 wine_fn_config_makefile dlls/webservices enable_webservices
20720 wine_fn_config_makefile dlls/webservices/tests enable_tests
20721 wine_fn_config_makefile dlls/wer enable_wer
20722 wine_fn_config_makefile dlls/wer/tests enable_tests
20723 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20724 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20725 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20726 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20727 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20728 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20729 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20730 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20731 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20732 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20733 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20734 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20735 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20736 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20737 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20738 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20739 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20740 wine_fn_config_makefile dlls/wined3d enable_wined3d
20741 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20742 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20743 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20744 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20745 wine_fn_config_makefile dlls/winemapi enable_winemapi
20746 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20747 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20748 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20749 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20750 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20751 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20752 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20753 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20754 wine_fn_config_makefile dlls/wing32 enable_wing32
20755 wine_fn_config_makefile dlls/winhttp enable_winhttp
20756 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20757 wine_fn_config_makefile dlls/wininet enable_wininet
20758 wine_fn_config_makefile dlls/wininet/tests enable_tests
20759 wine_fn_config_makefile dlls/winmm enable_winmm
20760 wine_fn_config_makefile dlls/winmm/tests enable_tests
20761 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20762 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20763 wine_fn_config_makefile dlls/winscard enable_winscard
20764 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20765 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20766 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20767 wine_fn_config_makefile dlls/winsta enable_winsta
20768 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20769 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20770 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20771 wine_fn_config_makefile dlls/wintrust enable_wintrust
20772 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20773 wine_fn_config_makefile dlls/winusb enable_winusb
20774 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20775 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20776 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20777 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20778 wine_fn_config_makefile dlls/wmasf enable_wmasf
20779 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20780 wine_fn_config_makefile dlls/wmi enable_wmi
20781 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20782 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20783 wine_fn_config_makefile dlls/wmp enable_wmp
20784 wine_fn_config_makefile dlls/wmp/tests enable_tests
20785 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20786 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20787 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20788 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20789 wine_fn_config_makefile dlls/wow32 enable_win16
20790 wine_fn_config_makefile dlls/wpc enable_wpc
20791 wine_fn_config_makefile dlls/wpc/tests enable_tests
20792 wine_fn_config_makefile dlls/wpcap enable_wpcap
20793 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20794 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20795 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20796 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20797 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20798 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20799 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20800 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20801 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20802 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20803 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20804 wine_fn_config_makefile dlls/wuapi enable_wuapi
20805 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20806 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20807 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20808 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20809 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20810 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20811 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20812 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20813 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20814 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20815 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20816 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20817 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20818 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20819 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20820 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20821 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20822 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20823 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20824 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20825 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20826 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20827 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20828 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20829 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20830 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20831 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20832 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20833 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20834 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20835 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20836 wine_fn_config_makefile dlls/xmllite enable_xmllite
20837 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20838 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20839 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20840 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20841 wine_fn_config_makefile fonts enable_fonts
20842 wine_fn_config_makefile include enable_include
20843 wine_fn_config_makefile libs/port enable_port
20844 wine_fn_config_makefile libs/wine enable_wine
20845 wine_fn_config_makefile libs/wpp enable_wpp
20846 wine_fn_config_makefile loader enable_loader
20847 wine_fn_config_makefile po enable_po
20848 wine_fn_config_makefile programs/arp enable_arp
20849 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20850 wine_fn_config_makefile programs/attrib enable_attrib
20851 wine_fn_config_makefile programs/cabarc enable_cabarc
20852 wine_fn_config_makefile programs/cacls enable_cacls
20853 wine_fn_config_makefile programs/clock enable_clock
20854 wine_fn_config_makefile programs/cmd enable_cmd
20855 wine_fn_config_makefile programs/cmd/tests enable_tests
20856 wine_fn_config_makefile programs/conhost enable_conhost
20857 wine_fn_config_makefile programs/control enable_control
20858 wine_fn_config_makefile programs/cscript enable_cscript
20859 wine_fn_config_makefile programs/dism enable_dism
20860 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20861 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20862 wine_fn_config_makefile programs/eject enable_eject
20863 wine_fn_config_makefile programs/expand enable_expand
20864 wine_fn_config_makefile programs/explorer enable_explorer
20865 wine_fn_config_makefile programs/extrac32 enable_extrac32
20866 wine_fn_config_makefile programs/fc enable_fc
20867 wine_fn_config_makefile programs/find enable_find
20868 wine_fn_config_makefile programs/findstr enable_findstr
20869 wine_fn_config_makefile programs/fsutil enable_fsutil
20870 wine_fn_config_makefile programs/hh enable_hh
20871 wine_fn_config_makefile programs/hostname enable_hostname
20872 wine_fn_config_makefile programs/icacls enable_icacls
20873 wine_fn_config_makefile programs/icinfo enable_icinfo
20874 wine_fn_config_makefile programs/iexplore enable_iexplore
20875 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20876 wine_fn_config_makefile programs/lodctr enable_lodctr
20877 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20878 wine_fn_config_makefile programs/mshta enable_mshta
20879 wine_fn_config_makefile programs/msidb enable_msidb
20880 wine_fn_config_makefile programs/msiexec enable_msiexec
20881 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20882 wine_fn_config_makefile programs/net enable_net
20883 wine_fn_config_makefile programs/netsh enable_netsh
20884 wine_fn_config_makefile programs/netstat enable_netstat
20885 wine_fn_config_makefile programs/ngen enable_ngen
20886 wine_fn_config_makefile programs/notepad enable_notepad
20887 wine_fn_config_makefile programs/oleview enable_oleview
20888 wine_fn_config_makefile programs/ping enable_ping
20889 wine_fn_config_makefile programs/plugplay enable_plugplay
20890 wine_fn_config_makefile programs/powershell enable_powershell
20891 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20892 wine_fn_config_makefile programs/progman enable_progman
20893 wine_fn_config_makefile programs/reg enable_reg
20894 wine_fn_config_makefile programs/reg/tests enable_tests
20895 wine_fn_config_makefile programs/regasm enable_regasm
20896 wine_fn_config_makefile programs/regedit enable_regedit
20897 wine_fn_config_makefile programs/regedit/tests enable_tests
20898 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20899 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20900 wine_fn_config_makefile programs/rpcss enable_rpcss
20901 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20902 wine_fn_config_makefile programs/rundll32 enable_rundll32
20903 wine_fn_config_makefile programs/sc enable_sc
20904 wine_fn_config_makefile programs/schtasks enable_schtasks
20905 wine_fn_config_makefile programs/schtasks/tests enable_tests
20906 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20907 wine_fn_config_makefile programs/secedit enable_secedit
20908 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20909 wine_fn_config_makefile programs/services enable_services
20910 wine_fn_config_makefile programs/services/tests enable_tests
20911 wine_fn_config_makefile programs/shutdown enable_shutdown
20912 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20913 wine_fn_config_makefile programs/start enable_start
20914 wine_fn_config_makefile programs/subst enable_subst
20915 wine_fn_config_makefile programs/svchost enable_svchost
20916 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20917 wine_fn_config_makefile programs/taskkill enable_taskkill
20918 wine_fn_config_makefile programs/tasklist enable_tasklist
20919 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20920 wine_fn_config_makefile programs/termsv enable_termsv
20921 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20922 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20923 wine_fn_config_makefile programs/view enable_view
20924 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20925 wine_fn_config_makefile programs/wineboot enable_wineboot
20926 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20927 wine_fn_config_makefile programs/winecfg enable_winecfg
20928 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20929 wine_fn_config_makefile programs/winedbg enable_winedbg
20930 wine_fn_config_makefile programs/winedevice enable_winedevice
20931 wine_fn_config_makefile programs/winefile enable_winefile
20932 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20933 wine_fn_config_makefile programs/winemine enable_winemine
20934 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20935 wine_fn_config_makefile programs/winepath enable_winepath
20936 wine_fn_config_makefile programs/winetest enable_winetest
20937 wine_fn_config_makefile programs/winevdm enable_win16
20938 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20939 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20940 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20941 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20942 wine_fn_config_makefile programs/winver enable_winver
20943 wine_fn_config_makefile programs/wmic enable_wmic
20944 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20945 wine_fn_config_makefile programs/wordpad enable_wordpad
20946 wine_fn_config_makefile programs/write enable_write
20947 wine_fn_config_makefile programs/wscript enable_wscript
20948 wine_fn_config_makefile programs/wscript/tests enable_tests
20949 wine_fn_config_makefile programs/wusa enable_wusa
20950 wine_fn_config_makefile programs/xcopy enable_xcopy
20951 wine_fn_config_makefile programs/xcopy/tests enable_tests
20952 wine_fn_config_makefile server enable_server
20953 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20954 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20955 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20956 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20957 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20958 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20959 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20960 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20961 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20964 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20965 wine_fn_append_file CONFIGURE_TARGETS "tags"
20966 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20967 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20968 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20969 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20970 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20971 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20973 if test "x$enable_tools" != xno
20974 then
20975 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20976 ac_config_commands="$ac_config_commands tools/makedep"
20980 ac_config_commands="$ac_config_commands Makefile"
20983 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20987 if test "x$enable_maintainer_mode" = xyes
20988 then
20989 wine_fn_append_rule "configure: configure.ac aclocal.m4
20990 autoconf --warnings=all
20991 include/config.h.in: include/stamp-h.in
20992 include/stamp-h.in: configure.ac aclocal.m4
20993 autoheader --warnings=all
20994 @echo timestamp > \$@"
20997 if test "x$enable_tools" != xno
20998 then
20999 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21000 @./config.status tools/makedep
21001 Makefile: tools/makedep$ac_exeext
21002 fonts: tools/sfnt2fon
21003 include: tools tools/widl"
21004 else
21005 wine_fn_append_rule "\$(MAKEDEP):
21006 @echo \"You need to run make in $TOOLSDIR first\" && false"
21009 if test -n "$with_wine64"
21010 then
21011 case "$with_wine64" in
21012 /*) reldir="" ;;
21013 *) reldir="../" ;;
21014 esac
21015 rm -f fonts server 2>/dev/null
21016 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21017 loader/wine64 loader/wine64-preloader:
21018 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21019 $with_wine64/loader/wine:
21020 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21021 $with_wine64/loader/wine-preloader:
21022 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21023 clean::
21024 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21025 else
21026 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21027 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21028 fonts \
21029 loader/l_intl.nls \
21030 loader/wine.inf \
21031 programs/msidb/msidb \
21032 programs/msiexec/msiexec \
21033 programs/notepad/notepad \
21034 programs/regedit/regedit \
21035 programs/regsvr32/regsvr32 \
21036 programs/wineboot/wineboot \
21037 programs/winecfg/winecfg \
21038 programs/wineconsole/wineconsole \
21039 programs/winedbg/winedbg \
21040 programs/winefile/winefile \
21041 programs/winemine/winemine \
21042 programs/winepath/winepath \
21043 server/wineserver"
21045 case $host_os in
21046 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21047 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21048 esac
21051 $as_echo " done" >&6
21052 cat >confcache <<\_ACEOF
21053 # This file is a shell script that caches the results of configure
21054 # tests run on this system so they can be shared between configure
21055 # scripts and configure runs, see configure's option --config-cache.
21056 # It is not useful on other systems. If it contains results you don't
21057 # want to keep, you may remove or edit it.
21059 # config.status only pays attention to the cache file if you give it
21060 # the --recheck option to rerun configure.
21062 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21063 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21064 # following values.
21066 _ACEOF
21068 # The following way of writing the cache mishandles newlines in values,
21069 # but we know of no workaround that is simple, portable, and efficient.
21070 # So, we kill variables containing newlines.
21071 # Ultrix sh set writes to stderr and can't be redirected directly,
21072 # and sets the high bit in the cache file unless we assign to the vars.
21074 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21075 eval ac_val=\$$ac_var
21076 case $ac_val in #(
21077 *${as_nl}*)
21078 case $ac_var in #(
21079 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21080 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21081 esac
21082 case $ac_var in #(
21083 _ | IFS | as_nl) ;; #(
21084 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21085 *) { eval $ac_var=; unset $ac_var;} ;;
21086 esac ;;
21087 esac
21088 done
21090 (set) 2>&1 |
21091 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21092 *${as_nl}ac_space=\ *)
21093 # `set' does not quote correctly, so add quotes: double-quote
21094 # substitution turns \\\\ into \\, and sed turns \\ into \.
21095 sed -n \
21096 "s/'/'\\\\''/g;
21097 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21098 ;; #(
21100 # `set' quotes correctly as required by POSIX, so do not add quotes.
21101 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21103 esac |
21104 sort
21106 sed '
21107 /^ac_cv_env_/b end
21108 t clear
21109 :clear
21110 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21111 t end
21112 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21113 :end' >>confcache
21114 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21115 if test -w "$cache_file"; then
21116 if test "x$cache_file" != "x/dev/null"; then
21117 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21118 $as_echo "$as_me: updating cache $cache_file" >&6;}
21119 if test ! -f "$cache_file" || test -h "$cache_file"; then
21120 cat confcache >"$cache_file"
21121 else
21122 case $cache_file in #(
21123 */* | ?:*)
21124 mv -f confcache "$cache_file"$$ &&
21125 mv -f "$cache_file"$$ "$cache_file" ;; #(
21127 mv -f confcache "$cache_file" ;;
21128 esac
21131 else
21132 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21133 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21136 rm -f confcache
21138 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21139 # Let make expand exec_prefix.
21140 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21142 DEFS=-DHAVE_CONFIG_H
21144 ac_libobjs=
21145 ac_ltlibobjs=
21147 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21148 # 1. Remove the extension, and $U if already installed.
21149 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21150 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21151 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21152 # will be set to the directory where LIBOBJS objects are built.
21153 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21154 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21155 done
21156 LIBOBJS=$ac_libobjs
21158 LTLIBOBJS=$ac_ltlibobjs
21162 : "${CONFIG_STATUS=./config.status}"
21163 ac_write_fail=0
21164 ac_clean_files_save=$ac_clean_files
21165 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21166 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21167 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21168 as_write_fail=0
21169 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21170 #! $SHELL
21171 # Generated by $as_me.
21172 # Run this file to recreate the current configuration.
21173 # Compiler output produced by configure, useful for debugging
21174 # configure, is in config.log if it exists.
21176 debug=false
21177 ac_cs_recheck=false
21178 ac_cs_silent=false
21180 SHELL=\${CONFIG_SHELL-$SHELL}
21181 export SHELL
21182 _ASEOF
21183 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21184 ## -------------------- ##
21185 ## M4sh Initialization. ##
21186 ## -------------------- ##
21188 # Be more Bourne compatible
21189 DUALCASE=1; export DUALCASE # for MKS sh
21190 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21191 emulate sh
21192 NULLCMD=:
21193 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21194 # is contrary to our usage. Disable this feature.
21195 alias -g '${1+"$@"}'='"$@"'
21196 setopt NO_GLOB_SUBST
21197 else
21198 case `(set -o) 2>/dev/null` in #(
21199 *posix*) :
21200 set -o posix ;; #(
21201 *) :
21203 esac
21207 as_nl='
21209 export as_nl
21210 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21211 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21212 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21213 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21214 # Prefer a ksh shell builtin over an external printf program on Solaris,
21215 # but without wasting forks for bash or zsh.
21216 if test -z "$BASH_VERSION$ZSH_VERSION" \
21217 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21218 as_echo='print -r --'
21219 as_echo_n='print -rn --'
21220 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21221 as_echo='printf %s\n'
21222 as_echo_n='printf %s'
21223 else
21224 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21225 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21226 as_echo_n='/usr/ucb/echo -n'
21227 else
21228 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21229 as_echo_n_body='eval
21230 arg=$1;
21231 case $arg in #(
21232 *"$as_nl"*)
21233 expr "X$arg" : "X\\(.*\\)$as_nl";
21234 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21235 esac;
21236 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21238 export as_echo_n_body
21239 as_echo_n='sh -c $as_echo_n_body as_echo'
21241 export as_echo_body
21242 as_echo='sh -c $as_echo_body as_echo'
21245 # The user is always right.
21246 if test "${PATH_SEPARATOR+set}" != set; then
21247 PATH_SEPARATOR=:
21248 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21249 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21250 PATH_SEPARATOR=';'
21255 # IFS
21256 # We need space, tab and new line, in precisely that order. Quoting is
21257 # there to prevent editors from complaining about space-tab.
21258 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21259 # splitting by setting IFS to empty value.)
21260 IFS=" "" $as_nl"
21262 # Find who we are. Look in the path if we contain no directory separator.
21263 as_myself=
21264 case $0 in #((
21265 *[\\/]* ) as_myself=$0 ;;
21266 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21267 for as_dir in $PATH
21269 IFS=$as_save_IFS
21270 test -z "$as_dir" && as_dir=.
21271 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21272 done
21273 IFS=$as_save_IFS
21276 esac
21277 # We did not find ourselves, most probably we were run as `sh COMMAND'
21278 # in which case we are not to be found in the path.
21279 if test "x$as_myself" = x; then
21280 as_myself=$0
21282 if test ! -f "$as_myself"; then
21283 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21284 exit 1
21287 # Unset variables that we do not need and which cause bugs (e.g. in
21288 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21289 # suppresses any "Segmentation fault" message there. '((' could
21290 # trigger a bug in pdksh 5.2.14.
21291 for as_var in BASH_ENV ENV MAIL MAILPATH
21292 do eval test x\${$as_var+set} = xset \
21293 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21294 done
21295 PS1='$ '
21296 PS2='> '
21297 PS4='+ '
21299 # NLS nuisances.
21300 LC_ALL=C
21301 export LC_ALL
21302 LANGUAGE=C
21303 export LANGUAGE
21305 # CDPATH.
21306 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21309 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21310 # ----------------------------------------
21311 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21312 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21313 # script with STATUS, using 1 if that was 0.
21314 as_fn_error ()
21316 as_status=$1; test $as_status -eq 0 && as_status=1
21317 if test "$4"; then
21318 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21319 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21321 $as_echo "$as_me: error: $2" >&2
21322 as_fn_exit $as_status
21323 } # as_fn_error
21326 # as_fn_set_status STATUS
21327 # -----------------------
21328 # Set $? to STATUS, without forking.
21329 as_fn_set_status ()
21331 return $1
21332 } # as_fn_set_status
21334 # as_fn_exit STATUS
21335 # -----------------
21336 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21337 as_fn_exit ()
21339 set +e
21340 as_fn_set_status $1
21341 exit $1
21342 } # as_fn_exit
21344 # as_fn_unset VAR
21345 # ---------------
21346 # Portably unset VAR.
21347 as_fn_unset ()
21349 { eval $1=; unset $1;}
21351 as_unset=as_fn_unset
21352 # as_fn_append VAR VALUE
21353 # ----------------------
21354 # Append the text in VALUE to the end of the definition contained in VAR. Take
21355 # advantage of any shell optimizations that allow amortized linear growth over
21356 # repeated appends, instead of the typical quadratic growth present in naive
21357 # implementations.
21358 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21359 eval 'as_fn_append ()
21361 eval $1+=\$2
21363 else
21364 as_fn_append ()
21366 eval $1=\$$1\$2
21368 fi # as_fn_append
21370 # as_fn_arith ARG...
21371 # ------------------
21372 # Perform arithmetic evaluation on the ARGs, and store the result in the
21373 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21374 # must be portable across $(()) and expr.
21375 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21376 eval 'as_fn_arith ()
21378 as_val=$(( $* ))
21380 else
21381 as_fn_arith ()
21383 as_val=`expr "$@" || test $? -eq 1`
21385 fi # as_fn_arith
21388 if expr a : '\(a\)' >/dev/null 2>&1 &&
21389 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21390 as_expr=expr
21391 else
21392 as_expr=false
21395 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21396 as_basename=basename
21397 else
21398 as_basename=false
21401 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21402 as_dirname=dirname
21403 else
21404 as_dirname=false
21407 as_me=`$as_basename -- "$0" ||
21408 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21409 X"$0" : 'X\(//\)$' \| \
21410 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21411 $as_echo X/"$0" |
21412 sed '/^.*\/\([^/][^/]*\)\/*$/{
21413 s//\1/
21416 /^X\/\(\/\/\)$/{
21417 s//\1/
21420 /^X\/\(\/\).*/{
21421 s//\1/
21424 s/.*/./; q'`
21426 # Avoid depending upon Character Ranges.
21427 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21428 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21429 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21430 as_cr_digits='0123456789'
21431 as_cr_alnum=$as_cr_Letters$as_cr_digits
21433 ECHO_C= ECHO_N= ECHO_T=
21434 case `echo -n x` in #(((((
21435 -n*)
21436 case `echo 'xy\c'` in
21437 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21438 xy) ECHO_C='\c';;
21439 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21440 ECHO_T=' ';;
21441 esac;;
21443 ECHO_N='-n';;
21444 esac
21446 rm -f conf$$ conf$$.exe conf$$.file
21447 if test -d conf$$.dir; then
21448 rm -f conf$$.dir/conf$$.file
21449 else
21450 rm -f conf$$.dir
21451 mkdir conf$$.dir 2>/dev/null
21453 if (echo >conf$$.file) 2>/dev/null; then
21454 if ln -s conf$$.file conf$$ 2>/dev/null; then
21455 as_ln_s='ln -s'
21456 # ... but there are two gotchas:
21457 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21458 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21459 # In both cases, we have to default to `cp -pR'.
21460 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21461 as_ln_s='cp -pR'
21462 elif ln conf$$.file conf$$ 2>/dev/null; then
21463 as_ln_s=ln
21464 else
21465 as_ln_s='cp -pR'
21467 else
21468 as_ln_s='cp -pR'
21470 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21471 rmdir conf$$.dir 2>/dev/null
21474 # as_fn_mkdir_p
21475 # -------------
21476 # Create "$as_dir" as a directory, including parents if necessary.
21477 as_fn_mkdir_p ()
21480 case $as_dir in #(
21481 -*) as_dir=./$as_dir;;
21482 esac
21483 test -d "$as_dir" || eval $as_mkdir_p || {
21484 as_dirs=
21485 while :; do
21486 case $as_dir in #(
21487 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21488 *) as_qdir=$as_dir;;
21489 esac
21490 as_dirs="'$as_qdir' $as_dirs"
21491 as_dir=`$as_dirname -- "$as_dir" ||
21492 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21493 X"$as_dir" : 'X\(//\)[^/]' \| \
21494 X"$as_dir" : 'X\(//\)$' \| \
21495 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21496 $as_echo X"$as_dir" |
21497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21498 s//\1/
21501 /^X\(\/\/\)[^/].*/{
21502 s//\1/
21505 /^X\(\/\/\)$/{
21506 s//\1/
21509 /^X\(\/\).*/{
21510 s//\1/
21513 s/.*/./; q'`
21514 test -d "$as_dir" && break
21515 done
21516 test -z "$as_dirs" || eval "mkdir $as_dirs"
21517 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21520 } # as_fn_mkdir_p
21521 if mkdir -p . 2>/dev/null; then
21522 as_mkdir_p='mkdir -p "$as_dir"'
21523 else
21524 test -d ./-p && rmdir ./-p
21525 as_mkdir_p=false
21529 # as_fn_executable_p FILE
21530 # -----------------------
21531 # Test if FILE is an executable regular file.
21532 as_fn_executable_p ()
21534 test -f "$1" && test -x "$1"
21535 } # as_fn_executable_p
21536 as_test_x='test -x'
21537 as_executable_p=as_fn_executable_p
21539 # Sed expression to map a string onto a valid CPP name.
21540 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21542 # Sed expression to map a string onto a valid variable name.
21543 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21546 exec 6>&1
21547 ## ----------------------------------- ##
21548 ## Main body of $CONFIG_STATUS script. ##
21549 ## ----------------------------------- ##
21550 _ASEOF
21551 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21554 # Save the log message, to keep $0 and so on meaningful, and to
21555 # report actual input values of CONFIG_FILES etc. instead of their
21556 # values after options handling.
21557 ac_log="
21558 This file was extended by Wine $as_me 4.6, which was
21559 generated by GNU Autoconf 2.69. Invocation command line was
21561 CONFIG_FILES = $CONFIG_FILES
21562 CONFIG_HEADERS = $CONFIG_HEADERS
21563 CONFIG_LINKS = $CONFIG_LINKS
21564 CONFIG_COMMANDS = $CONFIG_COMMANDS
21565 $ $0 $@
21567 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21570 _ACEOF
21572 case $ac_config_files in *"
21573 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21574 esac
21576 case $ac_config_headers in *"
21577 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21578 esac
21581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21582 # Files that config.status was made for.
21583 config_files="$ac_config_files"
21584 config_headers="$ac_config_headers"
21585 config_links="$ac_config_links"
21586 config_commands="$ac_config_commands"
21588 _ACEOF
21590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21591 ac_cs_usage="\
21592 \`$as_me' instantiates files and other configuration actions
21593 from templates according to the current configuration. Unless the files
21594 and actions are specified as TAGs, all are instantiated by default.
21596 Usage: $0 [OPTION]... [TAG]...
21598 -h, --help print this help, then exit
21599 -V, --version print version number and configuration settings, then exit
21600 --config print configuration, then exit
21601 -q, --quiet, --silent
21602 do not print progress messages
21603 -d, --debug don't remove temporary files
21604 --recheck update $as_me by reconfiguring in the same conditions
21605 --file=FILE[:TEMPLATE]
21606 instantiate the configuration file FILE
21607 --header=FILE[:TEMPLATE]
21608 instantiate the configuration header FILE
21610 Configuration files:
21611 $config_files
21613 Configuration headers:
21614 $config_headers
21616 Configuration links:
21617 $config_links
21619 Configuration commands:
21620 $config_commands
21622 Report bugs to <wine-devel@winehq.org>.
21623 Wine home page: <https://www.winehq.org>."
21625 _ACEOF
21626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21627 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21628 ac_cs_version="\\
21629 Wine config.status 4.6
21630 configured by $0, generated by GNU Autoconf 2.69,
21631 with options \\"\$ac_cs_config\\"
21633 Copyright (C) 2012 Free Software Foundation, Inc.
21634 This config.status script is free software; the Free Software Foundation
21635 gives unlimited permission to copy, distribute and modify it."
21637 ac_pwd='$ac_pwd'
21638 srcdir='$srcdir'
21639 test -n "\$AWK" || AWK=awk
21640 _ACEOF
21642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21643 # The default lists apply if the user does not specify any file.
21644 ac_need_defaults=:
21645 while test $# != 0
21647 case $1 in
21648 --*=?*)
21649 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21650 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21651 ac_shift=:
21653 --*=)
21654 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21655 ac_optarg=
21656 ac_shift=:
21659 ac_option=$1
21660 ac_optarg=$2
21661 ac_shift=shift
21663 esac
21665 case $ac_option in
21666 # Handling of the options.
21667 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21668 ac_cs_recheck=: ;;
21669 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21670 $as_echo "$ac_cs_version"; exit ;;
21671 --config | --confi | --conf | --con | --co | --c )
21672 $as_echo "$ac_cs_config"; exit ;;
21673 --debug | --debu | --deb | --de | --d | -d )
21674 debug=: ;;
21675 --file | --fil | --fi | --f )
21676 $ac_shift
21677 case $ac_optarg in
21678 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21679 '') as_fn_error $? "missing file argument" ;;
21680 esac
21681 as_fn_append CONFIG_FILES " '$ac_optarg'"
21682 ac_need_defaults=false;;
21683 --header | --heade | --head | --hea )
21684 $ac_shift
21685 case $ac_optarg in
21686 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21687 esac
21688 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21689 ac_need_defaults=false;;
21690 --he | --h)
21691 # Conflict between --help and --header
21692 as_fn_error $? "ambiguous option: \`$1'
21693 Try \`$0 --help' for more information.";;
21694 --help | --hel | -h )
21695 $as_echo "$ac_cs_usage"; exit ;;
21696 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21697 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21698 ac_cs_silent=: ;;
21700 # This is an error.
21701 -*) as_fn_error $? "unrecognized option: \`$1'
21702 Try \`$0 --help' for more information." ;;
21704 *) as_fn_append ac_config_targets " $1"
21705 ac_need_defaults=false ;;
21707 esac
21708 shift
21709 done
21711 ac_configure_extra_args=
21713 if $ac_cs_silent; then
21714 exec 6>/dev/null
21715 ac_configure_extra_args="$ac_configure_extra_args --silent"
21718 _ACEOF
21719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21720 if \$ac_cs_recheck; then
21721 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21722 shift
21723 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21724 CONFIG_SHELL='$SHELL'
21725 export CONFIG_SHELL
21726 exec "\$@"
21729 _ACEOF
21730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21731 exec 5>>config.log
21733 echo
21734 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21735 ## Running $as_me. ##
21736 _ASBOX
21737 $as_echo "$ac_log"
21738 } >&5
21740 _ACEOF
21741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21743 # INIT-COMMANDS
21745 wine_fn_output_makedep ()
21747 as_dir=tools; as_fn_mkdir_p
21748 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21750 wine_fn_output_makefile ()
21752 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21753 `cat $wine_rules_file`
21754 _WINE_EOF
21755 as_fn_error $? "could not create Makefile" "$LINENO" 5
21758 _ACEOF
21760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21762 # Handling of arguments.
21763 for ac_config_target in $ac_config_targets
21765 case $ac_config_target in
21766 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21767 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21768 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21769 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21770 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21771 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21772 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21773 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21774 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21775 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21776 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21777 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21778 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21780 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21781 esac
21782 done
21785 # If the user did not use the arguments to specify the items to instantiate,
21786 # then the envvar interface is used. Set only those that are not.
21787 # We use the long form for the default assignment because of an extremely
21788 # bizarre bug on SunOS 4.1.3.
21789 if $ac_need_defaults; then
21790 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21791 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21792 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21793 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21796 # Have a temporary directory for convenience. Make it in the build tree
21797 # simply because there is no reason against having it here, and in addition,
21798 # creating and moving files from /tmp can sometimes cause problems.
21799 # Hook for its removal unless debugging.
21800 # Note that there is a small window in which the directory will not be cleaned:
21801 # after its creation but before its name has been assigned to `$tmp'.
21802 $debug ||
21804 tmp= ac_tmp=
21805 trap 'exit_status=$?
21806 : "${ac_tmp:=$tmp}"
21807 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21809 trap 'as_fn_exit 1' 1 2 13 15
21811 # Create a (secure) tmp directory for tmp files.
21814 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21815 test -d "$tmp"
21816 } ||
21818 tmp=./conf$$-$RANDOM
21819 (umask 077 && mkdir "$tmp")
21820 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21821 ac_tmp=$tmp
21823 # Set up the scripts for CONFIG_FILES section.
21824 # No need to generate them if there are no CONFIG_FILES.
21825 # This happens for instance with `./config.status config.h'.
21826 if test -n "$CONFIG_FILES"; then
21829 ac_cr=`echo X | tr X '\015'`
21830 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21831 # But we know of no other shell where ac_cr would be empty at this
21832 # point, so we can use a bashism as a fallback.
21833 if test "x$ac_cr" = x; then
21834 eval ac_cr=\$\'\\r\'
21836 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21837 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21838 ac_cs_awk_cr='\\r'
21839 else
21840 ac_cs_awk_cr=$ac_cr
21843 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21844 _ACEOF
21848 echo "cat >conf$$subs.awk <<_ACEOF" &&
21849 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21850 echo "_ACEOF"
21851 } >conf$$subs.sh ||
21852 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21853 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21854 ac_delim='%!_!# '
21855 for ac_last_try in false false false false false :; do
21856 . ./conf$$subs.sh ||
21857 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21859 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21860 if test $ac_delim_n = $ac_delim_num; then
21861 break
21862 elif $ac_last_try; then
21863 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21864 else
21865 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21867 done
21868 rm -f conf$$subs.sh
21870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21871 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21872 _ACEOF
21873 sed -n '
21875 s/^/S["/; s/!.*/"]=/
21878 s/^[^!]*!//
21879 :repl
21880 t repl
21881 s/'"$ac_delim"'$//
21882 t delim
21885 s/\(.\{148\}\)..*/\1/
21886 t more1
21887 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21890 b repl
21891 :more1
21892 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21895 s/.\{148\}//
21896 t nl
21897 :delim
21899 s/\(.\{148\}\)..*/\1/
21900 t more2
21901 s/["\\]/\\&/g; s/^/"/; s/$/"/
21904 :more2
21905 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21908 s/.\{148\}//
21909 t delim
21910 ' <conf$$subs.awk | sed '
21911 /^[^""]/{
21913 s/\n//
21915 ' >>$CONFIG_STATUS || ac_write_fail=1
21916 rm -f conf$$subs.awk
21917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21918 _ACAWK
21919 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21920 for (key in S) S_is_set[key] = 1
21921 FS = "\a"
21925 line = $ 0
21926 nfields = split(line, field, "@")
21927 substed = 0
21928 len = length(field[1])
21929 for (i = 2; i < nfields; i++) {
21930 key = field[i]
21931 keylen = length(key)
21932 if (S_is_set[key]) {
21933 value = S[key]
21934 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21935 len += length(value) + length(field[++i])
21936 substed = 1
21937 } else
21938 len += 1 + keylen
21941 print line
21944 _ACAWK
21945 _ACEOF
21946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21947 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21948 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21949 else
21951 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21952 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21953 _ACEOF
21955 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21956 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21957 # trailing colons and then remove the whole line if VPATH becomes empty
21958 # (actually we leave an empty line to preserve line numbers).
21959 if test "x$srcdir" = x.; then
21960 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21962 s///
21963 s/^/:/
21964 s/[ ]*$/:/
21965 s/:\$(srcdir):/:/g
21966 s/:\${srcdir}:/:/g
21967 s/:@srcdir@:/:/g
21968 s/^:*//
21969 s/:*$//
21971 s/\(=[ ]*\).*/\1/
21973 s/\n//
21974 s/^[^=]*=[ ]*$//
21978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21979 fi # test -n "$CONFIG_FILES"
21981 # Set up the scripts for CONFIG_HEADERS section.
21982 # No need to generate them if there are no CONFIG_HEADERS.
21983 # This happens for instance with `./config.status Makefile'.
21984 if test -n "$CONFIG_HEADERS"; then
21985 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21986 BEGIN {
21987 _ACEOF
21989 # Transform confdefs.h into an awk script `defines.awk', embedded as
21990 # here-document in config.status, that substitutes the proper values into
21991 # config.h.in to produce config.h.
21993 # Create a delimiter string that does not exist in confdefs.h, to ease
21994 # handling of long lines.
21995 ac_delim='%!_!# '
21996 for ac_last_try in false false :; do
21997 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21998 if test -z "$ac_tt"; then
21999 break
22000 elif $ac_last_try; then
22001 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22002 else
22003 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22005 done
22007 # For the awk script, D is an array of macro values keyed by name,
22008 # likewise P contains macro parameters if any. Preserve backslash
22009 # newline sequences.
22011 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22012 sed -n '
22013 s/.\{148\}/&'"$ac_delim"'/g
22014 t rset
22015 :rset
22016 s/^[ ]*#[ ]*define[ ][ ]*/ /
22017 t def
22019 :def
22020 s/\\$//
22021 t bsnl
22022 s/["\\]/\\&/g
22023 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22024 D["\1"]=" \3"/p
22025 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22027 :bsnl
22028 s/["\\]/\\&/g
22029 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22030 D["\1"]=" \3\\\\\\n"\\/p
22031 t cont
22032 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22033 t cont
22035 :cont
22037 s/.\{148\}/&'"$ac_delim"'/g
22038 t clear
22039 :clear
22040 s/\\$//
22041 t bsnlc
22042 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22044 :bsnlc
22045 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22046 b cont
22047 ' <confdefs.h | sed '
22048 s/'"$ac_delim"'/"\\\
22049 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22052 for (key in D) D_is_set[key] = 1
22053 FS = "\a"
22055 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22056 line = \$ 0
22057 split(line, arg, " ")
22058 if (arg[1] == "#") {
22059 defundef = arg[2]
22060 mac1 = arg[3]
22061 } else {
22062 defundef = substr(arg[1], 2)
22063 mac1 = arg[2]
22065 split(mac1, mac2, "(") #)
22066 macro = mac2[1]
22067 prefix = substr(line, 1, index(line, defundef) - 1)
22068 if (D_is_set[macro]) {
22069 # Preserve the white space surrounding the "#".
22070 print prefix "define", macro P[macro] D[macro]
22071 next
22072 } else {
22073 # Replace #undef with comments. This is necessary, for example,
22074 # in the case of _POSIX_SOURCE, which is predefined and required
22075 # on some systems where configure will not decide to define it.
22076 if (defundef == "undef") {
22077 print "/*", prefix defundef, macro, "*/"
22078 next
22082 { print }
22083 _ACAWK
22084 _ACEOF
22085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22086 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22087 fi # test -n "$CONFIG_HEADERS"
22090 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22091 shift
22092 for ac_tag
22094 case $ac_tag in
22095 :[FHLC]) ac_mode=$ac_tag; continue;;
22096 esac
22097 case $ac_mode$ac_tag in
22098 :[FHL]*:*);;
22099 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22100 :[FH]-) ac_tag=-:-;;
22101 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22102 esac
22103 ac_save_IFS=$IFS
22104 IFS=:
22105 set x $ac_tag
22106 IFS=$ac_save_IFS
22107 shift
22108 ac_file=$1
22109 shift
22111 case $ac_mode in
22112 :L) ac_source=$1;;
22113 :[FH])
22114 ac_file_inputs=
22115 for ac_f
22117 case $ac_f in
22118 -) ac_f="$ac_tmp/stdin";;
22119 *) # Look for the file first in the build tree, then in the source tree
22120 # (if the path is not absolute). The absolute path cannot be DOS-style,
22121 # because $ac_f cannot contain `:'.
22122 test -f "$ac_f" ||
22123 case $ac_f in
22124 [\\/$]*) false;;
22125 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22126 esac ||
22127 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22128 esac
22129 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22130 as_fn_append ac_file_inputs " '$ac_f'"
22131 done
22133 # Let's still pretend it is `configure' which instantiates (i.e., don't
22134 # use $as_me), people would be surprised to read:
22135 # /* config.h. Generated by config.status. */
22136 configure_input='Generated from '`
22137 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22138 `' by configure.'
22139 if test x"$ac_file" != x-; then
22140 configure_input="$ac_file. $configure_input"
22141 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22142 $as_echo "$as_me: creating $ac_file" >&6;}
22144 # Neutralize special characters interpreted by sed in replacement strings.
22145 case $configure_input in #(
22146 *\&* | *\|* | *\\* )
22147 ac_sed_conf_input=`$as_echo "$configure_input" |
22148 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22149 *) ac_sed_conf_input=$configure_input;;
22150 esac
22152 case $ac_tag in
22153 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22154 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22155 esac
22157 esac
22159 ac_dir=`$as_dirname -- "$ac_file" ||
22160 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22161 X"$ac_file" : 'X\(//\)[^/]' \| \
22162 X"$ac_file" : 'X\(//\)$' \| \
22163 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22164 $as_echo X"$ac_file" |
22165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22166 s//\1/
22169 /^X\(\/\/\)[^/].*/{
22170 s//\1/
22173 /^X\(\/\/\)$/{
22174 s//\1/
22177 /^X\(\/\).*/{
22178 s//\1/
22181 s/.*/./; q'`
22182 as_dir="$ac_dir"; as_fn_mkdir_p
22183 ac_builddir=.
22185 case "$ac_dir" in
22186 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22188 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22189 # A ".." for each directory in $ac_dir_suffix.
22190 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22191 case $ac_top_builddir_sub in
22192 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22193 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22194 esac ;;
22195 esac
22196 ac_abs_top_builddir=$ac_pwd
22197 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22198 # for backward compatibility:
22199 ac_top_builddir=$ac_top_build_prefix
22201 case $srcdir in
22202 .) # We are building in place.
22203 ac_srcdir=.
22204 ac_top_srcdir=$ac_top_builddir_sub
22205 ac_abs_top_srcdir=$ac_pwd ;;
22206 [\\/]* | ?:[\\/]* ) # Absolute name.
22207 ac_srcdir=$srcdir$ac_dir_suffix;
22208 ac_top_srcdir=$srcdir
22209 ac_abs_top_srcdir=$srcdir ;;
22210 *) # Relative name.
22211 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22212 ac_top_srcdir=$ac_top_build_prefix$srcdir
22213 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22214 esac
22215 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22218 case $ac_mode in
22221 # CONFIG_FILE
22224 _ACEOF
22226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22227 # If the template does not know about datarootdir, expand it.
22228 # FIXME: This hack should be removed a few years after 2.60.
22229 ac_datarootdir_hack=; ac_datarootdir_seen=
22230 ac_sed_dataroot='
22231 /datarootdir/ {
22235 /@datadir@/p
22236 /@docdir@/p
22237 /@infodir@/p
22238 /@localedir@/p
22239 /@mandir@/p'
22240 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22241 *datarootdir*) ac_datarootdir_seen=yes;;
22242 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22244 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22245 _ACEOF
22246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22247 ac_datarootdir_hack='
22248 s&@datadir@&$datadir&g
22249 s&@docdir@&$docdir&g
22250 s&@infodir@&$infodir&g
22251 s&@localedir@&$localedir&g
22252 s&@mandir@&$mandir&g
22253 s&\\\${datarootdir}&$datarootdir&g' ;;
22254 esac
22255 _ACEOF
22257 # Neutralize VPATH when `$srcdir' = `.'.
22258 # Shell code in configure.ac might set extrasub.
22259 # FIXME: do we really want to maintain this feature?
22260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22261 ac_sed_extra="$ac_vpsub
22262 $extrasub
22263 _ACEOF
22264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22266 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22267 s|@configure_input@|$ac_sed_conf_input|;t t
22268 s&@top_builddir@&$ac_top_builddir_sub&;t t
22269 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22270 s&@srcdir@&$ac_srcdir&;t t
22271 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22272 s&@top_srcdir@&$ac_top_srcdir&;t t
22273 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22274 s&@builddir@&$ac_builddir&;t t
22275 s&@abs_builddir@&$ac_abs_builddir&;t t
22276 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22277 $ac_datarootdir_hack
22279 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22280 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22282 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22283 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22284 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22285 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22287 which seems to be undefined. Please make sure it is defined" >&5
22288 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22289 which seems to be undefined. Please make sure it is defined" >&2;}
22291 rm -f "$ac_tmp/stdin"
22292 case $ac_file in
22293 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22294 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22295 esac \
22296 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22300 # CONFIG_HEADER
22302 if test x"$ac_file" != x-; then
22304 $as_echo "/* $configure_input */" \
22305 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22306 } >"$ac_tmp/config.h" \
22307 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22308 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22309 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22310 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22311 else
22312 rm -f "$ac_file"
22313 mv "$ac_tmp/config.h" "$ac_file" \
22314 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22316 else
22317 $as_echo "/* $configure_input */" \
22318 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22319 || as_fn_error $? "could not create -" "$LINENO" 5
22324 # CONFIG_LINK
22327 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22329 else
22330 # Prefer the file from the source tree if names are identical.
22331 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22332 ac_source=$srcdir/$ac_source
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22336 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22338 if test ! -r "$ac_source"; then
22339 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22341 rm -f "$ac_file"
22343 # Try a relative symlink, then a hard link, then a copy.
22344 case $ac_source in
22345 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22346 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22347 esac
22348 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22349 ln "$ac_source" "$ac_file" 2>/dev/null ||
22350 cp -p "$ac_source" "$ac_file" ||
22351 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22354 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22355 $as_echo "$as_me: executing $ac_file commands" >&6;}
22357 esac
22360 case $ac_file$ac_mode in
22361 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22362 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22363 "Makefile":C) wine_fn_output_makefile Makefile ;;
22365 esac
22366 done # for ac_tag
22369 as_fn_exit 0
22370 _ACEOF
22371 ac_clean_files=$ac_clean_files_save
22373 test $ac_write_fail = 0 ||
22374 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22377 # configure is writing to config.log, and then calls config.status.
22378 # config.status does its own redirection, appending to config.log.
22379 # Unfortunately, on DOS this fails, as config.log is still kept open
22380 # by configure, so config.status won't be able to write to it; its
22381 # output is simply discarded. So we exec the FD to /dev/null,
22382 # effectively closing config.log, so it can be properly (re)opened and
22383 # appended to by config.status. When coming back to configure, we
22384 # need to make the FD available again.
22385 if test "$no_create" != yes; then
22386 ac_cs_success=:
22387 ac_config_status_args=
22388 test "$silent" = yes &&
22389 ac_config_status_args="$ac_config_status_args --quiet"
22390 exec 5>/dev/null
22391 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22392 exec 5>>config.log
22393 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22394 # would make configure fail if this is the last instruction.
22395 $ac_cs_success || as_fn_exit 1
22397 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22399 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22403 if test "$no_create" = "yes"
22404 then
22405 exit 0
22408 ac_save_IFS="$IFS"
22409 if test "x$wine_notices" != x; then
22410 echo >&6
22411 IFS="|"
22412 for msg in $wine_notices; do
22413 IFS="$ac_save_IFS"
22414 if ${msg:+false} :; then :
22416 else
22417 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22418 $as_echo "$as_me: $msg" >&6;}
22420 done
22422 IFS="|"
22423 for msg in $wine_warnings; do
22424 IFS="$ac_save_IFS"
22425 if ${msg:+false} :; then :
22427 else
22428 echo >&2
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22430 $as_echo "$as_me: WARNING: $msg" >&2;}
22432 done
22433 IFS="$ac_save_IFS"
22435 $as_echo "
22436 $as_me: Finished. Do '${ac_make}' to compile Wine.
22437 " >&6