qcap/videocapture: Store capabilities information.
[wine.git] / configure
blobb94c0ce7aa6dd7da0f0534848cfc822eb7e808fd
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.7.
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.7'
584 PACKAGE_STRING='Wine 5.7'
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 EXCESS_PRECISION_CFLAGS
635 EXTRACFLAGS
636 VKD3D_LIBS
637 VKD3D_CFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 GSSAPI_LIBS
651 GSSAPI_CFLAGS
652 KRB5_LIBS
653 KRB5_CFLAGS
654 FONTCONFIG_LIBS
655 FONTCONFIG_CFLAGS
656 CUPS_LIBS
657 CUPS_CFLAGS
658 CAPI20_LIBS
659 CAPI20_CFLAGS
660 FAUDIO_LIBS
661 FAUDIO_CFLAGS
662 SDL2_LIBS
663 SDL2_CFLAGS
664 UNWIND_LIBS
665 UNWIND_CFLAGS
666 UDEV_LIBS
667 UDEV_CFLAGS
668 OSS4_LIBS
669 OSS4_CFLAGS
670 ALSA_LIBS
671 GSTREAMER_LIBS
672 GSTREAMER_CFLAGS
673 PULSE_LIBS
674 PULSE_CFLAGS
675 GETTEXTPO_LIBS
676 FREETYPE_LIBS
677 FREETYPE_CFLAGS
678 LCMS2_LIBS
679 LCMS2_CFLAGS
680 RESOLV_LIBS
681 GPHOTO2_PORT_LIBS
682 GPHOTO2_PORT_CFLAGS
683 GPHOTO2_LIBS
684 GPHOTO2_CFLAGS
685 USB_LIBS
686 USB_CFLAGS
687 SANE_LIBS
688 SANE_CFLAGS
689 GNUTLS_LIBS
690 GNUTLS_CFLAGS
691 HAL_LIBS
692 HAL_CFLAGS
693 DBUS_LIBS
694 DBUS_CFLAGS
695 INOTIFY_LIBS
696 INOTIFY_CFLAGS
697 XSLT_LIBS
698 XSLT_CFLAGS
699 XML2_LIBS
700 XML2_CFLAGS
701 PCAP_LIBS
702 X_EXTRA_LIBS
703 X_LIBS
704 X_PRE_LIBS
705 X_CFLAGS
706 XMKMF
707 PTHREAD_LIBS
708 DELAYLOADFLAG
709 CROSSLDFLAGS
710 EXTRACROSSCFLAGS
711 CROSSCFLAGS
712 CROSSCC
713 CROSSTARGET
714 LIBWINE_DEPENDS
715 PRELINK
716 WINELOADER_DEPENDS
717 LIBWINE_LDFLAGS
718 LIBWINE_SHAREDLIB
719 METAL_LIBS
720 CARBON_LIBS
721 QUICKTIME_LIBS
722 OPENCL_LIBS
723 OPENAL_LIBS
724 COREAUDIO_LIBS
725 SECURITY_LIBS
726 DISKARBITRATION_LIBS
727 SYSTEMCONFIGURATION_LIBS
728 APPKIT_LIBS
729 CORESERVICES_LIBS
730 APPLICATIONSERVICES_LIBS
731 FORCEFEEDBACK_LIBS
732 IOKIT_LIBS
733 COREFOUNDATION_LIBS
734 OBJCPP
735 ac_ct_OBJC
736 OBJCFLAGS
737 OBJC
738 DLLTOOL
739 WINELOADER_PROGRAMS
740 CONFIGURE_TARGETS
741 DISABLED_SUBDIRS
742 SUBDIRS
743 READELF
744 OTOOL
746 WINEPRELOADER_LDFLAGS
747 WINELOADER_LDFLAGS
748 TOP_INSTALL_DEV
749 TOP_INSTALL_LIB
750 LDEXECFLAGS
751 LDDLLFLAGS
752 LDRPATH_LOCAL
753 LDRPATH_INSTALL
754 DLLFLAGS
756 OPENGL_LIBS
757 I386_LIBS
758 ICOTOOL
759 CONVERT
760 RSVG
761 FONTFORGE
762 PKG_CONFIG
763 MSGFMT
764 LDCONFIG
765 EGREP
766 GREP
767 LN_S
768 RANLIB
769 STRIP
770 ac_ct_AR
772 BISON
773 FLEX
774 TOOLSDIR
775 TARGETFLAGS
777 CPPBIN
778 ac_ct_CXX
779 CXXFLAGS
781 OBJEXT
782 EXEEXT
783 ac_ct_CC
784 CPPFLAGS
785 LDFLAGS
786 CFLAGS
788 SET_MAKE
789 host_os
790 host_vendor
791 host_cpu
792 host
793 build_os
794 build_vendor
795 build_cpu
796 build
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 runstatedir
817 localstatedir
818 sharedstatedir
819 sysconfdir
820 datadir
821 datarootdir
822 libexecdir
823 sbindir
824 bindir
825 program_transform_name
826 prefix
827 exec_prefix
828 PACKAGE_URL
829 PACKAGE_BUGREPORT
830 PACKAGE_STRING
831 PACKAGE_VERSION
832 PACKAGE_TARNAME
833 PACKAGE_NAME
834 PATH_SEPARATOR
835 SHELL'
836 ac_subst_files=''
837 ac_user_opts='
838 enable_option_checking
839 enable_win16
840 enable_win64
841 enable_tests
842 enable_maintainer_mode
843 enable_werror
844 with_alsa
845 with_capi
846 with_cms
847 with_coreaudio
848 with_cups
849 with_curses
850 with_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_glu
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
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_l1_1_0
947 enable_api_ms_win_core_file_l1_2_0
948 enable_api_ms_win_core_file_l1_2_1
949 enable_api_ms_win_core_file_l1_2_2
950 enable_api_ms_win_core_file_l2_1_0
951 enable_api_ms_win_core_file_l2_1_1
952 enable_api_ms_win_core_file_l2_1_2
953 enable_api_ms_win_core_handle_l1_1_0
954 enable_api_ms_win_core_heap_l1_1_0
955 enable_api_ms_win_core_heap_l1_2_0
956 enable_api_ms_win_core_heap_l2_1_0
957 enable_api_ms_win_core_heap_obsolete_l1_1_0
958 enable_api_ms_win_core_interlocked_l1_1_0
959 enable_api_ms_win_core_interlocked_l1_2_0
960 enable_api_ms_win_core_io_l1_1_0
961 enable_api_ms_win_core_io_l1_1_1
962 enable_api_ms_win_core_job_l1_1_0
963 enable_api_ms_win_core_job_l2_1_0
964 enable_api_ms_win_core_kernel32_legacy_l1_1_0
965 enable_api_ms_win_core_kernel32_legacy_l1_1_1
966 enable_api_ms_win_core_kernel32_private_l1_1_1
967 enable_api_ms_win_core_largeinteger_l1_1_0
968 enable_api_ms_win_core_libraryloader_l1_1_0
969 enable_api_ms_win_core_libraryloader_l1_1_1
970 enable_api_ms_win_core_libraryloader_l1_2_0
971 enable_api_ms_win_core_libraryloader_l1_2_1
972 enable_api_ms_win_core_libraryloader_l1_2_2
973 enable_api_ms_win_core_localization_l1_1_0
974 enable_api_ms_win_core_localization_l1_2_0
975 enable_api_ms_win_core_localization_l1_2_1
976 enable_api_ms_win_core_localization_l2_1_0
977 enable_api_ms_win_core_localization_obsolete_l1_1_0
978 enable_api_ms_win_core_localization_obsolete_l1_2_0
979 enable_api_ms_win_core_localization_obsolete_l1_3_0
980 enable_api_ms_win_core_localization_private_l1_1_0
981 enable_api_ms_win_core_localregistry_l1_1_0
982 enable_api_ms_win_core_memory_l1_1_0
983 enable_api_ms_win_core_memory_l1_1_1
984 enable_api_ms_win_core_memory_l1_1_2
985 enable_api_ms_win_core_misc_l1_1_0
986 enable_api_ms_win_core_namedpipe_l1_1_0
987 enable_api_ms_win_core_namedpipe_l1_2_0
988 enable_api_ms_win_core_namespace_l1_1_0
989 enable_api_ms_win_core_normalization_l1_1_0
990 enable_api_ms_win_core_path_l1_1_0
991 enable_api_ms_win_core_privateprofile_l1_1_1
992 enable_api_ms_win_core_processenvironment_l1_1_0
993 enable_api_ms_win_core_processenvironment_l1_2_0
994 enable_api_ms_win_core_processthreads_l1_1_0
995 enable_api_ms_win_core_processthreads_l1_1_1
996 enable_api_ms_win_core_processthreads_l1_1_2
997 enable_api_ms_win_core_processthreads_l1_1_3
998 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
999 enable_api_ms_win_core_profile_l1_1_0
1000 enable_api_ms_win_core_psapi_ansi_l1_1_0
1001 enable_api_ms_win_core_psapi_l1_1_0
1002 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1003 enable_api_ms_win_core_quirks_l1_1_0
1004 enable_api_ms_win_core_realtime_l1_1_0
1005 enable_api_ms_win_core_registry_l1_1_0
1006 enable_api_ms_win_core_registry_l2_1_0
1007 enable_api_ms_win_core_registry_l2_2_0
1008 enable_api_ms_win_core_registryuserspecific_l1_1_0
1009 enable_api_ms_win_core_rtlsupport_l1_1_0
1010 enable_api_ms_win_core_rtlsupport_l1_2_0
1011 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1012 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1013 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1014 enable_api_ms_win_core_shutdown_l1_1_0
1015 enable_api_ms_win_core_sidebyside_l1_1_0
1016 enable_api_ms_win_core_string_l1_1_0
1017 enable_api_ms_win_core_string_l2_1_0
1018 enable_api_ms_win_core_string_obsolete_l1_1_0
1019 enable_api_ms_win_core_stringansi_l1_1_0
1020 enable_api_ms_win_core_stringloader_l1_1_1
1021 enable_api_ms_win_core_synch_ansi_l1_1_0
1022 enable_api_ms_win_core_synch_l1_1_0
1023 enable_api_ms_win_core_synch_l1_2_0
1024 enable_api_ms_win_core_synch_l1_2_1
1025 enable_api_ms_win_core_sysinfo_l1_1_0
1026 enable_api_ms_win_core_sysinfo_l1_2_0
1027 enable_api_ms_win_core_sysinfo_l1_2_1
1028 enable_api_ms_win_core_threadpool_l1_1_0
1029 enable_api_ms_win_core_threadpool_l1_2_0
1030 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1031 enable_api_ms_win_core_threadpool_private_l1_1_0
1032 enable_api_ms_win_core_timezone_l1_1_0
1033 enable_api_ms_win_core_toolhelp_l1_1_0
1034 enable_api_ms_win_core_url_l1_1_0
1035 enable_api_ms_win_core_util_l1_1_0
1036 enable_api_ms_win_core_version_l1_1_0
1037 enable_api_ms_win_core_version_l1_1_1
1038 enable_api_ms_win_core_version_private_l1_1_0
1039 enable_api_ms_win_core_versionansi_l1_1_0
1040 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1041 enable_api_ms_win_core_winrt_error_l1_1_0
1042 enable_api_ms_win_core_winrt_error_l1_1_1
1043 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1044 enable_api_ms_win_core_winrt_l1_1_0
1045 enable_api_ms_win_core_winrt_registration_l1_1_0
1046 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1047 enable_api_ms_win_core_winrt_string_l1_1_0
1048 enable_api_ms_win_core_winrt_string_l1_1_1
1049 enable_api_ms_win_core_wow64_l1_1_0
1050 enable_api_ms_win_core_wow64_l1_1_1
1051 enable_api_ms_win_core_xstate_l1_1_0
1052 enable_api_ms_win_core_xstate_l2_1_0
1053 enable_api_ms_win_crt_conio_l1_1_0
1054 enable_api_ms_win_crt_convert_l1_1_0
1055 enable_api_ms_win_crt_environment_l1_1_0
1056 enable_api_ms_win_crt_filesystem_l1_1_0
1057 enable_api_ms_win_crt_heap_l1_1_0
1058 enable_api_ms_win_crt_locale_l1_1_0
1059 enable_api_ms_win_crt_math_l1_1_0
1060 enable_api_ms_win_crt_multibyte_l1_1_0
1061 enable_api_ms_win_crt_private_l1_1_0
1062 enable_api_ms_win_crt_process_l1_1_0
1063 enable_api_ms_win_crt_runtime_l1_1_0
1064 enable_api_ms_win_crt_stdio_l1_1_0
1065 enable_api_ms_win_crt_string_l1_1_0
1066 enable_api_ms_win_crt_time_l1_1_0
1067 enable_api_ms_win_crt_utility_l1_1_0
1068 enable_api_ms_win_devices_config_l1_1_0
1069 enable_api_ms_win_devices_config_l1_1_1
1070 enable_api_ms_win_devices_query_l1_1_1
1071 enable_api_ms_win_downlevel_advapi32_l1_1_0
1072 enable_api_ms_win_downlevel_advapi32_l2_1_0
1073 enable_api_ms_win_downlevel_normaliz_l1_1_0
1074 enable_api_ms_win_downlevel_ole32_l1_1_0
1075 enable_api_ms_win_downlevel_shell32_l1_1_0
1076 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1077 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1078 enable_api_ms_win_downlevel_user32_l1_1_0
1079 enable_api_ms_win_downlevel_version_l1_1_0
1080 enable_api_ms_win_dx_d3dkmt_l1_1_0
1081 enable_api_ms_win_eventing_classicprovider_l1_1_0
1082 enable_api_ms_win_eventing_consumer_l1_1_0
1083 enable_api_ms_win_eventing_controller_l1_1_0
1084 enable_api_ms_win_eventing_legacy_l1_1_0
1085 enable_api_ms_win_eventing_provider_l1_1_0
1086 enable_api_ms_win_eventlog_legacy_l1_1_0
1087 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1088 enable_api_ms_win_mm_joystick_l1_1_0
1089 enable_api_ms_win_mm_misc_l1_1_1
1090 enable_api_ms_win_mm_mme_l1_1_0
1091 enable_api_ms_win_mm_time_l1_1_0
1092 enable_api_ms_win_ntuser_dc_access_l1_1_0
1093 enable_api_ms_win_ntuser_rectangle_l1_1_0
1094 enable_api_ms_win_ntuser_sysparams_l1_1_0
1095 enable_api_ms_win_perf_legacy_l1_1_0
1096 enable_api_ms_win_power_base_l1_1_0
1097 enable_api_ms_win_power_setting_l1_1_0
1098 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1101 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1102 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1103 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1104 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1105 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1106 enable_api_ms_win_security_audit_l1_1_1
1107 enable_api_ms_win_security_base_l1_1_0
1108 enable_api_ms_win_security_base_l1_2_0
1109 enable_api_ms_win_security_base_private_l1_1_1
1110 enable_api_ms_win_security_credentials_l1_1_0
1111 enable_api_ms_win_security_cryptoapi_l1_1_0
1112 enable_api_ms_win_security_grouppolicy_l1_1_0
1113 enable_api_ms_win_security_lsalookup_l1_1_0
1114 enable_api_ms_win_security_lsalookup_l1_1_1
1115 enable_api_ms_win_security_lsalookup_l2_1_0
1116 enable_api_ms_win_security_lsalookup_l2_1_1
1117 enable_api_ms_win_security_lsapolicy_l1_1_0
1118 enable_api_ms_win_security_provider_l1_1_0
1119 enable_api_ms_win_security_sddl_l1_1_0
1120 enable_api_ms_win_security_systemfunctions_l1_1_0
1121 enable_api_ms_win_service_core_l1_1_0
1122 enable_api_ms_win_service_core_l1_1_1
1123 enable_api_ms_win_service_management_l1_1_0
1124 enable_api_ms_win_service_management_l2_1_0
1125 enable_api_ms_win_service_private_l1_1_1
1126 enable_api_ms_win_service_winsvc_l1_1_0
1127 enable_api_ms_win_service_winsvc_l1_2_0
1128 enable_api_ms_win_shcore_obsolete_l1_1_0
1129 enable_api_ms_win_shcore_scaling_l1_1_1
1130 enable_api_ms_win_shcore_stream_l1_1_0
1131 enable_api_ms_win_shcore_thread_l1_1_0
1132 enable_api_ms_win_shell_shellcom_l1_1_0
1133 enable_api_ms_win_shell_shellfolders_l1_1_0
1134 enable_apphelp
1135 enable_appwiz_cpl
1136 enable_atl
1137 enable_atl100
1138 enable_atl110
1139 enable_atl80
1140 enable_atl90
1141 enable_atlthunk
1142 enable_atmlib
1143 enable_authz
1144 enable_avicap32
1145 enable_avifil32
1146 enable_avrt
1147 enable_bcrypt
1148 enable_bluetoothapis
1149 enable_browseui
1150 enable_bthprops_cpl
1151 enable_cabinet
1152 enable_capi2032
1153 enable_cards
1154 enable_cdosys
1155 enable_cfgmgr32
1156 enable_clusapi
1157 enable_combase
1158 enable_comcat
1159 enable_comctl32
1160 enable_comdlg32
1161 enable_compstui
1162 enable_comsvcs
1163 enable_concrt140
1164 enable_connect
1165 enable_credui
1166 enable_crtdll
1167 enable_crypt32
1168 enable_cryptdlg
1169 enable_cryptdll
1170 enable_cryptext
1171 enable_cryptnet
1172 enable_cryptui
1173 enable_ctapi32
1174 enable_ctl3d32
1175 enable_d2d1
1176 enable_d3d10
1177 enable_d3d10_1
1178 enable_d3d10core
1179 enable_d3d11
1180 enable_d3d12
1181 enable_d3d8
1182 enable_d3d9
1183 enable_d3dcompiler_33
1184 enable_d3dcompiler_34
1185 enable_d3dcompiler_35
1186 enable_d3dcompiler_36
1187 enable_d3dcompiler_37
1188 enable_d3dcompiler_38
1189 enable_d3dcompiler_39
1190 enable_d3dcompiler_40
1191 enable_d3dcompiler_41
1192 enable_d3dcompiler_42
1193 enable_d3dcompiler_43
1194 enable_d3dcompiler_46
1195 enable_d3dcompiler_47
1196 enable_d3dim
1197 enable_d3drm
1198 enable_d3dx10_33
1199 enable_d3dx10_34
1200 enable_d3dx10_35
1201 enable_d3dx10_36
1202 enable_d3dx10_37
1203 enable_d3dx10_38
1204 enable_d3dx10_39
1205 enable_d3dx10_40
1206 enable_d3dx10_41
1207 enable_d3dx10_42
1208 enable_d3dx10_43
1209 enable_d3dx11_42
1210 enable_d3dx11_43
1211 enable_d3dx9_24
1212 enable_d3dx9_25
1213 enable_d3dx9_26
1214 enable_d3dx9_27
1215 enable_d3dx9_28
1216 enable_d3dx9_29
1217 enable_d3dx9_30
1218 enable_d3dx9_31
1219 enable_d3dx9_32
1220 enable_d3dx9_33
1221 enable_d3dx9_34
1222 enable_d3dx9_35
1223 enable_d3dx9_36
1224 enable_d3dx9_37
1225 enable_d3dx9_38
1226 enable_d3dx9_39
1227 enable_d3dx9_40
1228 enable_d3dx9_41
1229 enable_d3dx9_42
1230 enable_d3dx9_43
1231 enable_d3dxof
1232 enable_davclnt
1233 enable_dbgeng
1234 enable_dbghelp
1235 enable_dciman32
1236 enable_ddraw
1237 enable_ddrawex
1238 enable_devenum
1239 enable_dhcpcsvc
1240 enable_dhtmled_ocx
1241 enable_difxapi
1242 enable_dinput
1243 enable_dinput8
1244 enable_dispex
1245 enable_dmband
1246 enable_dmcompos
1247 enable_dmime
1248 enable_dmloader
1249 enable_dmoguids
1250 enable_dmscript
1251 enable_dmstyle
1252 enable_dmsynth
1253 enable_dmusic
1254 enable_dmusic32
1255 enable_dnsapi
1256 enable_dplay
1257 enable_dplayx
1258 enable_dpnaddr
1259 enable_dpnet
1260 enable_dpnhpast
1261 enable_dpnlobby
1262 enable_dpvoice
1263 enable_dpwsockx
1264 enable_drmclien
1265 enable_dsdmo
1266 enable_dsound
1267 enable_dsquery
1268 enable_dssenh
1269 enable_dsuiext
1270 enable_dswave
1271 enable_dwmapi
1272 enable_dwrite
1273 enable_dx8vb
1274 enable_dxdiagn
1275 enable_dxerr8
1276 enable_dxerr9
1277 enable_dxgi
1278 enable_dxguid
1279 enable_dxva2
1280 enable_esent
1281 enable_evr
1282 enable_explorerframe
1283 enable_ext_ms_win_authz_context_l1_1_0
1284 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1285 enable_ext_ms_win_dwmapi_ext_l1_1_0
1286 enable_ext_ms_win_gdi_dc_create_l1_1_0
1287 enable_ext_ms_win_gdi_dc_create_l1_1_1
1288 enable_ext_ms_win_gdi_dc_l1_2_0
1289 enable_ext_ms_win_gdi_devcaps_l1_1_0
1290 enable_ext_ms_win_gdi_draw_l1_1_0
1291 enable_ext_ms_win_gdi_draw_l1_1_1
1292 enable_ext_ms_win_gdi_font_l1_1_0
1293 enable_ext_ms_win_gdi_font_l1_1_1
1294 enable_ext_ms_win_gdi_render_l1_1_0
1295 enable_ext_ms_win_kernel32_package_current_l1_1_0
1296 enable_ext_ms_win_kernel32_package_l1_1_1
1297 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1298 enable_ext_ms_win_ntuser_draw_l1_1_0
1299 enable_ext_ms_win_ntuser_gui_l1_1_0
1300 enable_ext_ms_win_ntuser_gui_l1_3_0
1301 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1302 enable_ext_ms_win_ntuser_message_l1_1_0
1303 enable_ext_ms_win_ntuser_message_l1_1_1
1304 enable_ext_ms_win_ntuser_misc_l1_1_0
1305 enable_ext_ms_win_ntuser_misc_l1_2_0
1306 enable_ext_ms_win_ntuser_misc_l1_5_1
1307 enable_ext_ms_win_ntuser_mouse_l1_1_0
1308 enable_ext_ms_win_ntuser_private_l1_1_1
1309 enable_ext_ms_win_ntuser_private_l1_3_1
1310 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1311 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1312 enable_ext_ms_win_ntuser_window_l1_1_0
1313 enable_ext_ms_win_ntuser_window_l1_1_1
1314 enable_ext_ms_win_ntuser_window_l1_1_4
1315 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1316 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1317 enable_ext_ms_win_oleacc_l1_1_0
1318 enable_ext_ms_win_ras_rasapi32_l1_1_0
1319 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1320 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1321 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1326 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1327 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1328 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1329 enable_ext_ms_win_security_credui_l1_1_0
1330 enable_ext_ms_win_security_cryptui_l1_1_0
1331 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1332 enable_ext_ms_win_shell_comdlg32_l1_1_0
1333 enable_ext_ms_win_shell_shell32_l1_2_0
1334 enable_ext_ms_win_uxtheme_themes_l1_1_0
1335 enable_faultrep
1336 enable_feclient
1337 enable_fltlib
1338 enable_fltmgr_sys
1339 enable_fntcache
1340 enable_fontsub
1341 enable_fusion
1342 enable_fwpuclnt
1343 enable_gameux
1344 enable_gdi32
1345 enable_gdiplus
1346 enable_glu32
1347 enable_gphoto2_ds
1348 enable_gpkcsp
1349 enable_hal
1350 enable_hhctrl_ocx
1351 enable_hid
1352 enable_hidclass_sys
1353 enable_hlink
1354 enable_hnetcfg
1355 enable_http_sys
1356 enable_httpapi
1357 enable_iccvid
1358 enable_icmp
1359 enable_ieframe
1360 enable_ieproxy
1361 enable_imaadp32_acm
1362 enable_imagehlp
1363 enable_imm32
1364 enable_inetcomm
1365 enable_inetcpl_cpl
1366 enable_inetmib1
1367 enable_infosoft
1368 enable_initpki
1369 enable_inkobj
1370 enable_inseng
1371 enable_iphlpapi
1372 enable_iprop
1373 enable_irprops_cpl
1374 enable_itircl
1375 enable_itss
1376 enable_joy_cpl
1377 enable_jscript
1378 enable_jsproxy
1379 enable_kerberos
1380 enable_kernel32
1381 enable_kernelbase
1382 enable_ksecdd_sys
1383 enable_ksproxy_ax
1384 enable_ksuser
1385 enable_ktmw32
1386 enable_l3codeca_acm
1387 enable_loadperf
1388 enable_localspl
1389 enable_localui
1390 enable_lz32
1391 enable_mapi32
1392 enable_mapistub
1393 enable_mciavi32
1394 enable_mcicda
1395 enable_mciqtz32
1396 enable_mciseq
1397 enable_mciwave
1398 enable_mf
1399 enable_mf3216
1400 enable_mferror
1401 enable_mfmediaengine
1402 enable_mfplat
1403 enable_mfplay
1404 enable_mfreadwrite
1405 enable_mfuuid
1406 enable_mgmtapi
1407 enable_midimap
1408 enable_mlang
1409 enable_mmcndmgr
1410 enable_mmdevapi
1411 enable_mountmgr_sys
1412 enable_mp3dmod
1413 enable_mpr
1414 enable_mprapi
1415 enable_msacm32_drv
1416 enable_msacm32
1417 enable_msado15
1418 enable_msadp32_acm
1419 enable_msasn1
1420 enable_mscat32
1421 enable_mscms
1422 enable_mscoree
1423 enable_mscorwks
1424 enable_msctf
1425 enable_msctfp
1426 enable_msdaps
1427 enable_msdelta
1428 enable_msdmo
1429 enable_msdrm
1430 enable_msftedit
1431 enable_msg711_acm
1432 enable_msgsm32_acm
1433 enable_mshtml_tlb
1434 enable_mshtml
1435 enable_msi
1436 enable_msident
1437 enable_msimg32
1438 enable_msimsg
1439 enable_msimtf
1440 enable_msisip
1441 enable_msisys_ocx
1442 enable_msls31
1443 enable_msnet32
1444 enable_mspatcha
1445 enable_msports
1446 enable_msrle32
1447 enable_msscript_ocx
1448 enable_mssign32
1449 enable_mssip32
1450 enable_mstask
1451 enable_msvcirt
1452 enable_msvcm80
1453 enable_msvcm90
1454 enable_msvcp100
1455 enable_msvcp110
1456 enable_msvcp120
1457 enable_msvcp120_app
1458 enable_msvcp140
1459 enable_msvcp60
1460 enable_msvcp70
1461 enable_msvcp71
1462 enable_msvcp80
1463 enable_msvcp90
1464 enable_msvcr100
1465 enable_msvcr110
1466 enable_msvcr120
1467 enable_msvcr120_app
1468 enable_msvcr70
1469 enable_msvcr71
1470 enable_msvcr80
1471 enable_msvcr90
1472 enable_msvcrt
1473 enable_msvcrt20
1474 enable_msvcrt40
1475 enable_msvcrtd
1476 enable_msvfw32
1477 enable_msvidc32
1478 enable_mswsock
1479 enable_msxml
1480 enable_msxml2
1481 enable_msxml3
1482 enable_msxml4
1483 enable_msxml6
1484 enable_mtxdm
1485 enable_ncrypt
1486 enable_nddeapi
1487 enable_ndis_sys
1488 enable_netapi32
1489 enable_netcfgx
1490 enable_netprofm
1491 enable_newdev
1492 enable_ninput
1493 enable_normaliz
1494 enable_npmshtml
1495 enable_npptools
1496 enable_ntdll
1497 enable_ntdsapi
1498 enable_ntoskrnl_exe
1499 enable_ntprint
1500 enable_objsel
1501 enable_odbc32
1502 enable_odbcbcp
1503 enable_odbccp32
1504 enable_odbccu32
1505 enable_ole32
1506 enable_oleacc
1507 enable_oleaut32
1508 enable_olecli32
1509 enable_oledb32
1510 enable_oledlg
1511 enable_olepro32
1512 enable_olesvr32
1513 enable_olethk32
1514 enable_opcservices
1515 enable_openal32
1516 enable_opencl
1517 enable_opengl32
1518 enable_packager
1519 enable_pdh
1520 enable_photometadatahandler
1521 enable_pidgen
1522 enable_powrprof
1523 enable_printui
1524 enable_prntvpt
1525 enable_propsys
1526 enable_psapi
1527 enable_pstorec
1528 enable_qasf
1529 enable_qcap
1530 enable_qdvd
1531 enable_qedit
1532 enable_qmgr
1533 enable_qmgrprxy
1534 enable_quartz
1535 enable_query
1536 enable_qwave
1537 enable_rasapi32
1538 enable_rasdlg
1539 enable_regapi
1540 enable_resutils
1541 enable_riched20
1542 enable_riched32
1543 enable_rpcrt4
1544 enable_rsabase
1545 enable_rsaenh
1546 enable_rstrtmgr
1547 enable_rtutils
1548 enable_rtworkq
1549 enable_samlib
1550 enable_sane_ds
1551 enable_sapi
1552 enable_sas
1553 enable_scarddlg
1554 enable_sccbase
1555 enable_schannel
1556 enable_schedsvc
1557 enable_scrobj
1558 enable_scrrun
1559 enable_scsiport_sys
1560 enable_sechost
1561 enable_secur32
1562 enable_security
1563 enable_sensapi
1564 enable_serialui
1565 enable_setupapi
1566 enable_sfc
1567 enable_sfc_os
1568 enable_shcore
1569 enable_shdoclc
1570 enable_shdocvw
1571 enable_shell32
1572 enable_shfolder
1573 enable_shlwapi
1574 enable_slbcsp
1575 enable_slc
1576 enable_snmpapi
1577 enable_softpub
1578 enable_spoolss
1579 enable_srclient
1580 enable_sspicli
1581 enable_stdole2_tlb
1582 enable_stdole32_tlb
1583 enable_sti
1584 enable_strmbase
1585 enable_strmdll
1586 enable_strmiids
1587 enable_svrapi
1588 enable_sxs
1589 enable_t2embed
1590 enable_tapi32
1591 enable_taskschd
1592 enable_tdh
1593 enable_tdi_sys
1594 enable_traffic
1595 enable_twain_32
1596 enable_tzres
1597 enable_ucrtbase
1598 enable_uianimation
1599 enable_uiautomationcore
1600 enable_uiribbon
1601 enable_unicows
1602 enable_updspapi
1603 enable_url
1604 enable_urlmon
1605 enable_usbd_sys
1606 enable_user32
1607 enable_userenv
1608 enable_usp10
1609 enable_utildll
1610 enable_uuid
1611 enable_uxtheme
1612 enable_vbscript
1613 enable_vcomp
1614 enable_vcomp100
1615 enable_vcomp110
1616 enable_vcomp120
1617 enable_vcomp140
1618 enable_vcomp90
1619 enable_vcruntime140
1620 enable_vcruntime140_1
1621 enable_vdmdbg
1622 enable_version
1623 enable_vga
1624 enable_virtdisk
1625 enable_vssapi
1626 enable_vulkan_1
1627 enable_wbemdisp
1628 enable_wbemprox
1629 enable_wbemuuid
1630 enable_wdscore
1631 enable_webservices
1632 enable_wer
1633 enable_wevtapi
1634 enable_wiaservc
1635 enable_wimgapi
1636 enable_windowscodecs
1637 enable_windowscodecsext
1638 enable_winealsa_drv
1639 enable_wineandroid_drv
1640 enable_winebus_sys
1641 enable_winecoreaudio_drv
1642 enable_winecrt0
1643 enable_wined3d
1644 enable_winegstreamer
1645 enable_winehid_sys
1646 enable_winejoystick_drv
1647 enable_winemac_drv
1648 enable_winemapi
1649 enable_wineoss_drv
1650 enable_wineps_drv
1651 enable_winepulse_drv
1652 enable_wineqtdecoder
1653 enable_wineusb_sys
1654 enable_winevulkan
1655 enable_winex11_drv
1656 enable_wing32
1657 enable_winhttp
1658 enable_wininet
1659 enable_winmm
1660 enable_winnls32
1661 enable_winscard
1662 enable_winspool_drv
1663 enable_winsta
1664 enable_wintab32
1665 enable_wintrust
1666 enable_winusb
1667 enable_wlanapi
1668 enable_wlanui
1669 enable_wldap32
1670 enable_wmasf
1671 enable_wmcodecdspuuid
1672 enable_wmi
1673 enable_wmiutils
1674 enable_wmp
1675 enable_wmphoto
1676 enable_wmvcore
1677 enable_wnaspi32
1678 enable_wpc
1679 enable_wpcap
1680 enable_ws2_32
1681 enable_wsdapi
1682 enable_wshom_ocx
1683 enable_wsnmp32
1684 enable_wsock32
1685 enable_wtsapi32
1686 enable_wuapi
1687 enable_wuaueng
1688 enable_x3daudio1_0
1689 enable_x3daudio1_1
1690 enable_x3daudio1_2
1691 enable_x3daudio1_3
1692 enable_x3daudio1_4
1693 enable_x3daudio1_5
1694 enable_x3daudio1_6
1695 enable_x3daudio1_7
1696 enable_xapofx1_1
1697 enable_xapofx1_2
1698 enable_xapofx1_3
1699 enable_xapofx1_4
1700 enable_xapofx1_5
1701 enable_xaudio2_0
1702 enable_xaudio2_1
1703 enable_xaudio2_2
1704 enable_xaudio2_3
1705 enable_xaudio2_4
1706 enable_xaudio2_5
1707 enable_xaudio2_6
1708 enable_xaudio2_7
1709 enable_xaudio2_8
1710 enable_xaudio2_9
1711 enable_xinput1_1
1712 enable_xinput1_2
1713 enable_xinput1_3
1714 enable_xinput1_4
1715 enable_xinput9_1_0
1716 enable_xmllite
1717 enable_xolehlp
1718 enable_xpsprint
1719 enable_xpssvcs
1720 enable_fonts
1721 enable_include
1722 enable_port
1723 enable_wine
1724 enable_wpp
1725 enable_loader
1726 enable_nls
1727 enable_po
1728 enable_arp
1729 enable_aspnet_regiis
1730 enable_attrib
1731 enable_cabarc
1732 enable_cacls
1733 enable_chcp_com
1734 enable_clock
1735 enable_cmd
1736 enable_conhost
1737 enable_control
1738 enable_cscript
1739 enable_dism
1740 enable_dpnsvr
1741 enable_dxdiag
1742 enable_eject
1743 enable_expand
1744 enable_explorer
1745 enable_extrac32
1746 enable_fc
1747 enable_find
1748 enable_findstr
1749 enable_fsutil
1750 enable_hh
1751 enable_hostname
1752 enable_icacls
1753 enable_icinfo
1754 enable_iexplore
1755 enable_ipconfig
1756 enable_lodctr
1757 enable_mofcomp
1758 enable_mshta
1759 enable_msidb
1760 enable_msiexec
1761 enable_msinfo32
1762 enable_net
1763 enable_netsh
1764 enable_netstat
1765 enable_ngen
1766 enable_notepad
1767 enable_oleview
1768 enable_ping
1769 enable_plugplay
1770 enable_powershell
1771 enable_presentationfontcache
1772 enable_progman
1773 enable_reg
1774 enable_regasm
1775 enable_regedit
1776 enable_regini
1777 enable_regsvcs
1778 enable_regsvr32
1779 enable_rpcss
1780 enable_rundll32
1781 enable_sc
1782 enable_schtasks
1783 enable_sdbinst
1784 enable_secedit
1785 enable_servicemodelreg
1786 enable_services
1787 enable_shutdown
1788 enable_spoolsv
1789 enable_start
1790 enable_subst
1791 enable_svchost
1792 enable_systeminfo
1793 enable_taskkill
1794 enable_tasklist
1795 enable_taskmgr
1796 enable_termsv
1797 enable_uninstaller
1798 enable_unlodctr
1799 enable_view
1800 enable_wevtutil
1801 enable_whoami
1802 enable_wineboot
1803 enable_winebrowser
1804 enable_winecfg
1805 enable_wineconsole
1806 enable_winedbg
1807 enable_winedevice
1808 enable_winefile
1809 enable_winemenubuilder
1810 enable_winemine
1811 enable_winemsibuilder
1812 enable_winepath
1813 enable_winetest
1814 enable_winhlp32
1815 enable_winmgmt
1816 enable_winver
1817 enable_wmic
1818 enable_wmplayer
1819 enable_wordpad
1820 enable_write
1821 enable_wscript
1822 enable_wuauserv
1823 enable_wusa
1824 enable_xcopy
1825 enable_server
1826 enable_tools
1827 enable_sfnt2fon
1828 enable_widl
1829 enable_winebuild
1830 enable_winedump
1831 enable_winegcc
1832 enable_winemaker
1833 enable_wmc
1834 enable_wrc
1836 ac_precious_vars='build_alias
1837 host_alias
1838 target_alias
1840 CFLAGS
1841 LDFLAGS
1842 LIBS
1843 CPPFLAGS
1845 CXXFLAGS
1848 OBJC
1849 OBJCFLAGS
1850 OBJCPP
1851 XMKMF
1852 XML2_CFLAGS
1853 XML2_LIBS
1854 XSLT_CFLAGS
1855 XSLT_LIBS
1856 INOTIFY_CFLAGS
1857 INOTIFY_LIBS
1858 DBUS_CFLAGS
1859 DBUS_LIBS
1860 HAL_CFLAGS
1861 HAL_LIBS
1862 GNUTLS_CFLAGS
1863 GNUTLS_LIBS
1864 SANE_CFLAGS
1865 SANE_LIBS
1866 USB_CFLAGS
1867 USB_LIBS
1868 GPHOTO2_CFLAGS
1869 GPHOTO2_LIBS
1870 GPHOTO2_PORT_CFLAGS
1871 GPHOTO2_PORT_LIBS
1872 LCMS2_CFLAGS
1873 LCMS2_LIBS
1874 FREETYPE_CFLAGS
1875 FREETYPE_LIBS
1876 PULSE_CFLAGS
1877 PULSE_LIBS
1878 GSTREAMER_CFLAGS
1879 GSTREAMER_LIBS
1880 UDEV_CFLAGS
1881 UDEV_LIBS
1882 UNWIND_CFLAGS
1883 UNWIND_LIBS
1884 SDL2_CFLAGS
1885 SDL2_LIBS
1886 FAUDIO_CFLAGS
1887 FAUDIO_LIBS
1888 CAPI20_CFLAGS
1889 CAPI20_LIBS
1890 CUPS_CFLAGS
1891 CUPS_LIBS
1892 FONTCONFIG_CFLAGS
1893 FONTCONFIG_LIBS
1894 KRB5_CFLAGS
1895 KRB5_LIBS
1896 GSSAPI_CFLAGS
1897 GSSAPI_LIBS
1898 JPEG_CFLAGS
1899 JPEG_LIBS
1900 PNG_CFLAGS
1901 PNG_LIBS
1902 TIFF_CFLAGS
1903 TIFF_LIBS
1904 MPG123_CFLAGS
1905 MPG123_LIBS
1906 NETAPI_CFLAGS
1907 NETAPI_LIBS
1908 VKD3D_CFLAGS
1909 VKD3D_LIBS
1910 LDAP_CFLAGS
1911 LDAP_LIBS'
1914 # Initialize some variables set by options.
1915 ac_init_help=
1916 ac_init_version=false
1917 ac_unrecognized_opts=
1918 ac_unrecognized_sep=
1919 # The variables have the same names as the options, with
1920 # dashes changed to underlines.
1921 cache_file=/dev/null
1922 exec_prefix=NONE
1923 no_create=
1924 no_recursion=
1925 prefix=NONE
1926 program_prefix=NONE
1927 program_suffix=NONE
1928 program_transform_name=s,x,x,
1929 silent=
1930 site=
1931 srcdir=
1932 verbose=
1933 x_includes=NONE
1934 x_libraries=NONE
1936 # Installation directory options.
1937 # These are left unexpanded so users can "make install exec_prefix=/foo"
1938 # and all the variables that are supposed to be based on exec_prefix
1939 # by default will actually change.
1940 # Use braces instead of parens because sh, perl, etc. also accept them.
1941 # (The list follows the same order as the GNU Coding Standards.)
1942 bindir='${exec_prefix}/bin'
1943 sbindir='${exec_prefix}/sbin'
1944 libexecdir='${exec_prefix}/libexec'
1945 datarootdir='${prefix}/share'
1946 datadir='${datarootdir}'
1947 sysconfdir='${prefix}/etc'
1948 sharedstatedir='${prefix}/com'
1949 localstatedir='${prefix}/var'
1950 runstatedir='${localstatedir}/run'
1951 includedir='${prefix}/include'
1952 oldincludedir='/usr/include'
1953 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1954 infodir='${datarootdir}/info'
1955 htmldir='${docdir}'
1956 dvidir='${docdir}'
1957 pdfdir='${docdir}'
1958 psdir='${docdir}'
1959 libdir='${exec_prefix}/lib'
1960 localedir='${datarootdir}/locale'
1961 mandir='${datarootdir}/man'
1963 ac_prev=
1964 ac_dashdash=
1965 for ac_option
1967 # If the previous option needs an argument, assign it.
1968 if test -n "$ac_prev"; then
1969 eval $ac_prev=\$ac_option
1970 ac_prev=
1971 continue
1974 case $ac_option in
1975 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1976 *=) ac_optarg= ;;
1977 *) ac_optarg=yes ;;
1978 esac
1980 # Accept the important Cygnus configure options, so we can diagnose typos.
1982 case $ac_dashdash$ac_option in
1984 ac_dashdash=yes ;;
1986 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1987 ac_prev=bindir ;;
1988 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1989 bindir=$ac_optarg ;;
1991 -build | --build | --buil | --bui | --bu)
1992 ac_prev=build_alias ;;
1993 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1994 build_alias=$ac_optarg ;;
1996 -cache-file | --cache-file | --cache-fil | --cache-fi \
1997 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1998 ac_prev=cache_file ;;
1999 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2000 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2001 cache_file=$ac_optarg ;;
2003 --config-cache | -C)
2004 cache_file=config.cache ;;
2006 -datadir | --datadir | --datadi | --datad)
2007 ac_prev=datadir ;;
2008 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2009 datadir=$ac_optarg ;;
2011 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2012 | --dataroo | --dataro | --datar)
2013 ac_prev=datarootdir ;;
2014 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2015 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2016 datarootdir=$ac_optarg ;;
2018 -disable-* | --disable-*)
2019 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2020 # Reject names that are not valid shell variable names.
2021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2022 as_fn_error $? "invalid feature name: $ac_useropt"
2023 ac_useropt_orig=$ac_useropt
2024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2025 case $ac_user_opts in
2027 "enable_$ac_useropt"
2028 "*) ;;
2029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2030 ac_unrecognized_sep=', ';;
2031 esac
2032 eval enable_$ac_useropt=no ;;
2034 -docdir | --docdir | --docdi | --doc | --do)
2035 ac_prev=docdir ;;
2036 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2037 docdir=$ac_optarg ;;
2039 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2040 ac_prev=dvidir ;;
2041 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2042 dvidir=$ac_optarg ;;
2044 -enable-* | --enable-*)
2045 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2046 # Reject names that are not valid shell variable names.
2047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2048 as_fn_error $? "invalid feature name: $ac_useropt"
2049 ac_useropt_orig=$ac_useropt
2050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2051 case $ac_user_opts in
2053 "enable_$ac_useropt"
2054 "*) ;;
2055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2056 ac_unrecognized_sep=', ';;
2057 esac
2058 eval enable_$ac_useropt=\$ac_optarg ;;
2060 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2061 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2062 | --exec | --exe | --ex)
2063 ac_prev=exec_prefix ;;
2064 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2065 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2066 | --exec=* | --exe=* | --ex=*)
2067 exec_prefix=$ac_optarg ;;
2069 -gas | --gas | --ga | --g)
2070 # Obsolete; use --with-gas.
2071 with_gas=yes ;;
2073 -help | --help | --hel | --he | -h)
2074 ac_init_help=long ;;
2075 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2076 ac_init_help=recursive ;;
2077 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2078 ac_init_help=short ;;
2080 -host | --host | --hos | --ho)
2081 ac_prev=host_alias ;;
2082 -host=* | --host=* | --hos=* | --ho=*)
2083 host_alias=$ac_optarg ;;
2085 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2086 ac_prev=htmldir ;;
2087 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2088 | --ht=*)
2089 htmldir=$ac_optarg ;;
2091 -includedir | --includedir | --includedi | --included | --include \
2092 | --includ | --inclu | --incl | --inc)
2093 ac_prev=includedir ;;
2094 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2095 | --includ=* | --inclu=* | --incl=* | --inc=*)
2096 includedir=$ac_optarg ;;
2098 -infodir | --infodir | --infodi | --infod | --info | --inf)
2099 ac_prev=infodir ;;
2100 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2101 infodir=$ac_optarg ;;
2103 -libdir | --libdir | --libdi | --libd)
2104 ac_prev=libdir ;;
2105 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2106 libdir=$ac_optarg ;;
2108 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2109 | --libexe | --libex | --libe)
2110 ac_prev=libexecdir ;;
2111 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2112 | --libexe=* | --libex=* | --libe=*)
2113 libexecdir=$ac_optarg ;;
2115 -localedir | --localedir | --localedi | --localed | --locale)
2116 ac_prev=localedir ;;
2117 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2118 localedir=$ac_optarg ;;
2120 -localstatedir | --localstatedir | --localstatedi | --localstated \
2121 | --localstate | --localstat | --localsta | --localst | --locals)
2122 ac_prev=localstatedir ;;
2123 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2124 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2125 localstatedir=$ac_optarg ;;
2127 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2128 ac_prev=mandir ;;
2129 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2130 mandir=$ac_optarg ;;
2132 -nfp | --nfp | --nf)
2133 # Obsolete; use --without-fp.
2134 with_fp=no ;;
2136 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2137 | --no-cr | --no-c | -n)
2138 no_create=yes ;;
2140 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2141 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2142 no_recursion=yes ;;
2144 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2145 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2146 | --oldin | --oldi | --old | --ol | --o)
2147 ac_prev=oldincludedir ;;
2148 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2149 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2150 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2151 oldincludedir=$ac_optarg ;;
2153 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2154 ac_prev=prefix ;;
2155 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2156 prefix=$ac_optarg ;;
2158 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2159 | --program-pre | --program-pr | --program-p)
2160 ac_prev=program_prefix ;;
2161 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2162 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2163 program_prefix=$ac_optarg ;;
2165 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2166 | --program-suf | --program-su | --program-s)
2167 ac_prev=program_suffix ;;
2168 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2169 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2170 program_suffix=$ac_optarg ;;
2172 -program-transform-name | --program-transform-name \
2173 | --program-transform-nam | --program-transform-na \
2174 | --program-transform-n | --program-transform- \
2175 | --program-transform | --program-transfor \
2176 | --program-transfo | --program-transf \
2177 | --program-trans | --program-tran \
2178 | --progr-tra | --program-tr | --program-t)
2179 ac_prev=program_transform_name ;;
2180 -program-transform-name=* | --program-transform-name=* \
2181 | --program-transform-nam=* | --program-transform-na=* \
2182 | --program-transform-n=* | --program-transform-=* \
2183 | --program-transform=* | --program-transfor=* \
2184 | --program-transfo=* | --program-transf=* \
2185 | --program-trans=* | --program-tran=* \
2186 | --progr-tra=* | --program-tr=* | --program-t=*)
2187 program_transform_name=$ac_optarg ;;
2189 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2190 ac_prev=pdfdir ;;
2191 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2192 pdfdir=$ac_optarg ;;
2194 -psdir | --psdir | --psdi | --psd | --ps)
2195 ac_prev=psdir ;;
2196 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2197 psdir=$ac_optarg ;;
2199 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2200 | -silent | --silent | --silen | --sile | --sil)
2201 silent=yes ;;
2203 -runstatedir | --runstatedir | --runstatedi | --runstated \
2204 | --runstate | --runstat | --runsta | --runst | --runs \
2205 | --run | --ru | --r)
2206 ac_prev=runstatedir ;;
2207 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2208 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2209 | --run=* | --ru=* | --r=*)
2210 runstatedir=$ac_optarg ;;
2212 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2213 ac_prev=sbindir ;;
2214 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2215 | --sbi=* | --sb=*)
2216 sbindir=$ac_optarg ;;
2218 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2219 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2220 | --sharedst | --shareds | --shared | --share | --shar \
2221 | --sha | --sh)
2222 ac_prev=sharedstatedir ;;
2223 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2224 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2225 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2226 | --sha=* | --sh=*)
2227 sharedstatedir=$ac_optarg ;;
2229 -site | --site | --sit)
2230 ac_prev=site ;;
2231 -site=* | --site=* | --sit=*)
2232 site=$ac_optarg ;;
2234 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2235 ac_prev=srcdir ;;
2236 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2237 srcdir=$ac_optarg ;;
2239 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2240 | --syscon | --sysco | --sysc | --sys | --sy)
2241 ac_prev=sysconfdir ;;
2242 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2243 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2244 sysconfdir=$ac_optarg ;;
2246 -target | --target | --targe | --targ | --tar | --ta | --t)
2247 ac_prev=target_alias ;;
2248 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2249 target_alias=$ac_optarg ;;
2251 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2252 verbose=yes ;;
2254 -version | --version | --versio | --versi | --vers | -V)
2255 ac_init_version=: ;;
2257 -with-* | --with-*)
2258 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2259 # Reject names that are not valid shell variable names.
2260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2261 as_fn_error $? "invalid package name: $ac_useropt"
2262 ac_useropt_orig=$ac_useropt
2263 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2264 case $ac_user_opts in
2266 "with_$ac_useropt"
2267 "*) ;;
2268 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2269 ac_unrecognized_sep=', ';;
2270 esac
2271 eval with_$ac_useropt=\$ac_optarg ;;
2273 -without-* | --without-*)
2274 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2275 # Reject names that are not valid shell variable names.
2276 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2277 as_fn_error $? "invalid package name: $ac_useropt"
2278 ac_useropt_orig=$ac_useropt
2279 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2280 case $ac_user_opts in
2282 "with_$ac_useropt"
2283 "*) ;;
2284 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2285 ac_unrecognized_sep=', ';;
2286 esac
2287 eval with_$ac_useropt=no ;;
2289 --x)
2290 # Obsolete; use --with-x.
2291 with_x=yes ;;
2293 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2294 | --x-incl | --x-inc | --x-in | --x-i)
2295 ac_prev=x_includes ;;
2296 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2297 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2298 x_includes=$ac_optarg ;;
2300 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2301 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2302 ac_prev=x_libraries ;;
2303 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2304 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2305 x_libraries=$ac_optarg ;;
2307 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2308 Try \`$0 --help' for more information"
2311 *=*)
2312 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2313 # Reject names that are not valid shell variable names.
2314 case $ac_envvar in #(
2315 '' | [0-9]* | *[!_$as_cr_alnum]* )
2316 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2317 esac
2318 eval $ac_envvar=\$ac_optarg
2319 export $ac_envvar ;;
2322 # FIXME: should be removed in autoconf 3.0.
2323 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2324 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2325 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2326 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2329 esac
2330 done
2332 if test -n "$ac_prev"; then
2333 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2334 as_fn_error $? "missing argument to $ac_option"
2337 if test -n "$ac_unrecognized_opts"; then
2338 case $enable_option_checking in
2339 no) ;;
2340 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2341 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2342 esac
2345 # Check all directory arguments for consistency.
2346 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2347 datadir sysconfdir sharedstatedir localstatedir includedir \
2348 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2349 libdir localedir mandir runstatedir
2351 eval ac_val=\$$ac_var
2352 # Remove trailing slashes.
2353 case $ac_val in
2354 */ )
2355 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2356 eval $ac_var=\$ac_val;;
2357 esac
2358 # Be sure to have absolute directory names.
2359 case $ac_val in
2360 [\\/$]* | ?:[\\/]* ) continue;;
2361 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2362 esac
2363 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2364 done
2366 # There might be people who depend on the old broken behavior: `$host'
2367 # used to hold the argument of --host etc.
2368 # FIXME: To remove some day.
2369 build=$build_alias
2370 host=$host_alias
2371 target=$target_alias
2373 # FIXME: To remove some day.
2374 if test "x$host_alias" != x; then
2375 if test "x$build_alias" = x; then
2376 cross_compiling=maybe
2377 elif test "x$build_alias" != "x$host_alias"; then
2378 cross_compiling=yes
2382 ac_tool_prefix=
2383 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2385 test "$silent" = yes && exec 6>/dev/null
2388 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2389 ac_ls_di=`ls -di .` &&
2390 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2391 as_fn_error $? "working directory cannot be determined"
2392 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2393 as_fn_error $? "pwd does not report name of working directory"
2396 # Find the source files, if location was not specified.
2397 if test -z "$srcdir"; then
2398 ac_srcdir_defaulted=yes
2399 # Try the directory containing this script, then the parent directory.
2400 ac_confdir=`$as_dirname -- "$as_myself" ||
2401 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2402 X"$as_myself" : 'X\(//\)[^/]' \| \
2403 X"$as_myself" : 'X\(//\)$' \| \
2404 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2405 $as_echo X"$as_myself" |
2406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2407 s//\1/
2410 /^X\(\/\/\)[^/].*/{
2411 s//\1/
2414 /^X\(\/\/\)$/{
2415 s//\1/
2418 /^X\(\/\).*/{
2419 s//\1/
2422 s/.*/./; q'`
2423 srcdir=$ac_confdir
2424 if test ! -r "$srcdir/$ac_unique_file"; then
2425 srcdir=..
2427 else
2428 ac_srcdir_defaulted=no
2430 if test ! -r "$srcdir/$ac_unique_file"; then
2431 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2432 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2434 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2435 ac_abs_confdir=`(
2436 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2437 pwd)`
2438 # When building in place, set srcdir=.
2439 if test "$ac_abs_confdir" = "$ac_pwd"; then
2440 srcdir=.
2442 # Remove unnecessary trailing slashes from srcdir.
2443 # Double slashes in file names in object file debugging info
2444 # mess up M-x gdb in Emacs.
2445 case $srcdir in
2446 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2447 esac
2448 for ac_var in $ac_precious_vars; do
2449 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2450 eval ac_env_${ac_var}_value=\$${ac_var}
2451 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2452 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2453 done
2456 # Report the --help message.
2458 if test "$ac_init_help" = "long"; then
2459 # Omit some internal or obsolete options to make the list less imposing.
2460 # This message is too long to be a string in the A/UX 3.1 sh.
2461 cat <<_ACEOF
2462 \`configure' configures Wine 5.7 to adapt to many kinds of systems.
2464 Usage: $0 [OPTION]... [VAR=VALUE]...
2466 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2467 VAR=VALUE. See below for descriptions of some of the useful variables.
2469 Defaults for the options are specified in brackets.
2471 Configuration:
2472 -h, --help display this help and exit
2473 --help=short display options specific to this package
2474 --help=recursive display the short help of all the included packages
2475 -V, --version display version information and exit
2476 -q, --quiet, --silent do not print \`checking ...' messages
2477 --cache-file=FILE cache test results in FILE [disabled]
2478 -C, --config-cache alias for \`--cache-file=config.cache'
2479 -n, --no-create do not create output files
2480 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2482 Installation directories:
2483 --prefix=PREFIX install architecture-independent files in PREFIX
2484 [$ac_default_prefix]
2485 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2486 [PREFIX]
2488 By default, \`make install' will install all the files in
2489 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2490 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2491 for instance \`--prefix=\$HOME'.
2493 For better control, use the options below.
2495 Fine tuning of the installation directories:
2496 --bindir=DIR user executables [EPREFIX/bin]
2497 --sbindir=DIR system admin executables [EPREFIX/sbin]
2498 --libexecdir=DIR program executables [EPREFIX/libexec]
2499 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2500 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2501 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2502 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2503 --libdir=DIR object code libraries [EPREFIX/lib]
2504 --includedir=DIR C header files [PREFIX/include]
2505 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2506 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2507 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2508 --infodir=DIR info documentation [DATAROOTDIR/info]
2509 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2510 --mandir=DIR man documentation [DATAROOTDIR/man]
2511 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2512 --htmldir=DIR html documentation [DOCDIR]
2513 --dvidir=DIR dvi documentation [DOCDIR]
2514 --pdfdir=DIR pdf documentation [DOCDIR]
2515 --psdir=DIR ps documentation [DOCDIR]
2516 _ACEOF
2518 cat <<\_ACEOF
2520 X features:
2521 --x-includes=DIR X include files are in DIR
2522 --x-libraries=DIR X library files are in DIR
2524 System types:
2525 --build=BUILD configure for building on BUILD [guessed]
2526 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2527 _ACEOF
2530 if test -n "$ac_init_help"; then
2531 case $ac_init_help in
2532 short | recursive ) echo "Configuration of Wine 5.7:";;
2533 esac
2534 cat <<\_ACEOF
2536 Optional Features:
2537 --disable-option-checking ignore unrecognized --enable/--with options
2538 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2539 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2540 --disable-win16 do not include Win16 support
2541 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2542 binaries)
2543 --disable-tests do not build the regression tests
2544 --enable-maintainer-mode
2545 enable maintainer-specific build rules
2546 --enable-werror treat compilation warnings as errors
2547 --disable-largefile omit support for large files
2549 Optional Packages:
2550 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2551 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2552 --without-alsa do not use the Alsa sound support
2553 --without-capi do not use CAPI (ISDN support)
2554 --without-cms do not use CMS (color management support)
2555 --without-coreaudio do not use the CoreAudio sound support
2556 --without-cups do not use CUPS
2557 --without-curses do not use (n)curses
2558 --without-dbus do not use DBus (dynamic device support)
2559 --without-faudio do not use FAudio (XAudio2 support)
2560 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2561 --without-fontconfig do not use fontconfig
2562 --without-freetype do not use the FreeType library
2563 --without-gettext do not use gettext
2564 --with-gettextpo use the GetTextPO library to rebuild po files
2565 --without-gphoto do not use gphoto (Digital Camera support)
2566 --without-glu do not use the GLU library
2567 --without-gnutls do not use GnuTLS (schannel support)
2568 --without-gsm do not use libgsm (GSM 06.10 codec support)
2569 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2570 --without-gstreamer do not use GStreamer (codecs support)
2571 --without-hal do not use HAL (dynamic device support)
2572 --without-inotify do not use inotify (filesystem change notifications)
2573 --without-jpeg do not use JPEG
2574 --without-krb5 do not use krb5 (Kerberos)
2575 --without-ldap do not use LDAP
2576 --without-mingw do not use the MinGW cross-compiler
2577 --without-mpg123 do not use the mpg123 library
2578 --without-netapi do not use the Samba NetAPI library
2579 --without-openal do not use OpenAL
2580 --without-opencl do not use OpenCL
2581 --without-opengl do not use OpenGL
2582 --without-osmesa do not use the OSMesa library
2583 --without-oss do not use the OSS sound support
2584 --without-pcap do not use the Packet Capture library
2585 --without-png do not use PNG
2586 --without-pthread do not use the pthread library
2587 --without-pulse do not use PulseAudio sound support
2588 --without-sane do not use SANE (scanner support)
2589 --without-sdl do not use SDL
2590 --without-tiff do not use TIFF
2591 --without-udev do not use udev (plug and play support)
2592 --without-unwind do not use the libunwind library (exception
2593 handling)
2594 --without-usb do not use the libusb library
2595 --without-v4l2 do not use v4l2 (video capture)
2596 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2597 --without-vulkan do not use Vulkan
2598 --without-xcomposite do not use the Xcomposite extension
2599 --without-xcursor do not use the Xcursor extension
2600 --without-xfixes do not use Xfixes for clipboard change notifications
2601 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2602 --without-xinput do not use the Xinput extension
2603 --without-xinput2 do not use the Xinput 2 extension
2604 --without-xml do not use XML
2605 --without-xrandr do not use Xrandr (multi-monitor support)
2606 --without-xrender do not use the Xrender extension
2607 --without-xshape do not use the Xshape extension
2608 --without-xshm do not use XShm (shared memory extension)
2609 --without-xslt do not use XSLT
2610 --without-xxf86vm do not use XFree video mode extension
2611 --with-wine-tools=DIR use Wine tools from directory DIR
2612 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2613 --with-x use the X Window System
2615 Some influential environment variables:
2616 CC C compiler command
2617 CFLAGS C compiler flags
2618 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2619 nonstandard directory <lib dir>
2620 LIBS libraries to pass to the linker, e.g. -l<library>
2621 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2622 you have headers in a nonstandard directory <include dir>
2623 CXX C++ compiler command
2624 CXXFLAGS C++ compiler flags
2625 CPP C preprocessor
2626 OBJC Objective C compiler command
2627 OBJCFLAGS Objective C compiler flags
2628 OBJCPP Objective C preprocessor
2629 XMKMF Path to xmkmf, Makefile generator for X Window System
2630 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2631 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2632 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2633 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2634 INOTIFY_CFLAGS
2635 C compiler flags for libinotify, overriding pkg-config
2636 INOTIFY_LIBS
2637 Linker flags for libinotify, overriding pkg-config
2638 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2639 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2640 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2641 HAL_LIBS Linker flags for hal, overriding pkg-config
2642 GNUTLS_CFLAGS
2643 C compiler flags for gnutls, overriding pkg-config
2644 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2645 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2646 SANE_LIBS Linker flags for libsane, overriding pkg-config
2647 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2648 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2649 GPHOTO2_CFLAGS
2650 C compiler flags for libgphoto2, overriding pkg-config
2651 GPHOTO2_LIBS
2652 Linker flags for libgphoto2, overriding pkg-config
2653 GPHOTO2_PORT_CFLAGS
2654 C compiler flags for libgphoto2_port, overriding pkg-config
2655 GPHOTO2_PORT_LIBS
2656 Linker flags for libgphoto2_port, overriding pkg-config
2657 LCMS2_CFLAGS
2658 C compiler flags for lcms2, overriding pkg-config
2659 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2660 FREETYPE_CFLAGS
2661 C compiler flags for freetype2, overriding pkg-config
2662 FREETYPE_LIBS
2663 Linker flags for freetype2, overriding pkg-config
2664 PULSE_CFLAGS
2665 C compiler flags for libpulse, overriding pkg-config
2666 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2667 GSTREAMER_CFLAGS
2668 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2669 gstreamer-audio-1.0, overriding pkg-config
2670 GSTREAMER_LIBS
2671 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2672 gstreamer-audio-1.0, overriding pkg-config
2673 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2674 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2675 UNWIND_CFLAGS
2676 C compiler flags for libunwind, overriding pkg-config
2677 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2678 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2679 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2680 FAUDIO_CFLAGS
2681 C compiler flags for faudio, overriding pkg-config
2682 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2683 CAPI20_CFLAGS
2684 C compiler flags for capi20, overriding pkg-config
2685 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2686 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2687 CUPS_LIBS Linker flags for cups, overriding pkg-config
2688 FONTCONFIG_CFLAGS
2689 C compiler flags for fontconfig, overriding pkg-config
2690 FONTCONFIG_LIBS
2691 Linker flags for fontconfig, overriding pkg-config
2692 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2693 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2694 GSSAPI_CFLAGS
2695 C compiler flags for krb5-gssapi, overriding pkg-config
2696 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2697 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2698 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2699 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2700 PNG_LIBS Linker flags for libpng, overriding pkg-config
2701 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2702 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2703 MPG123_CFLAGS
2704 C compiler flags for libmpg123, overriding pkg-config
2705 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2706 NETAPI_CFLAGS
2707 C compiler flags for netapi, overriding pkg-config
2708 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2709 VKD3D_CFLAGS
2710 C compiler flags for libvkd3d, overriding pkg-config
2711 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2712 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2713 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2715 Use these variables to override the choices made by `configure' or to help
2716 it to find libraries and programs with nonstandard names/locations.
2718 Report bugs to <wine-devel@winehq.org>.
2719 Wine home page: <https://www.winehq.org>.
2720 _ACEOF
2721 ac_status=$?
2724 if test "$ac_init_help" = "recursive"; then
2725 # If there are subdirs, report their specific --help.
2726 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2727 test -d "$ac_dir" ||
2728 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2729 continue
2730 ac_builddir=.
2732 case "$ac_dir" in
2733 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2735 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2736 # A ".." for each directory in $ac_dir_suffix.
2737 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2738 case $ac_top_builddir_sub in
2739 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2740 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2741 esac ;;
2742 esac
2743 ac_abs_top_builddir=$ac_pwd
2744 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2745 # for backward compatibility:
2746 ac_top_builddir=$ac_top_build_prefix
2748 case $srcdir in
2749 .) # We are building in place.
2750 ac_srcdir=.
2751 ac_top_srcdir=$ac_top_builddir_sub
2752 ac_abs_top_srcdir=$ac_pwd ;;
2753 [\\/]* | ?:[\\/]* ) # Absolute name.
2754 ac_srcdir=$srcdir$ac_dir_suffix;
2755 ac_top_srcdir=$srcdir
2756 ac_abs_top_srcdir=$srcdir ;;
2757 *) # Relative name.
2758 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2759 ac_top_srcdir=$ac_top_build_prefix$srcdir
2760 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2761 esac
2762 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2764 cd "$ac_dir" || { ac_status=$?; continue; }
2765 # Check for guested configure.
2766 if test -f "$ac_srcdir/configure.gnu"; then
2767 echo &&
2768 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2769 elif test -f "$ac_srcdir/configure"; then
2770 echo &&
2771 $SHELL "$ac_srcdir/configure" --help=recursive
2772 else
2773 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2774 fi || ac_status=$?
2775 cd "$ac_pwd" || { ac_status=$?; break; }
2776 done
2779 test -n "$ac_init_help" && exit $ac_status
2780 if $ac_init_version; then
2781 cat <<\_ACEOF
2782 Wine configure 5.7
2783 generated by GNU Autoconf 2.69
2785 Copyright (C) 2012 Free Software Foundation, Inc.
2786 This configure script is free software; the Free Software Foundation
2787 gives unlimited permission to copy, distribute and modify it.
2788 _ACEOF
2789 exit
2792 ## ------------------------ ##
2793 ## Autoconf initialization. ##
2794 ## ------------------------ ##
2796 # ac_fn_c_try_compile LINENO
2797 # --------------------------
2798 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2799 ac_fn_c_try_compile ()
2801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2802 rm -f conftest.$ac_objext
2803 if { { ac_try="$ac_compile"
2804 case "(($ac_try" in
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2807 esac
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 $as_echo "$ac_try_echo"; } >&5
2810 (eval "$ac_compile") 2>conftest.err
2811 ac_status=$?
2812 if test -s conftest.err; then
2813 grep -v '^ *+' conftest.err >conftest.er1
2814 cat conftest.er1 >&5
2815 mv -f conftest.er1 conftest.err
2817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2818 test $ac_status = 0; } && {
2819 test -z "$ac_c_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest.$ac_objext; then :
2822 ac_retval=0
2823 else
2824 $as_echo "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.$ac_ext >&5
2827 ac_retval=1
2829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2830 as_fn_set_status $ac_retval
2832 } # ac_fn_c_try_compile
2834 # ac_fn_cxx_try_compile LINENO
2835 # ----------------------------
2836 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2837 ac_fn_cxx_try_compile ()
2839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840 rm -f conftest.$ac_objext
2841 if { { ac_try="$ac_compile"
2842 case "(($ac_try" in
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2845 esac
2846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 $as_echo "$ac_try_echo"; } >&5
2848 (eval "$ac_compile") 2>conftest.err
2849 ac_status=$?
2850 if test -s conftest.err; then
2851 grep -v '^ *+' conftest.err >conftest.er1
2852 cat conftest.er1 >&5
2853 mv -f conftest.er1 conftest.err
2855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2856 test $ac_status = 0; } && {
2857 test -z "$ac_cxx_werror_flag" ||
2858 test ! -s conftest.err
2859 } && test -s conftest.$ac_objext; then :
2860 ac_retval=0
2861 else
2862 $as_echo "$as_me: failed program was:" >&5
2863 sed 's/^/| /' conftest.$ac_ext >&5
2865 ac_retval=1
2867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2868 as_fn_set_status $ac_retval
2870 } # ac_fn_cxx_try_compile
2872 # ac_fn_c_try_link LINENO
2873 # -----------------------
2874 # Try to link conftest.$ac_ext, and return whether this succeeded.
2875 ac_fn_c_try_link ()
2877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2878 rm -f conftest.$ac_objext conftest$ac_exeext
2879 if { { ac_try="$ac_link"
2880 case "(($ac_try" in
2881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2882 *) ac_try_echo=$ac_try;;
2883 esac
2884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2885 $as_echo "$ac_try_echo"; } >&5
2886 (eval "$ac_link") 2>conftest.err
2887 ac_status=$?
2888 if test -s conftest.err; then
2889 grep -v '^ *+' conftest.err >conftest.er1
2890 cat conftest.er1 >&5
2891 mv -f conftest.er1 conftest.err
2893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2894 test $ac_status = 0; } && {
2895 test -z "$ac_c_werror_flag" ||
2896 test ! -s conftest.err
2897 } && test -s conftest$ac_exeext && {
2898 test "$cross_compiling" = yes ||
2899 test -x conftest$ac_exeext
2900 }; then :
2901 ac_retval=0
2902 else
2903 $as_echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5
2906 ac_retval=1
2908 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2909 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2910 # interfere with the next link command; also delete a directory that is
2911 # left behind by Apple's compiler. We do this before executing the actions.
2912 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2914 as_fn_set_status $ac_retval
2916 } # ac_fn_c_try_link
2918 # ac_fn_c_try_cpp LINENO
2919 # ----------------------
2920 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2921 ac_fn_c_try_cpp ()
2923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2924 if { { ac_try="$ac_cpp conftest.$ac_ext"
2925 case "(($ac_try" in
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2928 esac
2929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2930 $as_echo "$ac_try_echo"; } >&5
2931 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2932 ac_status=$?
2933 if test -s conftest.err; then
2934 grep -v '^ *+' conftest.err >conftest.er1
2935 cat conftest.er1 >&5
2936 mv -f conftest.er1 conftest.err
2938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2939 test $ac_status = 0; } > conftest.i && {
2940 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2941 test ! -s conftest.err
2942 }; then :
2943 ac_retval=0
2944 else
2945 $as_echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.$ac_ext >&5
2948 ac_retval=1
2950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2951 as_fn_set_status $ac_retval
2953 } # ac_fn_c_try_cpp
2955 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2956 # -------------------------------------------------------
2957 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2958 # the include files in INCLUDES and setting the cache variable VAR
2959 # accordingly.
2960 ac_fn_c_check_header_mongrel ()
2962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2963 if eval \${$3+:} false; then :
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2965 $as_echo_n "checking for $2... " >&6; }
2966 if eval \${$3+:} false; then :
2967 $as_echo_n "(cached) " >&6
2969 eval ac_res=\$$3
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2971 $as_echo "$ac_res" >&6; }
2972 else
2973 # Is the header compilable?
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2975 $as_echo_n "checking $2 usability... " >&6; }
2976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2977 /* end confdefs.h. */
2979 #include <$2>
2980 _ACEOF
2981 if ac_fn_c_try_compile "$LINENO"; then :
2982 ac_header_compiler=yes
2983 else
2984 ac_header_compiler=no
2986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2988 $as_echo "$ac_header_compiler" >&6; }
2990 # Is the header present?
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2992 $as_echo_n "checking $2 presence... " >&6; }
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
2995 #include <$2>
2996 _ACEOF
2997 if ac_fn_c_try_cpp "$LINENO"; then :
2998 ac_header_preproc=yes
2999 else
3000 ac_header_preproc=no
3002 rm -f conftest.err conftest.i conftest.$ac_ext
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3004 $as_echo "$ac_header_preproc" >&6; }
3006 # So? What about this header?
3007 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3008 yes:no: )
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3010 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3012 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3014 no:yes:* )
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3016 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3018 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3020 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3022 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3024 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3025 ( $as_echo "## ------------------------------------ ##
3026 ## Report this to wine-devel@winehq.org ##
3027 ## ------------------------------------ ##"
3028 ) | sed "s/^/$as_me: WARNING: /" >&2
3030 esac
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3032 $as_echo_n "checking for $2... " >&6; }
3033 if eval \${$3+:} false; then :
3034 $as_echo_n "(cached) " >&6
3035 else
3036 eval "$3=\$ac_header_compiler"
3038 eval ac_res=\$$3
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3040 $as_echo "$ac_res" >&6; }
3042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3044 } # ac_fn_c_check_header_mongrel
3046 # ac_fn_c_try_run LINENO
3047 # ----------------------
3048 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3049 # that executables *can* be run.
3050 ac_fn_c_try_run ()
3052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3053 if { { ac_try="$ac_link"
3054 case "(($ac_try" in
3055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3056 *) ac_try_echo=$ac_try;;
3057 esac
3058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3059 $as_echo "$ac_try_echo"; } >&5
3060 (eval "$ac_link") 2>&5
3061 ac_status=$?
3062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3063 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3064 { { case "(($ac_try" in
3065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066 *) ac_try_echo=$ac_try;;
3067 esac
3068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3069 $as_echo "$ac_try_echo"; } >&5
3070 (eval "$ac_try") 2>&5
3071 ac_status=$?
3072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3073 test $ac_status = 0; }; }; then :
3074 ac_retval=0
3075 else
3076 $as_echo "$as_me: program exited with status $ac_status" >&5
3077 $as_echo "$as_me: failed program was:" >&5
3078 sed 's/^/| /' conftest.$ac_ext >&5
3080 ac_retval=$ac_status
3082 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3084 as_fn_set_status $ac_retval
3086 } # ac_fn_c_try_run
3088 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3089 # -------------------------------------------------------
3090 # Tests whether HEADER exists and can be compiled using the include files in
3091 # INCLUDES, setting the cache variable VAR accordingly.
3092 ac_fn_c_check_header_compile ()
3094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3096 $as_echo_n "checking for $2... " >&6; }
3097 if eval \${$3+:} false; then :
3098 $as_echo_n "(cached) " >&6
3099 else
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3103 #include <$2>
3104 _ACEOF
3105 if ac_fn_c_try_compile "$LINENO"; then :
3106 eval "$3=yes"
3107 else
3108 eval "$3=no"
3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3112 eval ac_res=\$$3
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3114 $as_echo "$ac_res" >&6; }
3115 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3117 } # ac_fn_c_check_header_compile
3119 # ac_fn_objc_try_compile LINENO
3120 # -----------------------------
3121 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3122 ac_fn_objc_try_compile ()
3124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3125 rm -f conftest.$ac_objext
3126 if { { ac_try="$ac_compile"
3127 case "(($ac_try" in
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3130 esac
3131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3132 $as_echo "$ac_try_echo"; } >&5
3133 (eval "$ac_compile") 2>conftest.err
3134 ac_status=$?
3135 if test -s conftest.err; then
3136 grep -v '^ *+' conftest.err >conftest.er1
3137 cat conftest.er1 >&5
3138 mv -f conftest.er1 conftest.err
3140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3141 test $ac_status = 0; } && {
3142 test -z "$ac_objc_werror_flag" ||
3143 test ! -s conftest.err
3144 } && test -s conftest.$ac_objext; then :
3145 ac_retval=0
3146 else
3147 $as_echo "$as_me: failed program was:" >&5
3148 sed 's/^/| /' conftest.$ac_ext >&5
3150 ac_retval=1
3152 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3153 as_fn_set_status $ac_retval
3155 } # ac_fn_objc_try_compile
3157 # ac_fn_objc_try_cpp LINENO
3158 # -------------------------
3159 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3160 ac_fn_objc_try_cpp ()
3162 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3163 if { { ac_try="$ac_cpp conftest.$ac_ext"
3164 case "(($ac_try" in
3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3167 esac
3168 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3169 $as_echo "$ac_try_echo"; } >&5
3170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3171 ac_status=$?
3172 if test -s conftest.err; then
3173 grep -v '^ *+' conftest.err >conftest.er1
3174 cat conftest.er1 >&5
3175 mv -f conftest.er1 conftest.err
3177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3178 test $ac_status = 0; } > conftest.i && {
3179 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3180 test ! -s conftest.err
3181 }; then :
3182 ac_retval=0
3183 else
3184 $as_echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.$ac_ext >&5
3187 ac_retval=1
3189 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3190 as_fn_set_status $ac_retval
3192 } # ac_fn_objc_try_cpp
3194 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3195 # ----------------------------------------------------------
3196 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3197 # the include files in INCLUDES and setting the cache variable VAR
3198 # accordingly.
3199 ac_fn_objc_check_header_mongrel ()
3201 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3202 if eval \${$3+:} false; then :
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3204 $as_echo_n "checking for $2... " >&6; }
3205 if eval \${$3+:} false; then :
3206 $as_echo_n "(cached) " >&6
3208 eval ac_res=\$$3
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3210 $as_echo "$ac_res" >&6; }
3211 else
3212 # Is the header compilable?
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3214 $as_echo_n "checking $2 usability... " >&6; }
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3218 #include <$2>
3219 _ACEOF
3220 if ac_fn_objc_try_compile "$LINENO"; then :
3221 ac_header_compiler=yes
3222 else
3223 ac_header_compiler=no
3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3227 $as_echo "$ac_header_compiler" >&6; }
3229 # Is the header present?
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3231 $as_echo_n "checking $2 presence... " >&6; }
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3234 #include <$2>
3235 _ACEOF
3236 if ac_fn_objc_try_cpp "$LINENO"; then :
3237 ac_header_preproc=yes
3238 else
3239 ac_header_preproc=no
3241 rm -f conftest.err conftest.i conftest.$ac_ext
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3243 $as_echo "$ac_header_preproc" >&6; }
3245 # So? What about this header?
3246 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3247 yes:no: )
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3249 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3251 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3253 no:yes:* )
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3255 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3257 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3259 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3261 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3263 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3264 ( $as_echo "## ------------------------------------ ##
3265 ## Report this to wine-devel@winehq.org ##
3266 ## ------------------------------------ ##"
3267 ) | sed "s/^/$as_me: WARNING: /" >&2
3269 esac
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3271 $as_echo_n "checking for $2... " >&6; }
3272 if eval \${$3+:} false; then :
3273 $as_echo_n "(cached) " >&6
3274 else
3275 eval "$3=\$ac_header_compiler"
3277 eval ac_res=\$$3
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3279 $as_echo "$ac_res" >&6; }
3281 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3283 } # ac_fn_objc_check_header_mongrel
3285 # ac_fn_c_check_func LINENO FUNC VAR
3286 # ----------------------------------
3287 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3288 ac_fn_c_check_func ()
3290 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3292 $as_echo_n "checking for $2... " >&6; }
3293 if eval \${$3+:} false; then :
3294 $as_echo_n "(cached) " >&6
3295 else
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3298 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3300 #define $2 innocuous_$2
3302 /* System header to define __stub macros and hopefully few prototypes,
3303 which can conflict with char $2 (); below.
3304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3305 <limits.h> exists even on freestanding compilers. */
3307 #ifdef __STDC__
3308 # include <limits.h>
3309 #else
3310 # include <assert.h>
3311 #endif
3313 #undef $2
3315 /* Override any GCC internal prototype to avoid an error.
3316 Use char because int might match the return type of a GCC
3317 builtin and then its argument prototype would still apply. */
3318 #ifdef __cplusplus
3319 extern "C"
3320 #endif
3321 char $2 ();
3322 /* The GNU C library defines this for functions which it implements
3323 to always fail with ENOSYS. Some functions are actually named
3324 something starting with __ and the normal name is an alias. */
3325 #if defined __stub_$2 || defined __stub___$2
3326 choke me
3327 #endif
3330 main ()
3332 return $2 ();
3334 return 0;
3336 _ACEOF
3337 if ac_fn_c_try_link "$LINENO"; then :
3338 eval "$3=yes"
3339 else
3340 eval "$3=no"
3342 rm -f core conftest.err conftest.$ac_objext \
3343 conftest$ac_exeext conftest.$ac_ext
3345 eval ac_res=\$$3
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3347 $as_echo "$ac_res" >&6; }
3348 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3350 } # ac_fn_c_check_func
3352 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3353 # ----------------------------------------------------
3354 # Tries to find if the field MEMBER exists in type AGGR, after including
3355 # INCLUDES, setting cache variable VAR accordingly.
3356 ac_fn_c_check_member ()
3358 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3360 $as_echo_n "checking for $2.$3... " >&6; }
3361 if eval \${$4+:} false; then :
3362 $as_echo_n "(cached) " >&6
3363 else
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3368 main ()
3370 static $2 ac_aggr;
3371 if (ac_aggr.$3)
3372 return 0;
3374 return 0;
3376 _ACEOF
3377 if ac_fn_c_try_compile "$LINENO"; then :
3378 eval "$4=yes"
3379 else
3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3384 main ()
3386 static $2 ac_aggr;
3387 if (sizeof ac_aggr.$3)
3388 return 0;
3390 return 0;
3392 _ACEOF
3393 if ac_fn_c_try_compile "$LINENO"; then :
3394 eval "$4=yes"
3395 else
3396 eval "$4=no"
3398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3402 eval ac_res=\$$4
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3404 $as_echo "$ac_res" >&6; }
3405 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3407 } # ac_fn_c_check_member
3409 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3410 # -------------------------------------------
3411 # Tests whether TYPE exists after having included INCLUDES, setting cache
3412 # variable VAR accordingly.
3413 ac_fn_c_check_type ()
3415 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3417 $as_echo_n "checking for $2... " >&6; }
3418 if eval \${$3+:} false; then :
3419 $as_echo_n "(cached) " >&6
3420 else
3421 eval "$3=no"
3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423 /* end confdefs.h. */
3426 main ()
3428 if (sizeof ($2))
3429 return 0;
3431 return 0;
3433 _ACEOF
3434 if ac_fn_c_try_compile "$LINENO"; then :
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3439 main ()
3441 if (sizeof (($2)))
3442 return 0;
3444 return 0;
3446 _ACEOF
3447 if ac_fn_c_try_compile "$LINENO"; then :
3449 else
3450 eval "$3=yes"
3452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3456 eval ac_res=\$$3
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3458 $as_echo "$ac_res" >&6; }
3459 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3461 } # ac_fn_c_check_type
3462 cat >config.log <<_ACEOF
3463 This file contains any messages produced by compilers while
3464 running configure, to aid debugging if configure makes a mistake.
3466 It was created by Wine $as_me 5.7, which was
3467 generated by GNU Autoconf 2.69. Invocation command line was
3469 $ $0 $@
3471 _ACEOF
3472 exec 5>>config.log
3474 cat <<_ASUNAME
3475 ## --------- ##
3476 ## Platform. ##
3477 ## --------- ##
3479 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3480 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3481 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3482 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3483 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3485 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3486 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3488 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3489 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3490 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3491 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3492 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3493 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3494 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3496 _ASUNAME
3498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3499 for as_dir in $PATH
3501 IFS=$as_save_IFS
3502 test -z "$as_dir" && as_dir=.
3503 $as_echo "PATH: $as_dir"
3504 done
3505 IFS=$as_save_IFS
3507 } >&5
3509 cat >&5 <<_ACEOF
3512 ## ----------- ##
3513 ## Core tests. ##
3514 ## ----------- ##
3516 _ACEOF
3519 # Keep a trace of the command line.
3520 # Strip out --no-create and --no-recursion so they do not pile up.
3521 # Strip out --silent because we don't want to record it for future runs.
3522 # Also quote any args containing shell meta-characters.
3523 # Make two passes to allow for proper duplicate-argument suppression.
3524 ac_configure_args=
3525 ac_configure_args0=
3526 ac_configure_args1=
3527 ac_must_keep_next=false
3528 for ac_pass in 1 2
3530 for ac_arg
3532 case $ac_arg in
3533 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3534 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3535 | -silent | --silent | --silen | --sile | --sil)
3536 continue ;;
3537 *\'*)
3538 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3539 esac
3540 case $ac_pass in
3541 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3543 as_fn_append ac_configure_args1 " '$ac_arg'"
3544 if test $ac_must_keep_next = true; then
3545 ac_must_keep_next=false # Got value, back to normal.
3546 else
3547 case $ac_arg in
3548 *=* | --config-cache | -C | -disable-* | --disable-* \
3549 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3550 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3551 | -with-* | --with-* | -without-* | --without-* | --x)
3552 case "$ac_configure_args0 " in
3553 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3554 esac
3556 -* ) ac_must_keep_next=true ;;
3557 esac
3559 as_fn_append ac_configure_args " '$ac_arg'"
3561 esac
3562 done
3563 done
3564 { ac_configure_args0=; unset ac_configure_args0;}
3565 { ac_configure_args1=; unset ac_configure_args1;}
3567 # When interrupted or exit'd, cleanup temporary files, and complete
3568 # config.log. We remove comments because anyway the quotes in there
3569 # would cause problems or look ugly.
3570 # WARNING: Use '\'' to represent an apostrophe within the trap.
3571 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3572 trap 'exit_status=$?
3573 # Save into config.log some information that might help in debugging.
3575 echo
3577 $as_echo "## ---------------- ##
3578 ## Cache variables. ##
3579 ## ---------------- ##"
3580 echo
3581 # The following way of writing the cache mishandles newlines in values,
3583 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3584 eval ac_val=\$$ac_var
3585 case $ac_val in #(
3586 *${as_nl}*)
3587 case $ac_var in #(
3588 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3589 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3590 esac
3591 case $ac_var in #(
3592 _ | IFS | as_nl) ;; #(
3593 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3594 *) { eval $ac_var=; unset $ac_var;} ;;
3595 esac ;;
3596 esac
3597 done
3598 (set) 2>&1 |
3599 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3600 *${as_nl}ac_space=\ *)
3601 sed -n \
3602 "s/'\''/'\''\\\\'\'''\''/g;
3603 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3604 ;; #(
3606 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3608 esac |
3609 sort
3611 echo
3613 $as_echo "## ----------------- ##
3614 ## Output variables. ##
3615 ## ----------------- ##"
3616 echo
3617 for ac_var in $ac_subst_vars
3619 eval ac_val=\$$ac_var
3620 case $ac_val in
3621 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3622 esac
3623 $as_echo "$ac_var='\''$ac_val'\''"
3624 done | sort
3625 echo
3627 if test -n "$ac_subst_files"; then
3628 $as_echo "## ------------------- ##
3629 ## File substitutions. ##
3630 ## ------------------- ##"
3631 echo
3632 for ac_var in $ac_subst_files
3634 eval ac_val=\$$ac_var
3635 case $ac_val in
3636 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3637 esac
3638 $as_echo "$ac_var='\''$ac_val'\''"
3639 done | sort
3640 echo
3643 if test -s confdefs.h; then
3644 $as_echo "## ----------- ##
3645 ## confdefs.h. ##
3646 ## ----------- ##"
3647 echo
3648 cat confdefs.h
3649 echo
3651 test "$ac_signal" != 0 &&
3652 $as_echo "$as_me: caught signal $ac_signal"
3653 $as_echo "$as_me: exit $exit_status"
3654 } >&5
3655 rm -f core *.core core.conftest.* &&
3656 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3657 exit $exit_status
3659 for ac_signal in 1 2 13 15; do
3660 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3661 done
3662 ac_signal=0
3664 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3665 rm -f -r conftest* confdefs.h
3667 $as_echo "/* confdefs.h */" > confdefs.h
3669 # Predefined preprocessor variables.
3671 cat >>confdefs.h <<_ACEOF
3672 #define PACKAGE_NAME "$PACKAGE_NAME"
3673 _ACEOF
3675 cat >>confdefs.h <<_ACEOF
3676 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3677 _ACEOF
3679 cat >>confdefs.h <<_ACEOF
3680 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3681 _ACEOF
3683 cat >>confdefs.h <<_ACEOF
3684 #define PACKAGE_STRING "$PACKAGE_STRING"
3685 _ACEOF
3687 cat >>confdefs.h <<_ACEOF
3688 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3689 _ACEOF
3691 cat >>confdefs.h <<_ACEOF
3692 #define PACKAGE_URL "$PACKAGE_URL"
3693 _ACEOF
3696 # Let the site file select an alternate cache file if it wants to.
3697 # Prefer an explicitly selected file to automatically selected ones.
3698 ac_site_file1=NONE
3699 ac_site_file2=NONE
3700 if test -n "$CONFIG_SITE"; then
3701 # We do not want a PATH search for config.site.
3702 case $CONFIG_SITE in #((
3703 -*) ac_site_file1=./$CONFIG_SITE;;
3704 */*) ac_site_file1=$CONFIG_SITE;;
3705 *) ac_site_file1=./$CONFIG_SITE;;
3706 esac
3707 elif test "x$prefix" != xNONE; then
3708 ac_site_file1=$prefix/share/config.site
3709 ac_site_file2=$prefix/etc/config.site
3710 else
3711 ac_site_file1=$ac_default_prefix/share/config.site
3712 ac_site_file2=$ac_default_prefix/etc/config.site
3714 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3716 test "x$ac_site_file" = xNONE && continue
3717 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3719 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3720 sed 's/^/| /' "$ac_site_file" >&5
3721 . "$ac_site_file" \
3722 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3724 as_fn_error $? "failed to load site script $ac_site_file
3725 See \`config.log' for more details" "$LINENO" 5; }
3727 done
3729 if test -r "$cache_file"; then
3730 # Some versions of bash will fail to source /dev/null (special files
3731 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3732 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3734 $as_echo "$as_me: loading cache $cache_file" >&6;}
3735 case $cache_file in
3736 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3737 *) . "./$cache_file";;
3738 esac
3740 else
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3742 $as_echo "$as_me: creating cache $cache_file" >&6;}
3743 >$cache_file
3746 # Check that the precious variables saved in the cache have kept the same
3747 # value.
3748 ac_cache_corrupted=false
3749 for ac_var in $ac_precious_vars; do
3750 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3751 eval ac_new_set=\$ac_env_${ac_var}_set
3752 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3753 eval ac_new_val=\$ac_env_${ac_var}_value
3754 case $ac_old_set,$ac_new_set in
3755 set,)
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3757 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3758 ac_cache_corrupted=: ;;
3759 ,set)
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3761 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3762 ac_cache_corrupted=: ;;
3763 ,);;
3765 if test "x$ac_old_val" != "x$ac_new_val"; then
3766 # differences in whitespace do not lead to failure.
3767 ac_old_val_w=`echo x $ac_old_val`
3768 ac_new_val_w=`echo x $ac_new_val`
3769 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3771 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3772 ac_cache_corrupted=:
3773 else
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3775 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3776 eval $ac_var=\$ac_old_val
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3779 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3781 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3782 fi;;
3783 esac
3784 # Pass precious variables to config.status.
3785 if test "$ac_new_set" = set; then
3786 case $ac_new_val in
3787 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3788 *) ac_arg=$ac_var=$ac_new_val ;;
3789 esac
3790 case " $ac_configure_args " in
3791 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3792 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3793 esac
3795 done
3796 if $ac_cache_corrupted; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3800 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3801 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3803 ## -------------------- ##
3804 ## Main body of script. ##
3805 ## -------------------- ##
3807 ac_ext=c
3808 ac_cpp='$CPP $CPPFLAGS'
3809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3815 ac_config_headers="$ac_config_headers include/config.h"
3817 ac_aux_dir=
3818 for ac_dir in tools "$srcdir"/tools; do
3819 if test -f "$ac_dir/install-sh"; then
3820 ac_aux_dir=$ac_dir
3821 ac_install_sh="$ac_aux_dir/install-sh -c"
3822 break
3823 elif test -f "$ac_dir/install.sh"; then
3824 ac_aux_dir=$ac_dir
3825 ac_install_sh="$ac_aux_dir/install.sh -c"
3826 break
3827 elif test -f "$ac_dir/shtool"; then
3828 ac_aux_dir=$ac_dir
3829 ac_install_sh="$ac_aux_dir/shtool install -c"
3830 break
3832 done
3833 if test -z "$ac_aux_dir"; then
3834 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3837 # These three variables are undocumented and unsupported,
3838 # and are intended to be withdrawn in a future Autoconf release.
3839 # They can cause serious problems if a builder's source tree is in a directory
3840 # whose full name contains unusual characters.
3841 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3842 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3843 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3847 libwine_version="1.0"
3851 # Check whether --enable-win16 was given.
3852 if test "${enable_win16+set}" = set; then :
3853 enableval=$enable_win16;
3856 # Check whether --enable-win64 was given.
3857 if test "${enable_win64+set}" = set; then :
3858 enableval=$enable_win64;
3861 # Check whether --enable-tests was given.
3862 if test "${enable_tests+set}" = set; then :
3863 enableval=$enable_tests;
3866 # Check whether --enable-maintainer-mode was given.
3867 if test "${enable_maintainer_mode+set}" = set; then :
3868 enableval=$enable_maintainer_mode;
3871 # Check whether --enable-werror was given.
3872 if test "${enable_werror+set}" = set; then :
3873 enableval=$enable_werror;
3878 # Check whether --with-alsa was given.
3879 if test "${with_alsa+set}" = set; then :
3880 withval=$with_alsa;
3884 # Check whether --with-capi was given.
3885 if test "${with_capi+set}" = set; then :
3886 withval=$with_capi;
3890 # Check whether --with-cms was given.
3891 if test "${with_cms+set}" = set; then :
3892 withval=$with_cms;
3896 # Check whether --with-coreaudio was given.
3897 if test "${with_coreaudio+set}" = set; then :
3898 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3902 # Check whether --with-cups was given.
3903 if test "${with_cups+set}" = set; then :
3904 withval=$with_cups;
3908 # Check whether --with-curses was given.
3909 if test "${with_curses+set}" = set; then :
3910 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3914 # Check whether --with-dbus was given.
3915 if test "${with_dbus+set}" = set; then :
3916 withval=$with_dbus;
3920 # Check whether --with-faudio was given.
3921 if test "${with_faudio+set}" = set; then :
3922 withval=$with_faudio;
3926 # Check whether --with-float-abi was given.
3927 if test "${with_float_abi+set}" = set; then :
3928 withval=$with_float_abi;
3932 # Check whether --with-fontconfig was given.
3933 if test "${with_fontconfig+set}" = set; then :
3934 withval=$with_fontconfig;
3938 # Check whether --with-freetype was given.
3939 if test "${with_freetype+set}" = set; then :
3940 withval=$with_freetype;
3944 # Check whether --with-gettext was given.
3945 if test "${with_gettext+set}" = set; then :
3946 withval=$with_gettext;
3950 # Check whether --with-gettextpo was given.
3951 if test "${with_gettextpo+set}" = set; then :
3952 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3956 # Check whether --with-gphoto was given.
3957 if test "${with_gphoto+set}" = set; then :
3958 withval=$with_gphoto;
3962 # Check whether --with-glu was given.
3963 if test "${with_glu+set}" = set; then :
3964 withval=$with_glu;
3968 # Check whether --with-gnutls was given.
3969 if test "${with_gnutls+set}" = set; then :
3970 withval=$with_gnutls;
3974 # Check whether --with-gsm was given.
3975 if test "${with_gsm+set}" = set; then :
3976 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3980 # Check whether --with-gssapi was given.
3981 if test "${with_gssapi+set}" = set; then :
3982 withval=$with_gssapi;
3986 # Check whether --with-gstreamer was given.
3987 if test "${with_gstreamer+set}" = set; then :
3988 withval=$with_gstreamer;
3992 # Check whether --with-hal was given.
3993 if test "${with_hal+set}" = set; then :
3994 withval=$with_hal;
3998 # Check whether --with-inotify was given.
3999 if test "${with_inotify+set}" = set; then :
4000 withval=$with_inotify;
4004 # Check whether --with-jpeg was given.
4005 if test "${with_jpeg+set}" = set; then :
4006 withval=$with_jpeg;
4010 # Check whether --with-krb5 was given.
4011 if test "${with_krb5+set}" = set; then :
4012 withval=$with_krb5;
4016 # Check whether --with-ldap was given.
4017 if test "${with_ldap+set}" = set; then :
4018 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4022 # Check whether --with-mingw was given.
4023 if test "${with_mingw+set}" = set; then :
4024 withval=$with_mingw;
4028 # Check whether --with-mpg123 was given.
4029 if test "${with_mpg123+set}" = set; then :
4030 withval=$with_mpg123;
4034 # Check whether --with-netapi was given.
4035 if test "${with_netapi+set}" = set; then :
4036 withval=$with_netapi;
4040 # Check whether --with-openal was given.
4041 if test "${with_openal+set}" = set; then :
4042 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4046 # Check whether --with-opencl was given.
4047 if test "${with_opencl+set}" = set; then :
4048 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4052 # Check whether --with-opengl was given.
4053 if test "${with_opengl+set}" = set; then :
4054 withval=$with_opengl;
4058 # Check whether --with-osmesa was given.
4059 if test "${with_osmesa+set}" = set; then :
4060 withval=$with_osmesa;
4064 # Check whether --with-oss was given.
4065 if test "${with_oss+set}" = set; then :
4066 withval=$with_oss;
4070 # Check whether --with-pcap was given.
4071 if test "${with_pcap+set}" = set; then :
4072 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4076 # Check whether --with-png was given.
4077 if test "${with_png+set}" = set; then :
4078 withval=$with_png;
4082 # Check whether --with-pthread was given.
4083 if test "${with_pthread+set}" = set; then :
4084 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4088 # Check whether --with-pulse was given.
4089 if test "${with_pulse+set}" = set; then :
4090 withval=$with_pulse;
4094 # Check whether --with-sane was given.
4095 if test "${with_sane+set}" = set; then :
4096 withval=$with_sane;
4100 # Check whether --with-sdl was given.
4101 if test "${with_sdl+set}" = set; then :
4102 withval=$with_sdl;
4106 # Check whether --with-tiff was given.
4107 if test "${with_tiff+set}" = set; then :
4108 withval=$with_tiff;
4112 # Check whether --with-udev was given.
4113 if test "${with_udev+set}" = set; then :
4114 withval=$with_udev;
4118 # Check whether --with-unwind was given.
4119 if test "${with_unwind+set}" = set; then :
4120 withval=$with_unwind;
4124 # Check whether --with-usb was given.
4125 if test "${with_usb+set}" = set; then :
4126 withval=$with_usb;
4130 # Check whether --with-v4l2 was given.
4131 if test "${with_v4l2+set}" = set; then :
4132 withval=$with_v4l2;
4136 # Check whether --with-vkd3d was given.
4137 if test "${with_vkd3d+set}" = set; then :
4138 withval=$with_vkd3d;
4142 # Check whether --with-vulkan was given.
4143 if test "${with_vulkan+set}" = set; then :
4144 withval=$with_vulkan;
4148 # Check whether --with-xcomposite was given.
4149 if test "${with_xcomposite+set}" = set; then :
4150 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4154 # Check whether --with-xcursor was given.
4155 if test "${with_xcursor+set}" = set; then :
4156 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4160 # Check whether --with-xfixes was given.
4161 if test "${with_xfixes+set}" = set; then :
4162 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4166 # Check whether --with-xinerama was given.
4167 if test "${with_xinerama+set}" = set; then :
4168 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4172 # Check whether --with-xinput was given.
4173 if test "${with_xinput+set}" = set; then :
4174 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4178 # Check whether --with-xinput2 was given.
4179 if test "${with_xinput2+set}" = set; then :
4180 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4184 # Check whether --with-xml was given.
4185 if test "${with_xml+set}" = set; then :
4186 withval=$with_xml;
4190 # Check whether --with-xrandr was given.
4191 if test "${with_xrandr+set}" = set; then :
4192 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4196 # Check whether --with-xrender was given.
4197 if test "${with_xrender+set}" = set; then :
4198 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4202 # Check whether --with-xshape was given.
4203 if test "${with_xshape+set}" = set; then :
4204 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4208 # Check whether --with-xshm was given.
4209 if test "${with_xshm+set}" = set; then :
4210 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4214 # Check whether --with-xslt was given.
4215 if test "${with_xslt+set}" = set; then :
4216 withval=$with_xslt;
4220 # Check whether --with-xxf86vm was given.
4221 if test "${with_xxf86vm+set}" = set; then :
4222 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
4227 # Check whether --with-wine-tools was given.
4228 if test "${with_wine_tools+set}" = set; then :
4229 withval=$with_wine_tools;
4233 # Check whether --with-wine64 was given.
4234 if test "${with_wine64+set}" = set; then :
4235 withval=$with_wine64;
4239 # Make sure we can run config.sub.
4240 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4241 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4244 $as_echo_n "checking build system type... " >&6; }
4245 if ${ac_cv_build+:} false; then :
4246 $as_echo_n "(cached) " >&6
4247 else
4248 ac_build_alias=$build_alias
4249 test "x$ac_build_alias" = x &&
4250 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4251 test "x$ac_build_alias" = x &&
4252 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4253 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4254 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4258 $as_echo "$ac_cv_build" >&6; }
4259 case $ac_cv_build in
4260 *-*-*) ;;
4261 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4262 esac
4263 build=$ac_cv_build
4264 ac_save_IFS=$IFS; IFS='-'
4265 set x $ac_cv_build
4266 shift
4267 build_cpu=$1
4268 build_vendor=$2
4269 shift; shift
4270 # Remember, the first character of IFS is used to create $*,
4271 # except with old shells:
4272 build_os=$*
4273 IFS=$ac_save_IFS
4274 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4278 $as_echo_n "checking host system type... " >&6; }
4279 if ${ac_cv_host+:} false; then :
4280 $as_echo_n "(cached) " >&6
4281 else
4282 if test "x$host_alias" = x; then
4283 ac_cv_host=$ac_cv_build
4284 else
4285 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4286 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4291 $as_echo "$ac_cv_host" >&6; }
4292 case $ac_cv_host in
4293 *-*-*) ;;
4294 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4295 esac
4296 host=$ac_cv_host
4297 ac_save_IFS=$IFS; IFS='-'
4298 set x $ac_cv_host
4299 shift
4300 host_cpu=$1
4301 host_vendor=$2
4302 shift; shift
4303 # Remember, the first character of IFS is used to create $*,
4304 # except with old shells:
4305 host_os=$*
4306 IFS=$ac_save_IFS
4307 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4313 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4314 set x ${MAKE-make}
4315 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4316 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4317 $as_echo_n "(cached) " >&6
4318 else
4319 cat >conftest.make <<\_ACEOF
4320 SHELL = /bin/sh
4321 all:
4322 @echo '@@@%%%=$(MAKE)=@@@%%%'
4323 _ACEOF
4324 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4325 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4326 *@@@%%%=?*=@@@%%%*)
4327 eval ac_cv_prog_make_${ac_make}_set=yes;;
4329 eval ac_cv_prog_make_${ac_make}_set=no;;
4330 esac
4331 rm -f conftest.make
4333 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4335 $as_echo "yes" >&6; }
4336 SET_MAKE=
4337 else
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4339 $as_echo "no" >&6; }
4340 SET_MAKE="MAKE=${MAKE-make}"
4343 ac_ext=c
4344 ac_cpp='$CPP $CPPFLAGS'
4345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4348 if test -n "$ac_tool_prefix"; then
4349 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4350 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if ${ac_cv_prog_CC+:} false; then :
4354 $as_echo_n "(cached) " >&6
4355 else
4356 if test -n "$CC"; then
4357 ac_cv_prog_CC="$CC" # Let the user override the test.
4358 else
4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4360 for as_dir in $PATH
4362 IFS=$as_save_IFS
4363 test -z "$as_dir" && as_dir=.
4364 for ac_exec_ext in '' $ac_executable_extensions; do
4365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4366 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4368 break 2
4370 done
4371 done
4372 IFS=$as_save_IFS
4376 CC=$ac_cv_prog_CC
4377 if test -n "$CC"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4379 $as_echo "$CC" >&6; }
4380 else
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4387 if test -z "$ac_cv_prog_CC"; then
4388 ac_ct_CC=$CC
4389 # Extract the first word of "gcc", so it can be a program name with args.
4390 set dummy gcc; ac_word=$2
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4392 $as_echo_n "checking for $ac_word... " >&6; }
4393 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4394 $as_echo_n "(cached) " >&6
4395 else
4396 if test -n "$ac_ct_CC"; then
4397 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4398 else
4399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4400 for as_dir in $PATH
4402 IFS=$as_save_IFS
4403 test -z "$as_dir" && as_dir=.
4404 for ac_exec_ext in '' $ac_executable_extensions; do
4405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4406 ac_cv_prog_ac_ct_CC="gcc"
4407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 break 2
4410 done
4411 done
4412 IFS=$as_save_IFS
4416 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4417 if test -n "$ac_ct_CC"; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4419 $as_echo "$ac_ct_CC" >&6; }
4420 else
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4425 if test "x$ac_ct_CC" = x; then
4426 CC=""
4427 else
4428 case $cross_compiling:$ac_tool_warned in
4429 yes:)
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4432 ac_tool_warned=yes ;;
4433 esac
4434 CC=$ac_ct_CC
4436 else
4437 CC="$ac_cv_prog_CC"
4440 if test -z "$CC"; then
4441 if test -n "$ac_tool_prefix"; then
4442 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4443 set dummy ${ac_tool_prefix}cc; ac_word=$2
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 $as_echo_n "checking for $ac_word... " >&6; }
4446 if ${ac_cv_prog_CC+:} false; then :
4447 $as_echo_n "(cached) " >&6
4448 else
4449 if test -n "$CC"; then
4450 ac_cv_prog_CC="$CC" # Let the user override the test.
4451 else
4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 for as_dir in $PATH
4455 IFS=$as_save_IFS
4456 test -z "$as_dir" && as_dir=.
4457 for ac_exec_ext in '' $ac_executable_extensions; do
4458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4459 ac_cv_prog_CC="${ac_tool_prefix}cc"
4460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 break 2
4463 done
4464 done
4465 IFS=$as_save_IFS
4469 CC=$ac_cv_prog_CC
4470 if test -n "$CC"; then
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4472 $as_echo "$CC" >&6; }
4473 else
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475 $as_echo "no" >&6; }
4481 if test -z "$CC"; then
4482 # Extract the first word of "cc", so it can be a program name with args.
4483 set dummy cc; ac_word=$2
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4485 $as_echo_n "checking for $ac_word... " >&6; }
4486 if ${ac_cv_prog_CC+:} false; then :
4487 $as_echo_n "(cached) " >&6
4488 else
4489 if test -n "$CC"; then
4490 ac_cv_prog_CC="$CC" # Let the user override the test.
4491 else
4492 ac_prog_rejected=no
4493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4494 for as_dir in $PATH
4496 IFS=$as_save_IFS
4497 test -z "$as_dir" && as_dir=.
4498 for ac_exec_ext in '' $ac_executable_extensions; do
4499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4500 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4501 ac_prog_rejected=yes
4502 continue
4504 ac_cv_prog_CC="cc"
4505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4506 break 2
4508 done
4509 done
4510 IFS=$as_save_IFS
4512 if test $ac_prog_rejected = yes; then
4513 # We found a bogon in the path, so make sure we never use it.
4514 set dummy $ac_cv_prog_CC
4515 shift
4516 if test $# != 0; then
4517 # We chose a different compiler from the bogus one.
4518 # However, it has the same basename, so the bogon will be chosen
4519 # first if we set CC to just the basename; use the full file name.
4520 shift
4521 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4526 CC=$ac_cv_prog_CC
4527 if test -n "$CC"; then
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4529 $as_echo "$CC" >&6; }
4530 else
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4532 $as_echo "no" >&6; }
4537 if test -z "$CC"; then
4538 if test -n "$ac_tool_prefix"; then
4539 for ac_prog in cl.exe
4541 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4542 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4544 $as_echo_n "checking for $ac_word... " >&6; }
4545 if ${ac_cv_prog_CC+:} false; then :
4546 $as_echo_n "(cached) " >&6
4547 else
4548 if test -n "$CC"; then
4549 ac_cv_prog_CC="$CC" # Let the user override the test.
4550 else
4551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552 for as_dir in $PATH
4554 IFS=$as_save_IFS
4555 test -z "$as_dir" && as_dir=.
4556 for ac_exec_ext in '' $ac_executable_extensions; do
4557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4558 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4560 break 2
4562 done
4563 done
4564 IFS=$as_save_IFS
4568 CC=$ac_cv_prog_CC
4569 if test -n "$CC"; then
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4571 $as_echo "$CC" >&6; }
4572 else
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4574 $as_echo "no" >&6; }
4578 test -n "$CC" && break
4579 done
4581 if test -z "$CC"; then
4582 ac_ct_CC=$CC
4583 for ac_prog in cl.exe
4585 # Extract the first word of "$ac_prog", so it can be a program name with args.
4586 set dummy $ac_prog; ac_word=$2
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4588 $as_echo_n "checking for $ac_word... " >&6; }
4589 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4590 $as_echo_n "(cached) " >&6
4591 else
4592 if test -n "$ac_ct_CC"; then
4593 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4594 else
4595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 for as_dir in $PATH
4598 IFS=$as_save_IFS
4599 test -z "$as_dir" && as_dir=.
4600 for ac_exec_ext in '' $ac_executable_extensions; do
4601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4602 ac_cv_prog_ac_ct_CC="$ac_prog"
4603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 break 2
4606 done
4607 done
4608 IFS=$as_save_IFS
4612 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4613 if test -n "$ac_ct_CC"; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4615 $as_echo "$ac_ct_CC" >&6; }
4616 else
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4622 test -n "$ac_ct_CC" && break
4623 done
4625 if test "x$ac_ct_CC" = x; then
4626 CC=""
4627 else
4628 case $cross_compiling:$ac_tool_warned in
4629 yes:)
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4632 ac_tool_warned=yes ;;
4633 esac
4634 CC=$ac_ct_CC
4641 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4643 as_fn_error $? "no acceptable C compiler found in \$PATH
4644 See \`config.log' for more details" "$LINENO" 5; }
4646 # Provide some information about the compiler.
4647 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4648 set X $ac_compile
4649 ac_compiler=$2
4650 for ac_option in --version -v -V -qversion; do
4651 { { ac_try="$ac_compiler $ac_option >&5"
4652 case "(($ac_try" in
4653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4654 *) ac_try_echo=$ac_try;;
4655 esac
4656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4657 $as_echo "$ac_try_echo"; } >&5
4658 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4659 ac_status=$?
4660 if test -s conftest.err; then
4661 sed '10a\
4662 ... rest of stderr output deleted ...
4663 10q' conftest.err >conftest.er1
4664 cat conftest.er1 >&5
4666 rm -f conftest.er1 conftest.err
4667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4668 test $ac_status = 0; }
4669 done
4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4675 main ()
4679 return 0;
4681 _ACEOF
4682 ac_clean_files_save=$ac_clean_files
4683 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4684 # Try to create an executable without -o first, disregard a.out.
4685 # It will help us diagnose broken compilers, and finding out an intuition
4686 # of exeext.
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4688 $as_echo_n "checking whether the C compiler works... " >&6; }
4689 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4691 # The possible output files:
4692 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4694 ac_rmfiles=
4695 for ac_file in $ac_files
4697 case $ac_file in
4698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4699 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4700 esac
4701 done
4702 rm -f $ac_rmfiles
4704 if { { ac_try="$ac_link_default"
4705 case "(($ac_try" in
4706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4707 *) ac_try_echo=$ac_try;;
4708 esac
4709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4710 $as_echo "$ac_try_echo"; } >&5
4711 (eval "$ac_link_default") 2>&5
4712 ac_status=$?
4713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4714 test $ac_status = 0; }; then :
4715 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4716 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4717 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4718 # so that the user can short-circuit this test for compilers unknown to
4719 # Autoconf.
4720 for ac_file in $ac_files ''
4722 test -f "$ac_file" || continue
4723 case $ac_file in
4724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4726 [ab].out )
4727 # We found the default executable, but exeext='' is most
4728 # certainly right.
4729 break;;
4730 *.* )
4731 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4732 then :; else
4733 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4735 # We set ac_cv_exeext here because the later test for it is not
4736 # safe: cross compilers may not add the suffix if given an `-o'
4737 # argument, so we may need to know it at that point already.
4738 # Even if this section looks crufty: it has the advantage of
4739 # actually working.
4740 break;;
4742 break;;
4743 esac
4744 done
4745 test "$ac_cv_exeext" = no && ac_cv_exeext=
4747 else
4748 ac_file=''
4750 if test -z "$ac_file"; then :
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4753 $as_echo "$as_me: failed program was:" >&5
4754 sed 's/^/| /' conftest.$ac_ext >&5
4756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4758 as_fn_error 77 "C compiler cannot create executables
4759 See \`config.log' for more details" "$LINENO" 5; }
4760 else
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4762 $as_echo "yes" >&6; }
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4765 $as_echo_n "checking for C compiler default output file name... " >&6; }
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4767 $as_echo "$ac_file" >&6; }
4768 ac_exeext=$ac_cv_exeext
4770 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4771 ac_clean_files=$ac_clean_files_save
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4773 $as_echo_n "checking for suffix of executables... " >&6; }
4774 if { { ac_try="$ac_link"
4775 case "(($ac_try" in
4776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4777 *) ac_try_echo=$ac_try;;
4778 esac
4779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4780 $as_echo "$ac_try_echo"; } >&5
4781 (eval "$ac_link") 2>&5
4782 ac_status=$?
4783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4784 test $ac_status = 0; }; then :
4785 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4786 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4787 # work properly (i.e., refer to `conftest.exe'), while it won't with
4788 # `rm'.
4789 for ac_file in conftest.exe conftest conftest.*; do
4790 test -f "$ac_file" || continue
4791 case $ac_file in
4792 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4793 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4794 break;;
4795 * ) break;;
4796 esac
4797 done
4798 else
4799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4801 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4802 See \`config.log' for more details" "$LINENO" 5; }
4804 rm -f conftest conftest$ac_cv_exeext
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4806 $as_echo "$ac_cv_exeext" >&6; }
4808 rm -f conftest.$ac_ext
4809 EXEEXT=$ac_cv_exeext
4810 ac_exeext=$EXEEXT
4811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4812 /* end confdefs.h. */
4813 #include <stdio.h>
4815 main ()
4817 FILE *f = fopen ("conftest.out", "w");
4818 return ferror (f) || fclose (f) != 0;
4821 return 0;
4823 _ACEOF
4824 ac_clean_files="$ac_clean_files conftest.out"
4825 # Check that the compiler produces executables we can run. If not, either
4826 # the compiler is broken, or we cross compile.
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4828 $as_echo_n "checking whether we are cross compiling... " >&6; }
4829 if test "$cross_compiling" != yes; then
4830 { { ac_try="$ac_link"
4831 case "(($ac_try" in
4832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4833 *) ac_try_echo=$ac_try;;
4834 esac
4835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4836 $as_echo "$ac_try_echo"; } >&5
4837 (eval "$ac_link") 2>&5
4838 ac_status=$?
4839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4840 test $ac_status = 0; }
4841 if { ac_try='./conftest$ac_cv_exeext'
4842 { { case "(($ac_try" in
4843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4844 *) ac_try_echo=$ac_try;;
4845 esac
4846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4847 $as_echo "$ac_try_echo"; } >&5
4848 (eval "$ac_try") 2>&5
4849 ac_status=$?
4850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4851 test $ac_status = 0; }; }; then
4852 cross_compiling=no
4853 else
4854 if test "$cross_compiling" = maybe; then
4855 cross_compiling=yes
4856 else
4857 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4859 as_fn_error $? "cannot run C compiled programs.
4860 If you meant to cross compile, use \`--host'.
4861 See \`config.log' for more details" "$LINENO" 5; }
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4866 $as_echo "$cross_compiling" >&6; }
4868 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4869 ac_clean_files=$ac_clean_files_save
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4871 $as_echo_n "checking for suffix of object files... " >&6; }
4872 if ${ac_cv_objext+:} false; then :
4873 $as_echo_n "(cached) " >&6
4874 else
4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4879 main ()
4883 return 0;
4885 _ACEOF
4886 rm -f conftest.o conftest.obj
4887 if { { ac_try="$ac_compile"
4888 case "(($ac_try" in
4889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4890 *) ac_try_echo=$ac_try;;
4891 esac
4892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4893 $as_echo "$ac_try_echo"; } >&5
4894 (eval "$ac_compile") 2>&5
4895 ac_status=$?
4896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4897 test $ac_status = 0; }; then :
4898 for ac_file in conftest.o conftest.obj conftest.*; do
4899 test -f "$ac_file" || continue;
4900 case $ac_file in
4901 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4902 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4903 break;;
4904 esac
4905 done
4906 else
4907 $as_echo "$as_me: failed program was:" >&5
4908 sed 's/^/| /' conftest.$ac_ext >&5
4910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4912 as_fn_error $? "cannot compute suffix of object files: cannot compile
4913 See \`config.log' for more details" "$LINENO" 5; }
4915 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4918 $as_echo "$ac_cv_objext" >&6; }
4919 OBJEXT=$ac_cv_objext
4920 ac_objext=$OBJEXT
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4922 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4923 if ${ac_cv_c_compiler_gnu+:} false; then :
4924 $as_echo_n "(cached) " >&6
4925 else
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4930 main ()
4932 #ifndef __GNUC__
4933 choke me
4934 #endif
4937 return 0;
4939 _ACEOF
4940 if ac_fn_c_try_compile "$LINENO"; then :
4941 ac_compiler_gnu=yes
4942 else
4943 ac_compiler_gnu=no
4945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4950 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4951 if test $ac_compiler_gnu = yes; then
4952 GCC=yes
4953 else
4954 GCC=
4956 ac_test_CFLAGS=${CFLAGS+set}
4957 ac_save_CFLAGS=$CFLAGS
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4959 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4960 if ${ac_cv_prog_cc_g+:} false; then :
4961 $as_echo_n "(cached) " >&6
4962 else
4963 ac_save_c_werror_flag=$ac_c_werror_flag
4964 ac_c_werror_flag=yes
4965 ac_cv_prog_cc_g=no
4966 CFLAGS="-g"
4967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4968 /* end confdefs.h. */
4971 main ()
4975 return 0;
4977 _ACEOF
4978 if ac_fn_c_try_compile "$LINENO"; then :
4979 ac_cv_prog_cc_g=yes
4980 else
4981 CFLAGS=""
4982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4983 /* end confdefs.h. */
4986 main ()
4990 return 0;
4992 _ACEOF
4993 if ac_fn_c_try_compile "$LINENO"; then :
4995 else
4996 ac_c_werror_flag=$ac_save_c_werror_flag
4997 CFLAGS="-g"
4998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5002 main ()
5006 return 0;
5008 _ACEOF
5009 if ac_fn_c_try_compile "$LINENO"; then :
5010 ac_cv_prog_cc_g=yes
5012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5017 ac_c_werror_flag=$ac_save_c_werror_flag
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5020 $as_echo "$ac_cv_prog_cc_g" >&6; }
5021 if test "$ac_test_CFLAGS" = set; then
5022 CFLAGS=$ac_save_CFLAGS
5023 elif test $ac_cv_prog_cc_g = yes; then
5024 if test "$GCC" = yes; then
5025 CFLAGS="-g -O2"
5026 else
5027 CFLAGS="-g"
5029 else
5030 if test "$GCC" = yes; then
5031 CFLAGS="-O2"
5032 else
5033 CFLAGS=
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5037 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5038 if ${ac_cv_prog_cc_c89+:} false; then :
5039 $as_echo_n "(cached) " >&6
5040 else
5041 ac_cv_prog_cc_c89=no
5042 ac_save_CC=$CC
5043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5044 /* end confdefs.h. */
5045 #include <stdarg.h>
5046 #include <stdio.h>
5047 struct stat;
5048 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5049 struct buf { int x; };
5050 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5051 static char *e (p, i)
5052 char **p;
5053 int i;
5055 return p[i];
5057 static char *f (char * (*g) (char **, int), char **p, ...)
5059 char *s;
5060 va_list v;
5061 va_start (v,p);
5062 s = g (p, va_arg (v,int));
5063 va_end (v);
5064 return s;
5067 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5068 function prototypes and stuff, but not '\xHH' hex character constants.
5069 These don't provoke an error unfortunately, instead are silently treated
5070 as 'x'. The following induces an error, until -std is added to get
5071 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5072 array size at least. It's necessary to write '\x00'==0 to get something
5073 that's true only with -std. */
5074 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5076 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5077 inside strings and character constants. */
5078 #define FOO(x) 'x'
5079 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5081 int test (int i, double x);
5082 struct s1 {int (*f) (int a);};
5083 struct s2 {int (*f) (double a);};
5084 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5085 int argc;
5086 char **argv;
5088 main ()
5090 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5092 return 0;
5094 _ACEOF
5095 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5096 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5098 CC="$ac_save_CC $ac_arg"
5099 if ac_fn_c_try_compile "$LINENO"; then :
5100 ac_cv_prog_cc_c89=$ac_arg
5102 rm -f core conftest.err conftest.$ac_objext
5103 test "x$ac_cv_prog_cc_c89" != "xno" && break
5104 done
5105 rm -f conftest.$ac_ext
5106 CC=$ac_save_CC
5109 # AC_CACHE_VAL
5110 case "x$ac_cv_prog_cc_c89" in
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5113 $as_echo "none needed" >&6; } ;;
5114 xno)
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5116 $as_echo "unsupported" >&6; } ;;
5118 CC="$CC $ac_cv_prog_cc_c89"
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5120 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5121 esac
5122 if test "x$ac_cv_prog_cc_c89" != xno; then :
5126 ac_ext=c
5127 ac_cpp='$CPP $CPPFLAGS'
5128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5132 ac_ext=cpp
5133 ac_cpp='$CXXCPP $CPPFLAGS'
5134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5137 if test -z "$CXX"; then
5138 if test -n "$CCC"; then
5139 CXX=$CCC
5140 else
5141 if test -n "$ac_tool_prefix"; then
5142 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5144 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5145 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if ${ac_cv_prog_CXX+:} false; then :
5149 $as_echo_n "(cached) " >&6
5150 else
5151 if test -n "$CXX"; then
5152 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5153 else
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH
5157 IFS=$as_save_IFS
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5161 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 break 2
5165 done
5166 done
5167 IFS=$as_save_IFS
5171 CXX=$ac_cv_prog_CXX
5172 if test -n "$CXX"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5174 $as_echo "$CXX" >&6; }
5175 else
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5181 test -n "$CXX" && break
5182 done
5184 if test -z "$CXX"; then
5185 ac_ct_CXX=$CXX
5186 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5188 # Extract the first word of "$ac_prog", so it can be a program name with args.
5189 set dummy $ac_prog; ac_word=$2
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5191 $as_echo_n "checking for $ac_word... " >&6; }
5192 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5193 $as_echo_n "(cached) " >&6
5194 else
5195 if test -n "$ac_ct_CXX"; then
5196 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5197 else
5198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5199 for as_dir in $PATH
5201 IFS=$as_save_IFS
5202 test -z "$as_dir" && as_dir=.
5203 for ac_exec_ext in '' $ac_executable_extensions; do
5204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_ac_ct_CXX="$ac_prog"
5206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5207 break 2
5209 done
5210 done
5211 IFS=$as_save_IFS
5215 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5216 if test -n "$ac_ct_CXX"; then
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5218 $as_echo "$ac_ct_CXX" >&6; }
5219 else
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5225 test -n "$ac_ct_CXX" && break
5226 done
5228 if test "x$ac_ct_CXX" = x; then
5229 CXX="g++"
5230 else
5231 case $cross_compiling:$ac_tool_warned in
5232 yes:)
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5235 ac_tool_warned=yes ;;
5236 esac
5237 CXX=$ac_ct_CXX
5243 # Provide some information about the compiler.
5244 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5245 set X $ac_compile
5246 ac_compiler=$2
5247 for ac_option in --version -v -V -qversion; do
5248 { { ac_try="$ac_compiler $ac_option >&5"
5249 case "(($ac_try" in
5250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5251 *) ac_try_echo=$ac_try;;
5252 esac
5253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5254 $as_echo "$ac_try_echo"; } >&5
5255 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5256 ac_status=$?
5257 if test -s conftest.err; then
5258 sed '10a\
5259 ... rest of stderr output deleted ...
5260 10q' conftest.err >conftest.er1
5261 cat conftest.er1 >&5
5263 rm -f conftest.er1 conftest.err
5264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5265 test $ac_status = 0; }
5266 done
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5269 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5270 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5271 $as_echo_n "(cached) " >&6
5272 else
5273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5274 /* end confdefs.h. */
5277 main ()
5279 #ifndef __GNUC__
5280 choke me
5281 #endif
5284 return 0;
5286 _ACEOF
5287 if ac_fn_cxx_try_compile "$LINENO"; then :
5288 ac_compiler_gnu=yes
5289 else
5290 ac_compiler_gnu=no
5292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5293 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5297 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5298 if test $ac_compiler_gnu = yes; then
5299 GXX=yes
5300 else
5301 GXX=
5303 ac_test_CXXFLAGS=${CXXFLAGS+set}
5304 ac_save_CXXFLAGS=$CXXFLAGS
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5306 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5307 if ${ac_cv_prog_cxx_g+:} false; then :
5308 $as_echo_n "(cached) " >&6
5309 else
5310 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5311 ac_cxx_werror_flag=yes
5312 ac_cv_prog_cxx_g=no
5313 CXXFLAGS="-g"
5314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5315 /* end confdefs.h. */
5318 main ()
5322 return 0;
5324 _ACEOF
5325 if ac_fn_cxx_try_compile "$LINENO"; then :
5326 ac_cv_prog_cxx_g=yes
5327 else
5328 CXXFLAGS=""
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5333 main ()
5337 return 0;
5339 _ACEOF
5340 if ac_fn_cxx_try_compile "$LINENO"; then :
5342 else
5343 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5344 CXXFLAGS="-g"
5345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5346 /* end confdefs.h. */
5349 main ()
5353 return 0;
5355 _ACEOF
5356 if ac_fn_cxx_try_compile "$LINENO"; then :
5357 ac_cv_prog_cxx_g=yes
5359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5364 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5367 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5368 if test "$ac_test_CXXFLAGS" = set; then
5369 CXXFLAGS=$ac_save_CXXFLAGS
5370 elif test $ac_cv_prog_cxx_g = yes; then
5371 if test "$GXX" = yes; then
5372 CXXFLAGS="-g -O2"
5373 else
5374 CXXFLAGS="-g"
5376 else
5377 if test "$GXX" = yes; then
5378 CXXFLAGS="-O2"
5379 else
5380 CXXFLAGS=
5383 ac_ext=c
5384 ac_cpp='$CPP $CPPFLAGS'
5385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5389 if test -n "$ac_tool_prefix"; then
5390 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5391 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5394 if ${ac_cv_prog_CPPBIN+:} false; then :
5395 $as_echo_n "(cached) " >&6
5396 else
5397 if test -n "$CPPBIN"; then
5398 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5399 else
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 for as_dir in $PATH
5403 IFS=$as_save_IFS
5404 test -z "$as_dir" && as_dir=.
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5407 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5409 break 2
5411 done
5412 done
5413 IFS=$as_save_IFS
5417 CPPBIN=$ac_cv_prog_CPPBIN
5418 if test -n "$CPPBIN"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5420 $as_echo "$CPPBIN" >&6; }
5421 else
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5428 if test -z "$ac_cv_prog_CPPBIN"; then
5429 ac_ct_CPPBIN=$CPPBIN
5430 # Extract the first word of "cpp", so it can be a program name with args.
5431 set dummy cpp; ac_word=$2
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5433 $as_echo_n "checking for $ac_word... " >&6; }
5434 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5435 $as_echo_n "(cached) " >&6
5436 else
5437 if test -n "$ac_ct_CPPBIN"; then
5438 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5439 else
5440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5441 for as_dir in $PATH
5443 IFS=$as_save_IFS
5444 test -z "$as_dir" && as_dir=.
5445 for ac_exec_ext in '' $ac_executable_extensions; do
5446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5447 ac_cv_prog_ac_ct_CPPBIN="cpp"
5448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 break 2
5451 done
5452 done
5453 IFS=$as_save_IFS
5457 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5458 if test -n "$ac_ct_CPPBIN"; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5460 $as_echo "$ac_ct_CPPBIN" >&6; }
5461 else
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5463 $as_echo "no" >&6; }
5466 if test "x$ac_ct_CPPBIN" = x; then
5467 CPPBIN="cpp"
5468 else
5469 case $cross_compiling:$ac_tool_warned in
5470 yes:)
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5473 ac_tool_warned=yes ;;
5474 esac
5475 CPPBIN=$ac_ct_CPPBIN
5477 else
5478 CPPBIN="$ac_cv_prog_CPPBIN"
5482 cat >>confdefs.h <<_ACEOF
5483 #define EXEEXT "$ac_exeext"
5484 _ACEOF
5486 if test -n "$ac_tool_prefix"; then
5487 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5488 set dummy ${ac_tool_prefix}ld; ac_word=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_LD+:} false; then :
5492 $as_echo_n "(cached) " >&6
5493 else
5494 if test -n "$LD"; then
5495 ac_cv_prog_LD="$LD" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5504 ac_cv_prog_LD="${ac_tool_prefix}ld"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 LD=$ac_cv_prog_LD
5515 if test -n "$LD"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5517 $as_echo "$LD" >&6; }
5518 else
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5525 if test -z "$ac_cv_prog_LD"; then
5526 ac_ct_LD=$LD
5527 # Extract the first word of "ld", so it can be a program name with args.
5528 set dummy ld; ac_word=$2
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530 $as_echo_n "checking for $ac_word... " >&6; }
5531 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5532 $as_echo_n "(cached) " >&6
5533 else
5534 if test -n "$ac_ct_LD"; then
5535 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5536 else
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 for as_dir in $PATH
5540 IFS=$as_save_IFS
5541 test -z "$as_dir" && as_dir=.
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5544 ac_cv_prog_ac_ct_LD="ld"
5545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 break 2
5548 done
5549 done
5550 IFS=$as_save_IFS
5554 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5555 if test -n "$ac_ct_LD"; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5557 $as_echo "$ac_ct_LD" >&6; }
5558 else
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560 $as_echo "no" >&6; }
5563 if test "x$ac_ct_LD" = x; then
5564 LD=""
5565 else
5566 case $cross_compiling:$ac_tool_warned in
5567 yes:)
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5570 ac_tool_warned=yes ;;
5571 esac
5572 LD=$ac_ct_LD
5574 else
5575 LD="$ac_cv_prog_LD"
5579 case $host in
5580 *-darwin*)
5581 with_fontconfig=${with_fontconfig:-no}
5583 *-mingw32*|*-cygwin*)
5584 enable_win16=${enable_win16:-no}
5585 with_mingw=${with_mingw:-no}
5586 CFLAGS="$CFLAGS -D_WIN32"
5588 esac
5590 case $host in
5591 x86_64*|amd64*)
5592 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5593 then
5594 CC="$CC -m32"
5595 CXX="$CXX -m32"
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5598 $as_echo_n "checking whether $CC works... " >&6; }
5599 if ${wine_cv_cc_m32+:} false; then :
5600 $as_echo_n "(cached) " >&6
5601 else
5602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5603 /* end confdefs.h. */
5606 main ()
5610 return 0;
5612 _ACEOF
5613 if ac_fn_c_try_link "$LINENO"; then :
5614 wine_cv_cc_m32=yes
5615 else
5616 wine_cv_cc_m32=no
5618 rm -f core conftest.err conftest.$ac_objext \
5619 conftest$ac_exeext conftest.$ac_ext
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5622 $as_echo "$wine_cv_cc_m32" >&6; }
5623 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
5624 host_cpu="i386"
5625 notice_platform="32-bit "
5626 TARGETFLAGS="-m32"
5628 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5629 export PKG_CONFIG_PATH
5630 enable_win16=${enable_win16:-yes}
5631 with_unwind=${with_unwind:-no}
5632 else
5633 if test "x${GCC}" = "xyes"
5634 then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5636 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5637 if ${wine_cv_builtin_ms_va_list+:} false; then :
5638 $as_echo_n "(cached) " >&6
5639 else
5640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5641 /* end confdefs.h. */
5642 #include <stdarg.h>
5644 main ()
5646 void func(__builtin_ms_va_list *args);
5648 return 0;
5650 _ACEOF
5651 if ac_fn_c_try_compile "$LINENO"; then :
5652 wine_cv_builtin_ms_va_list=yes
5653 else
5654 wine_cv_builtin_ms_va_list=no
5656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5659 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5660 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
5662 CC="$CC -m64"
5663 CXX="$CXX -m64"
5664 host_cpu="x86_64"
5665 notice_platform="64-bit "
5666 TARGETFLAGS="-m64"
5670 arm*)
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5672 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5673 if ${wine_cv_thumb+:} false; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5677 /* end confdefs.h. */
5678 int ac_test(int i) { return i; }
5680 main ()
5682 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5684 return 0;
5686 _ACEOF
5687 if ac_fn_c_try_link "$LINENO"; then :
5688 wine_cv_thumb=yes
5689 else
5690 wine_cv_thumb=no
5692 rm -f core conftest.err conftest.$ac_objext \
5693 conftest$ac_exeext conftest.$ac_ext
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5696 $as_echo "$wine_cv_thumb" >&6; }
5697 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5698 case $with_float_abi in
5699 soft|softfp|hard)
5700 float_abi=$with_float_abi ;;
5702 case $host_os in
5703 *eabihf)
5704 float_abi=hard ;;
5706 float_abi=softfp
5707 saved_CFLAGS=$CFLAGS
5708 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5710 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5711 if ${wine_cv_float_abi+:} false; then :
5712 $as_echo_n "(cached) " >&6
5713 else
5714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5715 /* end confdefs.h. */
5718 main ()
5720 asm("vmrs r2,fpscr");
5722 return 0;
5724 _ACEOF
5725 if ac_fn_c_try_link "$LINENO"; then :
5726 wine_cv_float_abi=yes
5727 else
5728 wine_cv_float_abi=no
5730 rm -f core conftest.err conftest.$ac_objext \
5731 conftest$ac_exeext conftest.$ac_ext
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5734 $as_echo "$wine_cv_float_abi" >&6; }
5735 if test $wine_cv_float_abi = no
5736 then
5737 float_abi=soft
5738 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5740 CFLAGS=$saved_CFLAGS
5741 esac
5743 esac
5744 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5745 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5748 aarch64*)
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5750 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5751 if ${wine_cv_builtin_ms_va_list+:} false; then :
5752 $as_echo_n "(cached) " >&6
5753 else
5754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5755 /* end confdefs.h. */
5756 #include <stdarg.h>
5758 main ()
5760 void func(__builtin_ms_va_list *args);
5762 return 0;
5764 _ACEOF
5765 if ac_fn_c_try_compile "$LINENO"; then :
5766 wine_cv_builtin_ms_va_list=yes
5767 else
5768 wine_cv_builtin_ms_va_list=no
5770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5773 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5774 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5776 i[3456789]86*)
5777 enable_win16=${enable_win16:-yes}
5778 with_unwind=${with_unwind:-no}
5780 esac
5782 enable_win16=${enable_win16:-no}
5783 enable_win64=${enable_win64:-no}
5785 enable_winetest=${enable_winetest:-$enable_tests}
5787 if test "x$enable_win64" = "xyes"
5788 then
5789 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5790 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5791 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5795 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5796 if ${wine_cv_toolsdir+:} false; then :
5797 $as_echo_n "(cached) " >&6
5798 else
5799 wine_cv_toolsdir="$with_wine_tools"
5800 if test -z "$with_wine_tools"; then
5801 if test "$cross_compiling" = "yes"; then
5802 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5803 elif test -n "$with_wine64"; then
5804 wine_cv_toolsdir="$with_wine64"
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5809 $as_echo "$wine_cv_toolsdir" >&6; }
5810 if test -z "$wine_cv_toolsdir"; then
5811 wine_makedep=tools/makedep
5812 TOOLSDIR="\$(top_builddir)"
5814 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5815 wine_makedep=$wine_cv_toolsdir/tools/makedep
5816 case "$wine_cv_toolsdir" in
5817 /*) TOOLSDIR=$wine_cv_toolsdir
5819 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5821 esac
5822 enable_tools=${enable_tools:-no}
5823 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5824 else
5825 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5827 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5828 then
5829 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5833 for ac_prog in flex
5835 # Extract the first word of "$ac_prog", so it can be a program name with args.
5836 set dummy $ac_prog; ac_word=$2
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838 $as_echo_n "checking for $ac_word... " >&6; }
5839 if ${ac_cv_prog_FLEX+:} false; then :
5840 $as_echo_n "(cached) " >&6
5841 else
5842 if test -n "$FLEX"; then
5843 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5844 else
5845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5846 for as_dir in $PATH
5848 IFS=$as_save_IFS
5849 test -z "$as_dir" && as_dir=.
5850 for ac_exec_ext in '' $ac_executable_extensions; do
5851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5852 ac_cv_prog_FLEX="$ac_prog"
5853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 break 2
5856 done
5857 done
5858 IFS=$as_save_IFS
5862 FLEX=$ac_cv_prog_FLEX
5863 if test -n "$FLEX"; then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5865 $as_echo "$FLEX" >&6; }
5866 else
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5868 $as_echo "no" >&6; }
5872 test -n "$FLEX" && break
5873 done
5874 test -n "$FLEX" || FLEX="none"
5876 if test "$FLEX" = "none"
5877 then
5878 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5881 $as_echo_n "checking whether flex is recent enough... " >&6; }
5882 if ${wine_cv_recent_flex+:} false; then :
5883 $as_echo_n "(cached) " >&6
5884 else
5885 cat >conftest.l <<EOF
5886 %top{
5887 #include "prediluvian.h"
5891 if $FLEX -t conftest.l >/dev/null 2>&5
5892 then
5893 wine_cv_recent_flex=yes
5894 else
5895 wine_cv_recent_flex=no
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5899 $as_echo "$wine_cv_recent_flex" >&6; }
5900 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
5902 for ac_prog in bison
5904 # Extract the first word of "$ac_prog", so it can be a program name with args.
5905 set dummy $ac_prog; ac_word=$2
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5907 $as_echo_n "checking for $ac_word... " >&6; }
5908 if ${ac_cv_prog_BISON+:} false; then :
5909 $as_echo_n "(cached) " >&6
5910 else
5911 if test -n "$BISON"; then
5912 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5913 else
5914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5915 for as_dir in $PATH
5917 IFS=$as_save_IFS
5918 test -z "$as_dir" && as_dir=.
5919 for ac_exec_ext in '' $ac_executable_extensions; do
5920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5921 ac_cv_prog_BISON="$ac_prog"
5922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5923 break 2
5925 done
5926 done
5927 IFS=$as_save_IFS
5931 BISON=$ac_cv_prog_BISON
5932 if test -n "$BISON"; then
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5934 $as_echo "$BISON" >&6; }
5935 else
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937 $as_echo "no" >&6; }
5941 test -n "$BISON" && break
5942 done
5943 test -n "$BISON" || BISON="none"
5945 if test "$BISON" = "none"
5946 then
5947 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5950 $as_echo_n "checking whether bison is recent enough... " >&6; }
5951 if ${wine_cv_recent_bison+:} false; then :
5952 $as_echo_n "(cached) " >&6
5953 else
5954 cat >conftest.y <<EOF
5955 %define parse.error verbose
5957 empty: ;
5959 if $BISON conftest.y >/dev/null 2>&5
5960 then
5961 wine_cv_recent_bison=yes
5962 else
5963 wine_cv_recent_bison=no
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5967 $as_echo "$wine_cv_recent_bison" >&6; }
5968 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
5970 if test -n "$ac_tool_prefix"; then
5971 for ac_prog in ar gar
5973 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5974 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5976 $as_echo_n "checking for $ac_word... " >&6; }
5977 if ${ac_cv_prog_AR+:} false; then :
5978 $as_echo_n "(cached) " >&6
5979 else
5980 if test -n "$AR"; then
5981 ac_cv_prog_AR="$AR" # Let the user override the test.
5982 else
5983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5984 for as_dir in $PATH
5986 IFS=$as_save_IFS
5987 test -z "$as_dir" && as_dir=.
5988 for ac_exec_ext in '' $ac_executable_extensions; do
5989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5990 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5992 break 2
5994 done
5995 done
5996 IFS=$as_save_IFS
6000 AR=$ac_cv_prog_AR
6001 if test -n "$AR"; then
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6003 $as_echo "$AR" >&6; }
6004 else
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6006 $as_echo "no" >&6; }
6010 test -n "$AR" && break
6011 done
6013 if test -z "$AR"; then
6014 ac_ct_AR=$AR
6015 for ac_prog in ar gar
6017 # Extract the first word of "$ac_prog", so it can be a program name with args.
6018 set dummy $ac_prog; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6022 $as_echo_n "(cached) " >&6
6023 else
6024 if test -n "$ac_ct_AR"; then
6025 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6026 else
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in $PATH
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_ac_ct_AR="$ac_prog"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 break 2
6038 done
6039 done
6040 IFS=$as_save_IFS
6044 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6045 if test -n "$ac_ct_AR"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6047 $as_echo "$ac_ct_AR" >&6; }
6048 else
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6054 test -n "$ac_ct_AR" && break
6055 done
6057 if test "x$ac_ct_AR" = x; then
6058 AR="ar"
6059 else
6060 case $cross_compiling:$ac_tool_warned in
6061 yes:)
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6064 ac_tool_warned=yes ;;
6065 esac
6066 AR=$ac_ct_AR
6070 if test -n "$ac_tool_prefix"; then
6071 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6072 set dummy ${ac_tool_prefix}strip; ac_word=$2
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6074 $as_echo_n "checking for $ac_word... " >&6; }
6075 if ${ac_cv_prog_STRIP+:} false; then :
6076 $as_echo_n "(cached) " >&6
6077 else
6078 if test -n "$STRIP"; then
6079 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6080 else
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 for as_dir in $PATH
6084 IFS=$as_save_IFS
6085 test -z "$as_dir" && as_dir=.
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6090 break 2
6092 done
6093 done
6094 IFS=$as_save_IFS
6098 STRIP=$ac_cv_prog_STRIP
6099 if test -n "$STRIP"; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6101 $as_echo "$STRIP" >&6; }
6102 else
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6109 if test -z "$ac_cv_prog_STRIP"; then
6110 ac_ct_STRIP=$STRIP
6111 # Extract the first word of "strip", so it can be a program name with args.
6112 set dummy strip; ac_word=$2
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 $as_echo_n "checking for $ac_word... " >&6; }
6115 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6116 $as_echo_n "(cached) " >&6
6117 else
6118 if test -n "$ac_ct_STRIP"; then
6119 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6120 else
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 for as_dir in $PATH
6124 IFS=$as_save_IFS
6125 test -z "$as_dir" && as_dir=.
6126 for ac_exec_ext in '' $ac_executable_extensions; do
6127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6128 ac_cv_prog_ac_ct_STRIP="strip"
6129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 break 2
6132 done
6133 done
6134 IFS=$as_save_IFS
6138 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6139 if test -n "$ac_ct_STRIP"; then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6141 $as_echo "$ac_ct_STRIP" >&6; }
6142 else
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144 $as_echo "no" >&6; }
6147 if test "x$ac_ct_STRIP" = x; then
6148 STRIP="strip"
6149 else
6150 case $cross_compiling:$ac_tool_warned in
6151 yes:)
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6154 ac_tool_warned=yes ;;
6155 esac
6156 STRIP=$ac_ct_STRIP
6158 else
6159 STRIP="$ac_cv_prog_STRIP"
6162 if test -n "$ac_tool_prefix"; then
6163 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6164 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 $as_echo_n "checking for $ac_word... " >&6; }
6167 if ${ac_cv_prog_RANLIB+:} false; then :
6168 $as_echo_n "(cached) " >&6
6169 else
6170 if test -n "$RANLIB"; then
6171 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6172 else
6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 for as_dir in $PATH
6176 IFS=$as_save_IFS
6177 test -z "$as_dir" && as_dir=.
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6180 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6182 break 2
6184 done
6185 done
6186 IFS=$as_save_IFS
6190 RANLIB=$ac_cv_prog_RANLIB
6191 if test -n "$RANLIB"; then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6193 $as_echo "$RANLIB" >&6; }
6194 else
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6196 $as_echo "no" >&6; }
6201 if test -z "$ac_cv_prog_RANLIB"; then
6202 ac_ct_RANLIB=$RANLIB
6203 # Extract the first word of "ranlib", so it can be a program name with args.
6204 set dummy ranlib; ac_word=$2
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6206 $as_echo_n "checking for $ac_word... " >&6; }
6207 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6208 $as_echo_n "(cached) " >&6
6209 else
6210 if test -n "$ac_ct_RANLIB"; then
6211 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6212 else
6213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6214 for as_dir in $PATH
6216 IFS=$as_save_IFS
6217 test -z "$as_dir" && as_dir=.
6218 for ac_exec_ext in '' $ac_executable_extensions; do
6219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6220 ac_cv_prog_ac_ct_RANLIB="ranlib"
6221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6222 break 2
6224 done
6225 done
6226 IFS=$as_save_IFS
6230 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6231 if test -n "$ac_ct_RANLIB"; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6233 $as_echo "$ac_ct_RANLIB" >&6; }
6234 else
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236 $as_echo "no" >&6; }
6239 if test "x$ac_ct_RANLIB" = x; then
6240 RANLIB=":"
6241 else
6242 case $cross_compiling:$ac_tool_warned in
6243 yes:)
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6246 ac_tool_warned=yes ;;
6247 esac
6248 RANLIB=$ac_ct_RANLIB
6250 else
6251 RANLIB="$ac_cv_prog_RANLIB"
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6255 $as_echo_n "checking whether ln -s works... " >&6; }
6256 LN_S=$as_ln_s
6257 if test "$LN_S" = "ln -s"; then
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6259 $as_echo "yes" >&6; }
6260 else
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6262 $as_echo "no, using $LN_S" >&6; }
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6266 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6267 if ${ac_cv_path_GREP+:} false; then :
6268 $as_echo_n "(cached) " >&6
6269 else
6270 if test -z "$GREP"; then
6271 ac_path_GREP_found=false
6272 # Loop through the user's path and test for each of PROGNAME-LIST
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6274 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6276 IFS=$as_save_IFS
6277 test -z "$as_dir" && as_dir=.
6278 for ac_prog in grep ggrep; do
6279 for ac_exec_ext in '' $ac_executable_extensions; do
6280 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6281 as_fn_executable_p "$ac_path_GREP" || continue
6282 # Check for GNU ac_path_GREP and select it if it is found.
6283 # Check for GNU $ac_path_GREP
6284 case `"$ac_path_GREP" --version 2>&1` in
6285 *GNU*)
6286 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6288 ac_count=0
6289 $as_echo_n 0123456789 >"conftest.in"
6290 while :
6292 cat "conftest.in" "conftest.in" >"conftest.tmp"
6293 mv "conftest.tmp" "conftest.in"
6294 cp "conftest.in" "conftest.nl"
6295 $as_echo 'GREP' >> "conftest.nl"
6296 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6297 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6298 as_fn_arith $ac_count + 1 && ac_count=$as_val
6299 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6300 # Best one so far, save it but keep looking for a better one
6301 ac_cv_path_GREP="$ac_path_GREP"
6302 ac_path_GREP_max=$ac_count
6304 # 10*(2^10) chars as input seems more than enough
6305 test $ac_count -gt 10 && break
6306 done
6307 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6308 esac
6310 $ac_path_GREP_found && break 3
6311 done
6312 done
6313 done
6314 IFS=$as_save_IFS
6315 if test -z "$ac_cv_path_GREP"; then
6316 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6318 else
6319 ac_cv_path_GREP=$GREP
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6324 $as_echo "$ac_cv_path_GREP" >&6; }
6325 GREP="$ac_cv_path_GREP"
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6329 $as_echo_n "checking for egrep... " >&6; }
6330 if ${ac_cv_path_EGREP+:} false; then :
6331 $as_echo_n "(cached) " >&6
6332 else
6333 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6334 then ac_cv_path_EGREP="$GREP -E"
6335 else
6336 if test -z "$EGREP"; then
6337 ac_path_EGREP_found=false
6338 # Loop through the user's path and test for each of PROGNAME-LIST
6339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6340 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6342 IFS=$as_save_IFS
6343 test -z "$as_dir" && as_dir=.
6344 for ac_prog in egrep; do
6345 for ac_exec_ext in '' $ac_executable_extensions; do
6346 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6347 as_fn_executable_p "$ac_path_EGREP" || continue
6348 # Check for GNU ac_path_EGREP and select it if it is found.
6349 # Check for GNU $ac_path_EGREP
6350 case `"$ac_path_EGREP" --version 2>&1` in
6351 *GNU*)
6352 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6354 ac_count=0
6355 $as_echo_n 0123456789 >"conftest.in"
6356 while :
6358 cat "conftest.in" "conftest.in" >"conftest.tmp"
6359 mv "conftest.tmp" "conftest.in"
6360 cp "conftest.in" "conftest.nl"
6361 $as_echo 'EGREP' >> "conftest.nl"
6362 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6363 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6364 as_fn_arith $ac_count + 1 && ac_count=$as_val
6365 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6366 # Best one so far, save it but keep looking for a better one
6367 ac_cv_path_EGREP="$ac_path_EGREP"
6368 ac_path_EGREP_max=$ac_count
6370 # 10*(2^10) chars as input seems more than enough
6371 test $ac_count -gt 10 && break
6372 done
6373 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6374 esac
6376 $ac_path_EGREP_found && break 3
6377 done
6378 done
6379 done
6380 IFS=$as_save_IFS
6381 if test -z "$ac_cv_path_EGREP"; then
6382 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6384 else
6385 ac_cv_path_EGREP=$EGREP
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6391 $as_echo "$ac_cv_path_EGREP" >&6; }
6392 EGREP="$ac_cv_path_EGREP"
6395 # Extract the first word of "ldconfig", so it can be a program name with args.
6396 set dummy ldconfig; ac_word=$2
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6398 $as_echo_n "checking for $ac_word... " >&6; }
6399 if ${ac_cv_path_LDCONFIG+:} false; then :
6400 $as_echo_n "(cached) " >&6
6401 else
6402 case $LDCONFIG in
6403 [\\/]* | ?:[\\/]*)
6404 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6408 for as_dir in /sbin /usr/sbin $PATH
6410 IFS=$as_save_IFS
6411 test -z "$as_dir" && as_dir=.
6412 for ac_exec_ext in '' $ac_executable_extensions; do
6413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6414 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6416 break 2
6418 done
6419 done
6420 IFS=$as_save_IFS
6422 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6424 esac
6426 LDCONFIG=$ac_cv_path_LDCONFIG
6427 if test -n "$LDCONFIG"; then
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6429 $as_echo "$LDCONFIG" >&6; }
6430 else
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6432 $as_echo "no" >&6; }
6436 for ac_prog in msgfmt
6438 # Extract the first word of "$ac_prog", so it can be a program name with args.
6439 set dummy $ac_prog; ac_word=$2
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6441 $as_echo_n "checking for $ac_word... " >&6; }
6442 if ${ac_cv_prog_MSGFMT+:} false; then :
6443 $as_echo_n "(cached) " >&6
6444 else
6445 if test -n "$MSGFMT"; then
6446 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6447 else
6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6449 for as_dir in $PATH
6451 IFS=$as_save_IFS
6452 test -z "$as_dir" && as_dir=.
6453 for ac_exec_ext in '' $ac_executable_extensions; do
6454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6455 ac_cv_prog_MSGFMT="$ac_prog"
6456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6457 break 2
6459 done
6460 done
6461 IFS=$as_save_IFS
6465 MSGFMT=$ac_cv_prog_MSGFMT
6466 if test -n "$MSGFMT"; then
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6468 $as_echo "$MSGFMT" >&6; }
6469 else
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6471 $as_echo "no" >&6; }
6475 test -n "$MSGFMT" && break
6476 done
6477 test -n "$MSGFMT" || MSGFMT="false"
6479 if ${ac_tool_prefix+:} false; then :
6480 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6481 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6483 $as_echo_n "checking for $ac_word... " >&6; }
6484 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6485 $as_echo_n "(cached) " >&6
6486 else
6487 if test -n "$PKG_CONFIG"; then
6488 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6489 else
6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6491 for as_dir in $PATH
6493 IFS=$as_save_IFS
6494 test -z "$as_dir" && as_dir=.
6495 for ac_exec_ext in '' $ac_executable_extensions; do
6496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6497 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6499 break 2
6501 done
6502 done
6503 IFS=$as_save_IFS
6507 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6508 if test -n "$PKG_CONFIG"; then
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6510 $as_echo "$PKG_CONFIG" >&6; }
6511 else
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 $as_echo "no" >&6; }
6518 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6519 if test "x$cross_compiling" = xyes; then :
6521 else
6522 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6523 # Extract the first word of "pkg-config", so it can be a program name with args.
6524 set dummy pkg-config; ac_word=$2
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6526 $as_echo_n "checking for $ac_word... " >&6; }
6527 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6528 $as_echo_n "(cached) " >&6
6529 else
6530 if test -n "$PKG_CONFIG"; then
6531 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6532 else
6533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6534 for as_dir in $PATH
6536 IFS=$as_save_IFS
6537 test -z "$as_dir" && as_dir=.
6538 for ac_exec_ext in '' $ac_executable_extensions; do
6539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6540 ac_cv_prog_PKG_CONFIG="pkg-config"
6541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6542 break 2
6544 done
6545 done
6546 IFS=$as_save_IFS
6550 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6551 if test -n "$PKG_CONFIG"; then
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6553 $as_echo "$PKG_CONFIG" >&6; }
6554 else
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6556 $as_echo "no" >&6; }
6561 else
6562 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6565 if test "x$enable_maintainer_mode" != "xyes"
6566 then
6567 FONTFORGE=""
6568 RSVG=""
6569 CONVERT=""
6570 ICOTOOL=""
6571 else
6572 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6573 for ac_prog in fontforge
6575 # Extract the first word of "$ac_prog", so it can be a program name with args.
6576 set dummy $ac_prog; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 $as_echo_n "checking for $ac_word... " >&6; }
6579 if ${ac_cv_prog_FONTFORGE+:} false; then :
6580 $as_echo_n "(cached) " >&6
6581 else
6582 if test -n "$FONTFORGE"; then
6583 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6584 else
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 for as_dir in $PATH
6588 IFS=$as_save_IFS
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6592 ac_cv_prog_FONTFORGE="$ac_prog"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6594 break 2
6596 done
6597 done
6598 IFS=$as_save_IFS
6602 FONTFORGE=$ac_cv_prog_FONTFORGE
6603 if test -n "$FONTFORGE"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6605 $as_echo "$FONTFORGE" >&6; }
6606 else
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 $as_echo "no" >&6; }
6612 test -n "$FONTFORGE" && break
6613 done
6614 test -n "$FONTFORGE" || FONTFORGE="false"
6616 for ac_prog in rsvg-convert rsvg
6618 # Extract the first word of "$ac_prog", so it can be a program name with args.
6619 set dummy $ac_prog; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if ${ac_cv_prog_RSVG+:} false; then :
6623 $as_echo_n "(cached) " >&6
6624 else
6625 if test -n "$RSVG"; then
6626 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6627 else
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 for as_dir in $PATH
6631 IFS=$as_save_IFS
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6635 ac_cv_prog_RSVG="$ac_prog"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 break 2
6639 done
6640 done
6641 IFS=$as_save_IFS
6645 RSVG=$ac_cv_prog_RSVG
6646 if test -n "$RSVG"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6648 $as_echo "$RSVG" >&6; }
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6655 test -n "$RSVG" && break
6656 done
6657 test -n "$RSVG" || RSVG="false"
6659 for ac_prog in convert
6661 # Extract the first word of "$ac_prog", so it can be a program name with args.
6662 set dummy $ac_prog; ac_word=$2
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 $as_echo_n "checking for $ac_word... " >&6; }
6665 if ${ac_cv_prog_CONVERT+:} false; then :
6666 $as_echo_n "(cached) " >&6
6667 else
6668 if test -n "$CONVERT"; then
6669 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6670 else
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 for as_dir in $PATH
6674 IFS=$as_save_IFS
6675 test -z "$as_dir" && as_dir=.
6676 for ac_exec_ext in '' $ac_executable_extensions; do
6677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6678 ac_cv_prog_CONVERT="$ac_prog"
6679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6680 break 2
6682 done
6683 done
6684 IFS=$as_save_IFS
6688 CONVERT=$ac_cv_prog_CONVERT
6689 if test -n "$CONVERT"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6691 $as_echo "$CONVERT" >&6; }
6692 else
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 $as_echo "no" >&6; }
6698 test -n "$CONVERT" && break
6699 done
6700 test -n "$CONVERT" || CONVERT="false"
6702 for ac_prog in icotool
6704 # Extract the first word of "$ac_prog", so it can be a program name with args.
6705 set dummy $ac_prog; ac_word=$2
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707 $as_echo_n "checking for $ac_word... " >&6; }
6708 if ${ac_cv_prog_ICOTOOL+:} false; then :
6709 $as_echo_n "(cached) " >&6
6710 else
6711 if test -n "$ICOTOOL"; then
6712 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6713 else
6714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6715 for as_dir in $PATH
6717 IFS=$as_save_IFS
6718 test -z "$as_dir" && as_dir=.
6719 for ac_exec_ext in '' $ac_executable_extensions; do
6720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6721 ac_cv_prog_ICOTOOL="$ac_prog"
6722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 break 2
6725 done
6726 done
6727 IFS=$as_save_IFS
6731 ICOTOOL=$ac_cv_prog_ICOTOOL
6732 if test -n "$ICOTOOL"; then
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6734 $as_echo "$ICOTOOL" >&6; }
6735 else
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737 $as_echo "no" >&6; }
6741 test -n "$ICOTOOL" && break
6742 done
6743 test -n "$ICOTOOL" || ICOTOOL="false"
6745 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6746 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6748 if test "$CONVERT" = false
6749 then
6750 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6751 else
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6753 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6754 convert_version=`convert --version | head -n1`
6755 if test "x$convert_version" != "x"
6756 then
6757 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6758 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6759 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6760 then
6761 CONVERT=false
6764 if test "$CONVERT" = false
6765 then
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6767 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6768 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6769 else
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6771 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6775 if test "$ICOTOOL" = false
6776 then
6777 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6778 else
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6780 $as_echo_n "checking for recent enough icotool... " >&6; }
6781 icotool_version=`icotool --version | head -n1`
6782 if test "x$icotool_version" != "x"
6783 then
6784 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6785 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6786 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6787 then
6788 ICOTOOL=false
6789 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6792 if test "$ICOTOOL" = false
6793 then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6795 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6796 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6797 else
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6799 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6803 with_gettext=yes
6804 with_gettextpo=yes
6806 enable_werror=yes
6809 test "x$with_gettext" != xno || MSGFMT=false
6810 if test "$MSGFMT" != "false"
6811 then
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6813 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6814 if ${wine_cv_msgfmt_contexts+:} false; then :
6815 $as_echo_n "(cached) " >&6
6816 else
6817 cat >conftest.po <<EOF
6818 # comment
6819 msgctxt "ctxt"
6820 msgid "id"
6821 msgstr "str"
6823 if $MSGFMT -o /dev/null conftest.po 2>&5
6824 then
6825 wine_cv_msgfmt_contexts=yes
6826 else
6827 wine_cv_msgfmt_contexts=no
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6831 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6832 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6834 if test "$MSGFMT" = false; then :
6835 case "x$with_gettext" in
6836 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6837 xno) ;;
6838 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6839 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6840 esac
6841 enable_po=${enable_po:-no}
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6846 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6847 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6848 $as_echo_n "(cached) " >&6
6849 else
6850 ac_check_lib_save_LIBS=$LIBS
6851 LIBS="-li386 $LIBS"
6852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6853 /* end confdefs.h. */
6855 /* Override any GCC internal prototype to avoid an error.
6856 Use char because int might match the return type of a GCC
6857 builtin and then its argument prototype would still apply. */
6858 #ifdef __cplusplus
6859 extern "C"
6860 #endif
6861 char i386_set_ldt ();
6863 main ()
6865 return i386_set_ldt ();
6867 return 0;
6869 _ACEOF
6870 if ac_fn_c_try_link "$LINENO"; then :
6871 ac_cv_lib_i386_i386_set_ldt=yes
6872 else
6873 ac_cv_lib_i386_i386_set_ldt=no
6875 rm -f core conftest.err conftest.$ac_objext \
6876 conftest$ac_exeext conftest.$ac_ext
6877 LIBS=$ac_check_lib_save_LIBS
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6880 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6881 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6882 I386_LIBS="-li386"
6887 OPENGL_LIBS=""
6891 # Check whether --enable-largefile was given.
6892 if test "${enable_largefile+set}" = set; then :
6893 enableval=$enable_largefile;
6896 if test "$enable_largefile" != no; then
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6899 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6900 if ${ac_cv_sys_largefile_CC+:} false; then :
6901 $as_echo_n "(cached) " >&6
6902 else
6903 ac_cv_sys_largefile_CC=no
6904 if test "$GCC" != yes; then
6905 ac_save_CC=$CC
6906 while :; do
6907 # IRIX 6.2 and later do not support large files by default,
6908 # so use the C compiler's -n32 option if that helps.
6909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h. */
6911 #include <sys/types.h>
6912 /* Check that off_t can represent 2**63 - 1 correctly.
6913 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6914 since some C++ compilers masquerading as C compilers
6915 incorrectly reject 9223372036854775807. */
6916 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6917 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6918 && LARGE_OFF_T % 2147483647 == 1)
6919 ? 1 : -1];
6921 main ()
6925 return 0;
6927 _ACEOF
6928 if ac_fn_c_try_compile "$LINENO"; then :
6929 break
6931 rm -f core conftest.err conftest.$ac_objext
6932 CC="$CC -n32"
6933 if ac_fn_c_try_compile "$LINENO"; then :
6934 ac_cv_sys_largefile_CC=' -n32'; break
6936 rm -f core conftest.err conftest.$ac_objext
6937 break
6938 done
6939 CC=$ac_save_CC
6940 rm -f conftest.$ac_ext
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6944 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6945 if test "$ac_cv_sys_largefile_CC" != no; then
6946 CC=$CC$ac_cv_sys_largefile_CC
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6950 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6951 if ${ac_cv_sys_file_offset_bits+:} false; then :
6952 $as_echo_n "(cached) " >&6
6953 else
6954 while :; do
6955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6956 /* end confdefs.h. */
6957 #include <sys/types.h>
6958 /* Check that off_t can represent 2**63 - 1 correctly.
6959 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6960 since some C++ compilers masquerading as C compilers
6961 incorrectly reject 9223372036854775807. */
6962 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6963 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6964 && LARGE_OFF_T % 2147483647 == 1)
6965 ? 1 : -1];
6967 main ()
6971 return 0;
6973 _ACEOF
6974 if ac_fn_c_try_compile "$LINENO"; then :
6975 ac_cv_sys_file_offset_bits=no; break
6977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6979 /* end confdefs.h. */
6980 #define _FILE_OFFSET_BITS 64
6981 #include <sys/types.h>
6982 /* Check that off_t can represent 2**63 - 1 correctly.
6983 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6984 since some C++ compilers masquerading as C compilers
6985 incorrectly reject 9223372036854775807. */
6986 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6987 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6988 && LARGE_OFF_T % 2147483647 == 1)
6989 ? 1 : -1];
6991 main ()
6995 return 0;
6997 _ACEOF
6998 if ac_fn_c_try_compile "$LINENO"; then :
6999 ac_cv_sys_file_offset_bits=64; break
7001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7002 ac_cv_sys_file_offset_bits=unknown
7003 break
7004 done
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7007 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7008 case $ac_cv_sys_file_offset_bits in #(
7009 no | unknown) ;;
7011 cat >>confdefs.h <<_ACEOF
7012 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7013 _ACEOF
7015 esac
7016 rm -rf conftest*
7017 if test $ac_cv_sys_file_offset_bits = unknown; then
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7019 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7020 if ${ac_cv_sys_large_files+:} false; then :
7021 $as_echo_n "(cached) " >&6
7022 else
7023 while :; do
7024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7025 /* end confdefs.h. */
7026 #include <sys/types.h>
7027 /* Check that off_t can represent 2**63 - 1 correctly.
7028 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7029 since some C++ compilers masquerading as C compilers
7030 incorrectly reject 9223372036854775807. */
7031 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7032 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7033 && LARGE_OFF_T % 2147483647 == 1)
7034 ? 1 : -1];
7036 main ()
7040 return 0;
7042 _ACEOF
7043 if ac_fn_c_try_compile "$LINENO"; then :
7044 ac_cv_sys_large_files=no; break
7046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7048 /* end confdefs.h. */
7049 #define _LARGE_FILES 1
7050 #include <sys/types.h>
7051 /* Check that off_t can represent 2**63 - 1 correctly.
7052 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7053 since some C++ compilers masquerading as C compilers
7054 incorrectly reject 9223372036854775807. */
7055 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7056 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7057 && LARGE_OFF_T % 2147483647 == 1)
7058 ? 1 : -1];
7060 main ()
7064 return 0;
7066 _ACEOF
7067 if ac_fn_c_try_compile "$LINENO"; then :
7068 ac_cv_sys_large_files=1; break
7070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7071 ac_cv_sys_large_files=unknown
7072 break
7073 done
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7076 $as_echo "$ac_cv_sys_large_files" >&6; }
7077 case $ac_cv_sys_large_files in #(
7078 no | unknown) ;;
7080 cat >>confdefs.h <<_ACEOF
7081 #define _LARGE_FILES $ac_cv_sys_large_files
7082 _ACEOF
7084 esac
7085 rm -rf conftest*
7092 ac_ext=c
7093 ac_cpp='$CPP $CPPFLAGS'
7094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7098 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7099 # On Suns, sometimes $CPP names a directory.
7100 if test -n "$CPP" && test -d "$CPP"; then
7101 CPP=
7103 if test -z "$CPP"; then
7104 if ${ac_cv_prog_CPP+:} false; then :
7105 $as_echo_n "(cached) " >&6
7106 else
7107 # Double quotes because CPP needs to be expanded
7108 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7110 ac_preproc_ok=false
7111 for ac_c_preproc_warn_flag in '' yes
7113 # Use a header file that comes with gcc, so configuring glibc
7114 # with a fresh cross-compiler works.
7115 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7116 # <limits.h> exists even on freestanding compilers.
7117 # On the NeXT, cc -E runs the code through the compiler's parser,
7118 # not just through cpp. "Syntax error" is here to catch this case.
7119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7120 /* end confdefs.h. */
7121 #ifdef __STDC__
7122 # include <limits.h>
7123 #else
7124 # include <assert.h>
7125 #endif
7126 Syntax error
7127 _ACEOF
7128 if ac_fn_c_try_cpp "$LINENO"; then :
7130 else
7131 # Broken: fails on valid input.
7132 continue
7134 rm -f conftest.err conftest.i conftest.$ac_ext
7136 # OK, works on sane cases. Now check whether nonexistent headers
7137 # can be detected and how.
7138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7139 /* end confdefs.h. */
7140 #include <ac_nonexistent.h>
7141 _ACEOF
7142 if ac_fn_c_try_cpp "$LINENO"; then :
7143 # Broken: success on invalid input.
7144 continue
7145 else
7146 # Passes both tests.
7147 ac_preproc_ok=:
7148 break
7150 rm -f conftest.err conftest.i conftest.$ac_ext
7152 done
7153 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7154 rm -f conftest.i conftest.err conftest.$ac_ext
7155 if $ac_preproc_ok; then :
7156 break
7159 done
7160 ac_cv_prog_CPP=$CPP
7163 CPP=$ac_cv_prog_CPP
7164 else
7165 ac_cv_prog_CPP=$CPP
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7168 $as_echo "$CPP" >&6; }
7169 ac_preproc_ok=false
7170 for ac_c_preproc_warn_flag in '' yes
7172 # Use a header file that comes with gcc, so configuring glibc
7173 # with a fresh cross-compiler works.
7174 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7175 # <limits.h> exists even on freestanding compilers.
7176 # On the NeXT, cc -E runs the code through the compiler's parser,
7177 # not just through cpp. "Syntax error" is here to catch this case.
7178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7179 /* end confdefs.h. */
7180 #ifdef __STDC__
7181 # include <limits.h>
7182 #else
7183 # include <assert.h>
7184 #endif
7185 Syntax error
7186 _ACEOF
7187 if ac_fn_c_try_cpp "$LINENO"; then :
7189 else
7190 # Broken: fails on valid input.
7191 continue
7193 rm -f conftest.err conftest.i conftest.$ac_ext
7195 # OK, works on sane cases. Now check whether nonexistent headers
7196 # can be detected and how.
7197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7198 /* end confdefs.h. */
7199 #include <ac_nonexistent.h>
7200 _ACEOF
7201 if ac_fn_c_try_cpp "$LINENO"; then :
7202 # Broken: success on invalid input.
7203 continue
7204 else
7205 # Passes both tests.
7206 ac_preproc_ok=:
7207 break
7209 rm -f conftest.err conftest.i conftest.$ac_ext
7211 done
7212 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7213 rm -f conftest.i conftest.err conftest.$ac_ext
7214 if $ac_preproc_ok; then :
7216 else
7217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7219 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7220 See \`config.log' for more details" "$LINENO" 5; }
7223 ac_ext=c
7224 ac_cpp='$CPP $CPPFLAGS'
7225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7231 $as_echo_n "checking for ANSI C header files... " >&6; }
7232 if ${ac_cv_header_stdc+:} false; then :
7233 $as_echo_n "(cached) " >&6
7234 else
7235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7236 /* end confdefs.h. */
7237 #include <stdlib.h>
7238 #include <stdarg.h>
7239 #include <string.h>
7240 #include <float.h>
7243 main ()
7247 return 0;
7249 _ACEOF
7250 if ac_fn_c_try_compile "$LINENO"; then :
7251 ac_cv_header_stdc=yes
7252 else
7253 ac_cv_header_stdc=no
7255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7257 if test $ac_cv_header_stdc = yes; then
7258 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7260 /* end confdefs.h. */
7261 #include <string.h>
7263 _ACEOF
7264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7265 $EGREP "memchr" >/dev/null 2>&1; then :
7267 else
7268 ac_cv_header_stdc=no
7270 rm -f conftest*
7274 if test $ac_cv_header_stdc = yes; then
7275 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277 /* end confdefs.h. */
7278 #include <stdlib.h>
7280 _ACEOF
7281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7282 $EGREP "free" >/dev/null 2>&1; then :
7284 else
7285 ac_cv_header_stdc=no
7287 rm -f conftest*
7291 if test $ac_cv_header_stdc = yes; then
7292 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7293 if test "$cross_compiling" = yes; then :
7295 else
7296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7297 /* end confdefs.h. */
7298 #include <ctype.h>
7299 #include <stdlib.h>
7300 #if ((' ' & 0x0FF) == 0x020)
7301 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7302 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7303 #else
7304 # define ISLOWER(c) \
7305 (('a' <= (c) && (c) <= 'i') \
7306 || ('j' <= (c) && (c) <= 'r') \
7307 || ('s' <= (c) && (c) <= 'z'))
7308 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7309 #endif
7311 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7313 main ()
7315 int i;
7316 for (i = 0; i < 256; i++)
7317 if (XOR (islower (i), ISLOWER (i))
7318 || toupper (i) != TOUPPER (i))
7319 return 2;
7320 return 0;
7322 _ACEOF
7323 if ac_fn_c_try_run "$LINENO"; then :
7325 else
7326 ac_cv_header_stdc=no
7328 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7329 conftest.$ac_objext conftest.beam conftest.$ac_ext
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7335 $as_echo "$ac_cv_header_stdc" >&6; }
7336 if test $ac_cv_header_stdc = yes; then
7338 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7342 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7343 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7344 inttypes.h stdint.h unistd.h
7345 do :
7346 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7347 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7349 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7350 cat >>confdefs.h <<_ACEOF
7351 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7352 _ACEOF
7356 done
7359 for ac_header in \
7360 AL/al.h \
7361 ApplicationServices/ApplicationServices.h \
7362 AudioToolbox/AudioConverter.h \
7363 AudioUnit/AudioUnit.h \
7364 AudioUnit/AudioComponent.h \
7365 CL/cl.h \
7366 Carbon/Carbon.h \
7367 CommonCrypto/CommonCryptor.h \
7368 CoreAudio/CoreAudio.h \
7369 CoreServices/CoreServices.h \
7370 DiskArbitration/DiskArbitration.h \
7371 EGL/egl.h \
7372 IOKit/IOKitLib.h \
7373 IOKit/hid/IOHIDLib.h \
7374 OpenAL/al.h \
7375 OpenCL/opencl.h \
7376 QuickTime/ImageCompression.h \
7377 Security/Security.h \
7378 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7379 SystemConfiguration/SCNetworkConfiguration.h \
7380 alias.h \
7381 arpa/inet.h \
7382 arpa/nameser.h \
7383 asm/types.h \
7384 asm/user.h \
7385 curses.h \
7386 dirent.h \
7387 dlfcn.h \
7388 elf.h \
7389 float.h \
7390 fnmatch.h \
7391 getopt.h \
7392 gettext-po.h \
7393 grp.h \
7394 gsm.h \
7395 gsm/gsm.h \
7396 ieeefp.h \
7397 inet/mib2.h \
7398 kstat.h \
7399 libproc.h \
7400 link.h \
7401 linux/cdrom.h \
7402 linux/compiler.h \
7403 linux/filter.h \
7404 linux/hdreg.h \
7405 linux/hidraw.h \
7406 linux/input.h \
7407 linux/ioctl.h \
7408 linux/joystick.h \
7409 linux/major.h \
7410 linux/param.h \
7411 linux/serial.h \
7412 linux/types.h \
7413 linux/ucdrom.h \
7414 lwp.h \
7415 mach-o/nlist.h \
7416 mach-o/loader.h \
7417 mach/mach.h \
7418 mach/machine.h \
7419 machine/cpu.h \
7420 machine/limits.h \
7421 machine/sysarch.h \
7422 mntent.h \
7423 ncurses.h \
7424 netdb.h \
7425 netinet/in.h \
7426 netinet/in_systm.h \
7427 netinet/tcp.h \
7428 netinet/tcp_fsm.h \
7429 pcap/pcap.h \
7430 poll.h \
7431 port.h \
7432 pthread.h \
7433 pwd.h \
7434 sasl/sasl.h \
7435 sched.h \
7436 scsi/scsi.h \
7437 scsi/scsi_ioctl.h \
7438 scsi/sg.h \
7439 stdbool.h \
7440 stdint.h \
7441 stropts.h \
7442 sys/attr.h \
7443 sys/auxv.h \
7444 sys/cdio.h \
7445 sys/epoll.h \
7446 sys/event.h \
7447 sys/filio.h \
7448 sys/ioctl.h \
7449 sys/ipc.h \
7450 sys/limits.h \
7451 sys/link.h \
7452 sys/mman.h \
7453 sys/modem.h \
7454 sys/msg.h \
7455 sys/mtio.h \
7456 sys/param.h \
7457 sys/poll.h \
7458 sys/prctl.h \
7459 sys/protosw.h \
7460 sys/ptrace.h \
7461 sys/queue.h \
7462 sys/resource.h \
7463 sys/scsiio.h \
7464 sys/shm.h \
7465 sys/signal.h \
7466 sys/socket.h \
7467 sys/socketvar.h \
7468 sys/sockio.h \
7469 sys/statvfs.h \
7470 sys/strtio.h \
7471 sys/syscall.h \
7472 sys/sysinfo.h \
7473 sys/tihdr.h \
7474 sys/time.h \
7475 sys/timeout.h \
7476 sys/times.h \
7477 sys/uio.h \
7478 sys/user.h \
7479 sys/utsname.h \
7480 sys/vnode.h \
7481 sys/wait.h \
7482 syscall.h \
7483 termios.h \
7484 unistd.h \
7485 utime.h \
7486 valgrind/memcheck.h \
7487 valgrind/valgrind.h
7489 do :
7490 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7491 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7492 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7493 cat >>confdefs.h <<_ACEOF
7494 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7495 _ACEOF
7499 done
7501 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7502 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7504 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7509 if test $ac_cv_header_sys_mkdev_h = no; then
7510 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7511 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7513 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7520 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7521 if ${ac_cv_header_stat_broken+:} false; then :
7522 $as_echo_n "(cached) " >&6
7523 else
7524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7525 /* end confdefs.h. */
7526 #include <sys/types.h>
7527 #include <sys/stat.h>
7529 #if defined S_ISBLK && defined S_IFDIR
7530 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7531 #endif
7533 #if defined S_ISBLK && defined S_IFCHR
7534 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7535 #endif
7537 #if defined S_ISLNK && defined S_IFREG
7538 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7539 #endif
7541 #if defined S_ISSOCK && defined S_IFREG
7542 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7543 #endif
7545 _ACEOF
7546 if ac_fn_c_try_compile "$LINENO"; then :
7547 ac_cv_header_stat_broken=no
7548 else
7549 ac_cv_header_stat_broken=yes
7551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7554 $as_echo "$ac_cv_header_stat_broken" >&6; }
7555 if test $ac_cv_header_stat_broken = yes; then
7557 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7563 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7564 do :
7565 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7566 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7567 #ifdef HAVE_SYS_PARAM_H
7568 # include <sys/param.h>
7569 #endif
7571 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7572 cat >>confdefs.h <<_ACEOF
7573 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7574 _ACEOF
7578 done
7581 saved_sysctl_h_CFLAGS=$CFLAGS
7582 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7583 for ac_header in sys/sysctl.h
7584 do :
7585 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7586 #ifdef HAVE_SYS_PARAM_H
7587 # include <sys/param.h>
7588 #endif
7590 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7591 cat >>confdefs.h <<_ACEOF
7592 #define HAVE_SYS_SYSCTL_H 1
7593 _ACEOF
7597 done
7599 CFLAGS=$saved_sysctl_h_CFLAGS
7601 for ac_header in \
7602 netinet/ip.h \
7603 net/if.h \
7604 net/if_arp.h \
7605 net/if_dl.h \
7606 net/if_types.h \
7607 net/route.h \
7608 netinet/if_ether.h \
7609 netinet/if_inarp.h \
7610 netinet/in_pcb.h \
7611 netinet/ip_icmp.h \
7612 netinet/ip_var.h \
7613 netinet/udp.h \
7614 netipx/ipx.h \
7615 sys/un.h \
7617 do :
7618 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7619 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7620 #ifdef HAVE_SYS_SOCKET_H
7621 # include <sys/socket.h>
7622 #endif
7623 #ifdef HAVE_SYS_SOCKETVAR_H
7624 # include <sys/socketvar.h>
7625 #endif
7626 #ifdef HAVE_NET_ROUTE_H
7627 # include <net/route.h>
7628 #endif
7629 #ifdef HAVE_NETINET_IN_H
7630 # include <netinet/in.h>
7631 #endif
7632 #ifdef HAVE_NETINET_IN_SYSTM_H
7633 # include <netinet/in_systm.h>
7634 #endif
7635 #ifdef HAVE_NET_IF_H
7636 # include <net/if.h>
7637 #endif
7638 #ifdef HAVE_NETINET_IP_H
7639 # include <netinet/ip.h>
7640 #endif
7642 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7643 cat >>confdefs.h <<_ACEOF
7644 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7645 _ACEOF
7649 done
7652 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7653 do :
7654 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7655 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7656 #ifdef HAVE_ALIAS_H
7657 # include <alias.h>
7658 #endif
7659 #ifdef HAVE_SYS_SOCKET_H
7660 # include <sys/socket.h>
7661 #endif
7662 #ifdef HAVE_SYS_SOCKETVAR_H
7663 # include <sys/socketvar.h>
7664 #endif
7665 #ifdef HAVE_SYS_TIMEOUT_H
7666 # include <sys/timeout.h>
7667 #endif
7668 #ifdef HAVE_NETINET_IN_H
7669 # include <netinet/in.h>
7670 #endif
7671 #ifdef HAVE_NETINET_IN_SYSTM_H
7672 # include <netinet/in_systm.h>
7673 #endif
7674 #ifdef HAVE_NETINET_IP_H
7675 # include <netinet/ip.h>
7676 #endif
7677 #ifdef HAVE_NETINET_IP_VAR_H
7678 # include <netinet/ip_var.h>
7679 #endif
7680 #ifdef HAVE_NETINET_IP_ICMP_H
7681 # include <netinet/ip_icmp.h>
7682 #endif
7683 #ifdef HAVE_NETINET_UDP_H
7684 # include <netinet/udp.h>
7685 #endif
7686 #ifdef HAVE_NETINET_TCP_H
7687 # include <netinet/tcp.h>
7688 #endif
7689 #ifdef HAVE_NETINET_TCP_TIMER_H
7690 #include <netinet/tcp_timer.h>
7691 #endif
7693 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7694 cat >>confdefs.h <<_ACEOF
7695 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7696 _ACEOF
7700 done
7703 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7704 do :
7705 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7706 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7707 #ifdef HAVE_ASM_TYPES_H
7708 # include <asm/types.h>
7709 #endif
7710 #ifdef HAVE_SYS_SOCKET_H
7711 # include <sys/socket.h>
7712 #endif
7713 #ifdef HAVE_LINUX_TYPES_H
7714 # include <linux/types.h>
7715 #endif
7717 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7718 cat >>confdefs.h <<_ACEOF
7719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7720 _ACEOF
7724 done
7727 for ac_header in resolv.h
7728 do :
7729 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7730 #ifdef HAVE_SYS_SOCKET_H
7731 # include <sys/socket.h>
7732 #endif
7733 #ifdef HAVE_NETINET_IN_H
7734 # include <netinet/in.h>
7735 #endif
7736 #ifdef HAVE_ARPA_NAMESER_H
7737 # include <arpa/nameser.h>
7738 #endif
7740 if test "x$ac_cv_header_resolv_h" = xyes; then :
7741 cat >>confdefs.h <<_ACEOF
7742 #define HAVE_RESOLV_H 1
7743 _ACEOF
7747 done
7750 for ac_header in ifaddrs.h
7751 do :
7752 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7754 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7755 cat >>confdefs.h <<_ACEOF
7756 #define HAVE_IFADDRS_H 1
7757 _ACEOF
7761 done
7764 for ac_header in sys/ucontext.h
7765 do :
7766 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7768 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7769 cat >>confdefs.h <<_ACEOF
7770 #define HAVE_SYS_UCONTEXT_H 1
7771 _ACEOF
7775 done
7778 for ac_header in sys/thr.h
7779 do :
7780 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7781 #ifdef HAVE_SYS_UCONTEXT_H
7782 #include <sys/ucontext.h>
7783 #endif
7785 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7786 cat >>confdefs.h <<_ACEOF
7787 #define HAVE_SYS_THR_H 1
7788 _ACEOF
7792 done
7795 for ac_header in pthread_np.h
7796 do :
7797 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7798 #include <pthread.h>
7799 #endif
7801 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7802 cat >>confdefs.h <<_ACEOF
7803 #define HAVE_PTHREAD_NP_H 1
7804 _ACEOF
7808 done
7811 for ac_header in linux/videodev2.h
7812 do :
7813 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7814 #include <sys/time.h>
7815 #endif
7816 #include <sys/types.h>
7817 #ifdef HAVE_ASM_TYPES_H
7818 #include <asm/types.h>
7819 #endif
7821 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7822 cat >>confdefs.h <<_ACEOF
7823 #define HAVE_LINUX_VIDEODEV2_H 1
7824 _ACEOF
7828 done
7831 for ac_header in libprocstat.h
7832 do :
7833 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7834 #include <sys/param.h>
7835 #endif
7836 #ifdef HAVE_SYS_QUEUE_H
7837 #include <sys/queue.h>
7838 #endif
7839 #ifdef HAVE_SYS_SOCKET_H
7840 #include <sys/socket.h>
7841 #endif
7843 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7844 cat >>confdefs.h <<_ACEOF
7845 #define HAVE_LIBPROCSTAT_H 1
7846 _ACEOF
7850 done
7854 DLLFLAGS="-D_REENTRANT"
7856 LDRPATH_INSTALL=""
7858 LDRPATH_LOCAL=""
7860 LDDLLFLAGS=""
7862 LDEXECFLAGS=""
7864 TOP_INSTALL_LIB=""
7866 TOP_INSTALL_DEV=""
7868 WINELOADER_LDFLAGS=""
7870 WINEPRELOADER_LDFLAGS=""
7872 LIBEXT="so"
7873 DLLEXT=".so"
7874 # Extract the first word of "ldd", so it can be a program name with args.
7875 set dummy ldd; ac_word=$2
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7877 $as_echo_n "checking for $ac_word... " >&6; }
7878 if ${ac_cv_path_LDD+:} false; then :
7879 $as_echo_n "(cached) " >&6
7880 else
7881 case $LDD in
7882 [\\/]* | ?:[\\/]*)
7883 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 as_dummy="/sbin:/usr/sbin:$PATH"
7888 for as_dir in $as_dummy
7890 IFS=$as_save_IFS
7891 test -z "$as_dir" && as_dir=.
7892 for ac_exec_ext in '' $ac_executable_extensions; do
7893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7894 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7896 break 2
7898 done
7899 done
7900 IFS=$as_save_IFS
7902 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7904 esac
7906 LDD=$ac_cv_path_LDD
7907 if test -n "$LDD"; then
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7909 $as_echo "$LDD" >&6; }
7910 else
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7912 $as_echo "no" >&6; }
7916 if test -n "$ac_tool_prefix"; then
7917 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7918 set dummy ${ac_tool_prefix}otool; ac_word=$2
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7920 $as_echo_n "checking for $ac_word... " >&6; }
7921 if ${ac_cv_prog_OTOOL+:} false; then :
7922 $as_echo_n "(cached) " >&6
7923 else
7924 if test -n "$OTOOL"; then
7925 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7926 else
7927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7928 for as_dir in $PATH
7930 IFS=$as_save_IFS
7931 test -z "$as_dir" && as_dir=.
7932 for ac_exec_ext in '' $ac_executable_extensions; do
7933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7934 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7936 break 2
7938 done
7939 done
7940 IFS=$as_save_IFS
7944 OTOOL=$ac_cv_prog_OTOOL
7945 if test -n "$OTOOL"; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7947 $as_echo "$OTOOL" >&6; }
7948 else
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7950 $as_echo "no" >&6; }
7955 if test -z "$ac_cv_prog_OTOOL"; then
7956 ac_ct_OTOOL=$OTOOL
7957 # Extract the first word of "otool", so it can be a program name with args.
7958 set dummy otool; ac_word=$2
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7960 $as_echo_n "checking for $ac_word... " >&6; }
7961 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7962 $as_echo_n "(cached) " >&6
7963 else
7964 if test -n "$ac_ct_OTOOL"; then
7965 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7966 else
7967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7968 for as_dir in $PATH
7970 IFS=$as_save_IFS
7971 test -z "$as_dir" && as_dir=.
7972 for ac_exec_ext in '' $ac_executable_extensions; do
7973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7974 ac_cv_prog_ac_ct_OTOOL="otool"
7975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7976 break 2
7978 done
7979 done
7980 IFS=$as_save_IFS
7984 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7985 if test -n "$ac_ct_OTOOL"; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7987 $as_echo "$ac_ct_OTOOL" >&6; }
7988 else
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7990 $as_echo "no" >&6; }
7993 if test "x$ac_ct_OTOOL" = x; then
7994 OTOOL="otool"
7995 else
7996 case $cross_compiling:$ac_tool_warned in
7997 yes:)
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8000 ac_tool_warned=yes ;;
8001 esac
8002 OTOOL=$ac_ct_OTOOL
8004 else
8005 OTOOL="$ac_cv_prog_OTOOL"
8008 if test -n "$ac_tool_prefix"; then
8009 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8010 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8012 $as_echo_n "checking for $ac_word... " >&6; }
8013 if ${ac_cv_prog_READELF+:} false; then :
8014 $as_echo_n "(cached) " >&6
8015 else
8016 if test -n "$READELF"; then
8017 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8018 else
8019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8020 for as_dir in $PATH
8022 IFS=$as_save_IFS
8023 test -z "$as_dir" && as_dir=.
8024 for ac_exec_ext in '' $ac_executable_extensions; do
8025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8026 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8028 break 2
8030 done
8031 done
8032 IFS=$as_save_IFS
8036 READELF=$ac_cv_prog_READELF
8037 if test -n "$READELF"; then
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8039 $as_echo "$READELF" >&6; }
8040 else
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8042 $as_echo "no" >&6; }
8047 if test -z "$ac_cv_prog_READELF"; then
8048 ac_ct_READELF=$READELF
8049 # Extract the first word of "readelf", so it can be a program name with args.
8050 set dummy readelf; ac_word=$2
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8052 $as_echo_n "checking for $ac_word... " >&6; }
8053 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8054 $as_echo_n "(cached) " >&6
8055 else
8056 if test -n "$ac_ct_READELF"; then
8057 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8058 else
8059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8060 for as_dir in $PATH
8062 IFS=$as_save_IFS
8063 test -z "$as_dir" && as_dir=.
8064 for ac_exec_ext in '' $ac_executable_extensions; do
8065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8066 ac_cv_prog_ac_ct_READELF="readelf"
8067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8068 break 2
8070 done
8071 done
8072 IFS=$as_save_IFS
8076 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8077 if test -n "$ac_ct_READELF"; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8079 $as_echo "$ac_ct_READELF" >&6; }
8080 else
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8082 $as_echo "no" >&6; }
8085 if test "x$ac_ct_READELF" = x; then
8086 READELF="true"
8087 else
8088 case $cross_compiling:$ac_tool_warned in
8089 yes:)
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8092 ac_tool_warned=yes ;;
8093 esac
8094 READELF=$ac_ct_READELF
8096 else
8097 READELF="$ac_cv_prog_READELF"
8100 wine_rules_file=conf$$rules.make
8101 rm -f $wine_rules_file
8102 SUBDIRS=""
8104 DISABLED_SUBDIRS=""
8106 CONFIGURE_TARGETS=""
8109 wine_fn_append_file ()
8111 as_fn_append $1 " \\$as_nl $2"
8114 wine_fn_append_rule ()
8116 $as_echo "$1" >>$wine_rules_file
8119 wine_fn_config_makefile ()
8121 wine_fn_append_file SUBDIRS $1
8122 if eval test \"x\$"$2"\" = x"no"; then :
8123 wine_fn_append_file DISABLED_SUBDIRS $1
8127 wine_fn_config_symlink ()
8129 ac_links=$@
8130 wine_fn_append_rule \
8131 "$ac_links:
8132 @./config.status \$@"
8133 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8136 wine_binary="wine"
8137 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8138 WINELOADER_PROGRAMS="$wine_binary"
8140 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8142 case $host_os in
8143 cygwin*|mingw32*)
8144 if test -n "$ac_tool_prefix"; then
8145 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8146 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8148 $as_echo_n "checking for $ac_word... " >&6; }
8149 if ${ac_cv_prog_DLLTOOL+:} false; then :
8150 $as_echo_n "(cached) " >&6
8151 else
8152 if test -n "$DLLTOOL"; then
8153 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8154 else
8155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8156 for as_dir in $PATH
8158 IFS=$as_save_IFS
8159 test -z "$as_dir" && as_dir=.
8160 for ac_exec_ext in '' $ac_executable_extensions; do
8161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8162 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8164 break 2
8166 done
8167 done
8168 IFS=$as_save_IFS
8172 DLLTOOL=$ac_cv_prog_DLLTOOL
8173 if test -n "$DLLTOOL"; then
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8175 $as_echo "$DLLTOOL" >&6; }
8176 else
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8178 $as_echo "no" >&6; }
8183 if test -z "$ac_cv_prog_DLLTOOL"; then
8184 ac_ct_DLLTOOL=$DLLTOOL
8185 # Extract the first word of "dlltool", so it can be a program name with args.
8186 set dummy dlltool; ac_word=$2
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8188 $as_echo_n "checking for $ac_word... " >&6; }
8189 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 if test -n "$ac_ct_DLLTOOL"; then
8193 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8194 else
8195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8196 for as_dir in $PATH
8198 IFS=$as_save_IFS
8199 test -z "$as_dir" && as_dir=.
8200 for ac_exec_ext in '' $ac_executable_extensions; do
8201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8202 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8204 break 2
8206 done
8207 done
8208 IFS=$as_save_IFS
8212 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8213 if test -n "$ac_ct_DLLTOOL"; then
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8215 $as_echo "$ac_ct_DLLTOOL" >&6; }
8216 else
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8218 $as_echo "no" >&6; }
8221 if test "x$ac_ct_DLLTOOL" = x; then
8222 DLLTOOL="false"
8223 else
8224 case $cross_compiling:$ac_tool_warned in
8225 yes:)
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8228 ac_tool_warned=yes ;;
8229 esac
8230 DLLTOOL=$ac_ct_DLLTOOL
8232 else
8233 DLLTOOL="$ac_cv_prog_DLLTOOL"
8236 LIBEXT="dll"
8237 DLLEXT=""
8238 case $host_cpu in
8239 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8240 esac
8241 enable_iphlpapi=${enable_iphlpapi:-no}
8242 enable_kernel32=${enable_kernel32:-no}
8243 enable_ntdll=${enable_ntdll:-no}
8244 enable_ws2_32=${enable_ws2_32:-no}
8245 enable_loader=${enable_loader:-no}
8246 enable_server=${enable_server:-no}
8247 with_x=${with_x:-no}
8248 with_pthread=${with_pthread:-no}
8251 darwin*|macosx*)
8252 ac_ext=m
8253 ac_cpp='$OBJCPP $CPPFLAGS'
8254 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8255 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8256 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8258 ac_ext=m
8259 ac_cpp='$OBJCPP $CPPFLAGS'
8260 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8261 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8262 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8263 if test -n "$ac_tool_prefix"; then
8264 for ac_prog in gcc objcc objc cc CC
8266 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8267 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8269 $as_echo_n "checking for $ac_word... " >&6; }
8270 if ${ac_cv_prog_OBJC+:} false; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 if test -n "$OBJC"; then
8274 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8275 else
8276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8277 for as_dir in $PATH
8279 IFS=$as_save_IFS
8280 test -z "$as_dir" && as_dir=.
8281 for ac_exec_ext in '' $ac_executable_extensions; do
8282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8283 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8285 break 2
8287 done
8288 done
8289 IFS=$as_save_IFS
8293 OBJC=$ac_cv_prog_OBJC
8294 if test -n "$OBJC"; then
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8296 $as_echo "$OBJC" >&6; }
8297 else
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8299 $as_echo "no" >&6; }
8303 test -n "$OBJC" && break
8304 done
8306 if test -z "$OBJC"; then
8307 ac_ct_OBJC=$OBJC
8308 for ac_prog in gcc objcc objc cc CC
8310 # Extract the first word of "$ac_prog", so it can be a program name with args.
8311 set dummy $ac_prog; ac_word=$2
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8313 $as_echo_n "checking for $ac_word... " >&6; }
8314 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8315 $as_echo_n "(cached) " >&6
8316 else
8317 if test -n "$ac_ct_OBJC"; then
8318 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8319 else
8320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8321 for as_dir in $PATH
8323 IFS=$as_save_IFS
8324 test -z "$as_dir" && as_dir=.
8325 for ac_exec_ext in '' $ac_executable_extensions; do
8326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8327 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8329 break 2
8331 done
8332 done
8333 IFS=$as_save_IFS
8337 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8338 if test -n "$ac_ct_OBJC"; then
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8340 $as_echo "$ac_ct_OBJC" >&6; }
8341 else
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8343 $as_echo "no" >&6; }
8347 test -n "$ac_ct_OBJC" && break
8348 done
8350 if test "x$ac_ct_OBJC" = x; then
8351 OBJC="gcc"
8352 else
8353 case $cross_compiling:$ac_tool_warned in
8354 yes:)
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8357 ac_tool_warned=yes ;;
8358 esac
8359 OBJC=$ac_ct_OBJC
8363 # Provide some information about the compiler.
8364 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8365 set X $ac_compile
8366 ac_compiler=$2
8367 for ac_option in --version -v -V -qversion; do
8368 { { ac_try="$ac_compiler $ac_option >&5"
8369 case "(($ac_try" in
8370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8371 *) ac_try_echo=$ac_try;;
8372 esac
8373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8374 $as_echo "$ac_try_echo"; } >&5
8375 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8376 ac_status=$?
8377 if test -s conftest.err; then
8378 sed '10a\
8379 ... rest of stderr output deleted ...
8380 10q' conftest.err >conftest.er1
8381 cat conftest.er1 >&5
8383 rm -f conftest.er1 conftest.err
8384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8385 test $ac_status = 0; }
8386 done
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8389 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8390 if ${ac_cv_objc_compiler_gnu+:} false; then :
8391 $as_echo_n "(cached) " >&6
8392 else
8393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8397 main ()
8399 #ifndef __GNUC__
8400 choke me
8401 #endif
8404 return 0;
8406 _ACEOF
8407 if ac_fn_objc_try_compile "$LINENO"; then :
8408 ac_compiler_gnu=yes
8409 else
8410 ac_compiler_gnu=no
8412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8413 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8417 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8418 if test $ac_compiler_gnu = yes; then
8419 GOBJC=yes
8420 else
8421 GOBJC=
8423 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8424 ac_save_OBJCFLAGS=$OBJCFLAGS
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8426 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8427 if ${ac_cv_prog_objc_g+:} false; then :
8428 $as_echo_n "(cached) " >&6
8429 else
8430 ac_save_objc_werror_flag=$ac_objc_werror_flag
8431 ac_objc_werror_flag=yes
8432 ac_cv_prog_objc_g=no
8433 OBJCFLAGS="-g"
8434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8435 /* end confdefs.h. */
8438 main ()
8442 return 0;
8444 _ACEOF
8445 if ac_fn_objc_try_compile "$LINENO"; then :
8446 ac_cv_prog_objc_g=yes
8447 else
8448 OBJCFLAGS=""
8449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8450 /* end confdefs.h. */
8453 main ()
8457 return 0;
8459 _ACEOF
8460 if ac_fn_objc_try_compile "$LINENO"; then :
8462 else
8463 ac_objc_werror_flag=$ac_save_objc_werror_flag
8464 OBJCFLAGS="-g"
8465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8466 /* end confdefs.h. */
8469 main ()
8473 return 0;
8475 _ACEOF
8476 if ac_fn_objc_try_compile "$LINENO"; then :
8477 ac_cv_prog_objc_g=yes
8479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8484 ac_objc_werror_flag=$ac_save_objc_werror_flag
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8487 $as_echo "$ac_cv_prog_objc_g" >&6; }
8488 if test "$ac_test_OBJCFLAGS" = set; then
8489 OBJCFLAGS=$ac_save_OBJCFLAGS
8490 elif test $ac_cv_prog_objc_g = yes; then
8491 if test "$GOBJC" = yes; then
8492 OBJCFLAGS="-g -O2"
8493 else
8494 OBJCFLAGS="-g"
8496 else
8497 if test "$GOBJC" = yes; then
8498 OBJCFLAGS="-O2"
8499 else
8500 OBJCFLAGS=
8503 ac_ext=m
8504 ac_cpp='$OBJCPP $CPPFLAGS'
8505 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8506 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8507 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8510 ac_ext=m
8511 ac_cpp='$OBJCPP $CPPFLAGS'
8512 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8513 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8514 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8516 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8517 if test -z "$OBJCPP"; then
8518 if ${ac_cv_prog_OBJCPP+:} false; then :
8519 $as_echo_n "(cached) " >&6
8520 else
8521 # Double quotes because OBJCPP needs to be expanded
8522 for OBJCPP in "$OBJC -E" "/lib/cpp"
8524 ac_preproc_ok=false
8525 for ac_objc_preproc_warn_flag in '' yes
8527 # Use a header file that comes with gcc, so configuring glibc
8528 # with a fresh cross-compiler works.
8529 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8530 # <limits.h> exists even on freestanding compilers.
8531 # On the NeXT, cc -E runs the code through the compiler's parser,
8532 # not just through cpp. "Syntax error" is here to catch this case.
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 #ifdef __STDC__
8536 # include <limits.h>
8537 #else
8538 # include <assert.h>
8539 #endif
8540 Syntax error
8541 _ACEOF
8542 if ac_fn_objc_try_cpp "$LINENO"; then :
8544 else
8545 # Broken: fails on valid input.
8546 continue
8548 rm -f conftest.err conftest.i conftest.$ac_ext
8550 # OK, works on sane cases. Now check whether nonexistent headers
8551 # can be detected and how.
8552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8553 /* end confdefs.h. */
8554 #include <ac_nonexistent.h>
8555 _ACEOF
8556 if ac_fn_objc_try_cpp "$LINENO"; then :
8557 # Broken: success on invalid input.
8558 continue
8559 else
8560 # Passes both tests.
8561 ac_preproc_ok=:
8562 break
8564 rm -f conftest.err conftest.i conftest.$ac_ext
8566 done
8567 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8568 rm -f conftest.i conftest.err conftest.$ac_ext
8569 if $ac_preproc_ok; then :
8570 break
8573 done
8574 ac_cv_prog_OBJCPP=$OBJCPP
8577 OBJCPP=$ac_cv_prog_OBJCPP
8578 else
8579 ac_cv_prog_OBJCPP=$OBJCPP
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8582 $as_echo "$OBJCPP" >&6; }
8583 ac_preproc_ok=false
8584 for ac_objc_preproc_warn_flag in '' yes
8586 # Use a header file that comes with gcc, so configuring glibc
8587 # with a fresh cross-compiler works.
8588 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8589 # <limits.h> exists even on freestanding compilers.
8590 # On the NeXT, cc -E runs the code through the compiler's parser,
8591 # not just through cpp. "Syntax error" is here to catch this case.
8592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8594 #ifdef __STDC__
8595 # include <limits.h>
8596 #else
8597 # include <assert.h>
8598 #endif
8599 Syntax error
8600 _ACEOF
8601 if ac_fn_objc_try_cpp "$LINENO"; then :
8603 else
8604 # Broken: fails on valid input.
8605 continue
8607 rm -f conftest.err conftest.i conftest.$ac_ext
8609 # OK, works on sane cases. Now check whether nonexistent headers
8610 # can be detected and how.
8611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h. */
8613 #include <ac_nonexistent.h>
8614 _ACEOF
8615 if ac_fn_objc_try_cpp "$LINENO"; then :
8616 # Broken: success on invalid input.
8617 continue
8618 else
8619 # Passes both tests.
8620 ac_preproc_ok=:
8621 break
8623 rm -f conftest.err conftest.i conftest.$ac_ext
8625 done
8626 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8627 rm -f conftest.i conftest.err conftest.$ac_ext
8628 if $ac_preproc_ok; then :
8630 else
8631 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8633 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8634 See \`config.log' for more details" "$LINENO" 5; }
8637 ac_ext=m
8638 ac_cpp='$OBJCPP $CPPFLAGS'
8639 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8640 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8641 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8644 for ac_header in Metal/Metal.h
8645 do :
8646 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8647 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8648 cat >>confdefs.h <<_ACEOF
8649 #define HAVE_METAL_METAL_H 1
8650 _ACEOF
8654 done
8656 ac_ext=c
8657 ac_cpp='$CPP $CPPFLAGS'
8658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8662 LIBEXT="dylib"
8663 DLLFLAGS="$DLLFLAGS -fPIC"
8664 LDDLLFLAGS="-fPIC"
8665 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8666 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8667 COREFOUNDATION_LIBS="-framework CoreFoundation"
8669 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8671 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8673 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8675 CORESERVICES_LIBS="-framework CoreServices"
8677 APPKIT_LIBS="-framework AppKit"
8679 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8682 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8684 wine_can_build_preloader=yes
8685 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8687 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8688 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8689 $as_echo_n "(cached) " >&6
8690 else
8691 ac_wine_try_cflags_saved=$CFLAGS
8692 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8694 /* end confdefs.h. */
8695 int main(int argc, char **argv) { return 0; }
8696 _ACEOF
8697 if ac_fn_c_try_link "$LINENO"; then :
8698 ac_cv_cflags__Wl__no_new_main__e__main=yes
8699 else
8700 ac_cv_cflags__Wl__no_new_main__e__main=no
8702 rm -f core conftest.err conftest.$ac_objext \
8703 conftest$ac_exeext conftest.$ac_ext
8704 CFLAGS=$ac_wine_try_cflags_saved
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8707 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8708 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8709 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8711 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8712 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8713 $as_echo_n "(cached) " >&6
8714 else
8715 ac_wine_try_cflags_saved=$CFLAGS
8716 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8718 /* end confdefs.h. */
8719 int main(int argc, char **argv) { return 0; }
8720 _ACEOF
8721 if ac_fn_c_try_link "$LINENO"; then :
8722 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8723 else
8724 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8726 rm -f core conftest.err conftest.$ac_objext \
8727 conftest$ac_exeext conftest.$ac_ext
8728 CFLAGS=$ac_wine_try_cflags_saved
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8731 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8732 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8733 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8734 else
8735 { $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
8736 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8737 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8738 $as_echo_n "(cached) " >&6
8739 else
8740 ac_wine_try_cflags_saved=$CFLAGS
8741 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8744 int main(int argc, char **argv) { return 0; }
8745 _ACEOF
8746 if ac_fn_c_try_link "$LINENO"; then :
8747 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8748 else
8749 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8751 rm -f core conftest.err conftest.$ac_objext \
8752 conftest$ac_exeext conftest.$ac_ext
8753 CFLAGS=$ac_wine_try_cflags_saved
8755 { $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
8756 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8757 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8758 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8759 else
8760 wine_can_build_preloader=no
8763 else
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8765 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8766 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8767 $as_echo_n "(cached) " >&6
8768 else
8769 ac_wine_try_cflags_saved=$CFLAGS
8770 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8773 int main(int argc, char **argv) { return 0; }
8774 _ACEOF
8775 if ac_fn_c_try_link "$LINENO"; then :
8776 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8777 else
8778 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8780 rm -f core conftest.err conftest.$ac_objext \
8781 conftest$ac_exeext conftest.$ac_ext
8782 CFLAGS=$ac_wine_try_cflags_saved
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8785 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8786 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8787 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8788 else
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8790 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8791 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8792 $as_echo_n "(cached) " >&6
8793 else
8794 ac_wine_try_cflags_saved=$CFLAGS
8795 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h. */
8798 int main(int argc, char **argv) { return 0; }
8799 _ACEOF
8800 if ac_fn_c_try_link "$LINENO"; then :
8801 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8802 else
8803 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8805 rm -f core conftest.err conftest.$ac_objext \
8806 conftest$ac_exeext conftest.$ac_ext
8807 CFLAGS=$ac_wine_try_cflags_saved
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8810 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8811 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8812 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8813 else
8814 wine_can_build_preloader=no
8818 if test "$wine_can_build_preloader" = "yes"
8819 then
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8821 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8822 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8823 $as_echo_n "(cached) " >&6
8824 else
8825 ac_wine_try_cflags_saved=$CFLAGS
8826 CFLAGS="$CFLAGS -Wl,-no_pie"
8827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8828 /* end confdefs.h. */
8829 int main(int argc, char **argv) { return 0; }
8830 _ACEOF
8831 if ac_fn_c_try_link "$LINENO"; then :
8832 ac_cv_cflags__Wl__no_pie=yes
8833 else
8834 ac_cv_cflags__Wl__no_pie=no
8836 rm -f core conftest.err conftest.$ac_objext \
8837 conftest$ac_exeext conftest.$ac_ext
8838 CFLAGS=$ac_wine_try_cflags_saved
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8841 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8842 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8843 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8845 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8846 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8847 else
8848 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8851 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8852 then
8853 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8856 if test "$ac_cv_header_Security_Security_h" = "yes"
8857 then
8858 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8860 ac_save_LIBS="$LIBS"
8861 LIBS="$LIBS $SECURITY_LIBS"
8862 for ac_func in SSLCopyPeerCertificates
8863 do :
8864 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8865 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8866 cat >>confdefs.h <<_ACEOF
8867 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8868 _ACEOF
8871 done
8873 LIBS="$ac_save_LIBS"
8875 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8876 then
8877 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8878 then
8879 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8881 else
8882 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8885 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8886 ac_save_LIBS="$LIBS"
8887 LIBS="$LIBS $COREAUDIO_LIBS"
8888 for ac_func in AUGraphAddNode
8889 do :
8890 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8891 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8892 cat >>confdefs.h <<_ACEOF
8893 #define HAVE_AUGRAPHADDNODE 1
8894 _ACEOF
8897 done
8899 LIBS="$ac_save_LIBS"
8901 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8902 then
8903 OPENAL_LIBS="-framework OpenAL"
8906 cat >>confdefs.h <<_ACEOF
8907 #define HAVE_OPENAL 1
8908 _ACEOF
8910 ac_cv_lib_openal=yes
8912 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8913 then
8914 OPENCL_LIBS="-framework OpenCL"
8916 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8918 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8919 then
8920 ac_save_LIBS="$LIBS"
8921 LIBS="$LIBS $IOKIT_LIBS"
8922 for ac_func in IOHIDManagerCreate
8923 do :
8924 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8925 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8926 cat >>confdefs.h <<_ACEOF
8927 #define HAVE_IOHIDMANAGERCREATE 1
8928 _ACEOF
8931 done
8933 LIBS="$ac_save_LIBS"
8935 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8936 then
8937 ac_save_LIBS="$LIBS"
8938 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8940 $as_echo_n "checking for the QuickTime framework... " >&6; }
8941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8942 /* end confdefs.h. */
8943 #include <QuickTime/ImageCompression.h>
8945 main ()
8947 CodecManagerVersion(NULL);
8949 return 0;
8951 _ACEOF
8952 if ac_fn_c_try_link "$LINENO"; then :
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8954 $as_echo "yes" >&6; }
8955 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8957 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8958 else
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8960 $as_echo "no" >&6; }
8961 ac_cv_header_QuickTime_ImageCompression_h=no
8963 rm -f core conftest.err conftest.$ac_objext \
8964 conftest$ac_exeext conftest.$ac_ext
8965 LIBS="$ac_save_LIBS"
8967 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8968 then
8969 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8971 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8972 then
8973 CARBON_LIBS="-framework Carbon"
8976 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8977 then
8978 METAL_LIBS="-framework Metal -framework QuartzCore"
8982 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8983 then
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8985 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8986 ac_ext=m
8987 ac_cpp='$OBJCPP $CPPFLAGS'
8988 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8989 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8990 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8993 /* end confdefs.h. */
8994 #include <Metal/Metal.h>
8996 main ()
8998 id<MTLDevice> device; device.registryID;
9000 return 0;
9002 _ACEOF
9003 if ac_fn_objc_try_compile "$LINENO"; then :
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9005 $as_echo "yes" >&6; }
9007 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9009 else
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9011 $as_echo "no" >&6; }
9013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9014 ac_ext=c
9015 ac_cpp='$CPP $CPPFLAGS'
9016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9022 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9023 then
9024 ac_save_LIBS="$LIBS"
9025 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9026 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9027 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9028 enable_winemac_drv=${enable_winemac_drv:-yes}
9031 LIBS="$ac_save_LIBS"
9034 if test "x$enable_win16" = "xyes"
9035 then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9037 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9038 if test "$cross_compiling" = yes; then :
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9040 $as_echo "cross-compiling, assuming yes" >&6; }
9041 else
9042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9043 /* end confdefs.h. */
9044 asm(".text\n"
9045 "bad:\tnop;nop\n"
9046 "good:\tnop;nop\n\t"
9047 ".globl _testfunc\n"
9048 "_testfunc:\tcallw good");
9049 extern void testfunc();
9051 main ()
9053 unsigned short *p = (unsigned short *)testfunc;
9054 return p[0] != 0xe866 || p[1] != 0xfffa
9056 return 0;
9058 _ACEOF
9059 if ac_fn_c_try_run "$LINENO"; then :
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9061 $as_echo "yes" >&6; }
9062 else
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9064 $as_echo "no" >&6; }
9065 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
9067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9068 conftest.$ac_objext conftest.beam conftest.$ac_ext
9073 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9075 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9077 WINELOADER_DEPENDS="wine_info.plist"
9079 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9080 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9083 linux-android*)
9084 DLLFLAGS="$DLLFLAGS -fPIC"
9085 LDDLLFLAGS="-fPIC"
9086 LDEXECFLAGS="-Wl,-pie"
9087 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9089 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9090 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9091 $as_echo_n "(cached) " >&6
9092 else
9093 ac_wine_try_cflags_saved=$CFLAGS
9094 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9096 /* end confdefs.h. */
9097 int main(int argc, char **argv) { return 0; }
9098 _ACEOF
9099 if ac_fn_c_try_link "$LINENO"; then :
9100 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9101 else
9102 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9104 rm -f core conftest.err conftest.$ac_objext \
9105 conftest$ac_exeext conftest.$ac_ext
9106 CFLAGS=$ac_wine_try_cflags_saved
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9109 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9110 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9111 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9113 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9114 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9116 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9117 if eval \${$as_ac_var+:} false; then :
9118 $as_echo_n "(cached) " >&6
9119 else
9120 ac_wine_try_cflags_saved=$CFLAGS
9121 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9123 /* end confdefs.h. */
9124 int main(int argc, char **argv) { return 0; }
9125 _ACEOF
9126 if ac_fn_c_try_link "$LINENO"; then :
9127 eval "$as_ac_var=yes"
9128 else
9129 eval "$as_ac_var=no"
9131 rm -f core conftest.err conftest.$ac_objext \
9132 conftest$ac_exeext conftest.$ac_ext
9133 CFLAGS=$ac_wine_try_cflags_saved
9135 eval ac_res=\$$as_ac_var
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9137 $as_echo "$ac_res" >&6; }
9138 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9139 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9140 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9141 else
9142 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9144 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9145 if eval \${$as_ac_var+:} false; then :
9146 $as_echo_n "(cached) " >&6
9147 else
9148 ac_wine_try_cflags_saved=$CFLAGS
9149 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9151 /* end confdefs.h. */
9152 int main(int argc, char **argv) { return 0; }
9153 _ACEOF
9154 if ac_fn_c_try_link "$LINENO"; then :
9155 eval "$as_ac_var=yes"
9156 else
9157 eval "$as_ac_var=no"
9159 rm -f core conftest.err conftest.$ac_objext \
9160 conftest$ac_exeext conftest.$ac_ext
9161 CFLAGS=$ac_wine_try_cflags_saved
9163 eval ac_res=\$$as_ac_var
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9165 $as_echo "$ac_res" >&6; }
9166 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9167 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9168 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9172 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9173 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9174 $as_echo_n "(cached) " >&6
9175 else
9176 ac_wine_try_cflags_saved=$CFLAGS
9177 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9179 /* end confdefs.h. */
9180 int main(int argc, char **argv) { return 0; }
9181 _ACEOF
9182 if ac_fn_c_try_link "$LINENO"; then :
9183 ac_cv_cflags__Wl___enable_new_dtags=yes
9184 else
9185 ac_cv_cflags__Wl___enable_new_dtags=no
9187 rm -f core conftest.err conftest.$ac_objext \
9188 conftest$ac_exeext conftest.$ac_ext
9189 CFLAGS=$ac_wine_try_cflags_saved
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9192 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9193 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9194 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9197 LIBWINE_SHAREDLIB="libwine.so"
9199 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9201 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9204 $as_echo_n "checking for -lEGL... " >&6; }
9205 if ${ac_cv_lib_soname_EGL+:} false; then :
9206 $as_echo_n "(cached) " >&6
9207 else
9208 ac_check_soname_save_LIBS=$LIBS
9209 LIBS="-lEGL $LIBS"
9210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9211 /* end confdefs.h. */
9213 /* Override any GCC internal prototype to avoid an error.
9214 Use char because int might match the return type of a GCC
9215 builtin and then its argument prototype would still apply. */
9216 #ifdef __cplusplus
9217 extern "C"
9218 #endif
9219 char eglGetProcAddress ();
9221 main ()
9223 return eglGetProcAddress ();
9225 return 0;
9227 _ACEOF
9228 if ac_fn_c_try_link "$LINENO"; then :
9229 case "$LIBEXT" in
9230 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9231 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'` ;;
9232 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9233 if ${ac_cv_lib_soname_EGL:+false} :; then :
9234 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9235 fi ;;
9236 esac
9237 else
9238 ac_cv_lib_soname_EGL=
9240 rm -f core conftest.err conftest.$ac_objext \
9241 conftest$ac_exeext conftest.$ac_ext
9242 LIBS=$ac_check_soname_save_LIBS
9244 if ${ac_cv_lib_soname_EGL:+false} :; then :
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9246 $as_echo "not found" >&6; }
9248 else
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9250 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9252 cat >>confdefs.h <<_ACEOF
9253 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9254 _ACEOF
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9259 $as_echo_n "checking for -lGLESv2... " >&6; }
9260 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9261 $as_echo_n "(cached) " >&6
9262 else
9263 ac_check_soname_save_LIBS=$LIBS
9264 LIBS="-lGLESv2 $LIBS"
9265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9266 /* end confdefs.h. */
9268 /* Override any GCC internal prototype to avoid an error.
9269 Use char because int might match the return type of a GCC
9270 builtin and then its argument prototype would still apply. */
9271 #ifdef __cplusplus
9272 extern "C"
9273 #endif
9274 char glFlush ();
9276 main ()
9278 return glFlush ();
9280 return 0;
9282 _ACEOF
9283 if ac_fn_c_try_link "$LINENO"; then :
9284 case "$LIBEXT" in
9285 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9286 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'` ;;
9287 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9288 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9289 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9290 fi ;;
9291 esac
9292 else
9293 ac_cv_lib_soname_GLESv2=
9295 rm -f core conftest.err conftest.$ac_objext \
9296 conftest$ac_exeext conftest.$ac_ext
9297 LIBS=$ac_check_soname_save_LIBS
9299 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9301 $as_echo "not found" >&6; }
9303 else
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9305 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9307 cat >>confdefs.h <<_ACEOF
9308 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9309 _ACEOF
9314 if test "x$exec_prefix" = xNONE
9315 then
9316 case $host_cpu in
9317 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9318 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9319 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9320 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9321 esac
9326 case $host_cpu in
9327 *i[3456789]86*)
9328 DLLFLAGS="$DLLFLAGS -fno-PIC"
9329 LDDLLFLAGS="-fno-PIC" ;;
9331 DLLFLAGS="$DLLFLAGS -fPIC"
9332 LDDLLFLAGS="-fPIC" ;;
9333 esac
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9335 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9336 if ${ac_cv_c_dll_gnuelf+:} false; then :
9337 $as_echo_n "(cached) " >&6
9338 else
9339 ac_wine_try_cflags_saved=$CFLAGS
9340 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9342 /* end confdefs.h. */
9343 void myfunc() {}
9344 _ACEOF
9345 if ac_fn_c_try_link "$LINENO"; then :
9346 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9347 else
9348 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9350 rm -f core conftest.err conftest.$ac_objext \
9351 conftest$ac_exeext conftest.$ac_ext
9352 CFLAGS=$ac_wine_try_cflags_saved
9353 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9354 ac_cv_c_dll_gnuelf="yes"
9355 else
9356 ac_cv_c_dll_gnuelf="no"
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9360 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9361 if test "$ac_cv_c_dll_gnuelf" = "yes"
9362 then
9363 LIBWINE_LDFLAGS="-shared"
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9365 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9366 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9367 $as_echo_n "(cached) " >&6
9368 else
9369 ac_wine_try_cflags_saved=$CFLAGS
9370 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9372 /* end confdefs.h. */
9373 int main(int argc, char **argv) { return 0; }
9374 _ACEOF
9375 if ac_fn_c_try_link "$LINENO"; then :
9376 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9377 else
9378 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9380 rm -f core conftest.err conftest.$ac_objext \
9381 conftest$ac_exeext conftest.$ac_ext
9382 CFLAGS=$ac_wine_try_cflags_saved
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9385 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9386 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9387 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9388 else
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9390 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9391 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9392 $as_echo_n "(cached) " >&6
9393 else
9394 ac_wine_try_cflags_saved=$CFLAGS
9395 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9397 /* end confdefs.h. */
9398 int main(int argc, char **argv) { return 0; }
9399 _ACEOF
9400 if ac_fn_c_try_link "$LINENO"; then :
9401 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9402 else
9403 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9405 rm -f core conftest.err conftest.$ac_objext \
9406 conftest$ac_exeext conftest.$ac_ext
9407 CFLAGS=$ac_wine_try_cflags_saved
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9410 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9411 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9412 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9416 echo '{ global: *; };' >conftest.map
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9418 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9419 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9420 $as_echo_n "(cached) " >&6
9421 else
9422 ac_wine_try_cflags_saved=$CFLAGS
9423 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9426 int main(int argc, char **argv) { return 0; }
9427 _ACEOF
9428 if ac_fn_c_try_link "$LINENO"; then :
9429 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9430 else
9431 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9433 rm -f core conftest.err conftest.$ac_objext \
9434 conftest$ac_exeext conftest.$ac_ext
9435 CFLAGS=$ac_wine_try_cflags_saved
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9438 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9439 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9440 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9442 rm -f conftest.map
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9445 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9446 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9447 $as_echo_n "(cached) " >&6
9448 else
9449 ac_wine_try_cflags_saved=$CFLAGS
9450 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9452 /* end confdefs.h. */
9453 int main(int argc, char **argv) { return 0; }
9454 _ACEOF
9455 if ac_fn_c_try_link "$LINENO"; then :
9456 ac_cv_cflags__Wl___export_dynamic=yes
9457 else
9458 ac_cv_cflags__Wl___export_dynamic=no
9460 rm -f core conftest.err conftest.$ac_objext \
9461 conftest$ac_exeext conftest.$ac_ext
9462 CFLAGS=$ac_wine_try_cflags_saved
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9465 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9466 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9467 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9469 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9471 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9473 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9474 if eval \${$as_ac_var+:} false; then :
9475 $as_echo_n "(cached) " >&6
9476 else
9477 ac_wine_try_cflags_saved=$CFLAGS
9478 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9480 /* end confdefs.h. */
9481 int main(int argc, char **argv) { return 0; }
9482 _ACEOF
9483 if ac_fn_c_try_link "$LINENO"; then :
9484 eval "$as_ac_var=yes"
9485 else
9486 eval "$as_ac_var=no"
9488 rm -f core conftest.err conftest.$ac_objext \
9489 conftest$ac_exeext conftest.$ac_ext
9490 CFLAGS=$ac_wine_try_cflags_saved
9492 eval ac_res=\$$as_ac_var
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9494 $as_echo "$ac_res" >&6; }
9495 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9496 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9497 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9498 else
9499 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9501 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9502 if eval \${$as_ac_var+:} false; then :
9503 $as_echo_n "(cached) " >&6
9504 else
9505 ac_wine_try_cflags_saved=$CFLAGS
9506 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9509 int main(int argc, char **argv) { return 0; }
9510 _ACEOF
9511 if ac_fn_c_try_link "$LINENO"; then :
9512 eval "$as_ac_var=yes"
9513 else
9514 eval "$as_ac_var=no"
9516 rm -f core conftest.err conftest.$ac_objext \
9517 conftest$ac_exeext conftest.$ac_ext
9518 CFLAGS=$ac_wine_try_cflags_saved
9520 eval ac_res=\$$as_ac_var
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9522 $as_echo "$ac_res" >&6; }
9523 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9524 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9525 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9530 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9531 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9532 $as_echo_n "(cached) " >&6
9533 else
9534 ac_wine_try_cflags_saved=$CFLAGS
9535 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9538 int main(int argc, char **argv) { return 0; }
9539 _ACEOF
9540 if ac_fn_c_try_link "$LINENO"; then :
9541 ac_cv_cflags__Wl___enable_new_dtags=yes
9542 else
9543 ac_cv_cflags__Wl___enable_new_dtags=no
9545 rm -f core conftest.err conftest.$ac_objext \
9546 conftest$ac_exeext conftest.$ac_ext
9547 CFLAGS=$ac_wine_try_cflags_saved
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9550 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9551 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9552 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9555 case $host_cpu in
9556 *i[3456789]86* | x86_64 | *aarch64*)
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9558 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9559 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9560 $as_echo_n "(cached) " >&6
9561 else
9562 ac_wine_try_cflags_saved=$CFLAGS
9563 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9566 int main(int argc, char **argv) { return 0; }
9567 _ACEOF
9568 if ac_fn_c_try_link "$LINENO"; then :
9569 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9570 else
9571 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9573 rm -f core conftest.err conftest.$ac_objext \
9574 conftest$ac_exeext conftest.$ac_ext
9575 CFLAGS=$ac_wine_try_cflags_saved
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9578 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9579 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9580 case $host_os in
9581 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9582 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9583 esac
9584 else
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9586 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9587 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9588 $as_echo_n "(cached) " >&6
9589 else
9590 ac_wine_try_cflags_saved=$CFLAGS
9591 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9594 int main(int argc, char **argv) { return 0; }
9595 _ACEOF
9596 if ac_fn_c_try_link "$LINENO"; then :
9597 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9598 else
9599 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9601 rm -f core conftest.err conftest.$ac_objext \
9602 conftest$ac_exeext conftest.$ac_ext
9603 CFLAGS=$ac_wine_try_cflags_saved
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9606 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9607 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9608 case $host_os in
9609 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9610 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9611 esac
9613 # Extract the first word of "prelink", so it can be a program name with args.
9614 set dummy prelink; ac_word=$2
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9616 $as_echo_n "checking for $ac_word... " >&6; }
9617 if ${ac_cv_path_PRELINK+:} false; then :
9618 $as_echo_n "(cached) " >&6
9619 else
9620 case $PRELINK in
9621 [\\/]* | ?:[\\/]*)
9622 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9626 for as_dir in /sbin /usr/sbin $PATH
9628 IFS=$as_save_IFS
9629 test -z "$as_dir" && as_dir=.
9630 for ac_exec_ext in '' $ac_executable_extensions; do
9631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9632 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9634 break 2
9636 done
9637 done
9638 IFS=$as_save_IFS
9640 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9642 esac
9644 PRELINK=$ac_cv_path_PRELINK
9645 if test -n "$PRELINK"; then
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9647 $as_echo "$PRELINK" >&6; }
9648 else
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9650 $as_echo "no" >&6; }
9654 if test "x$PRELINK" = xfalse
9655 then
9656 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9660 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9661 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9662 $as_echo_n "(cached) " >&6
9663 else
9664 ac_wine_try_cflags_saved=$CFLAGS
9665 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9667 /* end confdefs.h. */
9668 int main(int argc, char **argv) { return 0; }
9669 _ACEOF
9670 if ac_fn_c_try_link "$LINENO"; then :
9671 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9672 else
9673 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9675 rm -f core conftest.err conftest.$ac_objext \
9676 conftest$ac_exeext conftest.$ac_ext
9677 CFLAGS=$ac_wine_try_cflags_saved
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9680 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9681 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9682 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9685 esac
9687 else
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9689 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9690 if ${ac_cv_c_dll_unixware+:} false; then :
9691 $as_echo_n "(cached) " >&6
9692 else
9693 ac_wine_try_cflags_saved=$CFLAGS
9694 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9696 /* end confdefs.h. */
9697 void myfunc() {}
9698 _ACEOF
9699 if ac_fn_c_try_link "$LINENO"; then :
9700 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9701 else
9702 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9704 rm -f core conftest.err conftest.$ac_objext \
9705 conftest$ac_exeext conftest.$ac_ext
9706 CFLAGS=$ac_wine_try_cflags_saved
9707 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9708 ac_cv_c_dll_unixware="yes"
9709 else
9710 ac_cv_c_dll_unixware="no"
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9714 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9715 if test "$ac_cv_c_dll_unixware" = "yes"
9716 then
9717 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9720 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9722 LIBWINE_DEPENDS="wine.map"
9724 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9725 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9727 esac
9729 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9730 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9731 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9732 enable_winemac_drv=${enable_winemac_drv:-no}
9733 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9735 CROSSTARGET=""
9737 if test "x$with_mingw" != xno
9738 then
9739 case "x$with_mingw" in
9740 x|xyes) case "$host_cpu" in
9741 aarch64*)
9742 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9743 arm*)
9744 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9745 i[3456789]86*)
9746 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
9747 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9748 mingw32-gcc" ;;
9749 x86_64)
9750 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
9751 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9753 ac_prefix_list="" ;;
9754 esac
9755 for ac_prog in $ac_prefix_list
9757 # Extract the first word of "$ac_prog", so it can be a program name with args.
9758 set dummy $ac_prog; ac_word=$2
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9760 $as_echo_n "checking for $ac_word... " >&6; }
9761 if ${ac_cv_prog_CROSSCC+:} false; then :
9762 $as_echo_n "(cached) " >&6
9763 else
9764 if test -n "$CROSSCC"; then
9765 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9766 else
9767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9768 for as_dir in $PATH
9770 IFS=$as_save_IFS
9771 test -z "$as_dir" && as_dir=.
9772 for ac_exec_ext in '' $ac_executable_extensions; do
9773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9774 ac_cv_prog_CROSSCC="$ac_prog"
9775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9776 break 2
9778 done
9779 done
9780 IFS=$as_save_IFS
9784 CROSSCC=$ac_cv_prog_CROSSCC
9785 if test -n "$CROSSCC"; then
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9787 $as_echo "$CROSSCC" >&6; }
9788 else
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9790 $as_echo "no" >&6; }
9794 test -n "$CROSSCC" && break
9795 done
9796 test -n "$CROSSCC" || CROSSCC="false"
9798 *) CROSSCC=$with_mingw ;;
9799 esac
9800 if test "$CROSSCC" != "false"
9801 then
9802 ac_save_CC="$CC"
9803 saved_CFLAGS=$CFLAGS
9804 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9806 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9810 CC="$CROSSCC"
9811 CFLAGS=$CROSSCFLAGS
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9813 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9814 if ${wine_cv_crosscc+:} false; then :
9815 $as_echo_n "(cached) " >&6
9816 else
9817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9818 /* end confdefs.h. */
9821 main ()
9825 return 0;
9827 _ACEOF
9828 if ac_fn_c_try_compile "$LINENO"; then :
9829 wine_cv_crosscc=yes
9830 else
9831 wine_cv_crosscc=no
9833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9836 $as_echo "$wine_cv_crosscc" >&6; }
9837 if test $wine_cv_crosscc = yes
9838 then
9839 set x $CROSSCC
9840 shift
9841 while test $# -ge 1
9843 case "$1" in
9844 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9845 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9846 esac
9847 shift
9848 done
9850 llvm_target=$CROSSTARGET
9851 if test -z "$llvm_target"
9852 then
9853 case $host_cpu in
9854 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9855 *) llvm_target=$host_cpu-windows-gnu ;;
9856 esac
9858 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target -fuse-ld=lld" | $as_tr_sh`
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld" >&5
9860 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld... " >&6; }
9861 if eval \${$as_ac_var+:} false; then :
9862 $as_echo_n "(cached) " >&6
9863 else
9864 ac_wine_try_cflags_saved=$CFLAGS
9865 ac_wine_try_cflags_saved_cc=$CC
9866 ac_wine_try_cflags_saved_exeext=$ac_exeext
9867 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target -fuse-ld=lld"
9868 CC="$CROSSCC"
9869 ac_exeext=".exe"
9870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9871 /* end confdefs.h. */
9872 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9873 _ACEOF
9874 if ac_fn_c_try_link "$LINENO"; then :
9875 eval "$as_ac_var=yes"
9876 else
9877 eval "$as_ac_var=no"
9879 rm -f core conftest.err conftest.$ac_objext \
9880 conftest$ac_exeext conftest.$ac_ext
9881 CFLAGS=$ac_wine_try_cflags_saved
9882 CC=$ac_wine_try_cflags_saved_cc
9883 ac_exeext=$ac_wine_try_cflags_saved_exeext
9885 eval ac_res=\$$as_ac_var
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9887 $as_echo "$ac_res" >&6; }
9888 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9889 CROSSTARGET=$llvm_target
9890 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9891 CFLAGS="$CFLAGS -fuse-ld=lld"
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9895 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9896 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9897 $as_echo_n "(cached) " >&6
9898 else
9899 ac_wine_try_cflags_saved=$CFLAGS
9900 ac_wine_try_cflags_saved_cc=$CC
9901 ac_wine_try_cflags_saved_exeext=$ac_exeext
9902 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9903 CC="$CROSSCC"
9904 ac_exeext=".exe"
9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9907 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9910 ac_cv_crosscflags__fno_strict_aliasing=yes
9911 else
9912 ac_cv_crosscflags__fno_strict_aliasing=no
9914 rm -f core conftest.err conftest.$ac_objext \
9915 conftest$ac_exeext conftest.$ac_ext
9916 CFLAGS=$ac_wine_try_cflags_saved
9917 CC=$ac_wine_try_cflags_saved_cc
9918 ac_exeext=$ac_wine_try_cflags_saved_exeext
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9921 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9922 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9923 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9926 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9927 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9928 $as_echo_n "(cached) " >&6
9929 else
9930 ac_wine_try_cflags_saved=$CFLAGS
9931 ac_wine_try_cflags_saved_cc=$CC
9932 ac_wine_try_cflags_saved_exeext=$ac_exeext
9933 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9934 CC="$CROSSCC"
9935 ac_exeext=".exe"
9936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9938 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9939 _ACEOF
9940 if ac_fn_c_try_link "$LINENO"; then :
9941 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9942 else
9943 ac_cv_crosscflags__Werror_unknown_warning_option=no
9945 rm -f core conftest.err conftest.$ac_objext \
9946 conftest$ac_exeext conftest.$ac_ext
9947 CFLAGS=$ac_wine_try_cflags_saved
9948 CC=$ac_wine_try_cflags_saved_cc
9949 ac_exeext=$ac_wine_try_cflags_saved_exeext
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9952 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9953 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9954 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9957 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9958 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9959 $as_echo_n "(cached) " >&6
9960 else
9961 ac_wine_try_cflags_saved=$CFLAGS
9962 ac_wine_try_cflags_saved_cc=$CC
9963 ac_wine_try_cflags_saved_exeext=$ac_exeext
9964 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9965 CC="$CROSSCC"
9966 ac_exeext=".exe"
9967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9968 /* end confdefs.h. */
9969 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9970 _ACEOF
9971 if ac_fn_c_try_link "$LINENO"; then :
9972 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9973 else
9974 ac_cv_crosscflags__Wdeclaration_after_statement=no
9976 rm -f core conftest.err conftest.$ac_objext \
9977 conftest$ac_exeext conftest.$ac_ext
9978 CFLAGS=$ac_wine_try_cflags_saved
9979 CC=$ac_wine_try_cflags_saved_cc
9980 ac_exeext=$ac_wine_try_cflags_saved_exeext
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9983 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9984 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9985 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9988 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9989 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9990 $as_echo_n "(cached) " >&6
9991 else
9992 ac_wine_try_cflags_saved=$CFLAGS
9993 ac_wine_try_cflags_saved_cc=$CC
9994 ac_wine_try_cflags_saved_exeext=$ac_exeext
9995 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9996 CC="$CROSSCC"
9997 ac_exeext=".exe"
9998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9999 /* end confdefs.h. */
10000 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10001 _ACEOF
10002 if ac_fn_c_try_link "$LINENO"; then :
10003 ac_cv_crosscflags__Wempty_body=yes
10004 else
10005 ac_cv_crosscflags__Wempty_body=no
10007 rm -f core conftest.err conftest.$ac_objext \
10008 conftest$ac_exeext conftest.$ac_ext
10009 CFLAGS=$ac_wine_try_cflags_saved
10010 CC=$ac_wine_try_cflags_saved_cc
10011 ac_exeext=$ac_wine_try_cflags_saved_exeext
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10014 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
10015 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
10016 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10019 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10020 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
10021 $as_echo_n "(cached) " >&6
10022 else
10023 ac_wine_try_cflags_saved=$CFLAGS
10024 ac_wine_try_cflags_saved_cc=$CC
10025 ac_wine_try_cflags_saved_exeext=$ac_exeext
10026 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10027 CC="$CROSSCC"
10028 ac_exeext=".exe"
10029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10031 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10032 _ACEOF
10033 if ac_fn_c_try_link "$LINENO"; then :
10034 ac_cv_crosscflags__Wignored_qualifiers=yes
10035 else
10036 ac_cv_crosscflags__Wignored_qualifiers=no
10038 rm -f core conftest.err conftest.$ac_objext \
10039 conftest$ac_exeext conftest.$ac_ext
10040 CFLAGS=$ac_wine_try_cflags_saved
10041 CC=$ac_wine_try_cflags_saved_cc
10042 ac_exeext=$ac_wine_try_cflags_saved_exeext
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10045 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10046 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10047 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10050 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10051 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10052 $as_echo_n "(cached) " >&6
10053 else
10054 ac_wine_try_cflags_saved=$CFLAGS
10055 ac_wine_try_cflags_saved_cc=$CC
10056 ac_wine_try_cflags_saved_exeext=$ac_exeext
10057 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10058 CC="$CROSSCC"
10059 ac_exeext=".exe"
10060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10062 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10063 _ACEOF
10064 if ac_fn_c_try_link "$LINENO"; then :
10065 ac_cv_crosscflags__Wpacked_not_aligned=yes
10066 else
10067 ac_cv_crosscflags__Wpacked_not_aligned=no
10069 rm -f core conftest.err conftest.$ac_objext \
10070 conftest$ac_exeext conftest.$ac_ext
10071 CFLAGS=$ac_wine_try_cflags_saved
10072 CC=$ac_wine_try_cflags_saved_cc
10073 ac_exeext=$ac_wine_try_cflags_saved_exeext
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10076 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10077 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10078 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10081 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10082 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10083 $as_echo_n "(cached) " >&6
10084 else
10085 ac_wine_try_cflags_saved=$CFLAGS
10086 ac_wine_try_cflags_saved_cc=$CC
10087 ac_wine_try_cflags_saved_exeext=$ac_exeext
10088 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10089 CC="$CROSSCC"
10090 ac_exeext=".exe"
10091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10093 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10094 _ACEOF
10095 if ac_fn_c_try_link "$LINENO"; then :
10096 ac_cv_crosscflags__Wpragma_pack=yes
10097 else
10098 ac_cv_crosscflags__Wpragma_pack=no
10100 rm -f core conftest.err conftest.$ac_objext \
10101 conftest$ac_exeext conftest.$ac_ext
10102 CFLAGS=$ac_wine_try_cflags_saved
10103 CC=$ac_wine_try_cflags_saved_cc
10104 ac_exeext=$ac_wine_try_cflags_saved_exeext
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10107 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10108 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10109 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10112 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10113 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10114 $as_echo_n "(cached) " >&6
10115 else
10116 ac_wine_try_cflags_saved=$CFLAGS
10117 ac_wine_try_cflags_saved_cc=$CC
10118 ac_wine_try_cflags_saved_exeext=$ac_exeext
10119 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10120 CC="$CROSSCC"
10121 ac_exeext=".exe"
10122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10124 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10125 _ACEOF
10126 if ac_fn_c_try_link "$LINENO"; then :
10127 ac_cv_crosscflags__Wshift_overflow_2=yes
10128 else
10129 ac_cv_crosscflags__Wshift_overflow_2=no
10131 rm -f core conftest.err conftest.$ac_objext \
10132 conftest$ac_exeext conftest.$ac_ext
10133 CFLAGS=$ac_wine_try_cflags_saved
10134 CC=$ac_wine_try_cflags_saved_cc
10135 ac_exeext=$ac_wine_try_cflags_saved_exeext
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10138 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10139 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10140 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10143 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10144 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10145 $as_echo_n "(cached) " >&6
10146 else
10147 ac_wine_try_cflags_saved=$CFLAGS
10148 ac_wine_try_cflags_saved_cc=$CC
10149 ac_wine_try_cflags_saved_exeext=$ac_exeext
10150 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10151 CC="$CROSSCC"
10152 ac_exeext=".exe"
10153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10155 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10156 _ACEOF
10157 if ac_fn_c_try_link "$LINENO"; then :
10158 ac_cv_crosscflags__Wstrict_prototypes=yes
10159 else
10160 ac_cv_crosscflags__Wstrict_prototypes=no
10162 rm -f core conftest.err conftest.$ac_objext \
10163 conftest$ac_exeext conftest.$ac_ext
10164 CFLAGS=$ac_wine_try_cflags_saved
10165 CC=$ac_wine_try_cflags_saved_cc
10166 ac_exeext=$ac_wine_try_cflags_saved_exeext
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10169 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10170 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10171 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10174 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10175 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10176 $as_echo_n "(cached) " >&6
10177 else
10178 ac_wine_try_cflags_saved=$CFLAGS
10179 ac_wine_try_cflags_saved_cc=$CC
10180 ac_wine_try_cflags_saved_exeext=$ac_exeext
10181 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10182 CC="$CROSSCC"
10183 ac_exeext=".exe"
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10187 _ACEOF
10188 if ac_fn_c_try_link "$LINENO"; then :
10189 ac_cv_crosscflags__Wtype_limits=yes
10190 else
10191 ac_cv_crosscflags__Wtype_limits=no
10193 rm -f core conftest.err conftest.$ac_objext \
10194 conftest$ac_exeext conftest.$ac_ext
10195 CFLAGS=$ac_wine_try_cflags_saved
10196 CC=$ac_wine_try_cflags_saved_cc
10197 ac_exeext=$ac_wine_try_cflags_saved_exeext
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10200 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10201 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10202 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10205 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10206 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10207 $as_echo_n "(cached) " >&6
10208 else
10209 ac_wine_try_cflags_saved=$CFLAGS
10210 ac_wine_try_cflags_saved_cc=$CC
10211 ac_wine_try_cflags_saved_exeext=$ac_exeext
10212 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10213 CC="$CROSSCC"
10214 ac_exeext=".exe"
10215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10217 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"; then :
10220 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10221 else
10222 ac_cv_crosscflags__Wunused_but_set_parameter=no
10224 rm -f core conftest.err conftest.$ac_objext \
10225 conftest$ac_exeext conftest.$ac_ext
10226 CFLAGS=$ac_wine_try_cflags_saved
10227 CC=$ac_wine_try_cflags_saved_cc
10228 ac_exeext=$ac_wine_try_cflags_saved_exeext
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10231 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10232 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10233 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10236 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10237 if ${ac_cv_crosscflags__Wvla+:} false; then :
10238 $as_echo_n "(cached) " >&6
10239 else
10240 ac_wine_try_cflags_saved=$CFLAGS
10241 ac_wine_try_cflags_saved_cc=$CC
10242 ac_wine_try_cflags_saved_exeext=$ac_exeext
10243 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10244 CC="$CROSSCC"
10245 ac_exeext=".exe"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10248 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"; then :
10251 ac_cv_crosscflags__Wvla=yes
10252 else
10253 ac_cv_crosscflags__Wvla=no
10255 rm -f core conftest.err conftest.$ac_objext \
10256 conftest$ac_exeext conftest.$ac_ext
10257 CFLAGS=$ac_wine_try_cflags_saved
10258 CC=$ac_wine_try_cflags_saved_cc
10259 ac_exeext=$ac_wine_try_cflags_saved_exeext
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10262 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10263 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10264 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10267 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10268 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10269 $as_echo_n "(cached) " >&6
10270 else
10271 ac_wine_try_cflags_saved=$CFLAGS
10272 ac_wine_try_cflags_saved_cc=$CC
10273 ac_wine_try_cflags_saved_exeext=$ac_exeext
10274 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10275 CC="$CROSSCC"
10276 ac_exeext=".exe"
10277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10278 /* end confdefs.h. */
10279 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10280 _ACEOF
10281 if ac_fn_c_try_link "$LINENO"; then :
10282 ac_cv_crosscflags__Wwrite_strings=yes
10283 else
10284 ac_cv_crosscflags__Wwrite_strings=no
10286 rm -f core conftest.err conftest.$ac_objext \
10287 conftest$ac_exeext conftest.$ac_ext
10288 CFLAGS=$ac_wine_try_cflags_saved
10289 CC=$ac_wine_try_cflags_saved_cc
10290 ac_exeext=$ac_wine_try_cflags_saved_exeext
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10293 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10294 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10295 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10298 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10299 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10300 $as_echo_n "(cached) " >&6
10301 else
10302 ac_wine_try_cflags_saved=$CFLAGS
10303 ac_wine_try_cflags_saved_cc=$CC
10304 ac_wine_try_cflags_saved_exeext=$ac_exeext
10305 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10306 CC="$CROSSCC"
10307 ac_exeext=".exe"
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10310 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10311 _ACEOF
10312 if ac_fn_c_try_link "$LINENO"; then :
10313 ac_cv_crosscflags__Wpointer_arith=yes
10314 else
10315 ac_cv_crosscflags__Wpointer_arith=no
10317 rm -f core conftest.err conftest.$ac_objext \
10318 conftest$ac_exeext conftest.$ac_ext
10319 CFLAGS=$ac_wine_try_cflags_saved
10320 CC=$ac_wine_try_cflags_saved_cc
10321 ac_exeext=$ac_wine_try_cflags_saved_exeext
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10324 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10325 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10326 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10329 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10330 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10331 $as_echo_n "(cached) " >&6
10332 else
10333 ac_wine_try_cflags_saved=$CFLAGS
10334 ac_wine_try_cflags_saved_cc=$CC
10335 ac_wine_try_cflags_saved_exeext=$ac_exeext
10336 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10337 CC="$CROSSCC"
10338 ac_exeext=".exe"
10339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10340 /* end confdefs.h. */
10341 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10342 _ACEOF
10343 if ac_fn_c_try_link "$LINENO"; then :
10344 ac_cv_crosscflags__Wlogical_op=yes
10345 else
10346 ac_cv_crosscflags__Wlogical_op=no
10348 rm -f core conftest.err conftest.$ac_objext \
10349 conftest$ac_exeext conftest.$ac_ext
10350 CFLAGS=$ac_wine_try_cflags_saved
10351 CC=$ac_wine_try_cflags_saved_cc
10352 ac_exeext=$ac_wine_try_cflags_saved_exeext
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10355 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10356 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10357 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10360 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10361 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10362 $as_echo_n "(cached) " >&6
10363 else
10364 ac_wine_try_cflags_saved=$CFLAGS
10365 ac_wine_try_cflags_saved_cc=$CC
10366 ac_wine_try_cflags_saved_exeext=$ac_exeext
10367 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
10368 CC="$CROSSCC"
10369 ac_exeext=".exe"
10370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10371 /* end confdefs.h. */
10372 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10373 _ACEOF
10374 if ac_fn_c_try_link "$LINENO"; then :
10375 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10376 else
10377 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10379 rm -f core conftest.err conftest.$ac_objext \
10380 conftest$ac_exeext conftest.$ac_ext
10381 CFLAGS=$ac_wine_try_cflags_saved
10382 CC=$ac_wine_try_cflags_saved_cc
10383 ac_exeext=$ac_wine_try_cflags_saved_exeext
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10386 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10387 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10388 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10391 case $host_cpu in
10392 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10393 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10394 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10395 $as_echo_n "(cached) " >&6
10396 else
10397 ac_wine_try_cflags_saved=$CFLAGS
10398 ac_wine_try_cflags_saved_cc=$CC
10399 ac_wine_try_cflags_saved_exeext=$ac_exeext
10400 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10401 CC="$CROSSCC"
10402 ac_exeext=".exe"
10403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10404 /* end confdefs.h. */
10405 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10406 _ACEOF
10407 if ac_fn_c_try_link "$LINENO"; then :
10408 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10409 else
10410 ac_cv_crosscflags__fno_omit_frame_pointer=no
10412 rm -f core conftest.err conftest.$ac_objext \
10413 conftest$ac_exeext conftest.$ac_ext
10414 CFLAGS=$ac_wine_try_cflags_saved
10415 CC=$ac_wine_try_cflags_saved_cc
10416 ac_exeext=$ac_wine_try_cflags_saved_exeext
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10419 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10420 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10421 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10422 fi ;;
10423 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10424 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10425 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10426 $as_echo_n "(cached) " >&6
10427 else
10428 ac_wine_try_cflags_saved=$CFLAGS
10429 ac_wine_try_cflags_saved_cc=$CC
10430 ac_wine_try_cflags_saved_exeext=$ac_exeext
10431 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10432 CC="$CROSSCC"
10433 ac_exeext=".exe"
10434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10436 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10437 _ACEOF
10438 if ac_fn_c_try_link "$LINENO"; then :
10439 ac_cv_crosscflags__Wno_format=yes
10440 else
10441 ac_cv_crosscflags__Wno_format=no
10443 rm -f core conftest.err conftest.$ac_objext \
10444 conftest$ac_exeext conftest.$ac_ext
10445 CFLAGS=$ac_wine_try_cflags_saved
10446 CC=$ac_wine_try_cflags_saved_cc
10447 ac_exeext=$ac_wine_try_cflags_saved_exeext
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10450 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10451 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10452 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10455 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10456 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10457 $as_echo_n "(cached) " >&6
10458 else
10459 ac_wine_try_cflags_saved=$CFLAGS
10460 ac_wine_try_cflags_saved_cc=$CC
10461 ac_wine_try_cflags_saved_exeext=$ac_exeext
10462 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10463 CC="$CROSSCC"
10464 ac_exeext=".exe"
10465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10466 /* end confdefs.h. */
10467 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10468 _ACEOF
10469 if ac_fn_c_try_link "$LINENO"; then :
10470 ac_cv_crosscflags__Wformat_overflow=yes
10471 else
10472 ac_cv_crosscflags__Wformat_overflow=no
10474 rm -f core conftest.err conftest.$ac_objext \
10475 conftest$ac_exeext conftest.$ac_ext
10476 CFLAGS=$ac_wine_try_cflags_saved
10477 CC=$ac_wine_try_cflags_saved_cc
10478 ac_exeext=$ac_wine_try_cflags_saved_exeext
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10481 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10482 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10483 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10486 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10487 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10488 $as_echo_n "(cached) " >&6
10489 else
10490 ac_wine_try_cflags_saved=$CFLAGS
10491 ac_wine_try_cflags_saved_cc=$CC
10492 ac_wine_try_cflags_saved_exeext=$ac_exeext
10493 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10494 CC="$CROSSCC"
10495 ac_exeext=".exe"
10496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10497 /* end confdefs.h. */
10498 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10499 _ACEOF
10500 if ac_fn_c_try_link "$LINENO"; then :
10501 ac_cv_crosscflags__Wnonnull=yes
10502 else
10503 ac_cv_crosscflags__Wnonnull=no
10505 rm -f core conftest.err conftest.$ac_objext \
10506 conftest$ac_exeext conftest.$ac_ext
10507 CFLAGS=$ac_wine_try_cflags_saved
10508 CC=$ac_wine_try_cflags_saved_cc
10509 ac_exeext=$ac_wine_try_cflags_saved_exeext
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10512 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10513 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10514 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10515 fi ;;
10516 esac
10518 for ac_flag in $CROSSCFLAGS; do
10519 case $ac_flag in
10520 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10521 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10522 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10523 $as_echo_n "(cached) " >&6
10524 else
10525 ac_wine_try_cflags_saved=$CFLAGS
10526 ac_wine_try_cflags_saved_cc=$CC
10527 ac_wine_try_cflags_saved_exeext=$ac_exeext
10528 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10529 CC="$CROSSCC"
10530 ac_exeext=".exe"
10531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10532 /* end confdefs.h. */
10533 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10534 _ACEOF
10535 if ac_fn_c_try_link "$LINENO"; then :
10536 ac_cv_crosscflags__gdwarf_2=yes
10537 else
10538 ac_cv_crosscflags__gdwarf_2=no
10540 rm -f core conftest.err conftest.$ac_objext \
10541 conftest$ac_exeext conftest.$ac_ext
10542 CFLAGS=$ac_wine_try_cflags_saved
10543 CC=$ac_wine_try_cflags_saved_cc
10544 ac_exeext=$ac_wine_try_cflags_saved_exeext
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10547 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10548 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10549 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10552 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10553 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10554 $as_echo_n "(cached) " >&6
10555 else
10556 ac_wine_try_cflags_saved=$CFLAGS
10557 ac_wine_try_cflags_saved_cc=$CC
10558 ac_wine_try_cflags_saved_exeext=$ac_exeext
10559 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10560 CC="$CROSSCC"
10561 ac_exeext=".exe"
10562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10563 /* end confdefs.h. */
10564 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10565 _ACEOF
10566 if ac_fn_c_try_link "$LINENO"; then :
10567 ac_cv_crosscflags__gstrict_dwarf=yes
10568 else
10569 ac_cv_crosscflags__gstrict_dwarf=no
10571 rm -f core conftest.err conftest.$ac_objext \
10572 conftest$ac_exeext conftest.$ac_ext
10573 CFLAGS=$ac_wine_try_cflags_saved
10574 CC=$ac_wine_try_cflags_saved_cc
10575 ac_exeext=$ac_wine_try_cflags_saved_exeext
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10578 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10579 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10580 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10581 fi ;;
10582 esac
10583 done
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll" >&5
10586 $as_echo_n "checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10587 if ${ac_cv_crosscflags__Wl__delayload_autoconftest_dll+:} false; then :
10588 $as_echo_n "(cached) " >&6
10589 else
10590 ac_wine_try_cflags_saved=$CFLAGS
10591 ac_wine_try_cflags_saved_cc=$CC
10592 ac_wine_try_cflags_saved_exeext=$ac_exeext
10593 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,-delayload,autoconftest.dll"
10594 CC="$CROSSCC"
10595 ac_exeext=".exe"
10596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10597 /* end confdefs.h. */
10598 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10599 _ACEOF
10600 if ac_fn_c_try_link "$LINENO"; then :
10601 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=yes
10602 else
10603 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=no
10605 rm -f core conftest.err conftest.$ac_objext \
10606 conftest$ac_exeext conftest.$ac_ext
10607 CFLAGS=$ac_wine_try_cflags_saved
10608 CC=$ac_wine_try_cflags_saved_cc
10609 ac_exeext=$ac_wine_try_cflags_saved_exeext
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&5
10612 $as_echo "$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&6; }
10613 if test "x$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" = xyes; then :
10614 DELAYLOADFLAG="-Wl,-delayload,"
10618 if test "x$enable_werror" = "xyes"
10619 then
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10621 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10622 if ${ac_cv_crosscflags__Werror+:} false; then :
10623 $as_echo_n "(cached) " >&6
10624 else
10625 ac_wine_try_cflags_saved=$CFLAGS
10626 ac_wine_try_cflags_saved_cc=$CC
10627 ac_wine_try_cflags_saved_exeext=$ac_exeext
10628 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10629 CC="$CROSSCC"
10630 ac_exeext=".exe"
10631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10632 /* end confdefs.h. */
10633 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10634 _ACEOF
10635 if ac_fn_c_try_link "$LINENO"; then :
10636 ac_cv_crosscflags__Werror=yes
10637 else
10638 ac_cv_crosscflags__Werror=no
10640 rm -f core conftest.err conftest.$ac_objext \
10641 conftest$ac_exeext conftest.$ac_ext
10642 CFLAGS=$ac_wine_try_cflags_saved
10643 CC=$ac_wine_try_cflags_saved_cc
10644 ac_exeext=$ac_wine_try_cflags_saved_exeext
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10647 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10648 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10649 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10653 CFLAGS=$saved_CFLAGS
10654 CC="$ac_save_CC"
10657 if test "x$CROSSTARGET" = "x"; then :
10658 case "x$with_mingw" in
10659 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10660 xno) ;;
10661 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10662 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10663 esac
10668 if test "$ac_cv_header_pthread_h" = "yes"
10669 then
10670 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10671 if test "x$ac_cv_func_pthread_create" = xyes; then :
10673 else
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10675 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10676 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10677 $as_echo_n "(cached) " >&6
10678 else
10679 ac_check_lib_save_LIBS=$LIBS
10680 LIBS="-lpthread $LIBS"
10681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10682 /* end confdefs.h. */
10684 /* Override any GCC internal prototype to avoid an error.
10685 Use char because int might match the return type of a GCC
10686 builtin and then its argument prototype would still apply. */
10687 #ifdef __cplusplus
10688 extern "C"
10689 #endif
10690 char pthread_create ();
10692 main ()
10694 return pthread_create ();
10696 return 0;
10698 _ACEOF
10699 if ac_fn_c_try_link "$LINENO"; then :
10700 ac_cv_lib_pthread_pthread_create=yes
10701 else
10702 ac_cv_lib_pthread_pthread_create=no
10704 rm -f core conftest.err conftest.$ac_objext \
10705 conftest$ac_exeext conftest.$ac_ext
10706 LIBS=$ac_check_lib_save_LIBS
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10709 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10710 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10711 PTHREAD_LIBS="-lpthread"
10718 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10719 case "x$with_pthread" in
10720 xno) ;;
10721 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10722 Wine cannot support threads without libpthread.
10723 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10724 esac
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10730 $as_echo_n "checking for X... " >&6; }
10733 # Check whether --with-x was given.
10734 if test "${with_x+set}" = set; then :
10735 withval=$with_x;
10738 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10739 if test "x$with_x" = xno; then
10740 # The user explicitly disabled X.
10741 have_x=disabled
10742 else
10743 case $x_includes,$x_libraries in #(
10744 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10745 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10746 $as_echo_n "(cached) " >&6
10747 else
10748 # One or both of the vars are not set, and there is no cached value.
10749 ac_x_includes=no ac_x_libraries=no
10750 rm -f -r conftest.dir
10751 if mkdir conftest.dir; then
10752 cd conftest.dir
10753 cat >Imakefile <<'_ACEOF'
10754 incroot:
10755 @echo incroot='${INCROOT}'
10756 usrlibdir:
10757 @echo usrlibdir='${USRLIBDIR}'
10758 libdir:
10759 @echo libdir='${LIBDIR}'
10760 _ACEOF
10761 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10762 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10763 for ac_var in incroot usrlibdir libdir; do
10764 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10765 done
10766 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10767 for ac_extension in a so sl dylib la dll; do
10768 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10769 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10770 ac_im_usrlibdir=$ac_im_libdir; break
10772 done
10773 # Screen out bogus values from the imake configuration. They are
10774 # bogus both because they are the default anyway, and because
10775 # using them would break gcc on systems where it needs fixed includes.
10776 case $ac_im_incroot in
10777 /usr/include) ac_x_includes= ;;
10778 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10779 esac
10780 case $ac_im_usrlibdir in
10781 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10782 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10783 esac
10785 cd ..
10786 rm -f -r conftest.dir
10789 # Standard set of common directories for X headers.
10790 # Check X11 before X11Rn because it is often a symlink to the current release.
10791 ac_x_header_dirs='
10792 /usr/X11/include
10793 /usr/X11R7/include
10794 /usr/X11R6/include
10795 /usr/X11R5/include
10796 /usr/X11R4/include
10798 /usr/include/X11
10799 /usr/include/X11R7
10800 /usr/include/X11R6
10801 /usr/include/X11R5
10802 /usr/include/X11R4
10804 /usr/local/X11/include
10805 /usr/local/X11R7/include
10806 /usr/local/X11R6/include
10807 /usr/local/X11R5/include
10808 /usr/local/X11R4/include
10810 /usr/local/include/X11
10811 /usr/local/include/X11R7
10812 /usr/local/include/X11R6
10813 /usr/local/include/X11R5
10814 /usr/local/include/X11R4
10816 /usr/X386/include
10817 /usr/x386/include
10818 /usr/XFree86/include/X11
10820 /usr/include
10821 /usr/local/include
10822 /usr/unsupported/include
10823 /usr/athena/include
10824 /usr/local/x11r5/include
10825 /usr/lpp/Xamples/include
10827 /usr/openwin/include
10828 /usr/openwin/share/include'
10830 if test "$ac_x_includes" = no; then
10831 # Guess where to find include files, by looking for Xlib.h.
10832 # First, try using that file with no special directory specified.
10833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10835 #include <X11/Xlib.h>
10836 _ACEOF
10837 if ac_fn_c_try_cpp "$LINENO"; then :
10838 # We can compile using X headers with no special include directory.
10839 ac_x_includes=
10840 else
10841 for ac_dir in $ac_x_header_dirs; do
10842 if test -r "$ac_dir/X11/Xlib.h"; then
10843 ac_x_includes=$ac_dir
10844 break
10846 done
10848 rm -f conftest.err conftest.i conftest.$ac_ext
10849 fi # $ac_x_includes = no
10851 if test "$ac_x_libraries" = no; then
10852 # Check for the libraries.
10853 # See if we find them without any special options.
10854 # Don't add to $LIBS permanently.
10855 ac_save_LIBS=$LIBS
10856 LIBS="-lX11 $LIBS"
10857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10858 /* end confdefs.h. */
10859 #include <X11/Xlib.h>
10861 main ()
10863 XrmInitialize ()
10865 return 0;
10867 _ACEOF
10868 if ac_fn_c_try_link "$LINENO"; then :
10869 LIBS=$ac_save_LIBS
10870 # We can link X programs with no special library path.
10871 ac_x_libraries=
10872 else
10873 LIBS=$ac_save_LIBS
10874 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10876 # Don't even attempt the hair of trying to link an X program!
10877 for ac_extension in a so sl dylib la dll; do
10878 if test -r "$ac_dir/libX11.$ac_extension"; then
10879 ac_x_libraries=$ac_dir
10880 break 2
10882 done
10883 done
10885 rm -f core conftest.err conftest.$ac_objext \
10886 conftest$ac_exeext conftest.$ac_ext
10887 fi # $ac_x_libraries = no
10889 case $ac_x_includes,$ac_x_libraries in #(
10890 no,* | *,no | *\'*)
10891 # Didn't find X, or a directory has "'" in its name.
10892 ac_cv_have_x="have_x=no";; #(
10894 # Record where we found X for the cache.
10895 ac_cv_have_x="have_x=yes\
10896 ac_x_includes='$ac_x_includes'\
10897 ac_x_libraries='$ac_x_libraries'"
10898 esac
10900 ;; #(
10901 *) have_x=yes;;
10902 esac
10903 eval "$ac_cv_have_x"
10904 fi # $with_x != no
10906 if test "$have_x" != yes; then
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10908 $as_echo "$have_x" >&6; }
10909 no_x=yes
10910 else
10911 # If each of the values was on the command line, it overrides each guess.
10912 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10913 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10914 # Update the cache value to reflect the command line values.
10915 ac_cv_have_x="have_x=yes\
10916 ac_x_includes='$x_includes'\
10917 ac_x_libraries='$x_libraries'"
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10919 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10922 if test "$no_x" = yes; then
10923 # Not all programs may use this symbol, but it does not hurt to define it.
10925 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10927 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10928 else
10929 if test -n "$x_includes"; then
10930 X_CFLAGS="$X_CFLAGS -I$x_includes"
10933 # It would also be nice to do this for all -L options, not just this one.
10934 if test -n "$x_libraries"; then
10935 X_LIBS="$X_LIBS -L$x_libraries"
10936 # For Solaris; some versions of Sun CC require a space after -R and
10937 # others require no space. Words are not sufficient . . . .
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10939 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10940 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10941 ac_xsave_c_werror_flag=$ac_c_werror_flag
10942 ac_c_werror_flag=yes
10943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10944 /* end confdefs.h. */
10947 main ()
10951 return 0;
10953 _ACEOF
10954 if ac_fn_c_try_link "$LINENO"; then :
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10956 $as_echo "no" >&6; }
10957 X_LIBS="$X_LIBS -R$x_libraries"
10958 else
10959 LIBS="$ac_xsave_LIBS -R $x_libraries"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10964 main ()
10968 return 0;
10970 _ACEOF
10971 if ac_fn_c_try_link "$LINENO"; then :
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10973 $as_echo "yes" >&6; }
10974 X_LIBS="$X_LIBS -R $x_libraries"
10975 else
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10977 $as_echo "neither works" >&6; }
10979 rm -f core conftest.err conftest.$ac_objext \
10980 conftest$ac_exeext conftest.$ac_ext
10982 rm -f core conftest.err conftest.$ac_objext \
10983 conftest$ac_exeext conftest.$ac_ext
10984 ac_c_werror_flag=$ac_xsave_c_werror_flag
10985 LIBS=$ac_xsave_LIBS
10988 # Check for system-dependent libraries X programs must link with.
10989 # Do this before checking for the system-independent R6 libraries
10990 # (-lICE), since we may need -lsocket or whatever for X linking.
10992 if test "$ISC" = yes; then
10993 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10994 else
10995 # Martyn Johnson says this is needed for Ultrix, if the X
10996 # libraries were built with DECnet support. And Karl Berry says
10997 # the Alpha needs dnet_stub (dnet does not exist).
10998 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11000 /* end confdefs.h. */
11002 /* Override any GCC internal prototype to avoid an error.
11003 Use char because int might match the return type of a GCC
11004 builtin and then its argument prototype would still apply. */
11005 #ifdef __cplusplus
11006 extern "C"
11007 #endif
11008 char XOpenDisplay ();
11010 main ()
11012 return XOpenDisplay ();
11014 return 0;
11016 _ACEOF
11017 if ac_fn_c_try_link "$LINENO"; then :
11019 else
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11021 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11022 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11023 $as_echo_n "(cached) " >&6
11024 else
11025 ac_check_lib_save_LIBS=$LIBS
11026 LIBS="-ldnet $LIBS"
11027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11028 /* end confdefs.h. */
11030 /* Override any GCC internal prototype to avoid an error.
11031 Use char because int might match the return type of a GCC
11032 builtin and then its argument prototype would still apply. */
11033 #ifdef __cplusplus
11034 extern "C"
11035 #endif
11036 char dnet_ntoa ();
11038 main ()
11040 return dnet_ntoa ();
11042 return 0;
11044 _ACEOF
11045 if ac_fn_c_try_link "$LINENO"; then :
11046 ac_cv_lib_dnet_dnet_ntoa=yes
11047 else
11048 ac_cv_lib_dnet_dnet_ntoa=no
11050 rm -f core conftest.err conftest.$ac_objext \
11051 conftest$ac_exeext conftest.$ac_ext
11052 LIBS=$ac_check_lib_save_LIBS
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11055 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11056 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11057 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11060 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11062 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11063 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11064 $as_echo_n "(cached) " >&6
11065 else
11066 ac_check_lib_save_LIBS=$LIBS
11067 LIBS="-ldnet_stub $LIBS"
11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11071 /* Override any GCC internal prototype to avoid an error.
11072 Use char because int might match the return type of a GCC
11073 builtin and then its argument prototype would still apply. */
11074 #ifdef __cplusplus
11075 extern "C"
11076 #endif
11077 char dnet_ntoa ();
11079 main ()
11081 return dnet_ntoa ();
11083 return 0;
11085 _ACEOF
11086 if ac_fn_c_try_link "$LINENO"; then :
11087 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11088 else
11089 ac_cv_lib_dnet_stub_dnet_ntoa=no
11091 rm -f core conftest.err conftest.$ac_objext \
11092 conftest$ac_exeext conftest.$ac_ext
11093 LIBS=$ac_check_lib_save_LIBS
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11096 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11097 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11098 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11103 rm -f core conftest.err conftest.$ac_objext \
11104 conftest$ac_exeext conftest.$ac_ext
11105 LIBS="$ac_xsave_LIBS"
11107 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11108 # to get the SysV transport functions.
11109 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11110 # needs -lnsl.
11111 # The nsl library prevents programs from opening the X display
11112 # on Irix 5.2, according to T.E. Dickey.
11113 # The functions gethostbyname, getservbyname, and inet_addr are
11114 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11115 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11116 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11120 if test $ac_cv_func_gethostbyname = no; then
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11122 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11123 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11124 $as_echo_n "(cached) " >&6
11125 else
11126 ac_check_lib_save_LIBS=$LIBS
11127 LIBS="-lnsl $LIBS"
11128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11129 /* end confdefs.h. */
11131 /* Override any GCC internal prototype to avoid an error.
11132 Use char because int might match the return type of a GCC
11133 builtin and then its argument prototype would still apply. */
11134 #ifdef __cplusplus
11135 extern "C"
11136 #endif
11137 char gethostbyname ();
11139 main ()
11141 return gethostbyname ();
11143 return 0;
11145 _ACEOF
11146 if ac_fn_c_try_link "$LINENO"; then :
11147 ac_cv_lib_nsl_gethostbyname=yes
11148 else
11149 ac_cv_lib_nsl_gethostbyname=no
11151 rm -f core conftest.err conftest.$ac_objext \
11152 conftest$ac_exeext conftest.$ac_ext
11153 LIBS=$ac_check_lib_save_LIBS
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11156 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11157 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11158 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11161 if test $ac_cv_lib_nsl_gethostbyname = no; then
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11163 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11164 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11165 $as_echo_n "(cached) " >&6
11166 else
11167 ac_check_lib_save_LIBS=$LIBS
11168 LIBS="-lbsd $LIBS"
11169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11172 /* Override any GCC internal prototype to avoid an error.
11173 Use char because int might match the return type of a GCC
11174 builtin and then its argument prototype would still apply. */
11175 #ifdef __cplusplus
11176 extern "C"
11177 #endif
11178 char gethostbyname ();
11180 main ()
11182 return gethostbyname ();
11184 return 0;
11186 _ACEOF
11187 if ac_fn_c_try_link "$LINENO"; then :
11188 ac_cv_lib_bsd_gethostbyname=yes
11189 else
11190 ac_cv_lib_bsd_gethostbyname=no
11192 rm -f core conftest.err conftest.$ac_objext \
11193 conftest$ac_exeext conftest.$ac_ext
11194 LIBS=$ac_check_lib_save_LIBS
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11197 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11198 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11199 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11205 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11206 # socket/setsockopt and other routines are undefined under SCO ODT
11207 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11208 # on later versions), says Simon Leinen: it contains gethostby*
11209 # variants that don't use the name server (or something). -lsocket
11210 # must be given before -lnsl if both are needed. We assume that
11211 # if connect needs -lnsl, so does gethostbyname.
11212 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11213 if test "x$ac_cv_func_connect" = xyes; then :
11217 if test $ac_cv_func_connect = no; then
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11219 $as_echo_n "checking for connect in -lsocket... " >&6; }
11220 if ${ac_cv_lib_socket_connect+:} false; then :
11221 $as_echo_n "(cached) " >&6
11222 else
11223 ac_check_lib_save_LIBS=$LIBS
11224 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11228 /* Override any GCC internal prototype to avoid an error.
11229 Use char because int might match the return type of a GCC
11230 builtin and then its argument prototype would still apply. */
11231 #ifdef __cplusplus
11232 extern "C"
11233 #endif
11234 char connect ();
11236 main ()
11238 return connect ();
11240 return 0;
11242 _ACEOF
11243 if ac_fn_c_try_link "$LINENO"; then :
11244 ac_cv_lib_socket_connect=yes
11245 else
11246 ac_cv_lib_socket_connect=no
11248 rm -f core conftest.err conftest.$ac_objext \
11249 conftest$ac_exeext conftest.$ac_ext
11250 LIBS=$ac_check_lib_save_LIBS
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11253 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11254 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11255 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11260 # Guillermo Gomez says -lposix is necessary on A/UX.
11261 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11262 if test "x$ac_cv_func_remove" = xyes; then :
11266 if test $ac_cv_func_remove = no; then
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11268 $as_echo_n "checking for remove in -lposix... " >&6; }
11269 if ${ac_cv_lib_posix_remove+:} false; then :
11270 $as_echo_n "(cached) " >&6
11271 else
11272 ac_check_lib_save_LIBS=$LIBS
11273 LIBS="-lposix $LIBS"
11274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11275 /* end confdefs.h. */
11277 /* Override any GCC internal prototype to avoid an error.
11278 Use char because int might match the return type of a GCC
11279 builtin and then its argument prototype would still apply. */
11280 #ifdef __cplusplus
11281 extern "C"
11282 #endif
11283 char remove ();
11285 main ()
11287 return remove ();
11289 return 0;
11291 _ACEOF
11292 if ac_fn_c_try_link "$LINENO"; then :
11293 ac_cv_lib_posix_remove=yes
11294 else
11295 ac_cv_lib_posix_remove=no
11297 rm -f core conftest.err conftest.$ac_objext \
11298 conftest$ac_exeext conftest.$ac_ext
11299 LIBS=$ac_check_lib_save_LIBS
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11302 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11303 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11304 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11309 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11310 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11311 if test "x$ac_cv_func_shmat" = xyes; then :
11315 if test $ac_cv_func_shmat = no; then
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11317 $as_echo_n "checking for shmat in -lipc... " >&6; }
11318 if ${ac_cv_lib_ipc_shmat+:} false; then :
11319 $as_echo_n "(cached) " >&6
11320 else
11321 ac_check_lib_save_LIBS=$LIBS
11322 LIBS="-lipc $LIBS"
11323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11324 /* end confdefs.h. */
11326 /* Override any GCC internal prototype to avoid an error.
11327 Use char because int might match the return type of a GCC
11328 builtin and then its argument prototype would still apply. */
11329 #ifdef __cplusplus
11330 extern "C"
11331 #endif
11332 char shmat ();
11334 main ()
11336 return shmat ();
11338 return 0;
11340 _ACEOF
11341 if ac_fn_c_try_link "$LINENO"; then :
11342 ac_cv_lib_ipc_shmat=yes
11343 else
11344 ac_cv_lib_ipc_shmat=no
11346 rm -f core conftest.err conftest.$ac_objext \
11347 conftest$ac_exeext conftest.$ac_ext
11348 LIBS=$ac_check_lib_save_LIBS
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11351 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11352 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11353 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11359 # Check for libraries that X11R6 Xt/Xaw programs need.
11360 ac_save_LDFLAGS=$LDFLAGS
11361 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11362 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11363 # check for ICE first), but we must link in the order -lSM -lICE or
11364 # we get undefined symbols. So assume we have SM if we have ICE.
11365 # These have to be linked with before -lX11, unlike the other
11366 # libraries we check for below, so use a different variable.
11367 # John Interrante, Karl Berry
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11369 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11370 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11371 $as_echo_n "(cached) " >&6
11372 else
11373 ac_check_lib_save_LIBS=$LIBS
11374 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11376 /* end confdefs.h. */
11378 /* Override any GCC internal prototype to avoid an error.
11379 Use char because int might match the return type of a GCC
11380 builtin and then its argument prototype would still apply. */
11381 #ifdef __cplusplus
11382 extern "C"
11383 #endif
11384 char IceConnectionNumber ();
11386 main ()
11388 return IceConnectionNumber ();
11390 return 0;
11392 _ACEOF
11393 if ac_fn_c_try_link "$LINENO"; then :
11394 ac_cv_lib_ICE_IceConnectionNumber=yes
11395 else
11396 ac_cv_lib_ICE_IceConnectionNumber=no
11398 rm -f core conftest.err conftest.$ac_objext \
11399 conftest$ac_exeext conftest.$ac_ext
11400 LIBS=$ac_check_lib_save_LIBS
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11403 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11404 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11405 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11408 LDFLAGS=$ac_save_LDFLAGS
11413 if test "$have_x" = "yes"
11414 then
11415 ac_save_CPPFLAGS="$CPPFLAGS"
11416 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11419 $as_echo_n "checking for -lX11... " >&6; }
11420 if ${ac_cv_lib_soname_X11+:} false; then :
11421 $as_echo_n "(cached) " >&6
11422 else
11423 ac_check_soname_save_LIBS=$LIBS
11424 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h. */
11428 /* Override any GCC internal prototype to avoid an error.
11429 Use char because int might match the return type of a GCC
11430 builtin and then its argument prototype would still apply. */
11431 #ifdef __cplusplus
11432 extern "C"
11433 #endif
11434 char XCreateWindow ();
11436 main ()
11438 return XCreateWindow ();
11440 return 0;
11442 _ACEOF
11443 if ac_fn_c_try_link "$LINENO"; then :
11444 case "$LIBEXT" in
11445 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11446 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'` ;;
11447 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11448 if ${ac_cv_lib_soname_X11:+false} :; then :
11449 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11450 fi ;;
11451 esac
11452 else
11453 ac_cv_lib_soname_X11=
11455 rm -f core conftest.err conftest.$ac_objext \
11456 conftest$ac_exeext conftest.$ac_ext
11457 LIBS=$ac_check_soname_save_LIBS
11459 if ${ac_cv_lib_soname_X11:+false} :; then :
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11461 $as_echo "not found" >&6; }
11463 else
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11465 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11467 cat >>confdefs.h <<_ACEOF
11468 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11469 _ACEOF
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11474 $as_echo_n "checking for -lXext... " >&6; }
11475 if ${ac_cv_lib_soname_Xext+:} false; then :
11476 $as_echo_n "(cached) " >&6
11477 else
11478 ac_check_soname_save_LIBS=$LIBS
11479 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11481 /* end confdefs.h. */
11483 /* Override any GCC internal prototype to avoid an error.
11484 Use char because int might match the return type of a GCC
11485 builtin and then its argument prototype would still apply. */
11486 #ifdef __cplusplus
11487 extern "C"
11488 #endif
11489 char XextCreateExtension ();
11491 main ()
11493 return XextCreateExtension ();
11495 return 0;
11497 _ACEOF
11498 if ac_fn_c_try_link "$LINENO"; then :
11499 case "$LIBEXT" in
11500 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11501 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'` ;;
11502 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11503 if ${ac_cv_lib_soname_Xext:+false} :; then :
11504 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11505 fi ;;
11506 esac
11507 else
11508 ac_cv_lib_soname_Xext=
11510 rm -f core conftest.err conftest.$ac_objext \
11511 conftest$ac_exeext conftest.$ac_ext
11512 LIBS=$ac_check_soname_save_LIBS
11514 if ${ac_cv_lib_soname_Xext:+false} :; then :
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11516 $as_echo "not found" >&6; }
11518 else
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11520 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11522 cat >>confdefs.h <<_ACEOF
11523 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11524 _ACEOF
11526 X_LIBS="$X_LIBS -lXext"
11528 X_LIBS="$X_LIBS -lX11"
11530 for ac_header in X11/Xlib.h \
11531 X11/XKBlib.h \
11532 X11/Xutil.h \
11533 X11/Xcursor/Xcursor.h \
11534 X11/extensions/shape.h \
11535 X11/extensions/XInput.h \
11536 X11/extensions/XInput2.h \
11537 X11/extensions/XShm.h \
11538 X11/extensions/Xcomposite.h \
11539 X11/extensions/Xfixes.h \
11540 X11/extensions/Xinerama.h \
11541 X11/extensions/Xrandr.h \
11542 X11/extensions/Xrender.h \
11543 X11/extensions/xf86vmode.h \
11544 X11/extensions/xf86vmproto.h
11545 do :
11546 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11547 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11548 # include <X11/Xlib.h>
11549 #endif
11550 #ifdef HAVE_X11_XUTIL_H
11551 # include <X11/Xutil.h>
11552 #endif
11554 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11555 cat >>confdefs.h <<_ACEOF
11556 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11557 _ACEOF
11561 done
11564 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11565 then
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11567 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11568 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11569 $as_echo_n "(cached) " >&6
11570 else
11571 ac_check_lib_save_LIBS=$LIBS
11572 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h. */
11576 /* Override any GCC internal prototype to avoid an error.
11577 Use char because int might match the return type of a GCC
11578 builtin and then its argument prototype would still apply. */
11579 #ifdef __cplusplus
11580 extern "C"
11581 #endif
11582 char XkbQueryExtension ();
11584 main ()
11586 return XkbQueryExtension ();
11588 return 0;
11590 _ACEOF
11591 if ac_fn_c_try_link "$LINENO"; then :
11592 ac_cv_lib_X11_XkbQueryExtension=yes
11593 else
11594 ac_cv_lib_X11_XkbQueryExtension=no
11596 rm -f core conftest.err conftest.$ac_objext \
11597 conftest$ac_exeext conftest.$ac_ext
11598 LIBS=$ac_check_lib_save_LIBS
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11601 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11602 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11604 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11610 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11611 then
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11613 $as_echo_n "checking for -lXcursor... " >&6; }
11614 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11615 $as_echo_n "(cached) " >&6
11616 else
11617 ac_check_soname_save_LIBS=$LIBS
11618 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11625 #ifdef __cplusplus
11626 extern "C"
11627 #endif
11628 char XcursorImageLoadCursor ();
11630 main ()
11632 return XcursorImageLoadCursor ();
11634 return 0;
11636 _ACEOF
11637 if ac_fn_c_try_link "$LINENO"; then :
11638 case "$LIBEXT" in
11639 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11640 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'` ;;
11641 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11642 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11643 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11644 fi ;;
11645 esac
11646 else
11647 ac_cv_lib_soname_Xcursor=
11649 rm -f core conftest.err conftest.$ac_objext \
11650 conftest$ac_exeext conftest.$ac_ext
11651 LIBS=$ac_check_soname_save_LIBS
11653 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11655 $as_echo "not found" >&6; }
11657 else
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11659 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11661 cat >>confdefs.h <<_ACEOF
11662 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11663 _ACEOF
11668 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11669 case "x$with_xcursor" in
11670 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11671 xno) ;;
11672 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11673 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11674 esac
11678 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11679 then
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11681 $as_echo_n "checking for -lXi... " >&6; }
11682 if ${ac_cv_lib_soname_Xi+:} false; then :
11683 $as_echo_n "(cached) " >&6
11684 else
11685 ac_check_soname_save_LIBS=$LIBS
11686 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h. */
11690 /* Override any GCC internal prototype to avoid an error.
11691 Use char because int might match the return type of a GCC
11692 builtin and then its argument prototype would still apply. */
11693 #ifdef __cplusplus
11694 extern "C"
11695 #endif
11696 char XOpenDevice ();
11698 main ()
11700 return XOpenDevice ();
11702 return 0;
11704 _ACEOF
11705 if ac_fn_c_try_link "$LINENO"; then :
11706 case "$LIBEXT" in
11707 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11708 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'` ;;
11709 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11710 if ${ac_cv_lib_soname_Xi:+false} :; then :
11711 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11712 fi ;;
11713 esac
11714 else
11715 ac_cv_lib_soname_Xi=
11717 rm -f core conftest.err conftest.$ac_objext \
11718 conftest$ac_exeext conftest.$ac_ext
11719 LIBS=$ac_check_soname_save_LIBS
11721 if ${ac_cv_lib_soname_Xi:+false} :; then :
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11723 $as_echo "not found" >&6; }
11725 else
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11727 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11729 cat >>confdefs.h <<_ACEOF
11730 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11731 _ACEOF
11736 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11737 case "x$with_xinput" in
11738 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11739 xno) ;;
11740 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11741 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11742 esac
11746 if test "x$ac_cv_lib_soname_Xi" != x
11747 then
11748 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11749 case "x$with_xinput2" in
11750 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11751 xno) ;;
11752 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11753 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11754 esac
11759 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11760 then
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11762 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11763 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11764 $as_echo_n "(cached) " >&6
11765 else
11766 ac_check_lib_save_LIBS=$LIBS
11767 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11769 /* end confdefs.h. */
11771 /* Override any GCC internal prototype to avoid an error.
11772 Use char because int might match the return type of a GCC
11773 builtin and then its argument prototype would still apply. */
11774 #ifdef __cplusplus
11775 extern "C"
11776 #endif
11777 char XShmQueryExtension ();
11779 main ()
11781 return XShmQueryExtension ();
11783 return 0;
11785 _ACEOF
11786 if ac_fn_c_try_link "$LINENO"; then :
11787 ac_cv_lib_Xext_XShmQueryExtension=yes
11788 else
11789 ac_cv_lib_Xext_XShmQueryExtension=no
11791 rm -f core conftest.err conftest.$ac_objext \
11792 conftest$ac_exeext conftest.$ac_ext
11793 LIBS=$ac_check_lib_save_LIBS
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11796 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11797 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11799 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11804 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11805 case "x$with_xshm" in
11806 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11807 xno) ;;
11808 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11809 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11810 esac
11814 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11815 then
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11817 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11818 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11819 $as_echo_n "(cached) " >&6
11820 else
11821 ac_check_lib_save_LIBS=$LIBS
11822 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11824 /* end confdefs.h. */
11826 /* Override any GCC internal prototype to avoid an error.
11827 Use char because int might match the return type of a GCC
11828 builtin and then its argument prototype would still apply. */
11829 #ifdef __cplusplus
11830 extern "C"
11831 #endif
11832 char XShapeQueryExtension ();
11834 main ()
11836 return XShapeQueryExtension ();
11838 return 0;
11840 _ACEOF
11841 if ac_fn_c_try_link "$LINENO"; then :
11842 ac_cv_lib_Xext_XShapeQueryExtension=yes
11843 else
11844 ac_cv_lib_Xext_XShapeQueryExtension=no
11846 rm -f core conftest.err conftest.$ac_objext \
11847 conftest$ac_exeext conftest.$ac_ext
11848 LIBS=$ac_check_lib_save_LIBS
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11851 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11852 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11854 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11859 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11860 case "x$with_xshape" in
11861 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11862 xno) ;;
11863 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11864 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11865 esac
11869 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11870 then
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11872 $as_echo_n "checking for -lXxf86vm... " >&6; }
11873 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11874 $as_echo_n "(cached) " >&6
11875 else
11876 ac_check_soname_save_LIBS=$LIBS
11877 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11881 /* Override any GCC internal prototype to avoid an error.
11882 Use char because int might match the return type of a GCC
11883 builtin and then its argument prototype would still apply. */
11884 #ifdef __cplusplus
11885 extern "C"
11886 #endif
11887 char XF86VidModeQueryExtension ();
11889 main ()
11891 return XF86VidModeQueryExtension ();
11893 return 0;
11895 _ACEOF
11896 if ac_fn_c_try_link "$LINENO"; then :
11897 case "$LIBEXT" in
11898 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11899 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'` ;;
11900 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11901 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11902 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11903 fi ;;
11904 esac
11905 else
11906 ac_cv_lib_soname_Xxf86vm=
11908 rm -f core conftest.err conftest.$ac_objext \
11909 conftest$ac_exeext conftest.$ac_ext
11910 LIBS=$ac_check_soname_save_LIBS
11912 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11914 $as_echo "not found" >&6; }
11916 else
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11918 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11920 cat >>confdefs.h <<_ACEOF
11921 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11922 _ACEOF
11927 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11928 case "x$with_xxf86vm" in
11929 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11930 xno) ;;
11931 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11932 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11933 esac
11937 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11938 then
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11940 $as_echo_n "checking for -lXrender... " >&6; }
11941 if ${ac_cv_lib_soname_Xrender+:} false; then :
11942 $as_echo_n "(cached) " >&6
11943 else
11944 ac_check_soname_save_LIBS=$LIBS
11945 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11949 /* Override any GCC internal prototype to avoid an error.
11950 Use char because int might match the return type of a GCC
11951 builtin and then its argument prototype would still apply. */
11952 #ifdef __cplusplus
11953 extern "C"
11954 #endif
11955 char XRenderQueryExtension ();
11957 main ()
11959 return XRenderQueryExtension ();
11961 return 0;
11963 _ACEOF
11964 if ac_fn_c_try_link "$LINENO"; then :
11965 case "$LIBEXT" in
11966 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11967 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'` ;;
11968 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11969 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11970 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11971 fi ;;
11972 esac
11973 else
11974 ac_cv_lib_soname_Xrender=
11976 rm -f core conftest.err conftest.$ac_objext \
11977 conftest$ac_exeext conftest.$ac_ext
11978 LIBS=$ac_check_soname_save_LIBS
11980 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11982 $as_echo "not found" >&6; }
11984 else
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11986 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11988 cat >>confdefs.h <<_ACEOF
11989 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11990 _ACEOF
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11993 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11994 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11995 $as_echo_n "(cached) " >&6
11996 else
11997 ac_check_lib_save_LIBS=$LIBS
11998 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12002 /* Override any GCC internal prototype to avoid an error.
12003 Use char because int might match the return type of a GCC
12004 builtin and then its argument prototype would still apply. */
12005 #ifdef __cplusplus
12006 extern "C"
12007 #endif
12008 char XRenderSetPictureTransform ();
12010 main ()
12012 return XRenderSetPictureTransform ();
12014 return 0;
12016 _ACEOF
12017 if ac_fn_c_try_link "$LINENO"; then :
12018 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12019 else
12020 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12022 rm -f core conftest.err conftest.$ac_objext \
12023 conftest$ac_exeext conftest.$ac_ext
12024 LIBS=$ac_check_lib_save_LIBS
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12027 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12028 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12030 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12035 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12036 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12037 $as_echo_n "(cached) " >&6
12038 else
12039 ac_check_lib_save_LIBS=$LIBS
12040 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12042 /* end confdefs.h. */
12044 /* Override any GCC internal prototype to avoid an error.
12045 Use char because int might match the return type of a GCC
12046 builtin and then its argument prototype would still apply. */
12047 #ifdef __cplusplus
12048 extern "C"
12049 #endif
12050 char XRenderCreateLinearGradient ();
12052 main ()
12054 return XRenderCreateLinearGradient ();
12056 return 0;
12058 _ACEOF
12059 if ac_fn_c_try_link "$LINENO"; then :
12060 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12061 else
12062 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12064 rm -f core conftest.err conftest.$ac_objext \
12065 conftest$ac_exeext conftest.$ac_ext
12066 LIBS=$ac_check_lib_save_LIBS
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12069 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12070 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12072 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12079 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12080 case "x$with_xrender" in
12081 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12082 xno) ;;
12083 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12084 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12085 esac
12089 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12090 then
12091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12092 /* end confdefs.h. */
12093 #include <X11/Xlib.h>
12094 #include <X11/extensions/Xrandr.h>
12096 main ()
12098 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12100 return 0;
12102 _ACEOF
12103 if ac_fn_c_try_compile "$LINENO"; then :
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12105 $as_echo_n "checking for -lXrandr... " >&6; }
12106 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12107 $as_echo_n "(cached) " >&6
12108 else
12109 ac_check_soname_save_LIBS=$LIBS
12110 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12117 #ifdef __cplusplus
12118 extern "C"
12119 #endif
12120 char XRRQueryExtension ();
12122 main ()
12124 return XRRQueryExtension ();
12126 return 0;
12128 _ACEOF
12129 if ac_fn_c_try_link "$LINENO"; then :
12130 case "$LIBEXT" in
12131 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12132 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'` ;;
12133 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12134 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12135 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12136 fi ;;
12137 esac
12138 else
12139 ac_cv_lib_soname_Xrandr=
12141 rm -f core conftest.err conftest.$ac_objext \
12142 conftest$ac_exeext conftest.$ac_ext
12143 LIBS=$ac_check_soname_save_LIBS
12145 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12147 $as_echo "not found" >&6; }
12149 else
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12151 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12153 cat >>confdefs.h <<_ACEOF
12154 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12155 _ACEOF
12157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12159 #include <X11/Xlib.h>
12160 #include <X11/extensions/Xrandr.h>
12162 main ()
12164 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12166 return 0;
12168 _ACEOF
12169 if ac_fn_c_try_compile "$LINENO"; then :
12171 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h. */
12177 #include <X11/Xlib.h>
12178 #include <X11/extensions/Xrandr.h>
12180 main ()
12182 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12184 return 0;
12186 _ACEOF
12187 if ac_fn_c_try_compile "$LINENO"; then :
12189 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12191 else
12192 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12199 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12200 case "x$with_xrandr" in
12201 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12202 xno) ;;
12203 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12204 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12205 esac
12209 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12210 then
12211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12213 #include <X11/Xlib.h>
12214 #include <X11/extensions/Xfixes.h>
12216 main ()
12218 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12220 return 0;
12222 _ACEOF
12223 if ac_fn_c_try_compile "$LINENO"; then :
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12225 $as_echo_n "checking for -lXfixes... " >&6; }
12226 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12227 $as_echo_n "(cached) " >&6
12228 else
12229 ac_check_soname_save_LIBS=$LIBS
12230 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12232 /* end confdefs.h. */
12234 /* Override any GCC internal prototype to avoid an error.
12235 Use char because int might match the return type of a GCC
12236 builtin and then its argument prototype would still apply. */
12237 #ifdef __cplusplus
12238 extern "C"
12239 #endif
12240 char XFixesQueryVersion ();
12242 main ()
12244 return XFixesQueryVersion ();
12246 return 0;
12248 _ACEOF
12249 if ac_fn_c_try_link "$LINENO"; then :
12250 case "$LIBEXT" in
12251 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12252 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'` ;;
12253 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12254 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12255 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12256 fi ;;
12257 esac
12258 else
12259 ac_cv_lib_soname_Xfixes=
12261 rm -f core conftest.err conftest.$ac_objext \
12262 conftest$ac_exeext conftest.$ac_ext
12263 LIBS=$ac_check_soname_save_LIBS
12265 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12267 $as_echo "not found" >&6; }
12269 else
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12271 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12273 cat >>confdefs.h <<_ACEOF
12274 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12275 _ACEOF
12280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12282 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12283 case "x$with_xfixes" in
12284 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12285 xno) ;;
12286 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12287 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12288 esac
12292 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12293 then
12294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12295 /* end confdefs.h. */
12296 #include <X11/Xlib.h>
12297 #include <X11/extensions/Xinerama.h>
12299 main ()
12301 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12303 return 0;
12305 _ACEOF
12306 if ac_fn_c_try_compile "$LINENO"; then :
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12308 $as_echo_n "checking for -lXinerama... " >&6; }
12309 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12310 $as_echo_n "(cached) " >&6
12311 else
12312 ac_check_soname_save_LIBS=$LIBS
12313 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12315 /* end confdefs.h. */
12317 /* Override any GCC internal prototype to avoid an error.
12318 Use char because int might match the return type of a GCC
12319 builtin and then its argument prototype would still apply. */
12320 #ifdef __cplusplus
12321 extern "C"
12322 #endif
12323 char XineramaQueryScreens ();
12325 main ()
12327 return XineramaQueryScreens ();
12329 return 0;
12331 _ACEOF
12332 if ac_fn_c_try_link "$LINENO"; then :
12333 case "$LIBEXT" in
12334 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12335 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'` ;;
12336 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12337 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12338 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12339 fi ;;
12340 esac
12341 else
12342 ac_cv_lib_soname_Xinerama=
12344 rm -f core conftest.err conftest.$ac_objext \
12345 conftest$ac_exeext conftest.$ac_ext
12346 LIBS=$ac_check_soname_save_LIBS
12348 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12350 $as_echo "not found" >&6; }
12352 else
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12354 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12356 cat >>confdefs.h <<_ACEOF
12357 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12358 _ACEOF
12363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12365 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12366 case "x$with_xinerama" in
12367 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12368 xno) ;;
12369 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12370 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12371 esac
12375 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12376 then
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12378 $as_echo_n "checking for -lXcomposite... " >&6; }
12379 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12380 $as_echo_n "(cached) " >&6
12381 else
12382 ac_check_soname_save_LIBS=$LIBS
12383 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12387 /* Override any GCC internal prototype to avoid an error.
12388 Use char because int might match the return type of a GCC
12389 builtin and then its argument prototype would still apply. */
12390 #ifdef __cplusplus
12391 extern "C"
12392 #endif
12393 char XCompositeRedirectWindow ();
12395 main ()
12397 return XCompositeRedirectWindow ();
12399 return 0;
12401 _ACEOF
12402 if ac_fn_c_try_link "$LINENO"; then :
12403 case "$LIBEXT" in
12404 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12405 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'` ;;
12406 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12407 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12408 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12409 fi ;;
12410 esac
12411 else
12412 ac_cv_lib_soname_Xcomposite=
12414 rm -f core conftest.err conftest.$ac_objext \
12415 conftest$ac_exeext conftest.$ac_ext
12416 LIBS=$ac_check_soname_save_LIBS
12418 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12420 $as_echo "not found" >&6; }
12422 else
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12424 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12426 cat >>confdefs.h <<_ACEOF
12427 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12428 _ACEOF
12433 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12434 case "x$with_xcomposite" in
12435 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12436 xno) ;;
12437 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12438 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12439 esac
12443 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12444 #include <X11/Xlib.h>
12445 #endif
12447 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12449 cat >>confdefs.h <<_ACEOF
12450 #define HAVE_XICCALLBACK_CALLBACK 1
12451 _ACEOF
12455 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12456 #include <X11/Xlib.h>
12457 #endif
12459 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12461 cat >>confdefs.h <<_ACEOF
12462 #define HAVE_XEVENT_XCOOKIE 1
12463 _ACEOF
12470 opengl_msg=""
12471 if test "x$with_opengl" != "xno"
12472 then
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12474 $as_echo_n "checking for -lGL... " >&6; }
12475 if ${ac_cv_lib_soname_GL+:} false; then :
12476 $as_echo_n "(cached) " >&6
12477 else
12478 ac_check_soname_save_LIBS=$LIBS
12479 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12481 /* end confdefs.h. */
12483 /* Override any GCC internal prototype to avoid an error.
12484 Use char because int might match the return type of a GCC
12485 builtin and then its argument prototype would still apply. */
12486 #ifdef __cplusplus
12487 extern "C"
12488 #endif
12489 char glXCreateContext ();
12491 main ()
12493 return glXCreateContext ();
12495 return 0;
12497 _ACEOF
12498 if ac_fn_c_try_link "$LINENO"; then :
12499 case "$LIBEXT" in
12500 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12501 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'` ;;
12502 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12503 if ${ac_cv_lib_soname_GL:+false} :; then :
12504 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12505 fi ;;
12506 esac
12507 else
12508 ac_cv_lib_soname_GL=
12510 rm -f core conftest.err conftest.$ac_objext \
12511 conftest$ac_exeext conftest.$ac_ext
12512 LIBS=$ac_check_soname_save_LIBS
12514 if ${ac_cv_lib_soname_GL:+false} :; then :
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12516 $as_echo "not found" >&6; }
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12518 $as_echo_n "checking for -lGL... " >&6; }
12519 if ${ac_cv_lib_soname_GL+:} false; then :
12520 $as_echo_n "(cached) " >&6
12521 else
12522 ac_check_soname_save_LIBS=$LIBS
12523 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"
12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12527 /* Override any GCC internal prototype to avoid an error.
12528 Use char because int might match the return type of a GCC
12529 builtin and then its argument prototype would still apply. */
12530 #ifdef __cplusplus
12531 extern "C"
12532 #endif
12533 char glXCreateContext ();
12535 main ()
12537 return glXCreateContext ();
12539 return 0;
12541 _ACEOF
12542 if ac_fn_c_try_link "$LINENO"; then :
12543 case "$LIBEXT" in
12544 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12545 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'` ;;
12546 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12547 if ${ac_cv_lib_soname_GL:+false} :; then :
12548 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12549 fi ;;
12550 esac
12551 else
12552 ac_cv_lib_soname_GL=
12554 rm -f core conftest.err conftest.$ac_objext \
12555 conftest$ac_exeext conftest.$ac_ext
12556 LIBS=$ac_check_soname_save_LIBS
12558 if ${ac_cv_lib_soname_GL:+false} :; then :
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12560 $as_echo "not found" >&6; }
12561 if test -f /usr/X11R6/lib/libGL.a
12562 then
12563 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12564 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12565 else
12566 opengl_msg="No OpenGL library found on this system."
12568 else
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12570 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12572 cat >>confdefs.h <<_ACEOF
12573 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12574 _ACEOF
12576 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"
12578 else
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12580 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12582 cat >>confdefs.h <<_ACEOF
12583 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12584 _ACEOF
12586 OPENGL_LIBS="-lGL"
12588 if test "x$with_glu" != "xno"
12589 then
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12591 $as_echo_n "checking for -lGLU... " >&6; }
12592 if ${ac_cv_lib_soname_GLU+:} false; then :
12593 $as_echo_n "(cached) " >&6
12594 else
12595 ac_check_soname_save_LIBS=$LIBS
12596 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12598 /* end confdefs.h. */
12600 /* Override any GCC internal prototype to avoid an error.
12601 Use char because int might match the return type of a GCC
12602 builtin and then its argument prototype would still apply. */
12603 #ifdef __cplusplus
12604 extern "C"
12605 #endif
12606 char gluLookAt ();
12608 main ()
12610 return gluLookAt ();
12612 return 0;
12614 _ACEOF
12615 if ac_fn_c_try_link "$LINENO"; then :
12616 case "$LIBEXT" in
12617 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12618 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'` ;;
12619 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12620 if ${ac_cv_lib_soname_GLU:+false} :; then :
12621 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12622 fi ;;
12623 esac
12624 else
12625 ac_cv_lib_soname_GLU=
12627 rm -f core conftest.err conftest.$ac_objext \
12628 conftest$ac_exeext conftest.$ac_ext
12629 LIBS=$ac_check_soname_save_LIBS
12631 if ${ac_cv_lib_soname_GLU:+false} :; then :
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12633 $as_echo "not found" >&6; }
12635 else
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12637 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12639 cat >>confdefs.h <<_ACEOF
12640 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12641 _ACEOF
12645 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12646 case "x$with_glu" in
12647 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12648 xno) ;;
12649 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12650 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12651 esac
12656 if test "x$with_osmesa" != "xno"
12657 then
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12659 $as_echo_n "checking for -lOSMesa... " >&6; }
12660 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12661 $as_echo_n "(cached) " >&6
12662 else
12663 ac_check_soname_save_LIBS=$LIBS
12664 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12666 /* end confdefs.h. */
12668 /* Override any GCC internal prototype to avoid an error.
12669 Use char because int might match the return type of a GCC
12670 builtin and then its argument prototype would still apply. */
12671 #ifdef __cplusplus
12672 extern "C"
12673 #endif
12674 char OSMesaGetProcAddress ();
12676 main ()
12678 return OSMesaGetProcAddress ();
12680 return 0;
12682 _ACEOF
12683 if ac_fn_c_try_link "$LINENO"; then :
12684 case "$LIBEXT" in
12685 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12686 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'` ;;
12687 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12688 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12689 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12690 fi ;;
12691 esac
12692 else
12693 ac_cv_lib_soname_OSMesa=
12695 rm -f core conftest.err conftest.$ac_objext \
12696 conftest$ac_exeext conftest.$ac_ext
12697 LIBS=$ac_check_soname_save_LIBS
12699 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12701 $as_echo "not found" >&6; }
12703 else
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12705 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12707 cat >>confdefs.h <<_ACEOF
12708 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12709 _ACEOF
12713 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12714 case "x$with_osmesa" in
12715 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12716 xno) ;;
12717 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12718 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12719 esac
12724 if test -n "$opengl_msg"; then :
12725 case "x$with_opengl" in
12726 x) as_fn_append wine_warnings "|$opengl_msg
12727 OpenGL and Direct3D won't be supported." ;;
12728 xno) ;;
12729 *) as_fn_error $? "$opengl_msg
12730 OpenGL and Direct3D won't be supported.
12731 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12732 esac
12736 CPPFLAGS="$ac_save_CPPFLAGS"
12737 else
12738 X_CFLAGS=""
12739 X_LIBS=""
12742 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12743 then
12744 if test "x$X_LIBS" = "x"; then :
12745 case "x$with_x" in
12746 xno) ;;
12747 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12748 without X support, which probably isn't what you want. You will need
12749 to install ${notice_platform}development packages of Xlib at the very least.
12750 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12751 esac
12752 enable_winex11_drv=${enable_winex11_drv:-no}
12754 else
12755 if test "x$X_LIBS" = "x"; then :
12756 case "x$with_x" in
12757 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12758 xno) ;;
12759 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12760 This is an error since --with-x was requested." "$LINENO" 5 ;;
12761 esac
12762 enable_winex11_drv=${enable_winex11_drv:-no}
12766 if test "$ac_cv_header_CL_cl_h" = "yes"
12767 then
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12769 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12770 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12771 $as_echo_n "(cached) " >&6
12772 else
12773 ac_check_lib_save_LIBS=$LIBS
12774 LIBS="-lOpenCL $LIBS"
12775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12776 /* end confdefs.h. */
12778 /* Override any GCC internal prototype to avoid an error.
12779 Use char because int might match the return type of a GCC
12780 builtin and then its argument prototype would still apply. */
12781 #ifdef __cplusplus
12782 extern "C"
12783 #endif
12784 char clGetPlatformInfo ();
12786 main ()
12788 return clGetPlatformInfo ();
12790 return 0;
12792 _ACEOF
12793 if ac_fn_c_try_link "$LINENO"; then :
12794 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12795 else
12796 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12798 rm -f core conftest.err conftest.$ac_objext \
12799 conftest$ac_exeext conftest.$ac_ext
12800 LIBS=$ac_check_lib_save_LIBS
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12803 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12804 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12805 OPENCL_LIBS="-lOpenCL"
12810 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12811 case "x$with_opencl" in
12812 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12813 xno) ;;
12814 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12815 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12816 esac
12817 enable_opencl=${enable_opencl:-no}
12820 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12821 then
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12823 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12824 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12825 $as_echo_n "(cached) " >&6
12826 else
12827 ac_check_lib_save_LIBS=$LIBS
12828 LIBS="-lpcap $LIBS"
12829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12830 /* end confdefs.h. */
12832 /* Override any GCC internal prototype to avoid an error.
12833 Use char because int might match the return type of a GCC
12834 builtin and then its argument prototype would still apply. */
12835 #ifdef __cplusplus
12836 extern "C"
12837 #endif
12838 char pcap_create ();
12840 main ()
12842 return pcap_create ();
12844 return 0;
12846 _ACEOF
12847 if ac_fn_c_try_link "$LINENO"; then :
12848 ac_cv_lib_pcap_pcap_create=yes
12849 else
12850 ac_cv_lib_pcap_pcap_create=no
12852 rm -f core conftest.err conftest.$ac_objext \
12853 conftest$ac_exeext conftest.$ac_ext
12854 LIBS=$ac_check_lib_save_LIBS
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12857 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12858 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12859 PCAP_LIBS="-lpcap"
12864 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12865 case "x$with_pcap" in
12866 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12867 xno) ;;
12868 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12869 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12870 esac
12871 enable_wpcap=${enable_wpcap:-no}
12875 if test "x$with_xml" != "xno"
12876 then
12877 if ${XML2_CFLAGS:+false} :; then :
12878 if ${PKG_CONFIG+:} false; then :
12879 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12882 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12883 if ${XML2_LIBS:+false} :; then :
12884 if ${PKG_CONFIG+:} false; then :
12885 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12888 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12889 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12890 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12891 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12892 ac_save_CPPFLAGS=$CPPFLAGS
12893 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12894 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12895 do :
12896 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12897 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12898 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12899 cat >>confdefs.h <<_ACEOF
12900 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12901 _ACEOF
12905 done
12907 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"
12908 then
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12910 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12911 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12912 $as_echo_n "(cached) " >&6
12913 else
12914 ac_check_lib_save_LIBS=$LIBS
12915 LIBS="-lxml2 $XML2_LIBS $LIBS"
12916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h. */
12919 /* Override any GCC internal prototype to avoid an error.
12920 Use char because int might match the return type of a GCC
12921 builtin and then its argument prototype would still apply. */
12922 #ifdef __cplusplus
12923 extern "C"
12924 #endif
12925 char xmlParseMemory ();
12927 main ()
12929 return xmlParseMemory ();
12931 return 0;
12933 _ACEOF
12934 if ac_fn_c_try_link "$LINENO"; then :
12935 ac_cv_lib_xml2_xmlParseMemory=yes
12936 else
12937 ac_cv_lib_xml2_xmlParseMemory=no
12939 rm -f core conftest.err conftest.$ac_objext \
12940 conftest$ac_exeext conftest.$ac_ext
12941 LIBS=$ac_check_lib_save_LIBS
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12944 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12945 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12947 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12949 else
12950 XML2_LIBS=""
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12954 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12955 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12956 $as_echo_n "(cached) " >&6
12957 else
12958 ac_check_lib_save_LIBS=$LIBS
12959 LIBS="-lxml2 $XML2_LIBS $LIBS"
12960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12961 /* end confdefs.h. */
12963 /* Override any GCC internal prototype to avoid an error.
12964 Use char because int might match the return type of a GCC
12965 builtin and then its argument prototype would still apply. */
12966 #ifdef __cplusplus
12967 extern "C"
12968 #endif
12969 char xmlReadMemory ();
12971 main ()
12973 return xmlReadMemory ();
12975 return 0;
12977 _ACEOF
12978 if ac_fn_c_try_link "$LINENO"; then :
12979 ac_cv_lib_xml2_xmlReadMemory=yes
12980 else
12981 ac_cv_lib_xml2_xmlReadMemory=no
12983 rm -f core conftest.err conftest.$ac_objext \
12984 conftest$ac_exeext conftest.$ac_ext
12985 LIBS=$ac_check_lib_save_LIBS
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12988 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12989 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12991 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12996 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12997 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12998 $as_echo_n "(cached) " >&6
12999 else
13000 ac_check_lib_save_LIBS=$LIBS
13001 LIBS="-lxml2 $XML2_LIBS $LIBS"
13002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13003 /* end confdefs.h. */
13005 /* Override any GCC internal prototype to avoid an error.
13006 Use char because int might match the return type of a GCC
13007 builtin and then its argument prototype would still apply. */
13008 #ifdef __cplusplus
13009 extern "C"
13010 #endif
13011 char xmlNewDocPI ();
13013 main ()
13015 return xmlNewDocPI ();
13017 return 0;
13019 _ACEOF
13020 if ac_fn_c_try_link "$LINENO"; then :
13021 ac_cv_lib_xml2_xmlNewDocPI=yes
13022 else
13023 ac_cv_lib_xml2_xmlNewDocPI=no
13025 rm -f core conftest.err conftest.$ac_objext \
13026 conftest$ac_exeext conftest.$ac_ext
13027 LIBS=$ac_check_lib_save_LIBS
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13030 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13031 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13033 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13038 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13039 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13040 $as_echo_n "(cached) " >&6
13041 else
13042 ac_check_lib_save_LIBS=$LIBS
13043 LIBS="-lxml2 $XML2_LIBS $LIBS"
13044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13045 /* end confdefs.h. */
13047 /* Override any GCC internal prototype to avoid an error.
13048 Use char because int might match the return type of a GCC
13049 builtin and then its argument prototype would still apply. */
13050 #ifdef __cplusplus
13051 extern "C"
13052 #endif
13053 char xmlSchemaSetParserStructuredErrors ();
13055 main ()
13057 return xmlSchemaSetParserStructuredErrors ();
13059 return 0;
13061 _ACEOF
13062 if ac_fn_c_try_link "$LINENO"; then :
13063 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13064 else
13065 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13067 rm -f core conftest.err conftest.$ac_objext \
13068 conftest$ac_exeext conftest.$ac_ext
13069 LIBS=$ac_check_lib_save_LIBS
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13072 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13073 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13075 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13080 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13081 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13082 $as_echo_n "(cached) " >&6
13083 else
13084 ac_check_lib_save_LIBS=$LIBS
13085 LIBS="-lxml2 $XML2_LIBS $LIBS"
13086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13089 /* Override any GCC internal prototype to avoid an error.
13090 Use char because int might match the return type of a GCC
13091 builtin and then its argument prototype would still apply. */
13092 #ifdef __cplusplus
13093 extern "C"
13094 #endif
13095 char xmlSchemaSetValidStructuredErrors ();
13097 main ()
13099 return xmlSchemaSetValidStructuredErrors ();
13101 return 0;
13103 _ACEOF
13104 if ac_fn_c_try_link "$LINENO"; then :
13105 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13106 else
13107 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13109 rm -f core conftest.err conftest.$ac_objext \
13110 conftest$ac_exeext conftest.$ac_ext
13111 LIBS=$ac_check_lib_save_LIBS
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13114 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13115 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13117 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13122 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13123 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13124 $as_echo_n "(cached) " >&6
13125 else
13126 ac_check_lib_save_LIBS=$LIBS
13127 LIBS="-lxml2 $XML2_LIBS $LIBS"
13128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13131 /* Override any GCC internal prototype to avoid an error.
13132 Use char because int might match the return type of a GCC
13133 builtin and then its argument prototype would still apply. */
13134 #ifdef __cplusplus
13135 extern "C"
13136 #endif
13137 char xmlFirstElementChild ();
13139 main ()
13141 return xmlFirstElementChild ();
13143 return 0;
13145 _ACEOF
13146 if ac_fn_c_try_link "$LINENO"; then :
13147 ac_cv_lib_xml2_xmlFirstElementChild=yes
13148 else
13149 ac_cv_lib_xml2_xmlFirstElementChild=no
13151 rm -f core conftest.err conftest.$ac_objext \
13152 conftest$ac_exeext conftest.$ac_ext
13153 LIBS=$ac_check_lib_save_LIBS
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13156 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13157 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13159 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13163 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13165 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13167 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13171 else
13172 XML2_CFLAGS=""
13173 XML2_LIBS=""
13175 CPPFLAGS=$ac_save_CPPFLAGS
13176 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13177 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13180 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13181 case "x$with_xml" in
13182 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13183 xno) ;;
13184 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13185 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13186 esac
13190 if test "x$with_xslt" != "xno"
13191 then
13192 if ${XSLT_CFLAGS:+false} :; then :
13193 if ${PKG_CONFIG+:} false; then :
13194 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13197 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13198 if ${XSLT_LIBS:+false} :; then :
13199 if ${PKG_CONFIG+:} false; then :
13200 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13203 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13204 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13205 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13206 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13207 ac_save_CPPFLAGS=$CPPFLAGS
13208 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13209 for ac_header in libxslt/pattern.h libxslt/transform.h
13210 do :
13211 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13212 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13213 # include <libxslt/pattern.h>
13214 #endif
13216 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13217 cat >>confdefs.h <<_ACEOF
13218 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13219 _ACEOF
13223 done
13225 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13226 then
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13228 $as_echo_n "checking for -lxslt... " >&6; }
13229 if ${ac_cv_lib_soname_xslt+:} false; then :
13230 $as_echo_n "(cached) " >&6
13231 else
13232 ac_check_soname_save_LIBS=$LIBS
13233 LIBS="-lxslt $XSLT_LIBS $LIBS"
13234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13235 /* end confdefs.h. */
13237 /* Override any GCC internal prototype to avoid an error.
13238 Use char because int might match the return type of a GCC
13239 builtin and then its argument prototype would still apply. */
13240 #ifdef __cplusplus
13241 extern "C"
13242 #endif
13243 char xsltCompilePattern ();
13245 main ()
13247 return xsltCompilePattern ();
13249 return 0;
13251 _ACEOF
13252 if ac_fn_c_try_link "$LINENO"; then :
13253 case "$LIBEXT" in
13254 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13255 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'` ;;
13256 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13257 if ${ac_cv_lib_soname_xslt:+false} :; then :
13258 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13259 fi ;;
13260 esac
13261 else
13262 ac_cv_lib_soname_xslt=
13264 rm -f core conftest.err conftest.$ac_objext \
13265 conftest$ac_exeext conftest.$ac_ext
13266 LIBS=$ac_check_soname_save_LIBS
13268 if ${ac_cv_lib_soname_xslt:+false} :; then :
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13270 $as_echo "not found" >&6; }
13272 else
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13274 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13276 cat >>confdefs.h <<_ACEOF
13277 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13278 _ACEOF
13282 else
13283 XSLT_CFLAGS=""
13285 CPPFLAGS=$ac_save_CPPFLAGS
13286 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13287 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13290 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13291 case "x$with_xslt" in
13292 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13293 xno) ;;
13294 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13295 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13296 esac
13300 if test "x$with_inotify" != "xno"
13301 then
13302 if ${INOTIFY_CFLAGS:+false} :; then :
13303 if ${PKG_CONFIG+:} false; then :
13304 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13308 if ${INOTIFY_LIBS:+false} :; then :
13309 if ${PKG_CONFIG+:} false; then :
13310 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13315 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13316 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13317 ac_save_CPPFLAGS=$CPPFLAGS
13318 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13319 for ac_header in sys/inotify.h
13320 do :
13321 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13322 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13323 cat >>confdefs.h <<_ACEOF
13324 #define HAVE_SYS_INOTIFY_H 1
13325 _ACEOF
13329 done
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13332 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13333 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13334 $as_echo_n "(cached) " >&6
13335 else
13336 ac_check_lib_save_LIBS=$LIBS
13337 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13341 /* Override any GCC internal prototype to avoid an error.
13342 Use char because int might match the return type of a GCC
13343 builtin and then its argument prototype would still apply. */
13344 #ifdef __cplusplus
13345 extern "C"
13346 #endif
13347 char inotify_add_watch ();
13349 main ()
13351 return inotify_add_watch ();
13353 return 0;
13355 _ACEOF
13356 if ac_fn_c_try_link "$LINENO"; then :
13357 ac_cv_lib_inotify_inotify_add_watch=yes
13358 else
13359 ac_cv_lib_inotify_inotify_add_watch=no
13361 rm -f core conftest.err conftest.$ac_objext \
13362 conftest$ac_exeext conftest.$ac_ext
13363 LIBS=$ac_check_lib_save_LIBS
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13366 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13367 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13369 else
13370 INOTIFY_LIBS=""
13373 CPPFLAGS=$ac_save_CPPFLAGS
13374 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13375 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13378 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13379 case "x$with_inotify" in
13380 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13381 xno) ;;
13382 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13383 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13384 esac
13388 if test "x$with_dbus" != "xno"
13389 then
13390 if ${DBUS_CFLAGS:+false} :; then :
13391 if ${PKG_CONFIG+:} false; then :
13392 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13396 if ${DBUS_LIBS:+false} :; then :
13397 if ${PKG_CONFIG+:} false; then :
13398 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13403 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13404 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13405 ac_save_CPPFLAGS=$CPPFLAGS
13406 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13407 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13408 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13410 $as_echo_n "checking for -ldbus-1... " >&6; }
13411 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13412 $as_echo_n "(cached) " >&6
13413 else
13414 ac_check_soname_save_LIBS=$LIBS
13415 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13417 /* end confdefs.h. */
13419 /* Override any GCC internal prototype to avoid an error.
13420 Use char because int might match the return type of a GCC
13421 builtin and then its argument prototype would still apply. */
13422 #ifdef __cplusplus
13423 extern "C"
13424 #endif
13425 char dbus_connection_close ();
13427 main ()
13429 return dbus_connection_close ();
13431 return 0;
13433 _ACEOF
13434 if ac_fn_c_try_link "$LINENO"; then :
13435 case "$LIBEXT" in
13436 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13437 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'` ;;
13438 *) 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'`
13439 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13440 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13441 fi ;;
13442 esac
13443 else
13444 ac_cv_lib_soname_dbus_1=
13446 rm -f core conftest.err conftest.$ac_objext \
13447 conftest$ac_exeext conftest.$ac_ext
13448 LIBS=$ac_check_soname_save_LIBS
13450 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13452 $as_echo "not found" >&6; }
13453 DBUS_CFLAGS=""
13454 else
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13456 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13458 cat >>confdefs.h <<_ACEOF
13459 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13460 _ACEOF
13464 else
13465 DBUS_CFLAGS=""
13469 CPPFLAGS=$ac_save_CPPFLAGS
13470 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13471 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13474 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13475 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13476 case "x$with_dbus" in
13477 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13478 xno) ;;
13479 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13480 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13481 esac
13485 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13486 then
13487 if ${HAL_CFLAGS:+false} :; then :
13488 if ${PKG_CONFIG+:} false; then :
13489 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13493 if ${HAL_LIBS:+false} :; then :
13494 if ${PKG_CONFIG+:} false; then :
13495 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13499 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13500 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13501 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13502 ac_save_CPPFLAGS=$CPPFLAGS
13503 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13504 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13505 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13507 $as_echo_n "checking for -lhal... " >&6; }
13508 if ${ac_cv_lib_soname_hal+:} false; then :
13509 $as_echo_n "(cached) " >&6
13510 else
13511 ac_check_soname_save_LIBS=$LIBS
13512 LIBS="-lhal $HAL_LIBS $LIBS"
13513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13516 /* Override any GCC internal prototype to avoid an error.
13517 Use char because int might match the return type of a GCC
13518 builtin and then its argument prototype would still apply. */
13519 #ifdef __cplusplus
13520 extern "C"
13521 #endif
13522 char libhal_ctx_new ();
13524 main ()
13526 return libhal_ctx_new ();
13528 return 0;
13530 _ACEOF
13531 if ac_fn_c_try_link "$LINENO"; then :
13532 case "$LIBEXT" in
13533 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13534 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'` ;;
13535 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13536 if ${ac_cv_lib_soname_hal:+false} :; then :
13537 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13538 fi ;;
13539 esac
13540 else
13541 ac_cv_lib_soname_hal=
13543 rm -f core conftest.err conftest.$ac_objext \
13544 conftest$ac_exeext conftest.$ac_ext
13545 LIBS=$ac_check_soname_save_LIBS
13547 if ${ac_cv_lib_soname_hal:+false} :; then :
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13549 $as_echo "not found" >&6; }
13550 HAL_CFLAGS=""
13551 else
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13553 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13555 cat >>confdefs.h <<_ACEOF
13556 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13557 _ACEOF
13561 else
13562 HAL_CFLAGS=""
13566 CPPFLAGS=$ac_save_CPPFLAGS
13567 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13568 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13570 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13571 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13572 case "x$with_hal" in
13573 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13574 xno) ;;
13575 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13576 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13577 esac
13582 if test "x$with_gnutls" != "xno"
13583 then
13584 if ${GNUTLS_CFLAGS:+false} :; then :
13585 if ${PKG_CONFIG+:} false; then :
13586 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13590 if ${GNUTLS_LIBS:+false} :; then :
13591 if ${PKG_CONFIG+:} false; then :
13592 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13597 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13598 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13599 ac_save_CPPFLAGS=$CPPFLAGS
13600 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13601 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13602 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13604 /* end confdefs.h. */
13605 #include <gnutls/gnutls.h>
13606 #include <gnutls/crypto.h>
13608 main ()
13610 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13612 return 0;
13614 _ACEOF
13615 if ac_fn_c_try_compile "$LINENO"; then :
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13617 $as_echo_n "checking for -lgnutls... " >&6; }
13618 if ${ac_cv_lib_soname_gnutls+:} false; then :
13619 $as_echo_n "(cached) " >&6
13620 else
13621 ac_check_soname_save_LIBS=$LIBS
13622 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13624 /* end confdefs.h. */
13626 /* Override any GCC internal prototype to avoid an error.
13627 Use char because int might match the return type of a GCC
13628 builtin and then its argument prototype would still apply. */
13629 #ifdef __cplusplus
13630 extern "C"
13631 #endif
13632 char gnutls_global_init ();
13634 main ()
13636 return gnutls_global_init ();
13638 return 0;
13640 _ACEOF
13641 if ac_fn_c_try_link "$LINENO"; then :
13642 case "$LIBEXT" in
13643 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13644 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'` ;;
13645 *) 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'`
13646 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13647 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'`
13648 fi ;;
13649 esac
13650 else
13651 ac_cv_lib_soname_gnutls=
13653 rm -f core conftest.err conftest.$ac_objext \
13654 conftest$ac_exeext conftest.$ac_ext
13655 LIBS=$ac_check_soname_save_LIBS
13657 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13659 $as_echo "not found" >&6; }
13660 GNUTLS_CFLAGS=""
13661 else
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13663 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13665 cat >>confdefs.h <<_ACEOF
13666 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13667 _ACEOF
13671 ac_wine_check_funcs_save_LIBS="$LIBS"
13672 LIBS="$LIBS $GNUTLS_LIBS"
13673 for ac_func in gnutls_cipher_init
13674 do :
13675 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13676 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13677 cat >>confdefs.h <<_ACEOF
13678 #define HAVE_GNUTLS_CIPHER_INIT 1
13679 _ACEOF
13681 else
13682 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13684 done
13686 LIBS="$ac_wine_check_funcs_save_LIBS"
13688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13689 else
13690 GNUTLS_CFLAGS=""
13694 CPPFLAGS=$ac_save_CPPFLAGS
13695 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13696 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13699 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13700 case "x$with_gnutls" in
13701 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13702 xno) ;;
13703 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13704 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13705 esac
13709 CURSES_LIBS=""
13710 if test "$ac_cv_header_ncurses_h" = "yes"
13711 then
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13713 $as_echo_n "checking for -lncurses... " >&6; }
13714 if ${ac_cv_lib_soname_ncurses+:} false; then :
13715 $as_echo_n "(cached) " >&6
13716 else
13717 ac_check_soname_save_LIBS=$LIBS
13718 LIBS="-lncurses $LIBS"
13719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13720 /* end confdefs.h. */
13722 /* Override any GCC internal prototype to avoid an error.
13723 Use char because int might match the return type of a GCC
13724 builtin and then its argument prototype would still apply. */
13725 #ifdef __cplusplus
13726 extern "C"
13727 #endif
13728 char waddch ();
13730 main ()
13732 return waddch ();
13734 return 0;
13736 _ACEOF
13737 if ac_fn_c_try_link "$LINENO"; then :
13738 case "$LIBEXT" in
13739 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13740 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'` ;;
13741 *) 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'`
13742 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13743 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13744 fi ;;
13745 esac
13746 else
13747 ac_cv_lib_soname_ncurses=
13749 rm -f core conftest.err conftest.$ac_objext \
13750 conftest$ac_exeext conftest.$ac_ext
13751 LIBS=$ac_check_soname_save_LIBS
13753 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13755 $as_echo "not found" >&6; }
13757 else
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13759 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13761 cat >>confdefs.h <<_ACEOF
13762 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13763 _ACEOF
13765 CURSES_LIBS="-lncurses"
13767 elif test "$ac_cv_header_curses_h" = "yes"
13768 then
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13770 $as_echo_n "checking for -lcurses... " >&6; }
13771 if ${ac_cv_lib_soname_curses+:} false; then :
13772 $as_echo_n "(cached) " >&6
13773 else
13774 ac_check_soname_save_LIBS=$LIBS
13775 LIBS="-lcurses $LIBS"
13776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13777 /* end confdefs.h. */
13779 /* Override any GCC internal prototype to avoid an error.
13780 Use char because int might match the return type of a GCC
13781 builtin and then its argument prototype would still apply. */
13782 #ifdef __cplusplus
13783 extern "C"
13784 #endif
13785 char waddch ();
13787 main ()
13789 return waddch ();
13791 return 0;
13793 _ACEOF
13794 if ac_fn_c_try_link "$LINENO"; then :
13795 case "$LIBEXT" in
13796 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13797 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'` ;;
13798 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13799 if ${ac_cv_lib_soname_curses:+false} :; then :
13800 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13801 fi ;;
13802 esac
13803 else
13804 ac_cv_lib_soname_curses=
13806 rm -f core conftest.err conftest.$ac_objext \
13807 conftest$ac_exeext conftest.$ac_ext
13808 LIBS=$ac_check_soname_save_LIBS
13810 if ${ac_cv_lib_soname_curses:+false} :; then :
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13812 $as_echo "not found" >&6; }
13814 else
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13816 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13818 cat >>confdefs.h <<_ACEOF
13819 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13820 _ACEOF
13822 CURSES_LIBS="-lcurses"
13825 ac_save_LIBS="$LIBS"
13826 LIBS="$LIBS $CURSES_LIBS"
13827 for ac_func in mousemask
13828 do :
13829 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13830 if test "x$ac_cv_func_mousemask" = xyes; then :
13831 cat >>confdefs.h <<_ACEOF
13832 #define HAVE_MOUSEMASK 1
13833 _ACEOF
13836 done
13838 LIBS="$ac_save_LIBS"
13839 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13840 case "x$with_curses" in
13841 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13842 xno) ;;
13843 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13844 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13845 esac
13849 if test "x$with_sane" != "xno"
13850 then
13851 if ${SANE_CFLAGS:+false} :; then :
13852 if ${PKG_CONFIG+:} false; then :
13853 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13856 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13857 if ${SANE_LIBS:+false} :; then :
13858 if ${PKG_CONFIG+:} false; then :
13859 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13862 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13864 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13865 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13866 ac_save_CPPFLAGS=$CPPFLAGS
13867 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13868 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13869 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13871 $as_echo_n "checking for -lsane... " >&6; }
13872 if ${ac_cv_lib_soname_sane+:} false; then :
13873 $as_echo_n "(cached) " >&6
13874 else
13875 ac_check_soname_save_LIBS=$LIBS
13876 LIBS="-lsane $SANE_LIBS $LIBS"
13877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13880 /* Override any GCC internal prototype to avoid an error.
13881 Use char because int might match the return type of a GCC
13882 builtin and then its argument prototype would still apply. */
13883 #ifdef __cplusplus
13884 extern "C"
13885 #endif
13886 char sane_init ();
13888 main ()
13890 return sane_init ();
13892 return 0;
13894 _ACEOF
13895 if ac_fn_c_try_link "$LINENO"; then :
13896 case "$LIBEXT" in
13897 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13898 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'` ;;
13899 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13900 if ${ac_cv_lib_soname_sane:+false} :; then :
13901 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13902 fi ;;
13903 esac
13904 else
13905 ac_cv_lib_soname_sane=
13907 rm -f core conftest.err conftest.$ac_objext \
13908 conftest$ac_exeext conftest.$ac_ext
13909 LIBS=$ac_check_soname_save_LIBS
13911 if ${ac_cv_lib_soname_sane:+false} :; then :
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13913 $as_echo "not found" >&6; }
13914 SANE_CFLAGS=""
13915 else
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13917 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13919 cat >>confdefs.h <<_ACEOF
13920 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13921 _ACEOF
13925 else
13926 SANE_CFLAGS=""
13930 CPPFLAGS=$ac_save_CPPFLAGS
13931 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13932 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13935 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13936 case "x$with_sane" in
13937 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13938 xno) ;;
13939 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13940 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13941 esac
13945 if test "x$with_usb" != "xno"
13946 then
13947 if ${USB_CFLAGS:+false} :; then :
13948 if ${PKG_CONFIG+:} false; then :
13949 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13953 if ${USB_LIBS:+false} :; then :
13954 if ${PKG_CONFIG+:} false; then :
13955 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13959 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13960 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13961 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13962 ac_save_CPPFLAGS=$CPPFLAGS
13963 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13964 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13965 if test "x$ac_cv_header_libusb_h" = xyes; then :
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13967 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13968 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13969 $as_echo_n "(cached) " >&6
13970 else
13971 ac_check_lib_save_LIBS=$LIBS
13972 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13974 /* end confdefs.h. */
13976 /* Override any GCC internal prototype to avoid an error.
13977 Use char because int might match the return type of a GCC
13978 builtin and then its argument prototype would still apply. */
13979 #ifdef __cplusplus
13980 extern "C"
13981 #endif
13982 char libusb_interrupt_event_handler ();
13984 main ()
13986 return libusb_interrupt_event_handler ();
13988 return 0;
13990 _ACEOF
13991 if ac_fn_c_try_link "$LINENO"; then :
13992 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13993 else
13994 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13996 rm -f core conftest.err conftest.$ac_objext \
13997 conftest$ac_exeext conftest.$ac_ext
13998 LIBS=$ac_check_lib_save_LIBS
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
14001 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
14002 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
14004 else
14005 USB_LIBS=""
14008 else
14009 USB_LIBS=""
14013 CPPFLAGS=$ac_save_CPPFLAGS
14014 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14015 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14018 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
14019 case "x$with_usb" in
14020 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
14021 xno) ;;
14022 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14023 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14024 esac
14025 enable_wineusb_sys=${enable_wineusb_sys:-no}
14028 if test "x$with_v4l2" != "xno"
14029 then
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14031 $as_echo_n "checking for -lv4l2... " >&6; }
14032 if ${ac_cv_lib_soname_v4l2+:} false; then :
14033 $as_echo_n "(cached) " >&6
14034 else
14035 ac_check_soname_save_LIBS=$LIBS
14036 LIBS="-lv4l2 $LIBS"
14037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14038 /* end confdefs.h. */
14040 /* Override any GCC internal prototype to avoid an error.
14041 Use char because int might match the return type of a GCC
14042 builtin and then its argument prototype would still apply. */
14043 #ifdef __cplusplus
14044 extern "C"
14045 #endif
14046 char v4l2_open ();
14048 main ()
14050 return v4l2_open ();
14052 return 0;
14054 _ACEOF
14055 if ac_fn_c_try_link "$LINENO"; then :
14056 case "$LIBEXT" in
14057 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14058 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'` ;;
14059 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14060 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14061 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14062 fi ;;
14063 esac
14064 else
14065 ac_cv_lib_soname_v4l2=
14067 rm -f core conftest.err conftest.$ac_objext \
14068 conftest$ac_exeext conftest.$ac_ext
14069 LIBS=$ac_check_soname_save_LIBS
14071 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14073 $as_echo "not found" >&6; }
14075 else
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14077 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14079 cat >>confdefs.h <<_ACEOF
14080 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14081 _ACEOF
14086 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14087 case "x$with_v4l2" in
14088 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14089 xno) ;;
14090 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14091 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14092 esac
14096 if test "x$with_gphoto" != "xno"
14097 then
14098 if ${GPHOTO2_CFLAGS:+false} :; then :
14099 if ${PKG_CONFIG+:} false; then :
14100 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14103 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14104 if ${GPHOTO2_LIBS:+false} :; then :
14105 if ${PKG_CONFIG+:} false; then :
14106 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14109 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14110 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14111 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14112 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14113 ac_save_CPPFLAGS=$CPPFLAGS
14114 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14115 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14116 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14118 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14119 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14120 $as_echo_n "(cached) " >&6
14121 else
14122 ac_check_lib_save_LIBS=$LIBS
14123 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14125 /* end confdefs.h. */
14127 /* Override any GCC internal prototype to avoid an error.
14128 Use char because int might match the return type of a GCC
14129 builtin and then its argument prototype would still apply. */
14130 #ifdef __cplusplus
14131 extern "C"
14132 #endif
14133 char gp_camera_new ();
14135 main ()
14137 return gp_camera_new ();
14139 return 0;
14141 _ACEOF
14142 if ac_fn_c_try_link "$LINENO"; then :
14143 ac_cv_lib_gphoto2_gp_camera_new=yes
14144 else
14145 ac_cv_lib_gphoto2_gp_camera_new=no
14147 rm -f core conftest.err conftest.$ac_objext \
14148 conftest$ac_exeext conftest.$ac_ext
14149 LIBS=$ac_check_lib_save_LIBS
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14152 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14153 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14155 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14157 else
14158 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14161 else
14162 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14166 CPPFLAGS=$ac_save_CPPFLAGS
14167 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14168 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14170 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14171 if ${PKG_CONFIG+:} false; then :
14172 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14175 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14176 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14177 if ${PKG_CONFIG+:} false; then :
14178 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14181 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14182 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14183 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14184 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14185 ac_save_CPPFLAGS=$CPPFLAGS
14186 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14187 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14188 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14190 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14191 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14192 $as_echo_n "(cached) " >&6
14193 else
14194 ac_check_lib_save_LIBS=$LIBS
14195 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14199 /* Override any GCC internal prototype to avoid an error.
14200 Use char because int might match the return type of a GCC
14201 builtin and then its argument prototype would still apply. */
14202 #ifdef __cplusplus
14203 extern "C"
14204 #endif
14205 char gp_port_info_list_new ();
14207 main ()
14209 return gp_port_info_list_new ();
14211 return 0;
14213 _ACEOF
14214 if ac_fn_c_try_link "$LINENO"; then :
14215 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14216 else
14217 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14219 rm -f core conftest.err conftest.$ac_objext \
14220 conftest$ac_exeext conftest.$ac_ext
14221 LIBS=$ac_check_lib_save_LIBS
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14224 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14225 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14227 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14229 else
14230 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14233 else
14234 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14238 CPPFLAGS=$ac_save_CPPFLAGS
14239 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14240 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14243 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14244 case "x$with_gphoto" in
14245 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14246 xno) ;;
14247 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14248 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14249 esac
14252 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14253 case "x$with_gphoto" in
14254 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14255 xno) ;;
14256 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14257 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14258 esac
14263 if test "$ac_cv_header_resolv_h" = "yes"
14264 then
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14266 $as_echo_n "checking for resolver library... " >&6; }
14267 if ${ac_cv_have_resolv+:} false; then :
14268 $as_echo_n "(cached) " >&6
14269 else
14270 ac_save_LIBS="$LIBS"
14271 for lib in '' -lresolv
14273 LIBS="$lib $ac_save_LIBS"
14274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14276 #ifdef HAVE_NETINET_IN_H
14277 #include <netinet/in.h>
14278 #endif
14279 #include <resolv.h>
14281 main ()
14283 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14285 return 0;
14287 _ACEOF
14288 if ac_fn_c_try_link "$LINENO"; then :
14289 ac_cv_have_resolv=${lib:-"none required"}
14290 else
14291 ac_cv_have_resolv="not found"
14293 rm -f core conftest.err conftest.$ac_objext \
14294 conftest$ac_exeext conftest.$ac_ext
14295 test "x$ac_cv_have_resolv" = "xnot found" || break
14296 done
14297 LIBS="$ac_save_LIBS"
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14300 $as_echo "$ac_cv_have_resolv" >&6; }
14302 case "$ac_cv_have_resolv" in
14303 "not found") ;;
14304 "none required")
14306 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14309 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14311 RESOLV_LIBS=$ac_cv_have_resolv
14313 esac
14315 if test "x$ac_cv_have_resolv" != "xnot found"
14316 then
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14318 $as_echo_n "checking for res_getservers... " >&6; }
14319 if ${ac_cv_have_res_getservers+:} false; then :
14320 $as_echo_n "(cached) " >&6
14321 else
14322 ac_save_LIBS="$LIBS"
14323 LIBS="$RESOLV_LIBS $LIBS"
14324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14325 /* end confdefs.h. */
14326 #include <resolv.h>
14328 main ()
14330 res_getservers(NULL, NULL, 0);
14332 return 0;
14334 _ACEOF
14335 if ac_fn_c_try_link "$LINENO"; then :
14336 ac_cv_have_res_getservers=yes
14337 else
14338 ac_cv_have_res_getservers=no
14340 rm -f core conftest.err conftest.$ac_objext \
14341 conftest$ac_exeext conftest.$ac_ext
14342 LIBS="$ac_save_LIBS"
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14345 $as_echo "$ac_cv_have_res_getservers" >&6; }
14346 if test "$ac_cv_have_res_getservers" = "yes"
14347 then
14349 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14355 if test "x$with_cms" != "xno"
14356 then
14357 if ${LCMS2_CFLAGS:+false} :; then :
14358 if ${PKG_CONFIG+:} false; then :
14359 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14363 if ${LCMS2_LIBS:+false} :; then :
14364 if ${PKG_CONFIG+:} false; then :
14365 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14369 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14370 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14371 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14372 ac_save_CPPFLAGS=$CPPFLAGS
14373 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14374 for ac_header in lcms2.h
14375 do :
14376 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14377 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14378 cat >>confdefs.h <<_ACEOF
14379 #define HAVE_LCMS2_H 1
14380 _ACEOF
14384 done
14386 if test "$ac_cv_header_lcms2_h" = "yes"
14387 then
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14389 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14390 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14391 $as_echo_n "(cached) " >&6
14392 else
14393 ac_check_lib_save_LIBS=$LIBS
14394 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14396 /* end confdefs.h. */
14398 /* Override any GCC internal prototype to avoid an error.
14399 Use char because int might match the return type of a GCC
14400 builtin and then its argument prototype would still apply. */
14401 #ifdef __cplusplus
14402 extern "C"
14403 #endif
14404 char cmsOpenProfileFromFile ();
14406 main ()
14408 return cmsOpenProfileFromFile ();
14410 return 0;
14412 _ACEOF
14413 if ac_fn_c_try_link "$LINENO"; then :
14414 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14415 else
14416 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14418 rm -f core conftest.err conftest.$ac_objext \
14419 conftest$ac_exeext conftest.$ac_ext
14420 LIBS=$ac_check_lib_save_LIBS
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14423 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14424 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14426 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14428 else
14429 LCMS2_LIBS=""
14432 else
14433 LCMS2_CFLAGS=""
14434 LCMS2_LIBS=""
14436 CPPFLAGS=$ac_save_CPPFLAGS
14437 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14438 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14441 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14442 case "x$with_cms" in
14443 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14444 xno) ;;
14445 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14446 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14447 esac
14451 if test "x$with_freetype" != "xno"
14452 then
14453 if ${FREETYPE_CFLAGS:+false} :; then :
14454 if ${PKG_CONFIG+:} false; then :
14455 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14458 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14459 if ${FREETYPE_LIBS:+false} :; then :
14460 if ${PKG_CONFIG+:} false; then :
14461 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14464 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14465 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14466 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14467 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14468 ac_save_CPPFLAGS=$CPPFLAGS
14469 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14470 for ac_header in ft2build.h
14471 do :
14472 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14473 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14474 cat >>confdefs.h <<_ACEOF
14475 #define HAVE_FT2BUILD_H 1
14476 _ACEOF
14480 done
14482 if test "$ac_cv_header_ft2build_h" = "yes"
14483 then
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14485 $as_echo_n "checking for -lfreetype... " >&6; }
14486 if ${ac_cv_lib_soname_freetype+:} false; then :
14487 $as_echo_n "(cached) " >&6
14488 else
14489 ac_check_soname_save_LIBS=$LIBS
14490 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14494 /* Override any GCC internal prototype to avoid an error.
14495 Use char because int might match the return type of a GCC
14496 builtin and then its argument prototype would still apply. */
14497 #ifdef __cplusplus
14498 extern "C"
14499 #endif
14500 char FT_Init_FreeType ();
14502 main ()
14504 return FT_Init_FreeType ();
14506 return 0;
14508 _ACEOF
14509 if ac_fn_c_try_link "$LINENO"; then :
14510 case "$LIBEXT" in
14511 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14512 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'` ;;
14513 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14514 if ${ac_cv_lib_soname_freetype:+false} :; then :
14515 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14516 fi ;;
14517 esac
14518 else
14519 ac_cv_lib_soname_freetype=
14521 rm -f core conftest.err conftest.$ac_objext \
14522 conftest$ac_exeext conftest.$ac_ext
14523 LIBS=$ac_check_soname_save_LIBS
14525 if ${ac_cv_lib_soname_freetype:+false} :; then :
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14527 $as_echo "not found" >&6; }
14528 FREETYPE_LIBS=""
14529 else
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14531 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14533 cat >>confdefs.h <<_ACEOF
14534 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14535 _ACEOF
14538 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14540 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14541 #include FT_MODULE_H
14543 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14545 cat >>confdefs.h <<_ACEOF
14546 #define HAVE_FT_TRUETYPEENGINETYPE 1
14547 _ACEOF
14553 else
14554 FREETYPE_CFLAGS=""
14555 FREETYPE_LIBS=""
14557 CPPFLAGS=$ac_save_CPPFLAGS
14558 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14559 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14562 if test "x$ac_cv_lib_soname_freetype" = x; then :
14563 case "x$with_freetype" in
14564 xno) ;;
14565 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14566 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14567 esac
14568 enable_fonts=${enable_fonts:-no}
14571 ac_wine_check_funcs_save_LIBS="$LIBS"
14572 LIBS="$LIBS $PTHREAD_LIBS"
14573 for ac_func in \
14574 pthread_getthreadid_np
14575 do :
14576 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14577 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14578 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14579 cat >>confdefs.h <<_ACEOF
14580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14581 _ACEOF
14584 done
14586 LIBS="$ac_wine_check_funcs_save_LIBS"
14588 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14589 then
14590 if test "$ac_cv_header_gettext_po_h" = "yes"
14591 then
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14593 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14594 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14595 $as_echo_n "(cached) " >&6
14596 else
14597 ac_check_lib_save_LIBS=$LIBS
14598 LIBS="-lgettextpo $LIBS"
14599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14602 /* Override any GCC internal prototype to avoid an error.
14603 Use char because int might match the return type of a GCC
14604 builtin and then its argument prototype would still apply. */
14605 #ifdef __cplusplus
14606 extern "C"
14607 #endif
14608 char po_message_msgctxt ();
14610 main ()
14612 return po_message_msgctxt ();
14614 return 0;
14616 _ACEOF
14617 if ac_fn_c_try_link "$LINENO"; then :
14618 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14619 else
14620 ac_cv_lib_gettextpo_po_message_msgctxt=no
14622 rm -f core conftest.err conftest.$ac_objext \
14623 conftest$ac_exeext conftest.$ac_ext
14624 LIBS=$ac_check_lib_save_LIBS
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14627 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14628 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14630 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14632 GETTEXTPO_LIBS="-lgettextpo"
14637 if test "x$GETTEXTPO_LIBS" = "x"; then :
14638 case "x$with_gettextpo" in
14639 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14640 xno) ;;
14641 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14642 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14643 esac
14646 if test "$srcdir" != .; then :
14647 case "x$with_gettextpo" in
14648 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14649 xno) ;;
14650 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14651 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14652 esac
14657 if test "x$with_pulse" != "xno";
14658 then
14659 if ${PULSE_CFLAGS:+false} :; then :
14660 if ${PKG_CONFIG+:} false; then :
14661 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14665 if ${PULSE_LIBS:+false} :; then :
14666 if ${PKG_CONFIG+:} false; then :
14667 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14672 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14673 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14674 ac_save_CPPFLAGS=$CPPFLAGS
14675 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14676 for ac_header in pulse/pulseaudio.h
14677 do :
14678 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14679 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14680 cat >>confdefs.h <<_ACEOF
14681 #define HAVE_PULSE_PULSEAUDIO_H 1
14682 _ACEOF
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14684 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14685 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14686 $as_echo_n "(cached) " >&6
14687 else
14688 ac_check_lib_save_LIBS=$LIBS
14689 LIBS="-lpulse $PULSE_LIBS $LIBS"
14690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14691 /* end confdefs.h. */
14693 /* Override any GCC internal prototype to avoid an error.
14694 Use char because int might match the return type of a GCC
14695 builtin and then its argument prototype would still apply. */
14696 #ifdef __cplusplus
14697 extern "C"
14698 #endif
14699 char pa_stream_is_corked ();
14701 main ()
14703 return pa_stream_is_corked ();
14705 return 0;
14707 _ACEOF
14708 if ac_fn_c_try_link "$LINENO"; then :
14709 ac_cv_lib_pulse_pa_stream_is_corked=yes
14710 else
14711 ac_cv_lib_pulse_pa_stream_is_corked=no
14713 rm -f core conftest.err conftest.$ac_objext \
14714 conftest$ac_exeext conftest.$ac_ext
14715 LIBS=$ac_check_lib_save_LIBS
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14718 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14719 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14721 else
14722 PULSE_LIBS=""
14725 else
14726 PULSE_LIBS=""
14729 done
14731 CPPFLAGS=$ac_save_CPPFLAGS
14732 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14733 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14736 if test -z "$PULSE_LIBS"; then :
14737 case "x$with_pulse" in
14738 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14739 xno) ;;
14740 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14741 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14742 esac
14743 enable_winepulse_drv=${enable_winepulse_drv:-no}
14746 if test "x$with_gstreamer" != "xno"
14747 then
14748 if ${GSTREAMER_CFLAGS:+false} :; then :
14749 if ${PKG_CONFIG+:} false; then :
14750 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14754 if ${GSTREAMER_LIBS:+false} :; then :
14755 if ${PKG_CONFIG+:} false; then :
14756 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14761 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14762 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14763 ac_save_CPPFLAGS=$CPPFLAGS
14764 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14765 ac_gst_incl=""
14766 for i in $GSTREAMER_CFLAGS
14768 case "$i" in
14769 -I*) ac_gst_incl="$ac_gst_incl $i";;
14770 esac
14771 done
14772 GSTREAMER_CFLAGS=$ac_gst_incl
14773 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14774 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14775 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14777 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14779 /* end confdefs.h. */
14780 #include <gst/gst.h>
14782 main ()
14784 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14786 return 0;
14788 _ACEOF
14789 if ac_fn_c_try_compile "$LINENO"; then :
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14791 $as_echo "yes" >&6; }
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14793 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14794 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14795 $as_echo_n "(cached) " >&6
14796 else
14797 ac_check_lib_save_LIBS=$LIBS
14798 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14802 /* Override any GCC internal prototype to avoid an error.
14803 Use char because int might match the return type of a GCC
14804 builtin and then its argument prototype would still apply. */
14805 #ifdef __cplusplus
14806 extern "C"
14807 #endif
14808 char gst_pad_new ();
14810 main ()
14812 return gst_pad_new ();
14814 return 0;
14816 _ACEOF
14817 if ac_fn_c_try_link "$LINENO"; then :
14818 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14819 else
14820 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14822 rm -f core conftest.err conftest.$ac_objext \
14823 conftest$ac_exeext conftest.$ac_ext
14824 LIBS=$ac_check_lib_save_LIBS
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14827 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14828 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14832 else
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14834 $as_echo "no" >&6; }
14835 ac_glib2_broken=yes
14836 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14842 CPPFLAGS=$ac_save_CPPFLAGS
14843 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14844 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14847 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 :
14848 case "x$with_gstreamer" in
14849 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14850 xno) ;;
14851 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14852 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14853 esac
14856 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14858 ALSA_LIBS=""
14860 if test "x$with_alsa" != "xno"
14861 then
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14863 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14864 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14865 $as_echo_n "(cached) " >&6
14866 else
14867 ac_check_lib_save_LIBS=$LIBS
14868 LIBS="-lasound $LIBS"
14869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h. */
14872 /* Override any GCC internal prototype to avoid an error.
14873 Use char because int might match the return type of a GCC
14874 builtin and then its argument prototype would still apply. */
14875 #ifdef __cplusplus
14876 extern "C"
14877 #endif
14878 char snd_pcm_hw_params_get_access_mask ();
14880 main ()
14882 return snd_pcm_hw_params_get_access_mask ();
14884 return 0;
14886 _ACEOF
14887 if ac_fn_c_try_link "$LINENO"; then :
14888 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14889 else
14890 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14892 rm -f core conftest.err conftest.$ac_objext \
14893 conftest$ac_exeext conftest.$ac_ext
14894 LIBS=$ac_check_lib_save_LIBS
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14897 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14898 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14901 #include <alsa/asoundlib.h>
14903 main ()
14905 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14907 return 0;
14909 _ACEOF
14910 if ac_fn_c_try_compile "$LINENO"; then :
14911 ALSA_LIBS="-lasound"
14913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14917 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14919 if test "x$with_oss" != xno
14920 then
14921 ac_save_CPPFLAGS="$CPPFLAGS"
14922 if test -f /etc/oss.conf
14923 then
14924 . /etc/oss.conf
14926 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14927 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14928 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14929 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14930 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14932 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14934 cat >>confdefs.h <<_ACEOF
14935 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14936 _ACEOF
14938 OSS4_CFLAGS="$ac_oss_incl"
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14941 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14942 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14943 $as_echo_n "(cached) " >&6
14944 else
14945 ac_check_lib_save_LIBS=$LIBS
14946 LIBS="-lossaudio $LIBS"
14947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14948 /* end confdefs.h. */
14950 /* Override any GCC internal prototype to avoid an error.
14951 Use char because int might match the return type of a GCC
14952 builtin and then its argument prototype would still apply. */
14953 #ifdef __cplusplus
14954 extern "C"
14955 #endif
14956 char _oss_ioctl ();
14958 main ()
14960 return _oss_ioctl ();
14962 return 0;
14964 _ACEOF
14965 if ac_fn_c_try_link "$LINENO"; then :
14966 ac_cv_lib_ossaudio__oss_ioctl=yes
14967 else
14968 ac_cv_lib_ossaudio__oss_ioctl=no
14970 rm -f core conftest.err conftest.$ac_objext \
14971 conftest$ac_exeext conftest.$ac_ext
14972 LIBS=$ac_check_lib_save_LIBS
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14975 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14976 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14977 OSS4_LIBS="-lossaudio"
14986 CPPFLAGS="$ac_save_CPPFLAGS"
14988 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14989 case "x$with_oss" in
14990 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14991 xno) ;;
14992 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14993 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14994 esac
14995 enable_wineoss_drv=${enable_wineoss_drv:-no}
14998 if test "x$with_udev" != "xno"
14999 then
15000 if ${UDEV_CFLAGS:+false} :; then :
15001 if ${PKG_CONFIG+:} false; then :
15002 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
15006 if ${UDEV_LIBS:+false} :; then :
15007 if ${PKG_CONFIG+:} false; then :
15008 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
15012 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
15013 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
15014 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
15015 ac_save_CPPFLAGS=$CPPFLAGS
15016 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
15017 for ac_header in libudev.h
15018 do :
15019 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
15020 if test "x$ac_cv_header_libudev_h" = xyes; then :
15021 cat >>confdefs.h <<_ACEOF
15022 #define HAVE_LIBUDEV_H 1
15023 _ACEOF
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15025 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15026 if ${ac_cv_lib_udev_udev_new+:} false; then :
15027 $as_echo_n "(cached) " >&6
15028 else
15029 ac_check_lib_save_LIBS=$LIBS
15030 LIBS="-ludev $UDEV_LIBS $LIBS"
15031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15034 /* Override any GCC internal prototype to avoid an error.
15035 Use char because int might match the return type of a GCC
15036 builtin and then its argument prototype would still apply. */
15037 #ifdef __cplusplus
15038 extern "C"
15039 #endif
15040 char udev_new ();
15042 main ()
15044 return udev_new ();
15046 return 0;
15048 _ACEOF
15049 if ac_fn_c_try_link "$LINENO"; then :
15050 ac_cv_lib_udev_udev_new=yes
15051 else
15052 ac_cv_lib_udev_udev_new=no
15054 rm -f core conftest.err conftest.$ac_objext \
15055 conftest$ac_exeext conftest.$ac_ext
15056 LIBS=$ac_check_lib_save_LIBS
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15059 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15060 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15062 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15064 else
15065 UDEV_LIBS=""
15068 else
15069 UDEV_LIBS=""
15072 done
15074 CPPFLAGS=$ac_save_CPPFLAGS
15075 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15076 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15079 if test "x$UDEV_LIBS" = "x"; then :
15080 case "x$with_udev" in
15081 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15082 xno) ;;
15083 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15084 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15085 esac
15089 if test "x$with_unwind" != xno
15090 then
15091 if ${UNWIND_CFLAGS:+false} :; then :
15092 if ${PKG_CONFIG+:} false; then :
15093 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15097 if ${UNWIND_LIBS:+false} :; then :
15098 if ${PKG_CONFIG+:} false; then :
15099 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15103 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15104 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15105 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15106 ac_save_CPPFLAGS=$CPPFLAGS
15107 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15109 $as_echo_n "checking for unw_step... " >&6; }
15110 if ${wine_cv_have_unw_step+:} false; then :
15111 $as_echo_n "(cached) " >&6
15112 else
15113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15114 /* end confdefs.h. */
15115 #define UNW_LOCAL_ONLY
15116 #include <libunwind.h>
15118 main ()
15120 unw_cursor_t cursor; unw_step( &cursor );
15122 return 0;
15124 _ACEOF
15125 if ac_fn_c_try_link "$LINENO"; then :
15126 wine_cv_have_unw_step="yes"
15127 else
15128 wine_cv_have_unw_step="no"
15130 rm -f core conftest.err conftest.$ac_objext \
15131 conftest$ac_exeext conftest.$ac_ext
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15134 $as_echo "$wine_cv_have_unw_step" >&6; }
15135 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15136 then
15137 save_libs=$LIBS
15138 LIBS="$UNWIND_LIBS $LIBS"
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15140 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15141 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15142 $as_echo_n "(cached) " >&6
15143 else
15144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15145 /* end confdefs.h. */
15146 #define UNW_LOCAL_ONLY
15147 #include <libunwind.h>
15149 main ()
15151 unw_cursor_t cursor; unw_step( &cursor );
15153 return 0;
15155 _ACEOF
15156 if ac_fn_c_try_link "$LINENO"; then :
15157 wine_cv_have_libunwind_unw_step="yes"
15158 else
15159 wine_cv_have_libunwind_unw_step="no"
15161 rm -f core conftest.err conftest.$ac_objext \
15162 conftest$ac_exeext conftest.$ac_ext
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15165 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15166 LIBS=$save_libs
15168 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15169 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15170 then
15172 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15175 CPPFLAGS=$ac_save_CPPFLAGS
15176 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15177 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15180 case $host in
15181 aarch64*|*-darwin*)
15182 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15183 case "x$with_unwind" in
15184 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15185 xno) ;;
15186 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15187 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15188 esac
15190 fi ;;
15191 esac
15193 if test "x$with_sdl" != "xno"
15194 then
15195 if ${SDL2_CFLAGS:+false} :; then :
15196 if ${PKG_CONFIG+:} false; then :
15197 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15201 if ${SDL2_LIBS:+false} :; then :
15202 if ${PKG_CONFIG+:} false; then :
15203 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15207 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15208 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15209 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15210 ac_save_CPPFLAGS=$CPPFLAGS
15211 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15212 for ac_header in SDL2/SDL.h
15213 do :
15214 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15215 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15216 cat >>confdefs.h <<_ACEOF
15217 #define HAVE_SDL2_SDL_H 1
15218 _ACEOF
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15220 $as_echo_n "checking for -lSDL2... " >&6; }
15221 if ${ac_cv_lib_soname_SDL2+:} false; then :
15222 $as_echo_n "(cached) " >&6
15223 else
15224 ac_check_soname_save_LIBS=$LIBS
15225 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15227 /* end confdefs.h. */
15229 /* Override any GCC internal prototype to avoid an error.
15230 Use char because int might match the return type of a GCC
15231 builtin and then its argument prototype would still apply. */
15232 #ifdef __cplusplus
15233 extern "C"
15234 #endif
15235 char SDL_Init ();
15237 main ()
15239 return SDL_Init ();
15241 return 0;
15243 _ACEOF
15244 if ac_fn_c_try_link "$LINENO"; then :
15245 case "$LIBEXT" in
15246 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15247 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'` ;;
15248 *) 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'`
15249 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15250 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15251 fi ;;
15252 esac
15253 else
15254 ac_cv_lib_soname_SDL2=
15256 rm -f core conftest.err conftest.$ac_objext \
15257 conftest$ac_exeext conftest.$ac_ext
15258 LIBS=$ac_check_soname_save_LIBS
15260 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15262 $as_echo "not found" >&6; }
15264 else
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15266 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15268 cat >>confdefs.h <<_ACEOF
15269 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15270 _ACEOF
15276 done
15278 CPPFLAGS=$ac_save_CPPFLAGS
15279 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15280 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15283 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15284 case "x$with_sdl" in
15285 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15286 xno) ;;
15287 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15288 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15289 esac
15293 if test "x$with_faudio" != "xno"
15294 then
15295 if ${FAUDIO_CFLAGS:+false} :; then :
15296 if ${PKG_CONFIG+:} false; then :
15297 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15301 if ${FAUDIO_LIBS:+false} :; then :
15302 if ${PKG_CONFIG+:} false; then :
15303 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15307 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15308 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15309 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15310 ac_save_CPPFLAGS=$CPPFLAGS
15311 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15312 for ac_header in FAudio.h
15313 do :
15314 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15315 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15316 cat >>confdefs.h <<_ACEOF
15317 #define HAVE_FAUDIO_H 1
15318 _ACEOF
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15320 $as_echo_n "checking for -lFAudio... " >&6; }
15321 if ${ac_cv_lib_soname_FAudio+:} false; then :
15322 $as_echo_n "(cached) " >&6
15323 else
15324 ac_check_soname_save_LIBS=$LIBS
15325 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15327 /* end confdefs.h. */
15329 /* Override any GCC internal prototype to avoid an error.
15330 Use char because int might match the return type of a GCC
15331 builtin and then its argument prototype would still apply. */
15332 #ifdef __cplusplus
15333 extern "C"
15334 #endif
15335 char FAudioCreate ();
15337 main ()
15339 return FAudioCreate ();
15341 return 0;
15343 _ACEOF
15344 if ac_fn_c_try_link "$LINENO"; then :
15345 case "$LIBEXT" in
15346 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15347 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'` ;;
15348 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15349 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15350 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15351 fi ;;
15352 esac
15353 else
15354 ac_cv_lib_soname_FAudio=
15356 rm -f core conftest.err conftest.$ac_objext \
15357 conftest$ac_exeext conftest.$ac_ext
15358 LIBS=$ac_check_soname_save_LIBS
15360 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15362 $as_echo "not found" >&6; }
15364 else
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15366 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15368 cat >>confdefs.h <<_ACEOF
15369 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15370 _ACEOF
15376 done
15378 ac_wine_check_funcs_save_LIBS="$LIBS"
15379 LIBS="$LIBS $FAUDIO_LIBS"
15380 for ac_func in FAudio_CommitOperationSet \
15381 F3DAudioInitialize8 \
15382 FAudioLinkedVersion
15383 do :
15384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15386 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15387 cat >>confdefs.h <<_ACEOF
15388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15389 _ACEOF
15392 done
15394 LIBS="$ac_wine_check_funcs_save_LIBS"
15396 CPPFLAGS=$ac_save_CPPFLAGS
15397 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15398 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15401 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15402 case "x$with_faudio" in
15403 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15404 xno) ;;
15405 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15406 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15407 esac
15411 if test "x$with_capi" != "xno"
15412 then
15413 if ${CAPI20_CFLAGS:+false} :; then :
15414 if ${PKG_CONFIG+:} false; then :
15415 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15419 if ${CAPI20_LIBS:+false} :; then :
15420 if ${PKG_CONFIG+:} false; then :
15421 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15426 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15427 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15428 ac_save_CPPFLAGS=$CPPFLAGS
15429 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15430 for ac_header in capi20.h linux/capi.h
15431 do :
15432 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15433 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15435 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15436 cat >>confdefs.h <<_ACEOF
15437 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15438 _ACEOF
15442 done
15444 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15445 then
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15447 $as_echo_n "checking for -lcapi20... " >&6; }
15448 if ${ac_cv_lib_soname_capi20+:} false; then :
15449 $as_echo_n "(cached) " >&6
15450 else
15451 ac_check_soname_save_LIBS=$LIBS
15452 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15454 /* end confdefs.h. */
15456 /* Override any GCC internal prototype to avoid an error.
15457 Use char because int might match the return type of a GCC
15458 builtin and then its argument prototype would still apply. */
15459 #ifdef __cplusplus
15460 extern "C"
15461 #endif
15462 char capi20_register ();
15464 main ()
15466 return capi20_register ();
15468 return 0;
15470 _ACEOF
15471 if ac_fn_c_try_link "$LINENO"; then :
15472 case "$LIBEXT" in
15473 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15474 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'` ;;
15475 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15476 if ${ac_cv_lib_soname_capi20:+false} :; then :
15477 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15478 fi ;;
15479 esac
15480 else
15481 ac_cv_lib_soname_capi20=
15483 rm -f core conftest.err conftest.$ac_objext \
15484 conftest$ac_exeext conftest.$ac_ext
15485 LIBS=$ac_check_soname_save_LIBS
15487 if ${ac_cv_lib_soname_capi20:+false} :; then :
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15489 $as_echo "not found" >&6; }
15491 else
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15493 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15495 cat >>confdefs.h <<_ACEOF
15496 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15497 _ACEOF
15502 CPPFLAGS=$ac_save_CPPFLAGS
15503 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15504 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15507 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15508 case "x$with_capi" in
15509 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15510 xno) ;;
15511 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15512 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15513 esac
15517 if test "x$with_cups" != "xno"
15518 then
15519 if ${CUPS_CFLAGS:+false} :; then :
15520 if ${PKG_CONFIG+:} false; then :
15521 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15524 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15525 if ${CUPS_LIBS:+false} :; then :
15526 if ${PKG_CONFIG+:} false; then :
15527 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15530 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15531 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15532 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15533 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15534 ac_save_CPPFLAGS=$CPPFLAGS
15535 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15536 for ac_header in cups/cups.h cups/ppd.h
15537 do :
15538 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15539 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15540 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15541 cat >>confdefs.h <<_ACEOF
15542 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15543 _ACEOF
15547 done
15549 if test "$ac_cv_header_cups_cups_h" = "yes"
15550 then
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15552 $as_echo_n "checking for -lcups... " >&6; }
15553 if ${ac_cv_lib_soname_cups+:} false; then :
15554 $as_echo_n "(cached) " >&6
15555 else
15556 ac_check_soname_save_LIBS=$LIBS
15557 LIBS="-lcups $CUPS_LIBS $LIBS"
15558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15559 /* end confdefs.h. */
15561 /* Override any GCC internal prototype to avoid an error.
15562 Use char because int might match the return type of a GCC
15563 builtin and then its argument prototype would still apply. */
15564 #ifdef __cplusplus
15565 extern "C"
15566 #endif
15567 char cupsGetDefault ();
15569 main ()
15571 return cupsGetDefault ();
15573 return 0;
15575 _ACEOF
15576 if ac_fn_c_try_link "$LINENO"; then :
15577 case "$LIBEXT" in
15578 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15579 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'` ;;
15580 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15581 if ${ac_cv_lib_soname_cups:+false} :; then :
15582 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15583 fi ;;
15584 esac
15585 else
15586 ac_cv_lib_soname_cups=
15588 rm -f core conftest.err conftest.$ac_objext \
15589 conftest$ac_exeext conftest.$ac_ext
15590 LIBS=$ac_check_soname_save_LIBS
15592 if ${ac_cv_lib_soname_cups:+false} :; then :
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15594 $as_echo "not found" >&6; }
15595 CUPS_LIBS=""
15596 else
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15598 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15600 cat >>confdefs.h <<_ACEOF
15601 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15602 _ACEOF
15606 else
15607 CUPS_CFLAGS=""
15608 CUPS_LIBS=""
15610 CPPFLAGS=$ac_save_CPPFLAGS
15611 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15612 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15615 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15616 case "x$with_cups" in
15617 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15618 xno) ;;
15619 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15620 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15621 esac
15625 if test "x$with_fontconfig" != "xno"
15626 then
15627 if ${FONTCONFIG_CFLAGS:+false} :; then :
15628 if ${PKG_CONFIG+:} false; then :
15629 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15632 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15633 if ${FONTCONFIG_LIBS:+false} :; then :
15634 if ${PKG_CONFIG+:} false; then :
15635 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15638 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15640 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15641 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15642 ac_save_CPPFLAGS=$CPPFLAGS
15643 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15644 for ac_header in fontconfig/fontconfig.h
15645 do :
15646 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15647 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15648 cat >>confdefs.h <<_ACEOF
15649 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15650 _ACEOF
15654 done
15656 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15657 then
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15659 $as_echo_n "checking for -lfontconfig... " >&6; }
15660 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15661 $as_echo_n "(cached) " >&6
15662 else
15663 ac_check_soname_save_LIBS=$LIBS
15664 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15668 /* Override any GCC internal prototype to avoid an error.
15669 Use char because int might match the return type of a GCC
15670 builtin and then its argument prototype would still apply. */
15671 #ifdef __cplusplus
15672 extern "C"
15673 #endif
15674 char FcInit ();
15676 main ()
15678 return FcInit ();
15680 return 0;
15682 _ACEOF
15683 if ac_fn_c_try_link "$LINENO"; then :
15684 case "$LIBEXT" in
15685 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15686 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'` ;;
15687 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15688 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15689 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15690 fi ;;
15691 esac
15692 else
15693 ac_cv_lib_soname_fontconfig=
15695 rm -f core conftest.err conftest.$ac_objext \
15696 conftest$ac_exeext conftest.$ac_ext
15697 LIBS=$ac_check_soname_save_LIBS
15699 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15701 $as_echo "not found" >&6; }
15702 FONTCONFIG_CFLAGS=""
15703 else
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15705 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15707 cat >>confdefs.h <<_ACEOF
15708 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15709 _ACEOF
15713 else
15714 FONTCONFIG_CFLAGS=""
15716 CPPFLAGS=$ac_save_CPPFLAGS
15717 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15718 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15721 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15722 case "x$with_fontconfig" in
15723 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15724 xno) ;;
15725 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15726 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15727 esac
15731 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15732 then
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15734 $as_echo_n "checking for -lgsm... " >&6; }
15735 if ${ac_cv_lib_soname_gsm+:} false; then :
15736 $as_echo_n "(cached) " >&6
15737 else
15738 ac_check_soname_save_LIBS=$LIBS
15739 LIBS="-lgsm $LIBS"
15740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15741 /* end confdefs.h. */
15743 /* Override any GCC internal prototype to avoid an error.
15744 Use char because int might match the return type of a GCC
15745 builtin and then its argument prototype would still apply. */
15746 #ifdef __cplusplus
15747 extern "C"
15748 #endif
15749 char gsm_create ();
15751 main ()
15753 return gsm_create ();
15755 return 0;
15757 _ACEOF
15758 if ac_fn_c_try_link "$LINENO"; then :
15759 case "$LIBEXT" in
15760 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15761 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'` ;;
15762 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15763 if ${ac_cv_lib_soname_gsm:+false} :; then :
15764 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15765 fi ;;
15766 esac
15767 else
15768 ac_cv_lib_soname_gsm=
15770 rm -f core conftest.err conftest.$ac_objext \
15771 conftest$ac_exeext conftest.$ac_ext
15772 LIBS=$ac_check_soname_save_LIBS
15774 if ${ac_cv_lib_soname_gsm:+false} :; then :
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15776 $as_echo "not found" >&6; }
15778 else
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15780 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15782 cat >>confdefs.h <<_ACEOF
15783 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15784 _ACEOF
15789 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15790 case "x$with_gsm" in
15791 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15792 xno) ;;
15793 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15794 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15795 esac
15799 if test "x$with_krb5" != "xno"
15800 then
15801 if ${KRB5_CFLAGS:+false} :; then :
15802 if ${PKG_CONFIG+:} false; then :
15803 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15806 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15807 if ${KRB5_LIBS:+false} :; then :
15808 if ${PKG_CONFIG+:} false; then :
15809 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15812 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15814 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15815 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15816 ac_save_CPPFLAGS=$CPPFLAGS
15817 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15818 for ac_header in krb5/krb5.h
15819 do :
15820 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15821 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15822 cat >>confdefs.h <<_ACEOF
15823 #define HAVE_KRB5_KRB5_H 1
15824 _ACEOF
15828 done
15830 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15831 then
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15833 $as_echo_n "checking for -lkrb5... " >&6; }
15834 if ${ac_cv_lib_soname_krb5+:} false; then :
15835 $as_echo_n "(cached) " >&6
15836 else
15837 ac_check_soname_save_LIBS=$LIBS
15838 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15840 /* end confdefs.h. */
15842 /* Override any GCC internal prototype to avoid an error.
15843 Use char because int might match the return type of a GCC
15844 builtin and then its argument prototype would still apply. */
15845 #ifdef __cplusplus
15846 extern "C"
15847 #endif
15848 char krb5_is_config_principal ();
15850 main ()
15852 return krb5_is_config_principal ();
15854 return 0;
15856 _ACEOF
15857 if ac_fn_c_try_link "$LINENO"; then :
15858 case "$LIBEXT" in
15859 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15860 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'` ;;
15861 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15862 if ${ac_cv_lib_soname_krb5:+false} :; then :
15863 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15864 fi ;;
15865 esac
15866 else
15867 ac_cv_lib_soname_krb5=
15869 rm -f core conftest.err conftest.$ac_objext \
15870 conftest$ac_exeext conftest.$ac_ext
15871 LIBS=$ac_check_soname_save_LIBS
15873 if ${ac_cv_lib_soname_krb5:+false} :; then :
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15875 $as_echo "not found" >&6; }
15876 KRB5_CFLAGS=""
15877 else
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15879 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15881 cat >>confdefs.h <<_ACEOF
15882 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15883 _ACEOF
15887 else
15888 KRB5_CFLAGS=""
15890 CPPFLAGS=$ac_save_CPPFLAGS
15891 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15892 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15895 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15896 case "x$with_krb5" in
15897 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15898 xno) ;;
15899 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15900 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15901 esac
15904 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15906 if test "x$with_gssapi" != "xno"
15907 then
15908 if ${GSSAPI_CFLAGS:+false} :; then :
15909 if ${PKG_CONFIG+:} false; then :
15910 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15913 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15914 if ${GSSAPI_LIBS:+false} :; then :
15915 if ${PKG_CONFIG+:} false; then :
15916 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15919 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15921 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15922 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15923 ac_save_CPPFLAGS=$CPPFLAGS
15924 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15925 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15926 do :
15927 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15928 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15929 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15930 cat >>confdefs.h <<_ACEOF
15931 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15932 _ACEOF
15936 done
15938 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15939 then
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15941 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15942 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15943 $as_echo_n "(cached) " >&6
15944 else
15945 ac_check_soname_save_LIBS=$LIBS
15946 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15948 /* end confdefs.h. */
15950 /* Override any GCC internal prototype to avoid an error.
15951 Use char because int might match the return type of a GCC
15952 builtin and then its argument prototype would still apply. */
15953 #ifdef __cplusplus
15954 extern "C"
15955 #endif
15956 char gss_init_sec_context ();
15958 main ()
15960 return gss_init_sec_context ();
15962 return 0;
15964 _ACEOF
15965 if ac_fn_c_try_link "$LINENO"; then :
15966 case "$LIBEXT" in
15967 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15968 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'` ;;
15969 *) 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'`
15970 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15971 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15972 fi ;;
15973 esac
15974 else
15975 ac_cv_lib_soname_gssapi_krb5=
15977 rm -f core conftest.err conftest.$ac_objext \
15978 conftest$ac_exeext conftest.$ac_ext
15979 LIBS=$ac_check_soname_save_LIBS
15981 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15983 $as_echo "not found" >&6; }
15984 GSSAPI_CFLAGS=""
15985 else
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15987 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15989 cat >>confdefs.h <<_ACEOF
15990 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15991 _ACEOF
15995 else
15996 GSSAPI_CFLAGS=""
15998 CPPFLAGS=$ac_save_CPPFLAGS
15999 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16000 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16003 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
16004 case "x$with_gssapi" in
16005 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
16006 xno) ;;
16007 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
16008 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
16009 esac
16013 if test "x$with_jpeg" != "xno"
16014 then
16015 if ${JPEG_CFLAGS:+false} :; then :
16016 if ${PKG_CONFIG+:} false; then :
16017 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
16021 if ${JPEG_LIBS:+false} :; then :
16022 if ${PKG_CONFIG+:} false; then :
16023 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16028 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16029 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16030 ac_save_CPPFLAGS=$CPPFLAGS
16031 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16032 for ac_header in jpeglib.h
16033 do :
16034 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16035 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16036 cat >>confdefs.h <<_ACEOF
16037 #define HAVE_JPEGLIB_H 1
16038 _ACEOF
16042 done
16044 if test "$ac_cv_header_jpeglib_h" = "yes"
16045 then
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16047 $as_echo_n "checking for -ljpeg... " >&6; }
16048 if ${ac_cv_lib_soname_jpeg+:} false; then :
16049 $as_echo_n "(cached) " >&6
16050 else
16051 ac_check_soname_save_LIBS=$LIBS
16052 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16054 /* end confdefs.h. */
16056 /* Override any GCC internal prototype to avoid an error.
16057 Use char because int might match the return type of a GCC
16058 builtin and then its argument prototype would still apply. */
16059 #ifdef __cplusplus
16060 extern "C"
16061 #endif
16062 char jpeg_start_decompress ();
16064 main ()
16066 return jpeg_start_decompress ();
16068 return 0;
16070 _ACEOF
16071 if ac_fn_c_try_link "$LINENO"; then :
16072 case "$LIBEXT" in
16073 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16074 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'` ;;
16075 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16076 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16077 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16078 fi ;;
16079 esac
16080 else
16081 ac_cv_lib_soname_jpeg=
16083 rm -f core conftest.err conftest.$ac_objext \
16084 conftest$ac_exeext conftest.$ac_ext
16085 LIBS=$ac_check_soname_save_LIBS
16087 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16089 $as_echo "not found" >&6; }
16090 JPEG_CFLAGS=""
16091 else
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16093 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16095 cat >>confdefs.h <<_ACEOF
16096 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16097 _ACEOF
16101 else
16102 JPEG_CFLAGS=""
16104 CPPFLAGS=$ac_save_CPPFLAGS
16105 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16106 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16109 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16110 case "x$with_jpeg" in
16111 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16112 xno) ;;
16113 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16114 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16115 esac
16119 if test "x$with_png" != "xno"
16120 then
16121 if ${PNG_CFLAGS:+false} :; then :
16122 if ${PKG_CONFIG+:} false; then :
16123 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16126 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16127 if ${PNG_LIBS:+false} :; then :
16128 if ${PKG_CONFIG+:} false; then :
16129 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16132 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16134 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16135 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16136 ac_save_CPPFLAGS=$CPPFLAGS
16137 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16138 for ac_header in png.h
16139 do :
16140 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16141 if test "x$ac_cv_header_png_h" = xyes; then :
16142 cat >>confdefs.h <<_ACEOF
16143 #define HAVE_PNG_H 1
16144 _ACEOF
16148 done
16150 if test "$ac_cv_header_png_h" = "yes"
16151 then
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16153 $as_echo_n "checking for -lpng... " >&6; }
16154 if ${ac_cv_lib_soname_png+:} false; then :
16155 $as_echo_n "(cached) " >&6
16156 else
16157 ac_check_soname_save_LIBS=$LIBS
16158 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16160 /* end confdefs.h. */
16162 /* Override any GCC internal prototype to avoid an error.
16163 Use char because int might match the return type of a GCC
16164 builtin and then its argument prototype would still apply. */
16165 #ifdef __cplusplus
16166 extern "C"
16167 #endif
16168 char png_create_read_struct ();
16170 main ()
16172 return png_create_read_struct ();
16174 return 0;
16176 _ACEOF
16177 if ac_fn_c_try_link "$LINENO"; then :
16178 case "$LIBEXT" in
16179 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16180 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'` ;;
16181 *) 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'`
16182 if ${ac_cv_lib_soname_png:+false} :; then :
16183 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16184 fi ;;
16185 esac
16186 else
16187 ac_cv_lib_soname_png=
16189 rm -f core conftest.err conftest.$ac_objext \
16190 conftest$ac_exeext conftest.$ac_ext
16191 LIBS=$ac_check_soname_save_LIBS
16193 if ${ac_cv_lib_soname_png:+false} :; then :
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16195 $as_echo "not found" >&6; }
16196 PNG_CFLAGS=""
16197 else
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16199 $as_echo "$ac_cv_lib_soname_png" >&6; }
16201 cat >>confdefs.h <<_ACEOF
16202 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16203 _ACEOF
16207 else
16208 PNG_CFLAGS=""
16210 CPPFLAGS=$ac_save_CPPFLAGS
16211 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16212 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16215 if test "x$ac_cv_lib_soname_png" = "x"; then :
16216 case "x$with_png" in
16217 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16218 xno) ;;
16219 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16220 This is an error since --with-png was requested." "$LINENO" 5 ;;
16221 esac
16225 if test "x$with_tiff" != "xno"
16226 then
16227 if ${TIFF_CFLAGS:+false} :; then :
16228 if ${PKG_CONFIG+:} false; then :
16229 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16233 if ${TIFF_LIBS:+false} :; then :
16234 if ${PKG_CONFIG+:} false; then :
16235 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16240 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16241 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16242 ac_save_CPPFLAGS=$CPPFLAGS
16243 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16244 for ac_header in tiffio.h
16245 do :
16246 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16247 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16248 cat >>confdefs.h <<_ACEOF
16249 #define HAVE_TIFFIO_H 1
16250 _ACEOF
16254 done
16256 if test "$ac_cv_header_tiffio_h" = "yes"
16257 then
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16259 $as_echo_n "checking for -ltiff... " >&6; }
16260 if ${ac_cv_lib_soname_tiff+:} false; then :
16261 $as_echo_n "(cached) " >&6
16262 else
16263 ac_check_soname_save_LIBS=$LIBS
16264 LIBS="-ltiff $TIFF_LIBS $LIBS"
16265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16266 /* end confdefs.h. */
16268 /* Override any GCC internal prototype to avoid an error.
16269 Use char because int might match the return type of a GCC
16270 builtin and then its argument prototype would still apply. */
16271 #ifdef __cplusplus
16272 extern "C"
16273 #endif
16274 char TIFFClientOpen ();
16276 main ()
16278 return TIFFClientOpen ();
16280 return 0;
16282 _ACEOF
16283 if ac_fn_c_try_link "$LINENO"; then :
16284 case "$LIBEXT" in
16285 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16286 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'` ;;
16287 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16288 if ${ac_cv_lib_soname_tiff:+false} :; then :
16289 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16290 fi ;;
16291 esac
16292 else
16293 ac_cv_lib_soname_tiff=
16295 rm -f core conftest.err conftest.$ac_objext \
16296 conftest$ac_exeext conftest.$ac_ext
16297 LIBS=$ac_check_soname_save_LIBS
16299 if ${ac_cv_lib_soname_tiff:+false} :; then :
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16301 $as_echo "not found" >&6; }
16303 else
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16305 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16307 cat >>confdefs.h <<_ACEOF
16308 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16309 _ACEOF
16314 CPPFLAGS=$ac_save_CPPFLAGS
16315 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16316 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16319 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16320 case "x$with_tiff" in
16321 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16322 xno) ;;
16323 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16324 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16325 esac
16329 if test "x$with_mpg123" != "xno"
16330 then
16331 if ${MPG123_CFLAGS:+false} :; then :
16332 if ${PKG_CONFIG+:} false; then :
16333 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16337 if ${MPG123_LIBS:+false} :; then :
16338 if ${PKG_CONFIG+:} false; then :
16339 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16343 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16344 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16345 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16346 ac_save_CPPFLAGS=$CPPFLAGS
16347 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16348 for ac_header in mpg123.h
16349 do :
16350 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16351 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16352 cat >>confdefs.h <<_ACEOF
16353 #define HAVE_MPG123_H 1
16354 _ACEOF
16358 done
16360 if test "$ac_cv_header_mpg123_h" = "yes"
16361 then
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16363 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16364 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16365 $as_echo_n "(cached) " >&6
16366 else
16367 ac_check_lib_save_LIBS=$LIBS
16368 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16372 /* Override any GCC internal prototype to avoid an error.
16373 Use char because int might match the return type of a GCC
16374 builtin and then its argument prototype would still apply. */
16375 #ifdef __cplusplus
16376 extern "C"
16377 #endif
16378 char mpg123_feed ();
16380 main ()
16382 return mpg123_feed ();
16384 return 0;
16386 _ACEOF
16387 if ac_fn_c_try_link "$LINENO"; then :
16388 ac_cv_lib_mpg123_mpg123_feed=yes
16389 else
16390 ac_cv_lib_mpg123_mpg123_feed=no
16392 rm -f core conftest.err conftest.$ac_objext \
16393 conftest$ac_exeext conftest.$ac_ext
16394 LIBS=$ac_check_lib_save_LIBS
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16397 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16398 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16400 else
16401 MPG123_LIBS=""
16404 else
16405 MPG123_CFLAGS=""
16406 MPG123_LIBS=""
16408 CPPFLAGS=$ac_save_CPPFLAGS
16409 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16410 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16413 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16414 case "x$with_mpg123" in
16415 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16416 xno) ;;
16417 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16418 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16419 esac
16420 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16422 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16424 if test "$ac_cv_header_AL_al_h" = "yes"
16425 then
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16427 $as_echo_n "checking for -lopenal... " >&6; }
16428 if ${ac_cv_lib_soname_openal+:} false; then :
16429 $as_echo_n "(cached) " >&6
16430 else
16431 ac_check_soname_save_LIBS=$LIBS
16432 LIBS="-lopenal $LIBS"
16433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16434 /* end confdefs.h. */
16436 /* Override any GCC internal prototype to avoid an error.
16437 Use char because int might match the return type of a GCC
16438 builtin and then its argument prototype would still apply. */
16439 #ifdef __cplusplus
16440 extern "C"
16441 #endif
16442 char alGetSource3i ();
16444 main ()
16446 return alGetSource3i ();
16448 return 0;
16450 _ACEOF
16451 if ac_fn_c_try_link "$LINENO"; then :
16452 case "$LIBEXT" in
16453 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16454 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'` ;;
16455 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16456 if ${ac_cv_lib_soname_openal:+false} :; then :
16457 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16458 fi ;;
16459 esac
16460 else
16461 ac_cv_lib_soname_openal=
16463 rm -f core conftest.err conftest.$ac_objext \
16464 conftest$ac_exeext conftest.$ac_ext
16465 LIBS=$ac_check_soname_save_LIBS
16467 if ${ac_cv_lib_soname_openal:+false} :; then :
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16469 $as_echo "not found" >&6; }
16471 else
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16473 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16475 cat >>confdefs.h <<_ACEOF
16476 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16477 _ACEOF
16479 OPENAL_LIBS="-lopenal"
16481 ac_cv_lib_openal=yes
16483 cat >>confdefs.h <<_ACEOF
16484 #define HAVE_OPENAL 1
16485 _ACEOF
16489 if test "x$ac_cv_lib_openal" != xyes; then :
16490 case "x$with_openal" in
16491 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16492 xno) ;;
16493 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16494 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16495 esac
16496 enable_openal32=${enable_openal32:-no}
16499 if test "x$ac_cv_lib_soname_FAudio" = "x"
16500 then
16501 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16502 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16503 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16504 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16505 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16506 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16507 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16508 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16509 enable_xapofx1_1=${enable_xapofx1_1:-no}
16510 enable_xapofx1_2=${enable_xapofx1_2:-no}
16511 enable_xapofx1_3=${enable_xapofx1_3:-no}
16512 enable_xapofx1_4=${enable_xapofx1_4:-no}
16513 enable_xapofx1_5=${enable_xapofx1_5:-no}
16514 enable_xaudio2_0=${enable_xaudio2_0:-no}
16515 enable_xaudio2_1=${enable_xaudio2_1:-no}
16516 enable_xaudio2_2=${enable_xaudio2_2:-no}
16517 enable_xaudio2_3=${enable_xaudio2_3:-no}
16518 enable_xaudio2_4=${enable_xaudio2_4:-no}
16519 enable_xaudio2_5=${enable_xaudio2_5:-no}
16520 enable_xaudio2_6=${enable_xaudio2_6:-no}
16521 enable_xaudio2_7=${enable_xaudio2_7:-no}
16522 enable_xaudio2_8=${enable_xaudio2_8:-no}
16523 enable_xaudio2_9=${enable_xaudio2_9:-no}
16526 if test "$ac_cv_header_kstat_h" = "yes"
16527 then
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16529 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16530 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16531 $as_echo_n "(cached) " >&6
16532 else
16533 ac_check_lib_save_LIBS=$LIBS
16534 LIBS="-lkstat $LIBS"
16535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16538 /* Override any GCC internal prototype to avoid an error.
16539 Use char because int might match the return type of a GCC
16540 builtin and then its argument prototype would still apply. */
16541 #ifdef __cplusplus
16542 extern "C"
16543 #endif
16544 char kstat_open ();
16546 main ()
16548 return kstat_open ();
16550 return 0;
16552 _ACEOF
16553 if ac_fn_c_try_link "$LINENO"; then :
16554 ac_cv_lib_kstat_kstat_open=yes
16555 else
16556 ac_cv_lib_kstat_kstat_open=no
16558 rm -f core conftest.err conftest.$ac_objext \
16559 conftest$ac_exeext conftest.$ac_ext
16560 LIBS=$ac_check_lib_save_LIBS
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16563 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16564 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16566 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16568 KSTAT_LIBS="-lkstat"
16574 if test "$ac_cv_header_libprocstat_h" = "yes"
16575 then
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16577 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16578 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16579 $as_echo_n "(cached) " >&6
16580 else
16581 ac_check_lib_save_LIBS=$LIBS
16582 LIBS="-lprocstat $LIBS"
16583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16584 /* end confdefs.h. */
16586 /* Override any GCC internal prototype to avoid an error.
16587 Use char because int might match the return type of a GCC
16588 builtin and then its argument prototype would still apply. */
16589 #ifdef __cplusplus
16590 extern "C"
16591 #endif
16592 char procstat_open_sysctl ();
16594 main ()
16596 return procstat_open_sysctl ();
16598 return 0;
16600 _ACEOF
16601 if ac_fn_c_try_link "$LINENO"; then :
16602 ac_cv_lib_procstat_procstat_open_sysctl=yes
16603 else
16604 ac_cv_lib_procstat_procstat_open_sysctl=no
16606 rm -f core conftest.err conftest.$ac_objext \
16607 conftest$ac_exeext conftest.$ac_ext
16608 LIBS=$ac_check_lib_save_LIBS
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16611 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16612 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16614 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16616 PROCSTAT_LIBS="-lprocstat"
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16623 $as_echo_n "checking for -lodbc... " >&6; }
16624 if ${ac_cv_lib_soname_odbc+:} false; then :
16625 $as_echo_n "(cached) " >&6
16626 else
16627 ac_check_soname_save_LIBS=$LIBS
16628 LIBS="-lodbc $LIBS"
16629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16630 /* end confdefs.h. */
16632 /* Override any GCC internal prototype to avoid an error.
16633 Use char because int might match the return type of a GCC
16634 builtin and then its argument prototype would still apply. */
16635 #ifdef __cplusplus
16636 extern "C"
16637 #endif
16638 char SQLConnect ();
16640 main ()
16642 return SQLConnect ();
16644 return 0;
16646 _ACEOF
16647 if ac_fn_c_try_link "$LINENO"; then :
16648 case "$LIBEXT" in
16649 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16650 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'` ;;
16651 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16652 if ${ac_cv_lib_soname_odbc:+false} :; then :
16653 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16654 fi ;;
16655 esac
16656 else
16657 ac_cv_lib_soname_odbc=
16659 rm -f core conftest.err conftest.$ac_objext \
16660 conftest$ac_exeext conftest.$ac_ext
16661 LIBS=$ac_check_soname_save_LIBS
16663 if ${ac_cv_lib_soname_odbc:+false} :; then :
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16665 $as_echo "not found" >&6; }
16666 cat >>confdefs.h <<_ACEOF
16667 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16668 _ACEOF
16670 else
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16672 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16674 cat >>confdefs.h <<_ACEOF
16675 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16676 _ACEOF
16681 if test "x$with_netapi" != "xno"
16682 then
16683 if ${NETAPI_CFLAGS:+false} :; then :
16684 if ${PKG_CONFIG+:} false; then :
16685 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16689 if ${NETAPI_LIBS:+false} :; then :
16690 if ${PKG_CONFIG+:} false; then :
16691 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16696 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16697 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16698 ac_save_CPPFLAGS=$CPPFLAGS
16699 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16701 $as_echo_n "checking for -lnetapi... " >&6; }
16702 if ${ac_cv_lib_soname_netapi+:} false; then :
16703 $as_echo_n "(cached) " >&6
16704 else
16705 ac_check_soname_save_LIBS=$LIBS
16706 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16708 /* end confdefs.h. */
16710 /* Override any GCC internal prototype to avoid an error.
16711 Use char because int might match the return type of a GCC
16712 builtin and then its argument prototype would still apply. */
16713 #ifdef __cplusplus
16714 extern "C"
16715 #endif
16716 char libnetapi_init ();
16718 main ()
16720 return libnetapi_init ();
16722 return 0;
16724 _ACEOF
16725 if ac_fn_c_try_link "$LINENO"; then :
16726 case "$LIBEXT" in
16727 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16728 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'` ;;
16729 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16730 if ${ac_cv_lib_soname_netapi:+false} :; then :
16731 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16732 fi ;;
16733 esac
16734 else
16735 ac_cv_lib_soname_netapi=
16737 rm -f core conftest.err conftest.$ac_objext \
16738 conftest$ac_exeext conftest.$ac_ext
16739 LIBS=$ac_check_soname_save_LIBS
16741 if ${ac_cv_lib_soname_netapi:+false} :; then :
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16743 $as_echo "not found" >&6; }
16744 cat >>confdefs.h <<_ACEOF
16745 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16746 _ACEOF
16748 else
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16750 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16752 cat >>confdefs.h <<_ACEOF
16753 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16754 _ACEOF
16758 CPPFLAGS=$ac_save_CPPFLAGS
16759 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16760 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16764 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16765 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16766 then
16767 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16770 if test "x$with_vulkan" != "xno"
16771 then
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16773 $as_echo_n "checking for -lvulkan... " >&6; }
16774 if ${ac_cv_lib_soname_vulkan+:} false; then :
16775 $as_echo_n "(cached) " >&6
16776 else
16777 ac_check_soname_save_LIBS=$LIBS
16778 LIBS="-lvulkan $LIBS"
16779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16780 /* end confdefs.h. */
16782 /* Override any GCC internal prototype to avoid an error.
16783 Use char because int might match the return type of a GCC
16784 builtin and then its argument prototype would still apply. */
16785 #ifdef __cplusplus
16786 extern "C"
16787 #endif
16788 char vkGetInstanceProcAddr ();
16790 main ()
16792 return vkGetInstanceProcAddr ();
16794 return 0;
16796 _ACEOF
16797 if ac_fn_c_try_link "$LINENO"; then :
16798 case "$LIBEXT" in
16799 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16800 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'` ;;
16801 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16802 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16803 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16804 fi ;;
16805 esac
16806 else
16807 ac_cv_lib_soname_vulkan=
16809 rm -f core conftest.err conftest.$ac_objext \
16810 conftest$ac_exeext conftest.$ac_ext
16811 LIBS=$ac_check_soname_save_LIBS
16813 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16815 $as_echo "not found" >&6; }
16817 else
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16819 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16821 cat >>confdefs.h <<_ACEOF
16822 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16823 _ACEOF
16827 if test "x$ac_cv_lib_soname_vulkan" = "x"
16828 then
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16830 $as_echo_n "checking for -lMoltenVK... " >&6; }
16831 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16832 $as_echo_n "(cached) " >&6
16833 else
16834 ac_check_soname_save_LIBS=$LIBS
16835 LIBS="-lMoltenVK $LIBS"
16836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16837 /* end confdefs.h. */
16839 /* Override any GCC internal prototype to avoid an error.
16840 Use char because int might match the return type of a GCC
16841 builtin and then its argument prototype would still apply. */
16842 #ifdef __cplusplus
16843 extern "C"
16844 #endif
16845 char vkGetInstanceProcAddr ();
16847 main ()
16849 return vkGetInstanceProcAddr ();
16851 return 0;
16853 _ACEOF
16854 if ac_fn_c_try_link "$LINENO"; then :
16855 case "$LIBEXT" in
16856 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16857 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'` ;;
16858 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16859 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16860 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16861 fi ;;
16862 esac
16863 else
16864 ac_cv_lib_soname_MoltenVK=
16866 rm -f core conftest.err conftest.$ac_objext \
16867 conftest$ac_exeext conftest.$ac_ext
16868 LIBS=$ac_check_soname_save_LIBS
16870 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16872 $as_echo "not found" >&6; }
16874 else
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16876 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16878 cat >>confdefs.h <<_ACEOF
16879 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16880 _ACEOF
16886 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16887 case "x$with_vulkan" in
16888 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16889 xno) ;;
16890 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16891 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16892 esac
16896 if test "x$with_vkd3d" != "xno"
16897 then
16898 if ${VKD3D_CFLAGS:+false} :; then :
16899 if ${PKG_CONFIG+:} false; then :
16900 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16904 if ${VKD3D_LIBS:+false} :; then :
16905 if ${PKG_CONFIG+:} false; then :
16906 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16911 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16912 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16913 ac_save_CPPFLAGS=$CPPFLAGS
16914 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16916 $as_echo_n "checking for -lvkd3d... " >&6; }
16917 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16918 $as_echo_n "(cached) " >&6
16919 else
16920 ac_check_soname_save_LIBS=$LIBS
16921 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16923 /* end confdefs.h. */
16925 /* Override any GCC internal prototype to avoid an error.
16926 Use char because int might match the return type of a GCC
16927 builtin and then its argument prototype would still apply. */
16928 #ifdef __cplusplus
16929 extern "C"
16930 #endif
16931 char vkd3d_get_dxgi_format ();
16933 main ()
16935 return vkd3d_get_dxgi_format ();
16937 return 0;
16939 _ACEOF
16940 if ac_fn_c_try_link "$LINENO"; then :
16941 case "$LIBEXT" in
16942 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16943 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'` ;;
16944 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16945 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16946 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16947 fi ;;
16948 esac
16949 else
16950 ac_cv_lib_soname_vkd3d=
16952 rm -f core conftest.err conftest.$ac_objext \
16953 conftest$ac_exeext conftest.$ac_ext
16954 LIBS=$ac_check_soname_save_LIBS
16956 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16958 $as_echo "not found" >&6; }
16960 else
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16962 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16964 cat >>confdefs.h <<_ACEOF
16965 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16966 _ACEOF
16970 CPPFLAGS=$ac_save_CPPFLAGS
16971 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16972 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16975 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16976 case "x$with_vkd3d" in
16977 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16978 xno) ;;
16979 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16980 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16981 esac
16984 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16987 EXTRACFLAGS=""
16989 if test "x${GCC}" = "xyes"
16990 then
16991 EXTRACFLAGS="-Wall -pipe"
16993 saved_CFLAGS=$CFLAGS
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16995 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16996 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16997 $as_echo_n "(cached) " >&6
16998 else
16999 ac_wine_try_cflags_saved=$CFLAGS
17000 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17002 /* end confdefs.h. */
17003 int main(int argc, char **argv) { return 0; }
17004 _ACEOF
17005 if ac_fn_c_try_link "$LINENO"; then :
17006 ac_cv_cflags__Werror_unknown_warning_option=yes
17007 else
17008 ac_cv_cflags__Werror_unknown_warning_option=no
17010 rm -f core conftest.err conftest.$ac_objext \
17011 conftest$ac_exeext conftest.$ac_ext
17012 CFLAGS=$ac_wine_try_cflags_saved
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17015 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17016 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17017 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17020 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17021 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17022 $as_echo_n "(cached) " >&6
17023 else
17024 ac_wine_try_cflags_saved=$CFLAGS
17025 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17028 int main(int argc, char **argv) { return 0; }
17029 _ACEOF
17030 if ac_fn_c_try_link "$LINENO"; then :
17031 ac_cv_cflags__Werror_unused_command_line_argument=yes
17032 else
17033 ac_cv_cflags__Werror_unused_command_line_argument=no
17035 rm -f core conftest.err conftest.$ac_objext \
17036 conftest$ac_exeext conftest.$ac_ext
17037 CFLAGS=$ac_wine_try_cflags_saved
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17040 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17041 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17042 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17045 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17046 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17047 $as_echo_n "(cached) " >&6
17048 else
17049 ac_wine_try_cflags_saved=$CFLAGS
17050 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17053 int main(int argc, char **argv) { return 0; }
17054 _ACEOF
17055 if ac_fn_c_try_link "$LINENO"; then :
17056 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17057 else
17058 ac_cv_cflags__Werror_ignored_optimization_argument=no
17060 rm -f core conftest.err conftest.$ac_objext \
17061 conftest$ac_exeext conftest.$ac_ext
17062 CFLAGS=$ac_wine_try_cflags_saved
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17065 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17066 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17067 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17070 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17071 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17072 $as_echo_n "(cached) " >&6
17073 else
17074 ac_wine_try_cflags_saved=$CFLAGS
17075 CFLAGS="$CFLAGS -fcf-protection=none"
17076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17077 /* end confdefs.h. */
17078 int main(int argc, char **argv) { return 0; }
17079 _ACEOF
17080 if ac_fn_c_try_link "$LINENO"; then :
17081 ac_cv_cflags__fcf_protection_none=yes
17082 else
17083 ac_cv_cflags__fcf_protection_none=no
17085 rm -f core conftest.err conftest.$ac_objext \
17086 conftest$ac_exeext conftest.$ac_ext
17087 CFLAGS=$ac_wine_try_cflags_saved
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17090 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17091 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17092 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17095 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17096 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17097 $as_echo_n "(cached) " >&6
17098 else
17099 ac_wine_try_cflags_saved=$CFLAGS
17100 CFLAGS="$CFLAGS -fno-stack-protector"
17101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17102 /* end confdefs.h. */
17103 int main(int argc, char **argv) { return 0; }
17104 _ACEOF
17105 if ac_fn_c_try_link "$LINENO"; then :
17106 ac_cv_cflags__fno_stack_protector=yes
17107 else
17108 ac_cv_cflags__fno_stack_protector=no
17110 rm -f core conftest.err conftest.$ac_objext \
17111 conftest$ac_exeext conftest.$ac_ext
17112 CFLAGS=$ac_wine_try_cflags_saved
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17115 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17116 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17117 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17120 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17121 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17122 $as_echo_n "(cached) " >&6
17123 else
17124 ac_wine_try_cflags_saved=$CFLAGS
17125 CFLAGS="$CFLAGS -fno-strict-aliasing"
17126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17127 /* end confdefs.h. */
17128 int main(int argc, char **argv) { return 0; }
17129 _ACEOF
17130 if ac_fn_c_try_link "$LINENO"; then :
17131 ac_cv_cflags__fno_strict_aliasing=yes
17132 else
17133 ac_cv_cflags__fno_strict_aliasing=no
17135 rm -f core conftest.err conftest.$ac_objext \
17136 conftest$ac_exeext conftest.$ac_ext
17137 CFLAGS=$ac_wine_try_cflags_saved
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17140 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17141 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17142 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17145 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17146 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17147 $as_echo_n "(cached) " >&6
17148 else
17149 ac_wine_try_cflags_saved=$CFLAGS
17150 CFLAGS="$CFLAGS -fexcess-precision=standard"
17151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h. */
17153 int main(int argc, char **argv) { return 0; }
17154 _ACEOF
17155 if ac_fn_c_try_link "$LINENO"; then :
17156 ac_cv_cflags__fexcess_precision_standard=yes
17157 else
17158 ac_cv_cflags__fexcess_precision_standard=no
17160 rm -f core conftest.err conftest.$ac_objext \
17161 conftest$ac_exeext conftest.$ac_ext
17162 CFLAGS=$ac_wine_try_cflags_saved
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17165 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17166 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17167 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17171 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17172 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17173 $as_echo_n "(cached) " >&6
17174 else
17175 ac_wine_try_cflags_saved=$CFLAGS
17176 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17178 /* end confdefs.h. */
17179 int main(int argc, char **argv) { return 0; }
17180 _ACEOF
17181 if ac_fn_c_try_link "$LINENO"; then :
17182 ac_cv_cflags__Wdeclaration_after_statement=yes
17183 else
17184 ac_cv_cflags__Wdeclaration_after_statement=no
17186 rm -f core conftest.err conftest.$ac_objext \
17187 conftest$ac_exeext conftest.$ac_ext
17188 CFLAGS=$ac_wine_try_cflags_saved
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17191 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17192 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17193 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17196 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17197 if ${ac_cv_cflags__Wempty_body+:} false; then :
17198 $as_echo_n "(cached) " >&6
17199 else
17200 ac_wine_try_cflags_saved=$CFLAGS
17201 CFLAGS="$CFLAGS -Wempty-body"
17202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h. */
17204 int main(int argc, char **argv) { return 0; }
17205 _ACEOF
17206 if ac_fn_c_try_link "$LINENO"; then :
17207 ac_cv_cflags__Wempty_body=yes
17208 else
17209 ac_cv_cflags__Wempty_body=no
17211 rm -f core conftest.err conftest.$ac_objext \
17212 conftest$ac_exeext conftest.$ac_ext
17213 CFLAGS=$ac_wine_try_cflags_saved
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17216 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17217 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17218 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17221 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17222 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17223 $as_echo_n "(cached) " >&6
17224 else
17225 ac_wine_try_cflags_saved=$CFLAGS
17226 CFLAGS="$CFLAGS -Wignored-qualifiers"
17227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17229 int main(int argc, char **argv) { return 0; }
17230 _ACEOF
17231 if ac_fn_c_try_link "$LINENO"; then :
17232 ac_cv_cflags__Wignored_qualifiers=yes
17233 else
17234 ac_cv_cflags__Wignored_qualifiers=no
17236 rm -f core conftest.err conftest.$ac_objext \
17237 conftest$ac_exeext conftest.$ac_ext
17238 CFLAGS=$ac_wine_try_cflags_saved
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17241 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17242 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17243 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17246 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17247 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17248 $as_echo_n "(cached) " >&6
17249 else
17250 ac_wine_try_cflags_saved=$CFLAGS
17251 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17254 int main(int argc, char **argv) { return 0; }
17255 _ACEOF
17256 if ac_fn_c_try_link "$LINENO"; then :
17257 ac_cv_cflags__Wpacked_not_aligned=yes
17258 else
17259 ac_cv_cflags__Wpacked_not_aligned=no
17261 rm -f core conftest.err conftest.$ac_objext \
17262 conftest$ac_exeext conftest.$ac_ext
17263 CFLAGS=$ac_wine_try_cflags_saved
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17266 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17267 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17268 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17271 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17272 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17273 $as_echo_n "(cached) " >&6
17274 else
17275 ac_wine_try_cflags_saved=$CFLAGS
17276 CFLAGS="$CFLAGS -Wpragma-pack"
17277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17279 int main(int argc, char **argv) { return 0; }
17280 _ACEOF
17281 if ac_fn_c_try_link "$LINENO"; then :
17282 ac_cv_cflags__Wpragma_pack=yes
17283 else
17284 ac_cv_cflags__Wpragma_pack=no
17286 rm -f core conftest.err conftest.$ac_objext \
17287 conftest$ac_exeext conftest.$ac_ext
17288 CFLAGS=$ac_wine_try_cflags_saved
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17291 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17292 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17293 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17296 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17297 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17298 $as_echo_n "(cached) " >&6
17299 else
17300 ac_wine_try_cflags_saved=$CFLAGS
17301 CFLAGS="$CFLAGS -Wshift-overflow=2"
17302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17304 int main(int argc, char **argv) { return 0; }
17305 _ACEOF
17306 if ac_fn_c_try_link "$LINENO"; then :
17307 ac_cv_cflags__Wshift_overflow_2=yes
17308 else
17309 ac_cv_cflags__Wshift_overflow_2=no
17311 rm -f core conftest.err conftest.$ac_objext \
17312 conftest$ac_exeext conftest.$ac_ext
17313 CFLAGS=$ac_wine_try_cflags_saved
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17316 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17317 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17318 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17321 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17322 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17323 $as_echo_n "(cached) " >&6
17324 else
17325 ac_wine_try_cflags_saved=$CFLAGS
17326 CFLAGS="$CFLAGS -Wstrict-prototypes"
17327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17329 int main(int argc, char **argv) { return 0; }
17330 _ACEOF
17331 if ac_fn_c_try_link "$LINENO"; then :
17332 ac_cv_cflags__Wstrict_prototypes=yes
17333 else
17334 ac_cv_cflags__Wstrict_prototypes=no
17336 rm -f core conftest.err conftest.$ac_objext \
17337 conftest$ac_exeext conftest.$ac_ext
17338 CFLAGS=$ac_wine_try_cflags_saved
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17341 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17342 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17343 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17346 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17347 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17348 $as_echo_n "(cached) " >&6
17349 else
17350 ac_wine_try_cflags_saved=$CFLAGS
17351 CFLAGS="$CFLAGS -Wtype-limits"
17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h. */
17354 int main(int argc, char **argv) { return 0; }
17355 _ACEOF
17356 if ac_fn_c_try_link "$LINENO"; then :
17357 ac_cv_cflags__Wtype_limits=yes
17358 else
17359 ac_cv_cflags__Wtype_limits=no
17361 rm -f core conftest.err conftest.$ac_objext \
17362 conftest$ac_exeext conftest.$ac_ext
17363 CFLAGS=$ac_wine_try_cflags_saved
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17366 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17367 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17368 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17371 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17372 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17373 $as_echo_n "(cached) " >&6
17374 else
17375 ac_wine_try_cflags_saved=$CFLAGS
17376 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17379 int main(int argc, char **argv) { return 0; }
17380 _ACEOF
17381 if ac_fn_c_try_link "$LINENO"; then :
17382 ac_cv_cflags__Wunused_but_set_parameter=yes
17383 else
17384 ac_cv_cflags__Wunused_but_set_parameter=no
17386 rm -f core conftest.err conftest.$ac_objext \
17387 conftest$ac_exeext conftest.$ac_ext
17388 CFLAGS=$ac_wine_try_cflags_saved
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17391 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17392 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17393 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17396 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17397 if ${ac_cv_cflags__Wvla+:} false; then :
17398 $as_echo_n "(cached) " >&6
17399 else
17400 ac_wine_try_cflags_saved=$CFLAGS
17401 CFLAGS="$CFLAGS -Wvla"
17402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h. */
17404 int main(int argc, char **argv) { return 0; }
17405 _ACEOF
17406 if ac_fn_c_try_link "$LINENO"; then :
17407 ac_cv_cflags__Wvla=yes
17408 else
17409 ac_cv_cflags__Wvla=no
17411 rm -f core conftest.err conftest.$ac_objext \
17412 conftest$ac_exeext conftest.$ac_ext
17413 CFLAGS=$ac_wine_try_cflags_saved
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17416 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17417 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17418 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17421 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17422 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17423 $as_echo_n "(cached) " >&6
17424 else
17425 ac_wine_try_cflags_saved=$CFLAGS
17426 CFLAGS="$CFLAGS -Wwrite-strings"
17427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17428 /* end confdefs.h. */
17429 int main(int argc, char **argv) { return 0; }
17430 _ACEOF
17431 if ac_fn_c_try_link "$LINENO"; then :
17432 ac_cv_cflags__Wwrite_strings=yes
17433 else
17434 ac_cv_cflags__Wwrite_strings=no
17436 rm -f core conftest.err conftest.$ac_objext \
17437 conftest$ac_exeext conftest.$ac_ext
17438 CFLAGS=$ac_wine_try_cflags_saved
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17441 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17442 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17443 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17447 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17448 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17449 $as_echo_n "(cached) " >&6
17450 else
17451 ac_wine_try_cflags_saved=$CFLAGS
17452 CFLAGS="$CFLAGS -Wpointer-arith"
17453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17454 /* end confdefs.h. */
17455 int main(int argc, char **argv) { return 0; }
17456 _ACEOF
17457 if ac_fn_c_try_link "$LINENO"; then :
17458 ac_cv_cflags__Wpointer_arith=yes
17459 else
17460 ac_cv_cflags__Wpointer_arith=no
17462 rm -f core conftest.err conftest.$ac_objext \
17463 conftest$ac_exeext conftest.$ac_ext
17464 CFLAGS=$ac_wine_try_cflags_saved
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17467 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17468 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17469 saved_string_h_CFLAGS=$CFLAGS
17470 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17472 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17473 if ${ac_cv_c_string_h_warnings+:} false; then :
17474 $as_echo_n "(cached) " >&6
17475 else
17476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17478 #include <string.h>
17480 main ()
17484 return 0;
17486 _ACEOF
17487 if ac_fn_c_try_compile "$LINENO"; then :
17488 ac_cv_c_string_h_warnings=no
17489 else
17490 ac_cv_c_string_h_warnings=yes
17492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17495 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17496 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17497 CFLAGS=$saved_string_h_CFLAGS
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17501 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17502 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17503 $as_echo_n "(cached) " >&6
17504 else
17505 ac_wine_try_cflags_saved=$CFLAGS
17506 CFLAGS="$CFLAGS -Wlogical-op"
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 int main(int argc, char **argv) { return 0; }
17510 _ACEOF
17511 if ac_fn_c_try_link "$LINENO"; then :
17512 ac_cv_cflags__Wlogical_op=yes
17513 else
17514 ac_cv_cflags__Wlogical_op=no
17516 rm -f core conftest.err conftest.$ac_objext \
17517 conftest$ac_exeext conftest.$ac_ext
17518 CFLAGS=$ac_wine_try_cflags_saved
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17521 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17522 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17523 saved_string_h_CFLAGS=$CFLAGS
17524 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17526 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17527 if ${ac_cv_c_logicalop_noisy+:} false; then :
17528 $as_echo_n "(cached) " >&6
17529 else
17530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17531 /* end confdefs.h. */
17532 #include <string.h>
17533 char*f(const char *h,char n) {return strchr(h,n);}
17535 main ()
17539 return 0;
17541 _ACEOF
17542 if ac_fn_c_try_compile "$LINENO"; then :
17543 ac_cv_c_logicalop_noisy=no
17544 else
17545 ac_cv_c_logicalop_noisy=yes
17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17550 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17551 CFLAGS=$saved_string_h_CFLAGS
17552 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17555 for ac_flag in $CFLAGS; do
17556 case $ac_flag in
17557 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17558 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17559 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17560 $as_echo_n "(cached) " >&6
17561 else
17562 ac_wine_try_cflags_saved=$CFLAGS
17563 CFLAGS="$CFLAGS -gdwarf-2"
17564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h. */
17566 int main(int argc, char **argv) { return 0; }
17567 _ACEOF
17568 if ac_fn_c_try_link "$LINENO"; then :
17569 ac_cv_cflags__gdwarf_2=yes
17570 else
17571 ac_cv_cflags__gdwarf_2=no
17573 rm -f core conftest.err conftest.$ac_objext \
17574 conftest$ac_exeext conftest.$ac_ext
17575 CFLAGS=$ac_wine_try_cflags_saved
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17578 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17579 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17580 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17583 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17584 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17585 $as_echo_n "(cached) " >&6
17586 else
17587 ac_wine_try_cflags_saved=$CFLAGS
17588 CFLAGS="$CFLAGS -gstrict-dwarf"
17589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17591 int main(int argc, char **argv) { return 0; }
17592 _ACEOF
17593 if ac_fn_c_try_link "$LINENO"; then :
17594 ac_cv_cflags__gstrict_dwarf=yes
17595 else
17596 ac_cv_cflags__gstrict_dwarf=no
17598 rm -f core conftest.err conftest.$ac_objext \
17599 conftest$ac_exeext conftest.$ac_ext
17600 CFLAGS=$ac_wine_try_cflags_saved
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17603 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17604 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17605 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17606 fi ;;
17607 esac
17608 done
17610 MSVCRTFLAGS=""
17612 case $host_os in
17613 mingw32*) ;;
17614 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17615 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17616 if ${ac_cv_cflags__fno_builtin+:} false; then :
17617 $as_echo_n "(cached) " >&6
17618 else
17619 ac_wine_try_cflags_saved=$CFLAGS
17620 CFLAGS="$CFLAGS -fno-builtin"
17621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17622 /* end confdefs.h. */
17623 int main(int argc, char **argv) { return 0; }
17624 _ACEOF
17625 if ac_fn_c_try_link "$LINENO"; then :
17626 ac_cv_cflags__fno_builtin=yes
17627 else
17628 ac_cv_cflags__fno_builtin=no
17630 rm -f core conftest.err conftest.$ac_objext \
17631 conftest$ac_exeext conftest.$ac_ext
17632 CFLAGS=$ac_wine_try_cflags_saved
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17635 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17636 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17637 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17640 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17641 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17642 $as_echo_n "(cached) " >&6
17643 else
17644 ac_wine_try_cflags_saved=$CFLAGS
17645 CFLAGS="$CFLAGS -fshort-wchar"
17646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17647 /* end confdefs.h. */
17648 int main(int argc, char **argv) { return 0; }
17649 _ACEOF
17650 if ac_fn_c_try_link "$LINENO"; then :
17651 ac_cv_cflags__fshort_wchar=yes
17652 else
17653 ac_cv_cflags__fshort_wchar=no
17655 rm -f core conftest.err conftest.$ac_objext \
17656 conftest$ac_exeext conftest.$ac_ext
17657 CFLAGS=$ac_wine_try_cflags_saved
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17660 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17661 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17662 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17663 fi ;;
17664 esac
17666 case $host_cpu in
17667 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17668 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17669 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17670 $as_echo_n "(cached) " >&6
17671 else
17672 ac_wine_try_cflags_saved=$CFLAGS
17673 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17675 /* end confdefs.h. */
17676 int main(int argc, char **argv) { return 0; }
17677 _ACEOF
17678 if ac_fn_c_try_link "$LINENO"; then :
17679 ac_cv_cflags__fno_omit_frame_pointer=yes
17680 else
17681 ac_cv_cflags__fno_omit_frame_pointer=no
17683 rm -f core conftest.err conftest.$ac_objext \
17684 conftest$ac_exeext conftest.$ac_ext
17685 CFLAGS=$ac_wine_try_cflags_saved
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17688 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17689 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17690 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17691 fi ;;
17692 *x86_64*)
17693 case $host_os in
17694 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17695 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17696 if ${ac_cv_cflags__Wno_format+:} false; then :
17697 $as_echo_n "(cached) " >&6
17698 else
17699 ac_wine_try_cflags_saved=$CFLAGS
17700 CFLAGS="$CFLAGS -Wno-format"
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17703 int main(int argc, char **argv) { return 0; }
17704 _ACEOF
17705 if ac_fn_c_try_link "$LINENO"; then :
17706 ac_cv_cflags__Wno_format=yes
17707 else
17708 ac_cv_cflags__Wno_format=no
17710 rm -f core conftest.err conftest.$ac_objext \
17711 conftest$ac_exeext conftest.$ac_ext
17712 CFLAGS=$ac_wine_try_cflags_saved
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17715 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17716 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17717 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17718 fi ;;
17719 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17720 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17721 if ${ac_cv_cflags__mabi_ms+:} false; then :
17722 $as_echo_n "(cached) " >&6
17723 else
17724 ac_wine_try_cflags_saved=$CFLAGS
17725 CFLAGS="$CFLAGS -mabi=ms"
17726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17728 int main(int argc, char **argv) { return 0; }
17729 _ACEOF
17730 if ac_fn_c_try_link "$LINENO"; then :
17731 ac_cv_cflags__mabi_ms=yes
17732 else
17733 ac_cv_cflags__mabi_ms=no
17735 rm -f core conftest.err conftest.$ac_objext \
17736 conftest$ac_exeext conftest.$ac_ext
17737 CFLAGS=$ac_wine_try_cflags_saved
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17740 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17741 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17742 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17743 fi ;;
17744 esac ;;
17745 esac
17747 CFLAGS=$saved_CFLAGS
17749 if test "x$enable_werror" = "xyes"
17750 then
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17752 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17753 if ${ac_cv_cflags__Werror+:} false; then :
17754 $as_echo_n "(cached) " >&6
17755 else
17756 ac_wine_try_cflags_saved=$CFLAGS
17757 CFLAGS="$CFLAGS -Werror"
17758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17759 /* end confdefs.h. */
17760 int main(int argc, char **argv) { return 0; }
17761 _ACEOF
17762 if ac_fn_c_try_link "$LINENO"; then :
17763 ac_cv_cflags__Werror=yes
17764 else
17765 ac_cv_cflags__Werror=no
17767 rm -f core conftest.err conftest.$ac_objext \
17768 conftest$ac_exeext conftest.$ac_ext
17769 CFLAGS=$ac_wine_try_cflags_saved
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17772 $as_echo "$ac_cv_cflags__Werror" >&6; }
17773 if test "x$ac_cv_cflags__Werror" = xyes; then :
17774 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17781 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17782 if ${ac_cv_c_fortify_enabled+:} false; then :
17783 $as_echo_n "(cached) " >&6
17784 else
17785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17786 /* end confdefs.h. */
17787 #include <string.h>
17789 main ()
17791 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17792 #error Fortify enabled
17793 #endif
17795 return 0;
17797 _ACEOF
17798 if ac_fn_c_try_compile "$LINENO"; then :
17799 ac_cv_c_fortify_enabled=no
17800 else
17801 ac_cv_c_fortify_enabled=yes
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17806 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17807 if test "$ac_cv_c_fortify_enabled" = yes
17808 then
17809 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17814 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17815 if ${ac_cv_c_cfi_support+:} false; then :
17816 $as_echo_n "(cached) " >&6
17817 else
17818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17819 /* end confdefs.h. */
17820 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17822 main ()
17826 return 0;
17828 _ACEOF
17829 if ac_fn_c_try_compile "$LINENO"; then :
17830 ac_cv_c_cfi_support="yes"
17831 else
17832 ac_cv_c_cfi_support="no"
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17837 $as_echo "$ac_cv_c_cfi_support" >&6; }
17838 if test "$ac_cv_c_cfi_support" = "yes"
17839 then
17840 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17841 else
17842 if test "x$enable_win64" = "xyes"
17843 then
17844 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17849 case $build_os in
17850 cygwin*|mingw32*) TOOLSEXT=".exe"
17852 esac
17854 case $host_os in
17855 linux*)
17856 case $host_cpu in
17857 *i[3456789]86*|x86_64*|*aarch64*)
17858 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17859 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17861 esac
17863 esac
17866 ac_save_CFLAGS="$CFLAGS"
17867 CFLAGS="$CFLAGS $BUILTINFLAG"
17868 for ac_func in \
17869 __res_get_state \
17870 __res_getservers \
17871 _spawnvp \
17872 epoll_create \
17873 ffs \
17874 finitef \
17875 fnmatch \
17876 fork \
17877 fpclass \
17878 fstatfs \
17879 fstatvfs \
17880 futimens \
17881 futimes \
17882 futimesat \
17883 getattrlist \
17884 getauxval \
17885 getifaddrs \
17886 getopt_long_only \
17887 kqueue \
17888 lstat \
17889 mach_continuous_time \
17890 pipe2 \
17891 poll \
17892 port_create \
17893 prctl \
17894 pread \
17895 proc_pidinfo \
17896 pwrite \
17897 readdir \
17898 readlink \
17899 sched_yield \
17900 select \
17901 setproctitle \
17902 setprogname \
17903 settimeofday \
17904 sigprocmask \
17905 statfs \
17906 statvfs \
17907 strnlen \
17908 strtold \
17909 symlink \
17910 sysinfo \
17911 tcdrain \
17912 thr_kill2 \
17913 timegm \
17914 usleep
17916 do :
17917 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17918 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17919 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17920 cat >>confdefs.h <<_ACEOF
17921 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17922 _ACEOF
17925 done
17927 CFLAGS="$ac_save_CFLAGS"
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17930 $as_echo_n "checking for library containing dlopen... " >&6; }
17931 if ${ac_cv_search_dlopen+:} false; then :
17932 $as_echo_n "(cached) " >&6
17933 else
17934 ac_func_search_save_LIBS=$LIBS
17935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17936 /* end confdefs.h. */
17938 /* Override any GCC internal prototype to avoid an error.
17939 Use char because int might match the return type of a GCC
17940 builtin and then its argument prototype would still apply. */
17941 #ifdef __cplusplus
17942 extern "C"
17943 #endif
17944 char dlopen ();
17946 main ()
17948 return dlopen ();
17950 return 0;
17952 _ACEOF
17953 for ac_lib in '' dl; do
17954 if test -z "$ac_lib"; then
17955 ac_res="none required"
17956 else
17957 ac_res=-l$ac_lib
17958 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17960 if ac_fn_c_try_link "$LINENO"; then :
17961 ac_cv_search_dlopen=$ac_res
17963 rm -f core conftest.err conftest.$ac_objext \
17964 conftest$ac_exeext
17965 if ${ac_cv_search_dlopen+:} false; then :
17966 break
17968 done
17969 if ${ac_cv_search_dlopen+:} false; then :
17971 else
17972 ac_cv_search_dlopen=no
17974 rm conftest.$ac_ext
17975 LIBS=$ac_func_search_save_LIBS
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17978 $as_echo "$ac_cv_search_dlopen" >&6; }
17979 ac_res=$ac_cv_search_dlopen
17980 if test "$ac_res" != no; then :
17981 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17985 ac_wine_check_funcs_save_LIBS="$LIBS"
17986 LIBS="$LIBS $DL_LIBS"
17987 for ac_func in dladdr dlinfo
17988 do :
17989 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17990 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17991 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17992 cat >>confdefs.h <<_ACEOF
17993 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17994 _ACEOF
17997 done
17999 LIBS="$ac_wine_check_funcs_save_LIBS"
18001 if test "$ac_cv_func_poll" = no
18002 then
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18004 $as_echo_n "checking for poll in -lpoll... " >&6; }
18005 if ${ac_cv_lib_poll_poll+:} false; then :
18006 $as_echo_n "(cached) " >&6
18007 else
18008 ac_check_lib_save_LIBS=$LIBS
18009 LIBS="-lpoll $LIBS"
18010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18011 /* end confdefs.h. */
18013 /* Override any GCC internal prototype to avoid an error.
18014 Use char because int might match the return type of a GCC
18015 builtin and then its argument prototype would still apply. */
18016 #ifdef __cplusplus
18017 extern "C"
18018 #endif
18019 char poll ();
18021 main ()
18023 return poll ();
18025 return 0;
18027 _ACEOF
18028 if ac_fn_c_try_link "$LINENO"; then :
18029 ac_cv_lib_poll_poll=yes
18030 else
18031 ac_cv_lib_poll_poll=no
18033 rm -f core conftest.err conftest.$ac_objext \
18034 conftest$ac_exeext conftest.$ac_ext
18035 LIBS=$ac_check_lib_save_LIBS
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18038 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18039 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18040 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18041 POLL_LIBS="-lpoll"
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18048 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18049 if ${ac_cv_search_gethostbyname+:} false; then :
18050 $as_echo_n "(cached) " >&6
18051 else
18052 ac_func_search_save_LIBS=$LIBS
18053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18054 /* end confdefs.h. */
18056 /* Override any GCC internal prototype to avoid an error.
18057 Use char because int might match the return type of a GCC
18058 builtin and then its argument prototype would still apply. */
18059 #ifdef __cplusplus
18060 extern "C"
18061 #endif
18062 char gethostbyname ();
18064 main ()
18066 return gethostbyname ();
18068 return 0;
18070 _ACEOF
18071 for ac_lib in '' nsl; do
18072 if test -z "$ac_lib"; then
18073 ac_res="none required"
18074 else
18075 ac_res=-l$ac_lib
18076 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18078 if ac_fn_c_try_link "$LINENO"; then :
18079 ac_cv_search_gethostbyname=$ac_res
18081 rm -f core conftest.err conftest.$ac_objext \
18082 conftest$ac_exeext
18083 if ${ac_cv_search_gethostbyname+:} false; then :
18084 break
18086 done
18087 if ${ac_cv_search_gethostbyname+:} false; then :
18089 else
18090 ac_cv_search_gethostbyname=no
18092 rm conftest.$ac_ext
18093 LIBS=$ac_func_search_save_LIBS
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18096 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18097 ac_res=$ac_cv_search_gethostbyname
18098 if test "$ac_res" != no; then :
18099 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18105 $as_echo_n "checking for library containing connect... " >&6; }
18106 if ${ac_cv_search_connect+:} false; then :
18107 $as_echo_n "(cached) " >&6
18108 else
18109 ac_func_search_save_LIBS=$LIBS
18110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18111 /* end confdefs.h. */
18113 /* Override any GCC internal prototype to avoid an error.
18114 Use char because int might match the return type of a GCC
18115 builtin and then its argument prototype would still apply. */
18116 #ifdef __cplusplus
18117 extern "C"
18118 #endif
18119 char connect ();
18121 main ()
18123 return connect ();
18125 return 0;
18127 _ACEOF
18128 for ac_lib in '' socket; do
18129 if test -z "$ac_lib"; then
18130 ac_res="none required"
18131 else
18132 ac_res=-l$ac_lib
18133 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18135 if ac_fn_c_try_link "$LINENO"; then :
18136 ac_cv_search_connect=$ac_res
18138 rm -f core conftest.err conftest.$ac_objext \
18139 conftest$ac_exeext
18140 if ${ac_cv_search_connect+:} false; then :
18141 break
18143 done
18144 if ${ac_cv_search_connect+:} false; then :
18146 else
18147 ac_cv_search_connect=no
18149 rm conftest.$ac_ext
18150 LIBS=$ac_func_search_save_LIBS
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18153 $as_echo "$ac_cv_search_connect" >&6; }
18154 ac_res=$ac_cv_search_connect
18155 if test "$ac_res" != no; then :
18156 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18162 $as_echo_n "checking for library containing inet_aton... " >&6; }
18163 if ${ac_cv_search_inet_aton+:} false; then :
18164 $as_echo_n "(cached) " >&6
18165 else
18166 ac_func_search_save_LIBS=$LIBS
18167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18168 /* end confdefs.h. */
18170 /* Override any GCC internal prototype to avoid an error.
18171 Use char because int might match the return type of a GCC
18172 builtin and then its argument prototype would still apply. */
18173 #ifdef __cplusplus
18174 extern "C"
18175 #endif
18176 char inet_aton ();
18178 main ()
18180 return inet_aton ();
18182 return 0;
18184 _ACEOF
18185 for ac_lib in '' resolv; do
18186 if test -z "$ac_lib"; then
18187 ac_res="none required"
18188 else
18189 ac_res=-l$ac_lib
18190 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18192 if ac_fn_c_try_link "$LINENO"; then :
18193 ac_cv_search_inet_aton=$ac_res
18195 rm -f core conftest.err conftest.$ac_objext \
18196 conftest$ac_exeext
18197 if ${ac_cv_search_inet_aton+:} false; then :
18198 break
18200 done
18201 if ${ac_cv_search_inet_aton+:} false; then :
18203 else
18204 ac_cv_search_inet_aton=no
18206 rm conftest.$ac_ext
18207 LIBS=$ac_func_search_save_LIBS
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18210 $as_echo "$ac_cv_search_inet_aton" >&6; }
18211 ac_res=$ac_cv_search_inet_aton
18212 if test "$ac_res" != no; then :
18213 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18218 for ac_func in \
18219 getaddrinfo \
18220 getnameinfo \
18221 getnetbyname \
18222 getprotobyname \
18223 getprotobynumber \
18224 getservbyport \
18225 inet_addr \
18226 inet_network \
18227 inet_ntop \
18228 inet_pton \
18230 do :
18231 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18232 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18233 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18234 cat >>confdefs.h <<_ACEOF
18235 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18236 _ACEOF
18239 done
18242 case $host_os in
18243 darwin*|macosx*) ;;
18244 *) ac_save_LIBS=$LIBS
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18246 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18247 if ${ac_cv_search_clock_gettime+:} false; then :
18248 $as_echo_n "(cached) " >&6
18249 else
18250 ac_func_search_save_LIBS=$LIBS
18251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18252 /* end confdefs.h. */
18254 /* Override any GCC internal prototype to avoid an error.
18255 Use char because int might match the return type of a GCC
18256 builtin and then its argument prototype would still apply. */
18257 #ifdef __cplusplus
18258 extern "C"
18259 #endif
18260 char clock_gettime ();
18262 main ()
18264 return clock_gettime ();
18266 return 0;
18268 _ACEOF
18269 for ac_lib in '' rt; do
18270 if test -z "$ac_lib"; then
18271 ac_res="none required"
18272 else
18273 ac_res=-l$ac_lib
18274 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18276 if ac_fn_c_try_link "$LINENO"; then :
18277 ac_cv_search_clock_gettime=$ac_res
18279 rm -f core conftest.err conftest.$ac_objext \
18280 conftest$ac_exeext
18281 if ${ac_cv_search_clock_gettime+:} false; then :
18282 break
18284 done
18285 if ${ac_cv_search_clock_gettime+:} false; then :
18287 else
18288 ac_cv_search_clock_gettime=no
18290 rm conftest.$ac_ext
18291 LIBS=$ac_func_search_save_LIBS
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18294 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18295 ac_res=$ac_cv_search_clock_gettime
18296 if test "$ac_res" != no; then :
18297 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18299 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18301 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18305 LIBS=$ac_save_LIBS
18307 esac
18309 if test "x$with_ldap" != "xno"
18310 then
18311 if ${LDAP_CFLAGS:+false} :; then :
18312 if ${PKG_CONFIG+:} false; then :
18313 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18317 if ${LDAP_LIBS:+false} :; then :
18318 if ${PKG_CONFIG+:} false; then :
18319 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18323 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18324 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18325 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18326 ac_save_CPPFLAGS=$CPPFLAGS
18327 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18328 for ac_header in ldap.h lber.h
18329 do :
18330 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18331 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18332 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18333 cat >>confdefs.h <<_ACEOF
18334 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18335 _ACEOF
18339 done
18341 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18342 then
18343 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18345 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18347 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18348 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18349 $as_echo_n "(cached) " >&6
18350 else
18351 ac_check_lib_save_LIBS=$LIBS
18352 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h. */
18356 /* Override any GCC internal prototype to avoid an error.
18357 Use char because int might match the return type of a GCC
18358 builtin and then its argument prototype would still apply. */
18359 #ifdef __cplusplus
18360 extern "C"
18361 #endif
18362 char ldap_initialize ();
18364 main ()
18366 return ldap_initialize ();
18368 return 0;
18370 _ACEOF
18371 if ac_fn_c_try_link "$LINENO"; then :
18372 ac_cv_lib_ldap_r_ldap_initialize=yes
18373 else
18374 ac_cv_lib_ldap_r_ldap_initialize=no
18376 rm -f core conftest.err conftest.$ac_objext \
18377 conftest$ac_exeext conftest.$ac_ext
18378 LIBS=$ac_check_lib_save_LIBS
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18381 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18382 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18384 $as_echo_n "checking for ber_init in -llber... " >&6; }
18385 if ${ac_cv_lib_lber_ber_init+:} false; then :
18386 $as_echo_n "(cached) " >&6
18387 else
18388 ac_check_lib_save_LIBS=$LIBS
18389 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18391 /* end confdefs.h. */
18393 /* Override any GCC internal prototype to avoid an error.
18394 Use char because int might match the return type of a GCC
18395 builtin and then its argument prototype would still apply. */
18396 #ifdef __cplusplus
18397 extern "C"
18398 #endif
18399 char ber_init ();
18401 main ()
18403 return ber_init ();
18405 return 0;
18407 _ACEOF
18408 if ac_fn_c_try_link "$LINENO"; then :
18409 ac_cv_lib_lber_ber_init=yes
18410 else
18411 ac_cv_lib_lber_ber_init=no
18413 rm -f core conftest.err conftest.$ac_objext \
18414 conftest$ac_exeext conftest.$ac_ext
18415 LIBS=$ac_check_lib_save_LIBS
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18418 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18419 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18421 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18423 else
18424 LDAP_LIBS=""
18427 else
18428 LDAP_LIBS=""
18431 else
18432 LDAP_LIBS=""
18435 ac_wine_check_funcs_save_LIBS="$LIBS"
18436 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18437 for ac_func in \
18438 ldap_count_references \
18439 ldap_first_reference \
18440 ldap_next_reference \
18441 ldap_parse_reference \
18442 ldap_parse_sort_control \
18443 ldap_parse_sortresponse_control \
18444 ldap_parse_vlv_control \
18445 ldap_parse_vlvresponse_control
18446 do :
18447 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18448 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18449 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18450 cat >>confdefs.h <<_ACEOF
18451 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18452 _ACEOF
18455 done
18457 LIBS="$ac_wine_check_funcs_save_LIBS"
18458 else
18459 LDAP_LIBS=""
18461 CPPFLAGS=$ac_save_CPPFLAGS
18462 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18463 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18466 if test "x$LDAP_LIBS" = "x"; then :
18467 case "x$with_ldap" in
18468 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18469 xno) ;;
18470 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18471 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18472 esac
18476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18477 $as_echo_n "checking for sched_setaffinity... " >&6; }
18478 if ${wine_cv_have_sched_setaffinity+:} false; then :
18479 $as_echo_n "(cached) " >&6
18480 else
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18483 #define _GNU_SOURCE
18484 #include <sched.h>
18486 main ()
18488 sched_setaffinity(0, 0, 0);
18490 return 0;
18492 _ACEOF
18493 if ac_fn_c_try_link "$LINENO"; then :
18494 wine_cv_have_sched_setaffinity=yes
18495 else
18496 wine_cv_have_sched_setaffinity=no
18498 rm -f core conftest.err conftest.$ac_objext \
18499 conftest$ac_exeext conftest.$ac_ext
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18502 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18503 if test "$wine_cv_have_sched_setaffinity" = "yes"
18504 then
18506 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18511 $as_echo_n "checking for fallocate... " >&6; }
18512 if ${wine_cv_have_fallocate+:} false; then :
18513 $as_echo_n "(cached) " >&6
18514 else
18515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18516 /* end confdefs.h. */
18517 #define _GNU_SOURCE
18518 #include <fcntl.h>
18520 main ()
18522 fallocate(-1, 0, 0, 0);
18524 return 0;
18526 _ACEOF
18527 if ac_fn_c_try_link "$LINENO"; then :
18528 wine_cv_have_fallocate=yes
18529 else
18530 wine_cv_have_fallocate=no
18532 rm -f core conftest.err conftest.$ac_objext \
18533 conftest$ac_exeext conftest.$ac_ext
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18536 $as_echo "$wine_cv_have_fallocate" >&6; }
18537 if test "$wine_cv_have_fallocate" = "yes"
18538 then
18540 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18546 $as_echo_n "checking for inline... " >&6; }
18547 if ${ac_cv_c_inline+:} false; then :
18548 $as_echo_n "(cached) " >&6
18549 else
18550 ac_cv_c_inline=no
18551 for ac_kw in inline __inline__ __inline; do
18552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18553 /* end confdefs.h. */
18554 #ifndef __cplusplus
18555 typedef int foo_t;
18556 static $ac_kw foo_t static_foo () {return 0; }
18557 $ac_kw foo_t foo () {return 0; }
18558 #endif
18560 _ACEOF
18561 if ac_fn_c_try_compile "$LINENO"; then :
18562 ac_cv_c_inline=$ac_kw
18564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18565 test "$ac_cv_c_inline" != no && break
18566 done
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18570 $as_echo "$ac_cv_c_inline" >&6; }
18572 case $ac_cv_c_inline in
18573 inline | yes) ;;
18575 case $ac_cv_c_inline in
18576 no) ac_val=;;
18577 *) ac_val=$ac_cv_c_inline;;
18578 esac
18579 cat >>confdefs.h <<_ACEOF
18580 #ifndef __cplusplus
18581 #define inline $ac_val
18582 #endif
18583 _ACEOF
18585 esac
18587 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18588 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18590 cat >>confdefs.h <<_ACEOF
18591 #define HAVE_FSBLKCNT_T 1
18592 _ACEOF
18596 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18597 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18599 cat >>confdefs.h <<_ACEOF
18600 #define HAVE_FSFILCNT_T 1
18601 _ACEOF
18606 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18607 #include <signal.h>
18609 if test "x$ac_cv_type_sigset_t" = xyes; then :
18611 cat >>confdefs.h <<_ACEOF
18612 #define HAVE_SIGSET_T 1
18613 _ACEOF
18618 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18620 if test "x$ac_cv_type_request_sense" = xyes; then :
18622 cat >>confdefs.h <<_ACEOF
18623 #define HAVE_REQUEST_SENSE 1
18624 _ACEOF
18630 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18631 #ifdef HAVE_SYS_SOCKET_H
18632 #include <sys/socket.h>
18633 #endif
18634 #ifdef HAVE_SYS_SOCKETVAR_H
18635 #include <sys/socketvar.h>
18636 #endif
18637 #ifdef HAVE_NET_ROUTE_H
18638 #include <net/route.h>
18639 #endif
18640 #ifdef HAVE_NETINET_IN_H
18641 #include <netinet/in.h>
18642 #endif
18643 #ifdef HAVE_NETINET_IN_SYSTM_H
18644 #include <netinet/in_systm.h>
18645 #endif
18646 #ifdef HAVE_NETINET_IP_H
18647 #include <netinet/ip.h>
18648 #endif
18649 #ifdef HAVE_NETINET_IN_PCB_H
18650 #include <netinet/in_pcb.h>
18651 #endif
18653 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18655 cat >>confdefs.h <<_ACEOF
18656 #define HAVE_STRUCT_XINPGEN 1
18657 _ACEOF
18663 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18664 #include <linux/input.h>
18665 #endif
18667 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18669 cat >>confdefs.h <<_ACEOF
18670 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18671 _ACEOF
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18678 $as_echo_n "checking for if_nameindex... " >&6; }
18679 if ${wine_cv_have_if_nameindex+:} false; then :
18680 $as_echo_n "(cached) " >&6
18681 else
18682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18683 /* end confdefs.h. */
18684 #ifdef HAVE_SYS_TYPES_H
18685 #include <sys/types.h>
18686 #endif
18687 #ifdef HAVE_SYS_SOCKET_H
18688 #include <sys/socket.h>
18689 #endif
18690 #ifdef HAVE_NET_IF_H
18691 # include <net/if.h>
18692 #endif
18694 main ()
18696 struct if_nameindex *p = if_nameindex(); return p->if_index;
18698 return 0;
18700 _ACEOF
18701 if ac_fn_c_try_link "$LINENO"; then :
18702 wine_cv_have_if_nameindex=yes
18703 else
18704 wine_cv_have_if_nameindex=no
18706 rm -f core conftest.err conftest.$ac_objext \
18707 conftest$ac_exeext conftest.$ac_ext
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18710 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18711 if test "$wine_cv_have_if_nameindex" = "yes"
18712 then
18714 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18719 $as_echo_n "checking for sigaddset... " >&6; }
18720 if ${wine_cv_have_sigaddset+:} false; then :
18721 $as_echo_n "(cached) " >&6
18722 else
18723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18724 /* end confdefs.h. */
18725 #include <signal.h>
18727 main ()
18729 sigset_t set; sigaddset(&set,SIGTERM);
18731 return 0;
18733 _ACEOF
18734 if ac_fn_c_try_link "$LINENO"; then :
18735 wine_cv_have_sigaddset=yes
18736 else
18737 wine_cv_have_sigaddset=no
18739 rm -f core conftest.err conftest.$ac_objext \
18740 conftest$ac_exeext conftest.$ac_ext
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18743 $as_echo "$wine_cv_have_sigaddset" >&6; }
18744 if test "$wine_cv_have_sigaddset" = "yes"
18745 then
18747 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18753 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18754 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18755 $as_echo_n "(cached) " >&6
18756 else
18757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h. */
18759 #include <netdb.h>
18761 main ()
18764 char *name=0;
18765 struct hostent he;
18766 struct hostent *result;
18767 char *buf=0;
18768 int bufsize=0;
18769 int errnr;
18770 char *addr=0;
18771 int addrlen=0;
18772 int addrtype=0;
18773 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18774 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18777 return 0;
18779 _ACEOF
18780 if ac_fn_c_try_link "$LINENO"; then :
18781 wine_cv_linux_gethostbyname_r_6=yes
18782 else
18783 wine_cv_linux_gethostbyname_r_6=no
18786 rm -f core conftest.err conftest.$ac_objext \
18787 conftest$ac_exeext conftest.$ac_ext
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18791 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18792 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18793 then
18795 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18799 if test "$ac_cv_header_linux_joystick_h" = "yes"
18800 then
18801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18802 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18803 if ${wine_cv_linux_joystick_22_api+:} false; then :
18804 $as_echo_n "(cached) " >&6
18805 else
18806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18807 /* end confdefs.h. */
18809 #include <sys/ioctl.h>
18810 #include <sys/types.h>
18811 #include <linux/joystick.h>
18813 struct js_event blub;
18814 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18815 #error "no 2.2 header"
18816 #endif
18819 main ()
18821 /*empty*/
18823 return 0;
18825 _ACEOF
18826 if ac_fn_c_try_compile "$LINENO"; then :
18827 wine_cv_linux_joystick_22_api=yes
18828 else
18829 wine_cv_linux_joystick_22_api=no
18831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18835 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18836 if test "$wine_cv_linux_joystick_22_api" = "yes"
18837 then
18839 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18845 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18846 #ifdef HAVE_SYS_PARAM_H
18847 # include <sys/param.h>
18848 #endif
18849 #ifdef HAVE_SYS_MOUNT_H
18850 # include <sys/mount.h>
18851 #endif
18852 #ifdef HAVE_SYS_VFS_H
18853 # include <sys/vfs.h>
18854 #endif
18855 #ifdef HAVE_SYS_STATFS_H
18856 # include <sys/statfs.h>
18857 #endif
18859 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18861 cat >>confdefs.h <<_ACEOF
18862 #define HAVE_STRUCT_STATFS_F_BFREE 1
18863 _ACEOF
18867 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18868 #ifdef HAVE_SYS_PARAM_H
18869 # include <sys/param.h>
18870 #endif
18871 #ifdef HAVE_SYS_MOUNT_H
18872 # include <sys/mount.h>
18873 #endif
18874 #ifdef HAVE_SYS_VFS_H
18875 # include <sys/vfs.h>
18876 #endif
18877 #ifdef HAVE_SYS_STATFS_H
18878 # include <sys/statfs.h>
18879 #endif
18881 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18883 cat >>confdefs.h <<_ACEOF
18884 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18885 _ACEOF
18889 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18890 #ifdef HAVE_SYS_PARAM_H
18891 # include <sys/param.h>
18892 #endif
18893 #ifdef HAVE_SYS_MOUNT_H
18894 # include <sys/mount.h>
18895 #endif
18896 #ifdef HAVE_SYS_VFS_H
18897 # include <sys/vfs.h>
18898 #endif
18899 #ifdef HAVE_SYS_STATFS_H
18900 # include <sys/statfs.h>
18901 #endif
18903 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18905 cat >>confdefs.h <<_ACEOF
18906 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18907 _ACEOF
18911 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18912 #ifdef HAVE_SYS_PARAM_H
18913 # include <sys/param.h>
18914 #endif
18915 #ifdef HAVE_SYS_MOUNT_H
18916 # include <sys/mount.h>
18917 #endif
18918 #ifdef HAVE_SYS_VFS_H
18919 # include <sys/vfs.h>
18920 #endif
18921 #ifdef HAVE_SYS_STATFS_H
18922 # include <sys/statfs.h>
18923 #endif
18925 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18927 cat >>confdefs.h <<_ACEOF
18928 #define HAVE_STRUCT_STATFS_F_FFREE 1
18929 _ACEOF
18933 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18934 #ifdef HAVE_SYS_PARAM_H
18935 # include <sys/param.h>
18936 #endif
18937 #ifdef HAVE_SYS_MOUNT_H
18938 # include <sys/mount.h>
18939 #endif
18940 #ifdef HAVE_SYS_VFS_H
18941 # include <sys/vfs.h>
18942 #endif
18943 #ifdef HAVE_SYS_STATFS_H
18944 # include <sys/statfs.h>
18945 #endif
18947 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18949 cat >>confdefs.h <<_ACEOF
18950 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18951 _ACEOF
18955 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18956 #ifdef HAVE_SYS_PARAM_H
18957 # include <sys/param.h>
18958 #endif
18959 #ifdef HAVE_SYS_MOUNT_H
18960 # include <sys/mount.h>
18961 #endif
18962 #ifdef HAVE_SYS_VFS_H
18963 # include <sys/vfs.h>
18964 #endif
18965 #ifdef HAVE_SYS_STATFS_H
18966 # include <sys/statfs.h>
18967 #endif
18969 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18971 cat >>confdefs.h <<_ACEOF
18972 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18973 _ACEOF
18979 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18980 #include <sys/statvfs.h>
18981 #endif
18983 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18985 cat >>confdefs.h <<_ACEOF
18986 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18987 _ACEOF
18993 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18994 #include <dirent.h>
18995 #endif
18997 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18999 cat >>confdefs.h <<_ACEOF
19000 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
19001 _ACEOF
19007 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19008 #ifdef HAVE_SYS_SOCKET_H
19009 # include <sys/socket.h>
19010 #endif
19011 #ifdef HAVE_SYS_UN_H
19012 # include <sys/un.h>
19013 #endif
19015 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
19017 cat >>confdefs.h <<_ACEOF
19018 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19019 _ACEOF
19023 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19024 #ifdef HAVE_SYS_SOCKET_H
19025 # include <sys/socket.h>
19026 #endif
19027 #ifdef HAVE_SYS_UN_H
19028 # include <sys/un.h>
19029 #endif
19031 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19033 cat >>confdefs.h <<_ACEOF
19034 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19035 _ACEOF
19039 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19040 #ifdef HAVE_SYS_SOCKET_H
19041 # include <sys/socket.h>
19042 #endif
19043 #ifdef HAVE_SYS_UN_H
19044 # include <sys/un.h>
19045 #endif
19047 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19049 cat >>confdefs.h <<_ACEOF
19050 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19051 _ACEOF
19057 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19058 #ifdef HAVE_SCSI_SG_H
19059 #include <scsi/sg.h>
19060 #endif
19062 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19064 cat >>confdefs.h <<_ACEOF
19065 #define HAVE_SCSIREQ_T_CMD 1
19066 _ACEOF
19070 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>
19071 #ifdef HAVE_SCSI_SG_H
19072 #include <scsi/sg.h>
19073 #endif
19075 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19077 cat >>confdefs.h <<_ACEOF
19078 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19079 _ACEOF
19085 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19087 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19089 cat >>confdefs.h <<_ACEOF
19090 #define HAVE_SIGINFO_T_SI_FD 1
19091 _ACEOF
19097 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19098 #ifdef HAVE_SYS_MTIO_H
19099 #include <sys/mtio.h>
19100 #endif
19102 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19104 cat >>confdefs.h <<_ACEOF
19105 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19106 _ACEOF
19110 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19111 #ifdef HAVE_SYS_MTIO_H
19112 #include <sys/mtio.h>
19113 #endif
19115 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19117 cat >>confdefs.h <<_ACEOF
19118 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19119 _ACEOF
19123 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19124 #ifdef HAVE_SYS_MTIO_H
19125 #include <sys/mtio.h>
19126 #endif
19128 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19130 cat >>confdefs.h <<_ACEOF
19131 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19132 _ACEOF
19138 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19139 #include <getopt.h>
19140 #endif
19142 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19144 cat >>confdefs.h <<_ACEOF
19145 #define HAVE_STRUCT_OPTION_NAME 1
19146 _ACEOF
19152 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19153 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19155 cat >>confdefs.h <<_ACEOF
19156 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19157 _ACEOF
19161 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19162 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19164 cat >>confdefs.h <<_ACEOF
19165 #define HAVE_STRUCT_STAT_ST_MTIM 1
19166 _ACEOF
19170 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19171 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19173 cat >>confdefs.h <<_ACEOF
19174 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19175 _ACEOF
19179 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19180 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19182 cat >>confdefs.h <<_ACEOF
19183 #define HAVE_STRUCT_STAT_ST_CTIM 1
19184 _ACEOF
19188 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19189 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19191 cat >>confdefs.h <<_ACEOF
19192 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19193 _ACEOF
19197 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19198 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19200 cat >>confdefs.h <<_ACEOF
19201 #define HAVE_STRUCT_STAT_ST_ATIM 1
19202 _ACEOF
19206 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19207 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19209 cat >>confdefs.h <<_ACEOF
19210 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19211 _ACEOF
19215 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19216 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19218 cat >>confdefs.h <<_ACEOF
19219 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19220 _ACEOF
19224 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19225 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19227 cat >>confdefs.h <<_ACEOF
19228 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19229 _ACEOF
19233 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19234 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19236 cat >>confdefs.h <<_ACEOF
19237 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19238 _ACEOF
19242 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19243 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19245 cat >>confdefs.h <<_ACEOF
19246 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19247 _ACEOF
19251 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19252 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19254 cat >>confdefs.h <<_ACEOF
19255 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19256 _ACEOF
19262 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
19263 #include <sys/types.h>
19264 #endif
19265 #ifdef HAVE_NETINET_IN_H
19266 #include <netinet/in.h>
19267 #endif
19269 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19273 _ACEOF
19279 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19280 #include <sys/types.h>
19281 #endif
19282 #ifdef HAVE_NETINET_IN_H
19283 #include <netinet/in.h>
19284 #endif
19285 #ifdef HAVE_RESOLV_H
19286 #include <resolv.h>
19287 #endif
19289 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19291 cat >>confdefs.h <<_ACEOF
19292 #define HAVE_STRUCT___RES_STATE 1
19293 _ACEOF
19299 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
19300 #include <resolv.h>
19301 #endif
19303 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19305 cat >>confdefs.h <<_ACEOF
19306 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19307 _ACEOF
19313 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19314 #include <sys/types.h>
19315 #endif
19316 #ifdef HAVE_NETINET_IN_H
19317 # include <netinet/in.h>
19318 #endif
19319 #ifdef HAVE_ARPA_NAMESER_H
19320 # include <arpa/nameser.h>
19321 #endif
19323 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19325 cat >>confdefs.h <<_ACEOF
19326 #define HAVE_NS_MSG__MSG_PTR 1
19327 _ACEOF
19333 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19334 #include <sys/types.h>
19335 #endif
19336 #ifdef HAVE_NETINET_IN_H
19337 #include <netinet/in.h>
19338 #endif
19339 #ifdef HAVE_NETINET_IP_H
19340 #include <netinet/ip.h>
19341 #endif
19342 #ifdef HAVE_NETINET_IP_ICMP_H
19343 #include <netinet/ip_icmp.h>
19344 #endif
19345 #ifdef HAVE_NETINET_ICMP_VAR_H
19346 #include <netinet/icmp_var.h>
19347 #endif
19349 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19351 cat >>confdefs.h <<_ACEOF
19352 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19353 _ACEOF
19359 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19360 #include <sys/types.h>
19361 #endif
19362 #ifdef HAVE_ALIAS_H
19363 #include <alias.h>
19364 #endif
19365 #ifdef HAVE_SYS_SOCKET_H
19366 #include <sys/socket.h>
19367 #endif
19368 #ifdef HAVE_SYS_SOCKETVAR_H
19369 #include <sys/socketvar.h>
19370 #endif
19371 #ifdef HAVE_SYS_TIMEOUT_H
19372 #include <sys/timeout.h>
19373 #endif
19374 #ifdef HAVE_NETINET_IN_H
19375 #include <netinet/in.h>
19376 #endif
19377 #ifdef HAVE_NETINET_IN_SYSTM_H
19378 #include <netinet/in_systm.h>
19379 #endif
19380 #ifdef HAVE_NETINET_IP_H
19381 #include <netinet/ip.h>
19382 #endif
19383 #ifdef HAVE_NETINET_IP_VAR_H
19384 #include <netinet/ip_var.h>
19385 #endif
19386 #ifdef HAVE_NETINET_IP_ICMP_H
19387 #include <netinet/ip_icmp.h>
19388 #endif
19389 #ifdef HAVE_NETINET_ICMP_VAR_H
19390 #include <netinet/icmp_var.h>
19391 #endif
19393 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19395 cat >>confdefs.h <<_ACEOF
19396 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19397 _ACEOF
19403 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19404 #include <sys/types.h>
19405 #endif
19406 #ifdef HAVE_SYS_SOCKETVAR_H
19407 #include <sys/socketvar.h>
19408 #endif
19409 #ifdef HAVE_NETINET_IN_H
19410 #include <netinet/in.h>
19411 #endif
19412 #ifdef HAVE_NETINET_IP_VAR_H
19413 #include <netinet/ip_var.h>
19414 #endif
19416 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19418 cat >>confdefs.h <<_ACEOF
19419 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19420 _ACEOF
19426 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
19427 #include <netinet/ip_var.h>
19428 #endif
19430 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19432 cat >>confdefs.h <<_ACEOF
19433 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19434 _ACEOF
19440 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19441 #include <sys/types.h>
19442 #endif
19443 #ifdef HAVE_SYS_SOCKETVAR_H
19444 #include <sys/socketvar.h>
19445 #endif
19446 #ifdef HAVE_NETINET_IN_H
19447 #include <netinet/in.h>
19448 #endif
19449 #ifdef HAVE_NETINET_TCP_H
19450 #include <netinet/tcp.h>
19451 #endif
19452 #ifdef HAVE_NETINET_TCP_VAR_H
19453 #include <netinet/tcp_var.h>
19454 #endif
19456 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19458 cat >>confdefs.h <<_ACEOF
19459 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19460 _ACEOF
19466 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
19467 #include <netinet/tcp_var.h>
19468 #endif
19470 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19472 cat >>confdefs.h <<_ACEOF
19473 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19474 _ACEOF
19480 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19481 #include <sys/types.h>
19482 #endif
19483 #ifdef HAVE_NETINET_IN_H
19484 #include <netinet/in.h>
19485 #endif
19486 #ifdef HAVE_NETINET_IP_VAR_H
19487 #include <netinet/ip_var.h>
19488 #endif
19489 #ifdef HAVE_NETINET_UDP_H
19490 #include <netinet/udp.h>
19491 #endif
19492 #ifdef HAVE_NETINET_UDP_VAR_H
19493 #include <netinet/udp_var.h>
19494 #endif
19496 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19498 cat >>confdefs.h <<_ACEOF
19499 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19500 _ACEOF
19506 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19507 #include <sys/types.h>
19508 #endif
19509 #ifdef HAVE_NET_IF_H
19510 # include <net/if.h>
19511 #endif
19513 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19515 cat >>confdefs.h <<_ACEOF
19516 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19517 _ACEOF
19523 ac_save_LIBS="$LIBS"
19524 LIBS="$LIBS -lm"
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19526 $as_echo_n "checking for isfinite... " >&6; }
19527 if ${ac_cv_have_isfinite+:} false; then :
19528 $as_echo_n "(cached) " >&6
19529 else
19530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19531 /* end confdefs.h. */
19532 #define _GNU_SOURCE
19533 #include <math.h>
19535 main ()
19537 float f = 0.0; return isfinite(f)
19539 return 0;
19541 _ACEOF
19542 if ac_fn_c_try_link "$LINENO"; then :
19543 ac_cv_have_isfinite="yes"
19544 else
19545 ac_cv_have_isfinite="no"
19547 rm -f core conftest.err conftest.$ac_objext \
19548 conftest$ac_exeext conftest.$ac_ext
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19551 $as_echo "$ac_cv_have_isfinite" >&6; }
19552 if test "$ac_cv_have_isfinite" = "yes"
19553 then
19555 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19560 $as_echo_n "checking for isinf... " >&6; }
19561 if ${ac_cv_have_isinf+:} false; then :
19562 $as_echo_n "(cached) " >&6
19563 else
19564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19565 /* end confdefs.h. */
19566 #include <math.h>
19568 main ()
19570 float f = 0.0; return isinf(f)
19572 return 0;
19574 _ACEOF
19575 if ac_fn_c_try_link "$LINENO"; then :
19576 ac_cv_have_isinf="yes"
19577 else
19578 ac_cv_have_isinf="no"
19580 rm -f core conftest.err conftest.$ac_objext \
19581 conftest$ac_exeext conftest.$ac_ext
19583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19584 $as_echo "$ac_cv_have_isinf" >&6; }
19585 if test "$ac_cv_have_isinf" = "yes"
19586 then
19588 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19593 $as_echo_n "checking for isnan... " >&6; }
19594 if ${ac_cv_have_isnan+:} false; then :
19595 $as_echo_n "(cached) " >&6
19596 else
19597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19598 /* end confdefs.h. */
19599 #include <math.h>
19601 main ()
19603 float f = 0.0; return isnan(f)
19605 return 0;
19607 _ACEOF
19608 if ac_fn_c_try_link "$LINENO"; then :
19609 ac_cv_have_isnan="yes"
19610 else
19611 ac_cv_have_isnan="no"
19613 rm -f core conftest.err conftest.$ac_objext \
19614 conftest$ac_exeext conftest.$ac_ext
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19617 $as_echo "$ac_cv_have_isnan" >&6; }
19618 if test "$ac_cv_have_isnan" = "yes"
19619 then
19621 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19625 for ac_func in \
19626 acosh \
19627 acoshf \
19628 asinh \
19629 asinhf \
19630 atanh \
19631 atanhf \
19632 cbrt \
19633 cbrtf \
19634 erf \
19635 erfc \
19636 erfcf \
19637 erff \
19638 exp2 \
19639 exp2f \
19640 expm1 \
19641 expm1f \
19642 fma \
19643 fmaf \
19644 ilogb \
19645 ilogbf \
19646 j0 \
19647 j1 \
19648 jn \
19649 lgamma \
19650 lgammaf \
19651 llrint \
19652 llrintf \
19653 llround \
19654 llroundf \
19655 log1p \
19656 log1pf \
19657 log2 \
19658 log2f \
19659 lrint \
19660 lrintf \
19661 lround \
19662 lroundf \
19663 nearbyint \
19664 nearbyintf \
19665 nexttoward \
19666 nexttowardf \
19667 remainder \
19668 remainderf \
19669 remquo \
19670 remquof \
19671 rint \
19672 rintf \
19673 round \
19674 roundf \
19675 tgamma \
19676 tgammaf \
19677 trunc \
19678 truncf \
19679 y0 \
19680 y1 \
19683 do :
19684 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19685 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19686 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19687 cat >>confdefs.h <<_ACEOF
19688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19689 _ACEOF
19692 done
19694 LIBS="$ac_save_LIBS"
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19697 $as_echo_n "checking for __builtin_popcount... " >&6; }
19698 if ${ac_cv_have___builtin_popcount+:} false; then :
19699 $as_echo_n "(cached) " >&6
19700 else
19701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19702 /* end confdefs.h. */
19705 main ()
19707 return __builtin_popcount(1)
19709 return 0;
19711 _ACEOF
19712 if ac_fn_c_try_link "$LINENO"; then :
19713 ac_cv_have___builtin_popcount="yes"
19714 else
19715 ac_cv_have___builtin_popcount="no"
19717 rm -f core conftest.err conftest.$ac_objext \
19718 conftest$ac_exeext conftest.$ac_ext
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19721 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19722 if test "$ac_cv_have___builtin_popcount" = "yes"
19723 then
19725 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19730 $as_echo_n "checking for __clear_cache... " >&6; }
19731 if ${ac_cv_have___clear_cache+:} false; then :
19732 $as_echo_n "(cached) " >&6
19733 else
19734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19735 /* end confdefs.h. */
19738 main ()
19740 __clear_cache((void*)0, (void*)0); return 0;
19742 return 0;
19744 _ACEOF
19745 if ac_fn_c_try_link "$LINENO"; then :
19746 ac_cv_have___clear_cache="yes"
19747 else
19748 ac_cv_have___clear_cache="no"
19750 rm -f core conftest.err conftest.$ac_objext \
19751 conftest$ac_exeext conftest.$ac_ext
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19754 $as_echo "$ac_cv_have___clear_cache" >&6; }
19755 if test "$ac_cv_have___clear_cache" = "yes"
19756 then
19758 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19763 case $host_cpu in
19764 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19765 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19766 if ${ac_cv_cpp_def___i386__+:} false; then :
19767 $as_echo_n "(cached) " >&6
19768 else
19769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19770 /* end confdefs.h. */
19771 #ifndef __i386__
19773 #endif
19774 _ACEOF
19775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19776 $EGREP "yes" >/dev/null 2>&1; then :
19777 ac_cv_cpp_def___i386__=yes
19778 else
19779 ac_cv_cpp_def___i386__=no
19781 rm -f conftest*
19784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19785 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19786 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19787 CFLAGS="$CFLAGS -D__i386__"
19788 LINTFLAGS="$LINTFLAGS -D__i386__"
19789 fi ;;
19790 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19791 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19792 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19793 $as_echo_n "(cached) " >&6
19794 else
19795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19796 /* end confdefs.h. */
19797 #ifndef __x86_64__
19799 #endif
19800 _ACEOF
19801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19802 $EGREP "yes" >/dev/null 2>&1; then :
19803 ac_cv_cpp_def___x86_64__=yes
19804 else
19805 ac_cv_cpp_def___x86_64__=no
19807 rm -f conftest*
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19811 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19812 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19813 CFLAGS="$CFLAGS -D__x86_64__"
19814 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19815 fi ;;
19816 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19817 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19818 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19819 $as_echo_n "(cached) " >&6
19820 else
19821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19822 /* end confdefs.h. */
19823 #ifndef __sparc64__
19825 #endif
19826 _ACEOF
19827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19828 $EGREP "yes" >/dev/null 2>&1; then :
19829 ac_cv_cpp_def___sparc64__=yes
19830 else
19831 ac_cv_cpp_def___sparc64__=no
19833 rm -f conftest*
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19837 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19838 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19839 CFLAGS="$CFLAGS -D__sparc64__"
19840 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19841 fi ;;
19842 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19843 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19844 if ${ac_cv_cpp_def___sparc__+:} false; then :
19845 $as_echo_n "(cached) " >&6
19846 else
19847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19848 /* end confdefs.h. */
19849 #ifndef __sparc__
19851 #endif
19852 _ACEOF
19853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19854 $EGREP "yes" >/dev/null 2>&1; then :
19855 ac_cv_cpp_def___sparc__=yes
19856 else
19857 ac_cv_cpp_def___sparc__=no
19859 rm -f conftest*
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19863 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19864 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19865 CFLAGS="$CFLAGS -D__sparc__"
19866 LINTFLAGS="$LINTFLAGS -D__sparc__"
19867 fi ;;
19868 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19869 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19870 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19871 $as_echo_n "(cached) " >&6
19872 else
19873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19874 /* end confdefs.h. */
19875 #ifndef __powerpc64__
19877 #endif
19878 _ACEOF
19879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19880 $EGREP "yes" >/dev/null 2>&1; then :
19881 ac_cv_cpp_def___powerpc64__=yes
19882 else
19883 ac_cv_cpp_def___powerpc64__=no
19885 rm -f conftest*
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19889 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19890 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19891 CFLAGS="$CFLAGS -D__powerpc64__"
19892 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19893 fi ;;
19894 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19895 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19896 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19897 $as_echo_n "(cached) " >&6
19898 else
19899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19900 /* end confdefs.h. */
19901 #ifndef __powerpc__
19903 #endif
19904 _ACEOF
19905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19906 $EGREP "yes" >/dev/null 2>&1; then :
19907 ac_cv_cpp_def___powerpc__=yes
19908 else
19909 ac_cv_cpp_def___powerpc__=no
19911 rm -f conftest*
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19915 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19916 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19917 CFLAGS="$CFLAGS -D__powerpc__"
19918 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19919 fi ;;
19920 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19921 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19922 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19923 $as_echo_n "(cached) " >&6
19924 else
19925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19926 /* end confdefs.h. */
19927 #ifndef __aarch64__
19929 #endif
19930 _ACEOF
19931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19932 $EGREP "yes" >/dev/null 2>&1; then :
19933 ac_cv_cpp_def___aarch64__=yes
19934 else
19935 ac_cv_cpp_def___aarch64__=no
19937 rm -f conftest*
19940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19941 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19942 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19943 CFLAGS="$CFLAGS -D__aarch64__"
19944 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19945 fi ;;
19946 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19947 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19948 if ${ac_cv_cpp_def___arm__+:} false; then :
19949 $as_echo_n "(cached) " >&6
19950 else
19951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19952 /* end confdefs.h. */
19953 #ifndef __arm__
19955 #endif
19956 _ACEOF
19957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19958 $EGREP "yes" >/dev/null 2>&1; then :
19959 ac_cv_cpp_def___arm__=yes
19960 else
19961 ac_cv_cpp_def___arm__=no
19963 rm -f conftest*
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19967 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19968 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19969 CFLAGS="$CFLAGS -D__arm__"
19970 LINTFLAGS="$LINTFLAGS -D__arm__"
19971 fi ;;
19972 esac
19974 case $host_vendor in
19975 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19976 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19977 if ${ac_cv_cpp_def___sun__+:} false; then :
19978 $as_echo_n "(cached) " >&6
19979 else
19980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19981 /* end confdefs.h. */
19982 #ifndef __sun__
19984 #endif
19985 _ACEOF
19986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19987 $EGREP "yes" >/dev/null 2>&1; then :
19988 ac_cv_cpp_def___sun__=yes
19989 else
19990 ac_cv_cpp_def___sun__=no
19992 rm -f conftest*
19995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19996 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19997 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19998 CFLAGS="$CFLAGS -D__sun__"
19999 LINTFLAGS="$LINTFLAGS -D__sun__"
20000 fi ;;
20001 esac
20007 ac_config_commands="$ac_config_commands include/stamp-h"
20009 $as_echo_n "creating Makefile rules..." >&6
20011 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
20012 OPENGL_LIBS = $OPENGL_LIBS
20013 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
20014 IOKIT_LIBS = $IOKIT_LIBS
20015 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
20016 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
20017 CORESERVICES_LIBS = $CORESERVICES_LIBS
20018 APPKIT_LIBS = $APPKIT_LIBS
20019 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20020 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20021 SECURITY_LIBS = $SECURITY_LIBS
20022 COREAUDIO_LIBS = $COREAUDIO_LIBS
20023 OPENAL_LIBS = $OPENAL_LIBS
20024 OPENCL_LIBS = $OPENCL_LIBS
20025 QUICKTIME_LIBS = $QUICKTIME_LIBS
20026 CARBON_LIBS = $CARBON_LIBS
20027 METAL_LIBS = $METAL_LIBS
20028 PTHREAD_LIBS = $PTHREAD_LIBS
20029 X_CFLAGS = $X_CFLAGS
20030 X_PRE_LIBS = $X_PRE_LIBS
20031 X_LIBS = $X_LIBS
20032 X_EXTRA_LIBS = $X_EXTRA_LIBS
20033 PCAP_LIBS = $PCAP_LIBS
20034 XML2_CFLAGS = $XML2_CFLAGS
20035 XML2_LIBS = $XML2_LIBS
20036 XSLT_CFLAGS = $XSLT_CFLAGS
20037 XSLT_LIBS = $XSLT_LIBS
20038 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20039 INOTIFY_LIBS = $INOTIFY_LIBS
20040 DBUS_CFLAGS = $DBUS_CFLAGS
20041 DBUS_LIBS = $DBUS_LIBS
20042 HAL_CFLAGS = $HAL_CFLAGS
20043 HAL_LIBS = $HAL_LIBS
20044 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20045 GNUTLS_LIBS = $GNUTLS_LIBS
20046 SANE_CFLAGS = $SANE_CFLAGS
20047 SANE_LIBS = $SANE_LIBS
20048 USB_CFLAGS = $USB_CFLAGS
20049 USB_LIBS = $USB_LIBS
20050 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20051 GPHOTO2_LIBS = $GPHOTO2_LIBS
20052 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20053 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20054 RESOLV_LIBS = $RESOLV_LIBS
20055 LCMS2_CFLAGS = $LCMS2_CFLAGS
20056 LCMS2_LIBS = $LCMS2_LIBS
20057 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20058 FREETYPE_LIBS = $FREETYPE_LIBS
20059 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20060 PULSE_CFLAGS = $PULSE_CFLAGS
20061 PULSE_LIBS = $PULSE_LIBS
20062 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20063 GSTREAMER_LIBS = $GSTREAMER_LIBS
20064 ALSA_LIBS = $ALSA_LIBS
20065 OSS4_CFLAGS = $OSS4_CFLAGS
20066 OSS4_LIBS = $OSS4_LIBS
20067 UDEV_CFLAGS = $UDEV_CFLAGS
20068 UDEV_LIBS = $UDEV_LIBS
20069 UNWIND_CFLAGS = $UNWIND_CFLAGS
20070 UNWIND_LIBS = $UNWIND_LIBS
20071 SDL2_CFLAGS = $SDL2_CFLAGS
20072 SDL2_LIBS = $SDL2_LIBS
20073 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20074 FAUDIO_LIBS = $FAUDIO_LIBS
20075 CAPI20_CFLAGS = $CAPI20_CFLAGS
20076 CAPI20_LIBS = $CAPI20_LIBS
20077 CUPS_CFLAGS = $CUPS_CFLAGS
20078 CUPS_LIBS = $CUPS_LIBS
20079 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20080 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20081 KRB5_CFLAGS = $KRB5_CFLAGS
20082 KRB5_LIBS = $KRB5_LIBS
20083 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20084 GSSAPI_LIBS = $GSSAPI_LIBS
20085 JPEG_CFLAGS = $JPEG_CFLAGS
20086 JPEG_LIBS = $JPEG_LIBS
20087 PNG_CFLAGS = $PNG_CFLAGS
20088 PNG_LIBS = $PNG_LIBS
20089 TIFF_CFLAGS = $TIFF_CFLAGS
20090 TIFF_LIBS = $TIFF_LIBS
20091 MPG123_CFLAGS = $MPG123_CFLAGS
20092 MPG123_LIBS = $MPG123_LIBS
20093 KSTAT_LIBS = $KSTAT_LIBS
20094 PROCSTAT_LIBS = $PROCSTAT_LIBS
20095 NETAPI_CFLAGS = $NETAPI_CFLAGS
20096 NETAPI_LIBS = $NETAPI_LIBS
20097 VKD3D_CFLAGS = $VKD3D_CFLAGS
20098 VKD3D_LIBS = $VKD3D_LIBS
20099 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20100 POLL_LIBS = $POLL_LIBS
20101 RT_LIBS = $RT_LIBS
20102 LDAP_CFLAGS = $LDAP_CFLAGS
20103 LDAP_LIBS = $LDAP_LIBS
20108 wine_fn_append_rule "
20109 # Rules automatically generated by configure
20111 .INIT: Makefile
20112 .MAKEFILEDEPS:
20113 all: Makefile
20114 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20115 @./config.status Make.tmp Makefile
20116 depend: \$(MAKEDEP) dummy
20117 \$(MAKEDEP)"
20119 ac_config_links="$ac_config_links wine:tools/winewrapper"
20120 wine_fn_config_symlink wine
20121 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20122 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20123 wine_fn_config_symlink wine64
20126 wine_fn_config_makefile dlls/acledit enable_acledit
20127 wine_fn_config_makefile dlls/aclui enable_aclui
20128 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20129 wine_fn_config_makefile dlls/activeds enable_activeds
20130 wine_fn_config_makefile dlls/activeds/tests enable_tests
20131 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20132 wine_fn_config_makefile dlls/adsiid enable_adsiid
20133 wine_fn_config_makefile dlls/adsldp enable_adsldp
20134 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20135 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20136 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20137 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20138 wine_fn_config_makefile dlls/advpack enable_advpack
20139 wine_fn_config_makefile dlls/advpack/tests enable_tests
20140 wine_fn_config_makefile dlls/amsi enable_amsi
20141 wine_fn_config_makefile dlls/amstream enable_amstream
20142 wine_fn_config_makefile dlls/amstream/tests enable_tests
20143 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20145 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20146 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20148 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20153 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20161 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20163 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20165 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20167 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20168 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20169 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20171 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20174 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20175 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20177 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20178 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20187 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20191 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20192 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20195 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20197 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20198 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20201 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20209 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20210 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20217 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20221 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20222 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20223 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20246 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20250 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20253 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20263 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20268 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20269 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20274 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20276 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20295 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20296 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20315 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20326 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20330 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20332 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20334 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20335 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20340 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20342 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20348 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20351 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20353 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20355 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20357 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20358 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20359 wine_fn_config_makefile dlls/apphelp enable_apphelp
20360 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20361 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20362 wine_fn_config_makefile dlls/atl enable_atl
20363 wine_fn_config_makefile dlls/atl/tests enable_tests
20364 wine_fn_config_makefile dlls/atl100 enable_atl100
20365 wine_fn_config_makefile dlls/atl100/tests enable_tests
20366 wine_fn_config_makefile dlls/atl110 enable_atl110
20367 wine_fn_config_makefile dlls/atl80 enable_atl80
20368 wine_fn_config_makefile dlls/atl80/tests enable_tests
20369 wine_fn_config_makefile dlls/atl90 enable_atl90
20370 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20371 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20372 wine_fn_config_makefile dlls/atmlib enable_atmlib
20373 wine_fn_config_makefile dlls/authz enable_authz
20374 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20375 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20376 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20377 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20378 wine_fn_config_makefile dlls/avrt enable_avrt
20379 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20380 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20381 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20382 wine_fn_config_makefile dlls/browseui enable_browseui
20383 wine_fn_config_makefile dlls/browseui/tests enable_tests
20384 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20385 wine_fn_config_makefile dlls/cabinet enable_cabinet
20386 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20387 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20388 wine_fn_config_makefile dlls/cards enable_cards
20389 wine_fn_config_makefile dlls/cdosys enable_cdosys
20390 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20391 wine_fn_config_makefile dlls/clusapi enable_clusapi
20392 wine_fn_config_makefile dlls/combase enable_combase
20393 wine_fn_config_makefile dlls/combase/tests enable_tests
20394 wine_fn_config_makefile dlls/comcat enable_comcat
20395 wine_fn_config_makefile dlls/comcat/tests enable_tests
20396 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20397 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20398 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20399 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20400 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20401 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20402 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20403 wine_fn_config_makefile dlls/compstui enable_compstui
20404 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20405 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20406 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20407 wine_fn_config_makefile dlls/connect enable_connect
20408 wine_fn_config_makefile dlls/credui enable_credui
20409 wine_fn_config_makefile dlls/credui/tests enable_tests
20410 wine_fn_config_makefile dlls/crtdll enable_crtdll
20411 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20412 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20413 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20414 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20415 wine_fn_config_makefile dlls/cryptext enable_cryptext
20416 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20417 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20418 wine_fn_config_makefile dlls/cryptui enable_cryptui
20419 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20420 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20421 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20422 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20423 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20424 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20425 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20426 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20427 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20428 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20429 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20430 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20431 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20432 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20433 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20434 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20435 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20436 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20437 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20438 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20439 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20440 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20441 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20442 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20443 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20444 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20445 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20446 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20447 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20448 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20449 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20450 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20451 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20452 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20453 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20454 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20455 wine_fn_config_makefile dlls/d3dim enable_d3dim
20456 wine_fn_config_makefile dlls/d3drm enable_d3drm
20457 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20458 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20459 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20460 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20461 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20462 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20463 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20464 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20465 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20466 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20467 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20468 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20469 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20470 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20471 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20472 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20473 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20474 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20475 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20476 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20477 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20478 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20479 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20480 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20481 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20482 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20483 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20484 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20485 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20486 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20487 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20488 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20489 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20490 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20491 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20492 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20493 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20494 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20495 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20496 wine_fn_config_makefile dlls/davclnt enable_davclnt
20497 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20498 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20499 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20500 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20501 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20502 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20503 wine_fn_config_makefile dlls/ddraw enable_ddraw
20504 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20505 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20506 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20507 wine_fn_config_makefile dlls/devenum enable_devenum
20508 wine_fn_config_makefile dlls/devenum/tests enable_tests
20509 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20510 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20511 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20512 wine_fn_config_makefile dlls/difxapi enable_difxapi
20513 wine_fn_config_makefile dlls/dinput enable_dinput
20514 wine_fn_config_makefile dlls/dinput/tests enable_tests
20515 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20516 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20517 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20518 wine_fn_config_makefile dlls/dispex enable_dispex
20519 wine_fn_config_makefile dlls/dispex/tests enable_tests
20520 wine_fn_config_makefile dlls/display.drv16 enable_win16
20521 wine_fn_config_makefile dlls/dmband enable_dmband
20522 wine_fn_config_makefile dlls/dmband/tests enable_tests
20523 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20524 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20525 wine_fn_config_makefile dlls/dmime enable_dmime
20526 wine_fn_config_makefile dlls/dmime/tests enable_tests
20527 wine_fn_config_makefile dlls/dmloader enable_dmloader
20528 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20529 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20530 wine_fn_config_makefile dlls/dmscript enable_dmscript
20531 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20532 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20533 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20534 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20535 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20536 wine_fn_config_makefile dlls/dmusic enable_dmusic
20537 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20538 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20539 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20540 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20541 wine_fn_config_makefile dlls/dplay enable_dplay
20542 wine_fn_config_makefile dlls/dplayx enable_dplayx
20543 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20544 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20545 wine_fn_config_makefile dlls/dpnet enable_dpnet
20546 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20547 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20548 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20549 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20550 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20551 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20552 wine_fn_config_makefile dlls/drmclien enable_drmclien
20553 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20554 wine_fn_config_makefile dlls/dsound enable_dsound
20555 wine_fn_config_makefile dlls/dsound/tests enable_tests
20556 wine_fn_config_makefile dlls/dsquery enable_dsquery
20557 wine_fn_config_makefile dlls/dssenh enable_dssenh
20558 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20559 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20560 wine_fn_config_makefile dlls/dswave enable_dswave
20561 wine_fn_config_makefile dlls/dswave/tests enable_tests
20562 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20563 wine_fn_config_makefile dlls/dwrite enable_dwrite
20564 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20565 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20566 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20567 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20568 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20569 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20570 wine_fn_config_makefile dlls/dxgi enable_dxgi
20571 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20572 wine_fn_config_makefile dlls/dxguid enable_dxguid
20573 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20574 wine_fn_config_makefile dlls/esent enable_esent
20575 wine_fn_config_makefile dlls/evr enable_evr
20576 wine_fn_config_makefile dlls/evr/tests enable_tests
20577 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20578 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20579 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20580 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20581 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20582 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20583 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20584 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20585 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20588 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20590 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20593 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20595 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20596 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20597 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20598 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20599 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20600 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20601 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20602 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20603 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20604 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20605 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20606 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20607 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20608 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20609 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20610 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20611 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20612 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20613 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20614 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20615 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20616 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20617 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20618 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20619 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
20620 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20621 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20622 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20623 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20624 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20625 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20626 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20627 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20628 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20629 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20630 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20631 wine_fn_config_makefile dlls/faultrep enable_faultrep
20632 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20633 wine_fn_config_makefile dlls/feclient enable_feclient
20634 wine_fn_config_makefile dlls/fltlib enable_fltlib
20635 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20636 wine_fn_config_makefile dlls/fntcache enable_fntcache
20637 wine_fn_config_makefile dlls/fontsub enable_fontsub
20638 wine_fn_config_makefile dlls/fusion enable_fusion
20639 wine_fn_config_makefile dlls/fusion/tests enable_tests
20640 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20641 wine_fn_config_makefile dlls/gameux enable_gameux
20642 wine_fn_config_makefile dlls/gameux/tests enable_tests
20643 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20644 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20645 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20646 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20647 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20648 wine_fn_config_makefile dlls/glu32 enable_glu32
20649 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20650 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20651 wine_fn_config_makefile dlls/hal enable_hal
20652 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20653 wine_fn_config_makefile dlls/hid enable_hid
20654 wine_fn_config_makefile dlls/hid/tests enable_tests
20655 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20656 wine_fn_config_makefile dlls/hlink enable_hlink
20657 wine_fn_config_makefile dlls/hlink/tests enable_tests
20658 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20659 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20660 wine_fn_config_makefile dlls/http.sys enable_http_sys
20661 wine_fn_config_makefile dlls/httpapi enable_httpapi
20662 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20663 wine_fn_config_makefile dlls/iccvid enable_iccvid
20664 wine_fn_config_makefile dlls/icmp enable_icmp
20665 wine_fn_config_makefile dlls/ieframe enable_ieframe
20666 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20667 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20668 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20669 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20670 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20671 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20672 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20673 wine_fn_config_makefile dlls/imm32 enable_imm32
20674 wine_fn_config_makefile dlls/imm32/tests enable_tests
20675 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20676 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20677 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20678 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20679 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20680 wine_fn_config_makefile dlls/infosoft enable_infosoft
20681 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20682 wine_fn_config_makefile dlls/initpki enable_initpki
20683 wine_fn_config_makefile dlls/inkobj enable_inkobj
20684 wine_fn_config_makefile dlls/inseng enable_inseng
20685 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20686 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20687 wine_fn_config_makefile dlls/iprop enable_iprop
20688 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20689 wine_fn_config_makefile dlls/itircl enable_itircl
20690 wine_fn_config_makefile dlls/itss enable_itss
20691 wine_fn_config_makefile dlls/itss/tests enable_tests
20692 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20693 wine_fn_config_makefile dlls/jscript enable_jscript
20694 wine_fn_config_makefile dlls/jscript/tests enable_tests
20695 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20696 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20697 wine_fn_config_makefile dlls/kerberos enable_kerberos
20698 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20699 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20700 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20701 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20702 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20703 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20704 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20705 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20706 wine_fn_config_makefile dlls/ksuser enable_ksuser
20707 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20708 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20709 wine_fn_config_makefile dlls/loadperf enable_loadperf
20710 wine_fn_config_makefile dlls/localspl enable_localspl
20711 wine_fn_config_makefile dlls/localspl/tests enable_tests
20712 wine_fn_config_makefile dlls/localui enable_localui
20713 wine_fn_config_makefile dlls/localui/tests enable_tests
20714 wine_fn_config_makefile dlls/lz32 enable_lz32
20715 wine_fn_config_makefile dlls/lz32/tests enable_tests
20716 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20717 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20718 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20719 wine_fn_config_makefile dlls/mapistub enable_mapistub
20720 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20721 wine_fn_config_makefile dlls/mcicda enable_mcicda
20722 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20723 wine_fn_config_makefile dlls/mciseq enable_mciseq
20724 wine_fn_config_makefile dlls/mciwave enable_mciwave
20725 wine_fn_config_makefile dlls/mf enable_mf
20726 wine_fn_config_makefile dlls/mf/tests enable_tests
20727 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20728 wine_fn_config_makefile dlls/mferror enable_mferror
20729 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20730 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20731 wine_fn_config_makefile dlls/mfplat enable_mfplat
20732 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20733 wine_fn_config_makefile dlls/mfplay enable_mfplay
20734 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20735 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20736 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20737 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20738 wine_fn_config_makefile dlls/midimap enable_midimap
20739 wine_fn_config_makefile dlls/mlang enable_mlang
20740 wine_fn_config_makefile dlls/mlang/tests enable_tests
20741 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20742 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20743 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20744 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20745 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20746 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20747 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20748 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20749 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20750 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20751 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20752 wine_fn_config_makefile dlls/mpr enable_mpr
20753 wine_fn_config_makefile dlls/mpr/tests enable_tests
20754 wine_fn_config_makefile dlls/mprapi enable_mprapi
20755 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20756 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20757 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20758 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20759 wine_fn_config_makefile dlls/msado15 enable_msado15
20760 wine_fn_config_makefile dlls/msado15/tests enable_tests
20761 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20762 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20763 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20764 wine_fn_config_makefile dlls/mscms enable_mscms
20765 wine_fn_config_makefile dlls/mscms/tests enable_tests
20766 wine_fn_config_makefile dlls/mscoree enable_mscoree
20767 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20768 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20769 wine_fn_config_makefile dlls/msctf enable_msctf
20770 wine_fn_config_makefile dlls/msctf/tests enable_tests
20771 wine_fn_config_makefile dlls/msctfp enable_msctfp
20772 wine_fn_config_makefile dlls/msdaps enable_msdaps
20773 wine_fn_config_makefile dlls/msdelta enable_msdelta
20774 wine_fn_config_makefile dlls/msdmo enable_msdmo
20775 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20776 wine_fn_config_makefile dlls/msdrm enable_msdrm
20777 wine_fn_config_makefile dlls/msftedit enable_msftedit
20778 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20779 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20780 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20781 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20782 wine_fn_config_makefile dlls/mshtml enable_mshtml
20783 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20784 wine_fn_config_makefile dlls/msi enable_msi
20785 wine_fn_config_makefile dlls/msi/tests enable_tests
20786 wine_fn_config_makefile dlls/msident enable_msident
20787 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20788 wine_fn_config_makefile dlls/msimsg enable_msimsg
20789 wine_fn_config_makefile dlls/msimtf enable_msimtf
20790 wine_fn_config_makefile dlls/msisip enable_msisip
20791 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20792 wine_fn_config_makefile dlls/msls31 enable_msls31
20793 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20794 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20795 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20796 wine_fn_config_makefile dlls/msports enable_msports
20797 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20798 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20799 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20800 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20801 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20802 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20803 wine_fn_config_makefile dlls/mstask enable_mstask
20804 wine_fn_config_makefile dlls/mstask/tests enable_tests
20805 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20806 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20807 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20808 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20809 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20810 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20811 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20812 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20813 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20814 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20815 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20816 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20817 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20818 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20819 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20820 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20821 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20822 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20823 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20824 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20825 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20826 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20827 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20828 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20829 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20830 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20831 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20832 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20833 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20834 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20835 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20836 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20837 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20838 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20839 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20840 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20841 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20842 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20843 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20844 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20845 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20846 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20847 wine_fn_config_makefile dlls/mswsock enable_mswsock
20848 wine_fn_config_makefile dlls/msxml enable_msxml
20849 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20850 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20851 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20852 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20853 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20854 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20855 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20856 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20857 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20858 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20859 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20860 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20861 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20862 wine_fn_config_makefile dlls/netprofm enable_netprofm
20863 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20864 wine_fn_config_makefile dlls/newdev enable_newdev
20865 wine_fn_config_makefile dlls/ninput enable_ninput
20866 wine_fn_config_makefile dlls/ninput/tests enable_tests
20867 wine_fn_config_makefile dlls/normaliz enable_normaliz
20868 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20869 wine_fn_config_makefile dlls/npptools enable_npptools
20870 wine_fn_config_makefile dlls/ntdll enable_ntdll
20871 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20872 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20873 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20874 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20875 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20876 wine_fn_config_makefile dlls/ntprint enable_ntprint
20877 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20878 wine_fn_config_makefile dlls/objsel enable_objsel
20879 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20880 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20881 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20882 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20883 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20884 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20885 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20886 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20887 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20888 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20889 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20890 wine_fn_config_makefile dlls/ole32 enable_ole32
20891 wine_fn_config_makefile dlls/ole32/tests enable_tests
20892 wine_fn_config_makefile dlls/oleacc enable_oleacc
20893 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20894 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20895 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20896 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20897 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20898 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20899 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20900 wine_fn_config_makefile dlls/oledlg enable_oledlg
20901 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20902 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20903 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20904 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20905 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20906 wine_fn_config_makefile dlls/opcservices enable_opcservices
20907 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20908 wine_fn_config_makefile dlls/openal32 enable_openal32
20909 wine_fn_config_makefile dlls/opencl enable_opencl
20910 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20911 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20912 wine_fn_config_makefile dlls/packager enable_packager
20913 wine_fn_config_makefile dlls/packager/tests enable_tests
20914 wine_fn_config_makefile dlls/pdh enable_pdh
20915 wine_fn_config_makefile dlls/pdh/tests enable_tests
20916 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20917 wine_fn_config_makefile dlls/pidgen enable_pidgen
20918 wine_fn_config_makefile dlls/powrprof enable_powrprof
20919 wine_fn_config_makefile dlls/printui enable_printui
20920 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20921 wine_fn_config_makefile dlls/propsys enable_propsys
20922 wine_fn_config_makefile dlls/propsys/tests enable_tests
20923 wine_fn_config_makefile dlls/psapi enable_psapi
20924 wine_fn_config_makefile dlls/psapi/tests enable_tests
20925 wine_fn_config_makefile dlls/pstorec enable_pstorec
20926 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20927 wine_fn_config_makefile dlls/qasf enable_qasf
20928 wine_fn_config_makefile dlls/qasf/tests enable_tests
20929 wine_fn_config_makefile dlls/qcap enable_qcap
20930 wine_fn_config_makefile dlls/qcap/tests enable_tests
20931 wine_fn_config_makefile dlls/qdvd enable_qdvd
20932 wine_fn_config_makefile dlls/qedit enable_qedit
20933 wine_fn_config_makefile dlls/qedit/tests enable_tests
20934 wine_fn_config_makefile dlls/qmgr enable_qmgr
20935 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20936 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20937 wine_fn_config_makefile dlls/quartz enable_quartz
20938 wine_fn_config_makefile dlls/quartz/tests enable_tests
20939 wine_fn_config_makefile dlls/query enable_query
20940 wine_fn_config_makefile dlls/qwave enable_qwave
20941 wine_fn_config_makefile dlls/qwave/tests enable_tests
20942 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20943 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20944 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20945 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20946 wine_fn_config_makefile dlls/regapi enable_regapi
20947 wine_fn_config_makefile dlls/resutils enable_resutils
20948 wine_fn_config_makefile dlls/riched20 enable_riched20
20949 wine_fn_config_makefile dlls/riched20/tests enable_tests
20950 wine_fn_config_makefile dlls/riched32 enable_riched32
20951 wine_fn_config_makefile dlls/riched32/tests enable_tests
20952 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20953 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20954 wine_fn_config_makefile dlls/rsabase enable_rsabase
20955 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20956 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20957 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20958 wine_fn_config_makefile dlls/rtutils enable_rtutils
20959 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20960 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20961 wine_fn_config_makefile dlls/samlib enable_samlib
20962 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20963 wine_fn_config_makefile dlls/sapi enable_sapi
20964 wine_fn_config_makefile dlls/sapi/tests enable_tests
20965 wine_fn_config_makefile dlls/sas enable_sas
20966 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20967 wine_fn_config_makefile dlls/sccbase enable_sccbase
20968 wine_fn_config_makefile dlls/schannel enable_schannel
20969 wine_fn_config_makefile dlls/schannel/tests enable_tests
20970 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20971 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20972 wine_fn_config_makefile dlls/scrobj enable_scrobj
20973 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20974 wine_fn_config_makefile dlls/scrrun enable_scrrun
20975 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20976 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20977 wine_fn_config_makefile dlls/sechost enable_sechost
20978 wine_fn_config_makefile dlls/secur32 enable_secur32
20979 wine_fn_config_makefile dlls/secur32/tests enable_tests
20980 wine_fn_config_makefile dlls/security enable_security
20981 wine_fn_config_makefile dlls/sensapi enable_sensapi
20982 wine_fn_config_makefile dlls/serialui enable_serialui
20983 wine_fn_config_makefile dlls/serialui/tests enable_tests
20984 wine_fn_config_makefile dlls/setupapi enable_setupapi
20985 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20986 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20987 wine_fn_config_makefile dlls/sfc enable_sfc
20988 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20989 wine_fn_config_makefile dlls/shcore enable_shcore
20990 wine_fn_config_makefile dlls/shcore/tests enable_tests
20991 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20992 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20993 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20994 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20995 wine_fn_config_makefile dlls/shell32 enable_shell32
20996 wine_fn_config_makefile dlls/shell32/tests enable_tests
20997 wine_fn_config_makefile dlls/shfolder enable_shfolder
20998 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20999 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21000 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21001 wine_fn_config_makefile dlls/slc enable_slc
21002 wine_fn_config_makefile dlls/slc/tests enable_tests
21003 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21004 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21005 wine_fn_config_makefile dlls/softpub enable_softpub
21006 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21007 wine_fn_config_makefile dlls/spoolss enable_spoolss
21008 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21009 wine_fn_config_makefile dlls/srclient enable_srclient
21010 wine_fn_config_makefile dlls/sspicli enable_sspicli
21011 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21012 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21013 wine_fn_config_makefile dlls/sti enable_sti
21014 wine_fn_config_makefile dlls/sti/tests enable_tests
21015 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21016 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21017 wine_fn_config_makefile dlls/strmbase enable_strmbase
21018 wine_fn_config_makefile dlls/strmdll enable_strmdll
21019 wine_fn_config_makefile dlls/strmiids enable_strmiids
21020 wine_fn_config_makefile dlls/svrapi enable_svrapi
21021 wine_fn_config_makefile dlls/sxs enable_sxs
21022 wine_fn_config_makefile dlls/sxs/tests enable_tests
21023 wine_fn_config_makefile dlls/system.drv16 enable_win16
21024 wine_fn_config_makefile dlls/t2embed enable_t2embed
21025 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21026 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21027 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21028 wine_fn_config_makefile dlls/taskschd enable_taskschd
21029 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21030 wine_fn_config_makefile dlls/tdh enable_tdh
21031 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21032 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21033 wine_fn_config_makefile dlls/traffic enable_traffic
21034 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21035 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21036 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21037 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21038 wine_fn_config_makefile dlls/tzres enable_tzres
21039 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21040 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21041 wine_fn_config_makefile dlls/uianimation enable_uianimation
21042 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21043 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21044 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21045 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21046 wine_fn_config_makefile dlls/unicows enable_unicows
21047 wine_fn_config_makefile dlls/updspapi enable_updspapi
21048 wine_fn_config_makefile dlls/url enable_url
21049 wine_fn_config_makefile dlls/urlmon enable_urlmon
21050 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21051 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21052 wine_fn_config_makefile dlls/user.exe16 enable_win16
21053 wine_fn_config_makefile dlls/user32 enable_user32
21054 wine_fn_config_makefile dlls/user32/tests enable_tests
21055 wine_fn_config_makefile dlls/userenv enable_userenv
21056 wine_fn_config_makefile dlls/userenv/tests enable_tests
21057 wine_fn_config_makefile dlls/usp10 enable_usp10
21058 wine_fn_config_makefile dlls/usp10/tests enable_tests
21059 wine_fn_config_makefile dlls/utildll enable_utildll
21060 wine_fn_config_makefile dlls/uuid enable_uuid
21061 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21062 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21063 wine_fn_config_makefile dlls/vbscript enable_vbscript
21064 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21065 wine_fn_config_makefile dlls/vcomp enable_vcomp
21066 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21067 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21068 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21069 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21070 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21071 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21072 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21073 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21074 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21075 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21076 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21077 wine_fn_config_makefile dlls/version enable_version
21078 wine_fn_config_makefile dlls/version/tests enable_tests
21079 wine_fn_config_makefile dlls/vga enable_vga
21080 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21081 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21082 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21083 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21084 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21085 wine_fn_config_makefile dlls/vssapi enable_vssapi
21086 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21087 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21088 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21089 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21090 wine_fn_config_makefile dlls/w32skrnl enable_win16
21091 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21092 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21093 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21094 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21095 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21096 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21097 wine_fn_config_makefile dlls/wdscore enable_wdscore
21098 wine_fn_config_makefile dlls/webservices enable_webservices
21099 wine_fn_config_makefile dlls/webservices/tests enable_tests
21100 wine_fn_config_makefile dlls/wer enable_wer
21101 wine_fn_config_makefile dlls/wer/tests enable_tests
21102 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21103 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21104 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21105 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21106 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21107 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21108 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21109 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21110 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21111 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21112 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21113 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21114 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21115 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21116 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21117 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21118 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21119 wine_fn_config_makefile dlls/wined3d enable_wined3d
21120 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21121 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21122 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21123 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21124 wine_fn_config_makefile dlls/winemapi enable_winemapi
21125 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21126 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21127 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21128 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21129 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21130 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21131 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21132 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21133 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21134 wine_fn_config_makefile dlls/wing32 enable_wing32
21135 wine_fn_config_makefile dlls/winhttp enable_winhttp
21136 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21137 wine_fn_config_makefile dlls/wininet enable_wininet
21138 wine_fn_config_makefile dlls/wininet/tests enable_tests
21139 wine_fn_config_makefile dlls/winmm enable_winmm
21140 wine_fn_config_makefile dlls/winmm/tests enable_tests
21141 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21142 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21143 wine_fn_config_makefile dlls/winscard enable_winscard
21144 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21145 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21146 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21147 wine_fn_config_makefile dlls/winsta enable_winsta
21148 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21149 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21150 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21151 wine_fn_config_makefile dlls/wintrust enable_wintrust
21152 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21153 wine_fn_config_makefile dlls/winusb enable_winusb
21154 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21155 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21156 wine_fn_config_makefile dlls/wlanui enable_wlanui
21157 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21158 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21159 wine_fn_config_makefile dlls/wmasf enable_wmasf
21160 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21161 wine_fn_config_makefile dlls/wmi enable_wmi
21162 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21163 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21164 wine_fn_config_makefile dlls/wmp enable_wmp
21165 wine_fn_config_makefile dlls/wmp/tests enable_tests
21166 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21167 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21168 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21169 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21170 wine_fn_config_makefile dlls/wow32 enable_win16
21171 wine_fn_config_makefile dlls/wpc enable_wpc
21172 wine_fn_config_makefile dlls/wpc/tests enable_tests
21173 wine_fn_config_makefile dlls/wpcap enable_wpcap
21174 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21175 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21176 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21177 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21178 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21179 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21180 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21181 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21182 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21183 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21184 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21185 wine_fn_config_makefile dlls/wuapi enable_wuapi
21186 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21187 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21188 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21189 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21190 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21191 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21192 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21193 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21194 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21195 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21196 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21197 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21198 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21199 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21200 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21201 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21202 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21203 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21204 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21205 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21206 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21207 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21208 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21209 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21210 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21211 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21212 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21213 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21214 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21215 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21216 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21217 wine_fn_config_makefile dlls/xmllite enable_xmllite
21218 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21219 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21220 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21221 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21222 wine_fn_config_makefile fonts enable_fonts
21223 wine_fn_config_makefile include enable_include
21224 wine_fn_config_makefile libs/port enable_port
21225 wine_fn_config_makefile libs/wine enable_wine
21226 wine_fn_config_makefile libs/wpp enable_wpp
21227 wine_fn_config_makefile loader enable_loader
21228 wine_fn_config_makefile nls enable_nls
21229 wine_fn_config_makefile po enable_po
21230 wine_fn_config_makefile programs/arp enable_arp
21231 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21232 wine_fn_config_makefile programs/attrib enable_attrib
21233 wine_fn_config_makefile programs/cabarc enable_cabarc
21234 wine_fn_config_makefile programs/cacls enable_cacls
21235 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21236 wine_fn_config_makefile programs/clock enable_clock
21237 wine_fn_config_makefile programs/cmd enable_cmd
21238 wine_fn_config_makefile programs/cmd/tests enable_tests
21239 wine_fn_config_makefile programs/conhost enable_conhost
21240 wine_fn_config_makefile programs/control enable_control
21241 wine_fn_config_makefile programs/cscript enable_cscript
21242 wine_fn_config_makefile programs/dism enable_dism
21243 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21244 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21245 wine_fn_config_makefile programs/eject enable_eject
21246 wine_fn_config_makefile programs/expand enable_expand
21247 wine_fn_config_makefile programs/explorer enable_explorer
21248 wine_fn_config_makefile programs/extrac32 enable_extrac32
21249 wine_fn_config_makefile programs/fc enable_fc
21250 wine_fn_config_makefile programs/find enable_find
21251 wine_fn_config_makefile programs/find/tests enable_tests
21252 wine_fn_config_makefile programs/findstr enable_findstr
21253 wine_fn_config_makefile programs/fsutil enable_fsutil
21254 wine_fn_config_makefile programs/hh enable_hh
21255 wine_fn_config_makefile programs/hostname enable_hostname
21256 wine_fn_config_makefile programs/icacls enable_icacls
21257 wine_fn_config_makefile programs/icinfo enable_icinfo
21258 wine_fn_config_makefile programs/iexplore enable_iexplore
21259 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21260 wine_fn_config_makefile programs/lodctr enable_lodctr
21261 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21262 wine_fn_config_makefile programs/mshta enable_mshta
21263 wine_fn_config_makefile programs/msidb enable_msidb
21264 wine_fn_config_makefile programs/msiexec enable_msiexec
21265 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21266 wine_fn_config_makefile programs/net enable_net
21267 wine_fn_config_makefile programs/netsh enable_netsh
21268 wine_fn_config_makefile programs/netstat enable_netstat
21269 wine_fn_config_makefile programs/ngen enable_ngen
21270 wine_fn_config_makefile programs/notepad enable_notepad
21271 wine_fn_config_makefile programs/oleview enable_oleview
21272 wine_fn_config_makefile programs/ping enable_ping
21273 wine_fn_config_makefile programs/plugplay enable_plugplay
21274 wine_fn_config_makefile programs/powershell enable_powershell
21275 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21276 wine_fn_config_makefile programs/progman enable_progman
21277 wine_fn_config_makefile programs/reg enable_reg
21278 wine_fn_config_makefile programs/reg/tests enable_tests
21279 wine_fn_config_makefile programs/regasm enable_regasm
21280 wine_fn_config_makefile programs/regedit enable_regedit
21281 wine_fn_config_makefile programs/regedit/tests enable_tests
21282 wine_fn_config_makefile programs/regini enable_regini
21283 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21284 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21285 wine_fn_config_makefile programs/rpcss enable_rpcss
21286 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21287 wine_fn_config_makefile programs/rundll32 enable_rundll32
21288 wine_fn_config_makefile programs/sc enable_sc
21289 wine_fn_config_makefile programs/schtasks enable_schtasks
21290 wine_fn_config_makefile programs/schtasks/tests enable_tests
21291 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21292 wine_fn_config_makefile programs/secedit enable_secedit
21293 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21294 wine_fn_config_makefile programs/services enable_services
21295 wine_fn_config_makefile programs/services/tests enable_tests
21296 wine_fn_config_makefile programs/shutdown enable_shutdown
21297 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21298 wine_fn_config_makefile programs/start enable_start
21299 wine_fn_config_makefile programs/subst enable_subst
21300 wine_fn_config_makefile programs/svchost enable_svchost
21301 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21302 wine_fn_config_makefile programs/taskkill enable_taskkill
21303 wine_fn_config_makefile programs/tasklist enable_tasklist
21304 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21305 wine_fn_config_makefile programs/termsv enable_termsv
21306 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21307 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21308 wine_fn_config_makefile programs/view enable_view
21309 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21310 wine_fn_config_makefile programs/whoami enable_whoami
21311 wine_fn_config_makefile programs/wineboot enable_wineboot
21312 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21313 wine_fn_config_makefile programs/winecfg enable_winecfg
21314 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21315 wine_fn_config_makefile programs/winedbg enable_winedbg
21316 wine_fn_config_makefile programs/winedevice enable_winedevice
21317 wine_fn_config_makefile programs/winefile enable_winefile
21318 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21319 wine_fn_config_makefile programs/winemine enable_winemine
21320 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21321 wine_fn_config_makefile programs/winepath enable_winepath
21322 wine_fn_config_makefile programs/winetest enable_winetest
21323 wine_fn_config_makefile programs/winevdm enable_win16
21324 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21325 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21326 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21327 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21328 wine_fn_config_makefile programs/winver enable_winver
21329 wine_fn_config_makefile programs/wmic enable_wmic
21330 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21331 wine_fn_config_makefile programs/wordpad enable_wordpad
21332 wine_fn_config_makefile programs/write enable_write
21333 wine_fn_config_makefile programs/wscript enable_wscript
21334 wine_fn_config_makefile programs/wscript/tests enable_tests
21335 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21336 wine_fn_config_makefile programs/wusa enable_wusa
21337 wine_fn_config_makefile programs/xcopy enable_xcopy
21338 wine_fn_config_makefile programs/xcopy/tests enable_tests
21339 wine_fn_config_makefile server enable_server
21340 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21341 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21342 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21343 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21344 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21345 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21346 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21347 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21348 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21351 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21352 wine_fn_append_file CONFIGURE_TARGETS "tags"
21353 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21354 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21355 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21356 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21357 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21358 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21360 if test "x$enable_tools" != xno
21361 then
21362 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21363 ac_config_commands="$ac_config_commands tools/makedep"
21367 ac_config_commands="$ac_config_commands Makefile"
21370 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21374 if test "x$enable_maintainer_mode" = xyes
21375 then
21376 wine_fn_append_rule "configure: configure.ac aclocal.m4
21377 autoconf --warnings=all
21378 include/config.h.in: include/stamp-h.in
21379 include/stamp-h.in: configure.ac aclocal.m4
21380 autoheader --warnings=all
21381 @echo timestamp > \$@"
21384 if test "x$enable_tools" != xno
21385 then
21386 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21387 @./config.status tools/makedep
21388 Makefile: tools/makedep$ac_exeext
21389 fonts: tools/sfnt2fon
21390 include: tools tools/widl"
21391 else
21392 wine_fn_append_rule "\$(MAKEDEP):
21393 @echo \"You need to run make in $TOOLSDIR first\" && false"
21396 if test -n "$with_wine64"
21397 then
21398 case "$with_wine64" in
21399 /*) reldir="" ;;
21400 *) reldir="../" ;;
21401 esac
21402 rm -f fonts server 2>/dev/null
21403 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21404 loader/wine64 loader/wine64-preloader:
21405 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21406 $with_wine64/loader/wine:
21407 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21408 $with_wine64/loader/wine-preloader:
21409 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21410 clean::
21411 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21412 else
21413 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21414 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21415 fonts \
21416 loader/wine.inf \
21417 loader/winebus.inf \
21418 loader/winehid.inf \
21419 loader/wineusb.inf \
21420 nls \
21421 programs/msidb/msidb \
21422 programs/msiexec/msiexec \
21423 programs/notepad/notepad \
21424 programs/regedit/regedit \
21425 programs/regsvr32/regsvr32 \
21426 programs/wineboot/wineboot \
21427 programs/winecfg/winecfg \
21428 programs/wineconsole/wineconsole \
21429 programs/winedbg/winedbg \
21430 programs/winefile/winefile \
21431 programs/winemine/winemine \
21432 programs/winepath/winepath \
21433 server/wineserver"
21435 case $host_os in
21436 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21437 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21438 esac
21441 $as_echo " done" >&6
21442 cat >confcache <<\_ACEOF
21443 # This file is a shell script that caches the results of configure
21444 # tests run on this system so they can be shared between configure
21445 # scripts and configure runs, see configure's option --config-cache.
21446 # It is not useful on other systems. If it contains results you don't
21447 # want to keep, you may remove or edit it.
21449 # config.status only pays attention to the cache file if you give it
21450 # the --recheck option to rerun configure.
21452 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21453 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21454 # following values.
21456 _ACEOF
21458 # The following way of writing the cache mishandles newlines in values,
21459 # but we know of no workaround that is simple, portable, and efficient.
21460 # So, we kill variables containing newlines.
21461 # Ultrix sh set writes to stderr and can't be redirected directly,
21462 # and sets the high bit in the cache file unless we assign to the vars.
21464 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21465 eval ac_val=\$$ac_var
21466 case $ac_val in #(
21467 *${as_nl}*)
21468 case $ac_var in #(
21469 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21470 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21471 esac
21472 case $ac_var in #(
21473 _ | IFS | as_nl) ;; #(
21474 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21475 *) { eval $ac_var=; unset $ac_var;} ;;
21476 esac ;;
21477 esac
21478 done
21480 (set) 2>&1 |
21481 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21482 *${as_nl}ac_space=\ *)
21483 # `set' does not quote correctly, so add quotes: double-quote
21484 # substitution turns \\\\ into \\, and sed turns \\ into \.
21485 sed -n \
21486 "s/'/'\\\\''/g;
21487 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21488 ;; #(
21490 # `set' quotes correctly as required by POSIX, so do not add quotes.
21491 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21493 esac |
21494 sort
21496 sed '
21497 /^ac_cv_env_/b end
21498 t clear
21499 :clear
21500 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21501 t end
21502 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21503 :end' >>confcache
21504 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21505 if test -w "$cache_file"; then
21506 if test "x$cache_file" != "x/dev/null"; then
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21508 $as_echo "$as_me: updating cache $cache_file" >&6;}
21509 if test ! -f "$cache_file" || test -h "$cache_file"; then
21510 cat confcache >"$cache_file"
21511 else
21512 case $cache_file in #(
21513 */* | ?:*)
21514 mv -f confcache "$cache_file"$$ &&
21515 mv -f "$cache_file"$$ "$cache_file" ;; #(
21517 mv -f confcache "$cache_file" ;;
21518 esac
21521 else
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21523 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21526 rm -f confcache
21528 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21529 # Let make expand exec_prefix.
21530 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21532 DEFS=-DHAVE_CONFIG_H
21534 ac_libobjs=
21535 ac_ltlibobjs=
21537 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21538 # 1. Remove the extension, and $U if already installed.
21539 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21540 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21541 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21542 # will be set to the directory where LIBOBJS objects are built.
21543 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21544 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21545 done
21546 LIBOBJS=$ac_libobjs
21548 LTLIBOBJS=$ac_ltlibobjs
21552 : "${CONFIG_STATUS=./config.status}"
21553 ac_write_fail=0
21554 ac_clean_files_save=$ac_clean_files
21555 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21556 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21557 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21558 as_write_fail=0
21559 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21560 #! $SHELL
21561 # Generated by $as_me.
21562 # Run this file to recreate the current configuration.
21563 # Compiler output produced by configure, useful for debugging
21564 # configure, is in config.log if it exists.
21566 debug=false
21567 ac_cs_recheck=false
21568 ac_cs_silent=false
21570 SHELL=\${CONFIG_SHELL-$SHELL}
21571 export SHELL
21572 _ASEOF
21573 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21574 ## -------------------- ##
21575 ## M4sh Initialization. ##
21576 ## -------------------- ##
21578 # Be more Bourne compatible
21579 DUALCASE=1; export DUALCASE # for MKS sh
21580 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21581 emulate sh
21582 NULLCMD=:
21583 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21584 # is contrary to our usage. Disable this feature.
21585 alias -g '${1+"$@"}'='"$@"'
21586 setopt NO_GLOB_SUBST
21587 else
21588 case `(set -o) 2>/dev/null` in #(
21589 *posix*) :
21590 set -o posix ;; #(
21591 *) :
21593 esac
21597 as_nl='
21599 export as_nl
21600 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21601 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21602 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21603 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21604 # Prefer a ksh shell builtin over an external printf program on Solaris,
21605 # but without wasting forks for bash or zsh.
21606 if test -z "$BASH_VERSION$ZSH_VERSION" \
21607 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21608 as_echo='print -r --'
21609 as_echo_n='print -rn --'
21610 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21611 as_echo='printf %s\n'
21612 as_echo_n='printf %s'
21613 else
21614 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21615 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21616 as_echo_n='/usr/ucb/echo -n'
21617 else
21618 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21619 as_echo_n_body='eval
21620 arg=$1;
21621 case $arg in #(
21622 *"$as_nl"*)
21623 expr "X$arg" : "X\\(.*\\)$as_nl";
21624 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21625 esac;
21626 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21628 export as_echo_n_body
21629 as_echo_n='sh -c $as_echo_n_body as_echo'
21631 export as_echo_body
21632 as_echo='sh -c $as_echo_body as_echo'
21635 # The user is always right.
21636 if test "${PATH_SEPARATOR+set}" != set; then
21637 PATH_SEPARATOR=:
21638 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21639 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21640 PATH_SEPARATOR=';'
21645 # IFS
21646 # We need space, tab and new line, in precisely that order. Quoting is
21647 # there to prevent editors from complaining about space-tab.
21648 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21649 # splitting by setting IFS to empty value.)
21650 IFS=" "" $as_nl"
21652 # Find who we are. Look in the path if we contain no directory separator.
21653 as_myself=
21654 case $0 in #((
21655 *[\\/]* ) as_myself=$0 ;;
21656 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21657 for as_dir in $PATH
21659 IFS=$as_save_IFS
21660 test -z "$as_dir" && as_dir=.
21661 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21662 done
21663 IFS=$as_save_IFS
21666 esac
21667 # We did not find ourselves, most probably we were run as `sh COMMAND'
21668 # in which case we are not to be found in the path.
21669 if test "x$as_myself" = x; then
21670 as_myself=$0
21672 if test ! -f "$as_myself"; then
21673 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21674 exit 1
21677 # Unset variables that we do not need and which cause bugs (e.g. in
21678 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21679 # suppresses any "Segmentation fault" message there. '((' could
21680 # trigger a bug in pdksh 5.2.14.
21681 for as_var in BASH_ENV ENV MAIL MAILPATH
21682 do eval test x\${$as_var+set} = xset \
21683 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21684 done
21685 PS1='$ '
21686 PS2='> '
21687 PS4='+ '
21689 # NLS nuisances.
21690 LC_ALL=C
21691 export LC_ALL
21692 LANGUAGE=C
21693 export LANGUAGE
21695 # CDPATH.
21696 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21699 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21700 # ----------------------------------------
21701 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21702 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21703 # script with STATUS, using 1 if that was 0.
21704 as_fn_error ()
21706 as_status=$1; test $as_status -eq 0 && as_status=1
21707 if test "$4"; then
21708 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21709 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21711 $as_echo "$as_me: error: $2" >&2
21712 as_fn_exit $as_status
21713 } # as_fn_error
21716 # as_fn_set_status STATUS
21717 # -----------------------
21718 # Set $? to STATUS, without forking.
21719 as_fn_set_status ()
21721 return $1
21722 } # as_fn_set_status
21724 # as_fn_exit STATUS
21725 # -----------------
21726 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21727 as_fn_exit ()
21729 set +e
21730 as_fn_set_status $1
21731 exit $1
21732 } # as_fn_exit
21734 # as_fn_unset VAR
21735 # ---------------
21736 # Portably unset VAR.
21737 as_fn_unset ()
21739 { eval $1=; unset $1;}
21741 as_unset=as_fn_unset
21742 # as_fn_append VAR VALUE
21743 # ----------------------
21744 # Append the text in VALUE to the end of the definition contained in VAR. Take
21745 # advantage of any shell optimizations that allow amortized linear growth over
21746 # repeated appends, instead of the typical quadratic growth present in naive
21747 # implementations.
21748 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21749 eval 'as_fn_append ()
21751 eval $1+=\$2
21753 else
21754 as_fn_append ()
21756 eval $1=\$$1\$2
21758 fi # as_fn_append
21760 # as_fn_arith ARG...
21761 # ------------------
21762 # Perform arithmetic evaluation on the ARGs, and store the result in the
21763 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21764 # must be portable across $(()) and expr.
21765 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21766 eval 'as_fn_arith ()
21768 as_val=$(( $* ))
21770 else
21771 as_fn_arith ()
21773 as_val=`expr "$@" || test $? -eq 1`
21775 fi # as_fn_arith
21778 if expr a : '\(a\)' >/dev/null 2>&1 &&
21779 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21780 as_expr=expr
21781 else
21782 as_expr=false
21785 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21786 as_basename=basename
21787 else
21788 as_basename=false
21791 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21792 as_dirname=dirname
21793 else
21794 as_dirname=false
21797 as_me=`$as_basename -- "$0" ||
21798 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21799 X"$0" : 'X\(//\)$' \| \
21800 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21801 $as_echo X/"$0" |
21802 sed '/^.*\/\([^/][^/]*\)\/*$/{
21803 s//\1/
21806 /^X\/\(\/\/\)$/{
21807 s//\1/
21810 /^X\/\(\/\).*/{
21811 s//\1/
21814 s/.*/./; q'`
21816 # Avoid depending upon Character Ranges.
21817 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21818 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21819 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21820 as_cr_digits='0123456789'
21821 as_cr_alnum=$as_cr_Letters$as_cr_digits
21823 ECHO_C= ECHO_N= ECHO_T=
21824 case `echo -n x` in #(((((
21825 -n*)
21826 case `echo 'xy\c'` in
21827 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21828 xy) ECHO_C='\c';;
21829 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21830 ECHO_T=' ';;
21831 esac;;
21833 ECHO_N='-n';;
21834 esac
21836 rm -f conf$$ conf$$.exe conf$$.file
21837 if test -d conf$$.dir; then
21838 rm -f conf$$.dir/conf$$.file
21839 else
21840 rm -f conf$$.dir
21841 mkdir conf$$.dir 2>/dev/null
21843 if (echo >conf$$.file) 2>/dev/null; then
21844 if ln -s conf$$.file conf$$ 2>/dev/null; then
21845 as_ln_s='ln -s'
21846 # ... but there are two gotchas:
21847 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21848 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21849 # In both cases, we have to default to `cp -pR'.
21850 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21851 as_ln_s='cp -pR'
21852 elif ln conf$$.file conf$$ 2>/dev/null; then
21853 as_ln_s=ln
21854 else
21855 as_ln_s='cp -pR'
21857 else
21858 as_ln_s='cp -pR'
21860 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21861 rmdir conf$$.dir 2>/dev/null
21864 # as_fn_mkdir_p
21865 # -------------
21866 # Create "$as_dir" as a directory, including parents if necessary.
21867 as_fn_mkdir_p ()
21870 case $as_dir in #(
21871 -*) as_dir=./$as_dir;;
21872 esac
21873 test -d "$as_dir" || eval $as_mkdir_p || {
21874 as_dirs=
21875 while :; do
21876 case $as_dir in #(
21877 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21878 *) as_qdir=$as_dir;;
21879 esac
21880 as_dirs="'$as_qdir' $as_dirs"
21881 as_dir=`$as_dirname -- "$as_dir" ||
21882 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21883 X"$as_dir" : 'X\(//\)[^/]' \| \
21884 X"$as_dir" : 'X\(//\)$' \| \
21885 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21886 $as_echo X"$as_dir" |
21887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21888 s//\1/
21891 /^X\(\/\/\)[^/].*/{
21892 s//\1/
21895 /^X\(\/\/\)$/{
21896 s//\1/
21899 /^X\(\/\).*/{
21900 s//\1/
21903 s/.*/./; q'`
21904 test -d "$as_dir" && break
21905 done
21906 test -z "$as_dirs" || eval "mkdir $as_dirs"
21907 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21910 } # as_fn_mkdir_p
21911 if mkdir -p . 2>/dev/null; then
21912 as_mkdir_p='mkdir -p "$as_dir"'
21913 else
21914 test -d ./-p && rmdir ./-p
21915 as_mkdir_p=false
21919 # as_fn_executable_p FILE
21920 # -----------------------
21921 # Test if FILE is an executable regular file.
21922 as_fn_executable_p ()
21924 test -f "$1" && test -x "$1"
21925 } # as_fn_executable_p
21926 as_test_x='test -x'
21927 as_executable_p=as_fn_executable_p
21929 # Sed expression to map a string onto a valid CPP name.
21930 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21932 # Sed expression to map a string onto a valid variable name.
21933 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21936 exec 6>&1
21937 ## ----------------------------------- ##
21938 ## Main body of $CONFIG_STATUS script. ##
21939 ## ----------------------------------- ##
21940 _ASEOF
21941 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21944 # Save the log message, to keep $0 and so on meaningful, and to
21945 # report actual input values of CONFIG_FILES etc. instead of their
21946 # values after options handling.
21947 ac_log="
21948 This file was extended by Wine $as_me 5.7, which was
21949 generated by GNU Autoconf 2.69. Invocation command line was
21951 CONFIG_FILES = $CONFIG_FILES
21952 CONFIG_HEADERS = $CONFIG_HEADERS
21953 CONFIG_LINKS = $CONFIG_LINKS
21954 CONFIG_COMMANDS = $CONFIG_COMMANDS
21955 $ $0 $@
21957 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21960 _ACEOF
21962 case $ac_config_files in *"
21963 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21964 esac
21966 case $ac_config_headers in *"
21967 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21968 esac
21971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21972 # Files that config.status was made for.
21973 config_files="$ac_config_files"
21974 config_headers="$ac_config_headers"
21975 config_links="$ac_config_links"
21976 config_commands="$ac_config_commands"
21978 _ACEOF
21980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21981 ac_cs_usage="\
21982 \`$as_me' instantiates files and other configuration actions
21983 from templates according to the current configuration. Unless the files
21984 and actions are specified as TAGs, all are instantiated by default.
21986 Usage: $0 [OPTION]... [TAG]...
21988 -h, --help print this help, then exit
21989 -V, --version print version number and configuration settings, then exit
21990 --config print configuration, then exit
21991 -q, --quiet, --silent
21992 do not print progress messages
21993 -d, --debug don't remove temporary files
21994 --recheck update $as_me by reconfiguring in the same conditions
21995 --file=FILE[:TEMPLATE]
21996 instantiate the configuration file FILE
21997 --header=FILE[:TEMPLATE]
21998 instantiate the configuration header FILE
22000 Configuration files:
22001 $config_files
22003 Configuration headers:
22004 $config_headers
22006 Configuration links:
22007 $config_links
22009 Configuration commands:
22010 $config_commands
22012 Report bugs to <wine-devel@winehq.org>.
22013 Wine home page: <https://www.winehq.org>."
22015 _ACEOF
22016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22017 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22018 ac_cs_version="\\
22019 Wine config.status 5.7
22020 configured by $0, generated by GNU Autoconf 2.69,
22021 with options \\"\$ac_cs_config\\"
22023 Copyright (C) 2012 Free Software Foundation, Inc.
22024 This config.status script is free software; the Free Software Foundation
22025 gives unlimited permission to copy, distribute and modify it."
22027 ac_pwd='$ac_pwd'
22028 srcdir='$srcdir'
22029 test -n "\$AWK" || AWK=awk
22030 _ACEOF
22032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22033 # The default lists apply if the user does not specify any file.
22034 ac_need_defaults=:
22035 while test $# != 0
22037 case $1 in
22038 --*=?*)
22039 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22040 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22041 ac_shift=:
22043 --*=)
22044 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22045 ac_optarg=
22046 ac_shift=:
22049 ac_option=$1
22050 ac_optarg=$2
22051 ac_shift=shift
22053 esac
22055 case $ac_option in
22056 # Handling of the options.
22057 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22058 ac_cs_recheck=: ;;
22059 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22060 $as_echo "$ac_cs_version"; exit ;;
22061 --config | --confi | --conf | --con | --co | --c )
22062 $as_echo "$ac_cs_config"; exit ;;
22063 --debug | --debu | --deb | --de | --d | -d )
22064 debug=: ;;
22065 --file | --fil | --fi | --f )
22066 $ac_shift
22067 case $ac_optarg in
22068 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22069 '') as_fn_error $? "missing file argument" ;;
22070 esac
22071 as_fn_append CONFIG_FILES " '$ac_optarg'"
22072 ac_need_defaults=false;;
22073 --header | --heade | --head | --hea )
22074 $ac_shift
22075 case $ac_optarg in
22076 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22077 esac
22078 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22079 ac_need_defaults=false;;
22080 --he | --h)
22081 # Conflict between --help and --header
22082 as_fn_error $? "ambiguous option: \`$1'
22083 Try \`$0 --help' for more information.";;
22084 --help | --hel | -h )
22085 $as_echo "$ac_cs_usage"; exit ;;
22086 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22087 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22088 ac_cs_silent=: ;;
22090 # This is an error.
22091 -*) as_fn_error $? "unrecognized option: \`$1'
22092 Try \`$0 --help' for more information." ;;
22094 *) as_fn_append ac_config_targets " $1"
22095 ac_need_defaults=false ;;
22097 esac
22098 shift
22099 done
22101 ac_configure_extra_args=
22103 if $ac_cs_silent; then
22104 exec 6>/dev/null
22105 ac_configure_extra_args="$ac_configure_extra_args --silent"
22108 _ACEOF
22109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22110 if \$ac_cs_recheck; then
22111 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22112 shift
22113 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22114 CONFIG_SHELL='$SHELL'
22115 export CONFIG_SHELL
22116 exec "\$@"
22119 _ACEOF
22120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22121 exec 5>>config.log
22123 echo
22124 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22125 ## Running $as_me. ##
22126 _ASBOX
22127 $as_echo "$ac_log"
22128 } >&5
22130 _ACEOF
22131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22133 # INIT-COMMANDS
22135 wine_fn_output_makedep ()
22137 as_dir=tools; as_fn_mkdir_p
22138 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22140 wine_fn_output_makefile ()
22142 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22143 `cat $wine_rules_file`
22144 _WINE_EOF
22145 as_fn_error $? "could not create Makefile" "$LINENO" 5
22148 _ACEOF
22150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22152 # Handling of arguments.
22153 for ac_config_target in $ac_config_targets
22155 case $ac_config_target in
22156 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22157 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22158 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22159 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22160 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22161 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22162 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22164 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22165 esac
22166 done
22169 # If the user did not use the arguments to specify the items to instantiate,
22170 # then the envvar interface is used. Set only those that are not.
22171 # We use the long form for the default assignment because of an extremely
22172 # bizarre bug on SunOS 4.1.3.
22173 if $ac_need_defaults; then
22174 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22175 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22176 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22177 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22180 # Have a temporary directory for convenience. Make it in the build tree
22181 # simply because there is no reason against having it here, and in addition,
22182 # creating and moving files from /tmp can sometimes cause problems.
22183 # Hook for its removal unless debugging.
22184 # Note that there is a small window in which the directory will not be cleaned:
22185 # after its creation but before its name has been assigned to `$tmp'.
22186 $debug ||
22188 tmp= ac_tmp=
22189 trap 'exit_status=$?
22190 : "${ac_tmp:=$tmp}"
22191 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22193 trap 'as_fn_exit 1' 1 2 13 15
22195 # Create a (secure) tmp directory for tmp files.
22198 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22199 test -d "$tmp"
22200 } ||
22202 tmp=./conf$$-$RANDOM
22203 (umask 077 && mkdir "$tmp")
22204 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22205 ac_tmp=$tmp
22207 # Set up the scripts for CONFIG_FILES section.
22208 # No need to generate them if there are no CONFIG_FILES.
22209 # This happens for instance with `./config.status config.h'.
22210 if test -n "$CONFIG_FILES"; then
22213 ac_cr=`echo X | tr X '\015'`
22214 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22215 # But we know of no other shell where ac_cr would be empty at this
22216 # point, so we can use a bashism as a fallback.
22217 if test "x$ac_cr" = x; then
22218 eval ac_cr=\$\'\\r\'
22220 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22221 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22222 ac_cs_awk_cr='\\r'
22223 else
22224 ac_cs_awk_cr=$ac_cr
22227 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22228 _ACEOF
22232 echo "cat >conf$$subs.awk <<_ACEOF" &&
22233 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22234 echo "_ACEOF"
22235 } >conf$$subs.sh ||
22236 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22237 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22238 ac_delim='%!_!# '
22239 for ac_last_try in false false false false false :; do
22240 . ./conf$$subs.sh ||
22241 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22243 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22244 if test $ac_delim_n = $ac_delim_num; then
22245 break
22246 elif $ac_last_try; then
22247 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22248 else
22249 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22251 done
22252 rm -f conf$$subs.sh
22254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22255 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22256 _ACEOF
22257 sed -n '
22259 s/^/S["/; s/!.*/"]=/
22262 s/^[^!]*!//
22263 :repl
22264 t repl
22265 s/'"$ac_delim"'$//
22266 t delim
22269 s/\(.\{148\}\)..*/\1/
22270 t more1
22271 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22274 b repl
22275 :more1
22276 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22279 s/.\{148\}//
22280 t nl
22281 :delim
22283 s/\(.\{148\}\)..*/\1/
22284 t more2
22285 s/["\\]/\\&/g; s/^/"/; s/$/"/
22288 :more2
22289 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22292 s/.\{148\}//
22293 t delim
22294 ' <conf$$subs.awk | sed '
22295 /^[^""]/{
22297 s/\n//
22299 ' >>$CONFIG_STATUS || ac_write_fail=1
22300 rm -f conf$$subs.awk
22301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22302 _ACAWK
22303 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22304 for (key in S) S_is_set[key] = 1
22305 FS = "\a"
22309 line = $ 0
22310 nfields = split(line, field, "@")
22311 substed = 0
22312 len = length(field[1])
22313 for (i = 2; i < nfields; i++) {
22314 key = field[i]
22315 keylen = length(key)
22316 if (S_is_set[key]) {
22317 value = S[key]
22318 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22319 len += length(value) + length(field[++i])
22320 substed = 1
22321 } else
22322 len += 1 + keylen
22325 print line
22328 _ACAWK
22329 _ACEOF
22330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22331 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22332 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22333 else
22335 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22336 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22337 _ACEOF
22339 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22340 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22341 # trailing colons and then remove the whole line if VPATH becomes empty
22342 # (actually we leave an empty line to preserve line numbers).
22343 if test "x$srcdir" = x.; then
22344 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22346 s///
22347 s/^/:/
22348 s/[ ]*$/:/
22349 s/:\$(srcdir):/:/g
22350 s/:\${srcdir}:/:/g
22351 s/:@srcdir@:/:/g
22352 s/^:*//
22353 s/:*$//
22355 s/\(=[ ]*\).*/\1/
22357 s/\n//
22358 s/^[^=]*=[ ]*$//
22362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22363 fi # test -n "$CONFIG_FILES"
22365 # Set up the scripts for CONFIG_HEADERS section.
22366 # No need to generate them if there are no CONFIG_HEADERS.
22367 # This happens for instance with `./config.status Makefile'.
22368 if test -n "$CONFIG_HEADERS"; then
22369 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22370 BEGIN {
22371 _ACEOF
22373 # Transform confdefs.h into an awk script `defines.awk', embedded as
22374 # here-document in config.status, that substitutes the proper values into
22375 # config.h.in to produce config.h.
22377 # Create a delimiter string that does not exist in confdefs.h, to ease
22378 # handling of long lines.
22379 ac_delim='%!_!# '
22380 for ac_last_try in false false :; do
22381 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22382 if test -z "$ac_tt"; then
22383 break
22384 elif $ac_last_try; then
22385 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22386 else
22387 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22389 done
22391 # For the awk script, D is an array of macro values keyed by name,
22392 # likewise P contains macro parameters if any. Preserve backslash
22393 # newline sequences.
22395 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22396 sed -n '
22397 s/.\{148\}/&'"$ac_delim"'/g
22398 t rset
22399 :rset
22400 s/^[ ]*#[ ]*define[ ][ ]*/ /
22401 t def
22403 :def
22404 s/\\$//
22405 t bsnl
22406 s/["\\]/\\&/g
22407 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22408 D["\1"]=" \3"/p
22409 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22411 :bsnl
22412 s/["\\]/\\&/g
22413 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22414 D["\1"]=" \3\\\\\\n"\\/p
22415 t cont
22416 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22417 t cont
22419 :cont
22421 s/.\{148\}/&'"$ac_delim"'/g
22422 t clear
22423 :clear
22424 s/\\$//
22425 t bsnlc
22426 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22428 :bsnlc
22429 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22430 b cont
22431 ' <confdefs.h | sed '
22432 s/'"$ac_delim"'/"\\\
22433 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22435 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22436 for (key in D) D_is_set[key] = 1
22437 FS = "\a"
22439 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22440 line = \$ 0
22441 split(line, arg, " ")
22442 if (arg[1] == "#") {
22443 defundef = arg[2]
22444 mac1 = arg[3]
22445 } else {
22446 defundef = substr(arg[1], 2)
22447 mac1 = arg[2]
22449 split(mac1, mac2, "(") #)
22450 macro = mac2[1]
22451 prefix = substr(line, 1, index(line, defundef) - 1)
22452 if (D_is_set[macro]) {
22453 # Preserve the white space surrounding the "#".
22454 print prefix "define", macro P[macro] D[macro]
22455 next
22456 } else {
22457 # Replace #undef with comments. This is necessary, for example,
22458 # in the case of _POSIX_SOURCE, which is predefined and required
22459 # on some systems where configure will not decide to define it.
22460 if (defundef == "undef") {
22461 print "/*", prefix defundef, macro, "*/"
22462 next
22466 { print }
22467 _ACAWK
22468 _ACEOF
22469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22470 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22471 fi # test -n "$CONFIG_HEADERS"
22474 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22475 shift
22476 for ac_tag
22478 case $ac_tag in
22479 :[FHLC]) ac_mode=$ac_tag; continue;;
22480 esac
22481 case $ac_mode$ac_tag in
22482 :[FHL]*:*);;
22483 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22484 :[FH]-) ac_tag=-:-;;
22485 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22486 esac
22487 ac_save_IFS=$IFS
22488 IFS=:
22489 set x $ac_tag
22490 IFS=$ac_save_IFS
22491 shift
22492 ac_file=$1
22493 shift
22495 case $ac_mode in
22496 :L) ac_source=$1;;
22497 :[FH])
22498 ac_file_inputs=
22499 for ac_f
22501 case $ac_f in
22502 -) ac_f="$ac_tmp/stdin";;
22503 *) # Look for the file first in the build tree, then in the source tree
22504 # (if the path is not absolute). The absolute path cannot be DOS-style,
22505 # because $ac_f cannot contain `:'.
22506 test -f "$ac_f" ||
22507 case $ac_f in
22508 [\\/$]*) false;;
22509 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22510 esac ||
22511 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22512 esac
22513 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22514 as_fn_append ac_file_inputs " '$ac_f'"
22515 done
22517 # Let's still pretend it is `configure' which instantiates (i.e., don't
22518 # use $as_me), people would be surprised to read:
22519 # /* config.h. Generated by config.status. */
22520 configure_input='Generated from '`
22521 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22522 `' by configure.'
22523 if test x"$ac_file" != x-; then
22524 configure_input="$ac_file. $configure_input"
22525 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22526 $as_echo "$as_me: creating $ac_file" >&6;}
22528 # Neutralize special characters interpreted by sed in replacement strings.
22529 case $configure_input in #(
22530 *\&* | *\|* | *\\* )
22531 ac_sed_conf_input=`$as_echo "$configure_input" |
22532 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22533 *) ac_sed_conf_input=$configure_input;;
22534 esac
22536 case $ac_tag in
22537 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22538 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22539 esac
22541 esac
22543 ac_dir=`$as_dirname -- "$ac_file" ||
22544 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22545 X"$ac_file" : 'X\(//\)[^/]' \| \
22546 X"$ac_file" : 'X\(//\)$' \| \
22547 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22548 $as_echo X"$ac_file" |
22549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22550 s//\1/
22553 /^X\(\/\/\)[^/].*/{
22554 s//\1/
22557 /^X\(\/\/\)$/{
22558 s//\1/
22561 /^X\(\/\).*/{
22562 s//\1/
22565 s/.*/./; q'`
22566 as_dir="$ac_dir"; as_fn_mkdir_p
22567 ac_builddir=.
22569 case "$ac_dir" in
22570 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22572 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22573 # A ".." for each directory in $ac_dir_suffix.
22574 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22575 case $ac_top_builddir_sub in
22576 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22577 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22578 esac ;;
22579 esac
22580 ac_abs_top_builddir=$ac_pwd
22581 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22582 # for backward compatibility:
22583 ac_top_builddir=$ac_top_build_prefix
22585 case $srcdir in
22586 .) # We are building in place.
22587 ac_srcdir=.
22588 ac_top_srcdir=$ac_top_builddir_sub
22589 ac_abs_top_srcdir=$ac_pwd ;;
22590 [\\/]* | ?:[\\/]* ) # Absolute name.
22591 ac_srcdir=$srcdir$ac_dir_suffix;
22592 ac_top_srcdir=$srcdir
22593 ac_abs_top_srcdir=$srcdir ;;
22594 *) # Relative name.
22595 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22596 ac_top_srcdir=$ac_top_build_prefix$srcdir
22597 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22598 esac
22599 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22602 case $ac_mode in
22605 # CONFIG_FILE
22608 _ACEOF
22610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22611 # If the template does not know about datarootdir, expand it.
22612 # FIXME: This hack should be removed a few years after 2.60.
22613 ac_datarootdir_hack=; ac_datarootdir_seen=
22614 ac_sed_dataroot='
22615 /datarootdir/ {
22619 /@datadir@/p
22620 /@docdir@/p
22621 /@infodir@/p
22622 /@localedir@/p
22623 /@mandir@/p'
22624 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22625 *datarootdir*) ac_datarootdir_seen=yes;;
22626 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22628 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22629 _ACEOF
22630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22631 ac_datarootdir_hack='
22632 s&@datadir@&$datadir&g
22633 s&@docdir@&$docdir&g
22634 s&@infodir@&$infodir&g
22635 s&@localedir@&$localedir&g
22636 s&@mandir@&$mandir&g
22637 s&\\\${datarootdir}&$datarootdir&g' ;;
22638 esac
22639 _ACEOF
22641 # Neutralize VPATH when `$srcdir' = `.'.
22642 # Shell code in configure.ac might set extrasub.
22643 # FIXME: do we really want to maintain this feature?
22644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22645 ac_sed_extra="$ac_vpsub
22646 $extrasub
22647 _ACEOF
22648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22650 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22651 s|@configure_input@|$ac_sed_conf_input|;t t
22652 s&@top_builddir@&$ac_top_builddir_sub&;t t
22653 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22654 s&@srcdir@&$ac_srcdir&;t t
22655 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22656 s&@top_srcdir@&$ac_top_srcdir&;t t
22657 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22658 s&@builddir@&$ac_builddir&;t t
22659 s&@abs_builddir@&$ac_abs_builddir&;t t
22660 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22661 $ac_datarootdir_hack
22663 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22664 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22666 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22667 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22668 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22669 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22671 which seems to be undefined. Please make sure it is defined" >&5
22672 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22673 which seems to be undefined. Please make sure it is defined" >&2;}
22675 rm -f "$ac_tmp/stdin"
22676 case $ac_file in
22677 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22678 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22679 esac \
22680 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22684 # CONFIG_HEADER
22686 if test x"$ac_file" != x-; then
22688 $as_echo "/* $configure_input */" \
22689 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22690 } >"$ac_tmp/config.h" \
22691 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22692 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22693 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22694 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22695 else
22696 rm -f "$ac_file"
22697 mv "$ac_tmp/config.h" "$ac_file" \
22698 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22700 else
22701 $as_echo "/* $configure_input */" \
22702 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22703 || as_fn_error $? "could not create -" "$LINENO" 5
22708 # CONFIG_LINK
22711 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22713 else
22714 # Prefer the file from the source tree if names are identical.
22715 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22716 ac_source=$srcdir/$ac_source
22719 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22720 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22722 if test ! -r "$ac_source"; then
22723 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22725 rm -f "$ac_file"
22727 # Try a relative symlink, then a hard link, then a copy.
22728 case $ac_source in
22729 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22730 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22731 esac
22732 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22733 ln "$ac_source" "$ac_file" 2>/dev/null ||
22734 cp -p "$ac_source" "$ac_file" ||
22735 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22738 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22739 $as_echo "$as_me: executing $ac_file commands" >&6;}
22741 esac
22744 case $ac_file$ac_mode in
22745 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22746 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22747 "Makefile":C) wine_fn_output_makefile Makefile ;;
22749 esac
22750 done # for ac_tag
22753 as_fn_exit 0
22754 _ACEOF
22755 ac_clean_files=$ac_clean_files_save
22757 test $ac_write_fail = 0 ||
22758 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22761 # configure is writing to config.log, and then calls config.status.
22762 # config.status does its own redirection, appending to config.log.
22763 # Unfortunately, on DOS this fails, as config.log is still kept open
22764 # by configure, so config.status won't be able to write to it; its
22765 # output is simply discarded. So we exec the FD to /dev/null,
22766 # effectively closing config.log, so it can be properly (re)opened and
22767 # appended to by config.status. When coming back to configure, we
22768 # need to make the FD available again.
22769 if test "$no_create" != yes; then
22770 ac_cs_success=:
22771 ac_config_status_args=
22772 test "$silent" = yes &&
22773 ac_config_status_args="$ac_config_status_args --quiet"
22774 exec 5>/dev/null
22775 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22776 exec 5>>config.log
22777 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22778 # would make configure fail if this is the last instruction.
22779 $ac_cs_success || as_fn_exit 1
22781 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22783 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22787 if test "$no_create" = "yes"
22788 then
22789 exit 0
22792 ac_save_IFS="$IFS"
22793 if test "x$wine_notices" != x; then
22794 echo >&6
22795 IFS="|"
22796 for msg in $wine_notices; do
22797 IFS="$ac_save_IFS"
22798 if ${msg:+false} :; then :
22800 else
22801 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22802 $as_echo "$as_me: $msg" >&6;}
22804 done
22806 IFS="|"
22807 for msg in $wine_warnings; do
22808 IFS="$ac_save_IFS"
22809 if ${msg:+false} :; then :
22811 else
22812 echo >&2
22813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22814 $as_echo "$as_me: WARNING: $msg" >&2;}
22816 done
22817 IFS="$ac_save_IFS"
22819 $as_echo "
22820 $as_me: Finished. Do '${ac_make}' to compile Wine.
22821 " >&6