quartz/filesource: Get rid of the AsyncReader typedef.
[wine.git] / configure
blob018fb1bfd75ddeb20c294c963d34187ddae1ae62
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.5.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='5.5'
584 PACKAGE_STRING='Wine 5.5'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 MSVCRTFLAGS
635 EXCESS_PRECISION_CFLAGS
636 EXTRACFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 Z_LIBS
678 Z_CFLAGS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 DELAYLOADFLAG
710 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 LDEXECFLAGS
752 LDDLLFLAGS
753 LDRPATH_LOCAL
754 LDRPATH_INSTALL
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 enable_werror
845 with_alsa
846 with_capi
847 with_cms
848 with_coreaudio
849 with_cups
850 with_curses
851 with_dbus
852 with_faudio
853 with_float_abi
854 with_fontconfig
855 with_freetype
856 with_gettext
857 with_gettextpo
858 with_gphoto
859 with_glu
860 with_gnutls
861 with_gsm
862 with_gssapi
863 with_gstreamer
864 with_hal
865 with_inotify
866 with_jpeg
867 with_krb5
868 with_ldap
869 with_mingw
870 with_mpg123
871 with_netapi
872 with_openal
873 with_opencl
874 with_opengl
875 with_osmesa
876 with_oss
877 with_pcap
878 with_png
879 with_pthread
880 with_pulse
881 with_sane
882 with_sdl
883 with_tiff
884 with_udev
885 with_unwind
886 with_v4l2
887 with_vkd3d
888 with_vulkan
889 with_xcomposite
890 with_xcursor
891 with_xfixes
892 with_xinerama
893 with_xinput
894 with_xinput2
895 with_xml
896 with_xrandr
897 with_xrender
898 with_xshape
899 with_xshm
900 with_xslt
901 with_xxf86vm
902 with_zlib
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_adsiid
913 enable_adsldp
914 enable_adsldpc
915 enable_advapi32
916 enable_advpack
917 enable_amsi
918 enable_amstream
919 enable_api_ms_win_appmodel_identity_l1_1_0
920 enable_api_ms_win_appmodel_runtime_l1_1_1
921 enable_api_ms_win_appmodel_runtime_l1_1_2
922 enable_api_ms_win_core_apiquery_l1_1_0
923 enable_api_ms_win_core_appcompat_l1_1_1
924 enable_api_ms_win_core_appinit_l1_1_0
925 enable_api_ms_win_core_atoms_l1_1_0
926 enable_api_ms_win_core_bem_l1_1_0
927 enable_api_ms_win_core_com_l1_1_0
928 enable_api_ms_win_core_com_l1_1_1
929 enable_api_ms_win_core_com_private_l1_1_0
930 enable_api_ms_win_core_comm_l1_1_0
931 enable_api_ms_win_core_console_l1_1_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_crt_l1_1_0
934 enable_api_ms_win_core_crt_l2_1_0
935 enable_api_ms_win_core_datetime_l1_1_0
936 enable_api_ms_win_core_datetime_l1_1_1
937 enable_api_ms_win_core_debug_l1_1_0
938 enable_api_ms_win_core_debug_l1_1_1
939 enable_api_ms_win_core_delayload_l1_1_0
940 enable_api_ms_win_core_delayload_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_0
942 enable_api_ms_win_core_errorhandling_l1_1_1
943 enable_api_ms_win_core_errorhandling_l1_1_2
944 enable_api_ms_win_core_errorhandling_l1_1_3
945 enable_api_ms_win_core_fibers_l1_1_0
946 enable_api_ms_win_core_fibers_l1_1_1
947 enable_api_ms_win_core_file_l1_1_0
948 enable_api_ms_win_core_file_l1_2_0
949 enable_api_ms_win_core_file_l1_2_1
950 enable_api_ms_win_core_file_l1_2_2
951 enable_api_ms_win_core_file_l2_1_0
952 enable_api_ms_win_core_file_l2_1_1
953 enable_api_ms_win_core_file_l2_1_2
954 enable_api_ms_win_core_handle_l1_1_0
955 enable_api_ms_win_core_heap_l1_1_0
956 enable_api_ms_win_core_heap_l1_2_0
957 enable_api_ms_win_core_heap_l2_1_0
958 enable_api_ms_win_core_heap_obsolete_l1_1_0
959 enable_api_ms_win_core_interlocked_l1_1_0
960 enable_api_ms_win_core_interlocked_l1_2_0
961 enable_api_ms_win_core_io_l1_1_0
962 enable_api_ms_win_core_io_l1_1_1
963 enable_api_ms_win_core_job_l1_1_0
964 enable_api_ms_win_core_job_l2_1_0
965 enable_api_ms_win_core_kernel32_legacy_l1_1_0
966 enable_api_ms_win_core_kernel32_legacy_l1_1_1
967 enable_api_ms_win_core_kernel32_private_l1_1_1
968 enable_api_ms_win_core_largeinteger_l1_1_0
969 enable_api_ms_win_core_libraryloader_l1_1_0
970 enable_api_ms_win_core_libraryloader_l1_1_1
971 enable_api_ms_win_core_libraryloader_l1_2_0
972 enable_api_ms_win_core_libraryloader_l1_2_1
973 enable_api_ms_win_core_libraryloader_l1_2_2
974 enable_api_ms_win_core_localization_l1_1_0
975 enable_api_ms_win_core_localization_l1_2_0
976 enable_api_ms_win_core_localization_l1_2_1
977 enable_api_ms_win_core_localization_l2_1_0
978 enable_api_ms_win_core_localization_obsolete_l1_1_0
979 enable_api_ms_win_core_localization_obsolete_l1_2_0
980 enable_api_ms_win_core_localization_obsolete_l1_3_0
981 enable_api_ms_win_core_localization_private_l1_1_0
982 enable_api_ms_win_core_localregistry_l1_1_0
983 enable_api_ms_win_core_memory_l1_1_0
984 enable_api_ms_win_core_memory_l1_1_1
985 enable_api_ms_win_core_memory_l1_1_2
986 enable_api_ms_win_core_misc_l1_1_0
987 enable_api_ms_win_core_namedpipe_l1_1_0
988 enable_api_ms_win_core_namedpipe_l1_2_0
989 enable_api_ms_win_core_namespace_l1_1_0
990 enable_api_ms_win_core_normalization_l1_1_0
991 enable_api_ms_win_core_path_l1_1_0
992 enable_api_ms_win_core_privateprofile_l1_1_1
993 enable_api_ms_win_core_processenvironment_l1_1_0
994 enable_api_ms_win_core_processenvironment_l1_2_0
995 enable_api_ms_win_core_processthreads_l1_1_0
996 enable_api_ms_win_core_processthreads_l1_1_1
997 enable_api_ms_win_core_processthreads_l1_1_2
998 enable_api_ms_win_core_processthreads_l1_1_3
999 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1000 enable_api_ms_win_core_profile_l1_1_0
1001 enable_api_ms_win_core_psapi_ansi_l1_1_0
1002 enable_api_ms_win_core_psapi_l1_1_0
1003 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1004 enable_api_ms_win_core_quirks_l1_1_0
1005 enable_api_ms_win_core_realtime_l1_1_0
1006 enable_api_ms_win_core_registry_l1_1_0
1007 enable_api_ms_win_core_registry_l2_1_0
1008 enable_api_ms_win_core_registry_l2_2_0
1009 enable_api_ms_win_core_registryuserspecific_l1_1_0
1010 enable_api_ms_win_core_rtlsupport_l1_1_0
1011 enable_api_ms_win_core_rtlsupport_l1_2_0
1012 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1013 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1014 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1015 enable_api_ms_win_core_shutdown_l1_1_0
1016 enable_api_ms_win_core_sidebyside_l1_1_0
1017 enable_api_ms_win_core_string_l1_1_0
1018 enable_api_ms_win_core_string_l2_1_0
1019 enable_api_ms_win_core_string_obsolete_l1_1_0
1020 enable_api_ms_win_core_stringansi_l1_1_0
1021 enable_api_ms_win_core_stringloader_l1_1_1
1022 enable_api_ms_win_core_synch_ansi_l1_1_0
1023 enable_api_ms_win_core_synch_l1_1_0
1024 enable_api_ms_win_core_synch_l1_2_0
1025 enable_api_ms_win_core_synch_l1_2_1
1026 enable_api_ms_win_core_sysinfo_l1_1_0
1027 enable_api_ms_win_core_sysinfo_l1_2_0
1028 enable_api_ms_win_core_sysinfo_l1_2_1
1029 enable_api_ms_win_core_threadpool_l1_1_0
1030 enable_api_ms_win_core_threadpool_l1_2_0
1031 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1032 enable_api_ms_win_core_threadpool_private_l1_1_0
1033 enable_api_ms_win_core_timezone_l1_1_0
1034 enable_api_ms_win_core_toolhelp_l1_1_0
1035 enable_api_ms_win_core_url_l1_1_0
1036 enable_api_ms_win_core_util_l1_1_0
1037 enable_api_ms_win_core_version_l1_1_0
1038 enable_api_ms_win_core_version_l1_1_1
1039 enable_api_ms_win_core_version_private_l1_1_0
1040 enable_api_ms_win_core_versionansi_l1_1_0
1041 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1042 enable_api_ms_win_core_winrt_error_l1_1_0
1043 enable_api_ms_win_core_winrt_error_l1_1_1
1044 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1045 enable_api_ms_win_core_winrt_l1_1_0
1046 enable_api_ms_win_core_winrt_registration_l1_1_0
1047 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1048 enable_api_ms_win_core_winrt_string_l1_1_0
1049 enable_api_ms_win_core_winrt_string_l1_1_1
1050 enable_api_ms_win_core_wow64_l1_1_0
1051 enable_api_ms_win_core_wow64_l1_1_1
1052 enable_api_ms_win_core_xstate_l1_1_0
1053 enable_api_ms_win_core_xstate_l2_1_0
1054 enable_api_ms_win_crt_conio_l1_1_0
1055 enable_api_ms_win_crt_convert_l1_1_0
1056 enable_api_ms_win_crt_environment_l1_1_0
1057 enable_api_ms_win_crt_filesystem_l1_1_0
1058 enable_api_ms_win_crt_heap_l1_1_0
1059 enable_api_ms_win_crt_locale_l1_1_0
1060 enable_api_ms_win_crt_math_l1_1_0
1061 enable_api_ms_win_crt_multibyte_l1_1_0
1062 enable_api_ms_win_crt_private_l1_1_0
1063 enable_api_ms_win_crt_process_l1_1_0
1064 enable_api_ms_win_crt_runtime_l1_1_0
1065 enable_api_ms_win_crt_stdio_l1_1_0
1066 enable_api_ms_win_crt_string_l1_1_0
1067 enable_api_ms_win_crt_time_l1_1_0
1068 enable_api_ms_win_crt_utility_l1_1_0
1069 enable_api_ms_win_devices_config_l1_1_0
1070 enable_api_ms_win_devices_config_l1_1_1
1071 enable_api_ms_win_devices_query_l1_1_1
1072 enable_api_ms_win_downlevel_advapi32_l1_1_0
1073 enable_api_ms_win_downlevel_advapi32_l2_1_0
1074 enable_api_ms_win_downlevel_normaliz_l1_1_0
1075 enable_api_ms_win_downlevel_ole32_l1_1_0
1076 enable_api_ms_win_downlevel_shell32_l1_1_0
1077 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1078 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1079 enable_api_ms_win_downlevel_user32_l1_1_0
1080 enable_api_ms_win_downlevel_version_l1_1_0
1081 enable_api_ms_win_dx_d3dkmt_l1_1_0
1082 enable_api_ms_win_eventing_classicprovider_l1_1_0
1083 enable_api_ms_win_eventing_consumer_l1_1_0
1084 enable_api_ms_win_eventing_controller_l1_1_0
1085 enable_api_ms_win_eventing_legacy_l1_1_0
1086 enable_api_ms_win_eventing_provider_l1_1_0
1087 enable_api_ms_win_eventlog_legacy_l1_1_0
1088 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1089 enable_api_ms_win_mm_joystick_l1_1_0
1090 enable_api_ms_win_mm_misc_l1_1_1
1091 enable_api_ms_win_mm_mme_l1_1_0
1092 enable_api_ms_win_mm_time_l1_1_0
1093 enable_api_ms_win_ntuser_dc_access_l1_1_0
1094 enable_api_ms_win_ntuser_rectangle_l1_1_0
1095 enable_api_ms_win_ntuser_sysparams_l1_1_0
1096 enable_api_ms_win_perf_legacy_l1_1_0
1097 enable_api_ms_win_power_base_l1_1_0
1098 enable_api_ms_win_power_setting_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1102 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1103 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1104 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1105 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1106 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1107 enable_api_ms_win_security_audit_l1_1_1
1108 enable_api_ms_win_security_base_l1_1_0
1109 enable_api_ms_win_security_base_l1_2_0
1110 enable_api_ms_win_security_base_private_l1_1_1
1111 enable_api_ms_win_security_credentials_l1_1_0
1112 enable_api_ms_win_security_cryptoapi_l1_1_0
1113 enable_api_ms_win_security_grouppolicy_l1_1_0
1114 enable_api_ms_win_security_lsalookup_l1_1_0
1115 enable_api_ms_win_security_lsalookup_l1_1_1
1116 enable_api_ms_win_security_lsalookup_l2_1_0
1117 enable_api_ms_win_security_lsalookup_l2_1_1
1118 enable_api_ms_win_security_lsapolicy_l1_1_0
1119 enable_api_ms_win_security_provider_l1_1_0
1120 enable_api_ms_win_security_sddl_l1_1_0
1121 enable_api_ms_win_security_systemfunctions_l1_1_0
1122 enable_api_ms_win_service_core_l1_1_0
1123 enable_api_ms_win_service_core_l1_1_1
1124 enable_api_ms_win_service_management_l1_1_0
1125 enable_api_ms_win_service_management_l2_1_0
1126 enable_api_ms_win_service_private_l1_1_1
1127 enable_api_ms_win_service_winsvc_l1_1_0
1128 enable_api_ms_win_service_winsvc_l1_2_0
1129 enable_api_ms_win_shcore_obsolete_l1_1_0
1130 enable_api_ms_win_shcore_scaling_l1_1_1
1131 enable_api_ms_win_shcore_stream_l1_1_0
1132 enable_api_ms_win_shcore_thread_l1_1_0
1133 enable_api_ms_win_shell_shellcom_l1_1_0
1134 enable_api_ms_win_shell_shellfolders_l1_1_0
1135 enable_apphelp
1136 enable_appwiz_cpl
1137 enable_atl
1138 enable_atl100
1139 enable_atl110
1140 enable_atl80
1141 enable_atl90
1142 enable_atlthunk
1143 enable_atmlib
1144 enable_authz
1145 enable_avicap32
1146 enable_avifil32
1147 enable_avrt
1148 enable_bcrypt
1149 enable_bluetoothapis
1150 enable_browseui
1151 enable_bthprops_cpl
1152 enable_cabinet
1153 enable_capi2032
1154 enable_cards
1155 enable_cdosys
1156 enable_cfgmgr32
1157 enable_clusapi
1158 enable_combase
1159 enable_comcat
1160 enable_comctl32
1161 enable_comdlg32
1162 enable_compstui
1163 enable_comsvcs
1164 enable_concrt140
1165 enable_connect
1166 enable_credui
1167 enable_crtdll
1168 enable_crypt32
1169 enable_cryptdlg
1170 enable_cryptdll
1171 enable_cryptext
1172 enable_cryptnet
1173 enable_cryptui
1174 enable_ctapi32
1175 enable_ctl3d32
1176 enable_d2d1
1177 enable_d3d10
1178 enable_d3d10_1
1179 enable_d3d10core
1180 enable_d3d11
1181 enable_d3d12
1182 enable_d3d8
1183 enable_d3d9
1184 enable_d3dcompiler_33
1185 enable_d3dcompiler_34
1186 enable_d3dcompiler_35
1187 enable_d3dcompiler_36
1188 enable_d3dcompiler_37
1189 enable_d3dcompiler_38
1190 enable_d3dcompiler_39
1191 enable_d3dcompiler_40
1192 enable_d3dcompiler_41
1193 enable_d3dcompiler_42
1194 enable_d3dcompiler_43
1195 enable_d3dcompiler_46
1196 enable_d3dcompiler_47
1197 enable_d3dim
1198 enable_d3drm
1199 enable_d3dx10_33
1200 enable_d3dx10_34
1201 enable_d3dx10_35
1202 enable_d3dx10_36
1203 enable_d3dx10_37
1204 enable_d3dx10_38
1205 enable_d3dx10_39
1206 enable_d3dx10_40
1207 enable_d3dx10_41
1208 enable_d3dx10_42
1209 enable_d3dx10_43
1210 enable_d3dx11_42
1211 enable_d3dx11_43
1212 enable_d3dx9_24
1213 enable_d3dx9_25
1214 enable_d3dx9_26
1215 enable_d3dx9_27
1216 enable_d3dx9_28
1217 enable_d3dx9_29
1218 enable_d3dx9_30
1219 enable_d3dx9_31
1220 enable_d3dx9_32
1221 enable_d3dx9_33
1222 enable_d3dx9_34
1223 enable_d3dx9_35
1224 enable_d3dx9_36
1225 enable_d3dx9_37
1226 enable_d3dx9_38
1227 enable_d3dx9_39
1228 enable_d3dx9_40
1229 enable_d3dx9_41
1230 enable_d3dx9_42
1231 enable_d3dx9_43
1232 enable_d3dxof
1233 enable_davclnt
1234 enable_dbgeng
1235 enable_dbghelp
1236 enable_dciman32
1237 enable_ddraw
1238 enable_ddrawex
1239 enable_devenum
1240 enable_dhcpcsvc
1241 enable_dhtmled_ocx
1242 enable_difxapi
1243 enable_dinput
1244 enable_dinput8
1245 enable_dispex
1246 enable_dmband
1247 enable_dmcompos
1248 enable_dmime
1249 enable_dmloader
1250 enable_dmoguids
1251 enable_dmscript
1252 enable_dmstyle
1253 enable_dmsynth
1254 enable_dmusic
1255 enable_dmusic32
1256 enable_dnsapi
1257 enable_dplay
1258 enable_dplayx
1259 enable_dpnaddr
1260 enable_dpnet
1261 enable_dpnhpast
1262 enable_dpnlobby
1263 enable_dpvoice
1264 enable_dpwsockx
1265 enable_drmclien
1266 enable_dsdmo
1267 enable_dsound
1268 enable_dsquery
1269 enable_dssenh
1270 enable_dswave
1271 enable_dwmapi
1272 enable_dwrite
1273 enable_dx8vb
1274 enable_dxdiagn
1275 enable_dxerr8
1276 enable_dxerr9
1277 enable_dxgi
1278 enable_dxguid
1279 enable_dxva2
1280 enable_esent
1281 enable_evr
1282 enable_explorerframe
1283 enable_ext_ms_win_authz_context_l1_1_0
1284 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1285 enable_ext_ms_win_dwmapi_ext_l1_1_0
1286 enable_ext_ms_win_gdi_dc_create_l1_1_0
1287 enable_ext_ms_win_gdi_dc_create_l1_1_1
1288 enable_ext_ms_win_gdi_dc_l1_2_0
1289 enable_ext_ms_win_gdi_devcaps_l1_1_0
1290 enable_ext_ms_win_gdi_draw_l1_1_0
1291 enable_ext_ms_win_gdi_draw_l1_1_1
1292 enable_ext_ms_win_gdi_font_l1_1_0
1293 enable_ext_ms_win_gdi_font_l1_1_1
1294 enable_ext_ms_win_gdi_render_l1_1_0
1295 enable_ext_ms_win_kernel32_package_current_l1_1_0
1296 enable_ext_ms_win_kernel32_package_l1_1_1
1297 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1298 enable_ext_ms_win_ntuser_draw_l1_1_0
1299 enable_ext_ms_win_ntuser_gui_l1_1_0
1300 enable_ext_ms_win_ntuser_gui_l1_3_0
1301 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1302 enable_ext_ms_win_ntuser_message_l1_1_0
1303 enable_ext_ms_win_ntuser_message_l1_1_1
1304 enable_ext_ms_win_ntuser_misc_l1_1_0
1305 enable_ext_ms_win_ntuser_misc_l1_2_0
1306 enable_ext_ms_win_ntuser_misc_l1_5_1
1307 enable_ext_ms_win_ntuser_mouse_l1_1_0
1308 enable_ext_ms_win_ntuser_private_l1_1_1
1309 enable_ext_ms_win_ntuser_private_l1_3_1
1310 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1311 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1312 enable_ext_ms_win_ntuser_window_l1_1_0
1313 enable_ext_ms_win_ntuser_window_l1_1_1
1314 enable_ext_ms_win_ntuser_window_l1_1_4
1315 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1316 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1317 enable_ext_ms_win_oleacc_l1_1_0
1318 enable_ext_ms_win_ras_rasapi32_l1_1_0
1319 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1320 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1321 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1326 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1327 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1328 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1329 enable_ext_ms_win_security_credui_l1_1_0
1330 enable_ext_ms_win_security_cryptui_l1_1_0
1331 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1332 enable_ext_ms_win_shell_comdlg32_l1_1_0
1333 enable_ext_ms_win_shell_shell32_l1_2_0
1334 enable_ext_ms_win_uxtheme_themes_l1_1_0
1335 enable_faultrep
1336 enable_feclient
1337 enable_fltlib
1338 enable_fltmgr_sys
1339 enable_fntcache
1340 enable_fontsub
1341 enable_fusion
1342 enable_fwpuclnt
1343 enable_gameux
1344 enable_gdi32
1345 enable_gdiplus
1346 enable_glu32
1347 enable_gphoto2_ds
1348 enable_gpkcsp
1349 enable_hal
1350 enable_hhctrl_ocx
1351 enable_hid
1352 enable_hidclass_sys
1353 enable_hlink
1354 enable_hnetcfg
1355 enable_http_sys
1356 enable_httpapi
1357 enable_iccvid
1358 enable_icmp
1359 enable_ieframe
1360 enable_ieproxy
1361 enable_imaadp32_acm
1362 enable_imagehlp
1363 enable_imm32
1364 enable_inetcomm
1365 enable_inetcpl_cpl
1366 enable_inetmib1
1367 enable_infosoft
1368 enable_initpki
1369 enable_inkobj
1370 enable_inseng
1371 enable_iphlpapi
1372 enable_iprop
1373 enable_irprops_cpl
1374 enable_itircl
1375 enable_itss
1376 enable_joy_cpl
1377 enable_jscript
1378 enable_jsproxy
1379 enable_kerberos
1380 enable_kernel32
1381 enable_kernelbase
1382 enable_ksecdd_sys
1383 enable_ksuser
1384 enable_ktmw32
1385 enable_l3codeca_acm
1386 enable_loadperf
1387 enable_localspl
1388 enable_localui
1389 enable_lz32
1390 enable_mapi32
1391 enable_mapistub
1392 enable_mciavi32
1393 enable_mcicda
1394 enable_mciqtz32
1395 enable_mciseq
1396 enable_mciwave
1397 enable_mf
1398 enable_mf3216
1399 enable_mferror
1400 enable_mfmediaengine
1401 enable_mfplat
1402 enable_mfplay
1403 enable_mfreadwrite
1404 enable_mfuuid
1405 enable_mgmtapi
1406 enable_midimap
1407 enable_mlang
1408 enable_mmcndmgr
1409 enable_mmdevapi
1410 enable_mountmgr_sys
1411 enable_mp3dmod
1412 enable_mpr
1413 enable_mprapi
1414 enable_msacm32_drv
1415 enable_msacm32
1416 enable_msado15
1417 enable_msadp32_acm
1418 enable_msasn1
1419 enable_mscat32
1420 enable_mscms
1421 enable_mscoree
1422 enable_mscorwks
1423 enable_msctf
1424 enable_msctfp
1425 enable_msdaps
1426 enable_msdelta
1427 enable_msdmo
1428 enable_msdrm
1429 enable_msftedit
1430 enable_msg711_acm
1431 enable_msgsm32_acm
1432 enable_mshtml_tlb
1433 enable_mshtml
1434 enable_msi
1435 enable_msident
1436 enable_msimg32
1437 enable_msimsg
1438 enable_msimtf
1439 enable_msisip
1440 enable_msisys_ocx
1441 enable_msls31
1442 enable_msnet32
1443 enable_mspatcha
1444 enable_msports
1445 enable_msrle32
1446 enable_msscript_ocx
1447 enable_mssign32
1448 enable_mssip32
1449 enable_mstask
1450 enable_msvcirt
1451 enable_msvcm80
1452 enable_msvcm90
1453 enable_msvcp100
1454 enable_msvcp110
1455 enable_msvcp120
1456 enable_msvcp120_app
1457 enable_msvcp140
1458 enable_msvcp60
1459 enable_msvcp70
1460 enable_msvcp71
1461 enable_msvcp80
1462 enable_msvcp90
1463 enable_msvcr100
1464 enable_msvcr110
1465 enable_msvcr120
1466 enable_msvcr120_app
1467 enable_msvcr70
1468 enable_msvcr71
1469 enable_msvcr80
1470 enable_msvcr90
1471 enable_msvcrt
1472 enable_msvcrt20
1473 enable_msvcrt40
1474 enable_msvcrtd
1475 enable_msvfw32
1476 enable_msvidc32
1477 enable_mswsock
1478 enable_msxml
1479 enable_msxml2
1480 enable_msxml3
1481 enable_msxml4
1482 enable_msxml6
1483 enable_mtxdm
1484 enable_ncrypt
1485 enable_nddeapi
1486 enable_ndis_sys
1487 enable_netapi32
1488 enable_netcfgx
1489 enable_netprofm
1490 enable_newdev
1491 enable_ninput
1492 enable_normaliz
1493 enable_npmshtml
1494 enable_npptools
1495 enable_ntdll
1496 enable_ntdsapi
1497 enable_ntoskrnl_exe
1498 enable_ntprint
1499 enable_objsel
1500 enable_odbc32
1501 enable_odbcbcp
1502 enable_odbccp32
1503 enable_odbccu32
1504 enable_ole32
1505 enable_oleacc
1506 enable_oleaut32
1507 enable_olecli32
1508 enable_oledb32
1509 enable_oledlg
1510 enable_olepro32
1511 enable_olesvr32
1512 enable_olethk32
1513 enable_opcservices
1514 enable_openal32
1515 enable_opencl
1516 enable_opengl32
1517 enable_packager
1518 enable_pdh
1519 enable_photometadatahandler
1520 enable_pidgen
1521 enable_powrprof
1522 enable_printui
1523 enable_prntvpt
1524 enable_propsys
1525 enable_psapi
1526 enable_pstorec
1527 enable_qasf
1528 enable_qcap
1529 enable_qedit
1530 enable_qmgr
1531 enable_qmgrprxy
1532 enable_quartz
1533 enable_query
1534 enable_qwave
1535 enable_rasapi32
1536 enable_rasdlg
1537 enable_regapi
1538 enable_resutils
1539 enable_riched20
1540 enable_riched32
1541 enable_rpcrt4
1542 enable_rsabase
1543 enable_rsaenh
1544 enable_rstrtmgr
1545 enable_rtutils
1546 enable_rtworkq
1547 enable_samlib
1548 enable_sane_ds
1549 enable_sapi
1550 enable_sas
1551 enable_scarddlg
1552 enable_sccbase
1553 enable_schannel
1554 enable_schedsvc
1555 enable_scrobj
1556 enable_scrrun
1557 enable_scsiport_sys
1558 enable_secur32
1559 enable_security
1560 enable_sensapi
1561 enable_serialui
1562 enable_setupapi
1563 enable_sfc
1564 enable_sfc_os
1565 enable_shcore
1566 enable_shdoclc
1567 enable_shdocvw
1568 enable_shell32
1569 enable_shfolder
1570 enable_shlwapi
1571 enable_slbcsp
1572 enable_slc
1573 enable_snmpapi
1574 enable_softpub
1575 enable_spoolss
1576 enable_srclient
1577 enable_sspicli
1578 enable_stdole2_tlb
1579 enable_stdole32_tlb
1580 enable_sti
1581 enable_strmbase
1582 enable_strmdll
1583 enable_strmiids
1584 enable_svrapi
1585 enable_sxs
1586 enable_t2embed
1587 enable_tapi32
1588 enable_taskschd
1589 enable_tdh
1590 enable_tdi_sys
1591 enable_traffic
1592 enable_twain_32
1593 enable_tzres
1594 enable_ucrtbase
1595 enable_uianimation
1596 enable_uiautomationcore
1597 enable_uiribbon
1598 enable_unicows
1599 enable_updspapi
1600 enable_url
1601 enable_urlmon
1602 enable_usbd_sys
1603 enable_user32
1604 enable_userenv
1605 enable_usp10
1606 enable_utildll
1607 enable_uuid
1608 enable_uxtheme
1609 enable_vbscript
1610 enable_vcomp
1611 enable_vcomp100
1612 enable_vcomp110
1613 enable_vcomp120
1614 enable_vcomp140
1615 enable_vcomp90
1616 enable_vcruntime140
1617 enable_vcruntime140_1
1618 enable_vdmdbg
1619 enable_version
1620 enable_vga
1621 enable_virtdisk
1622 enable_vssapi
1623 enable_vulkan_1
1624 enable_wbemdisp
1625 enable_wbemprox
1626 enable_wbemuuid
1627 enable_wdscore
1628 enable_webservices
1629 enable_wer
1630 enable_wevtapi
1631 enable_wiaservc
1632 enable_wimgapi
1633 enable_windowscodecs
1634 enable_windowscodecsext
1635 enable_winealsa_drv
1636 enable_wineandroid_drv
1637 enable_winebus_sys
1638 enable_winecoreaudio_drv
1639 enable_winecrt0
1640 enable_wined3d
1641 enable_winegstreamer
1642 enable_winehid_sys
1643 enable_winejoystick_drv
1644 enable_winemac_drv
1645 enable_winemapi
1646 enable_wineoss_drv
1647 enable_wineps_drv
1648 enable_winepulse_drv
1649 enable_wineqtdecoder
1650 enable_winevulkan
1651 enable_winex11_drv
1652 enable_wing32
1653 enable_winhttp
1654 enable_wininet
1655 enable_winmm
1656 enable_winnls32
1657 enable_winscard
1658 enable_winspool_drv
1659 enable_winsta
1660 enable_wintab32
1661 enable_wintrust
1662 enable_winusb
1663 enable_wlanapi
1664 enable_wlanui
1665 enable_wldap32
1666 enable_wmasf
1667 enable_wmcodecdspuuid
1668 enable_wmi
1669 enable_wmiutils
1670 enable_wmp
1671 enable_wmphoto
1672 enable_wmvcore
1673 enable_wnaspi32
1674 enable_wpc
1675 enable_wpcap
1676 enable_ws2_32
1677 enable_wsdapi
1678 enable_wshom_ocx
1679 enable_wsnmp32
1680 enable_wsock32
1681 enable_wtsapi32
1682 enable_wuapi
1683 enable_wuaueng
1684 enable_x3daudio1_0
1685 enable_x3daudio1_1
1686 enable_x3daudio1_2
1687 enable_x3daudio1_3
1688 enable_x3daudio1_4
1689 enable_x3daudio1_5
1690 enable_x3daudio1_6
1691 enable_x3daudio1_7
1692 enable_xapofx1_1
1693 enable_xapofx1_2
1694 enable_xapofx1_3
1695 enable_xapofx1_4
1696 enable_xapofx1_5
1697 enable_xaudio2_0
1698 enable_xaudio2_1
1699 enable_xaudio2_2
1700 enable_xaudio2_3
1701 enable_xaudio2_4
1702 enable_xaudio2_5
1703 enable_xaudio2_6
1704 enable_xaudio2_7
1705 enable_xaudio2_8
1706 enable_xaudio2_9
1707 enable_xinput1_1
1708 enable_xinput1_2
1709 enable_xinput1_3
1710 enable_xinput1_4
1711 enable_xinput9_1_0
1712 enable_xmllite
1713 enable_xolehlp
1714 enable_xpsprint
1715 enable_xpssvcs
1716 enable_fonts
1717 enable_include
1718 enable_port
1719 enable_wine
1720 enable_wpp
1721 enable_loader
1722 enable_nls
1723 enable_po
1724 enable_arp
1725 enable_aspnet_regiis
1726 enable_attrib
1727 enable_cabarc
1728 enable_cacls
1729 enable_chcp_com
1730 enable_clock
1731 enable_cmd
1732 enable_conhost
1733 enable_control
1734 enable_cscript
1735 enable_dism
1736 enable_dpnsvr
1737 enable_dxdiag
1738 enable_eject
1739 enable_expand
1740 enable_explorer
1741 enable_extrac32
1742 enable_fc
1743 enable_find
1744 enable_findstr
1745 enable_fsutil
1746 enable_hh
1747 enable_hostname
1748 enable_icacls
1749 enable_icinfo
1750 enable_iexplore
1751 enable_ipconfig
1752 enable_lodctr
1753 enable_mofcomp
1754 enable_mshta
1755 enable_msidb
1756 enable_msiexec
1757 enable_msinfo32
1758 enable_net
1759 enable_netsh
1760 enable_netstat
1761 enable_ngen
1762 enable_notepad
1763 enable_oleview
1764 enable_ping
1765 enable_plugplay
1766 enable_powershell
1767 enable_presentationfontcache
1768 enable_progman
1769 enable_reg
1770 enable_regasm
1771 enable_regedit
1772 enable_regini
1773 enable_regsvcs
1774 enable_regsvr32
1775 enable_rpcss
1776 enable_rundll32
1777 enable_sc
1778 enable_schtasks
1779 enable_sdbinst
1780 enable_secedit
1781 enable_servicemodelreg
1782 enable_services
1783 enable_shutdown
1784 enable_spoolsv
1785 enable_start
1786 enable_subst
1787 enable_svchost
1788 enable_systeminfo
1789 enable_taskkill
1790 enable_tasklist
1791 enable_taskmgr
1792 enable_termsv
1793 enable_uninstaller
1794 enable_unlodctr
1795 enable_view
1796 enable_wevtutil
1797 enable_whoami
1798 enable_wineboot
1799 enable_winebrowser
1800 enable_winecfg
1801 enable_wineconsole
1802 enable_winedbg
1803 enable_winedevice
1804 enable_winefile
1805 enable_winemenubuilder
1806 enable_winemine
1807 enable_winemsibuilder
1808 enable_winepath
1809 enable_winetest
1810 enable_winhlp32
1811 enable_winmgmt
1812 enable_winver
1813 enable_wmic
1814 enable_wmplayer
1815 enable_wordpad
1816 enable_write
1817 enable_wscript
1818 enable_wuauserv
1819 enable_wusa
1820 enable_xcopy
1821 enable_server
1822 enable_tools
1823 enable_sfnt2fon
1824 enable_widl
1825 enable_winebuild
1826 enable_winedump
1827 enable_winegcc
1828 enable_winemaker
1829 enable_wmc
1830 enable_wrc
1832 ac_precious_vars='build_alias
1833 host_alias
1834 target_alias
1836 CFLAGS
1837 LDFLAGS
1838 LIBS
1839 CPPFLAGS
1841 CXXFLAGS
1844 OBJC
1845 OBJCFLAGS
1846 OBJCPP
1847 XMKMF
1848 XML2_CFLAGS
1849 XML2_LIBS
1850 XSLT_CFLAGS
1851 XSLT_LIBS
1852 INOTIFY_CFLAGS
1853 INOTIFY_LIBS
1854 DBUS_CFLAGS
1855 DBUS_LIBS
1856 HAL_CFLAGS
1857 HAL_LIBS
1858 GNUTLS_CFLAGS
1859 GNUTLS_LIBS
1860 SANE_CFLAGS
1861 SANE_LIBS
1862 GPHOTO2_CFLAGS
1863 GPHOTO2_LIBS
1864 GPHOTO2_PORT_CFLAGS
1865 GPHOTO2_PORT_LIBS
1866 LCMS2_CFLAGS
1867 LCMS2_LIBS
1868 FREETYPE_CFLAGS
1869 FREETYPE_LIBS
1870 Z_CFLAGS
1871 Z_LIBS
1872 PULSE_CFLAGS
1873 PULSE_LIBS
1874 GSTREAMER_CFLAGS
1875 GSTREAMER_LIBS
1876 UDEV_CFLAGS
1877 UDEV_LIBS
1878 UNWIND_CFLAGS
1879 UNWIND_LIBS
1880 SDL2_CFLAGS
1881 SDL2_LIBS
1882 FAUDIO_CFLAGS
1883 FAUDIO_LIBS
1884 CAPI20_CFLAGS
1885 CAPI20_LIBS
1886 CUPS_CFLAGS
1887 CUPS_LIBS
1888 FONTCONFIG_CFLAGS
1889 FONTCONFIG_LIBS
1890 KRB5_CFLAGS
1891 KRB5_LIBS
1892 GSSAPI_CFLAGS
1893 GSSAPI_LIBS
1894 JPEG_CFLAGS
1895 JPEG_LIBS
1896 PNG_CFLAGS
1897 PNG_LIBS
1898 TIFF_CFLAGS
1899 TIFF_LIBS
1900 MPG123_CFLAGS
1901 MPG123_LIBS
1902 NETAPI_CFLAGS
1903 NETAPI_LIBS
1904 VKD3D_CFLAGS
1905 VKD3D_LIBS
1906 LDAP_CFLAGS
1907 LDAP_LIBS'
1910 # Initialize some variables set by options.
1911 ac_init_help=
1912 ac_init_version=false
1913 ac_unrecognized_opts=
1914 ac_unrecognized_sep=
1915 # The variables have the same names as the options, with
1916 # dashes changed to underlines.
1917 cache_file=/dev/null
1918 exec_prefix=NONE
1919 no_create=
1920 no_recursion=
1921 prefix=NONE
1922 program_prefix=NONE
1923 program_suffix=NONE
1924 program_transform_name=s,x,x,
1925 silent=
1926 site=
1927 srcdir=
1928 verbose=
1929 x_includes=NONE
1930 x_libraries=NONE
1932 # Installation directory options.
1933 # These are left unexpanded so users can "make install exec_prefix=/foo"
1934 # and all the variables that are supposed to be based on exec_prefix
1935 # by default will actually change.
1936 # Use braces instead of parens because sh, perl, etc. also accept them.
1937 # (The list follows the same order as the GNU Coding Standards.)
1938 bindir='${exec_prefix}/bin'
1939 sbindir='${exec_prefix}/sbin'
1940 libexecdir='${exec_prefix}/libexec'
1941 datarootdir='${prefix}/share'
1942 datadir='${datarootdir}'
1943 sysconfdir='${prefix}/etc'
1944 sharedstatedir='${prefix}/com'
1945 localstatedir='${prefix}/var'
1946 runstatedir='${localstatedir}/run'
1947 includedir='${prefix}/include'
1948 oldincludedir='/usr/include'
1949 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1950 infodir='${datarootdir}/info'
1951 htmldir='${docdir}'
1952 dvidir='${docdir}'
1953 pdfdir='${docdir}'
1954 psdir='${docdir}'
1955 libdir='${exec_prefix}/lib'
1956 localedir='${datarootdir}/locale'
1957 mandir='${datarootdir}/man'
1959 ac_prev=
1960 ac_dashdash=
1961 for ac_option
1963 # If the previous option needs an argument, assign it.
1964 if test -n "$ac_prev"; then
1965 eval $ac_prev=\$ac_option
1966 ac_prev=
1967 continue
1970 case $ac_option in
1971 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1972 *=) ac_optarg= ;;
1973 *) ac_optarg=yes ;;
1974 esac
1976 # Accept the important Cygnus configure options, so we can diagnose typos.
1978 case $ac_dashdash$ac_option in
1980 ac_dashdash=yes ;;
1982 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1983 ac_prev=bindir ;;
1984 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1985 bindir=$ac_optarg ;;
1987 -build | --build | --buil | --bui | --bu)
1988 ac_prev=build_alias ;;
1989 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1990 build_alias=$ac_optarg ;;
1992 -cache-file | --cache-file | --cache-fil | --cache-fi \
1993 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1994 ac_prev=cache_file ;;
1995 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1996 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1997 cache_file=$ac_optarg ;;
1999 --config-cache | -C)
2000 cache_file=config.cache ;;
2002 -datadir | --datadir | --datadi | --datad)
2003 ac_prev=datadir ;;
2004 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2005 datadir=$ac_optarg ;;
2007 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2008 | --dataroo | --dataro | --datar)
2009 ac_prev=datarootdir ;;
2010 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2011 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2012 datarootdir=$ac_optarg ;;
2014 -disable-* | --disable-*)
2015 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2016 # Reject names that are not valid shell variable names.
2017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2018 as_fn_error $? "invalid feature name: $ac_useropt"
2019 ac_useropt_orig=$ac_useropt
2020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2021 case $ac_user_opts in
2023 "enable_$ac_useropt"
2024 "*) ;;
2025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2026 ac_unrecognized_sep=', ';;
2027 esac
2028 eval enable_$ac_useropt=no ;;
2030 -docdir | --docdir | --docdi | --doc | --do)
2031 ac_prev=docdir ;;
2032 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2033 docdir=$ac_optarg ;;
2035 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2036 ac_prev=dvidir ;;
2037 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2038 dvidir=$ac_optarg ;;
2040 -enable-* | --enable-*)
2041 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2042 # Reject names that are not valid shell variable names.
2043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2044 as_fn_error $? "invalid feature name: $ac_useropt"
2045 ac_useropt_orig=$ac_useropt
2046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2047 case $ac_user_opts in
2049 "enable_$ac_useropt"
2050 "*) ;;
2051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2052 ac_unrecognized_sep=', ';;
2053 esac
2054 eval enable_$ac_useropt=\$ac_optarg ;;
2056 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2057 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2058 | --exec | --exe | --ex)
2059 ac_prev=exec_prefix ;;
2060 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2061 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2062 | --exec=* | --exe=* | --ex=*)
2063 exec_prefix=$ac_optarg ;;
2065 -gas | --gas | --ga | --g)
2066 # Obsolete; use --with-gas.
2067 with_gas=yes ;;
2069 -help | --help | --hel | --he | -h)
2070 ac_init_help=long ;;
2071 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2072 ac_init_help=recursive ;;
2073 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2074 ac_init_help=short ;;
2076 -host | --host | --hos | --ho)
2077 ac_prev=host_alias ;;
2078 -host=* | --host=* | --hos=* | --ho=*)
2079 host_alias=$ac_optarg ;;
2081 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2082 ac_prev=htmldir ;;
2083 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2084 | --ht=*)
2085 htmldir=$ac_optarg ;;
2087 -includedir | --includedir | --includedi | --included | --include \
2088 | --includ | --inclu | --incl | --inc)
2089 ac_prev=includedir ;;
2090 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2091 | --includ=* | --inclu=* | --incl=* | --inc=*)
2092 includedir=$ac_optarg ;;
2094 -infodir | --infodir | --infodi | --infod | --info | --inf)
2095 ac_prev=infodir ;;
2096 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2097 infodir=$ac_optarg ;;
2099 -libdir | --libdir | --libdi | --libd)
2100 ac_prev=libdir ;;
2101 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2102 libdir=$ac_optarg ;;
2104 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2105 | --libexe | --libex | --libe)
2106 ac_prev=libexecdir ;;
2107 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2108 | --libexe=* | --libex=* | --libe=*)
2109 libexecdir=$ac_optarg ;;
2111 -localedir | --localedir | --localedi | --localed | --locale)
2112 ac_prev=localedir ;;
2113 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2114 localedir=$ac_optarg ;;
2116 -localstatedir | --localstatedir | --localstatedi | --localstated \
2117 | --localstate | --localstat | --localsta | --localst | --locals)
2118 ac_prev=localstatedir ;;
2119 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2120 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2121 localstatedir=$ac_optarg ;;
2123 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2124 ac_prev=mandir ;;
2125 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2126 mandir=$ac_optarg ;;
2128 -nfp | --nfp | --nf)
2129 # Obsolete; use --without-fp.
2130 with_fp=no ;;
2132 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2133 | --no-cr | --no-c | -n)
2134 no_create=yes ;;
2136 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2137 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2138 no_recursion=yes ;;
2140 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2141 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2142 | --oldin | --oldi | --old | --ol | --o)
2143 ac_prev=oldincludedir ;;
2144 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2145 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2146 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2147 oldincludedir=$ac_optarg ;;
2149 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2150 ac_prev=prefix ;;
2151 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2152 prefix=$ac_optarg ;;
2154 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2155 | --program-pre | --program-pr | --program-p)
2156 ac_prev=program_prefix ;;
2157 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2158 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2159 program_prefix=$ac_optarg ;;
2161 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2162 | --program-suf | --program-su | --program-s)
2163 ac_prev=program_suffix ;;
2164 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2165 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2166 program_suffix=$ac_optarg ;;
2168 -program-transform-name | --program-transform-name \
2169 | --program-transform-nam | --program-transform-na \
2170 | --program-transform-n | --program-transform- \
2171 | --program-transform | --program-transfor \
2172 | --program-transfo | --program-transf \
2173 | --program-trans | --program-tran \
2174 | --progr-tra | --program-tr | --program-t)
2175 ac_prev=program_transform_name ;;
2176 -program-transform-name=* | --program-transform-name=* \
2177 | --program-transform-nam=* | --program-transform-na=* \
2178 | --program-transform-n=* | --program-transform-=* \
2179 | --program-transform=* | --program-transfor=* \
2180 | --program-transfo=* | --program-transf=* \
2181 | --program-trans=* | --program-tran=* \
2182 | --progr-tra=* | --program-tr=* | --program-t=*)
2183 program_transform_name=$ac_optarg ;;
2185 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2186 ac_prev=pdfdir ;;
2187 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2188 pdfdir=$ac_optarg ;;
2190 -psdir | --psdir | --psdi | --psd | --ps)
2191 ac_prev=psdir ;;
2192 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2193 psdir=$ac_optarg ;;
2195 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2196 | -silent | --silent | --silen | --sile | --sil)
2197 silent=yes ;;
2199 -runstatedir | --runstatedir | --runstatedi | --runstated \
2200 | --runstate | --runstat | --runsta | --runst | --runs \
2201 | --run | --ru | --r)
2202 ac_prev=runstatedir ;;
2203 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2204 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2205 | --run=* | --ru=* | --r=*)
2206 runstatedir=$ac_optarg ;;
2208 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2209 ac_prev=sbindir ;;
2210 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2211 | --sbi=* | --sb=*)
2212 sbindir=$ac_optarg ;;
2214 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2215 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2216 | --sharedst | --shareds | --shared | --share | --shar \
2217 | --sha | --sh)
2218 ac_prev=sharedstatedir ;;
2219 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2220 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2221 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2222 | --sha=* | --sh=*)
2223 sharedstatedir=$ac_optarg ;;
2225 -site | --site | --sit)
2226 ac_prev=site ;;
2227 -site=* | --site=* | --sit=*)
2228 site=$ac_optarg ;;
2230 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2231 ac_prev=srcdir ;;
2232 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2233 srcdir=$ac_optarg ;;
2235 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2236 | --syscon | --sysco | --sysc | --sys | --sy)
2237 ac_prev=sysconfdir ;;
2238 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2239 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2240 sysconfdir=$ac_optarg ;;
2242 -target | --target | --targe | --targ | --tar | --ta | --t)
2243 ac_prev=target_alias ;;
2244 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2245 target_alias=$ac_optarg ;;
2247 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2248 verbose=yes ;;
2250 -version | --version | --versio | --versi | --vers | -V)
2251 ac_init_version=: ;;
2253 -with-* | --with-*)
2254 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2255 # Reject names that are not valid shell variable names.
2256 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2257 as_fn_error $? "invalid package name: $ac_useropt"
2258 ac_useropt_orig=$ac_useropt
2259 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2260 case $ac_user_opts in
2262 "with_$ac_useropt"
2263 "*) ;;
2264 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2265 ac_unrecognized_sep=', ';;
2266 esac
2267 eval with_$ac_useropt=\$ac_optarg ;;
2269 -without-* | --without-*)
2270 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2271 # Reject names that are not valid shell variable names.
2272 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2273 as_fn_error $? "invalid package name: $ac_useropt"
2274 ac_useropt_orig=$ac_useropt
2275 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2276 case $ac_user_opts in
2278 "with_$ac_useropt"
2279 "*) ;;
2280 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2281 ac_unrecognized_sep=', ';;
2282 esac
2283 eval with_$ac_useropt=no ;;
2285 --x)
2286 # Obsolete; use --with-x.
2287 with_x=yes ;;
2289 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2290 | --x-incl | --x-inc | --x-in | --x-i)
2291 ac_prev=x_includes ;;
2292 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2293 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2294 x_includes=$ac_optarg ;;
2296 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2297 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2298 ac_prev=x_libraries ;;
2299 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2300 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2301 x_libraries=$ac_optarg ;;
2303 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2304 Try \`$0 --help' for more information"
2307 *=*)
2308 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2309 # Reject names that are not valid shell variable names.
2310 case $ac_envvar in #(
2311 '' | [0-9]* | *[!_$as_cr_alnum]* )
2312 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2313 esac
2314 eval $ac_envvar=\$ac_optarg
2315 export $ac_envvar ;;
2318 # FIXME: should be removed in autoconf 3.0.
2319 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2320 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2321 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2322 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2325 esac
2326 done
2328 if test -n "$ac_prev"; then
2329 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2330 as_fn_error $? "missing argument to $ac_option"
2333 if test -n "$ac_unrecognized_opts"; then
2334 case $enable_option_checking in
2335 no) ;;
2336 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2337 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2338 esac
2341 # Check all directory arguments for consistency.
2342 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2343 datadir sysconfdir sharedstatedir localstatedir includedir \
2344 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2345 libdir localedir mandir runstatedir
2347 eval ac_val=\$$ac_var
2348 # Remove trailing slashes.
2349 case $ac_val in
2350 */ )
2351 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2352 eval $ac_var=\$ac_val;;
2353 esac
2354 # Be sure to have absolute directory names.
2355 case $ac_val in
2356 [\\/$]* | ?:[\\/]* ) continue;;
2357 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2358 esac
2359 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2360 done
2362 # There might be people who depend on the old broken behavior: `$host'
2363 # used to hold the argument of --host etc.
2364 # FIXME: To remove some day.
2365 build=$build_alias
2366 host=$host_alias
2367 target=$target_alias
2369 # FIXME: To remove some day.
2370 if test "x$host_alias" != x; then
2371 if test "x$build_alias" = x; then
2372 cross_compiling=maybe
2373 elif test "x$build_alias" != "x$host_alias"; then
2374 cross_compiling=yes
2378 ac_tool_prefix=
2379 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2381 test "$silent" = yes && exec 6>/dev/null
2384 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2385 ac_ls_di=`ls -di .` &&
2386 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2387 as_fn_error $? "working directory cannot be determined"
2388 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2389 as_fn_error $? "pwd does not report name of working directory"
2392 # Find the source files, if location was not specified.
2393 if test -z "$srcdir"; then
2394 ac_srcdir_defaulted=yes
2395 # Try the directory containing this script, then the parent directory.
2396 ac_confdir=`$as_dirname -- "$as_myself" ||
2397 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2398 X"$as_myself" : 'X\(//\)[^/]' \| \
2399 X"$as_myself" : 'X\(//\)$' \| \
2400 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2401 $as_echo X"$as_myself" |
2402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2403 s//\1/
2406 /^X\(\/\/\)[^/].*/{
2407 s//\1/
2410 /^X\(\/\/\)$/{
2411 s//\1/
2414 /^X\(\/\).*/{
2415 s//\1/
2418 s/.*/./; q'`
2419 srcdir=$ac_confdir
2420 if test ! -r "$srcdir/$ac_unique_file"; then
2421 srcdir=..
2423 else
2424 ac_srcdir_defaulted=no
2426 if test ! -r "$srcdir/$ac_unique_file"; then
2427 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2428 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2430 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2431 ac_abs_confdir=`(
2432 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2433 pwd)`
2434 # When building in place, set srcdir=.
2435 if test "$ac_abs_confdir" = "$ac_pwd"; then
2436 srcdir=.
2438 # Remove unnecessary trailing slashes from srcdir.
2439 # Double slashes in file names in object file debugging info
2440 # mess up M-x gdb in Emacs.
2441 case $srcdir in
2442 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2443 esac
2444 for ac_var in $ac_precious_vars; do
2445 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2446 eval ac_env_${ac_var}_value=\$${ac_var}
2447 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2448 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2449 done
2452 # Report the --help message.
2454 if test "$ac_init_help" = "long"; then
2455 # Omit some internal or obsolete options to make the list less imposing.
2456 # This message is too long to be a string in the A/UX 3.1 sh.
2457 cat <<_ACEOF
2458 \`configure' configures Wine 5.5 to adapt to many kinds of systems.
2460 Usage: $0 [OPTION]... [VAR=VALUE]...
2462 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2463 VAR=VALUE. See below for descriptions of some of the useful variables.
2465 Defaults for the options are specified in brackets.
2467 Configuration:
2468 -h, --help display this help and exit
2469 --help=short display options specific to this package
2470 --help=recursive display the short help of all the included packages
2471 -V, --version display version information and exit
2472 -q, --quiet, --silent do not print \`checking ...' messages
2473 --cache-file=FILE cache test results in FILE [disabled]
2474 -C, --config-cache alias for \`--cache-file=config.cache'
2475 -n, --no-create do not create output files
2476 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2478 Installation directories:
2479 --prefix=PREFIX install architecture-independent files in PREFIX
2480 [$ac_default_prefix]
2481 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2482 [PREFIX]
2484 By default, \`make install' will install all the files in
2485 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2486 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2487 for instance \`--prefix=\$HOME'.
2489 For better control, use the options below.
2491 Fine tuning of the installation directories:
2492 --bindir=DIR user executables [EPREFIX/bin]
2493 --sbindir=DIR system admin executables [EPREFIX/sbin]
2494 --libexecdir=DIR program executables [EPREFIX/libexec]
2495 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2496 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2497 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2498 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2499 --libdir=DIR object code libraries [EPREFIX/lib]
2500 --includedir=DIR C header files [PREFIX/include]
2501 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2502 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2503 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2504 --infodir=DIR info documentation [DATAROOTDIR/info]
2505 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2506 --mandir=DIR man documentation [DATAROOTDIR/man]
2507 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2508 --htmldir=DIR html documentation [DOCDIR]
2509 --dvidir=DIR dvi documentation [DOCDIR]
2510 --pdfdir=DIR pdf documentation [DOCDIR]
2511 --psdir=DIR ps documentation [DOCDIR]
2512 _ACEOF
2514 cat <<\_ACEOF
2516 X features:
2517 --x-includes=DIR X include files are in DIR
2518 --x-libraries=DIR X library files are in DIR
2520 System types:
2521 --build=BUILD configure for building on BUILD [guessed]
2522 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2523 _ACEOF
2526 if test -n "$ac_init_help"; then
2527 case $ac_init_help in
2528 short | recursive ) echo "Configuration of Wine 5.5:";;
2529 esac
2530 cat <<\_ACEOF
2532 Optional Features:
2533 --disable-option-checking ignore unrecognized --enable/--with options
2534 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2535 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2536 --disable-win16 do not include Win16 support
2537 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2538 binaries)
2539 --disable-tests do not build the regression tests
2540 --enable-maintainer-mode
2541 enable maintainer-specific build rules
2542 --enable-werror treat compilation warnings as errors
2543 --disable-largefile omit support for large files
2545 Optional Packages:
2546 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2547 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2548 --without-alsa do not use the Alsa sound support
2549 --without-capi do not use CAPI (ISDN support)
2550 --without-cms do not use CMS (color management support)
2551 --without-coreaudio do not use the CoreAudio sound support
2552 --without-cups do not use CUPS
2553 --without-curses do not use (n)curses
2554 --without-dbus do not use DBus (dynamic device support)
2555 --without-faudio do not use FAudio (XAudio2 support)
2556 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2557 --without-fontconfig do not use fontconfig
2558 --without-freetype do not use the FreeType library
2559 --without-gettext do not use gettext
2560 --with-gettextpo use the GetTextPO library to rebuild po files
2561 --without-gphoto do not use gphoto (Digital Camera support)
2562 --without-glu do not use the GLU library
2563 --without-gnutls do not use GnuTLS (schannel support)
2564 --without-gsm do not use libgsm (GSM 06.10 codec support)
2565 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2566 --without-gstreamer do not use GStreamer (codecs support)
2567 --without-hal do not use HAL (dynamic device support)
2568 --without-inotify do not use inotify (filesystem change notifications)
2569 --without-jpeg do not use JPEG
2570 --without-krb5 do not use krb5 (Kerberos)
2571 --without-ldap do not use LDAP
2572 --without-mingw do not use the MinGW cross-compiler
2573 --without-mpg123 do not use the mpg123 library
2574 --without-netapi do not use the Samba NetAPI library
2575 --without-openal do not use OpenAL
2576 --without-opencl do not use OpenCL
2577 --without-opengl do not use OpenGL
2578 --without-osmesa do not use the OSMesa library
2579 --without-oss do not use the OSS sound support
2580 --without-pcap do not use the Packet Capture library
2581 --without-png do not use PNG
2582 --without-pthread do not use the pthread library
2583 --without-pulse do not use PulseAudio sound support
2584 --without-sane do not use SANE (scanner support)
2585 --without-sdl do not use SDL
2586 --without-tiff do not use TIFF
2587 --without-udev do not use udev (plug and play support)
2588 --without-unwind do not use the libunwind library (exception
2589 handling)
2590 --without-v4l2 do not use v4l2 (video capture)
2591 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2592 --without-vulkan do not use Vulkan
2593 --without-xcomposite do not use the Xcomposite extension
2594 --without-xcursor do not use the Xcursor extension
2595 --without-xfixes do not use Xfixes for clipboard change notifications
2596 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2597 --without-xinput do not use the Xinput extension
2598 --without-xinput2 do not use the Xinput 2 extension
2599 --without-xml do not use XML
2600 --without-xrandr do not use Xrandr (multi-monitor support)
2601 --without-xrender do not use the Xrender extension
2602 --without-xshape do not use the Xshape extension
2603 --without-xshm do not use XShm (shared memory extension)
2604 --without-xslt do not use XSLT
2605 --without-xxf86vm do not use XFree video mode extension
2606 --without-zlib do not use Zlib (data compression)
2607 --with-wine-tools=DIR use Wine tools from directory DIR
2608 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2609 --with-x use the X Window System
2611 Some influential environment variables:
2612 CC C compiler command
2613 CFLAGS C compiler flags
2614 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2615 nonstandard directory <lib dir>
2616 LIBS libraries to pass to the linker, e.g. -l<library>
2617 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2618 you have headers in a nonstandard directory <include dir>
2619 CXX C++ compiler command
2620 CXXFLAGS C++ compiler flags
2621 CPP C preprocessor
2622 OBJC Objective C compiler command
2623 OBJCFLAGS Objective C compiler flags
2624 OBJCPP Objective C preprocessor
2625 XMKMF Path to xmkmf, Makefile generator for X Window System
2626 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2627 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2628 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2629 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2630 INOTIFY_CFLAGS
2631 C compiler flags for libinotify, overriding pkg-config
2632 INOTIFY_LIBS
2633 Linker flags for libinotify, overriding pkg-config
2634 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2635 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2636 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2637 HAL_LIBS Linker flags for hal, overriding pkg-config
2638 GNUTLS_CFLAGS
2639 C compiler flags for gnutls, overriding pkg-config
2640 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2641 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2642 SANE_LIBS Linker flags for libsane, overriding pkg-config
2643 GPHOTO2_CFLAGS
2644 C compiler flags for libgphoto2, overriding pkg-config
2645 GPHOTO2_LIBS
2646 Linker flags for libgphoto2, overriding pkg-config
2647 GPHOTO2_PORT_CFLAGS
2648 C compiler flags for libgphoto2_port, overriding pkg-config
2649 GPHOTO2_PORT_LIBS
2650 Linker flags for libgphoto2_port, overriding pkg-config
2651 LCMS2_CFLAGS
2652 C compiler flags for lcms2, overriding pkg-config
2653 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2654 FREETYPE_CFLAGS
2655 C compiler flags for freetype2, overriding pkg-config
2656 FREETYPE_LIBS
2657 Linker flags for freetype2, overriding pkg-config
2658 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2659 Z_LIBS Linker flags for libz, overriding pkg-config
2660 PULSE_CFLAGS
2661 C compiler flags for libpulse, overriding pkg-config
2662 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2663 GSTREAMER_CFLAGS
2664 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2665 gstreamer-audio-1.0, overriding pkg-config
2666 GSTREAMER_LIBS
2667 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2668 gstreamer-audio-1.0, overriding pkg-config
2669 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2670 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2671 UNWIND_CFLAGS
2672 C compiler flags for libunwind, overriding pkg-config
2673 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2674 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2675 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2676 FAUDIO_CFLAGS
2677 C compiler flags for faudio, overriding pkg-config
2678 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2679 CAPI20_CFLAGS
2680 C compiler flags for capi20, overriding pkg-config
2681 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2682 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2683 CUPS_LIBS Linker flags for cups, overriding pkg-config
2684 FONTCONFIG_CFLAGS
2685 C compiler flags for fontconfig, overriding pkg-config
2686 FONTCONFIG_LIBS
2687 Linker flags for fontconfig, overriding pkg-config
2688 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2689 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2690 GSSAPI_CFLAGS
2691 C compiler flags for krb5-gssapi, overriding pkg-config
2692 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2693 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2694 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2695 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2696 PNG_LIBS Linker flags for libpng, overriding pkg-config
2697 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2698 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2699 MPG123_CFLAGS
2700 C compiler flags for libmpg123, overriding pkg-config
2701 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2702 NETAPI_CFLAGS
2703 C compiler flags for netapi, overriding pkg-config
2704 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2705 VKD3D_CFLAGS
2706 C compiler flags for libvkd3d, overriding pkg-config
2707 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2708 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2709 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2711 Use these variables to override the choices made by `configure' or to help
2712 it to find libraries and programs with nonstandard names/locations.
2714 Report bugs to <wine-devel@winehq.org>.
2715 Wine home page: <https://www.winehq.org>.
2716 _ACEOF
2717 ac_status=$?
2720 if test "$ac_init_help" = "recursive"; then
2721 # If there are subdirs, report their specific --help.
2722 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2723 test -d "$ac_dir" ||
2724 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2725 continue
2726 ac_builddir=.
2728 case "$ac_dir" in
2729 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2731 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2732 # A ".." for each directory in $ac_dir_suffix.
2733 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2734 case $ac_top_builddir_sub in
2735 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2736 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2737 esac ;;
2738 esac
2739 ac_abs_top_builddir=$ac_pwd
2740 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2741 # for backward compatibility:
2742 ac_top_builddir=$ac_top_build_prefix
2744 case $srcdir in
2745 .) # We are building in place.
2746 ac_srcdir=.
2747 ac_top_srcdir=$ac_top_builddir_sub
2748 ac_abs_top_srcdir=$ac_pwd ;;
2749 [\\/]* | ?:[\\/]* ) # Absolute name.
2750 ac_srcdir=$srcdir$ac_dir_suffix;
2751 ac_top_srcdir=$srcdir
2752 ac_abs_top_srcdir=$srcdir ;;
2753 *) # Relative name.
2754 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2755 ac_top_srcdir=$ac_top_build_prefix$srcdir
2756 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2757 esac
2758 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2760 cd "$ac_dir" || { ac_status=$?; continue; }
2761 # Check for guested configure.
2762 if test -f "$ac_srcdir/configure.gnu"; then
2763 echo &&
2764 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2765 elif test -f "$ac_srcdir/configure"; then
2766 echo &&
2767 $SHELL "$ac_srcdir/configure" --help=recursive
2768 else
2769 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2770 fi || ac_status=$?
2771 cd "$ac_pwd" || { ac_status=$?; break; }
2772 done
2775 test -n "$ac_init_help" && exit $ac_status
2776 if $ac_init_version; then
2777 cat <<\_ACEOF
2778 Wine configure 5.5
2779 generated by GNU Autoconf 2.69
2781 Copyright (C) 2012 Free Software Foundation, Inc.
2782 This configure script is free software; the Free Software Foundation
2783 gives unlimited permission to copy, distribute and modify it.
2784 _ACEOF
2785 exit
2788 ## ------------------------ ##
2789 ## Autoconf initialization. ##
2790 ## ------------------------ ##
2792 # ac_fn_c_try_compile LINENO
2793 # --------------------------
2794 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2795 ac_fn_c_try_compile ()
2797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2798 rm -f conftest.$ac_objext
2799 if { { ac_try="$ac_compile"
2800 case "(($ac_try" in
2801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2803 esac
2804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2805 $as_echo "$ac_try_echo"; } >&5
2806 (eval "$ac_compile") 2>conftest.err
2807 ac_status=$?
2808 if test -s conftest.err; then
2809 grep -v '^ *+' conftest.err >conftest.er1
2810 cat conftest.er1 >&5
2811 mv -f conftest.er1 conftest.err
2813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2814 test $ac_status = 0; } && {
2815 test -z "$ac_c_werror_flag" ||
2816 test ! -s conftest.err
2817 } && test -s conftest.$ac_objext; then :
2818 ac_retval=0
2819 else
2820 $as_echo "$as_me: failed program was:" >&5
2821 sed 's/^/| /' conftest.$ac_ext >&5
2823 ac_retval=1
2825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2826 as_fn_set_status $ac_retval
2828 } # ac_fn_c_try_compile
2830 # ac_fn_cxx_try_compile LINENO
2831 # ----------------------------
2832 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2833 ac_fn_cxx_try_compile ()
2835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2836 rm -f conftest.$ac_objext
2837 if { { ac_try="$ac_compile"
2838 case "(($ac_try" in
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2841 esac
2842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2843 $as_echo "$ac_try_echo"; } >&5
2844 (eval "$ac_compile") 2>conftest.err
2845 ac_status=$?
2846 if test -s conftest.err; then
2847 grep -v '^ *+' conftest.err >conftest.er1
2848 cat conftest.er1 >&5
2849 mv -f conftest.er1 conftest.err
2851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852 test $ac_status = 0; } && {
2853 test -z "$ac_cxx_werror_flag" ||
2854 test ! -s conftest.err
2855 } && test -s conftest.$ac_objext; then :
2856 ac_retval=0
2857 else
2858 $as_echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2861 ac_retval=1
2863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2864 as_fn_set_status $ac_retval
2866 } # ac_fn_cxx_try_compile
2868 # ac_fn_c_try_link LINENO
2869 # -----------------------
2870 # Try to link conftest.$ac_ext, and return whether this succeeded.
2871 ac_fn_c_try_link ()
2873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2874 rm -f conftest.$ac_objext conftest$ac_exeext
2875 if { { ac_try="$ac_link"
2876 case "(($ac_try" in
2877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2879 esac
2880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2881 $as_echo "$ac_try_echo"; } >&5
2882 (eval "$ac_link") 2>conftest.err
2883 ac_status=$?
2884 if test -s conftest.err; then
2885 grep -v '^ *+' conftest.err >conftest.er1
2886 cat conftest.er1 >&5
2887 mv -f conftest.er1 conftest.err
2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890 test $ac_status = 0; } && {
2891 test -z "$ac_c_werror_flag" ||
2892 test ! -s conftest.err
2893 } && test -s conftest$ac_exeext && {
2894 test "$cross_compiling" = yes ||
2895 test -x conftest$ac_exeext
2896 }; then :
2897 ac_retval=0
2898 else
2899 $as_echo "$as_me: failed program was:" >&5
2900 sed 's/^/| /' conftest.$ac_ext >&5
2902 ac_retval=1
2904 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2905 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2906 # interfere with the next link command; also delete a directory that is
2907 # left behind by Apple's compiler. We do this before executing the actions.
2908 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2910 as_fn_set_status $ac_retval
2912 } # ac_fn_c_try_link
2914 # ac_fn_c_try_cpp LINENO
2915 # ----------------------
2916 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2917 ac_fn_c_try_cpp ()
2919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2920 if { { ac_try="$ac_cpp conftest.$ac_ext"
2921 case "(($ac_try" in
2922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923 *) ac_try_echo=$ac_try;;
2924 esac
2925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2926 $as_echo "$ac_try_echo"; } >&5
2927 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2928 ac_status=$?
2929 if test -s conftest.err; then
2930 grep -v '^ *+' conftest.err >conftest.er1
2931 cat conftest.er1 >&5
2932 mv -f conftest.er1 conftest.err
2934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2935 test $ac_status = 0; } > conftest.i && {
2936 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2937 test ! -s conftest.err
2938 }; then :
2939 ac_retval=0
2940 else
2941 $as_echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.$ac_ext >&5
2944 ac_retval=1
2946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2947 as_fn_set_status $ac_retval
2949 } # ac_fn_c_try_cpp
2951 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2952 # -------------------------------------------------------
2953 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2954 # the include files in INCLUDES and setting the cache variable VAR
2955 # accordingly.
2956 ac_fn_c_check_header_mongrel ()
2958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2959 if eval \${$3+:} false; then :
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2961 $as_echo_n "checking for $2... " >&6; }
2962 if eval \${$3+:} false; then :
2963 $as_echo_n "(cached) " >&6
2965 eval ac_res=\$$3
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2967 $as_echo "$ac_res" >&6; }
2968 else
2969 # Is the header compilable?
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2971 $as_echo_n "checking $2 usability... " >&6; }
2972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973 /* end confdefs.h. */
2975 #include <$2>
2976 _ACEOF
2977 if ac_fn_c_try_compile "$LINENO"; then :
2978 ac_header_compiler=yes
2979 else
2980 ac_header_compiler=no
2982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2984 $as_echo "$ac_header_compiler" >&6; }
2986 # Is the header present?
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2988 $as_echo_n "checking $2 presence... " >&6; }
2989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2990 /* end confdefs.h. */
2991 #include <$2>
2992 _ACEOF
2993 if ac_fn_c_try_cpp "$LINENO"; then :
2994 ac_header_preproc=yes
2995 else
2996 ac_header_preproc=no
2998 rm -f conftest.err conftest.i conftest.$ac_ext
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3000 $as_echo "$ac_header_preproc" >&6; }
3002 # So? What about this header?
3003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3004 yes:no: )
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3006 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3008 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3010 no:yes:* )
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3012 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3014 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3016 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3018 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3020 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3021 ( $as_echo "## ------------------------------------ ##
3022 ## Report this to wine-devel@winehq.org ##
3023 ## ------------------------------------ ##"
3024 ) | sed "s/^/$as_me: WARNING: /" >&2
3026 esac
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3028 $as_echo_n "checking for $2... " >&6; }
3029 if eval \${$3+:} false; then :
3030 $as_echo_n "(cached) " >&6
3031 else
3032 eval "$3=\$ac_header_compiler"
3034 eval ac_res=\$$3
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3036 $as_echo "$ac_res" >&6; }
3038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3040 } # ac_fn_c_check_header_mongrel
3042 # ac_fn_c_try_run LINENO
3043 # ----------------------
3044 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3045 # that executables *can* be run.
3046 ac_fn_c_try_run ()
3048 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3049 if { { ac_try="$ac_link"
3050 case "(($ac_try" in
3051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3052 *) ac_try_echo=$ac_try;;
3053 esac
3054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3055 $as_echo "$ac_try_echo"; } >&5
3056 (eval "$ac_link") 2>&5
3057 ac_status=$?
3058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3059 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3060 { { case "(($ac_try" in
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3063 esac
3064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3065 $as_echo "$ac_try_echo"; } >&5
3066 (eval "$ac_try") 2>&5
3067 ac_status=$?
3068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3069 test $ac_status = 0; }; }; then :
3070 ac_retval=0
3071 else
3072 $as_echo "$as_me: program exited with status $ac_status" >&5
3073 $as_echo "$as_me: failed program was:" >&5
3074 sed 's/^/| /' conftest.$ac_ext >&5
3076 ac_retval=$ac_status
3078 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3080 as_fn_set_status $ac_retval
3082 } # ac_fn_c_try_run
3084 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3085 # -------------------------------------------------------
3086 # Tests whether HEADER exists and can be compiled using the include files in
3087 # INCLUDES, setting the cache variable VAR accordingly.
3088 ac_fn_c_check_header_compile ()
3090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3092 $as_echo_n "checking for $2... " >&6; }
3093 if eval \${$3+:} false; then :
3094 $as_echo_n "(cached) " >&6
3095 else
3096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3097 /* end confdefs.h. */
3099 #include <$2>
3100 _ACEOF
3101 if ac_fn_c_try_compile "$LINENO"; then :
3102 eval "$3=yes"
3103 else
3104 eval "$3=no"
3106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3108 eval ac_res=\$$3
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3110 $as_echo "$ac_res" >&6; }
3111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3113 } # ac_fn_c_check_header_compile
3115 # ac_fn_objc_try_compile LINENO
3116 # -----------------------------
3117 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3118 ac_fn_objc_try_compile ()
3120 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3121 rm -f conftest.$ac_objext
3122 if { { ac_try="$ac_compile"
3123 case "(($ac_try" in
3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125 *) ac_try_echo=$ac_try;;
3126 esac
3127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3128 $as_echo "$ac_try_echo"; } >&5
3129 (eval "$ac_compile") 2>conftest.err
3130 ac_status=$?
3131 if test -s conftest.err; then
3132 grep -v '^ *+' conftest.err >conftest.er1
3133 cat conftest.er1 >&5
3134 mv -f conftest.er1 conftest.err
3136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3137 test $ac_status = 0; } && {
3138 test -z "$ac_objc_werror_flag" ||
3139 test ! -s conftest.err
3140 } && test -s conftest.$ac_objext; then :
3141 ac_retval=0
3142 else
3143 $as_echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3146 ac_retval=1
3148 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3149 as_fn_set_status $ac_retval
3151 } # ac_fn_objc_try_compile
3153 # ac_fn_objc_try_cpp LINENO
3154 # -------------------------
3155 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3156 ac_fn_objc_try_cpp ()
3158 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3159 if { { ac_try="$ac_cpp conftest.$ac_ext"
3160 case "(($ac_try" in
3161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3162 *) ac_try_echo=$ac_try;;
3163 esac
3164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3165 $as_echo "$ac_try_echo"; } >&5
3166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3167 ac_status=$?
3168 if test -s conftest.err; then
3169 grep -v '^ *+' conftest.err >conftest.er1
3170 cat conftest.er1 >&5
3171 mv -f conftest.er1 conftest.err
3173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3174 test $ac_status = 0; } > conftest.i && {
3175 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3176 test ! -s conftest.err
3177 }; then :
3178 ac_retval=0
3179 else
3180 $as_echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.$ac_ext >&5
3183 ac_retval=1
3185 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3186 as_fn_set_status $ac_retval
3188 } # ac_fn_objc_try_cpp
3190 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3191 # ----------------------------------------------------------
3192 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3193 # the include files in INCLUDES and setting the cache variable VAR
3194 # accordingly.
3195 ac_fn_objc_check_header_mongrel ()
3197 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3198 if eval \${$3+:} false; then :
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3200 $as_echo_n "checking for $2... " >&6; }
3201 if eval \${$3+:} false; then :
3202 $as_echo_n "(cached) " >&6
3204 eval ac_res=\$$3
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3206 $as_echo "$ac_res" >&6; }
3207 else
3208 # Is the header compilable?
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3210 $as_echo_n "checking $2 usability... " >&6; }
3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3212 /* end confdefs.h. */
3214 #include <$2>
3215 _ACEOF
3216 if ac_fn_objc_try_compile "$LINENO"; then :
3217 ac_header_compiler=yes
3218 else
3219 ac_header_compiler=no
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3223 $as_echo "$ac_header_compiler" >&6; }
3225 # Is the header present?
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3227 $as_echo_n "checking $2 presence... " >&6; }
3228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3229 /* end confdefs.h. */
3230 #include <$2>
3231 _ACEOF
3232 if ac_fn_objc_try_cpp "$LINENO"; then :
3233 ac_header_preproc=yes
3234 else
3235 ac_header_preproc=no
3237 rm -f conftest.err conftest.i conftest.$ac_ext
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3239 $as_echo "$ac_header_preproc" >&6; }
3241 # So? What about this header?
3242 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3243 yes:no: )
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3245 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3247 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3249 no:yes:* )
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3251 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3253 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3255 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3257 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3259 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3260 ( $as_echo "## ------------------------------------ ##
3261 ## Report this to wine-devel@winehq.org ##
3262 ## ------------------------------------ ##"
3263 ) | sed "s/^/$as_me: WARNING: /" >&2
3265 esac
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3267 $as_echo_n "checking for $2... " >&6; }
3268 if eval \${$3+:} false; then :
3269 $as_echo_n "(cached) " >&6
3270 else
3271 eval "$3=\$ac_header_compiler"
3273 eval ac_res=\$$3
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3275 $as_echo "$ac_res" >&6; }
3277 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3279 } # ac_fn_objc_check_header_mongrel
3281 # ac_fn_c_check_func LINENO FUNC VAR
3282 # ----------------------------------
3283 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3284 ac_fn_c_check_func ()
3286 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3288 $as_echo_n "checking for $2... " >&6; }
3289 if eval \${$3+:} false; then :
3290 $as_echo_n "(cached) " >&6
3291 else
3292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h. */
3294 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3296 #define $2 innocuous_$2
3298 /* System header to define __stub macros and hopefully few prototypes,
3299 which can conflict with char $2 (); below.
3300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3301 <limits.h> exists even on freestanding compilers. */
3303 #ifdef __STDC__
3304 # include <limits.h>
3305 #else
3306 # include <assert.h>
3307 #endif
3309 #undef $2
3311 /* Override any GCC internal prototype to avoid an error.
3312 Use char because int might match the return type of a GCC
3313 builtin and then its argument prototype would still apply. */
3314 #ifdef __cplusplus
3315 extern "C"
3316 #endif
3317 char $2 ();
3318 /* The GNU C library defines this for functions which it implements
3319 to always fail with ENOSYS. Some functions are actually named
3320 something starting with __ and the normal name is an alias. */
3321 #if defined __stub_$2 || defined __stub___$2
3322 choke me
3323 #endif
3326 main ()
3328 return $2 ();
3330 return 0;
3332 _ACEOF
3333 if ac_fn_c_try_link "$LINENO"; then :
3334 eval "$3=yes"
3335 else
3336 eval "$3=no"
3338 rm -f core conftest.err conftest.$ac_objext \
3339 conftest$ac_exeext conftest.$ac_ext
3341 eval ac_res=\$$3
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3343 $as_echo "$ac_res" >&6; }
3344 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3346 } # ac_fn_c_check_func
3348 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3349 # ----------------------------------------------------
3350 # Tries to find if the field MEMBER exists in type AGGR, after including
3351 # INCLUDES, setting cache variable VAR accordingly.
3352 ac_fn_c_check_member ()
3354 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3356 $as_echo_n "checking for $2.$3... " >&6; }
3357 if eval \${$4+:} false; then :
3358 $as_echo_n "(cached) " >&6
3359 else
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3364 main ()
3366 static $2 ac_aggr;
3367 if (ac_aggr.$3)
3368 return 0;
3370 return 0;
3372 _ACEOF
3373 if ac_fn_c_try_compile "$LINENO"; then :
3374 eval "$4=yes"
3375 else
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3380 main ()
3382 static $2 ac_aggr;
3383 if (sizeof ac_aggr.$3)
3384 return 0;
3386 return 0;
3388 _ACEOF
3389 if ac_fn_c_try_compile "$LINENO"; then :
3390 eval "$4=yes"
3391 else
3392 eval "$4=no"
3394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3398 eval ac_res=\$$4
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3400 $as_echo "$ac_res" >&6; }
3401 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3403 } # ac_fn_c_check_member
3405 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3406 # -------------------------------------------
3407 # Tests whether TYPE exists after having included INCLUDES, setting cache
3408 # variable VAR accordingly.
3409 ac_fn_c_check_type ()
3411 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3413 $as_echo_n "checking for $2... " >&6; }
3414 if eval \${$3+:} false; then :
3415 $as_echo_n "(cached) " >&6
3416 else
3417 eval "$3=no"
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3422 main ()
3424 if (sizeof ($2))
3425 return 0;
3427 return 0;
3429 _ACEOF
3430 if ac_fn_c_try_compile "$LINENO"; then :
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3435 main ()
3437 if (sizeof (($2)))
3438 return 0;
3440 return 0;
3442 _ACEOF
3443 if ac_fn_c_try_compile "$LINENO"; then :
3445 else
3446 eval "$3=yes"
3448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 eval ac_res=\$$3
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3454 $as_echo "$ac_res" >&6; }
3455 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3457 } # ac_fn_c_check_type
3458 cat >config.log <<_ACEOF
3459 This file contains any messages produced by compilers while
3460 running configure, to aid debugging if configure makes a mistake.
3462 It was created by Wine $as_me 5.5, which was
3463 generated by GNU Autoconf 2.69. Invocation command line was
3465 $ $0 $@
3467 _ACEOF
3468 exec 5>>config.log
3470 cat <<_ASUNAME
3471 ## --------- ##
3472 ## Platform. ##
3473 ## --------- ##
3475 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3476 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3477 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3478 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3479 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3481 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3482 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3484 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3485 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3486 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3487 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3488 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3489 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3490 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3492 _ASUNAME
3494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3495 for as_dir in $PATH
3497 IFS=$as_save_IFS
3498 test -z "$as_dir" && as_dir=.
3499 $as_echo "PATH: $as_dir"
3500 done
3501 IFS=$as_save_IFS
3503 } >&5
3505 cat >&5 <<_ACEOF
3508 ## ----------- ##
3509 ## Core tests. ##
3510 ## ----------- ##
3512 _ACEOF
3515 # Keep a trace of the command line.
3516 # Strip out --no-create and --no-recursion so they do not pile up.
3517 # Strip out --silent because we don't want to record it for future runs.
3518 # Also quote any args containing shell meta-characters.
3519 # Make two passes to allow for proper duplicate-argument suppression.
3520 ac_configure_args=
3521 ac_configure_args0=
3522 ac_configure_args1=
3523 ac_must_keep_next=false
3524 for ac_pass in 1 2
3526 for ac_arg
3528 case $ac_arg in
3529 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3530 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3531 | -silent | --silent | --silen | --sile | --sil)
3532 continue ;;
3533 *\'*)
3534 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3535 esac
3536 case $ac_pass in
3537 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3539 as_fn_append ac_configure_args1 " '$ac_arg'"
3540 if test $ac_must_keep_next = true; then
3541 ac_must_keep_next=false # Got value, back to normal.
3542 else
3543 case $ac_arg in
3544 *=* | --config-cache | -C | -disable-* | --disable-* \
3545 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3546 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3547 | -with-* | --with-* | -without-* | --without-* | --x)
3548 case "$ac_configure_args0 " in
3549 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3550 esac
3552 -* ) ac_must_keep_next=true ;;
3553 esac
3555 as_fn_append ac_configure_args " '$ac_arg'"
3557 esac
3558 done
3559 done
3560 { ac_configure_args0=; unset ac_configure_args0;}
3561 { ac_configure_args1=; unset ac_configure_args1;}
3563 # When interrupted or exit'd, cleanup temporary files, and complete
3564 # config.log. We remove comments because anyway the quotes in there
3565 # would cause problems or look ugly.
3566 # WARNING: Use '\'' to represent an apostrophe within the trap.
3567 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3568 trap 'exit_status=$?
3569 # Save into config.log some information that might help in debugging.
3571 echo
3573 $as_echo "## ---------------- ##
3574 ## Cache variables. ##
3575 ## ---------------- ##"
3576 echo
3577 # The following way of writing the cache mishandles newlines in values,
3579 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3580 eval ac_val=\$$ac_var
3581 case $ac_val in #(
3582 *${as_nl}*)
3583 case $ac_var in #(
3584 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3585 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3586 esac
3587 case $ac_var in #(
3588 _ | IFS | as_nl) ;; #(
3589 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3590 *) { eval $ac_var=; unset $ac_var;} ;;
3591 esac ;;
3592 esac
3593 done
3594 (set) 2>&1 |
3595 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3596 *${as_nl}ac_space=\ *)
3597 sed -n \
3598 "s/'\''/'\''\\\\'\'''\''/g;
3599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3600 ;; #(
3602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3604 esac |
3605 sort
3607 echo
3609 $as_echo "## ----------------- ##
3610 ## Output variables. ##
3611 ## ----------------- ##"
3612 echo
3613 for ac_var in $ac_subst_vars
3615 eval ac_val=\$$ac_var
3616 case $ac_val in
3617 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3618 esac
3619 $as_echo "$ac_var='\''$ac_val'\''"
3620 done | sort
3621 echo
3623 if test -n "$ac_subst_files"; then
3624 $as_echo "## ------------------- ##
3625 ## File substitutions. ##
3626 ## ------------------- ##"
3627 echo
3628 for ac_var in $ac_subst_files
3630 eval ac_val=\$$ac_var
3631 case $ac_val in
3632 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3633 esac
3634 $as_echo "$ac_var='\''$ac_val'\''"
3635 done | sort
3636 echo
3639 if test -s confdefs.h; then
3640 $as_echo "## ----------- ##
3641 ## confdefs.h. ##
3642 ## ----------- ##"
3643 echo
3644 cat confdefs.h
3645 echo
3647 test "$ac_signal" != 0 &&
3648 $as_echo "$as_me: caught signal $ac_signal"
3649 $as_echo "$as_me: exit $exit_status"
3650 } >&5
3651 rm -f core *.core core.conftest.* &&
3652 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3653 exit $exit_status
3655 for ac_signal in 1 2 13 15; do
3656 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3657 done
3658 ac_signal=0
3660 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3661 rm -f -r conftest* confdefs.h
3663 $as_echo "/* confdefs.h */" > confdefs.h
3665 # Predefined preprocessor variables.
3667 cat >>confdefs.h <<_ACEOF
3668 #define PACKAGE_NAME "$PACKAGE_NAME"
3669 _ACEOF
3671 cat >>confdefs.h <<_ACEOF
3672 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3673 _ACEOF
3675 cat >>confdefs.h <<_ACEOF
3676 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3677 _ACEOF
3679 cat >>confdefs.h <<_ACEOF
3680 #define PACKAGE_STRING "$PACKAGE_STRING"
3681 _ACEOF
3683 cat >>confdefs.h <<_ACEOF
3684 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3685 _ACEOF
3687 cat >>confdefs.h <<_ACEOF
3688 #define PACKAGE_URL "$PACKAGE_URL"
3689 _ACEOF
3692 # Let the site file select an alternate cache file if it wants to.
3693 # Prefer an explicitly selected file to automatically selected ones.
3694 ac_site_file1=NONE
3695 ac_site_file2=NONE
3696 if test -n "$CONFIG_SITE"; then
3697 # We do not want a PATH search for config.site.
3698 case $CONFIG_SITE in #((
3699 -*) ac_site_file1=./$CONFIG_SITE;;
3700 */*) ac_site_file1=$CONFIG_SITE;;
3701 *) ac_site_file1=./$CONFIG_SITE;;
3702 esac
3703 elif test "x$prefix" != xNONE; then
3704 ac_site_file1=$prefix/share/config.site
3705 ac_site_file2=$prefix/etc/config.site
3706 else
3707 ac_site_file1=$ac_default_prefix/share/config.site
3708 ac_site_file2=$ac_default_prefix/etc/config.site
3710 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3712 test "x$ac_site_file" = xNONE && continue
3713 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3715 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3716 sed 's/^/| /' "$ac_site_file" >&5
3717 . "$ac_site_file" \
3718 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3720 as_fn_error $? "failed to load site script $ac_site_file
3721 See \`config.log' for more details" "$LINENO" 5; }
3723 done
3725 if test -r "$cache_file"; then
3726 # Some versions of bash will fail to source /dev/null (special files
3727 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3728 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3730 $as_echo "$as_me: loading cache $cache_file" >&6;}
3731 case $cache_file in
3732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3733 *) . "./$cache_file";;
3734 esac
3736 else
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3738 $as_echo "$as_me: creating cache $cache_file" >&6;}
3739 >$cache_file
3742 # Check that the precious variables saved in the cache have kept the same
3743 # value.
3744 ac_cache_corrupted=false
3745 for ac_var in $ac_precious_vars; do
3746 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3747 eval ac_new_set=\$ac_env_${ac_var}_set
3748 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3749 eval ac_new_val=\$ac_env_${ac_var}_value
3750 case $ac_old_set,$ac_new_set in
3751 set,)
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3753 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3754 ac_cache_corrupted=: ;;
3755 ,set)
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3757 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3758 ac_cache_corrupted=: ;;
3759 ,);;
3761 if test "x$ac_old_val" != "x$ac_new_val"; then
3762 # differences in whitespace do not lead to failure.
3763 ac_old_val_w=`echo x $ac_old_val`
3764 ac_new_val_w=`echo x $ac_new_val`
3765 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3767 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3768 ac_cache_corrupted=:
3769 else
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3771 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3772 eval $ac_var=\$ac_old_val
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3775 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3777 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3778 fi;;
3779 esac
3780 # Pass precious variables to config.status.
3781 if test "$ac_new_set" = set; then
3782 case $ac_new_val in
3783 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3784 *) ac_arg=$ac_var=$ac_new_val ;;
3785 esac
3786 case " $ac_configure_args " in
3787 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3788 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3789 esac
3791 done
3792 if $ac_cache_corrupted; then
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3796 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3797 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3799 ## -------------------- ##
3800 ## Main body of script. ##
3801 ## -------------------- ##
3803 ac_ext=c
3804 ac_cpp='$CPP $CPPFLAGS'
3805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3811 ac_config_headers="$ac_config_headers include/config.h"
3813 ac_aux_dir=
3814 for ac_dir in tools "$srcdir"/tools; do
3815 if test -f "$ac_dir/install-sh"; then
3816 ac_aux_dir=$ac_dir
3817 ac_install_sh="$ac_aux_dir/install-sh -c"
3818 break
3819 elif test -f "$ac_dir/install.sh"; then
3820 ac_aux_dir=$ac_dir
3821 ac_install_sh="$ac_aux_dir/install.sh -c"
3822 break
3823 elif test -f "$ac_dir/shtool"; then
3824 ac_aux_dir=$ac_dir
3825 ac_install_sh="$ac_aux_dir/shtool install -c"
3826 break
3828 done
3829 if test -z "$ac_aux_dir"; then
3830 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3833 # These three variables are undocumented and unsupported,
3834 # and are intended to be withdrawn in a future Autoconf release.
3835 # They can cause serious problems if a builder's source tree is in a directory
3836 # whose full name contains unusual characters.
3837 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3838 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3839 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3843 libwine_version="1.0"
3847 # Check whether --enable-win16 was given.
3848 if test "${enable_win16+set}" = set; then :
3849 enableval=$enable_win16;
3852 # Check whether --enable-win64 was given.
3853 if test "${enable_win64+set}" = set; then :
3854 enableval=$enable_win64;
3857 # Check whether --enable-tests was given.
3858 if test "${enable_tests+set}" = set; then :
3859 enableval=$enable_tests;
3862 # Check whether --enable-maintainer-mode was given.
3863 if test "${enable_maintainer_mode+set}" = set; then :
3864 enableval=$enable_maintainer_mode;
3867 # Check whether --enable-werror was given.
3868 if test "${enable_werror+set}" = set; then :
3869 enableval=$enable_werror;
3874 # Check whether --with-alsa was given.
3875 if test "${with_alsa+set}" = set; then :
3876 withval=$with_alsa;
3880 # Check whether --with-capi was given.
3881 if test "${with_capi+set}" = set; then :
3882 withval=$with_capi;
3886 # Check whether --with-cms was given.
3887 if test "${with_cms+set}" = set; then :
3888 withval=$with_cms;
3892 # Check whether --with-coreaudio was given.
3893 if test "${with_coreaudio+set}" = set; then :
3894 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3898 # Check whether --with-cups was given.
3899 if test "${with_cups+set}" = set; then :
3900 withval=$with_cups;
3904 # Check whether --with-curses was given.
3905 if test "${with_curses+set}" = set; then :
3906 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3910 # Check whether --with-dbus was given.
3911 if test "${with_dbus+set}" = set; then :
3912 withval=$with_dbus;
3916 # Check whether --with-faudio was given.
3917 if test "${with_faudio+set}" = set; then :
3918 withval=$with_faudio;
3922 # Check whether --with-float-abi was given.
3923 if test "${with_float_abi+set}" = set; then :
3924 withval=$with_float_abi;
3928 # Check whether --with-fontconfig was given.
3929 if test "${with_fontconfig+set}" = set; then :
3930 withval=$with_fontconfig;
3934 # Check whether --with-freetype was given.
3935 if test "${with_freetype+set}" = set; then :
3936 withval=$with_freetype;
3940 # Check whether --with-gettext was given.
3941 if test "${with_gettext+set}" = set; then :
3942 withval=$with_gettext;
3946 # Check whether --with-gettextpo was given.
3947 if test "${with_gettextpo+set}" = set; then :
3948 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3952 # Check whether --with-gphoto was given.
3953 if test "${with_gphoto+set}" = set; then :
3954 withval=$with_gphoto;
3958 # Check whether --with-glu was given.
3959 if test "${with_glu+set}" = set; then :
3960 withval=$with_glu;
3964 # Check whether --with-gnutls was given.
3965 if test "${with_gnutls+set}" = set; then :
3966 withval=$with_gnutls;
3970 # Check whether --with-gsm was given.
3971 if test "${with_gsm+set}" = set; then :
3972 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3976 # Check whether --with-gssapi was given.
3977 if test "${with_gssapi+set}" = set; then :
3978 withval=$with_gssapi;
3982 # Check whether --with-gstreamer was given.
3983 if test "${with_gstreamer+set}" = set; then :
3984 withval=$with_gstreamer;
3988 # Check whether --with-hal was given.
3989 if test "${with_hal+set}" = set; then :
3990 withval=$with_hal;
3994 # Check whether --with-inotify was given.
3995 if test "${with_inotify+set}" = set; then :
3996 withval=$with_inotify;
4000 # Check whether --with-jpeg was given.
4001 if test "${with_jpeg+set}" = set; then :
4002 withval=$with_jpeg;
4006 # Check whether --with-krb5 was given.
4007 if test "${with_krb5+set}" = set; then :
4008 withval=$with_krb5;
4012 # Check whether --with-ldap was given.
4013 if test "${with_ldap+set}" = set; then :
4014 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4018 # Check whether --with-mingw was given.
4019 if test "${with_mingw+set}" = set; then :
4020 withval=$with_mingw;
4024 # Check whether --with-mpg123 was given.
4025 if test "${with_mpg123+set}" = set; then :
4026 withval=$with_mpg123;
4030 # Check whether --with-netapi was given.
4031 if test "${with_netapi+set}" = set; then :
4032 withval=$with_netapi;
4036 # Check whether --with-openal was given.
4037 if test "${with_openal+set}" = set; then :
4038 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4042 # Check whether --with-opencl was given.
4043 if test "${with_opencl+set}" = set; then :
4044 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4048 # Check whether --with-opengl was given.
4049 if test "${with_opengl+set}" = set; then :
4050 withval=$with_opengl;
4054 # Check whether --with-osmesa was given.
4055 if test "${with_osmesa+set}" = set; then :
4056 withval=$with_osmesa;
4060 # Check whether --with-oss was given.
4061 if test "${with_oss+set}" = set; then :
4062 withval=$with_oss;
4066 # Check whether --with-pcap was given.
4067 if test "${with_pcap+set}" = set; then :
4068 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4072 # Check whether --with-png was given.
4073 if test "${with_png+set}" = set; then :
4074 withval=$with_png;
4078 # Check whether --with-pthread was given.
4079 if test "${with_pthread+set}" = set; then :
4080 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4084 # Check whether --with-pulse was given.
4085 if test "${with_pulse+set}" = set; then :
4086 withval=$with_pulse;
4090 # Check whether --with-sane was given.
4091 if test "${with_sane+set}" = set; then :
4092 withval=$with_sane;
4096 # Check whether --with-sdl was given.
4097 if test "${with_sdl+set}" = set; then :
4098 withval=$with_sdl;
4102 # Check whether --with-tiff was given.
4103 if test "${with_tiff+set}" = set; then :
4104 withval=$with_tiff;
4108 # Check whether --with-udev was given.
4109 if test "${with_udev+set}" = set; then :
4110 withval=$with_udev;
4114 # Check whether --with-unwind was given.
4115 if test "${with_unwind+set}" = set; then :
4116 withval=$with_unwind;
4120 # Check whether --with-v4l2 was given.
4121 if test "${with_v4l2+set}" = set; then :
4122 withval=$with_v4l2;
4126 # Check whether --with-vkd3d was given.
4127 if test "${with_vkd3d+set}" = set; then :
4128 withval=$with_vkd3d;
4132 # Check whether --with-vulkan was given.
4133 if test "${with_vulkan+set}" = set; then :
4134 withval=$with_vulkan;
4138 # Check whether --with-xcomposite was given.
4139 if test "${with_xcomposite+set}" = set; then :
4140 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4144 # Check whether --with-xcursor was given.
4145 if test "${with_xcursor+set}" = set; then :
4146 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4150 # Check whether --with-xfixes was given.
4151 if test "${with_xfixes+set}" = set; then :
4152 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4156 # Check whether --with-xinerama was given.
4157 if test "${with_xinerama+set}" = set; then :
4158 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4162 # Check whether --with-xinput was given.
4163 if test "${with_xinput+set}" = set; then :
4164 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4168 # Check whether --with-xinput2 was given.
4169 if test "${with_xinput2+set}" = set; then :
4170 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4174 # Check whether --with-xml was given.
4175 if test "${with_xml+set}" = set; then :
4176 withval=$with_xml;
4180 # Check whether --with-xrandr was given.
4181 if test "${with_xrandr+set}" = set; then :
4182 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4186 # Check whether --with-xrender was given.
4187 if test "${with_xrender+set}" = set; then :
4188 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4192 # Check whether --with-xshape was given.
4193 if test "${with_xshape+set}" = set; then :
4194 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4198 # Check whether --with-xshm was given.
4199 if test "${with_xshm+set}" = set; then :
4200 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4204 # Check whether --with-xslt was given.
4205 if test "${with_xslt+set}" = set; then :
4206 withval=$with_xslt;
4210 # Check whether --with-xxf86vm was given.
4211 if test "${with_xxf86vm+set}" = set; then :
4212 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
4216 # Check whether --with-zlib was given.
4217 if test "${with_zlib+set}" = set; then :
4218 withval=$with_zlib;
4223 # Check whether --with-wine-tools was given.
4224 if test "${with_wine_tools+set}" = set; then :
4225 withval=$with_wine_tools;
4229 # Check whether --with-wine64 was given.
4230 if test "${with_wine64+set}" = set; then :
4231 withval=$with_wine64;
4235 # Make sure we can run config.sub.
4236 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4237 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4240 $as_echo_n "checking build system type... " >&6; }
4241 if ${ac_cv_build+:} false; then :
4242 $as_echo_n "(cached) " >&6
4243 else
4244 ac_build_alias=$build_alias
4245 test "x$ac_build_alias" = x &&
4246 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4247 test "x$ac_build_alias" = x &&
4248 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4249 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4250 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4254 $as_echo "$ac_cv_build" >&6; }
4255 case $ac_cv_build in
4256 *-*-*) ;;
4257 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4258 esac
4259 build=$ac_cv_build
4260 ac_save_IFS=$IFS; IFS='-'
4261 set x $ac_cv_build
4262 shift
4263 build_cpu=$1
4264 build_vendor=$2
4265 shift; shift
4266 # Remember, the first character of IFS is used to create $*,
4267 # except with old shells:
4268 build_os=$*
4269 IFS=$ac_save_IFS
4270 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4274 $as_echo_n "checking host system type... " >&6; }
4275 if ${ac_cv_host+:} false; then :
4276 $as_echo_n "(cached) " >&6
4277 else
4278 if test "x$host_alias" = x; then
4279 ac_cv_host=$ac_cv_build
4280 else
4281 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4282 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4287 $as_echo "$ac_cv_host" >&6; }
4288 case $ac_cv_host in
4289 *-*-*) ;;
4290 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4291 esac
4292 host=$ac_cv_host
4293 ac_save_IFS=$IFS; IFS='-'
4294 set x $ac_cv_host
4295 shift
4296 host_cpu=$1
4297 host_vendor=$2
4298 shift; shift
4299 # Remember, the first character of IFS is used to create $*,
4300 # except with old shells:
4301 host_os=$*
4302 IFS=$ac_save_IFS
4303 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4309 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4310 set x ${MAKE-make}
4311 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4312 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4313 $as_echo_n "(cached) " >&6
4314 else
4315 cat >conftest.make <<\_ACEOF
4316 SHELL = /bin/sh
4317 all:
4318 @echo '@@@%%%=$(MAKE)=@@@%%%'
4319 _ACEOF
4320 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4321 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4322 *@@@%%%=?*=@@@%%%*)
4323 eval ac_cv_prog_make_${ac_make}_set=yes;;
4325 eval ac_cv_prog_make_${ac_make}_set=no;;
4326 esac
4327 rm -f conftest.make
4329 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4331 $as_echo "yes" >&6; }
4332 SET_MAKE=
4333 else
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4335 $as_echo "no" >&6; }
4336 SET_MAKE="MAKE=${MAKE-make}"
4339 ac_ext=c
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4344 if test -n "$ac_tool_prefix"; then
4345 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4346 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_prog_CC+:} false; then :
4350 $as_echo_n "(cached) " >&6
4351 else
4352 if test -n "$CC"; then
4353 ac_cv_prog_CC="$CC" # Let the user override the test.
4354 else
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 for as_dir in $PATH
4358 IFS=$as_save_IFS
4359 test -z "$as_dir" && as_dir=.
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4362 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4364 break 2
4366 done
4367 done
4368 IFS=$as_save_IFS
4372 CC=$ac_cv_prog_CC
4373 if test -n "$CC"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4375 $as_echo "$CC" >&6; }
4376 else
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4383 if test -z "$ac_cv_prog_CC"; then
4384 ac_ct_CC=$CC
4385 # Extract the first word of "gcc", so it can be a program name with args.
4386 set dummy gcc; ac_word=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4390 $as_echo_n "(cached) " >&6
4391 else
4392 if test -n "$ac_ct_CC"; then
4393 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4394 else
4395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4396 for as_dir in $PATH
4398 IFS=$as_save_IFS
4399 test -z "$as_dir" && as_dir=.
4400 for ac_exec_ext in '' $ac_executable_extensions; do
4401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4402 ac_cv_prog_ac_ct_CC="gcc"
4403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4404 break 2
4406 done
4407 done
4408 IFS=$as_save_IFS
4412 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4413 if test -n "$ac_ct_CC"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4415 $as_echo "$ac_ct_CC" >&6; }
4416 else
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4421 if test "x$ac_ct_CC" = x; then
4422 CC=""
4423 else
4424 case $cross_compiling:$ac_tool_warned in
4425 yes:)
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4428 ac_tool_warned=yes ;;
4429 esac
4430 CC=$ac_ct_CC
4432 else
4433 CC="$ac_cv_prog_CC"
4436 if test -z "$CC"; then
4437 if test -n "$ac_tool_prefix"; then
4438 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4439 set dummy ${ac_tool_prefix}cc; ac_word=$2
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441 $as_echo_n "checking for $ac_word... " >&6; }
4442 if ${ac_cv_prog_CC+:} false; then :
4443 $as_echo_n "(cached) " >&6
4444 else
4445 if test -n "$CC"; then
4446 ac_cv_prog_CC="$CC" # Let the user override the test.
4447 else
4448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4449 for as_dir in $PATH
4451 IFS=$as_save_IFS
4452 test -z "$as_dir" && as_dir=.
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_CC="${ac_tool_prefix}cc"
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4457 break 2
4459 done
4460 done
4461 IFS=$as_save_IFS
4465 CC=$ac_cv_prog_CC
4466 if test -n "$CC"; then
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4468 $as_echo "$CC" >&6; }
4469 else
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4471 $as_echo "no" >&6; }
4477 if test -z "$CC"; then
4478 # Extract the first word of "cc", so it can be a program name with args.
4479 set dummy cc; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if ${ac_cv_prog_CC+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 if test -n "$CC"; then
4486 ac_cv_prog_CC="$CC" # Let the user override the test.
4487 else
4488 ac_prog_rejected=no
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH
4492 IFS=$as_save_IFS
4493 test -z "$as_dir" && as_dir=.
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4496 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4497 ac_prog_rejected=yes
4498 continue
4500 ac_cv_prog_CC="cc"
4501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4502 break 2
4504 done
4505 done
4506 IFS=$as_save_IFS
4508 if test $ac_prog_rejected = yes; then
4509 # We found a bogon in the path, so make sure we never use it.
4510 set dummy $ac_cv_prog_CC
4511 shift
4512 if test $# != 0; then
4513 # We chose a different compiler from the bogus one.
4514 # However, it has the same basename, so the bogon will be chosen
4515 # first if we set CC to just the basename; use the full file name.
4516 shift
4517 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4522 CC=$ac_cv_prog_CC
4523 if test -n "$CC"; then
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4525 $as_echo "$CC" >&6; }
4526 else
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528 $as_echo "no" >&6; }
4533 if test -z "$CC"; then
4534 if test -n "$ac_tool_prefix"; then
4535 for ac_prog in cl.exe
4537 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4538 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4540 $as_echo_n "checking for $ac_word... " >&6; }
4541 if ${ac_cv_prog_CC+:} false; then :
4542 $as_echo_n "(cached) " >&6
4543 else
4544 if test -n "$CC"; then
4545 ac_cv_prog_CC="$CC" # Let the user override the test.
4546 else
4547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 for as_dir in $PATH
4550 IFS=$as_save_IFS
4551 test -z "$as_dir" && as_dir=.
4552 for ac_exec_ext in '' $ac_executable_extensions; do
4553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4554 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4556 break 2
4558 done
4559 done
4560 IFS=$as_save_IFS
4564 CC=$ac_cv_prog_CC
4565 if test -n "$CC"; then
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4567 $as_echo "$CC" >&6; }
4568 else
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4570 $as_echo "no" >&6; }
4574 test -n "$CC" && break
4575 done
4577 if test -z "$CC"; then
4578 ac_ct_CC=$CC
4579 for ac_prog in cl.exe
4581 # Extract the first word of "$ac_prog", so it can be a program name with args.
4582 set dummy $ac_prog; ac_word=$2
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4584 $as_echo_n "checking for $ac_word... " >&6; }
4585 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4586 $as_echo_n "(cached) " >&6
4587 else
4588 if test -n "$ac_ct_CC"; then
4589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4590 else
4591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592 for as_dir in $PATH
4594 IFS=$as_save_IFS
4595 test -z "$as_dir" && as_dir=.
4596 for ac_exec_ext in '' $ac_executable_extensions; do
4597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4598 ac_cv_prog_ac_ct_CC="$ac_prog"
4599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4600 break 2
4602 done
4603 done
4604 IFS=$as_save_IFS
4608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4609 if test -n "$ac_ct_CC"; then
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4611 $as_echo "$ac_ct_CC" >&6; }
4612 else
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4614 $as_echo "no" >&6; }
4618 test -n "$ac_ct_CC" && break
4619 done
4621 if test "x$ac_ct_CC" = x; then
4622 CC=""
4623 else
4624 case $cross_compiling:$ac_tool_warned in
4625 yes:)
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4628 ac_tool_warned=yes ;;
4629 esac
4630 CC=$ac_ct_CC
4637 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4639 as_fn_error $? "no acceptable C compiler found in \$PATH
4640 See \`config.log' for more details" "$LINENO" 5; }
4642 # Provide some information about the compiler.
4643 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4644 set X $ac_compile
4645 ac_compiler=$2
4646 for ac_option in --version -v -V -qversion; do
4647 { { ac_try="$ac_compiler $ac_option >&5"
4648 case "(($ac_try" in
4649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4650 *) ac_try_echo=$ac_try;;
4651 esac
4652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4653 $as_echo "$ac_try_echo"; } >&5
4654 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4655 ac_status=$?
4656 if test -s conftest.err; then
4657 sed '10a\
4658 ... rest of stderr output deleted ...
4659 10q' conftest.err >conftest.er1
4660 cat conftest.er1 >&5
4662 rm -f conftest.er1 conftest.err
4663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4664 test $ac_status = 0; }
4665 done
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4671 main ()
4675 return 0;
4677 _ACEOF
4678 ac_clean_files_save=$ac_clean_files
4679 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4680 # Try to create an executable without -o first, disregard a.out.
4681 # It will help us diagnose broken compilers, and finding out an intuition
4682 # of exeext.
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4684 $as_echo_n "checking whether the C compiler works... " >&6; }
4685 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4687 # The possible output files:
4688 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4690 ac_rmfiles=
4691 for ac_file in $ac_files
4693 case $ac_file in
4694 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4695 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4696 esac
4697 done
4698 rm -f $ac_rmfiles
4700 if { { ac_try="$ac_link_default"
4701 case "(($ac_try" in
4702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4703 *) ac_try_echo=$ac_try;;
4704 esac
4705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4706 $as_echo "$ac_try_echo"; } >&5
4707 (eval "$ac_link_default") 2>&5
4708 ac_status=$?
4709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4710 test $ac_status = 0; }; then :
4711 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4712 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4713 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4714 # so that the user can short-circuit this test for compilers unknown to
4715 # Autoconf.
4716 for ac_file in $ac_files ''
4718 test -f "$ac_file" || continue
4719 case $ac_file in
4720 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4722 [ab].out )
4723 # We found the default executable, but exeext='' is most
4724 # certainly right.
4725 break;;
4726 *.* )
4727 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4728 then :; else
4729 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4731 # We set ac_cv_exeext here because the later test for it is not
4732 # safe: cross compilers may not add the suffix if given an `-o'
4733 # argument, so we may need to know it at that point already.
4734 # Even if this section looks crufty: it has the advantage of
4735 # actually working.
4736 break;;
4738 break;;
4739 esac
4740 done
4741 test "$ac_cv_exeext" = no && ac_cv_exeext=
4743 else
4744 ac_file=''
4746 if test -z "$ac_file"; then :
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4748 $as_echo "no" >&6; }
4749 $as_echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.$ac_ext >&5
4752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4754 as_fn_error 77 "C compiler cannot create executables
4755 See \`config.log' for more details" "$LINENO" 5; }
4756 else
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4758 $as_echo "yes" >&6; }
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4761 $as_echo_n "checking for C compiler default output file name... " >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4763 $as_echo "$ac_file" >&6; }
4764 ac_exeext=$ac_cv_exeext
4766 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4767 ac_clean_files=$ac_clean_files_save
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4769 $as_echo_n "checking for suffix of executables... " >&6; }
4770 if { { ac_try="$ac_link"
4771 case "(($ac_try" in
4772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4773 *) ac_try_echo=$ac_try;;
4774 esac
4775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4776 $as_echo "$ac_try_echo"; } >&5
4777 (eval "$ac_link") 2>&5
4778 ac_status=$?
4779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4780 test $ac_status = 0; }; then :
4781 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4782 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4783 # work properly (i.e., refer to `conftest.exe'), while it won't with
4784 # `rm'.
4785 for ac_file in conftest.exe conftest conftest.*; do
4786 test -f "$ac_file" || continue
4787 case $ac_file in
4788 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4789 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4790 break;;
4791 * ) break;;
4792 esac
4793 done
4794 else
4795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4797 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4798 See \`config.log' for more details" "$LINENO" 5; }
4800 rm -f conftest conftest$ac_cv_exeext
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4802 $as_echo "$ac_cv_exeext" >&6; }
4804 rm -f conftest.$ac_ext
4805 EXEEXT=$ac_cv_exeext
4806 ac_exeext=$EXEEXT
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4809 #include <stdio.h>
4811 main ()
4813 FILE *f = fopen ("conftest.out", "w");
4814 return ferror (f) || fclose (f) != 0;
4817 return 0;
4819 _ACEOF
4820 ac_clean_files="$ac_clean_files conftest.out"
4821 # Check that the compiler produces executables we can run. If not, either
4822 # the compiler is broken, or we cross compile.
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4824 $as_echo_n "checking whether we are cross compiling... " >&6; }
4825 if test "$cross_compiling" != yes; then
4826 { { ac_try="$ac_link"
4827 case "(($ac_try" in
4828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4829 *) ac_try_echo=$ac_try;;
4830 esac
4831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4832 $as_echo "$ac_try_echo"; } >&5
4833 (eval "$ac_link") 2>&5
4834 ac_status=$?
4835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4836 test $ac_status = 0; }
4837 if { ac_try='./conftest$ac_cv_exeext'
4838 { { case "(($ac_try" in
4839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4840 *) ac_try_echo=$ac_try;;
4841 esac
4842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4843 $as_echo "$ac_try_echo"; } >&5
4844 (eval "$ac_try") 2>&5
4845 ac_status=$?
4846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4847 test $ac_status = 0; }; }; then
4848 cross_compiling=no
4849 else
4850 if test "$cross_compiling" = maybe; then
4851 cross_compiling=yes
4852 else
4853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4855 as_fn_error $? "cannot run C compiled programs.
4856 If you meant to cross compile, use \`--host'.
4857 See \`config.log' for more details" "$LINENO" 5; }
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4862 $as_echo "$cross_compiling" >&6; }
4864 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4865 ac_clean_files=$ac_clean_files_save
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4867 $as_echo_n "checking for suffix of object files... " >&6; }
4868 if ${ac_cv_objext+:} false; then :
4869 $as_echo_n "(cached) " >&6
4870 else
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4875 main ()
4879 return 0;
4881 _ACEOF
4882 rm -f conftest.o conftest.obj
4883 if { { ac_try="$ac_compile"
4884 case "(($ac_try" in
4885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4886 *) ac_try_echo=$ac_try;;
4887 esac
4888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4889 $as_echo "$ac_try_echo"; } >&5
4890 (eval "$ac_compile") 2>&5
4891 ac_status=$?
4892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4893 test $ac_status = 0; }; then :
4894 for ac_file in conftest.o conftest.obj conftest.*; do
4895 test -f "$ac_file" || continue;
4896 case $ac_file in
4897 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4898 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4899 break;;
4900 esac
4901 done
4902 else
4903 $as_echo "$as_me: failed program was:" >&5
4904 sed 's/^/| /' conftest.$ac_ext >&5
4906 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4908 as_fn_error $? "cannot compute suffix of object files: cannot compile
4909 See \`config.log' for more details" "$LINENO" 5; }
4911 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4914 $as_echo "$ac_cv_objext" >&6; }
4915 OBJEXT=$ac_cv_objext
4916 ac_objext=$OBJEXT
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4918 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4919 if ${ac_cv_c_compiler_gnu+:} false; then :
4920 $as_echo_n "(cached) " >&6
4921 else
4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4923 /* end confdefs.h. */
4926 main ()
4928 #ifndef __GNUC__
4929 choke me
4930 #endif
4933 return 0;
4935 _ACEOF
4936 if ac_fn_c_try_compile "$LINENO"; then :
4937 ac_compiler_gnu=yes
4938 else
4939 ac_compiler_gnu=no
4941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4942 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4946 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4947 if test $ac_compiler_gnu = yes; then
4948 GCC=yes
4949 else
4950 GCC=
4952 ac_test_CFLAGS=${CFLAGS+set}
4953 ac_save_CFLAGS=$CFLAGS
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4955 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4956 if ${ac_cv_prog_cc_g+:} false; then :
4957 $as_echo_n "(cached) " >&6
4958 else
4959 ac_save_c_werror_flag=$ac_c_werror_flag
4960 ac_c_werror_flag=yes
4961 ac_cv_prog_cc_g=no
4962 CFLAGS="-g"
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4967 main ()
4971 return 0;
4973 _ACEOF
4974 if ac_fn_c_try_compile "$LINENO"; then :
4975 ac_cv_prog_cc_g=yes
4976 else
4977 CFLAGS=""
4978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4982 main ()
4986 return 0;
4988 _ACEOF
4989 if ac_fn_c_try_compile "$LINENO"; then :
4991 else
4992 ac_c_werror_flag=$ac_save_c_werror_flag
4993 CFLAGS="-g"
4994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
4998 main ()
5002 return 0;
5004 _ACEOF
5005 if ac_fn_c_try_compile "$LINENO"; then :
5006 ac_cv_prog_cc_g=yes
5008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5013 ac_c_werror_flag=$ac_save_c_werror_flag
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5016 $as_echo "$ac_cv_prog_cc_g" >&6; }
5017 if test "$ac_test_CFLAGS" = set; then
5018 CFLAGS=$ac_save_CFLAGS
5019 elif test $ac_cv_prog_cc_g = yes; then
5020 if test "$GCC" = yes; then
5021 CFLAGS="-g -O2"
5022 else
5023 CFLAGS="-g"
5025 else
5026 if test "$GCC" = yes; then
5027 CFLAGS="-O2"
5028 else
5029 CFLAGS=
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5033 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5034 if ${ac_cv_prog_cc_c89+:} false; then :
5035 $as_echo_n "(cached) " >&6
5036 else
5037 ac_cv_prog_cc_c89=no
5038 ac_save_CC=$CC
5039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5041 #include <stdarg.h>
5042 #include <stdio.h>
5043 struct stat;
5044 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5045 struct buf { int x; };
5046 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5047 static char *e (p, i)
5048 char **p;
5049 int i;
5051 return p[i];
5053 static char *f (char * (*g) (char **, int), char **p, ...)
5055 char *s;
5056 va_list v;
5057 va_start (v,p);
5058 s = g (p, va_arg (v,int));
5059 va_end (v);
5060 return s;
5063 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5064 function prototypes and stuff, but not '\xHH' hex character constants.
5065 These don't provoke an error unfortunately, instead are silently treated
5066 as 'x'. The following induces an error, until -std is added to get
5067 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5068 array size at least. It's necessary to write '\x00'==0 to get something
5069 that's true only with -std. */
5070 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5072 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5073 inside strings and character constants. */
5074 #define FOO(x) 'x'
5075 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5077 int test (int i, double x);
5078 struct s1 {int (*f) (int a);};
5079 struct s2 {int (*f) (double a);};
5080 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5081 int argc;
5082 char **argv;
5084 main ()
5086 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5088 return 0;
5090 _ACEOF
5091 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5092 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5094 CC="$ac_save_CC $ac_arg"
5095 if ac_fn_c_try_compile "$LINENO"; then :
5096 ac_cv_prog_cc_c89=$ac_arg
5098 rm -f core conftest.err conftest.$ac_objext
5099 test "x$ac_cv_prog_cc_c89" != "xno" && break
5100 done
5101 rm -f conftest.$ac_ext
5102 CC=$ac_save_CC
5105 # AC_CACHE_VAL
5106 case "x$ac_cv_prog_cc_c89" in
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5109 $as_echo "none needed" >&6; } ;;
5110 xno)
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5112 $as_echo "unsupported" >&6; } ;;
5114 CC="$CC $ac_cv_prog_cc_c89"
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5116 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5117 esac
5118 if test "x$ac_cv_prog_cc_c89" != xno; then :
5122 ac_ext=c
5123 ac_cpp='$CPP $CPPFLAGS'
5124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5128 ac_ext=cpp
5129 ac_cpp='$CXXCPP $CPPFLAGS'
5130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5133 if test -z "$CXX"; then
5134 if test -n "$CCC"; then
5135 CXX=$CCC
5136 else
5137 if test -n "$ac_tool_prefix"; then
5138 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5140 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5141 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if ${ac_cv_prog_CXX+:} false; then :
5145 $as_echo_n "(cached) " >&6
5146 else
5147 if test -n "$CXX"; then
5148 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5149 else
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 for as_dir in $PATH
5153 IFS=$as_save_IFS
5154 test -z "$as_dir" && as_dir=.
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 break 2
5161 done
5162 done
5163 IFS=$as_save_IFS
5167 CXX=$ac_cv_prog_CXX
5168 if test -n "$CXX"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5170 $as_echo "$CXX" >&6; }
5171 else
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5177 test -n "$CXX" && break
5178 done
5180 if test -z "$CXX"; then
5181 ac_ct_CXX=$CXX
5182 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5184 # Extract the first word of "$ac_prog", so it can be a program name with args.
5185 set dummy $ac_prog; ac_word=$2
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5187 $as_echo_n "checking for $ac_word... " >&6; }
5188 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5189 $as_echo_n "(cached) " >&6
5190 else
5191 if test -n "$ac_ct_CXX"; then
5192 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5193 else
5194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5195 for as_dir in $PATH
5197 IFS=$as_save_IFS
5198 test -z "$as_dir" && as_dir=.
5199 for ac_exec_ext in '' $ac_executable_extensions; do
5200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5201 ac_cv_prog_ac_ct_CXX="$ac_prog"
5202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5203 break 2
5205 done
5206 done
5207 IFS=$as_save_IFS
5211 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5212 if test -n "$ac_ct_CXX"; then
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5214 $as_echo "$ac_ct_CXX" >&6; }
5215 else
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5217 $as_echo "no" >&6; }
5221 test -n "$ac_ct_CXX" && break
5222 done
5224 if test "x$ac_ct_CXX" = x; then
5225 CXX="g++"
5226 else
5227 case $cross_compiling:$ac_tool_warned in
5228 yes:)
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5231 ac_tool_warned=yes ;;
5232 esac
5233 CXX=$ac_ct_CXX
5239 # Provide some information about the compiler.
5240 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5241 set X $ac_compile
5242 ac_compiler=$2
5243 for ac_option in --version -v -V -qversion; do
5244 { { ac_try="$ac_compiler $ac_option >&5"
5245 case "(($ac_try" in
5246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5247 *) ac_try_echo=$ac_try;;
5248 esac
5249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5250 $as_echo "$ac_try_echo"; } >&5
5251 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5252 ac_status=$?
5253 if test -s conftest.err; then
5254 sed '10a\
5255 ... rest of stderr output deleted ...
5256 10q' conftest.err >conftest.er1
5257 cat conftest.er1 >&5
5259 rm -f conftest.er1 conftest.err
5260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5261 test $ac_status = 0; }
5262 done
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5265 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5266 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5267 $as_echo_n "(cached) " >&6
5268 else
5269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5270 /* end confdefs.h. */
5273 main ()
5275 #ifndef __GNUC__
5276 choke me
5277 #endif
5280 return 0;
5282 _ACEOF
5283 if ac_fn_cxx_try_compile "$LINENO"; then :
5284 ac_compiler_gnu=yes
5285 else
5286 ac_compiler_gnu=no
5288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5289 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5293 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5294 if test $ac_compiler_gnu = yes; then
5295 GXX=yes
5296 else
5297 GXX=
5299 ac_test_CXXFLAGS=${CXXFLAGS+set}
5300 ac_save_CXXFLAGS=$CXXFLAGS
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5302 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5303 if ${ac_cv_prog_cxx_g+:} false; then :
5304 $as_echo_n "(cached) " >&6
5305 else
5306 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5307 ac_cxx_werror_flag=yes
5308 ac_cv_prog_cxx_g=no
5309 CXXFLAGS="-g"
5310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5314 main ()
5318 return 0;
5320 _ACEOF
5321 if ac_fn_cxx_try_compile "$LINENO"; then :
5322 ac_cv_prog_cxx_g=yes
5323 else
5324 CXXFLAGS=""
5325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5329 main ()
5333 return 0;
5335 _ACEOF
5336 if ac_fn_cxx_try_compile "$LINENO"; then :
5338 else
5339 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5340 CXXFLAGS="-g"
5341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5342 /* end confdefs.h. */
5345 main ()
5349 return 0;
5351 _ACEOF
5352 if ac_fn_cxx_try_compile "$LINENO"; then :
5353 ac_cv_prog_cxx_g=yes
5355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5360 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5363 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5364 if test "$ac_test_CXXFLAGS" = set; then
5365 CXXFLAGS=$ac_save_CXXFLAGS
5366 elif test $ac_cv_prog_cxx_g = yes; then
5367 if test "$GXX" = yes; then
5368 CXXFLAGS="-g -O2"
5369 else
5370 CXXFLAGS="-g"
5372 else
5373 if test "$GXX" = yes; then
5374 CXXFLAGS="-O2"
5375 else
5376 CXXFLAGS=
5379 ac_ext=c
5380 ac_cpp='$CPP $CPPFLAGS'
5381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5385 if test -n "$ac_tool_prefix"; then
5386 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5387 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389 $as_echo_n "checking for $ac_word... " >&6; }
5390 if ${ac_cv_prog_CPPBIN+:} false; then :
5391 $as_echo_n "(cached) " >&6
5392 else
5393 if test -n "$CPPBIN"; then
5394 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5395 else
5396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 for as_dir in $PATH
5399 IFS=$as_save_IFS
5400 test -z "$as_dir" && as_dir=.
5401 for ac_exec_ext in '' $ac_executable_extensions; do
5402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5403 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5405 break 2
5407 done
5408 done
5409 IFS=$as_save_IFS
5413 CPPBIN=$ac_cv_prog_CPPBIN
5414 if test -n "$CPPBIN"; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5416 $as_echo "$CPPBIN" >&6; }
5417 else
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5424 if test -z "$ac_cv_prog_CPPBIN"; then
5425 ac_ct_CPPBIN=$CPPBIN
5426 # Extract the first word of "cpp", so it can be a program name with args.
5427 set dummy cpp; ac_word=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5431 $as_echo_n "(cached) " >&6
5432 else
5433 if test -n "$ac_ct_CPPBIN"; then
5434 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5443 ac_cv_prog_ac_ct_CPPBIN="cpp"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 break 2
5447 done
5448 done
5449 IFS=$as_save_IFS
5453 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5454 if test -n "$ac_ct_CPPBIN"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5456 $as_echo "$ac_ct_CPPBIN" >&6; }
5457 else
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5462 if test "x$ac_ct_CPPBIN" = x; then
5463 CPPBIN="cpp"
5464 else
5465 case $cross_compiling:$ac_tool_warned in
5466 yes:)
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5469 ac_tool_warned=yes ;;
5470 esac
5471 CPPBIN=$ac_ct_CPPBIN
5473 else
5474 CPPBIN="$ac_cv_prog_CPPBIN"
5478 cat >>confdefs.h <<_ACEOF
5479 #define EXEEXT "$ac_exeext"
5480 _ACEOF
5482 if test -n "$ac_tool_prefix"; then
5483 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5484 set dummy ${ac_tool_prefix}ld; ac_word=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5486 $as_echo_n "checking for $ac_word... " >&6; }
5487 if ${ac_cv_prog_LD+:} false; then :
5488 $as_echo_n "(cached) " >&6
5489 else
5490 if test -n "$LD"; then
5491 ac_cv_prog_LD="$LD" # Let the user override the test.
5492 else
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH
5496 IFS=$as_save_IFS
5497 test -z "$as_dir" && as_dir=.
5498 for ac_exec_ext in '' $ac_executable_extensions; do
5499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_prog_LD="${ac_tool_prefix}ld"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5502 break 2
5504 done
5505 done
5506 IFS=$as_save_IFS
5510 LD=$ac_cv_prog_LD
5511 if test -n "$LD"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5513 $as_echo "$LD" >&6; }
5514 else
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5521 if test -z "$ac_cv_prog_LD"; then
5522 ac_ct_LD=$LD
5523 # Extract the first word of "ld", so it can be a program name with args.
5524 set dummy ld; ac_word=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5528 $as_echo_n "(cached) " >&6
5529 else
5530 if test -n "$ac_ct_LD"; then
5531 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5532 else
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534 for as_dir in $PATH
5536 IFS=$as_save_IFS
5537 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_ac_ct_LD="ld"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542 break 2
5544 done
5545 done
5546 IFS=$as_save_IFS
5550 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5551 if test -n "$ac_ct_LD"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5553 $as_echo "$ac_ct_LD" >&6; }
5554 else
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5559 if test "x$ac_ct_LD" = x; then
5560 LD=""
5561 else
5562 case $cross_compiling:$ac_tool_warned in
5563 yes:)
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5566 ac_tool_warned=yes ;;
5567 esac
5568 LD=$ac_ct_LD
5570 else
5571 LD="$ac_cv_prog_LD"
5575 case $host in
5576 *-darwin*)
5577 with_fontconfig=${with_fontconfig:-no}
5579 *-mingw32*|*-cygwin*)
5580 enable_win16=${enable_win16:-no}
5581 with_mingw=${with_mingw:-no}
5582 CFLAGS="$CFLAGS -D_WIN32"
5584 esac
5586 case $host in
5587 x86_64*|amd64*)
5588 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5589 then
5590 CC="$CC -m32"
5591 CXX="$CXX -m32"
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5594 $as_echo_n "checking whether $CC works... " >&6; }
5595 if ${wine_cv_cc_m32+:} false; then :
5596 $as_echo_n "(cached) " >&6
5597 else
5598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5599 /* end confdefs.h. */
5602 main ()
5606 return 0;
5608 _ACEOF
5609 if ac_fn_c_try_link "$LINENO"; then :
5610 wine_cv_cc_m32=yes
5611 else
5612 wine_cv_cc_m32=no
5614 rm -f core conftest.err conftest.$ac_objext \
5615 conftest$ac_exeext conftest.$ac_ext
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5618 $as_echo "$wine_cv_cc_m32" >&6; }
5619 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
5620 host_cpu="i386"
5621 notice_platform="32-bit "
5622 TARGETFLAGS="-m32"
5624 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5625 export PKG_CONFIG_PATH
5626 enable_win16=${enable_win16:-yes}
5627 with_unwind=${with_unwind:-no}
5628 else
5629 if test "x${GCC}" = "xyes"
5630 then
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5632 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5633 if ${wine_cv_builtin_ms_va_list+:} false; then :
5634 $as_echo_n "(cached) " >&6
5635 else
5636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5637 /* end confdefs.h. */
5638 #include <stdarg.h>
5640 main ()
5642 void func(__builtin_ms_va_list *args);
5644 return 0;
5646 _ACEOF
5647 if ac_fn_c_try_compile "$LINENO"; then :
5648 wine_cv_builtin_ms_va_list=yes
5649 else
5650 wine_cv_builtin_ms_va_list=no
5652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5655 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5656 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
5658 CC="$CC -m64"
5659 CXX="$CXX -m64"
5660 host_cpu="x86_64"
5661 notice_platform="64-bit "
5662 TARGETFLAGS="-m64"
5666 arm*)
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5668 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5669 if ${wine_cv_thumb+:} false; then :
5670 $as_echo_n "(cached) " >&6
5671 else
5672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5673 /* end confdefs.h. */
5674 int ac_test(int i) { return i; }
5676 main ()
5678 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5680 return 0;
5682 _ACEOF
5683 if ac_fn_c_try_link "$LINENO"; then :
5684 wine_cv_thumb=yes
5685 else
5686 wine_cv_thumb=no
5688 rm -f core conftest.err conftest.$ac_objext \
5689 conftest$ac_exeext conftest.$ac_ext
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5692 $as_echo "$wine_cv_thumb" >&6; }
5693 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5694 case $with_float_abi in
5695 soft|softfp|hard)
5696 float_abi=$with_float_abi ;;
5698 case $host_os in
5699 *eabihf)
5700 float_abi=hard ;;
5702 float_abi=softfp
5703 saved_CFLAGS=$CFLAGS
5704 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5706 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5707 if ${wine_cv_float_abi+:} false; then :
5708 $as_echo_n "(cached) " >&6
5709 else
5710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5711 /* end confdefs.h. */
5714 main ()
5716 asm("vmrs r2,fpscr");
5718 return 0;
5720 _ACEOF
5721 if ac_fn_c_try_link "$LINENO"; then :
5722 wine_cv_float_abi=yes
5723 else
5724 wine_cv_float_abi=no
5726 rm -f core conftest.err conftest.$ac_objext \
5727 conftest$ac_exeext conftest.$ac_ext
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5730 $as_echo "$wine_cv_float_abi" >&6; }
5731 if test $wine_cv_float_abi = no
5732 then
5733 float_abi=soft
5734 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5736 CFLAGS=$saved_CFLAGS
5737 esac
5739 esac
5740 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5741 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5744 aarch64*)
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5746 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5747 if ${wine_cv_builtin_ms_va_list+:} false; then :
5748 $as_echo_n "(cached) " >&6
5749 else
5750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5751 /* end confdefs.h. */
5752 #include <stdarg.h>
5754 main ()
5756 void func(__builtin_ms_va_list *args);
5758 return 0;
5760 _ACEOF
5761 if ac_fn_c_try_compile "$LINENO"; then :
5762 wine_cv_builtin_ms_va_list=yes
5763 else
5764 wine_cv_builtin_ms_va_list=no
5766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5769 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5770 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5772 i[3456789]86*)
5773 enable_win16=${enable_win16:-yes}
5774 with_unwind=${with_unwind:-no}
5776 esac
5778 enable_win16=${enable_win16:-no}
5779 enable_win64=${enable_win64:-no}
5781 enable_winetest=${enable_winetest:-$enable_tests}
5783 if test "x$enable_win64" = "xyes"
5784 then
5785 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5786 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5787 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5791 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5792 if ${wine_cv_toolsdir+:} false; then :
5793 $as_echo_n "(cached) " >&6
5794 else
5795 wine_cv_toolsdir="$with_wine_tools"
5796 if test -z "$with_wine_tools"; then
5797 if test "$cross_compiling" = "yes"; then
5798 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5799 elif test -n "$with_wine64"; then
5800 wine_cv_toolsdir="$with_wine64"
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5805 $as_echo "$wine_cv_toolsdir" >&6; }
5806 if test -z "$wine_cv_toolsdir"; then
5807 wine_makedep=tools/makedep
5808 TOOLSDIR="\$(top_builddir)"
5810 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5811 wine_makedep=$wine_cv_toolsdir/tools/makedep
5812 case "$wine_cv_toolsdir" in
5813 /*) TOOLSDIR=$wine_cv_toolsdir
5815 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5817 esac
5818 enable_tools=${enable_tools:-no}
5819 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5820 else
5821 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5823 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5824 then
5825 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5829 for ac_prog in flex
5831 # Extract the first word of "$ac_prog", so it can be a program name with args.
5832 set dummy $ac_prog; ac_word=$2
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834 $as_echo_n "checking for $ac_word... " >&6; }
5835 if ${ac_cv_prog_FLEX+:} false; then :
5836 $as_echo_n "(cached) " >&6
5837 else
5838 if test -n "$FLEX"; then
5839 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5840 else
5841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 for as_dir in $PATH
5844 IFS=$as_save_IFS
5845 test -z "$as_dir" && as_dir=.
5846 for ac_exec_ext in '' $ac_executable_extensions; do
5847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5848 ac_cv_prog_FLEX="$ac_prog"
5849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5850 break 2
5852 done
5853 done
5854 IFS=$as_save_IFS
5858 FLEX=$ac_cv_prog_FLEX
5859 if test -n "$FLEX"; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5861 $as_echo "$FLEX" >&6; }
5862 else
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5868 test -n "$FLEX" && break
5869 done
5870 test -n "$FLEX" || FLEX="none"
5872 if test "$FLEX" = "none"
5873 then
5874 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5877 $as_echo_n "checking whether flex is recent enough... " >&6; }
5878 if ${wine_cv_recent_flex+:} false; then :
5879 $as_echo_n "(cached) " >&6
5880 else
5881 cat >conftest.l <<EOF
5882 %top{
5883 #include "prediluvian.h"
5887 if $FLEX -t conftest.l >/dev/null 2>&5
5888 then
5889 wine_cv_recent_flex=yes
5890 else
5891 wine_cv_recent_flex=no
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5895 $as_echo "$wine_cv_recent_flex" >&6; }
5896 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
5898 for ac_prog in bison
5900 # Extract the first word of "$ac_prog", so it can be a program name with args.
5901 set dummy $ac_prog; ac_word=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 $as_echo_n "checking for $ac_word... " >&6; }
5904 if ${ac_cv_prog_BISON+:} false; then :
5905 $as_echo_n "(cached) " >&6
5906 else
5907 if test -n "$BISON"; then
5908 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5913 IFS=$as_save_IFS
5914 test -z "$as_dir" && as_dir=.
5915 for ac_exec_ext in '' $ac_executable_extensions; do
5916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_BISON="$ac_prog"
5918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 break 2
5921 done
5922 done
5923 IFS=$as_save_IFS
5927 BISON=$ac_cv_prog_BISON
5928 if test -n "$BISON"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5930 $as_echo "$BISON" >&6; }
5931 else
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 $as_echo "no" >&6; }
5937 test -n "$BISON" && break
5938 done
5939 test -n "$BISON" || BISON="none"
5941 if test "$BISON" = "none"
5942 then
5943 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5946 $as_echo_n "checking whether bison is recent enough... " >&6; }
5947 if ${wine_cv_recent_bison+:} false; then :
5948 $as_echo_n "(cached) " >&6
5949 else
5950 cat >conftest.y <<EOF
5951 %define parse.error verbose
5953 empty: ;
5955 if $BISON conftest.y >/dev/null 2>&5
5956 then
5957 wine_cv_recent_bison=yes
5958 else
5959 wine_cv_recent_bison=no
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5963 $as_echo "$wine_cv_recent_bison" >&6; }
5964 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
5966 if test -n "$ac_tool_prefix"; then
5967 for ac_prog in ar gar
5969 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5970 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972 $as_echo_n "checking for $ac_word... " >&6; }
5973 if ${ac_cv_prog_AR+:} false; then :
5974 $as_echo_n "(cached) " >&6
5975 else
5976 if test -n "$AR"; then
5977 ac_cv_prog_AR="$AR" # Let the user override the test.
5978 else
5979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5980 for as_dir in $PATH
5982 IFS=$as_save_IFS
5983 test -z "$as_dir" && as_dir=.
5984 for ac_exec_ext in '' $ac_executable_extensions; do
5985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5986 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5988 break 2
5990 done
5991 done
5992 IFS=$as_save_IFS
5996 AR=$ac_cv_prog_AR
5997 if test -n "$AR"; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5999 $as_echo "$AR" >&6; }
6000 else
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002 $as_echo "no" >&6; }
6006 test -n "$AR" && break
6007 done
6009 if test -z "$AR"; then
6010 ac_ct_AR=$AR
6011 for ac_prog in ar gar
6013 # Extract the first word of "$ac_prog", so it can be a program name with args.
6014 set dummy $ac_prog; ac_word=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 $as_echo_n "checking for $ac_word... " >&6; }
6017 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6018 $as_echo_n "(cached) " >&6
6019 else
6020 if test -n "$ac_ct_AR"; then
6021 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6022 else
6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 for as_dir in $PATH
6026 IFS=$as_save_IFS
6027 test -z "$as_dir" && as_dir=.
6028 for ac_exec_ext in '' $ac_executable_extensions; do
6029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6030 ac_cv_prog_ac_ct_AR="$ac_prog"
6031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6032 break 2
6034 done
6035 done
6036 IFS=$as_save_IFS
6040 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6041 if test -n "$ac_ct_AR"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6043 $as_echo "$ac_ct_AR" >&6; }
6044 else
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 $as_echo "no" >&6; }
6050 test -n "$ac_ct_AR" && break
6051 done
6053 if test "x$ac_ct_AR" = x; then
6054 AR="ar"
6055 else
6056 case $cross_compiling:$ac_tool_warned in
6057 yes:)
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6060 ac_tool_warned=yes ;;
6061 esac
6062 AR=$ac_ct_AR
6066 if test -n "$ac_tool_prefix"; then
6067 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6068 set dummy ${ac_tool_prefix}strip; ac_word=$2
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 $as_echo_n "checking for $ac_word... " >&6; }
6071 if ${ac_cv_prog_STRIP+:} false; then :
6072 $as_echo_n "(cached) " >&6
6073 else
6074 if test -n "$STRIP"; then
6075 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6076 else
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in $PATH
6080 IFS=$as_save_IFS
6081 test -z "$as_dir" && as_dir=.
6082 for ac_exec_ext in '' $ac_executable_extensions; do
6083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6084 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086 break 2
6088 done
6089 done
6090 IFS=$as_save_IFS
6094 STRIP=$ac_cv_prog_STRIP
6095 if test -n "$STRIP"; then
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6097 $as_echo "$STRIP" >&6; }
6098 else
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6100 $as_echo "no" >&6; }
6105 if test -z "$ac_cv_prog_STRIP"; then
6106 ac_ct_STRIP=$STRIP
6107 # Extract the first word of "strip", so it can be a program name with args.
6108 set dummy strip; ac_word=$2
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 $as_echo_n "checking for $ac_word... " >&6; }
6111 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6112 $as_echo_n "(cached) " >&6
6113 else
6114 if test -n "$ac_ct_STRIP"; then
6115 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6116 else
6117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118 for as_dir in $PATH
6120 IFS=$as_save_IFS
6121 test -z "$as_dir" && as_dir=.
6122 for ac_exec_ext in '' $ac_executable_extensions; do
6123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6124 ac_cv_prog_ac_ct_STRIP="strip"
6125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 break 2
6128 done
6129 done
6130 IFS=$as_save_IFS
6134 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6135 if test -n "$ac_ct_STRIP"; then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6137 $as_echo "$ac_ct_STRIP" >&6; }
6138 else
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6140 $as_echo "no" >&6; }
6143 if test "x$ac_ct_STRIP" = x; then
6144 STRIP="strip"
6145 else
6146 case $cross_compiling:$ac_tool_warned in
6147 yes:)
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6150 ac_tool_warned=yes ;;
6151 esac
6152 STRIP=$ac_ct_STRIP
6154 else
6155 STRIP="$ac_cv_prog_STRIP"
6158 if test -n "$ac_tool_prefix"; then
6159 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6160 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6162 $as_echo_n "checking for $ac_word... " >&6; }
6163 if ${ac_cv_prog_RANLIB+:} false; then :
6164 $as_echo_n "(cached) " >&6
6165 else
6166 if test -n "$RANLIB"; then
6167 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6168 else
6169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170 for as_dir in $PATH
6172 IFS=$as_save_IFS
6173 test -z "$as_dir" && as_dir=.
6174 for ac_exec_ext in '' $ac_executable_extensions; do
6175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6176 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 break 2
6180 done
6181 done
6182 IFS=$as_save_IFS
6186 RANLIB=$ac_cv_prog_RANLIB
6187 if test -n "$RANLIB"; then
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6189 $as_echo "$RANLIB" >&6; }
6190 else
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6192 $as_echo "no" >&6; }
6197 if test -z "$ac_cv_prog_RANLIB"; then
6198 ac_ct_RANLIB=$RANLIB
6199 # Extract the first word of "ranlib", so it can be a program name with args.
6200 set dummy ranlib; ac_word=$2
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6202 $as_echo_n "checking for $ac_word... " >&6; }
6203 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6204 $as_echo_n "(cached) " >&6
6205 else
6206 if test -n "$ac_ct_RANLIB"; then
6207 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6208 else
6209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210 for as_dir in $PATH
6212 IFS=$as_save_IFS
6213 test -z "$as_dir" && as_dir=.
6214 for ac_exec_ext in '' $ac_executable_extensions; do
6215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6216 ac_cv_prog_ac_ct_RANLIB="ranlib"
6217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6218 break 2
6220 done
6221 done
6222 IFS=$as_save_IFS
6226 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6227 if test -n "$ac_ct_RANLIB"; then
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6229 $as_echo "$ac_ct_RANLIB" >&6; }
6230 else
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232 $as_echo "no" >&6; }
6235 if test "x$ac_ct_RANLIB" = x; then
6236 RANLIB=":"
6237 else
6238 case $cross_compiling:$ac_tool_warned in
6239 yes:)
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6242 ac_tool_warned=yes ;;
6243 esac
6244 RANLIB=$ac_ct_RANLIB
6246 else
6247 RANLIB="$ac_cv_prog_RANLIB"
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6251 $as_echo_n "checking whether ln -s works... " >&6; }
6252 LN_S=$as_ln_s
6253 if test "$LN_S" = "ln -s"; then
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6255 $as_echo "yes" >&6; }
6256 else
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6258 $as_echo "no, using $LN_S" >&6; }
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6262 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6263 if ${ac_cv_path_GREP+:} false; then :
6264 $as_echo_n "(cached) " >&6
6265 else
6266 if test -z "$GREP"; then
6267 ac_path_GREP_found=false
6268 # Loop through the user's path and test for each of PROGNAME-LIST
6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6272 IFS=$as_save_IFS
6273 test -z "$as_dir" && as_dir=.
6274 for ac_prog in grep ggrep; do
6275 for ac_exec_ext in '' $ac_executable_extensions; do
6276 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6277 as_fn_executable_p "$ac_path_GREP" || continue
6278 # Check for GNU ac_path_GREP and select it if it is found.
6279 # Check for GNU $ac_path_GREP
6280 case `"$ac_path_GREP" --version 2>&1` in
6281 *GNU*)
6282 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6284 ac_count=0
6285 $as_echo_n 0123456789 >"conftest.in"
6286 while :
6288 cat "conftest.in" "conftest.in" >"conftest.tmp"
6289 mv "conftest.tmp" "conftest.in"
6290 cp "conftest.in" "conftest.nl"
6291 $as_echo 'GREP' >> "conftest.nl"
6292 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6293 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6294 as_fn_arith $ac_count + 1 && ac_count=$as_val
6295 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6296 # Best one so far, save it but keep looking for a better one
6297 ac_cv_path_GREP="$ac_path_GREP"
6298 ac_path_GREP_max=$ac_count
6300 # 10*(2^10) chars as input seems more than enough
6301 test $ac_count -gt 10 && break
6302 done
6303 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6304 esac
6306 $ac_path_GREP_found && break 3
6307 done
6308 done
6309 done
6310 IFS=$as_save_IFS
6311 if test -z "$ac_cv_path_GREP"; then
6312 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6314 else
6315 ac_cv_path_GREP=$GREP
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6320 $as_echo "$ac_cv_path_GREP" >&6; }
6321 GREP="$ac_cv_path_GREP"
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6325 $as_echo_n "checking for egrep... " >&6; }
6326 if ${ac_cv_path_EGREP+:} false; then :
6327 $as_echo_n "(cached) " >&6
6328 else
6329 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6330 then ac_cv_path_EGREP="$GREP -E"
6331 else
6332 if test -z "$EGREP"; then
6333 ac_path_EGREP_found=false
6334 # Loop through the user's path and test for each of PROGNAME-LIST
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6338 IFS=$as_save_IFS
6339 test -z "$as_dir" && as_dir=.
6340 for ac_prog in egrep; do
6341 for ac_exec_ext in '' $ac_executable_extensions; do
6342 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6343 as_fn_executable_p "$ac_path_EGREP" || continue
6344 # Check for GNU ac_path_EGREP and select it if it is found.
6345 # Check for GNU $ac_path_EGREP
6346 case `"$ac_path_EGREP" --version 2>&1` in
6347 *GNU*)
6348 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6350 ac_count=0
6351 $as_echo_n 0123456789 >"conftest.in"
6352 while :
6354 cat "conftest.in" "conftest.in" >"conftest.tmp"
6355 mv "conftest.tmp" "conftest.in"
6356 cp "conftest.in" "conftest.nl"
6357 $as_echo 'EGREP' >> "conftest.nl"
6358 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6359 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6360 as_fn_arith $ac_count + 1 && ac_count=$as_val
6361 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6362 # Best one so far, save it but keep looking for a better one
6363 ac_cv_path_EGREP="$ac_path_EGREP"
6364 ac_path_EGREP_max=$ac_count
6366 # 10*(2^10) chars as input seems more than enough
6367 test $ac_count -gt 10 && break
6368 done
6369 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6370 esac
6372 $ac_path_EGREP_found && break 3
6373 done
6374 done
6375 done
6376 IFS=$as_save_IFS
6377 if test -z "$ac_cv_path_EGREP"; then
6378 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6380 else
6381 ac_cv_path_EGREP=$EGREP
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6387 $as_echo "$ac_cv_path_EGREP" >&6; }
6388 EGREP="$ac_cv_path_EGREP"
6391 # Extract the first word of "ldconfig", so it can be a program name with args.
6392 set dummy ldconfig; ac_word=$2
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394 $as_echo_n "checking for $ac_word... " >&6; }
6395 if ${ac_cv_path_LDCONFIG+:} false; then :
6396 $as_echo_n "(cached) " >&6
6397 else
6398 case $LDCONFIG in
6399 [\\/]* | ?:[\\/]*)
6400 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 for as_dir in /sbin /usr/sbin $PATH
6406 IFS=$as_save_IFS
6407 test -z "$as_dir" && as_dir=.
6408 for ac_exec_ext in '' $ac_executable_extensions; do
6409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6410 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412 break 2
6414 done
6415 done
6416 IFS=$as_save_IFS
6418 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6420 esac
6422 LDCONFIG=$ac_cv_path_LDCONFIG
6423 if test -n "$LDCONFIG"; then
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6425 $as_echo "$LDCONFIG" >&6; }
6426 else
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6428 $as_echo "no" >&6; }
6432 for ac_prog in msgfmt
6434 # Extract the first word of "$ac_prog", so it can be a program name with args.
6435 set dummy $ac_prog; ac_word=$2
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6437 $as_echo_n "checking for $ac_word... " >&6; }
6438 if ${ac_cv_prog_MSGFMT+:} false; then :
6439 $as_echo_n "(cached) " >&6
6440 else
6441 if test -n "$MSGFMT"; then
6442 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6443 else
6444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445 for as_dir in $PATH
6447 IFS=$as_save_IFS
6448 test -z "$as_dir" && as_dir=.
6449 for ac_exec_ext in '' $ac_executable_extensions; do
6450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6451 ac_cv_prog_MSGFMT="$ac_prog"
6452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6453 break 2
6455 done
6456 done
6457 IFS=$as_save_IFS
6461 MSGFMT=$ac_cv_prog_MSGFMT
6462 if test -n "$MSGFMT"; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6464 $as_echo "$MSGFMT" >&6; }
6465 else
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6467 $as_echo "no" >&6; }
6471 test -n "$MSGFMT" && break
6472 done
6473 test -n "$MSGFMT" || MSGFMT="false"
6475 if ${ac_tool_prefix+:} false; then :
6476 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6477 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6479 $as_echo_n "checking for $ac_word... " >&6; }
6480 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6481 $as_echo_n "(cached) " >&6
6482 else
6483 if test -n "$PKG_CONFIG"; then
6484 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6485 else
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 for as_dir in $PATH
6489 IFS=$as_save_IFS
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6493 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6495 break 2
6497 done
6498 done
6499 IFS=$as_save_IFS
6503 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6504 if test -n "$PKG_CONFIG"; then
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6506 $as_echo "$PKG_CONFIG" >&6; }
6507 else
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6509 $as_echo "no" >&6; }
6514 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6515 if test "x$cross_compiling" = xyes; then :
6517 else
6518 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6519 # Extract the first word of "pkg-config", so it can be a program name with args.
6520 set dummy pkg-config; ac_word=$2
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6522 $as_echo_n "checking for $ac_word... " >&6; }
6523 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6524 $as_echo_n "(cached) " >&6
6525 else
6526 if test -n "$PKG_CONFIG"; then
6527 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6528 else
6529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6530 for as_dir in $PATH
6532 IFS=$as_save_IFS
6533 test -z "$as_dir" && as_dir=.
6534 for ac_exec_ext in '' $ac_executable_extensions; do
6535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6536 ac_cv_prog_PKG_CONFIG="pkg-config"
6537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6538 break 2
6540 done
6541 done
6542 IFS=$as_save_IFS
6546 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6547 if test -n "$PKG_CONFIG"; then
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6549 $as_echo "$PKG_CONFIG" >&6; }
6550 else
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6552 $as_echo "no" >&6; }
6557 else
6558 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6561 if test "x$enable_maintainer_mode" != "xyes"
6562 then
6563 FONTFORGE=""
6564 RSVG=""
6565 CONVERT=""
6566 ICOTOOL=""
6567 else
6568 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6569 for ac_prog in fontforge
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_FONTFORGE+:} false; then :
6576 $as_echo_n "(cached) " >&6
6577 else
6578 if test -n "$FONTFORGE"; then
6579 ac_cv_prog_FONTFORGE="$FONTFORGE" # 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_FONTFORGE="$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 FONTFORGE=$ac_cv_prog_FONTFORGE
6599 if test -n "$FONTFORGE"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6601 $as_echo "$FONTFORGE" >&6; }
6602 else
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6608 test -n "$FONTFORGE" && break
6609 done
6610 test -n "$FONTFORGE" || FONTFORGE="false"
6612 for ac_prog in rsvg-convert rsvg
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_RSVG+:} false; then :
6619 $as_echo_n "(cached) " >&6
6620 else
6621 if test -n "$RSVG"; then
6622 ac_cv_prog_RSVG="$RSVG" # 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_RSVG="$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 RSVG=$ac_cv_prog_RSVG
6642 if test -n "$RSVG"; then
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6644 $as_echo "$RSVG" >&6; }
6645 else
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647 $as_echo "no" >&6; }
6651 test -n "$RSVG" && break
6652 done
6653 test -n "$RSVG" || RSVG="false"
6655 for ac_prog in convert
6657 # Extract the first word of "$ac_prog", so it can be a program name with args.
6658 set dummy $ac_prog; ac_word=$2
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6660 $as_echo_n "checking for $ac_word... " >&6; }
6661 if ${ac_cv_prog_CONVERT+:} false; then :
6662 $as_echo_n "(cached) " >&6
6663 else
6664 if test -n "$CONVERT"; then
6665 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6666 else
6667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668 for as_dir in $PATH
6670 IFS=$as_save_IFS
6671 test -z "$as_dir" && as_dir=.
6672 for ac_exec_ext in '' $ac_executable_extensions; do
6673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6674 ac_cv_prog_CONVERT="$ac_prog"
6675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6676 break 2
6678 done
6679 done
6680 IFS=$as_save_IFS
6684 CONVERT=$ac_cv_prog_CONVERT
6685 if test -n "$CONVERT"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6687 $as_echo "$CONVERT" >&6; }
6688 else
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6694 test -n "$CONVERT" && break
6695 done
6696 test -n "$CONVERT" || CONVERT="false"
6698 for ac_prog in icotool
6700 # Extract the first word of "$ac_prog", so it can be a program name with args.
6701 set dummy $ac_prog; ac_word=$2
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6703 $as_echo_n "checking for $ac_word... " >&6; }
6704 if ${ac_cv_prog_ICOTOOL+:} false; then :
6705 $as_echo_n "(cached) " >&6
6706 else
6707 if test -n "$ICOTOOL"; then
6708 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6709 else
6710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711 for as_dir in $PATH
6713 IFS=$as_save_IFS
6714 test -z "$as_dir" && as_dir=.
6715 for ac_exec_ext in '' $ac_executable_extensions; do
6716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6717 ac_cv_prog_ICOTOOL="$ac_prog"
6718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6719 break 2
6721 done
6722 done
6723 IFS=$as_save_IFS
6727 ICOTOOL=$ac_cv_prog_ICOTOOL
6728 if test -n "$ICOTOOL"; then
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6730 $as_echo "$ICOTOOL" >&6; }
6731 else
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6733 $as_echo "no" >&6; }
6737 test -n "$ICOTOOL" && break
6738 done
6739 test -n "$ICOTOOL" || ICOTOOL="false"
6741 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6742 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6744 if test "$CONVERT" = false
6745 then
6746 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6747 else
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6749 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6750 convert_version=`convert --version | head -n1`
6751 if test "x$convert_version" != "x"
6752 then
6753 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6754 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6755 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6756 then
6757 CONVERT=false
6760 if test "$CONVERT" = false
6761 then
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6763 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6764 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6765 else
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6767 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6771 if test "$ICOTOOL" = false
6772 then
6773 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6774 else
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6776 $as_echo_n "checking for recent enough icotool... " >&6; }
6777 icotool_version=`icotool --version | head -n1`
6778 if test "x$icotool_version" != "x"
6779 then
6780 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6781 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6782 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6783 then
6784 ICOTOOL=false
6785 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6788 if test "$ICOTOOL" = false
6789 then
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6791 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6792 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6793 else
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6795 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6799 with_gettext=yes
6800 with_gettextpo=yes
6802 enable_werror=yes
6805 test "x$with_gettext" != xno || MSGFMT=false
6806 if test "$MSGFMT" != "false"
6807 then
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6809 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6810 if ${wine_cv_msgfmt_contexts+:} false; then :
6811 $as_echo_n "(cached) " >&6
6812 else
6813 cat >conftest.po <<EOF
6814 # comment
6815 msgctxt "ctxt"
6816 msgid "id"
6817 msgstr "str"
6819 if $MSGFMT -o /dev/null conftest.po 2>&5
6820 then
6821 wine_cv_msgfmt_contexts=yes
6822 else
6823 wine_cv_msgfmt_contexts=no
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6827 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6828 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6830 if test "$MSGFMT" = false; then :
6831 case "x$with_gettext" in
6832 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6833 xno) ;;
6834 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6835 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6836 esac
6837 enable_po=${enable_po:-no}
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6842 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6843 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6844 $as_echo_n "(cached) " >&6
6845 else
6846 ac_check_lib_save_LIBS=$LIBS
6847 LIBS="-li386 $LIBS"
6848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6849 /* end confdefs.h. */
6851 /* Override any GCC internal prototype to avoid an error.
6852 Use char because int might match the return type of a GCC
6853 builtin and then its argument prototype would still apply. */
6854 #ifdef __cplusplus
6855 extern "C"
6856 #endif
6857 char i386_set_ldt ();
6859 main ()
6861 return i386_set_ldt ();
6863 return 0;
6865 _ACEOF
6866 if ac_fn_c_try_link "$LINENO"; then :
6867 ac_cv_lib_i386_i386_set_ldt=yes
6868 else
6869 ac_cv_lib_i386_i386_set_ldt=no
6871 rm -f core conftest.err conftest.$ac_objext \
6872 conftest$ac_exeext conftest.$ac_ext
6873 LIBS=$ac_check_lib_save_LIBS
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6876 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6877 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6878 I386_LIBS="-li386"
6883 OPENGL_LIBS=""
6887 # Check whether --enable-largefile was given.
6888 if test "${enable_largefile+set}" = set; then :
6889 enableval=$enable_largefile;
6892 if test "$enable_largefile" != no; then
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6895 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6896 if ${ac_cv_sys_largefile_CC+:} false; then :
6897 $as_echo_n "(cached) " >&6
6898 else
6899 ac_cv_sys_largefile_CC=no
6900 if test "$GCC" != yes; then
6901 ac_save_CC=$CC
6902 while :; do
6903 # IRIX 6.2 and later do not support large files by default,
6904 # so use the C compiler's -n32 option if that helps.
6905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6906 /* end confdefs.h. */
6907 #include <sys/types.h>
6908 /* Check that off_t can represent 2**63 - 1 correctly.
6909 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6910 since some C++ compilers masquerading as C compilers
6911 incorrectly reject 9223372036854775807. */
6912 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6913 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6914 && LARGE_OFF_T % 2147483647 == 1)
6915 ? 1 : -1];
6917 main ()
6921 return 0;
6923 _ACEOF
6924 if ac_fn_c_try_compile "$LINENO"; then :
6925 break
6927 rm -f core conftest.err conftest.$ac_objext
6928 CC="$CC -n32"
6929 if ac_fn_c_try_compile "$LINENO"; then :
6930 ac_cv_sys_largefile_CC=' -n32'; break
6932 rm -f core conftest.err conftest.$ac_objext
6933 break
6934 done
6935 CC=$ac_save_CC
6936 rm -f conftest.$ac_ext
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6940 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6941 if test "$ac_cv_sys_largefile_CC" != no; then
6942 CC=$CC$ac_cv_sys_largefile_CC
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6946 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6947 if ${ac_cv_sys_file_offset_bits+:} false; then :
6948 $as_echo_n "(cached) " >&6
6949 else
6950 while :; do
6951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6952 /* end confdefs.h. */
6953 #include <sys/types.h>
6954 /* Check that off_t can represent 2**63 - 1 correctly.
6955 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6956 since some C++ compilers masquerading as C compilers
6957 incorrectly reject 9223372036854775807. */
6958 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6959 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6960 && LARGE_OFF_T % 2147483647 == 1)
6961 ? 1 : -1];
6963 main ()
6967 return 0;
6969 _ACEOF
6970 if ac_fn_c_try_compile "$LINENO"; then :
6971 ac_cv_sys_file_offset_bits=no; break
6973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6975 /* end confdefs.h. */
6976 #define _FILE_OFFSET_BITS 64
6977 #include <sys/types.h>
6978 /* Check that off_t can represent 2**63 - 1 correctly.
6979 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6980 since some C++ compilers masquerading as C compilers
6981 incorrectly reject 9223372036854775807. */
6982 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6983 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6984 && LARGE_OFF_T % 2147483647 == 1)
6985 ? 1 : -1];
6987 main ()
6991 return 0;
6993 _ACEOF
6994 if ac_fn_c_try_compile "$LINENO"; then :
6995 ac_cv_sys_file_offset_bits=64; break
6997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6998 ac_cv_sys_file_offset_bits=unknown
6999 break
7000 done
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7003 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7004 case $ac_cv_sys_file_offset_bits in #(
7005 no | unknown) ;;
7007 cat >>confdefs.h <<_ACEOF
7008 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7009 _ACEOF
7011 esac
7012 rm -rf conftest*
7013 if test $ac_cv_sys_file_offset_bits = unknown; then
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7015 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7016 if ${ac_cv_sys_large_files+:} false; then :
7017 $as_echo_n "(cached) " >&6
7018 else
7019 while :; do
7020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7021 /* end confdefs.h. */
7022 #include <sys/types.h>
7023 /* Check that off_t can represent 2**63 - 1 correctly.
7024 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7025 since some C++ compilers masquerading as C compilers
7026 incorrectly reject 9223372036854775807. */
7027 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7028 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7029 && LARGE_OFF_T % 2147483647 == 1)
7030 ? 1 : -1];
7032 main ()
7036 return 0;
7038 _ACEOF
7039 if ac_fn_c_try_compile "$LINENO"; then :
7040 ac_cv_sys_large_files=no; break
7042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7044 /* end confdefs.h. */
7045 #define _LARGE_FILES 1
7046 #include <sys/types.h>
7047 /* Check that off_t can represent 2**63 - 1 correctly.
7048 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7049 since some C++ compilers masquerading as C compilers
7050 incorrectly reject 9223372036854775807. */
7051 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7052 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7053 && LARGE_OFF_T % 2147483647 == 1)
7054 ? 1 : -1];
7056 main ()
7060 return 0;
7062 _ACEOF
7063 if ac_fn_c_try_compile "$LINENO"; then :
7064 ac_cv_sys_large_files=1; break
7066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7067 ac_cv_sys_large_files=unknown
7068 break
7069 done
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7072 $as_echo "$ac_cv_sys_large_files" >&6; }
7073 case $ac_cv_sys_large_files in #(
7074 no | unknown) ;;
7076 cat >>confdefs.h <<_ACEOF
7077 #define _LARGE_FILES $ac_cv_sys_large_files
7078 _ACEOF
7080 esac
7081 rm -rf conftest*
7088 ac_ext=c
7089 ac_cpp='$CPP $CPPFLAGS'
7090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7094 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7095 # On Suns, sometimes $CPP names a directory.
7096 if test -n "$CPP" && test -d "$CPP"; then
7097 CPP=
7099 if test -z "$CPP"; then
7100 if ${ac_cv_prog_CPP+:} false; then :
7101 $as_echo_n "(cached) " >&6
7102 else
7103 # Double quotes because CPP needs to be expanded
7104 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7106 ac_preproc_ok=false
7107 for ac_c_preproc_warn_flag in '' yes
7109 # Use a header file that comes with gcc, so configuring glibc
7110 # with a fresh cross-compiler works.
7111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7112 # <limits.h> exists even on freestanding compilers.
7113 # On the NeXT, cc -E runs the code through the compiler's parser,
7114 # not just through cpp. "Syntax error" is here to catch this case.
7115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7116 /* end confdefs.h. */
7117 #ifdef __STDC__
7118 # include <limits.h>
7119 #else
7120 # include <assert.h>
7121 #endif
7122 Syntax error
7123 _ACEOF
7124 if ac_fn_c_try_cpp "$LINENO"; then :
7126 else
7127 # Broken: fails on valid input.
7128 continue
7130 rm -f conftest.err conftest.i conftest.$ac_ext
7132 # OK, works on sane cases. Now check whether nonexistent headers
7133 # can be detected and how.
7134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7135 /* end confdefs.h. */
7136 #include <ac_nonexistent.h>
7137 _ACEOF
7138 if ac_fn_c_try_cpp "$LINENO"; then :
7139 # Broken: success on invalid input.
7140 continue
7141 else
7142 # Passes both tests.
7143 ac_preproc_ok=:
7144 break
7146 rm -f conftest.err conftest.i conftest.$ac_ext
7148 done
7149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7150 rm -f conftest.i conftest.err conftest.$ac_ext
7151 if $ac_preproc_ok; then :
7152 break
7155 done
7156 ac_cv_prog_CPP=$CPP
7159 CPP=$ac_cv_prog_CPP
7160 else
7161 ac_cv_prog_CPP=$CPP
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7164 $as_echo "$CPP" >&6; }
7165 ac_preproc_ok=false
7166 for ac_c_preproc_warn_flag in '' yes
7168 # Use a header file that comes with gcc, so configuring glibc
7169 # with a fresh cross-compiler works.
7170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7171 # <limits.h> exists even on freestanding compilers.
7172 # On the NeXT, cc -E runs the code through the compiler's parser,
7173 # not just through cpp. "Syntax error" is here to catch this case.
7174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7175 /* end confdefs.h. */
7176 #ifdef __STDC__
7177 # include <limits.h>
7178 #else
7179 # include <assert.h>
7180 #endif
7181 Syntax error
7182 _ACEOF
7183 if ac_fn_c_try_cpp "$LINENO"; then :
7185 else
7186 # Broken: fails on valid input.
7187 continue
7189 rm -f conftest.err conftest.i conftest.$ac_ext
7191 # OK, works on sane cases. Now check whether nonexistent headers
7192 # can be detected and how.
7193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h. */
7195 #include <ac_nonexistent.h>
7196 _ACEOF
7197 if ac_fn_c_try_cpp "$LINENO"; then :
7198 # Broken: success on invalid input.
7199 continue
7200 else
7201 # Passes both tests.
7202 ac_preproc_ok=:
7203 break
7205 rm -f conftest.err conftest.i conftest.$ac_ext
7207 done
7208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7209 rm -f conftest.i conftest.err conftest.$ac_ext
7210 if $ac_preproc_ok; then :
7212 else
7213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7215 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7216 See \`config.log' for more details" "$LINENO" 5; }
7219 ac_ext=c
7220 ac_cpp='$CPP $CPPFLAGS'
7221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7227 $as_echo_n "checking for ANSI C header files... " >&6; }
7228 if ${ac_cv_header_stdc+:} false; then :
7229 $as_echo_n "(cached) " >&6
7230 else
7231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7232 /* end confdefs.h. */
7233 #include <stdlib.h>
7234 #include <stdarg.h>
7235 #include <string.h>
7236 #include <float.h>
7239 main ()
7243 return 0;
7245 _ACEOF
7246 if ac_fn_c_try_compile "$LINENO"; then :
7247 ac_cv_header_stdc=yes
7248 else
7249 ac_cv_header_stdc=no
7251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7253 if test $ac_cv_header_stdc = yes; then
7254 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7256 /* end confdefs.h. */
7257 #include <string.h>
7259 _ACEOF
7260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7261 $EGREP "memchr" >/dev/null 2>&1; then :
7263 else
7264 ac_cv_header_stdc=no
7266 rm -f conftest*
7270 if test $ac_cv_header_stdc = yes; then
7271 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7273 /* end confdefs.h. */
7274 #include <stdlib.h>
7276 _ACEOF
7277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7278 $EGREP "free" >/dev/null 2>&1; then :
7280 else
7281 ac_cv_header_stdc=no
7283 rm -f conftest*
7287 if test $ac_cv_header_stdc = yes; then
7288 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7289 if test "$cross_compiling" = yes; then :
7291 else
7292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7293 /* end confdefs.h. */
7294 #include <ctype.h>
7295 #include <stdlib.h>
7296 #if ((' ' & 0x0FF) == 0x020)
7297 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7298 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7299 #else
7300 # define ISLOWER(c) \
7301 (('a' <= (c) && (c) <= 'i') \
7302 || ('j' <= (c) && (c) <= 'r') \
7303 || ('s' <= (c) && (c) <= 'z'))
7304 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7305 #endif
7307 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7309 main ()
7311 int i;
7312 for (i = 0; i < 256; i++)
7313 if (XOR (islower (i), ISLOWER (i))
7314 || toupper (i) != TOUPPER (i))
7315 return 2;
7316 return 0;
7318 _ACEOF
7319 if ac_fn_c_try_run "$LINENO"; then :
7321 else
7322 ac_cv_header_stdc=no
7324 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7325 conftest.$ac_objext conftest.beam conftest.$ac_ext
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7331 $as_echo "$ac_cv_header_stdc" >&6; }
7332 if test $ac_cv_header_stdc = yes; then
7334 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7338 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7339 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7340 inttypes.h stdint.h unistd.h
7341 do :
7342 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7343 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7345 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7346 cat >>confdefs.h <<_ACEOF
7347 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7348 _ACEOF
7352 done
7355 for ac_header in \
7356 AL/al.h \
7357 ApplicationServices/ApplicationServices.h \
7358 AudioToolbox/AudioConverter.h \
7359 AudioUnit/AudioUnit.h \
7360 AudioUnit/AudioComponent.h \
7361 CL/cl.h \
7362 Carbon/Carbon.h \
7363 CommonCrypto/CommonCryptor.h \
7364 CoreAudio/CoreAudio.h \
7365 CoreServices/CoreServices.h \
7366 DiskArbitration/DiskArbitration.h \
7367 EGL/egl.h \
7368 IOKit/IOKitLib.h \
7369 IOKit/hid/IOHIDLib.h \
7370 OpenAL/al.h \
7371 OpenCL/opencl.h \
7372 QuickTime/ImageCompression.h \
7373 Security/Security.h \
7374 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7375 SystemConfiguration/SCNetworkConfiguration.h \
7376 alias.h \
7377 arpa/inet.h \
7378 arpa/nameser.h \
7379 asm/types.h \
7380 asm/user.h \
7381 curses.h \
7382 dirent.h \
7383 dlfcn.h \
7384 elf.h \
7385 float.h \
7386 fnmatch.h \
7387 getopt.h \
7388 gettext-po.h \
7389 grp.h \
7390 gsm.h \
7391 gsm/gsm.h \
7392 ieeefp.h \
7393 inet/mib2.h \
7394 kstat.h \
7395 libproc.h \
7396 link.h \
7397 linux/cdrom.h \
7398 linux/compiler.h \
7399 linux/filter.h \
7400 linux/hdreg.h \
7401 linux/hidraw.h \
7402 linux/input.h \
7403 linux/ioctl.h \
7404 linux/joystick.h \
7405 linux/major.h \
7406 linux/param.h \
7407 linux/serial.h \
7408 linux/types.h \
7409 linux/ucdrom.h \
7410 lwp.h \
7411 mach-o/nlist.h \
7412 mach-o/loader.h \
7413 mach/mach.h \
7414 mach/machine.h \
7415 machine/cpu.h \
7416 machine/limits.h \
7417 machine/sysarch.h \
7418 mntent.h \
7419 ncurses.h \
7420 netdb.h \
7421 netinet/in.h \
7422 netinet/in_systm.h \
7423 netinet/tcp.h \
7424 netinet/tcp_fsm.h \
7425 pcap/pcap.h \
7426 poll.h \
7427 port.h \
7428 pthread.h \
7429 pwd.h \
7430 sasl/sasl.h \
7431 sched.h \
7432 scsi/scsi.h \
7433 scsi/scsi_ioctl.h \
7434 scsi/sg.h \
7435 stdbool.h \
7436 stdint.h \
7437 stropts.h \
7438 sys/attr.h \
7439 sys/auxv.h \
7440 sys/cdio.h \
7441 sys/epoll.h \
7442 sys/event.h \
7443 sys/filio.h \
7444 sys/ioctl.h \
7445 sys/ipc.h \
7446 sys/limits.h \
7447 sys/link.h \
7448 sys/mman.h \
7449 sys/modem.h \
7450 sys/msg.h \
7451 sys/mtio.h \
7452 sys/param.h \
7453 sys/poll.h \
7454 sys/prctl.h \
7455 sys/protosw.h \
7456 sys/ptrace.h \
7457 sys/queue.h \
7458 sys/resource.h \
7459 sys/scsiio.h \
7460 sys/shm.h \
7461 sys/signal.h \
7462 sys/socket.h \
7463 sys/socketvar.h \
7464 sys/sockio.h \
7465 sys/statvfs.h \
7466 sys/strtio.h \
7467 sys/syscall.h \
7468 sys/sysinfo.h \
7469 sys/tihdr.h \
7470 sys/time.h \
7471 sys/timeout.h \
7472 sys/times.h \
7473 sys/uio.h \
7474 sys/user.h \
7475 sys/utsname.h \
7476 sys/vnode.h \
7477 sys/wait.h \
7478 syscall.h \
7479 termios.h \
7480 unistd.h \
7481 utime.h \
7482 valgrind/memcheck.h \
7483 valgrind/valgrind.h
7485 do :
7486 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7487 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7488 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7489 cat >>confdefs.h <<_ACEOF
7490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7491 _ACEOF
7495 done
7497 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7498 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7500 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7505 if test $ac_cv_header_sys_mkdev_h = no; then
7506 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7507 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7509 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7516 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7517 if ${ac_cv_header_stat_broken+:} false; then :
7518 $as_echo_n "(cached) " >&6
7519 else
7520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7521 /* end confdefs.h. */
7522 #include <sys/types.h>
7523 #include <sys/stat.h>
7525 #if defined S_ISBLK && defined S_IFDIR
7526 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7527 #endif
7529 #if defined S_ISBLK && defined S_IFCHR
7530 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7531 #endif
7533 #if defined S_ISLNK && defined S_IFREG
7534 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7535 #endif
7537 #if defined S_ISSOCK && defined S_IFREG
7538 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7539 #endif
7541 _ACEOF
7542 if ac_fn_c_try_compile "$LINENO"; then :
7543 ac_cv_header_stat_broken=no
7544 else
7545 ac_cv_header_stat_broken=yes
7547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7550 $as_echo "$ac_cv_header_stat_broken" >&6; }
7551 if test $ac_cv_header_stat_broken = yes; then
7553 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7559 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7560 do :
7561 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7562 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7563 #ifdef HAVE_SYS_PARAM_H
7564 # include <sys/param.h>
7565 #endif
7567 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7568 cat >>confdefs.h <<_ACEOF
7569 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7570 _ACEOF
7574 done
7577 for ac_header in \
7578 netinet/ip.h \
7579 net/if.h \
7580 net/if_arp.h \
7581 net/if_dl.h \
7582 net/if_types.h \
7583 net/route.h \
7584 netinet/if_ether.h \
7585 netinet/if_inarp.h \
7586 netinet/in_pcb.h \
7587 netinet/ip_icmp.h \
7588 netinet/ip_var.h \
7589 netinet/udp.h \
7590 netipx/ipx.h \
7591 sys/un.h \
7593 do :
7594 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7595 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7596 #ifdef HAVE_SYS_SOCKET_H
7597 # include <sys/socket.h>
7598 #endif
7599 #ifdef HAVE_SYS_SOCKETVAR_H
7600 # include <sys/socketvar.h>
7601 #endif
7602 #ifdef HAVE_NET_ROUTE_H
7603 # include <net/route.h>
7604 #endif
7605 #ifdef HAVE_NETINET_IN_H
7606 # include <netinet/in.h>
7607 #endif
7608 #ifdef HAVE_NETINET_IN_SYSTM_H
7609 # include <netinet/in_systm.h>
7610 #endif
7611 #ifdef HAVE_NET_IF_H
7612 # include <net/if.h>
7613 #endif
7614 #ifdef HAVE_NETINET_IP_H
7615 # include <netinet/ip.h>
7616 #endif
7618 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7619 cat >>confdefs.h <<_ACEOF
7620 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7621 _ACEOF
7625 done
7628 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7629 do :
7630 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7631 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7632 #ifdef HAVE_ALIAS_H
7633 # include <alias.h>
7634 #endif
7635 #ifdef HAVE_SYS_SOCKET_H
7636 # include <sys/socket.h>
7637 #endif
7638 #ifdef HAVE_SYS_SOCKETVAR_H
7639 # include <sys/socketvar.h>
7640 #endif
7641 #ifdef HAVE_SYS_TIMEOUT_H
7642 # include <sys/timeout.h>
7643 #endif
7644 #ifdef HAVE_NETINET_IN_H
7645 # include <netinet/in.h>
7646 #endif
7647 #ifdef HAVE_NETINET_IN_SYSTM_H
7648 # include <netinet/in_systm.h>
7649 #endif
7650 #ifdef HAVE_NETINET_IP_H
7651 # include <netinet/ip.h>
7652 #endif
7653 #ifdef HAVE_NETINET_IP_VAR_H
7654 # include <netinet/ip_var.h>
7655 #endif
7656 #ifdef HAVE_NETINET_IP_ICMP_H
7657 # include <netinet/ip_icmp.h>
7658 #endif
7659 #ifdef HAVE_NETINET_UDP_H
7660 # include <netinet/udp.h>
7661 #endif
7662 #ifdef HAVE_NETINET_TCP_H
7663 # include <netinet/tcp.h>
7664 #endif
7665 #ifdef HAVE_NETINET_TCP_TIMER_H
7666 #include <netinet/tcp_timer.h>
7667 #endif
7669 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7670 cat >>confdefs.h <<_ACEOF
7671 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7672 _ACEOF
7676 done
7679 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7680 do :
7681 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7682 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7683 #ifdef HAVE_ASM_TYPES_H
7684 # include <asm/types.h>
7685 #endif
7686 #ifdef HAVE_SYS_SOCKET_H
7687 # include <sys/socket.h>
7688 #endif
7689 #ifdef HAVE_LINUX_TYPES_H
7690 # include <linux/types.h>
7691 #endif
7693 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7694 cat >>confdefs.h <<_ACEOF
7695 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7696 _ACEOF
7700 done
7703 for ac_header in resolv.h
7704 do :
7705 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7706 #ifdef HAVE_SYS_SOCKET_H
7707 # include <sys/socket.h>
7708 #endif
7709 #ifdef HAVE_NETINET_IN_H
7710 # include <netinet/in.h>
7711 #endif
7712 #ifdef HAVE_ARPA_NAMESER_H
7713 # include <arpa/nameser.h>
7714 #endif
7716 if test "x$ac_cv_header_resolv_h" = xyes; then :
7717 cat >>confdefs.h <<_ACEOF
7718 #define HAVE_RESOLV_H 1
7719 _ACEOF
7723 done
7726 for ac_header in ifaddrs.h
7727 do :
7728 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7730 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7731 cat >>confdefs.h <<_ACEOF
7732 #define HAVE_IFADDRS_H 1
7733 _ACEOF
7737 done
7740 for ac_header in sys/ucontext.h
7741 do :
7742 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7744 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7745 cat >>confdefs.h <<_ACEOF
7746 #define HAVE_SYS_UCONTEXT_H 1
7747 _ACEOF
7751 done
7754 for ac_header in sys/thr.h
7755 do :
7756 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7757 #ifdef HAVE_SYS_UCONTEXT_H
7758 #include <sys/ucontext.h>
7759 #endif
7761 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7762 cat >>confdefs.h <<_ACEOF
7763 #define HAVE_SYS_THR_H 1
7764 _ACEOF
7768 done
7771 for ac_header in pthread_np.h
7772 do :
7773 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7774 #include <pthread.h>
7775 #endif
7777 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7778 cat >>confdefs.h <<_ACEOF
7779 #define HAVE_PTHREAD_NP_H 1
7780 _ACEOF
7784 done
7787 for ac_header in linux/videodev2.h
7788 do :
7789 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7790 #include <sys/time.h>
7791 #endif
7792 #include <sys/types.h>
7793 #ifdef HAVE_ASM_TYPES_H
7794 #include <asm/types.h>
7795 #endif
7797 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7798 cat >>confdefs.h <<_ACEOF
7799 #define HAVE_LINUX_VIDEODEV2_H 1
7800 _ACEOF
7804 done
7807 for ac_header in libprocstat.h
7808 do :
7809 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7810 #include <sys/param.h>
7811 #endif
7812 #ifdef HAVE_SYS_QUEUE_H
7813 #include <sys/queue.h>
7814 #endif
7815 #ifdef HAVE_SYS_SOCKET_H
7816 #include <sys/socket.h>
7817 #endif
7819 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7820 cat >>confdefs.h <<_ACEOF
7821 #define HAVE_LIBPROCSTAT_H 1
7822 _ACEOF
7826 done
7830 DLLFLAGS="-D_REENTRANT"
7832 LDRPATH_INSTALL=""
7834 LDRPATH_LOCAL=""
7836 LDDLLFLAGS=""
7838 LDEXECFLAGS=""
7840 TOP_INSTALL_LIB=""
7842 TOP_INSTALL_DEV=""
7844 WINELOADER_LDFLAGS=""
7846 WINEPRELOADER_LDFLAGS=""
7848 LIBEXT="so"
7849 DLLEXT=".so"
7850 # Extract the first word of "ldd", so it can be a program name with args.
7851 set dummy ldd; ac_word=$2
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7853 $as_echo_n "checking for $ac_word... " >&6; }
7854 if ${ac_cv_path_LDD+:} false; then :
7855 $as_echo_n "(cached) " >&6
7856 else
7857 case $LDD in
7858 [\\/]* | ?:[\\/]*)
7859 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7863 as_dummy="/sbin:/usr/sbin:$PATH"
7864 for as_dir in $as_dummy
7866 IFS=$as_save_IFS
7867 test -z "$as_dir" && as_dir=.
7868 for ac_exec_ext in '' $ac_executable_extensions; do
7869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7870 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7872 break 2
7874 done
7875 done
7876 IFS=$as_save_IFS
7878 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7880 esac
7882 LDD=$ac_cv_path_LDD
7883 if test -n "$LDD"; then
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7885 $as_echo "$LDD" >&6; }
7886 else
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7888 $as_echo "no" >&6; }
7892 if test -n "$ac_tool_prefix"; then
7893 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7894 set dummy ${ac_tool_prefix}otool; ac_word=$2
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7896 $as_echo_n "checking for $ac_word... " >&6; }
7897 if ${ac_cv_prog_OTOOL+:} false; then :
7898 $as_echo_n "(cached) " >&6
7899 else
7900 if test -n "$OTOOL"; then
7901 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7902 else
7903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7904 for as_dir in $PATH
7906 IFS=$as_save_IFS
7907 test -z "$as_dir" && as_dir=.
7908 for ac_exec_ext in '' $ac_executable_extensions; do
7909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7910 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7912 break 2
7914 done
7915 done
7916 IFS=$as_save_IFS
7920 OTOOL=$ac_cv_prog_OTOOL
7921 if test -n "$OTOOL"; then
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7923 $as_echo "$OTOOL" >&6; }
7924 else
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7926 $as_echo "no" >&6; }
7931 if test -z "$ac_cv_prog_OTOOL"; then
7932 ac_ct_OTOOL=$OTOOL
7933 # Extract the first word of "otool", so it can be a program name with args.
7934 set dummy otool; ac_word=$2
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7936 $as_echo_n "checking for $ac_word... " >&6; }
7937 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7938 $as_echo_n "(cached) " >&6
7939 else
7940 if test -n "$ac_ct_OTOOL"; then
7941 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7942 else
7943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7944 for as_dir in $PATH
7946 IFS=$as_save_IFS
7947 test -z "$as_dir" && as_dir=.
7948 for ac_exec_ext in '' $ac_executable_extensions; do
7949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7950 ac_cv_prog_ac_ct_OTOOL="otool"
7951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7952 break 2
7954 done
7955 done
7956 IFS=$as_save_IFS
7960 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7961 if test -n "$ac_ct_OTOOL"; then
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7963 $as_echo "$ac_ct_OTOOL" >&6; }
7964 else
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7966 $as_echo "no" >&6; }
7969 if test "x$ac_ct_OTOOL" = x; then
7970 OTOOL="otool"
7971 else
7972 case $cross_compiling:$ac_tool_warned in
7973 yes:)
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7976 ac_tool_warned=yes ;;
7977 esac
7978 OTOOL=$ac_ct_OTOOL
7980 else
7981 OTOOL="$ac_cv_prog_OTOOL"
7984 if test -n "$ac_tool_prefix"; then
7985 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7986 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7988 $as_echo_n "checking for $ac_word... " >&6; }
7989 if ${ac_cv_prog_READELF+:} false; then :
7990 $as_echo_n "(cached) " >&6
7991 else
7992 if test -n "$READELF"; then
7993 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7994 else
7995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7996 for as_dir in $PATH
7998 IFS=$as_save_IFS
7999 test -z "$as_dir" && as_dir=.
8000 for ac_exec_ext in '' $ac_executable_extensions; do
8001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8002 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8004 break 2
8006 done
8007 done
8008 IFS=$as_save_IFS
8012 READELF=$ac_cv_prog_READELF
8013 if test -n "$READELF"; then
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8015 $as_echo "$READELF" >&6; }
8016 else
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8018 $as_echo "no" >&6; }
8023 if test -z "$ac_cv_prog_READELF"; then
8024 ac_ct_READELF=$READELF
8025 # Extract the first word of "readelf", so it can be a program name with args.
8026 set dummy readelf; ac_word=$2
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8028 $as_echo_n "checking for $ac_word... " >&6; }
8029 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8030 $as_echo_n "(cached) " >&6
8031 else
8032 if test -n "$ac_ct_READELF"; then
8033 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8034 else
8035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8036 for as_dir in $PATH
8038 IFS=$as_save_IFS
8039 test -z "$as_dir" && as_dir=.
8040 for ac_exec_ext in '' $ac_executable_extensions; do
8041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8042 ac_cv_prog_ac_ct_READELF="readelf"
8043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8044 break 2
8046 done
8047 done
8048 IFS=$as_save_IFS
8052 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8053 if test -n "$ac_ct_READELF"; then
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8055 $as_echo "$ac_ct_READELF" >&6; }
8056 else
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8058 $as_echo "no" >&6; }
8061 if test "x$ac_ct_READELF" = x; then
8062 READELF="true"
8063 else
8064 case $cross_compiling:$ac_tool_warned in
8065 yes:)
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8068 ac_tool_warned=yes ;;
8069 esac
8070 READELF=$ac_ct_READELF
8072 else
8073 READELF="$ac_cv_prog_READELF"
8076 wine_rules_file=conf$$rules.make
8077 rm -f $wine_rules_file
8078 SUBDIRS=""
8080 DISABLED_SUBDIRS=""
8082 CONFIGURE_TARGETS=""
8085 wine_fn_append_file ()
8087 as_fn_append $1 " \\$as_nl $2"
8090 wine_fn_append_rule ()
8092 $as_echo "$1" >>$wine_rules_file
8095 wine_fn_config_makefile ()
8097 wine_fn_append_file SUBDIRS $1
8098 if eval test \"x\$"$2"\" = x"no"; then :
8099 wine_fn_append_file DISABLED_SUBDIRS $1
8103 wine_fn_config_symlink ()
8105 ac_links=$@
8106 wine_fn_append_rule \
8107 "$ac_links:
8108 @./config.status \$@"
8109 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8112 wine_binary="wine"
8113 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8114 WINELOADER_PROGRAMS="$wine_binary"
8116 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8118 case $host_os in
8119 cygwin*|mingw32*)
8120 if test -n "$ac_tool_prefix"; then
8121 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8122 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8124 $as_echo_n "checking for $ac_word... " >&6; }
8125 if ${ac_cv_prog_DLLTOOL+:} false; then :
8126 $as_echo_n "(cached) " >&6
8127 else
8128 if test -n "$DLLTOOL"; then
8129 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8130 else
8131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8132 for as_dir in $PATH
8134 IFS=$as_save_IFS
8135 test -z "$as_dir" && as_dir=.
8136 for ac_exec_ext in '' $ac_executable_extensions; do
8137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8138 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8140 break 2
8142 done
8143 done
8144 IFS=$as_save_IFS
8148 DLLTOOL=$ac_cv_prog_DLLTOOL
8149 if test -n "$DLLTOOL"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8151 $as_echo "$DLLTOOL" >&6; }
8152 else
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8159 if test -z "$ac_cv_prog_DLLTOOL"; then
8160 ac_ct_DLLTOOL=$DLLTOOL
8161 # Extract the first word of "dlltool", so it can be a program name with args.
8162 set dummy dlltool; ac_word=$2
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8164 $as_echo_n "checking for $ac_word... " >&6; }
8165 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8166 $as_echo_n "(cached) " >&6
8167 else
8168 if test -n "$ac_ct_DLLTOOL"; then
8169 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8170 else
8171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8172 for as_dir in $PATH
8174 IFS=$as_save_IFS
8175 test -z "$as_dir" && as_dir=.
8176 for ac_exec_ext in '' $ac_executable_extensions; do
8177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8178 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8180 break 2
8182 done
8183 done
8184 IFS=$as_save_IFS
8188 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8189 if test -n "$ac_ct_DLLTOOL"; then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8191 $as_echo "$ac_ct_DLLTOOL" >&6; }
8192 else
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8194 $as_echo "no" >&6; }
8197 if test "x$ac_ct_DLLTOOL" = x; then
8198 DLLTOOL="false"
8199 else
8200 case $cross_compiling:$ac_tool_warned in
8201 yes:)
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8204 ac_tool_warned=yes ;;
8205 esac
8206 DLLTOOL=$ac_ct_DLLTOOL
8208 else
8209 DLLTOOL="$ac_cv_prog_DLLTOOL"
8212 LIBEXT="dll"
8213 DLLEXT=""
8214 case $host_cpu in
8215 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8216 esac
8217 enable_iphlpapi=${enable_iphlpapi:-no}
8218 enable_kernel32=${enable_kernel32:-no}
8219 enable_ntdll=${enable_ntdll:-no}
8220 enable_ws2_32=${enable_ws2_32:-no}
8221 enable_loader=${enable_loader:-no}
8222 enable_server=${enable_server:-no}
8223 with_x=${with_x:-no}
8224 with_pthread=${with_pthread:-no}
8227 darwin*|macosx*)
8228 ac_ext=m
8229 ac_cpp='$OBJCPP $CPPFLAGS'
8230 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8231 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8232 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8234 ac_ext=m
8235 ac_cpp='$OBJCPP $CPPFLAGS'
8236 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8237 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8238 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8239 if test -n "$ac_tool_prefix"; then
8240 for ac_prog in gcc objcc objc cc CC
8242 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8243 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8245 $as_echo_n "checking for $ac_word... " >&6; }
8246 if ${ac_cv_prog_OBJC+:} false; then :
8247 $as_echo_n "(cached) " >&6
8248 else
8249 if test -n "$OBJC"; then
8250 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8251 else
8252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8253 for as_dir in $PATH
8255 IFS=$as_save_IFS
8256 test -z "$as_dir" && as_dir=.
8257 for ac_exec_ext in '' $ac_executable_extensions; do
8258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8259 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8261 break 2
8263 done
8264 done
8265 IFS=$as_save_IFS
8269 OBJC=$ac_cv_prog_OBJC
8270 if test -n "$OBJC"; then
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8272 $as_echo "$OBJC" >&6; }
8273 else
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8275 $as_echo "no" >&6; }
8279 test -n "$OBJC" && break
8280 done
8282 if test -z "$OBJC"; then
8283 ac_ct_OBJC=$OBJC
8284 for ac_prog in gcc objcc objc cc CC
8286 # Extract the first word of "$ac_prog", so it can be a program name with args.
8287 set dummy $ac_prog; ac_word=$2
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8289 $as_echo_n "checking for $ac_word... " >&6; }
8290 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8291 $as_echo_n "(cached) " >&6
8292 else
8293 if test -n "$ac_ct_OBJC"; then
8294 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8295 else
8296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8297 for as_dir in $PATH
8299 IFS=$as_save_IFS
8300 test -z "$as_dir" && as_dir=.
8301 for ac_exec_ext in '' $ac_executable_extensions; do
8302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8303 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8305 break 2
8307 done
8308 done
8309 IFS=$as_save_IFS
8313 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8314 if test -n "$ac_ct_OBJC"; then
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8316 $as_echo "$ac_ct_OBJC" >&6; }
8317 else
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8319 $as_echo "no" >&6; }
8323 test -n "$ac_ct_OBJC" && break
8324 done
8326 if test "x$ac_ct_OBJC" = x; then
8327 OBJC="gcc"
8328 else
8329 case $cross_compiling:$ac_tool_warned in
8330 yes:)
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8333 ac_tool_warned=yes ;;
8334 esac
8335 OBJC=$ac_ct_OBJC
8339 # Provide some information about the compiler.
8340 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8341 set X $ac_compile
8342 ac_compiler=$2
8343 for ac_option in --version -v -V -qversion; do
8344 { { ac_try="$ac_compiler $ac_option >&5"
8345 case "(($ac_try" in
8346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8347 *) ac_try_echo=$ac_try;;
8348 esac
8349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8350 $as_echo "$ac_try_echo"; } >&5
8351 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8352 ac_status=$?
8353 if test -s conftest.err; then
8354 sed '10a\
8355 ... rest of stderr output deleted ...
8356 10q' conftest.err >conftest.er1
8357 cat conftest.er1 >&5
8359 rm -f conftest.er1 conftest.err
8360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8361 test $ac_status = 0; }
8362 done
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8365 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8366 if ${ac_cv_objc_compiler_gnu+:} false; then :
8367 $as_echo_n "(cached) " >&6
8368 else
8369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8370 /* end confdefs.h. */
8373 main ()
8375 #ifndef __GNUC__
8376 choke me
8377 #endif
8380 return 0;
8382 _ACEOF
8383 if ac_fn_objc_try_compile "$LINENO"; then :
8384 ac_compiler_gnu=yes
8385 else
8386 ac_compiler_gnu=no
8388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8389 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8393 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8394 if test $ac_compiler_gnu = yes; then
8395 GOBJC=yes
8396 else
8397 GOBJC=
8399 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8400 ac_save_OBJCFLAGS=$OBJCFLAGS
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8402 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8403 if ${ac_cv_prog_objc_g+:} false; then :
8404 $as_echo_n "(cached) " >&6
8405 else
8406 ac_save_objc_werror_flag=$ac_objc_werror_flag
8407 ac_objc_werror_flag=yes
8408 ac_cv_prog_objc_g=no
8409 OBJCFLAGS="-g"
8410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8411 /* end confdefs.h. */
8414 main ()
8418 return 0;
8420 _ACEOF
8421 if ac_fn_objc_try_compile "$LINENO"; then :
8422 ac_cv_prog_objc_g=yes
8423 else
8424 OBJCFLAGS=""
8425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8426 /* end confdefs.h. */
8429 main ()
8433 return 0;
8435 _ACEOF
8436 if ac_fn_objc_try_compile "$LINENO"; then :
8438 else
8439 ac_objc_werror_flag=$ac_save_objc_werror_flag
8440 OBJCFLAGS="-g"
8441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8442 /* end confdefs.h. */
8445 main ()
8449 return 0;
8451 _ACEOF
8452 if ac_fn_objc_try_compile "$LINENO"; then :
8453 ac_cv_prog_objc_g=yes
8455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8460 ac_objc_werror_flag=$ac_save_objc_werror_flag
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8463 $as_echo "$ac_cv_prog_objc_g" >&6; }
8464 if test "$ac_test_OBJCFLAGS" = set; then
8465 OBJCFLAGS=$ac_save_OBJCFLAGS
8466 elif test $ac_cv_prog_objc_g = yes; then
8467 if test "$GOBJC" = yes; then
8468 OBJCFLAGS="-g -O2"
8469 else
8470 OBJCFLAGS="-g"
8472 else
8473 if test "$GOBJC" = yes; then
8474 OBJCFLAGS="-O2"
8475 else
8476 OBJCFLAGS=
8479 ac_ext=m
8480 ac_cpp='$OBJCPP $CPPFLAGS'
8481 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8482 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8483 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8486 ac_ext=m
8487 ac_cpp='$OBJCPP $CPPFLAGS'
8488 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8489 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8490 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8492 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8493 if test -z "$OBJCPP"; then
8494 if ${ac_cv_prog_OBJCPP+:} false; then :
8495 $as_echo_n "(cached) " >&6
8496 else
8497 # Double quotes because OBJCPP needs to be expanded
8498 for OBJCPP in "$OBJC -E" "/lib/cpp"
8500 ac_preproc_ok=false
8501 for ac_objc_preproc_warn_flag in '' yes
8503 # Use a header file that comes with gcc, so configuring glibc
8504 # with a fresh cross-compiler works.
8505 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8506 # <limits.h> exists even on freestanding compilers.
8507 # On the NeXT, cc -E runs the code through the compiler's parser,
8508 # not just through cpp. "Syntax error" is here to catch this case.
8509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8510 /* end confdefs.h. */
8511 #ifdef __STDC__
8512 # include <limits.h>
8513 #else
8514 # include <assert.h>
8515 #endif
8516 Syntax error
8517 _ACEOF
8518 if ac_fn_objc_try_cpp "$LINENO"; then :
8520 else
8521 # Broken: fails on valid input.
8522 continue
8524 rm -f conftest.err conftest.i conftest.$ac_ext
8526 # OK, works on sane cases. Now check whether nonexistent headers
8527 # can be detected and how.
8528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8529 /* end confdefs.h. */
8530 #include <ac_nonexistent.h>
8531 _ACEOF
8532 if ac_fn_objc_try_cpp "$LINENO"; then :
8533 # Broken: success on invalid input.
8534 continue
8535 else
8536 # Passes both tests.
8537 ac_preproc_ok=:
8538 break
8540 rm -f conftest.err conftest.i conftest.$ac_ext
8542 done
8543 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8544 rm -f conftest.i conftest.err conftest.$ac_ext
8545 if $ac_preproc_ok; then :
8546 break
8549 done
8550 ac_cv_prog_OBJCPP=$OBJCPP
8553 OBJCPP=$ac_cv_prog_OBJCPP
8554 else
8555 ac_cv_prog_OBJCPP=$OBJCPP
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8558 $as_echo "$OBJCPP" >&6; }
8559 ac_preproc_ok=false
8560 for ac_objc_preproc_warn_flag in '' yes
8562 # Use a header file that comes with gcc, so configuring glibc
8563 # with a fresh cross-compiler works.
8564 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8565 # <limits.h> exists even on freestanding compilers.
8566 # On the NeXT, cc -E runs the code through the compiler's parser,
8567 # not just through cpp. "Syntax error" is here to catch this case.
8568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8569 /* end confdefs.h. */
8570 #ifdef __STDC__
8571 # include <limits.h>
8572 #else
8573 # include <assert.h>
8574 #endif
8575 Syntax error
8576 _ACEOF
8577 if ac_fn_objc_try_cpp "$LINENO"; then :
8579 else
8580 # Broken: fails on valid input.
8581 continue
8583 rm -f conftest.err conftest.i conftest.$ac_ext
8585 # OK, works on sane cases. Now check whether nonexistent headers
8586 # can be detected and how.
8587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8588 /* end confdefs.h. */
8589 #include <ac_nonexistent.h>
8590 _ACEOF
8591 if ac_fn_objc_try_cpp "$LINENO"; then :
8592 # Broken: success on invalid input.
8593 continue
8594 else
8595 # Passes both tests.
8596 ac_preproc_ok=:
8597 break
8599 rm -f conftest.err conftest.i conftest.$ac_ext
8601 done
8602 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8603 rm -f conftest.i conftest.err conftest.$ac_ext
8604 if $ac_preproc_ok; then :
8606 else
8607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8609 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8610 See \`config.log' for more details" "$LINENO" 5; }
8613 ac_ext=m
8614 ac_cpp='$OBJCPP $CPPFLAGS'
8615 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8616 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8617 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8620 for ac_header in Metal/Metal.h
8621 do :
8622 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8623 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8624 cat >>confdefs.h <<_ACEOF
8625 #define HAVE_METAL_METAL_H 1
8626 _ACEOF
8630 done
8632 ac_ext=c
8633 ac_cpp='$CPP $CPPFLAGS'
8634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8638 LIBEXT="dylib"
8639 DLLFLAGS="$DLLFLAGS -fPIC"
8640 LDDLLFLAGS="-fPIC"
8641 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8642 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8643 COREFOUNDATION_LIBS="-framework CoreFoundation"
8645 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8647 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8649 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8651 CORESERVICES_LIBS="-framework CoreServices"
8653 APPKIT_LIBS="-framework AppKit"
8655 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8658 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8660 wine_can_build_preloader=yes
8661 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8663 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8664 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8665 $as_echo_n "(cached) " >&6
8666 else
8667 ac_wine_try_cflags_saved=$CFLAGS
8668 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8671 int main(int argc, char **argv) { return 0; }
8672 _ACEOF
8673 if ac_fn_c_try_link "$LINENO"; then :
8674 ac_cv_cflags__Wl__no_new_main__e__main=yes
8675 else
8676 ac_cv_cflags__Wl__no_new_main__e__main=no
8678 rm -f core conftest.err conftest.$ac_objext \
8679 conftest$ac_exeext conftest.$ac_ext
8680 CFLAGS=$ac_wine_try_cflags_saved
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8683 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8684 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8685 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8687 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8688 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8689 $as_echo_n "(cached) " >&6
8690 else
8691 ac_wine_try_cflags_saved=$CFLAGS
8692 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8694 /* end confdefs.h. */
8695 int main(int argc, char **argv) { return 0; }
8696 _ACEOF
8697 if ac_fn_c_try_link "$LINENO"; then :
8698 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8699 else
8700 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8702 rm -f core conftest.err conftest.$ac_objext \
8703 conftest$ac_exeext conftest.$ac_ext
8704 CFLAGS=$ac_wine_try_cflags_saved
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8707 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8708 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8709 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8710 else
8711 { $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
8712 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8713 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8714 $as_echo_n "(cached) " >&6
8715 else
8716 ac_wine_try_cflags_saved=$CFLAGS
8717 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8720 int main(int argc, char **argv) { return 0; }
8721 _ACEOF
8722 if ac_fn_c_try_link "$LINENO"; then :
8723 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8724 else
8725 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8727 rm -f core conftest.err conftest.$ac_objext \
8728 conftest$ac_exeext conftest.$ac_ext
8729 CFLAGS=$ac_wine_try_cflags_saved
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8732 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8733 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8734 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8735 else
8736 wine_can_build_preloader=no
8739 else
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8741 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8742 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8743 $as_echo_n "(cached) " >&6
8744 else
8745 ac_wine_try_cflags_saved=$CFLAGS
8746 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8748 /* end confdefs.h. */
8749 int main(int argc, char **argv) { return 0; }
8750 _ACEOF
8751 if ac_fn_c_try_link "$LINENO"; then :
8752 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8753 else
8754 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8756 rm -f core conftest.err conftest.$ac_objext \
8757 conftest$ac_exeext conftest.$ac_ext
8758 CFLAGS=$ac_wine_try_cflags_saved
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8761 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8762 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8763 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8764 else
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8766 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8767 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8768 $as_echo_n "(cached) " >&6
8769 else
8770 ac_wine_try_cflags_saved=$CFLAGS
8771 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8773 /* end confdefs.h. */
8774 int main(int argc, char **argv) { return 0; }
8775 _ACEOF
8776 if ac_fn_c_try_link "$LINENO"; then :
8777 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8778 else
8779 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8781 rm -f core conftest.err conftest.$ac_objext \
8782 conftest$ac_exeext conftest.$ac_ext
8783 CFLAGS=$ac_wine_try_cflags_saved
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8786 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8787 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8788 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8789 else
8790 wine_can_build_preloader=no
8794 if test "$wine_can_build_preloader" = "yes"
8795 then
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8797 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8798 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8799 $as_echo_n "(cached) " >&6
8800 else
8801 ac_wine_try_cflags_saved=$CFLAGS
8802 CFLAGS="$CFLAGS -Wl,-no_pie"
8803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8805 int main(int argc, char **argv) { return 0; }
8806 _ACEOF
8807 if ac_fn_c_try_link "$LINENO"; then :
8808 ac_cv_cflags__Wl__no_pie=yes
8809 else
8810 ac_cv_cflags__Wl__no_pie=no
8812 rm -f core conftest.err conftest.$ac_objext \
8813 conftest$ac_exeext conftest.$ac_ext
8814 CFLAGS=$ac_wine_try_cflags_saved
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8817 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8818 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8819 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8821 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8822 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8823 else
8824 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8827 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8828 then
8829 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8832 if test "$ac_cv_header_Security_Security_h" = "yes"
8833 then
8834 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8836 ac_save_LIBS="$LIBS"
8837 LIBS="$LIBS $SECURITY_LIBS"
8838 for ac_func in SSLCopyPeerCertificates
8839 do :
8840 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8841 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8842 cat >>confdefs.h <<_ACEOF
8843 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8844 _ACEOF
8847 done
8849 LIBS="$ac_save_LIBS"
8851 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8852 then
8853 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8854 then
8855 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8857 else
8858 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8861 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8862 ac_save_LIBS="$LIBS"
8863 LIBS="$LIBS $COREAUDIO_LIBS"
8864 for ac_func in AUGraphAddNode
8865 do :
8866 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8867 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8868 cat >>confdefs.h <<_ACEOF
8869 #define HAVE_AUGRAPHADDNODE 1
8870 _ACEOF
8873 done
8875 LIBS="$ac_save_LIBS"
8877 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8878 then
8879 OPENAL_LIBS="-framework OpenAL"
8882 cat >>confdefs.h <<_ACEOF
8883 #define HAVE_OPENAL 1
8884 _ACEOF
8886 ac_cv_lib_openal=yes
8888 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8889 then
8890 OPENCL_LIBS="-framework OpenCL"
8892 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8894 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8895 then
8896 ac_save_LIBS="$LIBS"
8897 LIBS="$LIBS $IOKIT_LIBS"
8898 for ac_func in IOHIDManagerCreate
8899 do :
8900 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8901 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8902 cat >>confdefs.h <<_ACEOF
8903 #define HAVE_IOHIDMANAGERCREATE 1
8904 _ACEOF
8907 done
8909 LIBS="$ac_save_LIBS"
8911 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8912 then
8913 ac_save_LIBS="$LIBS"
8914 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8916 $as_echo_n "checking for the QuickTime framework... " >&6; }
8917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8918 /* end confdefs.h. */
8919 #include <QuickTime/ImageCompression.h>
8921 main ()
8923 CodecManagerVersion(NULL);
8925 return 0;
8927 _ACEOF
8928 if ac_fn_c_try_link "$LINENO"; then :
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8930 $as_echo "yes" >&6; }
8931 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8933 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8934 else
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8936 $as_echo "no" >&6; }
8937 ac_cv_header_QuickTime_ImageCompression_h=no
8939 rm -f core conftest.err conftest.$ac_objext \
8940 conftest$ac_exeext conftest.$ac_ext
8941 LIBS="$ac_save_LIBS"
8943 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8944 then
8945 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8947 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8948 then
8949 CARBON_LIBS="-framework Carbon"
8952 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8953 then
8954 METAL_LIBS="-framework Metal -framework QuartzCore"
8958 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8959 then
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8961 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8962 ac_ext=m
8963 ac_cpp='$OBJCPP $CPPFLAGS'
8964 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8965 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8966 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8969 /* end confdefs.h. */
8970 #include <Metal/Metal.h>
8972 main ()
8974 id<MTLDevice> device; device.registryID;
8976 return 0;
8978 _ACEOF
8979 if ac_fn_objc_try_compile "$LINENO"; then :
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8981 $as_echo "yes" >&6; }
8983 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8985 else
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8987 $as_echo "no" >&6; }
8989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8990 ac_ext=c
8991 ac_cpp='$CPP $CPPFLAGS'
8992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8998 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8999 then
9000 ac_save_LIBS="$LIBS"
9001 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9002 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9003 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9004 enable_winemac_drv=${enable_winemac_drv:-yes}
9007 LIBS="$ac_save_LIBS"
9010 if test "x$enable_win16" = "xyes"
9011 then
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9013 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9014 if test "$cross_compiling" = yes; then :
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9016 $as_echo "cross-compiling, assuming yes" >&6; }
9017 else
9018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9019 /* end confdefs.h. */
9020 asm(".text\n"
9021 "bad:\tnop;nop\n"
9022 "good:\tnop;nop\n\t"
9023 ".globl _testfunc\n"
9024 "_testfunc:\tcallw good");
9025 extern void testfunc();
9027 main ()
9029 unsigned short *p = (unsigned short *)testfunc;
9030 return p[0] != 0xe866 || p[1] != 0xfffa
9032 return 0;
9034 _ACEOF
9035 if ac_fn_c_try_run "$LINENO"; then :
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9037 $as_echo "yes" >&6; }
9038 else
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9040 $as_echo "no" >&6; }
9041 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
9043 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9044 conftest.$ac_objext conftest.beam conftest.$ac_ext
9049 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9051 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9053 WINELOADER_DEPENDS="wine_info.plist"
9055 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9056 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9059 linux-android*)
9060 DLLFLAGS="$DLLFLAGS -fPIC"
9061 LDDLLFLAGS="-fPIC"
9062 LDEXECFLAGS="-Wl,-pie"
9063 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9065 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9066 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9067 $as_echo_n "(cached) " >&6
9068 else
9069 ac_wine_try_cflags_saved=$CFLAGS
9070 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9073 int main(int argc, char **argv) { return 0; }
9074 _ACEOF
9075 if ac_fn_c_try_link "$LINENO"; then :
9076 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9077 else
9078 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9080 rm -f core conftest.err conftest.$ac_objext \
9081 conftest$ac_exeext conftest.$ac_ext
9082 CFLAGS=$ac_wine_try_cflags_saved
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9085 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9086 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9087 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9089 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9090 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9092 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9093 if eval \${$as_ac_var+:} false; then :
9094 $as_echo_n "(cached) " >&6
9095 else
9096 ac_wine_try_cflags_saved=$CFLAGS
9097 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
9104 else
9105 eval "$as_ac_var=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 eval ac_res=\$$as_ac_var
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9113 $as_echo "$ac_res" >&6; }
9114 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9115 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9116 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9117 else
9118 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9120 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9121 if eval \${$as_ac_var+:} false; then :
9122 $as_echo_n "(cached) " >&6
9123 else
9124 ac_wine_try_cflags_saved=$CFLAGS
9125 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9127 /* end confdefs.h. */
9128 int main(int argc, char **argv) { return 0; }
9129 _ACEOF
9130 if ac_fn_c_try_link "$LINENO"; then :
9131 eval "$as_ac_var=yes"
9132 else
9133 eval "$as_ac_var=no"
9135 rm -f core conftest.err conftest.$ac_objext \
9136 conftest$ac_exeext conftest.$ac_ext
9137 CFLAGS=$ac_wine_try_cflags_saved
9139 eval ac_res=\$$as_ac_var
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9141 $as_echo "$ac_res" >&6; }
9142 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9143 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9144 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9148 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9149 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9150 $as_echo_n "(cached) " >&6
9151 else
9152 ac_wine_try_cflags_saved=$CFLAGS
9153 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9155 /* end confdefs.h. */
9156 int main(int argc, char **argv) { return 0; }
9157 _ACEOF
9158 if ac_fn_c_try_link "$LINENO"; then :
9159 ac_cv_cflags__Wl___enable_new_dtags=yes
9160 else
9161 ac_cv_cflags__Wl___enable_new_dtags=no
9163 rm -f core conftest.err conftest.$ac_objext \
9164 conftest$ac_exeext conftest.$ac_ext
9165 CFLAGS=$ac_wine_try_cflags_saved
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9168 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9169 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9170 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9173 LIBWINE_SHAREDLIB="libwine.so"
9175 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9177 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9180 $as_echo_n "checking for -lEGL... " >&6; }
9181 if ${ac_cv_lib_soname_EGL+:} false; then :
9182 $as_echo_n "(cached) " >&6
9183 else
9184 ac_check_soname_save_LIBS=$LIBS
9185 LIBS="-lEGL $LIBS"
9186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9187 /* end confdefs.h. */
9189 /* Override any GCC internal prototype to avoid an error.
9190 Use char because int might match the return type of a GCC
9191 builtin and then its argument prototype would still apply. */
9192 #ifdef __cplusplus
9193 extern "C"
9194 #endif
9195 char eglGetProcAddress ();
9197 main ()
9199 return eglGetProcAddress ();
9201 return 0;
9203 _ACEOF
9204 if ac_fn_c_try_link "$LINENO"; then :
9205 case "$LIBEXT" in
9206 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9207 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'` ;;
9208 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9209 if ${ac_cv_lib_soname_EGL:+false} :; then :
9210 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9211 fi ;;
9212 esac
9213 else
9214 ac_cv_lib_soname_EGL=
9216 rm -f core conftest.err conftest.$ac_objext \
9217 conftest$ac_exeext conftest.$ac_ext
9218 LIBS=$ac_check_soname_save_LIBS
9220 if ${ac_cv_lib_soname_EGL:+false} :; then :
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9222 $as_echo "not found" >&6; }
9224 else
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9226 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9228 cat >>confdefs.h <<_ACEOF
9229 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9230 _ACEOF
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9235 $as_echo_n "checking for -lGLESv2... " >&6; }
9236 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9237 $as_echo_n "(cached) " >&6
9238 else
9239 ac_check_soname_save_LIBS=$LIBS
9240 LIBS="-lGLESv2 $LIBS"
9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9247 #ifdef __cplusplus
9248 extern "C"
9249 #endif
9250 char glFlush ();
9252 main ()
9254 return glFlush ();
9256 return 0;
9258 _ACEOF
9259 if ac_fn_c_try_link "$LINENO"; then :
9260 case "$LIBEXT" in
9261 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9262 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'` ;;
9263 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9264 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9265 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9266 fi ;;
9267 esac
9268 else
9269 ac_cv_lib_soname_GLESv2=
9271 rm -f core conftest.err conftest.$ac_objext \
9272 conftest$ac_exeext conftest.$ac_ext
9273 LIBS=$ac_check_soname_save_LIBS
9275 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9277 $as_echo "not found" >&6; }
9279 else
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9281 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9283 cat >>confdefs.h <<_ACEOF
9284 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9285 _ACEOF
9290 if test "x$exec_prefix" = xNONE
9291 then
9292 case $host_cpu in
9293 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9294 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9295 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9296 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9297 esac
9302 case $host_cpu in
9303 *i[3456789]86*)
9304 DLLFLAGS="$DLLFLAGS -fno-PIC"
9305 LDDLLFLAGS="-fno-PIC" ;;
9307 DLLFLAGS="$DLLFLAGS -fPIC"
9308 LDDLLFLAGS="-fPIC" ;;
9309 esac
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9311 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9312 if ${ac_cv_c_dll_gnuelf+:} false; then :
9313 $as_echo_n "(cached) " >&6
9314 else
9315 ac_wine_try_cflags_saved=$CFLAGS
9316 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9318 /* end confdefs.h. */
9319 void myfunc() {}
9320 _ACEOF
9321 if ac_fn_c_try_link "$LINENO"; then :
9322 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9323 else
9324 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9326 rm -f core conftest.err conftest.$ac_objext \
9327 conftest$ac_exeext conftest.$ac_ext
9328 CFLAGS=$ac_wine_try_cflags_saved
9329 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9330 ac_cv_c_dll_gnuelf="yes"
9331 else
9332 ac_cv_c_dll_gnuelf="no"
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9336 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9337 if test "$ac_cv_c_dll_gnuelf" = "yes"
9338 then
9339 LIBWINE_LDFLAGS="-shared"
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9341 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9342 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9343 $as_echo_n "(cached) " >&6
9344 else
9345 ac_wine_try_cflags_saved=$CFLAGS
9346 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9348 /* end confdefs.h. */
9349 int main(int argc, char **argv) { return 0; }
9350 _ACEOF
9351 if ac_fn_c_try_link "$LINENO"; then :
9352 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9353 else
9354 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9356 rm -f core conftest.err conftest.$ac_objext \
9357 conftest$ac_exeext conftest.$ac_ext
9358 CFLAGS=$ac_wine_try_cflags_saved
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9361 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9362 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9363 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9364 else
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9366 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9367 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9368 $as_echo_n "(cached) " >&6
9369 else
9370 ac_wine_try_cflags_saved=$CFLAGS
9371 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9373 /* end confdefs.h. */
9374 int main(int argc, char **argv) { return 0; }
9375 _ACEOF
9376 if ac_fn_c_try_link "$LINENO"; then :
9377 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9378 else
9379 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9381 rm -f core conftest.err conftest.$ac_objext \
9382 conftest$ac_exeext conftest.$ac_ext
9383 CFLAGS=$ac_wine_try_cflags_saved
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9386 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9387 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9388 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9392 echo '{ global: *; };' >conftest.map
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9394 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9395 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9396 $as_echo_n "(cached) " >&6
9397 else
9398 ac_wine_try_cflags_saved=$CFLAGS
9399 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9401 /* end confdefs.h. */
9402 int main(int argc, char **argv) { return 0; }
9403 _ACEOF
9404 if ac_fn_c_try_link "$LINENO"; then :
9405 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9406 else
9407 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9409 rm -f core conftest.err conftest.$ac_objext \
9410 conftest$ac_exeext conftest.$ac_ext
9411 CFLAGS=$ac_wine_try_cflags_saved
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9414 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9415 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9416 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9418 rm -f conftest.map
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9421 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9422 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9423 $as_echo_n "(cached) " >&6
9424 else
9425 ac_wine_try_cflags_saved=$CFLAGS
9426 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9429 int main(int argc, char **argv) { return 0; }
9430 _ACEOF
9431 if ac_fn_c_try_link "$LINENO"; then :
9432 ac_cv_cflags__Wl___export_dynamic=yes
9433 else
9434 ac_cv_cflags__Wl___export_dynamic=no
9436 rm -f core conftest.err conftest.$ac_objext \
9437 conftest$ac_exeext conftest.$ac_ext
9438 CFLAGS=$ac_wine_try_cflags_saved
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9441 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9442 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9443 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9445 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9447 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9449 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9450 if eval \${$as_ac_var+:} false; then :
9451 $as_echo_n "(cached) " >&6
9452 else
9453 ac_wine_try_cflags_saved=$CFLAGS
9454 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9457 int main(int argc, char **argv) { return 0; }
9458 _ACEOF
9459 if ac_fn_c_try_link "$LINENO"; then :
9460 eval "$as_ac_var=yes"
9461 else
9462 eval "$as_ac_var=no"
9464 rm -f core conftest.err conftest.$ac_objext \
9465 conftest$ac_exeext conftest.$ac_ext
9466 CFLAGS=$ac_wine_try_cflags_saved
9468 eval ac_res=\$$as_ac_var
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9470 $as_echo "$ac_res" >&6; }
9471 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9472 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9473 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9474 else
9475 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9477 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9478 if eval \${$as_ac_var+:} false; then :
9479 $as_echo_n "(cached) " >&6
9480 else
9481 ac_wine_try_cflags_saved=$CFLAGS
9482 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9485 int main(int argc, char **argv) { return 0; }
9486 _ACEOF
9487 if ac_fn_c_try_link "$LINENO"; then :
9488 eval "$as_ac_var=yes"
9489 else
9490 eval "$as_ac_var=no"
9492 rm -f core conftest.err conftest.$ac_objext \
9493 conftest$ac_exeext conftest.$ac_ext
9494 CFLAGS=$ac_wine_try_cflags_saved
9496 eval ac_res=\$$as_ac_var
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9498 $as_echo "$ac_res" >&6; }
9499 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9500 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9501 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9506 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9507 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9508 $as_echo_n "(cached) " >&6
9509 else
9510 ac_wine_try_cflags_saved=$CFLAGS
9511 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9514 int main(int argc, char **argv) { return 0; }
9515 _ACEOF
9516 if ac_fn_c_try_link "$LINENO"; then :
9517 ac_cv_cflags__Wl___enable_new_dtags=yes
9518 else
9519 ac_cv_cflags__Wl___enable_new_dtags=no
9521 rm -f core conftest.err conftest.$ac_objext \
9522 conftest$ac_exeext conftest.$ac_ext
9523 CFLAGS=$ac_wine_try_cflags_saved
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9526 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9527 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9528 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9531 case $host_cpu in
9532 *i[3456789]86* | x86_64 | *aarch64*)
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9534 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9535 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9536 $as_echo_n "(cached) " >&6
9537 else
9538 ac_wine_try_cflags_saved=$CFLAGS
9539 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9542 int main(int argc, char **argv) { return 0; }
9543 _ACEOF
9544 if ac_fn_c_try_link "$LINENO"; then :
9545 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9546 else
9547 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9549 rm -f core conftest.err conftest.$ac_objext \
9550 conftest$ac_exeext conftest.$ac_ext
9551 CFLAGS=$ac_wine_try_cflags_saved
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9554 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9555 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9556 case $host_os in
9557 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9558 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9559 esac
9560 else
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9562 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9563 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9564 $as_echo_n "(cached) " >&6
9565 else
9566 ac_wine_try_cflags_saved=$CFLAGS
9567 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9570 int main(int argc, char **argv) { return 0; }
9571 _ACEOF
9572 if ac_fn_c_try_link "$LINENO"; then :
9573 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9574 else
9575 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9577 rm -f core conftest.err conftest.$ac_objext \
9578 conftest$ac_exeext conftest.$ac_ext
9579 CFLAGS=$ac_wine_try_cflags_saved
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9582 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9583 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9584 case $host_os in
9585 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9586 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9587 esac
9589 # Extract the first word of "prelink", so it can be a program name with args.
9590 set dummy prelink; ac_word=$2
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9592 $as_echo_n "checking for $ac_word... " >&6; }
9593 if ${ac_cv_path_PRELINK+:} false; then :
9594 $as_echo_n "(cached) " >&6
9595 else
9596 case $PRELINK in
9597 [\\/]* | ?:[\\/]*)
9598 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9602 for as_dir in /sbin /usr/sbin $PATH
9604 IFS=$as_save_IFS
9605 test -z "$as_dir" && as_dir=.
9606 for ac_exec_ext in '' $ac_executable_extensions; do
9607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9608 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9610 break 2
9612 done
9613 done
9614 IFS=$as_save_IFS
9616 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9618 esac
9620 PRELINK=$ac_cv_path_PRELINK
9621 if test -n "$PRELINK"; then
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9623 $as_echo "$PRELINK" >&6; }
9624 else
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9626 $as_echo "no" >&6; }
9630 if test "x$PRELINK" = xfalse
9631 then
9632 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9636 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9637 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9638 $as_echo_n "(cached) " >&6
9639 else
9640 ac_wine_try_cflags_saved=$CFLAGS
9641 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9644 int main(int argc, char **argv) { return 0; }
9645 _ACEOF
9646 if ac_fn_c_try_link "$LINENO"; then :
9647 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9648 else
9649 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9651 rm -f core conftest.err conftest.$ac_objext \
9652 conftest$ac_exeext conftest.$ac_ext
9653 CFLAGS=$ac_wine_try_cflags_saved
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9656 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9657 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9658 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9661 esac
9663 else
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9665 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9666 if ${ac_cv_c_dll_unixware+:} false; then :
9667 $as_echo_n "(cached) " >&6
9668 else
9669 ac_wine_try_cflags_saved=$CFLAGS
9670 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9673 void myfunc() {}
9674 _ACEOF
9675 if ac_fn_c_try_link "$LINENO"; then :
9676 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9677 else
9678 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9680 rm -f core conftest.err conftest.$ac_objext \
9681 conftest$ac_exeext conftest.$ac_ext
9682 CFLAGS=$ac_wine_try_cflags_saved
9683 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9684 ac_cv_c_dll_unixware="yes"
9685 else
9686 ac_cv_c_dll_unixware="no"
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9690 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9691 if test "$ac_cv_c_dll_unixware" = "yes"
9692 then
9693 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9696 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9698 LIBWINE_DEPENDS="wine.map"
9700 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9701 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9703 esac
9705 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9706 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9707 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9708 enable_winemac_drv=${enable_winemac_drv:-no}
9709 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9711 CROSSTARGET=""
9713 if test "x$with_mingw" != xno
9714 then
9715 case "x$with_mingw" in
9716 x|xyes) case "$host_cpu" in
9717 aarch64*)
9718 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9719 arm*)
9720 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9721 i[3456789]86*)
9722 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
9723 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9724 mingw32-gcc" ;;
9725 x86_64)
9726 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
9727 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9729 ac_prefix_list="" ;;
9730 esac
9731 for ac_prog in $ac_prefix_list
9733 # Extract the first word of "$ac_prog", so it can be a program name with args.
9734 set dummy $ac_prog; ac_word=$2
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9736 $as_echo_n "checking for $ac_word... " >&6; }
9737 if ${ac_cv_prog_CROSSCC+:} false; then :
9738 $as_echo_n "(cached) " >&6
9739 else
9740 if test -n "$CROSSCC"; then
9741 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9742 else
9743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9744 for as_dir in $PATH
9746 IFS=$as_save_IFS
9747 test -z "$as_dir" && as_dir=.
9748 for ac_exec_ext in '' $ac_executable_extensions; do
9749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9750 ac_cv_prog_CROSSCC="$ac_prog"
9751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9752 break 2
9754 done
9755 done
9756 IFS=$as_save_IFS
9760 CROSSCC=$ac_cv_prog_CROSSCC
9761 if test -n "$CROSSCC"; then
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9763 $as_echo "$CROSSCC" >&6; }
9764 else
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9766 $as_echo "no" >&6; }
9770 test -n "$CROSSCC" && break
9771 done
9772 test -n "$CROSSCC" || CROSSCC="false"
9774 *) CROSSCC=$with_mingw ;;
9775 esac
9776 if test "$CROSSCC" != "false"
9777 then
9778 ac_save_CC="$CC"
9779 saved_CFLAGS=$CFLAGS
9780 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9782 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9786 CC="$CROSSCC"
9787 CFLAGS=$CROSSCFLAGS
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9789 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9790 if ${wine_cv_crosscc+:} false; then :
9791 $as_echo_n "(cached) " >&6
9792 else
9793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9794 /* end confdefs.h. */
9797 main ()
9801 return 0;
9803 _ACEOF
9804 if ac_fn_c_try_compile "$LINENO"; then :
9805 wine_cv_crosscc=yes
9806 else
9807 wine_cv_crosscc=no
9809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9812 $as_echo "$wine_cv_crosscc" >&6; }
9813 if test $wine_cv_crosscc = yes
9814 then
9815 set x $CROSSCC
9816 shift
9817 while test $# -ge 1
9819 case "$1" in
9820 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9821 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9822 esac
9823 shift
9824 done
9826 llvm_target=$CROSSTARGET
9827 if test -z "$llvm_target"
9828 then
9829 case $host_cpu in
9830 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9831 *) llvm_target=$host_cpu-windows-gnu ;;
9832 esac
9834 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target -fuse-ld=lld" | $as_tr_sh`
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld" >&5
9836 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld... " >&6; }
9837 if eval \${$as_ac_var+:} false; then :
9838 $as_echo_n "(cached) " >&6
9839 else
9840 ac_wine_try_cflags_saved=$CFLAGS
9841 ac_wine_try_cflags_saved_cc=$CC
9842 ac_wine_try_cflags_saved_exeext=$ac_exeext
9843 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target -fuse-ld=lld"
9844 CC="$CROSSCC"
9845 ac_exeext=".exe"
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9848 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9849 _ACEOF
9850 if ac_fn_c_try_link "$LINENO"; then :
9851 eval "$as_ac_var=yes"
9852 else
9853 eval "$as_ac_var=no"
9855 rm -f core conftest.err conftest.$ac_objext \
9856 conftest$ac_exeext conftest.$ac_ext
9857 CFLAGS=$ac_wine_try_cflags_saved
9858 CC=$ac_wine_try_cflags_saved_cc
9859 ac_exeext=$ac_wine_try_cflags_saved_exeext
9861 eval ac_res=\$$as_ac_var
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9863 $as_echo "$ac_res" >&6; }
9864 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9865 CROSSTARGET=$llvm_target
9866 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9867 CFLAGS="$CFLAGS -fuse-ld=lld"
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9871 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9872 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9873 $as_echo_n "(cached) " >&6
9874 else
9875 ac_wine_try_cflags_saved=$CFLAGS
9876 ac_wine_try_cflags_saved_cc=$CC
9877 ac_wine_try_cflags_saved_exeext=$ac_exeext
9878 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9879 CC="$CROSSCC"
9880 ac_exeext=".exe"
9881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9883 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9884 _ACEOF
9885 if ac_fn_c_try_link "$LINENO"; then :
9886 ac_cv_crosscflags__fno_strict_aliasing=yes
9887 else
9888 ac_cv_crosscflags__fno_strict_aliasing=no
9890 rm -f core conftest.err conftest.$ac_objext \
9891 conftest$ac_exeext conftest.$ac_ext
9892 CFLAGS=$ac_wine_try_cflags_saved
9893 CC=$ac_wine_try_cflags_saved_cc
9894 ac_exeext=$ac_wine_try_cflags_saved_exeext
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9897 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9898 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9899 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9902 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9903 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9904 $as_echo_n "(cached) " >&6
9905 else
9906 ac_wine_try_cflags_saved=$CFLAGS
9907 ac_wine_try_cflags_saved_cc=$CC
9908 ac_wine_try_cflags_saved_exeext=$ac_exeext
9909 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9910 CC="$CROSSCC"
9911 ac_exeext=".exe"
9912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9913 /* end confdefs.h. */
9914 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9915 _ACEOF
9916 if ac_fn_c_try_link "$LINENO"; then :
9917 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9918 else
9919 ac_cv_crosscflags__Werror_unknown_warning_option=no
9921 rm -f core conftest.err conftest.$ac_objext \
9922 conftest$ac_exeext conftest.$ac_ext
9923 CFLAGS=$ac_wine_try_cflags_saved
9924 CC=$ac_wine_try_cflags_saved_cc
9925 ac_exeext=$ac_wine_try_cflags_saved_exeext
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9928 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9929 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9930 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9933 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9934 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9935 $as_echo_n "(cached) " >&6
9936 else
9937 ac_wine_try_cflags_saved=$CFLAGS
9938 ac_wine_try_cflags_saved_cc=$CC
9939 ac_wine_try_cflags_saved_exeext=$ac_exeext
9940 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9941 CC="$CROSSCC"
9942 ac_exeext=".exe"
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9945 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9946 _ACEOF
9947 if ac_fn_c_try_link "$LINENO"; then :
9948 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9949 else
9950 ac_cv_crosscflags__Wdeclaration_after_statement=no
9952 rm -f core conftest.err conftest.$ac_objext \
9953 conftest$ac_exeext conftest.$ac_ext
9954 CFLAGS=$ac_wine_try_cflags_saved
9955 CC=$ac_wine_try_cflags_saved_cc
9956 ac_exeext=$ac_wine_try_cflags_saved_exeext
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9959 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9960 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9961 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9964 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9965 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9966 $as_echo_n "(cached) " >&6
9967 else
9968 ac_wine_try_cflags_saved=$CFLAGS
9969 ac_wine_try_cflags_saved_cc=$CC
9970 ac_wine_try_cflags_saved_exeext=$ac_exeext
9971 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9972 CC="$CROSSCC"
9973 ac_exeext=".exe"
9974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9975 /* end confdefs.h. */
9976 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9977 _ACEOF
9978 if ac_fn_c_try_link "$LINENO"; then :
9979 ac_cv_crosscflags__Wempty_body=yes
9980 else
9981 ac_cv_crosscflags__Wempty_body=no
9983 rm -f core conftest.err conftest.$ac_objext \
9984 conftest$ac_exeext conftest.$ac_ext
9985 CFLAGS=$ac_wine_try_cflags_saved
9986 CC=$ac_wine_try_cflags_saved_cc
9987 ac_exeext=$ac_wine_try_cflags_saved_exeext
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9990 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9991 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9992 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9995 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9996 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9997 $as_echo_n "(cached) " >&6
9998 else
9999 ac_wine_try_cflags_saved=$CFLAGS
10000 ac_wine_try_cflags_saved_cc=$CC
10001 ac_wine_try_cflags_saved_exeext=$ac_exeext
10002 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10003 CC="$CROSSCC"
10004 ac_exeext=".exe"
10005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10006 /* end confdefs.h. */
10007 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10008 _ACEOF
10009 if ac_fn_c_try_link "$LINENO"; then :
10010 ac_cv_crosscflags__Wignored_qualifiers=yes
10011 else
10012 ac_cv_crosscflags__Wignored_qualifiers=no
10014 rm -f core conftest.err conftest.$ac_objext \
10015 conftest$ac_exeext conftest.$ac_ext
10016 CFLAGS=$ac_wine_try_cflags_saved
10017 CC=$ac_wine_try_cflags_saved_cc
10018 ac_exeext=$ac_wine_try_cflags_saved_exeext
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10021 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10022 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10023 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10026 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10027 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10028 $as_echo_n "(cached) " >&6
10029 else
10030 ac_wine_try_cflags_saved=$CFLAGS
10031 ac_wine_try_cflags_saved_cc=$CC
10032 ac_wine_try_cflags_saved_exeext=$ac_exeext
10033 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10034 CC="$CROSSCC"
10035 ac_exeext=".exe"
10036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10037 /* end confdefs.h. */
10038 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10039 _ACEOF
10040 if ac_fn_c_try_link "$LINENO"; then :
10041 ac_cv_crosscflags__Wpacked_not_aligned=yes
10042 else
10043 ac_cv_crosscflags__Wpacked_not_aligned=no
10045 rm -f core conftest.err conftest.$ac_objext \
10046 conftest$ac_exeext conftest.$ac_ext
10047 CFLAGS=$ac_wine_try_cflags_saved
10048 CC=$ac_wine_try_cflags_saved_cc
10049 ac_exeext=$ac_wine_try_cflags_saved_exeext
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10052 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10053 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10054 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10057 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10058 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10059 $as_echo_n "(cached) " >&6
10060 else
10061 ac_wine_try_cflags_saved=$CFLAGS
10062 ac_wine_try_cflags_saved_cc=$CC
10063 ac_wine_try_cflags_saved_exeext=$ac_exeext
10064 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10065 CC="$CROSSCC"
10066 ac_exeext=".exe"
10067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10068 /* end confdefs.h. */
10069 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10070 _ACEOF
10071 if ac_fn_c_try_link "$LINENO"; then :
10072 ac_cv_crosscflags__Wpragma_pack=yes
10073 else
10074 ac_cv_crosscflags__Wpragma_pack=no
10076 rm -f core conftest.err conftest.$ac_objext \
10077 conftest$ac_exeext conftest.$ac_ext
10078 CFLAGS=$ac_wine_try_cflags_saved
10079 CC=$ac_wine_try_cflags_saved_cc
10080 ac_exeext=$ac_wine_try_cflags_saved_exeext
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10083 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10084 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10085 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10088 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10089 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10090 $as_echo_n "(cached) " >&6
10091 else
10092 ac_wine_try_cflags_saved=$CFLAGS
10093 ac_wine_try_cflags_saved_cc=$CC
10094 ac_wine_try_cflags_saved_exeext=$ac_exeext
10095 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10096 CC="$CROSSCC"
10097 ac_exeext=".exe"
10098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10099 /* end confdefs.h. */
10100 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10101 _ACEOF
10102 if ac_fn_c_try_link "$LINENO"; then :
10103 ac_cv_crosscflags__Wshift_overflow_2=yes
10104 else
10105 ac_cv_crosscflags__Wshift_overflow_2=no
10107 rm -f core conftest.err conftest.$ac_objext \
10108 conftest$ac_exeext conftest.$ac_ext
10109 CFLAGS=$ac_wine_try_cflags_saved
10110 CC=$ac_wine_try_cflags_saved_cc
10111 ac_exeext=$ac_wine_try_cflags_saved_exeext
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10114 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10115 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10116 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10119 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10120 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10121 $as_echo_n "(cached) " >&6
10122 else
10123 ac_wine_try_cflags_saved=$CFLAGS
10124 ac_wine_try_cflags_saved_cc=$CC
10125 ac_wine_try_cflags_saved_exeext=$ac_exeext
10126 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10127 CC="$CROSSCC"
10128 ac_exeext=".exe"
10129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10130 /* end confdefs.h. */
10131 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10132 _ACEOF
10133 if ac_fn_c_try_link "$LINENO"; then :
10134 ac_cv_crosscflags__Wstrict_prototypes=yes
10135 else
10136 ac_cv_crosscflags__Wstrict_prototypes=no
10138 rm -f core conftest.err conftest.$ac_objext \
10139 conftest$ac_exeext conftest.$ac_ext
10140 CFLAGS=$ac_wine_try_cflags_saved
10141 CC=$ac_wine_try_cflags_saved_cc
10142 ac_exeext=$ac_wine_try_cflags_saved_exeext
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10145 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10146 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10147 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10150 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10151 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10152 $as_echo_n "(cached) " >&6
10153 else
10154 ac_wine_try_cflags_saved=$CFLAGS
10155 ac_wine_try_cflags_saved_cc=$CC
10156 ac_wine_try_cflags_saved_exeext=$ac_exeext
10157 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10158 CC="$CROSSCC"
10159 ac_exeext=".exe"
10160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10161 /* end confdefs.h. */
10162 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10163 _ACEOF
10164 if ac_fn_c_try_link "$LINENO"; then :
10165 ac_cv_crosscflags__Wtype_limits=yes
10166 else
10167 ac_cv_crosscflags__Wtype_limits=no
10169 rm -f core conftest.err conftest.$ac_objext \
10170 conftest$ac_exeext conftest.$ac_ext
10171 CFLAGS=$ac_wine_try_cflags_saved
10172 CC=$ac_wine_try_cflags_saved_cc
10173 ac_exeext=$ac_wine_try_cflags_saved_exeext
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10176 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10177 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10178 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10181 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10182 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10183 $as_echo_n "(cached) " >&6
10184 else
10185 ac_wine_try_cflags_saved=$CFLAGS
10186 ac_wine_try_cflags_saved_cc=$CC
10187 ac_wine_try_cflags_saved_exeext=$ac_exeext
10188 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10189 CC="$CROSSCC"
10190 ac_exeext=".exe"
10191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10193 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10194 _ACEOF
10195 if ac_fn_c_try_link "$LINENO"; then :
10196 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10197 else
10198 ac_cv_crosscflags__Wunused_but_set_parameter=no
10200 rm -f core conftest.err conftest.$ac_objext \
10201 conftest$ac_exeext conftest.$ac_ext
10202 CFLAGS=$ac_wine_try_cflags_saved
10203 CC=$ac_wine_try_cflags_saved_cc
10204 ac_exeext=$ac_wine_try_cflags_saved_exeext
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10207 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10208 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10209 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10212 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10213 if ${ac_cv_crosscflags__Wvla+:} false; then :
10214 $as_echo_n "(cached) " >&6
10215 else
10216 ac_wine_try_cflags_saved=$CFLAGS
10217 ac_wine_try_cflags_saved_cc=$CC
10218 ac_wine_try_cflags_saved_exeext=$ac_exeext
10219 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10220 CC="$CROSSCC"
10221 ac_exeext=".exe"
10222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10223 /* end confdefs.h. */
10224 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10225 _ACEOF
10226 if ac_fn_c_try_link "$LINENO"; then :
10227 ac_cv_crosscflags__Wvla=yes
10228 else
10229 ac_cv_crosscflags__Wvla=no
10231 rm -f core conftest.err conftest.$ac_objext \
10232 conftest$ac_exeext conftest.$ac_ext
10233 CFLAGS=$ac_wine_try_cflags_saved
10234 CC=$ac_wine_try_cflags_saved_cc
10235 ac_exeext=$ac_wine_try_cflags_saved_exeext
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10238 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10239 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10240 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10243 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10244 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10245 $as_echo_n "(cached) " >&6
10246 else
10247 ac_wine_try_cflags_saved=$CFLAGS
10248 ac_wine_try_cflags_saved_cc=$CC
10249 ac_wine_try_cflags_saved_exeext=$ac_exeext
10250 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10251 CC="$CROSSCC"
10252 ac_exeext=".exe"
10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10254 /* end confdefs.h. */
10255 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10256 _ACEOF
10257 if ac_fn_c_try_link "$LINENO"; then :
10258 ac_cv_crosscflags__Wwrite_strings=yes
10259 else
10260 ac_cv_crosscflags__Wwrite_strings=no
10262 rm -f core conftest.err conftest.$ac_objext \
10263 conftest$ac_exeext conftest.$ac_ext
10264 CFLAGS=$ac_wine_try_cflags_saved
10265 CC=$ac_wine_try_cflags_saved_cc
10266 ac_exeext=$ac_wine_try_cflags_saved_exeext
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10269 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10270 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10271 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10274 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10275 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10276 $as_echo_n "(cached) " >&6
10277 else
10278 ac_wine_try_cflags_saved=$CFLAGS
10279 ac_wine_try_cflags_saved_cc=$CC
10280 ac_wine_try_cflags_saved_exeext=$ac_exeext
10281 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10282 CC="$CROSSCC"
10283 ac_exeext=".exe"
10284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10285 /* end confdefs.h. */
10286 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10287 _ACEOF
10288 if ac_fn_c_try_link "$LINENO"; then :
10289 ac_cv_crosscflags__Wpointer_arith=yes
10290 else
10291 ac_cv_crosscflags__Wpointer_arith=no
10293 rm -f core conftest.err conftest.$ac_objext \
10294 conftest$ac_exeext conftest.$ac_ext
10295 CFLAGS=$ac_wine_try_cflags_saved
10296 CC=$ac_wine_try_cflags_saved_cc
10297 ac_exeext=$ac_wine_try_cflags_saved_exeext
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10300 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10301 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10302 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10305 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10306 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10307 $as_echo_n "(cached) " >&6
10308 else
10309 ac_wine_try_cflags_saved=$CFLAGS
10310 ac_wine_try_cflags_saved_cc=$CC
10311 ac_wine_try_cflags_saved_exeext=$ac_exeext
10312 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10313 CC="$CROSSCC"
10314 ac_exeext=".exe"
10315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10317 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10318 _ACEOF
10319 if ac_fn_c_try_link "$LINENO"; then :
10320 ac_cv_crosscflags__Wlogical_op=yes
10321 else
10322 ac_cv_crosscflags__Wlogical_op=no
10324 rm -f core conftest.err conftest.$ac_objext \
10325 conftest$ac_exeext conftest.$ac_ext
10326 CFLAGS=$ac_wine_try_cflags_saved
10327 CC=$ac_wine_try_cflags_saved_cc
10328 ac_exeext=$ac_wine_try_cflags_saved_exeext
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10331 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10332 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10333 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10336 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10337 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10338 $as_echo_n "(cached) " >&6
10339 else
10340 ac_wine_try_cflags_saved=$CFLAGS
10341 ac_wine_try_cflags_saved_cc=$CC
10342 ac_wine_try_cflags_saved_exeext=$ac_exeext
10343 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
10344 CC="$CROSSCC"
10345 ac_exeext=".exe"
10346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10347 /* end confdefs.h. */
10348 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10349 _ACEOF
10350 if ac_fn_c_try_link "$LINENO"; then :
10351 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10352 else
10353 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10355 rm -f core conftest.err conftest.$ac_objext \
10356 conftest$ac_exeext conftest.$ac_ext
10357 CFLAGS=$ac_wine_try_cflags_saved
10358 CC=$ac_wine_try_cflags_saved_cc
10359 ac_exeext=$ac_wine_try_cflags_saved_exeext
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10362 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10363 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10364 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10367 case $host_cpu in
10368 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10369 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10370 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10371 $as_echo_n "(cached) " >&6
10372 else
10373 ac_wine_try_cflags_saved=$CFLAGS
10374 ac_wine_try_cflags_saved_cc=$CC
10375 ac_wine_try_cflags_saved_exeext=$ac_exeext
10376 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10377 CC="$CROSSCC"
10378 ac_exeext=".exe"
10379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10380 /* end confdefs.h. */
10381 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10382 _ACEOF
10383 if ac_fn_c_try_link "$LINENO"; then :
10384 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10385 else
10386 ac_cv_crosscflags__fno_omit_frame_pointer=no
10388 rm -f core conftest.err conftest.$ac_objext \
10389 conftest$ac_exeext conftest.$ac_ext
10390 CFLAGS=$ac_wine_try_cflags_saved
10391 CC=$ac_wine_try_cflags_saved_cc
10392 ac_exeext=$ac_wine_try_cflags_saved_exeext
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10395 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10396 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10397 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10398 fi ;;
10399 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10400 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10401 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10402 $as_echo_n "(cached) " >&6
10403 else
10404 ac_wine_try_cflags_saved=$CFLAGS
10405 ac_wine_try_cflags_saved_cc=$CC
10406 ac_wine_try_cflags_saved_exeext=$ac_exeext
10407 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10408 CC="$CROSSCC"
10409 ac_exeext=".exe"
10410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10411 /* end confdefs.h. */
10412 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10413 _ACEOF
10414 if ac_fn_c_try_link "$LINENO"; then :
10415 ac_cv_crosscflags__Wno_format=yes
10416 else
10417 ac_cv_crosscflags__Wno_format=no
10419 rm -f core conftest.err conftest.$ac_objext \
10420 conftest$ac_exeext conftest.$ac_ext
10421 CFLAGS=$ac_wine_try_cflags_saved
10422 CC=$ac_wine_try_cflags_saved_cc
10423 ac_exeext=$ac_wine_try_cflags_saved_exeext
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10426 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10427 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10428 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10431 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10432 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10433 $as_echo_n "(cached) " >&6
10434 else
10435 ac_wine_try_cflags_saved=$CFLAGS
10436 ac_wine_try_cflags_saved_cc=$CC
10437 ac_wine_try_cflags_saved_exeext=$ac_exeext
10438 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10439 CC="$CROSSCC"
10440 ac_exeext=".exe"
10441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10442 /* end confdefs.h. */
10443 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10444 _ACEOF
10445 if ac_fn_c_try_link "$LINENO"; then :
10446 ac_cv_crosscflags__Wformat_overflow=yes
10447 else
10448 ac_cv_crosscflags__Wformat_overflow=no
10450 rm -f core conftest.err conftest.$ac_objext \
10451 conftest$ac_exeext conftest.$ac_ext
10452 CFLAGS=$ac_wine_try_cflags_saved
10453 CC=$ac_wine_try_cflags_saved_cc
10454 ac_exeext=$ac_wine_try_cflags_saved_exeext
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10457 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10458 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10459 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10462 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10463 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10464 $as_echo_n "(cached) " >&6
10465 else
10466 ac_wine_try_cflags_saved=$CFLAGS
10467 ac_wine_try_cflags_saved_cc=$CC
10468 ac_wine_try_cflags_saved_exeext=$ac_exeext
10469 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10470 CC="$CROSSCC"
10471 ac_exeext=".exe"
10472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10474 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10475 _ACEOF
10476 if ac_fn_c_try_link "$LINENO"; then :
10477 ac_cv_crosscflags__Wnonnull=yes
10478 else
10479 ac_cv_crosscflags__Wnonnull=no
10481 rm -f core conftest.err conftest.$ac_objext \
10482 conftest$ac_exeext conftest.$ac_ext
10483 CFLAGS=$ac_wine_try_cflags_saved
10484 CC=$ac_wine_try_cflags_saved_cc
10485 ac_exeext=$ac_wine_try_cflags_saved_exeext
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10488 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10489 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10490 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10491 fi ;;
10492 esac
10494 for ac_flag in $CROSSCFLAGS; do
10495 case $ac_flag in
10496 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10497 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10498 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10499 $as_echo_n "(cached) " >&6
10500 else
10501 ac_wine_try_cflags_saved=$CFLAGS
10502 ac_wine_try_cflags_saved_cc=$CC
10503 ac_wine_try_cflags_saved_exeext=$ac_exeext
10504 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10505 CC="$CROSSCC"
10506 ac_exeext=".exe"
10507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10508 /* end confdefs.h. */
10509 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10510 _ACEOF
10511 if ac_fn_c_try_link "$LINENO"; then :
10512 ac_cv_crosscflags__gdwarf_2=yes
10513 else
10514 ac_cv_crosscflags__gdwarf_2=no
10516 rm -f core conftest.err conftest.$ac_objext \
10517 conftest$ac_exeext conftest.$ac_ext
10518 CFLAGS=$ac_wine_try_cflags_saved
10519 CC=$ac_wine_try_cflags_saved_cc
10520 ac_exeext=$ac_wine_try_cflags_saved_exeext
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10523 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10524 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10525 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10528 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10529 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10530 $as_echo_n "(cached) " >&6
10531 else
10532 ac_wine_try_cflags_saved=$CFLAGS
10533 ac_wine_try_cflags_saved_cc=$CC
10534 ac_wine_try_cflags_saved_exeext=$ac_exeext
10535 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10536 CC="$CROSSCC"
10537 ac_exeext=".exe"
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10540 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10541 _ACEOF
10542 if ac_fn_c_try_link "$LINENO"; then :
10543 ac_cv_crosscflags__gstrict_dwarf=yes
10544 else
10545 ac_cv_crosscflags__gstrict_dwarf=no
10547 rm -f core conftest.err conftest.$ac_objext \
10548 conftest$ac_exeext conftest.$ac_ext
10549 CFLAGS=$ac_wine_try_cflags_saved
10550 CC=$ac_wine_try_cflags_saved_cc
10551 ac_exeext=$ac_wine_try_cflags_saved_exeext
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10554 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10555 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10556 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10557 fi ;;
10558 esac
10559 done
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll" >&5
10562 $as_echo_n "checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10563 if ${ac_cv_crosscflags__Wl__delayload_autoconftest_dll+:} false; then :
10564 $as_echo_n "(cached) " >&6
10565 else
10566 ac_wine_try_cflags_saved=$CFLAGS
10567 ac_wine_try_cflags_saved_cc=$CC
10568 ac_wine_try_cflags_saved_exeext=$ac_exeext
10569 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,-delayload,autoconftest.dll"
10570 CC="$CROSSCC"
10571 ac_exeext=".exe"
10572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10573 /* end confdefs.h. */
10574 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10575 _ACEOF
10576 if ac_fn_c_try_link "$LINENO"; then :
10577 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=yes
10578 else
10579 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=no
10581 rm -f core conftest.err conftest.$ac_objext \
10582 conftest$ac_exeext conftest.$ac_ext
10583 CFLAGS=$ac_wine_try_cflags_saved
10584 CC=$ac_wine_try_cflags_saved_cc
10585 ac_exeext=$ac_wine_try_cflags_saved_exeext
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&5
10588 $as_echo "$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&6; }
10589 if test "x$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" = xyes; then :
10590 DELAYLOADFLAG="-Wl,-delayload,"
10594 if test "x$enable_werror" = "xyes"
10595 then
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10597 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10598 if ${ac_cv_crosscflags__Werror+:} false; then :
10599 $as_echo_n "(cached) " >&6
10600 else
10601 ac_wine_try_cflags_saved=$CFLAGS
10602 ac_wine_try_cflags_saved_cc=$CC
10603 ac_wine_try_cflags_saved_exeext=$ac_exeext
10604 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10605 CC="$CROSSCC"
10606 ac_exeext=".exe"
10607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h. */
10609 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10610 _ACEOF
10611 if ac_fn_c_try_link "$LINENO"; then :
10612 ac_cv_crosscflags__Werror=yes
10613 else
10614 ac_cv_crosscflags__Werror=no
10616 rm -f core conftest.err conftest.$ac_objext \
10617 conftest$ac_exeext conftest.$ac_ext
10618 CFLAGS=$ac_wine_try_cflags_saved
10619 CC=$ac_wine_try_cflags_saved_cc
10620 ac_exeext=$ac_wine_try_cflags_saved_exeext
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10623 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10624 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10625 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10629 CFLAGS=$saved_CFLAGS
10630 CC="$ac_save_CC"
10633 if test "x$CROSSTARGET" = "x"; then :
10634 case "x$with_mingw" in
10635 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10636 xno) ;;
10637 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10638 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10639 esac
10644 if test "$ac_cv_header_pthread_h" = "yes"
10645 then
10646 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10647 if test "x$ac_cv_func_pthread_create" = xyes; then :
10649 else
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10651 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10652 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10653 $as_echo_n "(cached) " >&6
10654 else
10655 ac_check_lib_save_LIBS=$LIBS
10656 LIBS="-lpthread $LIBS"
10657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10660 /* Override any GCC internal prototype to avoid an error.
10661 Use char because int might match the return type of a GCC
10662 builtin and then its argument prototype would still apply. */
10663 #ifdef __cplusplus
10664 extern "C"
10665 #endif
10666 char pthread_create ();
10668 main ()
10670 return pthread_create ();
10672 return 0;
10674 _ACEOF
10675 if ac_fn_c_try_link "$LINENO"; then :
10676 ac_cv_lib_pthread_pthread_create=yes
10677 else
10678 ac_cv_lib_pthread_pthread_create=no
10680 rm -f core conftest.err conftest.$ac_objext \
10681 conftest$ac_exeext conftest.$ac_ext
10682 LIBS=$ac_check_lib_save_LIBS
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10685 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10686 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10687 PTHREAD_LIBS="-lpthread"
10694 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10695 case "x$with_pthread" in
10696 xno) ;;
10697 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10698 Wine cannot support threads without libpthread.
10699 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10700 esac
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10706 $as_echo_n "checking for X... " >&6; }
10709 # Check whether --with-x was given.
10710 if test "${with_x+set}" = set; then :
10711 withval=$with_x;
10714 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10715 if test "x$with_x" = xno; then
10716 # The user explicitly disabled X.
10717 have_x=disabled
10718 else
10719 case $x_includes,$x_libraries in #(
10720 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10721 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10722 $as_echo_n "(cached) " >&6
10723 else
10724 # One or both of the vars are not set, and there is no cached value.
10725 ac_x_includes=no ac_x_libraries=no
10726 rm -f -r conftest.dir
10727 if mkdir conftest.dir; then
10728 cd conftest.dir
10729 cat >Imakefile <<'_ACEOF'
10730 incroot:
10731 @echo incroot='${INCROOT}'
10732 usrlibdir:
10733 @echo usrlibdir='${USRLIBDIR}'
10734 libdir:
10735 @echo libdir='${LIBDIR}'
10736 _ACEOF
10737 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10738 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10739 for ac_var in incroot usrlibdir libdir; do
10740 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10741 done
10742 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10743 for ac_extension in a so sl dylib la dll; do
10744 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10745 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10746 ac_im_usrlibdir=$ac_im_libdir; break
10748 done
10749 # Screen out bogus values from the imake configuration. They are
10750 # bogus both because they are the default anyway, and because
10751 # using them would break gcc on systems where it needs fixed includes.
10752 case $ac_im_incroot in
10753 /usr/include) ac_x_includes= ;;
10754 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10755 esac
10756 case $ac_im_usrlibdir in
10757 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10758 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10759 esac
10761 cd ..
10762 rm -f -r conftest.dir
10765 # Standard set of common directories for X headers.
10766 # Check X11 before X11Rn because it is often a symlink to the current release.
10767 ac_x_header_dirs='
10768 /usr/X11/include
10769 /usr/X11R7/include
10770 /usr/X11R6/include
10771 /usr/X11R5/include
10772 /usr/X11R4/include
10774 /usr/include/X11
10775 /usr/include/X11R7
10776 /usr/include/X11R6
10777 /usr/include/X11R5
10778 /usr/include/X11R4
10780 /usr/local/X11/include
10781 /usr/local/X11R7/include
10782 /usr/local/X11R6/include
10783 /usr/local/X11R5/include
10784 /usr/local/X11R4/include
10786 /usr/local/include/X11
10787 /usr/local/include/X11R7
10788 /usr/local/include/X11R6
10789 /usr/local/include/X11R5
10790 /usr/local/include/X11R4
10792 /usr/X386/include
10793 /usr/x386/include
10794 /usr/XFree86/include/X11
10796 /usr/include
10797 /usr/local/include
10798 /usr/unsupported/include
10799 /usr/athena/include
10800 /usr/local/x11r5/include
10801 /usr/lpp/Xamples/include
10803 /usr/openwin/include
10804 /usr/openwin/share/include'
10806 if test "$ac_x_includes" = no; then
10807 # Guess where to find include files, by looking for Xlib.h.
10808 # First, try using that file with no special directory specified.
10809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10810 /* end confdefs.h. */
10811 #include <X11/Xlib.h>
10812 _ACEOF
10813 if ac_fn_c_try_cpp "$LINENO"; then :
10814 # We can compile using X headers with no special include directory.
10815 ac_x_includes=
10816 else
10817 for ac_dir in $ac_x_header_dirs; do
10818 if test -r "$ac_dir/X11/Xlib.h"; then
10819 ac_x_includes=$ac_dir
10820 break
10822 done
10824 rm -f conftest.err conftest.i conftest.$ac_ext
10825 fi # $ac_x_includes = no
10827 if test "$ac_x_libraries" = no; then
10828 # Check for the libraries.
10829 # See if we find them without any special options.
10830 # Don't add to $LIBS permanently.
10831 ac_save_LIBS=$LIBS
10832 LIBS="-lX11 $LIBS"
10833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10835 #include <X11/Xlib.h>
10837 main ()
10839 XrmInitialize ()
10841 return 0;
10843 _ACEOF
10844 if ac_fn_c_try_link "$LINENO"; then :
10845 LIBS=$ac_save_LIBS
10846 # We can link X programs with no special library path.
10847 ac_x_libraries=
10848 else
10849 LIBS=$ac_save_LIBS
10850 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10852 # Don't even attempt the hair of trying to link an X program!
10853 for ac_extension in a so sl dylib la dll; do
10854 if test -r "$ac_dir/libX11.$ac_extension"; then
10855 ac_x_libraries=$ac_dir
10856 break 2
10858 done
10859 done
10861 rm -f core conftest.err conftest.$ac_objext \
10862 conftest$ac_exeext conftest.$ac_ext
10863 fi # $ac_x_libraries = no
10865 case $ac_x_includes,$ac_x_libraries in #(
10866 no,* | *,no | *\'*)
10867 # Didn't find X, or a directory has "'" in its name.
10868 ac_cv_have_x="have_x=no";; #(
10870 # Record where we found X for the cache.
10871 ac_cv_have_x="have_x=yes\
10872 ac_x_includes='$ac_x_includes'\
10873 ac_x_libraries='$ac_x_libraries'"
10874 esac
10876 ;; #(
10877 *) have_x=yes;;
10878 esac
10879 eval "$ac_cv_have_x"
10880 fi # $with_x != no
10882 if test "$have_x" != yes; then
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10884 $as_echo "$have_x" >&6; }
10885 no_x=yes
10886 else
10887 # If each of the values was on the command line, it overrides each guess.
10888 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10889 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10890 # Update the cache value to reflect the command line values.
10891 ac_cv_have_x="have_x=yes\
10892 ac_x_includes='$x_includes'\
10893 ac_x_libraries='$x_libraries'"
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10895 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10898 if test "$no_x" = yes; then
10899 # Not all programs may use this symbol, but it does not hurt to define it.
10901 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10903 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10904 else
10905 if test -n "$x_includes"; then
10906 X_CFLAGS="$X_CFLAGS -I$x_includes"
10909 # It would also be nice to do this for all -L options, not just this one.
10910 if test -n "$x_libraries"; then
10911 X_LIBS="$X_LIBS -L$x_libraries"
10912 # For Solaris; some versions of Sun CC require a space after -R and
10913 # others require no space. Words are not sufficient . . . .
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10915 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10916 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10917 ac_xsave_c_werror_flag=$ac_c_werror_flag
10918 ac_c_werror_flag=yes
10919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10920 /* end confdefs.h. */
10923 main ()
10927 return 0;
10929 _ACEOF
10930 if ac_fn_c_try_link "$LINENO"; then :
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10932 $as_echo "no" >&6; }
10933 X_LIBS="$X_LIBS -R$x_libraries"
10934 else
10935 LIBS="$ac_xsave_LIBS -R $x_libraries"
10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10940 main ()
10944 return 0;
10946 _ACEOF
10947 if ac_fn_c_try_link "$LINENO"; then :
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10949 $as_echo "yes" >&6; }
10950 X_LIBS="$X_LIBS -R $x_libraries"
10951 else
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10953 $as_echo "neither works" >&6; }
10955 rm -f core conftest.err conftest.$ac_objext \
10956 conftest$ac_exeext conftest.$ac_ext
10958 rm -f core conftest.err conftest.$ac_objext \
10959 conftest$ac_exeext conftest.$ac_ext
10960 ac_c_werror_flag=$ac_xsave_c_werror_flag
10961 LIBS=$ac_xsave_LIBS
10964 # Check for system-dependent libraries X programs must link with.
10965 # Do this before checking for the system-independent R6 libraries
10966 # (-lICE), since we may need -lsocket or whatever for X linking.
10968 if test "$ISC" = yes; then
10969 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10970 else
10971 # Martyn Johnson says this is needed for Ultrix, if the X
10972 # libraries were built with DECnet support. And Karl Berry says
10973 # the Alpha needs dnet_stub (dnet does not exist).
10974 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10978 /* Override any GCC internal prototype to avoid an error.
10979 Use char because int might match the return type of a GCC
10980 builtin and then its argument prototype would still apply. */
10981 #ifdef __cplusplus
10982 extern "C"
10983 #endif
10984 char XOpenDisplay ();
10986 main ()
10988 return XOpenDisplay ();
10990 return 0;
10992 _ACEOF
10993 if ac_fn_c_try_link "$LINENO"; then :
10995 else
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10997 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10998 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10999 $as_echo_n "(cached) " >&6
11000 else
11001 ac_check_lib_save_LIBS=$LIBS
11002 LIBS="-ldnet $LIBS"
11003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11004 /* end confdefs.h. */
11006 /* Override any GCC internal prototype to avoid an error.
11007 Use char because int might match the return type of a GCC
11008 builtin and then its argument prototype would still apply. */
11009 #ifdef __cplusplus
11010 extern "C"
11011 #endif
11012 char dnet_ntoa ();
11014 main ()
11016 return dnet_ntoa ();
11018 return 0;
11020 _ACEOF
11021 if ac_fn_c_try_link "$LINENO"; then :
11022 ac_cv_lib_dnet_dnet_ntoa=yes
11023 else
11024 ac_cv_lib_dnet_dnet_ntoa=no
11026 rm -f core conftest.err conftest.$ac_objext \
11027 conftest$ac_exeext conftest.$ac_ext
11028 LIBS=$ac_check_lib_save_LIBS
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11031 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11032 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11033 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11036 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11038 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11039 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11040 $as_echo_n "(cached) " >&6
11041 else
11042 ac_check_lib_save_LIBS=$LIBS
11043 LIBS="-ldnet_stub $LIBS"
11044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h. */
11047 /* Override any GCC internal prototype to avoid an error.
11048 Use char because int might match the return type of a GCC
11049 builtin and then its argument prototype would still apply. */
11050 #ifdef __cplusplus
11051 extern "C"
11052 #endif
11053 char dnet_ntoa ();
11055 main ()
11057 return dnet_ntoa ();
11059 return 0;
11061 _ACEOF
11062 if ac_fn_c_try_link "$LINENO"; then :
11063 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11064 else
11065 ac_cv_lib_dnet_stub_dnet_ntoa=no
11067 rm -f core conftest.err conftest.$ac_objext \
11068 conftest$ac_exeext conftest.$ac_ext
11069 LIBS=$ac_check_lib_save_LIBS
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11072 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11073 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11074 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11079 rm -f core conftest.err conftest.$ac_objext \
11080 conftest$ac_exeext conftest.$ac_ext
11081 LIBS="$ac_xsave_LIBS"
11083 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11084 # to get the SysV transport functions.
11085 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11086 # needs -lnsl.
11087 # The nsl library prevents programs from opening the X display
11088 # on Irix 5.2, according to T.E. Dickey.
11089 # The functions gethostbyname, getservbyname, and inet_addr are
11090 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11091 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11092 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11096 if test $ac_cv_func_gethostbyname = no; then
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11098 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11099 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11100 $as_echo_n "(cached) " >&6
11101 else
11102 ac_check_lib_save_LIBS=$LIBS
11103 LIBS="-lnsl $LIBS"
11104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11107 /* Override any GCC internal prototype to avoid an error.
11108 Use char because int might match the return type of a GCC
11109 builtin and then its argument prototype would still apply. */
11110 #ifdef __cplusplus
11111 extern "C"
11112 #endif
11113 char gethostbyname ();
11115 main ()
11117 return gethostbyname ();
11119 return 0;
11121 _ACEOF
11122 if ac_fn_c_try_link "$LINENO"; then :
11123 ac_cv_lib_nsl_gethostbyname=yes
11124 else
11125 ac_cv_lib_nsl_gethostbyname=no
11127 rm -f core conftest.err conftest.$ac_objext \
11128 conftest$ac_exeext conftest.$ac_ext
11129 LIBS=$ac_check_lib_save_LIBS
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11132 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11133 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11134 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11137 if test $ac_cv_lib_nsl_gethostbyname = no; then
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11139 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11140 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11141 $as_echo_n "(cached) " >&6
11142 else
11143 ac_check_lib_save_LIBS=$LIBS
11144 LIBS="-lbsd $LIBS"
11145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11146 /* end confdefs.h. */
11148 /* Override any GCC internal prototype to avoid an error.
11149 Use char because int might match the return type of a GCC
11150 builtin and then its argument prototype would still apply. */
11151 #ifdef __cplusplus
11152 extern "C"
11153 #endif
11154 char gethostbyname ();
11156 main ()
11158 return gethostbyname ();
11160 return 0;
11162 _ACEOF
11163 if ac_fn_c_try_link "$LINENO"; then :
11164 ac_cv_lib_bsd_gethostbyname=yes
11165 else
11166 ac_cv_lib_bsd_gethostbyname=no
11168 rm -f core conftest.err conftest.$ac_objext \
11169 conftest$ac_exeext conftest.$ac_ext
11170 LIBS=$ac_check_lib_save_LIBS
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11173 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11174 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11175 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11181 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11182 # socket/setsockopt and other routines are undefined under SCO ODT
11183 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11184 # on later versions), says Simon Leinen: it contains gethostby*
11185 # variants that don't use the name server (or something). -lsocket
11186 # must be given before -lnsl if both are needed. We assume that
11187 # if connect needs -lnsl, so does gethostbyname.
11188 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11189 if test "x$ac_cv_func_connect" = xyes; then :
11193 if test $ac_cv_func_connect = no; then
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11195 $as_echo_n "checking for connect in -lsocket... " >&6; }
11196 if ${ac_cv_lib_socket_connect+:} false; then :
11197 $as_echo_n "(cached) " >&6
11198 else
11199 ac_check_lib_save_LIBS=$LIBS
11200 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11207 #ifdef __cplusplus
11208 extern "C"
11209 #endif
11210 char connect ();
11212 main ()
11214 return connect ();
11216 return 0;
11218 _ACEOF
11219 if ac_fn_c_try_link "$LINENO"; then :
11220 ac_cv_lib_socket_connect=yes
11221 else
11222 ac_cv_lib_socket_connect=no
11224 rm -f core conftest.err conftest.$ac_objext \
11225 conftest$ac_exeext conftest.$ac_ext
11226 LIBS=$ac_check_lib_save_LIBS
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11229 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11230 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11231 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11236 # Guillermo Gomez says -lposix is necessary on A/UX.
11237 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11238 if test "x$ac_cv_func_remove" = xyes; then :
11242 if test $ac_cv_func_remove = no; then
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11244 $as_echo_n "checking for remove in -lposix... " >&6; }
11245 if ${ac_cv_lib_posix_remove+:} false; then :
11246 $as_echo_n "(cached) " >&6
11247 else
11248 ac_check_lib_save_LIBS=$LIBS
11249 LIBS="-lposix $LIBS"
11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11253 /* Override any GCC internal prototype to avoid an error.
11254 Use char because int might match the return type of a GCC
11255 builtin and then its argument prototype would still apply. */
11256 #ifdef __cplusplus
11257 extern "C"
11258 #endif
11259 char remove ();
11261 main ()
11263 return remove ();
11265 return 0;
11267 _ACEOF
11268 if ac_fn_c_try_link "$LINENO"; then :
11269 ac_cv_lib_posix_remove=yes
11270 else
11271 ac_cv_lib_posix_remove=no
11273 rm -f core conftest.err conftest.$ac_objext \
11274 conftest$ac_exeext conftest.$ac_ext
11275 LIBS=$ac_check_lib_save_LIBS
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11278 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11279 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11280 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11285 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11286 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11287 if test "x$ac_cv_func_shmat" = xyes; then :
11291 if test $ac_cv_func_shmat = no; then
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11293 $as_echo_n "checking for shmat in -lipc... " >&6; }
11294 if ${ac_cv_lib_ipc_shmat+:} false; then :
11295 $as_echo_n "(cached) " >&6
11296 else
11297 ac_check_lib_save_LIBS=$LIBS
11298 LIBS="-lipc $LIBS"
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
11302 /* Override any GCC internal prototype to avoid an error.
11303 Use char because int might match the return type of a GCC
11304 builtin and then its argument prototype would still apply. */
11305 #ifdef __cplusplus
11306 extern "C"
11307 #endif
11308 char shmat ();
11310 main ()
11312 return shmat ();
11314 return 0;
11316 _ACEOF
11317 if ac_fn_c_try_link "$LINENO"; then :
11318 ac_cv_lib_ipc_shmat=yes
11319 else
11320 ac_cv_lib_ipc_shmat=no
11322 rm -f core conftest.err conftest.$ac_objext \
11323 conftest$ac_exeext conftest.$ac_ext
11324 LIBS=$ac_check_lib_save_LIBS
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11327 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11328 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11329 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11335 # Check for libraries that X11R6 Xt/Xaw programs need.
11336 ac_save_LDFLAGS=$LDFLAGS
11337 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11338 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11339 # check for ICE first), but we must link in the order -lSM -lICE or
11340 # we get undefined symbols. So assume we have SM if we have ICE.
11341 # These have to be linked with before -lX11, unlike the other
11342 # libraries we check for below, so use a different variable.
11343 # John Interrante, Karl Berry
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11345 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11346 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11347 $as_echo_n "(cached) " >&6
11348 else
11349 ac_check_lib_save_LIBS=$LIBS
11350 LIBS="-lICE $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 IceConnectionNumber ();
11362 main ()
11364 return IceConnectionNumber ();
11366 return 0;
11368 _ACEOF
11369 if ac_fn_c_try_link "$LINENO"; then :
11370 ac_cv_lib_ICE_IceConnectionNumber=yes
11371 else
11372 ac_cv_lib_ICE_IceConnectionNumber=no
11374 rm -f core conftest.err conftest.$ac_objext \
11375 conftest$ac_exeext conftest.$ac_ext
11376 LIBS=$ac_check_lib_save_LIBS
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11379 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11380 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11381 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11384 LDFLAGS=$ac_save_LDFLAGS
11389 if test "$have_x" = "yes"
11390 then
11391 ac_save_CPPFLAGS="$CPPFLAGS"
11392 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11395 $as_echo_n "checking for -lX11... " >&6; }
11396 if ${ac_cv_lib_soname_X11+:} false; then :
11397 $as_echo_n "(cached) " >&6
11398 else
11399 ac_check_soname_save_LIBS=$LIBS
11400 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char XCreateWindow ();
11412 main ()
11414 return XCreateWindow ();
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 case "$LIBEXT" in
11421 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11422 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'` ;;
11423 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11424 if ${ac_cv_lib_soname_X11:+false} :; then :
11425 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11426 fi ;;
11427 esac
11428 else
11429 ac_cv_lib_soname_X11=
11431 rm -f core conftest.err conftest.$ac_objext \
11432 conftest$ac_exeext conftest.$ac_ext
11433 LIBS=$ac_check_soname_save_LIBS
11435 if ${ac_cv_lib_soname_X11:+false} :; then :
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11437 $as_echo "not found" >&6; }
11439 else
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11441 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11443 cat >>confdefs.h <<_ACEOF
11444 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11445 _ACEOF
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11450 $as_echo_n "checking for -lXext... " >&6; }
11451 if ${ac_cv_lib_soname_Xext+:} false; then :
11452 $as_echo_n "(cached) " >&6
11453 else
11454 ac_check_soname_save_LIBS=$LIBS
11455 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11457 /* end confdefs.h. */
11459 /* Override any GCC internal prototype to avoid an error.
11460 Use char because int might match the return type of a GCC
11461 builtin and then its argument prototype would still apply. */
11462 #ifdef __cplusplus
11463 extern "C"
11464 #endif
11465 char XextCreateExtension ();
11467 main ()
11469 return XextCreateExtension ();
11471 return 0;
11473 _ACEOF
11474 if ac_fn_c_try_link "$LINENO"; then :
11475 case "$LIBEXT" in
11476 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11477 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'` ;;
11478 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11479 if ${ac_cv_lib_soname_Xext:+false} :; then :
11480 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11481 fi ;;
11482 esac
11483 else
11484 ac_cv_lib_soname_Xext=
11486 rm -f core conftest.err conftest.$ac_objext \
11487 conftest$ac_exeext conftest.$ac_ext
11488 LIBS=$ac_check_soname_save_LIBS
11490 if ${ac_cv_lib_soname_Xext:+false} :; then :
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11492 $as_echo "not found" >&6; }
11494 else
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11496 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11498 cat >>confdefs.h <<_ACEOF
11499 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11500 _ACEOF
11502 X_LIBS="$X_LIBS -lXext"
11504 X_LIBS="$X_LIBS -lX11"
11506 for ac_header in X11/Xlib.h \
11507 X11/XKBlib.h \
11508 X11/Xutil.h \
11509 X11/Xcursor/Xcursor.h \
11510 X11/extensions/shape.h \
11511 X11/extensions/XInput.h \
11512 X11/extensions/XInput2.h \
11513 X11/extensions/XShm.h \
11514 X11/extensions/Xcomposite.h \
11515 X11/extensions/Xfixes.h \
11516 X11/extensions/Xinerama.h \
11517 X11/extensions/Xrandr.h \
11518 X11/extensions/Xrender.h \
11519 X11/extensions/xf86vmode.h \
11520 X11/extensions/xf86vmproto.h
11521 do :
11522 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11523 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11524 # include <X11/Xlib.h>
11525 #endif
11526 #ifdef HAVE_X11_XUTIL_H
11527 # include <X11/Xutil.h>
11528 #endif
11530 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11531 cat >>confdefs.h <<_ACEOF
11532 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11533 _ACEOF
11537 done
11540 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11541 then
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11543 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11544 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11545 $as_echo_n "(cached) " >&6
11546 else
11547 ac_check_lib_save_LIBS=$LIBS
11548 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11550 /* end confdefs.h. */
11552 /* Override any GCC internal prototype to avoid an error.
11553 Use char because int might match the return type of a GCC
11554 builtin and then its argument prototype would still apply. */
11555 #ifdef __cplusplus
11556 extern "C"
11557 #endif
11558 char XkbQueryExtension ();
11560 main ()
11562 return XkbQueryExtension ();
11564 return 0;
11566 _ACEOF
11567 if ac_fn_c_try_link "$LINENO"; then :
11568 ac_cv_lib_X11_XkbQueryExtension=yes
11569 else
11570 ac_cv_lib_X11_XkbQueryExtension=no
11572 rm -f core conftest.err conftest.$ac_objext \
11573 conftest$ac_exeext conftest.$ac_ext
11574 LIBS=$ac_check_lib_save_LIBS
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11577 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11578 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11580 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11586 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11587 then
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11589 $as_echo_n "checking for -lXcursor... " >&6; }
11590 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11591 $as_echo_n "(cached) " >&6
11592 else
11593 ac_check_soname_save_LIBS=$LIBS
11594 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11596 /* end confdefs.h. */
11598 /* Override any GCC internal prototype to avoid an error.
11599 Use char because int might match the return type of a GCC
11600 builtin and then its argument prototype would still apply. */
11601 #ifdef __cplusplus
11602 extern "C"
11603 #endif
11604 char XcursorImageLoadCursor ();
11606 main ()
11608 return XcursorImageLoadCursor ();
11610 return 0;
11612 _ACEOF
11613 if ac_fn_c_try_link "$LINENO"; then :
11614 case "$LIBEXT" in
11615 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11616 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'` ;;
11617 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11618 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11619 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11620 fi ;;
11621 esac
11622 else
11623 ac_cv_lib_soname_Xcursor=
11625 rm -f core conftest.err conftest.$ac_objext \
11626 conftest$ac_exeext conftest.$ac_ext
11627 LIBS=$ac_check_soname_save_LIBS
11629 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11631 $as_echo "not found" >&6; }
11633 else
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11635 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11637 cat >>confdefs.h <<_ACEOF
11638 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11639 _ACEOF
11644 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11645 case "x$with_xcursor" in
11646 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11647 xno) ;;
11648 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11649 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11650 esac
11654 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11655 then
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11657 $as_echo_n "checking for -lXi... " >&6; }
11658 if ${ac_cv_lib_soname_Xi+:} false; then :
11659 $as_echo_n "(cached) " >&6
11660 else
11661 ac_check_soname_save_LIBS=$LIBS
11662 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11664 /* end confdefs.h. */
11666 /* Override any GCC internal prototype to avoid an error.
11667 Use char because int might match the return type of a GCC
11668 builtin and then its argument prototype would still apply. */
11669 #ifdef __cplusplus
11670 extern "C"
11671 #endif
11672 char XOpenDevice ();
11674 main ()
11676 return XOpenDevice ();
11678 return 0;
11680 _ACEOF
11681 if ac_fn_c_try_link "$LINENO"; then :
11682 case "$LIBEXT" in
11683 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11684 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'` ;;
11685 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11686 if ${ac_cv_lib_soname_Xi:+false} :; then :
11687 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11688 fi ;;
11689 esac
11690 else
11691 ac_cv_lib_soname_Xi=
11693 rm -f core conftest.err conftest.$ac_objext \
11694 conftest$ac_exeext conftest.$ac_ext
11695 LIBS=$ac_check_soname_save_LIBS
11697 if ${ac_cv_lib_soname_Xi:+false} :; then :
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11699 $as_echo "not found" >&6; }
11701 else
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11703 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11705 cat >>confdefs.h <<_ACEOF
11706 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11707 _ACEOF
11712 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11713 case "x$with_xinput" in
11714 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11715 xno) ;;
11716 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11717 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11718 esac
11722 if test "x$ac_cv_lib_soname_Xi" != x
11723 then
11724 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11725 case "x$with_xinput2" in
11726 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11727 xno) ;;
11728 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11729 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11730 esac
11735 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11736 then
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11738 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11739 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11740 $as_echo_n "(cached) " >&6
11741 else
11742 ac_check_lib_save_LIBS=$LIBS
11743 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11745 /* end confdefs.h. */
11747 /* Override any GCC internal prototype to avoid an error.
11748 Use char because int might match the return type of a GCC
11749 builtin and then its argument prototype would still apply. */
11750 #ifdef __cplusplus
11751 extern "C"
11752 #endif
11753 char XShmQueryExtension ();
11755 main ()
11757 return XShmQueryExtension ();
11759 return 0;
11761 _ACEOF
11762 if ac_fn_c_try_link "$LINENO"; then :
11763 ac_cv_lib_Xext_XShmQueryExtension=yes
11764 else
11765 ac_cv_lib_Xext_XShmQueryExtension=no
11767 rm -f core conftest.err conftest.$ac_objext \
11768 conftest$ac_exeext conftest.$ac_ext
11769 LIBS=$ac_check_lib_save_LIBS
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11772 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11773 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11775 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11780 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11781 case "x$with_xshm" in
11782 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11783 xno) ;;
11784 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11785 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11786 esac
11790 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11791 then
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11793 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11794 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11795 $as_echo_n "(cached) " >&6
11796 else
11797 ac_check_lib_save_LIBS=$LIBS
11798 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11800 /* end confdefs.h. */
11802 /* Override any GCC internal prototype to avoid an error.
11803 Use char because int might match the return type of a GCC
11804 builtin and then its argument prototype would still apply. */
11805 #ifdef __cplusplus
11806 extern "C"
11807 #endif
11808 char XShapeQueryExtension ();
11810 main ()
11812 return XShapeQueryExtension ();
11814 return 0;
11816 _ACEOF
11817 if ac_fn_c_try_link "$LINENO"; then :
11818 ac_cv_lib_Xext_XShapeQueryExtension=yes
11819 else
11820 ac_cv_lib_Xext_XShapeQueryExtension=no
11822 rm -f core conftest.err conftest.$ac_objext \
11823 conftest$ac_exeext conftest.$ac_ext
11824 LIBS=$ac_check_lib_save_LIBS
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11827 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11828 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11830 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11835 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11836 case "x$with_xshape" in
11837 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11838 xno) ;;
11839 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11840 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11841 esac
11845 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11846 then
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11848 $as_echo_n "checking for -lXxf86vm... " >&6; }
11849 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11850 $as_echo_n "(cached) " >&6
11851 else
11852 ac_check_soname_save_LIBS=$LIBS
11853 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11855 /* end confdefs.h. */
11857 /* Override any GCC internal prototype to avoid an error.
11858 Use char because int might match the return type of a GCC
11859 builtin and then its argument prototype would still apply. */
11860 #ifdef __cplusplus
11861 extern "C"
11862 #endif
11863 char XF86VidModeQueryExtension ();
11865 main ()
11867 return XF86VidModeQueryExtension ();
11869 return 0;
11871 _ACEOF
11872 if ac_fn_c_try_link "$LINENO"; then :
11873 case "$LIBEXT" in
11874 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11875 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'` ;;
11876 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11877 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11878 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11879 fi ;;
11880 esac
11881 else
11882 ac_cv_lib_soname_Xxf86vm=
11884 rm -f core conftest.err conftest.$ac_objext \
11885 conftest$ac_exeext conftest.$ac_ext
11886 LIBS=$ac_check_soname_save_LIBS
11888 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11890 $as_echo "not found" >&6; }
11892 else
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11894 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11896 cat >>confdefs.h <<_ACEOF
11897 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11898 _ACEOF
11903 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11904 case "x$with_xxf86vm" in
11905 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11906 xno) ;;
11907 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11908 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11909 esac
11913 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11914 then
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11916 $as_echo_n "checking for -lXrender... " >&6; }
11917 if ${ac_cv_lib_soname_Xrender+:} false; then :
11918 $as_echo_n "(cached) " >&6
11919 else
11920 ac_check_soname_save_LIBS=$LIBS
11921 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11923 /* end confdefs.h. */
11925 /* Override any GCC internal prototype to avoid an error.
11926 Use char because int might match the return type of a GCC
11927 builtin and then its argument prototype would still apply. */
11928 #ifdef __cplusplus
11929 extern "C"
11930 #endif
11931 char XRenderQueryExtension ();
11933 main ()
11935 return XRenderQueryExtension ();
11937 return 0;
11939 _ACEOF
11940 if ac_fn_c_try_link "$LINENO"; then :
11941 case "$LIBEXT" in
11942 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11943 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'` ;;
11944 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11945 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11946 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11947 fi ;;
11948 esac
11949 else
11950 ac_cv_lib_soname_Xrender=
11952 rm -f core conftest.err conftest.$ac_objext \
11953 conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_soname_save_LIBS
11956 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11958 $as_echo "not found" >&6; }
11960 else
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11962 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11964 cat >>confdefs.h <<_ACEOF
11965 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11966 _ACEOF
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11969 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11970 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11971 $as_echo_n "(cached) " >&6
11972 else
11973 ac_check_lib_save_LIBS=$LIBS
11974 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11976 /* end confdefs.h. */
11978 /* Override any GCC internal prototype to avoid an error.
11979 Use char because int might match the return type of a GCC
11980 builtin and then its argument prototype would still apply. */
11981 #ifdef __cplusplus
11982 extern "C"
11983 #endif
11984 char XRenderSetPictureTransform ();
11986 main ()
11988 return XRenderSetPictureTransform ();
11990 return 0;
11992 _ACEOF
11993 if ac_fn_c_try_link "$LINENO"; then :
11994 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11995 else
11996 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11998 rm -f core conftest.err conftest.$ac_objext \
11999 conftest$ac_exeext conftest.$ac_ext
12000 LIBS=$ac_check_lib_save_LIBS
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12003 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12004 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12006 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12011 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12012 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12013 $as_echo_n "(cached) " >&6
12014 else
12015 ac_check_lib_save_LIBS=$LIBS
12016 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12018 /* end confdefs.h. */
12020 /* Override any GCC internal prototype to avoid an error.
12021 Use char because int might match the return type of a GCC
12022 builtin and then its argument prototype would still apply. */
12023 #ifdef __cplusplus
12024 extern "C"
12025 #endif
12026 char XRenderCreateLinearGradient ();
12028 main ()
12030 return XRenderCreateLinearGradient ();
12032 return 0;
12034 _ACEOF
12035 if ac_fn_c_try_link "$LINENO"; then :
12036 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12037 else
12038 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12040 rm -f core conftest.err conftest.$ac_objext \
12041 conftest$ac_exeext conftest.$ac_ext
12042 LIBS=$ac_check_lib_save_LIBS
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12045 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12046 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12048 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12055 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12056 case "x$with_xrender" in
12057 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12058 xno) ;;
12059 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12060 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12061 esac
12065 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12066 then
12067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12068 /* end confdefs.h. */
12069 #include <X11/Xlib.h>
12070 #include <X11/extensions/Xrandr.h>
12072 main ()
12074 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12076 return 0;
12078 _ACEOF
12079 if ac_fn_c_try_compile "$LINENO"; then :
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12081 $as_echo_n "checking for -lXrandr... " >&6; }
12082 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12083 $as_echo_n "(cached) " >&6
12084 else
12085 ac_check_soname_save_LIBS=$LIBS
12086 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12090 /* Override any GCC internal prototype to avoid an error.
12091 Use char because int might match the return type of a GCC
12092 builtin and then its argument prototype would still apply. */
12093 #ifdef __cplusplus
12094 extern "C"
12095 #endif
12096 char XRRQueryExtension ();
12098 main ()
12100 return XRRQueryExtension ();
12102 return 0;
12104 _ACEOF
12105 if ac_fn_c_try_link "$LINENO"; then :
12106 case "$LIBEXT" in
12107 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12108 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'` ;;
12109 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12110 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12111 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12112 fi ;;
12113 esac
12114 else
12115 ac_cv_lib_soname_Xrandr=
12117 rm -f core conftest.err conftest.$ac_objext \
12118 conftest$ac_exeext conftest.$ac_ext
12119 LIBS=$ac_check_soname_save_LIBS
12121 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12123 $as_echo "not found" >&6; }
12125 else
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12127 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12129 cat >>confdefs.h <<_ACEOF
12130 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12131 _ACEOF
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12135 #include <X11/Xlib.h>
12136 #include <X11/extensions/Xrandr.h>
12138 main ()
12140 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12142 return 0;
12144 _ACEOF
12145 if ac_fn_c_try_compile "$LINENO"; then :
12147 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12153 #include <X11/Xlib.h>
12154 #include <X11/extensions/Xrandr.h>
12156 main ()
12158 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12160 return 0;
12162 _ACEOF
12163 if ac_fn_c_try_compile "$LINENO"; then :
12165 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12167 else
12168 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12175 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12176 case "x$with_xrandr" in
12177 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12178 xno) ;;
12179 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12180 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12181 esac
12185 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12186 then
12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12189 #include <X11/Xlib.h>
12190 #include <X11/extensions/Xfixes.h>
12192 main ()
12194 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12196 return 0;
12198 _ACEOF
12199 if ac_fn_c_try_compile "$LINENO"; then :
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12201 $as_echo_n "checking for -lXfixes... " >&6; }
12202 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12203 $as_echo_n "(cached) " >&6
12204 else
12205 ac_check_soname_save_LIBS=$LIBS
12206 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h. */
12210 /* Override any GCC internal prototype to avoid an error.
12211 Use char because int might match the return type of a GCC
12212 builtin and then its argument prototype would still apply. */
12213 #ifdef __cplusplus
12214 extern "C"
12215 #endif
12216 char XFixesQueryVersion ();
12218 main ()
12220 return XFixesQueryVersion ();
12222 return 0;
12224 _ACEOF
12225 if ac_fn_c_try_link "$LINENO"; then :
12226 case "$LIBEXT" in
12227 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12228 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'` ;;
12229 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12230 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12231 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12232 fi ;;
12233 esac
12234 else
12235 ac_cv_lib_soname_Xfixes=
12237 rm -f core conftest.err conftest.$ac_objext \
12238 conftest$ac_exeext conftest.$ac_ext
12239 LIBS=$ac_check_soname_save_LIBS
12241 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12243 $as_echo "not found" >&6; }
12245 else
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12247 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12249 cat >>confdefs.h <<_ACEOF
12250 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12251 _ACEOF
12256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12258 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12259 case "x$with_xfixes" in
12260 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12261 xno) ;;
12262 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12263 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12264 esac
12268 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12269 then
12270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12272 #include <X11/Xlib.h>
12273 #include <X11/extensions/Xinerama.h>
12275 main ()
12277 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12279 return 0;
12281 _ACEOF
12282 if ac_fn_c_try_compile "$LINENO"; then :
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12284 $as_echo_n "checking for -lXinerama... " >&6; }
12285 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12286 $as_echo_n "(cached) " >&6
12287 else
12288 ac_check_soname_save_LIBS=$LIBS
12289 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12291 /* end confdefs.h. */
12293 /* Override any GCC internal prototype to avoid an error.
12294 Use char because int might match the return type of a GCC
12295 builtin and then its argument prototype would still apply. */
12296 #ifdef __cplusplus
12297 extern "C"
12298 #endif
12299 char XineramaQueryScreens ();
12301 main ()
12303 return XineramaQueryScreens ();
12305 return 0;
12307 _ACEOF
12308 if ac_fn_c_try_link "$LINENO"; then :
12309 case "$LIBEXT" in
12310 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12311 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'` ;;
12312 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12313 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12314 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12315 fi ;;
12316 esac
12317 else
12318 ac_cv_lib_soname_Xinerama=
12320 rm -f core conftest.err conftest.$ac_objext \
12321 conftest$ac_exeext conftest.$ac_ext
12322 LIBS=$ac_check_soname_save_LIBS
12324 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12326 $as_echo "not found" >&6; }
12328 else
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12330 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12332 cat >>confdefs.h <<_ACEOF
12333 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12334 _ACEOF
12339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12341 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12342 case "x$with_xinerama" in
12343 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12344 xno) ;;
12345 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12346 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12347 esac
12351 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12352 then
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12354 $as_echo_n "checking for -lXcomposite... " >&6; }
12355 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12356 $as_echo_n "(cached) " >&6
12357 else
12358 ac_check_soname_save_LIBS=$LIBS
12359 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12361 /* end confdefs.h. */
12363 /* Override any GCC internal prototype to avoid an error.
12364 Use char because int might match the return type of a GCC
12365 builtin and then its argument prototype would still apply. */
12366 #ifdef __cplusplus
12367 extern "C"
12368 #endif
12369 char XCompositeRedirectWindow ();
12371 main ()
12373 return XCompositeRedirectWindow ();
12375 return 0;
12377 _ACEOF
12378 if ac_fn_c_try_link "$LINENO"; then :
12379 case "$LIBEXT" in
12380 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12381 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'` ;;
12382 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12383 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12384 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12385 fi ;;
12386 esac
12387 else
12388 ac_cv_lib_soname_Xcomposite=
12390 rm -f core conftest.err conftest.$ac_objext \
12391 conftest$ac_exeext conftest.$ac_ext
12392 LIBS=$ac_check_soname_save_LIBS
12394 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12396 $as_echo "not found" >&6; }
12398 else
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12400 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12402 cat >>confdefs.h <<_ACEOF
12403 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12404 _ACEOF
12409 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12410 case "x$with_xcomposite" in
12411 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12412 xno) ;;
12413 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12414 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12415 esac
12419 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12420 #include <X11/Xlib.h>
12421 #endif
12423 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12425 cat >>confdefs.h <<_ACEOF
12426 #define HAVE_XICCALLBACK_CALLBACK 1
12427 _ACEOF
12431 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12432 #include <X11/Xlib.h>
12433 #endif
12435 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12437 cat >>confdefs.h <<_ACEOF
12438 #define HAVE_XEVENT_XCOOKIE 1
12439 _ACEOF
12446 opengl_msg=""
12447 if test "x$with_opengl" != "xno"
12448 then
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12450 $as_echo_n "checking for -lGL... " >&6; }
12451 if ${ac_cv_lib_soname_GL+:} false; then :
12452 $as_echo_n "(cached) " >&6
12453 else
12454 ac_check_soname_save_LIBS=$LIBS
12455 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12457 /* end confdefs.h. */
12459 /* Override any GCC internal prototype to avoid an error.
12460 Use char because int might match the return type of a GCC
12461 builtin and then its argument prototype would still apply. */
12462 #ifdef __cplusplus
12463 extern "C"
12464 #endif
12465 char glXCreateContext ();
12467 main ()
12469 return glXCreateContext ();
12471 return 0;
12473 _ACEOF
12474 if ac_fn_c_try_link "$LINENO"; then :
12475 case "$LIBEXT" in
12476 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12477 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'` ;;
12478 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12479 if ${ac_cv_lib_soname_GL:+false} :; then :
12480 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12481 fi ;;
12482 esac
12483 else
12484 ac_cv_lib_soname_GL=
12486 rm -f core conftest.err conftest.$ac_objext \
12487 conftest$ac_exeext conftest.$ac_ext
12488 LIBS=$ac_check_soname_save_LIBS
12490 if ${ac_cv_lib_soname_GL:+false} :; then :
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12492 $as_echo "not found" >&6; }
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12494 $as_echo_n "checking for -lGL... " >&6; }
12495 if ${ac_cv_lib_soname_GL+:} false; then :
12496 $as_echo_n "(cached) " >&6
12497 else
12498 ac_check_soname_save_LIBS=$LIBS
12499 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"
12500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12501 /* end confdefs.h. */
12503 /* Override any GCC internal prototype to avoid an error.
12504 Use char because int might match the return type of a GCC
12505 builtin and then its argument prototype would still apply. */
12506 #ifdef __cplusplus
12507 extern "C"
12508 #endif
12509 char glXCreateContext ();
12511 main ()
12513 return glXCreateContext ();
12515 return 0;
12517 _ACEOF
12518 if ac_fn_c_try_link "$LINENO"; then :
12519 case "$LIBEXT" in
12520 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12521 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'` ;;
12522 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12523 if ${ac_cv_lib_soname_GL:+false} :; then :
12524 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12525 fi ;;
12526 esac
12527 else
12528 ac_cv_lib_soname_GL=
12530 rm -f core conftest.err conftest.$ac_objext \
12531 conftest$ac_exeext conftest.$ac_ext
12532 LIBS=$ac_check_soname_save_LIBS
12534 if ${ac_cv_lib_soname_GL:+false} :; then :
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12536 $as_echo "not found" >&6; }
12537 if test -f /usr/X11R6/lib/libGL.a
12538 then
12539 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12540 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12541 else
12542 opengl_msg="No OpenGL library found on this system."
12544 else
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12546 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12548 cat >>confdefs.h <<_ACEOF
12549 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12550 _ACEOF
12552 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"
12554 else
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12556 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12558 cat >>confdefs.h <<_ACEOF
12559 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12560 _ACEOF
12562 OPENGL_LIBS="-lGL"
12564 if test "x$with_glu" != "xno"
12565 then
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12567 $as_echo_n "checking for -lGLU... " >&6; }
12568 if ${ac_cv_lib_soname_GLU+:} false; then :
12569 $as_echo_n "(cached) " >&6
12570 else
12571 ac_check_soname_save_LIBS=$LIBS
12572 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12574 /* end confdefs.h. */
12576 /* Override any GCC internal prototype to avoid an error.
12577 Use char because int might match the return type of a GCC
12578 builtin and then its argument prototype would still apply. */
12579 #ifdef __cplusplus
12580 extern "C"
12581 #endif
12582 char gluLookAt ();
12584 main ()
12586 return gluLookAt ();
12588 return 0;
12590 _ACEOF
12591 if ac_fn_c_try_link "$LINENO"; then :
12592 case "$LIBEXT" in
12593 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12594 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'` ;;
12595 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12596 if ${ac_cv_lib_soname_GLU:+false} :; then :
12597 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12598 fi ;;
12599 esac
12600 else
12601 ac_cv_lib_soname_GLU=
12603 rm -f core conftest.err conftest.$ac_objext \
12604 conftest$ac_exeext conftest.$ac_ext
12605 LIBS=$ac_check_soname_save_LIBS
12607 if ${ac_cv_lib_soname_GLU:+false} :; then :
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12609 $as_echo "not found" >&6; }
12611 else
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12613 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12615 cat >>confdefs.h <<_ACEOF
12616 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12617 _ACEOF
12621 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12622 case "x$with_glu" in
12623 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12624 xno) ;;
12625 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12626 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12627 esac
12632 if test "x$with_osmesa" != "xno"
12633 then
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12635 $as_echo_n "checking for -lOSMesa... " >&6; }
12636 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12637 $as_echo_n "(cached) " >&6
12638 else
12639 ac_check_soname_save_LIBS=$LIBS
12640 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12644 /* Override any GCC internal prototype to avoid an error.
12645 Use char because int might match the return type of a GCC
12646 builtin and then its argument prototype would still apply. */
12647 #ifdef __cplusplus
12648 extern "C"
12649 #endif
12650 char OSMesaGetProcAddress ();
12652 main ()
12654 return OSMesaGetProcAddress ();
12656 return 0;
12658 _ACEOF
12659 if ac_fn_c_try_link "$LINENO"; then :
12660 case "$LIBEXT" in
12661 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12662 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'` ;;
12663 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12664 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12665 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12666 fi ;;
12667 esac
12668 else
12669 ac_cv_lib_soname_OSMesa=
12671 rm -f core conftest.err conftest.$ac_objext \
12672 conftest$ac_exeext conftest.$ac_ext
12673 LIBS=$ac_check_soname_save_LIBS
12675 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12677 $as_echo "not found" >&6; }
12679 else
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12681 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12683 cat >>confdefs.h <<_ACEOF
12684 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12685 _ACEOF
12689 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12690 case "x$with_osmesa" in
12691 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12692 xno) ;;
12693 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12694 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12695 esac
12700 if test -n "$opengl_msg"; then :
12701 case "x$with_opengl" in
12702 x) as_fn_append wine_warnings "|$opengl_msg
12703 OpenGL and Direct3D won't be supported." ;;
12704 xno) ;;
12705 *) as_fn_error $? "$opengl_msg
12706 OpenGL and Direct3D won't be supported.
12707 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12708 esac
12712 CPPFLAGS="$ac_save_CPPFLAGS"
12713 else
12714 X_CFLAGS=""
12715 X_LIBS=""
12718 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12719 then
12720 if test "x$X_LIBS" = "x"; then :
12721 case "x$with_x" in
12722 xno) ;;
12723 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12724 without X support, which probably isn't what you want. You will need
12725 to install ${notice_platform}development packages of Xlib at the very least.
12726 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12727 esac
12728 enable_winex11_drv=${enable_winex11_drv:-no}
12730 else
12731 if test "x$X_LIBS" = "x"; then :
12732 case "x$with_x" in
12733 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12734 xno) ;;
12735 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12736 This is an error since --with-x was requested." "$LINENO" 5 ;;
12737 esac
12738 enable_winex11_drv=${enable_winex11_drv:-no}
12742 if test "$ac_cv_header_CL_cl_h" = "yes"
12743 then
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12745 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12746 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12747 $as_echo_n "(cached) " >&6
12748 else
12749 ac_check_lib_save_LIBS=$LIBS
12750 LIBS="-lOpenCL $LIBS"
12751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12754 /* Override any GCC internal prototype to avoid an error.
12755 Use char because int might match the return type of a GCC
12756 builtin and then its argument prototype would still apply. */
12757 #ifdef __cplusplus
12758 extern "C"
12759 #endif
12760 char clGetPlatformInfo ();
12762 main ()
12764 return clGetPlatformInfo ();
12766 return 0;
12768 _ACEOF
12769 if ac_fn_c_try_link "$LINENO"; then :
12770 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12771 else
12772 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12774 rm -f core conftest.err conftest.$ac_objext \
12775 conftest$ac_exeext conftest.$ac_ext
12776 LIBS=$ac_check_lib_save_LIBS
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12779 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12780 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12781 OPENCL_LIBS="-lOpenCL"
12786 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12787 case "x$with_opencl" in
12788 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12789 xno) ;;
12790 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12791 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12792 esac
12793 enable_opencl=${enable_opencl:-no}
12796 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12797 then
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12799 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12800 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12801 $as_echo_n "(cached) " >&6
12802 else
12803 ac_check_lib_save_LIBS=$LIBS
12804 LIBS="-lpcap $LIBS"
12805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12806 /* end confdefs.h. */
12808 /* Override any GCC internal prototype to avoid an error.
12809 Use char because int might match the return type of a GCC
12810 builtin and then its argument prototype would still apply. */
12811 #ifdef __cplusplus
12812 extern "C"
12813 #endif
12814 char pcap_create ();
12816 main ()
12818 return pcap_create ();
12820 return 0;
12822 _ACEOF
12823 if ac_fn_c_try_link "$LINENO"; then :
12824 ac_cv_lib_pcap_pcap_create=yes
12825 else
12826 ac_cv_lib_pcap_pcap_create=no
12828 rm -f core conftest.err conftest.$ac_objext \
12829 conftest$ac_exeext conftest.$ac_ext
12830 LIBS=$ac_check_lib_save_LIBS
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12833 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12834 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12835 PCAP_LIBS="-lpcap"
12840 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12841 case "x$with_pcap" in
12842 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12843 xno) ;;
12844 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12845 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12846 esac
12847 enable_wpcap=${enable_wpcap:-no}
12851 if test "x$with_xml" != "xno"
12852 then
12853 if ${XML2_CFLAGS:+false} :; then :
12854 if ${PKG_CONFIG+:} false; then :
12855 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12858 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12859 if ${XML2_LIBS:+false} :; then :
12860 if ${PKG_CONFIG+:} false; then :
12861 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12864 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12865 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12866 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12867 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12868 ac_save_CPPFLAGS=$CPPFLAGS
12869 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12870 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12871 do :
12872 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12873 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12874 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12875 cat >>confdefs.h <<_ACEOF
12876 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12877 _ACEOF
12881 done
12883 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"
12884 then
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12886 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12887 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12888 $as_echo_n "(cached) " >&6
12889 else
12890 ac_check_lib_save_LIBS=$LIBS
12891 LIBS="-lxml2 $XML2_LIBS $LIBS"
12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12895 /* Override any GCC internal prototype to avoid an error.
12896 Use char because int might match the return type of a GCC
12897 builtin and then its argument prototype would still apply. */
12898 #ifdef __cplusplus
12899 extern "C"
12900 #endif
12901 char xmlParseMemory ();
12903 main ()
12905 return xmlParseMemory ();
12907 return 0;
12909 _ACEOF
12910 if ac_fn_c_try_link "$LINENO"; then :
12911 ac_cv_lib_xml2_xmlParseMemory=yes
12912 else
12913 ac_cv_lib_xml2_xmlParseMemory=no
12915 rm -f core conftest.err conftest.$ac_objext \
12916 conftest$ac_exeext conftest.$ac_ext
12917 LIBS=$ac_check_lib_save_LIBS
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12920 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12921 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12923 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12925 else
12926 XML2_LIBS=""
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12930 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12931 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12932 $as_echo_n "(cached) " >&6
12933 else
12934 ac_check_lib_save_LIBS=$LIBS
12935 LIBS="-lxml2 $XML2_LIBS $LIBS"
12936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12937 /* end confdefs.h. */
12939 /* Override any GCC internal prototype to avoid an error.
12940 Use char because int might match the return type of a GCC
12941 builtin and then its argument prototype would still apply. */
12942 #ifdef __cplusplus
12943 extern "C"
12944 #endif
12945 char xmlReadMemory ();
12947 main ()
12949 return xmlReadMemory ();
12951 return 0;
12953 _ACEOF
12954 if ac_fn_c_try_link "$LINENO"; then :
12955 ac_cv_lib_xml2_xmlReadMemory=yes
12956 else
12957 ac_cv_lib_xml2_xmlReadMemory=no
12959 rm -f core conftest.err conftest.$ac_objext \
12960 conftest$ac_exeext conftest.$ac_ext
12961 LIBS=$ac_check_lib_save_LIBS
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12964 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12965 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12967 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12972 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12973 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12974 $as_echo_n "(cached) " >&6
12975 else
12976 ac_check_lib_save_LIBS=$LIBS
12977 LIBS="-lxml2 $XML2_LIBS $LIBS"
12978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12979 /* end confdefs.h. */
12981 /* Override any GCC internal prototype to avoid an error.
12982 Use char because int might match the return type of a GCC
12983 builtin and then its argument prototype would still apply. */
12984 #ifdef __cplusplus
12985 extern "C"
12986 #endif
12987 char xmlNewDocPI ();
12989 main ()
12991 return xmlNewDocPI ();
12993 return 0;
12995 _ACEOF
12996 if ac_fn_c_try_link "$LINENO"; then :
12997 ac_cv_lib_xml2_xmlNewDocPI=yes
12998 else
12999 ac_cv_lib_xml2_xmlNewDocPI=no
13001 rm -f core conftest.err conftest.$ac_objext \
13002 conftest$ac_exeext conftest.$ac_ext
13003 LIBS=$ac_check_lib_save_LIBS
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13006 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13007 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13009 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13014 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13015 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13016 $as_echo_n "(cached) " >&6
13017 else
13018 ac_check_lib_save_LIBS=$LIBS
13019 LIBS="-lxml2 $XML2_LIBS $LIBS"
13020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13023 /* Override any GCC internal prototype to avoid an error.
13024 Use char because int might match the return type of a GCC
13025 builtin and then its argument prototype would still apply. */
13026 #ifdef __cplusplus
13027 extern "C"
13028 #endif
13029 char xmlSchemaSetParserStructuredErrors ();
13031 main ()
13033 return xmlSchemaSetParserStructuredErrors ();
13035 return 0;
13037 _ACEOF
13038 if ac_fn_c_try_link "$LINENO"; then :
13039 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13040 else
13041 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13043 rm -f core conftest.err conftest.$ac_objext \
13044 conftest$ac_exeext conftest.$ac_ext
13045 LIBS=$ac_check_lib_save_LIBS
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13048 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13049 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13051 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13056 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13057 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13058 $as_echo_n "(cached) " >&6
13059 else
13060 ac_check_lib_save_LIBS=$LIBS
13061 LIBS="-lxml2 $XML2_LIBS $LIBS"
13062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13063 /* end confdefs.h. */
13065 /* Override any GCC internal prototype to avoid an error.
13066 Use char because int might match the return type of a GCC
13067 builtin and then its argument prototype would still apply. */
13068 #ifdef __cplusplus
13069 extern "C"
13070 #endif
13071 char xmlSchemaSetValidStructuredErrors ();
13073 main ()
13075 return xmlSchemaSetValidStructuredErrors ();
13077 return 0;
13079 _ACEOF
13080 if ac_fn_c_try_link "$LINENO"; then :
13081 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13082 else
13083 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13085 rm -f core conftest.err conftest.$ac_objext \
13086 conftest$ac_exeext conftest.$ac_ext
13087 LIBS=$ac_check_lib_save_LIBS
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13090 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13091 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13093 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13098 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13099 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13100 $as_echo_n "(cached) " >&6
13101 else
13102 ac_check_lib_save_LIBS=$LIBS
13103 LIBS="-lxml2 $XML2_LIBS $LIBS"
13104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13105 /* end confdefs.h. */
13107 /* Override any GCC internal prototype to avoid an error.
13108 Use char because int might match the return type of a GCC
13109 builtin and then its argument prototype would still apply. */
13110 #ifdef __cplusplus
13111 extern "C"
13112 #endif
13113 char xmlFirstElementChild ();
13115 main ()
13117 return xmlFirstElementChild ();
13119 return 0;
13121 _ACEOF
13122 if ac_fn_c_try_link "$LINENO"; then :
13123 ac_cv_lib_xml2_xmlFirstElementChild=yes
13124 else
13125 ac_cv_lib_xml2_xmlFirstElementChild=no
13127 rm -f core conftest.err conftest.$ac_objext \
13128 conftest$ac_exeext conftest.$ac_ext
13129 LIBS=$ac_check_lib_save_LIBS
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13132 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13133 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13135 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13139 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13141 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13143 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13147 else
13148 XML2_CFLAGS=""
13149 XML2_LIBS=""
13151 CPPFLAGS=$ac_save_CPPFLAGS
13152 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13153 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13156 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13157 case "x$with_xml" in
13158 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13159 xno) ;;
13160 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13161 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13162 esac
13166 if test "x$with_xslt" != "xno"
13167 then
13168 if ${XSLT_CFLAGS:+false} :; then :
13169 if ${PKG_CONFIG+:} false; then :
13170 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13173 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13174 if ${XSLT_LIBS:+false} :; then :
13175 if ${PKG_CONFIG+:} false; then :
13176 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13179 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13180 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13181 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13182 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13183 ac_save_CPPFLAGS=$CPPFLAGS
13184 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13185 for ac_header in libxslt/pattern.h libxslt/transform.h
13186 do :
13187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13188 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13189 # include <libxslt/pattern.h>
13190 #endif
13192 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13193 cat >>confdefs.h <<_ACEOF
13194 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13195 _ACEOF
13199 done
13201 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13202 then
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13204 $as_echo_n "checking for -lxslt... " >&6; }
13205 if ${ac_cv_lib_soname_xslt+:} false; then :
13206 $as_echo_n "(cached) " >&6
13207 else
13208 ac_check_soname_save_LIBS=$LIBS
13209 LIBS="-lxslt $XSLT_LIBS $LIBS"
13210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13211 /* end confdefs.h. */
13213 /* Override any GCC internal prototype to avoid an error.
13214 Use char because int might match the return type of a GCC
13215 builtin and then its argument prototype would still apply. */
13216 #ifdef __cplusplus
13217 extern "C"
13218 #endif
13219 char xsltCompilePattern ();
13221 main ()
13223 return xsltCompilePattern ();
13225 return 0;
13227 _ACEOF
13228 if ac_fn_c_try_link "$LINENO"; then :
13229 case "$LIBEXT" in
13230 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13231 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'` ;;
13232 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13233 if ${ac_cv_lib_soname_xslt:+false} :; then :
13234 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13235 fi ;;
13236 esac
13237 else
13238 ac_cv_lib_soname_xslt=
13240 rm -f core conftest.err conftest.$ac_objext \
13241 conftest$ac_exeext conftest.$ac_ext
13242 LIBS=$ac_check_soname_save_LIBS
13244 if ${ac_cv_lib_soname_xslt:+false} :; then :
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13246 $as_echo "not found" >&6; }
13248 else
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13250 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13252 cat >>confdefs.h <<_ACEOF
13253 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13254 _ACEOF
13258 else
13259 XSLT_CFLAGS=""
13261 CPPFLAGS=$ac_save_CPPFLAGS
13262 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13263 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13266 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13267 case "x$with_xslt" in
13268 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13269 xno) ;;
13270 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13271 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13272 esac
13276 if test "x$with_inotify" != "xno"
13277 then
13278 if ${INOTIFY_CFLAGS:+false} :; then :
13279 if ${PKG_CONFIG+:} false; then :
13280 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13284 if ${INOTIFY_LIBS:+false} :; then :
13285 if ${PKG_CONFIG+:} false; then :
13286 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13291 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13292 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13293 ac_save_CPPFLAGS=$CPPFLAGS
13294 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13295 for ac_header in sys/inotify.h
13296 do :
13297 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13298 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13299 cat >>confdefs.h <<_ACEOF
13300 #define HAVE_SYS_INOTIFY_H 1
13301 _ACEOF
13305 done
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13308 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13309 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13310 $as_echo_n "(cached) " >&6
13311 else
13312 ac_check_lib_save_LIBS=$LIBS
13313 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13315 /* end confdefs.h. */
13317 /* Override any GCC internal prototype to avoid an error.
13318 Use char because int might match the return type of a GCC
13319 builtin and then its argument prototype would still apply. */
13320 #ifdef __cplusplus
13321 extern "C"
13322 #endif
13323 char inotify_add_watch ();
13325 main ()
13327 return inotify_add_watch ();
13329 return 0;
13331 _ACEOF
13332 if ac_fn_c_try_link "$LINENO"; then :
13333 ac_cv_lib_inotify_inotify_add_watch=yes
13334 else
13335 ac_cv_lib_inotify_inotify_add_watch=no
13337 rm -f core conftest.err conftest.$ac_objext \
13338 conftest$ac_exeext conftest.$ac_ext
13339 LIBS=$ac_check_lib_save_LIBS
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13342 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13343 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13345 else
13346 INOTIFY_LIBS=""
13349 CPPFLAGS=$ac_save_CPPFLAGS
13350 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13351 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13354 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13355 case "x$with_inotify" in
13356 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13357 xno) ;;
13358 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13359 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13360 esac
13364 if test "x$with_dbus" != "xno"
13365 then
13366 if ${DBUS_CFLAGS:+false} :; then :
13367 if ${PKG_CONFIG+:} false; then :
13368 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13372 if ${DBUS_LIBS:+false} :; then :
13373 if ${PKG_CONFIG+:} false; then :
13374 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13379 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13380 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13381 ac_save_CPPFLAGS=$CPPFLAGS
13382 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13383 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13384 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13386 $as_echo_n "checking for -ldbus-1... " >&6; }
13387 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13388 $as_echo_n "(cached) " >&6
13389 else
13390 ac_check_soname_save_LIBS=$LIBS
13391 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13393 /* end confdefs.h. */
13395 /* Override any GCC internal prototype to avoid an error.
13396 Use char because int might match the return type of a GCC
13397 builtin and then its argument prototype would still apply. */
13398 #ifdef __cplusplus
13399 extern "C"
13400 #endif
13401 char dbus_connection_close ();
13403 main ()
13405 return dbus_connection_close ();
13407 return 0;
13409 _ACEOF
13410 if ac_fn_c_try_link "$LINENO"; then :
13411 case "$LIBEXT" in
13412 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13413 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'` ;;
13414 *) 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'`
13415 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13416 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13417 fi ;;
13418 esac
13419 else
13420 ac_cv_lib_soname_dbus_1=
13422 rm -f core conftest.err conftest.$ac_objext \
13423 conftest$ac_exeext conftest.$ac_ext
13424 LIBS=$ac_check_soname_save_LIBS
13426 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13428 $as_echo "not found" >&6; }
13429 DBUS_CFLAGS=""
13430 else
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13432 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13434 cat >>confdefs.h <<_ACEOF
13435 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13436 _ACEOF
13440 else
13441 DBUS_CFLAGS=""
13445 CPPFLAGS=$ac_save_CPPFLAGS
13446 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13447 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13450 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13451 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13452 case "x$with_dbus" in
13453 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13454 xno) ;;
13455 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13456 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13457 esac
13461 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13462 then
13463 if ${HAL_CFLAGS:+false} :; then :
13464 if ${PKG_CONFIG+:} false; then :
13465 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13469 if ${HAL_LIBS:+false} :; then :
13470 if ${PKG_CONFIG+:} false; then :
13471 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13475 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13476 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13477 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13478 ac_save_CPPFLAGS=$CPPFLAGS
13479 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13480 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13481 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13483 $as_echo_n "checking for -lhal... " >&6; }
13484 if ${ac_cv_lib_soname_hal+:} false; then :
13485 $as_echo_n "(cached) " >&6
13486 else
13487 ac_check_soname_save_LIBS=$LIBS
13488 LIBS="-lhal $HAL_LIBS $LIBS"
13489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13490 /* end confdefs.h. */
13492 /* Override any GCC internal prototype to avoid an error.
13493 Use char because int might match the return type of a GCC
13494 builtin and then its argument prototype would still apply. */
13495 #ifdef __cplusplus
13496 extern "C"
13497 #endif
13498 char libhal_ctx_new ();
13500 main ()
13502 return libhal_ctx_new ();
13504 return 0;
13506 _ACEOF
13507 if ac_fn_c_try_link "$LINENO"; then :
13508 case "$LIBEXT" in
13509 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13510 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'` ;;
13511 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13512 if ${ac_cv_lib_soname_hal:+false} :; then :
13513 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13514 fi ;;
13515 esac
13516 else
13517 ac_cv_lib_soname_hal=
13519 rm -f core conftest.err conftest.$ac_objext \
13520 conftest$ac_exeext conftest.$ac_ext
13521 LIBS=$ac_check_soname_save_LIBS
13523 if ${ac_cv_lib_soname_hal:+false} :; then :
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13525 $as_echo "not found" >&6; }
13526 HAL_CFLAGS=""
13527 else
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13529 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13531 cat >>confdefs.h <<_ACEOF
13532 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13533 _ACEOF
13537 else
13538 HAL_CFLAGS=""
13542 CPPFLAGS=$ac_save_CPPFLAGS
13543 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13544 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13546 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13547 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13548 case "x$with_hal" in
13549 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13550 xno) ;;
13551 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13552 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13553 esac
13558 if test "x$with_gnutls" != "xno"
13559 then
13560 if ${GNUTLS_CFLAGS:+false} :; then :
13561 if ${PKG_CONFIG+:} false; then :
13562 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13566 if ${GNUTLS_LIBS:+false} :; then :
13567 if ${PKG_CONFIG+:} false; then :
13568 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13573 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13574 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13575 ac_save_CPPFLAGS=$CPPFLAGS
13576 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13577 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13578 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13580 /* end confdefs.h. */
13581 #include <gnutls/gnutls.h>
13582 #include <gnutls/crypto.h>
13584 main ()
13586 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13588 return 0;
13590 _ACEOF
13591 if ac_fn_c_try_compile "$LINENO"; then :
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13593 $as_echo_n "checking for -lgnutls... " >&6; }
13594 if ${ac_cv_lib_soname_gnutls+:} false; then :
13595 $as_echo_n "(cached) " >&6
13596 else
13597 ac_check_soname_save_LIBS=$LIBS
13598 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13602 /* Override any GCC internal prototype to avoid an error.
13603 Use char because int might match the return type of a GCC
13604 builtin and then its argument prototype would still apply. */
13605 #ifdef __cplusplus
13606 extern "C"
13607 #endif
13608 char gnutls_global_init ();
13610 main ()
13612 return gnutls_global_init ();
13614 return 0;
13616 _ACEOF
13617 if ac_fn_c_try_link "$LINENO"; then :
13618 case "$LIBEXT" in
13619 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13620 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'` ;;
13621 *) 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'`
13622 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13623 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'`
13624 fi ;;
13625 esac
13626 else
13627 ac_cv_lib_soname_gnutls=
13629 rm -f core conftest.err conftest.$ac_objext \
13630 conftest$ac_exeext conftest.$ac_ext
13631 LIBS=$ac_check_soname_save_LIBS
13633 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13635 $as_echo "not found" >&6; }
13636 GNUTLS_CFLAGS=""
13637 else
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13639 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13641 cat >>confdefs.h <<_ACEOF
13642 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13643 _ACEOF
13647 ac_wine_check_funcs_save_LIBS="$LIBS"
13648 LIBS="$LIBS $GNUTLS_LIBS"
13649 for ac_func in gnutls_cipher_init
13650 do :
13651 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13652 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13653 cat >>confdefs.h <<_ACEOF
13654 #define HAVE_GNUTLS_CIPHER_INIT 1
13655 _ACEOF
13657 else
13658 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13660 done
13662 LIBS="$ac_wine_check_funcs_save_LIBS"
13664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13665 else
13666 GNUTLS_CFLAGS=""
13670 CPPFLAGS=$ac_save_CPPFLAGS
13671 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13672 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13675 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13676 case "x$with_gnutls" in
13677 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13678 xno) ;;
13679 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13680 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13681 esac
13685 CURSES_LIBS=""
13686 if test "$ac_cv_header_ncurses_h" = "yes"
13687 then
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13689 $as_echo_n "checking for -lncurses... " >&6; }
13690 if ${ac_cv_lib_soname_ncurses+:} false; then :
13691 $as_echo_n "(cached) " >&6
13692 else
13693 ac_check_soname_save_LIBS=$LIBS
13694 LIBS="-lncurses $LIBS"
13695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13696 /* end confdefs.h. */
13698 /* Override any GCC internal prototype to avoid an error.
13699 Use char because int might match the return type of a GCC
13700 builtin and then its argument prototype would still apply. */
13701 #ifdef __cplusplus
13702 extern "C"
13703 #endif
13704 char waddch ();
13706 main ()
13708 return waddch ();
13710 return 0;
13712 _ACEOF
13713 if ac_fn_c_try_link "$LINENO"; then :
13714 case "$LIBEXT" in
13715 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13716 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'` ;;
13717 *) 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'`
13718 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13719 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13720 fi ;;
13721 esac
13722 else
13723 ac_cv_lib_soname_ncurses=
13725 rm -f core conftest.err conftest.$ac_objext \
13726 conftest$ac_exeext conftest.$ac_ext
13727 LIBS=$ac_check_soname_save_LIBS
13729 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13731 $as_echo "not found" >&6; }
13733 else
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13735 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13737 cat >>confdefs.h <<_ACEOF
13738 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13739 _ACEOF
13741 CURSES_LIBS="-lncurses"
13743 elif test "$ac_cv_header_curses_h" = "yes"
13744 then
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13746 $as_echo_n "checking for -lcurses... " >&6; }
13747 if ${ac_cv_lib_soname_curses+:} false; then :
13748 $as_echo_n "(cached) " >&6
13749 else
13750 ac_check_soname_save_LIBS=$LIBS
13751 LIBS="-lcurses $LIBS"
13752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13753 /* end confdefs.h. */
13755 /* Override any GCC internal prototype to avoid an error.
13756 Use char because int might match the return type of a GCC
13757 builtin and then its argument prototype would still apply. */
13758 #ifdef __cplusplus
13759 extern "C"
13760 #endif
13761 char waddch ();
13763 main ()
13765 return waddch ();
13767 return 0;
13769 _ACEOF
13770 if ac_fn_c_try_link "$LINENO"; then :
13771 case "$LIBEXT" in
13772 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13773 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'` ;;
13774 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13775 if ${ac_cv_lib_soname_curses:+false} :; then :
13776 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13777 fi ;;
13778 esac
13779 else
13780 ac_cv_lib_soname_curses=
13782 rm -f core conftest.err conftest.$ac_objext \
13783 conftest$ac_exeext conftest.$ac_ext
13784 LIBS=$ac_check_soname_save_LIBS
13786 if ${ac_cv_lib_soname_curses:+false} :; then :
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13788 $as_echo "not found" >&6; }
13790 else
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13792 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13794 cat >>confdefs.h <<_ACEOF
13795 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13796 _ACEOF
13798 CURSES_LIBS="-lcurses"
13801 ac_save_LIBS="$LIBS"
13802 LIBS="$LIBS $CURSES_LIBS"
13803 for ac_func in mousemask
13804 do :
13805 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13806 if test "x$ac_cv_func_mousemask" = xyes; then :
13807 cat >>confdefs.h <<_ACEOF
13808 #define HAVE_MOUSEMASK 1
13809 _ACEOF
13812 done
13814 LIBS="$ac_save_LIBS"
13815 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13816 case "x$with_curses" in
13817 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13818 xno) ;;
13819 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13820 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13821 esac
13825 if test "x$with_sane" != "xno"
13826 then
13827 if ${SANE_CFLAGS:+false} :; then :
13828 if ${PKG_CONFIG+:} false; then :
13829 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13832 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13833 if ${SANE_LIBS:+false} :; then :
13834 if ${PKG_CONFIG+:} false; then :
13835 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13838 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13840 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13841 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13842 ac_save_CPPFLAGS=$CPPFLAGS
13843 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13844 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13845 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13847 $as_echo_n "checking for -lsane... " >&6; }
13848 if ${ac_cv_lib_soname_sane+:} false; then :
13849 $as_echo_n "(cached) " >&6
13850 else
13851 ac_check_soname_save_LIBS=$LIBS
13852 LIBS="-lsane $SANE_LIBS $LIBS"
13853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13854 /* end confdefs.h. */
13856 /* Override any GCC internal prototype to avoid an error.
13857 Use char because int might match the return type of a GCC
13858 builtin and then its argument prototype would still apply. */
13859 #ifdef __cplusplus
13860 extern "C"
13861 #endif
13862 char sane_init ();
13864 main ()
13866 return sane_init ();
13868 return 0;
13870 _ACEOF
13871 if ac_fn_c_try_link "$LINENO"; then :
13872 case "$LIBEXT" in
13873 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13874 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'` ;;
13875 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13876 if ${ac_cv_lib_soname_sane:+false} :; then :
13877 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13878 fi ;;
13879 esac
13880 else
13881 ac_cv_lib_soname_sane=
13883 rm -f core conftest.err conftest.$ac_objext \
13884 conftest$ac_exeext conftest.$ac_ext
13885 LIBS=$ac_check_soname_save_LIBS
13887 if ${ac_cv_lib_soname_sane:+false} :; then :
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13889 $as_echo "not found" >&6; }
13890 SANE_CFLAGS=""
13891 else
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13893 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13895 cat >>confdefs.h <<_ACEOF
13896 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13897 _ACEOF
13901 else
13902 SANE_CFLAGS=""
13906 CPPFLAGS=$ac_save_CPPFLAGS
13907 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13908 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13911 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13912 case "x$with_sane" in
13913 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13914 xno) ;;
13915 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13916 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13917 esac
13921 if test "x$with_v4l2" != "xno"
13922 then
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13924 $as_echo_n "checking for -lv4l2... " >&6; }
13925 if ${ac_cv_lib_soname_v4l2+:} false; then :
13926 $as_echo_n "(cached) " >&6
13927 else
13928 ac_check_soname_save_LIBS=$LIBS
13929 LIBS="-lv4l2 $LIBS"
13930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13931 /* end confdefs.h. */
13933 /* Override any GCC internal prototype to avoid an error.
13934 Use char because int might match the return type of a GCC
13935 builtin and then its argument prototype would still apply. */
13936 #ifdef __cplusplus
13937 extern "C"
13938 #endif
13939 char v4l2_open ();
13941 main ()
13943 return v4l2_open ();
13945 return 0;
13947 _ACEOF
13948 if ac_fn_c_try_link "$LINENO"; then :
13949 case "$LIBEXT" in
13950 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13951 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'` ;;
13952 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13953 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13954 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13955 fi ;;
13956 esac
13957 else
13958 ac_cv_lib_soname_v4l2=
13960 rm -f core conftest.err conftest.$ac_objext \
13961 conftest$ac_exeext conftest.$ac_ext
13962 LIBS=$ac_check_soname_save_LIBS
13964 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13966 $as_echo "not found" >&6; }
13968 else
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13970 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13972 cat >>confdefs.h <<_ACEOF
13973 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13974 _ACEOF
13979 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13980 case "x$with_v4l2" in
13981 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13982 xno) ;;
13983 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13984 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13985 esac
13989 if test "x$with_gphoto" != "xno"
13990 then
13991 if ${GPHOTO2_CFLAGS:+false} :; then :
13992 if ${PKG_CONFIG+:} false; then :
13993 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13996 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13997 if ${GPHOTO2_LIBS:+false} :; then :
13998 if ${PKG_CONFIG+:} false; then :
13999 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14002 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14003 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14004 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14005 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14006 ac_save_CPPFLAGS=$CPPFLAGS
14007 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14008 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14009 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14011 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14012 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14013 $as_echo_n "(cached) " >&6
14014 else
14015 ac_check_lib_save_LIBS=$LIBS
14016 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14018 /* end confdefs.h. */
14020 /* Override any GCC internal prototype to avoid an error.
14021 Use char because int might match the return type of a GCC
14022 builtin and then its argument prototype would still apply. */
14023 #ifdef __cplusplus
14024 extern "C"
14025 #endif
14026 char gp_camera_new ();
14028 main ()
14030 return gp_camera_new ();
14032 return 0;
14034 _ACEOF
14035 if ac_fn_c_try_link "$LINENO"; then :
14036 ac_cv_lib_gphoto2_gp_camera_new=yes
14037 else
14038 ac_cv_lib_gphoto2_gp_camera_new=no
14040 rm -f core conftest.err conftest.$ac_objext \
14041 conftest$ac_exeext conftest.$ac_ext
14042 LIBS=$ac_check_lib_save_LIBS
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14045 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14046 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14048 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14050 else
14051 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14054 else
14055 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14059 CPPFLAGS=$ac_save_CPPFLAGS
14060 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14061 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14063 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14064 if ${PKG_CONFIG+:} false; then :
14065 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14068 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14069 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14070 if ${PKG_CONFIG+:} false; then :
14071 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14074 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14075 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14076 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14077 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14078 ac_save_CPPFLAGS=$CPPFLAGS
14079 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14080 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14081 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14083 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14084 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14085 $as_echo_n "(cached) " >&6
14086 else
14087 ac_check_lib_save_LIBS=$LIBS
14088 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14090 /* end confdefs.h. */
14092 /* Override any GCC internal prototype to avoid an error.
14093 Use char because int might match the return type of a GCC
14094 builtin and then its argument prototype would still apply. */
14095 #ifdef __cplusplus
14096 extern "C"
14097 #endif
14098 char gp_port_info_list_new ();
14100 main ()
14102 return gp_port_info_list_new ();
14104 return 0;
14106 _ACEOF
14107 if ac_fn_c_try_link "$LINENO"; then :
14108 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14109 else
14110 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14112 rm -f core conftest.err conftest.$ac_objext \
14113 conftest$ac_exeext conftest.$ac_ext
14114 LIBS=$ac_check_lib_save_LIBS
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14117 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14118 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14120 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14122 else
14123 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14126 else
14127 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14131 CPPFLAGS=$ac_save_CPPFLAGS
14132 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14133 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14136 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14137 case "x$with_gphoto" in
14138 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14139 xno) ;;
14140 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14141 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14142 esac
14145 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14146 case "x$with_gphoto" in
14147 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14148 xno) ;;
14149 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14150 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14151 esac
14156 if test "$ac_cv_header_resolv_h" = "yes"
14157 then
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14159 $as_echo_n "checking for resolver library... " >&6; }
14160 if ${ac_cv_have_resolv+:} false; then :
14161 $as_echo_n "(cached) " >&6
14162 else
14163 ac_save_LIBS="$LIBS"
14164 for lib in '' -lresolv
14166 LIBS="$lib $ac_save_LIBS"
14167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14168 /* end confdefs.h. */
14169 #ifdef HAVE_NETINET_IN_H
14170 #include <netinet/in.h>
14171 #endif
14172 #include <resolv.h>
14174 main ()
14176 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14178 return 0;
14180 _ACEOF
14181 if ac_fn_c_try_link "$LINENO"; then :
14182 ac_cv_have_resolv=${lib:-"none required"}
14183 else
14184 ac_cv_have_resolv="not found"
14186 rm -f core conftest.err conftest.$ac_objext \
14187 conftest$ac_exeext conftest.$ac_ext
14188 test "x$ac_cv_have_resolv" = "xnot found" || break
14189 done
14190 LIBS="$ac_save_LIBS"
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14193 $as_echo "$ac_cv_have_resolv" >&6; }
14195 case "$ac_cv_have_resolv" in
14196 "not found") ;;
14197 "none required")
14199 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14202 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14204 RESOLV_LIBS=$ac_cv_have_resolv
14206 esac
14209 if test "x$with_cms" != "xno"
14210 then
14211 if ${LCMS2_CFLAGS:+false} :; then :
14212 if ${PKG_CONFIG+:} false; then :
14213 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14217 if ${LCMS2_LIBS:+false} :; then :
14218 if ${PKG_CONFIG+:} false; then :
14219 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14223 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14224 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14225 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14226 ac_save_CPPFLAGS=$CPPFLAGS
14227 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14228 for ac_header in lcms2.h
14229 do :
14230 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14231 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14232 cat >>confdefs.h <<_ACEOF
14233 #define HAVE_LCMS2_H 1
14234 _ACEOF
14238 done
14240 if test "$ac_cv_header_lcms2_h" = "yes"
14241 then
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14243 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14244 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14245 $as_echo_n "(cached) " >&6
14246 else
14247 ac_check_lib_save_LIBS=$LIBS
14248 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14250 /* end confdefs.h. */
14252 /* Override any GCC internal prototype to avoid an error.
14253 Use char because int might match the return type of a GCC
14254 builtin and then its argument prototype would still apply. */
14255 #ifdef __cplusplus
14256 extern "C"
14257 #endif
14258 char cmsOpenProfileFromFile ();
14260 main ()
14262 return cmsOpenProfileFromFile ();
14264 return 0;
14266 _ACEOF
14267 if ac_fn_c_try_link "$LINENO"; then :
14268 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14269 else
14270 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14272 rm -f core conftest.err conftest.$ac_objext \
14273 conftest$ac_exeext conftest.$ac_ext
14274 LIBS=$ac_check_lib_save_LIBS
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14277 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14278 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14280 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14282 else
14283 LCMS2_LIBS=""
14286 else
14287 LCMS2_CFLAGS=""
14288 LCMS2_LIBS=""
14290 CPPFLAGS=$ac_save_CPPFLAGS
14291 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14292 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14295 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14296 case "x$with_cms" in
14297 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14298 xno) ;;
14299 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14300 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14301 esac
14305 if test "x$with_freetype" != "xno"
14306 then
14307 if ${FREETYPE_CFLAGS:+false} :; then :
14308 if ${PKG_CONFIG+:} false; then :
14309 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14312 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14313 if ${FREETYPE_LIBS:+false} :; then :
14314 if ${PKG_CONFIG+:} false; then :
14315 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14318 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14319 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14320 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14321 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14322 ac_save_CPPFLAGS=$CPPFLAGS
14323 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14324 for ac_header in ft2build.h
14325 do :
14326 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14327 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14328 cat >>confdefs.h <<_ACEOF
14329 #define HAVE_FT2BUILD_H 1
14330 _ACEOF
14334 done
14336 if test "$ac_cv_header_ft2build_h" = "yes"
14337 then
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14339 $as_echo_n "checking for -lfreetype... " >&6; }
14340 if ${ac_cv_lib_soname_freetype+:} false; then :
14341 $as_echo_n "(cached) " >&6
14342 else
14343 ac_check_soname_save_LIBS=$LIBS
14344 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14346 /* end confdefs.h. */
14348 /* Override any GCC internal prototype to avoid an error.
14349 Use char because int might match the return type of a GCC
14350 builtin and then its argument prototype would still apply. */
14351 #ifdef __cplusplus
14352 extern "C"
14353 #endif
14354 char FT_Init_FreeType ();
14356 main ()
14358 return FT_Init_FreeType ();
14360 return 0;
14362 _ACEOF
14363 if ac_fn_c_try_link "$LINENO"; then :
14364 case "$LIBEXT" in
14365 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14366 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'` ;;
14367 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14368 if ${ac_cv_lib_soname_freetype:+false} :; then :
14369 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14370 fi ;;
14371 esac
14372 else
14373 ac_cv_lib_soname_freetype=
14375 rm -f core conftest.err conftest.$ac_objext \
14376 conftest$ac_exeext conftest.$ac_ext
14377 LIBS=$ac_check_soname_save_LIBS
14379 if ${ac_cv_lib_soname_freetype:+false} :; then :
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14381 $as_echo "not found" >&6; }
14382 FREETYPE_LIBS=""
14383 else
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14385 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14387 cat >>confdefs.h <<_ACEOF
14388 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14389 _ACEOF
14392 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14394 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14395 #include FT_MODULE_H
14397 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14399 cat >>confdefs.h <<_ACEOF
14400 #define HAVE_FT_TRUETYPEENGINETYPE 1
14401 _ACEOF
14407 else
14408 FREETYPE_CFLAGS=""
14409 FREETYPE_LIBS=""
14411 CPPFLAGS=$ac_save_CPPFLAGS
14412 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14413 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14416 if test "x$ac_cv_lib_soname_freetype" = x; then :
14417 case "x$with_freetype" in
14418 xno) ;;
14419 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14420 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14421 esac
14422 enable_fonts=${enable_fonts:-no}
14425 ac_wine_check_funcs_save_LIBS="$LIBS"
14426 LIBS="$LIBS $PTHREAD_LIBS"
14427 for ac_func in \
14428 pthread_getthreadid_np
14429 do :
14430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14432 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14433 cat >>confdefs.h <<_ACEOF
14434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14435 _ACEOF
14438 done
14440 LIBS="$ac_wine_check_funcs_save_LIBS"
14442 if test "x$with_zlib" != "xno"
14443 then
14444 if ${Z_CFLAGS:+false} :; then :
14445 if ${PKG_CONFIG+:} false; then :
14446 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14450 if ${Z_LIBS:+false} :; then :
14451 if ${PKG_CONFIG+:} false; then :
14452 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14456 Z_LIBS=${Z_LIBS:-"-lz"}
14457 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14458 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14459 ac_save_CPPFLAGS=$CPPFLAGS
14460 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14461 for ac_header in zlib.h
14462 do :
14463 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14464 if test "x$ac_cv_header_zlib_h" = xyes; then :
14465 cat >>confdefs.h <<_ACEOF
14466 #define HAVE_ZLIB_H 1
14467 _ACEOF
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14469 $as_echo_n "checking for inflate in -lz... " >&6; }
14470 if ${ac_cv_lib_z_inflate+:} false; then :
14471 $as_echo_n "(cached) " >&6
14472 else
14473 ac_check_lib_save_LIBS=$LIBS
14474 LIBS="-lz $Z_LIBS $LIBS"
14475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14476 /* end confdefs.h. */
14478 /* Override any GCC internal prototype to avoid an error.
14479 Use char because int might match the return type of a GCC
14480 builtin and then its argument prototype would still apply. */
14481 #ifdef __cplusplus
14482 extern "C"
14483 #endif
14484 char inflate ();
14486 main ()
14488 return inflate ();
14490 return 0;
14492 _ACEOF
14493 if ac_fn_c_try_link "$LINENO"; then :
14494 ac_cv_lib_z_inflate=yes
14495 else
14496 ac_cv_lib_z_inflate=no
14498 rm -f core conftest.err conftest.$ac_objext \
14499 conftest$ac_exeext conftest.$ac_ext
14500 LIBS=$ac_check_lib_save_LIBS
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14503 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14504 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14506 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14508 else
14509 Z_LIBS=""
14512 else
14513 Z_LIBS=""
14516 done
14518 CPPFLAGS=$ac_save_CPPFLAGS
14519 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14520 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14523 if test "x$Z_LIBS" = "x"; then :
14524 case "x$with_zlib" in
14525 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14526 xno) ;;
14527 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14528 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14529 esac
14533 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14534 then
14535 if test "$ac_cv_header_gettext_po_h" = "yes"
14536 then
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14538 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14539 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14540 $as_echo_n "(cached) " >&6
14541 else
14542 ac_check_lib_save_LIBS=$LIBS
14543 LIBS="-lgettextpo $LIBS"
14544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14547 /* Override any GCC internal prototype to avoid an error.
14548 Use char because int might match the return type of a GCC
14549 builtin and then its argument prototype would still apply. */
14550 #ifdef __cplusplus
14551 extern "C"
14552 #endif
14553 char po_message_msgctxt ();
14555 main ()
14557 return po_message_msgctxt ();
14559 return 0;
14561 _ACEOF
14562 if ac_fn_c_try_link "$LINENO"; then :
14563 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14564 else
14565 ac_cv_lib_gettextpo_po_message_msgctxt=no
14567 rm -f core conftest.err conftest.$ac_objext \
14568 conftest$ac_exeext conftest.$ac_ext
14569 LIBS=$ac_check_lib_save_LIBS
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14572 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14573 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14575 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14577 GETTEXTPO_LIBS="-lgettextpo"
14582 if test "x$GETTEXTPO_LIBS" = "x"; then :
14583 case "x$with_gettextpo" in
14584 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14585 xno) ;;
14586 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14587 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14588 esac
14591 if test "$srcdir" != .; then :
14592 case "x$with_gettextpo" in
14593 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14594 xno) ;;
14595 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14596 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14597 esac
14602 if test "x$with_pulse" != "xno";
14603 then
14604 if ${PULSE_CFLAGS:+false} :; then :
14605 if ${PKG_CONFIG+:} false; then :
14606 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14610 if ${PULSE_LIBS:+false} :; then :
14611 if ${PKG_CONFIG+:} false; then :
14612 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14617 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14618 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14619 ac_save_CPPFLAGS=$CPPFLAGS
14620 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14621 for ac_header in pulse/pulseaudio.h
14622 do :
14623 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14624 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14625 cat >>confdefs.h <<_ACEOF
14626 #define HAVE_PULSE_PULSEAUDIO_H 1
14627 _ACEOF
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14629 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14630 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14631 $as_echo_n "(cached) " >&6
14632 else
14633 ac_check_lib_save_LIBS=$LIBS
14634 LIBS="-lpulse $PULSE_LIBS $LIBS"
14635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14638 /* Override any GCC internal prototype to avoid an error.
14639 Use char because int might match the return type of a GCC
14640 builtin and then its argument prototype would still apply. */
14641 #ifdef __cplusplus
14642 extern "C"
14643 #endif
14644 char pa_stream_is_corked ();
14646 main ()
14648 return pa_stream_is_corked ();
14650 return 0;
14652 _ACEOF
14653 if ac_fn_c_try_link "$LINENO"; then :
14654 ac_cv_lib_pulse_pa_stream_is_corked=yes
14655 else
14656 ac_cv_lib_pulse_pa_stream_is_corked=no
14658 rm -f core conftest.err conftest.$ac_objext \
14659 conftest$ac_exeext conftest.$ac_ext
14660 LIBS=$ac_check_lib_save_LIBS
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14663 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14664 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14666 else
14667 PULSE_LIBS=""
14670 else
14671 PULSE_LIBS=""
14674 done
14676 CPPFLAGS=$ac_save_CPPFLAGS
14677 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14678 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14681 if test -z "$PULSE_LIBS"; then :
14682 case "x$with_pulse" in
14683 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14684 xno) ;;
14685 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14686 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14687 esac
14688 enable_winepulse_drv=${enable_winepulse_drv:-no}
14691 if test "x$with_gstreamer" != "xno"
14692 then
14693 if ${GSTREAMER_CFLAGS:+false} :; then :
14694 if ${PKG_CONFIG+:} false; then :
14695 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14699 if ${GSTREAMER_LIBS:+false} :; then :
14700 if ${PKG_CONFIG+:} false; then :
14701 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14706 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14707 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14708 ac_save_CPPFLAGS=$CPPFLAGS
14709 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14710 ac_gst_incl=""
14711 for i in $GSTREAMER_CFLAGS
14713 case "$i" in
14714 -I*) ac_gst_incl="$ac_gst_incl $i";;
14715 esac
14716 done
14717 GSTREAMER_CFLAGS=$ac_gst_incl
14718 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14719 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14720 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14722 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14724 /* end confdefs.h. */
14725 #include <gst/gst.h>
14727 main ()
14729 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14731 return 0;
14733 _ACEOF
14734 if ac_fn_c_try_compile "$LINENO"; then :
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14736 $as_echo "yes" >&6; }
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14738 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14739 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14740 $as_echo_n "(cached) " >&6
14741 else
14742 ac_check_lib_save_LIBS=$LIBS
14743 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14745 /* end confdefs.h. */
14747 /* Override any GCC internal prototype to avoid an error.
14748 Use char because int might match the return type of a GCC
14749 builtin and then its argument prototype would still apply. */
14750 #ifdef __cplusplus
14751 extern "C"
14752 #endif
14753 char gst_pad_new ();
14755 main ()
14757 return gst_pad_new ();
14759 return 0;
14761 _ACEOF
14762 if ac_fn_c_try_link "$LINENO"; then :
14763 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14764 else
14765 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14767 rm -f core conftest.err conftest.$ac_objext \
14768 conftest$ac_exeext conftest.$ac_ext
14769 LIBS=$ac_check_lib_save_LIBS
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14772 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14773 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14777 else
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14779 $as_echo "no" >&6; }
14780 ac_glib2_broken=yes
14781 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14787 CPPFLAGS=$ac_save_CPPFLAGS
14788 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14789 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14792 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 :
14793 case "x$with_gstreamer" in
14794 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14795 xno) ;;
14796 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14797 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14798 esac
14801 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14803 ALSA_LIBS=""
14805 if test "x$with_alsa" != "xno"
14806 then
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14808 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14809 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14810 $as_echo_n "(cached) " >&6
14811 else
14812 ac_check_lib_save_LIBS=$LIBS
14813 LIBS="-lasound $LIBS"
14814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14817 /* Override any GCC internal prototype to avoid an error.
14818 Use char because int might match the return type of a GCC
14819 builtin and then its argument prototype would still apply. */
14820 #ifdef __cplusplus
14821 extern "C"
14822 #endif
14823 char snd_pcm_hw_params_get_access_mask ();
14825 main ()
14827 return snd_pcm_hw_params_get_access_mask ();
14829 return 0;
14831 _ACEOF
14832 if ac_fn_c_try_link "$LINENO"; then :
14833 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14834 else
14835 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14837 rm -f core conftest.err conftest.$ac_objext \
14838 conftest$ac_exeext conftest.$ac_ext
14839 LIBS=$ac_check_lib_save_LIBS
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14842 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14843 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14845 /* end confdefs.h. */
14846 #include <alsa/asoundlib.h>
14848 main ()
14850 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14852 return 0;
14854 _ACEOF
14855 if ac_fn_c_try_compile "$LINENO"; then :
14856 ALSA_LIBS="-lasound"
14858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14862 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14864 if test "x$with_oss" != xno
14865 then
14866 ac_save_CPPFLAGS="$CPPFLAGS"
14867 if test -f /etc/oss.conf
14868 then
14869 . /etc/oss.conf
14871 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14872 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14873 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14874 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14875 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14877 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14879 cat >>confdefs.h <<_ACEOF
14880 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14881 _ACEOF
14883 OSS4_CFLAGS="$ac_oss_incl"
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14886 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14887 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14888 $as_echo_n "(cached) " >&6
14889 else
14890 ac_check_lib_save_LIBS=$LIBS
14891 LIBS="-lossaudio $LIBS"
14892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14893 /* end confdefs.h. */
14895 /* Override any GCC internal prototype to avoid an error.
14896 Use char because int might match the return type of a GCC
14897 builtin and then its argument prototype would still apply. */
14898 #ifdef __cplusplus
14899 extern "C"
14900 #endif
14901 char _oss_ioctl ();
14903 main ()
14905 return _oss_ioctl ();
14907 return 0;
14909 _ACEOF
14910 if ac_fn_c_try_link "$LINENO"; then :
14911 ac_cv_lib_ossaudio__oss_ioctl=yes
14912 else
14913 ac_cv_lib_ossaudio__oss_ioctl=no
14915 rm -f core conftest.err conftest.$ac_objext \
14916 conftest$ac_exeext conftest.$ac_ext
14917 LIBS=$ac_check_lib_save_LIBS
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14920 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14921 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14922 OSS4_LIBS="-lossaudio"
14931 CPPFLAGS="$ac_save_CPPFLAGS"
14933 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14934 case "x$with_oss" in
14935 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14936 xno) ;;
14937 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14938 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14939 esac
14940 enable_wineoss_drv=${enable_wineoss_drv:-no}
14943 if test "x$with_udev" != "xno"
14944 then
14945 if ${UDEV_CFLAGS:+false} :; then :
14946 if ${PKG_CONFIG+:} false; then :
14947 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14951 if ${UDEV_LIBS:+false} :; then :
14952 if ${PKG_CONFIG+:} false; then :
14953 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14957 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14958 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14959 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14960 ac_save_CPPFLAGS=$CPPFLAGS
14961 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14962 for ac_header in libudev.h
14963 do :
14964 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14965 if test "x$ac_cv_header_libudev_h" = xyes; then :
14966 cat >>confdefs.h <<_ACEOF
14967 #define HAVE_LIBUDEV_H 1
14968 _ACEOF
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14970 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14971 if ${ac_cv_lib_udev_udev_new+:} false; then :
14972 $as_echo_n "(cached) " >&6
14973 else
14974 ac_check_lib_save_LIBS=$LIBS
14975 LIBS="-ludev $UDEV_LIBS $LIBS"
14976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14979 /* Override any GCC internal prototype to avoid an error.
14980 Use char because int might match the return type of a GCC
14981 builtin and then its argument prototype would still apply. */
14982 #ifdef __cplusplus
14983 extern "C"
14984 #endif
14985 char udev_new ();
14987 main ()
14989 return udev_new ();
14991 return 0;
14993 _ACEOF
14994 if ac_fn_c_try_link "$LINENO"; then :
14995 ac_cv_lib_udev_udev_new=yes
14996 else
14997 ac_cv_lib_udev_udev_new=no
14999 rm -f core conftest.err conftest.$ac_objext \
15000 conftest$ac_exeext conftest.$ac_ext
15001 LIBS=$ac_check_lib_save_LIBS
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15004 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15005 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15007 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15009 else
15010 UDEV_LIBS=""
15013 else
15014 UDEV_LIBS=""
15017 done
15019 CPPFLAGS=$ac_save_CPPFLAGS
15020 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15021 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15024 if test "x$UDEV_LIBS" = "x"; then :
15025 case "x$with_udev" in
15026 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15027 xno) ;;
15028 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15029 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15030 esac
15034 if test "x$with_unwind" != xno
15035 then
15036 if ${UNWIND_CFLAGS:+false} :; then :
15037 if ${PKG_CONFIG+:} false; then :
15038 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15042 if ${UNWIND_LIBS:+false} :; then :
15043 if ${PKG_CONFIG+:} false; then :
15044 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15048 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15049 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15050 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15051 ac_save_CPPFLAGS=$CPPFLAGS
15052 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15054 $as_echo_n "checking for unw_step... " >&6; }
15055 if ${wine_cv_have_unw_step+:} false; then :
15056 $as_echo_n "(cached) " >&6
15057 else
15058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15060 #define UNW_LOCAL_ONLY
15061 #include <libunwind.h>
15063 main ()
15065 unw_cursor_t cursor; unw_step( &cursor );
15067 return 0;
15069 _ACEOF
15070 if ac_fn_c_try_link "$LINENO"; then :
15071 wine_cv_have_unw_step="yes"
15072 else
15073 wine_cv_have_unw_step="no"
15075 rm -f core conftest.err conftest.$ac_objext \
15076 conftest$ac_exeext conftest.$ac_ext
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15079 $as_echo "$wine_cv_have_unw_step" >&6; }
15080 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15081 then
15082 save_libs=$LIBS
15083 LIBS="$UNWIND_LIBS $LIBS"
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15085 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15086 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15087 $as_echo_n "(cached) " >&6
15088 else
15089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15090 /* end confdefs.h. */
15091 #define UNW_LOCAL_ONLY
15092 #include <libunwind.h>
15094 main ()
15096 unw_cursor_t cursor; unw_step( &cursor );
15098 return 0;
15100 _ACEOF
15101 if ac_fn_c_try_link "$LINENO"; then :
15102 wine_cv_have_libunwind_unw_step="yes"
15103 else
15104 wine_cv_have_libunwind_unw_step="no"
15106 rm -f core conftest.err conftest.$ac_objext \
15107 conftest$ac_exeext conftest.$ac_ext
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15110 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15111 LIBS=$save_libs
15113 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15114 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15115 then
15117 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15120 CPPFLAGS=$ac_save_CPPFLAGS
15121 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15122 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15125 case $host in
15126 aarch64*|*-darwin*)
15127 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15128 case "x$with_unwind" in
15129 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15130 xno) ;;
15131 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15132 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15133 esac
15135 fi ;;
15136 esac
15138 if test "x$with_sdl" != "xno"
15139 then
15140 if ${SDL2_CFLAGS:+false} :; then :
15141 if ${PKG_CONFIG+:} false; then :
15142 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15146 if ${SDL2_LIBS:+false} :; then :
15147 if ${PKG_CONFIG+:} false; then :
15148 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15152 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15153 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15154 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15155 ac_save_CPPFLAGS=$CPPFLAGS
15156 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15157 for ac_header in SDL2/SDL.h
15158 do :
15159 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15160 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15161 cat >>confdefs.h <<_ACEOF
15162 #define HAVE_SDL2_SDL_H 1
15163 _ACEOF
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15165 $as_echo_n "checking for -lSDL2... " >&6; }
15166 if ${ac_cv_lib_soname_SDL2+:} false; then :
15167 $as_echo_n "(cached) " >&6
15168 else
15169 ac_check_soname_save_LIBS=$LIBS
15170 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15172 /* end confdefs.h. */
15174 /* Override any GCC internal prototype to avoid an error.
15175 Use char because int might match the return type of a GCC
15176 builtin and then its argument prototype would still apply. */
15177 #ifdef __cplusplus
15178 extern "C"
15179 #endif
15180 char SDL_Init ();
15182 main ()
15184 return SDL_Init ();
15186 return 0;
15188 _ACEOF
15189 if ac_fn_c_try_link "$LINENO"; then :
15190 case "$LIBEXT" in
15191 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15192 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'` ;;
15193 *) 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'`
15194 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15195 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15196 fi ;;
15197 esac
15198 else
15199 ac_cv_lib_soname_SDL2=
15201 rm -f core conftest.err conftest.$ac_objext \
15202 conftest$ac_exeext conftest.$ac_ext
15203 LIBS=$ac_check_soname_save_LIBS
15205 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15207 $as_echo "not found" >&6; }
15209 else
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15211 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15213 cat >>confdefs.h <<_ACEOF
15214 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15215 _ACEOF
15221 done
15223 CPPFLAGS=$ac_save_CPPFLAGS
15224 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15225 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15228 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15229 case "x$with_sdl" in
15230 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15231 xno) ;;
15232 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15233 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15234 esac
15238 if test "x$with_faudio" != "xno"
15239 then
15240 if ${FAUDIO_CFLAGS:+false} :; then :
15241 if ${PKG_CONFIG+:} false; then :
15242 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15246 if ${FAUDIO_LIBS:+false} :; then :
15247 if ${PKG_CONFIG+:} false; then :
15248 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15252 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15253 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15254 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15255 ac_save_CPPFLAGS=$CPPFLAGS
15256 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15257 for ac_header in FAudio.h
15258 do :
15259 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15260 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15261 cat >>confdefs.h <<_ACEOF
15262 #define HAVE_FAUDIO_H 1
15263 _ACEOF
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15265 $as_echo_n "checking for -lFAudio... " >&6; }
15266 if ${ac_cv_lib_soname_FAudio+:} false; then :
15267 $as_echo_n "(cached) " >&6
15268 else
15269 ac_check_soname_save_LIBS=$LIBS
15270 LIBS="-lFAudio $FAUDIO_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 FAudioCreate ();
15282 main ()
15284 return FAudioCreate ();
15286 return 0;
15288 _ACEOF
15289 if ac_fn_c_try_link "$LINENO"; then :
15290 case "$LIBEXT" in
15291 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15292 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'` ;;
15293 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15294 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15295 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15296 fi ;;
15297 esac
15298 else
15299 ac_cv_lib_soname_FAudio=
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_FAudio:+false} :; then :
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15307 $as_echo "not found" >&6; }
15309 else
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15311 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15313 cat >>confdefs.h <<_ACEOF
15314 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15315 _ACEOF
15321 done
15323 ac_wine_check_funcs_save_LIBS="$LIBS"
15324 LIBS="$LIBS $FAUDIO_LIBS"
15325 for ac_func in FAudio_CommitOperationSet \
15326 F3DAudioInitialize8 \
15327 FAudioLinkedVersion
15328 do :
15329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15331 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15332 cat >>confdefs.h <<_ACEOF
15333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15334 _ACEOF
15337 done
15339 LIBS="$ac_wine_check_funcs_save_LIBS"
15341 CPPFLAGS=$ac_save_CPPFLAGS
15342 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15343 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15346 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15347 case "x$with_faudio" in
15348 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15349 xno) ;;
15350 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15351 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15352 esac
15356 if test "x$with_capi" != "xno"
15357 then
15358 if ${CAPI20_CFLAGS:+false} :; then :
15359 if ${PKG_CONFIG+:} false; then :
15360 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15364 if ${CAPI20_LIBS:+false} :; then :
15365 if ${PKG_CONFIG+:} false; then :
15366 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15371 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15372 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15373 ac_save_CPPFLAGS=$CPPFLAGS
15374 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15375 for ac_header in capi20.h linux/capi.h
15376 do :
15377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15378 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15380 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15381 cat >>confdefs.h <<_ACEOF
15382 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15383 _ACEOF
15387 done
15389 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15390 then
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15392 $as_echo_n "checking for -lcapi20... " >&6; }
15393 if ${ac_cv_lib_soname_capi20+:} false; then :
15394 $as_echo_n "(cached) " >&6
15395 else
15396 ac_check_soname_save_LIBS=$LIBS
15397 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15399 /* end confdefs.h. */
15401 /* Override any GCC internal prototype to avoid an error.
15402 Use char because int might match the return type of a GCC
15403 builtin and then its argument prototype would still apply. */
15404 #ifdef __cplusplus
15405 extern "C"
15406 #endif
15407 char capi20_register ();
15409 main ()
15411 return capi20_register ();
15413 return 0;
15415 _ACEOF
15416 if ac_fn_c_try_link "$LINENO"; then :
15417 case "$LIBEXT" in
15418 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15419 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'` ;;
15420 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15421 if ${ac_cv_lib_soname_capi20:+false} :; then :
15422 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15423 fi ;;
15424 esac
15425 else
15426 ac_cv_lib_soname_capi20=
15428 rm -f core conftest.err conftest.$ac_objext \
15429 conftest$ac_exeext conftest.$ac_ext
15430 LIBS=$ac_check_soname_save_LIBS
15432 if ${ac_cv_lib_soname_capi20:+false} :; then :
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15434 $as_echo "not found" >&6; }
15436 else
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15438 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15440 cat >>confdefs.h <<_ACEOF
15441 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15442 _ACEOF
15447 CPPFLAGS=$ac_save_CPPFLAGS
15448 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15449 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15452 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15453 case "x$with_capi" in
15454 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15455 xno) ;;
15456 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15457 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15458 esac
15462 if test "x$with_cups" != "xno"
15463 then
15464 if ${CUPS_CFLAGS:+false} :; then :
15465 if ${PKG_CONFIG+:} false; then :
15466 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15469 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15470 if ${CUPS_LIBS:+false} :; then :
15471 if ${PKG_CONFIG+:} false; then :
15472 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15475 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15476 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15477 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15478 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15479 ac_save_CPPFLAGS=$CPPFLAGS
15480 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15481 for ac_header in cups/cups.h cups/ppd.h
15482 do :
15483 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15484 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15485 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15486 cat >>confdefs.h <<_ACEOF
15487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15488 _ACEOF
15492 done
15494 if test "$ac_cv_header_cups_cups_h" = "yes"
15495 then
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15497 $as_echo_n "checking for -lcups... " >&6; }
15498 if ${ac_cv_lib_soname_cups+:} false; then :
15499 $as_echo_n "(cached) " >&6
15500 else
15501 ac_check_soname_save_LIBS=$LIBS
15502 LIBS="-lcups $CUPS_LIBS $LIBS"
15503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15504 /* end confdefs.h. */
15506 /* Override any GCC internal prototype to avoid an error.
15507 Use char because int might match the return type of a GCC
15508 builtin and then its argument prototype would still apply. */
15509 #ifdef __cplusplus
15510 extern "C"
15511 #endif
15512 char cupsGetDefault ();
15514 main ()
15516 return cupsGetDefault ();
15518 return 0;
15520 _ACEOF
15521 if ac_fn_c_try_link "$LINENO"; then :
15522 case "$LIBEXT" in
15523 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15524 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'` ;;
15525 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15526 if ${ac_cv_lib_soname_cups:+false} :; then :
15527 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15528 fi ;;
15529 esac
15530 else
15531 ac_cv_lib_soname_cups=
15533 rm -f core conftest.err conftest.$ac_objext \
15534 conftest$ac_exeext conftest.$ac_ext
15535 LIBS=$ac_check_soname_save_LIBS
15537 if ${ac_cv_lib_soname_cups:+false} :; then :
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15539 $as_echo "not found" >&6; }
15540 CUPS_LIBS=""
15541 else
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15543 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15545 cat >>confdefs.h <<_ACEOF
15546 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15547 _ACEOF
15551 else
15552 CUPS_CFLAGS=""
15553 CUPS_LIBS=""
15555 CPPFLAGS=$ac_save_CPPFLAGS
15556 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15557 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15560 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15561 case "x$with_cups" in
15562 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15563 xno) ;;
15564 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15565 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15566 esac
15570 if test "x$with_fontconfig" != "xno"
15571 then
15572 if ${FONTCONFIG_CFLAGS:+false} :; then :
15573 if ${PKG_CONFIG+:} false; then :
15574 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15577 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15578 if ${FONTCONFIG_LIBS:+false} :; then :
15579 if ${PKG_CONFIG+:} false; then :
15580 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15583 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15585 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15586 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15587 ac_save_CPPFLAGS=$CPPFLAGS
15588 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15589 for ac_header in fontconfig/fontconfig.h
15590 do :
15591 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15592 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15593 cat >>confdefs.h <<_ACEOF
15594 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15595 _ACEOF
15599 done
15601 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15602 then
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15604 $as_echo_n "checking for -lfontconfig... " >&6; }
15605 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15606 $as_echo_n "(cached) " >&6
15607 else
15608 ac_check_soname_save_LIBS=$LIBS
15609 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15611 /* end confdefs.h. */
15613 /* Override any GCC internal prototype to avoid an error.
15614 Use char because int might match the return type of a GCC
15615 builtin and then its argument prototype would still apply. */
15616 #ifdef __cplusplus
15617 extern "C"
15618 #endif
15619 char FcInit ();
15621 main ()
15623 return FcInit ();
15625 return 0;
15627 _ACEOF
15628 if ac_fn_c_try_link "$LINENO"; then :
15629 case "$LIBEXT" in
15630 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15631 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'` ;;
15632 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15633 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15634 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15635 fi ;;
15636 esac
15637 else
15638 ac_cv_lib_soname_fontconfig=
15640 rm -f core conftest.err conftest.$ac_objext \
15641 conftest$ac_exeext conftest.$ac_ext
15642 LIBS=$ac_check_soname_save_LIBS
15644 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15646 $as_echo "not found" >&6; }
15647 FONTCONFIG_CFLAGS=""
15648 else
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15650 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15652 cat >>confdefs.h <<_ACEOF
15653 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15654 _ACEOF
15658 else
15659 FONTCONFIG_CFLAGS=""
15661 CPPFLAGS=$ac_save_CPPFLAGS
15662 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15663 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15666 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15667 case "x$with_fontconfig" in
15668 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15669 xno) ;;
15670 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15671 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15672 esac
15676 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15677 then
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15679 $as_echo_n "checking for -lgsm... " >&6; }
15680 if ${ac_cv_lib_soname_gsm+:} false; then :
15681 $as_echo_n "(cached) " >&6
15682 else
15683 ac_check_soname_save_LIBS=$LIBS
15684 LIBS="-lgsm $LIBS"
15685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15686 /* end confdefs.h. */
15688 /* Override any GCC internal prototype to avoid an error.
15689 Use char because int might match the return type of a GCC
15690 builtin and then its argument prototype would still apply. */
15691 #ifdef __cplusplus
15692 extern "C"
15693 #endif
15694 char gsm_create ();
15696 main ()
15698 return gsm_create ();
15700 return 0;
15702 _ACEOF
15703 if ac_fn_c_try_link "$LINENO"; then :
15704 case "$LIBEXT" in
15705 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15706 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'` ;;
15707 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15708 if ${ac_cv_lib_soname_gsm:+false} :; then :
15709 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15710 fi ;;
15711 esac
15712 else
15713 ac_cv_lib_soname_gsm=
15715 rm -f core conftest.err conftest.$ac_objext \
15716 conftest$ac_exeext conftest.$ac_ext
15717 LIBS=$ac_check_soname_save_LIBS
15719 if ${ac_cv_lib_soname_gsm:+false} :; then :
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15721 $as_echo "not found" >&6; }
15723 else
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15725 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15727 cat >>confdefs.h <<_ACEOF
15728 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15729 _ACEOF
15734 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15735 case "x$with_gsm" in
15736 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15737 xno) ;;
15738 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15739 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15740 esac
15744 if test "x$with_krb5" != "xno"
15745 then
15746 if ${KRB5_CFLAGS:+false} :; then :
15747 if ${PKG_CONFIG+:} false; then :
15748 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15751 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15752 if ${KRB5_LIBS:+false} :; then :
15753 if ${PKG_CONFIG+:} false; then :
15754 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15757 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15759 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15760 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15761 ac_save_CPPFLAGS=$CPPFLAGS
15762 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15763 for ac_header in krb5/krb5.h
15764 do :
15765 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15766 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15767 cat >>confdefs.h <<_ACEOF
15768 #define HAVE_KRB5_KRB5_H 1
15769 _ACEOF
15773 done
15775 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15776 then
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15778 $as_echo_n "checking for -lkrb5... " >&6; }
15779 if ${ac_cv_lib_soname_krb5+:} false; then :
15780 $as_echo_n "(cached) " >&6
15781 else
15782 ac_check_soname_save_LIBS=$LIBS
15783 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15785 /* end confdefs.h. */
15787 /* Override any GCC internal prototype to avoid an error.
15788 Use char because int might match the return type of a GCC
15789 builtin and then its argument prototype would still apply. */
15790 #ifdef __cplusplus
15791 extern "C"
15792 #endif
15793 char krb5_is_config_principal ();
15795 main ()
15797 return krb5_is_config_principal ();
15799 return 0;
15801 _ACEOF
15802 if ac_fn_c_try_link "$LINENO"; then :
15803 case "$LIBEXT" in
15804 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15805 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'` ;;
15806 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15807 if ${ac_cv_lib_soname_krb5:+false} :; then :
15808 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15809 fi ;;
15810 esac
15811 else
15812 ac_cv_lib_soname_krb5=
15814 rm -f core conftest.err conftest.$ac_objext \
15815 conftest$ac_exeext conftest.$ac_ext
15816 LIBS=$ac_check_soname_save_LIBS
15818 if ${ac_cv_lib_soname_krb5:+false} :; then :
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15820 $as_echo "not found" >&6; }
15821 KRB5_CFLAGS=""
15822 else
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15824 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15826 cat >>confdefs.h <<_ACEOF
15827 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15828 _ACEOF
15832 else
15833 KRB5_CFLAGS=""
15835 CPPFLAGS=$ac_save_CPPFLAGS
15836 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15837 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15840 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15841 case "x$with_krb5" in
15842 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15843 xno) ;;
15844 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15845 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15846 esac
15849 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15851 if test "x$with_gssapi" != "xno"
15852 then
15853 if ${GSSAPI_CFLAGS:+false} :; then :
15854 if ${PKG_CONFIG+:} false; then :
15855 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15858 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15859 if ${GSSAPI_LIBS:+false} :; then :
15860 if ${PKG_CONFIG+:} false; then :
15861 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15864 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15866 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15867 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15868 ac_save_CPPFLAGS=$CPPFLAGS
15869 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15870 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15871 do :
15872 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15873 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15874 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15875 cat >>confdefs.h <<_ACEOF
15876 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15877 _ACEOF
15881 done
15883 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15884 then
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15886 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15887 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15888 $as_echo_n "(cached) " >&6
15889 else
15890 ac_check_soname_save_LIBS=$LIBS
15891 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15895 /* Override any GCC internal prototype to avoid an error.
15896 Use char because int might match the return type of a GCC
15897 builtin and then its argument prototype would still apply. */
15898 #ifdef __cplusplus
15899 extern "C"
15900 #endif
15901 char gss_init_sec_context ();
15903 main ()
15905 return gss_init_sec_context ();
15907 return 0;
15909 _ACEOF
15910 if ac_fn_c_try_link "$LINENO"; then :
15911 case "$LIBEXT" in
15912 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15913 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'` ;;
15914 *) 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'`
15915 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15916 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15917 fi ;;
15918 esac
15919 else
15920 ac_cv_lib_soname_gssapi_krb5=
15922 rm -f core conftest.err conftest.$ac_objext \
15923 conftest$ac_exeext conftest.$ac_ext
15924 LIBS=$ac_check_soname_save_LIBS
15926 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15928 $as_echo "not found" >&6; }
15929 GSSAPI_CFLAGS=""
15930 else
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15932 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15934 cat >>confdefs.h <<_ACEOF
15935 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15936 _ACEOF
15940 else
15941 GSSAPI_CFLAGS=""
15943 CPPFLAGS=$ac_save_CPPFLAGS
15944 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15945 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15948 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15949 case "x$with_gssapi" in
15950 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15951 xno) ;;
15952 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15953 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15954 esac
15958 if test "x$with_jpeg" != "xno"
15959 then
15960 if ${JPEG_CFLAGS:+false} :; then :
15961 if ${PKG_CONFIG+:} false; then :
15962 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15966 if ${JPEG_LIBS:+false} :; then :
15967 if ${PKG_CONFIG+:} false; then :
15968 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15973 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15974 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15975 ac_save_CPPFLAGS=$CPPFLAGS
15976 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15977 for ac_header in jpeglib.h
15978 do :
15979 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15980 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15981 cat >>confdefs.h <<_ACEOF
15982 #define HAVE_JPEGLIB_H 1
15983 _ACEOF
15987 done
15989 if test "$ac_cv_header_jpeglib_h" = "yes"
15990 then
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15992 $as_echo_n "checking for -ljpeg... " >&6; }
15993 if ${ac_cv_lib_soname_jpeg+:} false; then :
15994 $as_echo_n "(cached) " >&6
15995 else
15996 ac_check_soname_save_LIBS=$LIBS
15997 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15999 /* end confdefs.h. */
16001 /* Override any GCC internal prototype to avoid an error.
16002 Use char because int might match the return type of a GCC
16003 builtin and then its argument prototype would still apply. */
16004 #ifdef __cplusplus
16005 extern "C"
16006 #endif
16007 char jpeg_start_decompress ();
16009 main ()
16011 return jpeg_start_decompress ();
16013 return 0;
16015 _ACEOF
16016 if ac_fn_c_try_link "$LINENO"; then :
16017 case "$LIBEXT" in
16018 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16019 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'` ;;
16020 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16021 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16022 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16023 fi ;;
16024 esac
16025 else
16026 ac_cv_lib_soname_jpeg=
16028 rm -f core conftest.err conftest.$ac_objext \
16029 conftest$ac_exeext conftest.$ac_ext
16030 LIBS=$ac_check_soname_save_LIBS
16032 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16034 $as_echo "not found" >&6; }
16035 JPEG_CFLAGS=""
16036 else
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16038 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16040 cat >>confdefs.h <<_ACEOF
16041 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16042 _ACEOF
16046 else
16047 JPEG_CFLAGS=""
16049 CPPFLAGS=$ac_save_CPPFLAGS
16050 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16051 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16054 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16055 case "x$with_jpeg" in
16056 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16057 xno) ;;
16058 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16059 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16060 esac
16064 if test "x$with_png" != "xno"
16065 then
16066 if ${PNG_CFLAGS:+false} :; then :
16067 if ${PKG_CONFIG+:} false; then :
16068 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16071 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16072 if ${PNG_LIBS:+false} :; then :
16073 if ${PKG_CONFIG+:} false; then :
16074 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16077 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16079 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16080 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16081 ac_save_CPPFLAGS=$CPPFLAGS
16082 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16083 for ac_header in png.h
16084 do :
16085 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16086 if test "x$ac_cv_header_png_h" = xyes; then :
16087 cat >>confdefs.h <<_ACEOF
16088 #define HAVE_PNG_H 1
16089 _ACEOF
16093 done
16095 if test "$ac_cv_header_png_h" = "yes"
16096 then
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16098 $as_echo_n "checking for -lpng... " >&6; }
16099 if ${ac_cv_lib_soname_png+:} false; then :
16100 $as_echo_n "(cached) " >&6
16101 else
16102 ac_check_soname_save_LIBS=$LIBS
16103 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16105 /* end confdefs.h. */
16107 /* Override any GCC internal prototype to avoid an error.
16108 Use char because int might match the return type of a GCC
16109 builtin and then its argument prototype would still apply. */
16110 #ifdef __cplusplus
16111 extern "C"
16112 #endif
16113 char png_create_read_struct ();
16115 main ()
16117 return png_create_read_struct ();
16119 return 0;
16121 _ACEOF
16122 if ac_fn_c_try_link "$LINENO"; then :
16123 case "$LIBEXT" in
16124 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16125 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'` ;;
16126 *) 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'`
16127 if ${ac_cv_lib_soname_png:+false} :; then :
16128 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16129 fi ;;
16130 esac
16131 else
16132 ac_cv_lib_soname_png=
16134 rm -f core conftest.err conftest.$ac_objext \
16135 conftest$ac_exeext conftest.$ac_ext
16136 LIBS=$ac_check_soname_save_LIBS
16138 if ${ac_cv_lib_soname_png:+false} :; then :
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16140 $as_echo "not found" >&6; }
16141 PNG_CFLAGS=""
16142 else
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16144 $as_echo "$ac_cv_lib_soname_png" >&6; }
16146 cat >>confdefs.h <<_ACEOF
16147 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16148 _ACEOF
16152 else
16153 PNG_CFLAGS=""
16155 CPPFLAGS=$ac_save_CPPFLAGS
16156 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16157 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16160 if test "x$ac_cv_lib_soname_png" = "x"; then :
16161 case "x$with_png" in
16162 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16163 xno) ;;
16164 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16165 This is an error since --with-png was requested." "$LINENO" 5 ;;
16166 esac
16170 if test "x$with_tiff" != "xno"
16171 then
16172 if ${TIFF_CFLAGS:+false} :; then :
16173 if ${PKG_CONFIG+:} false; then :
16174 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16178 if ${TIFF_LIBS:+false} :; then :
16179 if ${PKG_CONFIG+:} false; then :
16180 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16185 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16186 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16187 ac_save_CPPFLAGS=$CPPFLAGS
16188 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16189 for ac_header in tiffio.h
16190 do :
16191 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16192 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16193 cat >>confdefs.h <<_ACEOF
16194 #define HAVE_TIFFIO_H 1
16195 _ACEOF
16199 done
16201 if test "$ac_cv_header_tiffio_h" = "yes"
16202 then
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16204 $as_echo_n "checking for -ltiff... " >&6; }
16205 if ${ac_cv_lib_soname_tiff+:} false; then :
16206 $as_echo_n "(cached) " >&6
16207 else
16208 ac_check_soname_save_LIBS=$LIBS
16209 LIBS="-ltiff $TIFF_LIBS $LIBS"
16210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16211 /* end confdefs.h. */
16213 /* Override any GCC internal prototype to avoid an error.
16214 Use char because int might match the return type of a GCC
16215 builtin and then its argument prototype would still apply. */
16216 #ifdef __cplusplus
16217 extern "C"
16218 #endif
16219 char TIFFClientOpen ();
16221 main ()
16223 return TIFFClientOpen ();
16225 return 0;
16227 _ACEOF
16228 if ac_fn_c_try_link "$LINENO"; then :
16229 case "$LIBEXT" in
16230 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16231 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'` ;;
16232 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16233 if ${ac_cv_lib_soname_tiff:+false} :; then :
16234 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16235 fi ;;
16236 esac
16237 else
16238 ac_cv_lib_soname_tiff=
16240 rm -f core conftest.err conftest.$ac_objext \
16241 conftest$ac_exeext conftest.$ac_ext
16242 LIBS=$ac_check_soname_save_LIBS
16244 if ${ac_cv_lib_soname_tiff:+false} :; then :
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16246 $as_echo "not found" >&6; }
16248 else
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16250 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16252 cat >>confdefs.h <<_ACEOF
16253 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16254 _ACEOF
16259 CPPFLAGS=$ac_save_CPPFLAGS
16260 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16261 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16264 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16265 case "x$with_tiff" in
16266 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16267 xno) ;;
16268 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16269 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16270 esac
16274 if test "x$with_mpg123" != "xno"
16275 then
16276 if ${MPG123_CFLAGS:+false} :; then :
16277 if ${PKG_CONFIG+:} false; then :
16278 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16282 if ${MPG123_LIBS:+false} :; then :
16283 if ${PKG_CONFIG+:} false; then :
16284 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16288 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16289 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16290 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16291 ac_save_CPPFLAGS=$CPPFLAGS
16292 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16293 for ac_header in mpg123.h
16294 do :
16295 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16296 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16297 cat >>confdefs.h <<_ACEOF
16298 #define HAVE_MPG123_H 1
16299 _ACEOF
16303 done
16305 if test "$ac_cv_header_mpg123_h" = "yes"
16306 then
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16308 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16309 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16310 $as_echo_n "(cached) " >&6
16311 else
16312 ac_check_lib_save_LIBS=$LIBS
16313 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16315 /* end confdefs.h. */
16317 /* Override any GCC internal prototype to avoid an error.
16318 Use char because int might match the return type of a GCC
16319 builtin and then its argument prototype would still apply. */
16320 #ifdef __cplusplus
16321 extern "C"
16322 #endif
16323 char mpg123_feed ();
16325 main ()
16327 return mpg123_feed ();
16329 return 0;
16331 _ACEOF
16332 if ac_fn_c_try_link "$LINENO"; then :
16333 ac_cv_lib_mpg123_mpg123_feed=yes
16334 else
16335 ac_cv_lib_mpg123_mpg123_feed=no
16337 rm -f core conftest.err conftest.$ac_objext \
16338 conftest$ac_exeext conftest.$ac_ext
16339 LIBS=$ac_check_lib_save_LIBS
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16342 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16343 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16345 else
16346 MPG123_LIBS=""
16349 else
16350 MPG123_CFLAGS=""
16351 MPG123_LIBS=""
16353 CPPFLAGS=$ac_save_CPPFLAGS
16354 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16355 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16358 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16359 case "x$with_mpg123" in
16360 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16361 xno) ;;
16362 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16363 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16364 esac
16365 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16367 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16369 if test "$ac_cv_header_AL_al_h" = "yes"
16370 then
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16372 $as_echo_n "checking for -lopenal... " >&6; }
16373 if ${ac_cv_lib_soname_openal+:} false; then :
16374 $as_echo_n "(cached) " >&6
16375 else
16376 ac_check_soname_save_LIBS=$LIBS
16377 LIBS="-lopenal $LIBS"
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16381 /* Override any GCC internal prototype to avoid an error.
16382 Use char because int might match the return type of a GCC
16383 builtin and then its argument prototype would still apply. */
16384 #ifdef __cplusplus
16385 extern "C"
16386 #endif
16387 char alGetSource3i ();
16389 main ()
16391 return alGetSource3i ();
16393 return 0;
16395 _ACEOF
16396 if ac_fn_c_try_link "$LINENO"; then :
16397 case "$LIBEXT" in
16398 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16399 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'` ;;
16400 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16401 if ${ac_cv_lib_soname_openal:+false} :; then :
16402 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16403 fi ;;
16404 esac
16405 else
16406 ac_cv_lib_soname_openal=
16408 rm -f core conftest.err conftest.$ac_objext \
16409 conftest$ac_exeext conftest.$ac_ext
16410 LIBS=$ac_check_soname_save_LIBS
16412 if ${ac_cv_lib_soname_openal:+false} :; then :
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16414 $as_echo "not found" >&6; }
16416 else
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16418 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16420 cat >>confdefs.h <<_ACEOF
16421 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16422 _ACEOF
16424 OPENAL_LIBS="-lopenal"
16426 ac_cv_lib_openal=yes
16428 cat >>confdefs.h <<_ACEOF
16429 #define HAVE_OPENAL 1
16430 _ACEOF
16434 if test "x$ac_cv_lib_openal" != xyes; then :
16435 case "x$with_openal" in
16436 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16437 xno) ;;
16438 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16439 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16440 esac
16441 enable_openal32=${enable_openal32:-no}
16444 if test "x$ac_cv_lib_soname_FAudio" = "x"
16445 then
16446 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16447 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16448 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16449 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16450 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16451 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16452 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16453 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16454 enable_xapofx1_1=${enable_xapofx1_1:-no}
16455 enable_xapofx1_2=${enable_xapofx1_2:-no}
16456 enable_xapofx1_3=${enable_xapofx1_3:-no}
16457 enable_xapofx1_4=${enable_xapofx1_4:-no}
16458 enable_xapofx1_5=${enable_xapofx1_5:-no}
16459 enable_xaudio2_0=${enable_xaudio2_0:-no}
16460 enable_xaudio2_1=${enable_xaudio2_1:-no}
16461 enable_xaudio2_2=${enable_xaudio2_2:-no}
16462 enable_xaudio2_3=${enable_xaudio2_3:-no}
16463 enable_xaudio2_4=${enable_xaudio2_4:-no}
16464 enable_xaudio2_5=${enable_xaudio2_5:-no}
16465 enable_xaudio2_6=${enable_xaudio2_6:-no}
16466 enable_xaudio2_7=${enable_xaudio2_7:-no}
16467 enable_xaudio2_8=${enable_xaudio2_8:-no}
16468 enable_xaudio2_9=${enable_xaudio2_9:-no}
16471 if test "$ac_cv_header_kstat_h" = "yes"
16472 then
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16474 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16475 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16476 $as_echo_n "(cached) " >&6
16477 else
16478 ac_check_lib_save_LIBS=$LIBS
16479 LIBS="-lkstat $LIBS"
16480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16481 /* end confdefs.h. */
16483 /* Override any GCC internal prototype to avoid an error.
16484 Use char because int might match the return type of a GCC
16485 builtin and then its argument prototype would still apply. */
16486 #ifdef __cplusplus
16487 extern "C"
16488 #endif
16489 char kstat_open ();
16491 main ()
16493 return kstat_open ();
16495 return 0;
16497 _ACEOF
16498 if ac_fn_c_try_link "$LINENO"; then :
16499 ac_cv_lib_kstat_kstat_open=yes
16500 else
16501 ac_cv_lib_kstat_kstat_open=no
16503 rm -f core conftest.err conftest.$ac_objext \
16504 conftest$ac_exeext conftest.$ac_ext
16505 LIBS=$ac_check_lib_save_LIBS
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16508 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16509 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16511 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16513 KSTAT_LIBS="-lkstat"
16519 if test "$ac_cv_header_libprocstat_h" = "yes"
16520 then
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16522 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16523 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16524 $as_echo_n "(cached) " >&6
16525 else
16526 ac_check_lib_save_LIBS=$LIBS
16527 LIBS="-lprocstat $LIBS"
16528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16529 /* end confdefs.h. */
16531 /* Override any GCC internal prototype to avoid an error.
16532 Use char because int might match the return type of a GCC
16533 builtin and then its argument prototype would still apply. */
16534 #ifdef __cplusplus
16535 extern "C"
16536 #endif
16537 char procstat_open_sysctl ();
16539 main ()
16541 return procstat_open_sysctl ();
16543 return 0;
16545 _ACEOF
16546 if ac_fn_c_try_link "$LINENO"; then :
16547 ac_cv_lib_procstat_procstat_open_sysctl=yes
16548 else
16549 ac_cv_lib_procstat_procstat_open_sysctl=no
16551 rm -f core conftest.err conftest.$ac_objext \
16552 conftest$ac_exeext conftest.$ac_ext
16553 LIBS=$ac_check_lib_save_LIBS
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16556 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16557 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16559 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16561 PROCSTAT_LIBS="-lprocstat"
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16568 $as_echo_n "checking for -lodbc... " >&6; }
16569 if ${ac_cv_lib_soname_odbc+:} false; then :
16570 $as_echo_n "(cached) " >&6
16571 else
16572 ac_check_soname_save_LIBS=$LIBS
16573 LIBS="-lodbc $LIBS"
16574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16575 /* end confdefs.h. */
16577 /* Override any GCC internal prototype to avoid an error.
16578 Use char because int might match the return type of a GCC
16579 builtin and then its argument prototype would still apply. */
16580 #ifdef __cplusplus
16581 extern "C"
16582 #endif
16583 char SQLConnect ();
16585 main ()
16587 return SQLConnect ();
16589 return 0;
16591 _ACEOF
16592 if ac_fn_c_try_link "$LINENO"; then :
16593 case "$LIBEXT" in
16594 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16595 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'` ;;
16596 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16597 if ${ac_cv_lib_soname_odbc:+false} :; then :
16598 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16599 fi ;;
16600 esac
16601 else
16602 ac_cv_lib_soname_odbc=
16604 rm -f core conftest.err conftest.$ac_objext \
16605 conftest$ac_exeext conftest.$ac_ext
16606 LIBS=$ac_check_soname_save_LIBS
16608 if ${ac_cv_lib_soname_odbc:+false} :; then :
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16610 $as_echo "not found" >&6; }
16611 cat >>confdefs.h <<_ACEOF
16612 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16613 _ACEOF
16615 else
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16617 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16619 cat >>confdefs.h <<_ACEOF
16620 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16621 _ACEOF
16626 if test "x$with_netapi" != "xno"
16627 then
16628 if ${NETAPI_CFLAGS:+false} :; then :
16629 if ${PKG_CONFIG+:} false; then :
16630 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16634 if ${NETAPI_LIBS:+false} :; then :
16635 if ${PKG_CONFIG+:} false; then :
16636 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16641 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16642 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16643 ac_save_CPPFLAGS=$CPPFLAGS
16644 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16646 $as_echo_n "checking for -lnetapi... " >&6; }
16647 if ${ac_cv_lib_soname_netapi+:} false; then :
16648 $as_echo_n "(cached) " >&6
16649 else
16650 ac_check_soname_save_LIBS=$LIBS
16651 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16655 /* Override any GCC internal prototype to avoid an error.
16656 Use char because int might match the return type of a GCC
16657 builtin and then its argument prototype would still apply. */
16658 #ifdef __cplusplus
16659 extern "C"
16660 #endif
16661 char libnetapi_init ();
16663 main ()
16665 return libnetapi_init ();
16667 return 0;
16669 _ACEOF
16670 if ac_fn_c_try_link "$LINENO"; then :
16671 case "$LIBEXT" in
16672 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16673 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'` ;;
16674 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16675 if ${ac_cv_lib_soname_netapi:+false} :; then :
16676 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16677 fi ;;
16678 esac
16679 else
16680 ac_cv_lib_soname_netapi=
16682 rm -f core conftest.err conftest.$ac_objext \
16683 conftest$ac_exeext conftest.$ac_ext
16684 LIBS=$ac_check_soname_save_LIBS
16686 if ${ac_cv_lib_soname_netapi:+false} :; then :
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16688 $as_echo "not found" >&6; }
16689 cat >>confdefs.h <<_ACEOF
16690 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16691 _ACEOF
16693 else
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16695 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16697 cat >>confdefs.h <<_ACEOF
16698 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16699 _ACEOF
16703 CPPFLAGS=$ac_save_CPPFLAGS
16704 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16705 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16709 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16710 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16711 then
16712 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16715 if test "x$with_vulkan" != "xno"
16716 then
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16718 $as_echo_n "checking for -lvulkan... " >&6; }
16719 if ${ac_cv_lib_soname_vulkan+:} false; then :
16720 $as_echo_n "(cached) " >&6
16721 else
16722 ac_check_soname_save_LIBS=$LIBS
16723 LIBS="-lvulkan $LIBS"
16724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16725 /* end confdefs.h. */
16727 /* Override any GCC internal prototype to avoid an error.
16728 Use char because int might match the return type of a GCC
16729 builtin and then its argument prototype would still apply. */
16730 #ifdef __cplusplus
16731 extern "C"
16732 #endif
16733 char vkGetInstanceProcAddr ();
16735 main ()
16737 return vkGetInstanceProcAddr ();
16739 return 0;
16741 _ACEOF
16742 if ac_fn_c_try_link "$LINENO"; then :
16743 case "$LIBEXT" in
16744 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16745 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'` ;;
16746 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16747 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16748 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16749 fi ;;
16750 esac
16751 else
16752 ac_cv_lib_soname_vulkan=
16754 rm -f core conftest.err conftest.$ac_objext \
16755 conftest$ac_exeext conftest.$ac_ext
16756 LIBS=$ac_check_soname_save_LIBS
16758 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16760 $as_echo "not found" >&6; }
16762 else
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16764 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16766 cat >>confdefs.h <<_ACEOF
16767 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16768 _ACEOF
16772 if test "x$ac_cv_lib_soname_vulkan" = "x"
16773 then
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16775 $as_echo_n "checking for -lMoltenVK... " >&6; }
16776 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16777 $as_echo_n "(cached) " >&6
16778 else
16779 ac_check_soname_save_LIBS=$LIBS
16780 LIBS="-lMoltenVK $LIBS"
16781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16782 /* end confdefs.h. */
16784 /* Override any GCC internal prototype to avoid an error.
16785 Use char because int might match the return type of a GCC
16786 builtin and then its argument prototype would still apply. */
16787 #ifdef __cplusplus
16788 extern "C"
16789 #endif
16790 char vkGetInstanceProcAddr ();
16792 main ()
16794 return vkGetInstanceProcAddr ();
16796 return 0;
16798 _ACEOF
16799 if ac_fn_c_try_link "$LINENO"; then :
16800 case "$LIBEXT" in
16801 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16802 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'` ;;
16803 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16804 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16805 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16806 fi ;;
16807 esac
16808 else
16809 ac_cv_lib_soname_MoltenVK=
16811 rm -f core conftest.err conftest.$ac_objext \
16812 conftest$ac_exeext conftest.$ac_ext
16813 LIBS=$ac_check_soname_save_LIBS
16815 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16817 $as_echo "not found" >&6; }
16819 else
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16821 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16823 cat >>confdefs.h <<_ACEOF
16824 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16825 _ACEOF
16831 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16832 case "x$with_vulkan" in
16833 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16834 xno) ;;
16835 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16836 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16837 esac
16841 if test "x$with_vkd3d" != "xno"
16842 then
16843 if ${VKD3D_CFLAGS:+false} :; then :
16844 if ${PKG_CONFIG+:} false; then :
16845 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16849 if ${VKD3D_LIBS:+false} :; then :
16850 if ${PKG_CONFIG+:} false; then :
16851 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16856 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16857 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16858 ac_save_CPPFLAGS=$CPPFLAGS
16859 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16861 $as_echo_n "checking for -lvkd3d... " >&6; }
16862 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16863 $as_echo_n "(cached) " >&6
16864 else
16865 ac_check_soname_save_LIBS=$LIBS
16866 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16868 /* end confdefs.h. */
16870 /* Override any GCC internal prototype to avoid an error.
16871 Use char because int might match the return type of a GCC
16872 builtin and then its argument prototype would still apply. */
16873 #ifdef __cplusplus
16874 extern "C"
16875 #endif
16876 char vkd3d_get_dxgi_format ();
16878 main ()
16880 return vkd3d_get_dxgi_format ();
16882 return 0;
16884 _ACEOF
16885 if ac_fn_c_try_link "$LINENO"; then :
16886 case "$LIBEXT" in
16887 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16888 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'` ;;
16889 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16890 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16891 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16892 fi ;;
16893 esac
16894 else
16895 ac_cv_lib_soname_vkd3d=
16897 rm -f core conftest.err conftest.$ac_objext \
16898 conftest$ac_exeext conftest.$ac_ext
16899 LIBS=$ac_check_soname_save_LIBS
16901 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16903 $as_echo "not found" >&6; }
16905 else
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16907 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16909 cat >>confdefs.h <<_ACEOF
16910 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16911 _ACEOF
16915 CPPFLAGS=$ac_save_CPPFLAGS
16916 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16917 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16920 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16921 case "x$with_vkd3d" in
16922 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16923 xno) ;;
16924 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16925 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16926 esac
16929 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16932 EXTRACFLAGS=""
16934 if test "x${GCC}" = "xyes"
16935 then
16936 EXTRACFLAGS="-Wall -pipe"
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16939 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16940 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16941 $as_echo_n "(cached) " >&6
16942 else
16943 ac_wine_try_cflags_saved=$CFLAGS
16944 CFLAGS="$CFLAGS -fcf-protection=none"
16945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16946 /* end confdefs.h. */
16947 int main(int argc, char **argv) { return 0; }
16948 _ACEOF
16949 if ac_fn_c_try_link "$LINENO"; then :
16950 ac_cv_cflags__fcf_protection_none=yes
16951 else
16952 ac_cv_cflags__fcf_protection_none=no
16954 rm -f core conftest.err conftest.$ac_objext \
16955 conftest$ac_exeext conftest.$ac_ext
16956 CFLAGS=$ac_wine_try_cflags_saved
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16959 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16960 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16961 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16964 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16965 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16966 $as_echo_n "(cached) " >&6
16967 else
16968 ac_wine_try_cflags_saved=$CFLAGS
16969 CFLAGS="$CFLAGS -fno-stack-protector"
16970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16971 /* end confdefs.h. */
16972 int main(int argc, char **argv) { return 0; }
16973 _ACEOF
16974 if ac_fn_c_try_link "$LINENO"; then :
16975 ac_cv_cflags__fno_stack_protector=yes
16976 else
16977 ac_cv_cflags__fno_stack_protector=no
16979 rm -f core conftest.err conftest.$ac_objext \
16980 conftest$ac_exeext conftest.$ac_ext
16981 CFLAGS=$ac_wine_try_cflags_saved
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16984 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16985 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16986 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16989 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16990 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16991 $as_echo_n "(cached) " >&6
16992 else
16993 ac_wine_try_cflags_saved=$CFLAGS
16994 CFLAGS="$CFLAGS -fno-strict-aliasing"
16995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16996 /* end confdefs.h. */
16997 int main(int argc, char **argv) { return 0; }
16998 _ACEOF
16999 if ac_fn_c_try_link "$LINENO"; then :
17000 ac_cv_cflags__fno_strict_aliasing=yes
17001 else
17002 ac_cv_cflags__fno_strict_aliasing=no
17004 rm -f core conftest.err conftest.$ac_objext \
17005 conftest$ac_exeext conftest.$ac_ext
17006 CFLAGS=$ac_wine_try_cflags_saved
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17009 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17010 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17011 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17014 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17015 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17016 $as_echo_n "(cached) " >&6
17017 else
17018 ac_wine_try_cflags_saved=$CFLAGS
17019 CFLAGS="$CFLAGS -fexcess-precision=standard"
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17022 int main(int argc, char **argv) { return 0; }
17023 _ACEOF
17024 if ac_fn_c_try_link "$LINENO"; then :
17025 ac_cv_cflags__fexcess_precision_standard=yes
17026 else
17027 ac_cv_cflags__fexcess_precision_standard=no
17029 rm -f core conftest.err conftest.$ac_objext \
17030 conftest$ac_exeext conftest.$ac_ext
17031 CFLAGS=$ac_wine_try_cflags_saved
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17034 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17035 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17036 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17039 saved_CFLAGS=$CFLAGS
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17041 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17042 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17043 $as_echo_n "(cached) " >&6
17044 else
17045 ac_wine_try_cflags_saved=$CFLAGS
17046 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17048 /* end confdefs.h. */
17049 int main(int argc, char **argv) { return 0; }
17050 _ACEOF
17051 if ac_fn_c_try_link "$LINENO"; then :
17052 ac_cv_cflags__Werror_unknown_warning_option=yes
17053 else
17054 ac_cv_cflags__Werror_unknown_warning_option=no
17056 rm -f core conftest.err conftest.$ac_objext \
17057 conftest$ac_exeext conftest.$ac_ext
17058 CFLAGS=$ac_wine_try_cflags_saved
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17061 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17062 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17063 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17066 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17067 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17068 $as_echo_n "(cached) " >&6
17069 else
17070 ac_wine_try_cflags_saved=$CFLAGS
17071 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17073 /* end confdefs.h. */
17074 int main(int argc, char **argv) { return 0; }
17075 _ACEOF
17076 if ac_fn_c_try_link "$LINENO"; then :
17077 ac_cv_cflags__Werror_unused_command_line_argument=yes
17078 else
17079 ac_cv_cflags__Werror_unused_command_line_argument=no
17081 rm -f core conftest.err conftest.$ac_objext \
17082 conftest$ac_exeext conftest.$ac_ext
17083 CFLAGS=$ac_wine_try_cflags_saved
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17086 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17087 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17088 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17091 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17092 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17093 $as_echo_n "(cached) " >&6
17094 else
17095 ac_wine_try_cflags_saved=$CFLAGS
17096 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17098 /* end confdefs.h. */
17099 int main(int argc, char **argv) { return 0; }
17100 _ACEOF
17101 if ac_fn_c_try_link "$LINENO"; then :
17102 ac_cv_cflags__Wdeclaration_after_statement=yes
17103 else
17104 ac_cv_cflags__Wdeclaration_after_statement=no
17106 rm -f core conftest.err conftest.$ac_objext \
17107 conftest$ac_exeext conftest.$ac_ext
17108 CFLAGS=$ac_wine_try_cflags_saved
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17111 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17112 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17113 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17116 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17117 if ${ac_cv_cflags__Wempty_body+:} false; then :
17118 $as_echo_n "(cached) " >&6
17119 else
17120 ac_wine_try_cflags_saved=$CFLAGS
17121 CFLAGS="$CFLAGS -Wempty-body"
17122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17124 int main(int argc, char **argv) { return 0; }
17125 _ACEOF
17126 if ac_fn_c_try_link "$LINENO"; then :
17127 ac_cv_cflags__Wempty_body=yes
17128 else
17129 ac_cv_cflags__Wempty_body=no
17131 rm -f core conftest.err conftest.$ac_objext \
17132 conftest$ac_exeext conftest.$ac_ext
17133 CFLAGS=$ac_wine_try_cflags_saved
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17136 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17137 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17138 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17141 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17142 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17143 $as_echo_n "(cached) " >&6
17144 else
17145 ac_wine_try_cflags_saved=$CFLAGS
17146 CFLAGS="$CFLAGS -Wignored-qualifiers"
17147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17148 /* end confdefs.h. */
17149 int main(int argc, char **argv) { return 0; }
17150 _ACEOF
17151 if ac_fn_c_try_link "$LINENO"; then :
17152 ac_cv_cflags__Wignored_qualifiers=yes
17153 else
17154 ac_cv_cflags__Wignored_qualifiers=no
17156 rm -f core conftest.err conftest.$ac_objext \
17157 conftest$ac_exeext conftest.$ac_ext
17158 CFLAGS=$ac_wine_try_cflags_saved
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17161 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17162 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17163 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17166 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17167 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17168 $as_echo_n "(cached) " >&6
17169 else
17170 ac_wine_try_cflags_saved=$CFLAGS
17171 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17174 int main(int argc, char **argv) { return 0; }
17175 _ACEOF
17176 if ac_fn_c_try_link "$LINENO"; then :
17177 ac_cv_cflags__Wpacked_not_aligned=yes
17178 else
17179 ac_cv_cflags__Wpacked_not_aligned=no
17181 rm -f core conftest.err conftest.$ac_objext \
17182 conftest$ac_exeext conftest.$ac_ext
17183 CFLAGS=$ac_wine_try_cflags_saved
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17186 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17187 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17188 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17191 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17192 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17193 $as_echo_n "(cached) " >&6
17194 else
17195 ac_wine_try_cflags_saved=$CFLAGS
17196 CFLAGS="$CFLAGS -Wpragma-pack"
17197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17198 /* end confdefs.h. */
17199 int main(int argc, char **argv) { return 0; }
17200 _ACEOF
17201 if ac_fn_c_try_link "$LINENO"; then :
17202 ac_cv_cflags__Wpragma_pack=yes
17203 else
17204 ac_cv_cflags__Wpragma_pack=no
17206 rm -f core conftest.err conftest.$ac_objext \
17207 conftest$ac_exeext conftest.$ac_ext
17208 CFLAGS=$ac_wine_try_cflags_saved
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17211 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17212 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17213 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17216 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17217 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17218 $as_echo_n "(cached) " >&6
17219 else
17220 ac_wine_try_cflags_saved=$CFLAGS
17221 CFLAGS="$CFLAGS -Wshift-overflow=2"
17222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17223 /* end confdefs.h. */
17224 int main(int argc, char **argv) { return 0; }
17225 _ACEOF
17226 if ac_fn_c_try_link "$LINENO"; then :
17227 ac_cv_cflags__Wshift_overflow_2=yes
17228 else
17229 ac_cv_cflags__Wshift_overflow_2=no
17231 rm -f core conftest.err conftest.$ac_objext \
17232 conftest$ac_exeext conftest.$ac_ext
17233 CFLAGS=$ac_wine_try_cflags_saved
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17236 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17237 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17238 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17241 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17242 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17243 $as_echo_n "(cached) " >&6
17244 else
17245 ac_wine_try_cflags_saved=$CFLAGS
17246 CFLAGS="$CFLAGS -Wstrict-prototypes"
17247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h. */
17249 int main(int argc, char **argv) { return 0; }
17250 _ACEOF
17251 if ac_fn_c_try_link "$LINENO"; then :
17252 ac_cv_cflags__Wstrict_prototypes=yes
17253 else
17254 ac_cv_cflags__Wstrict_prototypes=no
17256 rm -f core conftest.err conftest.$ac_objext \
17257 conftest$ac_exeext conftest.$ac_ext
17258 CFLAGS=$ac_wine_try_cflags_saved
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17261 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17262 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17263 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17266 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17267 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17268 $as_echo_n "(cached) " >&6
17269 else
17270 ac_wine_try_cflags_saved=$CFLAGS
17271 CFLAGS="$CFLAGS -Wtype-limits"
17272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17273 /* end confdefs.h. */
17274 int main(int argc, char **argv) { return 0; }
17275 _ACEOF
17276 if ac_fn_c_try_link "$LINENO"; then :
17277 ac_cv_cflags__Wtype_limits=yes
17278 else
17279 ac_cv_cflags__Wtype_limits=no
17281 rm -f core conftest.err conftest.$ac_objext \
17282 conftest$ac_exeext conftest.$ac_ext
17283 CFLAGS=$ac_wine_try_cflags_saved
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17286 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17287 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17288 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17291 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17292 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17293 $as_echo_n "(cached) " >&6
17294 else
17295 ac_wine_try_cflags_saved=$CFLAGS
17296 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17298 /* end confdefs.h. */
17299 int main(int argc, char **argv) { return 0; }
17300 _ACEOF
17301 if ac_fn_c_try_link "$LINENO"; then :
17302 ac_cv_cflags__Wunused_but_set_parameter=yes
17303 else
17304 ac_cv_cflags__Wunused_but_set_parameter=no
17306 rm -f core conftest.err conftest.$ac_objext \
17307 conftest$ac_exeext conftest.$ac_ext
17308 CFLAGS=$ac_wine_try_cflags_saved
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17311 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17312 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17313 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17316 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17317 if ${ac_cv_cflags__Wvla+:} false; then :
17318 $as_echo_n "(cached) " >&6
17319 else
17320 ac_wine_try_cflags_saved=$CFLAGS
17321 CFLAGS="$CFLAGS -Wvla"
17322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17323 /* end confdefs.h. */
17324 int main(int argc, char **argv) { return 0; }
17325 _ACEOF
17326 if ac_fn_c_try_link "$LINENO"; then :
17327 ac_cv_cflags__Wvla=yes
17328 else
17329 ac_cv_cflags__Wvla=no
17331 rm -f core conftest.err conftest.$ac_objext \
17332 conftest$ac_exeext conftest.$ac_ext
17333 CFLAGS=$ac_wine_try_cflags_saved
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17336 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17337 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17338 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17341 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17342 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17343 $as_echo_n "(cached) " >&6
17344 else
17345 ac_wine_try_cflags_saved=$CFLAGS
17346 CFLAGS="$CFLAGS -Wwrite-strings"
17347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17348 /* end confdefs.h. */
17349 int main(int argc, char **argv) { return 0; }
17350 _ACEOF
17351 if ac_fn_c_try_link "$LINENO"; then :
17352 ac_cv_cflags__Wwrite_strings=yes
17353 else
17354 ac_cv_cflags__Wwrite_strings=no
17356 rm -f core conftest.err conftest.$ac_objext \
17357 conftest$ac_exeext conftest.$ac_ext
17358 CFLAGS=$ac_wine_try_cflags_saved
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17361 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17362 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17363 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17367 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17368 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17369 $as_echo_n "(cached) " >&6
17370 else
17371 ac_wine_try_cflags_saved=$CFLAGS
17372 CFLAGS="$CFLAGS -Wpointer-arith"
17373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17374 /* end confdefs.h. */
17375 int main(int argc, char **argv) { return 0; }
17376 _ACEOF
17377 if ac_fn_c_try_link "$LINENO"; then :
17378 ac_cv_cflags__Wpointer_arith=yes
17379 else
17380 ac_cv_cflags__Wpointer_arith=no
17382 rm -f core conftest.err conftest.$ac_objext \
17383 conftest$ac_exeext conftest.$ac_ext
17384 CFLAGS=$ac_wine_try_cflags_saved
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17387 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17388 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17389 saved_string_h_CFLAGS=$CFLAGS
17390 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17392 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17393 if ${ac_cv_c_string_h_warnings+:} false; then :
17394 $as_echo_n "(cached) " >&6
17395 else
17396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h. */
17398 #include <string.h>
17400 main ()
17404 return 0;
17406 _ACEOF
17407 if ac_fn_c_try_compile "$LINENO"; then :
17408 ac_cv_c_string_h_warnings=no
17409 else
17410 ac_cv_c_string_h_warnings=yes
17412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17415 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17416 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17417 CFLAGS=$saved_string_h_CFLAGS
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17421 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17422 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17423 $as_echo_n "(cached) " >&6
17424 else
17425 ac_wine_try_cflags_saved=$CFLAGS
17426 CFLAGS="$CFLAGS -Wlogical-op"
17427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17428 /* end confdefs.h. */
17429 int main(int argc, char **argv) { return 0; }
17430 _ACEOF
17431 if ac_fn_c_try_link "$LINENO"; then :
17432 ac_cv_cflags__Wlogical_op=yes
17433 else
17434 ac_cv_cflags__Wlogical_op=no
17436 rm -f core conftest.err conftest.$ac_objext \
17437 conftest$ac_exeext conftest.$ac_ext
17438 CFLAGS=$ac_wine_try_cflags_saved
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17441 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17442 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17443 saved_string_h_CFLAGS=$CFLAGS
17444 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17446 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17447 if ${ac_cv_c_logicalop_noisy+:} false; then :
17448 $as_echo_n "(cached) " >&6
17449 else
17450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17451 /* end confdefs.h. */
17452 #include <string.h>
17453 char*f(const char *h,char n) {return strchr(h,n);}
17455 main ()
17459 return 0;
17461 _ACEOF
17462 if ac_fn_c_try_compile "$LINENO"; then :
17463 ac_cv_c_logicalop_noisy=no
17464 else
17465 ac_cv_c_logicalop_noisy=yes
17467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17470 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17471 CFLAGS=$saved_string_h_CFLAGS
17472 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17475 for ac_flag in $CFLAGS; do
17476 case $ac_flag in
17477 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17478 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17479 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17480 $as_echo_n "(cached) " >&6
17481 else
17482 ac_wine_try_cflags_saved=$CFLAGS
17483 CFLAGS="$CFLAGS -gdwarf-2"
17484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17486 int main(int argc, char **argv) { return 0; }
17487 _ACEOF
17488 if ac_fn_c_try_link "$LINENO"; then :
17489 ac_cv_cflags__gdwarf_2=yes
17490 else
17491 ac_cv_cflags__gdwarf_2=no
17493 rm -f core conftest.err conftest.$ac_objext \
17494 conftest$ac_exeext conftest.$ac_ext
17495 CFLAGS=$ac_wine_try_cflags_saved
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17498 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17499 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17500 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17503 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17504 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17505 $as_echo_n "(cached) " >&6
17506 else
17507 ac_wine_try_cflags_saved=$CFLAGS
17508 CFLAGS="$CFLAGS -gstrict-dwarf"
17509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17510 /* end confdefs.h. */
17511 int main(int argc, char **argv) { return 0; }
17512 _ACEOF
17513 if ac_fn_c_try_link "$LINENO"; then :
17514 ac_cv_cflags__gstrict_dwarf=yes
17515 else
17516 ac_cv_cflags__gstrict_dwarf=no
17518 rm -f core conftest.err conftest.$ac_objext \
17519 conftest$ac_exeext conftest.$ac_ext
17520 CFLAGS=$ac_wine_try_cflags_saved
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17523 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17524 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17525 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17526 fi ;;
17527 esac
17528 done
17530 MSVCRTFLAGS=""
17532 case $host_os in
17533 mingw32*) ;;
17534 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17535 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17536 if ${ac_cv_cflags__fno_builtin+:} false; then :
17537 $as_echo_n "(cached) " >&6
17538 else
17539 ac_wine_try_cflags_saved=$CFLAGS
17540 CFLAGS="$CFLAGS -fno-builtin"
17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17542 /* end confdefs.h. */
17543 int main(int argc, char **argv) { return 0; }
17544 _ACEOF
17545 if ac_fn_c_try_link "$LINENO"; then :
17546 ac_cv_cflags__fno_builtin=yes
17547 else
17548 ac_cv_cflags__fno_builtin=no
17550 rm -f core conftest.err conftest.$ac_objext \
17551 conftest$ac_exeext conftest.$ac_ext
17552 CFLAGS=$ac_wine_try_cflags_saved
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17555 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17556 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17557 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17560 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17561 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17562 $as_echo_n "(cached) " >&6
17563 else
17564 ac_wine_try_cflags_saved=$CFLAGS
17565 CFLAGS="$CFLAGS -fshort-wchar"
17566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567 /* end confdefs.h. */
17568 int main(int argc, char **argv) { return 0; }
17569 _ACEOF
17570 if ac_fn_c_try_link "$LINENO"; then :
17571 ac_cv_cflags__fshort_wchar=yes
17572 else
17573 ac_cv_cflags__fshort_wchar=no
17575 rm -f core conftest.err conftest.$ac_objext \
17576 conftest$ac_exeext conftest.$ac_ext
17577 CFLAGS=$ac_wine_try_cflags_saved
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17580 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17581 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17582 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17583 fi ;;
17584 esac
17586 case $host_cpu in
17587 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17588 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17589 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17590 $as_echo_n "(cached) " >&6
17591 else
17592 ac_wine_try_cflags_saved=$CFLAGS
17593 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17596 int main(int argc, char **argv) { return 0; }
17597 _ACEOF
17598 if ac_fn_c_try_link "$LINENO"; then :
17599 ac_cv_cflags__fno_omit_frame_pointer=yes
17600 else
17601 ac_cv_cflags__fno_omit_frame_pointer=no
17603 rm -f core conftest.err conftest.$ac_objext \
17604 conftest$ac_exeext conftest.$ac_ext
17605 CFLAGS=$ac_wine_try_cflags_saved
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17608 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17609 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17610 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17611 fi ;;
17612 *x86_64*)
17613 case $host_os in
17614 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17615 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17616 if ${ac_cv_cflags__Wno_format+:} false; then :
17617 $as_echo_n "(cached) " >&6
17618 else
17619 ac_wine_try_cflags_saved=$CFLAGS
17620 CFLAGS="$CFLAGS -Wno-format"
17621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17622 /* end confdefs.h. */
17623 int main(int argc, char **argv) { return 0; }
17624 _ACEOF
17625 if ac_fn_c_try_link "$LINENO"; then :
17626 ac_cv_cflags__Wno_format=yes
17627 else
17628 ac_cv_cflags__Wno_format=no
17630 rm -f core conftest.err conftest.$ac_objext \
17631 conftest$ac_exeext conftest.$ac_ext
17632 CFLAGS=$ac_wine_try_cflags_saved
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17635 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17636 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17637 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17638 fi ;;
17639 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17640 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17641 if ${ac_cv_cflags__mabi_ms+:} false; then :
17642 $as_echo_n "(cached) " >&6
17643 else
17644 ac_wine_try_cflags_saved=$CFLAGS
17645 CFLAGS="$CFLAGS -mabi=ms"
17646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17647 /* end confdefs.h. */
17648 int main(int argc, char **argv) { return 0; }
17649 _ACEOF
17650 if ac_fn_c_try_link "$LINENO"; then :
17651 ac_cv_cflags__mabi_ms=yes
17652 else
17653 ac_cv_cflags__mabi_ms=no
17655 rm -f core conftest.err conftest.$ac_objext \
17656 conftest$ac_exeext conftest.$ac_ext
17657 CFLAGS=$ac_wine_try_cflags_saved
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17660 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17661 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17662 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17663 fi ;;
17664 esac ;;
17665 esac
17667 CFLAGS=$saved_CFLAGS
17669 if test "x$enable_werror" = "xyes"
17670 then
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17672 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17673 if ${ac_cv_cflags__Werror+:} false; then :
17674 $as_echo_n "(cached) " >&6
17675 else
17676 ac_wine_try_cflags_saved=$CFLAGS
17677 CFLAGS="$CFLAGS -Werror"
17678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17679 /* end confdefs.h. */
17680 int main(int argc, char **argv) { return 0; }
17681 _ACEOF
17682 if ac_fn_c_try_link "$LINENO"; then :
17683 ac_cv_cflags__Werror=yes
17684 else
17685 ac_cv_cflags__Werror=no
17687 rm -f core conftest.err conftest.$ac_objext \
17688 conftest$ac_exeext conftest.$ac_ext
17689 CFLAGS=$ac_wine_try_cflags_saved
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17692 $as_echo "$ac_cv_cflags__Werror" >&6; }
17693 if test "x$ac_cv_cflags__Werror" = xyes; then :
17694 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17701 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17702 if ${ac_cv_c_fortify_enabled+:} false; then :
17703 $as_echo_n "(cached) " >&6
17704 else
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17707 #include <string.h>
17709 main ()
17711 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17712 #error Fortify enabled
17713 #endif
17715 return 0;
17717 _ACEOF
17718 if ac_fn_c_try_compile "$LINENO"; then :
17719 ac_cv_c_fortify_enabled=no
17720 else
17721 ac_cv_c_fortify_enabled=yes
17723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17726 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17727 if test "$ac_cv_c_fortify_enabled" = yes
17728 then
17729 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17734 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17735 if ${ac_cv_c_cfi_support+:} false; then :
17736 $as_echo_n "(cached) " >&6
17737 else
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17740 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17742 main ()
17746 return 0;
17748 _ACEOF
17749 if ac_fn_c_try_compile "$LINENO"; then :
17750 ac_cv_c_cfi_support="yes"
17751 else
17752 ac_cv_c_cfi_support="no"
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17757 $as_echo "$ac_cv_c_cfi_support" >&6; }
17758 if test "$ac_cv_c_cfi_support" = "yes"
17759 then
17760 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17761 else
17762 if test "x$enable_win64" = "xyes"
17763 then
17764 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17769 case $build_os in
17770 cygwin*|mingw32*) TOOLSEXT=".exe"
17772 esac
17774 case $host_os in
17775 linux*)
17776 case $host_cpu in
17777 *i[3456789]86*|x86_64*|*aarch64*)
17778 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17779 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17781 esac
17783 esac
17786 ac_save_CFLAGS="$CFLAGS"
17787 CFLAGS="$CFLAGS $BUILTINFLAG"
17788 for ac_func in \
17789 __res_get_state \
17790 __res_getservers \
17791 _spawnvp \
17792 dlopen \
17793 epoll_create \
17794 ffs \
17795 finitef \
17796 fnmatch \
17797 fork \
17798 fpclass \
17799 fstatfs \
17800 fstatvfs \
17801 futimens \
17802 futimes \
17803 futimesat \
17804 getattrlist \
17805 getauxval \
17806 getifaddrs \
17807 getopt_long_only \
17808 kqueue \
17809 lstat \
17810 mach_continuous_time \
17811 pipe2 \
17812 poll \
17813 port_create \
17814 prctl \
17815 pread \
17816 proc_pidinfo \
17817 pwrite \
17818 readdir \
17819 readlink \
17820 sched_yield \
17821 select \
17822 setproctitle \
17823 setprogname \
17824 settimeofday \
17825 sigprocmask \
17826 statfs \
17827 statvfs \
17828 strnlen \
17829 strtold \
17830 symlink \
17831 sysinfo \
17832 tcdrain \
17833 thr_kill2 \
17834 timegm \
17835 usleep
17837 do :
17838 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17839 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17840 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17841 cat >>confdefs.h <<_ACEOF
17842 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17843 _ACEOF
17846 done
17848 CFLAGS="$ac_save_CFLAGS"
17850 if test "$ac_cv_func_dlopen" = no
17851 then
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17853 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17854 if ${ac_cv_lib_dl_dlopen+:} false; then :
17855 $as_echo_n "(cached) " >&6
17856 else
17857 ac_check_lib_save_LIBS=$LIBS
17858 LIBS="-ldl $LIBS"
17859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17860 /* end confdefs.h. */
17862 /* Override any GCC internal prototype to avoid an error.
17863 Use char because int might match the return type of a GCC
17864 builtin and then its argument prototype would still apply. */
17865 #ifdef __cplusplus
17866 extern "C"
17867 #endif
17868 char dlopen ();
17870 main ()
17872 return dlopen ();
17874 return 0;
17876 _ACEOF
17877 if ac_fn_c_try_link "$LINENO"; then :
17878 ac_cv_lib_dl_dlopen=yes
17879 else
17880 ac_cv_lib_dl_dlopen=no
17882 rm -f core conftest.err conftest.$ac_objext \
17883 conftest$ac_exeext conftest.$ac_ext
17884 LIBS=$ac_check_lib_save_LIBS
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17887 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17888 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17889 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17890 DL_LIBS="-ldl"
17895 ac_wine_check_funcs_save_LIBS="$LIBS"
17896 LIBS="$LIBS $DL_LIBS"
17897 for ac_func in dladdr
17898 do :
17899 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17900 if test "x$ac_cv_func_dladdr" = xyes; then :
17901 cat >>confdefs.h <<_ACEOF
17902 #define HAVE_DLADDR 1
17903 _ACEOF
17906 done
17908 LIBS="$ac_wine_check_funcs_save_LIBS"
17910 if test "$ac_cv_func_poll" = no
17911 then
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17913 $as_echo_n "checking for poll in -lpoll... " >&6; }
17914 if ${ac_cv_lib_poll_poll+:} false; then :
17915 $as_echo_n "(cached) " >&6
17916 else
17917 ac_check_lib_save_LIBS=$LIBS
17918 LIBS="-lpoll $LIBS"
17919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h. */
17922 /* Override any GCC internal prototype to avoid an error.
17923 Use char because int might match the return type of a GCC
17924 builtin and then its argument prototype would still apply. */
17925 #ifdef __cplusplus
17926 extern "C"
17927 #endif
17928 char poll ();
17930 main ()
17932 return poll ();
17934 return 0;
17936 _ACEOF
17937 if ac_fn_c_try_link "$LINENO"; then :
17938 ac_cv_lib_poll_poll=yes
17939 else
17940 ac_cv_lib_poll_poll=no
17942 rm -f core conftest.err conftest.$ac_objext \
17943 conftest$ac_exeext conftest.$ac_ext
17944 LIBS=$ac_check_lib_save_LIBS
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17947 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17948 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17949 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17950 POLL_LIBS="-lpoll"
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17957 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17958 if ${ac_cv_search_gethostbyname+:} false; then :
17959 $as_echo_n "(cached) " >&6
17960 else
17961 ac_func_search_save_LIBS=$LIBS
17962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17963 /* end confdefs.h. */
17965 /* Override any GCC internal prototype to avoid an error.
17966 Use char because int might match the return type of a GCC
17967 builtin and then its argument prototype would still apply. */
17968 #ifdef __cplusplus
17969 extern "C"
17970 #endif
17971 char gethostbyname ();
17973 main ()
17975 return gethostbyname ();
17977 return 0;
17979 _ACEOF
17980 for ac_lib in '' nsl; do
17981 if test -z "$ac_lib"; then
17982 ac_res="none required"
17983 else
17984 ac_res=-l$ac_lib
17985 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17987 if ac_fn_c_try_link "$LINENO"; then :
17988 ac_cv_search_gethostbyname=$ac_res
17990 rm -f core conftest.err conftest.$ac_objext \
17991 conftest$ac_exeext
17992 if ${ac_cv_search_gethostbyname+:} false; then :
17993 break
17995 done
17996 if ${ac_cv_search_gethostbyname+:} false; then :
17998 else
17999 ac_cv_search_gethostbyname=no
18001 rm conftest.$ac_ext
18002 LIBS=$ac_func_search_save_LIBS
18004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18005 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18006 ac_res=$ac_cv_search_gethostbyname
18007 if test "$ac_res" != no; then :
18008 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18014 $as_echo_n "checking for library containing connect... " >&6; }
18015 if ${ac_cv_search_connect+:} false; then :
18016 $as_echo_n "(cached) " >&6
18017 else
18018 ac_func_search_save_LIBS=$LIBS
18019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18020 /* end confdefs.h. */
18022 /* Override any GCC internal prototype to avoid an error.
18023 Use char because int might match the return type of a GCC
18024 builtin and then its argument prototype would still apply. */
18025 #ifdef __cplusplus
18026 extern "C"
18027 #endif
18028 char connect ();
18030 main ()
18032 return connect ();
18034 return 0;
18036 _ACEOF
18037 for ac_lib in '' socket; do
18038 if test -z "$ac_lib"; then
18039 ac_res="none required"
18040 else
18041 ac_res=-l$ac_lib
18042 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18044 if ac_fn_c_try_link "$LINENO"; then :
18045 ac_cv_search_connect=$ac_res
18047 rm -f core conftest.err conftest.$ac_objext \
18048 conftest$ac_exeext
18049 if ${ac_cv_search_connect+:} false; then :
18050 break
18052 done
18053 if ${ac_cv_search_connect+:} false; then :
18055 else
18056 ac_cv_search_connect=no
18058 rm conftest.$ac_ext
18059 LIBS=$ac_func_search_save_LIBS
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18062 $as_echo "$ac_cv_search_connect" >&6; }
18063 ac_res=$ac_cv_search_connect
18064 if test "$ac_res" != no; then :
18065 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18071 $as_echo_n "checking for library containing inet_aton... " >&6; }
18072 if ${ac_cv_search_inet_aton+:} false; then :
18073 $as_echo_n "(cached) " >&6
18074 else
18075 ac_func_search_save_LIBS=$LIBS
18076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18077 /* end confdefs.h. */
18079 /* Override any GCC internal prototype to avoid an error.
18080 Use char because int might match the return type of a GCC
18081 builtin and then its argument prototype would still apply. */
18082 #ifdef __cplusplus
18083 extern "C"
18084 #endif
18085 char inet_aton ();
18087 main ()
18089 return inet_aton ();
18091 return 0;
18093 _ACEOF
18094 for ac_lib in '' resolv; do
18095 if test -z "$ac_lib"; then
18096 ac_res="none required"
18097 else
18098 ac_res=-l$ac_lib
18099 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18101 if ac_fn_c_try_link "$LINENO"; then :
18102 ac_cv_search_inet_aton=$ac_res
18104 rm -f core conftest.err conftest.$ac_objext \
18105 conftest$ac_exeext
18106 if ${ac_cv_search_inet_aton+:} false; then :
18107 break
18109 done
18110 if ${ac_cv_search_inet_aton+:} false; then :
18112 else
18113 ac_cv_search_inet_aton=no
18115 rm conftest.$ac_ext
18116 LIBS=$ac_func_search_save_LIBS
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18119 $as_echo "$ac_cv_search_inet_aton" >&6; }
18120 ac_res=$ac_cv_search_inet_aton
18121 if test "$ac_res" != no; then :
18122 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18127 for ac_func in \
18128 getaddrinfo \
18129 getnameinfo \
18130 getnetbyname \
18131 getprotobyname \
18132 getprotobynumber \
18133 getservbyport \
18134 inet_addr \
18135 inet_network \
18136 inet_ntop \
18137 inet_pton \
18139 do :
18140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18141 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18142 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18143 cat >>confdefs.h <<_ACEOF
18144 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18145 _ACEOF
18148 done
18151 case $host_os in
18152 darwin*|macosx*) ;;
18153 *) ac_save_LIBS=$LIBS
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18155 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18156 if ${ac_cv_search_clock_gettime+:} false; then :
18157 $as_echo_n "(cached) " >&6
18158 else
18159 ac_func_search_save_LIBS=$LIBS
18160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18161 /* end confdefs.h. */
18163 /* Override any GCC internal prototype to avoid an error.
18164 Use char because int might match the return type of a GCC
18165 builtin and then its argument prototype would still apply. */
18166 #ifdef __cplusplus
18167 extern "C"
18168 #endif
18169 char clock_gettime ();
18171 main ()
18173 return clock_gettime ();
18175 return 0;
18177 _ACEOF
18178 for ac_lib in '' rt; do
18179 if test -z "$ac_lib"; then
18180 ac_res="none required"
18181 else
18182 ac_res=-l$ac_lib
18183 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18185 if ac_fn_c_try_link "$LINENO"; then :
18186 ac_cv_search_clock_gettime=$ac_res
18188 rm -f core conftest.err conftest.$ac_objext \
18189 conftest$ac_exeext
18190 if ${ac_cv_search_clock_gettime+:} false; then :
18191 break
18193 done
18194 if ${ac_cv_search_clock_gettime+:} false; then :
18196 else
18197 ac_cv_search_clock_gettime=no
18199 rm conftest.$ac_ext
18200 LIBS=$ac_func_search_save_LIBS
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18203 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18204 ac_res=$ac_cv_search_clock_gettime
18205 if test "$ac_res" != no; then :
18206 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18208 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18210 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18214 LIBS=$ac_save_LIBS
18216 esac
18218 if test "x$with_ldap" != "xno"
18219 then
18220 if ${LDAP_CFLAGS:+false} :; then :
18221 if ${PKG_CONFIG+:} false; then :
18222 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18226 if ${LDAP_LIBS:+false} :; then :
18227 if ${PKG_CONFIG+:} false; then :
18228 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18232 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18233 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18234 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18235 ac_save_CPPFLAGS=$CPPFLAGS
18236 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18237 for ac_header in ldap.h lber.h
18238 do :
18239 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18240 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18241 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18242 cat >>confdefs.h <<_ACEOF
18243 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18244 _ACEOF
18248 done
18250 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18251 then
18252 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18254 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18256 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18257 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18258 $as_echo_n "(cached) " >&6
18259 else
18260 ac_check_lib_save_LIBS=$LIBS
18261 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18263 /* end confdefs.h. */
18265 /* Override any GCC internal prototype to avoid an error.
18266 Use char because int might match the return type of a GCC
18267 builtin and then its argument prototype would still apply. */
18268 #ifdef __cplusplus
18269 extern "C"
18270 #endif
18271 char ldap_initialize ();
18273 main ()
18275 return ldap_initialize ();
18277 return 0;
18279 _ACEOF
18280 if ac_fn_c_try_link "$LINENO"; then :
18281 ac_cv_lib_ldap_r_ldap_initialize=yes
18282 else
18283 ac_cv_lib_ldap_r_ldap_initialize=no
18285 rm -f core conftest.err conftest.$ac_objext \
18286 conftest$ac_exeext conftest.$ac_ext
18287 LIBS=$ac_check_lib_save_LIBS
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18290 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18291 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18293 $as_echo_n "checking for ber_init in -llber... " >&6; }
18294 if ${ac_cv_lib_lber_ber_init+:} false; then :
18295 $as_echo_n "(cached) " >&6
18296 else
18297 ac_check_lib_save_LIBS=$LIBS
18298 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18300 /* end confdefs.h. */
18302 /* Override any GCC internal prototype to avoid an error.
18303 Use char because int might match the return type of a GCC
18304 builtin and then its argument prototype would still apply. */
18305 #ifdef __cplusplus
18306 extern "C"
18307 #endif
18308 char ber_init ();
18310 main ()
18312 return ber_init ();
18314 return 0;
18316 _ACEOF
18317 if ac_fn_c_try_link "$LINENO"; then :
18318 ac_cv_lib_lber_ber_init=yes
18319 else
18320 ac_cv_lib_lber_ber_init=no
18322 rm -f core conftest.err conftest.$ac_objext \
18323 conftest$ac_exeext conftest.$ac_ext
18324 LIBS=$ac_check_lib_save_LIBS
18326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18327 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18328 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18330 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18332 else
18333 LDAP_LIBS=""
18336 else
18337 LDAP_LIBS=""
18340 else
18341 LDAP_LIBS=""
18344 ac_wine_check_funcs_save_LIBS="$LIBS"
18345 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18346 for ac_func in \
18347 ldap_count_references \
18348 ldap_first_reference \
18349 ldap_next_reference \
18350 ldap_parse_reference \
18351 ldap_parse_sort_control \
18352 ldap_parse_sortresponse_control \
18353 ldap_parse_vlv_control \
18354 ldap_parse_vlvresponse_control
18355 do :
18356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18358 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18359 cat >>confdefs.h <<_ACEOF
18360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18361 _ACEOF
18364 done
18366 LIBS="$ac_wine_check_funcs_save_LIBS"
18367 else
18368 LDAP_LIBS=""
18370 CPPFLAGS=$ac_save_CPPFLAGS
18371 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18372 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18375 if test "x$LDAP_LIBS" = "x"; then :
18376 case "x$with_ldap" in
18377 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18378 xno) ;;
18379 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18380 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18381 esac
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18386 $as_echo_n "checking for sched_setaffinity... " >&6; }
18387 if ${wine_cv_have_sched_setaffinity+:} false; then :
18388 $as_echo_n "(cached) " >&6
18389 else
18390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18391 /* end confdefs.h. */
18392 #define _GNU_SOURCE
18393 #include <sched.h>
18395 main ()
18397 sched_setaffinity(0, 0, 0);
18399 return 0;
18401 _ACEOF
18402 if ac_fn_c_try_link "$LINENO"; then :
18403 wine_cv_have_sched_setaffinity=yes
18404 else
18405 wine_cv_have_sched_setaffinity=no
18407 rm -f core conftest.err conftest.$ac_objext \
18408 conftest$ac_exeext conftest.$ac_ext
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18411 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18412 if test "$wine_cv_have_sched_setaffinity" = "yes"
18413 then
18415 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18420 $as_echo_n "checking for fallocate... " >&6; }
18421 if ${wine_cv_have_fallocate+:} false; then :
18422 $as_echo_n "(cached) " >&6
18423 else
18424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18425 /* end confdefs.h. */
18426 #define _GNU_SOURCE
18427 #include <fcntl.h>
18429 main ()
18431 fallocate(-1, 0, 0, 0);
18433 return 0;
18435 _ACEOF
18436 if ac_fn_c_try_link "$LINENO"; then :
18437 wine_cv_have_fallocate=yes
18438 else
18439 wine_cv_have_fallocate=no
18441 rm -f core conftest.err conftest.$ac_objext \
18442 conftest$ac_exeext conftest.$ac_ext
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18445 $as_echo "$wine_cv_have_fallocate" >&6; }
18446 if test "$wine_cv_have_fallocate" = "yes"
18447 then
18449 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18455 $as_echo_n "checking for inline... " >&6; }
18456 if ${ac_cv_c_inline+:} false; then :
18457 $as_echo_n "(cached) " >&6
18458 else
18459 ac_cv_c_inline=no
18460 for ac_kw in inline __inline__ __inline; do
18461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18462 /* end confdefs.h. */
18463 #ifndef __cplusplus
18464 typedef int foo_t;
18465 static $ac_kw foo_t static_foo () {return 0; }
18466 $ac_kw foo_t foo () {return 0; }
18467 #endif
18469 _ACEOF
18470 if ac_fn_c_try_compile "$LINENO"; then :
18471 ac_cv_c_inline=$ac_kw
18473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18474 test "$ac_cv_c_inline" != no && break
18475 done
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18479 $as_echo "$ac_cv_c_inline" >&6; }
18481 case $ac_cv_c_inline in
18482 inline | yes) ;;
18484 case $ac_cv_c_inline in
18485 no) ac_val=;;
18486 *) ac_val=$ac_cv_c_inline;;
18487 esac
18488 cat >>confdefs.h <<_ACEOF
18489 #ifndef __cplusplus
18490 #define inline $ac_val
18491 #endif
18492 _ACEOF
18494 esac
18496 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18497 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18499 cat >>confdefs.h <<_ACEOF
18500 #define HAVE_FSBLKCNT_T 1
18501 _ACEOF
18505 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18506 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18508 cat >>confdefs.h <<_ACEOF
18509 #define HAVE_FSFILCNT_T 1
18510 _ACEOF
18515 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18516 #include <signal.h>
18518 if test "x$ac_cv_type_sigset_t" = xyes; then :
18520 cat >>confdefs.h <<_ACEOF
18521 #define HAVE_SIGSET_T 1
18522 _ACEOF
18527 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18529 if test "x$ac_cv_type_request_sense" = xyes; then :
18531 cat >>confdefs.h <<_ACEOF
18532 #define HAVE_REQUEST_SENSE 1
18533 _ACEOF
18539 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18540 #ifdef HAVE_SYS_SOCKET_H
18541 #include <sys/socket.h>
18542 #endif
18543 #ifdef HAVE_SYS_SOCKETVAR_H
18544 #include <sys/socketvar.h>
18545 #endif
18546 #ifdef HAVE_NET_ROUTE_H
18547 #include <net/route.h>
18548 #endif
18549 #ifdef HAVE_NETINET_IN_H
18550 #include <netinet/in.h>
18551 #endif
18552 #ifdef HAVE_NETINET_IN_SYSTM_H
18553 #include <netinet/in_systm.h>
18554 #endif
18555 #ifdef HAVE_NETINET_IP_H
18556 #include <netinet/ip.h>
18557 #endif
18558 #ifdef HAVE_NETINET_IN_PCB_H
18559 #include <netinet/in_pcb.h>
18560 #endif
18562 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18564 cat >>confdefs.h <<_ACEOF
18565 #define HAVE_STRUCT_XINPGEN 1
18566 _ACEOF
18572 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18573 #include <linux/input.h>
18574 #endif
18576 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18578 cat >>confdefs.h <<_ACEOF
18579 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18580 _ACEOF
18586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18587 $as_echo_n "checking for if_nameindex... " >&6; }
18588 if ${wine_cv_have_if_nameindex+:} false; then :
18589 $as_echo_n "(cached) " >&6
18590 else
18591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18593 #ifdef HAVE_SYS_TYPES_H
18594 #include <sys/types.h>
18595 #endif
18596 #ifdef HAVE_SYS_SOCKET_H
18597 #include <sys/socket.h>
18598 #endif
18599 #ifdef HAVE_NET_IF_H
18600 # include <net/if.h>
18601 #endif
18603 main ()
18605 struct if_nameindex *p = if_nameindex(); return p->if_index;
18607 return 0;
18609 _ACEOF
18610 if ac_fn_c_try_link "$LINENO"; then :
18611 wine_cv_have_if_nameindex=yes
18612 else
18613 wine_cv_have_if_nameindex=no
18615 rm -f core conftest.err conftest.$ac_objext \
18616 conftest$ac_exeext conftest.$ac_ext
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18619 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18620 if test "$wine_cv_have_if_nameindex" = "yes"
18621 then
18623 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18628 $as_echo_n "checking for sigaddset... " >&6; }
18629 if ${wine_cv_have_sigaddset+:} false; then :
18630 $as_echo_n "(cached) " >&6
18631 else
18632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h. */
18634 #include <signal.h>
18636 main ()
18638 sigset_t set; sigaddset(&set,SIGTERM);
18640 return 0;
18642 _ACEOF
18643 if ac_fn_c_try_link "$LINENO"; then :
18644 wine_cv_have_sigaddset=yes
18645 else
18646 wine_cv_have_sigaddset=no
18648 rm -f core conftest.err conftest.$ac_objext \
18649 conftest$ac_exeext conftest.$ac_ext
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18652 $as_echo "$wine_cv_have_sigaddset" >&6; }
18653 if test "$wine_cv_have_sigaddset" = "yes"
18654 then
18656 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18662 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18663 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18664 $as_echo_n "(cached) " >&6
18665 else
18666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18667 /* end confdefs.h. */
18668 #include <netdb.h>
18670 main ()
18673 char *name=0;
18674 struct hostent he;
18675 struct hostent *result;
18676 char *buf=0;
18677 int bufsize=0;
18678 int errnr;
18679 char *addr=0;
18680 int addrlen=0;
18681 int addrtype=0;
18682 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18683 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18686 return 0;
18688 _ACEOF
18689 if ac_fn_c_try_link "$LINENO"; then :
18690 wine_cv_linux_gethostbyname_r_6=yes
18691 else
18692 wine_cv_linux_gethostbyname_r_6=no
18695 rm -f core conftest.err conftest.$ac_objext \
18696 conftest$ac_exeext conftest.$ac_ext
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18700 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18701 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18702 then
18704 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18708 if test "$ac_cv_header_linux_joystick_h" = "yes"
18709 then
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18711 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18712 if ${wine_cv_linux_joystick_22_api+:} false; then :
18713 $as_echo_n "(cached) " >&6
18714 else
18715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18716 /* end confdefs.h. */
18718 #include <sys/ioctl.h>
18719 #include <sys/types.h>
18720 #include <linux/joystick.h>
18722 struct js_event blub;
18723 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18724 #error "no 2.2 header"
18725 #endif
18728 main ()
18730 /*empty*/
18732 return 0;
18734 _ACEOF
18735 if ac_fn_c_try_compile "$LINENO"; then :
18736 wine_cv_linux_joystick_22_api=yes
18737 else
18738 wine_cv_linux_joystick_22_api=no
18740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18744 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18745 if test "$wine_cv_linux_joystick_22_api" = "yes"
18746 then
18748 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18754 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18755 #ifdef HAVE_SYS_PARAM_H
18756 # include <sys/param.h>
18757 #endif
18758 #ifdef HAVE_SYS_MOUNT_H
18759 # include <sys/mount.h>
18760 #endif
18761 #ifdef HAVE_SYS_VFS_H
18762 # include <sys/vfs.h>
18763 #endif
18764 #ifdef HAVE_SYS_STATFS_H
18765 # include <sys/statfs.h>
18766 #endif
18768 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18770 cat >>confdefs.h <<_ACEOF
18771 #define HAVE_STRUCT_STATFS_F_BFREE 1
18772 _ACEOF
18776 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18777 #ifdef HAVE_SYS_PARAM_H
18778 # include <sys/param.h>
18779 #endif
18780 #ifdef HAVE_SYS_MOUNT_H
18781 # include <sys/mount.h>
18782 #endif
18783 #ifdef HAVE_SYS_VFS_H
18784 # include <sys/vfs.h>
18785 #endif
18786 #ifdef HAVE_SYS_STATFS_H
18787 # include <sys/statfs.h>
18788 #endif
18790 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18792 cat >>confdefs.h <<_ACEOF
18793 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18794 _ACEOF
18798 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18799 #ifdef HAVE_SYS_PARAM_H
18800 # include <sys/param.h>
18801 #endif
18802 #ifdef HAVE_SYS_MOUNT_H
18803 # include <sys/mount.h>
18804 #endif
18805 #ifdef HAVE_SYS_VFS_H
18806 # include <sys/vfs.h>
18807 #endif
18808 #ifdef HAVE_SYS_STATFS_H
18809 # include <sys/statfs.h>
18810 #endif
18812 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18814 cat >>confdefs.h <<_ACEOF
18815 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18816 _ACEOF
18820 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18821 #ifdef HAVE_SYS_PARAM_H
18822 # include <sys/param.h>
18823 #endif
18824 #ifdef HAVE_SYS_MOUNT_H
18825 # include <sys/mount.h>
18826 #endif
18827 #ifdef HAVE_SYS_VFS_H
18828 # include <sys/vfs.h>
18829 #endif
18830 #ifdef HAVE_SYS_STATFS_H
18831 # include <sys/statfs.h>
18832 #endif
18834 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18836 cat >>confdefs.h <<_ACEOF
18837 #define HAVE_STRUCT_STATFS_F_FFREE 1
18838 _ACEOF
18842 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18843 #ifdef HAVE_SYS_PARAM_H
18844 # include <sys/param.h>
18845 #endif
18846 #ifdef HAVE_SYS_MOUNT_H
18847 # include <sys/mount.h>
18848 #endif
18849 #ifdef HAVE_SYS_VFS_H
18850 # include <sys/vfs.h>
18851 #endif
18852 #ifdef HAVE_SYS_STATFS_H
18853 # include <sys/statfs.h>
18854 #endif
18856 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18858 cat >>confdefs.h <<_ACEOF
18859 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18860 _ACEOF
18864 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18865 #ifdef HAVE_SYS_PARAM_H
18866 # include <sys/param.h>
18867 #endif
18868 #ifdef HAVE_SYS_MOUNT_H
18869 # include <sys/mount.h>
18870 #endif
18871 #ifdef HAVE_SYS_VFS_H
18872 # include <sys/vfs.h>
18873 #endif
18874 #ifdef HAVE_SYS_STATFS_H
18875 # include <sys/statfs.h>
18876 #endif
18878 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18880 cat >>confdefs.h <<_ACEOF
18881 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18882 _ACEOF
18888 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18889 #include <sys/statvfs.h>
18890 #endif
18892 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18894 cat >>confdefs.h <<_ACEOF
18895 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18896 _ACEOF
18902 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18903 #include <dirent.h>
18904 #endif
18906 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18908 cat >>confdefs.h <<_ACEOF
18909 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18910 _ACEOF
18916 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18917 #ifdef HAVE_SYS_SOCKET_H
18918 # include <sys/socket.h>
18919 #endif
18920 #ifdef HAVE_SYS_UN_H
18921 # include <sys/un.h>
18922 #endif
18924 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18926 cat >>confdefs.h <<_ACEOF
18927 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18928 _ACEOF
18932 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18933 #ifdef HAVE_SYS_SOCKET_H
18934 # include <sys/socket.h>
18935 #endif
18936 #ifdef HAVE_SYS_UN_H
18937 # include <sys/un.h>
18938 #endif
18940 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18942 cat >>confdefs.h <<_ACEOF
18943 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18944 _ACEOF
18948 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18949 #ifdef HAVE_SYS_SOCKET_H
18950 # include <sys/socket.h>
18951 #endif
18952 #ifdef HAVE_SYS_UN_H
18953 # include <sys/un.h>
18954 #endif
18956 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18958 cat >>confdefs.h <<_ACEOF
18959 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18960 _ACEOF
18966 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18967 #ifdef HAVE_SCSI_SG_H
18968 #include <scsi/sg.h>
18969 #endif
18971 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18973 cat >>confdefs.h <<_ACEOF
18974 #define HAVE_SCSIREQ_T_CMD 1
18975 _ACEOF
18979 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>
18980 #ifdef HAVE_SCSI_SG_H
18981 #include <scsi/sg.h>
18982 #endif
18984 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18986 cat >>confdefs.h <<_ACEOF
18987 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18988 _ACEOF
18994 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18996 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18998 cat >>confdefs.h <<_ACEOF
18999 #define HAVE_SIGINFO_T_SI_FD 1
19000 _ACEOF
19006 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19007 #ifdef HAVE_SYS_MTIO_H
19008 #include <sys/mtio.h>
19009 #endif
19011 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19013 cat >>confdefs.h <<_ACEOF
19014 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19015 _ACEOF
19019 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19020 #ifdef HAVE_SYS_MTIO_H
19021 #include <sys/mtio.h>
19022 #endif
19024 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19026 cat >>confdefs.h <<_ACEOF
19027 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19028 _ACEOF
19032 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19033 #ifdef HAVE_SYS_MTIO_H
19034 #include <sys/mtio.h>
19035 #endif
19037 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19039 cat >>confdefs.h <<_ACEOF
19040 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19041 _ACEOF
19047 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19048 #include <getopt.h>
19049 #endif
19051 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19053 cat >>confdefs.h <<_ACEOF
19054 #define HAVE_STRUCT_OPTION_NAME 1
19055 _ACEOF
19061 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19062 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19064 cat >>confdefs.h <<_ACEOF
19065 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19066 _ACEOF
19070 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19071 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19073 cat >>confdefs.h <<_ACEOF
19074 #define HAVE_STRUCT_STAT_ST_MTIM 1
19075 _ACEOF
19079 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19080 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19082 cat >>confdefs.h <<_ACEOF
19083 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19084 _ACEOF
19088 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19089 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19091 cat >>confdefs.h <<_ACEOF
19092 #define HAVE_STRUCT_STAT_ST_CTIM 1
19093 _ACEOF
19097 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19098 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19102 _ACEOF
19106 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19107 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19109 cat >>confdefs.h <<_ACEOF
19110 #define HAVE_STRUCT_STAT_ST_ATIM 1
19111 _ACEOF
19115 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19116 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19118 cat >>confdefs.h <<_ACEOF
19119 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19120 _ACEOF
19124 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19125 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19127 cat >>confdefs.h <<_ACEOF
19128 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19129 _ACEOF
19133 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19134 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19136 cat >>confdefs.h <<_ACEOF
19137 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19138 _ACEOF
19142 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19143 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19147 _ACEOF
19151 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19152 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19156 _ACEOF
19160 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19161 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19163 cat >>confdefs.h <<_ACEOF
19164 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19165 _ACEOF
19171 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
19172 #include <sys/types.h>
19173 #endif
19174 #ifdef HAVE_NETINET_IN_H
19175 #include <netinet/in.h>
19176 #endif
19178 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19180 cat >>confdefs.h <<_ACEOF
19181 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19182 _ACEOF
19188 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19189 #include <sys/types.h>
19190 #endif
19191 #ifdef HAVE_NETINET_IN_H
19192 #include <netinet/in.h>
19193 #endif
19194 #ifdef HAVE_RESOLV_H
19195 #include <resolv.h>
19196 #endif
19198 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19200 cat >>confdefs.h <<_ACEOF
19201 #define HAVE_STRUCT___RES_STATE 1
19202 _ACEOF
19208 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
19209 #include <resolv.h>
19210 #endif
19212 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19214 cat >>confdefs.h <<_ACEOF
19215 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19216 _ACEOF
19222 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19223 #include <sys/types.h>
19224 #endif
19225 #ifdef HAVE_NETINET_IN_H
19226 # include <netinet/in.h>
19227 #endif
19228 #ifdef HAVE_ARPA_NAMESER_H
19229 # include <arpa/nameser.h>
19230 #endif
19232 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19234 cat >>confdefs.h <<_ACEOF
19235 #define HAVE_NS_MSG__MSG_PTR 1
19236 _ACEOF
19242 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19243 #include <sys/types.h>
19244 #endif
19245 #ifdef HAVE_NETINET_IN_H
19246 #include <netinet/in.h>
19247 #endif
19248 #ifdef HAVE_NETINET_IP_H
19249 #include <netinet/ip.h>
19250 #endif
19251 #ifdef HAVE_NETINET_IP_ICMP_H
19252 #include <netinet/ip_icmp.h>
19253 #endif
19254 #ifdef HAVE_NETINET_ICMP_VAR_H
19255 #include <netinet/icmp_var.h>
19256 #endif
19258 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19260 cat >>confdefs.h <<_ACEOF
19261 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19262 _ACEOF
19268 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19269 #include <sys/types.h>
19270 #endif
19271 #ifdef HAVE_ALIAS_H
19272 #include <alias.h>
19273 #endif
19274 #ifdef HAVE_SYS_SOCKET_H
19275 #include <sys/socket.h>
19276 #endif
19277 #ifdef HAVE_SYS_SOCKETVAR_H
19278 #include <sys/socketvar.h>
19279 #endif
19280 #ifdef HAVE_SYS_TIMEOUT_H
19281 #include <sys/timeout.h>
19282 #endif
19283 #ifdef HAVE_NETINET_IN_H
19284 #include <netinet/in.h>
19285 #endif
19286 #ifdef HAVE_NETINET_IN_SYSTM_H
19287 #include <netinet/in_systm.h>
19288 #endif
19289 #ifdef HAVE_NETINET_IP_H
19290 #include <netinet/ip.h>
19291 #endif
19292 #ifdef HAVE_NETINET_IP_VAR_H
19293 #include <netinet/ip_var.h>
19294 #endif
19295 #ifdef HAVE_NETINET_IP_ICMP_H
19296 #include <netinet/ip_icmp.h>
19297 #endif
19298 #ifdef HAVE_NETINET_ICMP_VAR_H
19299 #include <netinet/icmp_var.h>
19300 #endif
19302 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19304 cat >>confdefs.h <<_ACEOF
19305 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19306 _ACEOF
19312 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19313 #include <sys/types.h>
19314 #endif
19315 #ifdef HAVE_SYS_SOCKETVAR_H
19316 #include <sys/socketvar.h>
19317 #endif
19318 #ifdef HAVE_NETINET_IN_H
19319 #include <netinet/in.h>
19320 #endif
19321 #ifdef HAVE_NETINET_IP_VAR_H
19322 #include <netinet/ip_var.h>
19323 #endif
19325 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19327 cat >>confdefs.h <<_ACEOF
19328 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19329 _ACEOF
19335 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
19336 #include <netinet/ip_var.h>
19337 #endif
19339 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19341 cat >>confdefs.h <<_ACEOF
19342 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19343 _ACEOF
19349 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19350 #include <sys/types.h>
19351 #endif
19352 #ifdef HAVE_SYS_SOCKETVAR_H
19353 #include <sys/socketvar.h>
19354 #endif
19355 #ifdef HAVE_NETINET_IN_H
19356 #include <netinet/in.h>
19357 #endif
19358 #ifdef HAVE_NETINET_TCP_H
19359 #include <netinet/tcp.h>
19360 #endif
19361 #ifdef HAVE_NETINET_TCP_VAR_H
19362 #include <netinet/tcp_var.h>
19363 #endif
19365 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19367 cat >>confdefs.h <<_ACEOF
19368 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19369 _ACEOF
19375 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
19376 #include <netinet/tcp_var.h>
19377 #endif
19379 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19381 cat >>confdefs.h <<_ACEOF
19382 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19383 _ACEOF
19389 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19390 #include <sys/types.h>
19391 #endif
19392 #ifdef HAVE_NETINET_IN_H
19393 #include <netinet/in.h>
19394 #endif
19395 #ifdef HAVE_NETINET_IP_VAR_H
19396 #include <netinet/ip_var.h>
19397 #endif
19398 #ifdef HAVE_NETINET_UDP_H
19399 #include <netinet/udp.h>
19400 #endif
19401 #ifdef HAVE_NETINET_UDP_VAR_H
19402 #include <netinet/udp_var.h>
19403 #endif
19405 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19407 cat >>confdefs.h <<_ACEOF
19408 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19409 _ACEOF
19415 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19416 #include <sys/types.h>
19417 #endif
19418 #ifdef HAVE_NET_IF_H
19419 # include <net/if.h>
19420 #endif
19422 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19424 cat >>confdefs.h <<_ACEOF
19425 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19426 _ACEOF
19432 ac_save_LIBS="$LIBS"
19433 LIBS="$LIBS -lm"
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19435 $as_echo_n "checking for isfinite... " >&6; }
19436 if ${ac_cv_have_isfinite+:} false; then :
19437 $as_echo_n "(cached) " >&6
19438 else
19439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19440 /* end confdefs.h. */
19441 #define _GNU_SOURCE
19442 #include <math.h>
19444 main ()
19446 float f = 0.0; return isfinite(f)
19448 return 0;
19450 _ACEOF
19451 if ac_fn_c_try_link "$LINENO"; then :
19452 ac_cv_have_isfinite="yes"
19453 else
19454 ac_cv_have_isfinite="no"
19456 rm -f core conftest.err conftest.$ac_objext \
19457 conftest$ac_exeext conftest.$ac_ext
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19460 $as_echo "$ac_cv_have_isfinite" >&6; }
19461 if test "$ac_cv_have_isfinite" = "yes"
19462 then
19464 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19469 $as_echo_n "checking for isinf... " >&6; }
19470 if ${ac_cv_have_isinf+:} false; then :
19471 $as_echo_n "(cached) " >&6
19472 else
19473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19474 /* end confdefs.h. */
19475 #include <math.h>
19477 main ()
19479 float f = 0.0; return isinf(f)
19481 return 0;
19483 _ACEOF
19484 if ac_fn_c_try_link "$LINENO"; then :
19485 ac_cv_have_isinf="yes"
19486 else
19487 ac_cv_have_isinf="no"
19489 rm -f core conftest.err conftest.$ac_objext \
19490 conftest$ac_exeext conftest.$ac_ext
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19493 $as_echo "$ac_cv_have_isinf" >&6; }
19494 if test "$ac_cv_have_isinf" = "yes"
19495 then
19497 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19502 $as_echo_n "checking for isnan... " >&6; }
19503 if ${ac_cv_have_isnan+:} false; then :
19504 $as_echo_n "(cached) " >&6
19505 else
19506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19507 /* end confdefs.h. */
19508 #include <math.h>
19510 main ()
19512 float f = 0.0; return isnan(f)
19514 return 0;
19516 _ACEOF
19517 if ac_fn_c_try_link "$LINENO"; then :
19518 ac_cv_have_isnan="yes"
19519 else
19520 ac_cv_have_isnan="no"
19522 rm -f core conftest.err conftest.$ac_objext \
19523 conftest$ac_exeext conftest.$ac_ext
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19526 $as_echo "$ac_cv_have_isnan" >&6; }
19527 if test "$ac_cv_have_isnan" = "yes"
19528 then
19530 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19534 for ac_func in \
19535 acosh \
19536 acoshf \
19537 asinh \
19538 asinhf \
19539 atanh \
19540 atanhf \
19541 cbrt \
19542 cbrtf \
19543 erf \
19544 erfc \
19545 erfcf \
19546 erff \
19547 exp2 \
19548 exp2f \
19549 expm1 \
19550 expm1f \
19551 fma \
19552 fmaf \
19553 ilogb \
19554 ilogbf \
19555 j0 \
19556 j1 \
19557 jn \
19558 lgamma \
19559 lgammaf \
19560 llrint \
19561 llrintf \
19562 llround \
19563 llroundf \
19564 log1p \
19565 log1pf \
19566 log2 \
19567 log2f \
19568 lrint \
19569 lrintf \
19570 lround \
19571 lroundf \
19572 nearbyint \
19573 nearbyintf \
19574 nexttoward \
19575 nexttowardf \
19576 remainder \
19577 remainderf \
19578 remquo \
19579 remquof \
19580 rint \
19581 rintf \
19582 round \
19583 roundf \
19584 tgamma \
19585 tgammaf \
19586 trunc \
19587 truncf \
19588 y0 \
19589 y1 \
19592 do :
19593 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19595 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19596 cat >>confdefs.h <<_ACEOF
19597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19598 _ACEOF
19601 done
19603 LIBS="$ac_save_LIBS"
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19606 $as_echo_n "checking for __builtin_popcount... " >&6; }
19607 if ${ac_cv_have___builtin_popcount+:} false; then :
19608 $as_echo_n "(cached) " >&6
19609 else
19610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19611 /* end confdefs.h. */
19614 main ()
19616 return __builtin_popcount(1)
19618 return 0;
19620 _ACEOF
19621 if ac_fn_c_try_link "$LINENO"; then :
19622 ac_cv_have___builtin_popcount="yes"
19623 else
19624 ac_cv_have___builtin_popcount="no"
19626 rm -f core conftest.err conftest.$ac_objext \
19627 conftest$ac_exeext conftest.$ac_ext
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19630 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19631 if test "$ac_cv_have___builtin_popcount" = "yes"
19632 then
19634 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19639 $as_echo_n "checking for __clear_cache... " >&6; }
19640 if ${ac_cv_have___clear_cache+:} false; then :
19641 $as_echo_n "(cached) " >&6
19642 else
19643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19644 /* end confdefs.h. */
19647 main ()
19649 __clear_cache((void*)0, (void*)0); return 0;
19651 return 0;
19653 _ACEOF
19654 if ac_fn_c_try_link "$LINENO"; then :
19655 ac_cv_have___clear_cache="yes"
19656 else
19657 ac_cv_have___clear_cache="no"
19659 rm -f core conftest.err conftest.$ac_objext \
19660 conftest$ac_exeext conftest.$ac_ext
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19663 $as_echo "$ac_cv_have___clear_cache" >&6; }
19664 if test "$ac_cv_have___clear_cache" = "yes"
19665 then
19667 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19672 case $host_cpu in
19673 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19674 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19675 if ${ac_cv_cpp_def___i386__+:} false; then :
19676 $as_echo_n "(cached) " >&6
19677 else
19678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19679 /* end confdefs.h. */
19680 #ifndef __i386__
19682 #endif
19683 _ACEOF
19684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19685 $EGREP "yes" >/dev/null 2>&1; then :
19686 ac_cv_cpp_def___i386__=yes
19687 else
19688 ac_cv_cpp_def___i386__=no
19690 rm -f conftest*
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19694 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19695 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19696 CFLAGS="$CFLAGS -D__i386__"
19697 LINTFLAGS="$LINTFLAGS -D__i386__"
19698 fi ;;
19699 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19700 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19701 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19702 $as_echo_n "(cached) " >&6
19703 else
19704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19705 /* end confdefs.h. */
19706 #ifndef __x86_64__
19708 #endif
19709 _ACEOF
19710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19711 $EGREP "yes" >/dev/null 2>&1; then :
19712 ac_cv_cpp_def___x86_64__=yes
19713 else
19714 ac_cv_cpp_def___x86_64__=no
19716 rm -f conftest*
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19720 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19721 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19722 CFLAGS="$CFLAGS -D__x86_64__"
19723 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19724 fi ;;
19725 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19726 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19727 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19728 $as_echo_n "(cached) " >&6
19729 else
19730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19731 /* end confdefs.h. */
19732 #ifndef __sparc64__
19734 #endif
19735 _ACEOF
19736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19737 $EGREP "yes" >/dev/null 2>&1; then :
19738 ac_cv_cpp_def___sparc64__=yes
19739 else
19740 ac_cv_cpp_def___sparc64__=no
19742 rm -f conftest*
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19746 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19747 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19748 CFLAGS="$CFLAGS -D__sparc64__"
19749 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19750 fi ;;
19751 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19752 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19753 if ${ac_cv_cpp_def___sparc__+:} false; then :
19754 $as_echo_n "(cached) " >&6
19755 else
19756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19757 /* end confdefs.h. */
19758 #ifndef __sparc__
19760 #endif
19761 _ACEOF
19762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19763 $EGREP "yes" >/dev/null 2>&1; then :
19764 ac_cv_cpp_def___sparc__=yes
19765 else
19766 ac_cv_cpp_def___sparc__=no
19768 rm -f conftest*
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19772 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19773 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19774 CFLAGS="$CFLAGS -D__sparc__"
19775 LINTFLAGS="$LINTFLAGS -D__sparc__"
19776 fi ;;
19777 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19778 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19779 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19780 $as_echo_n "(cached) " >&6
19781 else
19782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19783 /* end confdefs.h. */
19784 #ifndef __powerpc64__
19786 #endif
19787 _ACEOF
19788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19789 $EGREP "yes" >/dev/null 2>&1; then :
19790 ac_cv_cpp_def___powerpc64__=yes
19791 else
19792 ac_cv_cpp_def___powerpc64__=no
19794 rm -f conftest*
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19798 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19799 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19800 CFLAGS="$CFLAGS -D__powerpc64__"
19801 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19802 fi ;;
19803 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19804 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19805 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19806 $as_echo_n "(cached) " >&6
19807 else
19808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19809 /* end confdefs.h. */
19810 #ifndef __powerpc__
19812 #endif
19813 _ACEOF
19814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19815 $EGREP "yes" >/dev/null 2>&1; then :
19816 ac_cv_cpp_def___powerpc__=yes
19817 else
19818 ac_cv_cpp_def___powerpc__=no
19820 rm -f conftest*
19823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19824 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19825 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19826 CFLAGS="$CFLAGS -D__powerpc__"
19827 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19828 fi ;;
19829 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19830 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19831 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19832 $as_echo_n "(cached) " >&6
19833 else
19834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19835 /* end confdefs.h. */
19836 #ifndef __aarch64__
19838 #endif
19839 _ACEOF
19840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19841 $EGREP "yes" >/dev/null 2>&1; then :
19842 ac_cv_cpp_def___aarch64__=yes
19843 else
19844 ac_cv_cpp_def___aarch64__=no
19846 rm -f conftest*
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19850 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19851 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19852 CFLAGS="$CFLAGS -D__aarch64__"
19853 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19854 fi ;;
19855 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19856 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19857 if ${ac_cv_cpp_def___arm__+:} false; then :
19858 $as_echo_n "(cached) " >&6
19859 else
19860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19861 /* end confdefs.h. */
19862 #ifndef __arm__
19864 #endif
19865 _ACEOF
19866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19867 $EGREP "yes" >/dev/null 2>&1; then :
19868 ac_cv_cpp_def___arm__=yes
19869 else
19870 ac_cv_cpp_def___arm__=no
19872 rm -f conftest*
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19876 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19877 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19878 CFLAGS="$CFLAGS -D__arm__"
19879 LINTFLAGS="$LINTFLAGS -D__arm__"
19880 fi ;;
19881 esac
19883 case $host_vendor in
19884 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19885 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19886 if ${ac_cv_cpp_def___sun__+:} false; then :
19887 $as_echo_n "(cached) " >&6
19888 else
19889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19890 /* end confdefs.h. */
19891 #ifndef __sun__
19893 #endif
19894 _ACEOF
19895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19896 $EGREP "yes" >/dev/null 2>&1; then :
19897 ac_cv_cpp_def___sun__=yes
19898 else
19899 ac_cv_cpp_def___sun__=no
19901 rm -f conftest*
19904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19905 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19906 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19907 CFLAGS="$CFLAGS -D__sun__"
19908 LINTFLAGS="$LINTFLAGS -D__sun__"
19909 fi ;;
19910 esac
19916 ac_config_commands="$ac_config_commands include/stamp-h"
19918 $as_echo_n "creating Makefile rules..." >&6
19920 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19921 OPENGL_LIBS = $OPENGL_LIBS
19922 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19923 IOKIT_LIBS = $IOKIT_LIBS
19924 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19925 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19926 CORESERVICES_LIBS = $CORESERVICES_LIBS
19927 APPKIT_LIBS = $APPKIT_LIBS
19928 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19929 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19930 SECURITY_LIBS = $SECURITY_LIBS
19931 COREAUDIO_LIBS = $COREAUDIO_LIBS
19932 OPENAL_LIBS = $OPENAL_LIBS
19933 OPENCL_LIBS = $OPENCL_LIBS
19934 QUICKTIME_LIBS = $QUICKTIME_LIBS
19935 CARBON_LIBS = $CARBON_LIBS
19936 METAL_LIBS = $METAL_LIBS
19937 PTHREAD_LIBS = $PTHREAD_LIBS
19938 X_CFLAGS = $X_CFLAGS
19939 X_PRE_LIBS = $X_PRE_LIBS
19940 X_LIBS = $X_LIBS
19941 X_EXTRA_LIBS = $X_EXTRA_LIBS
19942 PCAP_LIBS = $PCAP_LIBS
19943 XML2_CFLAGS = $XML2_CFLAGS
19944 XML2_LIBS = $XML2_LIBS
19945 XSLT_CFLAGS = $XSLT_CFLAGS
19946 XSLT_LIBS = $XSLT_LIBS
19947 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19948 INOTIFY_LIBS = $INOTIFY_LIBS
19949 DBUS_CFLAGS = $DBUS_CFLAGS
19950 DBUS_LIBS = $DBUS_LIBS
19951 HAL_CFLAGS = $HAL_CFLAGS
19952 HAL_LIBS = $HAL_LIBS
19953 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19954 GNUTLS_LIBS = $GNUTLS_LIBS
19955 SANE_CFLAGS = $SANE_CFLAGS
19956 SANE_LIBS = $SANE_LIBS
19957 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19958 GPHOTO2_LIBS = $GPHOTO2_LIBS
19959 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19960 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19961 RESOLV_LIBS = $RESOLV_LIBS
19962 LCMS2_CFLAGS = $LCMS2_CFLAGS
19963 LCMS2_LIBS = $LCMS2_LIBS
19964 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19965 FREETYPE_LIBS = $FREETYPE_LIBS
19966 Z_CFLAGS = $Z_CFLAGS
19967 Z_LIBS = $Z_LIBS
19968 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19969 PULSE_CFLAGS = $PULSE_CFLAGS
19970 PULSE_LIBS = $PULSE_LIBS
19971 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19972 GSTREAMER_LIBS = $GSTREAMER_LIBS
19973 ALSA_LIBS = $ALSA_LIBS
19974 OSS4_CFLAGS = $OSS4_CFLAGS
19975 OSS4_LIBS = $OSS4_LIBS
19976 UDEV_CFLAGS = $UDEV_CFLAGS
19977 UDEV_LIBS = $UDEV_LIBS
19978 UNWIND_CFLAGS = $UNWIND_CFLAGS
19979 UNWIND_LIBS = $UNWIND_LIBS
19980 SDL2_CFLAGS = $SDL2_CFLAGS
19981 SDL2_LIBS = $SDL2_LIBS
19982 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19983 FAUDIO_LIBS = $FAUDIO_LIBS
19984 CAPI20_CFLAGS = $CAPI20_CFLAGS
19985 CAPI20_LIBS = $CAPI20_LIBS
19986 CUPS_CFLAGS = $CUPS_CFLAGS
19987 CUPS_LIBS = $CUPS_LIBS
19988 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19989 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19990 KRB5_CFLAGS = $KRB5_CFLAGS
19991 KRB5_LIBS = $KRB5_LIBS
19992 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19993 GSSAPI_LIBS = $GSSAPI_LIBS
19994 JPEG_CFLAGS = $JPEG_CFLAGS
19995 JPEG_LIBS = $JPEG_LIBS
19996 PNG_CFLAGS = $PNG_CFLAGS
19997 PNG_LIBS = $PNG_LIBS
19998 TIFF_CFLAGS = $TIFF_CFLAGS
19999 TIFF_LIBS = $TIFF_LIBS
20000 MPG123_CFLAGS = $MPG123_CFLAGS
20001 MPG123_LIBS = $MPG123_LIBS
20002 KSTAT_LIBS = $KSTAT_LIBS
20003 PROCSTAT_LIBS = $PROCSTAT_LIBS
20004 NETAPI_CFLAGS = $NETAPI_CFLAGS
20005 NETAPI_LIBS = $NETAPI_LIBS
20006 VKD3D_CFLAGS = $VKD3D_CFLAGS
20007 VKD3D_LIBS = $VKD3D_LIBS
20008 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20009 DL_LIBS = $DL_LIBS
20010 POLL_LIBS = $POLL_LIBS
20011 RT_LIBS = $RT_LIBS
20012 LDAP_CFLAGS = $LDAP_CFLAGS
20013 LDAP_LIBS = $LDAP_LIBS
20018 wine_fn_append_rule "
20019 # Rules automatically generated by configure
20021 .INIT: Makefile
20022 .MAKEFILEDEPS:
20023 all: Makefile
20024 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20025 @./config.status Make.tmp Makefile
20026 depend: \$(MAKEDEP) dummy
20027 \$(MAKEDEP)"
20029 ac_config_links="$ac_config_links wine:tools/winewrapper"
20030 wine_fn_config_symlink wine
20031 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20032 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20033 wine_fn_config_symlink wine64
20036 wine_fn_config_makefile dlls/acledit enable_acledit
20037 wine_fn_config_makefile dlls/aclui enable_aclui
20038 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20039 wine_fn_config_makefile dlls/activeds enable_activeds
20040 wine_fn_config_makefile dlls/activeds/tests enable_tests
20041 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20042 wine_fn_config_makefile dlls/adsiid enable_adsiid
20043 wine_fn_config_makefile dlls/adsldp enable_adsldp
20044 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20045 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20046 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20047 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20048 wine_fn_config_makefile dlls/advpack enable_advpack
20049 wine_fn_config_makefile dlls/advpack/tests enable_tests
20050 wine_fn_config_makefile dlls/amsi enable_amsi
20051 wine_fn_config_makefile dlls/amstream enable_amstream
20052 wine_fn_config_makefile dlls/amstream/tests enable_tests
20053 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20055 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20056 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20058 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20063 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20071 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20073 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20075 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20077 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20078 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20079 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20081 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20084 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20085 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20087 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20088 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20097 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20101 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20102 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20105 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20107 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20108 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20111 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20120 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20127 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20131 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20132 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20133 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20156 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20160 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20163 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20173 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20178 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20179 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20184 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20186 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20205 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20206 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20225 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20236 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20240 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20242 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20244 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20245 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20250 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20252 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20258 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20261 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20263 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20265 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20269 wine_fn_config_makefile dlls/apphelp enable_apphelp
20270 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20271 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20272 wine_fn_config_makefile dlls/atl enable_atl
20273 wine_fn_config_makefile dlls/atl/tests enable_tests
20274 wine_fn_config_makefile dlls/atl100 enable_atl100
20275 wine_fn_config_makefile dlls/atl100/tests enable_tests
20276 wine_fn_config_makefile dlls/atl110 enable_atl110
20277 wine_fn_config_makefile dlls/atl80 enable_atl80
20278 wine_fn_config_makefile dlls/atl80/tests enable_tests
20279 wine_fn_config_makefile dlls/atl90 enable_atl90
20280 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20281 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20282 wine_fn_config_makefile dlls/atmlib enable_atmlib
20283 wine_fn_config_makefile dlls/authz enable_authz
20284 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20285 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20286 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20287 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20288 wine_fn_config_makefile dlls/avrt enable_avrt
20289 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20290 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20291 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20292 wine_fn_config_makefile dlls/browseui enable_browseui
20293 wine_fn_config_makefile dlls/browseui/tests enable_tests
20294 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20295 wine_fn_config_makefile dlls/cabinet enable_cabinet
20296 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20297 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20298 wine_fn_config_makefile dlls/cards enable_cards
20299 wine_fn_config_makefile dlls/cdosys enable_cdosys
20300 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20301 wine_fn_config_makefile dlls/clusapi enable_clusapi
20302 wine_fn_config_makefile dlls/combase enable_combase
20303 wine_fn_config_makefile dlls/combase/tests enable_tests
20304 wine_fn_config_makefile dlls/comcat enable_comcat
20305 wine_fn_config_makefile dlls/comcat/tests enable_tests
20306 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20307 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20308 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20309 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20310 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20311 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20312 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20313 wine_fn_config_makefile dlls/compstui enable_compstui
20314 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20315 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20316 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20317 wine_fn_config_makefile dlls/connect enable_connect
20318 wine_fn_config_makefile dlls/credui enable_credui
20319 wine_fn_config_makefile dlls/credui/tests enable_tests
20320 wine_fn_config_makefile dlls/crtdll enable_crtdll
20321 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20322 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20323 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20324 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20325 wine_fn_config_makefile dlls/cryptext enable_cryptext
20326 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20327 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20328 wine_fn_config_makefile dlls/cryptui enable_cryptui
20329 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20330 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20331 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20332 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20333 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20334 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20335 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20336 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20337 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20338 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20339 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20340 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20341 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20342 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20343 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20344 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20345 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20346 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20347 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20348 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20349 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20350 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20351 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20352 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20353 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20354 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20355 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20356 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20357 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20358 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20359 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20360 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20361 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20362 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20363 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20364 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20365 wine_fn_config_makefile dlls/d3dim enable_d3dim
20366 wine_fn_config_makefile dlls/d3drm enable_d3drm
20367 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20368 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20369 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20370 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20371 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20372 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20373 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20374 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20375 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20376 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20377 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20378 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20379 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20380 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20381 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20382 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20383 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20384 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20385 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20386 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20387 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20388 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20389 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20390 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20391 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20392 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20393 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20394 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20395 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20396 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20397 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20398 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20399 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20400 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20401 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20402 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20403 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20404 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20405 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20406 wine_fn_config_makefile dlls/davclnt enable_davclnt
20407 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20408 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20409 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20410 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20411 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20412 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20413 wine_fn_config_makefile dlls/ddraw enable_ddraw
20414 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20415 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20416 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20417 wine_fn_config_makefile dlls/devenum enable_devenum
20418 wine_fn_config_makefile dlls/devenum/tests enable_tests
20419 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20420 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20421 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20422 wine_fn_config_makefile dlls/difxapi enable_difxapi
20423 wine_fn_config_makefile dlls/dinput enable_dinput
20424 wine_fn_config_makefile dlls/dinput/tests enable_tests
20425 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20426 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20427 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20428 wine_fn_config_makefile dlls/dispex enable_dispex
20429 wine_fn_config_makefile dlls/dispex/tests enable_tests
20430 wine_fn_config_makefile dlls/display.drv16 enable_win16
20431 wine_fn_config_makefile dlls/dmband enable_dmband
20432 wine_fn_config_makefile dlls/dmband/tests enable_tests
20433 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20434 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20435 wine_fn_config_makefile dlls/dmime enable_dmime
20436 wine_fn_config_makefile dlls/dmime/tests enable_tests
20437 wine_fn_config_makefile dlls/dmloader enable_dmloader
20438 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20439 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20440 wine_fn_config_makefile dlls/dmscript enable_dmscript
20441 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20442 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20443 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20444 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20445 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20446 wine_fn_config_makefile dlls/dmusic enable_dmusic
20447 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20448 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20449 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20450 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20451 wine_fn_config_makefile dlls/dplay enable_dplay
20452 wine_fn_config_makefile dlls/dplayx enable_dplayx
20453 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20454 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20455 wine_fn_config_makefile dlls/dpnet enable_dpnet
20456 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20457 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20458 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20459 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20460 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20461 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20462 wine_fn_config_makefile dlls/drmclien enable_drmclien
20463 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20464 wine_fn_config_makefile dlls/dsound enable_dsound
20465 wine_fn_config_makefile dlls/dsound/tests enable_tests
20466 wine_fn_config_makefile dlls/dsquery enable_dsquery
20467 wine_fn_config_makefile dlls/dssenh enable_dssenh
20468 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20469 wine_fn_config_makefile dlls/dswave enable_dswave
20470 wine_fn_config_makefile dlls/dswave/tests enable_tests
20471 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20472 wine_fn_config_makefile dlls/dwrite enable_dwrite
20473 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20474 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20475 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20476 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20477 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20478 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20479 wine_fn_config_makefile dlls/dxgi enable_dxgi
20480 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20481 wine_fn_config_makefile dlls/dxguid enable_dxguid
20482 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20483 wine_fn_config_makefile dlls/esent enable_esent
20484 wine_fn_config_makefile dlls/evr enable_evr
20485 wine_fn_config_makefile dlls/evr/tests enable_tests
20486 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20487 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20488 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20489 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20490 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20491 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20492 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20493 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20494 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20495 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20496 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20497 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20498 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20499 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20500 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20501 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20502 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20503 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20504 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20505 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20506 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20507 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20508 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20509 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20510 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20511 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20512 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20513 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20514 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20515 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20516 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20517 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20518 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20519 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20520 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20521 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20522 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20523 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20524 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20525 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20526 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20527 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20528 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
20529 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20530 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20531 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20532 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20533 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20534 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20535 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20536 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20537 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20538 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20539 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20540 wine_fn_config_makefile dlls/faultrep enable_faultrep
20541 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20542 wine_fn_config_makefile dlls/feclient enable_feclient
20543 wine_fn_config_makefile dlls/fltlib enable_fltlib
20544 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20545 wine_fn_config_makefile dlls/fntcache enable_fntcache
20546 wine_fn_config_makefile dlls/fontsub enable_fontsub
20547 wine_fn_config_makefile dlls/fusion enable_fusion
20548 wine_fn_config_makefile dlls/fusion/tests enable_tests
20549 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20550 wine_fn_config_makefile dlls/gameux enable_gameux
20551 wine_fn_config_makefile dlls/gameux/tests enable_tests
20552 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20553 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20554 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20555 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20556 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20557 wine_fn_config_makefile dlls/glu32 enable_glu32
20558 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20559 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20560 wine_fn_config_makefile dlls/hal enable_hal
20561 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20562 wine_fn_config_makefile dlls/hid enable_hid
20563 wine_fn_config_makefile dlls/hid/tests enable_tests
20564 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20565 wine_fn_config_makefile dlls/hlink enable_hlink
20566 wine_fn_config_makefile dlls/hlink/tests enable_tests
20567 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20568 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20569 wine_fn_config_makefile dlls/http.sys enable_http_sys
20570 wine_fn_config_makefile dlls/httpapi enable_httpapi
20571 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20572 wine_fn_config_makefile dlls/iccvid enable_iccvid
20573 wine_fn_config_makefile dlls/icmp enable_icmp
20574 wine_fn_config_makefile dlls/ieframe enable_ieframe
20575 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20576 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20577 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20578 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20579 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20580 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20581 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20582 wine_fn_config_makefile dlls/imm32 enable_imm32
20583 wine_fn_config_makefile dlls/imm32/tests enable_tests
20584 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20585 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20586 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20587 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20588 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20589 wine_fn_config_makefile dlls/infosoft enable_infosoft
20590 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20591 wine_fn_config_makefile dlls/initpki enable_initpki
20592 wine_fn_config_makefile dlls/inkobj enable_inkobj
20593 wine_fn_config_makefile dlls/inseng enable_inseng
20594 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20595 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20596 wine_fn_config_makefile dlls/iprop enable_iprop
20597 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20598 wine_fn_config_makefile dlls/itircl enable_itircl
20599 wine_fn_config_makefile dlls/itss enable_itss
20600 wine_fn_config_makefile dlls/itss/tests enable_tests
20601 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20602 wine_fn_config_makefile dlls/jscript enable_jscript
20603 wine_fn_config_makefile dlls/jscript/tests enable_tests
20604 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20605 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20606 wine_fn_config_makefile dlls/kerberos enable_kerberos
20607 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20608 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20609 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20610 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20611 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20612 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20613 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20614 wine_fn_config_makefile dlls/ksuser enable_ksuser
20615 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20616 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20617 wine_fn_config_makefile dlls/loadperf enable_loadperf
20618 wine_fn_config_makefile dlls/localspl enable_localspl
20619 wine_fn_config_makefile dlls/localspl/tests enable_tests
20620 wine_fn_config_makefile dlls/localui enable_localui
20621 wine_fn_config_makefile dlls/localui/tests enable_tests
20622 wine_fn_config_makefile dlls/lz32 enable_lz32
20623 wine_fn_config_makefile dlls/lz32/tests enable_tests
20624 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20625 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20626 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20627 wine_fn_config_makefile dlls/mapistub enable_mapistub
20628 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20629 wine_fn_config_makefile dlls/mcicda enable_mcicda
20630 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20631 wine_fn_config_makefile dlls/mciseq enable_mciseq
20632 wine_fn_config_makefile dlls/mciwave enable_mciwave
20633 wine_fn_config_makefile dlls/mf enable_mf
20634 wine_fn_config_makefile dlls/mf/tests enable_tests
20635 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20636 wine_fn_config_makefile dlls/mferror enable_mferror
20637 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20638 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20639 wine_fn_config_makefile dlls/mfplat enable_mfplat
20640 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20641 wine_fn_config_makefile dlls/mfplay enable_mfplay
20642 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20643 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20644 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20645 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20646 wine_fn_config_makefile dlls/midimap enable_midimap
20647 wine_fn_config_makefile dlls/mlang enable_mlang
20648 wine_fn_config_makefile dlls/mlang/tests enable_tests
20649 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20650 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20651 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20652 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20653 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20654 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20655 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20656 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20657 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20658 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20659 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20660 wine_fn_config_makefile dlls/mpr enable_mpr
20661 wine_fn_config_makefile dlls/mpr/tests enable_tests
20662 wine_fn_config_makefile dlls/mprapi enable_mprapi
20663 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20664 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20665 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20666 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20667 wine_fn_config_makefile dlls/msado15 enable_msado15
20668 wine_fn_config_makefile dlls/msado15/tests enable_tests
20669 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20670 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20671 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20672 wine_fn_config_makefile dlls/mscms enable_mscms
20673 wine_fn_config_makefile dlls/mscms/tests enable_tests
20674 wine_fn_config_makefile dlls/mscoree enable_mscoree
20675 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20676 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20677 wine_fn_config_makefile dlls/msctf enable_msctf
20678 wine_fn_config_makefile dlls/msctf/tests enable_tests
20679 wine_fn_config_makefile dlls/msctfp enable_msctfp
20680 wine_fn_config_makefile dlls/msdaps enable_msdaps
20681 wine_fn_config_makefile dlls/msdelta enable_msdelta
20682 wine_fn_config_makefile dlls/msdmo enable_msdmo
20683 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20684 wine_fn_config_makefile dlls/msdrm enable_msdrm
20685 wine_fn_config_makefile dlls/msftedit enable_msftedit
20686 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20687 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20688 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20689 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20690 wine_fn_config_makefile dlls/mshtml enable_mshtml
20691 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20692 wine_fn_config_makefile dlls/msi enable_msi
20693 wine_fn_config_makefile dlls/msi/tests enable_tests
20694 wine_fn_config_makefile dlls/msident enable_msident
20695 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20696 wine_fn_config_makefile dlls/msimsg enable_msimsg
20697 wine_fn_config_makefile dlls/msimtf enable_msimtf
20698 wine_fn_config_makefile dlls/msisip enable_msisip
20699 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20700 wine_fn_config_makefile dlls/msls31 enable_msls31
20701 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20702 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20703 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20704 wine_fn_config_makefile dlls/msports enable_msports
20705 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20706 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20707 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20708 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20709 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20710 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20711 wine_fn_config_makefile dlls/mstask enable_mstask
20712 wine_fn_config_makefile dlls/mstask/tests enable_tests
20713 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20714 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20715 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20716 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20717 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20718 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20719 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20720 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20721 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20722 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20723 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20724 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20725 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20726 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20727 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20728 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20729 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20730 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20731 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20732 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20733 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20734 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20735 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20736 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20737 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20738 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20739 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20740 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20741 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20742 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20743 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20744 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20745 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20746 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20747 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20748 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20749 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20750 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20751 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20752 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20753 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20754 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20755 wine_fn_config_makefile dlls/mswsock enable_mswsock
20756 wine_fn_config_makefile dlls/msxml enable_msxml
20757 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20758 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20759 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20760 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20761 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20762 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20763 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20764 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20765 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20766 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20767 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20768 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20769 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20770 wine_fn_config_makefile dlls/netprofm enable_netprofm
20771 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20772 wine_fn_config_makefile dlls/newdev enable_newdev
20773 wine_fn_config_makefile dlls/ninput enable_ninput
20774 wine_fn_config_makefile dlls/ninput/tests enable_tests
20775 wine_fn_config_makefile dlls/normaliz enable_normaliz
20776 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20777 wine_fn_config_makefile dlls/npptools enable_npptools
20778 wine_fn_config_makefile dlls/ntdll enable_ntdll
20779 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20780 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20781 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20782 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20783 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20784 wine_fn_config_makefile dlls/ntprint enable_ntprint
20785 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20786 wine_fn_config_makefile dlls/objsel enable_objsel
20787 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20788 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20789 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20790 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20791 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20792 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20793 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20794 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20795 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20796 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20797 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20798 wine_fn_config_makefile dlls/ole32 enable_ole32
20799 wine_fn_config_makefile dlls/ole32/tests enable_tests
20800 wine_fn_config_makefile dlls/oleacc enable_oleacc
20801 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20802 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20803 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20804 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20805 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20806 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20807 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20808 wine_fn_config_makefile dlls/oledlg enable_oledlg
20809 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20810 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20811 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20812 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20813 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20814 wine_fn_config_makefile dlls/opcservices enable_opcservices
20815 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20816 wine_fn_config_makefile dlls/openal32 enable_openal32
20817 wine_fn_config_makefile dlls/opencl enable_opencl
20818 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20819 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20820 wine_fn_config_makefile dlls/packager enable_packager
20821 wine_fn_config_makefile dlls/packager/tests enable_tests
20822 wine_fn_config_makefile dlls/pdh enable_pdh
20823 wine_fn_config_makefile dlls/pdh/tests enable_tests
20824 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20825 wine_fn_config_makefile dlls/pidgen enable_pidgen
20826 wine_fn_config_makefile dlls/powrprof enable_powrprof
20827 wine_fn_config_makefile dlls/printui enable_printui
20828 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20829 wine_fn_config_makefile dlls/propsys enable_propsys
20830 wine_fn_config_makefile dlls/propsys/tests enable_tests
20831 wine_fn_config_makefile dlls/psapi enable_psapi
20832 wine_fn_config_makefile dlls/psapi/tests enable_tests
20833 wine_fn_config_makefile dlls/pstorec enable_pstorec
20834 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20835 wine_fn_config_makefile dlls/qasf enable_qasf
20836 wine_fn_config_makefile dlls/qasf/tests enable_tests
20837 wine_fn_config_makefile dlls/qcap enable_qcap
20838 wine_fn_config_makefile dlls/qcap/tests enable_tests
20839 wine_fn_config_makefile dlls/qedit enable_qedit
20840 wine_fn_config_makefile dlls/qedit/tests enable_tests
20841 wine_fn_config_makefile dlls/qmgr enable_qmgr
20842 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20843 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20844 wine_fn_config_makefile dlls/quartz enable_quartz
20845 wine_fn_config_makefile dlls/quartz/tests enable_tests
20846 wine_fn_config_makefile dlls/query enable_query
20847 wine_fn_config_makefile dlls/qwave enable_qwave
20848 wine_fn_config_makefile dlls/qwave/tests enable_tests
20849 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20850 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20851 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20852 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20853 wine_fn_config_makefile dlls/regapi enable_regapi
20854 wine_fn_config_makefile dlls/resutils enable_resutils
20855 wine_fn_config_makefile dlls/riched20 enable_riched20
20856 wine_fn_config_makefile dlls/riched20/tests enable_tests
20857 wine_fn_config_makefile dlls/riched32 enable_riched32
20858 wine_fn_config_makefile dlls/riched32/tests enable_tests
20859 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20860 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20861 wine_fn_config_makefile dlls/rsabase enable_rsabase
20862 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20863 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20864 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20865 wine_fn_config_makefile dlls/rtutils enable_rtutils
20866 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20867 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20868 wine_fn_config_makefile dlls/samlib enable_samlib
20869 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20870 wine_fn_config_makefile dlls/sapi enable_sapi
20871 wine_fn_config_makefile dlls/sapi/tests enable_tests
20872 wine_fn_config_makefile dlls/sas enable_sas
20873 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20874 wine_fn_config_makefile dlls/sccbase enable_sccbase
20875 wine_fn_config_makefile dlls/schannel enable_schannel
20876 wine_fn_config_makefile dlls/schannel/tests enable_tests
20877 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20878 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20879 wine_fn_config_makefile dlls/scrobj enable_scrobj
20880 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20881 wine_fn_config_makefile dlls/scrrun enable_scrrun
20882 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20883 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20884 wine_fn_config_makefile dlls/secur32 enable_secur32
20885 wine_fn_config_makefile dlls/secur32/tests enable_tests
20886 wine_fn_config_makefile dlls/security enable_security
20887 wine_fn_config_makefile dlls/sensapi enable_sensapi
20888 wine_fn_config_makefile dlls/serialui enable_serialui
20889 wine_fn_config_makefile dlls/serialui/tests enable_tests
20890 wine_fn_config_makefile dlls/setupapi enable_setupapi
20891 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20892 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20893 wine_fn_config_makefile dlls/sfc enable_sfc
20894 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20895 wine_fn_config_makefile dlls/shcore enable_shcore
20896 wine_fn_config_makefile dlls/shcore/tests enable_tests
20897 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20898 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20899 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20900 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20901 wine_fn_config_makefile dlls/shell32 enable_shell32
20902 wine_fn_config_makefile dlls/shell32/tests enable_tests
20903 wine_fn_config_makefile dlls/shfolder enable_shfolder
20904 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20905 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20906 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20907 wine_fn_config_makefile dlls/slc enable_slc
20908 wine_fn_config_makefile dlls/slc/tests enable_tests
20909 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20910 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20911 wine_fn_config_makefile dlls/softpub enable_softpub
20912 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20913 wine_fn_config_makefile dlls/spoolss enable_spoolss
20914 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20915 wine_fn_config_makefile dlls/srclient enable_srclient
20916 wine_fn_config_makefile dlls/sspicli enable_sspicli
20917 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20918 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20919 wine_fn_config_makefile dlls/sti enable_sti
20920 wine_fn_config_makefile dlls/sti/tests enable_tests
20921 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20922 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20923 wine_fn_config_makefile dlls/strmbase enable_strmbase
20924 wine_fn_config_makefile dlls/strmdll enable_strmdll
20925 wine_fn_config_makefile dlls/strmiids enable_strmiids
20926 wine_fn_config_makefile dlls/svrapi enable_svrapi
20927 wine_fn_config_makefile dlls/sxs enable_sxs
20928 wine_fn_config_makefile dlls/sxs/tests enable_tests
20929 wine_fn_config_makefile dlls/system.drv16 enable_win16
20930 wine_fn_config_makefile dlls/t2embed enable_t2embed
20931 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20932 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20933 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20934 wine_fn_config_makefile dlls/taskschd enable_taskschd
20935 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20936 wine_fn_config_makefile dlls/tdh enable_tdh
20937 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20938 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20939 wine_fn_config_makefile dlls/traffic enable_traffic
20940 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20941 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20942 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20943 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20944 wine_fn_config_makefile dlls/tzres enable_tzres
20945 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20946 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20947 wine_fn_config_makefile dlls/uianimation enable_uianimation
20948 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20949 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20950 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20951 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20952 wine_fn_config_makefile dlls/unicows enable_unicows
20953 wine_fn_config_makefile dlls/updspapi enable_updspapi
20954 wine_fn_config_makefile dlls/url enable_url
20955 wine_fn_config_makefile dlls/urlmon enable_urlmon
20956 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20957 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20958 wine_fn_config_makefile dlls/user.exe16 enable_win16
20959 wine_fn_config_makefile dlls/user32 enable_user32
20960 wine_fn_config_makefile dlls/user32/tests enable_tests
20961 wine_fn_config_makefile dlls/userenv enable_userenv
20962 wine_fn_config_makefile dlls/userenv/tests enable_tests
20963 wine_fn_config_makefile dlls/usp10 enable_usp10
20964 wine_fn_config_makefile dlls/usp10/tests enable_tests
20965 wine_fn_config_makefile dlls/utildll enable_utildll
20966 wine_fn_config_makefile dlls/uuid enable_uuid
20967 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20968 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20969 wine_fn_config_makefile dlls/vbscript enable_vbscript
20970 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20971 wine_fn_config_makefile dlls/vcomp enable_vcomp
20972 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20973 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20974 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20975 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20976 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20977 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20978 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20979 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20980 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20981 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20982 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20983 wine_fn_config_makefile dlls/version enable_version
20984 wine_fn_config_makefile dlls/version/tests enable_tests
20985 wine_fn_config_makefile dlls/vga enable_vga
20986 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20987 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20988 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20989 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20990 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20991 wine_fn_config_makefile dlls/vssapi enable_vssapi
20992 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20993 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20994 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20995 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20996 wine_fn_config_makefile dlls/w32skrnl enable_win16
20997 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20998 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20999 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21000 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21001 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21002 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21003 wine_fn_config_makefile dlls/wdscore enable_wdscore
21004 wine_fn_config_makefile dlls/webservices enable_webservices
21005 wine_fn_config_makefile dlls/webservices/tests enable_tests
21006 wine_fn_config_makefile dlls/wer enable_wer
21007 wine_fn_config_makefile dlls/wer/tests enable_tests
21008 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21009 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21010 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21011 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21012 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21013 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21014 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21015 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21016 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21017 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21018 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21019 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21020 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21021 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21022 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21023 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21024 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21025 wine_fn_config_makefile dlls/wined3d enable_wined3d
21026 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21027 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21028 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21029 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21030 wine_fn_config_makefile dlls/winemapi enable_winemapi
21031 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21032 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21033 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21034 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21035 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21036 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21037 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21038 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21039 wine_fn_config_makefile dlls/wing32 enable_wing32
21040 wine_fn_config_makefile dlls/winhttp enable_winhttp
21041 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21042 wine_fn_config_makefile dlls/wininet enable_wininet
21043 wine_fn_config_makefile dlls/wininet/tests enable_tests
21044 wine_fn_config_makefile dlls/winmm enable_winmm
21045 wine_fn_config_makefile dlls/winmm/tests enable_tests
21046 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21047 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21048 wine_fn_config_makefile dlls/winscard enable_winscard
21049 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21050 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21051 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21052 wine_fn_config_makefile dlls/winsta enable_winsta
21053 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21054 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21055 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21056 wine_fn_config_makefile dlls/wintrust enable_wintrust
21057 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21058 wine_fn_config_makefile dlls/winusb enable_winusb
21059 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21060 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21061 wine_fn_config_makefile dlls/wlanui enable_wlanui
21062 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21063 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21064 wine_fn_config_makefile dlls/wmasf enable_wmasf
21065 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21066 wine_fn_config_makefile dlls/wmi enable_wmi
21067 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21068 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21069 wine_fn_config_makefile dlls/wmp enable_wmp
21070 wine_fn_config_makefile dlls/wmp/tests enable_tests
21071 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21072 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21073 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21074 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21075 wine_fn_config_makefile dlls/wow32 enable_win16
21076 wine_fn_config_makefile dlls/wpc enable_wpc
21077 wine_fn_config_makefile dlls/wpc/tests enable_tests
21078 wine_fn_config_makefile dlls/wpcap enable_wpcap
21079 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21080 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21081 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21082 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21083 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21084 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21085 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21086 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21087 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21088 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21089 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21090 wine_fn_config_makefile dlls/wuapi enable_wuapi
21091 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21092 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21093 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21094 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21095 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21096 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21097 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21098 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21099 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21100 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21101 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21102 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21103 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21104 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21105 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21106 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21107 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21108 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21109 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21110 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21111 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21112 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21113 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21114 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21115 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21116 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21117 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21118 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21119 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21120 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21121 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21122 wine_fn_config_makefile dlls/xmllite enable_xmllite
21123 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21124 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21125 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21126 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21127 wine_fn_config_makefile fonts enable_fonts
21128 wine_fn_config_makefile include enable_include
21129 wine_fn_config_makefile libs/port enable_port
21130 wine_fn_config_makefile libs/wine enable_wine
21131 wine_fn_config_makefile libs/wpp enable_wpp
21132 wine_fn_config_makefile loader enable_loader
21133 wine_fn_config_makefile nls enable_nls
21134 wine_fn_config_makefile po enable_po
21135 wine_fn_config_makefile programs/arp enable_arp
21136 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21137 wine_fn_config_makefile programs/attrib enable_attrib
21138 wine_fn_config_makefile programs/cabarc enable_cabarc
21139 wine_fn_config_makefile programs/cacls enable_cacls
21140 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21141 wine_fn_config_makefile programs/clock enable_clock
21142 wine_fn_config_makefile programs/cmd enable_cmd
21143 wine_fn_config_makefile programs/cmd/tests enable_tests
21144 wine_fn_config_makefile programs/conhost enable_conhost
21145 wine_fn_config_makefile programs/control enable_control
21146 wine_fn_config_makefile programs/cscript enable_cscript
21147 wine_fn_config_makefile programs/dism enable_dism
21148 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21149 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21150 wine_fn_config_makefile programs/eject enable_eject
21151 wine_fn_config_makefile programs/expand enable_expand
21152 wine_fn_config_makefile programs/explorer enable_explorer
21153 wine_fn_config_makefile programs/extrac32 enable_extrac32
21154 wine_fn_config_makefile programs/fc enable_fc
21155 wine_fn_config_makefile programs/find enable_find
21156 wine_fn_config_makefile programs/find/tests enable_tests
21157 wine_fn_config_makefile programs/findstr enable_findstr
21158 wine_fn_config_makefile programs/fsutil enable_fsutil
21159 wine_fn_config_makefile programs/hh enable_hh
21160 wine_fn_config_makefile programs/hostname enable_hostname
21161 wine_fn_config_makefile programs/icacls enable_icacls
21162 wine_fn_config_makefile programs/icinfo enable_icinfo
21163 wine_fn_config_makefile programs/iexplore enable_iexplore
21164 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21165 wine_fn_config_makefile programs/lodctr enable_lodctr
21166 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21167 wine_fn_config_makefile programs/mshta enable_mshta
21168 wine_fn_config_makefile programs/msidb enable_msidb
21169 wine_fn_config_makefile programs/msiexec enable_msiexec
21170 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21171 wine_fn_config_makefile programs/net enable_net
21172 wine_fn_config_makefile programs/netsh enable_netsh
21173 wine_fn_config_makefile programs/netstat enable_netstat
21174 wine_fn_config_makefile programs/ngen enable_ngen
21175 wine_fn_config_makefile programs/notepad enable_notepad
21176 wine_fn_config_makefile programs/oleview enable_oleview
21177 wine_fn_config_makefile programs/ping enable_ping
21178 wine_fn_config_makefile programs/plugplay enable_plugplay
21179 wine_fn_config_makefile programs/powershell enable_powershell
21180 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21181 wine_fn_config_makefile programs/progman enable_progman
21182 wine_fn_config_makefile programs/reg enable_reg
21183 wine_fn_config_makefile programs/reg/tests enable_tests
21184 wine_fn_config_makefile programs/regasm enable_regasm
21185 wine_fn_config_makefile programs/regedit enable_regedit
21186 wine_fn_config_makefile programs/regedit/tests enable_tests
21187 wine_fn_config_makefile programs/regini enable_regini
21188 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21189 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21190 wine_fn_config_makefile programs/rpcss enable_rpcss
21191 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21192 wine_fn_config_makefile programs/rundll32 enable_rundll32
21193 wine_fn_config_makefile programs/sc enable_sc
21194 wine_fn_config_makefile programs/schtasks enable_schtasks
21195 wine_fn_config_makefile programs/schtasks/tests enable_tests
21196 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21197 wine_fn_config_makefile programs/secedit enable_secedit
21198 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21199 wine_fn_config_makefile programs/services enable_services
21200 wine_fn_config_makefile programs/services/tests enable_tests
21201 wine_fn_config_makefile programs/shutdown enable_shutdown
21202 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21203 wine_fn_config_makefile programs/start enable_start
21204 wine_fn_config_makefile programs/subst enable_subst
21205 wine_fn_config_makefile programs/svchost enable_svchost
21206 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21207 wine_fn_config_makefile programs/taskkill enable_taskkill
21208 wine_fn_config_makefile programs/tasklist enable_tasklist
21209 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21210 wine_fn_config_makefile programs/termsv enable_termsv
21211 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21212 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21213 wine_fn_config_makefile programs/view enable_view
21214 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21215 wine_fn_config_makefile programs/whoami enable_whoami
21216 wine_fn_config_makefile programs/wineboot enable_wineboot
21217 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21218 wine_fn_config_makefile programs/winecfg enable_winecfg
21219 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21220 wine_fn_config_makefile programs/winedbg enable_winedbg
21221 wine_fn_config_makefile programs/winedevice enable_winedevice
21222 wine_fn_config_makefile programs/winefile enable_winefile
21223 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21224 wine_fn_config_makefile programs/winemine enable_winemine
21225 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21226 wine_fn_config_makefile programs/winepath enable_winepath
21227 wine_fn_config_makefile programs/winetest enable_winetest
21228 wine_fn_config_makefile programs/winevdm enable_win16
21229 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21230 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21231 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21232 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21233 wine_fn_config_makefile programs/winver enable_winver
21234 wine_fn_config_makefile programs/wmic enable_wmic
21235 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21236 wine_fn_config_makefile programs/wordpad enable_wordpad
21237 wine_fn_config_makefile programs/write enable_write
21238 wine_fn_config_makefile programs/wscript enable_wscript
21239 wine_fn_config_makefile programs/wscript/tests enable_tests
21240 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21241 wine_fn_config_makefile programs/wusa enable_wusa
21242 wine_fn_config_makefile programs/xcopy enable_xcopy
21243 wine_fn_config_makefile programs/xcopy/tests enable_tests
21244 wine_fn_config_makefile server enable_server
21245 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21246 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21247 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21248 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21249 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21250 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21251 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21252 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21253 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21256 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21257 wine_fn_append_file CONFIGURE_TARGETS "tags"
21258 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21259 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21260 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21261 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21262 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21263 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21265 if test "x$enable_tools" != xno
21266 then
21267 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21268 ac_config_commands="$ac_config_commands tools/makedep"
21272 ac_config_commands="$ac_config_commands Makefile"
21275 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21279 if test "x$enable_maintainer_mode" = xyes
21280 then
21281 wine_fn_append_rule "configure: configure.ac aclocal.m4
21282 autoconf --warnings=all
21283 include/config.h.in: include/stamp-h.in
21284 include/stamp-h.in: configure.ac aclocal.m4
21285 autoheader --warnings=all
21286 @echo timestamp > \$@"
21289 if test "x$enable_tools" != xno
21290 then
21291 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21292 @./config.status tools/makedep
21293 Makefile: tools/makedep$ac_exeext
21294 fonts: tools/sfnt2fon
21295 include: tools tools/widl"
21296 else
21297 wine_fn_append_rule "\$(MAKEDEP):
21298 @echo \"You need to run make in $TOOLSDIR first\" && false"
21301 if test -n "$with_wine64"
21302 then
21303 case "$with_wine64" in
21304 /*) reldir="" ;;
21305 *) reldir="../" ;;
21306 esac
21307 rm -f fonts server 2>/dev/null
21308 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21309 loader/wine64 loader/wine64-preloader:
21310 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21311 $with_wine64/loader/wine:
21312 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21313 $with_wine64/loader/wine-preloader:
21314 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21315 clean::
21316 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21317 else
21318 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21319 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21320 fonts \
21321 loader/wine.inf \
21322 loader/winebus.inf \
21323 loader/winehid.inf \
21324 nls \
21325 programs/msidb/msidb \
21326 programs/msiexec/msiexec \
21327 programs/notepad/notepad \
21328 programs/regedit/regedit \
21329 programs/regsvr32/regsvr32 \
21330 programs/wineboot/wineboot \
21331 programs/winecfg/winecfg \
21332 programs/wineconsole/wineconsole \
21333 programs/winedbg/winedbg \
21334 programs/winefile/winefile \
21335 programs/winemine/winemine \
21336 programs/winepath/winepath \
21337 server/wineserver"
21339 case $host_os in
21340 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21341 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21342 esac
21345 $as_echo " done" >&6
21346 cat >confcache <<\_ACEOF
21347 # This file is a shell script that caches the results of configure
21348 # tests run on this system so they can be shared between configure
21349 # scripts and configure runs, see configure's option --config-cache.
21350 # It is not useful on other systems. If it contains results you don't
21351 # want to keep, you may remove or edit it.
21353 # config.status only pays attention to the cache file if you give it
21354 # the --recheck option to rerun configure.
21356 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21357 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21358 # following values.
21360 _ACEOF
21362 # The following way of writing the cache mishandles newlines in values,
21363 # but we know of no workaround that is simple, portable, and efficient.
21364 # So, we kill variables containing newlines.
21365 # Ultrix sh set writes to stderr and can't be redirected directly,
21366 # and sets the high bit in the cache file unless we assign to the vars.
21368 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21369 eval ac_val=\$$ac_var
21370 case $ac_val in #(
21371 *${as_nl}*)
21372 case $ac_var in #(
21373 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21374 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21375 esac
21376 case $ac_var in #(
21377 _ | IFS | as_nl) ;; #(
21378 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21379 *) { eval $ac_var=; unset $ac_var;} ;;
21380 esac ;;
21381 esac
21382 done
21384 (set) 2>&1 |
21385 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21386 *${as_nl}ac_space=\ *)
21387 # `set' does not quote correctly, so add quotes: double-quote
21388 # substitution turns \\\\ into \\, and sed turns \\ into \.
21389 sed -n \
21390 "s/'/'\\\\''/g;
21391 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21392 ;; #(
21394 # `set' quotes correctly as required by POSIX, so do not add quotes.
21395 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21397 esac |
21398 sort
21400 sed '
21401 /^ac_cv_env_/b end
21402 t clear
21403 :clear
21404 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21405 t end
21406 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21407 :end' >>confcache
21408 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21409 if test -w "$cache_file"; then
21410 if test "x$cache_file" != "x/dev/null"; then
21411 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21412 $as_echo "$as_me: updating cache $cache_file" >&6;}
21413 if test ! -f "$cache_file" || test -h "$cache_file"; then
21414 cat confcache >"$cache_file"
21415 else
21416 case $cache_file in #(
21417 */* | ?:*)
21418 mv -f confcache "$cache_file"$$ &&
21419 mv -f "$cache_file"$$ "$cache_file" ;; #(
21421 mv -f confcache "$cache_file" ;;
21422 esac
21425 else
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21427 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21430 rm -f confcache
21432 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21433 # Let make expand exec_prefix.
21434 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21436 DEFS=-DHAVE_CONFIG_H
21438 ac_libobjs=
21439 ac_ltlibobjs=
21441 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21442 # 1. Remove the extension, and $U if already installed.
21443 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21444 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21445 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21446 # will be set to the directory where LIBOBJS objects are built.
21447 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21448 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21449 done
21450 LIBOBJS=$ac_libobjs
21452 LTLIBOBJS=$ac_ltlibobjs
21456 : "${CONFIG_STATUS=./config.status}"
21457 ac_write_fail=0
21458 ac_clean_files_save=$ac_clean_files
21459 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21461 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21462 as_write_fail=0
21463 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21464 #! $SHELL
21465 # Generated by $as_me.
21466 # Run this file to recreate the current configuration.
21467 # Compiler output produced by configure, useful for debugging
21468 # configure, is in config.log if it exists.
21470 debug=false
21471 ac_cs_recheck=false
21472 ac_cs_silent=false
21474 SHELL=\${CONFIG_SHELL-$SHELL}
21475 export SHELL
21476 _ASEOF
21477 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21478 ## -------------------- ##
21479 ## M4sh Initialization. ##
21480 ## -------------------- ##
21482 # Be more Bourne compatible
21483 DUALCASE=1; export DUALCASE # for MKS sh
21484 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21485 emulate sh
21486 NULLCMD=:
21487 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21488 # is contrary to our usage. Disable this feature.
21489 alias -g '${1+"$@"}'='"$@"'
21490 setopt NO_GLOB_SUBST
21491 else
21492 case `(set -o) 2>/dev/null` in #(
21493 *posix*) :
21494 set -o posix ;; #(
21495 *) :
21497 esac
21501 as_nl='
21503 export as_nl
21504 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21505 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21506 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21507 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21508 # Prefer a ksh shell builtin over an external printf program on Solaris,
21509 # but without wasting forks for bash or zsh.
21510 if test -z "$BASH_VERSION$ZSH_VERSION" \
21511 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21512 as_echo='print -r --'
21513 as_echo_n='print -rn --'
21514 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21515 as_echo='printf %s\n'
21516 as_echo_n='printf %s'
21517 else
21518 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21519 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21520 as_echo_n='/usr/ucb/echo -n'
21521 else
21522 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21523 as_echo_n_body='eval
21524 arg=$1;
21525 case $arg in #(
21526 *"$as_nl"*)
21527 expr "X$arg" : "X\\(.*\\)$as_nl";
21528 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21529 esac;
21530 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21532 export as_echo_n_body
21533 as_echo_n='sh -c $as_echo_n_body as_echo'
21535 export as_echo_body
21536 as_echo='sh -c $as_echo_body as_echo'
21539 # The user is always right.
21540 if test "${PATH_SEPARATOR+set}" != set; then
21541 PATH_SEPARATOR=:
21542 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21543 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21544 PATH_SEPARATOR=';'
21549 # IFS
21550 # We need space, tab and new line, in precisely that order. Quoting is
21551 # there to prevent editors from complaining about space-tab.
21552 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21553 # splitting by setting IFS to empty value.)
21554 IFS=" "" $as_nl"
21556 # Find who we are. Look in the path if we contain no directory separator.
21557 as_myself=
21558 case $0 in #((
21559 *[\\/]* ) as_myself=$0 ;;
21560 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21561 for as_dir in $PATH
21563 IFS=$as_save_IFS
21564 test -z "$as_dir" && as_dir=.
21565 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21566 done
21567 IFS=$as_save_IFS
21570 esac
21571 # We did not find ourselves, most probably we were run as `sh COMMAND'
21572 # in which case we are not to be found in the path.
21573 if test "x$as_myself" = x; then
21574 as_myself=$0
21576 if test ! -f "$as_myself"; then
21577 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21578 exit 1
21581 # Unset variables that we do not need and which cause bugs (e.g. in
21582 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21583 # suppresses any "Segmentation fault" message there. '((' could
21584 # trigger a bug in pdksh 5.2.14.
21585 for as_var in BASH_ENV ENV MAIL MAILPATH
21586 do eval test x\${$as_var+set} = xset \
21587 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21588 done
21589 PS1='$ '
21590 PS2='> '
21591 PS4='+ '
21593 # NLS nuisances.
21594 LC_ALL=C
21595 export LC_ALL
21596 LANGUAGE=C
21597 export LANGUAGE
21599 # CDPATH.
21600 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21603 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21604 # ----------------------------------------
21605 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21606 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21607 # script with STATUS, using 1 if that was 0.
21608 as_fn_error ()
21610 as_status=$1; test $as_status -eq 0 && as_status=1
21611 if test "$4"; then
21612 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21613 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21615 $as_echo "$as_me: error: $2" >&2
21616 as_fn_exit $as_status
21617 } # as_fn_error
21620 # as_fn_set_status STATUS
21621 # -----------------------
21622 # Set $? to STATUS, without forking.
21623 as_fn_set_status ()
21625 return $1
21626 } # as_fn_set_status
21628 # as_fn_exit STATUS
21629 # -----------------
21630 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21631 as_fn_exit ()
21633 set +e
21634 as_fn_set_status $1
21635 exit $1
21636 } # as_fn_exit
21638 # as_fn_unset VAR
21639 # ---------------
21640 # Portably unset VAR.
21641 as_fn_unset ()
21643 { eval $1=; unset $1;}
21645 as_unset=as_fn_unset
21646 # as_fn_append VAR VALUE
21647 # ----------------------
21648 # Append the text in VALUE to the end of the definition contained in VAR. Take
21649 # advantage of any shell optimizations that allow amortized linear growth over
21650 # repeated appends, instead of the typical quadratic growth present in naive
21651 # implementations.
21652 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21653 eval 'as_fn_append ()
21655 eval $1+=\$2
21657 else
21658 as_fn_append ()
21660 eval $1=\$$1\$2
21662 fi # as_fn_append
21664 # as_fn_arith ARG...
21665 # ------------------
21666 # Perform arithmetic evaluation on the ARGs, and store the result in the
21667 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21668 # must be portable across $(()) and expr.
21669 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21670 eval 'as_fn_arith ()
21672 as_val=$(( $* ))
21674 else
21675 as_fn_arith ()
21677 as_val=`expr "$@" || test $? -eq 1`
21679 fi # as_fn_arith
21682 if expr a : '\(a\)' >/dev/null 2>&1 &&
21683 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21684 as_expr=expr
21685 else
21686 as_expr=false
21689 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21690 as_basename=basename
21691 else
21692 as_basename=false
21695 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21696 as_dirname=dirname
21697 else
21698 as_dirname=false
21701 as_me=`$as_basename -- "$0" ||
21702 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21703 X"$0" : 'X\(//\)$' \| \
21704 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21705 $as_echo X/"$0" |
21706 sed '/^.*\/\([^/][^/]*\)\/*$/{
21707 s//\1/
21710 /^X\/\(\/\/\)$/{
21711 s//\1/
21714 /^X\/\(\/\).*/{
21715 s//\1/
21718 s/.*/./; q'`
21720 # Avoid depending upon Character Ranges.
21721 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21722 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21723 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21724 as_cr_digits='0123456789'
21725 as_cr_alnum=$as_cr_Letters$as_cr_digits
21727 ECHO_C= ECHO_N= ECHO_T=
21728 case `echo -n x` in #(((((
21729 -n*)
21730 case `echo 'xy\c'` in
21731 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21732 xy) ECHO_C='\c';;
21733 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21734 ECHO_T=' ';;
21735 esac;;
21737 ECHO_N='-n';;
21738 esac
21740 rm -f conf$$ conf$$.exe conf$$.file
21741 if test -d conf$$.dir; then
21742 rm -f conf$$.dir/conf$$.file
21743 else
21744 rm -f conf$$.dir
21745 mkdir conf$$.dir 2>/dev/null
21747 if (echo >conf$$.file) 2>/dev/null; then
21748 if ln -s conf$$.file conf$$ 2>/dev/null; then
21749 as_ln_s='ln -s'
21750 # ... but there are two gotchas:
21751 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21752 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21753 # In both cases, we have to default to `cp -pR'.
21754 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21755 as_ln_s='cp -pR'
21756 elif ln conf$$.file conf$$ 2>/dev/null; then
21757 as_ln_s=ln
21758 else
21759 as_ln_s='cp -pR'
21761 else
21762 as_ln_s='cp -pR'
21764 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21765 rmdir conf$$.dir 2>/dev/null
21768 # as_fn_mkdir_p
21769 # -------------
21770 # Create "$as_dir" as a directory, including parents if necessary.
21771 as_fn_mkdir_p ()
21774 case $as_dir in #(
21775 -*) as_dir=./$as_dir;;
21776 esac
21777 test -d "$as_dir" || eval $as_mkdir_p || {
21778 as_dirs=
21779 while :; do
21780 case $as_dir in #(
21781 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21782 *) as_qdir=$as_dir;;
21783 esac
21784 as_dirs="'$as_qdir' $as_dirs"
21785 as_dir=`$as_dirname -- "$as_dir" ||
21786 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21787 X"$as_dir" : 'X\(//\)[^/]' \| \
21788 X"$as_dir" : 'X\(//\)$' \| \
21789 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21790 $as_echo X"$as_dir" |
21791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21792 s//\1/
21795 /^X\(\/\/\)[^/].*/{
21796 s//\1/
21799 /^X\(\/\/\)$/{
21800 s//\1/
21803 /^X\(\/\).*/{
21804 s//\1/
21807 s/.*/./; q'`
21808 test -d "$as_dir" && break
21809 done
21810 test -z "$as_dirs" || eval "mkdir $as_dirs"
21811 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21814 } # as_fn_mkdir_p
21815 if mkdir -p . 2>/dev/null; then
21816 as_mkdir_p='mkdir -p "$as_dir"'
21817 else
21818 test -d ./-p && rmdir ./-p
21819 as_mkdir_p=false
21823 # as_fn_executable_p FILE
21824 # -----------------------
21825 # Test if FILE is an executable regular file.
21826 as_fn_executable_p ()
21828 test -f "$1" && test -x "$1"
21829 } # as_fn_executable_p
21830 as_test_x='test -x'
21831 as_executable_p=as_fn_executable_p
21833 # Sed expression to map a string onto a valid CPP name.
21834 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21836 # Sed expression to map a string onto a valid variable name.
21837 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21840 exec 6>&1
21841 ## ----------------------------------- ##
21842 ## Main body of $CONFIG_STATUS script. ##
21843 ## ----------------------------------- ##
21844 _ASEOF
21845 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21848 # Save the log message, to keep $0 and so on meaningful, and to
21849 # report actual input values of CONFIG_FILES etc. instead of their
21850 # values after options handling.
21851 ac_log="
21852 This file was extended by Wine $as_me 5.5, which was
21853 generated by GNU Autoconf 2.69. Invocation command line was
21855 CONFIG_FILES = $CONFIG_FILES
21856 CONFIG_HEADERS = $CONFIG_HEADERS
21857 CONFIG_LINKS = $CONFIG_LINKS
21858 CONFIG_COMMANDS = $CONFIG_COMMANDS
21859 $ $0 $@
21861 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21864 _ACEOF
21866 case $ac_config_files in *"
21867 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21868 esac
21870 case $ac_config_headers in *"
21871 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21872 esac
21875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21876 # Files that config.status was made for.
21877 config_files="$ac_config_files"
21878 config_headers="$ac_config_headers"
21879 config_links="$ac_config_links"
21880 config_commands="$ac_config_commands"
21882 _ACEOF
21884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21885 ac_cs_usage="\
21886 \`$as_me' instantiates files and other configuration actions
21887 from templates according to the current configuration. Unless the files
21888 and actions are specified as TAGs, all are instantiated by default.
21890 Usage: $0 [OPTION]... [TAG]...
21892 -h, --help print this help, then exit
21893 -V, --version print version number and configuration settings, then exit
21894 --config print configuration, then exit
21895 -q, --quiet, --silent
21896 do not print progress messages
21897 -d, --debug don't remove temporary files
21898 --recheck update $as_me by reconfiguring in the same conditions
21899 --file=FILE[:TEMPLATE]
21900 instantiate the configuration file FILE
21901 --header=FILE[:TEMPLATE]
21902 instantiate the configuration header FILE
21904 Configuration files:
21905 $config_files
21907 Configuration headers:
21908 $config_headers
21910 Configuration links:
21911 $config_links
21913 Configuration commands:
21914 $config_commands
21916 Report bugs to <wine-devel@winehq.org>.
21917 Wine home page: <https://www.winehq.org>."
21919 _ACEOF
21920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21921 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21922 ac_cs_version="\\
21923 Wine config.status 5.5
21924 configured by $0, generated by GNU Autoconf 2.69,
21925 with options \\"\$ac_cs_config\\"
21927 Copyright (C) 2012 Free Software Foundation, Inc.
21928 This config.status script is free software; the Free Software Foundation
21929 gives unlimited permission to copy, distribute and modify it."
21931 ac_pwd='$ac_pwd'
21932 srcdir='$srcdir'
21933 test -n "\$AWK" || AWK=awk
21934 _ACEOF
21936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21937 # The default lists apply if the user does not specify any file.
21938 ac_need_defaults=:
21939 while test $# != 0
21941 case $1 in
21942 --*=?*)
21943 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21944 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21945 ac_shift=:
21947 --*=)
21948 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21949 ac_optarg=
21950 ac_shift=:
21953 ac_option=$1
21954 ac_optarg=$2
21955 ac_shift=shift
21957 esac
21959 case $ac_option in
21960 # Handling of the options.
21961 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21962 ac_cs_recheck=: ;;
21963 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21964 $as_echo "$ac_cs_version"; exit ;;
21965 --config | --confi | --conf | --con | --co | --c )
21966 $as_echo "$ac_cs_config"; exit ;;
21967 --debug | --debu | --deb | --de | --d | -d )
21968 debug=: ;;
21969 --file | --fil | --fi | --f )
21970 $ac_shift
21971 case $ac_optarg in
21972 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21973 '') as_fn_error $? "missing file argument" ;;
21974 esac
21975 as_fn_append CONFIG_FILES " '$ac_optarg'"
21976 ac_need_defaults=false;;
21977 --header | --heade | --head | --hea )
21978 $ac_shift
21979 case $ac_optarg in
21980 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21981 esac
21982 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21983 ac_need_defaults=false;;
21984 --he | --h)
21985 # Conflict between --help and --header
21986 as_fn_error $? "ambiguous option: \`$1'
21987 Try \`$0 --help' for more information.";;
21988 --help | --hel | -h )
21989 $as_echo "$ac_cs_usage"; exit ;;
21990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21991 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21992 ac_cs_silent=: ;;
21994 # This is an error.
21995 -*) as_fn_error $? "unrecognized option: \`$1'
21996 Try \`$0 --help' for more information." ;;
21998 *) as_fn_append ac_config_targets " $1"
21999 ac_need_defaults=false ;;
22001 esac
22002 shift
22003 done
22005 ac_configure_extra_args=
22007 if $ac_cs_silent; then
22008 exec 6>/dev/null
22009 ac_configure_extra_args="$ac_configure_extra_args --silent"
22012 _ACEOF
22013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22014 if \$ac_cs_recheck; then
22015 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22016 shift
22017 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22018 CONFIG_SHELL='$SHELL'
22019 export CONFIG_SHELL
22020 exec "\$@"
22023 _ACEOF
22024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22025 exec 5>>config.log
22027 echo
22028 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22029 ## Running $as_me. ##
22030 _ASBOX
22031 $as_echo "$ac_log"
22032 } >&5
22034 _ACEOF
22035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22037 # INIT-COMMANDS
22039 wine_fn_output_makedep ()
22041 as_dir=tools; as_fn_mkdir_p
22042 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22044 wine_fn_output_makefile ()
22046 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22047 `cat $wine_rules_file`
22048 _WINE_EOF
22049 as_fn_error $? "could not create Makefile" "$LINENO" 5
22052 _ACEOF
22054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22056 # Handling of arguments.
22057 for ac_config_target in $ac_config_targets
22059 case $ac_config_target in
22060 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22061 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22062 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22063 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22064 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22065 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22066 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22068 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22069 esac
22070 done
22073 # If the user did not use the arguments to specify the items to instantiate,
22074 # then the envvar interface is used. Set only those that are not.
22075 # We use the long form for the default assignment because of an extremely
22076 # bizarre bug on SunOS 4.1.3.
22077 if $ac_need_defaults; then
22078 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22079 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22080 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22081 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22084 # Have a temporary directory for convenience. Make it in the build tree
22085 # simply because there is no reason against having it here, and in addition,
22086 # creating and moving files from /tmp can sometimes cause problems.
22087 # Hook for its removal unless debugging.
22088 # Note that there is a small window in which the directory will not be cleaned:
22089 # after its creation but before its name has been assigned to `$tmp'.
22090 $debug ||
22092 tmp= ac_tmp=
22093 trap 'exit_status=$?
22094 : "${ac_tmp:=$tmp}"
22095 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22097 trap 'as_fn_exit 1' 1 2 13 15
22099 # Create a (secure) tmp directory for tmp files.
22102 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22103 test -d "$tmp"
22104 } ||
22106 tmp=./conf$$-$RANDOM
22107 (umask 077 && mkdir "$tmp")
22108 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22109 ac_tmp=$tmp
22111 # Set up the scripts for CONFIG_FILES section.
22112 # No need to generate them if there are no CONFIG_FILES.
22113 # This happens for instance with `./config.status config.h'.
22114 if test -n "$CONFIG_FILES"; then
22117 ac_cr=`echo X | tr X '\015'`
22118 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22119 # But we know of no other shell where ac_cr would be empty at this
22120 # point, so we can use a bashism as a fallback.
22121 if test "x$ac_cr" = x; then
22122 eval ac_cr=\$\'\\r\'
22124 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22125 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22126 ac_cs_awk_cr='\\r'
22127 else
22128 ac_cs_awk_cr=$ac_cr
22131 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22132 _ACEOF
22136 echo "cat >conf$$subs.awk <<_ACEOF" &&
22137 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22138 echo "_ACEOF"
22139 } >conf$$subs.sh ||
22140 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22141 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22142 ac_delim='%!_!# '
22143 for ac_last_try in false false false false false :; do
22144 . ./conf$$subs.sh ||
22145 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22147 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22148 if test $ac_delim_n = $ac_delim_num; then
22149 break
22150 elif $ac_last_try; then
22151 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22152 else
22153 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22155 done
22156 rm -f conf$$subs.sh
22158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22159 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22160 _ACEOF
22161 sed -n '
22163 s/^/S["/; s/!.*/"]=/
22166 s/^[^!]*!//
22167 :repl
22168 t repl
22169 s/'"$ac_delim"'$//
22170 t delim
22173 s/\(.\{148\}\)..*/\1/
22174 t more1
22175 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22178 b repl
22179 :more1
22180 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22183 s/.\{148\}//
22184 t nl
22185 :delim
22187 s/\(.\{148\}\)..*/\1/
22188 t more2
22189 s/["\\]/\\&/g; s/^/"/; s/$/"/
22192 :more2
22193 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22196 s/.\{148\}//
22197 t delim
22198 ' <conf$$subs.awk | sed '
22199 /^[^""]/{
22201 s/\n//
22203 ' >>$CONFIG_STATUS || ac_write_fail=1
22204 rm -f conf$$subs.awk
22205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22206 _ACAWK
22207 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22208 for (key in S) S_is_set[key] = 1
22209 FS = "\a"
22213 line = $ 0
22214 nfields = split(line, field, "@")
22215 substed = 0
22216 len = length(field[1])
22217 for (i = 2; i < nfields; i++) {
22218 key = field[i]
22219 keylen = length(key)
22220 if (S_is_set[key]) {
22221 value = S[key]
22222 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22223 len += length(value) + length(field[++i])
22224 substed = 1
22225 } else
22226 len += 1 + keylen
22229 print line
22232 _ACAWK
22233 _ACEOF
22234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22235 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22236 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22237 else
22239 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22240 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22241 _ACEOF
22243 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22244 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22245 # trailing colons and then remove the whole line if VPATH becomes empty
22246 # (actually we leave an empty line to preserve line numbers).
22247 if test "x$srcdir" = x.; then
22248 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22250 s///
22251 s/^/:/
22252 s/[ ]*$/:/
22253 s/:\$(srcdir):/:/g
22254 s/:\${srcdir}:/:/g
22255 s/:@srcdir@:/:/g
22256 s/^:*//
22257 s/:*$//
22259 s/\(=[ ]*\).*/\1/
22261 s/\n//
22262 s/^[^=]*=[ ]*$//
22266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22267 fi # test -n "$CONFIG_FILES"
22269 # Set up the scripts for CONFIG_HEADERS section.
22270 # No need to generate them if there are no CONFIG_HEADERS.
22271 # This happens for instance with `./config.status Makefile'.
22272 if test -n "$CONFIG_HEADERS"; then
22273 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22274 BEGIN {
22275 _ACEOF
22277 # Transform confdefs.h into an awk script `defines.awk', embedded as
22278 # here-document in config.status, that substitutes the proper values into
22279 # config.h.in to produce config.h.
22281 # Create a delimiter string that does not exist in confdefs.h, to ease
22282 # handling of long lines.
22283 ac_delim='%!_!# '
22284 for ac_last_try in false false :; do
22285 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22286 if test -z "$ac_tt"; then
22287 break
22288 elif $ac_last_try; then
22289 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22290 else
22291 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22293 done
22295 # For the awk script, D is an array of macro values keyed by name,
22296 # likewise P contains macro parameters if any. Preserve backslash
22297 # newline sequences.
22299 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22300 sed -n '
22301 s/.\{148\}/&'"$ac_delim"'/g
22302 t rset
22303 :rset
22304 s/^[ ]*#[ ]*define[ ][ ]*/ /
22305 t def
22307 :def
22308 s/\\$//
22309 t bsnl
22310 s/["\\]/\\&/g
22311 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22312 D["\1"]=" \3"/p
22313 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22315 :bsnl
22316 s/["\\]/\\&/g
22317 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22318 D["\1"]=" \3\\\\\\n"\\/p
22319 t cont
22320 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22321 t cont
22323 :cont
22325 s/.\{148\}/&'"$ac_delim"'/g
22326 t clear
22327 :clear
22328 s/\\$//
22329 t bsnlc
22330 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22332 :bsnlc
22333 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22334 b cont
22335 ' <confdefs.h | sed '
22336 s/'"$ac_delim"'/"\\\
22337 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22340 for (key in D) D_is_set[key] = 1
22341 FS = "\a"
22343 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22344 line = \$ 0
22345 split(line, arg, " ")
22346 if (arg[1] == "#") {
22347 defundef = arg[2]
22348 mac1 = arg[3]
22349 } else {
22350 defundef = substr(arg[1], 2)
22351 mac1 = arg[2]
22353 split(mac1, mac2, "(") #)
22354 macro = mac2[1]
22355 prefix = substr(line, 1, index(line, defundef) - 1)
22356 if (D_is_set[macro]) {
22357 # Preserve the white space surrounding the "#".
22358 print prefix "define", macro P[macro] D[macro]
22359 next
22360 } else {
22361 # Replace #undef with comments. This is necessary, for example,
22362 # in the case of _POSIX_SOURCE, which is predefined and required
22363 # on some systems where configure will not decide to define it.
22364 if (defundef == "undef") {
22365 print "/*", prefix defundef, macro, "*/"
22366 next
22370 { print }
22371 _ACAWK
22372 _ACEOF
22373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22374 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22375 fi # test -n "$CONFIG_HEADERS"
22378 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22379 shift
22380 for ac_tag
22382 case $ac_tag in
22383 :[FHLC]) ac_mode=$ac_tag; continue;;
22384 esac
22385 case $ac_mode$ac_tag in
22386 :[FHL]*:*);;
22387 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22388 :[FH]-) ac_tag=-:-;;
22389 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22390 esac
22391 ac_save_IFS=$IFS
22392 IFS=:
22393 set x $ac_tag
22394 IFS=$ac_save_IFS
22395 shift
22396 ac_file=$1
22397 shift
22399 case $ac_mode in
22400 :L) ac_source=$1;;
22401 :[FH])
22402 ac_file_inputs=
22403 for ac_f
22405 case $ac_f in
22406 -) ac_f="$ac_tmp/stdin";;
22407 *) # Look for the file first in the build tree, then in the source tree
22408 # (if the path is not absolute). The absolute path cannot be DOS-style,
22409 # because $ac_f cannot contain `:'.
22410 test -f "$ac_f" ||
22411 case $ac_f in
22412 [\\/$]*) false;;
22413 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22414 esac ||
22415 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22416 esac
22417 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22418 as_fn_append ac_file_inputs " '$ac_f'"
22419 done
22421 # Let's still pretend it is `configure' which instantiates (i.e., don't
22422 # use $as_me), people would be surprised to read:
22423 # /* config.h. Generated by config.status. */
22424 configure_input='Generated from '`
22425 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22426 `' by configure.'
22427 if test x"$ac_file" != x-; then
22428 configure_input="$ac_file. $configure_input"
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22430 $as_echo "$as_me: creating $ac_file" >&6;}
22432 # Neutralize special characters interpreted by sed in replacement strings.
22433 case $configure_input in #(
22434 *\&* | *\|* | *\\* )
22435 ac_sed_conf_input=`$as_echo "$configure_input" |
22436 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22437 *) ac_sed_conf_input=$configure_input;;
22438 esac
22440 case $ac_tag in
22441 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22442 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22443 esac
22445 esac
22447 ac_dir=`$as_dirname -- "$ac_file" ||
22448 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22449 X"$ac_file" : 'X\(//\)[^/]' \| \
22450 X"$ac_file" : 'X\(//\)$' \| \
22451 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22452 $as_echo X"$ac_file" |
22453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22454 s//\1/
22457 /^X\(\/\/\)[^/].*/{
22458 s//\1/
22461 /^X\(\/\/\)$/{
22462 s//\1/
22465 /^X\(\/\).*/{
22466 s//\1/
22469 s/.*/./; q'`
22470 as_dir="$ac_dir"; as_fn_mkdir_p
22471 ac_builddir=.
22473 case "$ac_dir" in
22474 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22476 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22477 # A ".." for each directory in $ac_dir_suffix.
22478 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22479 case $ac_top_builddir_sub in
22480 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22481 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22482 esac ;;
22483 esac
22484 ac_abs_top_builddir=$ac_pwd
22485 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22486 # for backward compatibility:
22487 ac_top_builddir=$ac_top_build_prefix
22489 case $srcdir in
22490 .) # We are building in place.
22491 ac_srcdir=.
22492 ac_top_srcdir=$ac_top_builddir_sub
22493 ac_abs_top_srcdir=$ac_pwd ;;
22494 [\\/]* | ?:[\\/]* ) # Absolute name.
22495 ac_srcdir=$srcdir$ac_dir_suffix;
22496 ac_top_srcdir=$srcdir
22497 ac_abs_top_srcdir=$srcdir ;;
22498 *) # Relative name.
22499 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22500 ac_top_srcdir=$ac_top_build_prefix$srcdir
22501 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22502 esac
22503 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22506 case $ac_mode in
22509 # CONFIG_FILE
22512 _ACEOF
22514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22515 # If the template does not know about datarootdir, expand it.
22516 # FIXME: This hack should be removed a few years after 2.60.
22517 ac_datarootdir_hack=; ac_datarootdir_seen=
22518 ac_sed_dataroot='
22519 /datarootdir/ {
22523 /@datadir@/p
22524 /@docdir@/p
22525 /@infodir@/p
22526 /@localedir@/p
22527 /@mandir@/p'
22528 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22529 *datarootdir*) ac_datarootdir_seen=yes;;
22530 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22532 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22533 _ACEOF
22534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22535 ac_datarootdir_hack='
22536 s&@datadir@&$datadir&g
22537 s&@docdir@&$docdir&g
22538 s&@infodir@&$infodir&g
22539 s&@localedir@&$localedir&g
22540 s&@mandir@&$mandir&g
22541 s&\\\${datarootdir}&$datarootdir&g' ;;
22542 esac
22543 _ACEOF
22545 # Neutralize VPATH when `$srcdir' = `.'.
22546 # Shell code in configure.ac might set extrasub.
22547 # FIXME: do we really want to maintain this feature?
22548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22549 ac_sed_extra="$ac_vpsub
22550 $extrasub
22551 _ACEOF
22552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22554 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22555 s|@configure_input@|$ac_sed_conf_input|;t t
22556 s&@top_builddir@&$ac_top_builddir_sub&;t t
22557 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22558 s&@srcdir@&$ac_srcdir&;t t
22559 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22560 s&@top_srcdir@&$ac_top_srcdir&;t t
22561 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22562 s&@builddir@&$ac_builddir&;t t
22563 s&@abs_builddir@&$ac_abs_builddir&;t t
22564 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22565 $ac_datarootdir_hack
22567 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22568 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22570 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22571 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22572 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22573 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22575 which seems to be undefined. Please make sure it is defined" >&5
22576 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22577 which seems to be undefined. Please make sure it is defined" >&2;}
22579 rm -f "$ac_tmp/stdin"
22580 case $ac_file in
22581 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22582 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22583 esac \
22584 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22588 # CONFIG_HEADER
22590 if test x"$ac_file" != x-; then
22592 $as_echo "/* $configure_input */" \
22593 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22594 } >"$ac_tmp/config.h" \
22595 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22596 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22597 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22598 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22599 else
22600 rm -f "$ac_file"
22601 mv "$ac_tmp/config.h" "$ac_file" \
22602 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22604 else
22605 $as_echo "/* $configure_input */" \
22606 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22607 || as_fn_error $? "could not create -" "$LINENO" 5
22612 # CONFIG_LINK
22615 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22617 else
22618 # Prefer the file from the source tree if names are identical.
22619 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22620 ac_source=$srcdir/$ac_source
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22624 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22626 if test ! -r "$ac_source"; then
22627 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22629 rm -f "$ac_file"
22631 # Try a relative symlink, then a hard link, then a copy.
22632 case $ac_source in
22633 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22634 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22635 esac
22636 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22637 ln "$ac_source" "$ac_file" 2>/dev/null ||
22638 cp -p "$ac_source" "$ac_file" ||
22639 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22642 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22643 $as_echo "$as_me: executing $ac_file commands" >&6;}
22645 esac
22648 case $ac_file$ac_mode in
22649 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22650 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22651 "Makefile":C) wine_fn_output_makefile Makefile ;;
22653 esac
22654 done # for ac_tag
22657 as_fn_exit 0
22658 _ACEOF
22659 ac_clean_files=$ac_clean_files_save
22661 test $ac_write_fail = 0 ||
22662 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22665 # configure is writing to config.log, and then calls config.status.
22666 # config.status does its own redirection, appending to config.log.
22667 # Unfortunately, on DOS this fails, as config.log is still kept open
22668 # by configure, so config.status won't be able to write to it; its
22669 # output is simply discarded. So we exec the FD to /dev/null,
22670 # effectively closing config.log, so it can be properly (re)opened and
22671 # appended to by config.status. When coming back to configure, we
22672 # need to make the FD available again.
22673 if test "$no_create" != yes; then
22674 ac_cs_success=:
22675 ac_config_status_args=
22676 test "$silent" = yes &&
22677 ac_config_status_args="$ac_config_status_args --quiet"
22678 exec 5>/dev/null
22679 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22680 exec 5>>config.log
22681 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22682 # would make configure fail if this is the last instruction.
22683 $ac_cs_success || as_fn_exit 1
22685 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22687 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22691 if test "$no_create" = "yes"
22692 then
22693 exit 0
22696 ac_save_IFS="$IFS"
22697 if test "x$wine_notices" != x; then
22698 echo >&6
22699 IFS="|"
22700 for msg in $wine_notices; do
22701 IFS="$ac_save_IFS"
22702 if ${msg:+false} :; then :
22704 else
22705 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22706 $as_echo "$as_me: $msg" >&6;}
22708 done
22710 IFS="|"
22711 for msg in $wine_warnings; do
22712 IFS="$ac_save_IFS"
22713 if ${msg:+false} :; then :
22715 else
22716 echo >&2
22717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22718 $as_echo "$as_me: WARNING: $msg" >&2;}
22720 done
22721 IFS="$ac_save_IFS"
22723 $as_echo "
22724 $as_me: Finished. Do '${ac_make}' to compile Wine.
22725 " >&6