windowscodecs/tests: Add tests for calling WriteSource() without calling SetSize...
[wine.git] / configure
blob8d68b2e4cfa236f83ac58526dbede7da5cfa912c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.16.
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.16'
584 PACKAGE_STRING='Wine 5.16'
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 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_LIBS
636 VKD3D_CFLAGS
637 NETAPI_LIBS
638 NETAPI_CFLAGS
639 PROCSTAT_LIBS
640 KSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 GSSAPI_LIBS
650 GSSAPI_CFLAGS
651 KRB5_LIBS
652 KRB5_CFLAGS
653 FONTCONFIG_LIBS
654 FONTCONFIG_CFLAGS
655 CUPS_LIBS
656 CUPS_CFLAGS
657 CAPI20_LIBS
658 CAPI20_CFLAGS
659 FAUDIO_LIBS
660 FAUDIO_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UNWIND_LIBS
664 UNWIND_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_LIBS
668 OSS4_CFLAGS
669 ALSA_LIBS
670 GSTREAMER_LIBS
671 GSTREAMER_CFLAGS
672 PULSE_LIBS
673 PULSE_CFLAGS
674 GETTEXTPO_LIBS
675 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 USB_LIBS
685 USB_CFLAGS
686 SANE_LIBS
687 SANE_CFLAGS
688 GNUTLS_LIBS
689 GNUTLS_CFLAGS
690 HAL_LIBS
691 HAL_CFLAGS
692 DBUS_LIBS
693 DBUS_CFLAGS
694 INOTIFY_LIBS
695 INOTIFY_CFLAGS
696 XSLT_LIBS
697 XSLT_CFLAGS
698 XML2_LIBS
699 XML2_CFLAGS
700 PCAP_LIBS
701 X_EXTRA_LIBS
702 X_LIBS
703 X_PRE_LIBS
704 X_CFLAGS
705 XMKMF
706 PTHREAD_LIBS
707 EXCESS_PRECISION_CFLAGS
708 CROSSDEBUG
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 DLLFLAGS
755 OPENGL_LIBS
756 I386_LIBS
757 ICOTOOL
758 CONVERT
759 RSVG
760 FONTFORGE
761 PKG_CONFIG
762 MSGFMT
763 LDCONFIG
764 EGREP
765 GREP
766 LN_S
767 RANLIB
768 STRIP
769 ac_ct_AR
771 BISON
772 FLEX
773 TOOLSDIR
774 TARGETFLAGS
776 CPPBIN
777 ac_ct_CXX
778 CXXFLAGS
780 OBJEXT
781 EXEEXT
782 ac_ct_CC
783 CPPFLAGS
784 LDFLAGS
785 CFLAGS
787 SET_MAKE
788 host_os
789 host_vendor
790 host_cpu
791 host
792 build_os
793 build_vendor
794 build_cpu
795 build
796 target_alias
797 host_alias
798 build_alias
799 LIBS
800 ECHO_T
801 ECHO_N
802 ECHO_C
803 DEFS
804 mandir
805 localedir
806 libdir
807 psdir
808 pdfdir
809 dvidir
810 htmldir
811 infodir
812 docdir
813 oldincludedir
814 includedir
815 runstatedir
816 localstatedir
817 sharedstatedir
818 sysconfdir
819 datadir
820 datarootdir
821 libexecdir
822 sbindir
823 bindir
824 program_transform_name
825 prefix
826 exec_prefix
827 PACKAGE_URL
828 PACKAGE_BUGREPORT
829 PACKAGE_STRING
830 PACKAGE_VERSION
831 PACKAGE_TARNAME
832 PACKAGE_NAME
833 PATH_SEPARATOR
834 SHELL'
835 ac_subst_files=''
836 ac_user_opts='
837 enable_option_checking
838 enable_win16
839 enable_win64
840 enable_tests
841 enable_maintainer_mode
842 enable_werror
843 with_alsa
844 with_capi
845 with_cms
846 with_coreaudio
847 with_cups
848 with_curses
849 with_dbus
850 with_faudio
851 with_float_abi
852 with_fontconfig
853 with_freetype
854 with_gettext
855 with_gettextpo
856 with_gphoto
857 with_glu
858 with_gnutls
859 with_gsm
860 with_gssapi
861 with_gstreamer
862 with_hal
863 with_inotify
864 with_jpeg
865 with_krb5
866 with_ldap
867 with_mingw
868 with_mpg123
869 with_netapi
870 with_openal
871 with_opencl
872 with_opengl
873 with_osmesa
874 with_oss
875 with_pcap
876 with_png
877 with_pthread
878 with_pulse
879 with_quicktime
880 with_sane
881 with_sdl
882 with_tiff
883 with_udev
884 with_unwind
885 with_usb
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_wine_tools
903 with_wine64
904 enable_largefile
905 with_x
906 enable_acledit
907 enable_aclui
908 enable_activeds_tlb
909 enable_activeds
910 enable_actxprxy
911 enable_adsiid
912 enable_adsldp
913 enable_adsldpc
914 enable_advapi32
915 enable_advpack
916 enable_amsi
917 enable_amstream
918 enable_api_ms_win_appmodel_identity_l1_1_0
919 enable_api_ms_win_appmodel_runtime_l1_1_1
920 enable_api_ms_win_appmodel_runtime_l1_1_2
921 enable_api_ms_win_core_apiquery_l1_1_0
922 enable_api_ms_win_core_appcompat_l1_1_1
923 enable_api_ms_win_core_appinit_l1_1_0
924 enable_api_ms_win_core_atoms_l1_1_0
925 enable_api_ms_win_core_bem_l1_1_0
926 enable_api_ms_win_core_com_l1_1_0
927 enable_api_ms_win_core_com_l1_1_1
928 enable_api_ms_win_core_com_private_l1_1_0
929 enable_api_ms_win_core_comm_l1_1_0
930 enable_api_ms_win_core_console_l1_1_0
931 enable_api_ms_win_core_console_l2_1_0
932 enable_api_ms_win_core_crt_l1_1_0
933 enable_api_ms_win_core_crt_l2_1_0
934 enable_api_ms_win_core_datetime_l1_1_0
935 enable_api_ms_win_core_datetime_l1_1_1
936 enable_api_ms_win_core_debug_l1_1_0
937 enable_api_ms_win_core_debug_l1_1_1
938 enable_api_ms_win_core_delayload_l1_1_0
939 enable_api_ms_win_core_delayload_l1_1_1
940 enable_api_ms_win_core_errorhandling_l1_1_0
941 enable_api_ms_win_core_errorhandling_l1_1_1
942 enable_api_ms_win_core_errorhandling_l1_1_2
943 enable_api_ms_win_core_errorhandling_l1_1_3
944 enable_api_ms_win_core_fibers_l1_1_0
945 enable_api_ms_win_core_fibers_l1_1_1
946 enable_api_ms_win_core_file_ansi_l2_1_0
947 enable_api_ms_win_core_file_fromapp_l1_1_0
948 enable_api_ms_win_core_file_l1_1_0
949 enable_api_ms_win_core_file_l1_2_0
950 enable_api_ms_win_core_file_l1_2_1
951 enable_api_ms_win_core_file_l1_2_2
952 enable_api_ms_win_core_file_l2_1_0
953 enable_api_ms_win_core_file_l2_1_1
954 enable_api_ms_win_core_file_l2_1_2
955 enable_api_ms_win_core_handle_l1_1_0
956 enable_api_ms_win_core_heap_l1_1_0
957 enable_api_ms_win_core_heap_l1_2_0
958 enable_api_ms_win_core_heap_l2_1_0
959 enable_api_ms_win_core_heap_obsolete_l1_1_0
960 enable_api_ms_win_core_interlocked_l1_1_0
961 enable_api_ms_win_core_interlocked_l1_2_0
962 enable_api_ms_win_core_io_l1_1_0
963 enable_api_ms_win_core_io_l1_1_1
964 enable_api_ms_win_core_job_l1_1_0
965 enable_api_ms_win_core_job_l2_1_0
966 enable_api_ms_win_core_kernel32_legacy_l1_1_0
967 enable_api_ms_win_core_kernel32_legacy_l1_1_1
968 enable_api_ms_win_core_kernel32_private_l1_1_1
969 enable_api_ms_win_core_largeinteger_l1_1_0
970 enable_api_ms_win_core_libraryloader_l1_1_0
971 enable_api_ms_win_core_libraryloader_l1_1_1
972 enable_api_ms_win_core_libraryloader_l1_2_0
973 enable_api_ms_win_core_libraryloader_l1_2_1
974 enable_api_ms_win_core_libraryloader_l1_2_2
975 enable_api_ms_win_core_libraryloader_l2_1_0
976 enable_api_ms_win_core_localization_l1_1_0
977 enable_api_ms_win_core_localization_l1_2_0
978 enable_api_ms_win_core_localization_l1_2_1
979 enable_api_ms_win_core_localization_l1_2_2
980 enable_api_ms_win_core_localization_l2_1_0
981 enable_api_ms_win_core_localization_obsolete_l1_1_0
982 enable_api_ms_win_core_localization_obsolete_l1_2_0
983 enable_api_ms_win_core_localization_obsolete_l1_3_0
984 enable_api_ms_win_core_localization_private_l1_1_0
985 enable_api_ms_win_core_localregistry_l1_1_0
986 enable_api_ms_win_core_memory_l1_1_0
987 enable_api_ms_win_core_memory_l1_1_1
988 enable_api_ms_win_core_memory_l1_1_2
989 enable_api_ms_win_core_memory_l1_1_3
990 enable_api_ms_win_core_memory_l1_1_4
991 enable_api_ms_win_core_misc_l1_1_0
992 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
993 enable_api_ms_win_core_namedpipe_l1_1_0
994 enable_api_ms_win_core_namedpipe_l1_2_0
995 enable_api_ms_win_core_namespace_l1_1_0
996 enable_api_ms_win_core_normalization_l1_1_0
997 enable_api_ms_win_core_path_l1_1_0
998 enable_api_ms_win_core_privateprofile_l1_1_1
999 enable_api_ms_win_core_processenvironment_l1_1_0
1000 enable_api_ms_win_core_processenvironment_l1_2_0
1001 enable_api_ms_win_core_processthreads_l1_1_0
1002 enable_api_ms_win_core_processthreads_l1_1_1
1003 enable_api_ms_win_core_processthreads_l1_1_2
1004 enable_api_ms_win_core_processthreads_l1_1_3
1005 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1006 enable_api_ms_win_core_profile_l1_1_0
1007 enable_api_ms_win_core_psapi_ansi_l1_1_0
1008 enable_api_ms_win_core_psapi_l1_1_0
1009 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1010 enable_api_ms_win_core_quirks_l1_1_0
1011 enable_api_ms_win_core_realtime_l1_1_0
1012 enable_api_ms_win_core_registry_l1_1_0
1013 enable_api_ms_win_core_registry_l2_1_0
1014 enable_api_ms_win_core_registry_l2_2_0
1015 enable_api_ms_win_core_registryuserspecific_l1_1_0
1016 enable_api_ms_win_core_rtlsupport_l1_1_0
1017 enable_api_ms_win_core_rtlsupport_l1_2_0
1018 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1019 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1020 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1021 enable_api_ms_win_core_shutdown_l1_1_0
1022 enable_api_ms_win_core_sidebyside_l1_1_0
1023 enable_api_ms_win_core_string_l1_1_0
1024 enable_api_ms_win_core_string_l2_1_0
1025 enable_api_ms_win_core_string_obsolete_l1_1_0
1026 enable_api_ms_win_core_stringansi_l1_1_0
1027 enable_api_ms_win_core_stringloader_l1_1_1
1028 enable_api_ms_win_core_synch_ansi_l1_1_0
1029 enable_api_ms_win_core_synch_l1_1_0
1030 enable_api_ms_win_core_synch_l1_2_0
1031 enable_api_ms_win_core_synch_l1_2_1
1032 enable_api_ms_win_core_sysinfo_l1_1_0
1033 enable_api_ms_win_core_sysinfo_l1_2_0
1034 enable_api_ms_win_core_sysinfo_l1_2_1
1035 enable_api_ms_win_core_systemtopology_l1_1_0
1036 enable_api_ms_win_core_threadpool_l1_1_0
1037 enable_api_ms_win_core_threadpool_l1_2_0
1038 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1039 enable_api_ms_win_core_threadpool_private_l1_1_0
1040 enable_api_ms_win_core_timezone_l1_1_0
1041 enable_api_ms_win_core_toolhelp_l1_1_0
1042 enable_api_ms_win_core_url_l1_1_0
1043 enable_api_ms_win_core_util_l1_1_0
1044 enable_api_ms_win_core_version_l1_1_0
1045 enable_api_ms_win_core_version_l1_1_1
1046 enable_api_ms_win_core_version_private_l1_1_0
1047 enable_api_ms_win_core_versionansi_l1_1_0
1048 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1049 enable_api_ms_win_core_winrt_error_l1_1_0
1050 enable_api_ms_win_core_winrt_error_l1_1_1
1051 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1052 enable_api_ms_win_core_winrt_l1_1_0
1053 enable_api_ms_win_core_winrt_registration_l1_1_0
1054 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1055 enable_api_ms_win_core_winrt_string_l1_1_0
1056 enable_api_ms_win_core_winrt_string_l1_1_1
1057 enable_api_ms_win_core_wow64_l1_1_0
1058 enable_api_ms_win_core_wow64_l1_1_1
1059 enable_api_ms_win_core_xstate_l1_1_0
1060 enable_api_ms_win_core_xstate_l2_1_0
1061 enable_api_ms_win_crt_conio_l1_1_0
1062 enable_api_ms_win_crt_convert_l1_1_0
1063 enable_api_ms_win_crt_environment_l1_1_0
1064 enable_api_ms_win_crt_filesystem_l1_1_0
1065 enable_api_ms_win_crt_heap_l1_1_0
1066 enable_api_ms_win_crt_locale_l1_1_0
1067 enable_api_ms_win_crt_math_l1_1_0
1068 enable_api_ms_win_crt_multibyte_l1_1_0
1069 enable_api_ms_win_crt_private_l1_1_0
1070 enable_api_ms_win_crt_process_l1_1_0
1071 enable_api_ms_win_crt_runtime_l1_1_0
1072 enable_api_ms_win_crt_stdio_l1_1_0
1073 enable_api_ms_win_crt_string_l1_1_0
1074 enable_api_ms_win_crt_time_l1_1_0
1075 enable_api_ms_win_crt_utility_l1_1_0
1076 enable_api_ms_win_devices_config_l1_1_0
1077 enable_api_ms_win_devices_config_l1_1_1
1078 enable_api_ms_win_devices_query_l1_1_1
1079 enable_api_ms_win_downlevel_advapi32_l1_1_0
1080 enable_api_ms_win_downlevel_advapi32_l2_1_0
1081 enable_api_ms_win_downlevel_kernel32_l2_1_0
1082 enable_api_ms_win_downlevel_normaliz_l1_1_0
1083 enable_api_ms_win_downlevel_ole32_l1_1_0
1084 enable_api_ms_win_downlevel_shell32_l1_1_0
1085 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1086 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1087 enable_api_ms_win_downlevel_user32_l1_1_0
1088 enable_api_ms_win_downlevel_version_l1_1_0
1089 enable_api_ms_win_dx_d3dkmt_l1_1_0
1090 enable_api_ms_win_eventing_classicprovider_l1_1_0
1091 enable_api_ms_win_eventing_consumer_l1_1_0
1092 enable_api_ms_win_eventing_controller_l1_1_0
1093 enable_api_ms_win_eventing_legacy_l1_1_0
1094 enable_api_ms_win_eventing_provider_l1_1_0
1095 enable_api_ms_win_eventlog_legacy_l1_1_0
1096 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1097 enable_api_ms_win_mm_joystick_l1_1_0
1098 enable_api_ms_win_mm_misc_l1_1_1
1099 enable_api_ms_win_mm_mme_l1_1_0
1100 enable_api_ms_win_mm_time_l1_1_0
1101 enable_api_ms_win_ntuser_dc_access_l1_1_0
1102 enable_api_ms_win_ntuser_rectangle_l1_1_0
1103 enable_api_ms_win_ntuser_sysparams_l1_1_0
1104 enable_api_ms_win_perf_legacy_l1_1_0
1105 enable_api_ms_win_power_base_l1_1_0
1106 enable_api_ms_win_power_setting_l1_1_0
1107 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1108 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1110 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1111 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1114 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1115 enable_api_ms_win_security_audit_l1_1_1
1116 enable_api_ms_win_security_base_l1_1_0
1117 enable_api_ms_win_security_base_l1_2_0
1118 enable_api_ms_win_security_base_private_l1_1_1
1119 enable_api_ms_win_security_credentials_l1_1_0
1120 enable_api_ms_win_security_cryptoapi_l1_1_0
1121 enable_api_ms_win_security_grouppolicy_l1_1_0
1122 enable_api_ms_win_security_lsalookup_l1_1_0
1123 enable_api_ms_win_security_lsalookup_l1_1_1
1124 enable_api_ms_win_security_lsalookup_l2_1_0
1125 enable_api_ms_win_security_lsalookup_l2_1_1
1126 enable_api_ms_win_security_lsapolicy_l1_1_0
1127 enable_api_ms_win_security_provider_l1_1_0
1128 enable_api_ms_win_security_sddl_l1_1_0
1129 enable_api_ms_win_security_systemfunctions_l1_1_0
1130 enable_api_ms_win_service_core_l1_1_0
1131 enable_api_ms_win_service_core_l1_1_1
1132 enable_api_ms_win_service_management_l1_1_0
1133 enable_api_ms_win_service_management_l2_1_0
1134 enable_api_ms_win_service_private_l1_1_1
1135 enable_api_ms_win_service_winsvc_l1_1_0
1136 enable_api_ms_win_service_winsvc_l1_2_0
1137 enable_api_ms_win_shcore_obsolete_l1_1_0
1138 enable_api_ms_win_shcore_scaling_l1_1_1
1139 enable_api_ms_win_shcore_stream_l1_1_0
1140 enable_api_ms_win_shcore_thread_l1_1_0
1141 enable_api_ms_win_shell_shellcom_l1_1_0
1142 enable_api_ms_win_shell_shellfolders_l1_1_0
1143 enable_apphelp
1144 enable_appwiz_cpl
1145 enable_atl
1146 enable_atl100
1147 enable_atl110
1148 enable_atl80
1149 enable_atl90
1150 enable_atlthunk
1151 enable_atmlib
1152 enable_authz
1153 enable_avicap32
1154 enable_avifil32
1155 enable_avrt
1156 enable_bcrypt
1157 enable_bluetoothapis
1158 enable_browseui
1159 enable_bthprops_cpl
1160 enable_cabinet
1161 enable_capi2032
1162 enable_cards
1163 enable_cdosys
1164 enable_cfgmgr32
1165 enable_clusapi
1166 enable_combase
1167 enable_comcat
1168 enable_comctl32
1169 enable_comdlg32
1170 enable_compstui
1171 enable_comsvcs
1172 enable_concrt140
1173 enable_connect
1174 enable_credui
1175 enable_crtdll
1176 enable_crypt32
1177 enable_cryptdlg
1178 enable_cryptdll
1179 enable_cryptext
1180 enable_cryptnet
1181 enable_cryptui
1182 enable_ctapi32
1183 enable_ctl3d32
1184 enable_d2d1
1185 enable_d3d10
1186 enable_d3d10_1
1187 enable_d3d10core
1188 enable_d3d11
1189 enable_d3d12
1190 enable_d3d8
1191 enable_d3d9
1192 enable_d3dcompiler_33
1193 enable_d3dcompiler_34
1194 enable_d3dcompiler_35
1195 enable_d3dcompiler_36
1196 enable_d3dcompiler_37
1197 enable_d3dcompiler_38
1198 enable_d3dcompiler_39
1199 enable_d3dcompiler_40
1200 enable_d3dcompiler_41
1201 enable_d3dcompiler_42
1202 enable_d3dcompiler_43
1203 enable_d3dcompiler_46
1204 enable_d3dcompiler_47
1205 enable_d3dim
1206 enable_d3drm
1207 enable_d3dx10_33
1208 enable_d3dx10_34
1209 enable_d3dx10_35
1210 enable_d3dx10_36
1211 enable_d3dx10_37
1212 enable_d3dx10_38
1213 enable_d3dx10_39
1214 enable_d3dx10_40
1215 enable_d3dx10_41
1216 enable_d3dx10_42
1217 enable_d3dx10_43
1218 enable_d3dx11_42
1219 enable_d3dx11_43
1220 enable_d3dx9_24
1221 enable_d3dx9_25
1222 enable_d3dx9_26
1223 enable_d3dx9_27
1224 enable_d3dx9_28
1225 enable_d3dx9_29
1226 enable_d3dx9_30
1227 enable_d3dx9_31
1228 enable_d3dx9_32
1229 enable_d3dx9_33
1230 enable_d3dx9_34
1231 enable_d3dx9_35
1232 enable_d3dx9_36
1233 enable_d3dx9_37
1234 enable_d3dx9_38
1235 enable_d3dx9_39
1236 enable_d3dx9_40
1237 enable_d3dx9_41
1238 enable_d3dx9_42
1239 enable_d3dx9_43
1240 enable_d3dxof
1241 enable_davclnt
1242 enable_dbgeng
1243 enable_dbghelp
1244 enable_dciman32
1245 enable_ddraw
1246 enable_ddrawex
1247 enable_devenum
1248 enable_dhcpcsvc
1249 enable_dhtmled_ocx
1250 enable_difxapi
1251 enable_dinput
1252 enable_dinput8
1253 enable_directmanipulation
1254 enable_dispex
1255 enable_dmband
1256 enable_dmcompos
1257 enable_dmime
1258 enable_dmloader
1259 enable_dmoguids
1260 enable_dmscript
1261 enable_dmstyle
1262 enable_dmsynth
1263 enable_dmusic
1264 enable_dmusic32
1265 enable_dnsapi
1266 enable_dplay
1267 enable_dplayx
1268 enable_dpnaddr
1269 enable_dpnet
1270 enable_dpnhpast
1271 enable_dpnlobby
1272 enable_dpvoice
1273 enable_dpwsockx
1274 enable_drmclien
1275 enable_dsdmo
1276 enable_dsound
1277 enable_dsquery
1278 enable_dssenh
1279 enable_dsuiext
1280 enable_dswave
1281 enable_dwmapi
1282 enable_dwrite
1283 enable_dx8vb
1284 enable_dxdiagn
1285 enable_dxerr8
1286 enable_dxerr9
1287 enable_dxgi
1288 enable_dxguid
1289 enable_dxva2
1290 enable_esent
1291 enable_evr
1292 enable_explorerframe
1293 enable_ext_ms_win_authz_context_l1_1_0
1294 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1295 enable_ext_ms_win_dwmapi_ext_l1_1_0
1296 enable_ext_ms_win_gdi_dc_create_l1_1_0
1297 enable_ext_ms_win_gdi_dc_create_l1_1_1
1298 enable_ext_ms_win_gdi_dc_l1_2_0
1299 enable_ext_ms_win_gdi_devcaps_l1_1_0
1300 enable_ext_ms_win_gdi_draw_l1_1_0
1301 enable_ext_ms_win_gdi_draw_l1_1_1
1302 enable_ext_ms_win_gdi_font_l1_1_0
1303 enable_ext_ms_win_gdi_font_l1_1_1
1304 enable_ext_ms_win_gdi_render_l1_1_0
1305 enable_ext_ms_win_kernel32_package_current_l1_1_0
1306 enable_ext_ms_win_kernel32_package_l1_1_1
1307 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1308 enable_ext_ms_win_ntuser_draw_l1_1_0
1309 enable_ext_ms_win_ntuser_gui_l1_1_0
1310 enable_ext_ms_win_ntuser_gui_l1_3_0
1311 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1312 enable_ext_ms_win_ntuser_message_l1_1_0
1313 enable_ext_ms_win_ntuser_message_l1_1_1
1314 enable_ext_ms_win_ntuser_misc_l1_1_0
1315 enable_ext_ms_win_ntuser_misc_l1_2_0
1316 enable_ext_ms_win_ntuser_misc_l1_5_1
1317 enable_ext_ms_win_ntuser_mouse_l1_1_0
1318 enable_ext_ms_win_ntuser_private_l1_1_1
1319 enable_ext_ms_win_ntuser_private_l1_3_1
1320 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1321 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1322 enable_ext_ms_win_ntuser_window_l1_1_0
1323 enable_ext_ms_win_ntuser_window_l1_1_1
1324 enable_ext_ms_win_ntuser_window_l1_1_4
1325 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1326 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1327 enable_ext_ms_win_oleacc_l1_1_0
1328 enable_ext_ms_win_ras_rasapi32_l1_1_0
1329 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1330 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1331 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1332 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1333 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1334 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1335 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1336 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1337 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1338 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1339 enable_ext_ms_win_security_credui_l1_1_0
1340 enable_ext_ms_win_security_cryptui_l1_1_0
1341 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1342 enable_ext_ms_win_shell_comdlg32_l1_1_0
1343 enable_ext_ms_win_shell_shell32_l1_2_0
1344 enable_ext_ms_win_uxtheme_themes_l1_1_0
1345 enable_faultrep
1346 enable_feclient
1347 enable_fltlib
1348 enable_fltmgr_sys
1349 enable_fntcache
1350 enable_fontsub
1351 enable_fusion
1352 enable_fwpuclnt
1353 enable_gameux
1354 enable_gdi32
1355 enable_gdiplus
1356 enable_glu32
1357 enable_gphoto2_ds
1358 enable_gpkcsp
1359 enable_hal
1360 enable_hhctrl_ocx
1361 enable_hid
1362 enable_hidclass_sys
1363 enable_hlink
1364 enable_hnetcfg
1365 enable_http_sys
1366 enable_httpapi
1367 enable_iccvid
1368 enable_icmp
1369 enable_ieframe
1370 enable_ieproxy
1371 enable_imaadp32_acm
1372 enable_imagehlp
1373 enable_imm32
1374 enable_inetcomm
1375 enable_inetcpl_cpl
1376 enable_inetmib1
1377 enable_infosoft
1378 enable_initpki
1379 enable_inkobj
1380 enable_inseng
1381 enable_iphlpapi
1382 enable_iprop
1383 enable_irprops_cpl
1384 enable_itircl
1385 enable_itss
1386 enable_joy_cpl
1387 enable_jscript
1388 enable_jsproxy
1389 enable_kerberos
1390 enable_kernel32
1391 enable_kernelbase
1392 enable_ksecdd_sys
1393 enable_ksproxy_ax
1394 enable_ksuser
1395 enable_ktmw32
1396 enable_l3codeca_acm
1397 enable_loadperf
1398 enable_localspl
1399 enable_localui
1400 enable_lz32
1401 enable_mapi32
1402 enable_mapistub
1403 enable_mciavi32
1404 enable_mcicda
1405 enable_mciqtz32
1406 enable_mciseq
1407 enable_mciwave
1408 enable_mf
1409 enable_mf3216
1410 enable_mferror
1411 enable_mfmediaengine
1412 enable_mfplat
1413 enable_mfplay
1414 enable_mfreadwrite
1415 enable_mfuuid
1416 enable_mgmtapi
1417 enable_midimap
1418 enable_mlang
1419 enable_mmcndmgr
1420 enable_mmdevapi
1421 enable_mountmgr_sys
1422 enable_mp3dmod
1423 enable_mpr
1424 enable_mprapi
1425 enable_msacm32_drv
1426 enable_msacm32
1427 enable_msado15
1428 enable_msadp32_acm
1429 enable_msasn1
1430 enable_mscat32
1431 enable_mscms
1432 enable_mscoree
1433 enable_mscorwks
1434 enable_msctf
1435 enable_msctfp
1436 enable_msdaps
1437 enable_msdelta
1438 enable_msdmo
1439 enable_msdrm
1440 enable_msftedit
1441 enable_msg711_acm
1442 enable_msgsm32_acm
1443 enable_mshtml_tlb
1444 enable_mshtml
1445 enable_msi
1446 enable_msident
1447 enable_msimg32
1448 enable_msimsg
1449 enable_msimtf
1450 enable_msisip
1451 enable_msisys_ocx
1452 enable_msls31
1453 enable_msnet32
1454 enable_mspatcha
1455 enable_msports
1456 enable_msrle32
1457 enable_msscript_ocx
1458 enable_mssign32
1459 enable_mssip32
1460 enable_mstask
1461 enable_msvcirt
1462 enable_msvcm80
1463 enable_msvcm90
1464 enable_msvcp100
1465 enable_msvcp110
1466 enable_msvcp120
1467 enable_msvcp120_app
1468 enable_msvcp140
1469 enable_msvcp140_1
1470 enable_msvcp60
1471 enable_msvcp70
1472 enable_msvcp71
1473 enable_msvcp80
1474 enable_msvcp90
1475 enable_msvcr100
1476 enable_msvcr110
1477 enable_msvcr120
1478 enable_msvcr120_app
1479 enable_msvcr70
1480 enable_msvcr71
1481 enable_msvcr80
1482 enable_msvcr90
1483 enable_msvcrt
1484 enable_msvcrt20
1485 enable_msvcrt40
1486 enable_msvcrtd
1487 enable_msvfw32
1488 enable_msvidc32
1489 enable_mswsock
1490 enable_msxml
1491 enable_msxml2
1492 enable_msxml3
1493 enable_msxml4
1494 enable_msxml6
1495 enable_mtxdm
1496 enable_ncrypt
1497 enable_nddeapi
1498 enable_ndis_sys
1499 enable_netapi32
1500 enable_netcfgx
1501 enable_netio_sys
1502 enable_netprofm
1503 enable_newdev
1504 enable_ninput
1505 enable_normaliz
1506 enable_npmshtml
1507 enable_npptools
1508 enable_ntdll
1509 enable_ntdsapi
1510 enable_ntoskrnl_exe
1511 enable_ntprint
1512 enable_objsel
1513 enable_odbc32
1514 enable_odbcbcp
1515 enable_odbccp32
1516 enable_odbccu32
1517 enable_ole32
1518 enable_oleacc
1519 enable_oleaut32
1520 enable_olecli32
1521 enable_oledb32
1522 enable_oledlg
1523 enable_olepro32
1524 enable_olesvr32
1525 enable_olethk32
1526 enable_opcservices
1527 enable_openal32
1528 enable_opencl
1529 enable_opengl32
1530 enable_packager
1531 enable_pdh
1532 enable_photometadatahandler
1533 enable_pidgen
1534 enable_powrprof
1535 enable_printui
1536 enable_prntvpt
1537 enable_propsys
1538 enable_psapi
1539 enable_pstorec
1540 enable_pwrshplugin
1541 enable_qasf
1542 enable_qcap
1543 enable_qdvd
1544 enable_qedit
1545 enable_qmgr
1546 enable_qmgrprxy
1547 enable_quartz
1548 enable_query
1549 enable_qwave
1550 enable_rasapi32
1551 enable_rasdlg
1552 enable_regapi
1553 enable_resutils
1554 enable_riched20
1555 enable_riched32
1556 enable_rpcrt4
1557 enable_rsabase
1558 enable_rsaenh
1559 enable_rstrtmgr
1560 enable_rtutils
1561 enable_rtworkq
1562 enable_samlib
1563 enable_sane_ds
1564 enable_sapi
1565 enable_sas
1566 enable_scarddlg
1567 enable_sccbase
1568 enable_schannel
1569 enable_schedsvc
1570 enable_scrobj
1571 enable_scrrun
1572 enable_scsiport_sys
1573 enable_sechost
1574 enable_secur32
1575 enable_security
1576 enable_sensapi
1577 enable_serialui
1578 enable_setupapi
1579 enable_sfc
1580 enable_sfc_os
1581 enable_shcore
1582 enable_shdoclc
1583 enable_shdocvw
1584 enable_shell32
1585 enable_shfolder
1586 enable_shlwapi
1587 enable_slbcsp
1588 enable_slc
1589 enable_snmpapi
1590 enable_softpub
1591 enable_spoolss
1592 enable_srclient
1593 enable_sspicli
1594 enable_stdole2_tlb
1595 enable_stdole32_tlb
1596 enable_sti
1597 enable_strmbase
1598 enable_strmdll
1599 enable_strmiids
1600 enable_svrapi
1601 enable_sxs
1602 enable_t2embed
1603 enable_tapi32
1604 enable_taskschd
1605 enable_tdh
1606 enable_tdi_sys
1607 enable_traffic
1608 enable_twain_32
1609 enable_tzres
1610 enable_ucrtbase
1611 enable_uianimation
1612 enable_uiautomationcore
1613 enable_uiribbon
1614 enable_unicows
1615 enable_updspapi
1616 enable_url
1617 enable_urlmon
1618 enable_usbd_sys
1619 enable_user32
1620 enable_userenv
1621 enable_usp10
1622 enable_utildll
1623 enable_uuid
1624 enable_uxtheme
1625 enable_vbscript
1626 enable_vcomp
1627 enable_vcomp100
1628 enable_vcomp110
1629 enable_vcomp120
1630 enable_vcomp140
1631 enable_vcomp90
1632 enable_vcruntime140
1633 enable_vcruntime140_1
1634 enable_vdmdbg
1635 enable_version
1636 enable_vga
1637 enable_virtdisk
1638 enable_vssapi
1639 enable_vulkan_1
1640 enable_wbemdisp
1641 enable_wbemprox
1642 enable_wbemuuid
1643 enable_wdscore
1644 enable_webservices
1645 enable_wer
1646 enable_wevtapi
1647 enable_wiaservc
1648 enable_wimgapi
1649 enable_windowscodecs
1650 enable_windowscodecsext
1651 enable_winealsa_drv
1652 enable_wineandroid_drv
1653 enable_winebus_sys
1654 enable_winecoreaudio_drv
1655 enable_winecrt0
1656 enable_wined3d
1657 enable_winegstreamer
1658 enable_winehid_sys
1659 enable_winejoystick_drv
1660 enable_winemac_drv
1661 enable_winemapi
1662 enable_wineoss_drv
1663 enable_wineps_drv
1664 enable_winepulse_drv
1665 enable_wineqtdecoder
1666 enable_wineusb_sys
1667 enable_winevulkan
1668 enable_winex11_drv
1669 enable_wing32
1670 enable_winhttp
1671 enable_wininet
1672 enable_winmm
1673 enable_winnls32
1674 enable_winscard
1675 enable_winspool_drv
1676 enable_winsta
1677 enable_wintab32
1678 enable_wintrust
1679 enable_winusb
1680 enable_wlanapi
1681 enable_wlanui
1682 enable_wldap32
1683 enable_wmasf
1684 enable_wmcodecdspuuid
1685 enable_wmi
1686 enable_wmiutils
1687 enable_wmp
1688 enable_wmphoto
1689 enable_wmvcore
1690 enable_wnaspi32
1691 enable_wpc
1692 enable_wpcap
1693 enable_ws2_32
1694 enable_wsdapi
1695 enable_wshom_ocx
1696 enable_wsnmp32
1697 enable_wsock32
1698 enable_wtsapi32
1699 enable_wuapi
1700 enable_wuaueng
1701 enable_x3daudio1_0
1702 enable_x3daudio1_1
1703 enable_x3daudio1_2
1704 enable_x3daudio1_3
1705 enable_x3daudio1_4
1706 enable_x3daudio1_5
1707 enable_x3daudio1_6
1708 enable_x3daudio1_7
1709 enable_xactengine3_0
1710 enable_xactengine3_1
1711 enable_xactengine3_2
1712 enable_xactengine3_3
1713 enable_xactengine3_4
1714 enable_xactengine3_5
1715 enable_xactengine3_6
1716 enable_xactengine3_7
1717 enable_xapofx1_1
1718 enable_xapofx1_2
1719 enable_xapofx1_3
1720 enable_xapofx1_4
1721 enable_xapofx1_5
1722 enable_xaudio2_0
1723 enable_xaudio2_1
1724 enable_xaudio2_2
1725 enable_xaudio2_3
1726 enable_xaudio2_4
1727 enable_xaudio2_5
1728 enable_xaudio2_6
1729 enable_xaudio2_7
1730 enable_xaudio2_8
1731 enable_xaudio2_9
1732 enable_xinput1_1
1733 enable_xinput1_2
1734 enable_xinput1_3
1735 enable_xinput1_4
1736 enable_xinput9_1_0
1737 enable_xmllite
1738 enable_xolehlp
1739 enable_xpsprint
1740 enable_xpssvcs
1741 enable_fonts
1742 enable_include
1743 enable_port
1744 enable_wine
1745 enable_wpp
1746 enable_loader
1747 enable_nls
1748 enable_po
1749 enable_arp
1750 enable_aspnet_regiis
1751 enable_attrib
1752 enable_cabarc
1753 enable_cacls
1754 enable_chcp_com
1755 enable_clock
1756 enable_cmd
1757 enable_conhost
1758 enable_control
1759 enable_cscript
1760 enable_dism
1761 enable_dpnsvr
1762 enable_dxdiag
1763 enable_eject
1764 enable_expand
1765 enable_explorer
1766 enable_extrac32
1767 enable_fc
1768 enable_find
1769 enable_findstr
1770 enable_fsutil
1771 enable_hh
1772 enable_hostname
1773 enable_icacls
1774 enable_icinfo
1775 enable_iexplore
1776 enable_ipconfig
1777 enable_lodctr
1778 enable_mofcomp
1779 enable_mshta
1780 enable_msidb
1781 enable_msiexec
1782 enable_msinfo32
1783 enable_net
1784 enable_netsh
1785 enable_netstat
1786 enable_ngen
1787 enable_notepad
1788 enable_oleview
1789 enable_ping
1790 enable_plugplay
1791 enable_powershell
1792 enable_presentationfontcache
1793 enable_progman
1794 enable_reg
1795 enable_regasm
1796 enable_regedit
1797 enable_regini
1798 enable_regsvcs
1799 enable_regsvr32
1800 enable_rpcss
1801 enable_rundll32
1802 enable_sc
1803 enable_schtasks
1804 enable_sdbinst
1805 enable_secedit
1806 enable_servicemodelreg
1807 enable_services
1808 enable_shutdown
1809 enable_spoolsv
1810 enable_start
1811 enable_subst
1812 enable_svchost
1813 enable_systeminfo
1814 enable_taskkill
1815 enable_tasklist
1816 enable_taskmgr
1817 enable_termsv
1818 enable_uninstaller
1819 enable_unlodctr
1820 enable_view
1821 enable_wevtutil
1822 enable_where
1823 enable_whoami
1824 enable_wineboot
1825 enable_winebrowser
1826 enable_winecfg
1827 enable_wineconsole
1828 enable_winedbg
1829 enable_winedevice
1830 enable_winefile
1831 enable_winemenubuilder
1832 enable_winemine
1833 enable_winemsibuilder
1834 enable_winepath
1835 enable_winetest
1836 enable_winhlp32
1837 enable_winmgmt
1838 enable_winver
1839 enable_wmic
1840 enable_wmplayer
1841 enable_wordpad
1842 enable_write
1843 enable_wscript
1844 enable_wuauserv
1845 enable_wusa
1846 enable_xcopy
1847 enable_server
1848 enable_tools
1849 enable_sfnt2fon
1850 enable_widl
1851 enable_winebuild
1852 enable_winedump
1853 enable_winegcc
1854 enable_winemaker
1855 enable_wmc
1856 enable_wrc
1858 ac_precious_vars='build_alias
1859 host_alias
1860 target_alias
1862 CFLAGS
1863 LDFLAGS
1864 LIBS
1865 CPPFLAGS
1867 CXXFLAGS
1870 OBJC
1871 OBJCFLAGS
1872 OBJCPP
1873 XMKMF
1874 XML2_CFLAGS
1875 XML2_LIBS
1876 XSLT_CFLAGS
1877 XSLT_LIBS
1878 INOTIFY_CFLAGS
1879 INOTIFY_LIBS
1880 DBUS_CFLAGS
1881 DBUS_LIBS
1882 HAL_CFLAGS
1883 HAL_LIBS
1884 GNUTLS_CFLAGS
1885 GNUTLS_LIBS
1886 SANE_CFLAGS
1887 SANE_LIBS
1888 USB_CFLAGS
1889 USB_LIBS
1890 GPHOTO2_CFLAGS
1891 GPHOTO2_LIBS
1892 GPHOTO2_PORT_CFLAGS
1893 GPHOTO2_PORT_LIBS
1894 LCMS2_CFLAGS
1895 LCMS2_LIBS
1896 FREETYPE_CFLAGS
1897 FREETYPE_LIBS
1898 PULSE_CFLAGS
1899 PULSE_LIBS
1900 GSTREAMER_CFLAGS
1901 GSTREAMER_LIBS
1902 UDEV_CFLAGS
1903 UDEV_LIBS
1904 UNWIND_CFLAGS
1905 UNWIND_LIBS
1906 SDL2_CFLAGS
1907 SDL2_LIBS
1908 FAUDIO_CFLAGS
1909 FAUDIO_LIBS
1910 CAPI20_CFLAGS
1911 CAPI20_LIBS
1912 CUPS_CFLAGS
1913 CUPS_LIBS
1914 FONTCONFIG_CFLAGS
1915 FONTCONFIG_LIBS
1916 KRB5_CFLAGS
1917 KRB5_LIBS
1918 GSSAPI_CFLAGS
1919 GSSAPI_LIBS
1920 JPEG_CFLAGS
1921 JPEG_LIBS
1922 PNG_CFLAGS
1923 PNG_LIBS
1924 TIFF_CFLAGS
1925 TIFF_LIBS
1926 MPG123_CFLAGS
1927 MPG123_LIBS
1928 NETAPI_CFLAGS
1929 NETAPI_LIBS
1930 VKD3D_CFLAGS
1931 VKD3D_LIBS
1932 LDAP_CFLAGS
1933 LDAP_LIBS'
1936 # Initialize some variables set by options.
1937 ac_init_help=
1938 ac_init_version=false
1939 ac_unrecognized_opts=
1940 ac_unrecognized_sep=
1941 # The variables have the same names as the options, with
1942 # dashes changed to underlines.
1943 cache_file=/dev/null
1944 exec_prefix=NONE
1945 no_create=
1946 no_recursion=
1947 prefix=NONE
1948 program_prefix=NONE
1949 program_suffix=NONE
1950 program_transform_name=s,x,x,
1951 silent=
1952 site=
1953 srcdir=
1954 verbose=
1955 x_includes=NONE
1956 x_libraries=NONE
1958 # Installation directory options.
1959 # These are left unexpanded so users can "make install exec_prefix=/foo"
1960 # and all the variables that are supposed to be based on exec_prefix
1961 # by default will actually change.
1962 # Use braces instead of parens because sh, perl, etc. also accept them.
1963 # (The list follows the same order as the GNU Coding Standards.)
1964 bindir='${exec_prefix}/bin'
1965 sbindir='${exec_prefix}/sbin'
1966 libexecdir='${exec_prefix}/libexec'
1967 datarootdir='${prefix}/share'
1968 datadir='${datarootdir}'
1969 sysconfdir='${prefix}/etc'
1970 sharedstatedir='${prefix}/com'
1971 localstatedir='${prefix}/var'
1972 runstatedir='${localstatedir}/run'
1973 includedir='${prefix}/include'
1974 oldincludedir='/usr/include'
1975 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1976 infodir='${datarootdir}/info'
1977 htmldir='${docdir}'
1978 dvidir='${docdir}'
1979 pdfdir='${docdir}'
1980 psdir='${docdir}'
1981 libdir='${exec_prefix}/lib'
1982 localedir='${datarootdir}/locale'
1983 mandir='${datarootdir}/man'
1985 ac_prev=
1986 ac_dashdash=
1987 for ac_option
1989 # If the previous option needs an argument, assign it.
1990 if test -n "$ac_prev"; then
1991 eval $ac_prev=\$ac_option
1992 ac_prev=
1993 continue
1996 case $ac_option in
1997 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1998 *=) ac_optarg= ;;
1999 *) ac_optarg=yes ;;
2000 esac
2002 # Accept the important Cygnus configure options, so we can diagnose typos.
2004 case $ac_dashdash$ac_option in
2006 ac_dashdash=yes ;;
2008 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2009 ac_prev=bindir ;;
2010 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2011 bindir=$ac_optarg ;;
2013 -build | --build | --buil | --bui | --bu)
2014 ac_prev=build_alias ;;
2015 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2016 build_alias=$ac_optarg ;;
2018 -cache-file | --cache-file | --cache-fil | --cache-fi \
2019 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2020 ac_prev=cache_file ;;
2021 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2022 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2023 cache_file=$ac_optarg ;;
2025 --config-cache | -C)
2026 cache_file=config.cache ;;
2028 -datadir | --datadir | --datadi | --datad)
2029 ac_prev=datadir ;;
2030 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2031 datadir=$ac_optarg ;;
2033 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2034 | --dataroo | --dataro | --datar)
2035 ac_prev=datarootdir ;;
2036 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2037 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2038 datarootdir=$ac_optarg ;;
2040 -disable-* | --disable-*)
2041 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
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--disable-$ac_useropt_orig"
2052 ac_unrecognized_sep=', ';;
2053 esac
2054 eval enable_$ac_useropt=no ;;
2056 -docdir | --docdir | --docdi | --doc | --do)
2057 ac_prev=docdir ;;
2058 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2059 docdir=$ac_optarg ;;
2061 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2062 ac_prev=dvidir ;;
2063 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2064 dvidir=$ac_optarg ;;
2066 -enable-* | --enable-*)
2067 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2068 # Reject names that are not valid shell variable names.
2069 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2070 as_fn_error $? "invalid feature name: $ac_useropt"
2071 ac_useropt_orig=$ac_useropt
2072 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2073 case $ac_user_opts in
2075 "enable_$ac_useropt"
2076 "*) ;;
2077 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2078 ac_unrecognized_sep=', ';;
2079 esac
2080 eval enable_$ac_useropt=\$ac_optarg ;;
2082 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2083 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2084 | --exec | --exe | --ex)
2085 ac_prev=exec_prefix ;;
2086 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2087 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2088 | --exec=* | --exe=* | --ex=*)
2089 exec_prefix=$ac_optarg ;;
2091 -gas | --gas | --ga | --g)
2092 # Obsolete; use --with-gas.
2093 with_gas=yes ;;
2095 -help | --help | --hel | --he | -h)
2096 ac_init_help=long ;;
2097 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2098 ac_init_help=recursive ;;
2099 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2100 ac_init_help=short ;;
2102 -host | --host | --hos | --ho)
2103 ac_prev=host_alias ;;
2104 -host=* | --host=* | --hos=* | --ho=*)
2105 host_alias=$ac_optarg ;;
2107 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2108 ac_prev=htmldir ;;
2109 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2110 | --ht=*)
2111 htmldir=$ac_optarg ;;
2113 -includedir | --includedir | --includedi | --included | --include \
2114 | --includ | --inclu | --incl | --inc)
2115 ac_prev=includedir ;;
2116 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2117 | --includ=* | --inclu=* | --incl=* | --inc=*)
2118 includedir=$ac_optarg ;;
2120 -infodir | --infodir | --infodi | --infod | --info | --inf)
2121 ac_prev=infodir ;;
2122 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2123 infodir=$ac_optarg ;;
2125 -libdir | --libdir | --libdi | --libd)
2126 ac_prev=libdir ;;
2127 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2128 libdir=$ac_optarg ;;
2130 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2131 | --libexe | --libex | --libe)
2132 ac_prev=libexecdir ;;
2133 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2134 | --libexe=* | --libex=* | --libe=*)
2135 libexecdir=$ac_optarg ;;
2137 -localedir | --localedir | --localedi | --localed | --locale)
2138 ac_prev=localedir ;;
2139 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2140 localedir=$ac_optarg ;;
2142 -localstatedir | --localstatedir | --localstatedi | --localstated \
2143 | --localstate | --localstat | --localsta | --localst | --locals)
2144 ac_prev=localstatedir ;;
2145 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2146 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2147 localstatedir=$ac_optarg ;;
2149 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2150 ac_prev=mandir ;;
2151 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2152 mandir=$ac_optarg ;;
2154 -nfp | --nfp | --nf)
2155 # Obsolete; use --without-fp.
2156 with_fp=no ;;
2158 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2159 | --no-cr | --no-c | -n)
2160 no_create=yes ;;
2162 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2163 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2164 no_recursion=yes ;;
2166 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2167 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2168 | --oldin | --oldi | --old | --ol | --o)
2169 ac_prev=oldincludedir ;;
2170 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2171 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2172 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2173 oldincludedir=$ac_optarg ;;
2175 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2176 ac_prev=prefix ;;
2177 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2178 prefix=$ac_optarg ;;
2180 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2181 | --program-pre | --program-pr | --program-p)
2182 ac_prev=program_prefix ;;
2183 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2184 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2185 program_prefix=$ac_optarg ;;
2187 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2188 | --program-suf | --program-su | --program-s)
2189 ac_prev=program_suffix ;;
2190 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2191 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2192 program_suffix=$ac_optarg ;;
2194 -program-transform-name | --program-transform-name \
2195 | --program-transform-nam | --program-transform-na \
2196 | --program-transform-n | --program-transform- \
2197 | --program-transform | --program-transfor \
2198 | --program-transfo | --program-transf \
2199 | --program-trans | --program-tran \
2200 | --progr-tra | --program-tr | --program-t)
2201 ac_prev=program_transform_name ;;
2202 -program-transform-name=* | --program-transform-name=* \
2203 | --program-transform-nam=* | --program-transform-na=* \
2204 | --program-transform-n=* | --program-transform-=* \
2205 | --program-transform=* | --program-transfor=* \
2206 | --program-transfo=* | --program-transf=* \
2207 | --program-trans=* | --program-tran=* \
2208 | --progr-tra=* | --program-tr=* | --program-t=*)
2209 program_transform_name=$ac_optarg ;;
2211 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2212 ac_prev=pdfdir ;;
2213 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2214 pdfdir=$ac_optarg ;;
2216 -psdir | --psdir | --psdi | --psd | --ps)
2217 ac_prev=psdir ;;
2218 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2219 psdir=$ac_optarg ;;
2221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2222 | -silent | --silent | --silen | --sile | --sil)
2223 silent=yes ;;
2225 -runstatedir | --runstatedir | --runstatedi | --runstated \
2226 | --runstate | --runstat | --runsta | --runst | --runs \
2227 | --run | --ru | --r)
2228 ac_prev=runstatedir ;;
2229 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2230 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2231 | --run=* | --ru=* | --r=*)
2232 runstatedir=$ac_optarg ;;
2234 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2235 ac_prev=sbindir ;;
2236 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2237 | --sbi=* | --sb=*)
2238 sbindir=$ac_optarg ;;
2240 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2241 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2242 | --sharedst | --shareds | --shared | --share | --shar \
2243 | --sha | --sh)
2244 ac_prev=sharedstatedir ;;
2245 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2246 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2247 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2248 | --sha=* | --sh=*)
2249 sharedstatedir=$ac_optarg ;;
2251 -site | --site | --sit)
2252 ac_prev=site ;;
2253 -site=* | --site=* | --sit=*)
2254 site=$ac_optarg ;;
2256 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2257 ac_prev=srcdir ;;
2258 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2259 srcdir=$ac_optarg ;;
2261 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2262 | --syscon | --sysco | --sysc | --sys | --sy)
2263 ac_prev=sysconfdir ;;
2264 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2265 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2266 sysconfdir=$ac_optarg ;;
2268 -target | --target | --targe | --targ | --tar | --ta | --t)
2269 ac_prev=target_alias ;;
2270 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2271 target_alias=$ac_optarg ;;
2273 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2274 verbose=yes ;;
2276 -version | --version | --versio | --versi | --vers | -V)
2277 ac_init_version=: ;;
2279 -with-* | --with-*)
2280 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2281 # Reject names that are not valid shell variable names.
2282 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2283 as_fn_error $? "invalid package name: $ac_useropt"
2284 ac_useropt_orig=$ac_useropt
2285 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2286 case $ac_user_opts in
2288 "with_$ac_useropt"
2289 "*) ;;
2290 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2291 ac_unrecognized_sep=', ';;
2292 esac
2293 eval with_$ac_useropt=\$ac_optarg ;;
2295 -without-* | --without-*)
2296 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2297 # Reject names that are not valid shell variable names.
2298 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2299 as_fn_error $? "invalid package name: $ac_useropt"
2300 ac_useropt_orig=$ac_useropt
2301 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2302 case $ac_user_opts in
2304 "with_$ac_useropt"
2305 "*) ;;
2306 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2307 ac_unrecognized_sep=', ';;
2308 esac
2309 eval with_$ac_useropt=no ;;
2311 --x)
2312 # Obsolete; use --with-x.
2313 with_x=yes ;;
2315 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2316 | --x-incl | --x-inc | --x-in | --x-i)
2317 ac_prev=x_includes ;;
2318 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2319 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2320 x_includes=$ac_optarg ;;
2322 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2323 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2324 ac_prev=x_libraries ;;
2325 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2326 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2327 x_libraries=$ac_optarg ;;
2329 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2330 Try \`$0 --help' for more information"
2333 *=*)
2334 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2335 # Reject names that are not valid shell variable names.
2336 case $ac_envvar in #(
2337 '' | [0-9]* | *[!_$as_cr_alnum]* )
2338 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2339 esac
2340 eval $ac_envvar=\$ac_optarg
2341 export $ac_envvar ;;
2344 # FIXME: should be removed in autoconf 3.0.
2345 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2346 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2347 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2348 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2351 esac
2352 done
2354 if test -n "$ac_prev"; then
2355 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2356 as_fn_error $? "missing argument to $ac_option"
2359 if test -n "$ac_unrecognized_opts"; then
2360 case $enable_option_checking in
2361 no) ;;
2362 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2363 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2364 esac
2367 # Check all directory arguments for consistency.
2368 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2369 datadir sysconfdir sharedstatedir localstatedir includedir \
2370 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2371 libdir localedir mandir runstatedir
2373 eval ac_val=\$$ac_var
2374 # Remove trailing slashes.
2375 case $ac_val in
2376 */ )
2377 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2378 eval $ac_var=\$ac_val;;
2379 esac
2380 # Be sure to have absolute directory names.
2381 case $ac_val in
2382 [\\/$]* | ?:[\\/]* ) continue;;
2383 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2384 esac
2385 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2386 done
2388 # There might be people who depend on the old broken behavior: `$host'
2389 # used to hold the argument of --host etc.
2390 # FIXME: To remove some day.
2391 build=$build_alias
2392 host=$host_alias
2393 target=$target_alias
2395 # FIXME: To remove some day.
2396 if test "x$host_alias" != x; then
2397 if test "x$build_alias" = x; then
2398 cross_compiling=maybe
2399 elif test "x$build_alias" != "x$host_alias"; then
2400 cross_compiling=yes
2404 ac_tool_prefix=
2405 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2407 test "$silent" = yes && exec 6>/dev/null
2410 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2411 ac_ls_di=`ls -di .` &&
2412 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2413 as_fn_error $? "working directory cannot be determined"
2414 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2415 as_fn_error $? "pwd does not report name of working directory"
2418 # Find the source files, if location was not specified.
2419 if test -z "$srcdir"; then
2420 ac_srcdir_defaulted=yes
2421 # Try the directory containing this script, then the parent directory.
2422 ac_confdir=`$as_dirname -- "$as_myself" ||
2423 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2424 X"$as_myself" : 'X\(//\)[^/]' \| \
2425 X"$as_myself" : 'X\(//\)$' \| \
2426 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2427 $as_echo X"$as_myself" |
2428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2429 s//\1/
2432 /^X\(\/\/\)[^/].*/{
2433 s//\1/
2436 /^X\(\/\/\)$/{
2437 s//\1/
2440 /^X\(\/\).*/{
2441 s//\1/
2444 s/.*/./; q'`
2445 srcdir=$ac_confdir
2446 if test ! -r "$srcdir/$ac_unique_file"; then
2447 srcdir=..
2449 else
2450 ac_srcdir_defaulted=no
2452 if test ! -r "$srcdir/$ac_unique_file"; then
2453 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2454 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2456 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2457 ac_abs_confdir=`(
2458 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2459 pwd)`
2460 # When building in place, set srcdir=.
2461 if test "$ac_abs_confdir" = "$ac_pwd"; then
2462 srcdir=.
2464 # Remove unnecessary trailing slashes from srcdir.
2465 # Double slashes in file names in object file debugging info
2466 # mess up M-x gdb in Emacs.
2467 case $srcdir in
2468 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2469 esac
2470 for ac_var in $ac_precious_vars; do
2471 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2472 eval ac_env_${ac_var}_value=\$${ac_var}
2473 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2474 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2475 done
2478 # Report the --help message.
2480 if test "$ac_init_help" = "long"; then
2481 # Omit some internal or obsolete options to make the list less imposing.
2482 # This message is too long to be a string in the A/UX 3.1 sh.
2483 cat <<_ACEOF
2484 \`configure' configures Wine 5.16 to adapt to many kinds of systems.
2486 Usage: $0 [OPTION]... [VAR=VALUE]...
2488 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2489 VAR=VALUE. See below for descriptions of some of the useful variables.
2491 Defaults for the options are specified in brackets.
2493 Configuration:
2494 -h, --help display this help and exit
2495 --help=short display options specific to this package
2496 --help=recursive display the short help of all the included packages
2497 -V, --version display version information and exit
2498 -q, --quiet, --silent do not print \`checking ...' messages
2499 --cache-file=FILE cache test results in FILE [disabled]
2500 -C, --config-cache alias for \`--cache-file=config.cache'
2501 -n, --no-create do not create output files
2502 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2504 Installation directories:
2505 --prefix=PREFIX install architecture-independent files in PREFIX
2506 [$ac_default_prefix]
2507 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2508 [PREFIX]
2510 By default, \`make install' will install all the files in
2511 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2512 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2513 for instance \`--prefix=\$HOME'.
2515 For better control, use the options below.
2517 Fine tuning of the installation directories:
2518 --bindir=DIR user executables [EPREFIX/bin]
2519 --sbindir=DIR system admin executables [EPREFIX/sbin]
2520 --libexecdir=DIR program executables [EPREFIX/libexec]
2521 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2522 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2523 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2524 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2525 --libdir=DIR object code libraries [EPREFIX/lib]
2526 --includedir=DIR C header files [PREFIX/include]
2527 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2528 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2529 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2530 --infodir=DIR info documentation [DATAROOTDIR/info]
2531 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2532 --mandir=DIR man documentation [DATAROOTDIR/man]
2533 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2534 --htmldir=DIR html documentation [DOCDIR]
2535 --dvidir=DIR dvi documentation [DOCDIR]
2536 --pdfdir=DIR pdf documentation [DOCDIR]
2537 --psdir=DIR ps documentation [DOCDIR]
2538 _ACEOF
2540 cat <<\_ACEOF
2542 X features:
2543 --x-includes=DIR X include files are in DIR
2544 --x-libraries=DIR X library files are in DIR
2546 System types:
2547 --build=BUILD configure for building on BUILD [guessed]
2548 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2549 _ACEOF
2552 if test -n "$ac_init_help"; then
2553 case $ac_init_help in
2554 short | recursive ) echo "Configuration of Wine 5.16:";;
2555 esac
2556 cat <<\_ACEOF
2558 Optional Features:
2559 --disable-option-checking ignore unrecognized --enable/--with options
2560 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2561 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2562 --disable-win16 do not include Win16 support
2563 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2564 binaries)
2565 --disable-tests do not build the regression tests
2566 --enable-maintainer-mode
2567 enable maintainer-specific build rules
2568 --enable-werror treat compilation warnings as errors
2569 --disable-largefile omit support for large files
2571 Optional Packages:
2572 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2573 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2574 --without-alsa do not use the Alsa sound support
2575 --without-capi do not use CAPI (ISDN support)
2576 --without-cms do not use CMS (color management support)
2577 --without-coreaudio do not use the CoreAudio sound support
2578 --without-cups do not use CUPS
2579 --without-curses do not use (n)curses
2580 --without-dbus do not use DBus (dynamic device support)
2581 --without-faudio do not use FAudio (XAudio2 support)
2582 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2583 --without-fontconfig do not use fontconfig
2584 --without-freetype do not use the FreeType library
2585 --without-gettext do not use gettext
2586 --with-gettextpo use the GetTextPO library to rebuild po files
2587 --without-gphoto do not use gphoto (Digital Camera support)
2588 --without-glu do not use the GLU library
2589 --without-gnutls do not use GnuTLS (schannel support)
2590 --without-gsm do not use libgsm (GSM 06.10 codec support)
2591 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2592 --without-gstreamer do not use GStreamer (codecs support)
2593 --without-hal do not use HAL (dynamic device support)
2594 --without-inotify do not use inotify (filesystem change notifications)
2595 --without-jpeg do not use JPEG
2596 --without-krb5 do not use krb5 (Kerberos)
2597 --without-ldap do not use LDAP
2598 --without-mingw do not use the MinGW cross-compiler
2599 --without-mpg123 do not use the mpg123 library
2600 --without-netapi do not use the Samba NetAPI library
2601 --without-openal do not use OpenAL
2602 --without-opencl do not use OpenCL
2603 --without-opengl do not use OpenGL
2604 --without-osmesa do not use the OSMesa library
2605 --without-oss do not use the OSS sound support
2606 --without-pcap do not use the Packet Capture library
2607 --without-png do not use PNG
2608 --without-pthread do not use the pthread library
2609 --without-pulse do not use PulseAudio sound support
2610 --without-quicktime do not use QuickTime support
2611 --without-sane do not use SANE (scanner support)
2612 --without-sdl do not use SDL
2613 --without-tiff do not use TIFF
2614 --without-udev do not use udev (plug and play support)
2615 --without-unwind do not use the libunwind library (exception
2616 handling)
2617 --without-usb do not use the libusb library
2618 --without-v4l2 do not use v4l2 (video capture)
2619 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2620 --without-vulkan do not use Vulkan
2621 --without-xcomposite do not use the Xcomposite extension
2622 --without-xcursor do not use the Xcursor extension
2623 --without-xfixes do not use Xfixes for clipboard change notifications
2624 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2625 --without-xinput do not use the Xinput extension
2626 --without-xinput2 do not use the Xinput 2 extension
2627 --without-xml do not use XML
2628 --without-xrandr do not use Xrandr (multi-monitor support)
2629 --without-xrender do not use the Xrender extension
2630 --without-xshape do not use the Xshape extension
2631 --without-xshm do not use XShm (shared memory extension)
2632 --without-xslt do not use XSLT
2633 --without-xxf86vm do not use XFree video mode extension
2634 --with-wine-tools=DIR use Wine tools from directory DIR
2635 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2636 --with-x use the X Window System
2638 Some influential environment variables:
2639 CC C compiler command
2640 CFLAGS C compiler flags
2641 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2642 nonstandard directory <lib dir>
2643 LIBS libraries to pass to the linker, e.g. -l<library>
2644 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2645 you have headers in a nonstandard directory <include dir>
2646 CXX C++ compiler command
2647 CXXFLAGS C++ compiler flags
2648 CPP C preprocessor
2649 OBJC Objective C compiler command
2650 OBJCFLAGS Objective C compiler flags
2651 OBJCPP Objective C preprocessor
2652 XMKMF Path to xmkmf, Makefile generator for X Window System
2653 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2654 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2655 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2656 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2657 INOTIFY_CFLAGS
2658 C compiler flags for libinotify, overriding pkg-config
2659 INOTIFY_LIBS
2660 Linker flags for libinotify, overriding pkg-config
2661 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2662 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2663 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2664 HAL_LIBS Linker flags for hal, overriding pkg-config
2665 GNUTLS_CFLAGS
2666 C compiler flags for gnutls, overriding pkg-config
2667 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2668 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2669 SANE_LIBS Linker flags for libsane, overriding pkg-config
2670 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2671 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2672 GPHOTO2_CFLAGS
2673 C compiler flags for libgphoto2, overriding pkg-config
2674 GPHOTO2_LIBS
2675 Linker flags for libgphoto2, overriding pkg-config
2676 GPHOTO2_PORT_CFLAGS
2677 C compiler flags for libgphoto2_port, overriding pkg-config
2678 GPHOTO2_PORT_LIBS
2679 Linker flags for libgphoto2_port, overriding pkg-config
2680 LCMS2_CFLAGS
2681 C compiler flags for lcms2, overriding pkg-config
2682 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2683 FREETYPE_CFLAGS
2684 C compiler flags for freetype2, overriding pkg-config
2685 FREETYPE_LIBS
2686 Linker flags for freetype2, overriding pkg-config
2687 PULSE_CFLAGS
2688 C compiler flags for libpulse, overriding pkg-config
2689 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2690 GSTREAMER_CFLAGS
2691 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2692 gstreamer-audio-1.0, overriding pkg-config
2693 GSTREAMER_LIBS
2694 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2695 gstreamer-audio-1.0, overriding pkg-config
2696 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2697 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2698 UNWIND_CFLAGS
2699 C compiler flags for libunwind, overriding pkg-config
2700 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2701 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2702 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2703 FAUDIO_CFLAGS
2704 C compiler flags for faudio, overriding pkg-config
2705 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2706 CAPI20_CFLAGS
2707 C compiler flags for capi20, overriding pkg-config
2708 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2709 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2710 CUPS_LIBS Linker flags for cups, overriding pkg-config
2711 FONTCONFIG_CFLAGS
2712 C compiler flags for fontconfig, overriding pkg-config
2713 FONTCONFIG_LIBS
2714 Linker flags for fontconfig, overriding pkg-config
2715 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2716 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2717 GSSAPI_CFLAGS
2718 C compiler flags for krb5-gssapi, overriding pkg-config
2719 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2720 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2721 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2722 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2723 PNG_LIBS Linker flags for libpng, overriding pkg-config
2724 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2725 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2726 MPG123_CFLAGS
2727 C compiler flags for libmpg123, overriding pkg-config
2728 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2729 NETAPI_CFLAGS
2730 C compiler flags for netapi, overriding pkg-config
2731 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2732 VKD3D_CFLAGS
2733 C compiler flags for libvkd3d, overriding pkg-config
2734 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2735 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2736 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2738 Use these variables to override the choices made by `configure' or to help
2739 it to find libraries and programs with nonstandard names/locations.
2741 Report bugs to <wine-devel@winehq.org>.
2742 Wine home page: <https://www.winehq.org>.
2743 _ACEOF
2744 ac_status=$?
2747 if test "$ac_init_help" = "recursive"; then
2748 # If there are subdirs, report their specific --help.
2749 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2750 test -d "$ac_dir" ||
2751 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2752 continue
2753 ac_builddir=.
2755 case "$ac_dir" in
2756 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2758 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2759 # A ".." for each directory in $ac_dir_suffix.
2760 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2761 case $ac_top_builddir_sub in
2762 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2763 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2764 esac ;;
2765 esac
2766 ac_abs_top_builddir=$ac_pwd
2767 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2768 # for backward compatibility:
2769 ac_top_builddir=$ac_top_build_prefix
2771 case $srcdir in
2772 .) # We are building in place.
2773 ac_srcdir=.
2774 ac_top_srcdir=$ac_top_builddir_sub
2775 ac_abs_top_srcdir=$ac_pwd ;;
2776 [\\/]* | ?:[\\/]* ) # Absolute name.
2777 ac_srcdir=$srcdir$ac_dir_suffix;
2778 ac_top_srcdir=$srcdir
2779 ac_abs_top_srcdir=$srcdir ;;
2780 *) # Relative name.
2781 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2782 ac_top_srcdir=$ac_top_build_prefix$srcdir
2783 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2784 esac
2785 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2787 cd "$ac_dir" || { ac_status=$?; continue; }
2788 # Check for guested configure.
2789 if test -f "$ac_srcdir/configure.gnu"; then
2790 echo &&
2791 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2792 elif test -f "$ac_srcdir/configure"; then
2793 echo &&
2794 $SHELL "$ac_srcdir/configure" --help=recursive
2795 else
2796 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2797 fi || ac_status=$?
2798 cd "$ac_pwd" || { ac_status=$?; break; }
2799 done
2802 test -n "$ac_init_help" && exit $ac_status
2803 if $ac_init_version; then
2804 cat <<\_ACEOF
2805 Wine configure 5.16
2806 generated by GNU Autoconf 2.69
2808 Copyright (C) 2012 Free Software Foundation, Inc.
2809 This configure script is free software; the Free Software Foundation
2810 gives unlimited permission to copy, distribute and modify it.
2811 _ACEOF
2812 exit
2815 ## ------------------------ ##
2816 ## Autoconf initialization. ##
2817 ## ------------------------ ##
2819 # ac_fn_c_try_compile LINENO
2820 # --------------------------
2821 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2822 ac_fn_c_try_compile ()
2824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2825 rm -f conftest.$ac_objext
2826 if { { ac_try="$ac_compile"
2827 case "(($ac_try" in
2828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2830 esac
2831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2832 $as_echo "$ac_try_echo"; } >&5
2833 (eval "$ac_compile") 2>conftest.err
2834 ac_status=$?
2835 if test -s conftest.err; then
2836 grep -v '^ *+' conftest.err >conftest.er1
2837 cat conftest.er1 >&5
2838 mv -f conftest.er1 conftest.err
2840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2841 test $ac_status = 0; } && {
2842 test -z "$ac_c_werror_flag" ||
2843 test ! -s conftest.err
2844 } && test -s conftest.$ac_objext; then :
2845 ac_retval=0
2846 else
2847 $as_echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.$ac_ext >&5
2850 ac_retval=1
2852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2853 as_fn_set_status $ac_retval
2855 } # ac_fn_c_try_compile
2857 # ac_fn_cxx_try_compile LINENO
2858 # ----------------------------
2859 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2860 ac_fn_cxx_try_compile ()
2862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2863 rm -f conftest.$ac_objext
2864 if { { ac_try="$ac_compile"
2865 case "(($ac_try" in
2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867 *) ac_try_echo=$ac_try;;
2868 esac
2869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2870 $as_echo "$ac_try_echo"; } >&5
2871 (eval "$ac_compile") 2>conftest.err
2872 ac_status=$?
2873 if test -s conftest.err; then
2874 grep -v '^ *+' conftest.err >conftest.er1
2875 cat conftest.er1 >&5
2876 mv -f conftest.er1 conftest.err
2878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2879 test $ac_status = 0; } && {
2880 test -z "$ac_cxx_werror_flag" ||
2881 test ! -s conftest.err
2882 } && test -s conftest.$ac_objext; then :
2883 ac_retval=0
2884 else
2885 $as_echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.$ac_ext >&5
2888 ac_retval=1
2890 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2891 as_fn_set_status $ac_retval
2893 } # ac_fn_cxx_try_compile
2895 # ac_fn_c_try_link LINENO
2896 # -----------------------
2897 # Try to link conftest.$ac_ext, and return whether this succeeded.
2898 ac_fn_c_try_link ()
2900 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2901 rm -f conftest.$ac_objext conftest$ac_exeext
2902 if { { ac_try="$ac_link"
2903 case "(($ac_try" in
2904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905 *) ac_try_echo=$ac_try;;
2906 esac
2907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2908 $as_echo "$ac_try_echo"; } >&5
2909 (eval "$ac_link") 2>conftest.err
2910 ac_status=$?
2911 if test -s conftest.err; then
2912 grep -v '^ *+' conftest.err >conftest.er1
2913 cat conftest.er1 >&5
2914 mv -f conftest.er1 conftest.err
2916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2917 test $ac_status = 0; } && {
2918 test -z "$ac_c_werror_flag" ||
2919 test ! -s conftest.err
2920 } && test -s conftest$ac_exeext && {
2921 test "$cross_compiling" = yes ||
2922 test -x conftest$ac_exeext
2923 }; then :
2924 ac_retval=0
2925 else
2926 $as_echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2929 ac_retval=1
2931 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2932 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2933 # interfere with the next link command; also delete a directory that is
2934 # left behind by Apple's compiler. We do this before executing the actions.
2935 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2936 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2937 as_fn_set_status $ac_retval
2939 } # ac_fn_c_try_link
2941 # ac_fn_c_try_cpp LINENO
2942 # ----------------------
2943 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2944 ac_fn_c_try_cpp ()
2946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2947 if { { ac_try="$ac_cpp conftest.$ac_ext"
2948 case "(($ac_try" in
2949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2950 *) ac_try_echo=$ac_try;;
2951 esac
2952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2953 $as_echo "$ac_try_echo"; } >&5
2954 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2955 ac_status=$?
2956 if test -s conftest.err; then
2957 grep -v '^ *+' conftest.err >conftest.er1
2958 cat conftest.er1 >&5
2959 mv -f conftest.er1 conftest.err
2961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2962 test $ac_status = 0; } > conftest.i && {
2963 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2964 test ! -s conftest.err
2965 }; then :
2966 ac_retval=0
2967 else
2968 $as_echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2971 ac_retval=1
2973 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2974 as_fn_set_status $ac_retval
2976 } # ac_fn_c_try_cpp
2978 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2979 # -------------------------------------------------------
2980 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2981 # the include files in INCLUDES and setting the cache variable VAR
2982 # accordingly.
2983 ac_fn_c_check_header_mongrel ()
2985 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2986 if eval \${$3+:} false; then :
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2988 $as_echo_n "checking for $2... " >&6; }
2989 if eval \${$3+:} false; then :
2990 $as_echo_n "(cached) " >&6
2992 eval ac_res=\$$3
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2994 $as_echo "$ac_res" >&6; }
2995 else
2996 # Is the header compilable?
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2998 $as_echo_n "checking $2 usability... " >&6; }
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3002 #include <$2>
3003 _ACEOF
3004 if ac_fn_c_try_compile "$LINENO"; then :
3005 ac_header_compiler=yes
3006 else
3007 ac_header_compiler=no
3009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3011 $as_echo "$ac_header_compiler" >&6; }
3013 # Is the header present?
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3015 $as_echo_n "checking $2 presence... " >&6; }
3016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3017 /* end confdefs.h. */
3018 #include <$2>
3019 _ACEOF
3020 if ac_fn_c_try_cpp "$LINENO"; then :
3021 ac_header_preproc=yes
3022 else
3023 ac_header_preproc=no
3025 rm -f conftest.err conftest.i conftest.$ac_ext
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3027 $as_echo "$ac_header_preproc" >&6; }
3029 # So? What about this header?
3030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3031 yes:no: )
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3033 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3035 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3037 no:yes:* )
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3039 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3041 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3043 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3045 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3047 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3048 ( $as_echo "## ------------------------------------ ##
3049 ## Report this to wine-devel@winehq.org ##
3050 ## ------------------------------------ ##"
3051 ) | sed "s/^/$as_me: WARNING: /" >&2
3053 esac
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3055 $as_echo_n "checking for $2... " >&6; }
3056 if eval \${$3+:} false; then :
3057 $as_echo_n "(cached) " >&6
3058 else
3059 eval "$3=\$ac_header_compiler"
3061 eval ac_res=\$$3
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3063 $as_echo "$ac_res" >&6; }
3065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3067 } # ac_fn_c_check_header_mongrel
3069 # ac_fn_c_try_run LINENO
3070 # ----------------------
3071 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3072 # that executables *can* be run.
3073 ac_fn_c_try_run ()
3075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3076 if { { ac_try="$ac_link"
3077 case "(($ac_try" in
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3080 esac
3081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3082 $as_echo "$ac_try_echo"; } >&5
3083 (eval "$ac_link") 2>&5
3084 ac_status=$?
3085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3086 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3087 { { case "(($ac_try" in
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3090 esac
3091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3092 $as_echo "$ac_try_echo"; } >&5
3093 (eval "$ac_try") 2>&5
3094 ac_status=$?
3095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3096 test $ac_status = 0; }; }; then :
3097 ac_retval=0
3098 else
3099 $as_echo "$as_me: program exited with status $ac_status" >&5
3100 $as_echo "$as_me: failed program was:" >&5
3101 sed 's/^/| /' conftest.$ac_ext >&5
3103 ac_retval=$ac_status
3105 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3106 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3107 as_fn_set_status $ac_retval
3109 } # ac_fn_c_try_run
3111 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3112 # -------------------------------------------------------
3113 # Tests whether HEADER exists and can be compiled using the include files in
3114 # INCLUDES, setting the cache variable VAR accordingly.
3115 ac_fn_c_check_header_compile ()
3117 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3119 $as_echo_n "checking for $2... " >&6; }
3120 if eval \${$3+:} false; then :
3121 $as_echo_n "(cached) " >&6
3122 else
3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124 /* end confdefs.h. */
3126 #include <$2>
3127 _ACEOF
3128 if ac_fn_c_try_compile "$LINENO"; then :
3129 eval "$3=yes"
3130 else
3131 eval "$3=no"
3133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3135 eval ac_res=\$$3
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3137 $as_echo "$ac_res" >&6; }
3138 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3140 } # ac_fn_c_check_header_compile
3142 # ac_fn_objc_try_compile LINENO
3143 # -----------------------------
3144 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3145 ac_fn_objc_try_compile ()
3147 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3148 rm -f conftest.$ac_objext
3149 if { { ac_try="$ac_compile"
3150 case "(($ac_try" in
3151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3152 *) ac_try_echo=$ac_try;;
3153 esac
3154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3155 $as_echo "$ac_try_echo"; } >&5
3156 (eval "$ac_compile") 2>conftest.err
3157 ac_status=$?
3158 if test -s conftest.err; then
3159 grep -v '^ *+' conftest.err >conftest.er1
3160 cat conftest.er1 >&5
3161 mv -f conftest.er1 conftest.err
3163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3164 test $ac_status = 0; } && {
3165 test -z "$ac_objc_werror_flag" ||
3166 test ! -s conftest.err
3167 } && test -s conftest.$ac_objext; then :
3168 ac_retval=0
3169 else
3170 $as_echo "$as_me: failed program was:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3173 ac_retval=1
3175 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3176 as_fn_set_status $ac_retval
3178 } # ac_fn_objc_try_compile
3180 # ac_fn_objc_try_cpp LINENO
3181 # -------------------------
3182 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3183 ac_fn_objc_try_cpp ()
3185 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3186 if { { ac_try="$ac_cpp conftest.$ac_ext"
3187 case "(($ac_try" in
3188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3189 *) ac_try_echo=$ac_try;;
3190 esac
3191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3192 $as_echo "$ac_try_echo"; } >&5
3193 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3194 ac_status=$?
3195 if test -s conftest.err; then
3196 grep -v '^ *+' conftest.err >conftest.er1
3197 cat conftest.er1 >&5
3198 mv -f conftest.er1 conftest.err
3200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3201 test $ac_status = 0; } > conftest.i && {
3202 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3203 test ! -s conftest.err
3204 }; then :
3205 ac_retval=0
3206 else
3207 $as_echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3210 ac_retval=1
3212 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3213 as_fn_set_status $ac_retval
3215 } # ac_fn_objc_try_cpp
3217 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3218 # ----------------------------------------------------------
3219 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3220 # the include files in INCLUDES and setting the cache variable VAR
3221 # accordingly.
3222 ac_fn_objc_check_header_mongrel ()
3224 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3225 if eval \${$3+:} false; then :
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3227 $as_echo_n "checking for $2... " >&6; }
3228 if eval \${$3+:} false; then :
3229 $as_echo_n "(cached) " >&6
3231 eval ac_res=\$$3
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3233 $as_echo "$ac_res" >&6; }
3234 else
3235 # Is the header compilable?
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3237 $as_echo_n "checking $2 usability... " >&6; }
3238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3239 /* end confdefs.h. */
3241 #include <$2>
3242 _ACEOF
3243 if ac_fn_objc_try_compile "$LINENO"; then :
3244 ac_header_compiler=yes
3245 else
3246 ac_header_compiler=no
3248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3250 $as_echo "$ac_header_compiler" >&6; }
3252 # Is the header present?
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3254 $as_echo_n "checking $2 presence... " >&6; }
3255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3257 #include <$2>
3258 _ACEOF
3259 if ac_fn_objc_try_cpp "$LINENO"; then :
3260 ac_header_preproc=yes
3261 else
3262 ac_header_preproc=no
3264 rm -f conftest.err conftest.i conftest.$ac_ext
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3266 $as_echo "$ac_header_preproc" >&6; }
3268 # So? What about this header?
3269 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3270 yes:no: )
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3272 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3274 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3276 no:yes:* )
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3278 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3280 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3282 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3284 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3286 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3287 ( $as_echo "## ------------------------------------ ##
3288 ## Report this to wine-devel@winehq.org ##
3289 ## ------------------------------------ ##"
3290 ) | sed "s/^/$as_me: WARNING: /" >&2
3292 esac
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3294 $as_echo_n "checking for $2... " >&6; }
3295 if eval \${$3+:} false; then :
3296 $as_echo_n "(cached) " >&6
3297 else
3298 eval "$3=\$ac_header_compiler"
3300 eval ac_res=\$$3
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3302 $as_echo "$ac_res" >&6; }
3304 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3306 } # ac_fn_objc_check_header_mongrel
3308 # ac_fn_c_check_func LINENO FUNC VAR
3309 # ----------------------------------
3310 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3311 ac_fn_c_check_func ()
3313 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3315 $as_echo_n "checking for $2... " >&6; }
3316 if eval \${$3+:} false; then :
3317 $as_echo_n "(cached) " >&6
3318 else
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3321 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3323 #define $2 innocuous_$2
3325 /* System header to define __stub macros and hopefully few prototypes,
3326 which can conflict with char $2 (); below.
3327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3328 <limits.h> exists even on freestanding compilers. */
3330 #ifdef __STDC__
3331 # include <limits.h>
3332 #else
3333 # include <assert.h>
3334 #endif
3336 #undef $2
3338 /* Override any GCC internal prototype to avoid an error.
3339 Use char because int might match the return type of a GCC
3340 builtin and then its argument prototype would still apply. */
3341 #ifdef __cplusplus
3342 extern "C"
3343 #endif
3344 char $2 ();
3345 /* The GNU C library defines this for functions which it implements
3346 to always fail with ENOSYS. Some functions are actually named
3347 something starting with __ and the normal name is an alias. */
3348 #if defined __stub_$2 || defined __stub___$2
3349 choke me
3350 #endif
3353 main ()
3355 return $2 ();
3357 return 0;
3359 _ACEOF
3360 if ac_fn_c_try_link "$LINENO"; then :
3361 eval "$3=yes"
3362 else
3363 eval "$3=no"
3365 rm -f core conftest.err conftest.$ac_objext \
3366 conftest$ac_exeext conftest.$ac_ext
3368 eval ac_res=\$$3
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3370 $as_echo "$ac_res" >&6; }
3371 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3373 } # ac_fn_c_check_func
3375 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3376 # ----------------------------------------------------
3377 # Tries to find if the field MEMBER exists in type AGGR, after including
3378 # INCLUDES, setting cache variable VAR accordingly.
3379 ac_fn_c_check_member ()
3381 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3383 $as_echo_n "checking for $2.$3... " >&6; }
3384 if eval \${$4+:} false; then :
3385 $as_echo_n "(cached) " >&6
3386 else
3387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3388 /* end confdefs.h. */
3391 main ()
3393 static $2 ac_aggr;
3394 if (ac_aggr.$3)
3395 return 0;
3397 return 0;
3399 _ACEOF
3400 if ac_fn_c_try_compile "$LINENO"; then :
3401 eval "$4=yes"
3402 else
3403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3404 /* end confdefs.h. */
3407 main ()
3409 static $2 ac_aggr;
3410 if (sizeof ac_aggr.$3)
3411 return 0;
3413 return 0;
3415 _ACEOF
3416 if ac_fn_c_try_compile "$LINENO"; then :
3417 eval "$4=yes"
3418 else
3419 eval "$4=no"
3421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 eval ac_res=\$$4
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3427 $as_echo "$ac_res" >&6; }
3428 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3430 } # ac_fn_c_check_member
3432 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3433 # -------------------------------------------
3434 # Tests whether TYPE exists after having included INCLUDES, setting cache
3435 # variable VAR accordingly.
3436 ac_fn_c_check_type ()
3438 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3440 $as_echo_n "checking for $2... " >&6; }
3441 if eval \${$3+:} false; then :
3442 $as_echo_n "(cached) " >&6
3443 else
3444 eval "$3=no"
3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446 /* end confdefs.h. */
3449 main ()
3451 if (sizeof ($2))
3452 return 0;
3454 return 0;
3456 _ACEOF
3457 if ac_fn_c_try_compile "$LINENO"; then :
3458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 /* end confdefs.h. */
3462 main ()
3464 if (sizeof (($2)))
3465 return 0;
3467 return 0;
3469 _ACEOF
3470 if ac_fn_c_try_compile "$LINENO"; then :
3472 else
3473 eval "$3=yes"
3475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3479 eval ac_res=\$$3
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3481 $as_echo "$ac_res" >&6; }
3482 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3484 } # ac_fn_c_check_type
3485 cat >config.log <<_ACEOF
3486 This file contains any messages produced by compilers while
3487 running configure, to aid debugging if configure makes a mistake.
3489 It was created by Wine $as_me 5.16, which was
3490 generated by GNU Autoconf 2.69. Invocation command line was
3492 $ $0 $@
3494 _ACEOF
3495 exec 5>>config.log
3497 cat <<_ASUNAME
3498 ## --------- ##
3499 ## Platform. ##
3500 ## --------- ##
3502 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3503 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3504 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3505 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3506 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3508 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3509 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3511 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3512 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3513 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3514 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3515 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3516 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3517 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3519 _ASUNAME
3521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3522 for as_dir in $PATH
3524 IFS=$as_save_IFS
3525 test -z "$as_dir" && as_dir=.
3526 $as_echo "PATH: $as_dir"
3527 done
3528 IFS=$as_save_IFS
3530 } >&5
3532 cat >&5 <<_ACEOF
3535 ## ----------- ##
3536 ## Core tests. ##
3537 ## ----------- ##
3539 _ACEOF
3542 # Keep a trace of the command line.
3543 # Strip out --no-create and --no-recursion so they do not pile up.
3544 # Strip out --silent because we don't want to record it for future runs.
3545 # Also quote any args containing shell meta-characters.
3546 # Make two passes to allow for proper duplicate-argument suppression.
3547 ac_configure_args=
3548 ac_configure_args0=
3549 ac_configure_args1=
3550 ac_must_keep_next=false
3551 for ac_pass in 1 2
3553 for ac_arg
3555 case $ac_arg in
3556 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3557 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3558 | -silent | --silent | --silen | --sile | --sil)
3559 continue ;;
3560 *\'*)
3561 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3562 esac
3563 case $ac_pass in
3564 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3566 as_fn_append ac_configure_args1 " '$ac_arg'"
3567 if test $ac_must_keep_next = true; then
3568 ac_must_keep_next=false # Got value, back to normal.
3569 else
3570 case $ac_arg in
3571 *=* | --config-cache | -C | -disable-* | --disable-* \
3572 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3573 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3574 | -with-* | --with-* | -without-* | --without-* | --x)
3575 case "$ac_configure_args0 " in
3576 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3577 esac
3579 -* ) ac_must_keep_next=true ;;
3580 esac
3582 as_fn_append ac_configure_args " '$ac_arg'"
3584 esac
3585 done
3586 done
3587 { ac_configure_args0=; unset ac_configure_args0;}
3588 { ac_configure_args1=; unset ac_configure_args1;}
3590 # When interrupted or exit'd, cleanup temporary files, and complete
3591 # config.log. We remove comments because anyway the quotes in there
3592 # would cause problems or look ugly.
3593 # WARNING: Use '\'' to represent an apostrophe within the trap.
3594 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3595 trap 'exit_status=$?
3596 # Save into config.log some information that might help in debugging.
3598 echo
3600 $as_echo "## ---------------- ##
3601 ## Cache variables. ##
3602 ## ---------------- ##"
3603 echo
3604 # The following way of writing the cache mishandles newlines in values,
3606 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3607 eval ac_val=\$$ac_var
3608 case $ac_val in #(
3609 *${as_nl}*)
3610 case $ac_var in #(
3611 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3612 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3613 esac
3614 case $ac_var in #(
3615 _ | IFS | as_nl) ;; #(
3616 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3617 *) { eval $ac_var=; unset $ac_var;} ;;
3618 esac ;;
3619 esac
3620 done
3621 (set) 2>&1 |
3622 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3623 *${as_nl}ac_space=\ *)
3624 sed -n \
3625 "s/'\''/'\''\\\\'\'''\''/g;
3626 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3627 ;; #(
3629 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3631 esac |
3632 sort
3634 echo
3636 $as_echo "## ----------------- ##
3637 ## Output variables. ##
3638 ## ----------------- ##"
3639 echo
3640 for ac_var in $ac_subst_vars
3642 eval ac_val=\$$ac_var
3643 case $ac_val in
3644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3645 esac
3646 $as_echo "$ac_var='\''$ac_val'\''"
3647 done | sort
3648 echo
3650 if test -n "$ac_subst_files"; then
3651 $as_echo "## ------------------- ##
3652 ## File substitutions. ##
3653 ## ------------------- ##"
3654 echo
3655 for ac_var in $ac_subst_files
3657 eval ac_val=\$$ac_var
3658 case $ac_val in
3659 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3660 esac
3661 $as_echo "$ac_var='\''$ac_val'\''"
3662 done | sort
3663 echo
3666 if test -s confdefs.h; then
3667 $as_echo "## ----------- ##
3668 ## confdefs.h. ##
3669 ## ----------- ##"
3670 echo
3671 cat confdefs.h
3672 echo
3674 test "$ac_signal" != 0 &&
3675 $as_echo "$as_me: caught signal $ac_signal"
3676 $as_echo "$as_me: exit $exit_status"
3677 } >&5
3678 rm -f core *.core core.conftest.* &&
3679 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3680 exit $exit_status
3682 for ac_signal in 1 2 13 15; do
3683 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3684 done
3685 ac_signal=0
3687 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3688 rm -f -r conftest* confdefs.h
3690 $as_echo "/* confdefs.h */" > confdefs.h
3692 # Predefined preprocessor variables.
3694 cat >>confdefs.h <<_ACEOF
3695 #define PACKAGE_NAME "$PACKAGE_NAME"
3696 _ACEOF
3698 cat >>confdefs.h <<_ACEOF
3699 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3700 _ACEOF
3702 cat >>confdefs.h <<_ACEOF
3703 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3704 _ACEOF
3706 cat >>confdefs.h <<_ACEOF
3707 #define PACKAGE_STRING "$PACKAGE_STRING"
3708 _ACEOF
3710 cat >>confdefs.h <<_ACEOF
3711 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3712 _ACEOF
3714 cat >>confdefs.h <<_ACEOF
3715 #define PACKAGE_URL "$PACKAGE_URL"
3716 _ACEOF
3719 # Let the site file select an alternate cache file if it wants to.
3720 # Prefer an explicitly selected file to automatically selected ones.
3721 ac_site_file1=NONE
3722 ac_site_file2=NONE
3723 if test -n "$CONFIG_SITE"; then
3724 # We do not want a PATH search for config.site.
3725 case $CONFIG_SITE in #((
3726 -*) ac_site_file1=./$CONFIG_SITE;;
3727 */*) ac_site_file1=$CONFIG_SITE;;
3728 *) ac_site_file1=./$CONFIG_SITE;;
3729 esac
3730 elif test "x$prefix" != xNONE; then
3731 ac_site_file1=$prefix/share/config.site
3732 ac_site_file2=$prefix/etc/config.site
3733 else
3734 ac_site_file1=$ac_default_prefix/share/config.site
3735 ac_site_file2=$ac_default_prefix/etc/config.site
3737 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3739 test "x$ac_site_file" = xNONE && continue
3740 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3742 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3743 sed 's/^/| /' "$ac_site_file" >&5
3744 . "$ac_site_file" \
3745 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3747 as_fn_error $? "failed to load site script $ac_site_file
3748 See \`config.log' for more details" "$LINENO" 5; }
3750 done
3752 if test -r "$cache_file"; then
3753 # Some versions of bash will fail to source /dev/null (special files
3754 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3755 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3757 $as_echo "$as_me: loading cache $cache_file" >&6;}
3758 case $cache_file in
3759 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3760 *) . "./$cache_file";;
3761 esac
3763 else
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3765 $as_echo "$as_me: creating cache $cache_file" >&6;}
3766 >$cache_file
3769 # Check that the precious variables saved in the cache have kept the same
3770 # value.
3771 ac_cache_corrupted=false
3772 for ac_var in $ac_precious_vars; do
3773 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3774 eval ac_new_set=\$ac_env_${ac_var}_set
3775 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3776 eval ac_new_val=\$ac_env_${ac_var}_value
3777 case $ac_old_set,$ac_new_set in
3778 set,)
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3780 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3781 ac_cache_corrupted=: ;;
3782 ,set)
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3784 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3785 ac_cache_corrupted=: ;;
3786 ,);;
3788 if test "x$ac_old_val" != "x$ac_new_val"; then
3789 # differences in whitespace do not lead to failure.
3790 ac_old_val_w=`echo x $ac_old_val`
3791 ac_new_val_w=`echo x $ac_new_val`
3792 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3794 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3795 ac_cache_corrupted=:
3796 else
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3798 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3799 eval $ac_var=\$ac_old_val
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3802 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3804 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3805 fi;;
3806 esac
3807 # Pass precious variables to config.status.
3808 if test "$ac_new_set" = set; then
3809 case $ac_new_val in
3810 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3811 *) ac_arg=$ac_var=$ac_new_val ;;
3812 esac
3813 case " $ac_configure_args " in
3814 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3815 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3816 esac
3818 done
3819 if $ac_cache_corrupted; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3823 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3824 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3826 ## -------------------- ##
3827 ## Main body of script. ##
3828 ## -------------------- ##
3830 ac_ext=c
3831 ac_cpp='$CPP $CPPFLAGS'
3832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3838 ac_config_headers="$ac_config_headers include/config.h"
3840 ac_aux_dir=
3841 for ac_dir in tools "$srcdir"/tools; do
3842 if test -f "$ac_dir/install-sh"; then
3843 ac_aux_dir=$ac_dir
3844 ac_install_sh="$ac_aux_dir/install-sh -c"
3845 break
3846 elif test -f "$ac_dir/install.sh"; then
3847 ac_aux_dir=$ac_dir
3848 ac_install_sh="$ac_aux_dir/install.sh -c"
3849 break
3850 elif test -f "$ac_dir/shtool"; then
3851 ac_aux_dir=$ac_dir
3852 ac_install_sh="$ac_aux_dir/shtool install -c"
3853 break
3855 done
3856 if test -z "$ac_aux_dir"; then
3857 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3860 # These three variables are undocumented and unsupported,
3861 # and are intended to be withdrawn in a future Autoconf release.
3862 # They can cause serious problems if a builder's source tree is in a directory
3863 # whose full name contains unusual characters.
3864 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3865 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3866 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3870 libwine_version="1.0"
3874 # Check whether --enable-win16 was given.
3875 if test "${enable_win16+set}" = set; then :
3876 enableval=$enable_win16;
3879 # Check whether --enable-win64 was given.
3880 if test "${enable_win64+set}" = set; then :
3881 enableval=$enable_win64;
3884 # Check whether --enable-tests was given.
3885 if test "${enable_tests+set}" = set; then :
3886 enableval=$enable_tests;
3889 # Check whether --enable-maintainer-mode was given.
3890 if test "${enable_maintainer_mode+set}" = set; then :
3891 enableval=$enable_maintainer_mode;
3894 # Check whether --enable-werror was given.
3895 if test "${enable_werror+set}" = set; then :
3896 enableval=$enable_werror;
3901 # Check whether --with-alsa was given.
3902 if test "${with_alsa+set}" = set; then :
3903 withval=$with_alsa;
3907 # Check whether --with-capi was given.
3908 if test "${with_capi+set}" = set; then :
3909 withval=$with_capi;
3913 # Check whether --with-cms was given.
3914 if test "${with_cms+set}" = set; then :
3915 withval=$with_cms;
3919 # Check whether --with-coreaudio was given.
3920 if test "${with_coreaudio+set}" = set; then :
3921 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3925 # Check whether --with-cups was given.
3926 if test "${with_cups+set}" = set; then :
3927 withval=$with_cups;
3931 # Check whether --with-curses was given.
3932 if test "${with_curses+set}" = set; then :
3933 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3937 # Check whether --with-dbus was given.
3938 if test "${with_dbus+set}" = set; then :
3939 withval=$with_dbus;
3943 # Check whether --with-faudio was given.
3944 if test "${with_faudio+set}" = set; then :
3945 withval=$with_faudio;
3949 # Check whether --with-float-abi was given.
3950 if test "${with_float_abi+set}" = set; then :
3951 withval=$with_float_abi;
3955 # Check whether --with-fontconfig was given.
3956 if test "${with_fontconfig+set}" = set; then :
3957 withval=$with_fontconfig;
3961 # Check whether --with-freetype was given.
3962 if test "${with_freetype+set}" = set; then :
3963 withval=$with_freetype;
3967 # Check whether --with-gettext was given.
3968 if test "${with_gettext+set}" = set; then :
3969 withval=$with_gettext;
3973 # Check whether --with-gettextpo was given.
3974 if test "${with_gettextpo+set}" = set; then :
3975 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3979 # Check whether --with-gphoto was given.
3980 if test "${with_gphoto+set}" = set; then :
3981 withval=$with_gphoto;
3985 # Check whether --with-glu was given.
3986 if test "${with_glu+set}" = set; then :
3987 withval=$with_glu;
3991 # Check whether --with-gnutls was given.
3992 if test "${with_gnutls+set}" = set; then :
3993 withval=$with_gnutls;
3997 # Check whether --with-gsm was given.
3998 if test "${with_gsm+set}" = set; then :
3999 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4003 # Check whether --with-gssapi was given.
4004 if test "${with_gssapi+set}" = set; then :
4005 withval=$with_gssapi;
4009 # Check whether --with-gstreamer was given.
4010 if test "${with_gstreamer+set}" = set; then :
4011 withval=$with_gstreamer;
4015 # Check whether --with-hal was given.
4016 if test "${with_hal+set}" = set; then :
4017 withval=$with_hal;
4021 # Check whether --with-inotify was given.
4022 if test "${with_inotify+set}" = set; then :
4023 withval=$with_inotify;
4027 # Check whether --with-jpeg was given.
4028 if test "${with_jpeg+set}" = set; then :
4029 withval=$with_jpeg;
4033 # Check whether --with-krb5 was given.
4034 if test "${with_krb5+set}" = set; then :
4035 withval=$with_krb5;
4039 # Check whether --with-ldap was given.
4040 if test "${with_ldap+set}" = set; then :
4041 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4045 # Check whether --with-mingw was given.
4046 if test "${with_mingw+set}" = set; then :
4047 withval=$with_mingw;
4051 # Check whether --with-mpg123 was given.
4052 if test "${with_mpg123+set}" = set; then :
4053 withval=$with_mpg123;
4057 # Check whether --with-netapi was given.
4058 if test "${with_netapi+set}" = set; then :
4059 withval=$with_netapi;
4063 # Check whether --with-openal was given.
4064 if test "${with_openal+set}" = set; then :
4065 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4069 # Check whether --with-opencl was given.
4070 if test "${with_opencl+set}" = set; then :
4071 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4075 # Check whether --with-opengl was given.
4076 if test "${with_opengl+set}" = set; then :
4077 withval=$with_opengl;
4081 # Check whether --with-osmesa was given.
4082 if test "${with_osmesa+set}" = set; then :
4083 withval=$with_osmesa;
4087 # Check whether --with-oss was given.
4088 if test "${with_oss+set}" = set; then :
4089 withval=$with_oss;
4093 # Check whether --with-pcap was given.
4094 if test "${with_pcap+set}" = set; then :
4095 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4099 # Check whether --with-png was given.
4100 if test "${with_png+set}" = set; then :
4101 withval=$with_png;
4105 # Check whether --with-pthread was given.
4106 if test "${with_pthread+set}" = set; then :
4107 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4111 # Check whether --with-pulse was given.
4112 if test "${with_pulse+set}" = set; then :
4113 withval=$with_pulse;
4117 # Check whether --with-quicktime was given.
4118 if test "${with_quicktime+set}" = set; then :
4119 withval=$with_quicktime;
4123 # Check whether --with-sane was given.
4124 if test "${with_sane+set}" = set; then :
4125 withval=$with_sane;
4129 # Check whether --with-sdl was given.
4130 if test "${with_sdl+set}" = set; then :
4131 withval=$with_sdl;
4135 # Check whether --with-tiff was given.
4136 if test "${with_tiff+set}" = set; then :
4137 withval=$with_tiff;
4141 # Check whether --with-udev was given.
4142 if test "${with_udev+set}" = set; then :
4143 withval=$with_udev;
4147 # Check whether --with-unwind was given.
4148 if test "${with_unwind+set}" = set; then :
4149 withval=$with_unwind;
4153 # Check whether --with-usb was given.
4154 if test "${with_usb+set}" = set; then :
4155 withval=$with_usb;
4159 # Check whether --with-v4l2 was given.
4160 if test "${with_v4l2+set}" = set; then :
4161 withval=$with_v4l2;
4165 # Check whether --with-vkd3d was given.
4166 if test "${with_vkd3d+set}" = set; then :
4167 withval=$with_vkd3d;
4171 # Check whether --with-vulkan was given.
4172 if test "${with_vulkan+set}" = set; then :
4173 withval=$with_vulkan;
4177 # Check whether --with-xcomposite was given.
4178 if test "${with_xcomposite+set}" = set; then :
4179 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4183 # Check whether --with-xcursor was given.
4184 if test "${with_xcursor+set}" = set; then :
4185 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4189 # Check whether --with-xfixes was given.
4190 if test "${with_xfixes+set}" = set; then :
4191 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4195 # Check whether --with-xinerama was given.
4196 if test "${with_xinerama+set}" = set; then :
4197 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4201 # Check whether --with-xinput was given.
4202 if test "${with_xinput+set}" = set; then :
4203 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4207 # Check whether --with-xinput2 was given.
4208 if test "${with_xinput2+set}" = set; then :
4209 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4213 # Check whether --with-xml was given.
4214 if test "${with_xml+set}" = set; then :
4215 withval=$with_xml;
4219 # Check whether --with-xrandr was given.
4220 if test "${with_xrandr+set}" = set; then :
4221 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4225 # Check whether --with-xrender was given.
4226 if test "${with_xrender+set}" = set; then :
4227 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4231 # Check whether --with-xshape was given.
4232 if test "${with_xshape+set}" = set; then :
4233 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4237 # Check whether --with-xshm was given.
4238 if test "${with_xshm+set}" = set; then :
4239 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4243 # Check whether --with-xslt was given.
4244 if test "${with_xslt+set}" = set; then :
4245 withval=$with_xslt;
4249 # Check whether --with-xxf86vm was given.
4250 if test "${with_xxf86vm+set}" = set; then :
4251 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
4256 # Check whether --with-wine-tools was given.
4257 if test "${with_wine_tools+set}" = set; then :
4258 withval=$with_wine_tools;
4262 # Check whether --with-wine64 was given.
4263 if test "${with_wine64+set}" = set; then :
4264 withval=$with_wine64;
4268 # Make sure we can run config.sub.
4269 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4270 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4273 $as_echo_n "checking build system type... " >&6; }
4274 if ${ac_cv_build+:} false; then :
4275 $as_echo_n "(cached) " >&6
4276 else
4277 ac_build_alias=$build_alias
4278 test "x$ac_build_alias" = x &&
4279 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4280 test "x$ac_build_alias" = x &&
4281 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4282 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4283 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4287 $as_echo "$ac_cv_build" >&6; }
4288 case $ac_cv_build in
4289 *-*-*) ;;
4290 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4291 esac
4292 build=$ac_cv_build
4293 ac_save_IFS=$IFS; IFS='-'
4294 set x $ac_cv_build
4295 shift
4296 build_cpu=$1
4297 build_vendor=$2
4298 shift; shift
4299 # Remember, the first character of IFS is used to create $*,
4300 # except with old shells:
4301 build_os=$*
4302 IFS=$ac_save_IFS
4303 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4307 $as_echo_n "checking host system type... " >&6; }
4308 if ${ac_cv_host+:} false; then :
4309 $as_echo_n "(cached) " >&6
4310 else
4311 if test "x$host_alias" = x; then
4312 ac_cv_host=$ac_cv_build
4313 else
4314 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4315 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4320 $as_echo "$ac_cv_host" >&6; }
4321 case $ac_cv_host in
4322 *-*-*) ;;
4323 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4324 esac
4325 host=$ac_cv_host
4326 ac_save_IFS=$IFS; IFS='-'
4327 set x $ac_cv_host
4328 shift
4329 host_cpu=$1
4330 host_vendor=$2
4331 shift; shift
4332 # Remember, the first character of IFS is used to create $*,
4333 # except with old shells:
4334 host_os=$*
4335 IFS=$ac_save_IFS
4336 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4342 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4343 set x ${MAKE-make}
4344 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4345 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4346 $as_echo_n "(cached) " >&6
4347 else
4348 cat >conftest.make <<\_ACEOF
4349 SHELL = /bin/sh
4350 all:
4351 @echo '@@@%%%=$(MAKE)=@@@%%%'
4352 _ACEOF
4353 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4354 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4355 *@@@%%%=?*=@@@%%%*)
4356 eval ac_cv_prog_make_${ac_make}_set=yes;;
4358 eval ac_cv_prog_make_${ac_make}_set=no;;
4359 esac
4360 rm -f conftest.make
4362 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4364 $as_echo "yes" >&6; }
4365 SET_MAKE=
4366 else
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4369 SET_MAKE="MAKE=${MAKE-make}"
4372 ac_ext=c
4373 ac_cpp='$CPP $CPPFLAGS'
4374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4377 if test -n "$ac_tool_prefix"; then
4378 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4379 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4381 $as_echo_n "checking for $ac_word... " >&6; }
4382 if ${ac_cv_prog_CC+:} false; then :
4383 $as_echo_n "(cached) " >&6
4384 else
4385 if test -n "$CC"; then
4386 ac_cv_prog_CC="$CC" # Let the user override the test.
4387 else
4388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4389 for as_dir in $PATH
4391 IFS=$as_save_IFS
4392 test -z "$as_dir" && as_dir=.
4393 for ac_exec_ext in '' $ac_executable_extensions; do
4394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4395 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4397 break 2
4399 done
4400 done
4401 IFS=$as_save_IFS
4405 CC=$ac_cv_prog_CC
4406 if test -n "$CC"; then
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4408 $as_echo "$CC" >&6; }
4409 else
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4411 $as_echo "no" >&6; }
4416 if test -z "$ac_cv_prog_CC"; then
4417 ac_ct_CC=$CC
4418 # Extract the first word of "gcc", so it can be a program name with args.
4419 set dummy gcc; ac_word=$2
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4421 $as_echo_n "checking for $ac_word... " >&6; }
4422 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4423 $as_echo_n "(cached) " >&6
4424 else
4425 if test -n "$ac_ct_CC"; then
4426 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4427 else
4428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4429 for as_dir in $PATH
4431 IFS=$as_save_IFS
4432 test -z "$as_dir" && as_dir=.
4433 for ac_exec_ext in '' $ac_executable_extensions; do
4434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4435 ac_cv_prog_ac_ct_CC="gcc"
4436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4437 break 2
4439 done
4440 done
4441 IFS=$as_save_IFS
4445 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4446 if test -n "$ac_ct_CC"; then
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4448 $as_echo "$ac_ct_CC" >&6; }
4449 else
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451 $as_echo "no" >&6; }
4454 if test "x$ac_ct_CC" = x; then
4455 CC=""
4456 else
4457 case $cross_compiling:$ac_tool_warned in
4458 yes:)
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4461 ac_tool_warned=yes ;;
4462 esac
4463 CC=$ac_ct_CC
4465 else
4466 CC="$ac_cv_prog_CC"
4469 if test -z "$CC"; then
4470 if test -n "$ac_tool_prefix"; then
4471 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4472 set dummy ${ac_tool_prefix}cc; ac_word=$2
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4474 $as_echo_n "checking for $ac_word... " >&6; }
4475 if ${ac_cv_prog_CC+:} false; then :
4476 $as_echo_n "(cached) " >&6
4477 else
4478 if test -n "$CC"; then
4479 ac_cv_prog_CC="$CC" # Let the user override the test.
4480 else
4481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4482 for as_dir in $PATH
4484 IFS=$as_save_IFS
4485 test -z "$as_dir" && as_dir=.
4486 for ac_exec_ext in '' $ac_executable_extensions; do
4487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4488 ac_cv_prog_CC="${ac_tool_prefix}cc"
4489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 break 2
4492 done
4493 done
4494 IFS=$as_save_IFS
4498 CC=$ac_cv_prog_CC
4499 if test -n "$CC"; then
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4501 $as_echo "$CC" >&6; }
4502 else
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4504 $as_echo "no" >&6; }
4510 if test -z "$CC"; then
4511 # Extract the first word of "cc", so it can be a program name with args.
4512 set dummy cc; ac_word=$2
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4514 $as_echo_n "checking for $ac_word... " >&6; }
4515 if ${ac_cv_prog_CC+:} false; then :
4516 $as_echo_n "(cached) " >&6
4517 else
4518 if test -n "$CC"; then
4519 ac_cv_prog_CC="$CC" # Let the user override the test.
4520 else
4521 ac_prog_rejected=no
4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 for as_dir in $PATH
4525 IFS=$as_save_IFS
4526 test -z "$as_dir" && as_dir=.
4527 for ac_exec_ext in '' $ac_executable_extensions; do
4528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4529 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4530 ac_prog_rejected=yes
4531 continue
4533 ac_cv_prog_CC="cc"
4534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4535 break 2
4537 done
4538 done
4539 IFS=$as_save_IFS
4541 if test $ac_prog_rejected = yes; then
4542 # We found a bogon in the path, so make sure we never use it.
4543 set dummy $ac_cv_prog_CC
4544 shift
4545 if test $# != 0; then
4546 # We chose a different compiler from the bogus one.
4547 # However, it has the same basename, so the bogon will be chosen
4548 # first if we set CC to just the basename; use the full file name.
4549 shift
4550 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4555 CC=$ac_cv_prog_CC
4556 if test -n "$CC"; then
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4558 $as_echo "$CC" >&6; }
4559 else
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4561 $as_echo "no" >&6; }
4566 if test -z "$CC"; then
4567 if test -n "$ac_tool_prefix"; then
4568 for ac_prog in cl.exe
4570 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4571 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573 $as_echo_n "checking for $ac_word... " >&6; }
4574 if ${ac_cv_prog_CC+:} false; then :
4575 $as_echo_n "(cached) " >&6
4576 else
4577 if test -n "$CC"; then
4578 ac_cv_prog_CC="$CC" # Let the user override the test.
4579 else
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 for as_dir in $PATH
4583 IFS=$as_save_IFS
4584 test -z "$as_dir" && as_dir=.
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4587 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4589 break 2
4591 done
4592 done
4593 IFS=$as_save_IFS
4597 CC=$ac_cv_prog_CC
4598 if test -n "$CC"; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4600 $as_echo "$CC" >&6; }
4601 else
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 $as_echo "no" >&6; }
4607 test -n "$CC" && break
4608 done
4610 if test -z "$CC"; then
4611 ac_ct_CC=$CC
4612 for ac_prog in cl.exe
4614 # Extract the first word of "$ac_prog", so it can be a program name with args.
4615 set dummy $ac_prog; ac_word=$2
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617 $as_echo_n "checking for $ac_word... " >&6; }
4618 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4619 $as_echo_n "(cached) " >&6
4620 else
4621 if test -n "$ac_ct_CC"; then
4622 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4623 else
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 for as_dir in $PATH
4627 IFS=$as_save_IFS
4628 test -z "$as_dir" && as_dir=.
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4631 ac_cv_prog_ac_ct_CC="$ac_prog"
4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 break 2
4635 done
4636 done
4637 IFS=$as_save_IFS
4641 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4642 if test -n "$ac_ct_CC"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4644 $as_echo "$ac_ct_CC" >&6; }
4645 else
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4647 $as_echo "no" >&6; }
4651 test -n "$ac_ct_CC" && break
4652 done
4654 if test "x$ac_ct_CC" = x; then
4655 CC=""
4656 else
4657 case $cross_compiling:$ac_tool_warned in
4658 yes:)
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4661 ac_tool_warned=yes ;;
4662 esac
4663 CC=$ac_ct_CC
4670 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4672 as_fn_error $? "no acceptable C compiler found in \$PATH
4673 See \`config.log' for more details" "$LINENO" 5; }
4675 # Provide some information about the compiler.
4676 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4677 set X $ac_compile
4678 ac_compiler=$2
4679 for ac_option in --version -v -V -qversion; do
4680 { { ac_try="$ac_compiler $ac_option >&5"
4681 case "(($ac_try" in
4682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4683 *) ac_try_echo=$ac_try;;
4684 esac
4685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4686 $as_echo "$ac_try_echo"; } >&5
4687 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4688 ac_status=$?
4689 if test -s conftest.err; then
4690 sed '10a\
4691 ... rest of stderr output deleted ...
4692 10q' conftest.err >conftest.er1
4693 cat conftest.er1 >&5
4695 rm -f conftest.er1 conftest.err
4696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4697 test $ac_status = 0; }
4698 done
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4704 main ()
4708 return 0;
4710 _ACEOF
4711 ac_clean_files_save=$ac_clean_files
4712 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4713 # Try to create an executable without -o first, disregard a.out.
4714 # It will help us diagnose broken compilers, and finding out an intuition
4715 # of exeext.
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4717 $as_echo_n "checking whether the C compiler works... " >&6; }
4718 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4720 # The possible output files:
4721 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4723 ac_rmfiles=
4724 for ac_file in $ac_files
4726 case $ac_file in
4727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4728 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4729 esac
4730 done
4731 rm -f $ac_rmfiles
4733 if { { ac_try="$ac_link_default"
4734 case "(($ac_try" in
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4737 esac
4738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4739 $as_echo "$ac_try_echo"; } >&5
4740 (eval "$ac_link_default") 2>&5
4741 ac_status=$?
4742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4743 test $ac_status = 0; }; then :
4744 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4745 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4746 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4747 # so that the user can short-circuit this test for compilers unknown to
4748 # Autoconf.
4749 for ac_file in $ac_files ''
4751 test -f "$ac_file" || continue
4752 case $ac_file in
4753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4755 [ab].out )
4756 # We found the default executable, but exeext='' is most
4757 # certainly right.
4758 break;;
4759 *.* )
4760 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4761 then :; else
4762 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4764 # We set ac_cv_exeext here because the later test for it is not
4765 # safe: cross compilers may not add the suffix if given an `-o'
4766 # argument, so we may need to know it at that point already.
4767 # Even if this section looks crufty: it has the advantage of
4768 # actually working.
4769 break;;
4771 break;;
4772 esac
4773 done
4774 test "$ac_cv_exeext" = no && ac_cv_exeext=
4776 else
4777 ac_file=''
4779 if test -z "$ac_file"; then :
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4782 $as_echo "$as_me: failed program was:" >&5
4783 sed 's/^/| /' conftest.$ac_ext >&5
4785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4787 as_fn_error 77 "C compiler cannot create executables
4788 See \`config.log' for more details" "$LINENO" 5; }
4789 else
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4791 $as_echo "yes" >&6; }
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4794 $as_echo_n "checking for C compiler default output file name... " >&6; }
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4796 $as_echo "$ac_file" >&6; }
4797 ac_exeext=$ac_cv_exeext
4799 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4800 ac_clean_files=$ac_clean_files_save
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4802 $as_echo_n "checking for suffix of executables... " >&6; }
4803 if { { ac_try="$ac_link"
4804 case "(($ac_try" in
4805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4806 *) ac_try_echo=$ac_try;;
4807 esac
4808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4809 $as_echo "$ac_try_echo"; } >&5
4810 (eval "$ac_link") 2>&5
4811 ac_status=$?
4812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4813 test $ac_status = 0; }; then :
4814 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4815 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4816 # work properly (i.e., refer to `conftest.exe'), while it won't with
4817 # `rm'.
4818 for ac_file in conftest.exe conftest conftest.*; do
4819 test -f "$ac_file" || continue
4820 case $ac_file in
4821 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4822 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4823 break;;
4824 * ) break;;
4825 esac
4826 done
4827 else
4828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4830 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4831 See \`config.log' for more details" "$LINENO" 5; }
4833 rm -f conftest conftest$ac_cv_exeext
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4835 $as_echo "$ac_cv_exeext" >&6; }
4837 rm -f conftest.$ac_ext
4838 EXEEXT=$ac_cv_exeext
4839 ac_exeext=$EXEEXT
4840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4841 /* end confdefs.h. */
4842 #include <stdio.h>
4844 main ()
4846 FILE *f = fopen ("conftest.out", "w");
4847 return ferror (f) || fclose (f) != 0;
4850 return 0;
4852 _ACEOF
4853 ac_clean_files="$ac_clean_files conftest.out"
4854 # Check that the compiler produces executables we can run. If not, either
4855 # the compiler is broken, or we cross compile.
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4857 $as_echo_n "checking whether we are cross compiling... " >&6; }
4858 if test "$cross_compiling" != yes; then
4859 { { ac_try="$ac_link"
4860 case "(($ac_try" in
4861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4862 *) ac_try_echo=$ac_try;;
4863 esac
4864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4865 $as_echo "$ac_try_echo"; } >&5
4866 (eval "$ac_link") 2>&5
4867 ac_status=$?
4868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4869 test $ac_status = 0; }
4870 if { ac_try='./conftest$ac_cv_exeext'
4871 { { case "(($ac_try" in
4872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4873 *) ac_try_echo=$ac_try;;
4874 esac
4875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4876 $as_echo "$ac_try_echo"; } >&5
4877 (eval "$ac_try") 2>&5
4878 ac_status=$?
4879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4880 test $ac_status = 0; }; }; then
4881 cross_compiling=no
4882 else
4883 if test "$cross_compiling" = maybe; then
4884 cross_compiling=yes
4885 else
4886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4888 as_fn_error $? "cannot run C compiled programs.
4889 If you meant to cross compile, use \`--host'.
4890 See \`config.log' for more details" "$LINENO" 5; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4895 $as_echo "$cross_compiling" >&6; }
4897 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4898 ac_clean_files=$ac_clean_files_save
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4900 $as_echo_n "checking for suffix of object files... " >&6; }
4901 if ${ac_cv_objext+:} false; then :
4902 $as_echo_n "(cached) " >&6
4903 else
4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905 /* end confdefs.h. */
4908 main ()
4912 return 0;
4914 _ACEOF
4915 rm -f conftest.o conftest.obj
4916 if { { ac_try="$ac_compile"
4917 case "(($ac_try" in
4918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4919 *) ac_try_echo=$ac_try;;
4920 esac
4921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4922 $as_echo "$ac_try_echo"; } >&5
4923 (eval "$ac_compile") 2>&5
4924 ac_status=$?
4925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4926 test $ac_status = 0; }; then :
4927 for ac_file in conftest.o conftest.obj conftest.*; do
4928 test -f "$ac_file" || continue;
4929 case $ac_file in
4930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4931 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4932 break;;
4933 esac
4934 done
4935 else
4936 $as_echo "$as_me: failed program was:" >&5
4937 sed 's/^/| /' conftest.$ac_ext >&5
4939 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4941 as_fn_error $? "cannot compute suffix of object files: cannot compile
4942 See \`config.log' for more details" "$LINENO" 5; }
4944 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4947 $as_echo "$ac_cv_objext" >&6; }
4948 OBJEXT=$ac_cv_objext
4949 ac_objext=$OBJEXT
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4951 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4952 if ${ac_cv_c_compiler_gnu+:} false; then :
4953 $as_echo_n "(cached) " >&6
4954 else
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4959 main ()
4961 #ifndef __GNUC__
4962 choke me
4963 #endif
4966 return 0;
4968 _ACEOF
4969 if ac_fn_c_try_compile "$LINENO"; then :
4970 ac_compiler_gnu=yes
4971 else
4972 ac_compiler_gnu=no
4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4979 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4980 if test $ac_compiler_gnu = yes; then
4981 GCC=yes
4982 else
4983 GCC=
4985 ac_test_CFLAGS=${CFLAGS+set}
4986 ac_save_CFLAGS=$CFLAGS
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4988 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4989 if ${ac_cv_prog_cc_g+:} false; then :
4990 $as_echo_n "(cached) " >&6
4991 else
4992 ac_save_c_werror_flag=$ac_c_werror_flag
4993 ac_c_werror_flag=yes
4994 ac_cv_prog_cc_g=no
4995 CFLAGS="-g"
4996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4997 /* end confdefs.h. */
5000 main ()
5004 return 0;
5006 _ACEOF
5007 if ac_fn_c_try_compile "$LINENO"; then :
5008 ac_cv_prog_cc_g=yes
5009 else
5010 CFLAGS=""
5011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5015 main ()
5019 return 0;
5021 _ACEOF
5022 if ac_fn_c_try_compile "$LINENO"; then :
5024 else
5025 ac_c_werror_flag=$ac_save_c_werror_flag
5026 CFLAGS="-g"
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5031 main ()
5035 return 0;
5037 _ACEOF
5038 if ac_fn_c_try_compile "$LINENO"; then :
5039 ac_cv_prog_cc_g=yes
5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046 ac_c_werror_flag=$ac_save_c_werror_flag
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5049 $as_echo "$ac_cv_prog_cc_g" >&6; }
5050 if test "$ac_test_CFLAGS" = set; then
5051 CFLAGS=$ac_save_CFLAGS
5052 elif test $ac_cv_prog_cc_g = yes; then
5053 if test "$GCC" = yes; then
5054 CFLAGS="-g -O2"
5055 else
5056 CFLAGS="-g"
5058 else
5059 if test "$GCC" = yes; then
5060 CFLAGS="-O2"
5061 else
5062 CFLAGS=
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5066 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5067 if ${ac_cv_prog_cc_c89+:} false; then :
5068 $as_echo_n "(cached) " >&6
5069 else
5070 ac_cv_prog_cc_c89=no
5071 ac_save_CC=$CC
5072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073 /* end confdefs.h. */
5074 #include <stdarg.h>
5075 #include <stdio.h>
5076 struct stat;
5077 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5078 struct buf { int x; };
5079 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5080 static char *e (p, i)
5081 char **p;
5082 int i;
5084 return p[i];
5086 static char *f (char * (*g) (char **, int), char **p, ...)
5088 char *s;
5089 va_list v;
5090 va_start (v,p);
5091 s = g (p, va_arg (v,int));
5092 va_end (v);
5093 return s;
5096 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5097 function prototypes and stuff, but not '\xHH' hex character constants.
5098 These don't provoke an error unfortunately, instead are silently treated
5099 as 'x'. The following induces an error, until -std is added to get
5100 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5101 array size at least. It's necessary to write '\x00'==0 to get something
5102 that's true only with -std. */
5103 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5105 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5106 inside strings and character constants. */
5107 #define FOO(x) 'x'
5108 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5110 int test (int i, double x);
5111 struct s1 {int (*f) (int a);};
5112 struct s2 {int (*f) (double a);};
5113 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5114 int argc;
5115 char **argv;
5117 main ()
5119 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5121 return 0;
5123 _ACEOF
5124 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5125 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5127 CC="$ac_save_CC $ac_arg"
5128 if ac_fn_c_try_compile "$LINENO"; then :
5129 ac_cv_prog_cc_c89=$ac_arg
5131 rm -f core conftest.err conftest.$ac_objext
5132 test "x$ac_cv_prog_cc_c89" != "xno" && break
5133 done
5134 rm -f conftest.$ac_ext
5135 CC=$ac_save_CC
5138 # AC_CACHE_VAL
5139 case "x$ac_cv_prog_cc_c89" in
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5142 $as_echo "none needed" >&6; } ;;
5143 xno)
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5145 $as_echo "unsupported" >&6; } ;;
5147 CC="$CC $ac_cv_prog_cc_c89"
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5149 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5150 esac
5151 if test "x$ac_cv_prog_cc_c89" != xno; then :
5155 ac_ext=c
5156 ac_cpp='$CPP $CPPFLAGS'
5157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5161 ac_ext=cpp
5162 ac_cpp='$CXXCPP $CPPFLAGS'
5163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5166 if test -z "$CXX"; then
5167 if test -n "$CCC"; then
5168 CXX=$CCC
5169 else
5170 if test -n "$ac_tool_prefix"; then
5171 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5173 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5174 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if ${ac_cv_prog_CXX+:} false; then :
5178 $as_echo_n "(cached) " >&6
5179 else
5180 if test -n "$CXX"; then
5181 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5182 else
5183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184 for as_dir in $PATH
5186 IFS=$as_save_IFS
5187 test -z "$as_dir" && as_dir=.
5188 for ac_exec_ext in '' $ac_executable_extensions; do
5189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5190 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 break 2
5194 done
5195 done
5196 IFS=$as_save_IFS
5200 CXX=$ac_cv_prog_CXX
5201 if test -n "$CXX"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5203 $as_echo "$CXX" >&6; }
5204 else
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5210 test -n "$CXX" && break
5211 done
5213 if test -z "$CXX"; then
5214 ac_ct_CXX=$CXX
5215 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5217 # Extract the first word of "$ac_prog", so it can be a program name with args.
5218 set dummy $ac_prog; ac_word=$2
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5220 $as_echo_n "checking for $ac_word... " >&6; }
5221 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5222 $as_echo_n "(cached) " >&6
5223 else
5224 if test -n "$ac_ct_CXX"; then
5225 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5226 else
5227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228 for as_dir in $PATH
5230 IFS=$as_save_IFS
5231 test -z "$as_dir" && as_dir=.
5232 for ac_exec_ext in '' $ac_executable_extensions; do
5233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5234 ac_cv_prog_ac_ct_CXX="$ac_prog"
5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 break 2
5238 done
5239 done
5240 IFS=$as_save_IFS
5244 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5245 if test -n "$ac_ct_CXX"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5247 $as_echo "$ac_ct_CXX" >&6; }
5248 else
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5254 test -n "$ac_ct_CXX" && break
5255 done
5257 if test "x$ac_ct_CXX" = x; then
5258 CXX="g++"
5259 else
5260 case $cross_compiling:$ac_tool_warned in
5261 yes:)
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5264 ac_tool_warned=yes ;;
5265 esac
5266 CXX=$ac_ct_CXX
5272 # Provide some information about the compiler.
5273 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5274 set X $ac_compile
5275 ac_compiler=$2
5276 for ac_option in --version -v -V -qversion; do
5277 { { ac_try="$ac_compiler $ac_option >&5"
5278 case "(($ac_try" in
5279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5280 *) ac_try_echo=$ac_try;;
5281 esac
5282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5283 $as_echo "$ac_try_echo"; } >&5
5284 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5285 ac_status=$?
5286 if test -s conftest.err; then
5287 sed '10a\
5288 ... rest of stderr output deleted ...
5289 10q' conftest.err >conftest.er1
5290 cat conftest.er1 >&5
5292 rm -f conftest.er1 conftest.err
5293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5294 test $ac_status = 0; }
5295 done
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5298 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5299 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5300 $as_echo_n "(cached) " >&6
5301 else
5302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5306 main ()
5308 #ifndef __GNUC__
5309 choke me
5310 #endif
5313 return 0;
5315 _ACEOF
5316 if ac_fn_cxx_try_compile "$LINENO"; then :
5317 ac_compiler_gnu=yes
5318 else
5319 ac_compiler_gnu=no
5321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5322 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5326 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5327 if test $ac_compiler_gnu = yes; then
5328 GXX=yes
5329 else
5330 GXX=
5332 ac_test_CXXFLAGS=${CXXFLAGS+set}
5333 ac_save_CXXFLAGS=$CXXFLAGS
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5335 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5336 if ${ac_cv_prog_cxx_g+:} false; then :
5337 $as_echo_n "(cached) " >&6
5338 else
5339 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5340 ac_cxx_werror_flag=yes
5341 ac_cv_prog_cxx_g=no
5342 CXXFLAGS="-g"
5343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5344 /* end confdefs.h. */
5347 main ()
5351 return 0;
5353 _ACEOF
5354 if ac_fn_cxx_try_compile "$LINENO"; then :
5355 ac_cv_prog_cxx_g=yes
5356 else
5357 CXXFLAGS=""
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5362 main ()
5366 return 0;
5368 _ACEOF
5369 if ac_fn_cxx_try_compile "$LINENO"; then :
5371 else
5372 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5373 CXXFLAGS="-g"
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5378 main ()
5382 return 0;
5384 _ACEOF
5385 if ac_fn_cxx_try_compile "$LINENO"; then :
5386 ac_cv_prog_cxx_g=yes
5388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5393 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5396 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5397 if test "$ac_test_CXXFLAGS" = set; then
5398 CXXFLAGS=$ac_save_CXXFLAGS
5399 elif test $ac_cv_prog_cxx_g = yes; then
5400 if test "$GXX" = yes; then
5401 CXXFLAGS="-g -O2"
5402 else
5403 CXXFLAGS="-g"
5405 else
5406 if test "$GXX" = yes; then
5407 CXXFLAGS="-O2"
5408 else
5409 CXXFLAGS=
5412 ac_ext=c
5413 ac_cpp='$CPP $CPPFLAGS'
5414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5418 if test -n "$ac_tool_prefix"; then
5419 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5420 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422 $as_echo_n "checking for $ac_word... " >&6; }
5423 if ${ac_cv_prog_CPPBIN+:} false; then :
5424 $as_echo_n "(cached) " >&6
5425 else
5426 if test -n "$CPPBIN"; then
5427 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5428 else
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 for as_dir in $PATH
5432 IFS=$as_save_IFS
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5436 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 break 2
5440 done
5441 done
5442 IFS=$as_save_IFS
5446 CPPBIN=$ac_cv_prog_CPPBIN
5447 if test -n "$CPPBIN"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5449 $as_echo "$CPPBIN" >&6; }
5450 else
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5457 if test -z "$ac_cv_prog_CPPBIN"; then
5458 ac_ct_CPPBIN=$CPPBIN
5459 # Extract the first word of "cpp", so it can be a program name with args.
5460 set dummy cpp; ac_word=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466 if test -n "$ac_ct_CPPBIN"; then
5467 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5468 else
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH
5472 IFS=$as_save_IFS
5473 test -z "$as_dir" && as_dir=.
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_ac_ct_CPPBIN="cpp"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478 break 2
5480 done
5481 done
5482 IFS=$as_save_IFS
5486 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5487 if test -n "$ac_ct_CPPBIN"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5489 $as_echo "$ac_ct_CPPBIN" >&6; }
5490 else
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5495 if test "x$ac_ct_CPPBIN" = x; then
5496 CPPBIN="cpp"
5497 else
5498 case $cross_compiling:$ac_tool_warned in
5499 yes:)
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5502 ac_tool_warned=yes ;;
5503 esac
5504 CPPBIN=$ac_ct_CPPBIN
5506 else
5507 CPPBIN="$ac_cv_prog_CPPBIN"
5511 cat >>confdefs.h <<_ACEOF
5512 #define EXEEXT "$ac_exeext"
5513 _ACEOF
5515 if test -n "$ac_tool_prefix"; then
5516 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5517 set dummy ${ac_tool_prefix}ld; ac_word=$2
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5519 $as_echo_n "checking for $ac_word... " >&6; }
5520 if ${ac_cv_prog_LD+:} false; then :
5521 $as_echo_n "(cached) " >&6
5522 else
5523 if test -n "$LD"; then
5524 ac_cv_prog_LD="$LD" # Let the user override the test.
5525 else
5526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 for as_dir in $PATH
5529 IFS=$as_save_IFS
5530 test -z "$as_dir" && as_dir=.
5531 for ac_exec_ext in '' $ac_executable_extensions; do
5532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5533 ac_cv_prog_LD="${ac_tool_prefix}ld"
5534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5535 break 2
5537 done
5538 done
5539 IFS=$as_save_IFS
5543 LD=$ac_cv_prog_LD
5544 if test -n "$LD"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5546 $as_echo "$LD" >&6; }
5547 else
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5554 if test -z "$ac_cv_prog_LD"; then
5555 ac_ct_LD=$LD
5556 # Extract the first word of "ld", so it can be a program name with args.
5557 set dummy ld; ac_word=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5561 $as_echo_n "(cached) " >&6
5562 else
5563 if test -n "$ac_ct_LD"; then
5564 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5565 else
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 for as_dir in $PATH
5569 IFS=$as_save_IFS
5570 test -z "$as_dir" && as_dir=.
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5573 ac_cv_prog_ac_ct_LD="ld"
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575 break 2
5577 done
5578 done
5579 IFS=$as_save_IFS
5583 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5584 if test -n "$ac_ct_LD"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5586 $as_echo "$ac_ct_LD" >&6; }
5587 else
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5592 if test "x$ac_ct_LD" = x; then
5593 LD=""
5594 else
5595 case $cross_compiling:$ac_tool_warned in
5596 yes:)
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5599 ac_tool_warned=yes ;;
5600 esac
5601 LD=$ac_ct_LD
5603 else
5604 LD="$ac_cv_prog_LD"
5608 case $host in
5609 *-darwin*)
5610 with_fontconfig=${with_fontconfig:-no}
5612 *-mingw32*|*-cygwin*)
5613 enable_win16=${enable_win16:-no}
5614 with_mingw=${with_mingw:-no}
5615 CFLAGS="$CFLAGS -D_WIN32"
5617 esac
5619 case $host in
5620 x86_64*|amd64*)
5621 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5622 then
5623 CC="$CC -m32"
5624 CXX="$CXX -m32"
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5627 $as_echo_n "checking whether $CC works... " >&6; }
5628 if ${wine_cv_cc_m32+:} false; then :
5629 $as_echo_n "(cached) " >&6
5630 else
5631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5635 main ()
5639 return 0;
5641 _ACEOF
5642 if ac_fn_c_try_link "$LINENO"; then :
5643 wine_cv_cc_m32=yes
5644 else
5645 wine_cv_cc_m32=no
5647 rm -f core conftest.err conftest.$ac_objext \
5648 conftest$ac_exeext conftest.$ac_ext
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5651 $as_echo "$wine_cv_cc_m32" >&6; }
5652 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
5653 host_cpu="i386"
5654 notice_platform="32-bit "
5655 TARGETFLAGS="-m32"
5657 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5658 export PKG_CONFIG_PATH
5659 enable_win16=${enable_win16:-yes}
5660 with_unwind=${with_unwind:-no}
5661 else
5662 if test "x${GCC}" = "xyes"
5663 then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5665 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5666 if ${wine_cv_builtin_ms_va_list+:} false; then :
5667 $as_echo_n "(cached) " >&6
5668 else
5669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5670 /* end confdefs.h. */
5671 #include <stdarg.h>
5673 main ()
5675 void func(__builtin_ms_va_list *args);
5677 return 0;
5679 _ACEOF
5680 if ac_fn_c_try_compile "$LINENO"; then :
5681 wine_cv_builtin_ms_va_list=yes
5682 else
5683 wine_cv_builtin_ms_va_list=no
5685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5688 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5689 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
5691 CC="$CC -m64"
5692 CXX="$CXX -m64"
5693 host_cpu="x86_64"
5694 notice_platform="64-bit "
5695 TARGETFLAGS="-m64"
5699 arm*)
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5701 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5702 if ${wine_cv_thumb+:} false; then :
5703 $as_echo_n "(cached) " >&6
5704 else
5705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5706 /* end confdefs.h. */
5707 int ac_test(int i) { return i; }
5709 main ()
5711 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5713 return 0;
5715 _ACEOF
5716 if ac_fn_c_try_link "$LINENO"; then :
5717 wine_cv_thumb=yes
5718 else
5719 wine_cv_thumb=no
5721 rm -f core conftest.err conftest.$ac_objext \
5722 conftest$ac_exeext conftest.$ac_ext
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5725 $as_echo "$wine_cv_thumb" >&6; }
5726 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5727 case $with_float_abi in
5728 soft|softfp|hard)
5729 float_abi=$with_float_abi ;;
5731 case $host_os in
5732 *eabihf)
5733 float_abi=hard ;;
5735 float_abi=softfp
5736 saved_CFLAGS=$CFLAGS
5737 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5739 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5740 if ${wine_cv_float_abi+:} false; then :
5741 $as_echo_n "(cached) " >&6
5742 else
5743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5744 /* end confdefs.h. */
5747 main ()
5749 asm("vmrs r2,fpscr");
5751 return 0;
5753 _ACEOF
5754 if ac_fn_c_try_link "$LINENO"; then :
5755 wine_cv_float_abi=yes
5756 else
5757 wine_cv_float_abi=no
5759 rm -f core conftest.err conftest.$ac_objext \
5760 conftest$ac_exeext conftest.$ac_ext
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5763 $as_echo "$wine_cv_float_abi" >&6; }
5764 if test $wine_cv_float_abi = no
5765 then
5766 float_abi=soft
5767 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5769 CFLAGS=$saved_CFLAGS
5770 esac
5772 esac
5773 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5774 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5777 aarch64*)
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5779 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5780 if ${wine_cv_builtin_ms_va_list+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5784 /* end confdefs.h. */
5785 #include <stdarg.h>
5787 main ()
5789 void func(__builtin_ms_va_list *args);
5791 return 0;
5793 _ACEOF
5794 if ac_fn_c_try_compile "$LINENO"; then :
5795 wine_cv_builtin_ms_va_list=yes
5796 else
5797 wine_cv_builtin_ms_va_list=no
5799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5802 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5803 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5805 i[3456789]86*)
5806 enable_win16=${enable_win16:-yes}
5807 with_unwind=${with_unwind:-no}
5809 esac
5811 enable_win16=${enable_win16:-no}
5812 enable_win64=${enable_win64:-no}
5814 enable_winetest=${enable_winetest:-$enable_tests}
5816 if test "x$enable_win64" = "xyes"
5817 then
5818 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5819 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5820 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5824 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5825 if ${wine_cv_toolsdir+:} false; then :
5826 $as_echo_n "(cached) " >&6
5827 else
5828 wine_cv_toolsdir="$with_wine_tools"
5829 if test -z "$with_wine_tools"; then
5830 if test "$cross_compiling" = "yes"; then
5831 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5832 elif test -n "$with_wine64"; then
5833 wine_cv_toolsdir="$with_wine64"
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5838 $as_echo "$wine_cv_toolsdir" >&6; }
5839 if test -z "$wine_cv_toolsdir"; then
5840 wine_makedep=tools/makedep
5841 TOOLSDIR="\$(top_builddir)"
5843 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5844 wine_makedep=$wine_cv_toolsdir/tools/makedep
5845 case "$wine_cv_toolsdir" in
5846 /*) TOOLSDIR=$wine_cv_toolsdir
5848 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5850 esac
5851 enable_tools=${enable_tools:-no}
5852 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5853 else
5854 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5856 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5857 then
5858 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5862 for ac_prog in flex
5864 # Extract the first word of "$ac_prog", so it can be a program name with args.
5865 set dummy $ac_prog; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if ${ac_cv_prog_FLEX+:} false; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 if test -n "$FLEX"; then
5872 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5877 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_FLEX="$ac_prog"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2
5885 done
5886 done
5887 IFS=$as_save_IFS
5891 FLEX=$ac_cv_prog_FLEX
5892 if test -n "$FLEX"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5894 $as_echo "$FLEX" >&6; }
5895 else
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5901 test -n "$FLEX" && break
5902 done
5903 test -n "$FLEX" || FLEX="none"
5905 if test "$FLEX" = "none"
5906 then
5907 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5910 $as_echo_n "checking whether flex is recent enough... " >&6; }
5911 if ${wine_cv_recent_flex+:} false; then :
5912 $as_echo_n "(cached) " >&6
5913 else
5914 cat >conftest.l <<EOF
5915 %top{
5916 #include "prediluvian.h"
5920 if $FLEX -t conftest.l >/dev/null 2>&5
5921 then
5922 wine_cv_recent_flex=yes
5923 else
5924 wine_cv_recent_flex=no
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5928 $as_echo "$wine_cv_recent_flex" >&6; }
5929 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
5931 for ac_prog in bison
5933 # Extract the first word of "$ac_prog", so it can be a program name with args.
5934 set dummy $ac_prog; ac_word=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if ${ac_cv_prog_BISON+:} false; then :
5938 $as_echo_n "(cached) " >&6
5939 else
5940 if test -n "$BISON"; then
5941 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5942 else
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 for as_dir in $PATH
5946 IFS=$as_save_IFS
5947 test -z "$as_dir" && as_dir=.
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950 ac_cv_prog_BISON="$ac_prog"
5951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 break 2
5954 done
5955 done
5956 IFS=$as_save_IFS
5960 BISON=$ac_cv_prog_BISON
5961 if test -n "$BISON"; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5963 $as_echo "$BISON" >&6; }
5964 else
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5970 test -n "$BISON" && break
5971 done
5972 test -n "$BISON" || BISON="none"
5974 if test "$BISON" = "none"
5975 then
5976 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5979 $as_echo_n "checking whether bison is recent enough... " >&6; }
5980 if ${wine_cv_recent_bison+:} false; then :
5981 $as_echo_n "(cached) " >&6
5982 else
5983 cat >conftest.y <<EOF
5984 %define parse.error verbose
5986 empty: ;
5988 if $BISON conftest.y >/dev/null 2>&5
5989 then
5990 wine_cv_recent_bison=yes
5991 else
5992 wine_cv_recent_bison=no
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5996 $as_echo "$wine_cv_recent_bison" >&6; }
5997 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
5999 if test -n "$ac_tool_prefix"; then
6000 for ac_prog in ar gar
6002 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6003 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005 $as_echo_n "checking for $ac_word... " >&6; }
6006 if ${ac_cv_prog_AR+:} false; then :
6007 $as_echo_n "(cached) " >&6
6008 else
6009 if test -n "$AR"; then
6010 ac_cv_prog_AR="$AR" # Let the user override the test.
6011 else
6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 for as_dir in $PATH
6015 IFS=$as_save_IFS
6016 test -z "$as_dir" && as_dir=.
6017 for ac_exec_ext in '' $ac_executable_extensions; do
6018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6019 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 break 2
6023 done
6024 done
6025 IFS=$as_save_IFS
6029 AR=$ac_cv_prog_AR
6030 if test -n "$AR"; then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6032 $as_echo "$AR" >&6; }
6033 else
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035 $as_echo "no" >&6; }
6039 test -n "$AR" && break
6040 done
6042 if test -z "$AR"; then
6043 ac_ct_AR=$AR
6044 for ac_prog in ar gar
6046 # Extract the first word of "$ac_prog", so it can be a program name with args.
6047 set dummy $ac_prog; ac_word=$2
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049 $as_echo_n "checking for $ac_word... " >&6; }
6050 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6051 $as_echo_n "(cached) " >&6
6052 else
6053 if test -n "$ac_ct_AR"; then
6054 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6055 else
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6057 for as_dir in $PATH
6059 IFS=$as_save_IFS
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6063 ac_cv_prog_ac_ct_AR="$ac_prog"
6064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 break 2
6067 done
6068 done
6069 IFS=$as_save_IFS
6073 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6074 if test -n "$ac_ct_AR"; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6076 $as_echo "$ac_ct_AR" >&6; }
6077 else
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079 $as_echo "no" >&6; }
6083 test -n "$ac_ct_AR" && break
6084 done
6086 if test "x$ac_ct_AR" = x; then
6087 AR="ar"
6088 else
6089 case $cross_compiling:$ac_tool_warned in
6090 yes:)
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6093 ac_tool_warned=yes ;;
6094 esac
6095 AR=$ac_ct_AR
6099 if test -n "$ac_tool_prefix"; then
6100 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6101 set dummy ${ac_tool_prefix}strip; ac_word=$2
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6103 $as_echo_n "checking for $ac_word... " >&6; }
6104 if ${ac_cv_prog_STRIP+:} false; then :
6105 $as_echo_n "(cached) " >&6
6106 else
6107 if test -n "$STRIP"; then
6108 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6109 else
6110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6111 for as_dir in $PATH
6113 IFS=$as_save_IFS
6114 test -z "$as_dir" && as_dir=.
6115 for ac_exec_ext in '' $ac_executable_extensions; do
6116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6117 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6119 break 2
6121 done
6122 done
6123 IFS=$as_save_IFS
6127 STRIP=$ac_cv_prog_STRIP
6128 if test -n "$STRIP"; then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6130 $as_echo "$STRIP" >&6; }
6131 else
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6133 $as_echo "no" >&6; }
6138 if test -z "$ac_cv_prog_STRIP"; then
6139 ac_ct_STRIP=$STRIP
6140 # Extract the first word of "strip", so it can be a program name with args.
6141 set dummy strip; ac_word=$2
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6143 $as_echo_n "checking for $ac_word... " >&6; }
6144 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6145 $as_echo_n "(cached) " >&6
6146 else
6147 if test -n "$ac_ct_STRIP"; then
6148 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6149 else
6150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151 for as_dir in $PATH
6153 IFS=$as_save_IFS
6154 test -z "$as_dir" && as_dir=.
6155 for ac_exec_ext in '' $ac_executable_extensions; do
6156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6157 ac_cv_prog_ac_ct_STRIP="strip"
6158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 break 2
6161 done
6162 done
6163 IFS=$as_save_IFS
6167 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6168 if test -n "$ac_ct_STRIP"; then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6170 $as_echo "$ac_ct_STRIP" >&6; }
6171 else
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6173 $as_echo "no" >&6; }
6176 if test "x$ac_ct_STRIP" = x; then
6177 STRIP="strip"
6178 else
6179 case $cross_compiling:$ac_tool_warned in
6180 yes:)
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6183 ac_tool_warned=yes ;;
6184 esac
6185 STRIP=$ac_ct_STRIP
6187 else
6188 STRIP="$ac_cv_prog_STRIP"
6191 if test -n "$ac_tool_prefix"; then
6192 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6193 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6195 $as_echo_n "checking for $ac_word... " >&6; }
6196 if ${ac_cv_prog_RANLIB+:} false; then :
6197 $as_echo_n "(cached) " >&6
6198 else
6199 if test -n "$RANLIB"; then
6200 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6201 else
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6203 for as_dir in $PATH
6205 IFS=$as_save_IFS
6206 test -z "$as_dir" && as_dir=.
6207 for ac_exec_ext in '' $ac_executable_extensions; do
6208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6209 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6211 break 2
6213 done
6214 done
6215 IFS=$as_save_IFS
6219 RANLIB=$ac_cv_prog_RANLIB
6220 if test -n "$RANLIB"; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6222 $as_echo "$RANLIB" >&6; }
6223 else
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6230 if test -z "$ac_cv_prog_RANLIB"; then
6231 ac_ct_RANLIB=$RANLIB
6232 # Extract the first word of "ranlib", so it can be a program name with args.
6233 set dummy ranlib; ac_word=$2
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6235 $as_echo_n "checking for $ac_word... " >&6; }
6236 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6237 $as_echo_n "(cached) " >&6
6238 else
6239 if test -n "$ac_ct_RANLIB"; then
6240 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6241 else
6242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6243 for as_dir in $PATH
6245 IFS=$as_save_IFS
6246 test -z "$as_dir" && as_dir=.
6247 for ac_exec_ext in '' $ac_executable_extensions; do
6248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6249 ac_cv_prog_ac_ct_RANLIB="ranlib"
6250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6251 break 2
6253 done
6254 done
6255 IFS=$as_save_IFS
6259 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6260 if test -n "$ac_ct_RANLIB"; then
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6262 $as_echo "$ac_ct_RANLIB" >&6; }
6263 else
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6265 $as_echo "no" >&6; }
6268 if test "x$ac_ct_RANLIB" = x; then
6269 RANLIB=":"
6270 else
6271 case $cross_compiling:$ac_tool_warned in
6272 yes:)
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6275 ac_tool_warned=yes ;;
6276 esac
6277 RANLIB=$ac_ct_RANLIB
6279 else
6280 RANLIB="$ac_cv_prog_RANLIB"
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6284 $as_echo_n "checking whether ln -s works... " >&6; }
6285 LN_S=$as_ln_s
6286 if test "$LN_S" = "ln -s"; then
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6288 $as_echo "yes" >&6; }
6289 else
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6291 $as_echo "no, using $LN_S" >&6; }
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6295 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6296 if ${ac_cv_path_GREP+:} false; then :
6297 $as_echo_n "(cached) " >&6
6298 else
6299 if test -z "$GREP"; then
6300 ac_path_GREP_found=false
6301 # Loop through the user's path and test for each of PROGNAME-LIST
6302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6303 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6305 IFS=$as_save_IFS
6306 test -z "$as_dir" && as_dir=.
6307 for ac_prog in grep ggrep; do
6308 for ac_exec_ext in '' $ac_executable_extensions; do
6309 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6310 as_fn_executable_p "$ac_path_GREP" || continue
6311 # Check for GNU ac_path_GREP and select it if it is found.
6312 # Check for GNU $ac_path_GREP
6313 case `"$ac_path_GREP" --version 2>&1` in
6314 *GNU*)
6315 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6317 ac_count=0
6318 $as_echo_n 0123456789 >"conftest.in"
6319 while :
6321 cat "conftest.in" "conftest.in" >"conftest.tmp"
6322 mv "conftest.tmp" "conftest.in"
6323 cp "conftest.in" "conftest.nl"
6324 $as_echo 'GREP' >> "conftest.nl"
6325 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6326 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6327 as_fn_arith $ac_count + 1 && ac_count=$as_val
6328 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6329 # Best one so far, save it but keep looking for a better one
6330 ac_cv_path_GREP="$ac_path_GREP"
6331 ac_path_GREP_max=$ac_count
6333 # 10*(2^10) chars as input seems more than enough
6334 test $ac_count -gt 10 && break
6335 done
6336 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6337 esac
6339 $ac_path_GREP_found && break 3
6340 done
6341 done
6342 done
6343 IFS=$as_save_IFS
6344 if test -z "$ac_cv_path_GREP"; then
6345 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6347 else
6348 ac_cv_path_GREP=$GREP
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6353 $as_echo "$ac_cv_path_GREP" >&6; }
6354 GREP="$ac_cv_path_GREP"
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6358 $as_echo_n "checking for egrep... " >&6; }
6359 if ${ac_cv_path_EGREP+:} false; then :
6360 $as_echo_n "(cached) " >&6
6361 else
6362 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6363 then ac_cv_path_EGREP="$GREP -E"
6364 else
6365 if test -z "$EGREP"; then
6366 ac_path_EGREP_found=false
6367 # Loop through the user's path and test for each of PROGNAME-LIST
6368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6369 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6371 IFS=$as_save_IFS
6372 test -z "$as_dir" && as_dir=.
6373 for ac_prog in egrep; do
6374 for ac_exec_ext in '' $ac_executable_extensions; do
6375 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6376 as_fn_executable_p "$ac_path_EGREP" || continue
6377 # Check for GNU ac_path_EGREP and select it if it is found.
6378 # Check for GNU $ac_path_EGREP
6379 case `"$ac_path_EGREP" --version 2>&1` in
6380 *GNU*)
6381 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6383 ac_count=0
6384 $as_echo_n 0123456789 >"conftest.in"
6385 while :
6387 cat "conftest.in" "conftest.in" >"conftest.tmp"
6388 mv "conftest.tmp" "conftest.in"
6389 cp "conftest.in" "conftest.nl"
6390 $as_echo 'EGREP' >> "conftest.nl"
6391 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6392 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6393 as_fn_arith $ac_count + 1 && ac_count=$as_val
6394 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6395 # Best one so far, save it but keep looking for a better one
6396 ac_cv_path_EGREP="$ac_path_EGREP"
6397 ac_path_EGREP_max=$ac_count
6399 # 10*(2^10) chars as input seems more than enough
6400 test $ac_count -gt 10 && break
6401 done
6402 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6403 esac
6405 $ac_path_EGREP_found && break 3
6406 done
6407 done
6408 done
6409 IFS=$as_save_IFS
6410 if test -z "$ac_cv_path_EGREP"; then
6411 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6413 else
6414 ac_cv_path_EGREP=$EGREP
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6420 $as_echo "$ac_cv_path_EGREP" >&6; }
6421 EGREP="$ac_cv_path_EGREP"
6424 # Extract the first word of "ldconfig", so it can be a program name with args.
6425 set dummy ldconfig; ac_word=$2
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 $as_echo_n "checking for $ac_word... " >&6; }
6428 if ${ac_cv_path_LDCONFIG+:} false; then :
6429 $as_echo_n "(cached) " >&6
6430 else
6431 case $LDCONFIG in
6432 [\\/]* | ?:[\\/]*)
6433 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 for as_dir in /sbin /usr/sbin $PATH
6439 IFS=$as_save_IFS
6440 test -z "$as_dir" && as_dir=.
6441 for ac_exec_ext in '' $ac_executable_extensions; do
6442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6443 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445 break 2
6447 done
6448 done
6449 IFS=$as_save_IFS
6451 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6453 esac
6455 LDCONFIG=$ac_cv_path_LDCONFIG
6456 if test -n "$LDCONFIG"; then
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6458 $as_echo "$LDCONFIG" >&6; }
6459 else
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6461 $as_echo "no" >&6; }
6465 for ac_prog in msgfmt
6467 # Extract the first word of "$ac_prog", so it can be a program name with args.
6468 set dummy $ac_prog; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if ${ac_cv_prog_MSGFMT+:} false; then :
6472 $as_echo_n "(cached) " >&6
6473 else
6474 if test -n "$MSGFMT"; then
6475 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6476 else
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6478 for as_dir in $PATH
6480 IFS=$as_save_IFS
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484 ac_cv_prog_MSGFMT="$ac_prog"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 break 2
6488 done
6489 done
6490 IFS=$as_save_IFS
6494 MSGFMT=$ac_cv_prog_MSGFMT
6495 if test -n "$MSGFMT"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6497 $as_echo "$MSGFMT" >&6; }
6498 else
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6504 test -n "$MSGFMT" && break
6505 done
6506 test -n "$MSGFMT" || MSGFMT="false"
6508 if ${ac_tool_prefix+:} false; then :
6509 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6510 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6512 $as_echo_n "checking for $ac_word... " >&6; }
6513 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6514 $as_echo_n "(cached) " >&6
6515 else
6516 if test -n "$PKG_CONFIG"; then
6517 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6518 else
6519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6520 for as_dir in $PATH
6522 IFS=$as_save_IFS
6523 test -z "$as_dir" && as_dir=.
6524 for ac_exec_ext in '' $ac_executable_extensions; do
6525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6526 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6528 break 2
6530 done
6531 done
6532 IFS=$as_save_IFS
6536 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6537 if test -n "$PKG_CONFIG"; then
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6539 $as_echo "$PKG_CONFIG" >&6; }
6540 else
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6542 $as_echo "no" >&6; }
6547 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6548 if test "x$cross_compiling" = xyes; then :
6550 else
6551 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6552 # Extract the first word of "pkg-config", so it can be a program name with args.
6553 set dummy pkg-config; ac_word=$2
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6555 $as_echo_n "checking for $ac_word... " >&6; }
6556 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6557 $as_echo_n "(cached) " >&6
6558 else
6559 if test -n "$PKG_CONFIG"; then
6560 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6561 else
6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6563 for as_dir in $PATH
6565 IFS=$as_save_IFS
6566 test -z "$as_dir" && as_dir=.
6567 for ac_exec_ext in '' $ac_executable_extensions; do
6568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6569 ac_cv_prog_PKG_CONFIG="pkg-config"
6570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6571 break 2
6573 done
6574 done
6575 IFS=$as_save_IFS
6579 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6580 if test -n "$PKG_CONFIG"; then
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6582 $as_echo "$PKG_CONFIG" >&6; }
6583 else
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6585 $as_echo "no" >&6; }
6590 else
6591 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6594 if test "x$enable_maintainer_mode" != "xyes"
6595 then
6596 FONTFORGE=""
6597 RSVG=""
6598 CONVERT=""
6599 ICOTOOL=""
6600 else
6601 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6602 for ac_prog in fontforge
6604 # Extract the first word of "$ac_prog", so it can be a program name with args.
6605 set dummy $ac_prog; ac_word=$2
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6607 $as_echo_n "checking for $ac_word... " >&6; }
6608 if ${ac_cv_prog_FONTFORGE+:} false; then :
6609 $as_echo_n "(cached) " >&6
6610 else
6611 if test -n "$FONTFORGE"; then
6612 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6613 else
6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6615 for as_dir in $PATH
6617 IFS=$as_save_IFS
6618 test -z "$as_dir" && as_dir=.
6619 for ac_exec_ext in '' $ac_executable_extensions; do
6620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6621 ac_cv_prog_FONTFORGE="$ac_prog"
6622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6623 break 2
6625 done
6626 done
6627 IFS=$as_save_IFS
6631 FONTFORGE=$ac_cv_prog_FONTFORGE
6632 if test -n "$FONTFORGE"; then
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6634 $as_echo "$FONTFORGE" >&6; }
6635 else
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6637 $as_echo "no" >&6; }
6641 test -n "$FONTFORGE" && break
6642 done
6643 test -n "$FONTFORGE" || FONTFORGE="false"
6645 for ac_prog in rsvg-convert rsvg
6647 # Extract the first word of "$ac_prog", so it can be a program name with args.
6648 set dummy $ac_prog; ac_word=$2
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 $as_echo_n "checking for $ac_word... " >&6; }
6651 if ${ac_cv_prog_RSVG+:} false; then :
6652 $as_echo_n "(cached) " >&6
6653 else
6654 if test -n "$RSVG"; then
6655 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6656 else
6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6658 for as_dir in $PATH
6660 IFS=$as_save_IFS
6661 test -z "$as_dir" && as_dir=.
6662 for ac_exec_ext in '' $ac_executable_extensions; do
6663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6664 ac_cv_prog_RSVG="$ac_prog"
6665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 break 2
6668 done
6669 done
6670 IFS=$as_save_IFS
6674 RSVG=$ac_cv_prog_RSVG
6675 if test -n "$RSVG"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6677 $as_echo "$RSVG" >&6; }
6678 else
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680 $as_echo "no" >&6; }
6684 test -n "$RSVG" && break
6685 done
6686 test -n "$RSVG" || RSVG="false"
6688 for ac_prog in convert
6690 # Extract the first word of "$ac_prog", so it can be a program name with args.
6691 set dummy $ac_prog; ac_word=$2
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6693 $as_echo_n "checking for $ac_word... " >&6; }
6694 if ${ac_cv_prog_CONVERT+:} false; then :
6695 $as_echo_n "(cached) " >&6
6696 else
6697 if test -n "$CONVERT"; then
6698 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6699 else
6700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6701 for as_dir in $PATH
6703 IFS=$as_save_IFS
6704 test -z "$as_dir" && as_dir=.
6705 for ac_exec_ext in '' $ac_executable_extensions; do
6706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6707 ac_cv_prog_CONVERT="$ac_prog"
6708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6709 break 2
6711 done
6712 done
6713 IFS=$as_save_IFS
6717 CONVERT=$ac_cv_prog_CONVERT
6718 if test -n "$CONVERT"; then
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6720 $as_echo "$CONVERT" >&6; }
6721 else
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6723 $as_echo "no" >&6; }
6727 test -n "$CONVERT" && break
6728 done
6729 test -n "$CONVERT" || CONVERT="false"
6731 for ac_prog in icotool
6733 # Extract the first word of "$ac_prog", so it can be a program name with args.
6734 set dummy $ac_prog; ac_word=$2
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6736 $as_echo_n "checking for $ac_word... " >&6; }
6737 if ${ac_cv_prog_ICOTOOL+:} false; then :
6738 $as_echo_n "(cached) " >&6
6739 else
6740 if test -n "$ICOTOOL"; then
6741 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6742 else
6743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6744 for as_dir in $PATH
6746 IFS=$as_save_IFS
6747 test -z "$as_dir" && as_dir=.
6748 for ac_exec_ext in '' $ac_executable_extensions; do
6749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6750 ac_cv_prog_ICOTOOL="$ac_prog"
6751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6752 break 2
6754 done
6755 done
6756 IFS=$as_save_IFS
6760 ICOTOOL=$ac_cv_prog_ICOTOOL
6761 if test -n "$ICOTOOL"; then
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6763 $as_echo "$ICOTOOL" >&6; }
6764 else
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6766 $as_echo "no" >&6; }
6770 test -n "$ICOTOOL" && break
6771 done
6772 test -n "$ICOTOOL" || ICOTOOL="false"
6774 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6775 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6777 if test "$CONVERT" = false
6778 then
6779 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6780 else
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6782 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6783 convert_version=`convert --version | head -n1`
6784 if test "x$convert_version" != "x"
6785 then
6786 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6787 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6788 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6789 then
6790 CONVERT=false
6793 if test "$CONVERT" = false
6794 then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6796 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6797 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6798 else
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6800 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6804 if test "$ICOTOOL" = false
6805 then
6806 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6807 else
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6809 $as_echo_n "checking for recent enough icotool... " >&6; }
6810 icotool_version=`icotool --version | head -n1`
6811 if test "x$icotool_version" != "x"
6812 then
6813 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6814 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6815 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6816 then
6817 ICOTOOL=false
6818 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6821 if test "$ICOTOOL" = false
6822 then
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6824 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6825 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6826 else
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6828 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6832 with_gettext=yes
6833 with_gettextpo=yes
6835 enable_werror=yes
6838 test "x$with_gettext" != xno || MSGFMT=false
6839 if test "$MSGFMT" != "false"
6840 then
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6842 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6843 if ${wine_cv_msgfmt_contexts+:} false; then :
6844 $as_echo_n "(cached) " >&6
6845 else
6846 cat >conftest.po <<EOF
6847 # comment
6848 msgctxt "ctxt"
6849 msgid "id"
6850 msgstr "str"
6852 if $MSGFMT -o /dev/null conftest.po 2>&5
6853 then
6854 wine_cv_msgfmt_contexts=yes
6855 else
6856 wine_cv_msgfmt_contexts=no
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6860 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6861 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6863 if test "$MSGFMT" = false; then :
6864 case "x$with_gettext" in
6865 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6866 xno) ;;
6867 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6868 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6869 esac
6870 enable_po=${enable_po:-no}
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6875 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6876 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6877 $as_echo_n "(cached) " >&6
6878 else
6879 ac_check_lib_save_LIBS=$LIBS
6880 LIBS="-li386 $LIBS"
6881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6882 /* end confdefs.h. */
6884 /* Override any GCC internal prototype to avoid an error.
6885 Use char because int might match the return type of a GCC
6886 builtin and then its argument prototype would still apply. */
6887 #ifdef __cplusplus
6888 extern "C"
6889 #endif
6890 char i386_set_ldt ();
6892 main ()
6894 return i386_set_ldt ();
6896 return 0;
6898 _ACEOF
6899 if ac_fn_c_try_link "$LINENO"; then :
6900 ac_cv_lib_i386_i386_set_ldt=yes
6901 else
6902 ac_cv_lib_i386_i386_set_ldt=no
6904 rm -f core conftest.err conftest.$ac_objext \
6905 conftest$ac_exeext conftest.$ac_ext
6906 LIBS=$ac_check_lib_save_LIBS
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6909 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6910 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6911 I386_LIBS="-li386"
6916 OPENGL_LIBS=""
6920 # Check whether --enable-largefile was given.
6921 if test "${enable_largefile+set}" = set; then :
6922 enableval=$enable_largefile;
6925 if test "$enable_largefile" != no; then
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6928 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6929 if ${ac_cv_sys_largefile_CC+:} false; then :
6930 $as_echo_n "(cached) " >&6
6931 else
6932 ac_cv_sys_largefile_CC=no
6933 if test "$GCC" != yes; then
6934 ac_save_CC=$CC
6935 while :; do
6936 # IRIX 6.2 and later do not support large files by default,
6937 # so use the C compiler's -n32 option if that helps.
6938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6939 /* end confdefs.h. */
6940 #include <sys/types.h>
6941 /* Check that off_t can represent 2**63 - 1 correctly.
6942 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6943 since some C++ compilers masquerading as C compilers
6944 incorrectly reject 9223372036854775807. */
6945 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6946 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6947 && LARGE_OFF_T % 2147483647 == 1)
6948 ? 1 : -1];
6950 main ()
6954 return 0;
6956 _ACEOF
6957 if ac_fn_c_try_compile "$LINENO"; then :
6958 break
6960 rm -f core conftest.err conftest.$ac_objext
6961 CC="$CC -n32"
6962 if ac_fn_c_try_compile "$LINENO"; then :
6963 ac_cv_sys_largefile_CC=' -n32'; break
6965 rm -f core conftest.err conftest.$ac_objext
6966 break
6967 done
6968 CC=$ac_save_CC
6969 rm -f conftest.$ac_ext
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6973 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6974 if test "$ac_cv_sys_largefile_CC" != no; then
6975 CC=$CC$ac_cv_sys_largefile_CC
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6979 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6980 if ${ac_cv_sys_file_offset_bits+:} false; then :
6981 $as_echo_n "(cached) " >&6
6982 else
6983 while :; do
6984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6985 /* end confdefs.h. */
6986 #include <sys/types.h>
6987 /* Check that off_t can represent 2**63 - 1 correctly.
6988 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6989 since some C++ compilers masquerading as C compilers
6990 incorrectly reject 9223372036854775807. */
6991 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6992 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6993 && LARGE_OFF_T % 2147483647 == 1)
6994 ? 1 : -1];
6996 main ()
7000 return 0;
7002 _ACEOF
7003 if ac_fn_c_try_compile "$LINENO"; then :
7004 ac_cv_sys_file_offset_bits=no; break
7006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h. */
7009 #define _FILE_OFFSET_BITS 64
7010 #include <sys/types.h>
7011 /* Check that off_t can represent 2**63 - 1 correctly.
7012 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7013 since some C++ compilers masquerading as C compilers
7014 incorrectly reject 9223372036854775807. */
7015 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7016 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7017 && LARGE_OFF_T % 2147483647 == 1)
7018 ? 1 : -1];
7020 main ()
7024 return 0;
7026 _ACEOF
7027 if ac_fn_c_try_compile "$LINENO"; then :
7028 ac_cv_sys_file_offset_bits=64; break
7030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7031 ac_cv_sys_file_offset_bits=unknown
7032 break
7033 done
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7036 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7037 case $ac_cv_sys_file_offset_bits in #(
7038 no | unknown) ;;
7040 cat >>confdefs.h <<_ACEOF
7041 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7042 _ACEOF
7044 esac
7045 rm -rf conftest*
7046 if test $ac_cv_sys_file_offset_bits = unknown; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7048 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7049 if ${ac_cv_sys_large_files+:} false; then :
7050 $as_echo_n "(cached) " >&6
7051 else
7052 while :; do
7053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7054 /* end confdefs.h. */
7055 #include <sys/types.h>
7056 /* Check that off_t can represent 2**63 - 1 correctly.
7057 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7058 since some C++ compilers masquerading as C compilers
7059 incorrectly reject 9223372036854775807. */
7060 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7061 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7062 && LARGE_OFF_T % 2147483647 == 1)
7063 ? 1 : -1];
7065 main ()
7069 return 0;
7071 _ACEOF
7072 if ac_fn_c_try_compile "$LINENO"; then :
7073 ac_cv_sys_large_files=no; break
7075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7077 /* end confdefs.h. */
7078 #define _LARGE_FILES 1
7079 #include <sys/types.h>
7080 /* Check that off_t can represent 2**63 - 1 correctly.
7081 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7082 since some C++ compilers masquerading as C compilers
7083 incorrectly reject 9223372036854775807. */
7084 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7085 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7086 && LARGE_OFF_T % 2147483647 == 1)
7087 ? 1 : -1];
7089 main ()
7093 return 0;
7095 _ACEOF
7096 if ac_fn_c_try_compile "$LINENO"; then :
7097 ac_cv_sys_large_files=1; break
7099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7100 ac_cv_sys_large_files=unknown
7101 break
7102 done
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7105 $as_echo "$ac_cv_sys_large_files" >&6; }
7106 case $ac_cv_sys_large_files in #(
7107 no | unknown) ;;
7109 cat >>confdefs.h <<_ACEOF
7110 #define _LARGE_FILES $ac_cv_sys_large_files
7111 _ACEOF
7113 esac
7114 rm -rf conftest*
7121 ac_ext=c
7122 ac_cpp='$CPP $CPPFLAGS'
7123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7127 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7128 # On Suns, sometimes $CPP names a directory.
7129 if test -n "$CPP" && test -d "$CPP"; then
7130 CPP=
7132 if test -z "$CPP"; then
7133 if ${ac_cv_prog_CPP+:} false; then :
7134 $as_echo_n "(cached) " >&6
7135 else
7136 # Double quotes because CPP needs to be expanded
7137 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7139 ac_preproc_ok=false
7140 for ac_c_preproc_warn_flag in '' yes
7142 # Use a header file that comes with gcc, so configuring glibc
7143 # with a fresh cross-compiler works.
7144 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7145 # <limits.h> exists even on freestanding compilers.
7146 # On the NeXT, cc -E runs the code through the compiler's parser,
7147 # not just through cpp. "Syntax error" is here to catch this case.
7148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7149 /* end confdefs.h. */
7150 #ifdef __STDC__
7151 # include <limits.h>
7152 #else
7153 # include <assert.h>
7154 #endif
7155 Syntax error
7156 _ACEOF
7157 if ac_fn_c_try_cpp "$LINENO"; then :
7159 else
7160 # Broken: fails on valid input.
7161 continue
7163 rm -f conftest.err conftest.i conftest.$ac_ext
7165 # OK, works on sane cases. Now check whether nonexistent headers
7166 # can be detected and how.
7167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7168 /* end confdefs.h. */
7169 #include <ac_nonexistent.h>
7170 _ACEOF
7171 if ac_fn_c_try_cpp "$LINENO"; then :
7172 # Broken: success on invalid input.
7173 continue
7174 else
7175 # Passes both tests.
7176 ac_preproc_ok=:
7177 break
7179 rm -f conftest.err conftest.i conftest.$ac_ext
7181 done
7182 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7183 rm -f conftest.i conftest.err conftest.$ac_ext
7184 if $ac_preproc_ok; then :
7185 break
7188 done
7189 ac_cv_prog_CPP=$CPP
7192 CPP=$ac_cv_prog_CPP
7193 else
7194 ac_cv_prog_CPP=$CPP
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7197 $as_echo "$CPP" >&6; }
7198 ac_preproc_ok=false
7199 for ac_c_preproc_warn_flag in '' yes
7201 # Use a header file that comes with gcc, so configuring glibc
7202 # with a fresh cross-compiler works.
7203 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7204 # <limits.h> exists even on freestanding compilers.
7205 # On the NeXT, cc -E runs the code through the compiler's parser,
7206 # not just through cpp. "Syntax error" is here to catch this case.
7207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7208 /* end confdefs.h. */
7209 #ifdef __STDC__
7210 # include <limits.h>
7211 #else
7212 # include <assert.h>
7213 #endif
7214 Syntax error
7215 _ACEOF
7216 if ac_fn_c_try_cpp "$LINENO"; then :
7218 else
7219 # Broken: fails on valid input.
7220 continue
7222 rm -f conftest.err conftest.i conftest.$ac_ext
7224 # OK, works on sane cases. Now check whether nonexistent headers
7225 # can be detected and how.
7226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7227 /* end confdefs.h. */
7228 #include <ac_nonexistent.h>
7229 _ACEOF
7230 if ac_fn_c_try_cpp "$LINENO"; then :
7231 # Broken: success on invalid input.
7232 continue
7233 else
7234 # Passes both tests.
7235 ac_preproc_ok=:
7236 break
7238 rm -f conftest.err conftest.i conftest.$ac_ext
7240 done
7241 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7242 rm -f conftest.i conftest.err conftest.$ac_ext
7243 if $ac_preproc_ok; then :
7245 else
7246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7248 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7249 See \`config.log' for more details" "$LINENO" 5; }
7252 ac_ext=c
7253 ac_cpp='$CPP $CPPFLAGS'
7254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7260 $as_echo_n "checking for ANSI C header files... " >&6; }
7261 if ${ac_cv_header_stdc+:} false; then :
7262 $as_echo_n "(cached) " >&6
7263 else
7264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7266 #include <stdlib.h>
7267 #include <stdarg.h>
7268 #include <string.h>
7269 #include <float.h>
7272 main ()
7276 return 0;
7278 _ACEOF
7279 if ac_fn_c_try_compile "$LINENO"; then :
7280 ac_cv_header_stdc=yes
7281 else
7282 ac_cv_header_stdc=no
7284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7286 if test $ac_cv_header_stdc = yes; then
7287 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7289 /* end confdefs.h. */
7290 #include <string.h>
7292 _ACEOF
7293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7294 $EGREP "memchr" >/dev/null 2>&1; then :
7296 else
7297 ac_cv_header_stdc=no
7299 rm -f conftest*
7303 if test $ac_cv_header_stdc = yes; then
7304 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7306 /* end confdefs.h. */
7307 #include <stdlib.h>
7309 _ACEOF
7310 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7311 $EGREP "free" >/dev/null 2>&1; then :
7313 else
7314 ac_cv_header_stdc=no
7316 rm -f conftest*
7320 if test $ac_cv_header_stdc = yes; then
7321 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7322 if test "$cross_compiling" = yes; then :
7324 else
7325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7326 /* end confdefs.h. */
7327 #include <ctype.h>
7328 #include <stdlib.h>
7329 #if ((' ' & 0x0FF) == 0x020)
7330 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7331 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7332 #else
7333 # define ISLOWER(c) \
7334 (('a' <= (c) && (c) <= 'i') \
7335 || ('j' <= (c) && (c) <= 'r') \
7336 || ('s' <= (c) && (c) <= 'z'))
7337 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7338 #endif
7340 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7342 main ()
7344 int i;
7345 for (i = 0; i < 256; i++)
7346 if (XOR (islower (i), ISLOWER (i))
7347 || toupper (i) != TOUPPER (i))
7348 return 2;
7349 return 0;
7351 _ACEOF
7352 if ac_fn_c_try_run "$LINENO"; then :
7354 else
7355 ac_cv_header_stdc=no
7357 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7358 conftest.$ac_objext conftest.beam conftest.$ac_ext
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7364 $as_echo "$ac_cv_header_stdc" >&6; }
7365 if test $ac_cv_header_stdc = yes; then
7367 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7371 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7372 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7373 inttypes.h stdint.h unistd.h
7374 do :
7375 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7376 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7378 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7379 cat >>confdefs.h <<_ACEOF
7380 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7381 _ACEOF
7385 done
7388 for ac_header in \
7389 AL/al.h \
7390 ApplicationServices/ApplicationServices.h \
7391 AudioToolbox/AudioConverter.h \
7392 AudioUnit/AudioUnit.h \
7393 AudioUnit/AudioComponent.h \
7394 CL/cl.h \
7395 Carbon/Carbon.h \
7396 CommonCrypto/CommonCryptor.h \
7397 CoreAudio/CoreAudio.h \
7398 CoreServices/CoreServices.h \
7399 DiskArbitration/DiskArbitration.h \
7400 EGL/egl.h \
7401 IOKit/IOKitLib.h \
7402 IOKit/hid/IOHIDLib.h \
7403 OpenAL/al.h \
7404 OpenCL/opencl.h \
7405 QuickTime/ImageCompression.h \
7406 Security/Security.h \
7407 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7408 SystemConfiguration/SCNetworkConfiguration.h \
7409 alias.h \
7410 arpa/inet.h \
7411 arpa/nameser.h \
7412 asm/types.h \
7413 asm/user.h \
7414 curses.h \
7415 dirent.h \
7416 dlfcn.h \
7417 elf.h \
7418 float.h \
7419 fnmatch.h \
7420 getopt.h \
7421 gettext-po.h \
7422 grp.h \
7423 gsm.h \
7424 gsm/gsm.h \
7425 ieeefp.h \
7426 inet/mib2.h \
7427 kstat.h \
7428 libproc.h \
7429 link.h \
7430 linux/cdrom.h \
7431 linux/compiler.h \
7432 linux/filter.h \
7433 linux/hdreg.h \
7434 linux/hidraw.h \
7435 linux/input.h \
7436 linux/ioctl.h \
7437 linux/joystick.h \
7438 linux/major.h \
7439 linux/param.h \
7440 linux/serial.h \
7441 linux/types.h \
7442 linux/ucdrom.h \
7443 lwp.h \
7444 mach-o/nlist.h \
7445 mach-o/loader.h \
7446 mach/mach.h \
7447 mach/machine.h \
7448 machine/cpu.h \
7449 machine/sysarch.h \
7450 mntent.h \
7451 ncurses.h \
7452 netdb.h \
7453 netinet/in.h \
7454 netinet/in_systm.h \
7455 netinet/tcp.h \
7456 netinet/tcp_fsm.h \
7457 pcap/pcap.h \
7458 poll.h \
7459 port.h \
7460 pthread.h \
7461 pwd.h \
7462 sasl/sasl.h \
7463 sched.h \
7464 scsi/scsi.h \
7465 scsi/scsi_ioctl.h \
7466 scsi/sg.h \
7467 stdbool.h \
7468 stdint.h \
7469 stropts.h \
7470 sys/attr.h \
7471 sys/auxv.h \
7472 sys/cdio.h \
7473 sys/epoll.h \
7474 sys/event.h \
7475 sys/filio.h \
7476 sys/ioctl.h \
7477 sys/ipc.h \
7478 sys/link.h \
7479 sys/mman.h \
7480 sys/modem.h \
7481 sys/msg.h \
7482 sys/mtio.h \
7483 sys/param.h \
7484 sys/poll.h \
7485 sys/prctl.h \
7486 sys/protosw.h \
7487 sys/ptrace.h \
7488 sys/queue.h \
7489 sys/random.h \
7490 sys/resource.h \
7491 sys/scsiio.h \
7492 sys/shm.h \
7493 sys/signal.h \
7494 sys/socket.h \
7495 sys/socketvar.h \
7496 sys/sockio.h \
7497 sys/statvfs.h \
7498 sys/strtio.h \
7499 sys/syscall.h \
7500 sys/sysinfo.h \
7501 sys/tihdr.h \
7502 sys/time.h \
7503 sys/timeout.h \
7504 sys/times.h \
7505 sys/uio.h \
7506 sys/user.h \
7507 sys/utsname.h \
7508 sys/vnode.h \
7509 sys/wait.h \
7510 syscall.h \
7511 termios.h \
7512 unistd.h \
7513 utime.h \
7514 valgrind/memcheck.h \
7515 valgrind/valgrind.h
7517 do :
7518 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7519 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7520 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7521 cat >>confdefs.h <<_ACEOF
7522 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7523 _ACEOF
7527 done
7529 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7530 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7532 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7537 if test $ac_cv_header_sys_mkdev_h = no; then
7538 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7539 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7541 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7548 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7549 if ${ac_cv_header_stat_broken+:} false; then :
7550 $as_echo_n "(cached) " >&6
7551 else
7552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7553 /* end confdefs.h. */
7554 #include <sys/types.h>
7555 #include <sys/stat.h>
7557 #if defined S_ISBLK && defined S_IFDIR
7558 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7559 #endif
7561 #if defined S_ISBLK && defined S_IFCHR
7562 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7563 #endif
7565 #if defined S_ISLNK && defined S_IFREG
7566 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7567 #endif
7569 #if defined S_ISSOCK && defined S_IFREG
7570 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7571 #endif
7573 _ACEOF
7574 if ac_fn_c_try_compile "$LINENO"; then :
7575 ac_cv_header_stat_broken=no
7576 else
7577 ac_cv_header_stat_broken=yes
7579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7582 $as_echo "$ac_cv_header_stat_broken" >&6; }
7583 if test $ac_cv_header_stat_broken = yes; then
7585 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7591 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7592 do :
7593 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7594 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7595 #ifdef HAVE_SYS_PARAM_H
7596 # include <sys/param.h>
7597 #endif
7599 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7600 cat >>confdefs.h <<_ACEOF
7601 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7602 _ACEOF
7606 done
7609 saved_sysctl_h_CFLAGS=$CFLAGS
7610 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7611 for ac_header in sys/sysctl.h
7612 do :
7613 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7614 #ifdef HAVE_SYS_PARAM_H
7615 # include <sys/param.h>
7616 #endif
7618 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7619 cat >>confdefs.h <<_ACEOF
7620 #define HAVE_SYS_SYSCTL_H 1
7621 _ACEOF
7625 done
7627 CFLAGS=$saved_sysctl_h_CFLAGS
7629 for ac_header in \
7630 netinet/ip.h \
7631 net/if.h \
7632 net/if_arp.h \
7633 net/if_dl.h \
7634 net/if_types.h \
7635 net/route.h \
7636 netinet/if_ether.h \
7637 netinet/if_inarp.h \
7638 netinet/in_pcb.h \
7639 netinet/ip_icmp.h \
7640 netinet/ip_var.h \
7641 netinet/udp.h \
7642 netipx/ipx.h \
7643 sys/un.h \
7645 do :
7646 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7647 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7648 #ifdef HAVE_SYS_SOCKET_H
7649 # include <sys/socket.h>
7650 #endif
7651 #ifdef HAVE_SYS_SOCKETVAR_H
7652 # include <sys/socketvar.h>
7653 #endif
7654 #ifdef HAVE_NET_ROUTE_H
7655 # include <net/route.h>
7656 #endif
7657 #ifdef HAVE_NETINET_IN_H
7658 # include <netinet/in.h>
7659 #endif
7660 #ifdef HAVE_NETINET_IN_SYSTM_H
7661 # include <netinet/in_systm.h>
7662 #endif
7663 #ifdef HAVE_NET_IF_H
7664 # include <net/if.h>
7665 #endif
7666 #ifdef HAVE_NETINET_IP_H
7667 # include <netinet/ip.h>
7668 #endif
7670 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7671 cat >>confdefs.h <<_ACEOF
7672 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7673 _ACEOF
7677 done
7680 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7681 do :
7682 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7683 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7684 #ifdef HAVE_ALIAS_H
7685 # include <alias.h>
7686 #endif
7687 #ifdef HAVE_SYS_SOCKET_H
7688 # include <sys/socket.h>
7689 #endif
7690 #ifdef HAVE_SYS_SOCKETVAR_H
7691 # include <sys/socketvar.h>
7692 #endif
7693 #ifdef HAVE_SYS_TIMEOUT_H
7694 # include <sys/timeout.h>
7695 #endif
7696 #ifdef HAVE_NETINET_IN_H
7697 # include <netinet/in.h>
7698 #endif
7699 #ifdef HAVE_NETINET_IN_SYSTM_H
7700 # include <netinet/in_systm.h>
7701 #endif
7702 #ifdef HAVE_NETINET_IP_H
7703 # include <netinet/ip.h>
7704 #endif
7705 #ifdef HAVE_NETINET_IP_VAR_H
7706 # include <netinet/ip_var.h>
7707 #endif
7708 #ifdef HAVE_NETINET_IP_ICMP_H
7709 # include <netinet/ip_icmp.h>
7710 #endif
7711 #ifdef HAVE_NETINET_UDP_H
7712 # include <netinet/udp.h>
7713 #endif
7714 #ifdef HAVE_NETINET_TCP_H
7715 # include <netinet/tcp.h>
7716 #endif
7717 #ifdef HAVE_NETINET_TCP_TIMER_H
7718 #include <netinet/tcp_timer.h>
7719 #endif
7721 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7722 cat >>confdefs.h <<_ACEOF
7723 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7724 _ACEOF
7728 done
7731 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7732 do :
7733 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7734 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7735 #ifdef HAVE_ASM_TYPES_H
7736 # include <asm/types.h>
7737 #endif
7738 #ifdef HAVE_SYS_SOCKET_H
7739 # include <sys/socket.h>
7740 #endif
7741 #ifdef HAVE_LINUX_TYPES_H
7742 # include <linux/types.h>
7743 #endif
7745 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7746 cat >>confdefs.h <<_ACEOF
7747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7748 _ACEOF
7752 done
7755 for ac_header in resolv.h
7756 do :
7757 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7758 #ifdef HAVE_SYS_SOCKET_H
7759 # include <sys/socket.h>
7760 #endif
7761 #ifdef HAVE_NETINET_IN_H
7762 # include <netinet/in.h>
7763 #endif
7764 #ifdef HAVE_ARPA_NAMESER_H
7765 # include <arpa/nameser.h>
7766 #endif
7768 if test "x$ac_cv_header_resolv_h" = xyes; then :
7769 cat >>confdefs.h <<_ACEOF
7770 #define HAVE_RESOLV_H 1
7771 _ACEOF
7775 done
7778 for ac_header in ifaddrs.h
7779 do :
7780 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7782 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7783 cat >>confdefs.h <<_ACEOF
7784 #define HAVE_IFADDRS_H 1
7785 _ACEOF
7789 done
7792 for ac_header in sys/ucontext.h
7793 do :
7794 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7796 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7797 cat >>confdefs.h <<_ACEOF
7798 #define HAVE_SYS_UCONTEXT_H 1
7799 _ACEOF
7803 done
7806 for ac_header in sys/thr.h
7807 do :
7808 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7809 #ifdef HAVE_SYS_UCONTEXT_H
7810 #include <sys/ucontext.h>
7811 #endif
7813 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7814 cat >>confdefs.h <<_ACEOF
7815 #define HAVE_SYS_THR_H 1
7816 _ACEOF
7820 done
7823 for ac_header in pthread_np.h
7824 do :
7825 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7826 #include <pthread.h>
7827 #endif
7829 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7830 cat >>confdefs.h <<_ACEOF
7831 #define HAVE_PTHREAD_NP_H 1
7832 _ACEOF
7836 done
7839 for ac_header in linux/videodev2.h
7840 do :
7841 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7842 #include <sys/time.h>
7843 #endif
7844 #include <sys/types.h>
7845 #ifdef HAVE_ASM_TYPES_H
7846 #include <asm/types.h>
7847 #endif
7849 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7850 cat >>confdefs.h <<_ACEOF
7851 #define HAVE_LINUX_VIDEODEV2_H 1
7852 _ACEOF
7856 done
7859 for ac_header in libprocstat.h
7860 do :
7861 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7862 #include <sys/param.h>
7863 #endif
7864 #ifdef HAVE_SYS_QUEUE_H
7865 #include <sys/queue.h>
7866 #endif
7867 #ifdef HAVE_SYS_SOCKET_H
7868 #include <sys/socket.h>
7869 #endif
7871 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7872 cat >>confdefs.h <<_ACEOF
7873 #define HAVE_LIBPROCSTAT_H 1
7874 _ACEOF
7878 done
7882 DLLFLAGS="-D_REENTRANT"
7884 LDDLLFLAGS=""
7886 LDEXECFLAGS=""
7888 TOP_INSTALL_LIB=""
7890 TOP_INSTALL_DEV=""
7892 WINELOADER_LDFLAGS=""
7894 WINEPRELOADER_LDFLAGS=""
7896 LIBEXT="so"
7897 DLLEXT=".so"
7898 # Extract the first word of "ldd", so it can be a program name with args.
7899 set dummy ldd; ac_word=$2
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7901 $as_echo_n "checking for $ac_word... " >&6; }
7902 if ${ac_cv_path_LDD+:} false; then :
7903 $as_echo_n "(cached) " >&6
7904 else
7905 case $LDD in
7906 [\\/]* | ?:[\\/]*)
7907 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7911 as_dummy="/sbin:/usr/sbin:$PATH"
7912 for as_dir in $as_dummy
7914 IFS=$as_save_IFS
7915 test -z "$as_dir" && as_dir=.
7916 for ac_exec_ext in '' $ac_executable_extensions; do
7917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7918 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7920 break 2
7922 done
7923 done
7924 IFS=$as_save_IFS
7926 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7928 esac
7930 LDD=$ac_cv_path_LDD
7931 if test -n "$LDD"; then
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7933 $as_echo "$LDD" >&6; }
7934 else
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7936 $as_echo "no" >&6; }
7940 if test -n "$ac_tool_prefix"; then
7941 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7942 set dummy ${ac_tool_prefix}otool; ac_word=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7944 $as_echo_n "checking for $ac_word... " >&6; }
7945 if ${ac_cv_prog_OTOOL+:} false; then :
7946 $as_echo_n "(cached) " >&6
7947 else
7948 if test -n "$OTOOL"; then
7949 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7950 else
7951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7952 for as_dir in $PATH
7954 IFS=$as_save_IFS
7955 test -z "$as_dir" && as_dir=.
7956 for ac_exec_ext in '' $ac_executable_extensions; do
7957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7958 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7960 break 2
7962 done
7963 done
7964 IFS=$as_save_IFS
7968 OTOOL=$ac_cv_prog_OTOOL
7969 if test -n "$OTOOL"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7971 $as_echo "$OTOOL" >&6; }
7972 else
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7974 $as_echo "no" >&6; }
7979 if test -z "$ac_cv_prog_OTOOL"; then
7980 ac_ct_OTOOL=$OTOOL
7981 # Extract the first word of "otool", so it can be a program name with args.
7982 set dummy otool; ac_word=$2
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7984 $as_echo_n "checking for $ac_word... " >&6; }
7985 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7986 $as_echo_n "(cached) " >&6
7987 else
7988 if test -n "$ac_ct_OTOOL"; then
7989 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7990 else
7991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7992 for as_dir in $PATH
7994 IFS=$as_save_IFS
7995 test -z "$as_dir" && as_dir=.
7996 for ac_exec_ext in '' $ac_executable_extensions; do
7997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7998 ac_cv_prog_ac_ct_OTOOL="otool"
7999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8000 break 2
8002 done
8003 done
8004 IFS=$as_save_IFS
8008 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8009 if test -n "$ac_ct_OTOOL"; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8011 $as_echo "$ac_ct_OTOOL" >&6; }
8012 else
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014 $as_echo "no" >&6; }
8017 if test "x$ac_ct_OTOOL" = x; then
8018 OTOOL="otool"
8019 else
8020 case $cross_compiling:$ac_tool_warned in
8021 yes:)
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8024 ac_tool_warned=yes ;;
8025 esac
8026 OTOOL=$ac_ct_OTOOL
8028 else
8029 OTOOL="$ac_cv_prog_OTOOL"
8032 if test -n "$ac_tool_prefix"; then
8033 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8034 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8036 $as_echo_n "checking for $ac_word... " >&6; }
8037 if ${ac_cv_prog_READELF+:} false; then :
8038 $as_echo_n "(cached) " >&6
8039 else
8040 if test -n "$READELF"; then
8041 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8042 else
8043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8044 for as_dir in $PATH
8046 IFS=$as_save_IFS
8047 test -z "$as_dir" && as_dir=.
8048 for ac_exec_ext in '' $ac_executable_extensions; do
8049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8050 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8052 break 2
8054 done
8055 done
8056 IFS=$as_save_IFS
8060 READELF=$ac_cv_prog_READELF
8061 if test -n "$READELF"; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8063 $as_echo "$READELF" >&6; }
8064 else
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8066 $as_echo "no" >&6; }
8071 if test -z "$ac_cv_prog_READELF"; then
8072 ac_ct_READELF=$READELF
8073 # Extract the first word of "readelf", so it can be a program name with args.
8074 set dummy readelf; ac_word=$2
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8076 $as_echo_n "checking for $ac_word... " >&6; }
8077 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8078 $as_echo_n "(cached) " >&6
8079 else
8080 if test -n "$ac_ct_READELF"; then
8081 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8082 else
8083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8084 for as_dir in $PATH
8086 IFS=$as_save_IFS
8087 test -z "$as_dir" && as_dir=.
8088 for ac_exec_ext in '' $ac_executable_extensions; do
8089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8090 ac_cv_prog_ac_ct_READELF="readelf"
8091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8092 break 2
8094 done
8095 done
8096 IFS=$as_save_IFS
8100 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8101 if test -n "$ac_ct_READELF"; then
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8103 $as_echo "$ac_ct_READELF" >&6; }
8104 else
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8106 $as_echo "no" >&6; }
8109 if test "x$ac_ct_READELF" = x; then
8110 READELF="true"
8111 else
8112 case $cross_compiling:$ac_tool_warned in
8113 yes:)
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8116 ac_tool_warned=yes ;;
8117 esac
8118 READELF=$ac_ct_READELF
8120 else
8121 READELF="$ac_cv_prog_READELF"
8124 wine_rules_file=conf$$rules.make
8125 rm -f $wine_rules_file
8126 SUBDIRS=""
8128 DISABLED_SUBDIRS=""
8130 CONFIGURE_TARGETS=""
8133 wine_fn_append_file ()
8135 as_fn_append $1 " \\$as_nl $2"
8138 wine_fn_append_rule ()
8140 $as_echo "$1" >>$wine_rules_file
8143 wine_fn_config_makefile ()
8145 wine_fn_append_file SUBDIRS $1
8146 if eval test \"x\$"$2"\" = x"no"; then :
8147 wine_fn_append_file DISABLED_SUBDIRS $1
8151 wine_fn_config_symlink ()
8153 ac_links=$@
8154 wine_fn_append_rule \
8155 "$ac_links:
8156 @./config.status \$@"
8157 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8160 wine_binary="wine"
8161 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8162 WINELOADER_PROGRAMS="$wine_binary"
8164 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8166 case $host_os in
8167 cygwin*|mingw32*)
8168 if test -n "$ac_tool_prefix"; then
8169 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8170 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8172 $as_echo_n "checking for $ac_word... " >&6; }
8173 if ${ac_cv_prog_DLLTOOL+:} false; then :
8174 $as_echo_n "(cached) " >&6
8175 else
8176 if test -n "$DLLTOOL"; then
8177 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8178 else
8179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8180 for as_dir in $PATH
8182 IFS=$as_save_IFS
8183 test -z "$as_dir" && as_dir=.
8184 for ac_exec_ext in '' $ac_executable_extensions; do
8185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8186 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8188 break 2
8190 done
8191 done
8192 IFS=$as_save_IFS
8196 DLLTOOL=$ac_cv_prog_DLLTOOL
8197 if test -n "$DLLTOOL"; then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8199 $as_echo "$DLLTOOL" >&6; }
8200 else
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8202 $as_echo "no" >&6; }
8207 if test -z "$ac_cv_prog_DLLTOOL"; then
8208 ac_ct_DLLTOOL=$DLLTOOL
8209 # Extract the first word of "dlltool", so it can be a program name with args.
8210 set dummy dlltool; ac_word=$2
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8212 $as_echo_n "checking for $ac_word... " >&6; }
8213 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8214 $as_echo_n "(cached) " >&6
8215 else
8216 if test -n "$ac_ct_DLLTOOL"; then
8217 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8218 else
8219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8220 for as_dir in $PATH
8222 IFS=$as_save_IFS
8223 test -z "$as_dir" && as_dir=.
8224 for ac_exec_ext in '' $ac_executable_extensions; do
8225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8226 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8228 break 2
8230 done
8231 done
8232 IFS=$as_save_IFS
8236 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8237 if test -n "$ac_ct_DLLTOOL"; then
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8239 $as_echo "$ac_ct_DLLTOOL" >&6; }
8240 else
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8242 $as_echo "no" >&6; }
8245 if test "x$ac_ct_DLLTOOL" = x; then
8246 DLLTOOL="false"
8247 else
8248 case $cross_compiling:$ac_tool_warned in
8249 yes:)
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8252 ac_tool_warned=yes ;;
8253 esac
8254 DLLTOOL=$ac_ct_DLLTOOL
8256 else
8257 DLLTOOL="$ac_cv_prog_DLLTOOL"
8260 LIBEXT="dll"
8261 DLLEXT=""
8262 case $host_cpu in
8263 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8264 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8265 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8266 $as_echo_n "(cached) " >&6
8267 else
8268 ac_wine_try_cflags_saved=$CFLAGS
8269 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8271 /* end confdefs.h. */
8272 int main(int argc, char **argv) { return 0; }
8273 _ACEOF
8274 if ac_fn_c_try_link "$LINENO"; then :
8275 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8276 else
8277 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8279 rm -f core conftest.err conftest.$ac_objext \
8280 conftest$ac_exeext conftest.$ac_ext
8281 CFLAGS=$ac_wine_try_cflags_saved
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8284 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8285 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8286 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8287 fi ;;
8288 esac
8289 enable_iphlpapi=${enable_iphlpapi:-no}
8290 enable_kernel32=${enable_kernel32:-no}
8291 enable_ntdll=${enable_ntdll:-no}
8292 enable_ws2_32=${enable_ws2_32:-no}
8293 enable_loader=${enable_loader:-no}
8294 enable_server=${enable_server:-no}
8295 with_x=${with_x:-no}
8296 with_pthread=${with_pthread:-no}
8299 darwin*|macosx*)
8300 ac_ext=m
8301 ac_cpp='$OBJCPP $CPPFLAGS'
8302 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8303 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8304 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8306 ac_ext=m
8307 ac_cpp='$OBJCPP $CPPFLAGS'
8308 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8309 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8310 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8311 if test -n "$ac_tool_prefix"; then
8312 for ac_prog in gcc objcc objc cc CC
8314 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8315 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8317 $as_echo_n "checking for $ac_word... " >&6; }
8318 if ${ac_cv_prog_OBJC+:} false; then :
8319 $as_echo_n "(cached) " >&6
8320 else
8321 if test -n "$OBJC"; then
8322 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8323 else
8324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8325 for as_dir in $PATH
8327 IFS=$as_save_IFS
8328 test -z "$as_dir" && as_dir=.
8329 for ac_exec_ext in '' $ac_executable_extensions; do
8330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8331 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8333 break 2
8335 done
8336 done
8337 IFS=$as_save_IFS
8341 OBJC=$ac_cv_prog_OBJC
8342 if test -n "$OBJC"; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8344 $as_echo "$OBJC" >&6; }
8345 else
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8347 $as_echo "no" >&6; }
8351 test -n "$OBJC" && break
8352 done
8354 if test -z "$OBJC"; then
8355 ac_ct_OBJC=$OBJC
8356 for ac_prog in gcc objcc objc cc CC
8358 # Extract the first word of "$ac_prog", so it can be a program name with args.
8359 set dummy $ac_prog; ac_word=$2
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8361 $as_echo_n "checking for $ac_word... " >&6; }
8362 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8363 $as_echo_n "(cached) " >&6
8364 else
8365 if test -n "$ac_ct_OBJC"; then
8366 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8367 else
8368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8369 for as_dir in $PATH
8371 IFS=$as_save_IFS
8372 test -z "$as_dir" && as_dir=.
8373 for ac_exec_ext in '' $ac_executable_extensions; do
8374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8375 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8377 break 2
8379 done
8380 done
8381 IFS=$as_save_IFS
8385 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8386 if test -n "$ac_ct_OBJC"; then
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8388 $as_echo "$ac_ct_OBJC" >&6; }
8389 else
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8391 $as_echo "no" >&6; }
8395 test -n "$ac_ct_OBJC" && break
8396 done
8398 if test "x$ac_ct_OBJC" = x; then
8399 OBJC="gcc"
8400 else
8401 case $cross_compiling:$ac_tool_warned in
8402 yes:)
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8405 ac_tool_warned=yes ;;
8406 esac
8407 OBJC=$ac_ct_OBJC
8411 # Provide some information about the compiler.
8412 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8413 set X $ac_compile
8414 ac_compiler=$2
8415 for ac_option in --version -v -V -qversion; do
8416 { { ac_try="$ac_compiler $ac_option >&5"
8417 case "(($ac_try" in
8418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8419 *) ac_try_echo=$ac_try;;
8420 esac
8421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8422 $as_echo "$ac_try_echo"; } >&5
8423 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8424 ac_status=$?
8425 if test -s conftest.err; then
8426 sed '10a\
8427 ... rest of stderr output deleted ...
8428 10q' conftest.err >conftest.er1
8429 cat conftest.er1 >&5
8431 rm -f conftest.er1 conftest.err
8432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8433 test $ac_status = 0; }
8434 done
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8437 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8438 if ${ac_cv_objc_compiler_gnu+:} false; then :
8439 $as_echo_n "(cached) " >&6
8440 else
8441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8442 /* end confdefs.h. */
8445 main ()
8447 #ifndef __GNUC__
8448 choke me
8449 #endif
8452 return 0;
8454 _ACEOF
8455 if ac_fn_objc_try_compile "$LINENO"; then :
8456 ac_compiler_gnu=yes
8457 else
8458 ac_compiler_gnu=no
8460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8461 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8465 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8466 if test $ac_compiler_gnu = yes; then
8467 GOBJC=yes
8468 else
8469 GOBJC=
8471 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8472 ac_save_OBJCFLAGS=$OBJCFLAGS
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8474 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8475 if ${ac_cv_prog_objc_g+:} false; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 ac_save_objc_werror_flag=$ac_objc_werror_flag
8479 ac_objc_werror_flag=yes
8480 ac_cv_prog_objc_g=no
8481 OBJCFLAGS="-g"
8482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8483 /* end confdefs.h. */
8486 main ()
8490 return 0;
8492 _ACEOF
8493 if ac_fn_objc_try_compile "$LINENO"; then :
8494 ac_cv_prog_objc_g=yes
8495 else
8496 OBJCFLAGS=""
8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h. */
8501 main ()
8505 return 0;
8507 _ACEOF
8508 if ac_fn_objc_try_compile "$LINENO"; then :
8510 else
8511 ac_objc_werror_flag=$ac_save_objc_werror_flag
8512 OBJCFLAGS="-g"
8513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8514 /* end confdefs.h. */
8517 main ()
8521 return 0;
8523 _ACEOF
8524 if ac_fn_objc_try_compile "$LINENO"; then :
8525 ac_cv_prog_objc_g=yes
8527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8532 ac_objc_werror_flag=$ac_save_objc_werror_flag
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8535 $as_echo "$ac_cv_prog_objc_g" >&6; }
8536 if test "$ac_test_OBJCFLAGS" = set; then
8537 OBJCFLAGS=$ac_save_OBJCFLAGS
8538 elif test $ac_cv_prog_objc_g = yes; then
8539 if test "$GOBJC" = yes; then
8540 OBJCFLAGS="-g -O2"
8541 else
8542 OBJCFLAGS="-g"
8544 else
8545 if test "$GOBJC" = yes; then
8546 OBJCFLAGS="-O2"
8547 else
8548 OBJCFLAGS=
8551 ac_ext=m
8552 ac_cpp='$OBJCPP $CPPFLAGS'
8553 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8554 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8555 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8558 ac_ext=m
8559 ac_cpp='$OBJCPP $CPPFLAGS'
8560 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8561 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8562 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8564 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8565 if test -z "$OBJCPP"; then
8566 if ${ac_cv_prog_OBJCPP+:} false; then :
8567 $as_echo_n "(cached) " >&6
8568 else
8569 # Double quotes because OBJCPP needs to be expanded
8570 for OBJCPP in "$OBJC -E" "/lib/cpp"
8572 ac_preproc_ok=false
8573 for ac_objc_preproc_warn_flag in '' yes
8575 # Use a header file that comes with gcc, so configuring glibc
8576 # with a fresh cross-compiler works.
8577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8578 # <limits.h> exists even on freestanding compilers.
8579 # On the NeXT, cc -E runs the code through the compiler's parser,
8580 # not just through cpp. "Syntax error" is here to catch this case.
8581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8582 /* end confdefs.h. */
8583 #ifdef __STDC__
8584 # include <limits.h>
8585 #else
8586 # include <assert.h>
8587 #endif
8588 Syntax error
8589 _ACEOF
8590 if ac_fn_objc_try_cpp "$LINENO"; then :
8592 else
8593 # Broken: fails on valid input.
8594 continue
8596 rm -f conftest.err conftest.i conftest.$ac_ext
8598 # OK, works on sane cases. Now check whether nonexistent headers
8599 # can be detected and how.
8600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8601 /* end confdefs.h. */
8602 #include <ac_nonexistent.h>
8603 _ACEOF
8604 if ac_fn_objc_try_cpp "$LINENO"; then :
8605 # Broken: success on invalid input.
8606 continue
8607 else
8608 # Passes both tests.
8609 ac_preproc_ok=:
8610 break
8612 rm -f conftest.err conftest.i conftest.$ac_ext
8614 done
8615 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8616 rm -f conftest.i conftest.err conftest.$ac_ext
8617 if $ac_preproc_ok; then :
8618 break
8621 done
8622 ac_cv_prog_OBJCPP=$OBJCPP
8625 OBJCPP=$ac_cv_prog_OBJCPP
8626 else
8627 ac_cv_prog_OBJCPP=$OBJCPP
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8630 $as_echo "$OBJCPP" >&6; }
8631 ac_preproc_ok=false
8632 for ac_objc_preproc_warn_flag in '' yes
8634 # Use a header file that comes with gcc, so configuring glibc
8635 # with a fresh cross-compiler works.
8636 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8637 # <limits.h> exists even on freestanding compilers.
8638 # On the NeXT, cc -E runs the code through the compiler's parser,
8639 # not just through cpp. "Syntax error" is here to catch this case.
8640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8641 /* end confdefs.h. */
8642 #ifdef __STDC__
8643 # include <limits.h>
8644 #else
8645 # include <assert.h>
8646 #endif
8647 Syntax error
8648 _ACEOF
8649 if ac_fn_objc_try_cpp "$LINENO"; then :
8651 else
8652 # Broken: fails on valid input.
8653 continue
8655 rm -f conftest.err conftest.i conftest.$ac_ext
8657 # OK, works on sane cases. Now check whether nonexistent headers
8658 # can be detected and how.
8659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8660 /* end confdefs.h. */
8661 #include <ac_nonexistent.h>
8662 _ACEOF
8663 if ac_fn_objc_try_cpp "$LINENO"; then :
8664 # Broken: success on invalid input.
8665 continue
8666 else
8667 # Passes both tests.
8668 ac_preproc_ok=:
8669 break
8671 rm -f conftest.err conftest.i conftest.$ac_ext
8673 done
8674 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8675 rm -f conftest.i conftest.err conftest.$ac_ext
8676 if $ac_preproc_ok; then :
8678 else
8679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8681 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8682 See \`config.log' for more details" "$LINENO" 5; }
8685 ac_ext=m
8686 ac_cpp='$OBJCPP $CPPFLAGS'
8687 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8688 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8689 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8692 for ac_header in Metal/Metal.h
8693 do :
8694 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8695 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8696 cat >>confdefs.h <<_ACEOF
8697 #define HAVE_METAL_METAL_H 1
8698 _ACEOF
8702 done
8704 ac_ext=c
8705 ac_cpp='$CPP $CPPFLAGS'
8706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8710 LIBEXT="dylib"
8711 DLLFLAGS="$DLLFLAGS -fPIC"
8712 LDDLLFLAGS="-fPIC"
8713 COREFOUNDATION_LIBS="-framework CoreFoundation"
8715 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8717 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8719 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8721 CORESERVICES_LIBS="-framework CoreServices"
8723 APPKIT_LIBS="-framework AppKit"
8725 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8728 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8730 wine_can_build_preloader=yes
8731 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8733 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8734 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8735 $as_echo_n "(cached) " >&6
8736 else
8737 ac_wine_try_cflags_saved=$CFLAGS
8738 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8740 /* end confdefs.h. */
8741 int main(int argc, char **argv) { return 0; }
8742 _ACEOF
8743 if ac_fn_c_try_link "$LINENO"; then :
8744 ac_cv_cflags__Wl__no_new_main__e__main=yes
8745 else
8746 ac_cv_cflags__Wl__no_new_main__e__main=no
8748 rm -f core conftest.err conftest.$ac_objext \
8749 conftest$ac_exeext conftest.$ac_ext
8750 CFLAGS=$ac_wine_try_cflags_saved
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8753 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8754 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8755 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8757 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8758 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8759 $as_echo_n "(cached) " >&6
8760 else
8761 ac_wine_try_cflags_saved=$CFLAGS
8762 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8764 /* end confdefs.h. */
8765 int main(int argc, char **argv) { return 0; }
8766 _ACEOF
8767 if ac_fn_c_try_link "$LINENO"; then :
8768 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8769 else
8770 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8772 rm -f core conftest.err conftest.$ac_objext \
8773 conftest$ac_exeext conftest.$ac_ext
8774 CFLAGS=$ac_wine_try_cflags_saved
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8777 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8778 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8779 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8780 else
8781 { $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
8782 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8783 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8784 $as_echo_n "(cached) " >&6
8785 else
8786 ac_wine_try_cflags_saved=$CFLAGS
8787 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8789 /* end confdefs.h. */
8790 int main(int argc, char **argv) { return 0; }
8791 _ACEOF
8792 if ac_fn_c_try_link "$LINENO"; then :
8793 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8794 else
8795 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8797 rm -f core conftest.err conftest.$ac_objext \
8798 conftest$ac_exeext conftest.$ac_ext
8799 CFLAGS=$ac_wine_try_cflags_saved
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8802 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8803 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8804 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8805 else
8806 wine_can_build_preloader=no
8809 else
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8811 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8812 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8813 $as_echo_n "(cached) " >&6
8814 else
8815 ac_wine_try_cflags_saved=$CFLAGS
8816 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8819 int main(int argc, char **argv) { return 0; }
8820 _ACEOF
8821 if ac_fn_c_try_link "$LINENO"; then :
8822 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8823 else
8824 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8826 rm -f core conftest.err conftest.$ac_objext \
8827 conftest$ac_exeext conftest.$ac_ext
8828 CFLAGS=$ac_wine_try_cflags_saved
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8831 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8832 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8833 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8834 else
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8836 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8837 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8838 $as_echo_n "(cached) " >&6
8839 else
8840 ac_wine_try_cflags_saved=$CFLAGS
8841 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 /* end confdefs.h. */
8844 int main(int argc, char **argv) { return 0; }
8845 _ACEOF
8846 if ac_fn_c_try_link "$LINENO"; then :
8847 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8848 else
8849 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8851 rm -f core conftest.err conftest.$ac_objext \
8852 conftest$ac_exeext conftest.$ac_ext
8853 CFLAGS=$ac_wine_try_cflags_saved
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8856 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8857 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8858 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8859 else
8860 wine_can_build_preloader=no
8864 if test "$wine_can_build_preloader" = "yes"
8865 then
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8867 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8868 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8869 $as_echo_n "(cached) " >&6
8870 else
8871 ac_wine_try_cflags_saved=$CFLAGS
8872 CFLAGS="$CFLAGS -Wl,-no_pie"
8873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8875 int main(int argc, char **argv) { return 0; }
8876 _ACEOF
8877 if ac_fn_c_try_link "$LINENO"; then :
8878 ac_cv_cflags__Wl__no_pie=yes
8879 else
8880 ac_cv_cflags__Wl__no_pie=no
8882 rm -f core conftest.err conftest.$ac_objext \
8883 conftest$ac_exeext conftest.$ac_ext
8884 CFLAGS=$ac_wine_try_cflags_saved
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8887 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8888 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8889 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8891 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8892 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8893 else
8894 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8897 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8898 then
8899 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8902 if test "$ac_cv_header_Security_Security_h" = "yes"
8903 then
8904 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8906 ac_save_LIBS="$LIBS"
8907 LIBS="$LIBS $SECURITY_LIBS"
8908 for ac_func in SSLCopyPeerCertificates
8909 do :
8910 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8911 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8912 cat >>confdefs.h <<_ACEOF
8913 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8914 _ACEOF
8917 done
8919 LIBS="$ac_save_LIBS"
8921 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8922 then
8923 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8924 then
8925 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8927 else
8928 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8931 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8932 ac_save_LIBS="$LIBS"
8933 LIBS="$LIBS $COREAUDIO_LIBS"
8934 for ac_func in AUGraphAddNode
8935 do :
8936 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8937 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8938 cat >>confdefs.h <<_ACEOF
8939 #define HAVE_AUGRAPHADDNODE 1
8940 _ACEOF
8943 done
8945 LIBS="$ac_save_LIBS"
8947 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8948 then
8949 OPENAL_LIBS="-framework OpenAL"
8952 cat >>confdefs.h <<_ACEOF
8953 #define HAVE_OPENAL 1
8954 _ACEOF
8956 ac_cv_lib_openal=yes
8958 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8959 then
8960 OPENCL_LIBS="-framework OpenCL"
8962 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8964 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8965 then
8966 ac_save_LIBS="$LIBS"
8967 LIBS="$LIBS $IOKIT_LIBS"
8968 for ac_func in IOHIDManagerCreate
8969 do :
8970 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8971 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8972 cat >>confdefs.h <<_ACEOF
8973 #define HAVE_IOHIDMANAGERCREATE 1
8974 _ACEOF
8977 done
8979 LIBS="$ac_save_LIBS"
8982 if test "x$with_quicktime" != "xno"
8983 then
8984 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8985 then
8986 ac_save_LIBS="$LIBS"
8987 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8989 $as_echo_n "checking for the QuickTime framework... " >&6; }
8990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8991 /* end confdefs.h. */
8992 #include <QuickTime/ImageCompression.h>
8994 main ()
8996 CodecManagerVersion(NULL);
8998 return 0;
9000 _ACEOF
9001 if ac_fn_c_try_link "$LINENO"; then :
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9003 $as_echo "yes" >&6; }
9004 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9006 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9007 else
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9009 $as_echo "no" >&6; }
9010 ac_cv_header_QuickTime_ImageCompression_h=no
9012 rm -f core conftest.err conftest.$ac_objext \
9013 conftest$ac_exeext conftest.$ac_ext
9014 LIBS="$ac_save_LIBS"
9017 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9018 case "x$with_quicktime" in
9019 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9020 xno) ;;
9021 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9022 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9023 esac
9027 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9028 then
9029 CARBON_LIBS="-framework Carbon"
9032 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9033 then
9034 METAL_LIBS="-framework Metal -framework QuartzCore"
9038 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9039 then
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9041 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9042 ac_ext=m
9043 ac_cpp='$OBJCPP $CPPFLAGS'
9044 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9045 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9046 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9050 #include <Metal/Metal.h>
9052 main ()
9054 id<MTLDevice> device; device.registryID;
9056 return 0;
9058 _ACEOF
9059 if ac_fn_objc_try_compile "$LINENO"; then :
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9061 $as_echo "yes" >&6; }
9063 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9065 else
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9067 $as_echo "no" >&6; }
9069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9070 ac_ext=c
9071 ac_cpp='$CPP $CPPFLAGS'
9072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9078 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9079 then
9080 ac_save_LIBS="$LIBS"
9081 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9082 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9083 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9084 enable_winemac_drv=${enable_winemac_drv:-yes}
9087 LIBS="$ac_save_LIBS"
9090 if test "x$enable_win16" = "xyes"
9091 then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9093 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9094 if test "$cross_compiling" = yes; then :
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9096 $as_echo "cross-compiling, assuming yes" >&6; }
9097 else
9098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9099 /* end confdefs.h. */
9100 asm(".text\n"
9101 "bad:\tnop;nop\n"
9102 "good:\tnop;nop\n\t"
9103 ".globl _testfunc\n"
9104 "_testfunc:\tcallw good");
9105 extern void testfunc();
9107 main ()
9109 unsigned short *p = (unsigned short *)testfunc;
9110 return p[0] != 0xe866 || p[1] != 0xfffa
9112 return 0;
9114 _ACEOF
9115 if ac_fn_c_try_run "$LINENO"; then :
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9117 $as_echo "yes" >&6; }
9118 else
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9120 $as_echo "no" >&6; }
9121 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
9123 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9124 conftest.$ac_objext conftest.beam conftest.$ac_ext
9129 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9131 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9133 WINELOADER_DEPENDS="wine_info.plist"
9135 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9136 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9139 linux-android*)
9140 DLLFLAGS="$DLLFLAGS -fPIC"
9141 LDDLLFLAGS="-fPIC"
9142 LDEXECFLAGS="-Wl,-pie"
9143 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9145 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9146 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9147 $as_echo_n "(cached) " >&6
9148 else
9149 ac_wine_try_cflags_saved=$CFLAGS
9150 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9152 /* end confdefs.h. */
9153 int main(int argc, char **argv) { return 0; }
9154 _ACEOF
9155 if ac_fn_c_try_link "$LINENO"; then :
9156 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9157 else
9158 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9160 rm -f core conftest.err conftest.$ac_objext \
9161 conftest$ac_exeext conftest.$ac_ext
9162 CFLAGS=$ac_wine_try_cflags_saved
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9165 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9166 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9167 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9169 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9171 LIBWINE_SHAREDLIB="libwine.so"
9173 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9175 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9178 $as_echo_n "checking for -lEGL... " >&6; }
9179 if ${ac_cv_lib_soname_EGL+:} false; then :
9180 $as_echo_n "(cached) " >&6
9181 else
9182 ac_check_soname_save_LIBS=$LIBS
9183 LIBS="-lEGL $LIBS"
9184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9185 /* end confdefs.h. */
9187 /* Override any GCC internal prototype to avoid an error.
9188 Use char because int might match the return type of a GCC
9189 builtin and then its argument prototype would still apply. */
9190 #ifdef __cplusplus
9191 extern "C"
9192 #endif
9193 char eglGetProcAddress ();
9195 main ()
9197 return eglGetProcAddress ();
9199 return 0;
9201 _ACEOF
9202 if ac_fn_c_try_link "$LINENO"; then :
9203 case "$LIBEXT" in
9204 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9205 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'` ;;
9206 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9207 if ${ac_cv_lib_soname_EGL:+false} :; then :
9208 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9209 fi ;;
9210 esac
9211 else
9212 ac_cv_lib_soname_EGL=
9214 rm -f core conftest.err conftest.$ac_objext \
9215 conftest$ac_exeext conftest.$ac_ext
9216 LIBS=$ac_check_soname_save_LIBS
9218 if ${ac_cv_lib_soname_EGL:+false} :; then :
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9220 $as_echo "not found" >&6; }
9222 else
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9224 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9226 cat >>confdefs.h <<_ACEOF
9227 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9228 _ACEOF
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9233 $as_echo_n "checking for -lGLESv2... " >&6; }
9234 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9235 $as_echo_n "(cached) " >&6
9236 else
9237 ac_check_soname_save_LIBS=$LIBS
9238 LIBS="-lGLESv2 $LIBS"
9239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9240 /* end confdefs.h. */
9242 /* Override any GCC internal prototype to avoid an error.
9243 Use char because int might match the return type of a GCC
9244 builtin and then its argument prototype would still apply. */
9245 #ifdef __cplusplus
9246 extern "C"
9247 #endif
9248 char glFlush ();
9250 main ()
9252 return glFlush ();
9254 return 0;
9256 _ACEOF
9257 if ac_fn_c_try_link "$LINENO"; then :
9258 case "$LIBEXT" in
9259 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9260 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'` ;;
9261 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9262 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9263 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9264 fi ;;
9265 esac
9266 else
9267 ac_cv_lib_soname_GLESv2=
9269 rm -f core conftest.err conftest.$ac_objext \
9270 conftest$ac_exeext conftest.$ac_ext
9271 LIBS=$ac_check_soname_save_LIBS
9273 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9275 $as_echo "not found" >&6; }
9277 else
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9279 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9281 cat >>confdefs.h <<_ACEOF
9282 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9283 _ACEOF
9288 if test "x$exec_prefix" = xNONE
9289 then
9290 case $host_cpu in
9291 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9292 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9293 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9294 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9295 esac
9300 case $host_cpu in
9301 *i[3456789]86*)
9302 DLLFLAGS="$DLLFLAGS -fno-PIC"
9303 LDDLLFLAGS="-fno-PIC" ;;
9305 DLLFLAGS="$DLLFLAGS -fPIC"
9306 LDDLLFLAGS="-fPIC" ;;
9307 esac
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9309 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9310 if ${ac_cv_c_dll_gnuelf+:} false; then :
9311 $as_echo_n "(cached) " >&6
9312 else
9313 ac_wine_try_cflags_saved=$CFLAGS
9314 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9317 void myfunc() {}
9318 _ACEOF
9319 if ac_fn_c_try_link "$LINENO"; then :
9320 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9321 else
9322 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9324 rm -f core conftest.err conftest.$ac_objext \
9325 conftest$ac_exeext conftest.$ac_ext
9326 CFLAGS=$ac_wine_try_cflags_saved
9327 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9328 ac_cv_c_dll_gnuelf="yes"
9329 else
9330 ac_cv_c_dll_gnuelf="no"
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9334 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9335 if test "$ac_cv_c_dll_gnuelf" = "yes"
9336 then
9337 LIBWINE_LDFLAGS="-shared"
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9339 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9340 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9341 $as_echo_n "(cached) " >&6
9342 else
9343 ac_wine_try_cflags_saved=$CFLAGS
9344 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9347 int main(int argc, char **argv) { return 0; }
9348 _ACEOF
9349 if ac_fn_c_try_link "$LINENO"; then :
9350 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9351 else
9352 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9354 rm -f core conftest.err conftest.$ac_objext \
9355 conftest$ac_exeext conftest.$ac_ext
9356 CFLAGS=$ac_wine_try_cflags_saved
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9359 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9360 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9361 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9362 else
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9364 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9365 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9366 $as_echo_n "(cached) " >&6
9367 else
9368 ac_wine_try_cflags_saved=$CFLAGS
9369 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9371 /* end confdefs.h. */
9372 int main(int argc, char **argv) { return 0; }
9373 _ACEOF
9374 if ac_fn_c_try_link "$LINENO"; then :
9375 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9376 else
9377 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9379 rm -f core conftest.err conftest.$ac_objext \
9380 conftest$ac_exeext conftest.$ac_ext
9381 CFLAGS=$ac_wine_try_cflags_saved
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9384 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9385 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9386 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9390 echo '{ global: *; };' >conftest.map
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9392 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9393 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9394 $as_echo_n "(cached) " >&6
9395 else
9396 ac_wine_try_cflags_saved=$CFLAGS
9397 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */
9400 int main(int argc, char **argv) { return 0; }
9401 _ACEOF
9402 if ac_fn_c_try_link "$LINENO"; then :
9403 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9404 else
9405 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9407 rm -f core conftest.err conftest.$ac_objext \
9408 conftest$ac_exeext conftest.$ac_ext
9409 CFLAGS=$ac_wine_try_cflags_saved
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9412 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9413 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9414 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9416 rm -f conftest.map
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9419 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9420 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9421 $as_echo_n "(cached) " >&6
9422 else
9423 ac_wine_try_cflags_saved=$CFLAGS
9424 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9426 /* end confdefs.h. */
9427 int main(int argc, char **argv) { return 0; }
9428 _ACEOF
9429 if ac_fn_c_try_link "$LINENO"; then :
9430 ac_cv_cflags__Wl___export_dynamic=yes
9431 else
9432 ac_cv_cflags__Wl___export_dynamic=no
9434 rm -f core conftest.err conftest.$ac_objext \
9435 conftest$ac_exeext conftest.$ac_ext
9436 CFLAGS=$ac_wine_try_cflags_saved
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9439 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9440 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9441 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9443 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9445 case $host_cpu in
9446 *i[3456789]86* | x86_64 | *aarch64*)
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9448 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9449 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9450 $as_echo_n "(cached) " >&6
9451 else
9452 ac_wine_try_cflags_saved=$CFLAGS
9453 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9455 /* end confdefs.h. */
9456 int main(int argc, char **argv) { return 0; }
9457 _ACEOF
9458 if ac_fn_c_try_link "$LINENO"; then :
9459 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9460 else
9461 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9463 rm -f core conftest.err conftest.$ac_objext \
9464 conftest$ac_exeext conftest.$ac_ext
9465 CFLAGS=$ac_wine_try_cflags_saved
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9468 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9469 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9470 case $host_os in
9471 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9472 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9473 esac
9474 else
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9476 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9477 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9478 $as_echo_n "(cached) " >&6
9479 else
9480 ac_wine_try_cflags_saved=$CFLAGS
9481 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9483 /* end confdefs.h. */
9484 int main(int argc, char **argv) { return 0; }
9485 _ACEOF
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9488 else
9489 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9491 rm -f core conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 CFLAGS=$ac_wine_try_cflags_saved
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9496 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9497 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9498 case $host_os in
9499 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9500 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9501 esac
9503 # Extract the first word of "prelink", so it can be a program name with args.
9504 set dummy prelink; ac_word=$2
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9506 $as_echo_n "checking for $ac_word... " >&6; }
9507 if ${ac_cv_path_PRELINK+:} false; then :
9508 $as_echo_n "(cached) " >&6
9509 else
9510 case $PRELINK in
9511 [\\/]* | ?:[\\/]*)
9512 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9516 for as_dir in /sbin /usr/sbin $PATH
9518 IFS=$as_save_IFS
9519 test -z "$as_dir" && as_dir=.
9520 for ac_exec_ext in '' $ac_executable_extensions; do
9521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9522 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9524 break 2
9526 done
9527 done
9528 IFS=$as_save_IFS
9530 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9532 esac
9534 PRELINK=$ac_cv_path_PRELINK
9535 if test -n "$PRELINK"; then
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9537 $as_echo "$PRELINK" >&6; }
9538 else
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9540 $as_echo "no" >&6; }
9544 if test "x$PRELINK" = xfalse
9545 then
9546 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9550 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9551 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9552 $as_echo_n "(cached) " >&6
9553 else
9554 ac_wine_try_cflags_saved=$CFLAGS
9555 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9557 /* end confdefs.h. */
9558 int main(int argc, char **argv) { return 0; }
9559 _ACEOF
9560 if ac_fn_c_try_link "$LINENO"; then :
9561 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9562 else
9563 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9565 rm -f core conftest.err conftest.$ac_objext \
9566 conftest$ac_exeext conftest.$ac_ext
9567 CFLAGS=$ac_wine_try_cflags_saved
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9570 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9571 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9572 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9575 esac
9577 else
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9579 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9580 if ${ac_cv_c_dll_unixware+:} false; then :
9581 $as_echo_n "(cached) " >&6
9582 else
9583 ac_wine_try_cflags_saved=$CFLAGS
9584 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9587 void myfunc() {}
9588 _ACEOF
9589 if ac_fn_c_try_link "$LINENO"; then :
9590 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9591 else
9592 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9594 rm -f core conftest.err conftest.$ac_objext \
9595 conftest$ac_exeext conftest.$ac_ext
9596 CFLAGS=$ac_wine_try_cflags_saved
9597 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9598 ac_cv_c_dll_unixware="yes"
9599 else
9600 ac_cv_c_dll_unixware="no"
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9604 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9605 if test "$ac_cv_c_dll_unixware" = "yes"
9606 then
9607 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9610 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9612 LIBWINE_DEPENDS="wine.map"
9614 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9615 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9617 esac
9619 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9620 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9621 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9622 enable_winemac_drv=${enable_winemac_drv:-no}
9623 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9626 if test "x$with_mingw" != xno
9627 then
9628 case "x$with_mingw" in
9629 x|xyes) case "$host_cpu" in
9630 aarch64*)
9631 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9632 arm*)
9633 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9634 i[3456789]86*)
9635 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
9636 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9637 mingw32-gcc" ;;
9638 x86_64)
9639 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
9640 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9642 ac_prefix_list="" ;;
9643 esac
9644 for ac_prog in $ac_prefix_list
9646 # Extract the first word of "$ac_prog", so it can be a program name with args.
9647 set dummy $ac_prog; ac_word=$2
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9649 $as_echo_n "checking for $ac_word... " >&6; }
9650 if ${ac_cv_prog_CROSSCC+:} false; then :
9651 $as_echo_n "(cached) " >&6
9652 else
9653 if test -n "$CROSSCC"; then
9654 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9655 else
9656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9657 for as_dir in $PATH
9659 IFS=$as_save_IFS
9660 test -z "$as_dir" && as_dir=.
9661 for ac_exec_ext in '' $ac_executable_extensions; do
9662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9663 ac_cv_prog_CROSSCC="$ac_prog"
9664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9665 break 2
9667 done
9668 done
9669 IFS=$as_save_IFS
9673 CROSSCC=$ac_cv_prog_CROSSCC
9674 if test -n "$CROSSCC"; then
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9676 $as_echo "$CROSSCC" >&6; }
9677 else
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9679 $as_echo "no" >&6; }
9683 test -n "$CROSSCC" && break
9684 done
9685 test -n "$CROSSCC" || CROSSCC="false"
9687 *) CROSSCC=$with_mingw ;;
9688 esac
9689 if test "$CROSSCC" != "false"
9690 then
9691 ac_save_CC="$CC"
9692 saved_CFLAGS=$CFLAGS
9693 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9695 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9699 CC="$CROSSCC"
9700 CFLAGS=$CROSSCFLAGS
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9702 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9703 if ${wine_cv_crosscc+:} false; then :
9704 $as_echo_n "(cached) " >&6
9705 else
9706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9707 /* end confdefs.h. */
9710 main ()
9714 return 0;
9716 _ACEOF
9717 if ac_fn_c_try_compile "$LINENO"; then :
9718 wine_cv_crosscc=yes
9719 else
9720 wine_cv_crosscc=no
9722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9725 $as_echo "$wine_cv_crosscc" >&6; }
9726 if test $wine_cv_crosscc = yes
9727 then
9728 set x $CROSSCC
9729 shift
9730 while test $# -ge 1
9732 case "$1" in
9733 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9734 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9735 esac
9736 shift
9737 done
9739 llvm_target=$CROSSTARGET
9740 llvm_cflags="-fuse-ld=lld"
9741 if test -z "$llvm_target"
9742 then
9743 case $host_cpu in
9744 *i[3456789]86*) llvm_target=i686-windows ;;
9745 *) llvm_target=$host_cpu-windows ;;
9746 esac
9748 case $llvm_target in
9749 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9750 esac
9751 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9753 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9754 if eval \${$as_ac_var+:} false; then :
9755 $as_echo_n "(cached) " >&6
9756 else
9757 ac_wine_try_cflags_saved=$CFLAGS
9758 ac_wine_try_cflags_saved_cc=$CC
9759 ac_wine_try_cflags_saved_exeext=$ac_exeext
9760 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9761 CC="$CROSSCC"
9762 ac_exeext=".exe"
9763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9764 /* end confdefs.h. */
9765 int __cdecl mainCRTStartup(void) { return 0; }
9766 _ACEOF
9767 if ac_fn_c_try_link "$LINENO"; then :
9768 eval "$as_ac_var=yes"
9769 else
9770 eval "$as_ac_var=no"
9772 rm -f core conftest.err conftest.$ac_objext \
9773 conftest$ac_exeext conftest.$ac_ext
9774 CFLAGS=$ac_wine_try_cflags_saved
9775 CC=$ac_wine_try_cflags_saved_cc
9776 ac_exeext=$ac_wine_try_cflags_saved_exeext
9778 eval ac_res=\$$as_ac_var
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9780 $as_echo "$ac_res" >&6; }
9781 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9782 CROSSTARGET=$llvm_target
9783 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9784 DELAYLOADFLAG="-Wl,-delayload,"
9786 CFLAGS="$CFLAGS $llvm_cflags"
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9790 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9791 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9792 $as_echo_n "(cached) " >&6
9793 else
9794 ac_wine_try_cflags_saved=$CFLAGS
9795 ac_wine_try_cflags_saved_cc=$CC
9796 ac_wine_try_cflags_saved_exeext=$ac_exeext
9797 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9798 CC="$CROSSCC"
9799 ac_exeext=".exe"
9800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9802 int __cdecl mainCRTStartup(void) { return 0; }
9803 _ACEOF
9804 if ac_fn_c_try_link "$LINENO"; then :
9805 ac_cv_crosscflags__fno_strict_aliasing=yes
9806 else
9807 ac_cv_crosscflags__fno_strict_aliasing=no
9809 rm -f core conftest.err conftest.$ac_objext \
9810 conftest$ac_exeext conftest.$ac_ext
9811 CFLAGS=$ac_wine_try_cflags_saved
9812 CC=$ac_wine_try_cflags_saved_cc
9813 ac_exeext=$ac_wine_try_cflags_saved_exeext
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9816 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9817 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9818 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9821 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9822 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9823 $as_echo_n "(cached) " >&6
9824 else
9825 ac_wine_try_cflags_saved=$CFLAGS
9826 ac_wine_try_cflags_saved_cc=$CC
9827 ac_wine_try_cflags_saved_exeext=$ac_exeext
9828 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9829 CC="$CROSSCC"
9830 ac_exeext=".exe"
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9833 int __cdecl mainCRTStartup(void) { return 0; }
9834 _ACEOF
9835 if ac_fn_c_try_link "$LINENO"; then :
9836 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9837 else
9838 ac_cv_crosscflags__Werror_unknown_warning_option=no
9840 rm -f core conftest.err conftest.$ac_objext \
9841 conftest$ac_exeext conftest.$ac_ext
9842 CFLAGS=$ac_wine_try_cflags_saved
9843 CC=$ac_wine_try_cflags_saved_cc
9844 ac_exeext=$ac_wine_try_cflags_saved_exeext
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9847 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9848 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9849 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9852 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9853 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9854 $as_echo_n "(cached) " >&6
9855 else
9856 ac_wine_try_cflags_saved=$CFLAGS
9857 ac_wine_try_cflags_saved_cc=$CC
9858 ac_wine_try_cflags_saved_exeext=$ac_exeext
9859 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9860 CC="$CROSSCC"
9861 ac_exeext=".exe"
9862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9864 int __cdecl mainCRTStartup(void) { return 0; }
9865 _ACEOF
9866 if ac_fn_c_try_link "$LINENO"; then :
9867 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9868 else
9869 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9871 rm -f core conftest.err conftest.$ac_objext \
9872 conftest$ac_exeext conftest.$ac_ext
9873 CFLAGS=$ac_wine_try_cflags_saved
9874 CC=$ac_wine_try_cflags_saved_cc
9875 ac_exeext=$ac_wine_try_cflags_saved_exeext
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9878 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9879 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9880 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9883 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9884 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9885 $as_echo_n "(cached) " >&6
9886 else
9887 ac_wine_try_cflags_saved=$CFLAGS
9888 ac_wine_try_cflags_saved_cc=$CC
9889 ac_wine_try_cflags_saved_exeext=$ac_exeext
9890 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9891 CC="$CROSSCC"
9892 ac_exeext=".exe"
9893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9895 int __cdecl mainCRTStartup(void) { return 0; }
9896 _ACEOF
9897 if ac_fn_c_try_link "$LINENO"; then :
9898 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9899 else
9900 ac_cv_crosscflags__Wdeclaration_after_statement=no
9902 rm -f core conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9904 CFLAGS=$ac_wine_try_cflags_saved
9905 CC=$ac_wine_try_cflags_saved_cc
9906 ac_exeext=$ac_wine_try_cflags_saved_exeext
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9909 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9910 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9911 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9914 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9915 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9916 $as_echo_n "(cached) " >&6
9917 else
9918 ac_wine_try_cflags_saved=$CFLAGS
9919 ac_wine_try_cflags_saved_cc=$CC
9920 ac_wine_try_cflags_saved_exeext=$ac_exeext
9921 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9922 CC="$CROSSCC"
9923 ac_exeext=".exe"
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9926 int __cdecl mainCRTStartup(void) { return 0; }
9927 _ACEOF
9928 if ac_fn_c_try_link "$LINENO"; then :
9929 ac_cv_crosscflags__Wempty_body=yes
9930 else
9931 ac_cv_crosscflags__Wempty_body=no
9933 rm -f core conftest.err conftest.$ac_objext \
9934 conftest$ac_exeext conftest.$ac_ext
9935 CFLAGS=$ac_wine_try_cflags_saved
9936 CC=$ac_wine_try_cflags_saved_cc
9937 ac_exeext=$ac_wine_try_cflags_saved_exeext
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9940 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9941 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9942 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9945 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9946 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9947 $as_echo_n "(cached) " >&6
9948 else
9949 ac_wine_try_cflags_saved=$CFLAGS
9950 ac_wine_try_cflags_saved_cc=$CC
9951 ac_wine_try_cflags_saved_exeext=$ac_exeext
9952 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9953 CC="$CROSSCC"
9954 ac_exeext=".exe"
9955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9956 /* end confdefs.h. */
9957 int __cdecl mainCRTStartup(void) { return 0; }
9958 _ACEOF
9959 if ac_fn_c_try_link "$LINENO"; then :
9960 ac_cv_crosscflags__Wignored_qualifiers=yes
9961 else
9962 ac_cv_crosscflags__Wignored_qualifiers=no
9964 rm -f core conftest.err conftest.$ac_objext \
9965 conftest$ac_exeext conftest.$ac_ext
9966 CFLAGS=$ac_wine_try_cflags_saved
9967 CC=$ac_wine_try_cflags_saved_cc
9968 ac_exeext=$ac_wine_try_cflags_saved_exeext
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9971 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9972 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9973 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9976 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9977 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9978 $as_echo_n "(cached) " >&6
9979 else
9980 ac_wine_try_cflags_saved=$CFLAGS
9981 ac_wine_try_cflags_saved_cc=$CC
9982 ac_wine_try_cflags_saved_exeext=$ac_exeext
9983 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9984 CC="$CROSSCC"
9985 ac_exeext=".exe"
9986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9988 int __cdecl mainCRTStartup(void) { return 0; }
9989 _ACEOF
9990 if ac_fn_c_try_link "$LINENO"; then :
9991 ac_cv_crosscflags__Wpacked_not_aligned=yes
9992 else
9993 ac_cv_crosscflags__Wpacked_not_aligned=no
9995 rm -f core conftest.err conftest.$ac_objext \
9996 conftest$ac_exeext conftest.$ac_ext
9997 CFLAGS=$ac_wine_try_cflags_saved
9998 CC=$ac_wine_try_cflags_saved_cc
9999 ac_exeext=$ac_wine_try_cflags_saved_exeext
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10002 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10003 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10004 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10007 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10008 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10009 $as_echo_n "(cached) " >&6
10010 else
10011 ac_wine_try_cflags_saved=$CFLAGS
10012 ac_wine_try_cflags_saved_cc=$CC
10013 ac_wine_try_cflags_saved_exeext=$ac_exeext
10014 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10015 CC="$CROSSCC"
10016 ac_exeext=".exe"
10017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10018 /* end confdefs.h. */
10019 int __cdecl mainCRTStartup(void) { return 0; }
10020 _ACEOF
10021 if ac_fn_c_try_link "$LINENO"; then :
10022 ac_cv_crosscflags__Wpragma_pack=yes
10023 else
10024 ac_cv_crosscflags__Wpragma_pack=no
10026 rm -f core conftest.err conftest.$ac_objext \
10027 conftest$ac_exeext conftest.$ac_ext
10028 CFLAGS=$ac_wine_try_cflags_saved
10029 CC=$ac_wine_try_cflags_saved_cc
10030 ac_exeext=$ac_wine_try_cflags_saved_exeext
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10033 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10034 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10035 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10038 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10039 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10040 $as_echo_n "(cached) " >&6
10041 else
10042 ac_wine_try_cflags_saved=$CFLAGS
10043 ac_wine_try_cflags_saved_cc=$CC
10044 ac_wine_try_cflags_saved_exeext=$ac_exeext
10045 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10046 CC="$CROSSCC"
10047 ac_exeext=".exe"
10048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10049 /* end confdefs.h. */
10050 int __cdecl mainCRTStartup(void) { return 0; }
10051 _ACEOF
10052 if ac_fn_c_try_link "$LINENO"; then :
10053 ac_cv_crosscflags__Wshift_overflow_2=yes
10054 else
10055 ac_cv_crosscflags__Wshift_overflow_2=no
10057 rm -f core conftest.err conftest.$ac_objext \
10058 conftest$ac_exeext conftest.$ac_ext
10059 CFLAGS=$ac_wine_try_cflags_saved
10060 CC=$ac_wine_try_cflags_saved_cc
10061 ac_exeext=$ac_wine_try_cflags_saved_exeext
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10064 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10065 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10066 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10069 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10070 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10071 $as_echo_n "(cached) " >&6
10072 else
10073 ac_wine_try_cflags_saved=$CFLAGS
10074 ac_wine_try_cflags_saved_cc=$CC
10075 ac_wine_try_cflags_saved_exeext=$ac_exeext
10076 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10077 CC="$CROSSCC"
10078 ac_exeext=".exe"
10079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h. */
10081 int __cdecl mainCRTStartup(void) { return 0; }
10082 _ACEOF
10083 if ac_fn_c_try_link "$LINENO"; then :
10084 ac_cv_crosscflags__Wstrict_prototypes=yes
10085 else
10086 ac_cv_crosscflags__Wstrict_prototypes=no
10088 rm -f core conftest.err conftest.$ac_objext \
10089 conftest$ac_exeext conftest.$ac_ext
10090 CFLAGS=$ac_wine_try_cflags_saved
10091 CC=$ac_wine_try_cflags_saved_cc
10092 ac_exeext=$ac_wine_try_cflags_saved_exeext
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10095 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10096 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10097 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10100 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10101 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10102 $as_echo_n "(cached) " >&6
10103 else
10104 ac_wine_try_cflags_saved=$CFLAGS
10105 ac_wine_try_cflags_saved_cc=$CC
10106 ac_wine_try_cflags_saved_exeext=$ac_exeext
10107 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10108 CC="$CROSSCC"
10109 ac_exeext=".exe"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10112 int __cdecl mainCRTStartup(void) { return 0; }
10113 _ACEOF
10114 if ac_fn_c_try_link "$LINENO"; then :
10115 ac_cv_crosscflags__Wtype_limits=yes
10116 else
10117 ac_cv_crosscflags__Wtype_limits=no
10119 rm -f core conftest.err conftest.$ac_objext \
10120 conftest$ac_exeext conftest.$ac_ext
10121 CFLAGS=$ac_wine_try_cflags_saved
10122 CC=$ac_wine_try_cflags_saved_cc
10123 ac_exeext=$ac_wine_try_cflags_saved_exeext
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10126 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10127 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10128 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10131 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10132 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10133 $as_echo_n "(cached) " >&6
10134 else
10135 ac_wine_try_cflags_saved=$CFLAGS
10136 ac_wine_try_cflags_saved_cc=$CC
10137 ac_wine_try_cflags_saved_exeext=$ac_exeext
10138 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10139 CC="$CROSSCC"
10140 ac_exeext=".exe"
10141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10142 /* end confdefs.h. */
10143 int __cdecl mainCRTStartup(void) { return 0; }
10144 _ACEOF
10145 if ac_fn_c_try_link "$LINENO"; then :
10146 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10147 else
10148 ac_cv_crosscflags__Wunused_but_set_parameter=no
10150 rm -f core conftest.err conftest.$ac_objext \
10151 conftest$ac_exeext conftest.$ac_ext
10152 CFLAGS=$ac_wine_try_cflags_saved
10153 CC=$ac_wine_try_cflags_saved_cc
10154 ac_exeext=$ac_wine_try_cflags_saved_exeext
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10157 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10158 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10159 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10162 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10163 if ${ac_cv_crosscflags__Wvla+:} false; then :
10164 $as_echo_n "(cached) " >&6
10165 else
10166 ac_wine_try_cflags_saved=$CFLAGS
10167 ac_wine_try_cflags_saved_cc=$CC
10168 ac_wine_try_cflags_saved_exeext=$ac_exeext
10169 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10170 CC="$CROSSCC"
10171 ac_exeext=".exe"
10172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10173 /* end confdefs.h. */
10174 int __cdecl mainCRTStartup(void) { return 0; }
10175 _ACEOF
10176 if ac_fn_c_try_link "$LINENO"; then :
10177 ac_cv_crosscflags__Wvla=yes
10178 else
10179 ac_cv_crosscflags__Wvla=no
10181 rm -f core conftest.err conftest.$ac_objext \
10182 conftest$ac_exeext conftest.$ac_ext
10183 CFLAGS=$ac_wine_try_cflags_saved
10184 CC=$ac_wine_try_cflags_saved_cc
10185 ac_exeext=$ac_wine_try_cflags_saved_exeext
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10188 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10189 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10190 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10193 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10194 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10195 $as_echo_n "(cached) " >&6
10196 else
10197 ac_wine_try_cflags_saved=$CFLAGS
10198 ac_wine_try_cflags_saved_cc=$CC
10199 ac_wine_try_cflags_saved_exeext=$ac_exeext
10200 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10201 CC="$CROSSCC"
10202 ac_exeext=".exe"
10203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10204 /* end confdefs.h. */
10205 int __cdecl mainCRTStartup(void) { return 0; }
10206 _ACEOF
10207 if ac_fn_c_try_link "$LINENO"; then :
10208 ac_cv_crosscflags__Wwrite_strings=yes
10209 else
10210 ac_cv_crosscflags__Wwrite_strings=no
10212 rm -f core conftest.err conftest.$ac_objext \
10213 conftest$ac_exeext conftest.$ac_ext
10214 CFLAGS=$ac_wine_try_cflags_saved
10215 CC=$ac_wine_try_cflags_saved_cc
10216 ac_exeext=$ac_wine_try_cflags_saved_exeext
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10219 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10220 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10221 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10224 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10225 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10226 $as_echo_n "(cached) " >&6
10227 else
10228 ac_wine_try_cflags_saved=$CFLAGS
10229 ac_wine_try_cflags_saved_cc=$CC
10230 ac_wine_try_cflags_saved_exeext=$ac_exeext
10231 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10232 CC="$CROSSCC"
10233 ac_exeext=".exe"
10234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10236 int __cdecl mainCRTStartup(void) { return 0; }
10237 _ACEOF
10238 if ac_fn_c_try_link "$LINENO"; then :
10239 ac_cv_crosscflags__Wpointer_arith=yes
10240 else
10241 ac_cv_crosscflags__Wpointer_arith=no
10243 rm -f core conftest.err conftest.$ac_objext \
10244 conftest$ac_exeext conftest.$ac_ext
10245 CFLAGS=$ac_wine_try_cflags_saved
10246 CC=$ac_wine_try_cflags_saved_cc
10247 ac_exeext=$ac_wine_try_cflags_saved_exeext
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10250 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10251 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10252 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10255 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10256 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10257 $as_echo_n "(cached) " >&6
10258 else
10259 ac_wine_try_cflags_saved=$CFLAGS
10260 ac_wine_try_cflags_saved_cc=$CC
10261 ac_wine_try_cflags_saved_exeext=$ac_exeext
10262 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10263 CC="$CROSSCC"
10264 ac_exeext=".exe"
10265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10267 int __cdecl mainCRTStartup(void) { return 0; }
10268 _ACEOF
10269 if ac_fn_c_try_link "$LINENO"; then :
10270 ac_cv_crosscflags__Wlogical_op=yes
10271 else
10272 ac_cv_crosscflags__Wlogical_op=no
10274 rm -f core conftest.err conftest.$ac_objext \
10275 conftest$ac_exeext conftest.$ac_ext
10276 CFLAGS=$ac_wine_try_cflags_saved
10277 CC=$ac_wine_try_cflags_saved_cc
10278 ac_exeext=$ac_wine_try_cflags_saved_exeext
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10281 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10282 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10283 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10286 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10287 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10288 $as_echo_n "(cached) " >&6
10289 else
10290 ac_wine_try_cflags_saved=$CFLAGS
10291 ac_wine_try_cflags_saved_cc=$CC
10292 ac_wine_try_cflags_saved_exeext=$ac_exeext
10293 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10294 CC="$CROSSCC"
10295 ac_exeext=".exe"
10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10298 int __cdecl mainCRTStartup(void) { return 0; }
10299 _ACEOF
10300 if ac_fn_c_try_link "$LINENO"; then :
10301 ac_cv_crosscflags__Wabsolute_value=yes
10302 else
10303 ac_cv_crosscflags__Wabsolute_value=no
10305 rm -f core conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10307 CFLAGS=$ac_wine_try_cflags_saved
10308 CC=$ac_wine_try_cflags_saved_cc
10309 ac_exeext=$ac_wine_try_cflags_saved_exeext
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10312 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10313 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10314 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10317 case $host_cpu in
10318 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10319 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10320 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10321 $as_echo_n "(cached) " >&6
10322 else
10323 ac_wine_try_cflags_saved=$CFLAGS
10324 ac_wine_try_cflags_saved_cc=$CC
10325 ac_wine_try_cflags_saved_exeext=$ac_exeext
10326 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10327 CC="$CROSSCC"
10328 ac_exeext=".exe"
10329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10331 int __cdecl mainCRTStartup(void) { return 0; }
10332 _ACEOF
10333 if ac_fn_c_try_link "$LINENO"; then :
10334 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10335 else
10336 ac_cv_crosscflags__fno_omit_frame_pointer=no
10338 rm -f core conftest.err conftest.$ac_objext \
10339 conftest$ac_exeext conftest.$ac_ext
10340 CFLAGS=$ac_wine_try_cflags_saved
10341 CC=$ac_wine_try_cflags_saved_cc
10342 ac_exeext=$ac_wine_try_cflags_saved_exeext
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10345 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10346 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10347 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10348 fi ;;
10349 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10350 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10351 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10352 $as_echo_n "(cached) " >&6
10353 else
10354 ac_wine_try_cflags_saved=$CFLAGS
10355 ac_wine_try_cflags_saved_cc=$CC
10356 ac_wine_try_cflags_saved_exeext=$ac_exeext
10357 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10358 CC="$CROSSCC"
10359 ac_exeext=".exe"
10360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10362 int __cdecl mainCRTStartup(void) { return 0; }
10363 _ACEOF
10364 if ac_fn_c_try_link "$LINENO"; then :
10365 ac_cv_crosscflags__Wno_format=yes
10366 else
10367 ac_cv_crosscflags__Wno_format=no
10369 rm -f core conftest.err conftest.$ac_objext \
10370 conftest$ac_exeext conftest.$ac_ext
10371 CFLAGS=$ac_wine_try_cflags_saved
10372 CC=$ac_wine_try_cflags_saved_cc
10373 ac_exeext=$ac_wine_try_cflags_saved_exeext
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10376 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10377 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10378 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10381 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10382 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10383 $as_echo_n "(cached) " >&6
10384 else
10385 ac_wine_try_cflags_saved=$CFLAGS
10386 ac_wine_try_cflags_saved_cc=$CC
10387 ac_wine_try_cflags_saved_exeext=$ac_exeext
10388 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10389 CC="$CROSSCC"
10390 ac_exeext=".exe"
10391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10392 /* end confdefs.h. */
10393 int __cdecl mainCRTStartup(void) { return 0; }
10394 _ACEOF
10395 if ac_fn_c_try_link "$LINENO"; then :
10396 ac_cv_crosscflags__Wformat_overflow=yes
10397 else
10398 ac_cv_crosscflags__Wformat_overflow=no
10400 rm -f core conftest.err conftest.$ac_objext \
10401 conftest$ac_exeext conftest.$ac_ext
10402 CFLAGS=$ac_wine_try_cflags_saved
10403 CC=$ac_wine_try_cflags_saved_cc
10404 ac_exeext=$ac_wine_try_cflags_saved_exeext
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10407 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10408 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10409 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10412 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10413 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10414 $as_echo_n "(cached) " >&6
10415 else
10416 ac_wine_try_cflags_saved=$CFLAGS
10417 ac_wine_try_cflags_saved_cc=$CC
10418 ac_wine_try_cflags_saved_exeext=$ac_exeext
10419 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10420 CC="$CROSSCC"
10421 ac_exeext=".exe"
10422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10423 /* end confdefs.h. */
10424 int __cdecl mainCRTStartup(void) { return 0; }
10425 _ACEOF
10426 if ac_fn_c_try_link "$LINENO"; then :
10427 ac_cv_crosscflags__Wnonnull=yes
10428 else
10429 ac_cv_crosscflags__Wnonnull=no
10431 rm -f core conftest.err conftest.$ac_objext \
10432 conftest$ac_exeext conftest.$ac_ext
10433 CFLAGS=$ac_wine_try_cflags_saved
10434 CC=$ac_wine_try_cflags_saved_cc
10435 ac_exeext=$ac_wine_try_cflags_saved_exeext
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10438 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10439 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10440 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10443 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10444 if ${ac_cv_crosscflags__mcx16+:} false; then :
10445 $as_echo_n "(cached) " >&6
10446 else
10447 ac_wine_try_cflags_saved=$CFLAGS
10448 ac_wine_try_cflags_saved_cc=$CC
10449 ac_wine_try_cflags_saved_exeext=$ac_exeext
10450 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10451 CC="$CROSSCC"
10452 ac_exeext=".exe"
10453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h. */
10455 int __cdecl mainCRTStartup(void) { return 0; }
10456 _ACEOF
10457 if ac_fn_c_try_link "$LINENO"; then :
10458 ac_cv_crosscflags__mcx16=yes
10459 else
10460 ac_cv_crosscflags__mcx16=no
10462 rm -f core conftest.err conftest.$ac_objext \
10463 conftest$ac_exeext conftest.$ac_ext
10464 CFLAGS=$ac_wine_try_cflags_saved
10465 CC=$ac_wine_try_cflags_saved_cc
10466 ac_exeext=$ac_wine_try_cflags_saved_exeext
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10469 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10470 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10471 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10472 fi ;;
10473 esac
10476 if test -z "$CROSSDEBUG"
10477 then
10478 for ac_flag in $CROSSCFLAGS; do
10479 case $ac_flag in
10480 -gdwarf*) CROSSDEBUG=dwarf ;;
10481 -gcodeview) CROSSDEBUG=pdb ;;
10482 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10483 esac
10484 done
10486 case $CROSSDEBUG in
10487 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10488 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10489 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10490 $as_echo_n "(cached) " >&6
10491 else
10492 ac_wine_try_cflags_saved=$CFLAGS
10493 ac_wine_try_cflags_saved_cc=$CC
10494 ac_wine_try_cflags_saved_exeext=$ac_exeext
10495 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10496 CC="$CROSSCC"
10497 ac_exeext=".exe"
10498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10499 /* end confdefs.h. */
10500 int __cdecl mainCRTStartup(void) { return 0; }
10501 _ACEOF
10502 if ac_fn_c_try_link "$LINENO"; then :
10503 ac_cv_crosscflags__gdwarf_2=yes
10504 else
10505 ac_cv_crosscflags__gdwarf_2=no
10507 rm -f core conftest.err conftest.$ac_objext \
10508 conftest$ac_exeext conftest.$ac_ext
10509 CFLAGS=$ac_wine_try_cflags_saved
10510 CC=$ac_wine_try_cflags_saved_cc
10511 ac_exeext=$ac_wine_try_cflags_saved_exeext
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10514 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10515 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10516 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10519 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10520 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10521 $as_echo_n "(cached) " >&6
10522 else
10523 ac_wine_try_cflags_saved=$CFLAGS
10524 ac_wine_try_cflags_saved_cc=$CC
10525 ac_wine_try_cflags_saved_exeext=$ac_exeext
10526 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10527 CC="$CROSSCC"
10528 ac_exeext=".exe"
10529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10531 int __cdecl mainCRTStartup(void) { return 0; }
10532 _ACEOF
10533 if ac_fn_c_try_link "$LINENO"; then :
10534 ac_cv_crosscflags__gstrict_dwarf=yes
10535 else
10536 ac_cv_crosscflags__gstrict_dwarf=no
10538 rm -f core conftest.err conftest.$ac_objext \
10539 conftest$ac_exeext conftest.$ac_ext
10540 CFLAGS=$ac_wine_try_cflags_saved
10541 CC=$ac_wine_try_cflags_saved_cc
10542 ac_exeext=$ac_wine_try_cflags_saved_exeext
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10545 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10546 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10547 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10548 fi ;;
10549 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10550 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10551 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10552 $as_echo_n "(cached) " >&6
10553 else
10554 ac_wine_try_cflags_saved=$CFLAGS
10555 ac_wine_try_cflags_saved_cc=$CC
10556 ac_wine_try_cflags_saved_exeext=$ac_exeext
10557 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10558 CC="$CROSSCC"
10559 ac_exeext=".exe"
10560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10562 int __cdecl mainCRTStartup(void) { return 0; }
10563 _ACEOF
10564 if ac_fn_c_try_link "$LINENO"; then :
10565 ac_cv_crosscflags__gcodeview=yes
10566 else
10567 ac_cv_crosscflags__gcodeview=no
10569 rm -f core conftest.err conftest.$ac_objext \
10570 conftest$ac_exeext conftest.$ac_ext
10571 CFLAGS=$ac_wine_try_cflags_saved
10572 CC=$ac_wine_try_cflags_saved_cc
10573 ac_exeext=$ac_wine_try_cflags_saved_exeext
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10576 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10577 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10578 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10579 fi ;;
10580 esac
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10583 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10584 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10585 $as_echo_n "(cached) " >&6
10586 else
10587 ac_wine_try_cflags_saved=$CFLAGS
10588 ac_wine_try_cflags_saved_cc=$CC
10589 ac_wine_try_cflags_saved_exeext=$ac_exeext
10590 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10591 CC="$CROSSCC"
10592 ac_exeext=".exe"
10593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10594 /* end confdefs.h. */
10595 int __cdecl mainCRTStartup(void) { return 0; }
10596 _ACEOF
10597 if ac_fn_c_try_link "$LINENO"; then :
10598 ac_cv_crosscflags__fexcess_precision_standard=yes
10599 else
10600 ac_cv_crosscflags__fexcess_precision_standard=no
10602 rm -f core conftest.err conftest.$ac_objext \
10603 conftest$ac_exeext conftest.$ac_ext
10604 CFLAGS=$ac_wine_try_cflags_saved
10605 CC=$ac_wine_try_cflags_saved_cc
10606 ac_exeext=$ac_wine_try_cflags_saved_exeext
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10609 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10610 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10611 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10615 if test "x$enable_werror" = "xyes"
10616 then
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10618 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10619 if ${ac_cv_crosscflags__Werror+:} false; then :
10620 $as_echo_n "(cached) " >&6
10621 else
10622 ac_wine_try_cflags_saved=$CFLAGS
10623 ac_wine_try_cflags_saved_cc=$CC
10624 ac_wine_try_cflags_saved_exeext=$ac_exeext
10625 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10626 CC="$CROSSCC"
10627 ac_exeext=".exe"
10628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10629 /* end confdefs.h. */
10630 int __cdecl mainCRTStartup(void) { return 0; }
10631 _ACEOF
10632 if ac_fn_c_try_link "$LINENO"; then :
10633 ac_cv_crosscflags__Werror=yes
10634 else
10635 ac_cv_crosscflags__Werror=no
10637 rm -f core conftest.err conftest.$ac_objext \
10638 conftest$ac_exeext conftest.$ac_ext
10639 CFLAGS=$ac_wine_try_cflags_saved
10640 CC=$ac_wine_try_cflags_saved_cc
10641 ac_exeext=$ac_wine_try_cflags_saved_exeext
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10644 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10645 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10646 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10650 CFLAGS=$saved_CFLAGS
10651 CC="$ac_save_CC"
10654 if test "x$CROSSTARGET" = "x"; then :
10655 case "x$with_mingw" in
10656 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10657 xno) ;;
10658 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10659 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10660 esac
10665 if test "$ac_cv_header_pthread_h" = "yes"
10666 then
10667 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10668 if test "x$ac_cv_func_pthread_create" = xyes; then :
10670 else
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10672 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10673 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10674 $as_echo_n "(cached) " >&6
10675 else
10676 ac_check_lib_save_LIBS=$LIBS
10677 LIBS="-lpthread $LIBS"
10678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10679 /* end confdefs.h. */
10681 /* Override any GCC internal prototype to avoid an error.
10682 Use char because int might match the return type of a GCC
10683 builtin and then its argument prototype would still apply. */
10684 #ifdef __cplusplus
10685 extern "C"
10686 #endif
10687 char pthread_create ();
10689 main ()
10691 return pthread_create ();
10693 return 0;
10695 _ACEOF
10696 if ac_fn_c_try_link "$LINENO"; then :
10697 ac_cv_lib_pthread_pthread_create=yes
10698 else
10699 ac_cv_lib_pthread_pthread_create=no
10701 rm -f core conftest.err conftest.$ac_objext \
10702 conftest$ac_exeext conftest.$ac_ext
10703 LIBS=$ac_check_lib_save_LIBS
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10706 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10707 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10708 PTHREAD_LIBS="-lpthread"
10715 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10716 case "x$with_pthread" in
10717 xno) ;;
10718 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10719 Wine cannot support threads without libpthread.
10720 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10721 esac
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10727 $as_echo_n "checking for X... " >&6; }
10730 # Check whether --with-x was given.
10731 if test "${with_x+set}" = set; then :
10732 withval=$with_x;
10735 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10736 if test "x$with_x" = xno; then
10737 # The user explicitly disabled X.
10738 have_x=disabled
10739 else
10740 case $x_includes,$x_libraries in #(
10741 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10742 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10743 $as_echo_n "(cached) " >&6
10744 else
10745 # One or both of the vars are not set, and there is no cached value.
10746 ac_x_includes=no ac_x_libraries=no
10747 rm -f -r conftest.dir
10748 if mkdir conftest.dir; then
10749 cd conftest.dir
10750 cat >Imakefile <<'_ACEOF'
10751 incroot:
10752 @echo incroot='${INCROOT}'
10753 usrlibdir:
10754 @echo usrlibdir='${USRLIBDIR}'
10755 libdir:
10756 @echo libdir='${LIBDIR}'
10757 _ACEOF
10758 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10759 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10760 for ac_var in incroot usrlibdir libdir; do
10761 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10762 done
10763 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10764 for ac_extension in a so sl dylib la dll; do
10765 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10766 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10767 ac_im_usrlibdir=$ac_im_libdir; break
10769 done
10770 # Screen out bogus values from the imake configuration. They are
10771 # bogus both because they are the default anyway, and because
10772 # using them would break gcc on systems where it needs fixed includes.
10773 case $ac_im_incroot in
10774 /usr/include) ac_x_includes= ;;
10775 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10776 esac
10777 case $ac_im_usrlibdir in
10778 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10779 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10780 esac
10782 cd ..
10783 rm -f -r conftest.dir
10786 # Standard set of common directories for X headers.
10787 # Check X11 before X11Rn because it is often a symlink to the current release.
10788 ac_x_header_dirs='
10789 /usr/X11/include
10790 /usr/X11R7/include
10791 /usr/X11R6/include
10792 /usr/X11R5/include
10793 /usr/X11R4/include
10795 /usr/include/X11
10796 /usr/include/X11R7
10797 /usr/include/X11R6
10798 /usr/include/X11R5
10799 /usr/include/X11R4
10801 /usr/local/X11/include
10802 /usr/local/X11R7/include
10803 /usr/local/X11R6/include
10804 /usr/local/X11R5/include
10805 /usr/local/X11R4/include
10807 /usr/local/include/X11
10808 /usr/local/include/X11R7
10809 /usr/local/include/X11R6
10810 /usr/local/include/X11R5
10811 /usr/local/include/X11R4
10813 /usr/X386/include
10814 /usr/x386/include
10815 /usr/XFree86/include/X11
10817 /usr/include
10818 /usr/local/include
10819 /usr/unsupported/include
10820 /usr/athena/include
10821 /usr/local/x11r5/include
10822 /usr/lpp/Xamples/include
10824 /usr/openwin/include
10825 /usr/openwin/share/include'
10827 if test "$ac_x_includes" = no; then
10828 # Guess where to find include files, by looking for Xlib.h.
10829 # First, try using that file with no special directory specified.
10830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10831 /* end confdefs.h. */
10832 #include <X11/Xlib.h>
10833 _ACEOF
10834 if ac_fn_c_try_cpp "$LINENO"; then :
10835 # We can compile using X headers with no special include directory.
10836 ac_x_includes=
10837 else
10838 for ac_dir in $ac_x_header_dirs; do
10839 if test -r "$ac_dir/X11/Xlib.h"; then
10840 ac_x_includes=$ac_dir
10841 break
10843 done
10845 rm -f conftest.err conftest.i conftest.$ac_ext
10846 fi # $ac_x_includes = no
10848 if test "$ac_x_libraries" = no; then
10849 # Check for the libraries.
10850 # See if we find them without any special options.
10851 # Don't add to $LIBS permanently.
10852 ac_save_LIBS=$LIBS
10853 LIBS="-lX11 $LIBS"
10854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10855 /* end confdefs.h. */
10856 #include <X11/Xlib.h>
10858 main ()
10860 XrmInitialize ()
10862 return 0;
10864 _ACEOF
10865 if ac_fn_c_try_link "$LINENO"; then :
10866 LIBS=$ac_save_LIBS
10867 # We can link X programs with no special library path.
10868 ac_x_libraries=
10869 else
10870 LIBS=$ac_save_LIBS
10871 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10873 # Don't even attempt the hair of trying to link an X program!
10874 for ac_extension in a so sl dylib la dll; do
10875 if test -r "$ac_dir/libX11.$ac_extension"; then
10876 ac_x_libraries=$ac_dir
10877 break 2
10879 done
10880 done
10882 rm -f core conftest.err conftest.$ac_objext \
10883 conftest$ac_exeext conftest.$ac_ext
10884 fi # $ac_x_libraries = no
10886 case $ac_x_includes,$ac_x_libraries in #(
10887 no,* | *,no | *\'*)
10888 # Didn't find X, or a directory has "'" in its name.
10889 ac_cv_have_x="have_x=no";; #(
10891 # Record where we found X for the cache.
10892 ac_cv_have_x="have_x=yes\
10893 ac_x_includes='$ac_x_includes'\
10894 ac_x_libraries='$ac_x_libraries'"
10895 esac
10897 ;; #(
10898 *) have_x=yes;;
10899 esac
10900 eval "$ac_cv_have_x"
10901 fi # $with_x != no
10903 if test "$have_x" != yes; then
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10905 $as_echo "$have_x" >&6; }
10906 no_x=yes
10907 else
10908 # If each of the values was on the command line, it overrides each guess.
10909 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10910 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10911 # Update the cache value to reflect the command line values.
10912 ac_cv_have_x="have_x=yes\
10913 ac_x_includes='$x_includes'\
10914 ac_x_libraries='$x_libraries'"
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10916 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10919 if test "$no_x" = yes; then
10920 # Not all programs may use this symbol, but it does not hurt to define it.
10922 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10924 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10925 else
10926 if test -n "$x_includes"; then
10927 X_CFLAGS="$X_CFLAGS -I$x_includes"
10930 # It would also be nice to do this for all -L options, not just this one.
10931 if test -n "$x_libraries"; then
10932 X_LIBS="$X_LIBS -L$x_libraries"
10933 # For Solaris; some versions of Sun CC require a space after -R and
10934 # others require no space. Words are not sufficient . . . .
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10936 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10937 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10938 ac_xsave_c_werror_flag=$ac_c_werror_flag
10939 ac_c_werror_flag=yes
10940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10944 main ()
10948 return 0;
10950 _ACEOF
10951 if ac_fn_c_try_link "$LINENO"; then :
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10953 $as_echo "no" >&6; }
10954 X_LIBS="$X_LIBS -R$x_libraries"
10955 else
10956 LIBS="$ac_xsave_LIBS -R $x_libraries"
10957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10961 main ()
10965 return 0;
10967 _ACEOF
10968 if ac_fn_c_try_link "$LINENO"; then :
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10970 $as_echo "yes" >&6; }
10971 X_LIBS="$X_LIBS -R $x_libraries"
10972 else
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10974 $as_echo "neither works" >&6; }
10976 rm -f core conftest.err conftest.$ac_objext \
10977 conftest$ac_exeext conftest.$ac_ext
10979 rm -f core conftest.err conftest.$ac_objext \
10980 conftest$ac_exeext conftest.$ac_ext
10981 ac_c_werror_flag=$ac_xsave_c_werror_flag
10982 LIBS=$ac_xsave_LIBS
10985 # Check for system-dependent libraries X programs must link with.
10986 # Do this before checking for the system-independent R6 libraries
10987 # (-lICE), since we may need -lsocket or whatever for X linking.
10989 if test "$ISC" = yes; then
10990 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10991 else
10992 # Martyn Johnson says this is needed for Ultrix, if the X
10993 # libraries were built with DECnet support. And Karl Berry says
10994 # the Alpha needs dnet_stub (dnet does not exist).
10995 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10997 /* end confdefs.h. */
10999 /* Override any GCC internal prototype to avoid an error.
11000 Use char because int might match the return type of a GCC
11001 builtin and then its argument prototype would still apply. */
11002 #ifdef __cplusplus
11003 extern "C"
11004 #endif
11005 char XOpenDisplay ();
11007 main ()
11009 return XOpenDisplay ();
11011 return 0;
11013 _ACEOF
11014 if ac_fn_c_try_link "$LINENO"; then :
11016 else
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11018 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11019 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11020 $as_echo_n "(cached) " >&6
11021 else
11022 ac_check_lib_save_LIBS=$LIBS
11023 LIBS="-ldnet $LIBS"
11024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11025 /* end confdefs.h. */
11027 /* Override any GCC internal prototype to avoid an error.
11028 Use char because int might match the return type of a GCC
11029 builtin and then its argument prototype would still apply. */
11030 #ifdef __cplusplus
11031 extern "C"
11032 #endif
11033 char dnet_ntoa ();
11035 main ()
11037 return dnet_ntoa ();
11039 return 0;
11041 _ACEOF
11042 if ac_fn_c_try_link "$LINENO"; then :
11043 ac_cv_lib_dnet_dnet_ntoa=yes
11044 else
11045 ac_cv_lib_dnet_dnet_ntoa=no
11047 rm -f core conftest.err conftest.$ac_objext \
11048 conftest$ac_exeext conftest.$ac_ext
11049 LIBS=$ac_check_lib_save_LIBS
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11052 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11053 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11054 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11057 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11059 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11060 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11061 $as_echo_n "(cached) " >&6
11062 else
11063 ac_check_lib_save_LIBS=$LIBS
11064 LIBS="-ldnet_stub $LIBS"
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11068 /* Override any GCC internal prototype to avoid an error.
11069 Use char because int might match the return type of a GCC
11070 builtin and then its argument prototype would still apply. */
11071 #ifdef __cplusplus
11072 extern "C"
11073 #endif
11074 char dnet_ntoa ();
11076 main ()
11078 return dnet_ntoa ();
11080 return 0;
11082 _ACEOF
11083 if ac_fn_c_try_link "$LINENO"; then :
11084 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11085 else
11086 ac_cv_lib_dnet_stub_dnet_ntoa=no
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_lib_save_LIBS
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11093 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11094 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11095 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11100 rm -f core conftest.err conftest.$ac_objext \
11101 conftest$ac_exeext conftest.$ac_ext
11102 LIBS="$ac_xsave_LIBS"
11104 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11105 # to get the SysV transport functions.
11106 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11107 # needs -lnsl.
11108 # The nsl library prevents programs from opening the X display
11109 # on Irix 5.2, according to T.E. Dickey.
11110 # The functions gethostbyname, getservbyname, and inet_addr are
11111 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11112 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11113 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11117 if test $ac_cv_func_gethostbyname = no; then
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11119 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11120 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11121 $as_echo_n "(cached) " >&6
11122 else
11123 ac_check_lib_save_LIBS=$LIBS
11124 LIBS="-lnsl $LIBS"
11125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11128 /* Override any GCC internal prototype to avoid an error.
11129 Use char because int might match the return type of a GCC
11130 builtin and then its argument prototype would still apply. */
11131 #ifdef __cplusplus
11132 extern "C"
11133 #endif
11134 char gethostbyname ();
11136 main ()
11138 return gethostbyname ();
11140 return 0;
11142 _ACEOF
11143 if ac_fn_c_try_link "$LINENO"; then :
11144 ac_cv_lib_nsl_gethostbyname=yes
11145 else
11146 ac_cv_lib_nsl_gethostbyname=no
11148 rm -f core conftest.err conftest.$ac_objext \
11149 conftest$ac_exeext conftest.$ac_ext
11150 LIBS=$ac_check_lib_save_LIBS
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11153 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11154 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11155 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11158 if test $ac_cv_lib_nsl_gethostbyname = no; then
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11160 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11161 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11162 $as_echo_n "(cached) " >&6
11163 else
11164 ac_check_lib_save_LIBS=$LIBS
11165 LIBS="-lbsd $LIBS"
11166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11169 /* Override any GCC internal prototype to avoid an error.
11170 Use char because int might match the return type of a GCC
11171 builtin and then its argument prototype would still apply. */
11172 #ifdef __cplusplus
11173 extern "C"
11174 #endif
11175 char gethostbyname ();
11177 main ()
11179 return gethostbyname ();
11181 return 0;
11183 _ACEOF
11184 if ac_fn_c_try_link "$LINENO"; then :
11185 ac_cv_lib_bsd_gethostbyname=yes
11186 else
11187 ac_cv_lib_bsd_gethostbyname=no
11189 rm -f core conftest.err conftest.$ac_objext \
11190 conftest$ac_exeext conftest.$ac_ext
11191 LIBS=$ac_check_lib_save_LIBS
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11194 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11195 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11196 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11202 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11203 # socket/setsockopt and other routines are undefined under SCO ODT
11204 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11205 # on later versions), says Simon Leinen: it contains gethostby*
11206 # variants that don't use the name server (or something). -lsocket
11207 # must be given before -lnsl if both are needed. We assume that
11208 # if connect needs -lnsl, so does gethostbyname.
11209 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11210 if test "x$ac_cv_func_connect" = xyes; then :
11214 if test $ac_cv_func_connect = no; then
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11216 $as_echo_n "checking for connect in -lsocket... " >&6; }
11217 if ${ac_cv_lib_socket_connect+:} false; then :
11218 $as_echo_n "(cached) " >&6
11219 else
11220 ac_check_lib_save_LIBS=$LIBS
11221 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h. */
11225 /* Override any GCC internal prototype to avoid an error.
11226 Use char because int might match the return type of a GCC
11227 builtin and then its argument prototype would still apply. */
11228 #ifdef __cplusplus
11229 extern "C"
11230 #endif
11231 char connect ();
11233 main ()
11235 return connect ();
11237 return 0;
11239 _ACEOF
11240 if ac_fn_c_try_link "$LINENO"; then :
11241 ac_cv_lib_socket_connect=yes
11242 else
11243 ac_cv_lib_socket_connect=no
11245 rm -f core conftest.err conftest.$ac_objext \
11246 conftest$ac_exeext conftest.$ac_ext
11247 LIBS=$ac_check_lib_save_LIBS
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11250 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11251 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11252 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11257 # Guillermo Gomez says -lposix is necessary on A/UX.
11258 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11259 if test "x$ac_cv_func_remove" = xyes; then :
11263 if test $ac_cv_func_remove = no; then
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11265 $as_echo_n "checking for remove in -lposix... " >&6; }
11266 if ${ac_cv_lib_posix_remove+:} false; then :
11267 $as_echo_n "(cached) " >&6
11268 else
11269 ac_check_lib_save_LIBS=$LIBS
11270 LIBS="-lposix $LIBS"
11271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11272 /* end confdefs.h. */
11274 /* Override any GCC internal prototype to avoid an error.
11275 Use char because int might match the return type of a GCC
11276 builtin and then its argument prototype would still apply. */
11277 #ifdef __cplusplus
11278 extern "C"
11279 #endif
11280 char remove ();
11282 main ()
11284 return remove ();
11286 return 0;
11288 _ACEOF
11289 if ac_fn_c_try_link "$LINENO"; then :
11290 ac_cv_lib_posix_remove=yes
11291 else
11292 ac_cv_lib_posix_remove=no
11294 rm -f core conftest.err conftest.$ac_objext \
11295 conftest$ac_exeext conftest.$ac_ext
11296 LIBS=$ac_check_lib_save_LIBS
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11299 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11300 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11301 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11306 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11307 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11308 if test "x$ac_cv_func_shmat" = xyes; then :
11312 if test $ac_cv_func_shmat = no; then
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11314 $as_echo_n "checking for shmat in -lipc... " >&6; }
11315 if ${ac_cv_lib_ipc_shmat+:} false; then :
11316 $as_echo_n "(cached) " >&6
11317 else
11318 ac_check_lib_save_LIBS=$LIBS
11319 LIBS="-lipc $LIBS"
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char shmat ();
11331 main ()
11333 return shmat ();
11335 return 0;
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 ac_cv_lib_ipc_shmat=yes
11340 else
11341 ac_cv_lib_ipc_shmat=no
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11348 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11349 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11350 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11356 # Check for libraries that X11R6 Xt/Xaw programs need.
11357 ac_save_LDFLAGS=$LDFLAGS
11358 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11359 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11360 # check for ICE first), but we must link in the order -lSM -lICE or
11361 # we get undefined symbols. So assume we have SM if we have ICE.
11362 # These have to be linked with before -lX11, unlike the other
11363 # libraries we check for below, so use a different variable.
11364 # John Interrante, Karl Berry
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11366 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11367 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11368 $as_echo_n "(cached) " >&6
11369 else
11370 ac_check_lib_save_LIBS=$LIBS
11371 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11373 /* end confdefs.h. */
11375 /* Override any GCC internal prototype to avoid an error.
11376 Use char because int might match the return type of a GCC
11377 builtin and then its argument prototype would still apply. */
11378 #ifdef __cplusplus
11379 extern "C"
11380 #endif
11381 char IceConnectionNumber ();
11383 main ()
11385 return IceConnectionNumber ();
11387 return 0;
11389 _ACEOF
11390 if ac_fn_c_try_link "$LINENO"; then :
11391 ac_cv_lib_ICE_IceConnectionNumber=yes
11392 else
11393 ac_cv_lib_ICE_IceConnectionNumber=no
11395 rm -f core conftest.err conftest.$ac_objext \
11396 conftest$ac_exeext conftest.$ac_ext
11397 LIBS=$ac_check_lib_save_LIBS
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11400 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11401 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11402 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11405 LDFLAGS=$ac_save_LDFLAGS
11410 if test "$have_x" = "yes"
11411 then
11412 ac_save_CPPFLAGS="$CPPFLAGS"
11413 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11416 $as_echo_n "checking for -lX11... " >&6; }
11417 if ${ac_cv_lib_soname_X11+:} false; then :
11418 $as_echo_n "(cached) " >&6
11419 else
11420 ac_check_soname_save_LIBS=$LIBS
11421 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11423 /* end confdefs.h. */
11425 /* Override any GCC internal prototype to avoid an error.
11426 Use char because int might match the return type of a GCC
11427 builtin and then its argument prototype would still apply. */
11428 #ifdef __cplusplus
11429 extern "C"
11430 #endif
11431 char XCreateWindow ();
11433 main ()
11435 return XCreateWindow ();
11437 return 0;
11439 _ACEOF
11440 if ac_fn_c_try_link "$LINENO"; then :
11441 case "$LIBEXT" in
11442 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11443 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'` ;;
11444 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11445 if ${ac_cv_lib_soname_X11:+false} :; then :
11446 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11447 fi ;;
11448 esac
11449 else
11450 ac_cv_lib_soname_X11=
11452 rm -f core conftest.err conftest.$ac_objext \
11453 conftest$ac_exeext conftest.$ac_ext
11454 LIBS=$ac_check_soname_save_LIBS
11456 if ${ac_cv_lib_soname_X11:+false} :; then :
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11458 $as_echo "not found" >&6; }
11460 else
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11462 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11464 cat >>confdefs.h <<_ACEOF
11465 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11466 _ACEOF
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11471 $as_echo_n "checking for -lXext... " >&6; }
11472 if ${ac_cv_lib_soname_Xext+:} false; then :
11473 $as_echo_n "(cached) " >&6
11474 else
11475 ac_check_soname_save_LIBS=$LIBS
11476 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h. */
11480 /* Override any GCC internal prototype to avoid an error.
11481 Use char because int might match the return type of a GCC
11482 builtin and then its argument prototype would still apply. */
11483 #ifdef __cplusplus
11484 extern "C"
11485 #endif
11486 char XextCreateExtension ();
11488 main ()
11490 return XextCreateExtension ();
11492 return 0;
11494 _ACEOF
11495 if ac_fn_c_try_link "$LINENO"; then :
11496 case "$LIBEXT" in
11497 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11498 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'` ;;
11499 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11500 if ${ac_cv_lib_soname_Xext:+false} :; then :
11501 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11502 fi ;;
11503 esac
11504 else
11505 ac_cv_lib_soname_Xext=
11507 rm -f core conftest.err conftest.$ac_objext \
11508 conftest$ac_exeext conftest.$ac_ext
11509 LIBS=$ac_check_soname_save_LIBS
11511 if ${ac_cv_lib_soname_Xext:+false} :; then :
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11513 $as_echo "not found" >&6; }
11515 else
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11517 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11519 cat >>confdefs.h <<_ACEOF
11520 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11521 _ACEOF
11523 X_LIBS="$X_LIBS -lXext"
11525 X_LIBS="$X_LIBS -lX11"
11527 for ac_header in X11/Xlib.h \
11528 X11/XKBlib.h \
11529 X11/Xutil.h \
11530 X11/Xcursor/Xcursor.h \
11531 X11/extensions/shape.h \
11532 X11/extensions/XInput.h \
11533 X11/extensions/XInput2.h \
11534 X11/extensions/XShm.h \
11535 X11/extensions/Xcomposite.h \
11536 X11/extensions/Xfixes.h \
11537 X11/extensions/Xinerama.h \
11538 X11/extensions/Xrandr.h \
11539 X11/extensions/Xrender.h \
11540 X11/extensions/xf86vmode.h \
11541 X11/extensions/xf86vmproto.h
11542 do :
11543 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11544 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11545 # include <X11/Xlib.h>
11546 #endif
11547 #ifdef HAVE_X11_XUTIL_H
11548 # include <X11/Xutil.h>
11549 #endif
11551 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11552 cat >>confdefs.h <<_ACEOF
11553 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11554 _ACEOF
11558 done
11561 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11562 then
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11564 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11565 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11566 $as_echo_n "(cached) " >&6
11567 else
11568 ac_check_lib_save_LIBS=$LIBS
11569 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11571 /* end confdefs.h. */
11573 /* Override any GCC internal prototype to avoid an error.
11574 Use char because int might match the return type of a GCC
11575 builtin and then its argument prototype would still apply. */
11576 #ifdef __cplusplus
11577 extern "C"
11578 #endif
11579 char XkbQueryExtension ();
11581 main ()
11583 return XkbQueryExtension ();
11585 return 0;
11587 _ACEOF
11588 if ac_fn_c_try_link "$LINENO"; then :
11589 ac_cv_lib_X11_XkbQueryExtension=yes
11590 else
11591 ac_cv_lib_X11_XkbQueryExtension=no
11593 rm -f core conftest.err conftest.$ac_objext \
11594 conftest$ac_exeext conftest.$ac_ext
11595 LIBS=$ac_check_lib_save_LIBS
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11598 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11599 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11601 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11607 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11608 then
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11610 $as_echo_n "checking for -lXcursor... " >&6; }
11611 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11612 $as_echo_n "(cached) " >&6
11613 else
11614 ac_check_soname_save_LIBS=$LIBS
11615 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11619 /* Override any GCC internal prototype to avoid an error.
11620 Use char because int might match the return type of a GCC
11621 builtin and then its argument prototype would still apply. */
11622 #ifdef __cplusplus
11623 extern "C"
11624 #endif
11625 char XcursorImageLoadCursor ();
11627 main ()
11629 return XcursorImageLoadCursor ();
11631 return 0;
11633 _ACEOF
11634 if ac_fn_c_try_link "$LINENO"; then :
11635 case "$LIBEXT" in
11636 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11637 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'` ;;
11638 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11639 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11640 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11641 fi ;;
11642 esac
11643 else
11644 ac_cv_lib_soname_Xcursor=
11646 rm -f core conftest.err conftest.$ac_objext \
11647 conftest$ac_exeext conftest.$ac_ext
11648 LIBS=$ac_check_soname_save_LIBS
11650 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11652 $as_echo "not found" >&6; }
11654 else
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11656 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11658 cat >>confdefs.h <<_ACEOF
11659 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11660 _ACEOF
11665 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11666 case "x$with_xcursor" in
11667 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11668 xno) ;;
11669 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11670 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11671 esac
11675 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11676 then
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11678 $as_echo_n "checking for -lXi... " >&6; }
11679 if ${ac_cv_lib_soname_Xi+:} false; then :
11680 $as_echo_n "(cached) " >&6
11681 else
11682 ac_check_soname_save_LIBS=$LIBS
11683 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685 /* end confdefs.h. */
11687 /* Override any GCC internal prototype to avoid an error.
11688 Use char because int might match the return type of a GCC
11689 builtin and then its argument prototype would still apply. */
11690 #ifdef __cplusplus
11691 extern "C"
11692 #endif
11693 char XOpenDevice ();
11695 main ()
11697 return XOpenDevice ();
11699 return 0;
11701 _ACEOF
11702 if ac_fn_c_try_link "$LINENO"; then :
11703 case "$LIBEXT" in
11704 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11705 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'` ;;
11706 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11707 if ${ac_cv_lib_soname_Xi:+false} :; then :
11708 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11709 fi ;;
11710 esac
11711 else
11712 ac_cv_lib_soname_Xi=
11714 rm -f core conftest.err conftest.$ac_objext \
11715 conftest$ac_exeext conftest.$ac_ext
11716 LIBS=$ac_check_soname_save_LIBS
11718 if ${ac_cv_lib_soname_Xi:+false} :; then :
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11720 $as_echo "not found" >&6; }
11722 else
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11724 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11726 cat >>confdefs.h <<_ACEOF
11727 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11728 _ACEOF
11733 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11734 case "x$with_xinput" in
11735 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11736 xno) ;;
11737 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11738 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11739 esac
11743 if test "x$ac_cv_lib_soname_Xi" != x
11744 then
11745 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11746 case "x$with_xinput2" in
11747 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11748 xno) ;;
11749 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11750 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11751 esac
11756 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11757 then
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11759 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11760 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11761 $as_echo_n "(cached) " >&6
11762 else
11763 ac_check_lib_save_LIBS=$LIBS
11764 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11766 /* end confdefs.h. */
11768 /* Override any GCC internal prototype to avoid an error.
11769 Use char because int might match the return type of a GCC
11770 builtin and then its argument prototype would still apply. */
11771 #ifdef __cplusplus
11772 extern "C"
11773 #endif
11774 char XShmQueryExtension ();
11776 main ()
11778 return XShmQueryExtension ();
11780 return 0;
11782 _ACEOF
11783 if ac_fn_c_try_link "$LINENO"; then :
11784 ac_cv_lib_Xext_XShmQueryExtension=yes
11785 else
11786 ac_cv_lib_Xext_XShmQueryExtension=no
11788 rm -f core conftest.err conftest.$ac_objext \
11789 conftest$ac_exeext conftest.$ac_ext
11790 LIBS=$ac_check_lib_save_LIBS
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11793 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11794 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11796 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11801 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11802 case "x$with_xshm" in
11803 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11804 xno) ;;
11805 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11806 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11807 esac
11811 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11812 then
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11814 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11815 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11816 $as_echo_n "(cached) " >&6
11817 else
11818 ac_check_lib_save_LIBS=$LIBS
11819 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h. */
11823 /* Override any GCC internal prototype to avoid an error.
11824 Use char because int might match the return type of a GCC
11825 builtin and then its argument prototype would still apply. */
11826 #ifdef __cplusplus
11827 extern "C"
11828 #endif
11829 char XShapeQueryExtension ();
11831 main ()
11833 return XShapeQueryExtension ();
11835 return 0;
11837 _ACEOF
11838 if ac_fn_c_try_link "$LINENO"; then :
11839 ac_cv_lib_Xext_XShapeQueryExtension=yes
11840 else
11841 ac_cv_lib_Xext_XShapeQueryExtension=no
11843 rm -f core conftest.err conftest.$ac_objext \
11844 conftest$ac_exeext conftest.$ac_ext
11845 LIBS=$ac_check_lib_save_LIBS
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11848 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11849 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11851 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11856 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11857 case "x$with_xshape" in
11858 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11859 xno) ;;
11860 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11861 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11862 esac
11866 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11867 then
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11869 $as_echo_n "checking for -lXxf86vm... " >&6; }
11870 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11871 $as_echo_n "(cached) " >&6
11872 else
11873 ac_check_soname_save_LIBS=$LIBS
11874 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11878 /* Override any GCC internal prototype to avoid an error.
11879 Use char because int might match the return type of a GCC
11880 builtin and then its argument prototype would still apply. */
11881 #ifdef __cplusplus
11882 extern "C"
11883 #endif
11884 char XF86VidModeQueryExtension ();
11886 main ()
11888 return XF86VidModeQueryExtension ();
11890 return 0;
11892 _ACEOF
11893 if ac_fn_c_try_link "$LINENO"; then :
11894 case "$LIBEXT" in
11895 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11896 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'` ;;
11897 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11898 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11899 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11900 fi ;;
11901 esac
11902 else
11903 ac_cv_lib_soname_Xxf86vm=
11905 rm -f core conftest.err conftest.$ac_objext \
11906 conftest$ac_exeext conftest.$ac_ext
11907 LIBS=$ac_check_soname_save_LIBS
11909 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11911 $as_echo "not found" >&6; }
11913 else
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11915 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11917 cat >>confdefs.h <<_ACEOF
11918 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11919 _ACEOF
11924 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11925 case "x$with_xxf86vm" in
11926 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11927 xno) ;;
11928 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11929 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11930 esac
11934 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11935 then
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11937 $as_echo_n "checking for -lXrender... " >&6; }
11938 if ${ac_cv_lib_soname_Xrender+:} false; then :
11939 $as_echo_n "(cached) " >&6
11940 else
11941 ac_check_soname_save_LIBS=$LIBS
11942 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11946 /* Override any GCC internal prototype to avoid an error.
11947 Use char because int might match the return type of a GCC
11948 builtin and then its argument prototype would still apply. */
11949 #ifdef __cplusplus
11950 extern "C"
11951 #endif
11952 char XRenderQueryExtension ();
11954 main ()
11956 return XRenderQueryExtension ();
11958 return 0;
11960 _ACEOF
11961 if ac_fn_c_try_link "$LINENO"; then :
11962 case "$LIBEXT" in
11963 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11964 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'` ;;
11965 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11966 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11967 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11968 fi ;;
11969 esac
11970 else
11971 ac_cv_lib_soname_Xrender=
11973 rm -f core conftest.err conftest.$ac_objext \
11974 conftest$ac_exeext conftest.$ac_ext
11975 LIBS=$ac_check_soname_save_LIBS
11977 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11979 $as_echo "not found" >&6; }
11981 else
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11983 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11985 cat >>confdefs.h <<_ACEOF
11986 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11987 _ACEOF
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11990 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11991 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11992 $as_echo_n "(cached) " >&6
11993 else
11994 ac_check_lib_save_LIBS=$LIBS
11995 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
11999 /* Override any GCC internal prototype to avoid an error.
12000 Use char because int might match the return type of a GCC
12001 builtin and then its argument prototype would still apply. */
12002 #ifdef __cplusplus
12003 extern "C"
12004 #endif
12005 char XRenderSetPictureTransform ();
12007 main ()
12009 return XRenderSetPictureTransform ();
12011 return 0;
12013 _ACEOF
12014 if ac_fn_c_try_link "$LINENO"; then :
12015 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12016 else
12017 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12019 rm -f core conftest.err conftest.$ac_objext \
12020 conftest$ac_exeext conftest.$ac_ext
12021 LIBS=$ac_check_lib_save_LIBS
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12024 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12025 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12027 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12032 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12033 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12034 $as_echo_n "(cached) " >&6
12035 else
12036 ac_check_lib_save_LIBS=$LIBS
12037 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12041 /* Override any GCC internal prototype to avoid an error.
12042 Use char because int might match the return type of a GCC
12043 builtin and then its argument prototype would still apply. */
12044 #ifdef __cplusplus
12045 extern "C"
12046 #endif
12047 char XRenderCreateLinearGradient ();
12049 main ()
12051 return XRenderCreateLinearGradient ();
12053 return 0;
12055 _ACEOF
12056 if ac_fn_c_try_link "$LINENO"; then :
12057 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12058 else
12059 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12061 rm -f core conftest.err conftest.$ac_objext \
12062 conftest$ac_exeext conftest.$ac_ext
12063 LIBS=$ac_check_lib_save_LIBS
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12066 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12067 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12069 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12076 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12077 case "x$with_xrender" in
12078 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12079 xno) ;;
12080 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12081 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12082 esac
12086 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12087 then
12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12090 #include <X11/Xlib.h>
12091 #include <X11/extensions/Xrandr.h>
12093 main ()
12095 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12097 return 0;
12099 _ACEOF
12100 if ac_fn_c_try_compile "$LINENO"; then :
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12102 $as_echo_n "checking for -lXrandr... " >&6; }
12103 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12104 $as_echo_n "(cached) " >&6
12105 else
12106 ac_check_soname_save_LIBS=$LIBS
12107 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12109 /* end confdefs.h. */
12111 /* Override any GCC internal prototype to avoid an error.
12112 Use char because int might match the return type of a GCC
12113 builtin and then its argument prototype would still apply. */
12114 #ifdef __cplusplus
12115 extern "C"
12116 #endif
12117 char XRRQueryExtension ();
12119 main ()
12121 return XRRQueryExtension ();
12123 return 0;
12125 _ACEOF
12126 if ac_fn_c_try_link "$LINENO"; then :
12127 case "$LIBEXT" in
12128 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12129 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'` ;;
12130 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12131 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12132 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12133 fi ;;
12134 esac
12135 else
12136 ac_cv_lib_soname_Xrandr=
12138 rm -f core conftest.err conftest.$ac_objext \
12139 conftest$ac_exeext conftest.$ac_ext
12140 LIBS=$ac_check_soname_save_LIBS
12142 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12144 $as_echo "not found" >&6; }
12146 else
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12148 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12150 cat >>confdefs.h <<_ACEOF
12151 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12152 _ACEOF
12154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */
12156 #include <X11/Xlib.h>
12157 #include <X11/extensions/Xrandr.h>
12159 main ()
12161 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12163 return 0;
12165 _ACEOF
12166 if ac_fn_c_try_compile "$LINENO"; then :
12168 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12170 else
12171 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12178 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12179 case "x$with_xrandr" in
12180 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12181 xno) ;;
12182 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12183 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12184 esac
12188 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12189 then
12190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12191 /* end confdefs.h. */
12192 #include <X11/Xlib.h>
12193 #include <X11/extensions/Xfixes.h>
12195 main ()
12197 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12199 return 0;
12201 _ACEOF
12202 if ac_fn_c_try_compile "$LINENO"; then :
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12204 $as_echo_n "checking for -lXfixes... " >&6; }
12205 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12206 $as_echo_n "(cached) " >&6
12207 else
12208 ac_check_soname_save_LIBS=$LIBS
12209 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12211 /* end confdefs.h. */
12213 /* Override any GCC internal prototype to avoid an error.
12214 Use char because int might match the return type of a GCC
12215 builtin and then its argument prototype would still apply. */
12216 #ifdef __cplusplus
12217 extern "C"
12218 #endif
12219 char XFixesQueryVersion ();
12221 main ()
12223 return XFixesQueryVersion ();
12225 return 0;
12227 _ACEOF
12228 if ac_fn_c_try_link "$LINENO"; then :
12229 case "$LIBEXT" in
12230 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12231 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'` ;;
12232 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12233 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12234 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12235 fi ;;
12236 esac
12237 else
12238 ac_cv_lib_soname_Xfixes=
12240 rm -f core conftest.err conftest.$ac_objext \
12241 conftest$ac_exeext conftest.$ac_ext
12242 LIBS=$ac_check_soname_save_LIBS
12244 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12246 $as_echo "not found" >&6; }
12248 else
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12250 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12252 cat >>confdefs.h <<_ACEOF
12253 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12254 _ACEOF
12259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12261 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12262 case "x$with_xfixes" in
12263 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12264 xno) ;;
12265 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12266 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12267 esac
12271 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12272 then
12273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h. */
12275 #include <X11/Xlib.h>
12276 #include <X11/extensions/Xinerama.h>
12278 main ()
12280 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12282 return 0;
12284 _ACEOF
12285 if ac_fn_c_try_compile "$LINENO"; then :
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12287 $as_echo_n "checking for -lXinerama... " >&6; }
12288 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12289 $as_echo_n "(cached) " >&6
12290 else
12291 ac_check_soname_save_LIBS=$LIBS
12292 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12296 /* Override any GCC internal prototype to avoid an error.
12297 Use char because int might match the return type of a GCC
12298 builtin and then its argument prototype would still apply. */
12299 #ifdef __cplusplus
12300 extern "C"
12301 #endif
12302 char XineramaQueryScreens ();
12304 main ()
12306 return XineramaQueryScreens ();
12308 return 0;
12310 _ACEOF
12311 if ac_fn_c_try_link "$LINENO"; then :
12312 case "$LIBEXT" in
12313 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12314 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'` ;;
12315 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12316 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12317 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12318 fi ;;
12319 esac
12320 else
12321 ac_cv_lib_soname_Xinerama=
12323 rm -f core conftest.err conftest.$ac_objext \
12324 conftest$ac_exeext conftest.$ac_ext
12325 LIBS=$ac_check_soname_save_LIBS
12327 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12329 $as_echo "not found" >&6; }
12331 else
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12333 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12335 cat >>confdefs.h <<_ACEOF
12336 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12337 _ACEOF
12342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12344 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12345 case "x$with_xinerama" in
12346 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12347 xno) ;;
12348 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12349 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12350 esac
12354 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12355 then
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12357 $as_echo_n "checking for -lXcomposite... " >&6; }
12358 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12359 $as_echo_n "(cached) " >&6
12360 else
12361 ac_check_soname_save_LIBS=$LIBS
12362 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12366 /* Override any GCC internal prototype to avoid an error.
12367 Use char because int might match the return type of a GCC
12368 builtin and then its argument prototype would still apply. */
12369 #ifdef __cplusplus
12370 extern "C"
12371 #endif
12372 char XCompositeRedirectWindow ();
12374 main ()
12376 return XCompositeRedirectWindow ();
12378 return 0;
12380 _ACEOF
12381 if ac_fn_c_try_link "$LINENO"; then :
12382 case "$LIBEXT" in
12383 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12384 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'` ;;
12385 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12386 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12387 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12388 fi ;;
12389 esac
12390 else
12391 ac_cv_lib_soname_Xcomposite=
12393 rm -f core conftest.err conftest.$ac_objext \
12394 conftest$ac_exeext conftest.$ac_ext
12395 LIBS=$ac_check_soname_save_LIBS
12397 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12399 $as_echo "not found" >&6; }
12401 else
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12403 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12405 cat >>confdefs.h <<_ACEOF
12406 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12407 _ACEOF
12412 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12413 case "x$with_xcomposite" in
12414 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12415 xno) ;;
12416 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12417 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12418 esac
12422 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12423 #include <X11/Xlib.h>
12424 #endif
12426 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12428 cat >>confdefs.h <<_ACEOF
12429 #define HAVE_XICCALLBACK_CALLBACK 1
12430 _ACEOF
12434 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12435 #include <X11/Xlib.h>
12436 #endif
12438 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12440 cat >>confdefs.h <<_ACEOF
12441 #define HAVE_XEVENT_XCOOKIE 1
12442 _ACEOF
12449 opengl_msg=""
12450 if test "x$with_opengl" != "xno"
12451 then
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12453 $as_echo_n "checking for -lGL... " >&6; }
12454 if ${ac_cv_lib_soname_GL+:} false; then :
12455 $as_echo_n "(cached) " >&6
12456 else
12457 ac_check_soname_save_LIBS=$LIBS
12458 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12460 /* end confdefs.h. */
12462 /* Override any GCC internal prototype to avoid an error.
12463 Use char because int might match the return type of a GCC
12464 builtin and then its argument prototype would still apply. */
12465 #ifdef __cplusplus
12466 extern "C"
12467 #endif
12468 char glXCreateContext ();
12470 main ()
12472 return glXCreateContext ();
12474 return 0;
12476 _ACEOF
12477 if ac_fn_c_try_link "$LINENO"; then :
12478 case "$LIBEXT" in
12479 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12480 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'` ;;
12481 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12482 if ${ac_cv_lib_soname_GL:+false} :; then :
12483 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12484 fi ;;
12485 esac
12486 else
12487 ac_cv_lib_soname_GL=
12489 rm -f core conftest.err conftest.$ac_objext \
12490 conftest$ac_exeext conftest.$ac_ext
12491 LIBS=$ac_check_soname_save_LIBS
12493 if ${ac_cv_lib_soname_GL:+false} :; then :
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12495 $as_echo "not found" >&6; }
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12497 $as_echo_n "checking for -lGL... " >&6; }
12498 if ${ac_cv_lib_soname_GL+:} false; then :
12499 $as_echo_n "(cached) " >&6
12500 else
12501 ac_check_soname_save_LIBS=$LIBS
12502 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"
12503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12504 /* end confdefs.h. */
12506 /* Override any GCC internal prototype to avoid an error.
12507 Use char because int might match the return type of a GCC
12508 builtin and then its argument prototype would still apply. */
12509 #ifdef __cplusplus
12510 extern "C"
12511 #endif
12512 char glXCreateContext ();
12514 main ()
12516 return glXCreateContext ();
12518 return 0;
12520 _ACEOF
12521 if ac_fn_c_try_link "$LINENO"; then :
12522 case "$LIBEXT" in
12523 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12524 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'` ;;
12525 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12526 if ${ac_cv_lib_soname_GL:+false} :; then :
12527 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12528 fi ;;
12529 esac
12530 else
12531 ac_cv_lib_soname_GL=
12533 rm -f core conftest.err conftest.$ac_objext \
12534 conftest$ac_exeext conftest.$ac_ext
12535 LIBS=$ac_check_soname_save_LIBS
12537 if ${ac_cv_lib_soname_GL:+false} :; then :
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12539 $as_echo "not found" >&6; }
12540 if test -f /usr/X11R6/lib/libGL.a
12541 then
12542 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12543 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12544 else
12545 opengl_msg="No OpenGL library found on this system."
12547 else
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12549 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12551 cat >>confdefs.h <<_ACEOF
12552 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12553 _ACEOF
12555 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"
12557 else
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12559 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12561 cat >>confdefs.h <<_ACEOF
12562 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12563 _ACEOF
12565 OPENGL_LIBS="-lGL"
12567 if test "x$with_glu" != "xno"
12568 then
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12570 $as_echo_n "checking for -lGLU... " >&6; }
12571 if ${ac_cv_lib_soname_GLU+:} false; then :
12572 $as_echo_n "(cached) " >&6
12573 else
12574 ac_check_soname_save_LIBS=$LIBS
12575 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12577 /* end confdefs.h. */
12579 /* Override any GCC internal prototype to avoid an error.
12580 Use char because int might match the return type of a GCC
12581 builtin and then its argument prototype would still apply. */
12582 #ifdef __cplusplus
12583 extern "C"
12584 #endif
12585 char gluLookAt ();
12587 main ()
12589 return gluLookAt ();
12591 return 0;
12593 _ACEOF
12594 if ac_fn_c_try_link "$LINENO"; then :
12595 case "$LIBEXT" in
12596 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12597 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'` ;;
12598 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12599 if ${ac_cv_lib_soname_GLU:+false} :; then :
12600 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12601 fi ;;
12602 esac
12603 else
12604 ac_cv_lib_soname_GLU=
12606 rm -f core conftest.err conftest.$ac_objext \
12607 conftest$ac_exeext conftest.$ac_ext
12608 LIBS=$ac_check_soname_save_LIBS
12610 if ${ac_cv_lib_soname_GLU:+false} :; then :
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12612 $as_echo "not found" >&6; }
12614 else
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12616 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12618 cat >>confdefs.h <<_ACEOF
12619 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12620 _ACEOF
12624 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12625 case "x$with_glu" in
12626 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12627 xno) ;;
12628 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12629 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12630 esac
12635 if test "x$with_osmesa" != "xno"
12636 then
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12638 $as_echo_n "checking for -lOSMesa... " >&6; }
12639 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12640 $as_echo_n "(cached) " >&6
12641 else
12642 ac_check_soname_save_LIBS=$LIBS
12643 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12645 /* end confdefs.h. */
12647 /* Override any GCC internal prototype to avoid an error.
12648 Use char because int might match the return type of a GCC
12649 builtin and then its argument prototype would still apply. */
12650 #ifdef __cplusplus
12651 extern "C"
12652 #endif
12653 char OSMesaGetProcAddress ();
12655 main ()
12657 return OSMesaGetProcAddress ();
12659 return 0;
12661 _ACEOF
12662 if ac_fn_c_try_link "$LINENO"; then :
12663 case "$LIBEXT" in
12664 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12665 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'` ;;
12666 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12667 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12668 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12669 fi ;;
12670 esac
12671 else
12672 ac_cv_lib_soname_OSMesa=
12674 rm -f core conftest.err conftest.$ac_objext \
12675 conftest$ac_exeext conftest.$ac_ext
12676 LIBS=$ac_check_soname_save_LIBS
12678 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12680 $as_echo "not found" >&6; }
12682 else
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12684 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12686 cat >>confdefs.h <<_ACEOF
12687 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12688 _ACEOF
12692 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12693 case "x$with_osmesa" in
12694 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12695 xno) ;;
12696 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12697 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12698 esac
12703 if test -n "$opengl_msg"; then :
12704 case "x$with_opengl" in
12705 x) as_fn_append wine_warnings "|$opengl_msg
12706 OpenGL and Direct3D won't be supported." ;;
12707 xno) ;;
12708 *) as_fn_error $? "$opengl_msg
12709 OpenGL and Direct3D won't be supported.
12710 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12711 esac
12715 CPPFLAGS="$ac_save_CPPFLAGS"
12716 else
12717 X_CFLAGS=""
12718 X_LIBS=""
12721 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12722 then
12723 if test "x$X_LIBS" = "x"; then :
12724 case "x$with_x" in
12725 xno) ;;
12726 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12727 without X support, which probably isn't what you want. You will need
12728 to install ${notice_platform}development packages of Xlib at the very least.
12729 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12730 esac
12731 enable_winex11_drv=${enable_winex11_drv:-no}
12733 else
12734 if test "x$X_LIBS" = "x"; then :
12735 case "x$with_x" in
12736 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12737 xno) ;;
12738 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12739 This is an error since --with-x was requested." "$LINENO" 5 ;;
12740 esac
12741 enable_winex11_drv=${enable_winex11_drv:-no}
12745 if test "$ac_cv_header_CL_cl_h" = "yes"
12746 then
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12748 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12749 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12750 $as_echo_n "(cached) " >&6
12751 else
12752 ac_check_lib_save_LIBS=$LIBS
12753 LIBS="-lOpenCL $LIBS"
12754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12755 /* end confdefs.h. */
12757 /* Override any GCC internal prototype to avoid an error.
12758 Use char because int might match the return type of a GCC
12759 builtin and then its argument prototype would still apply. */
12760 #ifdef __cplusplus
12761 extern "C"
12762 #endif
12763 char clGetPlatformInfo ();
12765 main ()
12767 return clGetPlatformInfo ();
12769 return 0;
12771 _ACEOF
12772 if ac_fn_c_try_link "$LINENO"; then :
12773 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12774 else
12775 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12777 rm -f core conftest.err conftest.$ac_objext \
12778 conftest$ac_exeext conftest.$ac_ext
12779 LIBS=$ac_check_lib_save_LIBS
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12782 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12783 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12784 OPENCL_LIBS="-lOpenCL"
12789 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12790 case "x$with_opencl" in
12791 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12792 xno) ;;
12793 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12794 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12795 esac
12796 enable_opencl=${enable_opencl:-no}
12799 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12800 then
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12802 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12803 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12804 $as_echo_n "(cached) " >&6
12805 else
12806 ac_check_lib_save_LIBS=$LIBS
12807 LIBS="-lpcap $LIBS"
12808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12809 /* end confdefs.h. */
12811 /* Override any GCC internal prototype to avoid an error.
12812 Use char because int might match the return type of a GCC
12813 builtin and then its argument prototype would still apply. */
12814 #ifdef __cplusplus
12815 extern "C"
12816 #endif
12817 char pcap_create ();
12819 main ()
12821 return pcap_create ();
12823 return 0;
12825 _ACEOF
12826 if ac_fn_c_try_link "$LINENO"; then :
12827 ac_cv_lib_pcap_pcap_create=yes
12828 else
12829 ac_cv_lib_pcap_pcap_create=no
12831 rm -f core conftest.err conftest.$ac_objext \
12832 conftest$ac_exeext conftest.$ac_ext
12833 LIBS=$ac_check_lib_save_LIBS
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12836 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12837 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12838 PCAP_LIBS="-lpcap"
12843 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12844 case "x$with_pcap" in
12845 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12846 xno) ;;
12847 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12848 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12849 esac
12850 enable_wpcap=${enable_wpcap:-no}
12854 if test "x$with_xml" != "xno"
12855 then
12856 if ${XML2_CFLAGS:+false} :; then :
12857 if ${PKG_CONFIG+:} false; then :
12858 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12861 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12862 if ${XML2_LIBS:+false} :; then :
12863 if ${PKG_CONFIG+:} false; then :
12864 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12867 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12868 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12869 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12870 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12871 ac_save_CPPFLAGS=$CPPFLAGS
12872 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12873 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12874 do :
12875 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12876 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12877 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12878 cat >>confdefs.h <<_ACEOF
12879 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12880 _ACEOF
12884 done
12886 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"
12887 then
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12889 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12890 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12891 $as_echo_n "(cached) " >&6
12892 else
12893 ac_check_lib_save_LIBS=$LIBS
12894 LIBS="-lxml2 $XML2_LIBS $LIBS"
12895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12896 /* end confdefs.h. */
12898 /* Override any GCC internal prototype to avoid an error.
12899 Use char because int might match the return type of a GCC
12900 builtin and then its argument prototype would still apply. */
12901 #ifdef __cplusplus
12902 extern "C"
12903 #endif
12904 char xmlParseMemory ();
12906 main ()
12908 return xmlParseMemory ();
12910 return 0;
12912 _ACEOF
12913 if ac_fn_c_try_link "$LINENO"; then :
12914 ac_cv_lib_xml2_xmlParseMemory=yes
12915 else
12916 ac_cv_lib_xml2_xmlParseMemory=no
12918 rm -f core conftest.err conftest.$ac_objext \
12919 conftest$ac_exeext conftest.$ac_ext
12920 LIBS=$ac_check_lib_save_LIBS
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12923 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12924 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12926 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12928 else
12929 XML2_LIBS=""
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12933 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12934 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12935 $as_echo_n "(cached) " >&6
12936 else
12937 ac_check_lib_save_LIBS=$LIBS
12938 LIBS="-lxml2 $XML2_LIBS $LIBS"
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12942 /* Override any GCC internal prototype to avoid an error.
12943 Use char because int might match the return type of a GCC
12944 builtin and then its argument prototype would still apply. */
12945 #ifdef __cplusplus
12946 extern "C"
12947 #endif
12948 char xmlReadMemory ();
12950 main ()
12952 return xmlReadMemory ();
12954 return 0;
12956 _ACEOF
12957 if ac_fn_c_try_link "$LINENO"; then :
12958 ac_cv_lib_xml2_xmlReadMemory=yes
12959 else
12960 ac_cv_lib_xml2_xmlReadMemory=no
12962 rm -f core conftest.err conftest.$ac_objext \
12963 conftest$ac_exeext conftest.$ac_ext
12964 LIBS=$ac_check_lib_save_LIBS
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12967 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12968 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12970 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12975 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12976 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12977 $as_echo_n "(cached) " >&6
12978 else
12979 ac_check_lib_save_LIBS=$LIBS
12980 LIBS="-lxml2 $XML2_LIBS $LIBS"
12981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12987 #ifdef __cplusplus
12988 extern "C"
12989 #endif
12990 char xmlNewDocPI ();
12992 main ()
12994 return xmlNewDocPI ();
12996 return 0;
12998 _ACEOF
12999 if ac_fn_c_try_link "$LINENO"; then :
13000 ac_cv_lib_xml2_xmlNewDocPI=yes
13001 else
13002 ac_cv_lib_xml2_xmlNewDocPI=no
13004 rm -f core conftest.err conftest.$ac_objext \
13005 conftest$ac_exeext conftest.$ac_ext
13006 LIBS=$ac_check_lib_save_LIBS
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13009 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13010 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13012 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13017 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13018 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13019 $as_echo_n "(cached) " >&6
13020 else
13021 ac_check_lib_save_LIBS=$LIBS
13022 LIBS="-lxml2 $XML2_LIBS $LIBS"
13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13026 /* Override any GCC internal prototype to avoid an error.
13027 Use char because int might match the return type of a GCC
13028 builtin and then its argument prototype would still apply. */
13029 #ifdef __cplusplus
13030 extern "C"
13031 #endif
13032 char xmlSchemaSetParserStructuredErrors ();
13034 main ()
13036 return xmlSchemaSetParserStructuredErrors ();
13038 return 0;
13040 _ACEOF
13041 if ac_fn_c_try_link "$LINENO"; then :
13042 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13043 else
13044 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13046 rm -f core conftest.err conftest.$ac_objext \
13047 conftest$ac_exeext conftest.$ac_ext
13048 LIBS=$ac_check_lib_save_LIBS
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13051 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13052 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13054 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13059 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13060 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13061 $as_echo_n "(cached) " >&6
13062 else
13063 ac_check_lib_save_LIBS=$LIBS
13064 LIBS="-lxml2 $XML2_LIBS $LIBS"
13065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13066 /* end confdefs.h. */
13068 /* Override any GCC internal prototype to avoid an error.
13069 Use char because int might match the return type of a GCC
13070 builtin and then its argument prototype would still apply. */
13071 #ifdef __cplusplus
13072 extern "C"
13073 #endif
13074 char xmlSchemaSetValidStructuredErrors ();
13076 main ()
13078 return xmlSchemaSetValidStructuredErrors ();
13080 return 0;
13082 _ACEOF
13083 if ac_fn_c_try_link "$LINENO"; then :
13084 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13085 else
13086 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13088 rm -f core conftest.err conftest.$ac_objext \
13089 conftest$ac_exeext conftest.$ac_ext
13090 LIBS=$ac_check_lib_save_LIBS
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13093 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13094 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13096 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13101 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13102 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13103 $as_echo_n "(cached) " >&6
13104 else
13105 ac_check_lib_save_LIBS=$LIBS
13106 LIBS="-lxml2 $XML2_LIBS $LIBS"
13107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13108 /* end confdefs.h. */
13110 /* Override any GCC internal prototype to avoid an error.
13111 Use char because int might match the return type of a GCC
13112 builtin and then its argument prototype would still apply. */
13113 #ifdef __cplusplus
13114 extern "C"
13115 #endif
13116 char xmlFirstElementChild ();
13118 main ()
13120 return xmlFirstElementChild ();
13122 return 0;
13124 _ACEOF
13125 if ac_fn_c_try_link "$LINENO"; then :
13126 ac_cv_lib_xml2_xmlFirstElementChild=yes
13127 else
13128 ac_cv_lib_xml2_xmlFirstElementChild=no
13130 rm -f core conftest.err conftest.$ac_objext \
13131 conftest$ac_exeext conftest.$ac_ext
13132 LIBS=$ac_check_lib_save_LIBS
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13135 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13136 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13138 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13142 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13144 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13146 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13150 else
13151 XML2_CFLAGS=""
13152 XML2_LIBS=""
13154 CPPFLAGS=$ac_save_CPPFLAGS
13155 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13156 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13159 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13160 case "x$with_xml" in
13161 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13162 xno) ;;
13163 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13164 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13165 esac
13169 if test "x$with_xslt" != "xno"
13170 then
13171 if ${XSLT_CFLAGS:+false} :; then :
13172 if ${PKG_CONFIG+:} false; then :
13173 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13176 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13177 if ${XSLT_LIBS:+false} :; then :
13178 if ${PKG_CONFIG+:} false; then :
13179 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13182 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13183 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13184 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13185 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13186 ac_save_CPPFLAGS=$CPPFLAGS
13187 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13188 for ac_header in libxslt/pattern.h libxslt/transform.h
13189 do :
13190 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13191 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13192 # include <libxslt/pattern.h>
13193 #endif
13195 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13196 cat >>confdefs.h <<_ACEOF
13197 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13198 _ACEOF
13202 done
13204 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13205 then
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13207 $as_echo_n "checking for -lxslt... " >&6; }
13208 if ${ac_cv_lib_soname_xslt+:} false; then :
13209 $as_echo_n "(cached) " >&6
13210 else
13211 ac_check_soname_save_LIBS=$LIBS
13212 LIBS="-lxslt $XSLT_LIBS $LIBS"
13213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13214 /* end confdefs.h. */
13216 /* Override any GCC internal prototype to avoid an error.
13217 Use char because int might match the return type of a GCC
13218 builtin and then its argument prototype would still apply. */
13219 #ifdef __cplusplus
13220 extern "C"
13221 #endif
13222 char xsltCompilePattern ();
13224 main ()
13226 return xsltCompilePattern ();
13228 return 0;
13230 _ACEOF
13231 if ac_fn_c_try_link "$LINENO"; then :
13232 case "$LIBEXT" in
13233 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13234 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'` ;;
13235 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13236 if ${ac_cv_lib_soname_xslt:+false} :; then :
13237 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13238 fi ;;
13239 esac
13240 else
13241 ac_cv_lib_soname_xslt=
13243 rm -f core conftest.err conftest.$ac_objext \
13244 conftest$ac_exeext conftest.$ac_ext
13245 LIBS=$ac_check_soname_save_LIBS
13247 if ${ac_cv_lib_soname_xslt:+false} :; then :
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13249 $as_echo "not found" >&6; }
13251 else
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13253 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13255 cat >>confdefs.h <<_ACEOF
13256 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13257 _ACEOF
13261 else
13262 XSLT_CFLAGS=""
13264 CPPFLAGS=$ac_save_CPPFLAGS
13265 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13266 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13269 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13270 case "x$with_xslt" in
13271 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13272 xno) ;;
13273 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13274 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13275 esac
13279 if test "x$with_inotify" != "xno"
13280 then
13281 if ${INOTIFY_CFLAGS:+false} :; then :
13282 if ${PKG_CONFIG+:} false; then :
13283 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13287 if ${INOTIFY_LIBS:+false} :; then :
13288 if ${PKG_CONFIG+:} false; then :
13289 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13294 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13295 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13296 ac_save_CPPFLAGS=$CPPFLAGS
13297 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13298 for ac_header in sys/inotify.h
13299 do :
13300 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13301 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13302 cat >>confdefs.h <<_ACEOF
13303 #define HAVE_SYS_INOTIFY_H 1
13304 _ACEOF
13308 done
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13311 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13312 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13313 $as_echo_n "(cached) " >&6
13314 else
13315 ac_check_lib_save_LIBS=$LIBS
13316 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13318 /* end confdefs.h. */
13320 /* Override any GCC internal prototype to avoid an error.
13321 Use char because int might match the return type of a GCC
13322 builtin and then its argument prototype would still apply. */
13323 #ifdef __cplusplus
13324 extern "C"
13325 #endif
13326 char inotify_add_watch ();
13328 main ()
13330 return inotify_add_watch ();
13332 return 0;
13334 _ACEOF
13335 if ac_fn_c_try_link "$LINENO"; then :
13336 ac_cv_lib_inotify_inotify_add_watch=yes
13337 else
13338 ac_cv_lib_inotify_inotify_add_watch=no
13340 rm -f core conftest.err conftest.$ac_objext \
13341 conftest$ac_exeext conftest.$ac_ext
13342 LIBS=$ac_check_lib_save_LIBS
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13345 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13346 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13348 else
13349 INOTIFY_LIBS=""
13352 CPPFLAGS=$ac_save_CPPFLAGS
13353 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13354 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13357 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13358 case "x$with_inotify" in
13359 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13360 xno) ;;
13361 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13362 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13363 esac
13367 if test "x$with_dbus" != "xno"
13368 then
13369 if ${DBUS_CFLAGS:+false} :; then :
13370 if ${PKG_CONFIG+:} false; then :
13371 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13375 if ${DBUS_LIBS:+false} :; then :
13376 if ${PKG_CONFIG+:} false; then :
13377 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13382 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13383 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13384 ac_save_CPPFLAGS=$CPPFLAGS
13385 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13386 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13387 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13389 $as_echo_n "checking for -ldbus-1... " >&6; }
13390 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13391 $as_echo_n "(cached) " >&6
13392 else
13393 ac_check_soname_save_LIBS=$LIBS
13394 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13396 /* end confdefs.h. */
13398 /* Override any GCC internal prototype to avoid an error.
13399 Use char because int might match the return type of a GCC
13400 builtin and then its argument prototype would still apply. */
13401 #ifdef __cplusplus
13402 extern "C"
13403 #endif
13404 char dbus_connection_close ();
13406 main ()
13408 return dbus_connection_close ();
13410 return 0;
13412 _ACEOF
13413 if ac_fn_c_try_link "$LINENO"; then :
13414 case "$LIBEXT" in
13415 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13416 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'` ;;
13417 *) 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'`
13418 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13419 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13420 fi ;;
13421 esac
13422 else
13423 ac_cv_lib_soname_dbus_1=
13425 rm -f core conftest.err conftest.$ac_objext \
13426 conftest$ac_exeext conftest.$ac_ext
13427 LIBS=$ac_check_soname_save_LIBS
13429 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13431 $as_echo "not found" >&6; }
13432 DBUS_CFLAGS=""
13433 else
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13435 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13437 cat >>confdefs.h <<_ACEOF
13438 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13439 _ACEOF
13443 else
13444 DBUS_CFLAGS=""
13448 CPPFLAGS=$ac_save_CPPFLAGS
13449 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13450 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13453 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13454 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13455 case "x$with_dbus" in
13456 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13457 xno) ;;
13458 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13459 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13460 esac
13464 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13465 then
13466 if ${HAL_CFLAGS:+false} :; then :
13467 if ${PKG_CONFIG+:} false; then :
13468 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13472 if ${HAL_LIBS:+false} :; then :
13473 if ${PKG_CONFIG+:} false; then :
13474 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13478 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13479 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13480 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13481 ac_save_CPPFLAGS=$CPPFLAGS
13482 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13483 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13484 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13486 $as_echo_n "checking for -lhal... " >&6; }
13487 if ${ac_cv_lib_soname_hal+:} false; then :
13488 $as_echo_n "(cached) " >&6
13489 else
13490 ac_check_soname_save_LIBS=$LIBS
13491 LIBS="-lhal $HAL_LIBS $LIBS"
13492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13493 /* end confdefs.h. */
13495 /* Override any GCC internal prototype to avoid an error.
13496 Use char because int might match the return type of a GCC
13497 builtin and then its argument prototype would still apply. */
13498 #ifdef __cplusplus
13499 extern "C"
13500 #endif
13501 char libhal_ctx_new ();
13503 main ()
13505 return libhal_ctx_new ();
13507 return 0;
13509 _ACEOF
13510 if ac_fn_c_try_link "$LINENO"; then :
13511 case "$LIBEXT" in
13512 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13513 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'` ;;
13514 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13515 if ${ac_cv_lib_soname_hal:+false} :; then :
13516 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13517 fi ;;
13518 esac
13519 else
13520 ac_cv_lib_soname_hal=
13522 rm -f core conftest.err conftest.$ac_objext \
13523 conftest$ac_exeext conftest.$ac_ext
13524 LIBS=$ac_check_soname_save_LIBS
13526 if ${ac_cv_lib_soname_hal:+false} :; then :
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13528 $as_echo "not found" >&6; }
13529 HAL_CFLAGS=""
13530 else
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13532 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13534 cat >>confdefs.h <<_ACEOF
13535 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13536 _ACEOF
13540 else
13541 HAL_CFLAGS=""
13545 CPPFLAGS=$ac_save_CPPFLAGS
13546 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13547 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13549 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13550 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13551 case "x$with_hal" in
13552 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13553 xno) ;;
13554 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13555 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13556 esac
13561 if test "x$with_gnutls" != "xno"
13562 then
13563 if ${GNUTLS_CFLAGS:+false} :; then :
13564 if ${PKG_CONFIG+:} false; then :
13565 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13569 if ${GNUTLS_LIBS:+false} :; then :
13570 if ${PKG_CONFIG+:} false; then :
13571 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13575 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13576 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13577 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13578 ac_save_CPPFLAGS=$CPPFLAGS
13579 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13580 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13581 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13583 /* end confdefs.h. */
13584 #include <gnutls/gnutls.h>
13585 #include <gnutls/crypto.h>
13587 main ()
13589 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13591 return 0;
13593 _ACEOF
13594 if ac_fn_c_try_compile "$LINENO"; then :
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13596 $as_echo_n "checking for -lgnutls... " >&6; }
13597 if ${ac_cv_lib_soname_gnutls+:} false; then :
13598 $as_echo_n "(cached) " >&6
13599 else
13600 ac_check_soname_save_LIBS=$LIBS
13601 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13603 /* end confdefs.h. */
13605 /* Override any GCC internal prototype to avoid an error.
13606 Use char because int might match the return type of a GCC
13607 builtin and then its argument prototype would still apply. */
13608 #ifdef __cplusplus
13609 extern "C"
13610 #endif
13611 char gnutls_global_init ();
13613 main ()
13615 return gnutls_global_init ();
13617 return 0;
13619 _ACEOF
13620 if ac_fn_c_try_link "$LINENO"; then :
13621 case "$LIBEXT" in
13622 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13623 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'` ;;
13624 *) 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'`
13625 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13626 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'`
13627 fi ;;
13628 esac
13629 else
13630 ac_cv_lib_soname_gnutls=
13632 rm -f core conftest.err conftest.$ac_objext \
13633 conftest$ac_exeext conftest.$ac_ext
13634 LIBS=$ac_check_soname_save_LIBS
13636 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13638 $as_echo "not found" >&6; }
13639 GNUTLS_CFLAGS=""
13640 else
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13642 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13644 cat >>confdefs.h <<_ACEOF
13645 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13646 _ACEOF
13650 ac_wine_check_funcs_save_LIBS="$LIBS"
13651 LIBS="$LIBS $GNUTLS_LIBS"
13652 for ac_func in gnutls_cipher_init
13653 do :
13654 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13655 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13656 cat >>confdefs.h <<_ACEOF
13657 #define HAVE_GNUTLS_CIPHER_INIT 1
13658 _ACEOF
13660 else
13661 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13663 done
13665 LIBS="$ac_wine_check_funcs_save_LIBS"
13667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13668 else
13669 GNUTLS_CFLAGS=""
13673 CPPFLAGS=$ac_save_CPPFLAGS
13674 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13675 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13678 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13679 case "x$with_gnutls" in
13680 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13681 xno) ;;
13682 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13683 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13684 esac
13688 CURSES_LIBS=""
13689 if test "$ac_cv_header_ncurses_h" = "yes"
13690 then
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13692 $as_echo_n "checking for -lncurses... " >&6; }
13693 if ${ac_cv_lib_soname_ncurses+:} false; then :
13694 $as_echo_n "(cached) " >&6
13695 else
13696 ac_check_soname_save_LIBS=$LIBS
13697 LIBS="-lncurses $LIBS"
13698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13699 /* end confdefs.h. */
13701 /* Override any GCC internal prototype to avoid an error.
13702 Use char because int might match the return type of a GCC
13703 builtin and then its argument prototype would still apply. */
13704 #ifdef __cplusplus
13705 extern "C"
13706 #endif
13707 char waddch ();
13709 main ()
13711 return waddch ();
13713 return 0;
13715 _ACEOF
13716 if ac_fn_c_try_link "$LINENO"; then :
13717 case "$LIBEXT" in
13718 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13719 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'` ;;
13720 *) 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'`
13721 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13722 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13723 fi ;;
13724 esac
13725 else
13726 ac_cv_lib_soname_ncurses=
13728 rm -f core conftest.err conftest.$ac_objext \
13729 conftest$ac_exeext conftest.$ac_ext
13730 LIBS=$ac_check_soname_save_LIBS
13732 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13734 $as_echo "not found" >&6; }
13736 else
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13738 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13740 cat >>confdefs.h <<_ACEOF
13741 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13742 _ACEOF
13744 CURSES_LIBS="-lncurses"
13746 elif test "$ac_cv_header_curses_h" = "yes"
13747 then
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13749 $as_echo_n "checking for -lcurses... " >&6; }
13750 if ${ac_cv_lib_soname_curses+:} false; then :
13751 $as_echo_n "(cached) " >&6
13752 else
13753 ac_check_soname_save_LIBS=$LIBS
13754 LIBS="-lcurses $LIBS"
13755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13756 /* end confdefs.h. */
13758 /* Override any GCC internal prototype to avoid an error.
13759 Use char because int might match the return type of a GCC
13760 builtin and then its argument prototype would still apply. */
13761 #ifdef __cplusplus
13762 extern "C"
13763 #endif
13764 char waddch ();
13766 main ()
13768 return waddch ();
13770 return 0;
13772 _ACEOF
13773 if ac_fn_c_try_link "$LINENO"; then :
13774 case "$LIBEXT" in
13775 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13776 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'` ;;
13777 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13778 if ${ac_cv_lib_soname_curses:+false} :; then :
13779 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13780 fi ;;
13781 esac
13782 else
13783 ac_cv_lib_soname_curses=
13785 rm -f core conftest.err conftest.$ac_objext \
13786 conftest$ac_exeext conftest.$ac_ext
13787 LIBS=$ac_check_soname_save_LIBS
13789 if ${ac_cv_lib_soname_curses:+false} :; then :
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13791 $as_echo "not found" >&6; }
13793 else
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13795 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13797 cat >>confdefs.h <<_ACEOF
13798 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13799 _ACEOF
13801 CURSES_LIBS="-lcurses"
13804 ac_save_LIBS="$LIBS"
13805 LIBS="$LIBS $CURSES_LIBS"
13806 for ac_func in mousemask
13807 do :
13808 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13809 if test "x$ac_cv_func_mousemask" = xyes; then :
13810 cat >>confdefs.h <<_ACEOF
13811 #define HAVE_MOUSEMASK 1
13812 _ACEOF
13815 done
13817 LIBS="$ac_save_LIBS"
13818 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13819 case "x$with_curses" in
13820 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13821 xno) ;;
13822 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13823 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13824 esac
13828 if test "x$with_sane" != "xno"
13829 then
13830 if ${SANE_CFLAGS:+false} :; then :
13831 if ${PKG_CONFIG+:} false; then :
13832 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13835 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13836 if ${SANE_LIBS:+false} :; then :
13837 if ${PKG_CONFIG+:} false; then :
13838 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13841 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13843 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13844 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13845 ac_save_CPPFLAGS=$CPPFLAGS
13846 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13847 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13848 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13850 $as_echo_n "checking for -lsane... " >&6; }
13851 if ${ac_cv_lib_soname_sane+:} false; then :
13852 $as_echo_n "(cached) " >&6
13853 else
13854 ac_check_soname_save_LIBS=$LIBS
13855 LIBS="-lsane $SANE_LIBS $LIBS"
13856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13859 /* Override any GCC internal prototype to avoid an error.
13860 Use char because int might match the return type of a GCC
13861 builtin and then its argument prototype would still apply. */
13862 #ifdef __cplusplus
13863 extern "C"
13864 #endif
13865 char sane_init ();
13867 main ()
13869 return sane_init ();
13871 return 0;
13873 _ACEOF
13874 if ac_fn_c_try_link "$LINENO"; then :
13875 case "$LIBEXT" in
13876 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13877 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'` ;;
13878 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13879 if ${ac_cv_lib_soname_sane:+false} :; then :
13880 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13881 fi ;;
13882 esac
13883 else
13884 ac_cv_lib_soname_sane=
13886 rm -f core conftest.err conftest.$ac_objext \
13887 conftest$ac_exeext conftest.$ac_ext
13888 LIBS=$ac_check_soname_save_LIBS
13890 if ${ac_cv_lib_soname_sane:+false} :; then :
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13892 $as_echo "not found" >&6; }
13893 SANE_CFLAGS=""
13894 else
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13896 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13898 cat >>confdefs.h <<_ACEOF
13899 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13900 _ACEOF
13904 else
13905 SANE_CFLAGS=""
13909 CPPFLAGS=$ac_save_CPPFLAGS
13910 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13911 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13914 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13915 case "x$with_sane" in
13916 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13917 xno) ;;
13918 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13919 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13920 esac
13924 if test "x$with_usb" != "xno"
13925 then
13926 if ${USB_CFLAGS:+false} :; then :
13927 if ${PKG_CONFIG+:} false; then :
13928 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13932 if ${USB_LIBS:+false} :; then :
13933 if ${PKG_CONFIG+:} false; then :
13934 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13938 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13939 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13940 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13941 ac_save_CPPFLAGS=$CPPFLAGS
13942 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13943 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13944 if test "x$ac_cv_header_libusb_h" = xyes; then :
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13946 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13947 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13948 $as_echo_n "(cached) " >&6
13949 else
13950 ac_check_lib_save_LIBS=$LIBS
13951 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13955 /* Override any GCC internal prototype to avoid an error.
13956 Use char because int might match the return type of a GCC
13957 builtin and then its argument prototype would still apply. */
13958 #ifdef __cplusplus
13959 extern "C"
13960 #endif
13961 char libusb_interrupt_event_handler ();
13963 main ()
13965 return libusb_interrupt_event_handler ();
13967 return 0;
13969 _ACEOF
13970 if ac_fn_c_try_link "$LINENO"; then :
13971 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13972 else
13973 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13975 rm -f core conftest.err conftest.$ac_objext \
13976 conftest$ac_exeext conftest.$ac_ext
13977 LIBS=$ac_check_lib_save_LIBS
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13980 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13981 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13983 else
13984 USB_LIBS=""
13987 else
13988 USB_LIBS=""
13992 CPPFLAGS=$ac_save_CPPFLAGS
13993 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13994 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13997 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13998 case "x$with_usb" in
13999 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14000 xno) ;;
14001 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14002 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14003 esac
14004 enable_wineusb_sys=${enable_wineusb_sys:-no}
14007 if test "x$with_v4l2" != "xno"
14008 then
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14010 $as_echo_n "checking for -lv4l2... " >&6; }
14011 if ${ac_cv_lib_soname_v4l2+:} false; then :
14012 $as_echo_n "(cached) " >&6
14013 else
14014 ac_check_soname_save_LIBS=$LIBS
14015 LIBS="-lv4l2 $LIBS"
14016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14017 /* end confdefs.h. */
14019 /* Override any GCC internal prototype to avoid an error.
14020 Use char because int might match the return type of a GCC
14021 builtin and then its argument prototype would still apply. */
14022 #ifdef __cplusplus
14023 extern "C"
14024 #endif
14025 char v4l2_open ();
14027 main ()
14029 return v4l2_open ();
14031 return 0;
14033 _ACEOF
14034 if ac_fn_c_try_link "$LINENO"; then :
14035 case "$LIBEXT" in
14036 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14037 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'` ;;
14038 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14039 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14040 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14041 fi ;;
14042 esac
14043 else
14044 ac_cv_lib_soname_v4l2=
14046 rm -f core conftest.err conftest.$ac_objext \
14047 conftest$ac_exeext conftest.$ac_ext
14048 LIBS=$ac_check_soname_save_LIBS
14050 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14052 $as_echo "not found" >&6; }
14054 else
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14056 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14058 cat >>confdefs.h <<_ACEOF
14059 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14060 _ACEOF
14065 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14066 case "x$with_v4l2" in
14067 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14068 xno) ;;
14069 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14070 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14071 esac
14075 if test "x$with_gphoto" != "xno"
14076 then
14077 if ${GPHOTO2_CFLAGS:+false} :; then :
14078 if ${PKG_CONFIG+:} false; then :
14079 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14082 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14083 if ${GPHOTO2_LIBS:+false} :; then :
14084 if ${PKG_CONFIG+:} false; then :
14085 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14088 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14089 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14090 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14091 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14092 ac_save_CPPFLAGS=$CPPFLAGS
14093 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14094 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14095 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14097 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14098 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14099 $as_echo_n "(cached) " >&6
14100 else
14101 ac_check_lib_save_LIBS=$LIBS
14102 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14106 /* Override any GCC internal prototype to avoid an error.
14107 Use char because int might match the return type of a GCC
14108 builtin and then its argument prototype would still apply. */
14109 #ifdef __cplusplus
14110 extern "C"
14111 #endif
14112 char gp_camera_new ();
14114 main ()
14116 return gp_camera_new ();
14118 return 0;
14120 _ACEOF
14121 if ac_fn_c_try_link "$LINENO"; then :
14122 ac_cv_lib_gphoto2_gp_camera_new=yes
14123 else
14124 ac_cv_lib_gphoto2_gp_camera_new=no
14126 rm -f core conftest.err conftest.$ac_objext \
14127 conftest$ac_exeext conftest.$ac_ext
14128 LIBS=$ac_check_lib_save_LIBS
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14131 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14132 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14134 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14136 else
14137 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14140 else
14141 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14145 CPPFLAGS=$ac_save_CPPFLAGS
14146 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14147 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14149 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14150 if ${PKG_CONFIG+:} false; then :
14151 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14154 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14155 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14156 if ${PKG_CONFIG+:} false; then :
14157 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14160 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14161 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14162 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14163 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14164 ac_save_CPPFLAGS=$CPPFLAGS
14165 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14166 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14167 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14169 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14170 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14171 $as_echo_n "(cached) " >&6
14172 else
14173 ac_check_lib_save_LIBS=$LIBS
14174 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14176 /* end confdefs.h. */
14178 /* Override any GCC internal prototype to avoid an error.
14179 Use char because int might match the return type of a GCC
14180 builtin and then its argument prototype would still apply. */
14181 #ifdef __cplusplus
14182 extern "C"
14183 #endif
14184 char gp_port_info_list_new ();
14186 main ()
14188 return gp_port_info_list_new ();
14190 return 0;
14192 _ACEOF
14193 if ac_fn_c_try_link "$LINENO"; then :
14194 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14195 else
14196 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14198 rm -f core conftest.err conftest.$ac_objext \
14199 conftest$ac_exeext conftest.$ac_ext
14200 LIBS=$ac_check_lib_save_LIBS
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14203 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14204 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14206 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14208 else
14209 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14212 else
14213 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14217 CPPFLAGS=$ac_save_CPPFLAGS
14218 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14219 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14222 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14223 case "x$with_gphoto" in
14224 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14225 xno) ;;
14226 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14227 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14228 esac
14231 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14232 case "x$with_gphoto" in
14233 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14234 xno) ;;
14235 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14236 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14237 esac
14242 if test "$ac_cv_header_resolv_h" = "yes"
14243 then
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14245 $as_echo_n "checking for resolver library... " >&6; }
14246 if ${ac_cv_have_resolv+:} false; then :
14247 $as_echo_n "(cached) " >&6
14248 else
14249 ac_save_LIBS="$LIBS"
14250 for lib in '' -lresolv
14252 LIBS="$lib $ac_save_LIBS"
14253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14254 /* end confdefs.h. */
14255 #ifdef HAVE_NETINET_IN_H
14256 #include <netinet/in.h>
14257 #endif
14258 #include <resolv.h>
14260 main ()
14262 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14264 return 0;
14266 _ACEOF
14267 if ac_fn_c_try_link "$LINENO"; then :
14268 ac_cv_have_resolv=${lib:-"none required"}
14269 else
14270 ac_cv_have_resolv="not found"
14272 rm -f core conftest.err conftest.$ac_objext \
14273 conftest$ac_exeext conftest.$ac_ext
14274 test "x$ac_cv_have_resolv" = "xnot found" || break
14275 done
14276 LIBS="$ac_save_LIBS"
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14279 $as_echo "$ac_cv_have_resolv" >&6; }
14281 case "$ac_cv_have_resolv" in
14282 "not found") ;;
14283 "none required")
14285 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14288 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14290 RESOLV_LIBS=$ac_cv_have_resolv
14292 esac
14294 if test "x$ac_cv_have_resolv" != "xnot found"
14295 then
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14297 $as_echo_n "checking for res_getservers... " >&6; }
14298 if ${ac_cv_have_res_getservers+:} false; then :
14299 $as_echo_n "(cached) " >&6
14300 else
14301 ac_save_LIBS="$LIBS"
14302 LIBS="$RESOLV_LIBS $LIBS"
14303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14304 /* end confdefs.h. */
14305 #include <resolv.h>
14307 main ()
14309 res_getservers(NULL, NULL, 0);
14311 return 0;
14313 _ACEOF
14314 if ac_fn_c_try_link "$LINENO"; then :
14315 ac_cv_have_res_getservers=yes
14316 else
14317 ac_cv_have_res_getservers=no
14319 rm -f core conftest.err conftest.$ac_objext \
14320 conftest$ac_exeext conftest.$ac_ext
14321 LIBS="$ac_save_LIBS"
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14324 $as_echo "$ac_cv_have_res_getservers" >&6; }
14325 if test "$ac_cv_have_res_getservers" = "yes"
14326 then
14328 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14334 if test "x$with_cms" != "xno"
14335 then
14336 if ${LCMS2_CFLAGS:+false} :; then :
14337 if ${PKG_CONFIG+:} false; then :
14338 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14342 if ${LCMS2_LIBS:+false} :; then :
14343 if ${PKG_CONFIG+:} false; then :
14344 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14348 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14349 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14350 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14351 ac_save_CPPFLAGS=$CPPFLAGS
14352 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14353 for ac_header in lcms2.h
14354 do :
14355 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14356 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14357 cat >>confdefs.h <<_ACEOF
14358 #define HAVE_LCMS2_H 1
14359 _ACEOF
14363 done
14365 if test "$ac_cv_header_lcms2_h" = "yes"
14366 then
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14368 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14369 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14370 $as_echo_n "(cached) " >&6
14371 else
14372 ac_check_lib_save_LIBS=$LIBS
14373 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14375 /* end confdefs.h. */
14377 /* Override any GCC internal prototype to avoid an error.
14378 Use char because int might match the return type of a GCC
14379 builtin and then its argument prototype would still apply. */
14380 #ifdef __cplusplus
14381 extern "C"
14382 #endif
14383 char cmsOpenProfileFromFile ();
14385 main ()
14387 return cmsOpenProfileFromFile ();
14389 return 0;
14391 _ACEOF
14392 if ac_fn_c_try_link "$LINENO"; then :
14393 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14394 else
14395 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14397 rm -f core conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext conftest.$ac_ext
14399 LIBS=$ac_check_lib_save_LIBS
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14402 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14403 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14405 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14407 else
14408 LCMS2_LIBS=""
14411 else
14412 LCMS2_CFLAGS=""
14413 LCMS2_LIBS=""
14415 CPPFLAGS=$ac_save_CPPFLAGS
14416 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14417 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14420 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14421 case "x$with_cms" in
14422 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14423 xno) ;;
14424 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14425 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14426 esac
14430 if test "x$with_freetype" != "xno"
14431 then
14432 if ${FREETYPE_CFLAGS:+false} :; then :
14433 if ${PKG_CONFIG+:} false; then :
14434 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14437 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14438 if ${FREETYPE_LIBS:+false} :; then :
14439 if ${PKG_CONFIG+:} false; then :
14440 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14443 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14444 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14445 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14446 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14447 ac_save_CPPFLAGS=$CPPFLAGS
14448 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14449 for ac_header in ft2build.h
14450 do :
14451 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14452 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14453 cat >>confdefs.h <<_ACEOF
14454 #define HAVE_FT2BUILD_H 1
14455 _ACEOF
14459 done
14461 if test "$ac_cv_header_ft2build_h" = "yes"
14462 then
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14464 $as_echo_n "checking for -lfreetype... " >&6; }
14465 if ${ac_cv_lib_soname_freetype+:} false; then :
14466 $as_echo_n "(cached) " >&6
14467 else
14468 ac_check_soname_save_LIBS=$LIBS
14469 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14473 /* Override any GCC internal prototype to avoid an error.
14474 Use char because int might match the return type of a GCC
14475 builtin and then its argument prototype would still apply. */
14476 #ifdef __cplusplus
14477 extern "C"
14478 #endif
14479 char FT_Init_FreeType ();
14481 main ()
14483 return FT_Init_FreeType ();
14485 return 0;
14487 _ACEOF
14488 if ac_fn_c_try_link "$LINENO"; then :
14489 case "$LIBEXT" in
14490 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14491 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'` ;;
14492 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14493 if ${ac_cv_lib_soname_freetype:+false} :; then :
14494 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14495 fi ;;
14496 esac
14497 else
14498 ac_cv_lib_soname_freetype=
14500 rm -f core conftest.err conftest.$ac_objext \
14501 conftest$ac_exeext conftest.$ac_ext
14502 LIBS=$ac_check_soname_save_LIBS
14504 if ${ac_cv_lib_soname_freetype:+false} :; then :
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14506 $as_echo "not found" >&6; }
14507 FREETYPE_LIBS=""
14508 else
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14510 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14512 cat >>confdefs.h <<_ACEOF
14513 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14514 _ACEOF
14517 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14519 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14520 #include FT_MODULE_H
14522 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14524 cat >>confdefs.h <<_ACEOF
14525 #define HAVE_FT_TRUETYPEENGINETYPE 1
14526 _ACEOF
14532 else
14533 FREETYPE_CFLAGS=""
14534 FREETYPE_LIBS=""
14536 CPPFLAGS=$ac_save_CPPFLAGS
14537 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14538 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14541 if test "x$ac_cv_lib_soname_freetype" = x; then :
14542 case "x$with_freetype" in
14543 xno) ;;
14544 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14545 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14546 esac
14547 enable_fonts=${enable_fonts:-no}
14550 ac_wine_check_funcs_save_LIBS="$LIBS"
14551 LIBS="$LIBS $PTHREAD_LIBS"
14552 for ac_func in \
14553 pthread_getthreadid_np
14554 do :
14555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14557 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14558 cat >>confdefs.h <<_ACEOF
14559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14560 _ACEOF
14563 done
14565 LIBS="$ac_wine_check_funcs_save_LIBS"
14567 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14568 then
14569 if test "$ac_cv_header_gettext_po_h" = "yes"
14570 then
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14572 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14573 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14574 $as_echo_n "(cached) " >&6
14575 else
14576 ac_check_lib_save_LIBS=$LIBS
14577 LIBS="-lgettextpo $LIBS"
14578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14579 /* end confdefs.h. */
14581 /* Override any GCC internal prototype to avoid an error.
14582 Use char because int might match the return type of a GCC
14583 builtin and then its argument prototype would still apply. */
14584 #ifdef __cplusplus
14585 extern "C"
14586 #endif
14587 char po_message_msgctxt ();
14589 main ()
14591 return po_message_msgctxt ();
14593 return 0;
14595 _ACEOF
14596 if ac_fn_c_try_link "$LINENO"; then :
14597 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14598 else
14599 ac_cv_lib_gettextpo_po_message_msgctxt=no
14601 rm -f core conftest.err conftest.$ac_objext \
14602 conftest$ac_exeext conftest.$ac_ext
14603 LIBS=$ac_check_lib_save_LIBS
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14606 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14607 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14609 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14611 GETTEXTPO_LIBS="-lgettextpo"
14616 if test "x$GETTEXTPO_LIBS" = "x"; then :
14617 case "x$with_gettextpo" in
14618 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14619 xno) ;;
14620 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14621 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14622 esac
14625 if test "$srcdir" != .; then :
14626 case "x$with_gettextpo" in
14627 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14628 xno) ;;
14629 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14630 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14631 esac
14636 if test "x$with_pulse" != "xno";
14637 then
14638 if ${PULSE_CFLAGS:+false} :; then :
14639 if ${PKG_CONFIG+:} false; then :
14640 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14644 if ${PULSE_LIBS:+false} :; then :
14645 if ${PKG_CONFIG+:} false; then :
14646 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14651 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14652 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14653 ac_save_CPPFLAGS=$CPPFLAGS
14654 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14655 for ac_header in pulse/pulseaudio.h
14656 do :
14657 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14658 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14659 cat >>confdefs.h <<_ACEOF
14660 #define HAVE_PULSE_PULSEAUDIO_H 1
14661 _ACEOF
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14663 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14664 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14665 $as_echo_n "(cached) " >&6
14666 else
14667 ac_check_lib_save_LIBS=$LIBS
14668 LIBS="-lpulse $PULSE_LIBS $LIBS"
14669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14670 /* end confdefs.h. */
14672 /* Override any GCC internal prototype to avoid an error.
14673 Use char because int might match the return type of a GCC
14674 builtin and then its argument prototype would still apply. */
14675 #ifdef __cplusplus
14676 extern "C"
14677 #endif
14678 char pa_stream_is_corked ();
14680 main ()
14682 return pa_stream_is_corked ();
14684 return 0;
14686 _ACEOF
14687 if ac_fn_c_try_link "$LINENO"; then :
14688 ac_cv_lib_pulse_pa_stream_is_corked=yes
14689 else
14690 ac_cv_lib_pulse_pa_stream_is_corked=no
14692 rm -f core conftest.err conftest.$ac_objext \
14693 conftest$ac_exeext conftest.$ac_ext
14694 LIBS=$ac_check_lib_save_LIBS
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14697 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14698 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14700 else
14701 PULSE_LIBS=""
14704 else
14705 PULSE_LIBS=""
14708 done
14710 CPPFLAGS=$ac_save_CPPFLAGS
14711 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14712 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14715 if test -z "$PULSE_LIBS"; then :
14716 case "x$with_pulse" in
14717 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14718 xno) ;;
14719 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14720 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14721 esac
14722 enable_winepulse_drv=${enable_winepulse_drv:-no}
14725 if test "x$with_gstreamer" != "xno"
14726 then
14727 if ${GSTREAMER_CFLAGS:+false} :; then :
14728 if ${PKG_CONFIG+:} false; then :
14729 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14733 if ${GSTREAMER_LIBS:+false} :; then :
14734 if ${PKG_CONFIG+:} false; then :
14735 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14740 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14741 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14742 ac_save_CPPFLAGS=$CPPFLAGS
14743 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14744 ac_gst_incl=""
14745 for i in $GSTREAMER_CFLAGS
14747 case "$i" in
14748 -I*) ac_gst_incl="$ac_gst_incl $i";;
14749 esac
14750 done
14751 GSTREAMER_CFLAGS=$ac_gst_incl
14752 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14753 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14754 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14756 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14759 #include <gst/gst.h>
14761 main ()
14763 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14765 return 0;
14767 _ACEOF
14768 if ac_fn_c_try_compile "$LINENO"; then :
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14770 $as_echo "yes" >&6; }
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14772 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14773 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14774 $as_echo_n "(cached) " >&6
14775 else
14776 ac_check_lib_save_LIBS=$LIBS
14777 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14779 /* end confdefs.h. */
14781 /* Override any GCC internal prototype to avoid an error.
14782 Use char because int might match the return type of a GCC
14783 builtin and then its argument prototype would still apply. */
14784 #ifdef __cplusplus
14785 extern "C"
14786 #endif
14787 char gst_pad_new ();
14789 main ()
14791 return gst_pad_new ();
14793 return 0;
14795 _ACEOF
14796 if ac_fn_c_try_link "$LINENO"; then :
14797 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14798 else
14799 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14801 rm -f core conftest.err conftest.$ac_objext \
14802 conftest$ac_exeext conftest.$ac_ext
14803 LIBS=$ac_check_lib_save_LIBS
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14806 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14807 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14811 else
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14813 $as_echo "no" >&6; }
14814 ac_glib2_broken=yes
14815 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14821 CPPFLAGS=$ac_save_CPPFLAGS
14822 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14823 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14826 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 :
14827 case "x$with_gstreamer" in
14828 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14829 xno) ;;
14830 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14831 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14832 esac
14835 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14837 ALSA_LIBS=""
14839 if test "x$with_alsa" != "xno"
14840 then
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14842 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14843 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14844 $as_echo_n "(cached) " >&6
14845 else
14846 ac_check_lib_save_LIBS=$LIBS
14847 LIBS="-lasound $LIBS"
14848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14849 /* end confdefs.h. */
14851 /* Override any GCC internal prototype to avoid an error.
14852 Use char because int might match the return type of a GCC
14853 builtin and then its argument prototype would still apply. */
14854 #ifdef __cplusplus
14855 extern "C"
14856 #endif
14857 char snd_pcm_hw_params_get_access_mask ();
14859 main ()
14861 return snd_pcm_hw_params_get_access_mask ();
14863 return 0;
14865 _ACEOF
14866 if ac_fn_c_try_link "$LINENO"; then :
14867 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14868 else
14869 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14871 rm -f core conftest.err conftest.$ac_objext \
14872 conftest$ac_exeext conftest.$ac_ext
14873 LIBS=$ac_check_lib_save_LIBS
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14876 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14877 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14879 /* end confdefs.h. */
14880 #include <alsa/asoundlib.h>
14882 main ()
14884 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14886 return 0;
14888 _ACEOF
14889 if ac_fn_c_try_compile "$LINENO"; then :
14890 ALSA_LIBS="-lasound"
14892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14896 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14898 if test "x$with_oss" != xno
14899 then
14900 ac_save_CPPFLAGS="$CPPFLAGS"
14901 if test -f /etc/oss.conf
14902 then
14903 . /etc/oss.conf
14905 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14906 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14907 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14908 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14909 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14911 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14913 cat >>confdefs.h <<_ACEOF
14914 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14915 _ACEOF
14917 OSS4_CFLAGS="$ac_oss_incl"
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14920 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14921 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14922 $as_echo_n "(cached) " >&6
14923 else
14924 ac_check_lib_save_LIBS=$LIBS
14925 LIBS="-lossaudio $LIBS"
14926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14927 /* end confdefs.h. */
14929 /* Override any GCC internal prototype to avoid an error.
14930 Use char because int might match the return type of a GCC
14931 builtin and then its argument prototype would still apply. */
14932 #ifdef __cplusplus
14933 extern "C"
14934 #endif
14935 char _oss_ioctl ();
14937 main ()
14939 return _oss_ioctl ();
14941 return 0;
14943 _ACEOF
14944 if ac_fn_c_try_link "$LINENO"; then :
14945 ac_cv_lib_ossaudio__oss_ioctl=yes
14946 else
14947 ac_cv_lib_ossaudio__oss_ioctl=no
14949 rm -f core conftest.err conftest.$ac_objext \
14950 conftest$ac_exeext conftest.$ac_ext
14951 LIBS=$ac_check_lib_save_LIBS
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14954 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14955 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14956 OSS4_LIBS="-lossaudio"
14965 CPPFLAGS="$ac_save_CPPFLAGS"
14967 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14968 case "x$with_oss" in
14969 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14970 xno) ;;
14971 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14972 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14973 esac
14974 enable_wineoss_drv=${enable_wineoss_drv:-no}
14977 if test "x$with_udev" != "xno"
14978 then
14979 if ${UDEV_CFLAGS:+false} :; then :
14980 if ${PKG_CONFIG+:} false; then :
14981 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14985 if ${UDEV_LIBS:+false} :; then :
14986 if ${PKG_CONFIG+:} false; then :
14987 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14991 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14992 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14993 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14994 ac_save_CPPFLAGS=$CPPFLAGS
14995 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14996 for ac_header in libudev.h
14997 do :
14998 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14999 if test "x$ac_cv_header_libudev_h" = xyes; then :
15000 cat >>confdefs.h <<_ACEOF
15001 #define HAVE_LIBUDEV_H 1
15002 _ACEOF
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15004 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15005 if ${ac_cv_lib_udev_udev_new+:} false; then :
15006 $as_echo_n "(cached) " >&6
15007 else
15008 ac_check_lib_save_LIBS=$LIBS
15009 LIBS="-ludev $UDEV_LIBS $LIBS"
15010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15013 /* Override any GCC internal prototype to avoid an error.
15014 Use char because int might match the return type of a GCC
15015 builtin and then its argument prototype would still apply. */
15016 #ifdef __cplusplus
15017 extern "C"
15018 #endif
15019 char udev_new ();
15021 main ()
15023 return udev_new ();
15025 return 0;
15027 _ACEOF
15028 if ac_fn_c_try_link "$LINENO"; then :
15029 ac_cv_lib_udev_udev_new=yes
15030 else
15031 ac_cv_lib_udev_udev_new=no
15033 rm -f core conftest.err conftest.$ac_objext \
15034 conftest$ac_exeext conftest.$ac_ext
15035 LIBS=$ac_check_lib_save_LIBS
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15038 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15039 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15041 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15043 else
15044 UDEV_LIBS=""
15047 else
15048 UDEV_LIBS=""
15051 done
15053 CPPFLAGS=$ac_save_CPPFLAGS
15054 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15055 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15058 if test "x$UDEV_LIBS" = "x"; then :
15059 case "x$with_udev" in
15060 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15061 xno) ;;
15062 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15063 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15064 esac
15068 if test "x$with_unwind" != xno
15069 then
15070 if ${UNWIND_CFLAGS:+false} :; then :
15071 if ${PKG_CONFIG+:} false; then :
15072 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15076 if ${UNWIND_LIBS:+false} :; then :
15077 if ${PKG_CONFIG+:} false; then :
15078 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15082 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15083 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15084 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15085 ac_save_CPPFLAGS=$CPPFLAGS
15086 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15088 $as_echo_n "checking for unw_step... " >&6; }
15089 if ${wine_cv_have_unw_step+:} false; then :
15090 $as_echo_n "(cached) " >&6
15091 else
15092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15093 /* end confdefs.h. */
15094 #define UNW_LOCAL_ONLY
15095 #include <libunwind.h>
15097 main ()
15099 unw_cursor_t cursor; unw_step( &cursor );
15101 return 0;
15103 _ACEOF
15104 if ac_fn_c_try_link "$LINENO"; then :
15105 wine_cv_have_unw_step="yes"
15106 else
15107 wine_cv_have_unw_step="no"
15109 rm -f core conftest.err conftest.$ac_objext \
15110 conftest$ac_exeext conftest.$ac_ext
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15113 $as_echo "$wine_cv_have_unw_step" >&6; }
15114 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15115 then
15116 save_libs=$LIBS
15117 LIBS="$UNWIND_LIBS $LIBS"
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15119 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15120 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15121 $as_echo_n "(cached) " >&6
15122 else
15123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15124 /* end confdefs.h. */
15125 #define UNW_LOCAL_ONLY
15126 #include <libunwind.h>
15128 main ()
15130 unw_cursor_t cursor; unw_step( &cursor );
15132 return 0;
15134 _ACEOF
15135 if ac_fn_c_try_link "$LINENO"; then :
15136 wine_cv_have_libunwind_unw_step="yes"
15137 else
15138 wine_cv_have_libunwind_unw_step="no"
15140 rm -f core conftest.err conftest.$ac_objext \
15141 conftest$ac_exeext conftest.$ac_ext
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15144 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15145 LIBS=$save_libs
15147 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15148 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15149 then
15151 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15154 CPPFLAGS=$ac_save_CPPFLAGS
15155 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15156 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15159 case $host in
15160 aarch64*|*-darwin*)
15161 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15162 case "x$with_unwind" in
15163 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15164 xno) ;;
15165 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15166 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15167 esac
15169 fi ;;
15170 esac
15172 if test "x$with_sdl" != "xno"
15173 then
15174 if ${SDL2_CFLAGS:+false} :; then :
15175 if ${PKG_CONFIG+:} false; then :
15176 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15180 if ${SDL2_LIBS:+false} :; then :
15181 if ${PKG_CONFIG+:} false; then :
15182 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15186 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15187 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15188 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15189 ac_save_CPPFLAGS=$CPPFLAGS
15190 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15191 for ac_header in SDL2/SDL.h
15192 do :
15193 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15194 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15195 cat >>confdefs.h <<_ACEOF
15196 #define HAVE_SDL2_SDL_H 1
15197 _ACEOF
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15199 $as_echo_n "checking for -lSDL2... " >&6; }
15200 if ${ac_cv_lib_soname_SDL2+:} false; then :
15201 $as_echo_n "(cached) " >&6
15202 else
15203 ac_check_soname_save_LIBS=$LIBS
15204 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15206 /* end confdefs.h. */
15208 /* Override any GCC internal prototype to avoid an error.
15209 Use char because int might match the return type of a GCC
15210 builtin and then its argument prototype would still apply. */
15211 #ifdef __cplusplus
15212 extern "C"
15213 #endif
15214 char SDL_Init ();
15216 main ()
15218 return SDL_Init ();
15220 return 0;
15222 _ACEOF
15223 if ac_fn_c_try_link "$LINENO"; then :
15224 case "$LIBEXT" in
15225 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15226 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'` ;;
15227 *) 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'`
15228 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15229 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15230 fi ;;
15231 esac
15232 else
15233 ac_cv_lib_soname_SDL2=
15235 rm -f core conftest.err conftest.$ac_objext \
15236 conftest$ac_exeext conftest.$ac_ext
15237 LIBS=$ac_check_soname_save_LIBS
15239 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15241 $as_echo "not found" >&6; }
15243 else
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15245 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15247 cat >>confdefs.h <<_ACEOF
15248 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15249 _ACEOF
15255 done
15257 CPPFLAGS=$ac_save_CPPFLAGS
15258 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15259 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15262 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15263 case "x$with_sdl" in
15264 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15265 xno) ;;
15266 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15267 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15268 esac
15272 if test "x$with_faudio" != "xno"
15273 then
15274 if ${FAUDIO_CFLAGS:+false} :; then :
15275 if ${PKG_CONFIG+:} false; then :
15276 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15280 if ${FAUDIO_LIBS:+false} :; then :
15281 if ${PKG_CONFIG+:} false; then :
15282 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15286 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15287 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15288 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15289 ac_save_CPPFLAGS=$CPPFLAGS
15290 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15291 for ac_header in FAudio.h
15292 do :
15293 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15294 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15295 cat >>confdefs.h <<_ACEOF
15296 #define HAVE_FAUDIO_H 1
15297 _ACEOF
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15299 $as_echo_n "checking for -lFAudio... " >&6; }
15300 if ${ac_cv_lib_soname_FAudio+:} false; then :
15301 $as_echo_n "(cached) " >&6
15302 else
15303 ac_check_soname_save_LIBS=$LIBS
15304 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h. */
15308 /* Override any GCC internal prototype to avoid an error.
15309 Use char because int might match the return type of a GCC
15310 builtin and then its argument prototype would still apply. */
15311 #ifdef __cplusplus
15312 extern "C"
15313 #endif
15314 char FAudioCreate ();
15316 main ()
15318 return FAudioCreate ();
15320 return 0;
15322 _ACEOF
15323 if ac_fn_c_try_link "$LINENO"; then :
15324 case "$LIBEXT" in
15325 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15326 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'` ;;
15327 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15328 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15329 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15330 fi ;;
15331 esac
15332 else
15333 ac_cv_lib_soname_FAudio=
15335 rm -f core conftest.err conftest.$ac_objext \
15336 conftest$ac_exeext conftest.$ac_ext
15337 LIBS=$ac_check_soname_save_LIBS
15339 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15341 $as_echo "not found" >&6; }
15343 else
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15345 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15347 cat >>confdefs.h <<_ACEOF
15348 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15349 _ACEOF
15355 done
15357 ac_wine_check_funcs_save_LIBS="$LIBS"
15358 LIBS="$LIBS $FAUDIO_LIBS"
15359 for ac_func in FAudio_CommitOperationSet \
15360 F3DAudioInitialize8 \
15361 FAudioLinkedVersion \
15362 FAudioCreateReverb9WithCustomAllocatorEXT
15363 do :
15364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15366 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15367 cat >>confdefs.h <<_ACEOF
15368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15369 _ACEOF
15372 done
15374 LIBS="$ac_wine_check_funcs_save_LIBS"
15376 CPPFLAGS=$ac_save_CPPFLAGS
15377 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15378 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15381 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15382 case "x$with_faudio" in
15383 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15384 xno) ;;
15385 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15386 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15387 esac
15391 if test "x$with_capi" != "xno"
15392 then
15393 if ${CAPI20_CFLAGS:+false} :; then :
15394 if ${PKG_CONFIG+:} false; then :
15395 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15399 if ${CAPI20_LIBS:+false} :; then :
15400 if ${PKG_CONFIG+:} false; then :
15401 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15406 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15407 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15408 ac_save_CPPFLAGS=$CPPFLAGS
15409 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15410 for ac_header in capi20.h linux/capi.h
15411 do :
15412 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15413 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15415 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15416 cat >>confdefs.h <<_ACEOF
15417 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15418 _ACEOF
15422 done
15424 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15425 then
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15427 $as_echo_n "checking for -lcapi20... " >&6; }
15428 if ${ac_cv_lib_soname_capi20+:} false; then :
15429 $as_echo_n "(cached) " >&6
15430 else
15431 ac_check_soname_save_LIBS=$LIBS
15432 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15434 /* end confdefs.h. */
15436 /* Override any GCC internal prototype to avoid an error.
15437 Use char because int might match the return type of a GCC
15438 builtin and then its argument prototype would still apply. */
15439 #ifdef __cplusplus
15440 extern "C"
15441 #endif
15442 char capi20_register ();
15444 main ()
15446 return capi20_register ();
15448 return 0;
15450 _ACEOF
15451 if ac_fn_c_try_link "$LINENO"; then :
15452 case "$LIBEXT" in
15453 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15454 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'` ;;
15455 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15456 if ${ac_cv_lib_soname_capi20:+false} :; then :
15457 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15458 fi ;;
15459 esac
15460 else
15461 ac_cv_lib_soname_capi20=
15463 rm -f core conftest.err conftest.$ac_objext \
15464 conftest$ac_exeext conftest.$ac_ext
15465 LIBS=$ac_check_soname_save_LIBS
15467 if ${ac_cv_lib_soname_capi20:+false} :; then :
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15469 $as_echo "not found" >&6; }
15471 else
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15473 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15475 cat >>confdefs.h <<_ACEOF
15476 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15477 _ACEOF
15482 CPPFLAGS=$ac_save_CPPFLAGS
15483 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15484 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15487 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15488 case "x$with_capi" in
15489 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15490 xno) ;;
15491 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15492 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15493 esac
15497 if test "x$with_cups" != "xno"
15498 then
15499 if ${CUPS_CFLAGS:+false} :; then :
15500 if ${PKG_CONFIG+:} false; then :
15501 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15504 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15505 if ${CUPS_LIBS:+false} :; then :
15506 if ${PKG_CONFIG+:} false; then :
15507 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15510 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15511 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15512 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15513 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15514 ac_save_CPPFLAGS=$CPPFLAGS
15515 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15516 for ac_header in cups/cups.h cups/ppd.h
15517 do :
15518 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15519 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15520 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15521 cat >>confdefs.h <<_ACEOF
15522 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15523 _ACEOF
15527 done
15529 if test "$ac_cv_header_cups_cups_h" = "yes"
15530 then
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15532 $as_echo_n "checking for -lcups... " >&6; }
15533 if ${ac_cv_lib_soname_cups+:} false; then :
15534 $as_echo_n "(cached) " >&6
15535 else
15536 ac_check_soname_save_LIBS=$LIBS
15537 LIBS="-lcups $CUPS_LIBS $LIBS"
15538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15539 /* end confdefs.h. */
15541 /* Override any GCC internal prototype to avoid an error.
15542 Use char because int might match the return type of a GCC
15543 builtin and then its argument prototype would still apply. */
15544 #ifdef __cplusplus
15545 extern "C"
15546 #endif
15547 char cupsGetDefault ();
15549 main ()
15551 return cupsGetDefault ();
15553 return 0;
15555 _ACEOF
15556 if ac_fn_c_try_link "$LINENO"; then :
15557 case "$LIBEXT" in
15558 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15559 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'` ;;
15560 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15561 if ${ac_cv_lib_soname_cups:+false} :; then :
15562 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15563 fi ;;
15564 esac
15565 else
15566 ac_cv_lib_soname_cups=
15568 rm -f core conftest.err conftest.$ac_objext \
15569 conftest$ac_exeext conftest.$ac_ext
15570 LIBS=$ac_check_soname_save_LIBS
15572 if ${ac_cv_lib_soname_cups:+false} :; then :
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15574 $as_echo "not found" >&6; }
15575 CUPS_LIBS=""
15576 else
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15578 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15580 cat >>confdefs.h <<_ACEOF
15581 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15582 _ACEOF
15586 else
15587 CUPS_CFLAGS=""
15588 CUPS_LIBS=""
15590 CPPFLAGS=$ac_save_CPPFLAGS
15591 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15592 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15595 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15596 case "x$with_cups" in
15597 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15598 xno) ;;
15599 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15600 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15601 esac
15605 if test "x$with_fontconfig" != "xno"
15606 then
15607 if ${FONTCONFIG_CFLAGS:+false} :; then :
15608 if ${PKG_CONFIG+:} false; then :
15609 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15612 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15613 if ${FONTCONFIG_LIBS:+false} :; then :
15614 if ${PKG_CONFIG+:} false; then :
15615 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15618 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15620 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15621 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15622 ac_save_CPPFLAGS=$CPPFLAGS
15623 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15624 for ac_header in fontconfig/fontconfig.h
15625 do :
15626 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15627 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15628 cat >>confdefs.h <<_ACEOF
15629 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15630 _ACEOF
15634 done
15636 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15637 then
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15639 $as_echo_n "checking for -lfontconfig... " >&6; }
15640 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15641 $as_echo_n "(cached) " >&6
15642 else
15643 ac_check_soname_save_LIBS=$LIBS
15644 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15646 /* end confdefs.h. */
15648 /* Override any GCC internal prototype to avoid an error.
15649 Use char because int might match the return type of a GCC
15650 builtin and then its argument prototype would still apply. */
15651 #ifdef __cplusplus
15652 extern "C"
15653 #endif
15654 char FcInit ();
15656 main ()
15658 return FcInit ();
15660 return 0;
15662 _ACEOF
15663 if ac_fn_c_try_link "$LINENO"; then :
15664 case "$LIBEXT" in
15665 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15666 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'` ;;
15667 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15668 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15669 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15670 fi ;;
15671 esac
15672 else
15673 ac_cv_lib_soname_fontconfig=
15675 rm -f core conftest.err conftest.$ac_objext \
15676 conftest$ac_exeext conftest.$ac_ext
15677 LIBS=$ac_check_soname_save_LIBS
15679 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15681 $as_echo "not found" >&6; }
15682 FONTCONFIG_CFLAGS=""
15683 else
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15685 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15687 cat >>confdefs.h <<_ACEOF
15688 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15689 _ACEOF
15693 else
15694 FONTCONFIG_CFLAGS=""
15696 CPPFLAGS=$ac_save_CPPFLAGS
15697 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15698 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15701 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15702 case "x$with_fontconfig" in
15703 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15704 xno) ;;
15705 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15706 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15707 esac
15711 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15712 then
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15714 $as_echo_n "checking for -lgsm... " >&6; }
15715 if ${ac_cv_lib_soname_gsm+:} false; then :
15716 $as_echo_n "(cached) " >&6
15717 else
15718 ac_check_soname_save_LIBS=$LIBS
15719 LIBS="-lgsm $LIBS"
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15723 /* Override any GCC internal prototype to avoid an error.
15724 Use char because int might match the return type of a GCC
15725 builtin and then its argument prototype would still apply. */
15726 #ifdef __cplusplus
15727 extern "C"
15728 #endif
15729 char gsm_create ();
15731 main ()
15733 return gsm_create ();
15735 return 0;
15737 _ACEOF
15738 if ac_fn_c_try_link "$LINENO"; then :
15739 case "$LIBEXT" in
15740 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15741 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'` ;;
15742 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15743 if ${ac_cv_lib_soname_gsm:+false} :; then :
15744 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15745 fi ;;
15746 esac
15747 else
15748 ac_cv_lib_soname_gsm=
15750 rm -f core conftest.err conftest.$ac_objext \
15751 conftest$ac_exeext conftest.$ac_ext
15752 LIBS=$ac_check_soname_save_LIBS
15754 if ${ac_cv_lib_soname_gsm:+false} :; then :
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15756 $as_echo "not found" >&6; }
15758 else
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15760 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15762 cat >>confdefs.h <<_ACEOF
15763 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15764 _ACEOF
15769 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15770 case "x$with_gsm" in
15771 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15772 xno) ;;
15773 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15774 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15775 esac
15779 if test "x$with_krb5" != "xno"
15780 then
15781 if ${KRB5_CFLAGS:+false} :; then :
15782 if ${PKG_CONFIG+:} false; then :
15783 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15786 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15787 if ${KRB5_LIBS:+false} :; then :
15788 if ${PKG_CONFIG+:} false; then :
15789 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15792 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15794 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15795 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15796 ac_save_CPPFLAGS=$CPPFLAGS
15797 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15798 for ac_header in krb5/krb5.h
15799 do :
15800 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15801 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15802 cat >>confdefs.h <<_ACEOF
15803 #define HAVE_KRB5_KRB5_H 1
15804 _ACEOF
15808 done
15810 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15811 then
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15813 $as_echo_n "checking for -lkrb5... " >&6; }
15814 if ${ac_cv_lib_soname_krb5+:} false; then :
15815 $as_echo_n "(cached) " >&6
15816 else
15817 ac_check_soname_save_LIBS=$LIBS
15818 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15822 /* Override any GCC internal prototype to avoid an error.
15823 Use char because int might match the return type of a GCC
15824 builtin and then its argument prototype would still apply. */
15825 #ifdef __cplusplus
15826 extern "C"
15827 #endif
15828 char krb5_is_config_principal ();
15830 main ()
15832 return krb5_is_config_principal ();
15834 return 0;
15836 _ACEOF
15837 if ac_fn_c_try_link "$LINENO"; then :
15838 case "$LIBEXT" in
15839 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15840 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'` ;;
15841 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15842 if ${ac_cv_lib_soname_krb5:+false} :; then :
15843 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15844 fi ;;
15845 esac
15846 else
15847 ac_cv_lib_soname_krb5=
15849 rm -f core conftest.err conftest.$ac_objext \
15850 conftest$ac_exeext conftest.$ac_ext
15851 LIBS=$ac_check_soname_save_LIBS
15853 if ${ac_cv_lib_soname_krb5:+false} :; then :
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15855 $as_echo "not found" >&6; }
15856 KRB5_CFLAGS=""
15857 else
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15859 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15861 cat >>confdefs.h <<_ACEOF
15862 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15863 _ACEOF
15867 else
15868 KRB5_CFLAGS=""
15870 CPPFLAGS=$ac_save_CPPFLAGS
15871 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15872 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15875 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15876 case "x$with_krb5" in
15877 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15878 xno) ;;
15879 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15880 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15881 esac
15884 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15886 if test "x$with_gssapi" != "xno"
15887 then
15888 if ${GSSAPI_CFLAGS:+false} :; then :
15889 if ${PKG_CONFIG+:} false; then :
15890 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15893 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15894 if ${GSSAPI_LIBS:+false} :; then :
15895 if ${PKG_CONFIG+:} false; then :
15896 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15899 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15901 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15902 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15903 ac_save_CPPFLAGS=$CPPFLAGS
15904 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15905 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15906 do :
15907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15908 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15909 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15910 cat >>confdefs.h <<_ACEOF
15911 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15912 _ACEOF
15916 done
15918 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15919 then
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15921 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15922 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15923 $as_echo_n "(cached) " >&6
15924 else
15925 ac_check_soname_save_LIBS=$LIBS
15926 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */
15930 /* Override any GCC internal prototype to avoid an error.
15931 Use char because int might match the return type of a GCC
15932 builtin and then its argument prototype would still apply. */
15933 #ifdef __cplusplus
15934 extern "C"
15935 #endif
15936 char gss_init_sec_context ();
15938 main ()
15940 return gss_init_sec_context ();
15942 return 0;
15944 _ACEOF
15945 if ac_fn_c_try_link "$LINENO"; then :
15946 case "$LIBEXT" in
15947 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15948 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'` ;;
15949 *) 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'`
15950 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15951 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15952 fi ;;
15953 esac
15954 else
15955 ac_cv_lib_soname_gssapi_krb5=
15957 rm -f core conftest.err conftest.$ac_objext \
15958 conftest$ac_exeext conftest.$ac_ext
15959 LIBS=$ac_check_soname_save_LIBS
15961 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15963 $as_echo "not found" >&6; }
15964 GSSAPI_CFLAGS=""
15965 else
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15967 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15969 cat >>confdefs.h <<_ACEOF
15970 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15971 _ACEOF
15975 else
15976 GSSAPI_CFLAGS=""
15978 CPPFLAGS=$ac_save_CPPFLAGS
15979 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15980 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15983 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15984 case "x$with_gssapi" in
15985 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15986 xno) ;;
15987 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15988 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15989 esac
15993 if test "x$with_jpeg" != "xno"
15994 then
15995 if ${JPEG_CFLAGS:+false} :; then :
15996 if ${PKG_CONFIG+:} false; then :
15997 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16001 if ${JPEG_LIBS:+false} :; then :
16002 if ${PKG_CONFIG+:} false; then :
16003 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16008 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16009 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16010 ac_save_CPPFLAGS=$CPPFLAGS
16011 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16012 for ac_header in jpeglib.h
16013 do :
16014 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16015 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16016 cat >>confdefs.h <<_ACEOF
16017 #define HAVE_JPEGLIB_H 1
16018 _ACEOF
16022 done
16024 if test "$ac_cv_header_jpeglib_h" = "yes"
16025 then
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16027 $as_echo_n "checking for -ljpeg... " >&6; }
16028 if ${ac_cv_lib_soname_jpeg+:} false; then :
16029 $as_echo_n "(cached) " >&6
16030 else
16031 ac_check_soname_save_LIBS=$LIBS
16032 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16034 /* end confdefs.h. */
16036 /* Override any GCC internal prototype to avoid an error.
16037 Use char because int might match the return type of a GCC
16038 builtin and then its argument prototype would still apply. */
16039 #ifdef __cplusplus
16040 extern "C"
16041 #endif
16042 char jpeg_start_decompress ();
16044 main ()
16046 return jpeg_start_decompress ();
16048 return 0;
16050 _ACEOF
16051 if ac_fn_c_try_link "$LINENO"; then :
16052 case "$LIBEXT" in
16053 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16054 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'` ;;
16055 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16056 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16057 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16058 fi ;;
16059 esac
16060 else
16061 ac_cv_lib_soname_jpeg=
16063 rm -f core conftest.err conftest.$ac_objext \
16064 conftest$ac_exeext conftest.$ac_ext
16065 LIBS=$ac_check_soname_save_LIBS
16067 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16069 $as_echo "not found" >&6; }
16070 JPEG_CFLAGS=""
16071 else
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16073 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16075 cat >>confdefs.h <<_ACEOF
16076 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16077 _ACEOF
16081 else
16082 JPEG_CFLAGS=""
16084 CPPFLAGS=$ac_save_CPPFLAGS
16085 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16086 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16089 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16090 case "x$with_jpeg" in
16091 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16092 xno) ;;
16093 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16094 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16095 esac
16099 if test "x$with_png" != "xno"
16100 then
16101 if ${PNG_CFLAGS:+false} :; then :
16102 if ${PKG_CONFIG+:} false; then :
16103 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16106 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16107 if ${PNG_LIBS:+false} :; then :
16108 if ${PKG_CONFIG+:} false; then :
16109 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16112 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16114 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16115 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16116 ac_save_CPPFLAGS=$CPPFLAGS
16117 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16118 for ac_header in png.h
16119 do :
16120 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16121 if test "x$ac_cv_header_png_h" = xyes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_PNG_H 1
16124 _ACEOF
16128 done
16130 if test "$ac_cv_header_png_h" = "yes"
16131 then
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16133 $as_echo_n "checking for -lpng... " >&6; }
16134 if ${ac_cv_lib_soname_png+:} false; then :
16135 $as_echo_n "(cached) " >&6
16136 else
16137 ac_check_soname_save_LIBS=$LIBS
16138 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16140 /* end confdefs.h. */
16142 /* Override any GCC internal prototype to avoid an error.
16143 Use char because int might match the return type of a GCC
16144 builtin and then its argument prototype would still apply. */
16145 #ifdef __cplusplus
16146 extern "C"
16147 #endif
16148 char png_create_read_struct ();
16150 main ()
16152 return png_create_read_struct ();
16154 return 0;
16156 _ACEOF
16157 if ac_fn_c_try_link "$LINENO"; then :
16158 case "$LIBEXT" in
16159 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16160 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'` ;;
16161 *) 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'`
16162 if ${ac_cv_lib_soname_png:+false} :; then :
16163 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16164 fi ;;
16165 esac
16166 else
16167 ac_cv_lib_soname_png=
16169 rm -f core conftest.err conftest.$ac_objext \
16170 conftest$ac_exeext conftest.$ac_ext
16171 LIBS=$ac_check_soname_save_LIBS
16173 if ${ac_cv_lib_soname_png:+false} :; then :
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16175 $as_echo "not found" >&6; }
16176 PNG_CFLAGS=""
16177 else
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16179 $as_echo "$ac_cv_lib_soname_png" >&6; }
16181 cat >>confdefs.h <<_ACEOF
16182 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16183 _ACEOF
16187 else
16188 PNG_CFLAGS=""
16190 CPPFLAGS=$ac_save_CPPFLAGS
16191 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16192 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16195 if test "x$ac_cv_lib_soname_png" = "x"; then :
16196 case "x$with_png" in
16197 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16198 xno) ;;
16199 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16200 This is an error since --with-png was requested." "$LINENO" 5 ;;
16201 esac
16205 if test "x$with_tiff" != "xno"
16206 then
16207 if ${TIFF_CFLAGS:+false} :; then :
16208 if ${PKG_CONFIG+:} false; then :
16209 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16213 if ${TIFF_LIBS:+false} :; then :
16214 if ${PKG_CONFIG+:} false; then :
16215 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16220 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16221 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16222 ac_save_CPPFLAGS=$CPPFLAGS
16223 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16224 for ac_header in tiffio.h
16225 do :
16226 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16227 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16228 cat >>confdefs.h <<_ACEOF
16229 #define HAVE_TIFFIO_H 1
16230 _ACEOF
16234 done
16236 if test "$ac_cv_header_tiffio_h" = "yes"
16237 then
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16239 $as_echo_n "checking for -ltiff... " >&6; }
16240 if ${ac_cv_lib_soname_tiff+:} false; then :
16241 $as_echo_n "(cached) " >&6
16242 else
16243 ac_check_soname_save_LIBS=$LIBS
16244 LIBS="-ltiff $TIFF_LIBS $LIBS"
16245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16246 /* end confdefs.h. */
16248 /* Override any GCC internal prototype to avoid an error.
16249 Use char because int might match the return type of a GCC
16250 builtin and then its argument prototype would still apply. */
16251 #ifdef __cplusplus
16252 extern "C"
16253 #endif
16254 char TIFFClientOpen ();
16256 main ()
16258 return TIFFClientOpen ();
16260 return 0;
16262 _ACEOF
16263 if ac_fn_c_try_link "$LINENO"; then :
16264 case "$LIBEXT" in
16265 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16266 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'` ;;
16267 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16268 if ${ac_cv_lib_soname_tiff:+false} :; then :
16269 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16270 fi ;;
16271 esac
16272 else
16273 ac_cv_lib_soname_tiff=
16275 rm -f core conftest.err conftest.$ac_objext \
16276 conftest$ac_exeext conftest.$ac_ext
16277 LIBS=$ac_check_soname_save_LIBS
16279 if ${ac_cv_lib_soname_tiff:+false} :; then :
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16281 $as_echo "not found" >&6; }
16283 else
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16285 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16287 cat >>confdefs.h <<_ACEOF
16288 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16289 _ACEOF
16294 CPPFLAGS=$ac_save_CPPFLAGS
16295 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16296 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16299 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16300 case "x$with_tiff" in
16301 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16302 xno) ;;
16303 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16304 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16305 esac
16309 if test "x$with_mpg123" != "xno"
16310 then
16311 if ${MPG123_CFLAGS:+false} :; then :
16312 if ${PKG_CONFIG+:} false; then :
16313 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16317 if ${MPG123_LIBS:+false} :; then :
16318 if ${PKG_CONFIG+:} false; then :
16319 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16323 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16324 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16325 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16326 ac_save_CPPFLAGS=$CPPFLAGS
16327 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16328 for ac_header in mpg123.h
16329 do :
16330 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16331 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16332 cat >>confdefs.h <<_ACEOF
16333 #define HAVE_MPG123_H 1
16334 _ACEOF
16338 done
16340 if test "$ac_cv_header_mpg123_h" = "yes"
16341 then
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16343 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16344 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16345 $as_echo_n "(cached) " >&6
16346 else
16347 ac_check_lib_save_LIBS=$LIBS
16348 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16350 /* end confdefs.h. */
16352 /* Override any GCC internal prototype to avoid an error.
16353 Use char because int might match the return type of a GCC
16354 builtin and then its argument prototype would still apply. */
16355 #ifdef __cplusplus
16356 extern "C"
16357 #endif
16358 char mpg123_feed ();
16360 main ()
16362 return mpg123_feed ();
16364 return 0;
16366 _ACEOF
16367 if ac_fn_c_try_link "$LINENO"; then :
16368 ac_cv_lib_mpg123_mpg123_feed=yes
16369 else
16370 ac_cv_lib_mpg123_mpg123_feed=no
16372 rm -f core conftest.err conftest.$ac_objext \
16373 conftest$ac_exeext conftest.$ac_ext
16374 LIBS=$ac_check_lib_save_LIBS
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16377 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16378 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16380 else
16381 MPG123_LIBS=""
16384 else
16385 MPG123_CFLAGS=""
16386 MPG123_LIBS=""
16388 CPPFLAGS=$ac_save_CPPFLAGS
16389 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16390 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16393 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16394 case "x$with_mpg123" in
16395 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16396 xno) ;;
16397 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16398 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16399 esac
16400 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16402 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16404 if test "$ac_cv_header_AL_al_h" = "yes"
16405 then
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16407 $as_echo_n "checking for -lopenal... " >&6; }
16408 if ${ac_cv_lib_soname_openal+:} false; then :
16409 $as_echo_n "(cached) " >&6
16410 else
16411 ac_check_soname_save_LIBS=$LIBS
16412 LIBS="-lopenal $LIBS"
16413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16414 /* end confdefs.h. */
16416 /* Override any GCC internal prototype to avoid an error.
16417 Use char because int might match the return type of a GCC
16418 builtin and then its argument prototype would still apply. */
16419 #ifdef __cplusplus
16420 extern "C"
16421 #endif
16422 char alGetSource3i ();
16424 main ()
16426 return alGetSource3i ();
16428 return 0;
16430 _ACEOF
16431 if ac_fn_c_try_link "$LINENO"; then :
16432 case "$LIBEXT" in
16433 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16434 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'` ;;
16435 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16436 if ${ac_cv_lib_soname_openal:+false} :; then :
16437 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16438 fi ;;
16439 esac
16440 else
16441 ac_cv_lib_soname_openal=
16443 rm -f core conftest.err conftest.$ac_objext \
16444 conftest$ac_exeext conftest.$ac_ext
16445 LIBS=$ac_check_soname_save_LIBS
16447 if ${ac_cv_lib_soname_openal:+false} :; then :
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16449 $as_echo "not found" >&6; }
16451 else
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16453 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16455 cat >>confdefs.h <<_ACEOF
16456 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16457 _ACEOF
16459 OPENAL_LIBS="-lopenal"
16461 ac_cv_lib_openal=yes
16463 cat >>confdefs.h <<_ACEOF
16464 #define HAVE_OPENAL 1
16465 _ACEOF
16469 if test "x$ac_cv_lib_openal" != xyes; then :
16470 case "x$with_openal" in
16471 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16472 xno) ;;
16473 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16474 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16475 esac
16476 enable_openal32=${enable_openal32:-no}
16479 if test "x$ac_cv_lib_soname_FAudio" = "x"
16480 then
16481 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16482 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16483 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16484 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16485 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16486 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16487 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16488 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16489 enable_xactengine3_0=${enable_xactengine3_0:-no}
16490 enable_xactengine3_1=${enable_xactengine3_1:-no}
16491 enable_xactengine3_2=${enable_xactengine3_2:-no}
16492 enable_xactengine3_3=${enable_xactengine3_3:-no}
16493 enable_xactengine3_4=${enable_xactengine3_4:-no}
16494 enable_xactengine3_5=${enable_xactengine3_5:-no}
16495 enable_xactengine3_6=${enable_xactengine3_6:-no}
16496 enable_xactengine3_7=${enable_xactengine3_7:-no}
16497 enable_xapofx1_1=${enable_xapofx1_1:-no}
16498 enable_xapofx1_2=${enable_xapofx1_2:-no}
16499 enable_xapofx1_3=${enable_xapofx1_3:-no}
16500 enable_xapofx1_4=${enable_xapofx1_4:-no}
16501 enable_xapofx1_5=${enable_xapofx1_5:-no}
16502 enable_xaudio2_0=${enable_xaudio2_0:-no}
16503 enable_xaudio2_1=${enable_xaudio2_1:-no}
16504 enable_xaudio2_2=${enable_xaudio2_2:-no}
16505 enable_xaudio2_3=${enable_xaudio2_3:-no}
16506 enable_xaudio2_4=${enable_xaudio2_4:-no}
16507 enable_xaudio2_5=${enable_xaudio2_5:-no}
16508 enable_xaudio2_6=${enable_xaudio2_6:-no}
16509 enable_xaudio2_7=${enable_xaudio2_7:-no}
16510 enable_xaudio2_8=${enable_xaudio2_8:-no}
16511 enable_xaudio2_9=${enable_xaudio2_9:-no}
16514 if test "$ac_cv_header_kstat_h" = "yes"
16515 then
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16517 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16518 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16519 $as_echo_n "(cached) " >&6
16520 else
16521 ac_check_lib_save_LIBS=$LIBS
16522 LIBS="-lkstat $LIBS"
16523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16524 /* end confdefs.h. */
16526 /* Override any GCC internal prototype to avoid an error.
16527 Use char because int might match the return type of a GCC
16528 builtin and then its argument prototype would still apply. */
16529 #ifdef __cplusplus
16530 extern "C"
16531 #endif
16532 char kstat_open ();
16534 main ()
16536 return kstat_open ();
16538 return 0;
16540 _ACEOF
16541 if ac_fn_c_try_link "$LINENO"; then :
16542 ac_cv_lib_kstat_kstat_open=yes
16543 else
16544 ac_cv_lib_kstat_kstat_open=no
16546 rm -f core conftest.err conftest.$ac_objext \
16547 conftest$ac_exeext conftest.$ac_ext
16548 LIBS=$ac_check_lib_save_LIBS
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16551 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16552 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16554 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16556 KSTAT_LIBS="-lkstat"
16562 if test "$ac_cv_header_libprocstat_h" = "yes"
16563 then
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16565 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16566 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16567 $as_echo_n "(cached) " >&6
16568 else
16569 ac_check_lib_save_LIBS=$LIBS
16570 LIBS="-lprocstat $LIBS"
16571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16574 /* Override any GCC internal prototype to avoid an error.
16575 Use char because int might match the return type of a GCC
16576 builtin and then its argument prototype would still apply. */
16577 #ifdef __cplusplus
16578 extern "C"
16579 #endif
16580 char procstat_open_sysctl ();
16582 main ()
16584 return procstat_open_sysctl ();
16586 return 0;
16588 _ACEOF
16589 if ac_fn_c_try_link "$LINENO"; then :
16590 ac_cv_lib_procstat_procstat_open_sysctl=yes
16591 else
16592 ac_cv_lib_procstat_procstat_open_sysctl=no
16594 rm -f core conftest.err conftest.$ac_objext \
16595 conftest$ac_exeext conftest.$ac_ext
16596 LIBS=$ac_check_lib_save_LIBS
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16599 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16600 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16602 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16604 PROCSTAT_LIBS="-lprocstat"
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16611 $as_echo_n "checking for -lodbc... " >&6; }
16612 if ${ac_cv_lib_soname_odbc+:} false; then :
16613 $as_echo_n "(cached) " >&6
16614 else
16615 ac_check_soname_save_LIBS=$LIBS
16616 LIBS="-lodbc $LIBS"
16617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16618 /* end confdefs.h. */
16620 /* Override any GCC internal prototype to avoid an error.
16621 Use char because int might match the return type of a GCC
16622 builtin and then its argument prototype would still apply. */
16623 #ifdef __cplusplus
16624 extern "C"
16625 #endif
16626 char SQLConnect ();
16628 main ()
16630 return SQLConnect ();
16632 return 0;
16634 _ACEOF
16635 if ac_fn_c_try_link "$LINENO"; then :
16636 case "$LIBEXT" in
16637 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16638 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'` ;;
16639 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16640 if ${ac_cv_lib_soname_odbc:+false} :; then :
16641 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16642 fi ;;
16643 esac
16644 else
16645 ac_cv_lib_soname_odbc=
16647 rm -f core conftest.err conftest.$ac_objext \
16648 conftest$ac_exeext conftest.$ac_ext
16649 LIBS=$ac_check_soname_save_LIBS
16651 if ${ac_cv_lib_soname_odbc:+false} :; then :
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16653 $as_echo "not found" >&6; }
16654 cat >>confdefs.h <<_ACEOF
16655 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16656 _ACEOF
16658 else
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16660 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16662 cat >>confdefs.h <<_ACEOF
16663 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16664 _ACEOF
16669 if test "x$with_netapi" != "xno"
16670 then
16671 if ${NETAPI_CFLAGS:+false} :; then :
16672 if ${PKG_CONFIG+:} false; then :
16673 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16677 if ${NETAPI_LIBS:+false} :; then :
16678 if ${PKG_CONFIG+:} false; then :
16679 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16684 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16685 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16686 ac_save_CPPFLAGS=$CPPFLAGS
16687 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16689 $as_echo_n "checking for -lnetapi... " >&6; }
16690 if ${ac_cv_lib_soname_netapi+:} false; then :
16691 $as_echo_n "(cached) " >&6
16692 else
16693 ac_check_soname_save_LIBS=$LIBS
16694 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16696 /* end confdefs.h. */
16698 /* Override any GCC internal prototype to avoid an error.
16699 Use char because int might match the return type of a GCC
16700 builtin and then its argument prototype would still apply. */
16701 #ifdef __cplusplus
16702 extern "C"
16703 #endif
16704 char libnetapi_init ();
16706 main ()
16708 return libnetapi_init ();
16710 return 0;
16712 _ACEOF
16713 if ac_fn_c_try_link "$LINENO"; then :
16714 case "$LIBEXT" in
16715 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16716 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'` ;;
16717 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16718 if ${ac_cv_lib_soname_netapi:+false} :; then :
16719 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16720 fi ;;
16721 esac
16722 else
16723 ac_cv_lib_soname_netapi=
16725 rm -f core conftest.err conftest.$ac_objext \
16726 conftest$ac_exeext conftest.$ac_ext
16727 LIBS=$ac_check_soname_save_LIBS
16729 if ${ac_cv_lib_soname_netapi:+false} :; then :
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16731 $as_echo "not found" >&6; }
16732 cat >>confdefs.h <<_ACEOF
16733 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16734 _ACEOF
16736 else
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16738 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16740 cat >>confdefs.h <<_ACEOF
16741 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16742 _ACEOF
16746 CPPFLAGS=$ac_save_CPPFLAGS
16747 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16748 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16752 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16753 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16754 then
16755 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16758 if test "x$with_vulkan" != "xno"
16759 then
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16761 $as_echo_n "checking for -lvulkan... " >&6; }
16762 if ${ac_cv_lib_soname_vulkan+:} false; then :
16763 $as_echo_n "(cached) " >&6
16764 else
16765 ac_check_soname_save_LIBS=$LIBS
16766 LIBS="-lvulkan $LIBS"
16767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16768 /* end confdefs.h. */
16770 /* Override any GCC internal prototype to avoid an error.
16771 Use char because int might match the return type of a GCC
16772 builtin and then its argument prototype would still apply. */
16773 #ifdef __cplusplus
16774 extern "C"
16775 #endif
16776 char vkGetInstanceProcAddr ();
16778 main ()
16780 return vkGetInstanceProcAddr ();
16782 return 0;
16784 _ACEOF
16785 if ac_fn_c_try_link "$LINENO"; then :
16786 case "$LIBEXT" in
16787 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16788 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'` ;;
16789 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16790 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16791 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16792 fi ;;
16793 esac
16794 else
16795 ac_cv_lib_soname_vulkan=
16797 rm -f core conftest.err conftest.$ac_objext \
16798 conftest$ac_exeext conftest.$ac_ext
16799 LIBS=$ac_check_soname_save_LIBS
16801 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16803 $as_echo "not found" >&6; }
16805 else
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16807 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16809 cat >>confdefs.h <<_ACEOF
16810 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16811 _ACEOF
16815 if test "x$ac_cv_lib_soname_vulkan" = "x"
16816 then
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16818 $as_echo_n "checking for -lMoltenVK... " >&6; }
16819 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16820 $as_echo_n "(cached) " >&6
16821 else
16822 ac_check_soname_save_LIBS=$LIBS
16823 LIBS="-lMoltenVK $LIBS"
16824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16825 /* end confdefs.h. */
16827 /* Override any GCC internal prototype to avoid an error.
16828 Use char because int might match the return type of a GCC
16829 builtin and then its argument prototype would still apply. */
16830 #ifdef __cplusplus
16831 extern "C"
16832 #endif
16833 char vkGetInstanceProcAddr ();
16835 main ()
16837 return vkGetInstanceProcAddr ();
16839 return 0;
16841 _ACEOF
16842 if ac_fn_c_try_link "$LINENO"; then :
16843 case "$LIBEXT" in
16844 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16845 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'` ;;
16846 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16847 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16848 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16849 fi ;;
16850 esac
16851 else
16852 ac_cv_lib_soname_MoltenVK=
16854 rm -f core conftest.err conftest.$ac_objext \
16855 conftest$ac_exeext conftest.$ac_ext
16856 LIBS=$ac_check_soname_save_LIBS
16858 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16860 $as_echo "not found" >&6; }
16862 else
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16864 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16866 cat >>confdefs.h <<_ACEOF
16867 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16868 _ACEOF
16874 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16875 case "x$with_vulkan" in
16876 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16877 xno) ;;
16878 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16879 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16880 esac
16884 if test "x$with_vkd3d" != "xno"
16885 then
16886 if ${VKD3D_CFLAGS:+false} :; then :
16887 if ${PKG_CONFIG+:} false; then :
16888 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16892 if ${VKD3D_LIBS:+false} :; then :
16893 if ${PKG_CONFIG+:} false; then :
16894 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16899 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16900 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16901 ac_save_CPPFLAGS=$CPPFLAGS
16902 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16904 $as_echo_n "checking for -lvkd3d... " >&6; }
16905 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16906 $as_echo_n "(cached) " >&6
16907 else
16908 ac_check_soname_save_LIBS=$LIBS
16909 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16911 /* end confdefs.h. */
16913 /* Override any GCC internal prototype to avoid an error.
16914 Use char because int might match the return type of a GCC
16915 builtin and then its argument prototype would still apply. */
16916 #ifdef __cplusplus
16917 extern "C"
16918 #endif
16919 char vkd3d_get_dxgi_format ();
16921 main ()
16923 return vkd3d_get_dxgi_format ();
16925 return 0;
16927 _ACEOF
16928 if ac_fn_c_try_link "$LINENO"; then :
16929 case "$LIBEXT" in
16930 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16931 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'` ;;
16932 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16933 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16934 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16935 fi ;;
16936 esac
16937 else
16938 ac_cv_lib_soname_vkd3d=
16940 rm -f core conftest.err conftest.$ac_objext \
16941 conftest$ac_exeext conftest.$ac_ext
16942 LIBS=$ac_check_soname_save_LIBS
16944 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16946 $as_echo "not found" >&6; }
16948 else
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16950 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16952 cat >>confdefs.h <<_ACEOF
16953 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16954 _ACEOF
16958 CPPFLAGS=$ac_save_CPPFLAGS
16959 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16960 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16963 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16964 case "x$with_vkd3d" in
16965 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16966 xno) ;;
16967 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16968 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16969 esac
16972 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16975 EXTRACFLAGS=""
16977 if test "x${GCC}" = "xyes"
16978 then
16979 EXTRACFLAGS="-Wall -pipe"
16981 saved_CFLAGS=$CFLAGS
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16983 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16984 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16985 $as_echo_n "(cached) " >&6
16986 else
16987 ac_wine_try_cflags_saved=$CFLAGS
16988 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16990 /* end confdefs.h. */
16991 int main(int argc, char **argv) { return 0; }
16992 _ACEOF
16993 if ac_fn_c_try_link "$LINENO"; then :
16994 ac_cv_cflags__Werror_unknown_warning_option=yes
16995 else
16996 ac_cv_cflags__Werror_unknown_warning_option=no
16998 rm -f core conftest.err conftest.$ac_objext \
16999 conftest$ac_exeext conftest.$ac_ext
17000 CFLAGS=$ac_wine_try_cflags_saved
17002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17003 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17004 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17005 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17008 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17009 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17010 $as_echo_n "(cached) " >&6
17011 else
17012 ac_wine_try_cflags_saved=$CFLAGS
17013 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17016 int main(int argc, char **argv) { return 0; }
17017 _ACEOF
17018 if ac_fn_c_try_link "$LINENO"; then :
17019 ac_cv_cflags__Werror_unused_command_line_argument=yes
17020 else
17021 ac_cv_cflags__Werror_unused_command_line_argument=no
17023 rm -f core conftest.err conftest.$ac_objext \
17024 conftest$ac_exeext conftest.$ac_ext
17025 CFLAGS=$ac_wine_try_cflags_saved
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17028 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17029 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17030 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17033 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17034 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17035 $as_echo_n "(cached) " >&6
17036 else
17037 ac_wine_try_cflags_saved=$CFLAGS
17038 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17041 int main(int argc, char **argv) { return 0; }
17042 _ACEOF
17043 if ac_fn_c_try_link "$LINENO"; then :
17044 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17045 else
17046 ac_cv_cflags__Werror_ignored_optimization_argument=no
17048 rm -f core conftest.err conftest.$ac_objext \
17049 conftest$ac_exeext conftest.$ac_ext
17050 CFLAGS=$ac_wine_try_cflags_saved
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17053 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17054 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17055 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17058 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17059 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17060 $as_echo_n "(cached) " >&6
17061 else
17062 ac_wine_try_cflags_saved=$CFLAGS
17063 CFLAGS="$CFLAGS -fcf-protection=none"
17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17066 int main(int argc, char **argv) { return 0; }
17067 _ACEOF
17068 if ac_fn_c_try_link "$LINENO"; then :
17069 ac_cv_cflags__fcf_protection_none=yes
17070 else
17071 ac_cv_cflags__fcf_protection_none=no
17073 rm -f core conftest.err conftest.$ac_objext \
17074 conftest$ac_exeext conftest.$ac_ext
17075 CFLAGS=$ac_wine_try_cflags_saved
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17078 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17079 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17080 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17083 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17084 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17085 $as_echo_n "(cached) " >&6
17086 else
17087 ac_wine_try_cflags_saved=$CFLAGS
17088 CFLAGS="$CFLAGS -fno-stack-protector"
17089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17090 /* end confdefs.h. */
17091 int main(int argc, char **argv) { return 0; }
17092 _ACEOF
17093 if ac_fn_c_try_link "$LINENO"; then :
17094 ac_cv_cflags__fno_stack_protector=yes
17095 else
17096 ac_cv_cflags__fno_stack_protector=no
17098 rm -f core conftest.err conftest.$ac_objext \
17099 conftest$ac_exeext conftest.$ac_ext
17100 CFLAGS=$ac_wine_try_cflags_saved
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17103 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17104 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17105 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17108 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17109 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17110 $as_echo_n "(cached) " >&6
17111 else
17112 ac_wine_try_cflags_saved=$CFLAGS
17113 CFLAGS="$CFLAGS -fno-strict-aliasing"
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17116 int main(int argc, char **argv) { return 0; }
17117 _ACEOF
17118 if ac_fn_c_try_link "$LINENO"; then :
17119 ac_cv_cflags__fno_strict_aliasing=yes
17120 else
17121 ac_cv_cflags__fno_strict_aliasing=no
17123 rm -f core conftest.err conftest.$ac_objext \
17124 conftest$ac_exeext conftest.$ac_ext
17125 CFLAGS=$ac_wine_try_cflags_saved
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17128 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17129 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17130 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17133 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17134 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17135 $as_echo_n "(cached) " >&6
17136 else
17137 ac_wine_try_cflags_saved=$CFLAGS
17138 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h. */
17141 int main(int argc, char **argv) { return 0; }
17142 _ACEOF
17143 if ac_fn_c_try_link "$LINENO"; then :
17144 ac_cv_cflags__Wdeclaration_after_statement=yes
17145 else
17146 ac_cv_cflags__Wdeclaration_after_statement=no
17148 rm -f core conftest.err conftest.$ac_objext \
17149 conftest$ac_exeext conftest.$ac_ext
17150 CFLAGS=$ac_wine_try_cflags_saved
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17153 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17154 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17155 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17158 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17159 if ${ac_cv_cflags__Wempty_body+:} false; then :
17160 $as_echo_n "(cached) " >&6
17161 else
17162 ac_wine_try_cflags_saved=$CFLAGS
17163 CFLAGS="$CFLAGS -Wempty-body"
17164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17165 /* end confdefs.h. */
17166 int main(int argc, char **argv) { return 0; }
17167 _ACEOF
17168 if ac_fn_c_try_link "$LINENO"; then :
17169 ac_cv_cflags__Wempty_body=yes
17170 else
17171 ac_cv_cflags__Wempty_body=no
17173 rm -f core conftest.err conftest.$ac_objext \
17174 conftest$ac_exeext conftest.$ac_ext
17175 CFLAGS=$ac_wine_try_cflags_saved
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17178 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17179 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17180 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17183 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17184 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17185 $as_echo_n "(cached) " >&6
17186 else
17187 ac_wine_try_cflags_saved=$CFLAGS
17188 CFLAGS="$CFLAGS -Wignored-qualifiers"
17189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17190 /* end confdefs.h. */
17191 int main(int argc, char **argv) { return 0; }
17192 _ACEOF
17193 if ac_fn_c_try_link "$LINENO"; then :
17194 ac_cv_cflags__Wignored_qualifiers=yes
17195 else
17196 ac_cv_cflags__Wignored_qualifiers=no
17198 rm -f core conftest.err conftest.$ac_objext \
17199 conftest$ac_exeext conftest.$ac_ext
17200 CFLAGS=$ac_wine_try_cflags_saved
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17203 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17204 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17205 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17208 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17209 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17210 $as_echo_n "(cached) " >&6
17211 else
17212 ac_wine_try_cflags_saved=$CFLAGS
17213 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17216 int main(int argc, char **argv) { return 0; }
17217 _ACEOF
17218 if ac_fn_c_try_link "$LINENO"; then :
17219 ac_cv_cflags__Wpacked_not_aligned=yes
17220 else
17221 ac_cv_cflags__Wpacked_not_aligned=no
17223 rm -f core conftest.err conftest.$ac_objext \
17224 conftest$ac_exeext conftest.$ac_ext
17225 CFLAGS=$ac_wine_try_cflags_saved
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17228 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17229 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17230 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17233 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17234 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17235 $as_echo_n "(cached) " >&6
17236 else
17237 ac_wine_try_cflags_saved=$CFLAGS
17238 CFLAGS="$CFLAGS -Wpragma-pack"
17239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17240 /* end confdefs.h. */
17241 int main(int argc, char **argv) { return 0; }
17242 _ACEOF
17243 if ac_fn_c_try_link "$LINENO"; then :
17244 ac_cv_cflags__Wpragma_pack=yes
17245 else
17246 ac_cv_cflags__Wpragma_pack=no
17248 rm -f core conftest.err conftest.$ac_objext \
17249 conftest$ac_exeext conftest.$ac_ext
17250 CFLAGS=$ac_wine_try_cflags_saved
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17253 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17254 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17255 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17258 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17259 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17260 $as_echo_n "(cached) " >&6
17261 else
17262 ac_wine_try_cflags_saved=$CFLAGS
17263 CFLAGS="$CFLAGS -Wshift-overflow=2"
17264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17265 /* end confdefs.h. */
17266 int main(int argc, char **argv) { return 0; }
17267 _ACEOF
17268 if ac_fn_c_try_link "$LINENO"; then :
17269 ac_cv_cflags__Wshift_overflow_2=yes
17270 else
17271 ac_cv_cflags__Wshift_overflow_2=no
17273 rm -f core conftest.err conftest.$ac_objext \
17274 conftest$ac_exeext conftest.$ac_ext
17275 CFLAGS=$ac_wine_try_cflags_saved
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17278 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17279 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17280 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17283 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17284 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17285 $as_echo_n "(cached) " >&6
17286 else
17287 ac_wine_try_cflags_saved=$CFLAGS
17288 CFLAGS="$CFLAGS -Wstrict-prototypes"
17289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17290 /* end confdefs.h. */
17291 int main(int argc, char **argv) { return 0; }
17292 _ACEOF
17293 if ac_fn_c_try_link "$LINENO"; then :
17294 ac_cv_cflags__Wstrict_prototypes=yes
17295 else
17296 ac_cv_cflags__Wstrict_prototypes=no
17298 rm -f core conftest.err conftest.$ac_objext \
17299 conftest$ac_exeext conftest.$ac_ext
17300 CFLAGS=$ac_wine_try_cflags_saved
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17303 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17304 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17305 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17308 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17309 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17310 $as_echo_n "(cached) " >&6
17311 else
17312 ac_wine_try_cflags_saved=$CFLAGS
17313 CFLAGS="$CFLAGS -Wtype-limits"
17314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17315 /* end confdefs.h. */
17316 int main(int argc, char **argv) { return 0; }
17317 _ACEOF
17318 if ac_fn_c_try_link "$LINENO"; then :
17319 ac_cv_cflags__Wtype_limits=yes
17320 else
17321 ac_cv_cflags__Wtype_limits=no
17323 rm -f core conftest.err conftest.$ac_objext \
17324 conftest$ac_exeext conftest.$ac_ext
17325 CFLAGS=$ac_wine_try_cflags_saved
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17328 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17329 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17330 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17333 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17334 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17335 $as_echo_n "(cached) " >&6
17336 else
17337 ac_wine_try_cflags_saved=$CFLAGS
17338 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17341 int main(int argc, char **argv) { return 0; }
17342 _ACEOF
17343 if ac_fn_c_try_link "$LINENO"; then :
17344 ac_cv_cflags__Wunused_but_set_parameter=yes
17345 else
17346 ac_cv_cflags__Wunused_but_set_parameter=no
17348 rm -f core conftest.err conftest.$ac_objext \
17349 conftest$ac_exeext conftest.$ac_ext
17350 CFLAGS=$ac_wine_try_cflags_saved
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17353 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17354 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17355 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17358 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17359 if ${ac_cv_cflags__Wvla+:} false; then :
17360 $as_echo_n "(cached) " >&6
17361 else
17362 ac_wine_try_cflags_saved=$CFLAGS
17363 CFLAGS="$CFLAGS -Wvla"
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 int main(int argc, char **argv) { return 0; }
17367 _ACEOF
17368 if ac_fn_c_try_link "$LINENO"; then :
17369 ac_cv_cflags__Wvla=yes
17370 else
17371 ac_cv_cflags__Wvla=no
17373 rm -f core conftest.err conftest.$ac_objext \
17374 conftest$ac_exeext conftest.$ac_ext
17375 CFLAGS=$ac_wine_try_cflags_saved
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17378 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17379 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17380 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17383 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17384 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17385 $as_echo_n "(cached) " >&6
17386 else
17387 ac_wine_try_cflags_saved=$CFLAGS
17388 CFLAGS="$CFLAGS -Wwrite-strings"
17389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17391 int main(int argc, char **argv) { return 0; }
17392 _ACEOF
17393 if ac_fn_c_try_link "$LINENO"; then :
17394 ac_cv_cflags__Wwrite_strings=yes
17395 else
17396 ac_cv_cflags__Wwrite_strings=no
17398 rm -f core conftest.err conftest.$ac_objext \
17399 conftest$ac_exeext conftest.$ac_ext
17400 CFLAGS=$ac_wine_try_cflags_saved
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17403 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17404 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17405 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17408 if test -z "$CROSSTARGET"
17409 then
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17411 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17412 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17413 $as_echo_n "(cached) " >&6
17414 else
17415 ac_wine_try_cflags_saved=$CFLAGS
17416 CFLAGS="$CFLAGS -fexcess-precision=standard"
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17419 int main(int argc, char **argv) { return 0; }
17420 _ACEOF
17421 if ac_fn_c_try_link "$LINENO"; then :
17422 ac_cv_cflags__fexcess_precision_standard=yes
17423 else
17424 ac_cv_cflags__fexcess_precision_standard=no
17426 rm -f core conftest.err conftest.$ac_objext \
17427 conftest$ac_exeext conftest.$ac_ext
17428 CFLAGS=$ac_wine_try_cflags_saved
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17431 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17432 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17433 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17439 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17440 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17441 $as_echo_n "(cached) " >&6
17442 else
17443 ac_wine_try_cflags_saved=$CFLAGS
17444 CFLAGS="$CFLAGS -Wpointer-arith"
17445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17447 int main(int argc, char **argv) { return 0; }
17448 _ACEOF
17449 if ac_fn_c_try_link "$LINENO"; then :
17450 ac_cv_cflags__Wpointer_arith=yes
17451 else
17452 ac_cv_cflags__Wpointer_arith=no
17454 rm -f core conftest.err conftest.$ac_objext \
17455 conftest$ac_exeext conftest.$ac_ext
17456 CFLAGS=$ac_wine_try_cflags_saved
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17459 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17460 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17461 saved_string_h_CFLAGS=$CFLAGS
17462 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17464 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17465 if ${ac_cv_c_string_h_warnings+:} false; then :
17466 $as_echo_n "(cached) " >&6
17467 else
17468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17469 /* end confdefs.h. */
17470 #include <string.h>
17472 main ()
17476 return 0;
17478 _ACEOF
17479 if ac_fn_c_try_compile "$LINENO"; then :
17480 ac_cv_c_string_h_warnings=no
17481 else
17482 ac_cv_c_string_h_warnings=yes
17484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17487 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17488 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17489 CFLAGS=$saved_string_h_CFLAGS
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17493 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17494 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17495 $as_echo_n "(cached) " >&6
17496 else
17497 ac_wine_try_cflags_saved=$CFLAGS
17498 CFLAGS="$CFLAGS -Wlogical-op"
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501 int main(int argc, char **argv) { return 0; }
17502 _ACEOF
17503 if ac_fn_c_try_link "$LINENO"; then :
17504 ac_cv_cflags__Wlogical_op=yes
17505 else
17506 ac_cv_cflags__Wlogical_op=no
17508 rm -f core conftest.err conftest.$ac_objext \
17509 conftest$ac_exeext conftest.$ac_ext
17510 CFLAGS=$ac_wine_try_cflags_saved
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17513 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17514 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17515 saved_string_h_CFLAGS=$CFLAGS
17516 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17518 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17519 if ${ac_cv_c_logicalop_noisy+:} false; then :
17520 $as_echo_n "(cached) " >&6
17521 else
17522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17523 /* end confdefs.h. */
17524 #include <string.h>
17525 char*f(const char *h,char n) {return strchr(h,n);}
17527 main ()
17531 return 0;
17533 _ACEOF
17534 if ac_fn_c_try_compile "$LINENO"; then :
17535 ac_cv_c_logicalop_noisy=no
17536 else
17537 ac_cv_c_logicalop_noisy=yes
17539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17542 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17543 CFLAGS=$saved_string_h_CFLAGS
17544 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17547 for ac_flag in $CFLAGS; do
17548 case $ac_flag in
17549 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17550 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17551 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17552 $as_echo_n "(cached) " >&6
17553 else
17554 ac_wine_try_cflags_saved=$CFLAGS
17555 CFLAGS="$CFLAGS -gdwarf-2"
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17558 int main(int argc, char **argv) { return 0; }
17559 _ACEOF
17560 if ac_fn_c_try_link "$LINENO"; then :
17561 ac_cv_cflags__gdwarf_2=yes
17562 else
17563 ac_cv_cflags__gdwarf_2=no
17565 rm -f core conftest.err conftest.$ac_objext \
17566 conftest$ac_exeext conftest.$ac_ext
17567 CFLAGS=$ac_wine_try_cflags_saved
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17570 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17571 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17572 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17575 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17576 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17577 $as_echo_n "(cached) " >&6
17578 else
17579 ac_wine_try_cflags_saved=$CFLAGS
17580 CFLAGS="$CFLAGS -gstrict-dwarf"
17581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17582 /* end confdefs.h. */
17583 int main(int argc, char **argv) { return 0; }
17584 _ACEOF
17585 if ac_fn_c_try_link "$LINENO"; then :
17586 ac_cv_cflags__gstrict_dwarf=yes
17587 else
17588 ac_cv_cflags__gstrict_dwarf=no
17590 rm -f core conftest.err conftest.$ac_objext \
17591 conftest$ac_exeext conftest.$ac_ext
17592 CFLAGS=$ac_wine_try_cflags_saved
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17595 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17596 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17597 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17598 fi ;;
17599 esac
17600 done
17602 MSVCRTFLAGS=""
17604 case $host_os in
17605 mingw32*) ;;
17606 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17607 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17608 if ${ac_cv_cflags__fno_builtin+:} false; then :
17609 $as_echo_n "(cached) " >&6
17610 else
17611 ac_wine_try_cflags_saved=$CFLAGS
17612 CFLAGS="$CFLAGS -fno-builtin"
17613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17614 /* end confdefs.h. */
17615 int main(int argc, char **argv) { return 0; }
17616 _ACEOF
17617 if ac_fn_c_try_link "$LINENO"; then :
17618 ac_cv_cflags__fno_builtin=yes
17619 else
17620 ac_cv_cflags__fno_builtin=no
17622 rm -f core conftest.err conftest.$ac_objext \
17623 conftest$ac_exeext conftest.$ac_ext
17624 CFLAGS=$ac_wine_try_cflags_saved
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17627 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17628 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17629 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17632 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17633 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17634 $as_echo_n "(cached) " >&6
17635 else
17636 ac_wine_try_cflags_saved=$CFLAGS
17637 CFLAGS="$CFLAGS -fshort-wchar"
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17640 int main(int argc, char **argv) { return 0; }
17641 _ACEOF
17642 if ac_fn_c_try_link "$LINENO"; then :
17643 ac_cv_cflags__fshort_wchar=yes
17644 else
17645 ac_cv_cflags__fshort_wchar=no
17647 rm -f core conftest.err conftest.$ac_objext \
17648 conftest$ac_exeext conftest.$ac_ext
17649 CFLAGS=$ac_wine_try_cflags_saved
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17652 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17653 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17654 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17655 fi ;;
17656 esac
17658 case $host_cpu in
17659 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17660 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17661 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17662 $as_echo_n "(cached) " >&6
17663 else
17664 ac_wine_try_cflags_saved=$CFLAGS
17665 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17667 /* end confdefs.h. */
17668 int main(int argc, char **argv) { return 0; }
17669 _ACEOF
17670 if ac_fn_c_try_link "$LINENO"; then :
17671 ac_cv_cflags__fno_omit_frame_pointer=yes
17672 else
17673 ac_cv_cflags__fno_omit_frame_pointer=no
17675 rm -f core conftest.err conftest.$ac_objext \
17676 conftest$ac_exeext conftest.$ac_ext
17677 CFLAGS=$ac_wine_try_cflags_saved
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17680 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17681 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17682 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17683 fi ;;
17684 *x86_64*)
17685 case $host_os in
17686 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17687 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17688 if ${ac_cv_cflags__Wno_format+:} false; then :
17689 $as_echo_n "(cached) " >&6
17690 else
17691 ac_wine_try_cflags_saved=$CFLAGS
17692 CFLAGS="$CFLAGS -Wno-format"
17693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17695 int main(int argc, char **argv) { return 0; }
17696 _ACEOF
17697 if ac_fn_c_try_link "$LINENO"; then :
17698 ac_cv_cflags__Wno_format=yes
17699 else
17700 ac_cv_cflags__Wno_format=no
17702 rm -f core conftest.err conftest.$ac_objext \
17703 conftest$ac_exeext conftest.$ac_ext
17704 CFLAGS=$ac_wine_try_cflags_saved
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17707 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17708 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17709 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17710 fi ;;
17711 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17712 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17713 if ${ac_cv_cflags__mabi_ms+:} false; then :
17714 $as_echo_n "(cached) " >&6
17715 else
17716 ac_wine_try_cflags_saved=$CFLAGS
17717 CFLAGS="$CFLAGS -mabi=ms"
17718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17719 /* end confdefs.h. */
17720 int main(int argc, char **argv) { return 0; }
17721 _ACEOF
17722 if ac_fn_c_try_link "$LINENO"; then :
17723 ac_cv_cflags__mabi_ms=yes
17724 else
17725 ac_cv_cflags__mabi_ms=no
17727 rm -f core conftest.err conftest.$ac_objext \
17728 conftest$ac_exeext conftest.$ac_ext
17729 CFLAGS=$ac_wine_try_cflags_saved
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17732 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17733 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17734 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17735 fi ;;
17736 esac ;;
17737 esac
17739 CFLAGS=$saved_CFLAGS
17741 if test "x$enable_werror" = "xyes"
17742 then
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17744 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17745 if ${ac_cv_cflags__Werror+:} false; then :
17746 $as_echo_n "(cached) " >&6
17747 else
17748 ac_wine_try_cflags_saved=$CFLAGS
17749 CFLAGS="$CFLAGS -Werror"
17750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17751 /* end confdefs.h. */
17752 int main(int argc, char **argv) { return 0; }
17753 _ACEOF
17754 if ac_fn_c_try_link "$LINENO"; then :
17755 ac_cv_cflags__Werror=yes
17756 else
17757 ac_cv_cflags__Werror=no
17759 rm -f core conftest.err conftest.$ac_objext \
17760 conftest$ac_exeext conftest.$ac_ext
17761 CFLAGS=$ac_wine_try_cflags_saved
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17764 $as_echo "$ac_cv_cflags__Werror" >&6; }
17765 if test "x$ac_cv_cflags__Werror" = xyes; then :
17766 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17773 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17774 if ${ac_cv_c_fortify_enabled+:} false; then :
17775 $as_echo_n "(cached) " >&6
17776 else
17777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17778 /* end confdefs.h. */
17779 #include <string.h>
17781 main ()
17783 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17784 #error Fortify enabled
17785 #endif
17787 return 0;
17789 _ACEOF
17790 if ac_fn_c_try_compile "$LINENO"; then :
17791 ac_cv_c_fortify_enabled=no
17792 else
17793 ac_cv_c_fortify_enabled=yes
17795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17798 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17799 if test "$ac_cv_c_fortify_enabled" = yes
17800 then
17801 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17806 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17807 if ${ac_cv_c_cfi_support+:} false; then :
17808 $as_echo_n "(cached) " >&6
17809 else
17810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17811 /* end confdefs.h. */
17812 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17814 main ()
17818 return 0;
17820 _ACEOF
17821 if ac_fn_c_try_compile "$LINENO"; then :
17822 ac_cv_c_cfi_support="yes"
17823 else
17824 ac_cv_c_cfi_support="no"
17826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17829 $as_echo "$ac_cv_c_cfi_support" >&6; }
17830 if test "$ac_cv_c_cfi_support" = "yes"
17831 then
17832 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17833 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17834 else
17835 if test "x$enable_win64" = "xyes"
17836 then
17837 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17842 case $build_os in
17843 cygwin*|mingw32*) TOOLSEXT=".exe"
17845 esac
17847 case $host_os in
17848 linux*)
17849 case $host_cpu in
17850 *i[3456789]86*|x86_64*|*aarch64*)
17851 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17852 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17854 esac
17856 esac
17859 ac_save_CFLAGS="$CFLAGS"
17860 CFLAGS="$CFLAGS $BUILTINFLAG"
17861 for ac_func in \
17862 __res_get_state \
17863 __res_getservers \
17864 _spawnvp \
17865 epoll_create \
17866 ffs \
17867 finite \
17868 finitef \
17869 fnmatch \
17870 fork \
17871 fpclass \
17872 fstatfs \
17873 fstatvfs \
17874 futimens \
17875 futimes \
17876 futimesat \
17877 getattrlist \
17878 getauxval \
17879 getifaddrs \
17880 getopt_long_only \
17881 getrandom \
17882 kqueue \
17883 lstat \
17884 mach_continuous_time \
17885 pipe2 \
17886 poll \
17887 port_create \
17888 prctl \
17889 pread \
17890 proc_pidinfo \
17891 pwrite \
17892 readdir \
17893 readlink \
17894 sched_yield \
17895 select \
17896 setproctitle \
17897 setprogname \
17898 settimeofday \
17899 sigprocmask \
17900 statfs \
17901 statvfs \
17902 strnlen \
17903 strtold \
17904 symlink \
17905 sysinfo \
17906 tcdrain \
17907 thr_kill2 \
17908 usleep
17910 do :
17911 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17912 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17913 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17914 cat >>confdefs.h <<_ACEOF
17915 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17916 _ACEOF
17919 done
17921 CFLAGS="$ac_save_CFLAGS"
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17924 $as_echo_n "checking for library containing dlopen... " >&6; }
17925 if ${ac_cv_search_dlopen+:} false; then :
17926 $as_echo_n "(cached) " >&6
17927 else
17928 ac_func_search_save_LIBS=$LIBS
17929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17930 /* end confdefs.h. */
17932 /* Override any GCC internal prototype to avoid an error.
17933 Use char because int might match the return type of a GCC
17934 builtin and then its argument prototype would still apply. */
17935 #ifdef __cplusplus
17936 extern "C"
17937 #endif
17938 char dlopen ();
17940 main ()
17942 return dlopen ();
17944 return 0;
17946 _ACEOF
17947 for ac_lib in '' dl; do
17948 if test -z "$ac_lib"; then
17949 ac_res="none required"
17950 else
17951 ac_res=-l$ac_lib
17952 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17954 if ac_fn_c_try_link "$LINENO"; then :
17955 ac_cv_search_dlopen=$ac_res
17957 rm -f core conftest.err conftest.$ac_objext \
17958 conftest$ac_exeext
17959 if ${ac_cv_search_dlopen+:} false; then :
17960 break
17962 done
17963 if ${ac_cv_search_dlopen+:} false; then :
17965 else
17966 ac_cv_search_dlopen=no
17968 rm conftest.$ac_ext
17969 LIBS=$ac_func_search_save_LIBS
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17972 $as_echo "$ac_cv_search_dlopen" >&6; }
17973 ac_res=$ac_cv_search_dlopen
17974 if test "$ac_res" != no; then :
17975 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17979 ac_wine_check_funcs_save_LIBS="$LIBS"
17980 LIBS="$LIBS $DL_LIBS"
17981 for ac_func in dladdr dlinfo
17982 do :
17983 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17984 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17985 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17986 cat >>confdefs.h <<_ACEOF
17987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17988 _ACEOF
17991 done
17993 LIBS="$ac_wine_check_funcs_save_LIBS"
17995 if test "$ac_cv_func_poll" = no
17996 then
17997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17998 $as_echo_n "checking for poll in -lpoll... " >&6; }
17999 if ${ac_cv_lib_poll_poll+:} false; then :
18000 $as_echo_n "(cached) " >&6
18001 else
18002 ac_check_lib_save_LIBS=$LIBS
18003 LIBS="-lpoll $LIBS"
18004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18005 /* end confdefs.h. */
18007 /* Override any GCC internal prototype to avoid an error.
18008 Use char because int might match the return type of a GCC
18009 builtin and then its argument prototype would still apply. */
18010 #ifdef __cplusplus
18011 extern "C"
18012 #endif
18013 char poll ();
18015 main ()
18017 return poll ();
18019 return 0;
18021 _ACEOF
18022 if ac_fn_c_try_link "$LINENO"; then :
18023 ac_cv_lib_poll_poll=yes
18024 else
18025 ac_cv_lib_poll_poll=no
18027 rm -f core conftest.err conftest.$ac_objext \
18028 conftest$ac_exeext conftest.$ac_ext
18029 LIBS=$ac_check_lib_save_LIBS
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18032 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18033 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18034 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18035 POLL_LIBS="-lpoll"
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18042 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18043 if ${ac_cv_search_gethostbyname+:} false; then :
18044 $as_echo_n "(cached) " >&6
18045 else
18046 ac_func_search_save_LIBS=$LIBS
18047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18048 /* end confdefs.h. */
18050 /* Override any GCC internal prototype to avoid an error.
18051 Use char because int might match the return type of a GCC
18052 builtin and then its argument prototype would still apply. */
18053 #ifdef __cplusplus
18054 extern "C"
18055 #endif
18056 char gethostbyname ();
18058 main ()
18060 return gethostbyname ();
18062 return 0;
18064 _ACEOF
18065 for ac_lib in '' nsl; do
18066 if test -z "$ac_lib"; then
18067 ac_res="none required"
18068 else
18069 ac_res=-l$ac_lib
18070 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18072 if ac_fn_c_try_link "$LINENO"; then :
18073 ac_cv_search_gethostbyname=$ac_res
18075 rm -f core conftest.err conftest.$ac_objext \
18076 conftest$ac_exeext
18077 if ${ac_cv_search_gethostbyname+:} false; then :
18078 break
18080 done
18081 if ${ac_cv_search_gethostbyname+:} false; then :
18083 else
18084 ac_cv_search_gethostbyname=no
18086 rm conftest.$ac_ext
18087 LIBS=$ac_func_search_save_LIBS
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18090 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18091 ac_res=$ac_cv_search_gethostbyname
18092 if test "$ac_res" != no; then :
18093 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18099 $as_echo_n "checking for library containing connect... " >&6; }
18100 if ${ac_cv_search_connect+:} false; then :
18101 $as_echo_n "(cached) " >&6
18102 else
18103 ac_func_search_save_LIBS=$LIBS
18104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18105 /* end confdefs.h. */
18107 /* Override any GCC internal prototype to avoid an error.
18108 Use char because int might match the return type of a GCC
18109 builtin and then its argument prototype would still apply. */
18110 #ifdef __cplusplus
18111 extern "C"
18112 #endif
18113 char connect ();
18115 main ()
18117 return connect ();
18119 return 0;
18121 _ACEOF
18122 for ac_lib in '' socket; do
18123 if test -z "$ac_lib"; then
18124 ac_res="none required"
18125 else
18126 ac_res=-l$ac_lib
18127 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18129 if ac_fn_c_try_link "$LINENO"; then :
18130 ac_cv_search_connect=$ac_res
18132 rm -f core conftest.err conftest.$ac_objext \
18133 conftest$ac_exeext
18134 if ${ac_cv_search_connect+:} false; then :
18135 break
18137 done
18138 if ${ac_cv_search_connect+:} false; then :
18140 else
18141 ac_cv_search_connect=no
18143 rm conftest.$ac_ext
18144 LIBS=$ac_func_search_save_LIBS
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18147 $as_echo "$ac_cv_search_connect" >&6; }
18148 ac_res=$ac_cv_search_connect
18149 if test "$ac_res" != no; then :
18150 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18156 $as_echo_n "checking for library containing inet_aton... " >&6; }
18157 if ${ac_cv_search_inet_aton+:} false; then :
18158 $as_echo_n "(cached) " >&6
18159 else
18160 ac_func_search_save_LIBS=$LIBS
18161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18162 /* end confdefs.h. */
18164 /* Override any GCC internal prototype to avoid an error.
18165 Use char because int might match the return type of a GCC
18166 builtin and then its argument prototype would still apply. */
18167 #ifdef __cplusplus
18168 extern "C"
18169 #endif
18170 char inet_aton ();
18172 main ()
18174 return inet_aton ();
18176 return 0;
18178 _ACEOF
18179 for ac_lib in '' resolv; do
18180 if test -z "$ac_lib"; then
18181 ac_res="none required"
18182 else
18183 ac_res=-l$ac_lib
18184 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18186 if ac_fn_c_try_link "$LINENO"; then :
18187 ac_cv_search_inet_aton=$ac_res
18189 rm -f core conftest.err conftest.$ac_objext \
18190 conftest$ac_exeext
18191 if ${ac_cv_search_inet_aton+:} false; then :
18192 break
18194 done
18195 if ${ac_cv_search_inet_aton+:} false; then :
18197 else
18198 ac_cv_search_inet_aton=no
18200 rm conftest.$ac_ext
18201 LIBS=$ac_func_search_save_LIBS
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18204 $as_echo "$ac_cv_search_inet_aton" >&6; }
18205 ac_res=$ac_cv_search_inet_aton
18206 if test "$ac_res" != no; then :
18207 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18212 for ac_func in \
18213 getaddrinfo \
18214 getnameinfo \
18215 getnetbyname \
18216 getservbyport \
18218 do :
18219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18221 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18222 cat >>confdefs.h <<_ACEOF
18223 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18224 _ACEOF
18227 done
18230 case $host_os in
18231 darwin*|macosx*) ;;
18232 *) ac_save_LIBS=$LIBS
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18234 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18235 if ${ac_cv_search_clock_gettime+:} false; then :
18236 $as_echo_n "(cached) " >&6
18237 else
18238 ac_func_search_save_LIBS=$LIBS
18239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18240 /* end confdefs.h. */
18242 /* Override any GCC internal prototype to avoid an error.
18243 Use char because int might match the return type of a GCC
18244 builtin and then its argument prototype would still apply. */
18245 #ifdef __cplusplus
18246 extern "C"
18247 #endif
18248 char clock_gettime ();
18250 main ()
18252 return clock_gettime ();
18254 return 0;
18256 _ACEOF
18257 for ac_lib in '' rt; do
18258 if test -z "$ac_lib"; then
18259 ac_res="none required"
18260 else
18261 ac_res=-l$ac_lib
18262 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18264 if ac_fn_c_try_link "$LINENO"; then :
18265 ac_cv_search_clock_gettime=$ac_res
18267 rm -f core conftest.err conftest.$ac_objext \
18268 conftest$ac_exeext
18269 if ${ac_cv_search_clock_gettime+:} false; then :
18270 break
18272 done
18273 if ${ac_cv_search_clock_gettime+:} false; then :
18275 else
18276 ac_cv_search_clock_gettime=no
18278 rm conftest.$ac_ext
18279 LIBS=$ac_func_search_save_LIBS
18281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18282 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18283 ac_res=$ac_cv_search_clock_gettime
18284 if test "$ac_res" != no; then :
18285 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18287 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18289 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18293 LIBS=$ac_save_LIBS
18295 esac
18297 if test "x$with_ldap" != "xno"
18298 then
18299 if ${LDAP_CFLAGS:+false} :; then :
18300 if ${PKG_CONFIG+:} false; then :
18301 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18305 if ${LDAP_LIBS:+false} :; then :
18306 if ${PKG_CONFIG+:} false; then :
18307 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18311 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18312 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18313 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18314 ac_save_CPPFLAGS=$CPPFLAGS
18315 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18316 for ac_header in ldap.h lber.h
18317 do :
18318 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18319 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18320 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18321 cat >>confdefs.h <<_ACEOF
18322 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18323 _ACEOF
18327 done
18329 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18330 then
18331 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18333 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18335 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18336 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18337 $as_echo_n "(cached) " >&6
18338 else
18339 ac_check_lib_save_LIBS=$LIBS
18340 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18342 /* end confdefs.h. */
18344 /* Override any GCC internal prototype to avoid an error.
18345 Use char because int might match the return type of a GCC
18346 builtin and then its argument prototype would still apply. */
18347 #ifdef __cplusplus
18348 extern "C"
18349 #endif
18350 char ldap_initialize ();
18352 main ()
18354 return ldap_initialize ();
18356 return 0;
18358 _ACEOF
18359 if ac_fn_c_try_link "$LINENO"; then :
18360 ac_cv_lib_ldap_r_ldap_initialize=yes
18361 else
18362 ac_cv_lib_ldap_r_ldap_initialize=no
18364 rm -f core conftest.err conftest.$ac_objext \
18365 conftest$ac_exeext conftest.$ac_ext
18366 LIBS=$ac_check_lib_save_LIBS
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18369 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18370 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18372 $as_echo_n "checking for ber_init in -llber... " >&6; }
18373 if ${ac_cv_lib_lber_ber_init+:} false; then :
18374 $as_echo_n "(cached) " >&6
18375 else
18376 ac_check_lib_save_LIBS=$LIBS
18377 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18379 /* end confdefs.h. */
18381 /* Override any GCC internal prototype to avoid an error.
18382 Use char because int might match the return type of a GCC
18383 builtin and then its argument prototype would still apply. */
18384 #ifdef __cplusplus
18385 extern "C"
18386 #endif
18387 char ber_init ();
18389 main ()
18391 return ber_init ();
18393 return 0;
18395 _ACEOF
18396 if ac_fn_c_try_link "$LINENO"; then :
18397 ac_cv_lib_lber_ber_init=yes
18398 else
18399 ac_cv_lib_lber_ber_init=no
18401 rm -f core conftest.err conftest.$ac_objext \
18402 conftest$ac_exeext conftest.$ac_ext
18403 LIBS=$ac_check_lib_save_LIBS
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18406 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18407 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18409 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18411 else
18412 LDAP_LIBS=""
18415 else
18416 LDAP_LIBS=""
18419 else
18420 LDAP_LIBS=""
18423 ac_wine_check_funcs_save_LIBS="$LIBS"
18424 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18425 for ac_func in \
18426 ldap_count_references \
18427 ldap_first_reference \
18428 ldap_next_reference \
18429 ldap_parse_reference \
18430 ldap_parse_sort_control \
18431 ldap_parse_sortresponse_control \
18432 ldap_parse_vlv_control \
18433 ldap_parse_vlvresponse_control
18434 do :
18435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18437 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18438 cat >>confdefs.h <<_ACEOF
18439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18440 _ACEOF
18443 done
18445 LIBS="$ac_wine_check_funcs_save_LIBS"
18446 else
18447 LDAP_LIBS=""
18449 CPPFLAGS=$ac_save_CPPFLAGS
18450 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18451 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18454 if test "x$LDAP_LIBS" = "x"; then :
18455 case "x$with_ldap" in
18456 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18457 xno) ;;
18458 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18459 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18460 esac
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18465 $as_echo_n "checking for sched_setaffinity... " >&6; }
18466 if ${wine_cv_have_sched_setaffinity+:} false; then :
18467 $as_echo_n "(cached) " >&6
18468 else
18469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18470 /* end confdefs.h. */
18471 #define _GNU_SOURCE
18472 #include <sched.h>
18474 main ()
18476 sched_setaffinity(0, 0, 0);
18478 return 0;
18480 _ACEOF
18481 if ac_fn_c_try_link "$LINENO"; then :
18482 wine_cv_have_sched_setaffinity=yes
18483 else
18484 wine_cv_have_sched_setaffinity=no
18486 rm -f core conftest.err conftest.$ac_objext \
18487 conftest$ac_exeext conftest.$ac_ext
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18490 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18491 if test "$wine_cv_have_sched_setaffinity" = "yes"
18492 then
18494 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18499 $as_echo_n "checking for fallocate... " >&6; }
18500 if ${wine_cv_have_fallocate+:} false; then :
18501 $as_echo_n "(cached) " >&6
18502 else
18503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18504 /* end confdefs.h. */
18505 #define _GNU_SOURCE
18506 #include <fcntl.h>
18508 main ()
18510 fallocate(-1, 0, 0, 0);
18512 return 0;
18514 _ACEOF
18515 if ac_fn_c_try_link "$LINENO"; then :
18516 wine_cv_have_fallocate=yes
18517 else
18518 wine_cv_have_fallocate=no
18520 rm -f core conftest.err conftest.$ac_objext \
18521 conftest$ac_exeext conftest.$ac_ext
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18524 $as_echo "$wine_cv_have_fallocate" >&6; }
18525 if test "$wine_cv_have_fallocate" = "yes"
18526 then
18528 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18534 $as_echo_n "checking for inline... " >&6; }
18535 if ${ac_cv_c_inline+:} false; then :
18536 $as_echo_n "(cached) " >&6
18537 else
18538 ac_cv_c_inline=no
18539 for ac_kw in inline __inline__ __inline; do
18540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18541 /* end confdefs.h. */
18542 #ifndef __cplusplus
18543 typedef int foo_t;
18544 static $ac_kw foo_t static_foo () {return 0; }
18545 $ac_kw foo_t foo () {return 0; }
18546 #endif
18548 _ACEOF
18549 if ac_fn_c_try_compile "$LINENO"; then :
18550 ac_cv_c_inline=$ac_kw
18552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18553 test "$ac_cv_c_inline" != no && break
18554 done
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18558 $as_echo "$ac_cv_c_inline" >&6; }
18560 case $ac_cv_c_inline in
18561 inline | yes) ;;
18563 case $ac_cv_c_inline in
18564 no) ac_val=;;
18565 *) ac_val=$ac_cv_c_inline;;
18566 esac
18567 cat >>confdefs.h <<_ACEOF
18568 #ifndef __cplusplus
18569 #define inline $ac_val
18570 #endif
18571 _ACEOF
18573 esac
18575 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18576 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18578 cat >>confdefs.h <<_ACEOF
18579 #define HAVE_FSBLKCNT_T 1
18580 _ACEOF
18584 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18585 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18587 cat >>confdefs.h <<_ACEOF
18588 #define HAVE_FSFILCNT_T 1
18589 _ACEOF
18594 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18595 #include <signal.h>
18597 if test "x$ac_cv_type_sigset_t" = xyes; then :
18599 cat >>confdefs.h <<_ACEOF
18600 #define HAVE_SIGSET_T 1
18601 _ACEOF
18606 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18608 if test "x$ac_cv_type_request_sense" = xyes; then :
18610 cat >>confdefs.h <<_ACEOF
18611 #define HAVE_REQUEST_SENSE 1
18612 _ACEOF
18618 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18619 #ifdef HAVE_SYS_SOCKET_H
18620 #include <sys/socket.h>
18621 #endif
18622 #ifdef HAVE_SYS_SOCKETVAR_H
18623 #include <sys/socketvar.h>
18624 #endif
18625 #ifdef HAVE_NET_ROUTE_H
18626 #include <net/route.h>
18627 #endif
18628 #ifdef HAVE_NETINET_IN_H
18629 #include <netinet/in.h>
18630 #endif
18631 #ifdef HAVE_NETINET_IN_SYSTM_H
18632 #include <netinet/in_systm.h>
18633 #endif
18634 #ifdef HAVE_NETINET_IP_H
18635 #include <netinet/ip.h>
18636 #endif
18637 #ifdef HAVE_NETINET_IN_PCB_H
18638 #include <netinet/in_pcb.h>
18639 #endif
18641 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18643 cat >>confdefs.h <<_ACEOF
18644 #define HAVE_STRUCT_XINPGEN 1
18645 _ACEOF
18651 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18652 #include <linux/input.h>
18653 #endif
18655 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18657 cat >>confdefs.h <<_ACEOF
18658 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18659 _ACEOF
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18666 $as_echo_n "checking for if_nameindex... " >&6; }
18667 if ${wine_cv_have_if_nameindex+:} false; then :
18668 $as_echo_n "(cached) " >&6
18669 else
18670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18671 /* end confdefs.h. */
18672 #ifdef HAVE_SYS_TYPES_H
18673 #include <sys/types.h>
18674 #endif
18675 #ifdef HAVE_SYS_SOCKET_H
18676 #include <sys/socket.h>
18677 #endif
18678 #ifdef HAVE_NET_IF_H
18679 # include <net/if.h>
18680 #endif
18682 main ()
18684 struct if_nameindex *p = if_nameindex(); return p->if_index;
18686 return 0;
18688 _ACEOF
18689 if ac_fn_c_try_link "$LINENO"; then :
18690 wine_cv_have_if_nameindex=yes
18691 else
18692 wine_cv_have_if_nameindex=no
18694 rm -f core conftest.err conftest.$ac_objext \
18695 conftest$ac_exeext conftest.$ac_ext
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18698 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18699 if test "$wine_cv_have_if_nameindex" = "yes"
18700 then
18702 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18707 $as_echo_n "checking for sigaddset... " >&6; }
18708 if ${wine_cv_have_sigaddset+:} false; then :
18709 $as_echo_n "(cached) " >&6
18710 else
18711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18712 /* end confdefs.h. */
18713 #include <signal.h>
18715 main ()
18717 sigset_t set; sigaddset(&set,SIGTERM);
18719 return 0;
18721 _ACEOF
18722 if ac_fn_c_try_link "$LINENO"; then :
18723 wine_cv_have_sigaddset=yes
18724 else
18725 wine_cv_have_sigaddset=no
18727 rm -f core conftest.err conftest.$ac_objext \
18728 conftest$ac_exeext conftest.$ac_ext
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18731 $as_echo "$wine_cv_have_sigaddset" >&6; }
18732 if test "$wine_cv_have_sigaddset" = "yes"
18733 then
18735 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18741 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18742 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18743 $as_echo_n "(cached) " >&6
18744 else
18745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18746 /* end confdefs.h. */
18747 #include <netdb.h>
18749 main ()
18752 char *name=0;
18753 struct hostent he;
18754 struct hostent *result;
18755 char *buf=0;
18756 int bufsize=0;
18757 int errnr;
18758 char *addr=0;
18759 int addrlen=0;
18760 int addrtype=0;
18761 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18762 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18765 return 0;
18767 _ACEOF
18768 if ac_fn_c_try_link "$LINENO"; then :
18769 wine_cv_linux_gethostbyname_r_6=yes
18770 else
18771 wine_cv_linux_gethostbyname_r_6=no
18774 rm -f core conftest.err conftest.$ac_objext \
18775 conftest$ac_exeext conftest.$ac_ext
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18779 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18780 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18781 then
18783 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18787 if test "$ac_cv_header_linux_joystick_h" = "yes"
18788 then
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18790 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18791 if ${wine_cv_linux_joystick_22_api+:} false; then :
18792 $as_echo_n "(cached) " >&6
18793 else
18794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18795 /* end confdefs.h. */
18797 #include <sys/ioctl.h>
18798 #include <sys/types.h>
18799 #include <linux/joystick.h>
18801 struct js_event blub;
18802 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18803 #error "no 2.2 header"
18804 #endif
18807 main ()
18809 /*empty*/
18811 return 0;
18813 _ACEOF
18814 if ac_fn_c_try_compile "$LINENO"; then :
18815 wine_cv_linux_joystick_22_api=yes
18816 else
18817 wine_cv_linux_joystick_22_api=no
18819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18823 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18824 if test "$wine_cv_linux_joystick_22_api" = "yes"
18825 then
18827 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18833 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18834 #ifdef HAVE_SYS_PARAM_H
18835 # include <sys/param.h>
18836 #endif
18837 #ifdef HAVE_SYS_MOUNT_H
18838 # include <sys/mount.h>
18839 #endif
18840 #ifdef HAVE_SYS_VFS_H
18841 # include <sys/vfs.h>
18842 #endif
18843 #ifdef HAVE_SYS_STATFS_H
18844 # include <sys/statfs.h>
18845 #endif
18847 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18849 cat >>confdefs.h <<_ACEOF
18850 #define HAVE_STRUCT_STATFS_F_BFREE 1
18851 _ACEOF
18855 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18856 #ifdef HAVE_SYS_PARAM_H
18857 # include <sys/param.h>
18858 #endif
18859 #ifdef HAVE_SYS_MOUNT_H
18860 # include <sys/mount.h>
18861 #endif
18862 #ifdef HAVE_SYS_VFS_H
18863 # include <sys/vfs.h>
18864 #endif
18865 #ifdef HAVE_SYS_STATFS_H
18866 # include <sys/statfs.h>
18867 #endif
18869 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18871 cat >>confdefs.h <<_ACEOF
18872 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18873 _ACEOF
18877 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18878 #ifdef HAVE_SYS_PARAM_H
18879 # include <sys/param.h>
18880 #endif
18881 #ifdef HAVE_SYS_MOUNT_H
18882 # include <sys/mount.h>
18883 #endif
18884 #ifdef HAVE_SYS_VFS_H
18885 # include <sys/vfs.h>
18886 #endif
18887 #ifdef HAVE_SYS_STATFS_H
18888 # include <sys/statfs.h>
18889 #endif
18891 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18893 cat >>confdefs.h <<_ACEOF
18894 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18895 _ACEOF
18899 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18900 #ifdef HAVE_SYS_PARAM_H
18901 # include <sys/param.h>
18902 #endif
18903 #ifdef HAVE_SYS_MOUNT_H
18904 # include <sys/mount.h>
18905 #endif
18906 #ifdef HAVE_SYS_VFS_H
18907 # include <sys/vfs.h>
18908 #endif
18909 #ifdef HAVE_SYS_STATFS_H
18910 # include <sys/statfs.h>
18911 #endif
18913 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18915 cat >>confdefs.h <<_ACEOF
18916 #define HAVE_STRUCT_STATFS_F_FFREE 1
18917 _ACEOF
18921 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18922 #ifdef HAVE_SYS_PARAM_H
18923 # include <sys/param.h>
18924 #endif
18925 #ifdef HAVE_SYS_MOUNT_H
18926 # include <sys/mount.h>
18927 #endif
18928 #ifdef HAVE_SYS_VFS_H
18929 # include <sys/vfs.h>
18930 #endif
18931 #ifdef HAVE_SYS_STATFS_H
18932 # include <sys/statfs.h>
18933 #endif
18935 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18937 cat >>confdefs.h <<_ACEOF
18938 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18939 _ACEOF
18943 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18944 #ifdef HAVE_SYS_PARAM_H
18945 # include <sys/param.h>
18946 #endif
18947 #ifdef HAVE_SYS_MOUNT_H
18948 # include <sys/mount.h>
18949 #endif
18950 #ifdef HAVE_SYS_VFS_H
18951 # include <sys/vfs.h>
18952 #endif
18953 #ifdef HAVE_SYS_STATFS_H
18954 # include <sys/statfs.h>
18955 #endif
18957 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18959 cat >>confdefs.h <<_ACEOF
18960 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18961 _ACEOF
18967 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18968 #include <sys/statvfs.h>
18969 #endif
18971 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18973 cat >>confdefs.h <<_ACEOF
18974 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18975 _ACEOF
18981 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18982 #include <dirent.h>
18983 #endif
18985 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18987 cat >>confdefs.h <<_ACEOF
18988 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18989 _ACEOF
18995 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18996 #ifdef HAVE_SYS_SOCKET_H
18997 # include <sys/socket.h>
18998 #endif
18999 #ifdef HAVE_SYS_UN_H
19000 # include <sys/un.h>
19001 #endif
19003 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
19005 cat >>confdefs.h <<_ACEOF
19006 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19007 _ACEOF
19011 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19012 #ifdef HAVE_SYS_SOCKET_H
19013 # include <sys/socket.h>
19014 #endif
19015 #ifdef HAVE_SYS_UN_H
19016 # include <sys/un.h>
19017 #endif
19019 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19021 cat >>confdefs.h <<_ACEOF
19022 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19023 _ACEOF
19027 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19028 #ifdef HAVE_SYS_SOCKET_H
19029 # include <sys/socket.h>
19030 #endif
19031 #ifdef HAVE_SYS_UN_H
19032 # include <sys/un.h>
19033 #endif
19035 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19037 cat >>confdefs.h <<_ACEOF
19038 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19039 _ACEOF
19045 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19046 #ifdef HAVE_SCSI_SG_H
19047 #include <scsi/sg.h>
19048 #endif
19050 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19052 cat >>confdefs.h <<_ACEOF
19053 #define HAVE_SCSIREQ_T_CMD 1
19054 _ACEOF
19058 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>
19059 #ifdef HAVE_SCSI_SG_H
19060 #include <scsi/sg.h>
19061 #endif
19063 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19065 cat >>confdefs.h <<_ACEOF
19066 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19067 _ACEOF
19073 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19075 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19077 cat >>confdefs.h <<_ACEOF
19078 #define HAVE_SIGINFO_T_SI_FD 1
19079 _ACEOF
19085 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19086 #ifdef HAVE_SYS_MTIO_H
19087 #include <sys/mtio.h>
19088 #endif
19090 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19092 cat >>confdefs.h <<_ACEOF
19093 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19094 _ACEOF
19098 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19099 #ifdef HAVE_SYS_MTIO_H
19100 #include <sys/mtio.h>
19101 #endif
19103 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19105 cat >>confdefs.h <<_ACEOF
19106 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19107 _ACEOF
19111 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19112 #ifdef HAVE_SYS_MTIO_H
19113 #include <sys/mtio.h>
19114 #endif
19116 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19118 cat >>confdefs.h <<_ACEOF
19119 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19120 _ACEOF
19126 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19127 #include <getopt.h>
19128 #endif
19130 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19132 cat >>confdefs.h <<_ACEOF
19133 #define HAVE_STRUCT_OPTION_NAME 1
19134 _ACEOF
19140 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19141 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19143 cat >>confdefs.h <<_ACEOF
19144 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19145 _ACEOF
19149 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19150 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19152 cat >>confdefs.h <<_ACEOF
19153 #define HAVE_STRUCT_STAT_ST_MTIM 1
19154 _ACEOF
19158 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19159 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19161 cat >>confdefs.h <<_ACEOF
19162 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19163 _ACEOF
19167 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19168 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19170 cat >>confdefs.h <<_ACEOF
19171 #define HAVE_STRUCT_STAT_ST_CTIM 1
19172 _ACEOF
19176 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19177 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19179 cat >>confdefs.h <<_ACEOF
19180 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19181 _ACEOF
19185 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19186 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19188 cat >>confdefs.h <<_ACEOF
19189 #define HAVE_STRUCT_STAT_ST_ATIM 1
19190 _ACEOF
19194 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19195 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19197 cat >>confdefs.h <<_ACEOF
19198 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19199 _ACEOF
19203 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19204 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19206 cat >>confdefs.h <<_ACEOF
19207 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19208 _ACEOF
19212 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19213 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19215 cat >>confdefs.h <<_ACEOF
19216 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19217 _ACEOF
19221 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19222 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19224 cat >>confdefs.h <<_ACEOF
19225 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19226 _ACEOF
19230 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19231 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19233 cat >>confdefs.h <<_ACEOF
19234 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19235 _ACEOF
19239 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19240 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19242 cat >>confdefs.h <<_ACEOF
19243 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19244 _ACEOF
19250 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
19251 #include <sys/types.h>
19252 #endif
19253 #ifdef HAVE_NETINET_IN_H
19254 #include <netinet/in.h>
19255 #endif
19257 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19259 cat >>confdefs.h <<_ACEOF
19260 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19261 _ACEOF
19267 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19268 #include <sys/types.h>
19269 #endif
19270 #ifdef HAVE_NETINET_IN_H
19271 #include <netinet/in.h>
19272 #endif
19273 #ifdef HAVE_RESOLV_H
19274 #include <resolv.h>
19275 #endif
19277 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19279 cat >>confdefs.h <<_ACEOF
19280 #define HAVE_STRUCT___RES_STATE 1
19281 _ACEOF
19287 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
19288 #include <resolv.h>
19289 #endif
19291 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19293 cat >>confdefs.h <<_ACEOF
19294 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19295 _ACEOF
19301 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19302 #include <sys/types.h>
19303 #endif
19304 #ifdef HAVE_NETINET_IN_H
19305 # include <netinet/in.h>
19306 #endif
19307 #ifdef HAVE_ARPA_NAMESER_H
19308 # include <arpa/nameser.h>
19309 #endif
19311 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19313 cat >>confdefs.h <<_ACEOF
19314 #define HAVE_NS_MSG__MSG_PTR 1
19315 _ACEOF
19321 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19322 #include <sys/types.h>
19323 #endif
19324 #ifdef HAVE_NETINET_IN_H
19325 #include <netinet/in.h>
19326 #endif
19327 #ifdef HAVE_NETINET_IP_H
19328 #include <netinet/ip.h>
19329 #endif
19330 #ifdef HAVE_NETINET_IP_ICMP_H
19331 #include <netinet/ip_icmp.h>
19332 #endif
19333 #ifdef HAVE_NETINET_ICMP_VAR_H
19334 #include <netinet/icmp_var.h>
19335 #endif
19337 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19339 cat >>confdefs.h <<_ACEOF
19340 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19341 _ACEOF
19347 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19348 #include <sys/types.h>
19349 #endif
19350 #ifdef HAVE_ALIAS_H
19351 #include <alias.h>
19352 #endif
19353 #ifdef HAVE_SYS_SOCKET_H
19354 #include <sys/socket.h>
19355 #endif
19356 #ifdef HAVE_SYS_SOCKETVAR_H
19357 #include <sys/socketvar.h>
19358 #endif
19359 #ifdef HAVE_SYS_TIMEOUT_H
19360 #include <sys/timeout.h>
19361 #endif
19362 #ifdef HAVE_NETINET_IN_H
19363 #include <netinet/in.h>
19364 #endif
19365 #ifdef HAVE_NETINET_IN_SYSTM_H
19366 #include <netinet/in_systm.h>
19367 #endif
19368 #ifdef HAVE_NETINET_IP_H
19369 #include <netinet/ip.h>
19370 #endif
19371 #ifdef HAVE_NETINET_IP_VAR_H
19372 #include <netinet/ip_var.h>
19373 #endif
19374 #ifdef HAVE_NETINET_IP_ICMP_H
19375 #include <netinet/ip_icmp.h>
19376 #endif
19377 #ifdef HAVE_NETINET_ICMP_VAR_H
19378 #include <netinet/icmp_var.h>
19379 #endif
19381 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19383 cat >>confdefs.h <<_ACEOF
19384 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19385 _ACEOF
19391 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19392 #include <sys/types.h>
19393 #endif
19394 #ifdef HAVE_SYS_SOCKETVAR_H
19395 #include <sys/socketvar.h>
19396 #endif
19397 #ifdef HAVE_NETINET_IN_H
19398 #include <netinet/in.h>
19399 #endif
19400 #ifdef HAVE_NETINET_IP_VAR_H
19401 #include <netinet/ip_var.h>
19402 #endif
19404 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19406 cat >>confdefs.h <<_ACEOF
19407 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19408 _ACEOF
19414 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
19415 #include <netinet/ip_var.h>
19416 #endif
19418 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19420 cat >>confdefs.h <<_ACEOF
19421 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19422 _ACEOF
19428 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19429 #include <sys/types.h>
19430 #endif
19431 #ifdef HAVE_SYS_SOCKETVAR_H
19432 #include <sys/socketvar.h>
19433 #endif
19434 #ifdef HAVE_NETINET_IN_H
19435 #include <netinet/in.h>
19436 #endif
19437 #ifdef HAVE_NETINET_TCP_H
19438 #include <netinet/tcp.h>
19439 #endif
19440 #ifdef HAVE_NETINET_TCP_VAR_H
19441 #include <netinet/tcp_var.h>
19442 #endif
19444 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19446 cat >>confdefs.h <<_ACEOF
19447 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19448 _ACEOF
19454 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
19455 #include <netinet/tcp_var.h>
19456 #endif
19458 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19460 cat >>confdefs.h <<_ACEOF
19461 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19462 _ACEOF
19468 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19469 #include <sys/types.h>
19470 #endif
19471 #ifdef HAVE_NETINET_IN_H
19472 #include <netinet/in.h>
19473 #endif
19474 #ifdef HAVE_NETINET_IP_VAR_H
19475 #include <netinet/ip_var.h>
19476 #endif
19477 #ifdef HAVE_NETINET_UDP_H
19478 #include <netinet/udp.h>
19479 #endif
19480 #ifdef HAVE_NETINET_UDP_VAR_H
19481 #include <netinet/udp_var.h>
19482 #endif
19484 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19486 cat >>confdefs.h <<_ACEOF
19487 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19488 _ACEOF
19494 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19495 #include <sys/types.h>
19496 #endif
19497 #ifdef HAVE_NET_IF_H
19498 # include <net/if.h>
19499 #endif
19501 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19503 cat >>confdefs.h <<_ACEOF
19504 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19505 _ACEOF
19511 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19512 # include <sys/sysinfo.h>
19513 #endif
19515 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19517 cat >>confdefs.h <<_ACEOF
19518 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19519 _ACEOF
19523 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19524 # include <sys/sysinfo.h>
19525 #endif
19527 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19529 cat >>confdefs.h <<_ACEOF
19530 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19531 _ACEOF
19537 ac_save_LIBS="$LIBS"
19538 LIBS="$LIBS -lm"
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19540 $as_echo_n "checking for isfinite... " >&6; }
19541 if ${ac_cv_have_isfinite+:} false; then :
19542 $as_echo_n "(cached) " >&6
19543 else
19544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19545 /* end confdefs.h. */
19546 #define _GNU_SOURCE
19547 #include <math.h>
19549 main ()
19551 float f = 0.0; return isfinite(f)
19553 return 0;
19555 _ACEOF
19556 if ac_fn_c_try_link "$LINENO"; then :
19557 ac_cv_have_isfinite="yes"
19558 else
19559 ac_cv_have_isfinite="no"
19561 rm -f core conftest.err conftest.$ac_objext \
19562 conftest$ac_exeext conftest.$ac_ext
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19565 $as_echo "$ac_cv_have_isfinite" >&6; }
19566 if test "$ac_cv_have_isfinite" = "yes"
19567 then
19569 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19574 $as_echo_n "checking for isinf... " >&6; }
19575 if ${ac_cv_have_isinf+:} false; then :
19576 $as_echo_n "(cached) " >&6
19577 else
19578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19579 /* end confdefs.h. */
19580 #include <math.h>
19582 main ()
19584 float f = 0.0; return isinf(f)
19586 return 0;
19588 _ACEOF
19589 if ac_fn_c_try_link "$LINENO"; then :
19590 ac_cv_have_isinf="yes"
19591 else
19592 ac_cv_have_isinf="no"
19594 rm -f core conftest.err conftest.$ac_objext \
19595 conftest$ac_exeext conftest.$ac_ext
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19598 $as_echo "$ac_cv_have_isinf" >&6; }
19599 if test "$ac_cv_have_isinf" = "yes"
19600 then
19602 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19607 $as_echo_n "checking for isnan... " >&6; }
19608 if ${ac_cv_have_isnan+:} false; then :
19609 $as_echo_n "(cached) " >&6
19610 else
19611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19612 /* end confdefs.h. */
19613 #include <math.h>
19615 main ()
19617 float f = 0.0; return isnan(f)
19619 return 0;
19621 _ACEOF
19622 if ac_fn_c_try_link "$LINENO"; then :
19623 ac_cv_have_isnan="yes"
19624 else
19625 ac_cv_have_isnan="no"
19627 rm -f core conftest.err conftest.$ac_objext \
19628 conftest$ac_exeext conftest.$ac_ext
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19631 $as_echo "$ac_cv_have_isnan" >&6; }
19632 if test "$ac_cv_have_isnan" = "yes"
19633 then
19635 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19639 for ac_func in \
19640 acosh \
19641 acoshf \
19642 asinh \
19643 asinhf \
19644 atanh \
19645 atanhf \
19646 cbrt \
19647 cbrtf \
19648 erf \
19649 erfc \
19650 erfcf \
19651 erff \
19652 exp2 \
19653 exp2f \
19654 expm1 \
19655 expm1f \
19656 fma \
19657 fmaf \
19658 ilogb \
19659 ilogbf \
19660 j0 \
19661 j1 \
19662 jn \
19663 lgamma \
19664 lgammaf \
19665 llrint \
19666 llrintf \
19667 llround \
19668 llroundf \
19669 log1p \
19670 log1pf \
19671 log2 \
19672 log2f \
19673 lrint \
19674 lrintf \
19675 lround \
19676 lroundf \
19677 nearbyint \
19678 nearbyintf \
19679 nexttoward \
19680 nexttowardf \
19681 remainder \
19682 remainderf \
19683 remquo \
19684 remquof \
19685 rint \
19686 rintf \
19687 round \
19688 roundf \
19689 tgamma \
19690 tgammaf \
19691 trunc \
19692 truncf \
19693 y0 \
19694 y1 \
19697 do :
19698 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19699 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19700 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19701 cat >>confdefs.h <<_ACEOF
19702 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19703 _ACEOF
19706 done
19708 LIBS="$ac_save_LIBS"
19710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19711 $as_echo_n "checking for __builtin_popcount... " >&6; }
19712 if ${ac_cv_have___builtin_popcount+:} false; then :
19713 $as_echo_n "(cached) " >&6
19714 else
19715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19716 /* end confdefs.h. */
19719 main ()
19721 return __builtin_popcount(1)
19723 return 0;
19725 _ACEOF
19726 if ac_fn_c_try_link "$LINENO"; then :
19727 ac_cv_have___builtin_popcount="yes"
19728 else
19729 ac_cv_have___builtin_popcount="no"
19731 rm -f core conftest.err conftest.$ac_objext \
19732 conftest$ac_exeext conftest.$ac_ext
19734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19735 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19736 if test "$ac_cv_have___builtin_popcount" = "yes"
19737 then
19739 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19744 $as_echo_n "checking for __clear_cache... " >&6; }
19745 if ${ac_cv_have___clear_cache+:} false; then :
19746 $as_echo_n "(cached) " >&6
19747 else
19748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19749 /* end confdefs.h. */
19752 main ()
19754 __clear_cache((void*)0, (void*)0); return 0;
19756 return 0;
19758 _ACEOF
19759 if ac_fn_c_try_link "$LINENO"; then :
19760 ac_cv_have___clear_cache="yes"
19761 else
19762 ac_cv_have___clear_cache="no"
19764 rm -f core conftest.err conftest.$ac_objext \
19765 conftest$ac_exeext conftest.$ac_ext
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19768 $as_echo "$ac_cv_have___clear_cache" >&6; }
19769 if test "$ac_cv_have___clear_cache" = "yes"
19770 then
19772 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19777 case $host_cpu in
19778 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19779 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19780 if ${ac_cv_cpp_def___i386__+:} false; then :
19781 $as_echo_n "(cached) " >&6
19782 else
19783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19784 /* end confdefs.h. */
19785 #ifndef __i386__
19787 #endif
19788 _ACEOF
19789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19790 $EGREP "yes" >/dev/null 2>&1; then :
19791 ac_cv_cpp_def___i386__=yes
19792 else
19793 ac_cv_cpp_def___i386__=no
19795 rm -f conftest*
19798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19799 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19800 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19801 CFLAGS="$CFLAGS -D__i386__"
19802 LINTFLAGS="$LINTFLAGS -D__i386__"
19803 fi ;;
19804 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19805 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19806 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19807 $as_echo_n "(cached) " >&6
19808 else
19809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19810 /* end confdefs.h. */
19811 #ifndef __x86_64__
19813 #endif
19814 _ACEOF
19815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19816 $EGREP "yes" >/dev/null 2>&1; then :
19817 ac_cv_cpp_def___x86_64__=yes
19818 else
19819 ac_cv_cpp_def___x86_64__=no
19821 rm -f conftest*
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19825 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19826 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19827 CFLAGS="$CFLAGS -D__x86_64__"
19828 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19829 fi ;;
19830 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19831 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19832 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19833 $as_echo_n "(cached) " >&6
19834 else
19835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19836 /* end confdefs.h. */
19837 #ifndef __sparc64__
19839 #endif
19840 _ACEOF
19841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19842 $EGREP "yes" >/dev/null 2>&1; then :
19843 ac_cv_cpp_def___sparc64__=yes
19844 else
19845 ac_cv_cpp_def___sparc64__=no
19847 rm -f conftest*
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19851 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19852 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19853 CFLAGS="$CFLAGS -D__sparc64__"
19854 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19855 fi ;;
19856 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19857 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19858 if ${ac_cv_cpp_def___sparc__+:} false; then :
19859 $as_echo_n "(cached) " >&6
19860 else
19861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19862 /* end confdefs.h. */
19863 #ifndef __sparc__
19865 #endif
19866 _ACEOF
19867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19868 $EGREP "yes" >/dev/null 2>&1; then :
19869 ac_cv_cpp_def___sparc__=yes
19870 else
19871 ac_cv_cpp_def___sparc__=no
19873 rm -f conftest*
19876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19877 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19878 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19879 CFLAGS="$CFLAGS -D__sparc__"
19880 LINTFLAGS="$LINTFLAGS -D__sparc__"
19881 fi ;;
19882 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19883 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19884 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19885 $as_echo_n "(cached) " >&6
19886 else
19887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19888 /* end confdefs.h. */
19889 #ifndef __powerpc64__
19891 #endif
19892 _ACEOF
19893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19894 $EGREP "yes" >/dev/null 2>&1; then :
19895 ac_cv_cpp_def___powerpc64__=yes
19896 else
19897 ac_cv_cpp_def___powerpc64__=no
19899 rm -f conftest*
19902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19903 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19904 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19905 CFLAGS="$CFLAGS -D__powerpc64__"
19906 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19907 fi ;;
19908 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19909 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19910 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19911 $as_echo_n "(cached) " >&6
19912 else
19913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19914 /* end confdefs.h. */
19915 #ifndef __powerpc__
19917 #endif
19918 _ACEOF
19919 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19920 $EGREP "yes" >/dev/null 2>&1; then :
19921 ac_cv_cpp_def___powerpc__=yes
19922 else
19923 ac_cv_cpp_def___powerpc__=no
19925 rm -f conftest*
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19929 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19930 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19931 CFLAGS="$CFLAGS -D__powerpc__"
19932 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19933 fi ;;
19934 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19935 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19936 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19937 $as_echo_n "(cached) " >&6
19938 else
19939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19940 /* end confdefs.h. */
19941 #ifndef __aarch64__
19943 #endif
19944 _ACEOF
19945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19946 $EGREP "yes" >/dev/null 2>&1; then :
19947 ac_cv_cpp_def___aarch64__=yes
19948 else
19949 ac_cv_cpp_def___aarch64__=no
19951 rm -f conftest*
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19955 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19956 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19957 CFLAGS="$CFLAGS -D__aarch64__"
19958 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19959 fi ;;
19960 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19961 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19962 if ${ac_cv_cpp_def___arm__+:} false; then :
19963 $as_echo_n "(cached) " >&6
19964 else
19965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19966 /* end confdefs.h. */
19967 #ifndef __arm__
19969 #endif
19970 _ACEOF
19971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19972 $EGREP "yes" >/dev/null 2>&1; then :
19973 ac_cv_cpp_def___arm__=yes
19974 else
19975 ac_cv_cpp_def___arm__=no
19977 rm -f conftest*
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19981 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19982 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19983 CFLAGS="$CFLAGS -D__arm__"
19984 LINTFLAGS="$LINTFLAGS -D__arm__"
19985 fi ;;
19986 esac
19988 case $host_vendor in
19989 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19990 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19991 if ${ac_cv_cpp_def___sun__+:} false; then :
19992 $as_echo_n "(cached) " >&6
19993 else
19994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19995 /* end confdefs.h. */
19996 #ifndef __sun__
19998 #endif
19999 _ACEOF
20000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20001 $EGREP "yes" >/dev/null 2>&1; then :
20002 ac_cv_cpp_def___sun__=yes
20003 else
20004 ac_cv_cpp_def___sun__=no
20006 rm -f conftest*
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20010 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
20011 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
20012 CFLAGS="$CFLAGS -D__sun__"
20013 LINTFLAGS="$LINTFLAGS -D__sun__"
20014 fi ;;
20015 esac
20021 ac_config_commands="$ac_config_commands include/stamp-h"
20023 $as_echo_n "creating Makefile rules..." >&6
20025 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
20026 OPENGL_LIBS = $OPENGL_LIBS
20027 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20028 IOKIT_LIBS = $IOKIT_LIBS
20029 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
20030 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20031 CORESERVICES_LIBS = $CORESERVICES_LIBS
20032 APPKIT_LIBS = $APPKIT_LIBS
20033 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20034 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20035 SECURITY_LIBS = $SECURITY_LIBS
20036 COREAUDIO_LIBS = $COREAUDIO_LIBS
20037 OPENAL_LIBS = $OPENAL_LIBS
20038 OPENCL_LIBS = $OPENCL_LIBS
20039 QUICKTIME_LIBS = $QUICKTIME_LIBS
20040 CARBON_LIBS = $CARBON_LIBS
20041 METAL_LIBS = $METAL_LIBS
20042 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20043 PTHREAD_LIBS = $PTHREAD_LIBS
20044 X_CFLAGS = $X_CFLAGS
20045 X_PRE_LIBS = $X_PRE_LIBS
20046 X_LIBS = $X_LIBS
20047 X_EXTRA_LIBS = $X_EXTRA_LIBS
20048 PCAP_LIBS = $PCAP_LIBS
20049 XML2_CFLAGS = $XML2_CFLAGS
20050 XML2_LIBS = $XML2_LIBS
20051 XSLT_CFLAGS = $XSLT_CFLAGS
20052 XSLT_LIBS = $XSLT_LIBS
20053 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20054 INOTIFY_LIBS = $INOTIFY_LIBS
20055 DBUS_CFLAGS = $DBUS_CFLAGS
20056 DBUS_LIBS = $DBUS_LIBS
20057 HAL_CFLAGS = $HAL_CFLAGS
20058 HAL_LIBS = $HAL_LIBS
20059 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20060 GNUTLS_LIBS = $GNUTLS_LIBS
20061 SANE_CFLAGS = $SANE_CFLAGS
20062 SANE_LIBS = $SANE_LIBS
20063 USB_CFLAGS = $USB_CFLAGS
20064 USB_LIBS = $USB_LIBS
20065 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20066 GPHOTO2_LIBS = $GPHOTO2_LIBS
20067 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20068 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20069 RESOLV_LIBS = $RESOLV_LIBS
20070 LCMS2_CFLAGS = $LCMS2_CFLAGS
20071 LCMS2_LIBS = $LCMS2_LIBS
20072 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20073 FREETYPE_LIBS = $FREETYPE_LIBS
20074 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20075 PULSE_CFLAGS = $PULSE_CFLAGS
20076 PULSE_LIBS = $PULSE_LIBS
20077 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20078 GSTREAMER_LIBS = $GSTREAMER_LIBS
20079 ALSA_LIBS = $ALSA_LIBS
20080 OSS4_CFLAGS = $OSS4_CFLAGS
20081 OSS4_LIBS = $OSS4_LIBS
20082 UDEV_CFLAGS = $UDEV_CFLAGS
20083 UDEV_LIBS = $UDEV_LIBS
20084 UNWIND_CFLAGS = $UNWIND_CFLAGS
20085 UNWIND_LIBS = $UNWIND_LIBS
20086 SDL2_CFLAGS = $SDL2_CFLAGS
20087 SDL2_LIBS = $SDL2_LIBS
20088 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20089 FAUDIO_LIBS = $FAUDIO_LIBS
20090 CAPI20_CFLAGS = $CAPI20_CFLAGS
20091 CAPI20_LIBS = $CAPI20_LIBS
20092 CUPS_CFLAGS = $CUPS_CFLAGS
20093 CUPS_LIBS = $CUPS_LIBS
20094 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20095 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20096 KRB5_CFLAGS = $KRB5_CFLAGS
20097 KRB5_LIBS = $KRB5_LIBS
20098 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20099 GSSAPI_LIBS = $GSSAPI_LIBS
20100 JPEG_CFLAGS = $JPEG_CFLAGS
20101 JPEG_LIBS = $JPEG_LIBS
20102 PNG_CFLAGS = $PNG_CFLAGS
20103 PNG_LIBS = $PNG_LIBS
20104 TIFF_CFLAGS = $TIFF_CFLAGS
20105 TIFF_LIBS = $TIFF_LIBS
20106 MPG123_CFLAGS = $MPG123_CFLAGS
20107 MPG123_LIBS = $MPG123_LIBS
20108 KSTAT_LIBS = $KSTAT_LIBS
20109 PROCSTAT_LIBS = $PROCSTAT_LIBS
20110 NETAPI_CFLAGS = $NETAPI_CFLAGS
20111 NETAPI_LIBS = $NETAPI_LIBS
20112 VKD3D_CFLAGS = $VKD3D_CFLAGS
20113 VKD3D_LIBS = $VKD3D_LIBS
20114 POLL_LIBS = $POLL_LIBS
20115 RT_LIBS = $RT_LIBS
20116 LDAP_CFLAGS = $LDAP_CFLAGS
20117 LDAP_LIBS = $LDAP_LIBS
20122 wine_fn_append_rule "
20123 # Rules automatically generated by configure
20125 .INIT: Makefile
20126 .MAKEFILEDEPS:
20127 all: Makefile
20128 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20129 @./config.status Make.tmp Makefile
20130 depend: \$(MAKEDEP) dummy
20131 \$(MAKEDEP)"
20133 ac_config_links="$ac_config_links wine:tools/winewrapper"
20134 wine_fn_config_symlink wine
20135 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20136 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20137 wine_fn_config_symlink wine64
20140 wine_fn_config_makefile dlls/acledit enable_acledit
20141 wine_fn_config_makefile dlls/aclui enable_aclui
20142 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20143 wine_fn_config_makefile dlls/activeds enable_activeds
20144 wine_fn_config_makefile dlls/activeds/tests enable_tests
20145 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20146 wine_fn_config_makefile dlls/adsiid enable_adsiid
20147 wine_fn_config_makefile dlls/adsldp enable_adsldp
20148 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20149 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20150 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20151 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20152 wine_fn_config_makefile dlls/advpack enable_advpack
20153 wine_fn_config_makefile dlls/advpack/tests enable_tests
20154 wine_fn_config_makefile dlls/amsi enable_amsi
20155 wine_fn_config_makefile dlls/amstream enable_amstream
20156 wine_fn_config_makefile dlls/amstream/tests enable_tests
20157 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20159 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20160 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20162 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20167 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20175 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20177 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20179 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20181 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20182 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20183 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20185 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20190 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20191 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20193 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20194 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20203 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20207 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20208 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20211 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20213 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20214 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20218 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20219 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20227 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20228 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20229 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20230 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20238 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20242 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20243 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20244 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20267 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20270 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20271 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20273 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20274 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20277 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20285 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20290 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20291 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20296 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20298 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20317 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20318 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20338 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20349 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20351 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20353 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20355 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20357 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20358 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20359 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20360 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20361 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20362 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20363 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20364 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20365 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20366 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20367 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20368 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20369 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20370 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20371 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20372 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20373 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20374 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20375 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20376 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20377 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20378 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20379 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20380 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20381 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20382 wine_fn_config_makefile dlls/apphelp enable_apphelp
20383 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20384 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20385 wine_fn_config_makefile dlls/atl enable_atl
20386 wine_fn_config_makefile dlls/atl/tests enable_tests
20387 wine_fn_config_makefile dlls/atl100 enable_atl100
20388 wine_fn_config_makefile dlls/atl100/tests enable_tests
20389 wine_fn_config_makefile dlls/atl110 enable_atl110
20390 wine_fn_config_makefile dlls/atl80 enable_atl80
20391 wine_fn_config_makefile dlls/atl80/tests enable_tests
20392 wine_fn_config_makefile dlls/atl90 enable_atl90
20393 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20394 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20395 wine_fn_config_makefile dlls/atmlib enable_atmlib
20396 wine_fn_config_makefile dlls/authz enable_authz
20397 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20398 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20399 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20400 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20401 wine_fn_config_makefile dlls/avrt enable_avrt
20402 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20403 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20404 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20405 wine_fn_config_makefile dlls/browseui enable_browseui
20406 wine_fn_config_makefile dlls/browseui/tests enable_tests
20407 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20408 wine_fn_config_makefile dlls/cabinet enable_cabinet
20409 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20410 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20411 wine_fn_config_makefile dlls/cards enable_cards
20412 wine_fn_config_makefile dlls/cdosys enable_cdosys
20413 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20414 wine_fn_config_makefile dlls/clusapi enable_clusapi
20415 wine_fn_config_makefile dlls/combase enable_combase
20416 wine_fn_config_makefile dlls/combase/tests enable_tests
20417 wine_fn_config_makefile dlls/comcat enable_comcat
20418 wine_fn_config_makefile dlls/comcat/tests enable_tests
20419 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20420 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20421 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20422 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20423 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20424 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20425 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20426 wine_fn_config_makefile dlls/compstui enable_compstui
20427 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20428 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20429 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20430 wine_fn_config_makefile dlls/connect enable_connect
20431 wine_fn_config_makefile dlls/credui enable_credui
20432 wine_fn_config_makefile dlls/credui/tests enable_tests
20433 wine_fn_config_makefile dlls/crtdll enable_crtdll
20434 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20435 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20436 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20437 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20438 wine_fn_config_makefile dlls/cryptext enable_cryptext
20439 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20440 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20441 wine_fn_config_makefile dlls/cryptui enable_cryptui
20442 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20443 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20444 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20445 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20446 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20447 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20448 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20449 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20450 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20451 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20452 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20453 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20454 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20455 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20456 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20457 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20458 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20459 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20460 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20461 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20462 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20463 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20464 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20465 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20466 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20467 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20468 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20469 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20470 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20471 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20472 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20473 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20474 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20475 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20476 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20477 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20478 wine_fn_config_makefile dlls/d3dim enable_d3dim
20479 wine_fn_config_makefile dlls/d3drm enable_d3drm
20480 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20481 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20482 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20483 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20484 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20485 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20486 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20487 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20488 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20489 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20490 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20491 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20492 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20493 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20494 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20495 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20496 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20497 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20498 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20499 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20500 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20501 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20502 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20503 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20504 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20505 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20506 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20507 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20508 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20509 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20510 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20511 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20512 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20513 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20514 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20515 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20516 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20517 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20518 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20519 wine_fn_config_makefile dlls/davclnt enable_davclnt
20520 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20521 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20522 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20523 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20524 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20525 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20526 wine_fn_config_makefile dlls/ddraw enable_ddraw
20527 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20528 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20529 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20530 wine_fn_config_makefile dlls/devenum enable_devenum
20531 wine_fn_config_makefile dlls/devenum/tests enable_tests
20532 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20533 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20534 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20535 wine_fn_config_makefile dlls/difxapi enable_difxapi
20536 wine_fn_config_makefile dlls/dinput enable_dinput
20537 wine_fn_config_makefile dlls/dinput/tests enable_tests
20538 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20539 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20540 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20541 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20542 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20543 wine_fn_config_makefile dlls/dispex enable_dispex
20544 wine_fn_config_makefile dlls/dispex/tests enable_tests
20545 wine_fn_config_makefile dlls/display.drv16 enable_win16
20546 wine_fn_config_makefile dlls/dmband enable_dmband
20547 wine_fn_config_makefile dlls/dmband/tests enable_tests
20548 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20549 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20550 wine_fn_config_makefile dlls/dmime enable_dmime
20551 wine_fn_config_makefile dlls/dmime/tests enable_tests
20552 wine_fn_config_makefile dlls/dmloader enable_dmloader
20553 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20554 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20555 wine_fn_config_makefile dlls/dmscript enable_dmscript
20556 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20557 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20558 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20559 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20560 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20561 wine_fn_config_makefile dlls/dmusic enable_dmusic
20562 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20563 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20564 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20565 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20566 wine_fn_config_makefile dlls/dplay enable_dplay
20567 wine_fn_config_makefile dlls/dplayx enable_dplayx
20568 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20569 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20570 wine_fn_config_makefile dlls/dpnet enable_dpnet
20571 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20572 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20573 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20574 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20575 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20576 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20577 wine_fn_config_makefile dlls/drmclien enable_drmclien
20578 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20579 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20580 wine_fn_config_makefile dlls/dsound enable_dsound
20581 wine_fn_config_makefile dlls/dsound/tests enable_tests
20582 wine_fn_config_makefile dlls/dsquery enable_dsquery
20583 wine_fn_config_makefile dlls/dssenh enable_dssenh
20584 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20585 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20586 wine_fn_config_makefile dlls/dswave enable_dswave
20587 wine_fn_config_makefile dlls/dswave/tests enable_tests
20588 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20589 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20590 wine_fn_config_makefile dlls/dwrite enable_dwrite
20591 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20592 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20593 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20594 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20595 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20596 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20597 wine_fn_config_makefile dlls/dxgi enable_dxgi
20598 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20599 wine_fn_config_makefile dlls/dxguid enable_dxguid
20600 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20601 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20602 wine_fn_config_makefile dlls/esent enable_esent
20603 wine_fn_config_makefile dlls/evr enable_evr
20604 wine_fn_config_makefile dlls/evr/tests enable_tests
20605 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20606 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20607 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20608 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20609 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20610 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20611 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20612 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20613 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20614 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20615 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20616 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20617 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20618 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20619 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20620 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20621 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20622 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20623 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20624 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20625 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20626 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20627 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20628 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20629 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20630 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20631 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20632 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20633 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20634 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20635 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20636 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20637 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20638 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20639 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20640 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20641 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20642 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20643 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20644 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20645 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20646 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20647 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
20648 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20649 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20650 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20651 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20652 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20653 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20654 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20655 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20656 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20657 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20658 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20659 wine_fn_config_makefile dlls/faultrep enable_faultrep
20660 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20661 wine_fn_config_makefile dlls/feclient enable_feclient
20662 wine_fn_config_makefile dlls/fltlib enable_fltlib
20663 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20664 wine_fn_config_makefile dlls/fntcache enable_fntcache
20665 wine_fn_config_makefile dlls/fontsub enable_fontsub
20666 wine_fn_config_makefile dlls/fusion enable_fusion
20667 wine_fn_config_makefile dlls/fusion/tests enable_tests
20668 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20669 wine_fn_config_makefile dlls/gameux enable_gameux
20670 wine_fn_config_makefile dlls/gameux/tests enable_tests
20671 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20672 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20673 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20674 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20675 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20676 wine_fn_config_makefile dlls/glu32 enable_glu32
20677 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20678 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20679 wine_fn_config_makefile dlls/hal enable_hal
20680 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20681 wine_fn_config_makefile dlls/hid enable_hid
20682 wine_fn_config_makefile dlls/hid/tests enable_tests
20683 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20684 wine_fn_config_makefile dlls/hlink enable_hlink
20685 wine_fn_config_makefile dlls/hlink/tests enable_tests
20686 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20687 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20688 wine_fn_config_makefile dlls/http.sys enable_http_sys
20689 wine_fn_config_makefile dlls/httpapi enable_httpapi
20690 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20691 wine_fn_config_makefile dlls/iccvid enable_iccvid
20692 wine_fn_config_makefile dlls/icmp enable_icmp
20693 wine_fn_config_makefile dlls/ieframe enable_ieframe
20694 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20695 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20696 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20697 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20698 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20699 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20700 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20701 wine_fn_config_makefile dlls/imm32 enable_imm32
20702 wine_fn_config_makefile dlls/imm32/tests enable_tests
20703 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20704 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20705 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20706 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20707 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20708 wine_fn_config_makefile dlls/infosoft enable_infosoft
20709 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20710 wine_fn_config_makefile dlls/initpki enable_initpki
20711 wine_fn_config_makefile dlls/inkobj enable_inkobj
20712 wine_fn_config_makefile dlls/inseng enable_inseng
20713 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20714 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20715 wine_fn_config_makefile dlls/iprop enable_iprop
20716 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20717 wine_fn_config_makefile dlls/itircl enable_itircl
20718 wine_fn_config_makefile dlls/itss enable_itss
20719 wine_fn_config_makefile dlls/itss/tests enable_tests
20720 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20721 wine_fn_config_makefile dlls/jscript enable_jscript
20722 wine_fn_config_makefile dlls/jscript/tests enable_tests
20723 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20724 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20725 wine_fn_config_makefile dlls/kerberos enable_kerberos
20726 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20727 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20728 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20729 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20730 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20731 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20732 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20733 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20734 wine_fn_config_makefile dlls/ksuser enable_ksuser
20735 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20736 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20737 wine_fn_config_makefile dlls/loadperf enable_loadperf
20738 wine_fn_config_makefile dlls/localspl enable_localspl
20739 wine_fn_config_makefile dlls/localspl/tests enable_tests
20740 wine_fn_config_makefile dlls/localui enable_localui
20741 wine_fn_config_makefile dlls/localui/tests enable_tests
20742 wine_fn_config_makefile dlls/lz32 enable_lz32
20743 wine_fn_config_makefile dlls/lz32/tests enable_tests
20744 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20745 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20746 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20747 wine_fn_config_makefile dlls/mapistub enable_mapistub
20748 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20749 wine_fn_config_makefile dlls/mcicda enable_mcicda
20750 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20751 wine_fn_config_makefile dlls/mciseq enable_mciseq
20752 wine_fn_config_makefile dlls/mciwave enable_mciwave
20753 wine_fn_config_makefile dlls/mf enable_mf
20754 wine_fn_config_makefile dlls/mf/tests enable_tests
20755 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20756 wine_fn_config_makefile dlls/mferror enable_mferror
20757 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20758 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20759 wine_fn_config_makefile dlls/mfplat enable_mfplat
20760 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20761 wine_fn_config_makefile dlls/mfplay enable_mfplay
20762 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20763 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20764 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20765 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20766 wine_fn_config_makefile dlls/midimap enable_midimap
20767 wine_fn_config_makefile dlls/mlang enable_mlang
20768 wine_fn_config_makefile dlls/mlang/tests enable_tests
20769 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20770 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20771 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20772 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20773 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20774 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20775 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20776 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20777 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20778 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20779 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20780 wine_fn_config_makefile dlls/mpr enable_mpr
20781 wine_fn_config_makefile dlls/mpr/tests enable_tests
20782 wine_fn_config_makefile dlls/mprapi enable_mprapi
20783 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20784 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20785 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20786 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20787 wine_fn_config_makefile dlls/msado15 enable_msado15
20788 wine_fn_config_makefile dlls/msado15/tests enable_tests
20789 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20790 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20791 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20792 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20793 wine_fn_config_makefile dlls/mscms enable_mscms
20794 wine_fn_config_makefile dlls/mscms/tests enable_tests
20795 wine_fn_config_makefile dlls/mscoree enable_mscoree
20796 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20797 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20798 wine_fn_config_makefile dlls/msctf enable_msctf
20799 wine_fn_config_makefile dlls/msctf/tests enable_tests
20800 wine_fn_config_makefile dlls/msctfp enable_msctfp
20801 wine_fn_config_makefile dlls/msdaps enable_msdaps
20802 wine_fn_config_makefile dlls/msdelta enable_msdelta
20803 wine_fn_config_makefile dlls/msdmo enable_msdmo
20804 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20805 wine_fn_config_makefile dlls/msdrm enable_msdrm
20806 wine_fn_config_makefile dlls/msftedit enable_msftedit
20807 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20808 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20809 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20810 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20811 wine_fn_config_makefile dlls/mshtml enable_mshtml
20812 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20813 wine_fn_config_makefile dlls/msi enable_msi
20814 wine_fn_config_makefile dlls/msi/tests enable_tests
20815 wine_fn_config_makefile dlls/msident enable_msident
20816 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20817 wine_fn_config_makefile dlls/msimsg enable_msimsg
20818 wine_fn_config_makefile dlls/msimtf enable_msimtf
20819 wine_fn_config_makefile dlls/msisip enable_msisip
20820 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20821 wine_fn_config_makefile dlls/msls31 enable_msls31
20822 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20823 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20824 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20825 wine_fn_config_makefile dlls/msports enable_msports
20826 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20827 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20828 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20829 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20830 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20831 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20832 wine_fn_config_makefile dlls/mstask enable_mstask
20833 wine_fn_config_makefile dlls/mstask/tests enable_tests
20834 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20835 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20836 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20837 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20838 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20839 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20840 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20841 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20842 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20843 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20844 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20845 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20846 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20847 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20848 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20849 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20850 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20851 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20852 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20853 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20854 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20855 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20856 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20857 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20858 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20859 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20860 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20861 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20862 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20863 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20864 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20865 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20866 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20867 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20868 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20869 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20870 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20871 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20872 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20873 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20874 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20875 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20876 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20877 wine_fn_config_makefile dlls/mswsock enable_mswsock
20878 wine_fn_config_makefile dlls/msxml enable_msxml
20879 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20880 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20881 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20882 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20883 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20884 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20885 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20886 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20887 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20888 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20889 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20890 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20891 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20892 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20893 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20894 wine_fn_config_makefile dlls/netprofm enable_netprofm
20895 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20896 wine_fn_config_makefile dlls/newdev enable_newdev
20897 wine_fn_config_makefile dlls/ninput enable_ninput
20898 wine_fn_config_makefile dlls/ninput/tests enable_tests
20899 wine_fn_config_makefile dlls/normaliz enable_normaliz
20900 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20901 wine_fn_config_makefile dlls/npptools enable_npptools
20902 wine_fn_config_makefile dlls/ntdll enable_ntdll
20903 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20904 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20905 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20906 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20907 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20908 wine_fn_config_makefile dlls/ntprint enable_ntprint
20909 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20910 wine_fn_config_makefile dlls/objsel enable_objsel
20911 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20912 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20913 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20914 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20915 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20916 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20917 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20918 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20919 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20920 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20921 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20922 wine_fn_config_makefile dlls/ole32 enable_ole32
20923 wine_fn_config_makefile dlls/ole32/tests enable_tests
20924 wine_fn_config_makefile dlls/oleacc enable_oleacc
20925 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20926 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20927 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20928 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20929 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20930 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20931 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20932 wine_fn_config_makefile dlls/oledlg enable_oledlg
20933 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20934 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20935 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20936 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20937 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20938 wine_fn_config_makefile dlls/opcservices enable_opcservices
20939 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20940 wine_fn_config_makefile dlls/openal32 enable_openal32
20941 wine_fn_config_makefile dlls/opencl enable_opencl
20942 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20943 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20944 wine_fn_config_makefile dlls/packager enable_packager
20945 wine_fn_config_makefile dlls/packager/tests enable_tests
20946 wine_fn_config_makefile dlls/pdh enable_pdh
20947 wine_fn_config_makefile dlls/pdh/tests enable_tests
20948 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20949 wine_fn_config_makefile dlls/pidgen enable_pidgen
20950 wine_fn_config_makefile dlls/powrprof enable_powrprof
20951 wine_fn_config_makefile dlls/printui enable_printui
20952 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20953 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20954 wine_fn_config_makefile dlls/propsys enable_propsys
20955 wine_fn_config_makefile dlls/propsys/tests enable_tests
20956 wine_fn_config_makefile dlls/psapi enable_psapi
20957 wine_fn_config_makefile dlls/psapi/tests enable_tests
20958 wine_fn_config_makefile dlls/pstorec enable_pstorec
20959 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20960 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20961 wine_fn_config_makefile dlls/qasf enable_qasf
20962 wine_fn_config_makefile dlls/qasf/tests enable_tests
20963 wine_fn_config_makefile dlls/qcap enable_qcap
20964 wine_fn_config_makefile dlls/qcap/tests enable_tests
20965 wine_fn_config_makefile dlls/qdvd enable_qdvd
20966 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20967 wine_fn_config_makefile dlls/qedit enable_qedit
20968 wine_fn_config_makefile dlls/qedit/tests enable_tests
20969 wine_fn_config_makefile dlls/qmgr enable_qmgr
20970 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20971 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20972 wine_fn_config_makefile dlls/quartz enable_quartz
20973 wine_fn_config_makefile dlls/quartz/tests enable_tests
20974 wine_fn_config_makefile dlls/query enable_query
20975 wine_fn_config_makefile dlls/qwave enable_qwave
20976 wine_fn_config_makefile dlls/qwave/tests enable_tests
20977 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20978 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20979 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20980 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20981 wine_fn_config_makefile dlls/regapi enable_regapi
20982 wine_fn_config_makefile dlls/resutils enable_resutils
20983 wine_fn_config_makefile dlls/riched20 enable_riched20
20984 wine_fn_config_makefile dlls/riched20/tests enable_tests
20985 wine_fn_config_makefile dlls/riched32 enable_riched32
20986 wine_fn_config_makefile dlls/riched32/tests enable_tests
20987 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20988 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20989 wine_fn_config_makefile dlls/rsabase enable_rsabase
20990 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20991 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20992 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20993 wine_fn_config_makefile dlls/rtutils enable_rtutils
20994 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20995 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20996 wine_fn_config_makefile dlls/samlib enable_samlib
20997 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20998 wine_fn_config_makefile dlls/sapi enable_sapi
20999 wine_fn_config_makefile dlls/sapi/tests enable_tests
21000 wine_fn_config_makefile dlls/sas enable_sas
21001 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21002 wine_fn_config_makefile dlls/sccbase enable_sccbase
21003 wine_fn_config_makefile dlls/schannel enable_schannel
21004 wine_fn_config_makefile dlls/schannel/tests enable_tests
21005 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21006 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21007 wine_fn_config_makefile dlls/scrobj enable_scrobj
21008 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21009 wine_fn_config_makefile dlls/scrrun enable_scrrun
21010 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21011 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21012 wine_fn_config_makefile dlls/sechost enable_sechost
21013 wine_fn_config_makefile dlls/secur32 enable_secur32
21014 wine_fn_config_makefile dlls/secur32/tests enable_tests
21015 wine_fn_config_makefile dlls/security enable_security
21016 wine_fn_config_makefile dlls/sensapi enable_sensapi
21017 wine_fn_config_makefile dlls/serialui enable_serialui
21018 wine_fn_config_makefile dlls/serialui/tests enable_tests
21019 wine_fn_config_makefile dlls/setupapi enable_setupapi
21020 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21021 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21022 wine_fn_config_makefile dlls/sfc enable_sfc
21023 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21024 wine_fn_config_makefile dlls/shcore enable_shcore
21025 wine_fn_config_makefile dlls/shcore/tests enable_tests
21026 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21027 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21028 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21029 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21030 wine_fn_config_makefile dlls/shell32 enable_shell32
21031 wine_fn_config_makefile dlls/shell32/tests enable_tests
21032 wine_fn_config_makefile dlls/shfolder enable_shfolder
21033 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21034 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21035 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21036 wine_fn_config_makefile dlls/slc enable_slc
21037 wine_fn_config_makefile dlls/slc/tests enable_tests
21038 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21039 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21040 wine_fn_config_makefile dlls/softpub enable_softpub
21041 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21042 wine_fn_config_makefile dlls/spoolss enable_spoolss
21043 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21044 wine_fn_config_makefile dlls/srclient enable_srclient
21045 wine_fn_config_makefile dlls/sspicli enable_sspicli
21046 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21047 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21048 wine_fn_config_makefile dlls/sti enable_sti
21049 wine_fn_config_makefile dlls/sti/tests enable_tests
21050 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21051 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21052 wine_fn_config_makefile dlls/strmbase enable_strmbase
21053 wine_fn_config_makefile dlls/strmdll enable_strmdll
21054 wine_fn_config_makefile dlls/strmiids enable_strmiids
21055 wine_fn_config_makefile dlls/svrapi enable_svrapi
21056 wine_fn_config_makefile dlls/sxs enable_sxs
21057 wine_fn_config_makefile dlls/sxs/tests enable_tests
21058 wine_fn_config_makefile dlls/system.drv16 enable_win16
21059 wine_fn_config_makefile dlls/t2embed enable_t2embed
21060 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21061 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21062 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21063 wine_fn_config_makefile dlls/taskschd enable_taskschd
21064 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21065 wine_fn_config_makefile dlls/tdh enable_tdh
21066 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21067 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21068 wine_fn_config_makefile dlls/traffic enable_traffic
21069 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21070 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21071 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21072 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21073 wine_fn_config_makefile dlls/tzres enable_tzres
21074 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21075 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21076 wine_fn_config_makefile dlls/uianimation enable_uianimation
21077 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21078 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21079 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21080 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21081 wine_fn_config_makefile dlls/unicows enable_unicows
21082 wine_fn_config_makefile dlls/updspapi enable_updspapi
21083 wine_fn_config_makefile dlls/url enable_url
21084 wine_fn_config_makefile dlls/urlmon enable_urlmon
21085 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21086 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21087 wine_fn_config_makefile dlls/user.exe16 enable_win16
21088 wine_fn_config_makefile dlls/user32 enable_user32
21089 wine_fn_config_makefile dlls/user32/tests enable_tests
21090 wine_fn_config_makefile dlls/userenv enable_userenv
21091 wine_fn_config_makefile dlls/userenv/tests enable_tests
21092 wine_fn_config_makefile dlls/usp10 enable_usp10
21093 wine_fn_config_makefile dlls/usp10/tests enable_tests
21094 wine_fn_config_makefile dlls/utildll enable_utildll
21095 wine_fn_config_makefile dlls/uuid enable_uuid
21096 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21097 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21098 wine_fn_config_makefile dlls/vbscript enable_vbscript
21099 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21100 wine_fn_config_makefile dlls/vcomp enable_vcomp
21101 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21102 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21103 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21104 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21105 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21106 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21107 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21108 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21109 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21110 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21111 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21112 wine_fn_config_makefile dlls/version enable_version
21113 wine_fn_config_makefile dlls/version/tests enable_tests
21114 wine_fn_config_makefile dlls/vga enable_vga
21115 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21116 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21117 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21118 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21119 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21120 wine_fn_config_makefile dlls/vssapi enable_vssapi
21121 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21122 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21123 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21124 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21125 wine_fn_config_makefile dlls/w32skrnl enable_win16
21126 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21127 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21128 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21129 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21130 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21131 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21132 wine_fn_config_makefile dlls/wdscore enable_wdscore
21133 wine_fn_config_makefile dlls/webservices enable_webservices
21134 wine_fn_config_makefile dlls/webservices/tests enable_tests
21135 wine_fn_config_makefile dlls/wer enable_wer
21136 wine_fn_config_makefile dlls/wer/tests enable_tests
21137 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21138 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21139 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21140 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21141 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21142 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21143 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21144 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21145 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21146 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21147 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21148 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21149 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21150 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21151 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21152 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21153 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21154 wine_fn_config_makefile dlls/wined3d enable_wined3d
21155 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21156 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21157 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21158 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21159 wine_fn_config_makefile dlls/winemapi enable_winemapi
21160 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21161 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21162 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21163 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21164 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21165 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21166 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21167 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21168 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21169 wine_fn_config_makefile dlls/wing32 enable_wing32
21170 wine_fn_config_makefile dlls/winhttp enable_winhttp
21171 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21172 wine_fn_config_makefile dlls/wininet enable_wininet
21173 wine_fn_config_makefile dlls/wininet/tests enable_tests
21174 wine_fn_config_makefile dlls/winmm enable_winmm
21175 wine_fn_config_makefile dlls/winmm/tests enable_tests
21176 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21177 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21178 wine_fn_config_makefile dlls/winscard enable_winscard
21179 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21180 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21181 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21182 wine_fn_config_makefile dlls/winsta enable_winsta
21183 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21184 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21185 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21186 wine_fn_config_makefile dlls/wintrust enable_wintrust
21187 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21188 wine_fn_config_makefile dlls/winusb enable_winusb
21189 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21190 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21191 wine_fn_config_makefile dlls/wlanui enable_wlanui
21192 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21193 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21194 wine_fn_config_makefile dlls/wmasf enable_wmasf
21195 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21196 wine_fn_config_makefile dlls/wmi enable_wmi
21197 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21198 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21199 wine_fn_config_makefile dlls/wmp enable_wmp
21200 wine_fn_config_makefile dlls/wmp/tests enable_tests
21201 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21202 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21203 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21204 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21205 wine_fn_config_makefile dlls/wow32 enable_win16
21206 wine_fn_config_makefile dlls/wpc enable_wpc
21207 wine_fn_config_makefile dlls/wpc/tests enable_tests
21208 wine_fn_config_makefile dlls/wpcap enable_wpcap
21209 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21210 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21211 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21212 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21213 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21214 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21215 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21216 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21217 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21218 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21219 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21220 wine_fn_config_makefile dlls/wuapi enable_wuapi
21221 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21222 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21223 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21224 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21225 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21226 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21227 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21228 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21229 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21230 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21231 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21232 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21233 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21234 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21235 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21236 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21237 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21238 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21239 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21240 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21241 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21242 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21243 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21244 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21245 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21246 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21247 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21248 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21249 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21250 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21251 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21252 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21253 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21254 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21255 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21256 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21257 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21258 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21259 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21260 wine_fn_config_makefile dlls/xmllite enable_xmllite
21261 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21262 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21263 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21264 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21265 wine_fn_config_makefile fonts enable_fonts
21266 wine_fn_config_makefile include enable_include
21267 wine_fn_config_makefile libs/port enable_port
21268 wine_fn_config_makefile libs/wine enable_wine
21269 wine_fn_config_makefile libs/wpp enable_wpp
21270 wine_fn_config_makefile loader enable_loader
21271 wine_fn_config_makefile nls enable_nls
21272 wine_fn_config_makefile po enable_po
21273 wine_fn_config_makefile programs/arp enable_arp
21274 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21275 wine_fn_config_makefile programs/attrib enable_attrib
21276 wine_fn_config_makefile programs/cabarc enable_cabarc
21277 wine_fn_config_makefile programs/cacls enable_cacls
21278 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21279 wine_fn_config_makefile programs/clock enable_clock
21280 wine_fn_config_makefile programs/cmd enable_cmd
21281 wine_fn_config_makefile programs/cmd/tests enable_tests
21282 wine_fn_config_makefile programs/conhost enable_conhost
21283 wine_fn_config_makefile programs/conhost/tests enable_tests
21284 wine_fn_config_makefile programs/control enable_control
21285 wine_fn_config_makefile programs/cscript enable_cscript
21286 wine_fn_config_makefile programs/dism enable_dism
21287 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21288 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21289 wine_fn_config_makefile programs/eject enable_eject
21290 wine_fn_config_makefile programs/expand enable_expand
21291 wine_fn_config_makefile programs/explorer enable_explorer
21292 wine_fn_config_makefile programs/extrac32 enable_extrac32
21293 wine_fn_config_makefile programs/fc enable_fc
21294 wine_fn_config_makefile programs/find enable_find
21295 wine_fn_config_makefile programs/find/tests enable_tests
21296 wine_fn_config_makefile programs/findstr enable_findstr
21297 wine_fn_config_makefile programs/fsutil enable_fsutil
21298 wine_fn_config_makefile programs/fsutil/tests enable_tests
21299 wine_fn_config_makefile programs/hh enable_hh
21300 wine_fn_config_makefile programs/hostname enable_hostname
21301 wine_fn_config_makefile programs/icacls enable_icacls
21302 wine_fn_config_makefile programs/icinfo enable_icinfo
21303 wine_fn_config_makefile programs/iexplore enable_iexplore
21304 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21305 wine_fn_config_makefile programs/lodctr enable_lodctr
21306 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21307 wine_fn_config_makefile programs/mshta enable_mshta
21308 wine_fn_config_makefile programs/msidb enable_msidb
21309 wine_fn_config_makefile programs/msiexec enable_msiexec
21310 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21311 wine_fn_config_makefile programs/net enable_net
21312 wine_fn_config_makefile programs/netsh enable_netsh
21313 wine_fn_config_makefile programs/netstat enable_netstat
21314 wine_fn_config_makefile programs/ngen enable_ngen
21315 wine_fn_config_makefile programs/notepad enable_notepad
21316 wine_fn_config_makefile programs/oleview enable_oleview
21317 wine_fn_config_makefile programs/ping enable_ping
21318 wine_fn_config_makefile programs/plugplay enable_plugplay
21319 wine_fn_config_makefile programs/powershell enable_powershell
21320 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21321 wine_fn_config_makefile programs/progman enable_progman
21322 wine_fn_config_makefile programs/reg enable_reg
21323 wine_fn_config_makefile programs/reg/tests enable_tests
21324 wine_fn_config_makefile programs/regasm enable_regasm
21325 wine_fn_config_makefile programs/regedit enable_regedit
21326 wine_fn_config_makefile programs/regedit/tests enable_tests
21327 wine_fn_config_makefile programs/regini enable_regini
21328 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21329 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21330 wine_fn_config_makefile programs/rpcss enable_rpcss
21331 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21332 wine_fn_config_makefile programs/rundll32 enable_rundll32
21333 wine_fn_config_makefile programs/sc enable_sc
21334 wine_fn_config_makefile programs/schtasks enable_schtasks
21335 wine_fn_config_makefile programs/schtasks/tests enable_tests
21336 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21337 wine_fn_config_makefile programs/secedit enable_secedit
21338 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21339 wine_fn_config_makefile programs/services enable_services
21340 wine_fn_config_makefile programs/services/tests enable_tests
21341 wine_fn_config_makefile programs/shutdown enable_shutdown
21342 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21343 wine_fn_config_makefile programs/start enable_start
21344 wine_fn_config_makefile programs/subst enable_subst
21345 wine_fn_config_makefile programs/svchost enable_svchost
21346 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21347 wine_fn_config_makefile programs/taskkill enable_taskkill
21348 wine_fn_config_makefile programs/tasklist enable_tasklist
21349 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21350 wine_fn_config_makefile programs/termsv enable_termsv
21351 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21352 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21353 wine_fn_config_makefile programs/view enable_view
21354 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21355 wine_fn_config_makefile programs/where enable_where
21356 wine_fn_config_makefile programs/whoami enable_whoami
21357 wine_fn_config_makefile programs/wineboot enable_wineboot
21358 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21359 wine_fn_config_makefile programs/winecfg enable_winecfg
21360 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21361 wine_fn_config_makefile programs/winedbg enable_winedbg
21362 wine_fn_config_makefile programs/winedevice enable_winedevice
21363 wine_fn_config_makefile programs/winefile enable_winefile
21364 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21365 wine_fn_config_makefile programs/winemine enable_winemine
21366 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21367 wine_fn_config_makefile programs/winepath enable_winepath
21368 wine_fn_config_makefile programs/winetest enable_winetest
21369 wine_fn_config_makefile programs/winevdm enable_win16
21370 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21371 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21372 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21373 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21374 wine_fn_config_makefile programs/winver enable_winver
21375 wine_fn_config_makefile programs/wmic enable_wmic
21376 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21377 wine_fn_config_makefile programs/wordpad enable_wordpad
21378 wine_fn_config_makefile programs/write enable_write
21379 wine_fn_config_makefile programs/wscript enable_wscript
21380 wine_fn_config_makefile programs/wscript/tests enable_tests
21381 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21382 wine_fn_config_makefile programs/wusa enable_wusa
21383 wine_fn_config_makefile programs/xcopy enable_xcopy
21384 wine_fn_config_makefile programs/xcopy/tests enable_tests
21385 wine_fn_config_makefile server enable_server
21386 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21387 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21388 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21389 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21390 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21391 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21392 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21393 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21394 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21397 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21398 wine_fn_append_file CONFIGURE_TARGETS "tags"
21399 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21400 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21401 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21402 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21403 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21404 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21406 if test "x$enable_tools" != xno
21407 then
21408 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21409 ac_config_commands="$ac_config_commands tools/makedep"
21413 ac_config_commands="$ac_config_commands Makefile"
21416 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21420 if test "x$enable_maintainer_mode" = xyes
21421 then
21422 wine_fn_append_rule "configure: configure.ac aclocal.m4
21423 autoconf --warnings=all
21424 include/config.h.in: include/stamp-h.in
21425 include/stamp-h.in: configure.ac aclocal.m4
21426 autoheader --warnings=all
21427 @echo timestamp > \$@"
21430 if test "x$enable_tools" != xno
21431 then
21432 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21433 @./config.status tools/makedep
21434 Makefile: tools/makedep$ac_exeext
21435 fonts: tools/sfnt2fon
21436 include: tools tools/widl"
21437 else
21438 wine_fn_append_rule "\$(MAKEDEP):
21439 @echo \"You need to run make in $TOOLSDIR first\" && false"
21442 if test -n "$with_wine64"
21443 then
21444 case "$with_wine64" in
21445 /*) reldir="" ;;
21446 *) reldir="../" ;;
21447 esac
21448 rm -f fonts server 2>/dev/null
21449 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21450 loader/wine64 loader/wine64-preloader:
21451 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21452 $with_wine64/loader/wine:
21453 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21454 $with_wine64/loader/wine-preloader:
21455 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21456 clean::
21457 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21458 else
21459 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21460 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21461 fonts \
21462 loader/wine.inf \
21463 loader/winebus.inf \
21464 loader/winehid.inf \
21465 loader/wineusb.inf \
21466 nls \
21467 programs/msidb/msidb \
21468 programs/msiexec/msiexec \
21469 programs/notepad/notepad \
21470 programs/regedit/regedit \
21471 programs/regsvr32/regsvr32 \
21472 programs/wineboot/wineboot \
21473 programs/winecfg/winecfg \
21474 programs/wineconsole/wineconsole \
21475 programs/winedbg/winedbg \
21476 programs/winefile/winefile \
21477 programs/winemine/winemine \
21478 programs/winepath/winepath \
21479 server/wineserver"
21481 case $host_os in
21482 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21483 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21484 esac
21487 $as_echo " done" >&6
21488 cat >confcache <<\_ACEOF
21489 # This file is a shell script that caches the results of configure
21490 # tests run on this system so they can be shared between configure
21491 # scripts and configure runs, see configure's option --config-cache.
21492 # It is not useful on other systems. If it contains results you don't
21493 # want to keep, you may remove or edit it.
21495 # config.status only pays attention to the cache file if you give it
21496 # the --recheck option to rerun configure.
21498 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21499 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21500 # following values.
21502 _ACEOF
21504 # The following way of writing the cache mishandles newlines in values,
21505 # but we know of no workaround that is simple, portable, and efficient.
21506 # So, we kill variables containing newlines.
21507 # Ultrix sh set writes to stderr and can't be redirected directly,
21508 # and sets the high bit in the cache file unless we assign to the vars.
21510 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21511 eval ac_val=\$$ac_var
21512 case $ac_val in #(
21513 *${as_nl}*)
21514 case $ac_var in #(
21515 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21516 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21517 esac
21518 case $ac_var in #(
21519 _ | IFS | as_nl) ;; #(
21520 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21521 *) { eval $ac_var=; unset $ac_var;} ;;
21522 esac ;;
21523 esac
21524 done
21526 (set) 2>&1 |
21527 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21528 *${as_nl}ac_space=\ *)
21529 # `set' does not quote correctly, so add quotes: double-quote
21530 # substitution turns \\\\ into \\, and sed turns \\ into \.
21531 sed -n \
21532 "s/'/'\\\\''/g;
21533 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21534 ;; #(
21536 # `set' quotes correctly as required by POSIX, so do not add quotes.
21537 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21539 esac |
21540 sort
21542 sed '
21543 /^ac_cv_env_/b end
21544 t clear
21545 :clear
21546 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21547 t end
21548 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21549 :end' >>confcache
21550 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21551 if test -w "$cache_file"; then
21552 if test "x$cache_file" != "x/dev/null"; then
21553 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21554 $as_echo "$as_me: updating cache $cache_file" >&6;}
21555 if test ! -f "$cache_file" || test -h "$cache_file"; then
21556 cat confcache >"$cache_file"
21557 else
21558 case $cache_file in #(
21559 */* | ?:*)
21560 mv -f confcache "$cache_file"$$ &&
21561 mv -f "$cache_file"$$ "$cache_file" ;; #(
21563 mv -f confcache "$cache_file" ;;
21564 esac
21567 else
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21569 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21572 rm -f confcache
21574 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21575 # Let make expand exec_prefix.
21576 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21578 DEFS=-DHAVE_CONFIG_H
21580 ac_libobjs=
21581 ac_ltlibobjs=
21583 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21584 # 1. Remove the extension, and $U if already installed.
21585 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21586 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21587 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21588 # will be set to the directory where LIBOBJS objects are built.
21589 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21590 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21591 done
21592 LIBOBJS=$ac_libobjs
21594 LTLIBOBJS=$ac_ltlibobjs
21598 : "${CONFIG_STATUS=./config.status}"
21599 ac_write_fail=0
21600 ac_clean_files_save=$ac_clean_files
21601 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21602 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21603 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21604 as_write_fail=0
21605 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21606 #! $SHELL
21607 # Generated by $as_me.
21608 # Run this file to recreate the current configuration.
21609 # Compiler output produced by configure, useful for debugging
21610 # configure, is in config.log if it exists.
21612 debug=false
21613 ac_cs_recheck=false
21614 ac_cs_silent=false
21616 SHELL=\${CONFIG_SHELL-$SHELL}
21617 export SHELL
21618 _ASEOF
21619 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21620 ## -------------------- ##
21621 ## M4sh Initialization. ##
21622 ## -------------------- ##
21624 # Be more Bourne compatible
21625 DUALCASE=1; export DUALCASE # for MKS sh
21626 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21627 emulate sh
21628 NULLCMD=:
21629 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21630 # is contrary to our usage. Disable this feature.
21631 alias -g '${1+"$@"}'='"$@"'
21632 setopt NO_GLOB_SUBST
21633 else
21634 case `(set -o) 2>/dev/null` in #(
21635 *posix*) :
21636 set -o posix ;; #(
21637 *) :
21639 esac
21643 as_nl='
21645 export as_nl
21646 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21647 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21648 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21649 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21650 # Prefer a ksh shell builtin over an external printf program on Solaris,
21651 # but without wasting forks for bash or zsh.
21652 if test -z "$BASH_VERSION$ZSH_VERSION" \
21653 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21654 as_echo='print -r --'
21655 as_echo_n='print -rn --'
21656 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21657 as_echo='printf %s\n'
21658 as_echo_n='printf %s'
21659 else
21660 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21661 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21662 as_echo_n='/usr/ucb/echo -n'
21663 else
21664 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21665 as_echo_n_body='eval
21666 arg=$1;
21667 case $arg in #(
21668 *"$as_nl"*)
21669 expr "X$arg" : "X\\(.*\\)$as_nl";
21670 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21671 esac;
21672 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21674 export as_echo_n_body
21675 as_echo_n='sh -c $as_echo_n_body as_echo'
21677 export as_echo_body
21678 as_echo='sh -c $as_echo_body as_echo'
21681 # The user is always right.
21682 if test "${PATH_SEPARATOR+set}" != set; then
21683 PATH_SEPARATOR=:
21684 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21685 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21686 PATH_SEPARATOR=';'
21691 # IFS
21692 # We need space, tab and new line, in precisely that order. Quoting is
21693 # there to prevent editors from complaining about space-tab.
21694 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21695 # splitting by setting IFS to empty value.)
21696 IFS=" "" $as_nl"
21698 # Find who we are. Look in the path if we contain no directory separator.
21699 as_myself=
21700 case $0 in #((
21701 *[\\/]* ) as_myself=$0 ;;
21702 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21703 for as_dir in $PATH
21705 IFS=$as_save_IFS
21706 test -z "$as_dir" && as_dir=.
21707 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21708 done
21709 IFS=$as_save_IFS
21712 esac
21713 # We did not find ourselves, most probably we were run as `sh COMMAND'
21714 # in which case we are not to be found in the path.
21715 if test "x$as_myself" = x; then
21716 as_myself=$0
21718 if test ! -f "$as_myself"; then
21719 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21720 exit 1
21723 # Unset variables that we do not need and which cause bugs (e.g. in
21724 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21725 # suppresses any "Segmentation fault" message there. '((' could
21726 # trigger a bug in pdksh 5.2.14.
21727 for as_var in BASH_ENV ENV MAIL MAILPATH
21728 do eval test x\${$as_var+set} = xset \
21729 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21730 done
21731 PS1='$ '
21732 PS2='> '
21733 PS4='+ '
21735 # NLS nuisances.
21736 LC_ALL=C
21737 export LC_ALL
21738 LANGUAGE=C
21739 export LANGUAGE
21741 # CDPATH.
21742 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21745 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21746 # ----------------------------------------
21747 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21748 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21749 # script with STATUS, using 1 if that was 0.
21750 as_fn_error ()
21752 as_status=$1; test $as_status -eq 0 && as_status=1
21753 if test "$4"; then
21754 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21755 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21757 $as_echo "$as_me: error: $2" >&2
21758 as_fn_exit $as_status
21759 } # as_fn_error
21762 # as_fn_set_status STATUS
21763 # -----------------------
21764 # Set $? to STATUS, without forking.
21765 as_fn_set_status ()
21767 return $1
21768 } # as_fn_set_status
21770 # as_fn_exit STATUS
21771 # -----------------
21772 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21773 as_fn_exit ()
21775 set +e
21776 as_fn_set_status $1
21777 exit $1
21778 } # as_fn_exit
21780 # as_fn_unset VAR
21781 # ---------------
21782 # Portably unset VAR.
21783 as_fn_unset ()
21785 { eval $1=; unset $1;}
21787 as_unset=as_fn_unset
21788 # as_fn_append VAR VALUE
21789 # ----------------------
21790 # Append the text in VALUE to the end of the definition contained in VAR. Take
21791 # advantage of any shell optimizations that allow amortized linear growth over
21792 # repeated appends, instead of the typical quadratic growth present in naive
21793 # implementations.
21794 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21795 eval 'as_fn_append ()
21797 eval $1+=\$2
21799 else
21800 as_fn_append ()
21802 eval $1=\$$1\$2
21804 fi # as_fn_append
21806 # as_fn_arith ARG...
21807 # ------------------
21808 # Perform arithmetic evaluation on the ARGs, and store the result in the
21809 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21810 # must be portable across $(()) and expr.
21811 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21812 eval 'as_fn_arith ()
21814 as_val=$(( $* ))
21816 else
21817 as_fn_arith ()
21819 as_val=`expr "$@" || test $? -eq 1`
21821 fi # as_fn_arith
21824 if expr a : '\(a\)' >/dev/null 2>&1 &&
21825 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21826 as_expr=expr
21827 else
21828 as_expr=false
21831 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21832 as_basename=basename
21833 else
21834 as_basename=false
21837 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21838 as_dirname=dirname
21839 else
21840 as_dirname=false
21843 as_me=`$as_basename -- "$0" ||
21844 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21845 X"$0" : 'X\(//\)$' \| \
21846 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21847 $as_echo X/"$0" |
21848 sed '/^.*\/\([^/][^/]*\)\/*$/{
21849 s//\1/
21852 /^X\/\(\/\/\)$/{
21853 s//\1/
21856 /^X\/\(\/\).*/{
21857 s//\1/
21860 s/.*/./; q'`
21862 # Avoid depending upon Character Ranges.
21863 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21864 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21865 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21866 as_cr_digits='0123456789'
21867 as_cr_alnum=$as_cr_Letters$as_cr_digits
21869 ECHO_C= ECHO_N= ECHO_T=
21870 case `echo -n x` in #(((((
21871 -n*)
21872 case `echo 'xy\c'` in
21873 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21874 xy) ECHO_C='\c';;
21875 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21876 ECHO_T=' ';;
21877 esac;;
21879 ECHO_N='-n';;
21880 esac
21882 rm -f conf$$ conf$$.exe conf$$.file
21883 if test -d conf$$.dir; then
21884 rm -f conf$$.dir/conf$$.file
21885 else
21886 rm -f conf$$.dir
21887 mkdir conf$$.dir 2>/dev/null
21889 if (echo >conf$$.file) 2>/dev/null; then
21890 if ln -s conf$$.file conf$$ 2>/dev/null; then
21891 as_ln_s='ln -s'
21892 # ... but there are two gotchas:
21893 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21894 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21895 # In both cases, we have to default to `cp -pR'.
21896 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21897 as_ln_s='cp -pR'
21898 elif ln conf$$.file conf$$ 2>/dev/null; then
21899 as_ln_s=ln
21900 else
21901 as_ln_s='cp -pR'
21903 else
21904 as_ln_s='cp -pR'
21906 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21907 rmdir conf$$.dir 2>/dev/null
21910 # as_fn_mkdir_p
21911 # -------------
21912 # Create "$as_dir" as a directory, including parents if necessary.
21913 as_fn_mkdir_p ()
21916 case $as_dir in #(
21917 -*) as_dir=./$as_dir;;
21918 esac
21919 test -d "$as_dir" || eval $as_mkdir_p || {
21920 as_dirs=
21921 while :; do
21922 case $as_dir in #(
21923 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21924 *) as_qdir=$as_dir;;
21925 esac
21926 as_dirs="'$as_qdir' $as_dirs"
21927 as_dir=`$as_dirname -- "$as_dir" ||
21928 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21929 X"$as_dir" : 'X\(//\)[^/]' \| \
21930 X"$as_dir" : 'X\(//\)$' \| \
21931 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21932 $as_echo X"$as_dir" |
21933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21934 s//\1/
21937 /^X\(\/\/\)[^/].*/{
21938 s//\1/
21941 /^X\(\/\/\)$/{
21942 s//\1/
21945 /^X\(\/\).*/{
21946 s//\1/
21949 s/.*/./; q'`
21950 test -d "$as_dir" && break
21951 done
21952 test -z "$as_dirs" || eval "mkdir $as_dirs"
21953 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21956 } # as_fn_mkdir_p
21957 if mkdir -p . 2>/dev/null; then
21958 as_mkdir_p='mkdir -p "$as_dir"'
21959 else
21960 test -d ./-p && rmdir ./-p
21961 as_mkdir_p=false
21965 # as_fn_executable_p FILE
21966 # -----------------------
21967 # Test if FILE is an executable regular file.
21968 as_fn_executable_p ()
21970 test -f "$1" && test -x "$1"
21971 } # as_fn_executable_p
21972 as_test_x='test -x'
21973 as_executable_p=as_fn_executable_p
21975 # Sed expression to map a string onto a valid CPP name.
21976 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21978 # Sed expression to map a string onto a valid variable name.
21979 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21982 exec 6>&1
21983 ## ----------------------------------- ##
21984 ## Main body of $CONFIG_STATUS script. ##
21985 ## ----------------------------------- ##
21986 _ASEOF
21987 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21990 # Save the log message, to keep $0 and so on meaningful, and to
21991 # report actual input values of CONFIG_FILES etc. instead of their
21992 # values after options handling.
21993 ac_log="
21994 This file was extended by Wine $as_me 5.16, which was
21995 generated by GNU Autoconf 2.69. Invocation command line was
21997 CONFIG_FILES = $CONFIG_FILES
21998 CONFIG_HEADERS = $CONFIG_HEADERS
21999 CONFIG_LINKS = $CONFIG_LINKS
22000 CONFIG_COMMANDS = $CONFIG_COMMANDS
22001 $ $0 $@
22003 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22006 _ACEOF
22008 case $ac_config_files in *"
22009 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22010 esac
22012 case $ac_config_headers in *"
22013 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22014 esac
22017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22018 # Files that config.status was made for.
22019 config_files="$ac_config_files"
22020 config_headers="$ac_config_headers"
22021 config_links="$ac_config_links"
22022 config_commands="$ac_config_commands"
22024 _ACEOF
22026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22027 ac_cs_usage="\
22028 \`$as_me' instantiates files and other configuration actions
22029 from templates according to the current configuration. Unless the files
22030 and actions are specified as TAGs, all are instantiated by default.
22032 Usage: $0 [OPTION]... [TAG]...
22034 -h, --help print this help, then exit
22035 -V, --version print version number and configuration settings, then exit
22036 --config print configuration, then exit
22037 -q, --quiet, --silent
22038 do not print progress messages
22039 -d, --debug don't remove temporary files
22040 --recheck update $as_me by reconfiguring in the same conditions
22041 --file=FILE[:TEMPLATE]
22042 instantiate the configuration file FILE
22043 --header=FILE[:TEMPLATE]
22044 instantiate the configuration header FILE
22046 Configuration files:
22047 $config_files
22049 Configuration headers:
22050 $config_headers
22052 Configuration links:
22053 $config_links
22055 Configuration commands:
22056 $config_commands
22058 Report bugs to <wine-devel@winehq.org>.
22059 Wine home page: <https://www.winehq.org>."
22061 _ACEOF
22062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22063 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22064 ac_cs_version="\\
22065 Wine config.status 5.16
22066 configured by $0, generated by GNU Autoconf 2.69,
22067 with options \\"\$ac_cs_config\\"
22069 Copyright (C) 2012 Free Software Foundation, Inc.
22070 This config.status script is free software; the Free Software Foundation
22071 gives unlimited permission to copy, distribute and modify it."
22073 ac_pwd='$ac_pwd'
22074 srcdir='$srcdir'
22075 test -n "\$AWK" || AWK=awk
22076 _ACEOF
22078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22079 # The default lists apply if the user does not specify any file.
22080 ac_need_defaults=:
22081 while test $# != 0
22083 case $1 in
22084 --*=?*)
22085 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22086 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22087 ac_shift=:
22089 --*=)
22090 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22091 ac_optarg=
22092 ac_shift=:
22095 ac_option=$1
22096 ac_optarg=$2
22097 ac_shift=shift
22099 esac
22101 case $ac_option in
22102 # Handling of the options.
22103 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22104 ac_cs_recheck=: ;;
22105 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22106 $as_echo "$ac_cs_version"; exit ;;
22107 --config | --confi | --conf | --con | --co | --c )
22108 $as_echo "$ac_cs_config"; exit ;;
22109 --debug | --debu | --deb | --de | --d | -d )
22110 debug=: ;;
22111 --file | --fil | --fi | --f )
22112 $ac_shift
22113 case $ac_optarg in
22114 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22115 '') as_fn_error $? "missing file argument" ;;
22116 esac
22117 as_fn_append CONFIG_FILES " '$ac_optarg'"
22118 ac_need_defaults=false;;
22119 --header | --heade | --head | --hea )
22120 $ac_shift
22121 case $ac_optarg in
22122 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22123 esac
22124 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22125 ac_need_defaults=false;;
22126 --he | --h)
22127 # Conflict between --help and --header
22128 as_fn_error $? "ambiguous option: \`$1'
22129 Try \`$0 --help' for more information.";;
22130 --help | --hel | -h )
22131 $as_echo "$ac_cs_usage"; exit ;;
22132 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22133 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22134 ac_cs_silent=: ;;
22136 # This is an error.
22137 -*) as_fn_error $? "unrecognized option: \`$1'
22138 Try \`$0 --help' for more information." ;;
22140 *) as_fn_append ac_config_targets " $1"
22141 ac_need_defaults=false ;;
22143 esac
22144 shift
22145 done
22147 ac_configure_extra_args=
22149 if $ac_cs_silent; then
22150 exec 6>/dev/null
22151 ac_configure_extra_args="$ac_configure_extra_args --silent"
22154 _ACEOF
22155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22156 if \$ac_cs_recheck; then
22157 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22158 shift
22159 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22160 CONFIG_SHELL='$SHELL'
22161 export CONFIG_SHELL
22162 exec "\$@"
22165 _ACEOF
22166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22167 exec 5>>config.log
22169 echo
22170 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22171 ## Running $as_me. ##
22172 _ASBOX
22173 $as_echo "$ac_log"
22174 } >&5
22176 _ACEOF
22177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22179 # INIT-COMMANDS
22181 wine_fn_output_makedep ()
22183 as_dir=tools; as_fn_mkdir_p
22184 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22186 wine_fn_output_makefile ()
22188 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22189 `cat $wine_rules_file`
22190 _WINE_EOF
22191 as_fn_error $? "could not create Makefile" "$LINENO" 5
22194 _ACEOF
22196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22198 # Handling of arguments.
22199 for ac_config_target in $ac_config_targets
22201 case $ac_config_target in
22202 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22203 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22204 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22205 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22206 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22207 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22208 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22210 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22211 esac
22212 done
22215 # If the user did not use the arguments to specify the items to instantiate,
22216 # then the envvar interface is used. Set only those that are not.
22217 # We use the long form for the default assignment because of an extremely
22218 # bizarre bug on SunOS 4.1.3.
22219 if $ac_need_defaults; then
22220 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22221 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22222 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22223 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22226 # Have a temporary directory for convenience. Make it in the build tree
22227 # simply because there is no reason against having it here, and in addition,
22228 # creating and moving files from /tmp can sometimes cause problems.
22229 # Hook for its removal unless debugging.
22230 # Note that there is a small window in which the directory will not be cleaned:
22231 # after its creation but before its name has been assigned to `$tmp'.
22232 $debug ||
22234 tmp= ac_tmp=
22235 trap 'exit_status=$?
22236 : "${ac_tmp:=$tmp}"
22237 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22239 trap 'as_fn_exit 1' 1 2 13 15
22241 # Create a (secure) tmp directory for tmp files.
22244 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22245 test -d "$tmp"
22246 } ||
22248 tmp=./conf$$-$RANDOM
22249 (umask 077 && mkdir "$tmp")
22250 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22251 ac_tmp=$tmp
22253 # Set up the scripts for CONFIG_FILES section.
22254 # No need to generate them if there are no CONFIG_FILES.
22255 # This happens for instance with `./config.status config.h'.
22256 if test -n "$CONFIG_FILES"; then
22259 ac_cr=`echo X | tr X '\015'`
22260 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22261 # But we know of no other shell where ac_cr would be empty at this
22262 # point, so we can use a bashism as a fallback.
22263 if test "x$ac_cr" = x; then
22264 eval ac_cr=\$\'\\r\'
22266 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22267 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22268 ac_cs_awk_cr='\\r'
22269 else
22270 ac_cs_awk_cr=$ac_cr
22273 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22274 _ACEOF
22278 echo "cat >conf$$subs.awk <<_ACEOF" &&
22279 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22280 echo "_ACEOF"
22281 } >conf$$subs.sh ||
22282 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22283 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22284 ac_delim='%!_!# '
22285 for ac_last_try in false false false false false :; do
22286 . ./conf$$subs.sh ||
22287 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22289 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22290 if test $ac_delim_n = $ac_delim_num; then
22291 break
22292 elif $ac_last_try; then
22293 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22294 else
22295 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22297 done
22298 rm -f conf$$subs.sh
22300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22301 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22302 _ACEOF
22303 sed -n '
22305 s/^/S["/; s/!.*/"]=/
22308 s/^[^!]*!//
22309 :repl
22310 t repl
22311 s/'"$ac_delim"'$//
22312 t delim
22315 s/\(.\{148\}\)..*/\1/
22316 t more1
22317 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22320 b repl
22321 :more1
22322 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22325 s/.\{148\}//
22326 t nl
22327 :delim
22329 s/\(.\{148\}\)..*/\1/
22330 t more2
22331 s/["\\]/\\&/g; s/^/"/; s/$/"/
22334 :more2
22335 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22338 s/.\{148\}//
22339 t delim
22340 ' <conf$$subs.awk | sed '
22341 /^[^""]/{
22343 s/\n//
22345 ' >>$CONFIG_STATUS || ac_write_fail=1
22346 rm -f conf$$subs.awk
22347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22348 _ACAWK
22349 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22350 for (key in S) S_is_set[key] = 1
22351 FS = "\a"
22355 line = $ 0
22356 nfields = split(line, field, "@")
22357 substed = 0
22358 len = length(field[1])
22359 for (i = 2; i < nfields; i++) {
22360 key = field[i]
22361 keylen = length(key)
22362 if (S_is_set[key]) {
22363 value = S[key]
22364 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22365 len += length(value) + length(field[++i])
22366 substed = 1
22367 } else
22368 len += 1 + keylen
22371 print line
22374 _ACAWK
22375 _ACEOF
22376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22377 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22378 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22379 else
22381 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22382 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22383 _ACEOF
22385 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22386 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22387 # trailing colons and then remove the whole line if VPATH becomes empty
22388 # (actually we leave an empty line to preserve line numbers).
22389 if test "x$srcdir" = x.; then
22390 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22392 s///
22393 s/^/:/
22394 s/[ ]*$/:/
22395 s/:\$(srcdir):/:/g
22396 s/:\${srcdir}:/:/g
22397 s/:@srcdir@:/:/g
22398 s/^:*//
22399 s/:*$//
22401 s/\(=[ ]*\).*/\1/
22403 s/\n//
22404 s/^[^=]*=[ ]*$//
22408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22409 fi # test -n "$CONFIG_FILES"
22411 # Set up the scripts for CONFIG_HEADERS section.
22412 # No need to generate them if there are no CONFIG_HEADERS.
22413 # This happens for instance with `./config.status Makefile'.
22414 if test -n "$CONFIG_HEADERS"; then
22415 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22416 BEGIN {
22417 _ACEOF
22419 # Transform confdefs.h into an awk script `defines.awk', embedded as
22420 # here-document in config.status, that substitutes the proper values into
22421 # config.h.in to produce config.h.
22423 # Create a delimiter string that does not exist in confdefs.h, to ease
22424 # handling of long lines.
22425 ac_delim='%!_!# '
22426 for ac_last_try in false false :; do
22427 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22428 if test -z "$ac_tt"; then
22429 break
22430 elif $ac_last_try; then
22431 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22432 else
22433 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22435 done
22437 # For the awk script, D is an array of macro values keyed by name,
22438 # likewise P contains macro parameters if any. Preserve backslash
22439 # newline sequences.
22441 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22442 sed -n '
22443 s/.\{148\}/&'"$ac_delim"'/g
22444 t rset
22445 :rset
22446 s/^[ ]*#[ ]*define[ ][ ]*/ /
22447 t def
22449 :def
22450 s/\\$//
22451 t bsnl
22452 s/["\\]/\\&/g
22453 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22454 D["\1"]=" \3"/p
22455 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22457 :bsnl
22458 s/["\\]/\\&/g
22459 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22460 D["\1"]=" \3\\\\\\n"\\/p
22461 t cont
22462 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22463 t cont
22465 :cont
22467 s/.\{148\}/&'"$ac_delim"'/g
22468 t clear
22469 :clear
22470 s/\\$//
22471 t bsnlc
22472 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22474 :bsnlc
22475 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22476 b cont
22477 ' <confdefs.h | sed '
22478 s/'"$ac_delim"'/"\\\
22479 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22482 for (key in D) D_is_set[key] = 1
22483 FS = "\a"
22485 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22486 line = \$ 0
22487 split(line, arg, " ")
22488 if (arg[1] == "#") {
22489 defundef = arg[2]
22490 mac1 = arg[3]
22491 } else {
22492 defundef = substr(arg[1], 2)
22493 mac1 = arg[2]
22495 split(mac1, mac2, "(") #)
22496 macro = mac2[1]
22497 prefix = substr(line, 1, index(line, defundef) - 1)
22498 if (D_is_set[macro]) {
22499 # Preserve the white space surrounding the "#".
22500 print prefix "define", macro P[macro] D[macro]
22501 next
22502 } else {
22503 # Replace #undef with comments. This is necessary, for example,
22504 # in the case of _POSIX_SOURCE, which is predefined and required
22505 # on some systems where configure will not decide to define it.
22506 if (defundef == "undef") {
22507 print "/*", prefix defundef, macro, "*/"
22508 next
22512 { print }
22513 _ACAWK
22514 _ACEOF
22515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22516 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22517 fi # test -n "$CONFIG_HEADERS"
22520 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22521 shift
22522 for ac_tag
22524 case $ac_tag in
22525 :[FHLC]) ac_mode=$ac_tag; continue;;
22526 esac
22527 case $ac_mode$ac_tag in
22528 :[FHL]*:*);;
22529 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22530 :[FH]-) ac_tag=-:-;;
22531 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22532 esac
22533 ac_save_IFS=$IFS
22534 IFS=:
22535 set x $ac_tag
22536 IFS=$ac_save_IFS
22537 shift
22538 ac_file=$1
22539 shift
22541 case $ac_mode in
22542 :L) ac_source=$1;;
22543 :[FH])
22544 ac_file_inputs=
22545 for ac_f
22547 case $ac_f in
22548 -) ac_f="$ac_tmp/stdin";;
22549 *) # Look for the file first in the build tree, then in the source tree
22550 # (if the path is not absolute). The absolute path cannot be DOS-style,
22551 # because $ac_f cannot contain `:'.
22552 test -f "$ac_f" ||
22553 case $ac_f in
22554 [\\/$]*) false;;
22555 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22556 esac ||
22557 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22558 esac
22559 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22560 as_fn_append ac_file_inputs " '$ac_f'"
22561 done
22563 # Let's still pretend it is `configure' which instantiates (i.e., don't
22564 # use $as_me), people would be surprised to read:
22565 # /* config.h. Generated by config.status. */
22566 configure_input='Generated from '`
22567 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22568 `' by configure.'
22569 if test x"$ac_file" != x-; then
22570 configure_input="$ac_file. $configure_input"
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22572 $as_echo "$as_me: creating $ac_file" >&6;}
22574 # Neutralize special characters interpreted by sed in replacement strings.
22575 case $configure_input in #(
22576 *\&* | *\|* | *\\* )
22577 ac_sed_conf_input=`$as_echo "$configure_input" |
22578 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22579 *) ac_sed_conf_input=$configure_input;;
22580 esac
22582 case $ac_tag in
22583 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22584 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22585 esac
22587 esac
22589 ac_dir=`$as_dirname -- "$ac_file" ||
22590 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22591 X"$ac_file" : 'X\(//\)[^/]' \| \
22592 X"$ac_file" : 'X\(//\)$' \| \
22593 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22594 $as_echo X"$ac_file" |
22595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22596 s//\1/
22599 /^X\(\/\/\)[^/].*/{
22600 s//\1/
22603 /^X\(\/\/\)$/{
22604 s//\1/
22607 /^X\(\/\).*/{
22608 s//\1/
22611 s/.*/./; q'`
22612 as_dir="$ac_dir"; as_fn_mkdir_p
22613 ac_builddir=.
22615 case "$ac_dir" in
22616 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22618 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22619 # A ".." for each directory in $ac_dir_suffix.
22620 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22621 case $ac_top_builddir_sub in
22622 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22623 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22624 esac ;;
22625 esac
22626 ac_abs_top_builddir=$ac_pwd
22627 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22628 # for backward compatibility:
22629 ac_top_builddir=$ac_top_build_prefix
22631 case $srcdir in
22632 .) # We are building in place.
22633 ac_srcdir=.
22634 ac_top_srcdir=$ac_top_builddir_sub
22635 ac_abs_top_srcdir=$ac_pwd ;;
22636 [\\/]* | ?:[\\/]* ) # Absolute name.
22637 ac_srcdir=$srcdir$ac_dir_suffix;
22638 ac_top_srcdir=$srcdir
22639 ac_abs_top_srcdir=$srcdir ;;
22640 *) # Relative name.
22641 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22642 ac_top_srcdir=$ac_top_build_prefix$srcdir
22643 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22644 esac
22645 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22648 case $ac_mode in
22651 # CONFIG_FILE
22654 _ACEOF
22656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22657 # If the template does not know about datarootdir, expand it.
22658 # FIXME: This hack should be removed a few years after 2.60.
22659 ac_datarootdir_hack=; ac_datarootdir_seen=
22660 ac_sed_dataroot='
22661 /datarootdir/ {
22665 /@datadir@/p
22666 /@docdir@/p
22667 /@infodir@/p
22668 /@localedir@/p
22669 /@mandir@/p'
22670 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22671 *datarootdir*) ac_datarootdir_seen=yes;;
22672 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22674 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22675 _ACEOF
22676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22677 ac_datarootdir_hack='
22678 s&@datadir@&$datadir&g
22679 s&@docdir@&$docdir&g
22680 s&@infodir@&$infodir&g
22681 s&@localedir@&$localedir&g
22682 s&@mandir@&$mandir&g
22683 s&\\\${datarootdir}&$datarootdir&g' ;;
22684 esac
22685 _ACEOF
22687 # Neutralize VPATH when `$srcdir' = `.'.
22688 # Shell code in configure.ac might set extrasub.
22689 # FIXME: do we really want to maintain this feature?
22690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22691 ac_sed_extra="$ac_vpsub
22692 $extrasub
22693 _ACEOF
22694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22696 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22697 s|@configure_input@|$ac_sed_conf_input|;t t
22698 s&@top_builddir@&$ac_top_builddir_sub&;t t
22699 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22700 s&@srcdir@&$ac_srcdir&;t t
22701 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22702 s&@top_srcdir@&$ac_top_srcdir&;t t
22703 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22704 s&@builddir@&$ac_builddir&;t t
22705 s&@abs_builddir@&$ac_abs_builddir&;t t
22706 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22707 $ac_datarootdir_hack
22709 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22710 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22712 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22713 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22714 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22715 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22717 which seems to be undefined. Please make sure it is defined" >&5
22718 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22719 which seems to be undefined. Please make sure it is defined" >&2;}
22721 rm -f "$ac_tmp/stdin"
22722 case $ac_file in
22723 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22724 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22725 esac \
22726 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22730 # CONFIG_HEADER
22732 if test x"$ac_file" != x-; then
22734 $as_echo "/* $configure_input */" \
22735 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22736 } >"$ac_tmp/config.h" \
22737 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22738 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22739 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22740 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22741 else
22742 rm -f "$ac_file"
22743 mv "$ac_tmp/config.h" "$ac_file" \
22744 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22746 else
22747 $as_echo "/* $configure_input */" \
22748 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22749 || as_fn_error $? "could not create -" "$LINENO" 5
22754 # CONFIG_LINK
22757 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22759 else
22760 # Prefer the file from the source tree if names are identical.
22761 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22762 ac_source=$srcdir/$ac_source
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22766 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22768 if test ! -r "$ac_source"; then
22769 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22771 rm -f "$ac_file"
22773 # Try a relative symlink, then a hard link, then a copy.
22774 case $ac_source in
22775 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22776 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22777 esac
22778 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22779 ln "$ac_source" "$ac_file" 2>/dev/null ||
22780 cp -p "$ac_source" "$ac_file" ||
22781 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22784 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22785 $as_echo "$as_me: executing $ac_file commands" >&6;}
22787 esac
22790 case $ac_file$ac_mode in
22791 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22792 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22793 "Makefile":C) wine_fn_output_makefile Makefile ;;
22795 esac
22796 done # for ac_tag
22799 as_fn_exit 0
22800 _ACEOF
22801 ac_clean_files=$ac_clean_files_save
22803 test $ac_write_fail = 0 ||
22804 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22807 # configure is writing to config.log, and then calls config.status.
22808 # config.status does its own redirection, appending to config.log.
22809 # Unfortunately, on DOS this fails, as config.log is still kept open
22810 # by configure, so config.status won't be able to write to it; its
22811 # output is simply discarded. So we exec the FD to /dev/null,
22812 # effectively closing config.log, so it can be properly (re)opened and
22813 # appended to by config.status. When coming back to configure, we
22814 # need to make the FD available again.
22815 if test "$no_create" != yes; then
22816 ac_cs_success=:
22817 ac_config_status_args=
22818 test "$silent" = yes &&
22819 ac_config_status_args="$ac_config_status_args --quiet"
22820 exec 5>/dev/null
22821 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22822 exec 5>>config.log
22823 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22824 # would make configure fail if this is the last instruction.
22825 $ac_cs_success || as_fn_exit 1
22827 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22829 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22833 if test "$no_create" = "yes"
22834 then
22835 exit 0
22838 ac_save_IFS="$IFS"
22839 if test "x$wine_notices" != x; then
22840 echo >&6
22841 IFS="|"
22842 for msg in $wine_notices; do
22843 IFS="$ac_save_IFS"
22844 if ${msg:+false} :; then :
22846 else
22847 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22848 $as_echo "$as_me: $msg" >&6;}
22850 done
22852 IFS="|"
22853 for msg in $wine_warnings; do
22854 IFS="$ac_save_IFS"
22855 if ${msg:+false} :; then :
22857 else
22858 echo >&2
22859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22860 $as_echo "$as_me: WARNING: $msg" >&2;}
22862 done
22863 IFS="$ac_save_IFS"
22865 $as_echo "
22866 $as_me: Finished. Do '${ac_make}' to compile Wine.
22867 " >&6