include: Use long type for __msvcrt_long when possible.
[wine.git] / configure
blob0b411702a7769d92975374626d86000c7ab05e9f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.6.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='5.6'
584 PACKAGE_STRING='Wine 5.6'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 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_ksuser
1384 enable_ktmw32
1385 enable_l3codeca_acm
1386 enable_loadperf
1387 enable_localspl
1388 enable_localui
1389 enable_lz32
1390 enable_mapi32
1391 enable_mapistub
1392 enable_mciavi32
1393 enable_mcicda
1394 enable_mciqtz32
1395 enable_mciseq
1396 enable_mciwave
1397 enable_mf
1398 enable_mf3216
1399 enable_mferror
1400 enable_mfmediaengine
1401 enable_mfplat
1402 enable_mfplay
1403 enable_mfreadwrite
1404 enable_mfuuid
1405 enable_mgmtapi
1406 enable_midimap
1407 enable_mlang
1408 enable_mmcndmgr
1409 enable_mmdevapi
1410 enable_mountmgr_sys
1411 enable_mp3dmod
1412 enable_mpr
1413 enable_mprapi
1414 enable_msacm32_drv
1415 enable_msacm32
1416 enable_msado15
1417 enable_msadp32_acm
1418 enable_msasn1
1419 enable_mscat32
1420 enable_mscms
1421 enable_mscoree
1422 enable_mscorwks
1423 enable_msctf
1424 enable_msctfp
1425 enable_msdaps
1426 enable_msdelta
1427 enable_msdmo
1428 enable_msdrm
1429 enable_msftedit
1430 enable_msg711_acm
1431 enable_msgsm32_acm
1432 enable_mshtml_tlb
1433 enable_mshtml
1434 enable_msi
1435 enable_msident
1436 enable_msimg32
1437 enable_msimsg
1438 enable_msimtf
1439 enable_msisip
1440 enable_msisys_ocx
1441 enable_msls31
1442 enable_msnet32
1443 enable_mspatcha
1444 enable_msports
1445 enable_msrle32
1446 enable_msscript_ocx
1447 enable_mssign32
1448 enable_mssip32
1449 enable_mstask
1450 enable_msvcirt
1451 enable_msvcm80
1452 enable_msvcm90
1453 enable_msvcp100
1454 enable_msvcp110
1455 enable_msvcp120
1456 enable_msvcp120_app
1457 enable_msvcp140
1458 enable_msvcp60
1459 enable_msvcp70
1460 enable_msvcp71
1461 enable_msvcp80
1462 enable_msvcp90
1463 enable_msvcr100
1464 enable_msvcr110
1465 enable_msvcr120
1466 enable_msvcr120_app
1467 enable_msvcr70
1468 enable_msvcr71
1469 enable_msvcr80
1470 enable_msvcr90
1471 enable_msvcrt
1472 enable_msvcrt20
1473 enable_msvcrt40
1474 enable_msvcrtd
1475 enable_msvfw32
1476 enable_msvidc32
1477 enable_mswsock
1478 enable_msxml
1479 enable_msxml2
1480 enable_msxml3
1481 enable_msxml4
1482 enable_msxml6
1483 enable_mtxdm
1484 enable_ncrypt
1485 enable_nddeapi
1486 enable_ndis_sys
1487 enable_netapi32
1488 enable_netcfgx
1489 enable_netprofm
1490 enable_newdev
1491 enable_ninput
1492 enable_normaliz
1493 enable_npmshtml
1494 enable_npptools
1495 enable_ntdll
1496 enable_ntdsapi
1497 enable_ntoskrnl_exe
1498 enable_ntprint
1499 enable_objsel
1500 enable_odbc32
1501 enable_odbcbcp
1502 enable_odbccp32
1503 enable_odbccu32
1504 enable_ole32
1505 enable_oleacc
1506 enable_oleaut32
1507 enable_olecli32
1508 enable_oledb32
1509 enable_oledlg
1510 enable_olepro32
1511 enable_olesvr32
1512 enable_olethk32
1513 enable_opcservices
1514 enable_openal32
1515 enable_opencl
1516 enable_opengl32
1517 enable_packager
1518 enable_pdh
1519 enable_photometadatahandler
1520 enable_pidgen
1521 enable_powrprof
1522 enable_printui
1523 enable_prntvpt
1524 enable_propsys
1525 enable_psapi
1526 enable_pstorec
1527 enable_qasf
1528 enable_qcap
1529 enable_qdvd
1530 enable_qedit
1531 enable_qmgr
1532 enable_qmgrprxy
1533 enable_quartz
1534 enable_query
1535 enable_qwave
1536 enable_rasapi32
1537 enable_rasdlg
1538 enable_regapi
1539 enable_resutils
1540 enable_riched20
1541 enable_riched32
1542 enable_rpcrt4
1543 enable_rsabase
1544 enable_rsaenh
1545 enable_rstrtmgr
1546 enable_rtutils
1547 enable_rtworkq
1548 enable_samlib
1549 enable_sane_ds
1550 enable_sapi
1551 enable_sas
1552 enable_scarddlg
1553 enable_sccbase
1554 enable_schannel
1555 enable_schedsvc
1556 enable_scrobj
1557 enable_scrrun
1558 enable_scsiport_sys
1559 enable_secur32
1560 enable_security
1561 enable_sensapi
1562 enable_serialui
1563 enable_setupapi
1564 enable_sfc
1565 enable_sfc_os
1566 enable_shcore
1567 enable_shdoclc
1568 enable_shdocvw
1569 enable_shell32
1570 enable_shfolder
1571 enable_shlwapi
1572 enable_slbcsp
1573 enable_slc
1574 enable_snmpapi
1575 enable_softpub
1576 enable_spoolss
1577 enable_srclient
1578 enable_sspicli
1579 enable_stdole2_tlb
1580 enable_stdole32_tlb
1581 enable_sti
1582 enable_strmbase
1583 enable_strmdll
1584 enable_strmiids
1585 enable_svrapi
1586 enable_sxs
1587 enable_t2embed
1588 enable_tapi32
1589 enable_taskschd
1590 enable_tdh
1591 enable_tdi_sys
1592 enable_traffic
1593 enable_twain_32
1594 enable_tzres
1595 enable_ucrtbase
1596 enable_uianimation
1597 enable_uiautomationcore
1598 enable_uiribbon
1599 enable_unicows
1600 enable_updspapi
1601 enable_url
1602 enable_urlmon
1603 enable_usbd_sys
1604 enable_user32
1605 enable_userenv
1606 enable_usp10
1607 enable_utildll
1608 enable_uuid
1609 enable_uxtheme
1610 enable_vbscript
1611 enable_vcomp
1612 enable_vcomp100
1613 enable_vcomp110
1614 enable_vcomp120
1615 enable_vcomp140
1616 enable_vcomp90
1617 enable_vcruntime140
1618 enable_vcruntime140_1
1619 enable_vdmdbg
1620 enable_version
1621 enable_vga
1622 enable_virtdisk
1623 enable_vssapi
1624 enable_vulkan_1
1625 enable_wbemdisp
1626 enable_wbemprox
1627 enable_wbemuuid
1628 enable_wdscore
1629 enable_webservices
1630 enable_wer
1631 enable_wevtapi
1632 enable_wiaservc
1633 enable_wimgapi
1634 enable_windowscodecs
1635 enable_windowscodecsext
1636 enable_winealsa_drv
1637 enable_wineandroid_drv
1638 enable_winebus_sys
1639 enable_winecoreaudio_drv
1640 enable_winecrt0
1641 enable_wined3d
1642 enable_winegstreamer
1643 enable_winehid_sys
1644 enable_winejoystick_drv
1645 enable_winemac_drv
1646 enable_winemapi
1647 enable_wineoss_drv
1648 enable_wineps_drv
1649 enable_winepulse_drv
1650 enable_wineqtdecoder
1651 enable_wineusb_sys
1652 enable_winevulkan
1653 enable_winex11_drv
1654 enable_wing32
1655 enable_winhttp
1656 enable_wininet
1657 enable_winmm
1658 enable_winnls32
1659 enable_winscard
1660 enable_winspool_drv
1661 enable_winsta
1662 enable_wintab32
1663 enable_wintrust
1664 enable_winusb
1665 enable_wlanapi
1666 enable_wlanui
1667 enable_wldap32
1668 enable_wmasf
1669 enable_wmcodecdspuuid
1670 enable_wmi
1671 enable_wmiutils
1672 enable_wmp
1673 enable_wmphoto
1674 enable_wmvcore
1675 enable_wnaspi32
1676 enable_wpc
1677 enable_wpcap
1678 enable_ws2_32
1679 enable_wsdapi
1680 enable_wshom_ocx
1681 enable_wsnmp32
1682 enable_wsock32
1683 enable_wtsapi32
1684 enable_wuapi
1685 enable_wuaueng
1686 enable_x3daudio1_0
1687 enable_x3daudio1_1
1688 enable_x3daudio1_2
1689 enable_x3daudio1_3
1690 enable_x3daudio1_4
1691 enable_x3daudio1_5
1692 enable_x3daudio1_6
1693 enable_x3daudio1_7
1694 enable_xapofx1_1
1695 enable_xapofx1_2
1696 enable_xapofx1_3
1697 enable_xapofx1_4
1698 enable_xapofx1_5
1699 enable_xaudio2_0
1700 enable_xaudio2_1
1701 enable_xaudio2_2
1702 enable_xaudio2_3
1703 enable_xaudio2_4
1704 enable_xaudio2_5
1705 enable_xaudio2_6
1706 enable_xaudio2_7
1707 enable_xaudio2_8
1708 enable_xaudio2_9
1709 enable_xinput1_1
1710 enable_xinput1_2
1711 enable_xinput1_3
1712 enable_xinput1_4
1713 enable_xinput9_1_0
1714 enable_xmllite
1715 enable_xolehlp
1716 enable_xpsprint
1717 enable_xpssvcs
1718 enable_fonts
1719 enable_include
1720 enable_port
1721 enable_wine
1722 enable_wpp
1723 enable_loader
1724 enable_nls
1725 enable_po
1726 enable_arp
1727 enable_aspnet_regiis
1728 enable_attrib
1729 enable_cabarc
1730 enable_cacls
1731 enable_chcp_com
1732 enable_clock
1733 enable_cmd
1734 enable_conhost
1735 enable_control
1736 enable_cscript
1737 enable_dism
1738 enable_dpnsvr
1739 enable_dxdiag
1740 enable_eject
1741 enable_expand
1742 enable_explorer
1743 enable_extrac32
1744 enable_fc
1745 enable_find
1746 enable_findstr
1747 enable_fsutil
1748 enable_hh
1749 enable_hostname
1750 enable_icacls
1751 enable_icinfo
1752 enable_iexplore
1753 enable_ipconfig
1754 enable_lodctr
1755 enable_mofcomp
1756 enable_mshta
1757 enable_msidb
1758 enable_msiexec
1759 enable_msinfo32
1760 enable_net
1761 enable_netsh
1762 enable_netstat
1763 enable_ngen
1764 enable_notepad
1765 enable_oleview
1766 enable_ping
1767 enable_plugplay
1768 enable_powershell
1769 enable_presentationfontcache
1770 enable_progman
1771 enable_reg
1772 enable_regasm
1773 enable_regedit
1774 enable_regini
1775 enable_regsvcs
1776 enable_regsvr32
1777 enable_rpcss
1778 enable_rundll32
1779 enable_sc
1780 enable_schtasks
1781 enable_sdbinst
1782 enable_secedit
1783 enable_servicemodelreg
1784 enable_services
1785 enable_shutdown
1786 enable_spoolsv
1787 enable_start
1788 enable_subst
1789 enable_svchost
1790 enable_systeminfo
1791 enable_taskkill
1792 enable_tasklist
1793 enable_taskmgr
1794 enable_termsv
1795 enable_uninstaller
1796 enable_unlodctr
1797 enable_view
1798 enable_wevtutil
1799 enable_whoami
1800 enable_wineboot
1801 enable_winebrowser
1802 enable_winecfg
1803 enable_wineconsole
1804 enable_winedbg
1805 enable_winedevice
1806 enable_winefile
1807 enable_winemenubuilder
1808 enable_winemine
1809 enable_winemsibuilder
1810 enable_winepath
1811 enable_winetest
1812 enable_winhlp32
1813 enable_winmgmt
1814 enable_winver
1815 enable_wmic
1816 enable_wmplayer
1817 enable_wordpad
1818 enable_write
1819 enable_wscript
1820 enable_wuauserv
1821 enable_wusa
1822 enable_xcopy
1823 enable_server
1824 enable_tools
1825 enable_sfnt2fon
1826 enable_widl
1827 enable_winebuild
1828 enable_winedump
1829 enable_winegcc
1830 enable_winemaker
1831 enable_wmc
1832 enable_wrc
1834 ac_precious_vars='build_alias
1835 host_alias
1836 target_alias
1838 CFLAGS
1839 LDFLAGS
1840 LIBS
1841 CPPFLAGS
1843 CXXFLAGS
1846 OBJC
1847 OBJCFLAGS
1848 OBJCPP
1849 XMKMF
1850 XML2_CFLAGS
1851 XML2_LIBS
1852 XSLT_CFLAGS
1853 XSLT_LIBS
1854 INOTIFY_CFLAGS
1855 INOTIFY_LIBS
1856 DBUS_CFLAGS
1857 DBUS_LIBS
1858 HAL_CFLAGS
1859 HAL_LIBS
1860 GNUTLS_CFLAGS
1861 GNUTLS_LIBS
1862 SANE_CFLAGS
1863 SANE_LIBS
1864 USB_CFLAGS
1865 USB_LIBS
1866 GPHOTO2_CFLAGS
1867 GPHOTO2_LIBS
1868 GPHOTO2_PORT_CFLAGS
1869 GPHOTO2_PORT_LIBS
1870 LCMS2_CFLAGS
1871 LCMS2_LIBS
1872 FREETYPE_CFLAGS
1873 FREETYPE_LIBS
1874 PULSE_CFLAGS
1875 PULSE_LIBS
1876 GSTREAMER_CFLAGS
1877 GSTREAMER_LIBS
1878 UDEV_CFLAGS
1879 UDEV_LIBS
1880 UNWIND_CFLAGS
1881 UNWIND_LIBS
1882 SDL2_CFLAGS
1883 SDL2_LIBS
1884 FAUDIO_CFLAGS
1885 FAUDIO_LIBS
1886 CAPI20_CFLAGS
1887 CAPI20_LIBS
1888 CUPS_CFLAGS
1889 CUPS_LIBS
1890 FONTCONFIG_CFLAGS
1891 FONTCONFIG_LIBS
1892 KRB5_CFLAGS
1893 KRB5_LIBS
1894 GSSAPI_CFLAGS
1895 GSSAPI_LIBS
1896 JPEG_CFLAGS
1897 JPEG_LIBS
1898 PNG_CFLAGS
1899 PNG_LIBS
1900 TIFF_CFLAGS
1901 TIFF_LIBS
1902 MPG123_CFLAGS
1903 MPG123_LIBS
1904 NETAPI_CFLAGS
1905 NETAPI_LIBS
1906 VKD3D_CFLAGS
1907 VKD3D_LIBS
1908 LDAP_CFLAGS
1909 LDAP_LIBS'
1912 # Initialize some variables set by options.
1913 ac_init_help=
1914 ac_init_version=false
1915 ac_unrecognized_opts=
1916 ac_unrecognized_sep=
1917 # The variables have the same names as the options, with
1918 # dashes changed to underlines.
1919 cache_file=/dev/null
1920 exec_prefix=NONE
1921 no_create=
1922 no_recursion=
1923 prefix=NONE
1924 program_prefix=NONE
1925 program_suffix=NONE
1926 program_transform_name=s,x,x,
1927 silent=
1928 site=
1929 srcdir=
1930 verbose=
1931 x_includes=NONE
1932 x_libraries=NONE
1934 # Installation directory options.
1935 # These are left unexpanded so users can "make install exec_prefix=/foo"
1936 # and all the variables that are supposed to be based on exec_prefix
1937 # by default will actually change.
1938 # Use braces instead of parens because sh, perl, etc. also accept them.
1939 # (The list follows the same order as the GNU Coding Standards.)
1940 bindir='${exec_prefix}/bin'
1941 sbindir='${exec_prefix}/sbin'
1942 libexecdir='${exec_prefix}/libexec'
1943 datarootdir='${prefix}/share'
1944 datadir='${datarootdir}'
1945 sysconfdir='${prefix}/etc'
1946 sharedstatedir='${prefix}/com'
1947 localstatedir='${prefix}/var'
1948 runstatedir='${localstatedir}/run'
1949 includedir='${prefix}/include'
1950 oldincludedir='/usr/include'
1951 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1952 infodir='${datarootdir}/info'
1953 htmldir='${docdir}'
1954 dvidir='${docdir}'
1955 pdfdir='${docdir}'
1956 psdir='${docdir}'
1957 libdir='${exec_prefix}/lib'
1958 localedir='${datarootdir}/locale'
1959 mandir='${datarootdir}/man'
1961 ac_prev=
1962 ac_dashdash=
1963 for ac_option
1965 # If the previous option needs an argument, assign it.
1966 if test -n "$ac_prev"; then
1967 eval $ac_prev=\$ac_option
1968 ac_prev=
1969 continue
1972 case $ac_option in
1973 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1974 *=) ac_optarg= ;;
1975 *) ac_optarg=yes ;;
1976 esac
1978 # Accept the important Cygnus configure options, so we can diagnose typos.
1980 case $ac_dashdash$ac_option in
1982 ac_dashdash=yes ;;
1984 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1985 ac_prev=bindir ;;
1986 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1987 bindir=$ac_optarg ;;
1989 -build | --build | --buil | --bui | --bu)
1990 ac_prev=build_alias ;;
1991 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1992 build_alias=$ac_optarg ;;
1994 -cache-file | --cache-file | --cache-fil | --cache-fi \
1995 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1996 ac_prev=cache_file ;;
1997 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1998 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1999 cache_file=$ac_optarg ;;
2001 --config-cache | -C)
2002 cache_file=config.cache ;;
2004 -datadir | --datadir | --datadi | --datad)
2005 ac_prev=datadir ;;
2006 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2007 datadir=$ac_optarg ;;
2009 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2010 | --dataroo | --dataro | --datar)
2011 ac_prev=datarootdir ;;
2012 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2013 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2014 datarootdir=$ac_optarg ;;
2016 -disable-* | --disable-*)
2017 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2018 # Reject names that are not valid shell variable names.
2019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2020 as_fn_error $? "invalid feature name: $ac_useropt"
2021 ac_useropt_orig=$ac_useropt
2022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2023 case $ac_user_opts in
2025 "enable_$ac_useropt"
2026 "*) ;;
2027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2028 ac_unrecognized_sep=', ';;
2029 esac
2030 eval enable_$ac_useropt=no ;;
2032 -docdir | --docdir | --docdi | --doc | --do)
2033 ac_prev=docdir ;;
2034 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2035 docdir=$ac_optarg ;;
2037 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2038 ac_prev=dvidir ;;
2039 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2040 dvidir=$ac_optarg ;;
2042 -enable-* | --enable-*)
2043 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2044 # Reject names that are not valid shell variable names.
2045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2046 as_fn_error $? "invalid feature name: $ac_useropt"
2047 ac_useropt_orig=$ac_useropt
2048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2049 case $ac_user_opts in
2051 "enable_$ac_useropt"
2052 "*) ;;
2053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2054 ac_unrecognized_sep=', ';;
2055 esac
2056 eval enable_$ac_useropt=\$ac_optarg ;;
2058 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2059 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2060 | --exec | --exe | --ex)
2061 ac_prev=exec_prefix ;;
2062 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2063 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2064 | --exec=* | --exe=* | --ex=*)
2065 exec_prefix=$ac_optarg ;;
2067 -gas | --gas | --ga | --g)
2068 # Obsolete; use --with-gas.
2069 with_gas=yes ;;
2071 -help | --help | --hel | --he | -h)
2072 ac_init_help=long ;;
2073 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2074 ac_init_help=recursive ;;
2075 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2076 ac_init_help=short ;;
2078 -host | --host | --hos | --ho)
2079 ac_prev=host_alias ;;
2080 -host=* | --host=* | --hos=* | --ho=*)
2081 host_alias=$ac_optarg ;;
2083 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2084 ac_prev=htmldir ;;
2085 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2086 | --ht=*)
2087 htmldir=$ac_optarg ;;
2089 -includedir | --includedir | --includedi | --included | --include \
2090 | --includ | --inclu | --incl | --inc)
2091 ac_prev=includedir ;;
2092 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2093 | --includ=* | --inclu=* | --incl=* | --inc=*)
2094 includedir=$ac_optarg ;;
2096 -infodir | --infodir | --infodi | --infod | --info | --inf)
2097 ac_prev=infodir ;;
2098 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2099 infodir=$ac_optarg ;;
2101 -libdir | --libdir | --libdi | --libd)
2102 ac_prev=libdir ;;
2103 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2104 libdir=$ac_optarg ;;
2106 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2107 | --libexe | --libex | --libe)
2108 ac_prev=libexecdir ;;
2109 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2110 | --libexe=* | --libex=* | --libe=*)
2111 libexecdir=$ac_optarg ;;
2113 -localedir | --localedir | --localedi | --localed | --locale)
2114 ac_prev=localedir ;;
2115 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2116 localedir=$ac_optarg ;;
2118 -localstatedir | --localstatedir | --localstatedi | --localstated \
2119 | --localstate | --localstat | --localsta | --localst | --locals)
2120 ac_prev=localstatedir ;;
2121 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2122 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2123 localstatedir=$ac_optarg ;;
2125 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2126 ac_prev=mandir ;;
2127 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2128 mandir=$ac_optarg ;;
2130 -nfp | --nfp | --nf)
2131 # Obsolete; use --without-fp.
2132 with_fp=no ;;
2134 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2135 | --no-cr | --no-c | -n)
2136 no_create=yes ;;
2138 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2139 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2140 no_recursion=yes ;;
2142 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2143 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2144 | --oldin | --oldi | --old | --ol | --o)
2145 ac_prev=oldincludedir ;;
2146 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2147 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2148 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2149 oldincludedir=$ac_optarg ;;
2151 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2152 ac_prev=prefix ;;
2153 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2154 prefix=$ac_optarg ;;
2156 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2157 | --program-pre | --program-pr | --program-p)
2158 ac_prev=program_prefix ;;
2159 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2160 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2161 program_prefix=$ac_optarg ;;
2163 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2164 | --program-suf | --program-su | --program-s)
2165 ac_prev=program_suffix ;;
2166 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2167 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2168 program_suffix=$ac_optarg ;;
2170 -program-transform-name | --program-transform-name \
2171 | --program-transform-nam | --program-transform-na \
2172 | --program-transform-n | --program-transform- \
2173 | --program-transform | --program-transfor \
2174 | --program-transfo | --program-transf \
2175 | --program-trans | --program-tran \
2176 | --progr-tra | --program-tr | --program-t)
2177 ac_prev=program_transform_name ;;
2178 -program-transform-name=* | --program-transform-name=* \
2179 | --program-transform-nam=* | --program-transform-na=* \
2180 | --program-transform-n=* | --program-transform-=* \
2181 | --program-transform=* | --program-transfor=* \
2182 | --program-transfo=* | --program-transf=* \
2183 | --program-trans=* | --program-tran=* \
2184 | --progr-tra=* | --program-tr=* | --program-t=*)
2185 program_transform_name=$ac_optarg ;;
2187 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2188 ac_prev=pdfdir ;;
2189 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2190 pdfdir=$ac_optarg ;;
2192 -psdir | --psdir | --psdi | --psd | --ps)
2193 ac_prev=psdir ;;
2194 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2195 psdir=$ac_optarg ;;
2197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2198 | -silent | --silent | --silen | --sile | --sil)
2199 silent=yes ;;
2201 -runstatedir | --runstatedir | --runstatedi | --runstated \
2202 | --runstate | --runstat | --runsta | --runst | --runs \
2203 | --run | --ru | --r)
2204 ac_prev=runstatedir ;;
2205 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2206 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2207 | --run=* | --ru=* | --r=*)
2208 runstatedir=$ac_optarg ;;
2210 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2211 ac_prev=sbindir ;;
2212 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2213 | --sbi=* | --sb=*)
2214 sbindir=$ac_optarg ;;
2216 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2217 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2218 | --sharedst | --shareds | --shared | --share | --shar \
2219 | --sha | --sh)
2220 ac_prev=sharedstatedir ;;
2221 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2222 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2223 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2224 | --sha=* | --sh=*)
2225 sharedstatedir=$ac_optarg ;;
2227 -site | --site | --sit)
2228 ac_prev=site ;;
2229 -site=* | --site=* | --sit=*)
2230 site=$ac_optarg ;;
2232 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2233 ac_prev=srcdir ;;
2234 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2235 srcdir=$ac_optarg ;;
2237 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2238 | --syscon | --sysco | --sysc | --sys | --sy)
2239 ac_prev=sysconfdir ;;
2240 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2241 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2242 sysconfdir=$ac_optarg ;;
2244 -target | --target | --targe | --targ | --tar | --ta | --t)
2245 ac_prev=target_alias ;;
2246 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2247 target_alias=$ac_optarg ;;
2249 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2250 verbose=yes ;;
2252 -version | --version | --versio | --versi | --vers | -V)
2253 ac_init_version=: ;;
2255 -with-* | --with-*)
2256 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2257 # Reject names that are not valid shell variable names.
2258 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2259 as_fn_error $? "invalid package name: $ac_useropt"
2260 ac_useropt_orig=$ac_useropt
2261 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2262 case $ac_user_opts in
2264 "with_$ac_useropt"
2265 "*) ;;
2266 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2267 ac_unrecognized_sep=', ';;
2268 esac
2269 eval with_$ac_useropt=\$ac_optarg ;;
2271 -without-* | --without-*)
2272 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2273 # Reject names that are not valid shell variable names.
2274 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2275 as_fn_error $? "invalid package name: $ac_useropt"
2276 ac_useropt_orig=$ac_useropt
2277 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2278 case $ac_user_opts in
2280 "with_$ac_useropt"
2281 "*) ;;
2282 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2283 ac_unrecognized_sep=', ';;
2284 esac
2285 eval with_$ac_useropt=no ;;
2287 --x)
2288 # Obsolete; use --with-x.
2289 with_x=yes ;;
2291 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2292 | --x-incl | --x-inc | --x-in | --x-i)
2293 ac_prev=x_includes ;;
2294 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2295 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2296 x_includes=$ac_optarg ;;
2298 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2299 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2300 ac_prev=x_libraries ;;
2301 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2302 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2303 x_libraries=$ac_optarg ;;
2305 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2306 Try \`$0 --help' for more information"
2309 *=*)
2310 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2311 # Reject names that are not valid shell variable names.
2312 case $ac_envvar in #(
2313 '' | [0-9]* | *[!_$as_cr_alnum]* )
2314 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2315 esac
2316 eval $ac_envvar=\$ac_optarg
2317 export $ac_envvar ;;
2320 # FIXME: should be removed in autoconf 3.0.
2321 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2322 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2323 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2324 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2327 esac
2328 done
2330 if test -n "$ac_prev"; then
2331 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2332 as_fn_error $? "missing argument to $ac_option"
2335 if test -n "$ac_unrecognized_opts"; then
2336 case $enable_option_checking in
2337 no) ;;
2338 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2339 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2340 esac
2343 # Check all directory arguments for consistency.
2344 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2345 datadir sysconfdir sharedstatedir localstatedir includedir \
2346 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2347 libdir localedir mandir runstatedir
2349 eval ac_val=\$$ac_var
2350 # Remove trailing slashes.
2351 case $ac_val in
2352 */ )
2353 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2354 eval $ac_var=\$ac_val;;
2355 esac
2356 # Be sure to have absolute directory names.
2357 case $ac_val in
2358 [\\/$]* | ?:[\\/]* ) continue;;
2359 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2360 esac
2361 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2362 done
2364 # There might be people who depend on the old broken behavior: `$host'
2365 # used to hold the argument of --host etc.
2366 # FIXME: To remove some day.
2367 build=$build_alias
2368 host=$host_alias
2369 target=$target_alias
2371 # FIXME: To remove some day.
2372 if test "x$host_alias" != x; then
2373 if test "x$build_alias" = x; then
2374 cross_compiling=maybe
2375 elif test "x$build_alias" != "x$host_alias"; then
2376 cross_compiling=yes
2380 ac_tool_prefix=
2381 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2383 test "$silent" = yes && exec 6>/dev/null
2386 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2387 ac_ls_di=`ls -di .` &&
2388 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2389 as_fn_error $? "working directory cannot be determined"
2390 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2391 as_fn_error $? "pwd does not report name of working directory"
2394 # Find the source files, if location was not specified.
2395 if test -z "$srcdir"; then
2396 ac_srcdir_defaulted=yes
2397 # Try the directory containing this script, then the parent directory.
2398 ac_confdir=`$as_dirname -- "$as_myself" ||
2399 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2400 X"$as_myself" : 'X\(//\)[^/]' \| \
2401 X"$as_myself" : 'X\(//\)$' \| \
2402 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2403 $as_echo X"$as_myself" |
2404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2405 s//\1/
2408 /^X\(\/\/\)[^/].*/{
2409 s//\1/
2412 /^X\(\/\/\)$/{
2413 s//\1/
2416 /^X\(\/\).*/{
2417 s//\1/
2420 s/.*/./; q'`
2421 srcdir=$ac_confdir
2422 if test ! -r "$srcdir/$ac_unique_file"; then
2423 srcdir=..
2425 else
2426 ac_srcdir_defaulted=no
2428 if test ! -r "$srcdir/$ac_unique_file"; then
2429 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2430 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2432 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2433 ac_abs_confdir=`(
2434 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2435 pwd)`
2436 # When building in place, set srcdir=.
2437 if test "$ac_abs_confdir" = "$ac_pwd"; then
2438 srcdir=.
2440 # Remove unnecessary trailing slashes from srcdir.
2441 # Double slashes in file names in object file debugging info
2442 # mess up M-x gdb in Emacs.
2443 case $srcdir in
2444 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2445 esac
2446 for ac_var in $ac_precious_vars; do
2447 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2448 eval ac_env_${ac_var}_value=\$${ac_var}
2449 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2450 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2451 done
2454 # Report the --help message.
2456 if test "$ac_init_help" = "long"; then
2457 # Omit some internal or obsolete options to make the list less imposing.
2458 # This message is too long to be a string in the A/UX 3.1 sh.
2459 cat <<_ACEOF
2460 \`configure' configures Wine 5.6 to adapt to many kinds of systems.
2462 Usage: $0 [OPTION]... [VAR=VALUE]...
2464 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2465 VAR=VALUE. See below for descriptions of some of the useful variables.
2467 Defaults for the options are specified in brackets.
2469 Configuration:
2470 -h, --help display this help and exit
2471 --help=short display options specific to this package
2472 --help=recursive display the short help of all the included packages
2473 -V, --version display version information and exit
2474 -q, --quiet, --silent do not print \`checking ...' messages
2475 --cache-file=FILE cache test results in FILE [disabled]
2476 -C, --config-cache alias for \`--cache-file=config.cache'
2477 -n, --no-create do not create output files
2478 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2480 Installation directories:
2481 --prefix=PREFIX install architecture-independent files in PREFIX
2482 [$ac_default_prefix]
2483 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2484 [PREFIX]
2486 By default, \`make install' will install all the files in
2487 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2488 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2489 for instance \`--prefix=\$HOME'.
2491 For better control, use the options below.
2493 Fine tuning of the installation directories:
2494 --bindir=DIR user executables [EPREFIX/bin]
2495 --sbindir=DIR system admin executables [EPREFIX/sbin]
2496 --libexecdir=DIR program executables [EPREFIX/libexec]
2497 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2498 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2499 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2500 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2501 --libdir=DIR object code libraries [EPREFIX/lib]
2502 --includedir=DIR C header files [PREFIX/include]
2503 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2504 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2505 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2506 --infodir=DIR info documentation [DATAROOTDIR/info]
2507 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2508 --mandir=DIR man documentation [DATAROOTDIR/man]
2509 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2510 --htmldir=DIR html documentation [DOCDIR]
2511 --dvidir=DIR dvi documentation [DOCDIR]
2512 --pdfdir=DIR pdf documentation [DOCDIR]
2513 --psdir=DIR ps documentation [DOCDIR]
2514 _ACEOF
2516 cat <<\_ACEOF
2518 X features:
2519 --x-includes=DIR X include files are in DIR
2520 --x-libraries=DIR X library files are in DIR
2522 System types:
2523 --build=BUILD configure for building on BUILD [guessed]
2524 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2525 _ACEOF
2528 if test -n "$ac_init_help"; then
2529 case $ac_init_help in
2530 short | recursive ) echo "Configuration of Wine 5.6:";;
2531 esac
2532 cat <<\_ACEOF
2534 Optional Features:
2535 --disable-option-checking ignore unrecognized --enable/--with options
2536 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2537 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2538 --disable-win16 do not include Win16 support
2539 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2540 binaries)
2541 --disable-tests do not build the regression tests
2542 --enable-maintainer-mode
2543 enable maintainer-specific build rules
2544 --enable-werror treat compilation warnings as errors
2545 --disable-largefile omit support for large files
2547 Optional Packages:
2548 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2549 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2550 --without-alsa do not use the Alsa sound support
2551 --without-capi do not use CAPI (ISDN support)
2552 --without-cms do not use CMS (color management support)
2553 --without-coreaudio do not use the CoreAudio sound support
2554 --without-cups do not use CUPS
2555 --without-curses do not use (n)curses
2556 --without-dbus do not use DBus (dynamic device support)
2557 --without-faudio do not use FAudio (XAudio2 support)
2558 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2559 --without-fontconfig do not use fontconfig
2560 --without-freetype do not use the FreeType library
2561 --without-gettext do not use gettext
2562 --with-gettextpo use the GetTextPO library to rebuild po files
2563 --without-gphoto do not use gphoto (Digital Camera support)
2564 --without-glu do not use the GLU library
2565 --without-gnutls do not use GnuTLS (schannel support)
2566 --without-gsm do not use libgsm (GSM 06.10 codec support)
2567 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2568 --without-gstreamer do not use GStreamer (codecs support)
2569 --without-hal do not use HAL (dynamic device support)
2570 --without-inotify do not use inotify (filesystem change notifications)
2571 --without-jpeg do not use JPEG
2572 --without-krb5 do not use krb5 (Kerberos)
2573 --without-ldap do not use LDAP
2574 --without-mingw do not use the MinGW cross-compiler
2575 --without-mpg123 do not use the mpg123 library
2576 --without-netapi do not use the Samba NetAPI library
2577 --without-openal do not use OpenAL
2578 --without-opencl do not use OpenCL
2579 --without-opengl do not use OpenGL
2580 --without-osmesa do not use the OSMesa library
2581 --without-oss do not use the OSS sound support
2582 --without-pcap do not use the Packet Capture library
2583 --without-png do not use PNG
2584 --without-pthread do not use the pthread library
2585 --without-pulse do not use PulseAudio sound support
2586 --without-sane do not use SANE (scanner support)
2587 --without-sdl do not use SDL
2588 --without-tiff do not use TIFF
2589 --without-udev do not use udev (plug and play support)
2590 --without-unwind do not use the libunwind library (exception
2591 handling)
2592 --without-usb do not use the libusb library
2593 --without-v4l2 do not use v4l2 (video capture)
2594 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2595 --without-vulkan do not use Vulkan
2596 --without-xcomposite do not use the Xcomposite extension
2597 --without-xcursor do not use the Xcursor extension
2598 --without-xfixes do not use Xfixes for clipboard change notifications
2599 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2600 --without-xinput do not use the Xinput extension
2601 --without-xinput2 do not use the Xinput 2 extension
2602 --without-xml do not use XML
2603 --without-xrandr do not use Xrandr (multi-monitor support)
2604 --without-xrender do not use the Xrender extension
2605 --without-xshape do not use the Xshape extension
2606 --without-xshm do not use XShm (shared memory extension)
2607 --without-xslt do not use XSLT
2608 --without-xxf86vm do not use XFree video mode extension
2609 --with-wine-tools=DIR use Wine tools from directory DIR
2610 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2611 --with-x use the X Window System
2613 Some influential environment variables:
2614 CC C compiler command
2615 CFLAGS C compiler flags
2616 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2617 nonstandard directory <lib dir>
2618 LIBS libraries to pass to the linker, e.g. -l<library>
2619 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2620 you have headers in a nonstandard directory <include dir>
2621 CXX C++ compiler command
2622 CXXFLAGS C++ compiler flags
2623 CPP C preprocessor
2624 OBJC Objective C compiler command
2625 OBJCFLAGS Objective C compiler flags
2626 OBJCPP Objective C preprocessor
2627 XMKMF Path to xmkmf, Makefile generator for X Window System
2628 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2629 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2630 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2631 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2632 INOTIFY_CFLAGS
2633 C compiler flags for libinotify, overriding pkg-config
2634 INOTIFY_LIBS
2635 Linker flags for libinotify, overriding pkg-config
2636 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2637 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2638 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2639 HAL_LIBS Linker flags for hal, overriding pkg-config
2640 GNUTLS_CFLAGS
2641 C compiler flags for gnutls, overriding pkg-config
2642 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2643 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2644 SANE_LIBS Linker flags for libsane, overriding pkg-config
2645 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2646 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2647 GPHOTO2_CFLAGS
2648 C compiler flags for libgphoto2, overriding pkg-config
2649 GPHOTO2_LIBS
2650 Linker flags for libgphoto2, overriding pkg-config
2651 GPHOTO2_PORT_CFLAGS
2652 C compiler flags for libgphoto2_port, overriding pkg-config
2653 GPHOTO2_PORT_LIBS
2654 Linker flags for libgphoto2_port, overriding pkg-config
2655 LCMS2_CFLAGS
2656 C compiler flags for lcms2, overriding pkg-config
2657 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2658 FREETYPE_CFLAGS
2659 C compiler flags for freetype2, overriding pkg-config
2660 FREETYPE_LIBS
2661 Linker flags for freetype2, overriding pkg-config
2662 PULSE_CFLAGS
2663 C compiler flags for libpulse, overriding pkg-config
2664 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2665 GSTREAMER_CFLAGS
2666 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2667 gstreamer-audio-1.0, overriding pkg-config
2668 GSTREAMER_LIBS
2669 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2670 gstreamer-audio-1.0, overriding pkg-config
2671 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2672 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2673 UNWIND_CFLAGS
2674 C compiler flags for libunwind, overriding pkg-config
2675 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2676 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2677 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2678 FAUDIO_CFLAGS
2679 C compiler flags for faudio, overriding pkg-config
2680 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2681 CAPI20_CFLAGS
2682 C compiler flags for capi20, overriding pkg-config
2683 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2684 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2685 CUPS_LIBS Linker flags for cups, overriding pkg-config
2686 FONTCONFIG_CFLAGS
2687 C compiler flags for fontconfig, overriding pkg-config
2688 FONTCONFIG_LIBS
2689 Linker flags for fontconfig, overriding pkg-config
2690 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2691 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2692 GSSAPI_CFLAGS
2693 C compiler flags for krb5-gssapi, overriding pkg-config
2694 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2695 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2696 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2697 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2698 PNG_LIBS Linker flags for libpng, overriding pkg-config
2699 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2700 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2701 MPG123_CFLAGS
2702 C compiler flags for libmpg123, overriding pkg-config
2703 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2704 NETAPI_CFLAGS
2705 C compiler flags for netapi, overriding pkg-config
2706 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2707 VKD3D_CFLAGS
2708 C compiler flags for libvkd3d, overriding pkg-config
2709 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2710 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2711 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2713 Use these variables to override the choices made by `configure' or to help
2714 it to find libraries and programs with nonstandard names/locations.
2716 Report bugs to <wine-devel@winehq.org>.
2717 Wine home page: <https://www.winehq.org>.
2718 _ACEOF
2719 ac_status=$?
2722 if test "$ac_init_help" = "recursive"; then
2723 # If there are subdirs, report their specific --help.
2724 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2725 test -d "$ac_dir" ||
2726 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2727 continue
2728 ac_builddir=.
2730 case "$ac_dir" in
2731 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2733 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2734 # A ".." for each directory in $ac_dir_suffix.
2735 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2736 case $ac_top_builddir_sub in
2737 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2738 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2739 esac ;;
2740 esac
2741 ac_abs_top_builddir=$ac_pwd
2742 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2743 # for backward compatibility:
2744 ac_top_builddir=$ac_top_build_prefix
2746 case $srcdir in
2747 .) # We are building in place.
2748 ac_srcdir=.
2749 ac_top_srcdir=$ac_top_builddir_sub
2750 ac_abs_top_srcdir=$ac_pwd ;;
2751 [\\/]* | ?:[\\/]* ) # Absolute name.
2752 ac_srcdir=$srcdir$ac_dir_suffix;
2753 ac_top_srcdir=$srcdir
2754 ac_abs_top_srcdir=$srcdir ;;
2755 *) # Relative name.
2756 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2757 ac_top_srcdir=$ac_top_build_prefix$srcdir
2758 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2759 esac
2760 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2762 cd "$ac_dir" || { ac_status=$?; continue; }
2763 # Check for guested configure.
2764 if test -f "$ac_srcdir/configure.gnu"; then
2765 echo &&
2766 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2767 elif test -f "$ac_srcdir/configure"; then
2768 echo &&
2769 $SHELL "$ac_srcdir/configure" --help=recursive
2770 else
2771 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2772 fi || ac_status=$?
2773 cd "$ac_pwd" || { ac_status=$?; break; }
2774 done
2777 test -n "$ac_init_help" && exit $ac_status
2778 if $ac_init_version; then
2779 cat <<\_ACEOF
2780 Wine configure 5.6
2781 generated by GNU Autoconf 2.69
2783 Copyright (C) 2012 Free Software Foundation, Inc.
2784 This configure script is free software; the Free Software Foundation
2785 gives unlimited permission to copy, distribute and modify it.
2786 _ACEOF
2787 exit
2790 ## ------------------------ ##
2791 ## Autoconf initialization. ##
2792 ## ------------------------ ##
2794 # ac_fn_c_try_compile LINENO
2795 # --------------------------
2796 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2797 ac_fn_c_try_compile ()
2799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2800 rm -f conftest.$ac_objext
2801 if { { ac_try="$ac_compile"
2802 case "(($ac_try" in
2803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804 *) ac_try_echo=$ac_try;;
2805 esac
2806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2807 $as_echo "$ac_try_echo"; } >&5
2808 (eval "$ac_compile") 2>conftest.err
2809 ac_status=$?
2810 if test -s conftest.err; then
2811 grep -v '^ *+' conftest.err >conftest.er1
2812 cat conftest.er1 >&5
2813 mv -f conftest.er1 conftest.err
2815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2816 test $ac_status = 0; } && {
2817 test -z "$ac_c_werror_flag" ||
2818 test ! -s conftest.err
2819 } && test -s conftest.$ac_objext; then :
2820 ac_retval=0
2821 else
2822 $as_echo "$as_me: failed program was:" >&5
2823 sed 's/^/| /' conftest.$ac_ext >&5
2825 ac_retval=1
2827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2828 as_fn_set_status $ac_retval
2830 } # ac_fn_c_try_compile
2832 # ac_fn_cxx_try_compile LINENO
2833 # ----------------------------
2834 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2835 ac_fn_cxx_try_compile ()
2837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2838 rm -f conftest.$ac_objext
2839 if { { ac_try="$ac_compile"
2840 case "(($ac_try" in
2841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2842 *) ac_try_echo=$ac_try;;
2843 esac
2844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2845 $as_echo "$ac_try_echo"; } >&5
2846 (eval "$ac_compile") 2>conftest.err
2847 ac_status=$?
2848 if test -s conftest.err; then
2849 grep -v '^ *+' conftest.err >conftest.er1
2850 cat conftest.er1 >&5
2851 mv -f conftest.er1 conftest.err
2853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2854 test $ac_status = 0; } && {
2855 test -z "$ac_cxx_werror_flag" ||
2856 test ! -s conftest.err
2857 } && test -s conftest.$ac_objext; then :
2858 ac_retval=0
2859 else
2860 $as_echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.$ac_ext >&5
2863 ac_retval=1
2865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2866 as_fn_set_status $ac_retval
2868 } # ac_fn_cxx_try_compile
2870 # ac_fn_c_try_link LINENO
2871 # -----------------------
2872 # Try to link conftest.$ac_ext, and return whether this succeeded.
2873 ac_fn_c_try_link ()
2875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2876 rm -f conftest.$ac_objext conftest$ac_exeext
2877 if { { ac_try="$ac_link"
2878 case "(($ac_try" in
2879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880 *) ac_try_echo=$ac_try;;
2881 esac
2882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2883 $as_echo "$ac_try_echo"; } >&5
2884 (eval "$ac_link") 2>conftest.err
2885 ac_status=$?
2886 if test -s conftest.err; then
2887 grep -v '^ *+' conftest.err >conftest.er1
2888 cat conftest.er1 >&5
2889 mv -f conftest.er1 conftest.err
2891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2892 test $ac_status = 0; } && {
2893 test -z "$ac_c_werror_flag" ||
2894 test ! -s conftest.err
2895 } && test -s conftest$ac_exeext && {
2896 test "$cross_compiling" = yes ||
2897 test -x conftest$ac_exeext
2898 }; then :
2899 ac_retval=0
2900 else
2901 $as_echo "$as_me: failed program was:" >&5
2902 sed 's/^/| /' conftest.$ac_ext >&5
2904 ac_retval=1
2906 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2907 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2908 # interfere with the next link command; also delete a directory that is
2909 # left behind by Apple's compiler. We do this before executing the actions.
2910 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2912 as_fn_set_status $ac_retval
2914 } # ac_fn_c_try_link
2916 # ac_fn_c_try_cpp LINENO
2917 # ----------------------
2918 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2919 ac_fn_c_try_cpp ()
2921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2922 if { { ac_try="$ac_cpp conftest.$ac_ext"
2923 case "(($ac_try" in
2924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2925 *) ac_try_echo=$ac_try;;
2926 esac
2927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2928 $as_echo "$ac_try_echo"; } >&5
2929 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2930 ac_status=$?
2931 if test -s conftest.err; then
2932 grep -v '^ *+' conftest.err >conftest.er1
2933 cat conftest.er1 >&5
2934 mv -f conftest.er1 conftest.err
2936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2937 test $ac_status = 0; } > conftest.i && {
2938 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2939 test ! -s conftest.err
2940 }; then :
2941 ac_retval=0
2942 else
2943 $as_echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.$ac_ext >&5
2946 ac_retval=1
2948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2949 as_fn_set_status $ac_retval
2951 } # ac_fn_c_try_cpp
2953 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2954 # -------------------------------------------------------
2955 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2956 # the include files in INCLUDES and setting the cache variable VAR
2957 # accordingly.
2958 ac_fn_c_check_header_mongrel ()
2960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2961 if eval \${$3+:} false; then :
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2963 $as_echo_n "checking for $2... " >&6; }
2964 if eval \${$3+:} false; then :
2965 $as_echo_n "(cached) " >&6
2967 eval ac_res=\$$3
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2969 $as_echo "$ac_res" >&6; }
2970 else
2971 # Is the header compilable?
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2973 $as_echo_n "checking $2 usability... " >&6; }
2974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2975 /* end confdefs.h. */
2977 #include <$2>
2978 _ACEOF
2979 if ac_fn_c_try_compile "$LINENO"; then :
2980 ac_header_compiler=yes
2981 else
2982 ac_header_compiler=no
2984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2986 $as_echo "$ac_header_compiler" >&6; }
2988 # Is the header present?
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2990 $as_echo_n "checking $2 presence... " >&6; }
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
2993 #include <$2>
2994 _ACEOF
2995 if ac_fn_c_try_cpp "$LINENO"; then :
2996 ac_header_preproc=yes
2997 else
2998 ac_header_preproc=no
3000 rm -f conftest.err conftest.i conftest.$ac_ext
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3002 $as_echo "$ac_header_preproc" >&6; }
3004 # So? What about this header?
3005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3006 yes:no: )
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3008 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3010 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3012 no:yes:* )
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3014 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3016 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3018 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3020 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3022 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3023 ( $as_echo "## ------------------------------------ ##
3024 ## Report this to wine-devel@winehq.org ##
3025 ## ------------------------------------ ##"
3026 ) | sed "s/^/$as_me: WARNING: /" >&2
3028 esac
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3030 $as_echo_n "checking for $2... " >&6; }
3031 if eval \${$3+:} false; then :
3032 $as_echo_n "(cached) " >&6
3033 else
3034 eval "$3=\$ac_header_compiler"
3036 eval ac_res=\$$3
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3038 $as_echo "$ac_res" >&6; }
3040 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3042 } # ac_fn_c_check_header_mongrel
3044 # ac_fn_c_try_run LINENO
3045 # ----------------------
3046 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3047 # that executables *can* be run.
3048 ac_fn_c_try_run ()
3050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3051 if { { ac_try="$ac_link"
3052 case "(($ac_try" in
3053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3054 *) ac_try_echo=$ac_try;;
3055 esac
3056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3057 $as_echo "$ac_try_echo"; } >&5
3058 (eval "$ac_link") 2>&5
3059 ac_status=$?
3060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3061 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3062 { { case "(($ac_try" in
3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3065 esac
3066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3067 $as_echo "$ac_try_echo"; } >&5
3068 (eval "$ac_try") 2>&5
3069 ac_status=$?
3070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3071 test $ac_status = 0; }; }; then :
3072 ac_retval=0
3073 else
3074 $as_echo "$as_me: program exited with status $ac_status" >&5
3075 $as_echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.$ac_ext >&5
3078 ac_retval=$ac_status
3080 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3081 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3082 as_fn_set_status $ac_retval
3084 } # ac_fn_c_try_run
3086 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3087 # -------------------------------------------------------
3088 # Tests whether HEADER exists and can be compiled using the include files in
3089 # INCLUDES, setting the cache variable VAR accordingly.
3090 ac_fn_c_check_header_compile ()
3092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3094 $as_echo_n "checking for $2... " >&6; }
3095 if eval \${$3+:} false; then :
3096 $as_echo_n "(cached) " >&6
3097 else
3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3101 #include <$2>
3102 _ACEOF
3103 if ac_fn_c_try_compile "$LINENO"; then :
3104 eval "$3=yes"
3105 else
3106 eval "$3=no"
3108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3110 eval ac_res=\$$3
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3112 $as_echo "$ac_res" >&6; }
3113 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3115 } # ac_fn_c_check_header_compile
3117 # ac_fn_objc_try_compile LINENO
3118 # -----------------------------
3119 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3120 ac_fn_objc_try_compile ()
3122 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3123 rm -f conftest.$ac_objext
3124 if { { ac_try="$ac_compile"
3125 case "(($ac_try" in
3126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127 *) ac_try_echo=$ac_try;;
3128 esac
3129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3130 $as_echo "$ac_try_echo"; } >&5
3131 (eval "$ac_compile") 2>conftest.err
3132 ac_status=$?
3133 if test -s conftest.err; then
3134 grep -v '^ *+' conftest.err >conftest.er1
3135 cat conftest.er1 >&5
3136 mv -f conftest.er1 conftest.err
3138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3139 test $ac_status = 0; } && {
3140 test -z "$ac_objc_werror_flag" ||
3141 test ! -s conftest.err
3142 } && test -s conftest.$ac_objext; then :
3143 ac_retval=0
3144 else
3145 $as_echo "$as_me: failed program was:" >&5
3146 sed 's/^/| /' conftest.$ac_ext >&5
3148 ac_retval=1
3150 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3151 as_fn_set_status $ac_retval
3153 } # ac_fn_objc_try_compile
3155 # ac_fn_objc_try_cpp LINENO
3156 # -------------------------
3157 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3158 ac_fn_objc_try_cpp ()
3160 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3161 if { { ac_try="$ac_cpp conftest.$ac_ext"
3162 case "(($ac_try" in
3163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3164 *) ac_try_echo=$ac_try;;
3165 esac
3166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3167 $as_echo "$ac_try_echo"; } >&5
3168 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3169 ac_status=$?
3170 if test -s conftest.err; then
3171 grep -v '^ *+' conftest.err >conftest.er1
3172 cat conftest.er1 >&5
3173 mv -f conftest.er1 conftest.err
3175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3176 test $ac_status = 0; } > conftest.i && {
3177 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3178 test ! -s conftest.err
3179 }; then :
3180 ac_retval=0
3181 else
3182 $as_echo "$as_me: failed program was:" >&5
3183 sed 's/^/| /' conftest.$ac_ext >&5
3185 ac_retval=1
3187 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3188 as_fn_set_status $ac_retval
3190 } # ac_fn_objc_try_cpp
3192 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3193 # ----------------------------------------------------------
3194 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3195 # the include files in INCLUDES and setting the cache variable VAR
3196 # accordingly.
3197 ac_fn_objc_check_header_mongrel ()
3199 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3200 if eval \${$3+:} false; then :
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3202 $as_echo_n "checking for $2... " >&6; }
3203 if eval \${$3+:} false; then :
3204 $as_echo_n "(cached) " >&6
3206 eval ac_res=\$$3
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3208 $as_echo "$ac_res" >&6; }
3209 else
3210 # Is the header compilable?
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3212 $as_echo_n "checking $2 usability... " >&6; }
3213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3214 /* end confdefs.h. */
3216 #include <$2>
3217 _ACEOF
3218 if ac_fn_objc_try_compile "$LINENO"; then :
3219 ac_header_compiler=yes
3220 else
3221 ac_header_compiler=no
3223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3225 $as_echo "$ac_header_compiler" >&6; }
3227 # Is the header present?
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3229 $as_echo_n "checking $2 presence... " >&6; }
3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3231 /* end confdefs.h. */
3232 #include <$2>
3233 _ACEOF
3234 if ac_fn_objc_try_cpp "$LINENO"; then :
3235 ac_header_preproc=yes
3236 else
3237 ac_header_preproc=no
3239 rm -f conftest.err conftest.i conftest.$ac_ext
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3241 $as_echo "$ac_header_preproc" >&6; }
3243 # So? What about this header?
3244 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3245 yes:no: )
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3247 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3249 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3251 no:yes:* )
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3253 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3255 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3257 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3259 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3261 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3262 ( $as_echo "## ------------------------------------ ##
3263 ## Report this to wine-devel@winehq.org ##
3264 ## ------------------------------------ ##"
3265 ) | sed "s/^/$as_me: WARNING: /" >&2
3267 esac
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3269 $as_echo_n "checking for $2... " >&6; }
3270 if eval \${$3+:} false; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 eval "$3=\$ac_header_compiler"
3275 eval ac_res=\$$3
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3277 $as_echo "$ac_res" >&6; }
3279 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3281 } # ac_fn_objc_check_header_mongrel
3283 # ac_fn_c_check_func LINENO FUNC VAR
3284 # ----------------------------------
3285 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3286 ac_fn_c_check_func ()
3288 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3290 $as_echo_n "checking for $2... " >&6; }
3291 if eval \${$3+:} false; then :
3292 $as_echo_n "(cached) " >&6
3293 else
3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3296 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3298 #define $2 innocuous_$2
3300 /* System header to define __stub macros and hopefully few prototypes,
3301 which can conflict with char $2 (); below.
3302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3303 <limits.h> exists even on freestanding compilers. */
3305 #ifdef __STDC__
3306 # include <limits.h>
3307 #else
3308 # include <assert.h>
3309 #endif
3311 #undef $2
3313 /* Override any GCC internal prototype to avoid an error.
3314 Use char because int might match the return type of a GCC
3315 builtin and then its argument prototype would still apply. */
3316 #ifdef __cplusplus
3317 extern "C"
3318 #endif
3319 char $2 ();
3320 /* The GNU C library defines this for functions which it implements
3321 to always fail with ENOSYS. Some functions are actually named
3322 something starting with __ and the normal name is an alias. */
3323 #if defined __stub_$2 || defined __stub___$2
3324 choke me
3325 #endif
3328 main ()
3330 return $2 ();
3332 return 0;
3334 _ACEOF
3335 if ac_fn_c_try_link "$LINENO"; then :
3336 eval "$3=yes"
3337 else
3338 eval "$3=no"
3340 rm -f core conftest.err conftest.$ac_objext \
3341 conftest$ac_exeext conftest.$ac_ext
3343 eval ac_res=\$$3
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3345 $as_echo "$ac_res" >&6; }
3346 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3348 } # ac_fn_c_check_func
3350 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3351 # ----------------------------------------------------
3352 # Tries to find if the field MEMBER exists in type AGGR, after including
3353 # INCLUDES, setting cache variable VAR accordingly.
3354 ac_fn_c_check_member ()
3356 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3358 $as_echo_n "checking for $2.$3... " >&6; }
3359 if eval \${$4+:} false; then :
3360 $as_echo_n "(cached) " >&6
3361 else
3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3366 main ()
3368 static $2 ac_aggr;
3369 if (ac_aggr.$3)
3370 return 0;
3372 return 0;
3374 _ACEOF
3375 if ac_fn_c_try_compile "$LINENO"; then :
3376 eval "$4=yes"
3377 else
3378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3379 /* end confdefs.h. */
3382 main ()
3384 static $2 ac_aggr;
3385 if (sizeof ac_aggr.$3)
3386 return 0;
3388 return 0;
3390 _ACEOF
3391 if ac_fn_c_try_compile "$LINENO"; then :
3392 eval "$4=yes"
3393 else
3394 eval "$4=no"
3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3400 eval ac_res=\$$4
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3402 $as_echo "$ac_res" >&6; }
3403 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3405 } # ac_fn_c_check_member
3407 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3408 # -------------------------------------------
3409 # Tests whether TYPE exists after having included INCLUDES, setting cache
3410 # variable VAR accordingly.
3411 ac_fn_c_check_type ()
3413 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3415 $as_echo_n "checking for $2... " >&6; }
3416 if eval \${$3+:} false; then :
3417 $as_echo_n "(cached) " >&6
3418 else
3419 eval "$3=no"
3420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3424 main ()
3426 if (sizeof ($2))
3427 return 0;
3429 return 0;
3431 _ACEOF
3432 if ac_fn_c_try_compile "$LINENO"; then :
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h. */
3437 main ()
3439 if (sizeof (($2)))
3440 return 0;
3442 return 0;
3444 _ACEOF
3445 if ac_fn_c_try_compile "$LINENO"; then :
3447 else
3448 eval "$3=yes"
3450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3454 eval ac_res=\$$3
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3456 $as_echo "$ac_res" >&6; }
3457 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3459 } # ac_fn_c_check_type
3460 cat >config.log <<_ACEOF
3461 This file contains any messages produced by compilers while
3462 running configure, to aid debugging if configure makes a mistake.
3464 It was created by Wine $as_me 5.6, which was
3465 generated by GNU Autoconf 2.69. Invocation command line was
3467 $ $0 $@
3469 _ACEOF
3470 exec 5>>config.log
3472 cat <<_ASUNAME
3473 ## --------- ##
3474 ## Platform. ##
3475 ## --------- ##
3477 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3478 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3479 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3480 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3481 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3483 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3484 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3486 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3487 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3488 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3489 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3490 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3491 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3492 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3494 _ASUNAME
3496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3497 for as_dir in $PATH
3499 IFS=$as_save_IFS
3500 test -z "$as_dir" && as_dir=.
3501 $as_echo "PATH: $as_dir"
3502 done
3503 IFS=$as_save_IFS
3505 } >&5
3507 cat >&5 <<_ACEOF
3510 ## ----------- ##
3511 ## Core tests. ##
3512 ## ----------- ##
3514 _ACEOF
3517 # Keep a trace of the command line.
3518 # Strip out --no-create and --no-recursion so they do not pile up.
3519 # Strip out --silent because we don't want to record it for future runs.
3520 # Also quote any args containing shell meta-characters.
3521 # Make two passes to allow for proper duplicate-argument suppression.
3522 ac_configure_args=
3523 ac_configure_args0=
3524 ac_configure_args1=
3525 ac_must_keep_next=false
3526 for ac_pass in 1 2
3528 for ac_arg
3530 case $ac_arg in
3531 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3532 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3533 | -silent | --silent | --silen | --sile | --sil)
3534 continue ;;
3535 *\'*)
3536 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3537 esac
3538 case $ac_pass in
3539 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3541 as_fn_append ac_configure_args1 " '$ac_arg'"
3542 if test $ac_must_keep_next = true; then
3543 ac_must_keep_next=false # Got value, back to normal.
3544 else
3545 case $ac_arg in
3546 *=* | --config-cache | -C | -disable-* | --disable-* \
3547 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3548 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3549 | -with-* | --with-* | -without-* | --without-* | --x)
3550 case "$ac_configure_args0 " in
3551 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3552 esac
3554 -* ) ac_must_keep_next=true ;;
3555 esac
3557 as_fn_append ac_configure_args " '$ac_arg'"
3559 esac
3560 done
3561 done
3562 { ac_configure_args0=; unset ac_configure_args0;}
3563 { ac_configure_args1=; unset ac_configure_args1;}
3565 # When interrupted or exit'd, cleanup temporary files, and complete
3566 # config.log. We remove comments because anyway the quotes in there
3567 # would cause problems or look ugly.
3568 # WARNING: Use '\'' to represent an apostrophe within the trap.
3569 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3570 trap 'exit_status=$?
3571 # Save into config.log some information that might help in debugging.
3573 echo
3575 $as_echo "## ---------------- ##
3576 ## Cache variables. ##
3577 ## ---------------- ##"
3578 echo
3579 # The following way of writing the cache mishandles newlines in values,
3581 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3582 eval ac_val=\$$ac_var
3583 case $ac_val in #(
3584 *${as_nl}*)
3585 case $ac_var in #(
3586 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3587 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3588 esac
3589 case $ac_var in #(
3590 _ | IFS | as_nl) ;; #(
3591 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3592 *) { eval $ac_var=; unset $ac_var;} ;;
3593 esac ;;
3594 esac
3595 done
3596 (set) 2>&1 |
3597 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3598 *${as_nl}ac_space=\ *)
3599 sed -n \
3600 "s/'\''/'\''\\\\'\'''\''/g;
3601 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3602 ;; #(
3604 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3606 esac |
3607 sort
3609 echo
3611 $as_echo "## ----------------- ##
3612 ## Output variables. ##
3613 ## ----------------- ##"
3614 echo
3615 for ac_var in $ac_subst_vars
3617 eval ac_val=\$$ac_var
3618 case $ac_val in
3619 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3620 esac
3621 $as_echo "$ac_var='\''$ac_val'\''"
3622 done | sort
3623 echo
3625 if test -n "$ac_subst_files"; then
3626 $as_echo "## ------------------- ##
3627 ## File substitutions. ##
3628 ## ------------------- ##"
3629 echo
3630 for ac_var in $ac_subst_files
3632 eval ac_val=\$$ac_var
3633 case $ac_val in
3634 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3635 esac
3636 $as_echo "$ac_var='\''$ac_val'\''"
3637 done | sort
3638 echo
3641 if test -s confdefs.h; then
3642 $as_echo "## ----------- ##
3643 ## confdefs.h. ##
3644 ## ----------- ##"
3645 echo
3646 cat confdefs.h
3647 echo
3649 test "$ac_signal" != 0 &&
3650 $as_echo "$as_me: caught signal $ac_signal"
3651 $as_echo "$as_me: exit $exit_status"
3652 } >&5
3653 rm -f core *.core core.conftest.* &&
3654 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3655 exit $exit_status
3657 for ac_signal in 1 2 13 15; do
3658 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3659 done
3660 ac_signal=0
3662 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3663 rm -f -r conftest* confdefs.h
3665 $as_echo "/* confdefs.h */" > confdefs.h
3667 # Predefined preprocessor variables.
3669 cat >>confdefs.h <<_ACEOF
3670 #define PACKAGE_NAME "$PACKAGE_NAME"
3671 _ACEOF
3673 cat >>confdefs.h <<_ACEOF
3674 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3675 _ACEOF
3677 cat >>confdefs.h <<_ACEOF
3678 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3679 _ACEOF
3681 cat >>confdefs.h <<_ACEOF
3682 #define PACKAGE_STRING "$PACKAGE_STRING"
3683 _ACEOF
3685 cat >>confdefs.h <<_ACEOF
3686 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3687 _ACEOF
3689 cat >>confdefs.h <<_ACEOF
3690 #define PACKAGE_URL "$PACKAGE_URL"
3691 _ACEOF
3694 # Let the site file select an alternate cache file if it wants to.
3695 # Prefer an explicitly selected file to automatically selected ones.
3696 ac_site_file1=NONE
3697 ac_site_file2=NONE
3698 if test -n "$CONFIG_SITE"; then
3699 # We do not want a PATH search for config.site.
3700 case $CONFIG_SITE in #((
3701 -*) ac_site_file1=./$CONFIG_SITE;;
3702 */*) ac_site_file1=$CONFIG_SITE;;
3703 *) ac_site_file1=./$CONFIG_SITE;;
3704 esac
3705 elif test "x$prefix" != xNONE; then
3706 ac_site_file1=$prefix/share/config.site
3707 ac_site_file2=$prefix/etc/config.site
3708 else
3709 ac_site_file1=$ac_default_prefix/share/config.site
3710 ac_site_file2=$ac_default_prefix/etc/config.site
3712 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3714 test "x$ac_site_file" = xNONE && continue
3715 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3717 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3718 sed 's/^/| /' "$ac_site_file" >&5
3719 . "$ac_site_file" \
3720 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3722 as_fn_error $? "failed to load site script $ac_site_file
3723 See \`config.log' for more details" "$LINENO" 5; }
3725 done
3727 if test -r "$cache_file"; then
3728 # Some versions of bash will fail to source /dev/null (special files
3729 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3730 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3732 $as_echo "$as_me: loading cache $cache_file" >&6;}
3733 case $cache_file in
3734 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3735 *) . "./$cache_file";;
3736 esac
3738 else
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3740 $as_echo "$as_me: creating cache $cache_file" >&6;}
3741 >$cache_file
3744 # Check that the precious variables saved in the cache have kept the same
3745 # value.
3746 ac_cache_corrupted=false
3747 for ac_var in $ac_precious_vars; do
3748 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3749 eval ac_new_set=\$ac_env_${ac_var}_set
3750 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3751 eval ac_new_val=\$ac_env_${ac_var}_value
3752 case $ac_old_set,$ac_new_set in
3753 set,)
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3755 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3756 ac_cache_corrupted=: ;;
3757 ,set)
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3759 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3760 ac_cache_corrupted=: ;;
3761 ,);;
3763 if test "x$ac_old_val" != "x$ac_new_val"; then
3764 # differences in whitespace do not lead to failure.
3765 ac_old_val_w=`echo x $ac_old_val`
3766 ac_new_val_w=`echo x $ac_new_val`
3767 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3769 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3770 ac_cache_corrupted=:
3771 else
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3773 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3774 eval $ac_var=\$ac_old_val
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3777 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3779 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3780 fi;;
3781 esac
3782 # Pass precious variables to config.status.
3783 if test "$ac_new_set" = set; then
3784 case $ac_new_val in
3785 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3786 *) ac_arg=$ac_var=$ac_new_val ;;
3787 esac
3788 case " $ac_configure_args " in
3789 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3790 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3791 esac
3793 done
3794 if $ac_cache_corrupted; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3798 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3799 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3801 ## -------------------- ##
3802 ## Main body of script. ##
3803 ## -------------------- ##
3805 ac_ext=c
3806 ac_cpp='$CPP $CPPFLAGS'
3807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3813 ac_config_headers="$ac_config_headers include/config.h"
3815 ac_aux_dir=
3816 for ac_dir in tools "$srcdir"/tools; do
3817 if test -f "$ac_dir/install-sh"; then
3818 ac_aux_dir=$ac_dir
3819 ac_install_sh="$ac_aux_dir/install-sh -c"
3820 break
3821 elif test -f "$ac_dir/install.sh"; then
3822 ac_aux_dir=$ac_dir
3823 ac_install_sh="$ac_aux_dir/install.sh -c"
3824 break
3825 elif test -f "$ac_dir/shtool"; then
3826 ac_aux_dir=$ac_dir
3827 ac_install_sh="$ac_aux_dir/shtool install -c"
3828 break
3830 done
3831 if test -z "$ac_aux_dir"; then
3832 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3835 # These three variables are undocumented and unsupported,
3836 # and are intended to be withdrawn in a future Autoconf release.
3837 # They can cause serious problems if a builder's source tree is in a directory
3838 # whose full name contains unusual characters.
3839 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3840 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3841 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3845 libwine_version="1.0"
3849 # Check whether --enable-win16 was given.
3850 if test "${enable_win16+set}" = set; then :
3851 enableval=$enable_win16;
3854 # Check whether --enable-win64 was given.
3855 if test "${enable_win64+set}" = set; then :
3856 enableval=$enable_win64;
3859 # Check whether --enable-tests was given.
3860 if test "${enable_tests+set}" = set; then :
3861 enableval=$enable_tests;
3864 # Check whether --enable-maintainer-mode was given.
3865 if test "${enable_maintainer_mode+set}" = set; then :
3866 enableval=$enable_maintainer_mode;
3869 # Check whether --enable-werror was given.
3870 if test "${enable_werror+set}" = set; then :
3871 enableval=$enable_werror;
3876 # Check whether --with-alsa was given.
3877 if test "${with_alsa+set}" = set; then :
3878 withval=$with_alsa;
3882 # Check whether --with-capi was given.
3883 if test "${with_capi+set}" = set; then :
3884 withval=$with_capi;
3888 # Check whether --with-cms was given.
3889 if test "${with_cms+set}" = set; then :
3890 withval=$with_cms;
3894 # Check whether --with-coreaudio was given.
3895 if test "${with_coreaudio+set}" = set; then :
3896 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3900 # Check whether --with-cups was given.
3901 if test "${with_cups+set}" = set; then :
3902 withval=$with_cups;
3906 # Check whether --with-curses was given.
3907 if test "${with_curses+set}" = set; then :
3908 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3912 # Check whether --with-dbus was given.
3913 if test "${with_dbus+set}" = set; then :
3914 withval=$with_dbus;
3918 # Check whether --with-faudio was given.
3919 if test "${with_faudio+set}" = set; then :
3920 withval=$with_faudio;
3924 # Check whether --with-float-abi was given.
3925 if test "${with_float_abi+set}" = set; then :
3926 withval=$with_float_abi;
3930 # Check whether --with-fontconfig was given.
3931 if test "${with_fontconfig+set}" = set; then :
3932 withval=$with_fontconfig;
3936 # Check whether --with-freetype was given.
3937 if test "${with_freetype+set}" = set; then :
3938 withval=$with_freetype;
3942 # Check whether --with-gettext was given.
3943 if test "${with_gettext+set}" = set; then :
3944 withval=$with_gettext;
3948 # Check whether --with-gettextpo was given.
3949 if test "${with_gettextpo+set}" = set; then :
3950 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3954 # Check whether --with-gphoto was given.
3955 if test "${with_gphoto+set}" = set; then :
3956 withval=$with_gphoto;
3960 # Check whether --with-glu was given.
3961 if test "${with_glu+set}" = set; then :
3962 withval=$with_glu;
3966 # Check whether --with-gnutls was given.
3967 if test "${with_gnutls+set}" = set; then :
3968 withval=$with_gnutls;
3972 # Check whether --with-gsm was given.
3973 if test "${with_gsm+set}" = set; then :
3974 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3978 # Check whether --with-gssapi was given.
3979 if test "${with_gssapi+set}" = set; then :
3980 withval=$with_gssapi;
3984 # Check whether --with-gstreamer was given.
3985 if test "${with_gstreamer+set}" = set; then :
3986 withval=$with_gstreamer;
3990 # Check whether --with-hal was given.
3991 if test "${with_hal+set}" = set; then :
3992 withval=$with_hal;
3996 # Check whether --with-inotify was given.
3997 if test "${with_inotify+set}" = set; then :
3998 withval=$with_inotify;
4002 # Check whether --with-jpeg was given.
4003 if test "${with_jpeg+set}" = set; then :
4004 withval=$with_jpeg;
4008 # Check whether --with-krb5 was given.
4009 if test "${with_krb5+set}" = set; then :
4010 withval=$with_krb5;
4014 # Check whether --with-ldap was given.
4015 if test "${with_ldap+set}" = set; then :
4016 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4020 # Check whether --with-mingw was given.
4021 if test "${with_mingw+set}" = set; then :
4022 withval=$with_mingw;
4026 # Check whether --with-mpg123 was given.
4027 if test "${with_mpg123+set}" = set; then :
4028 withval=$with_mpg123;
4032 # Check whether --with-netapi was given.
4033 if test "${with_netapi+set}" = set; then :
4034 withval=$with_netapi;
4038 # Check whether --with-openal was given.
4039 if test "${with_openal+set}" = set; then :
4040 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4044 # Check whether --with-opencl was given.
4045 if test "${with_opencl+set}" = set; then :
4046 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4050 # Check whether --with-opengl was given.
4051 if test "${with_opengl+set}" = set; then :
4052 withval=$with_opengl;
4056 # Check whether --with-osmesa was given.
4057 if test "${with_osmesa+set}" = set; then :
4058 withval=$with_osmesa;
4062 # Check whether --with-oss was given.
4063 if test "${with_oss+set}" = set; then :
4064 withval=$with_oss;
4068 # Check whether --with-pcap was given.
4069 if test "${with_pcap+set}" = set; then :
4070 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4074 # Check whether --with-png was given.
4075 if test "${with_png+set}" = set; then :
4076 withval=$with_png;
4080 # Check whether --with-pthread was given.
4081 if test "${with_pthread+set}" = set; then :
4082 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4086 # Check whether --with-pulse was given.
4087 if test "${with_pulse+set}" = set; then :
4088 withval=$with_pulse;
4092 # Check whether --with-sane was given.
4093 if test "${with_sane+set}" = set; then :
4094 withval=$with_sane;
4098 # Check whether --with-sdl was given.
4099 if test "${with_sdl+set}" = set; then :
4100 withval=$with_sdl;
4104 # Check whether --with-tiff was given.
4105 if test "${with_tiff+set}" = set; then :
4106 withval=$with_tiff;
4110 # Check whether --with-udev was given.
4111 if test "${with_udev+set}" = set; then :
4112 withval=$with_udev;
4116 # Check whether --with-unwind was given.
4117 if test "${with_unwind+set}" = set; then :
4118 withval=$with_unwind;
4122 # Check whether --with-usb was given.
4123 if test "${with_usb+set}" = set; then :
4124 withval=$with_usb;
4128 # Check whether --with-v4l2 was given.
4129 if test "${with_v4l2+set}" = set; then :
4130 withval=$with_v4l2;
4134 # Check whether --with-vkd3d was given.
4135 if test "${with_vkd3d+set}" = set; then :
4136 withval=$with_vkd3d;
4140 # Check whether --with-vulkan was given.
4141 if test "${with_vulkan+set}" = set; then :
4142 withval=$with_vulkan;
4146 # Check whether --with-xcomposite was given.
4147 if test "${with_xcomposite+set}" = set; then :
4148 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4152 # Check whether --with-xcursor was given.
4153 if test "${with_xcursor+set}" = set; then :
4154 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4158 # Check whether --with-xfixes was given.
4159 if test "${with_xfixes+set}" = set; then :
4160 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4164 # Check whether --with-xinerama was given.
4165 if test "${with_xinerama+set}" = set; then :
4166 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4170 # Check whether --with-xinput was given.
4171 if test "${with_xinput+set}" = set; then :
4172 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4176 # Check whether --with-xinput2 was given.
4177 if test "${with_xinput2+set}" = set; then :
4178 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4182 # Check whether --with-xml was given.
4183 if test "${with_xml+set}" = set; then :
4184 withval=$with_xml;
4188 # Check whether --with-xrandr was given.
4189 if test "${with_xrandr+set}" = set; then :
4190 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4194 # Check whether --with-xrender was given.
4195 if test "${with_xrender+set}" = set; then :
4196 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4200 # Check whether --with-xshape was given.
4201 if test "${with_xshape+set}" = set; then :
4202 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4206 # Check whether --with-xshm was given.
4207 if test "${with_xshm+set}" = set; then :
4208 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4212 # Check whether --with-xslt was given.
4213 if test "${with_xslt+set}" = set; then :
4214 withval=$with_xslt;
4218 # Check whether --with-xxf86vm was given.
4219 if test "${with_xxf86vm+set}" = set; then :
4220 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
4225 # Check whether --with-wine-tools was given.
4226 if test "${with_wine_tools+set}" = set; then :
4227 withval=$with_wine_tools;
4231 # Check whether --with-wine64 was given.
4232 if test "${with_wine64+set}" = set; then :
4233 withval=$with_wine64;
4237 # Make sure we can run config.sub.
4238 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4239 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4242 $as_echo_n "checking build system type... " >&6; }
4243 if ${ac_cv_build+:} false; then :
4244 $as_echo_n "(cached) " >&6
4245 else
4246 ac_build_alias=$build_alias
4247 test "x$ac_build_alias" = x &&
4248 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4249 test "x$ac_build_alias" = x &&
4250 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4251 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4252 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4256 $as_echo "$ac_cv_build" >&6; }
4257 case $ac_cv_build in
4258 *-*-*) ;;
4259 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4260 esac
4261 build=$ac_cv_build
4262 ac_save_IFS=$IFS; IFS='-'
4263 set x $ac_cv_build
4264 shift
4265 build_cpu=$1
4266 build_vendor=$2
4267 shift; shift
4268 # Remember, the first character of IFS is used to create $*,
4269 # except with old shells:
4270 build_os=$*
4271 IFS=$ac_save_IFS
4272 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4276 $as_echo_n "checking host system type... " >&6; }
4277 if ${ac_cv_host+:} false; then :
4278 $as_echo_n "(cached) " >&6
4279 else
4280 if test "x$host_alias" = x; then
4281 ac_cv_host=$ac_cv_build
4282 else
4283 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4284 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4289 $as_echo "$ac_cv_host" >&6; }
4290 case $ac_cv_host in
4291 *-*-*) ;;
4292 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4293 esac
4294 host=$ac_cv_host
4295 ac_save_IFS=$IFS; IFS='-'
4296 set x $ac_cv_host
4297 shift
4298 host_cpu=$1
4299 host_vendor=$2
4300 shift; shift
4301 # Remember, the first character of IFS is used to create $*,
4302 # except with old shells:
4303 host_os=$*
4304 IFS=$ac_save_IFS
4305 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4311 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4312 set x ${MAKE-make}
4313 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4314 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4315 $as_echo_n "(cached) " >&6
4316 else
4317 cat >conftest.make <<\_ACEOF
4318 SHELL = /bin/sh
4319 all:
4320 @echo '@@@%%%=$(MAKE)=@@@%%%'
4321 _ACEOF
4322 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4323 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4324 *@@@%%%=?*=@@@%%%*)
4325 eval ac_cv_prog_make_${ac_make}_set=yes;;
4327 eval ac_cv_prog_make_${ac_make}_set=no;;
4328 esac
4329 rm -f conftest.make
4331 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4333 $as_echo "yes" >&6; }
4334 SET_MAKE=
4335 else
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4337 $as_echo "no" >&6; }
4338 SET_MAKE="MAKE=${MAKE-make}"
4341 ac_ext=c
4342 ac_cpp='$CPP $CPPFLAGS'
4343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4346 if test -n "$ac_tool_prefix"; then
4347 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4348 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4350 $as_echo_n "checking for $ac_word... " >&6; }
4351 if ${ac_cv_prog_CC+:} false; then :
4352 $as_echo_n "(cached) " >&6
4353 else
4354 if test -n "$CC"; then
4355 ac_cv_prog_CC="$CC" # Let the user override the test.
4356 else
4357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4358 for as_dir in $PATH
4360 IFS=$as_save_IFS
4361 test -z "$as_dir" && as_dir=.
4362 for ac_exec_ext in '' $ac_executable_extensions; do
4363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4364 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4366 break 2
4368 done
4369 done
4370 IFS=$as_save_IFS
4374 CC=$ac_cv_prog_CC
4375 if test -n "$CC"; then
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4377 $as_echo "$CC" >&6; }
4378 else
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4380 $as_echo "no" >&6; }
4385 if test -z "$ac_cv_prog_CC"; then
4386 ac_ct_CC=$CC
4387 # Extract the first word of "gcc", so it can be a program name with args.
4388 set dummy gcc; ac_word=$2
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4390 $as_echo_n "checking for $ac_word... " >&6; }
4391 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4392 $as_echo_n "(cached) " >&6
4393 else
4394 if test -n "$ac_ct_CC"; then
4395 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4396 else
4397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398 for as_dir in $PATH
4400 IFS=$as_save_IFS
4401 test -z "$as_dir" && as_dir=.
4402 for ac_exec_ext in '' $ac_executable_extensions; do
4403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4404 ac_cv_prog_ac_ct_CC="gcc"
4405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4406 break 2
4408 done
4409 done
4410 IFS=$as_save_IFS
4414 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4415 if test -n "$ac_ct_CC"; then
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4417 $as_echo "$ac_ct_CC" >&6; }
4418 else
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4420 $as_echo "no" >&6; }
4423 if test "x$ac_ct_CC" = x; then
4424 CC=""
4425 else
4426 case $cross_compiling:$ac_tool_warned in
4427 yes:)
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4430 ac_tool_warned=yes ;;
4431 esac
4432 CC=$ac_ct_CC
4434 else
4435 CC="$ac_cv_prog_CC"
4438 if test -z "$CC"; then
4439 if test -n "$ac_tool_prefix"; then
4440 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4441 set dummy ${ac_tool_prefix}cc; ac_word=$2
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4443 $as_echo_n "checking for $ac_word... " >&6; }
4444 if ${ac_cv_prog_CC+:} false; then :
4445 $as_echo_n "(cached) " >&6
4446 else
4447 if test -n "$CC"; then
4448 ac_cv_prog_CC="$CC" # Let the user override the test.
4449 else
4450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451 for as_dir in $PATH
4453 IFS=$as_save_IFS
4454 test -z "$as_dir" && as_dir=.
4455 for ac_exec_ext in '' $ac_executable_extensions; do
4456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4457 ac_cv_prog_CC="${ac_tool_prefix}cc"
4458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4459 break 2
4461 done
4462 done
4463 IFS=$as_save_IFS
4467 CC=$ac_cv_prog_CC
4468 if test -n "$CC"; then
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4470 $as_echo "$CC" >&6; }
4471 else
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473 $as_echo "no" >&6; }
4479 if test -z "$CC"; then
4480 # Extract the first word of "cc", so it can be a program name with args.
4481 set dummy cc; ac_word=$2
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4483 $as_echo_n "checking for $ac_word... " >&6; }
4484 if ${ac_cv_prog_CC+:} false; then :
4485 $as_echo_n "(cached) " >&6
4486 else
4487 if test -n "$CC"; then
4488 ac_cv_prog_CC="$CC" # Let the user override the test.
4489 else
4490 ac_prog_rejected=no
4491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4492 for as_dir in $PATH
4494 IFS=$as_save_IFS
4495 test -z "$as_dir" && as_dir=.
4496 for ac_exec_ext in '' $ac_executable_extensions; do
4497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4498 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4499 ac_prog_rejected=yes
4500 continue
4502 ac_cv_prog_CC="cc"
4503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4504 break 2
4506 done
4507 done
4508 IFS=$as_save_IFS
4510 if test $ac_prog_rejected = yes; then
4511 # We found a bogon in the path, so make sure we never use it.
4512 set dummy $ac_cv_prog_CC
4513 shift
4514 if test $# != 0; then
4515 # We chose a different compiler from the bogus one.
4516 # However, it has the same basename, so the bogon will be chosen
4517 # first if we set CC to just the basename; use the full file name.
4518 shift
4519 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4524 CC=$ac_cv_prog_CC
4525 if test -n "$CC"; then
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4527 $as_echo "$CC" >&6; }
4528 else
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4530 $as_echo "no" >&6; }
4535 if test -z "$CC"; then
4536 if test -n "$ac_tool_prefix"; then
4537 for ac_prog in cl.exe
4539 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4540 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4542 $as_echo_n "checking for $ac_word... " >&6; }
4543 if ${ac_cv_prog_CC+:} false; then :
4544 $as_echo_n "(cached) " >&6
4545 else
4546 if test -n "$CC"; then
4547 ac_cv_prog_CC="$CC" # Let the user override the test.
4548 else
4549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4550 for as_dir in $PATH
4552 IFS=$as_save_IFS
4553 test -z "$as_dir" && as_dir=.
4554 for ac_exec_ext in '' $ac_executable_extensions; do
4555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4556 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4558 break 2
4560 done
4561 done
4562 IFS=$as_save_IFS
4566 CC=$ac_cv_prog_CC
4567 if test -n "$CC"; then
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4569 $as_echo "$CC" >&6; }
4570 else
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572 $as_echo "no" >&6; }
4576 test -n "$CC" && break
4577 done
4579 if test -z "$CC"; then
4580 ac_ct_CC=$CC
4581 for ac_prog in cl.exe
4583 # Extract the first word of "$ac_prog", so it can be a program name with args.
4584 set dummy $ac_prog; ac_word=$2
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4586 $as_echo_n "checking for $ac_word... " >&6; }
4587 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4588 $as_echo_n "(cached) " >&6
4589 else
4590 if test -n "$ac_ct_CC"; then
4591 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4592 else
4593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4594 for as_dir in $PATH
4596 IFS=$as_save_IFS
4597 test -z "$as_dir" && as_dir=.
4598 for ac_exec_ext in '' $ac_executable_extensions; do
4599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4600 ac_cv_prog_ac_ct_CC="$ac_prog"
4601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4602 break 2
4604 done
4605 done
4606 IFS=$as_save_IFS
4610 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4611 if test -n "$ac_ct_CC"; then
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4613 $as_echo "$ac_ct_CC" >&6; }
4614 else
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4616 $as_echo "no" >&6; }
4620 test -n "$ac_ct_CC" && break
4621 done
4623 if test "x$ac_ct_CC" = x; then
4624 CC=""
4625 else
4626 case $cross_compiling:$ac_tool_warned in
4627 yes:)
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4630 ac_tool_warned=yes ;;
4631 esac
4632 CC=$ac_ct_CC
4639 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4641 as_fn_error $? "no acceptable C compiler found in \$PATH
4642 See \`config.log' for more details" "$LINENO" 5; }
4644 # Provide some information about the compiler.
4645 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4646 set X $ac_compile
4647 ac_compiler=$2
4648 for ac_option in --version -v -V -qversion; do
4649 { { ac_try="$ac_compiler $ac_option >&5"
4650 case "(($ac_try" in
4651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4652 *) ac_try_echo=$ac_try;;
4653 esac
4654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4655 $as_echo "$ac_try_echo"; } >&5
4656 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4657 ac_status=$?
4658 if test -s conftest.err; then
4659 sed '10a\
4660 ... rest of stderr output deleted ...
4661 10q' conftest.err >conftest.er1
4662 cat conftest.er1 >&5
4664 rm -f conftest.er1 conftest.err
4665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4666 test $ac_status = 0; }
4667 done
4669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h. */
4673 main ()
4677 return 0;
4679 _ACEOF
4680 ac_clean_files_save=$ac_clean_files
4681 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4682 # Try to create an executable without -o first, disregard a.out.
4683 # It will help us diagnose broken compilers, and finding out an intuition
4684 # of exeext.
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4686 $as_echo_n "checking whether the C compiler works... " >&6; }
4687 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4689 # The possible output files:
4690 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4692 ac_rmfiles=
4693 for ac_file in $ac_files
4695 case $ac_file in
4696 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4697 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4698 esac
4699 done
4700 rm -f $ac_rmfiles
4702 if { { ac_try="$ac_link_default"
4703 case "(($ac_try" in
4704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4705 *) ac_try_echo=$ac_try;;
4706 esac
4707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4708 $as_echo "$ac_try_echo"; } >&5
4709 (eval "$ac_link_default") 2>&5
4710 ac_status=$?
4711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4712 test $ac_status = 0; }; then :
4713 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4714 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4715 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4716 # so that the user can short-circuit this test for compilers unknown to
4717 # Autoconf.
4718 for ac_file in $ac_files ''
4720 test -f "$ac_file" || continue
4721 case $ac_file in
4722 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4724 [ab].out )
4725 # We found the default executable, but exeext='' is most
4726 # certainly right.
4727 break;;
4728 *.* )
4729 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4730 then :; else
4731 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4733 # We set ac_cv_exeext here because the later test for it is not
4734 # safe: cross compilers may not add the suffix if given an `-o'
4735 # argument, so we may need to know it at that point already.
4736 # Even if this section looks crufty: it has the advantage of
4737 # actually working.
4738 break;;
4740 break;;
4741 esac
4742 done
4743 test "$ac_cv_exeext" = no && ac_cv_exeext=
4745 else
4746 ac_file=''
4748 if test -z "$ac_file"; then :
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750 $as_echo "no" >&6; }
4751 $as_echo "$as_me: failed program was:" >&5
4752 sed 's/^/| /' conftest.$ac_ext >&5
4754 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4756 as_fn_error 77 "C compiler cannot create executables
4757 See \`config.log' for more details" "$LINENO" 5; }
4758 else
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4760 $as_echo "yes" >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4763 $as_echo_n "checking for C compiler default output file name... " >&6; }
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4765 $as_echo "$ac_file" >&6; }
4766 ac_exeext=$ac_cv_exeext
4768 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4769 ac_clean_files=$ac_clean_files_save
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4771 $as_echo_n "checking for suffix of executables... " >&6; }
4772 if { { ac_try="$ac_link"
4773 case "(($ac_try" in
4774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4775 *) ac_try_echo=$ac_try;;
4776 esac
4777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4778 $as_echo "$ac_try_echo"; } >&5
4779 (eval "$ac_link") 2>&5
4780 ac_status=$?
4781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4782 test $ac_status = 0; }; then :
4783 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4784 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4785 # work properly (i.e., refer to `conftest.exe'), while it won't with
4786 # `rm'.
4787 for ac_file in conftest.exe conftest conftest.*; do
4788 test -f "$ac_file" || continue
4789 case $ac_file in
4790 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4791 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4792 break;;
4793 * ) break;;
4794 esac
4795 done
4796 else
4797 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4799 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4800 See \`config.log' for more details" "$LINENO" 5; }
4802 rm -f conftest conftest$ac_cv_exeext
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4804 $as_echo "$ac_cv_exeext" >&6; }
4806 rm -f conftest.$ac_ext
4807 EXEEXT=$ac_cv_exeext
4808 ac_exeext=$EXEEXT
4809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4810 /* end confdefs.h. */
4811 #include <stdio.h>
4813 main ()
4815 FILE *f = fopen ("conftest.out", "w");
4816 return ferror (f) || fclose (f) != 0;
4819 return 0;
4821 _ACEOF
4822 ac_clean_files="$ac_clean_files conftest.out"
4823 # Check that the compiler produces executables we can run. If not, either
4824 # the compiler is broken, or we cross compile.
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4826 $as_echo_n "checking whether we are cross compiling... " >&6; }
4827 if test "$cross_compiling" != yes; then
4828 { { ac_try="$ac_link"
4829 case "(($ac_try" in
4830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4831 *) ac_try_echo=$ac_try;;
4832 esac
4833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4834 $as_echo "$ac_try_echo"; } >&5
4835 (eval "$ac_link") 2>&5
4836 ac_status=$?
4837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4838 test $ac_status = 0; }
4839 if { ac_try='./conftest$ac_cv_exeext'
4840 { { case "(($ac_try" in
4841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4842 *) ac_try_echo=$ac_try;;
4843 esac
4844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4845 $as_echo "$ac_try_echo"; } >&5
4846 (eval "$ac_try") 2>&5
4847 ac_status=$?
4848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4849 test $ac_status = 0; }; }; then
4850 cross_compiling=no
4851 else
4852 if test "$cross_compiling" = maybe; then
4853 cross_compiling=yes
4854 else
4855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4857 as_fn_error $? "cannot run C compiled programs.
4858 If you meant to cross compile, use \`--host'.
4859 See \`config.log' for more details" "$LINENO" 5; }
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4864 $as_echo "$cross_compiling" >&6; }
4866 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4867 ac_clean_files=$ac_clean_files_save
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4869 $as_echo_n "checking for suffix of object files... " >&6; }
4870 if ${ac_cv_objext+:} false; then :
4871 $as_echo_n "(cached) " >&6
4872 else
4873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4874 /* end confdefs.h. */
4877 main ()
4881 return 0;
4883 _ACEOF
4884 rm -f conftest.o conftest.obj
4885 if { { ac_try="$ac_compile"
4886 case "(($ac_try" in
4887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4888 *) ac_try_echo=$ac_try;;
4889 esac
4890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4891 $as_echo "$ac_try_echo"; } >&5
4892 (eval "$ac_compile") 2>&5
4893 ac_status=$?
4894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4895 test $ac_status = 0; }; then :
4896 for ac_file in conftest.o conftest.obj conftest.*; do
4897 test -f "$ac_file" || continue;
4898 case $ac_file in
4899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4900 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4901 break;;
4902 esac
4903 done
4904 else
4905 $as_echo "$as_me: failed program was:" >&5
4906 sed 's/^/| /' conftest.$ac_ext >&5
4908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4910 as_fn_error $? "cannot compute suffix of object files: cannot compile
4911 See \`config.log' for more details" "$LINENO" 5; }
4913 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4916 $as_echo "$ac_cv_objext" >&6; }
4917 OBJEXT=$ac_cv_objext
4918 ac_objext=$OBJEXT
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4920 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4921 if ${ac_cv_c_compiler_gnu+:} false; then :
4922 $as_echo_n "(cached) " >&6
4923 else
4924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4925 /* end confdefs.h. */
4928 main ()
4930 #ifndef __GNUC__
4931 choke me
4932 #endif
4935 return 0;
4937 _ACEOF
4938 if ac_fn_c_try_compile "$LINENO"; then :
4939 ac_compiler_gnu=yes
4940 else
4941 ac_compiler_gnu=no
4943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4944 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4948 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4949 if test $ac_compiler_gnu = yes; then
4950 GCC=yes
4951 else
4952 GCC=
4954 ac_test_CFLAGS=${CFLAGS+set}
4955 ac_save_CFLAGS=$CFLAGS
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4957 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4958 if ${ac_cv_prog_cc_g+:} false; then :
4959 $as_echo_n "(cached) " >&6
4960 else
4961 ac_save_c_werror_flag=$ac_c_werror_flag
4962 ac_c_werror_flag=yes
4963 ac_cv_prog_cc_g=no
4964 CFLAGS="-g"
4965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4966 /* end confdefs.h. */
4969 main ()
4973 return 0;
4975 _ACEOF
4976 if ac_fn_c_try_compile "$LINENO"; then :
4977 ac_cv_prog_cc_g=yes
4978 else
4979 CFLAGS=""
4980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4981 /* end confdefs.h. */
4984 main ()
4988 return 0;
4990 _ACEOF
4991 if ac_fn_c_try_compile "$LINENO"; then :
4993 else
4994 ac_c_werror_flag=$ac_save_c_werror_flag
4995 CFLAGS="-g"
4996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4997 /* end confdefs.h. */
5000 main ()
5004 return 0;
5006 _ACEOF
5007 if ac_fn_c_try_compile "$LINENO"; then :
5008 ac_cv_prog_cc_g=yes
5010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5015 ac_c_werror_flag=$ac_save_c_werror_flag
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5018 $as_echo "$ac_cv_prog_cc_g" >&6; }
5019 if test "$ac_test_CFLAGS" = set; then
5020 CFLAGS=$ac_save_CFLAGS
5021 elif test $ac_cv_prog_cc_g = yes; then
5022 if test "$GCC" = yes; then
5023 CFLAGS="-g -O2"
5024 else
5025 CFLAGS="-g"
5027 else
5028 if test "$GCC" = yes; then
5029 CFLAGS="-O2"
5030 else
5031 CFLAGS=
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5035 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5036 if ${ac_cv_prog_cc_c89+:} false; then :
5037 $as_echo_n "(cached) " >&6
5038 else
5039 ac_cv_prog_cc_c89=no
5040 ac_save_CC=$CC
5041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5042 /* end confdefs.h. */
5043 #include <stdarg.h>
5044 #include <stdio.h>
5045 struct stat;
5046 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5047 struct buf { int x; };
5048 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5049 static char *e (p, i)
5050 char **p;
5051 int i;
5053 return p[i];
5055 static char *f (char * (*g) (char **, int), char **p, ...)
5057 char *s;
5058 va_list v;
5059 va_start (v,p);
5060 s = g (p, va_arg (v,int));
5061 va_end (v);
5062 return s;
5065 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5066 function prototypes and stuff, but not '\xHH' hex character constants.
5067 These don't provoke an error unfortunately, instead are silently treated
5068 as 'x'. The following induces an error, until -std is added to get
5069 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5070 array size at least. It's necessary to write '\x00'==0 to get something
5071 that's true only with -std. */
5072 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5074 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5075 inside strings and character constants. */
5076 #define FOO(x) 'x'
5077 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5079 int test (int i, double x);
5080 struct s1 {int (*f) (int a);};
5081 struct s2 {int (*f) (double a);};
5082 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5083 int argc;
5084 char **argv;
5086 main ()
5088 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5090 return 0;
5092 _ACEOF
5093 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5094 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5096 CC="$ac_save_CC $ac_arg"
5097 if ac_fn_c_try_compile "$LINENO"; then :
5098 ac_cv_prog_cc_c89=$ac_arg
5100 rm -f core conftest.err conftest.$ac_objext
5101 test "x$ac_cv_prog_cc_c89" != "xno" && break
5102 done
5103 rm -f conftest.$ac_ext
5104 CC=$ac_save_CC
5107 # AC_CACHE_VAL
5108 case "x$ac_cv_prog_cc_c89" in
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5111 $as_echo "none needed" >&6; } ;;
5112 xno)
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5114 $as_echo "unsupported" >&6; } ;;
5116 CC="$CC $ac_cv_prog_cc_c89"
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5118 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5119 esac
5120 if test "x$ac_cv_prog_cc_c89" != xno; then :
5124 ac_ext=c
5125 ac_cpp='$CPP $CPPFLAGS'
5126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5130 ac_ext=cpp
5131 ac_cpp='$CXXCPP $CPPFLAGS'
5132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5135 if test -z "$CXX"; then
5136 if test -n "$CCC"; then
5137 CXX=$CCC
5138 else
5139 if test -n "$ac_tool_prefix"; then
5140 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5143 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5145 $as_echo_n "checking for $ac_word... " >&6; }
5146 if ${ac_cv_prog_CXX+:} false; then :
5147 $as_echo_n "(cached) " >&6
5148 else
5149 if test -n "$CXX"; then
5150 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5151 else
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 for as_dir in $PATH
5155 IFS=$as_save_IFS
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5159 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5161 break 2
5163 done
5164 done
5165 IFS=$as_save_IFS
5169 CXX=$ac_cv_prog_CXX
5170 if test -n "$CXX"; then
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5172 $as_echo "$CXX" >&6; }
5173 else
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 $as_echo "no" >&6; }
5179 test -n "$CXX" && break
5180 done
5182 if test -z "$CXX"; then
5183 ac_ct_CXX=$CXX
5184 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5186 # Extract the first word of "$ac_prog", so it can be a program name with args.
5187 set dummy $ac_prog; ac_word=$2
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5189 $as_echo_n "checking for $ac_word... " >&6; }
5190 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5191 $as_echo_n "(cached) " >&6
5192 else
5193 if test -n "$ac_ct_CXX"; then
5194 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5195 else
5196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5197 for as_dir in $PATH
5199 IFS=$as_save_IFS
5200 test -z "$as_dir" && as_dir=.
5201 for ac_exec_ext in '' $ac_executable_extensions; do
5202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5203 ac_cv_prog_ac_ct_CXX="$ac_prog"
5204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 break 2
5207 done
5208 done
5209 IFS=$as_save_IFS
5213 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5214 if test -n "$ac_ct_CXX"; then
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5216 $as_echo "$ac_ct_CXX" >&6; }
5217 else
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5219 $as_echo "no" >&6; }
5223 test -n "$ac_ct_CXX" && break
5224 done
5226 if test "x$ac_ct_CXX" = x; then
5227 CXX="g++"
5228 else
5229 case $cross_compiling:$ac_tool_warned in
5230 yes:)
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5233 ac_tool_warned=yes ;;
5234 esac
5235 CXX=$ac_ct_CXX
5241 # Provide some information about the compiler.
5242 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5243 set X $ac_compile
5244 ac_compiler=$2
5245 for ac_option in --version -v -V -qversion; do
5246 { { ac_try="$ac_compiler $ac_option >&5"
5247 case "(($ac_try" in
5248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5249 *) ac_try_echo=$ac_try;;
5250 esac
5251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5252 $as_echo "$ac_try_echo"; } >&5
5253 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5254 ac_status=$?
5255 if test -s conftest.err; then
5256 sed '10a\
5257 ... rest of stderr output deleted ...
5258 10q' conftest.err >conftest.er1
5259 cat conftest.er1 >&5
5261 rm -f conftest.er1 conftest.err
5262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5263 test $ac_status = 0; }
5264 done
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5267 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5268 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5269 $as_echo_n "(cached) " >&6
5270 else
5271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5272 /* end confdefs.h. */
5275 main ()
5277 #ifndef __GNUC__
5278 choke me
5279 #endif
5282 return 0;
5284 _ACEOF
5285 if ac_fn_cxx_try_compile "$LINENO"; then :
5286 ac_compiler_gnu=yes
5287 else
5288 ac_compiler_gnu=no
5290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5291 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5295 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5296 if test $ac_compiler_gnu = yes; then
5297 GXX=yes
5298 else
5299 GXX=
5301 ac_test_CXXFLAGS=${CXXFLAGS+set}
5302 ac_save_CXXFLAGS=$CXXFLAGS
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5304 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5305 if ${ac_cv_prog_cxx_g+:} false; then :
5306 $as_echo_n "(cached) " >&6
5307 else
5308 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5309 ac_cxx_werror_flag=yes
5310 ac_cv_prog_cxx_g=no
5311 CXXFLAGS="-g"
5312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5313 /* end confdefs.h. */
5316 main ()
5320 return 0;
5322 _ACEOF
5323 if ac_fn_cxx_try_compile "$LINENO"; then :
5324 ac_cv_prog_cxx_g=yes
5325 else
5326 CXXFLAGS=""
5327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5331 main ()
5335 return 0;
5337 _ACEOF
5338 if ac_fn_cxx_try_compile "$LINENO"; then :
5340 else
5341 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5342 CXXFLAGS="-g"
5343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5344 /* end confdefs.h. */
5347 main ()
5351 return 0;
5353 _ACEOF
5354 if ac_fn_cxx_try_compile "$LINENO"; then :
5355 ac_cv_prog_cxx_g=yes
5357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5362 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5365 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5366 if test "$ac_test_CXXFLAGS" = set; then
5367 CXXFLAGS=$ac_save_CXXFLAGS
5368 elif test $ac_cv_prog_cxx_g = yes; then
5369 if test "$GXX" = yes; then
5370 CXXFLAGS="-g -O2"
5371 else
5372 CXXFLAGS="-g"
5374 else
5375 if test "$GXX" = yes; then
5376 CXXFLAGS="-O2"
5377 else
5378 CXXFLAGS=
5381 ac_ext=c
5382 ac_cpp='$CPP $CPPFLAGS'
5383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5387 if test -n "$ac_tool_prefix"; then
5388 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5389 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391 $as_echo_n "checking for $ac_word... " >&6; }
5392 if ${ac_cv_prog_CPPBIN+:} false; then :
5393 $as_echo_n "(cached) " >&6
5394 else
5395 if test -n "$CPPBIN"; then
5396 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5397 else
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5399 for as_dir in $PATH
5401 IFS=$as_save_IFS
5402 test -z "$as_dir" && as_dir=.
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5405 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5407 break 2
5409 done
5410 done
5411 IFS=$as_save_IFS
5415 CPPBIN=$ac_cv_prog_CPPBIN
5416 if test -n "$CPPBIN"; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5418 $as_echo "$CPPBIN" >&6; }
5419 else
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5426 if test -z "$ac_cv_prog_CPPBIN"; then
5427 ac_ct_CPPBIN=$CPPBIN
5428 # Extract the first word of "cpp", so it can be a program name with args.
5429 set dummy cpp; ac_word=$2
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5431 $as_echo_n "checking for $ac_word... " >&6; }
5432 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5433 $as_echo_n "(cached) " >&6
5434 else
5435 if test -n "$ac_ct_CPPBIN"; then
5436 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5437 else
5438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439 for as_dir in $PATH
5441 IFS=$as_save_IFS
5442 test -z "$as_dir" && as_dir=.
5443 for ac_exec_ext in '' $ac_executable_extensions; do
5444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5445 ac_cv_prog_ac_ct_CPPBIN="cpp"
5446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5447 break 2
5449 done
5450 done
5451 IFS=$as_save_IFS
5455 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5456 if test -n "$ac_ct_CPPBIN"; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5458 $as_echo "$ac_ct_CPPBIN" >&6; }
5459 else
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5461 $as_echo "no" >&6; }
5464 if test "x$ac_ct_CPPBIN" = x; then
5465 CPPBIN="cpp"
5466 else
5467 case $cross_compiling:$ac_tool_warned in
5468 yes:)
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5471 ac_tool_warned=yes ;;
5472 esac
5473 CPPBIN=$ac_ct_CPPBIN
5475 else
5476 CPPBIN="$ac_cv_prog_CPPBIN"
5480 cat >>confdefs.h <<_ACEOF
5481 #define EXEEXT "$ac_exeext"
5482 _ACEOF
5484 if test -n "$ac_tool_prefix"; then
5485 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5486 set dummy ${ac_tool_prefix}ld; ac_word=$2
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5488 $as_echo_n "checking for $ac_word... " >&6; }
5489 if ${ac_cv_prog_LD+:} false; then :
5490 $as_echo_n "(cached) " >&6
5491 else
5492 if test -n "$LD"; then
5493 ac_cv_prog_LD="$LD" # Let the user override the test.
5494 else
5495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5496 for as_dir in $PATH
5498 IFS=$as_save_IFS
5499 test -z "$as_dir" && as_dir=.
5500 for ac_exec_ext in '' $ac_executable_extensions; do
5501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5502 ac_cv_prog_LD="${ac_tool_prefix}ld"
5503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5504 break 2
5506 done
5507 done
5508 IFS=$as_save_IFS
5512 LD=$ac_cv_prog_LD
5513 if test -n "$LD"; then
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5515 $as_echo "$LD" >&6; }
5516 else
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5518 $as_echo "no" >&6; }
5523 if test -z "$ac_cv_prog_LD"; then
5524 ac_ct_LD=$LD
5525 # Extract the first word of "ld", so it can be a program name with args.
5526 set dummy ld; ac_word=$2
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5528 $as_echo_n "checking for $ac_word... " >&6; }
5529 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5530 $as_echo_n "(cached) " >&6
5531 else
5532 if test -n "$ac_ct_LD"; then
5533 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5534 else
5535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5536 for as_dir in $PATH
5538 IFS=$as_save_IFS
5539 test -z "$as_dir" && as_dir=.
5540 for ac_exec_ext in '' $ac_executable_extensions; do
5541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5542 ac_cv_prog_ac_ct_LD="ld"
5543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5544 break 2
5546 done
5547 done
5548 IFS=$as_save_IFS
5552 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5553 if test -n "$ac_ct_LD"; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5555 $as_echo "$ac_ct_LD" >&6; }
5556 else
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5558 $as_echo "no" >&6; }
5561 if test "x$ac_ct_LD" = x; then
5562 LD=""
5563 else
5564 case $cross_compiling:$ac_tool_warned in
5565 yes:)
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5568 ac_tool_warned=yes ;;
5569 esac
5570 LD=$ac_ct_LD
5572 else
5573 LD="$ac_cv_prog_LD"
5577 case $host in
5578 *-darwin*)
5579 with_fontconfig=${with_fontconfig:-no}
5581 *-mingw32*|*-cygwin*)
5582 enable_win16=${enable_win16:-no}
5583 with_mingw=${with_mingw:-no}
5584 CFLAGS="$CFLAGS -D_WIN32"
5586 esac
5588 case $host in
5589 x86_64*|amd64*)
5590 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5591 then
5592 CC="$CC -m32"
5593 CXX="$CXX -m32"
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5596 $as_echo_n "checking whether $CC works... " >&6; }
5597 if ${wine_cv_cc_m32+:} false; then :
5598 $as_echo_n "(cached) " >&6
5599 else
5600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5601 /* end confdefs.h. */
5604 main ()
5608 return 0;
5610 _ACEOF
5611 if ac_fn_c_try_link "$LINENO"; then :
5612 wine_cv_cc_m32=yes
5613 else
5614 wine_cv_cc_m32=no
5616 rm -f core conftest.err conftest.$ac_objext \
5617 conftest$ac_exeext conftest.$ac_ext
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5620 $as_echo "$wine_cv_cc_m32" >&6; }
5621 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
5622 host_cpu="i386"
5623 notice_platform="32-bit "
5624 TARGETFLAGS="-m32"
5626 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5627 export PKG_CONFIG_PATH
5628 enable_win16=${enable_win16:-yes}
5629 with_unwind=${with_unwind:-no}
5630 else
5631 if test "x${GCC}" = "xyes"
5632 then
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5634 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5635 if ${wine_cv_builtin_ms_va_list+:} false; then :
5636 $as_echo_n "(cached) " >&6
5637 else
5638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5639 /* end confdefs.h. */
5640 #include <stdarg.h>
5642 main ()
5644 void func(__builtin_ms_va_list *args);
5646 return 0;
5648 _ACEOF
5649 if ac_fn_c_try_compile "$LINENO"; then :
5650 wine_cv_builtin_ms_va_list=yes
5651 else
5652 wine_cv_builtin_ms_va_list=no
5654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5657 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5658 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
5660 CC="$CC -m64"
5661 CXX="$CXX -m64"
5662 host_cpu="x86_64"
5663 notice_platform="64-bit "
5664 TARGETFLAGS="-m64"
5668 arm*)
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5670 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5671 if ${wine_cv_thumb+:} false; then :
5672 $as_echo_n "(cached) " >&6
5673 else
5674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5675 /* end confdefs.h. */
5676 int ac_test(int i) { return i; }
5678 main ()
5680 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5682 return 0;
5684 _ACEOF
5685 if ac_fn_c_try_link "$LINENO"; then :
5686 wine_cv_thumb=yes
5687 else
5688 wine_cv_thumb=no
5690 rm -f core conftest.err conftest.$ac_objext \
5691 conftest$ac_exeext conftest.$ac_ext
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5694 $as_echo "$wine_cv_thumb" >&6; }
5695 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5696 case $with_float_abi in
5697 soft|softfp|hard)
5698 float_abi=$with_float_abi ;;
5700 case $host_os in
5701 *eabihf)
5702 float_abi=hard ;;
5704 float_abi=softfp
5705 saved_CFLAGS=$CFLAGS
5706 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5708 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5709 if ${wine_cv_float_abi+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5716 main ()
5718 asm("vmrs r2,fpscr");
5720 return 0;
5722 _ACEOF
5723 if ac_fn_c_try_link "$LINENO"; then :
5724 wine_cv_float_abi=yes
5725 else
5726 wine_cv_float_abi=no
5728 rm -f core conftest.err conftest.$ac_objext \
5729 conftest$ac_exeext conftest.$ac_ext
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5732 $as_echo "$wine_cv_float_abi" >&6; }
5733 if test $wine_cv_float_abi = no
5734 then
5735 float_abi=soft
5736 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5738 CFLAGS=$saved_CFLAGS
5739 esac
5741 esac
5742 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5743 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5746 aarch64*)
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5748 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5749 if ${wine_cv_builtin_ms_va_list+:} false; then :
5750 $as_echo_n "(cached) " >&6
5751 else
5752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5753 /* end confdefs.h. */
5754 #include <stdarg.h>
5756 main ()
5758 void func(__builtin_ms_va_list *args);
5760 return 0;
5762 _ACEOF
5763 if ac_fn_c_try_compile "$LINENO"; then :
5764 wine_cv_builtin_ms_va_list=yes
5765 else
5766 wine_cv_builtin_ms_va_list=no
5768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5771 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5772 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5774 i[3456789]86*)
5775 enable_win16=${enable_win16:-yes}
5776 with_unwind=${with_unwind:-no}
5778 esac
5780 enable_win16=${enable_win16:-no}
5781 enable_win64=${enable_win64:-no}
5783 enable_winetest=${enable_winetest:-$enable_tests}
5785 if test "x$enable_win64" = "xyes"
5786 then
5787 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5788 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5789 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5793 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5794 if ${wine_cv_toolsdir+:} false; then :
5795 $as_echo_n "(cached) " >&6
5796 else
5797 wine_cv_toolsdir="$with_wine_tools"
5798 if test -z "$with_wine_tools"; then
5799 if test "$cross_compiling" = "yes"; then
5800 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5801 elif test -n "$with_wine64"; then
5802 wine_cv_toolsdir="$with_wine64"
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5807 $as_echo "$wine_cv_toolsdir" >&6; }
5808 if test -z "$wine_cv_toolsdir"; then
5809 wine_makedep=tools/makedep
5810 TOOLSDIR="\$(top_builddir)"
5812 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5813 wine_makedep=$wine_cv_toolsdir/tools/makedep
5814 case "$wine_cv_toolsdir" in
5815 /*) TOOLSDIR=$wine_cv_toolsdir
5817 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5819 esac
5820 enable_tools=${enable_tools:-no}
5821 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5822 else
5823 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5825 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5826 then
5827 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5831 for ac_prog in flex
5833 # Extract the first word of "$ac_prog", so it can be a program name with args.
5834 set dummy $ac_prog; ac_word=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if ${ac_cv_prog_FLEX+:} false; then :
5838 $as_echo_n "(cached) " >&6
5839 else
5840 if test -n "$FLEX"; then
5841 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5842 else
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 for as_dir in $PATH
5846 IFS=$as_save_IFS
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5850 ac_cv_prog_FLEX="$ac_prog"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5852 break 2
5854 done
5855 done
5856 IFS=$as_save_IFS
5860 FLEX=$ac_cv_prog_FLEX
5861 if test -n "$FLEX"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5863 $as_echo "$FLEX" >&6; }
5864 else
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5870 test -n "$FLEX" && break
5871 done
5872 test -n "$FLEX" || FLEX="none"
5874 if test "$FLEX" = "none"
5875 then
5876 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5879 $as_echo_n "checking whether flex is recent enough... " >&6; }
5880 if ${wine_cv_recent_flex+:} false; then :
5881 $as_echo_n "(cached) " >&6
5882 else
5883 cat >conftest.l <<EOF
5884 %top{
5885 #include "prediluvian.h"
5889 if $FLEX -t conftest.l >/dev/null 2>&5
5890 then
5891 wine_cv_recent_flex=yes
5892 else
5893 wine_cv_recent_flex=no
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5897 $as_echo "$wine_cv_recent_flex" >&6; }
5898 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
5900 for ac_prog in bison
5902 # Extract the first word of "$ac_prog", so it can be a program name with args.
5903 set dummy $ac_prog; ac_word=$2
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5905 $as_echo_n "checking for $ac_word... " >&6; }
5906 if ${ac_cv_prog_BISON+:} false; then :
5907 $as_echo_n "(cached) " >&6
5908 else
5909 if test -n "$BISON"; then
5910 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5911 else
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913 for as_dir in $PATH
5915 IFS=$as_save_IFS
5916 test -z "$as_dir" && as_dir=.
5917 for ac_exec_ext in '' $ac_executable_extensions; do
5918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5919 ac_cv_prog_BISON="$ac_prog"
5920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5921 break 2
5923 done
5924 done
5925 IFS=$as_save_IFS
5929 BISON=$ac_cv_prog_BISON
5930 if test -n "$BISON"; then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5932 $as_echo "$BISON" >&6; }
5933 else
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5935 $as_echo "no" >&6; }
5939 test -n "$BISON" && break
5940 done
5941 test -n "$BISON" || BISON="none"
5943 if test "$BISON" = "none"
5944 then
5945 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5948 $as_echo_n "checking whether bison is recent enough... " >&6; }
5949 if ${wine_cv_recent_bison+:} false; then :
5950 $as_echo_n "(cached) " >&6
5951 else
5952 cat >conftest.y <<EOF
5953 %define parse.error verbose
5955 empty: ;
5957 if $BISON conftest.y >/dev/null 2>&5
5958 then
5959 wine_cv_recent_bison=yes
5960 else
5961 wine_cv_recent_bison=no
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5965 $as_echo "$wine_cv_recent_bison" >&6; }
5966 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
5968 if test -n "$ac_tool_prefix"; then
5969 for ac_prog in ar gar
5971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5972 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5974 $as_echo_n "checking for $ac_word... " >&6; }
5975 if ${ac_cv_prog_AR+:} false; then :
5976 $as_echo_n "(cached) " >&6
5977 else
5978 if test -n "$AR"; then
5979 ac_cv_prog_AR="$AR" # Let the user override the test.
5980 else
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 for as_dir in $PATH
5984 IFS=$as_save_IFS
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 break 2
5992 done
5993 done
5994 IFS=$as_save_IFS
5998 AR=$ac_cv_prog_AR
5999 if test -n "$AR"; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6001 $as_echo "$AR" >&6; }
6002 else
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6004 $as_echo "no" >&6; }
6008 test -n "$AR" && break
6009 done
6011 if test -z "$AR"; then
6012 ac_ct_AR=$AR
6013 for ac_prog in ar gar
6015 # Extract the first word of "$ac_prog", so it can be a program name with args.
6016 set dummy $ac_prog; ac_word=$2
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018 $as_echo_n "checking for $ac_word... " >&6; }
6019 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6020 $as_echo_n "(cached) " >&6
6021 else
6022 if test -n "$ac_ct_AR"; then
6023 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6024 else
6025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 for as_dir in $PATH
6028 IFS=$as_save_IFS
6029 test -z "$as_dir" && as_dir=.
6030 for ac_exec_ext in '' $ac_executable_extensions; do
6031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032 ac_cv_prog_ac_ct_AR="$ac_prog"
6033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 break 2
6036 done
6037 done
6038 IFS=$as_save_IFS
6042 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6043 if test -n "$ac_ct_AR"; then
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6045 $as_echo "$ac_ct_AR" >&6; }
6046 else
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 $as_echo "no" >&6; }
6052 test -n "$ac_ct_AR" && break
6053 done
6055 if test "x$ac_ct_AR" = x; then
6056 AR="ar"
6057 else
6058 case $cross_compiling:$ac_tool_warned in
6059 yes:)
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6062 ac_tool_warned=yes ;;
6063 esac
6064 AR=$ac_ct_AR
6068 if test -n "$ac_tool_prefix"; then
6069 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6070 set dummy ${ac_tool_prefix}strip; ac_word=$2
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6072 $as_echo_n "checking for $ac_word... " >&6; }
6073 if ${ac_cv_prog_STRIP+:} false; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 if test -n "$STRIP"; then
6077 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6078 else
6079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6080 for as_dir in $PATH
6082 IFS=$as_save_IFS
6083 test -z "$as_dir" && as_dir=.
6084 for ac_exec_ext in '' $ac_executable_extensions; do
6085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6086 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6088 break 2
6090 done
6091 done
6092 IFS=$as_save_IFS
6096 STRIP=$ac_cv_prog_STRIP
6097 if test -n "$STRIP"; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6099 $as_echo "$STRIP" >&6; }
6100 else
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 $as_echo "no" >&6; }
6107 if test -z "$ac_cv_prog_STRIP"; then
6108 ac_ct_STRIP=$STRIP
6109 # Extract the first word of "strip", so it can be a program name with args.
6110 set dummy strip; ac_word=$2
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6112 $as_echo_n "checking for $ac_word... " >&6; }
6113 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6114 $as_echo_n "(cached) " >&6
6115 else
6116 if test -n "$ac_ct_STRIP"; then
6117 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6118 else
6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6120 for as_dir in $PATH
6122 IFS=$as_save_IFS
6123 test -z "$as_dir" && as_dir=.
6124 for ac_exec_ext in '' $ac_executable_extensions; do
6125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6126 ac_cv_prog_ac_ct_STRIP="strip"
6127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6128 break 2
6130 done
6131 done
6132 IFS=$as_save_IFS
6136 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6137 if test -n "$ac_ct_STRIP"; then
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6139 $as_echo "$ac_ct_STRIP" >&6; }
6140 else
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6142 $as_echo "no" >&6; }
6145 if test "x$ac_ct_STRIP" = x; then
6146 STRIP="strip"
6147 else
6148 case $cross_compiling:$ac_tool_warned in
6149 yes:)
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6152 ac_tool_warned=yes ;;
6153 esac
6154 STRIP=$ac_ct_STRIP
6156 else
6157 STRIP="$ac_cv_prog_STRIP"
6160 if test -n "$ac_tool_prefix"; then
6161 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6162 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6164 $as_echo_n "checking for $ac_word... " >&6; }
6165 if ${ac_cv_prog_RANLIB+:} false; then :
6166 $as_echo_n "(cached) " >&6
6167 else
6168 if test -n "$RANLIB"; then
6169 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6170 else
6171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6172 for as_dir in $PATH
6174 IFS=$as_save_IFS
6175 test -z "$as_dir" && as_dir=.
6176 for ac_exec_ext in '' $ac_executable_extensions; do
6177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6178 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6180 break 2
6182 done
6183 done
6184 IFS=$as_save_IFS
6188 RANLIB=$ac_cv_prog_RANLIB
6189 if test -n "$RANLIB"; then
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6191 $as_echo "$RANLIB" >&6; }
6192 else
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6194 $as_echo "no" >&6; }
6199 if test -z "$ac_cv_prog_RANLIB"; then
6200 ac_ct_RANLIB=$RANLIB
6201 # Extract the first word of "ranlib", so it can be a program name with args.
6202 set dummy ranlib; ac_word=$2
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6204 $as_echo_n "checking for $ac_word... " >&6; }
6205 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6206 $as_echo_n "(cached) " >&6
6207 else
6208 if test -n "$ac_ct_RANLIB"; then
6209 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6210 else
6211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6212 for as_dir in $PATH
6214 IFS=$as_save_IFS
6215 test -z "$as_dir" && as_dir=.
6216 for ac_exec_ext in '' $ac_executable_extensions; do
6217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6218 ac_cv_prog_ac_ct_RANLIB="ranlib"
6219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6220 break 2
6222 done
6223 done
6224 IFS=$as_save_IFS
6228 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6229 if test -n "$ac_ct_RANLIB"; then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6231 $as_echo "$ac_ct_RANLIB" >&6; }
6232 else
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6234 $as_echo "no" >&6; }
6237 if test "x$ac_ct_RANLIB" = x; then
6238 RANLIB=":"
6239 else
6240 case $cross_compiling:$ac_tool_warned in
6241 yes:)
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6244 ac_tool_warned=yes ;;
6245 esac
6246 RANLIB=$ac_ct_RANLIB
6248 else
6249 RANLIB="$ac_cv_prog_RANLIB"
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6253 $as_echo_n "checking whether ln -s works... " >&6; }
6254 LN_S=$as_ln_s
6255 if test "$LN_S" = "ln -s"; then
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6257 $as_echo "yes" >&6; }
6258 else
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6260 $as_echo "no, using $LN_S" >&6; }
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6264 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6265 if ${ac_cv_path_GREP+:} false; then :
6266 $as_echo_n "(cached) " >&6
6267 else
6268 if test -z "$GREP"; then
6269 ac_path_GREP_found=false
6270 # Loop through the user's path and test for each of PROGNAME-LIST
6271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6272 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6274 IFS=$as_save_IFS
6275 test -z "$as_dir" && as_dir=.
6276 for ac_prog in grep ggrep; do
6277 for ac_exec_ext in '' $ac_executable_extensions; do
6278 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6279 as_fn_executable_p "$ac_path_GREP" || continue
6280 # Check for GNU ac_path_GREP and select it if it is found.
6281 # Check for GNU $ac_path_GREP
6282 case `"$ac_path_GREP" --version 2>&1` in
6283 *GNU*)
6284 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6286 ac_count=0
6287 $as_echo_n 0123456789 >"conftest.in"
6288 while :
6290 cat "conftest.in" "conftest.in" >"conftest.tmp"
6291 mv "conftest.tmp" "conftest.in"
6292 cp "conftest.in" "conftest.nl"
6293 $as_echo 'GREP' >> "conftest.nl"
6294 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6295 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6296 as_fn_arith $ac_count + 1 && ac_count=$as_val
6297 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6298 # Best one so far, save it but keep looking for a better one
6299 ac_cv_path_GREP="$ac_path_GREP"
6300 ac_path_GREP_max=$ac_count
6302 # 10*(2^10) chars as input seems more than enough
6303 test $ac_count -gt 10 && break
6304 done
6305 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6306 esac
6308 $ac_path_GREP_found && break 3
6309 done
6310 done
6311 done
6312 IFS=$as_save_IFS
6313 if test -z "$ac_cv_path_GREP"; then
6314 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6316 else
6317 ac_cv_path_GREP=$GREP
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6322 $as_echo "$ac_cv_path_GREP" >&6; }
6323 GREP="$ac_cv_path_GREP"
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6327 $as_echo_n "checking for egrep... " >&6; }
6328 if ${ac_cv_path_EGREP+:} false; then :
6329 $as_echo_n "(cached) " >&6
6330 else
6331 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6332 then ac_cv_path_EGREP="$GREP -E"
6333 else
6334 if test -z "$EGREP"; then
6335 ac_path_EGREP_found=false
6336 # Loop through the user's path and test for each of PROGNAME-LIST
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6338 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6340 IFS=$as_save_IFS
6341 test -z "$as_dir" && as_dir=.
6342 for ac_prog in egrep; do
6343 for ac_exec_ext in '' $ac_executable_extensions; do
6344 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6345 as_fn_executable_p "$ac_path_EGREP" || continue
6346 # Check for GNU ac_path_EGREP and select it if it is found.
6347 # Check for GNU $ac_path_EGREP
6348 case `"$ac_path_EGREP" --version 2>&1` in
6349 *GNU*)
6350 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6352 ac_count=0
6353 $as_echo_n 0123456789 >"conftest.in"
6354 while :
6356 cat "conftest.in" "conftest.in" >"conftest.tmp"
6357 mv "conftest.tmp" "conftest.in"
6358 cp "conftest.in" "conftest.nl"
6359 $as_echo 'EGREP' >> "conftest.nl"
6360 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6361 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6362 as_fn_arith $ac_count + 1 && ac_count=$as_val
6363 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6364 # Best one so far, save it but keep looking for a better one
6365 ac_cv_path_EGREP="$ac_path_EGREP"
6366 ac_path_EGREP_max=$ac_count
6368 # 10*(2^10) chars as input seems more than enough
6369 test $ac_count -gt 10 && break
6370 done
6371 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6372 esac
6374 $ac_path_EGREP_found && break 3
6375 done
6376 done
6377 done
6378 IFS=$as_save_IFS
6379 if test -z "$ac_cv_path_EGREP"; then
6380 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6382 else
6383 ac_cv_path_EGREP=$EGREP
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6389 $as_echo "$ac_cv_path_EGREP" >&6; }
6390 EGREP="$ac_cv_path_EGREP"
6393 # Extract the first word of "ldconfig", so it can be a program name with args.
6394 set dummy ldconfig; ac_word=$2
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396 $as_echo_n "checking for $ac_word... " >&6; }
6397 if ${ac_cv_path_LDCONFIG+:} false; then :
6398 $as_echo_n "(cached) " >&6
6399 else
6400 case $LDCONFIG in
6401 [\\/]* | ?:[\\/]*)
6402 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6406 for as_dir in /sbin /usr/sbin $PATH
6408 IFS=$as_save_IFS
6409 test -z "$as_dir" && as_dir=.
6410 for ac_exec_ext in '' $ac_executable_extensions; do
6411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6412 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6414 break 2
6416 done
6417 done
6418 IFS=$as_save_IFS
6420 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6422 esac
6424 LDCONFIG=$ac_cv_path_LDCONFIG
6425 if test -n "$LDCONFIG"; then
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6427 $as_echo "$LDCONFIG" >&6; }
6428 else
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6430 $as_echo "no" >&6; }
6434 for ac_prog in msgfmt
6436 # Extract the first word of "$ac_prog", so it can be a program name with args.
6437 set dummy $ac_prog; ac_word=$2
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6439 $as_echo_n "checking for $ac_word... " >&6; }
6440 if ${ac_cv_prog_MSGFMT+:} false; then :
6441 $as_echo_n "(cached) " >&6
6442 else
6443 if test -n "$MSGFMT"; then
6444 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6445 else
6446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6447 for as_dir in $PATH
6449 IFS=$as_save_IFS
6450 test -z "$as_dir" && as_dir=.
6451 for ac_exec_ext in '' $ac_executable_extensions; do
6452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6453 ac_cv_prog_MSGFMT="$ac_prog"
6454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6455 break 2
6457 done
6458 done
6459 IFS=$as_save_IFS
6463 MSGFMT=$ac_cv_prog_MSGFMT
6464 if test -n "$MSGFMT"; then
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6466 $as_echo "$MSGFMT" >&6; }
6467 else
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6469 $as_echo "no" >&6; }
6473 test -n "$MSGFMT" && break
6474 done
6475 test -n "$MSGFMT" || MSGFMT="false"
6477 if ${ac_tool_prefix+:} false; then :
6478 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6479 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6481 $as_echo_n "checking for $ac_word... " >&6; }
6482 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6483 $as_echo_n "(cached) " >&6
6484 else
6485 if test -n "$PKG_CONFIG"; then
6486 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6487 else
6488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6489 for as_dir in $PATH
6491 IFS=$as_save_IFS
6492 test -z "$as_dir" && as_dir=.
6493 for ac_exec_ext in '' $ac_executable_extensions; do
6494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6495 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6497 break 2
6499 done
6500 done
6501 IFS=$as_save_IFS
6505 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6506 if test -n "$PKG_CONFIG"; then
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6508 $as_echo "$PKG_CONFIG" >&6; }
6509 else
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6511 $as_echo "no" >&6; }
6516 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6517 if test "x$cross_compiling" = xyes; then :
6519 else
6520 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6521 # Extract the first word of "pkg-config", so it can be a program name with args.
6522 set dummy pkg-config; ac_word=$2
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6524 $as_echo_n "checking for $ac_word... " >&6; }
6525 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6526 $as_echo_n "(cached) " >&6
6527 else
6528 if test -n "$PKG_CONFIG"; then
6529 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6530 else
6531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6532 for as_dir in $PATH
6534 IFS=$as_save_IFS
6535 test -z "$as_dir" && as_dir=.
6536 for ac_exec_ext in '' $ac_executable_extensions; do
6537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6538 ac_cv_prog_PKG_CONFIG="pkg-config"
6539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6540 break 2
6542 done
6543 done
6544 IFS=$as_save_IFS
6548 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6549 if test -n "$PKG_CONFIG"; then
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6551 $as_echo "$PKG_CONFIG" >&6; }
6552 else
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6554 $as_echo "no" >&6; }
6559 else
6560 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6563 if test "x$enable_maintainer_mode" != "xyes"
6564 then
6565 FONTFORGE=""
6566 RSVG=""
6567 CONVERT=""
6568 ICOTOOL=""
6569 else
6570 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6571 for ac_prog in fontforge
6573 # Extract the first word of "$ac_prog", so it can be a program name with args.
6574 set dummy $ac_prog; ac_word=$2
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6576 $as_echo_n "checking for $ac_word... " >&6; }
6577 if ${ac_cv_prog_FONTFORGE+:} false; then :
6578 $as_echo_n "(cached) " >&6
6579 else
6580 if test -n "$FONTFORGE"; then
6581 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6582 else
6583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6584 for as_dir in $PATH
6586 IFS=$as_save_IFS
6587 test -z "$as_dir" && as_dir=.
6588 for ac_exec_ext in '' $ac_executable_extensions; do
6589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6590 ac_cv_prog_FONTFORGE="$ac_prog"
6591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6592 break 2
6594 done
6595 done
6596 IFS=$as_save_IFS
6600 FONTFORGE=$ac_cv_prog_FONTFORGE
6601 if test -n "$FONTFORGE"; then
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6603 $as_echo "$FONTFORGE" >&6; }
6604 else
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6606 $as_echo "no" >&6; }
6610 test -n "$FONTFORGE" && break
6611 done
6612 test -n "$FONTFORGE" || FONTFORGE="false"
6614 for ac_prog in rsvg-convert rsvg
6616 # Extract the first word of "$ac_prog", so it can be a program name with args.
6617 set dummy $ac_prog; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619 $as_echo_n "checking for $ac_word... " >&6; }
6620 if ${ac_cv_prog_RSVG+:} false; then :
6621 $as_echo_n "(cached) " >&6
6622 else
6623 if test -n "$RSVG"; then
6624 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6625 else
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6627 for as_dir in $PATH
6629 IFS=$as_save_IFS
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6633 ac_cv_prog_RSVG="$ac_prog"
6634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6635 break 2
6637 done
6638 done
6639 IFS=$as_save_IFS
6643 RSVG=$ac_cv_prog_RSVG
6644 if test -n "$RSVG"; then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6646 $as_echo "$RSVG" >&6; }
6647 else
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649 $as_echo "no" >&6; }
6653 test -n "$RSVG" && break
6654 done
6655 test -n "$RSVG" || RSVG="false"
6657 for ac_prog in convert
6659 # Extract the first word of "$ac_prog", so it can be a program name with args.
6660 set dummy $ac_prog; ac_word=$2
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662 $as_echo_n "checking for $ac_word... " >&6; }
6663 if ${ac_cv_prog_CONVERT+:} false; then :
6664 $as_echo_n "(cached) " >&6
6665 else
6666 if test -n "$CONVERT"; then
6667 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6668 else
6669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 for as_dir in $PATH
6672 IFS=$as_save_IFS
6673 test -z "$as_dir" && as_dir=.
6674 for ac_exec_ext in '' $ac_executable_extensions; do
6675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6676 ac_cv_prog_CONVERT="$ac_prog"
6677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678 break 2
6680 done
6681 done
6682 IFS=$as_save_IFS
6686 CONVERT=$ac_cv_prog_CONVERT
6687 if test -n "$CONVERT"; then
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6689 $as_echo "$CONVERT" >&6; }
6690 else
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692 $as_echo "no" >&6; }
6696 test -n "$CONVERT" && break
6697 done
6698 test -n "$CONVERT" || CONVERT="false"
6700 for ac_prog in icotool
6702 # Extract the first word of "$ac_prog", so it can be a program name with args.
6703 set dummy $ac_prog; ac_word=$2
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6705 $as_echo_n "checking for $ac_word... " >&6; }
6706 if ${ac_cv_prog_ICOTOOL+:} false; then :
6707 $as_echo_n "(cached) " >&6
6708 else
6709 if test -n "$ICOTOOL"; then
6710 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6711 else
6712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 for as_dir in $PATH
6715 IFS=$as_save_IFS
6716 test -z "$as_dir" && as_dir=.
6717 for ac_exec_ext in '' $ac_executable_extensions; do
6718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6719 ac_cv_prog_ICOTOOL="$ac_prog"
6720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 break 2
6723 done
6724 done
6725 IFS=$as_save_IFS
6729 ICOTOOL=$ac_cv_prog_ICOTOOL
6730 if test -n "$ICOTOOL"; then
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6732 $as_echo "$ICOTOOL" >&6; }
6733 else
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6735 $as_echo "no" >&6; }
6739 test -n "$ICOTOOL" && break
6740 done
6741 test -n "$ICOTOOL" || ICOTOOL="false"
6743 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6744 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6746 if test "$CONVERT" = false
6747 then
6748 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6749 else
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6751 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6752 convert_version=`convert --version | head -n1`
6753 if test "x$convert_version" != "x"
6754 then
6755 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6756 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6757 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6758 then
6759 CONVERT=false
6762 if test "$CONVERT" = false
6763 then
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6765 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6766 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6767 else
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6769 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6773 if test "$ICOTOOL" = false
6774 then
6775 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6776 else
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6778 $as_echo_n "checking for recent enough icotool... " >&6; }
6779 icotool_version=`icotool --version | head -n1`
6780 if test "x$icotool_version" != "x"
6781 then
6782 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6783 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6784 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6785 then
6786 ICOTOOL=false
6787 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6790 if test "$ICOTOOL" = false
6791 then
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6793 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6794 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6795 else
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6797 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6801 with_gettext=yes
6802 with_gettextpo=yes
6804 enable_werror=yes
6807 test "x$with_gettext" != xno || MSGFMT=false
6808 if test "$MSGFMT" != "false"
6809 then
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6811 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6812 if ${wine_cv_msgfmt_contexts+:} false; then :
6813 $as_echo_n "(cached) " >&6
6814 else
6815 cat >conftest.po <<EOF
6816 # comment
6817 msgctxt "ctxt"
6818 msgid "id"
6819 msgstr "str"
6821 if $MSGFMT -o /dev/null conftest.po 2>&5
6822 then
6823 wine_cv_msgfmt_contexts=yes
6824 else
6825 wine_cv_msgfmt_contexts=no
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6829 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6830 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6832 if test "$MSGFMT" = false; then :
6833 case "x$with_gettext" in
6834 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6835 xno) ;;
6836 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6837 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6838 esac
6839 enable_po=${enable_po:-no}
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6844 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6845 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6846 $as_echo_n "(cached) " >&6
6847 else
6848 ac_check_lib_save_LIBS=$LIBS
6849 LIBS="-li386 $LIBS"
6850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6851 /* end confdefs.h. */
6853 /* Override any GCC internal prototype to avoid an error.
6854 Use char because int might match the return type of a GCC
6855 builtin and then its argument prototype would still apply. */
6856 #ifdef __cplusplus
6857 extern "C"
6858 #endif
6859 char i386_set_ldt ();
6861 main ()
6863 return i386_set_ldt ();
6865 return 0;
6867 _ACEOF
6868 if ac_fn_c_try_link "$LINENO"; then :
6869 ac_cv_lib_i386_i386_set_ldt=yes
6870 else
6871 ac_cv_lib_i386_i386_set_ldt=no
6873 rm -f core conftest.err conftest.$ac_objext \
6874 conftest$ac_exeext conftest.$ac_ext
6875 LIBS=$ac_check_lib_save_LIBS
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6878 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6879 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6880 I386_LIBS="-li386"
6885 OPENGL_LIBS=""
6889 # Check whether --enable-largefile was given.
6890 if test "${enable_largefile+set}" = set; then :
6891 enableval=$enable_largefile;
6894 if test "$enable_largefile" != no; then
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6897 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6898 if ${ac_cv_sys_largefile_CC+:} false; then :
6899 $as_echo_n "(cached) " >&6
6900 else
6901 ac_cv_sys_largefile_CC=no
6902 if test "$GCC" != yes; then
6903 ac_save_CC=$CC
6904 while :; do
6905 # IRIX 6.2 and later do not support large files by default,
6906 # so use the C compiler's -n32 option if that helps.
6907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6908 /* end confdefs.h. */
6909 #include <sys/types.h>
6910 /* Check that off_t can represent 2**63 - 1 correctly.
6911 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6912 since some C++ compilers masquerading as C compilers
6913 incorrectly reject 9223372036854775807. */
6914 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6915 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6916 && LARGE_OFF_T % 2147483647 == 1)
6917 ? 1 : -1];
6919 main ()
6923 return 0;
6925 _ACEOF
6926 if ac_fn_c_try_compile "$LINENO"; then :
6927 break
6929 rm -f core conftest.err conftest.$ac_objext
6930 CC="$CC -n32"
6931 if ac_fn_c_try_compile "$LINENO"; then :
6932 ac_cv_sys_largefile_CC=' -n32'; break
6934 rm -f core conftest.err conftest.$ac_objext
6935 break
6936 done
6937 CC=$ac_save_CC
6938 rm -f conftest.$ac_ext
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6942 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6943 if test "$ac_cv_sys_largefile_CC" != no; then
6944 CC=$CC$ac_cv_sys_largefile_CC
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6948 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6949 if ${ac_cv_sys_file_offset_bits+:} false; then :
6950 $as_echo_n "(cached) " >&6
6951 else
6952 while :; do
6953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6954 /* end confdefs.h. */
6955 #include <sys/types.h>
6956 /* Check that off_t can represent 2**63 - 1 correctly.
6957 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6958 since some C++ compilers masquerading as C compilers
6959 incorrectly reject 9223372036854775807. */
6960 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6961 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6962 && LARGE_OFF_T % 2147483647 == 1)
6963 ? 1 : -1];
6965 main ()
6969 return 0;
6971 _ACEOF
6972 if ac_fn_c_try_compile "$LINENO"; then :
6973 ac_cv_sys_file_offset_bits=no; break
6975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6977 /* end confdefs.h. */
6978 #define _FILE_OFFSET_BITS 64
6979 #include <sys/types.h>
6980 /* Check that off_t can represent 2**63 - 1 correctly.
6981 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6982 since some C++ compilers masquerading as C compilers
6983 incorrectly reject 9223372036854775807. */
6984 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6985 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6986 && LARGE_OFF_T % 2147483647 == 1)
6987 ? 1 : -1];
6989 main ()
6993 return 0;
6995 _ACEOF
6996 if ac_fn_c_try_compile "$LINENO"; then :
6997 ac_cv_sys_file_offset_bits=64; break
6999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7000 ac_cv_sys_file_offset_bits=unknown
7001 break
7002 done
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7005 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7006 case $ac_cv_sys_file_offset_bits in #(
7007 no | unknown) ;;
7009 cat >>confdefs.h <<_ACEOF
7010 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7011 _ACEOF
7013 esac
7014 rm -rf conftest*
7015 if test $ac_cv_sys_file_offset_bits = unknown; then
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7017 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7018 if ${ac_cv_sys_large_files+:} false; then :
7019 $as_echo_n "(cached) " >&6
7020 else
7021 while :; do
7022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7023 /* end confdefs.h. */
7024 #include <sys/types.h>
7025 /* Check that off_t can represent 2**63 - 1 correctly.
7026 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7027 since some C++ compilers masquerading as C compilers
7028 incorrectly reject 9223372036854775807. */
7029 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7030 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7031 && LARGE_OFF_T % 2147483647 == 1)
7032 ? 1 : -1];
7034 main ()
7038 return 0;
7040 _ACEOF
7041 if ac_fn_c_try_compile "$LINENO"; then :
7042 ac_cv_sys_large_files=no; break
7044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7046 /* end confdefs.h. */
7047 #define _LARGE_FILES 1
7048 #include <sys/types.h>
7049 /* Check that off_t can represent 2**63 - 1 correctly.
7050 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7051 since some C++ compilers masquerading as C compilers
7052 incorrectly reject 9223372036854775807. */
7053 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7054 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7055 && LARGE_OFF_T % 2147483647 == 1)
7056 ? 1 : -1];
7058 main ()
7062 return 0;
7064 _ACEOF
7065 if ac_fn_c_try_compile "$LINENO"; then :
7066 ac_cv_sys_large_files=1; break
7068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7069 ac_cv_sys_large_files=unknown
7070 break
7071 done
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7074 $as_echo "$ac_cv_sys_large_files" >&6; }
7075 case $ac_cv_sys_large_files in #(
7076 no | unknown) ;;
7078 cat >>confdefs.h <<_ACEOF
7079 #define _LARGE_FILES $ac_cv_sys_large_files
7080 _ACEOF
7082 esac
7083 rm -rf conftest*
7090 ac_ext=c
7091 ac_cpp='$CPP $CPPFLAGS'
7092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7096 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7097 # On Suns, sometimes $CPP names a directory.
7098 if test -n "$CPP" && test -d "$CPP"; then
7099 CPP=
7101 if test -z "$CPP"; then
7102 if ${ac_cv_prog_CPP+:} false; then :
7103 $as_echo_n "(cached) " >&6
7104 else
7105 # Double quotes because CPP needs to be expanded
7106 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7108 ac_preproc_ok=false
7109 for ac_c_preproc_warn_flag in '' yes
7111 # Use a header file that comes with gcc, so configuring glibc
7112 # with a fresh cross-compiler works.
7113 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7114 # <limits.h> exists even on freestanding compilers.
7115 # On the NeXT, cc -E runs the code through the compiler's parser,
7116 # not just through cpp. "Syntax error" is here to catch this case.
7117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7118 /* end confdefs.h. */
7119 #ifdef __STDC__
7120 # include <limits.h>
7121 #else
7122 # include <assert.h>
7123 #endif
7124 Syntax error
7125 _ACEOF
7126 if ac_fn_c_try_cpp "$LINENO"; then :
7128 else
7129 # Broken: fails on valid input.
7130 continue
7132 rm -f conftest.err conftest.i conftest.$ac_ext
7134 # OK, works on sane cases. Now check whether nonexistent headers
7135 # can be detected and how.
7136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7137 /* end confdefs.h. */
7138 #include <ac_nonexistent.h>
7139 _ACEOF
7140 if ac_fn_c_try_cpp "$LINENO"; then :
7141 # Broken: success on invalid input.
7142 continue
7143 else
7144 # Passes both tests.
7145 ac_preproc_ok=:
7146 break
7148 rm -f conftest.err conftest.i conftest.$ac_ext
7150 done
7151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7152 rm -f conftest.i conftest.err conftest.$ac_ext
7153 if $ac_preproc_ok; then :
7154 break
7157 done
7158 ac_cv_prog_CPP=$CPP
7161 CPP=$ac_cv_prog_CPP
7162 else
7163 ac_cv_prog_CPP=$CPP
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7166 $as_echo "$CPP" >&6; }
7167 ac_preproc_ok=false
7168 for ac_c_preproc_warn_flag in '' yes
7170 # Use a header file that comes with gcc, so configuring glibc
7171 # with a fresh cross-compiler works.
7172 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7173 # <limits.h> exists even on freestanding compilers.
7174 # On the NeXT, cc -E runs the code through the compiler's parser,
7175 # not just through cpp. "Syntax error" is here to catch this case.
7176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7177 /* end confdefs.h. */
7178 #ifdef __STDC__
7179 # include <limits.h>
7180 #else
7181 # include <assert.h>
7182 #endif
7183 Syntax error
7184 _ACEOF
7185 if ac_fn_c_try_cpp "$LINENO"; then :
7187 else
7188 # Broken: fails on valid input.
7189 continue
7191 rm -f conftest.err conftest.i conftest.$ac_ext
7193 # OK, works on sane cases. Now check whether nonexistent headers
7194 # can be detected and how.
7195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7196 /* end confdefs.h. */
7197 #include <ac_nonexistent.h>
7198 _ACEOF
7199 if ac_fn_c_try_cpp "$LINENO"; then :
7200 # Broken: success on invalid input.
7201 continue
7202 else
7203 # Passes both tests.
7204 ac_preproc_ok=:
7205 break
7207 rm -f conftest.err conftest.i conftest.$ac_ext
7209 done
7210 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7211 rm -f conftest.i conftest.err conftest.$ac_ext
7212 if $ac_preproc_ok; then :
7214 else
7215 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7217 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7218 See \`config.log' for more details" "$LINENO" 5; }
7221 ac_ext=c
7222 ac_cpp='$CPP $CPPFLAGS'
7223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7229 $as_echo_n "checking for ANSI C header files... " >&6; }
7230 if ${ac_cv_header_stdc+:} false; then :
7231 $as_echo_n "(cached) " >&6
7232 else
7233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7234 /* end confdefs.h. */
7235 #include <stdlib.h>
7236 #include <stdarg.h>
7237 #include <string.h>
7238 #include <float.h>
7241 main ()
7245 return 0;
7247 _ACEOF
7248 if ac_fn_c_try_compile "$LINENO"; then :
7249 ac_cv_header_stdc=yes
7250 else
7251 ac_cv_header_stdc=no
7253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7255 if test $ac_cv_header_stdc = yes; then
7256 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7258 /* end confdefs.h. */
7259 #include <string.h>
7261 _ACEOF
7262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7263 $EGREP "memchr" >/dev/null 2>&1; then :
7265 else
7266 ac_cv_header_stdc=no
7268 rm -f conftest*
7272 if test $ac_cv_header_stdc = yes; then
7273 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7275 /* end confdefs.h. */
7276 #include <stdlib.h>
7278 _ACEOF
7279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7280 $EGREP "free" >/dev/null 2>&1; then :
7282 else
7283 ac_cv_header_stdc=no
7285 rm -f conftest*
7289 if test $ac_cv_header_stdc = yes; then
7290 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7291 if test "$cross_compiling" = yes; then :
7293 else
7294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7295 /* end confdefs.h. */
7296 #include <ctype.h>
7297 #include <stdlib.h>
7298 #if ((' ' & 0x0FF) == 0x020)
7299 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7300 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7301 #else
7302 # define ISLOWER(c) \
7303 (('a' <= (c) && (c) <= 'i') \
7304 || ('j' <= (c) && (c) <= 'r') \
7305 || ('s' <= (c) && (c) <= 'z'))
7306 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7307 #endif
7309 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7311 main ()
7313 int i;
7314 for (i = 0; i < 256; i++)
7315 if (XOR (islower (i), ISLOWER (i))
7316 || toupper (i) != TOUPPER (i))
7317 return 2;
7318 return 0;
7320 _ACEOF
7321 if ac_fn_c_try_run "$LINENO"; then :
7323 else
7324 ac_cv_header_stdc=no
7326 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7327 conftest.$ac_objext conftest.beam conftest.$ac_ext
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7333 $as_echo "$ac_cv_header_stdc" >&6; }
7334 if test $ac_cv_header_stdc = yes; then
7336 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7340 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7341 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7342 inttypes.h stdint.h unistd.h
7343 do :
7344 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7345 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7347 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7348 cat >>confdefs.h <<_ACEOF
7349 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7350 _ACEOF
7354 done
7357 for ac_header in \
7358 AL/al.h \
7359 ApplicationServices/ApplicationServices.h \
7360 AudioToolbox/AudioConverter.h \
7361 AudioUnit/AudioUnit.h \
7362 AudioUnit/AudioComponent.h \
7363 CL/cl.h \
7364 Carbon/Carbon.h \
7365 CommonCrypto/CommonCryptor.h \
7366 CoreAudio/CoreAudio.h \
7367 CoreServices/CoreServices.h \
7368 DiskArbitration/DiskArbitration.h \
7369 EGL/egl.h \
7370 IOKit/IOKitLib.h \
7371 IOKit/hid/IOHIDLib.h \
7372 OpenAL/al.h \
7373 OpenCL/opencl.h \
7374 QuickTime/ImageCompression.h \
7375 Security/Security.h \
7376 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7377 SystemConfiguration/SCNetworkConfiguration.h \
7378 alias.h \
7379 arpa/inet.h \
7380 arpa/nameser.h \
7381 asm/types.h \
7382 asm/user.h \
7383 curses.h \
7384 dirent.h \
7385 dlfcn.h \
7386 elf.h \
7387 float.h \
7388 fnmatch.h \
7389 getopt.h \
7390 gettext-po.h \
7391 grp.h \
7392 gsm.h \
7393 gsm/gsm.h \
7394 ieeefp.h \
7395 inet/mib2.h \
7396 kstat.h \
7397 libproc.h \
7398 link.h \
7399 linux/cdrom.h \
7400 linux/compiler.h \
7401 linux/filter.h \
7402 linux/hdreg.h \
7403 linux/hidraw.h \
7404 linux/input.h \
7405 linux/ioctl.h \
7406 linux/joystick.h \
7407 linux/major.h \
7408 linux/param.h \
7409 linux/serial.h \
7410 linux/types.h \
7411 linux/ucdrom.h \
7412 lwp.h \
7413 mach-o/nlist.h \
7414 mach-o/loader.h \
7415 mach/mach.h \
7416 mach/machine.h \
7417 machine/cpu.h \
7418 machine/limits.h \
7419 machine/sysarch.h \
7420 mntent.h \
7421 ncurses.h \
7422 netdb.h \
7423 netinet/in.h \
7424 netinet/in_systm.h \
7425 netinet/tcp.h \
7426 netinet/tcp_fsm.h \
7427 pcap/pcap.h \
7428 poll.h \
7429 port.h \
7430 pthread.h \
7431 pwd.h \
7432 sasl/sasl.h \
7433 sched.h \
7434 scsi/scsi.h \
7435 scsi/scsi_ioctl.h \
7436 scsi/sg.h \
7437 stdbool.h \
7438 stdint.h \
7439 stropts.h \
7440 sys/attr.h \
7441 sys/auxv.h \
7442 sys/cdio.h \
7443 sys/epoll.h \
7444 sys/event.h \
7445 sys/filio.h \
7446 sys/ioctl.h \
7447 sys/ipc.h \
7448 sys/limits.h \
7449 sys/link.h \
7450 sys/mman.h \
7451 sys/modem.h \
7452 sys/msg.h \
7453 sys/mtio.h \
7454 sys/param.h \
7455 sys/poll.h \
7456 sys/prctl.h \
7457 sys/protosw.h \
7458 sys/ptrace.h \
7459 sys/queue.h \
7460 sys/resource.h \
7461 sys/scsiio.h \
7462 sys/shm.h \
7463 sys/signal.h \
7464 sys/socket.h \
7465 sys/socketvar.h \
7466 sys/sockio.h \
7467 sys/statvfs.h \
7468 sys/strtio.h \
7469 sys/syscall.h \
7470 sys/sysinfo.h \
7471 sys/tihdr.h \
7472 sys/time.h \
7473 sys/timeout.h \
7474 sys/times.h \
7475 sys/uio.h \
7476 sys/user.h \
7477 sys/utsname.h \
7478 sys/vnode.h \
7479 sys/wait.h \
7480 syscall.h \
7481 termios.h \
7482 unistd.h \
7483 utime.h \
7484 valgrind/memcheck.h \
7485 valgrind/valgrind.h
7487 do :
7488 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7489 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7490 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7491 cat >>confdefs.h <<_ACEOF
7492 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7493 _ACEOF
7497 done
7499 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7500 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7502 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7507 if test $ac_cv_header_sys_mkdev_h = no; then
7508 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7509 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7511 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7518 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7519 if ${ac_cv_header_stat_broken+:} false; then :
7520 $as_echo_n "(cached) " >&6
7521 else
7522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7523 /* end confdefs.h. */
7524 #include <sys/types.h>
7525 #include <sys/stat.h>
7527 #if defined S_ISBLK && defined S_IFDIR
7528 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7529 #endif
7531 #if defined S_ISBLK && defined S_IFCHR
7532 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7533 #endif
7535 #if defined S_ISLNK && defined S_IFREG
7536 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7537 #endif
7539 #if defined S_ISSOCK && defined S_IFREG
7540 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7541 #endif
7543 _ACEOF
7544 if ac_fn_c_try_compile "$LINENO"; then :
7545 ac_cv_header_stat_broken=no
7546 else
7547 ac_cv_header_stat_broken=yes
7549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7552 $as_echo "$ac_cv_header_stat_broken" >&6; }
7553 if test $ac_cv_header_stat_broken = yes; then
7555 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7561 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7562 do :
7563 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7564 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7565 #ifdef HAVE_SYS_PARAM_H
7566 # include <sys/param.h>
7567 #endif
7569 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7570 cat >>confdefs.h <<_ACEOF
7571 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7572 _ACEOF
7576 done
7579 for ac_header in \
7580 netinet/ip.h \
7581 net/if.h \
7582 net/if_arp.h \
7583 net/if_dl.h \
7584 net/if_types.h \
7585 net/route.h \
7586 netinet/if_ether.h \
7587 netinet/if_inarp.h \
7588 netinet/in_pcb.h \
7589 netinet/ip_icmp.h \
7590 netinet/ip_var.h \
7591 netinet/udp.h \
7592 netipx/ipx.h \
7593 sys/un.h \
7595 do :
7596 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7597 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7598 #ifdef HAVE_SYS_SOCKET_H
7599 # include <sys/socket.h>
7600 #endif
7601 #ifdef HAVE_SYS_SOCKETVAR_H
7602 # include <sys/socketvar.h>
7603 #endif
7604 #ifdef HAVE_NET_ROUTE_H
7605 # include <net/route.h>
7606 #endif
7607 #ifdef HAVE_NETINET_IN_H
7608 # include <netinet/in.h>
7609 #endif
7610 #ifdef HAVE_NETINET_IN_SYSTM_H
7611 # include <netinet/in_systm.h>
7612 #endif
7613 #ifdef HAVE_NET_IF_H
7614 # include <net/if.h>
7615 #endif
7616 #ifdef HAVE_NETINET_IP_H
7617 # include <netinet/ip.h>
7618 #endif
7620 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7621 cat >>confdefs.h <<_ACEOF
7622 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7623 _ACEOF
7627 done
7630 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7631 do :
7632 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7633 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7634 #ifdef HAVE_ALIAS_H
7635 # include <alias.h>
7636 #endif
7637 #ifdef HAVE_SYS_SOCKET_H
7638 # include <sys/socket.h>
7639 #endif
7640 #ifdef HAVE_SYS_SOCKETVAR_H
7641 # include <sys/socketvar.h>
7642 #endif
7643 #ifdef HAVE_SYS_TIMEOUT_H
7644 # include <sys/timeout.h>
7645 #endif
7646 #ifdef HAVE_NETINET_IN_H
7647 # include <netinet/in.h>
7648 #endif
7649 #ifdef HAVE_NETINET_IN_SYSTM_H
7650 # include <netinet/in_systm.h>
7651 #endif
7652 #ifdef HAVE_NETINET_IP_H
7653 # include <netinet/ip.h>
7654 #endif
7655 #ifdef HAVE_NETINET_IP_VAR_H
7656 # include <netinet/ip_var.h>
7657 #endif
7658 #ifdef HAVE_NETINET_IP_ICMP_H
7659 # include <netinet/ip_icmp.h>
7660 #endif
7661 #ifdef HAVE_NETINET_UDP_H
7662 # include <netinet/udp.h>
7663 #endif
7664 #ifdef HAVE_NETINET_TCP_H
7665 # include <netinet/tcp.h>
7666 #endif
7667 #ifdef HAVE_NETINET_TCP_TIMER_H
7668 #include <netinet/tcp_timer.h>
7669 #endif
7671 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7672 cat >>confdefs.h <<_ACEOF
7673 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7674 _ACEOF
7678 done
7681 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7682 do :
7683 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7684 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7685 #ifdef HAVE_ASM_TYPES_H
7686 # include <asm/types.h>
7687 #endif
7688 #ifdef HAVE_SYS_SOCKET_H
7689 # include <sys/socket.h>
7690 #endif
7691 #ifdef HAVE_LINUX_TYPES_H
7692 # include <linux/types.h>
7693 #endif
7695 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7696 cat >>confdefs.h <<_ACEOF
7697 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7698 _ACEOF
7702 done
7705 for ac_header in resolv.h
7706 do :
7707 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7708 #ifdef HAVE_SYS_SOCKET_H
7709 # include <sys/socket.h>
7710 #endif
7711 #ifdef HAVE_NETINET_IN_H
7712 # include <netinet/in.h>
7713 #endif
7714 #ifdef HAVE_ARPA_NAMESER_H
7715 # include <arpa/nameser.h>
7716 #endif
7718 if test "x$ac_cv_header_resolv_h" = xyes; then :
7719 cat >>confdefs.h <<_ACEOF
7720 #define HAVE_RESOLV_H 1
7721 _ACEOF
7725 done
7728 for ac_header in ifaddrs.h
7729 do :
7730 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7732 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7733 cat >>confdefs.h <<_ACEOF
7734 #define HAVE_IFADDRS_H 1
7735 _ACEOF
7739 done
7742 for ac_header in sys/ucontext.h
7743 do :
7744 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7746 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7747 cat >>confdefs.h <<_ACEOF
7748 #define HAVE_SYS_UCONTEXT_H 1
7749 _ACEOF
7753 done
7756 for ac_header in sys/thr.h
7757 do :
7758 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7759 #ifdef HAVE_SYS_UCONTEXT_H
7760 #include <sys/ucontext.h>
7761 #endif
7763 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7764 cat >>confdefs.h <<_ACEOF
7765 #define HAVE_SYS_THR_H 1
7766 _ACEOF
7770 done
7773 for ac_header in pthread_np.h
7774 do :
7775 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7776 #include <pthread.h>
7777 #endif
7779 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7780 cat >>confdefs.h <<_ACEOF
7781 #define HAVE_PTHREAD_NP_H 1
7782 _ACEOF
7786 done
7789 for ac_header in linux/videodev2.h
7790 do :
7791 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7792 #include <sys/time.h>
7793 #endif
7794 #include <sys/types.h>
7795 #ifdef HAVE_ASM_TYPES_H
7796 #include <asm/types.h>
7797 #endif
7799 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7800 cat >>confdefs.h <<_ACEOF
7801 #define HAVE_LINUX_VIDEODEV2_H 1
7802 _ACEOF
7806 done
7809 for ac_header in libprocstat.h
7810 do :
7811 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7812 #include <sys/param.h>
7813 #endif
7814 #ifdef HAVE_SYS_QUEUE_H
7815 #include <sys/queue.h>
7816 #endif
7817 #ifdef HAVE_SYS_SOCKET_H
7818 #include <sys/socket.h>
7819 #endif
7821 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7822 cat >>confdefs.h <<_ACEOF
7823 #define HAVE_LIBPROCSTAT_H 1
7824 _ACEOF
7828 done
7832 DLLFLAGS="-D_REENTRANT"
7834 LDRPATH_INSTALL=""
7836 LDRPATH_LOCAL=""
7838 LDDLLFLAGS=""
7840 LDEXECFLAGS=""
7842 TOP_INSTALL_LIB=""
7844 TOP_INSTALL_DEV=""
7846 WINELOADER_LDFLAGS=""
7848 WINEPRELOADER_LDFLAGS=""
7850 LIBEXT="so"
7851 DLLEXT=".so"
7852 # Extract the first word of "ldd", so it can be a program name with args.
7853 set dummy ldd; ac_word=$2
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7855 $as_echo_n "checking for $ac_word... " >&6; }
7856 if ${ac_cv_path_LDD+:} false; then :
7857 $as_echo_n "(cached) " >&6
7858 else
7859 case $LDD in
7860 [\\/]* | ?:[\\/]*)
7861 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865 as_dummy="/sbin:/usr/sbin:$PATH"
7866 for as_dir in $as_dummy
7868 IFS=$as_save_IFS
7869 test -z "$as_dir" && as_dir=.
7870 for ac_exec_ext in '' $ac_executable_extensions; do
7871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7872 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7874 break 2
7876 done
7877 done
7878 IFS=$as_save_IFS
7880 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7882 esac
7884 LDD=$ac_cv_path_LDD
7885 if test -n "$LDD"; then
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7887 $as_echo "$LDD" >&6; }
7888 else
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7890 $as_echo "no" >&6; }
7894 if test -n "$ac_tool_prefix"; then
7895 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7896 set dummy ${ac_tool_prefix}otool; ac_word=$2
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7898 $as_echo_n "checking for $ac_word... " >&6; }
7899 if ${ac_cv_prog_OTOOL+:} false; then :
7900 $as_echo_n "(cached) " >&6
7901 else
7902 if test -n "$OTOOL"; then
7903 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7904 else
7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7906 for as_dir in $PATH
7908 IFS=$as_save_IFS
7909 test -z "$as_dir" && as_dir=.
7910 for ac_exec_ext in '' $ac_executable_extensions; do
7911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7912 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7914 break 2
7916 done
7917 done
7918 IFS=$as_save_IFS
7922 OTOOL=$ac_cv_prog_OTOOL
7923 if test -n "$OTOOL"; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7925 $as_echo "$OTOOL" >&6; }
7926 else
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7928 $as_echo "no" >&6; }
7933 if test -z "$ac_cv_prog_OTOOL"; then
7934 ac_ct_OTOOL=$OTOOL
7935 # Extract the first word of "otool", so it can be a program name with args.
7936 set dummy otool; ac_word=$2
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7938 $as_echo_n "checking for $ac_word... " >&6; }
7939 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7940 $as_echo_n "(cached) " >&6
7941 else
7942 if test -n "$ac_ct_OTOOL"; then
7943 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7944 else
7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7946 for as_dir in $PATH
7948 IFS=$as_save_IFS
7949 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7952 ac_cv_prog_ac_ct_OTOOL="otool"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7954 break 2
7956 done
7957 done
7958 IFS=$as_save_IFS
7962 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7963 if test -n "$ac_ct_OTOOL"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7965 $as_echo "$ac_ct_OTOOL" >&6; }
7966 else
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 $as_echo "no" >&6; }
7971 if test "x$ac_ct_OTOOL" = x; then
7972 OTOOL="otool"
7973 else
7974 case $cross_compiling:$ac_tool_warned in
7975 yes:)
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7978 ac_tool_warned=yes ;;
7979 esac
7980 OTOOL=$ac_ct_OTOOL
7982 else
7983 OTOOL="$ac_cv_prog_OTOOL"
7986 if test -n "$ac_tool_prefix"; then
7987 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7988 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7990 $as_echo_n "checking for $ac_word... " >&6; }
7991 if ${ac_cv_prog_READELF+:} false; then :
7992 $as_echo_n "(cached) " >&6
7993 else
7994 if test -n "$READELF"; then
7995 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7996 else
7997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7998 for as_dir in $PATH
8000 IFS=$as_save_IFS
8001 test -z "$as_dir" && as_dir=.
8002 for ac_exec_ext in '' $ac_executable_extensions; do
8003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8004 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8006 break 2
8008 done
8009 done
8010 IFS=$as_save_IFS
8014 READELF=$ac_cv_prog_READELF
8015 if test -n "$READELF"; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8017 $as_echo "$READELF" >&6; }
8018 else
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8020 $as_echo "no" >&6; }
8025 if test -z "$ac_cv_prog_READELF"; then
8026 ac_ct_READELF=$READELF
8027 # Extract the first word of "readelf", so it can be a program name with args.
8028 set dummy readelf; ac_word=$2
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8030 $as_echo_n "checking for $ac_word... " >&6; }
8031 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8032 $as_echo_n "(cached) " >&6
8033 else
8034 if test -n "$ac_ct_READELF"; then
8035 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8036 else
8037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8038 for as_dir in $PATH
8040 IFS=$as_save_IFS
8041 test -z "$as_dir" && as_dir=.
8042 for ac_exec_ext in '' $ac_executable_extensions; do
8043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8044 ac_cv_prog_ac_ct_READELF="readelf"
8045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8046 break 2
8048 done
8049 done
8050 IFS=$as_save_IFS
8054 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8055 if test -n "$ac_ct_READELF"; then
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8057 $as_echo "$ac_ct_READELF" >&6; }
8058 else
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8060 $as_echo "no" >&6; }
8063 if test "x$ac_ct_READELF" = x; then
8064 READELF="true"
8065 else
8066 case $cross_compiling:$ac_tool_warned in
8067 yes:)
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8070 ac_tool_warned=yes ;;
8071 esac
8072 READELF=$ac_ct_READELF
8074 else
8075 READELF="$ac_cv_prog_READELF"
8078 wine_rules_file=conf$$rules.make
8079 rm -f $wine_rules_file
8080 SUBDIRS=""
8082 DISABLED_SUBDIRS=""
8084 CONFIGURE_TARGETS=""
8087 wine_fn_append_file ()
8089 as_fn_append $1 " \\$as_nl $2"
8092 wine_fn_append_rule ()
8094 $as_echo "$1" >>$wine_rules_file
8097 wine_fn_config_makefile ()
8099 wine_fn_append_file SUBDIRS $1
8100 if eval test \"x\$"$2"\" = x"no"; then :
8101 wine_fn_append_file DISABLED_SUBDIRS $1
8105 wine_fn_config_symlink ()
8107 ac_links=$@
8108 wine_fn_append_rule \
8109 "$ac_links:
8110 @./config.status \$@"
8111 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8114 wine_binary="wine"
8115 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8116 WINELOADER_PROGRAMS="$wine_binary"
8118 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8120 case $host_os in
8121 cygwin*|mingw32*)
8122 if test -n "$ac_tool_prefix"; then
8123 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8124 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8126 $as_echo_n "checking for $ac_word... " >&6; }
8127 if ${ac_cv_prog_DLLTOOL+:} false; then :
8128 $as_echo_n "(cached) " >&6
8129 else
8130 if test -n "$DLLTOOL"; then
8131 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8132 else
8133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8134 for as_dir in $PATH
8136 IFS=$as_save_IFS
8137 test -z "$as_dir" && as_dir=.
8138 for ac_exec_ext in '' $ac_executable_extensions; do
8139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8140 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8142 break 2
8144 done
8145 done
8146 IFS=$as_save_IFS
8150 DLLTOOL=$ac_cv_prog_DLLTOOL
8151 if test -n "$DLLTOOL"; then
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8153 $as_echo "$DLLTOOL" >&6; }
8154 else
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8156 $as_echo "no" >&6; }
8161 if test -z "$ac_cv_prog_DLLTOOL"; then
8162 ac_ct_DLLTOOL=$DLLTOOL
8163 # Extract the first word of "dlltool", so it can be a program name with args.
8164 set dummy dlltool; ac_word=$2
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8166 $as_echo_n "checking for $ac_word... " >&6; }
8167 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8168 $as_echo_n "(cached) " >&6
8169 else
8170 if test -n "$ac_ct_DLLTOOL"; then
8171 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8172 else
8173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8174 for as_dir in $PATH
8176 IFS=$as_save_IFS
8177 test -z "$as_dir" && as_dir=.
8178 for ac_exec_ext in '' $ac_executable_extensions; do
8179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8180 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8182 break 2
8184 done
8185 done
8186 IFS=$as_save_IFS
8190 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8191 if test -n "$ac_ct_DLLTOOL"; then
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8193 $as_echo "$ac_ct_DLLTOOL" >&6; }
8194 else
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8196 $as_echo "no" >&6; }
8199 if test "x$ac_ct_DLLTOOL" = x; then
8200 DLLTOOL="false"
8201 else
8202 case $cross_compiling:$ac_tool_warned in
8203 yes:)
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8206 ac_tool_warned=yes ;;
8207 esac
8208 DLLTOOL=$ac_ct_DLLTOOL
8210 else
8211 DLLTOOL="$ac_cv_prog_DLLTOOL"
8214 LIBEXT="dll"
8215 DLLEXT=""
8216 case $host_cpu in
8217 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8218 esac
8219 enable_iphlpapi=${enable_iphlpapi:-no}
8220 enable_kernel32=${enable_kernel32:-no}
8221 enable_ntdll=${enable_ntdll:-no}
8222 enable_ws2_32=${enable_ws2_32:-no}
8223 enable_loader=${enable_loader:-no}
8224 enable_server=${enable_server:-no}
8225 with_x=${with_x:-no}
8226 with_pthread=${with_pthread:-no}
8229 darwin*|macosx*)
8230 ac_ext=m
8231 ac_cpp='$OBJCPP $CPPFLAGS'
8232 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8233 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8234 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8236 ac_ext=m
8237 ac_cpp='$OBJCPP $CPPFLAGS'
8238 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8239 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8240 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8241 if test -n "$ac_tool_prefix"; then
8242 for ac_prog in gcc objcc objc cc CC
8244 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8245 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8247 $as_echo_n "checking for $ac_word... " >&6; }
8248 if ${ac_cv_prog_OBJC+:} false; then :
8249 $as_echo_n "(cached) " >&6
8250 else
8251 if test -n "$OBJC"; then
8252 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8253 else
8254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8255 for as_dir in $PATH
8257 IFS=$as_save_IFS
8258 test -z "$as_dir" && as_dir=.
8259 for ac_exec_ext in '' $ac_executable_extensions; do
8260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8261 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8263 break 2
8265 done
8266 done
8267 IFS=$as_save_IFS
8271 OBJC=$ac_cv_prog_OBJC
8272 if test -n "$OBJC"; then
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8274 $as_echo "$OBJC" >&6; }
8275 else
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8277 $as_echo "no" >&6; }
8281 test -n "$OBJC" && break
8282 done
8284 if test -z "$OBJC"; then
8285 ac_ct_OBJC=$OBJC
8286 for ac_prog in gcc objcc objc cc CC
8288 # Extract the first word of "$ac_prog", so it can be a program name with args.
8289 set dummy $ac_prog; ac_word=$2
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8291 $as_echo_n "checking for $ac_word... " >&6; }
8292 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8293 $as_echo_n "(cached) " >&6
8294 else
8295 if test -n "$ac_ct_OBJC"; then
8296 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8297 else
8298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8299 for as_dir in $PATH
8301 IFS=$as_save_IFS
8302 test -z "$as_dir" && as_dir=.
8303 for ac_exec_ext in '' $ac_executable_extensions; do
8304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8305 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8307 break 2
8309 done
8310 done
8311 IFS=$as_save_IFS
8315 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8316 if test -n "$ac_ct_OBJC"; then
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8318 $as_echo "$ac_ct_OBJC" >&6; }
8319 else
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8321 $as_echo "no" >&6; }
8325 test -n "$ac_ct_OBJC" && break
8326 done
8328 if test "x$ac_ct_OBJC" = x; then
8329 OBJC="gcc"
8330 else
8331 case $cross_compiling:$ac_tool_warned in
8332 yes:)
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8335 ac_tool_warned=yes ;;
8336 esac
8337 OBJC=$ac_ct_OBJC
8341 # Provide some information about the compiler.
8342 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8343 set X $ac_compile
8344 ac_compiler=$2
8345 for ac_option in --version -v -V -qversion; do
8346 { { ac_try="$ac_compiler $ac_option >&5"
8347 case "(($ac_try" in
8348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8349 *) ac_try_echo=$ac_try;;
8350 esac
8351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8352 $as_echo "$ac_try_echo"; } >&5
8353 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8354 ac_status=$?
8355 if test -s conftest.err; then
8356 sed '10a\
8357 ... rest of stderr output deleted ...
8358 10q' conftest.err >conftest.er1
8359 cat conftest.er1 >&5
8361 rm -f conftest.er1 conftest.err
8362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8363 test $ac_status = 0; }
8364 done
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8367 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8368 if ${ac_cv_objc_compiler_gnu+:} false; then :
8369 $as_echo_n "(cached) " >&6
8370 else
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8375 main ()
8377 #ifndef __GNUC__
8378 choke me
8379 #endif
8382 return 0;
8384 _ACEOF
8385 if ac_fn_objc_try_compile "$LINENO"; then :
8386 ac_compiler_gnu=yes
8387 else
8388 ac_compiler_gnu=no
8390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8391 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8395 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8396 if test $ac_compiler_gnu = yes; then
8397 GOBJC=yes
8398 else
8399 GOBJC=
8401 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8402 ac_save_OBJCFLAGS=$OBJCFLAGS
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8404 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8405 if ${ac_cv_prog_objc_g+:} false; then :
8406 $as_echo_n "(cached) " >&6
8407 else
8408 ac_save_objc_werror_flag=$ac_objc_werror_flag
8409 ac_objc_werror_flag=yes
8410 ac_cv_prog_objc_g=no
8411 OBJCFLAGS="-g"
8412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8413 /* end confdefs.h. */
8416 main ()
8420 return 0;
8422 _ACEOF
8423 if ac_fn_objc_try_compile "$LINENO"; then :
8424 ac_cv_prog_objc_g=yes
8425 else
8426 OBJCFLAGS=""
8427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8431 main ()
8435 return 0;
8437 _ACEOF
8438 if ac_fn_objc_try_compile "$LINENO"; then :
8440 else
8441 ac_objc_werror_flag=$ac_save_objc_werror_flag
8442 OBJCFLAGS="-g"
8443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8444 /* end confdefs.h. */
8447 main ()
8451 return 0;
8453 _ACEOF
8454 if ac_fn_objc_try_compile "$LINENO"; then :
8455 ac_cv_prog_objc_g=yes
8457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8462 ac_objc_werror_flag=$ac_save_objc_werror_flag
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8465 $as_echo "$ac_cv_prog_objc_g" >&6; }
8466 if test "$ac_test_OBJCFLAGS" = set; then
8467 OBJCFLAGS=$ac_save_OBJCFLAGS
8468 elif test $ac_cv_prog_objc_g = yes; then
8469 if test "$GOBJC" = yes; then
8470 OBJCFLAGS="-g -O2"
8471 else
8472 OBJCFLAGS="-g"
8474 else
8475 if test "$GOBJC" = yes; then
8476 OBJCFLAGS="-O2"
8477 else
8478 OBJCFLAGS=
8481 ac_ext=m
8482 ac_cpp='$OBJCPP $CPPFLAGS'
8483 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8484 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8485 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8488 ac_ext=m
8489 ac_cpp='$OBJCPP $CPPFLAGS'
8490 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8491 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8492 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8494 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8495 if test -z "$OBJCPP"; then
8496 if ${ac_cv_prog_OBJCPP+:} false; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 # Double quotes because OBJCPP needs to be expanded
8500 for OBJCPP in "$OBJC -E" "/lib/cpp"
8502 ac_preproc_ok=false
8503 for ac_objc_preproc_warn_flag in '' yes
8505 # Use a header file that comes with gcc, so configuring glibc
8506 # with a fresh cross-compiler works.
8507 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8508 # <limits.h> exists even on freestanding compilers.
8509 # On the NeXT, cc -E runs the code through the compiler's parser,
8510 # not just through cpp. "Syntax error" is here to catch this case.
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8513 #ifdef __STDC__
8514 # include <limits.h>
8515 #else
8516 # include <assert.h>
8517 #endif
8518 Syntax error
8519 _ACEOF
8520 if ac_fn_objc_try_cpp "$LINENO"; then :
8522 else
8523 # Broken: fails on valid input.
8524 continue
8526 rm -f conftest.err conftest.i conftest.$ac_ext
8528 # OK, works on sane cases. Now check whether nonexistent headers
8529 # can be detected and how.
8530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8531 /* end confdefs.h. */
8532 #include <ac_nonexistent.h>
8533 _ACEOF
8534 if ac_fn_objc_try_cpp "$LINENO"; then :
8535 # Broken: success on invalid input.
8536 continue
8537 else
8538 # Passes both tests.
8539 ac_preproc_ok=:
8540 break
8542 rm -f conftest.err conftest.i conftest.$ac_ext
8544 done
8545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8546 rm -f conftest.i conftest.err conftest.$ac_ext
8547 if $ac_preproc_ok; then :
8548 break
8551 done
8552 ac_cv_prog_OBJCPP=$OBJCPP
8555 OBJCPP=$ac_cv_prog_OBJCPP
8556 else
8557 ac_cv_prog_OBJCPP=$OBJCPP
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8560 $as_echo "$OBJCPP" >&6; }
8561 ac_preproc_ok=false
8562 for ac_objc_preproc_warn_flag in '' yes
8564 # Use a header file that comes with gcc, so configuring glibc
8565 # with a fresh cross-compiler works.
8566 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8567 # <limits.h> exists even on freestanding compilers.
8568 # On the NeXT, cc -E runs the code through the compiler's parser,
8569 # not just through cpp. "Syntax error" is here to catch this case.
8570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8571 /* end confdefs.h. */
8572 #ifdef __STDC__
8573 # include <limits.h>
8574 #else
8575 # include <assert.h>
8576 #endif
8577 Syntax error
8578 _ACEOF
8579 if ac_fn_objc_try_cpp "$LINENO"; then :
8581 else
8582 # Broken: fails on valid input.
8583 continue
8585 rm -f conftest.err conftest.i conftest.$ac_ext
8587 # OK, works on sane cases. Now check whether nonexistent headers
8588 # can be detected and how.
8589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8590 /* end confdefs.h. */
8591 #include <ac_nonexistent.h>
8592 _ACEOF
8593 if ac_fn_objc_try_cpp "$LINENO"; then :
8594 # Broken: success on invalid input.
8595 continue
8596 else
8597 # Passes both tests.
8598 ac_preproc_ok=:
8599 break
8601 rm -f conftest.err conftest.i conftest.$ac_ext
8603 done
8604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8605 rm -f conftest.i conftest.err conftest.$ac_ext
8606 if $ac_preproc_ok; then :
8608 else
8609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8611 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8612 See \`config.log' for more details" "$LINENO" 5; }
8615 ac_ext=m
8616 ac_cpp='$OBJCPP $CPPFLAGS'
8617 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8618 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8619 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8622 for ac_header in Metal/Metal.h
8623 do :
8624 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8625 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8626 cat >>confdefs.h <<_ACEOF
8627 #define HAVE_METAL_METAL_H 1
8628 _ACEOF
8632 done
8634 ac_ext=c
8635 ac_cpp='$CPP $CPPFLAGS'
8636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8640 LIBEXT="dylib"
8641 DLLFLAGS="$DLLFLAGS -fPIC"
8642 LDDLLFLAGS="-fPIC"
8643 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8644 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8645 COREFOUNDATION_LIBS="-framework CoreFoundation"
8647 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8649 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8651 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8653 CORESERVICES_LIBS="-framework CoreServices"
8655 APPKIT_LIBS="-framework AppKit"
8657 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8660 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8662 wine_can_build_preloader=yes
8663 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8665 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8666 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8667 $as_echo_n "(cached) " >&6
8668 else
8669 ac_wine_try_cflags_saved=$CFLAGS
8670 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8672 /* end confdefs.h. */
8673 int main(int argc, char **argv) { return 0; }
8674 _ACEOF
8675 if ac_fn_c_try_link "$LINENO"; then :
8676 ac_cv_cflags__Wl__no_new_main__e__main=yes
8677 else
8678 ac_cv_cflags__Wl__no_new_main__e__main=no
8680 rm -f core conftest.err conftest.$ac_objext \
8681 conftest$ac_exeext conftest.$ac_ext
8682 CFLAGS=$ac_wine_try_cflags_saved
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8685 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8686 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8687 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8689 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8690 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8691 $as_echo_n "(cached) " >&6
8692 else
8693 ac_wine_try_cflags_saved=$CFLAGS
8694 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8696 /* end confdefs.h. */
8697 int main(int argc, char **argv) { return 0; }
8698 _ACEOF
8699 if ac_fn_c_try_link "$LINENO"; then :
8700 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8701 else
8702 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8704 rm -f core conftest.err conftest.$ac_objext \
8705 conftest$ac_exeext conftest.$ac_ext
8706 CFLAGS=$ac_wine_try_cflags_saved
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8709 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8710 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8711 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8712 else
8713 { $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
8714 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8715 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8716 $as_echo_n "(cached) " >&6
8717 else
8718 ac_wine_try_cflags_saved=$CFLAGS
8719 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8722 int main(int argc, char **argv) { return 0; }
8723 _ACEOF
8724 if ac_fn_c_try_link "$LINENO"; then :
8725 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8726 else
8727 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8729 rm -f core conftest.err conftest.$ac_objext \
8730 conftest$ac_exeext conftest.$ac_ext
8731 CFLAGS=$ac_wine_try_cflags_saved
8733 { $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
8734 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8735 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8736 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8737 else
8738 wine_can_build_preloader=no
8741 else
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8743 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8744 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8745 $as_echo_n "(cached) " >&6
8746 else
8747 ac_wine_try_cflags_saved=$CFLAGS
8748 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8750 /* end confdefs.h. */
8751 int main(int argc, char **argv) { return 0; }
8752 _ACEOF
8753 if ac_fn_c_try_link "$LINENO"; then :
8754 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8755 else
8756 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8758 rm -f core conftest.err conftest.$ac_objext \
8759 conftest$ac_exeext conftest.$ac_ext
8760 CFLAGS=$ac_wine_try_cflags_saved
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8763 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8764 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8765 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8766 else
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8768 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8769 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8770 $as_echo_n "(cached) " >&6
8771 else
8772 ac_wine_try_cflags_saved=$CFLAGS
8773 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8775 /* end confdefs.h. */
8776 int main(int argc, char **argv) { return 0; }
8777 _ACEOF
8778 if ac_fn_c_try_link "$LINENO"; then :
8779 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8780 else
8781 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8783 rm -f core conftest.err conftest.$ac_objext \
8784 conftest$ac_exeext conftest.$ac_ext
8785 CFLAGS=$ac_wine_try_cflags_saved
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8788 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8789 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8790 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8791 else
8792 wine_can_build_preloader=no
8796 if test "$wine_can_build_preloader" = "yes"
8797 then
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8799 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8800 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8801 $as_echo_n "(cached) " >&6
8802 else
8803 ac_wine_try_cflags_saved=$CFLAGS
8804 CFLAGS="$CFLAGS -Wl,-no_pie"
8805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8806 /* end confdefs.h. */
8807 int main(int argc, char **argv) { return 0; }
8808 _ACEOF
8809 if ac_fn_c_try_link "$LINENO"; then :
8810 ac_cv_cflags__Wl__no_pie=yes
8811 else
8812 ac_cv_cflags__Wl__no_pie=no
8814 rm -f core conftest.err conftest.$ac_objext \
8815 conftest$ac_exeext conftest.$ac_ext
8816 CFLAGS=$ac_wine_try_cflags_saved
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8819 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8820 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8821 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8823 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8824 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8825 else
8826 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8829 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8830 then
8831 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8834 if test "$ac_cv_header_Security_Security_h" = "yes"
8835 then
8836 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8838 ac_save_LIBS="$LIBS"
8839 LIBS="$LIBS $SECURITY_LIBS"
8840 for ac_func in SSLCopyPeerCertificates
8841 do :
8842 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8843 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8844 cat >>confdefs.h <<_ACEOF
8845 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8846 _ACEOF
8849 done
8851 LIBS="$ac_save_LIBS"
8853 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8854 then
8855 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8856 then
8857 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8859 else
8860 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8863 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8864 ac_save_LIBS="$LIBS"
8865 LIBS="$LIBS $COREAUDIO_LIBS"
8866 for ac_func in AUGraphAddNode
8867 do :
8868 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8869 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8870 cat >>confdefs.h <<_ACEOF
8871 #define HAVE_AUGRAPHADDNODE 1
8872 _ACEOF
8875 done
8877 LIBS="$ac_save_LIBS"
8879 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8880 then
8881 OPENAL_LIBS="-framework OpenAL"
8884 cat >>confdefs.h <<_ACEOF
8885 #define HAVE_OPENAL 1
8886 _ACEOF
8888 ac_cv_lib_openal=yes
8890 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8891 then
8892 OPENCL_LIBS="-framework OpenCL"
8894 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8896 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8897 then
8898 ac_save_LIBS="$LIBS"
8899 LIBS="$LIBS $IOKIT_LIBS"
8900 for ac_func in IOHIDManagerCreate
8901 do :
8902 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8903 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8904 cat >>confdefs.h <<_ACEOF
8905 #define HAVE_IOHIDMANAGERCREATE 1
8906 _ACEOF
8909 done
8911 LIBS="$ac_save_LIBS"
8913 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8914 then
8915 ac_save_LIBS="$LIBS"
8916 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8918 $as_echo_n "checking for the QuickTime framework... " >&6; }
8919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8920 /* end confdefs.h. */
8921 #include <QuickTime/ImageCompression.h>
8923 main ()
8925 CodecManagerVersion(NULL);
8927 return 0;
8929 _ACEOF
8930 if ac_fn_c_try_link "$LINENO"; then :
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8932 $as_echo "yes" >&6; }
8933 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8935 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8936 else
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8938 $as_echo "no" >&6; }
8939 ac_cv_header_QuickTime_ImageCompression_h=no
8941 rm -f core conftest.err conftest.$ac_objext \
8942 conftest$ac_exeext conftest.$ac_ext
8943 LIBS="$ac_save_LIBS"
8945 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8946 then
8947 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8949 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8950 then
8951 CARBON_LIBS="-framework Carbon"
8954 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8955 then
8956 METAL_LIBS="-framework Metal -framework QuartzCore"
8960 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8961 then
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8963 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8964 ac_ext=m
8965 ac_cpp='$OBJCPP $CPPFLAGS'
8966 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8967 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8968 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8971 /* end confdefs.h. */
8972 #include <Metal/Metal.h>
8974 main ()
8976 id<MTLDevice> device; device.registryID;
8978 return 0;
8980 _ACEOF
8981 if ac_fn_objc_try_compile "$LINENO"; then :
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8983 $as_echo "yes" >&6; }
8985 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8987 else
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8989 $as_echo "no" >&6; }
8991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8992 ac_ext=c
8993 ac_cpp='$CPP $CPPFLAGS'
8994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9000 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9001 then
9002 ac_save_LIBS="$LIBS"
9003 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9004 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9005 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9006 enable_winemac_drv=${enable_winemac_drv:-yes}
9009 LIBS="$ac_save_LIBS"
9012 if test "x$enable_win16" = "xyes"
9013 then
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9015 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9016 if test "$cross_compiling" = yes; then :
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9018 $as_echo "cross-compiling, assuming yes" >&6; }
9019 else
9020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9021 /* end confdefs.h. */
9022 asm(".text\n"
9023 "bad:\tnop;nop\n"
9024 "good:\tnop;nop\n\t"
9025 ".globl _testfunc\n"
9026 "_testfunc:\tcallw good");
9027 extern void testfunc();
9029 main ()
9031 unsigned short *p = (unsigned short *)testfunc;
9032 return p[0] != 0xe866 || p[1] != 0xfffa
9034 return 0;
9036 _ACEOF
9037 if ac_fn_c_try_run "$LINENO"; then :
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9039 $as_echo "yes" >&6; }
9040 else
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9042 $as_echo "no" >&6; }
9043 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
9045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9046 conftest.$ac_objext conftest.beam conftest.$ac_ext
9051 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9053 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9055 WINELOADER_DEPENDS="wine_info.plist"
9057 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9058 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9061 linux-android*)
9062 DLLFLAGS="$DLLFLAGS -fPIC"
9063 LDDLLFLAGS="-fPIC"
9064 LDEXECFLAGS="-Wl,-pie"
9065 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9067 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9068 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9069 $as_echo_n "(cached) " >&6
9070 else
9071 ac_wine_try_cflags_saved=$CFLAGS
9072 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9074 /* end confdefs.h. */
9075 int main(int argc, char **argv) { return 0; }
9076 _ACEOF
9077 if ac_fn_c_try_link "$LINENO"; then :
9078 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9079 else
9080 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9082 rm -f core conftest.err conftest.$ac_objext \
9083 conftest$ac_exeext conftest.$ac_ext
9084 CFLAGS=$ac_wine_try_cflags_saved
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9087 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9088 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9089 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9091 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9092 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9094 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9095 if eval \${$as_ac_var+:} false; then :
9096 $as_echo_n "(cached) " >&6
9097 else
9098 ac_wine_try_cflags_saved=$CFLAGS
9099 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9102 int main(int argc, char **argv) { return 0; }
9103 _ACEOF
9104 if ac_fn_c_try_link "$LINENO"; then :
9105 eval "$as_ac_var=yes"
9106 else
9107 eval "$as_ac_var=no"
9109 rm -f core conftest.err conftest.$ac_objext \
9110 conftest$ac_exeext conftest.$ac_ext
9111 CFLAGS=$ac_wine_try_cflags_saved
9113 eval ac_res=\$$as_ac_var
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9115 $as_echo "$ac_res" >&6; }
9116 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9117 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9118 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9119 else
9120 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9122 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9123 if eval \${$as_ac_var+:} false; then :
9124 $as_echo_n "(cached) " >&6
9125 else
9126 ac_wine_try_cflags_saved=$CFLAGS
9127 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9130 int main(int argc, char **argv) { return 0; }
9131 _ACEOF
9132 if ac_fn_c_try_link "$LINENO"; then :
9133 eval "$as_ac_var=yes"
9134 else
9135 eval "$as_ac_var=no"
9137 rm -f core conftest.err conftest.$ac_objext \
9138 conftest$ac_exeext conftest.$ac_ext
9139 CFLAGS=$ac_wine_try_cflags_saved
9141 eval ac_res=\$$as_ac_var
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9143 $as_echo "$ac_res" >&6; }
9144 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9145 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9146 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9150 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9151 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9152 $as_echo_n "(cached) " >&6
9153 else
9154 ac_wine_try_cflags_saved=$CFLAGS
9155 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9157 /* end confdefs.h. */
9158 int main(int argc, char **argv) { return 0; }
9159 _ACEOF
9160 if ac_fn_c_try_link "$LINENO"; then :
9161 ac_cv_cflags__Wl___enable_new_dtags=yes
9162 else
9163 ac_cv_cflags__Wl___enable_new_dtags=no
9165 rm -f core conftest.err conftest.$ac_objext \
9166 conftest$ac_exeext conftest.$ac_ext
9167 CFLAGS=$ac_wine_try_cflags_saved
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9170 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9171 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9172 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9175 LIBWINE_SHAREDLIB="libwine.so"
9177 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9179 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9182 $as_echo_n "checking for -lEGL... " >&6; }
9183 if ${ac_cv_lib_soname_EGL+:} false; then :
9184 $as_echo_n "(cached) " >&6
9185 else
9186 ac_check_soname_save_LIBS=$LIBS
9187 LIBS="-lEGL $LIBS"
9188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h. */
9191 /* Override any GCC internal prototype to avoid an error.
9192 Use char because int might match the return type of a GCC
9193 builtin and then its argument prototype would still apply. */
9194 #ifdef __cplusplus
9195 extern "C"
9196 #endif
9197 char eglGetProcAddress ();
9199 main ()
9201 return eglGetProcAddress ();
9203 return 0;
9205 _ACEOF
9206 if ac_fn_c_try_link "$LINENO"; then :
9207 case "$LIBEXT" in
9208 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9209 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'` ;;
9210 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9211 if ${ac_cv_lib_soname_EGL:+false} :; then :
9212 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9213 fi ;;
9214 esac
9215 else
9216 ac_cv_lib_soname_EGL=
9218 rm -f core conftest.err conftest.$ac_objext \
9219 conftest$ac_exeext conftest.$ac_ext
9220 LIBS=$ac_check_soname_save_LIBS
9222 if ${ac_cv_lib_soname_EGL:+false} :; then :
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9224 $as_echo "not found" >&6; }
9226 else
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9228 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9230 cat >>confdefs.h <<_ACEOF
9231 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9232 _ACEOF
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9237 $as_echo_n "checking for -lGLESv2... " >&6; }
9238 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9239 $as_echo_n "(cached) " >&6
9240 else
9241 ac_check_soname_save_LIBS=$LIBS
9242 LIBS="-lGLESv2 $LIBS"
9243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9244 /* end confdefs.h. */
9246 /* Override any GCC internal prototype to avoid an error.
9247 Use char because int might match the return type of a GCC
9248 builtin and then its argument prototype would still apply. */
9249 #ifdef __cplusplus
9250 extern "C"
9251 #endif
9252 char glFlush ();
9254 main ()
9256 return glFlush ();
9258 return 0;
9260 _ACEOF
9261 if ac_fn_c_try_link "$LINENO"; then :
9262 case "$LIBEXT" in
9263 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9264 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'` ;;
9265 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9266 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9267 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9268 fi ;;
9269 esac
9270 else
9271 ac_cv_lib_soname_GLESv2=
9273 rm -f core conftest.err conftest.$ac_objext \
9274 conftest$ac_exeext conftest.$ac_ext
9275 LIBS=$ac_check_soname_save_LIBS
9277 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9279 $as_echo "not found" >&6; }
9281 else
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9283 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9285 cat >>confdefs.h <<_ACEOF
9286 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9287 _ACEOF
9292 if test "x$exec_prefix" = xNONE
9293 then
9294 case $host_cpu in
9295 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9296 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9297 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9298 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9299 esac
9304 case $host_cpu in
9305 *i[3456789]86*)
9306 DLLFLAGS="$DLLFLAGS -fno-PIC"
9307 LDDLLFLAGS="-fno-PIC" ;;
9309 DLLFLAGS="$DLLFLAGS -fPIC"
9310 LDDLLFLAGS="-fPIC" ;;
9311 esac
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9313 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9314 if ${ac_cv_c_dll_gnuelf+:} false; then :
9315 $as_echo_n "(cached) " >&6
9316 else
9317 ac_wine_try_cflags_saved=$CFLAGS
9318 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9320 /* end confdefs.h. */
9321 void myfunc() {}
9322 _ACEOF
9323 if ac_fn_c_try_link "$LINENO"; then :
9324 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9325 else
9326 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9328 rm -f core conftest.err conftest.$ac_objext \
9329 conftest$ac_exeext conftest.$ac_ext
9330 CFLAGS=$ac_wine_try_cflags_saved
9331 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9332 ac_cv_c_dll_gnuelf="yes"
9333 else
9334 ac_cv_c_dll_gnuelf="no"
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9338 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9339 if test "$ac_cv_c_dll_gnuelf" = "yes"
9340 then
9341 LIBWINE_LDFLAGS="-shared"
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9343 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9344 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9345 $as_echo_n "(cached) " >&6
9346 else
9347 ac_wine_try_cflags_saved=$CFLAGS
9348 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h. */
9351 int main(int argc, char **argv) { return 0; }
9352 _ACEOF
9353 if ac_fn_c_try_link "$LINENO"; then :
9354 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9355 else
9356 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9358 rm -f core conftest.err conftest.$ac_objext \
9359 conftest$ac_exeext conftest.$ac_ext
9360 CFLAGS=$ac_wine_try_cflags_saved
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9363 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9364 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9365 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9366 else
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9368 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9369 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9370 $as_echo_n "(cached) " >&6
9371 else
9372 ac_wine_try_cflags_saved=$CFLAGS
9373 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h. */
9376 int main(int argc, char **argv) { return 0; }
9377 _ACEOF
9378 if ac_fn_c_try_link "$LINENO"; then :
9379 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9380 else
9381 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9383 rm -f core conftest.err conftest.$ac_objext \
9384 conftest$ac_exeext conftest.$ac_ext
9385 CFLAGS=$ac_wine_try_cflags_saved
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9388 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9389 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9390 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9394 echo '{ global: *; };' >conftest.map
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9396 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9397 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9398 $as_echo_n "(cached) " >&6
9399 else
9400 ac_wine_try_cflags_saved=$CFLAGS
9401 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9403 /* end confdefs.h. */
9404 int main(int argc, char **argv) { return 0; }
9405 _ACEOF
9406 if ac_fn_c_try_link "$LINENO"; then :
9407 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9408 else
9409 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9411 rm -f core conftest.err conftest.$ac_objext \
9412 conftest$ac_exeext conftest.$ac_ext
9413 CFLAGS=$ac_wine_try_cflags_saved
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9416 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9417 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9418 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9420 rm -f conftest.map
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9423 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9424 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9425 $as_echo_n "(cached) " >&6
9426 else
9427 ac_wine_try_cflags_saved=$CFLAGS
9428 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9430 /* end confdefs.h. */
9431 int main(int argc, char **argv) { return 0; }
9432 _ACEOF
9433 if ac_fn_c_try_link "$LINENO"; then :
9434 ac_cv_cflags__Wl___export_dynamic=yes
9435 else
9436 ac_cv_cflags__Wl___export_dynamic=no
9438 rm -f core conftest.err conftest.$ac_objext \
9439 conftest$ac_exeext conftest.$ac_ext
9440 CFLAGS=$ac_wine_try_cflags_saved
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9443 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9444 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9445 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9447 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9449 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9451 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9452 if eval \${$as_ac_var+:} false; then :
9453 $as_echo_n "(cached) " >&6
9454 else
9455 ac_wine_try_cflags_saved=$CFLAGS
9456 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h. */
9459 int main(int argc, char **argv) { return 0; }
9460 _ACEOF
9461 if ac_fn_c_try_link "$LINENO"; then :
9462 eval "$as_ac_var=yes"
9463 else
9464 eval "$as_ac_var=no"
9466 rm -f core conftest.err conftest.$ac_objext \
9467 conftest$ac_exeext conftest.$ac_ext
9468 CFLAGS=$ac_wine_try_cflags_saved
9470 eval ac_res=\$$as_ac_var
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9472 $as_echo "$ac_res" >&6; }
9473 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9474 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9475 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9476 else
9477 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9479 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9480 if eval \${$as_ac_var+:} false; then :
9481 $as_echo_n "(cached) " >&6
9482 else
9483 ac_wine_try_cflags_saved=$CFLAGS
9484 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9487 int main(int argc, char **argv) { return 0; }
9488 _ACEOF
9489 if ac_fn_c_try_link "$LINENO"; then :
9490 eval "$as_ac_var=yes"
9491 else
9492 eval "$as_ac_var=no"
9494 rm -f core conftest.err conftest.$ac_objext \
9495 conftest$ac_exeext conftest.$ac_ext
9496 CFLAGS=$ac_wine_try_cflags_saved
9498 eval ac_res=\$$as_ac_var
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9500 $as_echo "$ac_res" >&6; }
9501 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9502 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9503 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9508 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9509 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9510 $as_echo_n "(cached) " >&6
9511 else
9512 ac_wine_try_cflags_saved=$CFLAGS
9513 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h. */
9516 int main(int argc, char **argv) { return 0; }
9517 _ACEOF
9518 if ac_fn_c_try_link "$LINENO"; then :
9519 ac_cv_cflags__Wl___enable_new_dtags=yes
9520 else
9521 ac_cv_cflags__Wl___enable_new_dtags=no
9523 rm -f core conftest.err conftest.$ac_objext \
9524 conftest$ac_exeext conftest.$ac_ext
9525 CFLAGS=$ac_wine_try_cflags_saved
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9528 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9529 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9530 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9533 case $host_cpu in
9534 *i[3456789]86* | x86_64 | *aarch64*)
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9536 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9537 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9538 $as_echo_n "(cached) " >&6
9539 else
9540 ac_wine_try_cflags_saved=$CFLAGS
9541 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9543 /* end confdefs.h. */
9544 int main(int argc, char **argv) { return 0; }
9545 _ACEOF
9546 if ac_fn_c_try_link "$LINENO"; then :
9547 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9548 else
9549 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9551 rm -f core conftest.err conftest.$ac_objext \
9552 conftest$ac_exeext conftest.$ac_ext
9553 CFLAGS=$ac_wine_try_cflags_saved
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9556 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9557 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9558 case $host_os in
9559 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9560 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9561 esac
9562 else
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9564 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9565 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9566 $as_echo_n "(cached) " >&6
9567 else
9568 ac_wine_try_cflags_saved=$CFLAGS
9569 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9572 int main(int argc, char **argv) { return 0; }
9573 _ACEOF
9574 if ac_fn_c_try_link "$LINENO"; then :
9575 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9576 else
9577 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9579 rm -f core conftest.err conftest.$ac_objext \
9580 conftest$ac_exeext conftest.$ac_ext
9581 CFLAGS=$ac_wine_try_cflags_saved
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9584 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9585 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9586 case $host_os in
9587 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9588 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9589 esac
9591 # Extract the first word of "prelink", so it can be a program name with args.
9592 set dummy prelink; ac_word=$2
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9594 $as_echo_n "checking for $ac_word... " >&6; }
9595 if ${ac_cv_path_PRELINK+:} false; then :
9596 $as_echo_n "(cached) " >&6
9597 else
9598 case $PRELINK in
9599 [\\/]* | ?:[\\/]*)
9600 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9604 for as_dir in /sbin /usr/sbin $PATH
9606 IFS=$as_save_IFS
9607 test -z "$as_dir" && as_dir=.
9608 for ac_exec_ext in '' $ac_executable_extensions; do
9609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9610 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9612 break 2
9614 done
9615 done
9616 IFS=$as_save_IFS
9618 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9620 esac
9622 PRELINK=$ac_cv_path_PRELINK
9623 if test -n "$PRELINK"; then
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9625 $as_echo "$PRELINK" >&6; }
9626 else
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9628 $as_echo "no" >&6; }
9632 if test "x$PRELINK" = xfalse
9633 then
9634 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9638 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9639 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9640 $as_echo_n "(cached) " >&6
9641 else
9642 ac_wine_try_cflags_saved=$CFLAGS
9643 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9645 /* end confdefs.h. */
9646 int main(int argc, char **argv) { return 0; }
9647 _ACEOF
9648 if ac_fn_c_try_link "$LINENO"; then :
9649 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9650 else
9651 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9653 rm -f core conftest.err conftest.$ac_objext \
9654 conftest$ac_exeext conftest.$ac_ext
9655 CFLAGS=$ac_wine_try_cflags_saved
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9658 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9659 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9660 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9663 esac
9665 else
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9667 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9668 if ${ac_cv_c_dll_unixware+:} false; then :
9669 $as_echo_n "(cached) " >&6
9670 else
9671 ac_wine_try_cflags_saved=$CFLAGS
9672 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9675 void myfunc() {}
9676 _ACEOF
9677 if ac_fn_c_try_link "$LINENO"; then :
9678 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9679 else
9680 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9682 rm -f core conftest.err conftest.$ac_objext \
9683 conftest$ac_exeext conftest.$ac_ext
9684 CFLAGS=$ac_wine_try_cflags_saved
9685 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9686 ac_cv_c_dll_unixware="yes"
9687 else
9688 ac_cv_c_dll_unixware="no"
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9692 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9693 if test "$ac_cv_c_dll_unixware" = "yes"
9694 then
9695 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9698 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9700 LIBWINE_DEPENDS="wine.map"
9702 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9703 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9705 esac
9707 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9708 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9709 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9710 enable_winemac_drv=${enable_winemac_drv:-no}
9711 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9713 CROSSTARGET=""
9715 if test "x$with_mingw" != xno
9716 then
9717 case "x$with_mingw" in
9718 x|xyes) case "$host_cpu" in
9719 aarch64*)
9720 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9721 arm*)
9722 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9723 i[3456789]86*)
9724 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
9725 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9726 mingw32-gcc" ;;
9727 x86_64)
9728 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
9729 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9731 ac_prefix_list="" ;;
9732 esac
9733 for ac_prog in $ac_prefix_list
9735 # Extract the first word of "$ac_prog", so it can be a program name with args.
9736 set dummy $ac_prog; ac_word=$2
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9738 $as_echo_n "checking for $ac_word... " >&6; }
9739 if ${ac_cv_prog_CROSSCC+:} false; then :
9740 $as_echo_n "(cached) " >&6
9741 else
9742 if test -n "$CROSSCC"; then
9743 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9744 else
9745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9746 for as_dir in $PATH
9748 IFS=$as_save_IFS
9749 test -z "$as_dir" && as_dir=.
9750 for ac_exec_ext in '' $ac_executable_extensions; do
9751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9752 ac_cv_prog_CROSSCC="$ac_prog"
9753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9754 break 2
9756 done
9757 done
9758 IFS=$as_save_IFS
9762 CROSSCC=$ac_cv_prog_CROSSCC
9763 if test -n "$CROSSCC"; then
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9765 $as_echo "$CROSSCC" >&6; }
9766 else
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9768 $as_echo "no" >&6; }
9772 test -n "$CROSSCC" && break
9773 done
9774 test -n "$CROSSCC" || CROSSCC="false"
9776 *) CROSSCC=$with_mingw ;;
9777 esac
9778 if test "$CROSSCC" != "false"
9779 then
9780 ac_save_CC="$CC"
9781 saved_CFLAGS=$CFLAGS
9782 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9784 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9788 CC="$CROSSCC"
9789 CFLAGS=$CROSSCFLAGS
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9791 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9792 if ${wine_cv_crosscc+:} false; then :
9793 $as_echo_n "(cached) " >&6
9794 else
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9799 main ()
9803 return 0;
9805 _ACEOF
9806 if ac_fn_c_try_compile "$LINENO"; then :
9807 wine_cv_crosscc=yes
9808 else
9809 wine_cv_crosscc=no
9811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9814 $as_echo "$wine_cv_crosscc" >&6; }
9815 if test $wine_cv_crosscc = yes
9816 then
9817 set x $CROSSCC
9818 shift
9819 while test $# -ge 1
9821 case "$1" in
9822 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9823 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9824 esac
9825 shift
9826 done
9828 llvm_target=$CROSSTARGET
9829 if test -z "$llvm_target"
9830 then
9831 case $host_cpu in
9832 *i[3456789]86*) llvm_target=i686-windows-gnu ;;
9833 *) llvm_target=$host_cpu-windows-gnu ;;
9834 esac
9836 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target -fuse-ld=lld" | $as_tr_sh`
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld" >&5
9838 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld... " >&6; }
9839 if eval \${$as_ac_var+:} false; then :
9840 $as_echo_n "(cached) " >&6
9841 else
9842 ac_wine_try_cflags_saved=$CFLAGS
9843 ac_wine_try_cflags_saved_cc=$CC
9844 ac_wine_try_cflags_saved_exeext=$ac_exeext
9845 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target -fuse-ld=lld"
9846 CC="$CROSSCC"
9847 ac_exeext=".exe"
9848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9850 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9851 _ACEOF
9852 if ac_fn_c_try_link "$LINENO"; then :
9853 eval "$as_ac_var=yes"
9854 else
9855 eval "$as_ac_var=no"
9857 rm -f core conftest.err conftest.$ac_objext \
9858 conftest$ac_exeext conftest.$ac_ext
9859 CFLAGS=$ac_wine_try_cflags_saved
9860 CC=$ac_wine_try_cflags_saved_cc
9861 ac_exeext=$ac_wine_try_cflags_saved_exeext
9863 eval ac_res=\$$as_ac_var
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9865 $as_echo "$ac_res" >&6; }
9866 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9867 CROSSTARGET=$llvm_target
9868 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9869 CFLAGS="$CFLAGS -fuse-ld=lld"
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9873 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9874 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9875 $as_echo_n "(cached) " >&6
9876 else
9877 ac_wine_try_cflags_saved=$CFLAGS
9878 ac_wine_try_cflags_saved_cc=$CC
9879 ac_wine_try_cflags_saved_exeext=$ac_exeext
9880 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9881 CC="$CROSSCC"
9882 ac_exeext=".exe"
9883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9885 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9886 _ACEOF
9887 if ac_fn_c_try_link "$LINENO"; then :
9888 ac_cv_crosscflags__fno_strict_aliasing=yes
9889 else
9890 ac_cv_crosscflags__fno_strict_aliasing=no
9892 rm -f core conftest.err conftest.$ac_objext \
9893 conftest$ac_exeext conftest.$ac_ext
9894 CFLAGS=$ac_wine_try_cflags_saved
9895 CC=$ac_wine_try_cflags_saved_cc
9896 ac_exeext=$ac_wine_try_cflags_saved_exeext
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9899 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9900 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9901 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9904 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9905 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9906 $as_echo_n "(cached) " >&6
9907 else
9908 ac_wine_try_cflags_saved=$CFLAGS
9909 ac_wine_try_cflags_saved_cc=$CC
9910 ac_wine_try_cflags_saved_exeext=$ac_exeext
9911 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9912 CC="$CROSSCC"
9913 ac_exeext=".exe"
9914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9915 /* end confdefs.h. */
9916 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9917 _ACEOF
9918 if ac_fn_c_try_link "$LINENO"; then :
9919 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9920 else
9921 ac_cv_crosscflags__Werror_unknown_warning_option=no
9923 rm -f core conftest.err conftest.$ac_objext \
9924 conftest$ac_exeext conftest.$ac_ext
9925 CFLAGS=$ac_wine_try_cflags_saved
9926 CC=$ac_wine_try_cflags_saved_cc
9927 ac_exeext=$ac_wine_try_cflags_saved_exeext
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9930 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9931 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9932 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9935 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9936 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9937 $as_echo_n "(cached) " >&6
9938 else
9939 ac_wine_try_cflags_saved=$CFLAGS
9940 ac_wine_try_cflags_saved_cc=$CC
9941 ac_wine_try_cflags_saved_exeext=$ac_exeext
9942 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9943 CC="$CROSSCC"
9944 ac_exeext=".exe"
9945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9947 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9948 _ACEOF
9949 if ac_fn_c_try_link "$LINENO"; then :
9950 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9951 else
9952 ac_cv_crosscflags__Wdeclaration_after_statement=no
9954 rm -f core conftest.err conftest.$ac_objext \
9955 conftest$ac_exeext conftest.$ac_ext
9956 CFLAGS=$ac_wine_try_cflags_saved
9957 CC=$ac_wine_try_cflags_saved_cc
9958 ac_exeext=$ac_wine_try_cflags_saved_exeext
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9961 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9962 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9963 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9966 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9967 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9968 $as_echo_n "(cached) " >&6
9969 else
9970 ac_wine_try_cflags_saved=$CFLAGS
9971 ac_wine_try_cflags_saved_cc=$CC
9972 ac_wine_try_cflags_saved_exeext=$ac_exeext
9973 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9974 CC="$CROSSCC"
9975 ac_exeext=".exe"
9976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9978 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
9979 _ACEOF
9980 if ac_fn_c_try_link "$LINENO"; then :
9981 ac_cv_crosscflags__Wempty_body=yes
9982 else
9983 ac_cv_crosscflags__Wempty_body=no
9985 rm -f core conftest.err conftest.$ac_objext \
9986 conftest$ac_exeext conftest.$ac_ext
9987 CFLAGS=$ac_wine_try_cflags_saved
9988 CC=$ac_wine_try_cflags_saved_cc
9989 ac_exeext=$ac_wine_try_cflags_saved_exeext
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9992 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9993 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9994 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9997 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9998 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9999 $as_echo_n "(cached) " >&6
10000 else
10001 ac_wine_try_cflags_saved=$CFLAGS
10002 ac_wine_try_cflags_saved_cc=$CC
10003 ac_wine_try_cflags_saved_exeext=$ac_exeext
10004 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10005 CC="$CROSSCC"
10006 ac_exeext=".exe"
10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10009 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10010 _ACEOF
10011 if ac_fn_c_try_link "$LINENO"; then :
10012 ac_cv_crosscflags__Wignored_qualifiers=yes
10013 else
10014 ac_cv_crosscflags__Wignored_qualifiers=no
10016 rm -f core conftest.err conftest.$ac_objext \
10017 conftest$ac_exeext conftest.$ac_ext
10018 CFLAGS=$ac_wine_try_cflags_saved
10019 CC=$ac_wine_try_cflags_saved_cc
10020 ac_exeext=$ac_wine_try_cflags_saved_exeext
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10023 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10024 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10025 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10028 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10029 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10030 $as_echo_n "(cached) " >&6
10031 else
10032 ac_wine_try_cflags_saved=$CFLAGS
10033 ac_wine_try_cflags_saved_cc=$CC
10034 ac_wine_try_cflags_saved_exeext=$ac_exeext
10035 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10036 CC="$CROSSCC"
10037 ac_exeext=".exe"
10038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10039 /* end confdefs.h. */
10040 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10041 _ACEOF
10042 if ac_fn_c_try_link "$LINENO"; then :
10043 ac_cv_crosscflags__Wpacked_not_aligned=yes
10044 else
10045 ac_cv_crosscflags__Wpacked_not_aligned=no
10047 rm -f core conftest.err conftest.$ac_objext \
10048 conftest$ac_exeext conftest.$ac_ext
10049 CFLAGS=$ac_wine_try_cflags_saved
10050 CC=$ac_wine_try_cflags_saved_cc
10051 ac_exeext=$ac_wine_try_cflags_saved_exeext
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10054 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10055 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10056 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10059 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10060 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10061 $as_echo_n "(cached) " >&6
10062 else
10063 ac_wine_try_cflags_saved=$CFLAGS
10064 ac_wine_try_cflags_saved_cc=$CC
10065 ac_wine_try_cflags_saved_exeext=$ac_exeext
10066 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10067 CC="$CROSSCC"
10068 ac_exeext=".exe"
10069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10070 /* end confdefs.h. */
10071 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10072 _ACEOF
10073 if ac_fn_c_try_link "$LINENO"; then :
10074 ac_cv_crosscflags__Wpragma_pack=yes
10075 else
10076 ac_cv_crosscflags__Wpragma_pack=no
10078 rm -f core conftest.err conftest.$ac_objext \
10079 conftest$ac_exeext conftest.$ac_ext
10080 CFLAGS=$ac_wine_try_cflags_saved
10081 CC=$ac_wine_try_cflags_saved_cc
10082 ac_exeext=$ac_wine_try_cflags_saved_exeext
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10085 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10086 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10087 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10090 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10091 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10092 $as_echo_n "(cached) " >&6
10093 else
10094 ac_wine_try_cflags_saved=$CFLAGS
10095 ac_wine_try_cflags_saved_cc=$CC
10096 ac_wine_try_cflags_saved_exeext=$ac_exeext
10097 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10098 CC="$CROSSCC"
10099 ac_exeext=".exe"
10100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10101 /* end confdefs.h. */
10102 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10103 _ACEOF
10104 if ac_fn_c_try_link "$LINENO"; then :
10105 ac_cv_crosscflags__Wshift_overflow_2=yes
10106 else
10107 ac_cv_crosscflags__Wshift_overflow_2=no
10109 rm -f core conftest.err conftest.$ac_objext \
10110 conftest$ac_exeext conftest.$ac_ext
10111 CFLAGS=$ac_wine_try_cflags_saved
10112 CC=$ac_wine_try_cflags_saved_cc
10113 ac_exeext=$ac_wine_try_cflags_saved_exeext
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10116 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10117 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10118 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10121 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10122 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10123 $as_echo_n "(cached) " >&6
10124 else
10125 ac_wine_try_cflags_saved=$CFLAGS
10126 ac_wine_try_cflags_saved_cc=$CC
10127 ac_wine_try_cflags_saved_exeext=$ac_exeext
10128 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10129 CC="$CROSSCC"
10130 ac_exeext=".exe"
10131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10133 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10134 _ACEOF
10135 if ac_fn_c_try_link "$LINENO"; then :
10136 ac_cv_crosscflags__Wstrict_prototypes=yes
10137 else
10138 ac_cv_crosscflags__Wstrict_prototypes=no
10140 rm -f core conftest.err conftest.$ac_objext \
10141 conftest$ac_exeext conftest.$ac_ext
10142 CFLAGS=$ac_wine_try_cflags_saved
10143 CC=$ac_wine_try_cflags_saved_cc
10144 ac_exeext=$ac_wine_try_cflags_saved_exeext
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10147 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10148 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10149 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10152 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10153 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10154 $as_echo_n "(cached) " >&6
10155 else
10156 ac_wine_try_cflags_saved=$CFLAGS
10157 ac_wine_try_cflags_saved_cc=$CC
10158 ac_wine_try_cflags_saved_exeext=$ac_exeext
10159 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10160 CC="$CROSSCC"
10161 ac_exeext=".exe"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10164 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10165 _ACEOF
10166 if ac_fn_c_try_link "$LINENO"; then :
10167 ac_cv_crosscflags__Wtype_limits=yes
10168 else
10169 ac_cv_crosscflags__Wtype_limits=no
10171 rm -f core conftest.err conftest.$ac_objext \
10172 conftest$ac_exeext conftest.$ac_ext
10173 CFLAGS=$ac_wine_try_cflags_saved
10174 CC=$ac_wine_try_cflags_saved_cc
10175 ac_exeext=$ac_wine_try_cflags_saved_exeext
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10178 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10179 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10180 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10183 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10184 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10185 $as_echo_n "(cached) " >&6
10186 else
10187 ac_wine_try_cflags_saved=$CFLAGS
10188 ac_wine_try_cflags_saved_cc=$CC
10189 ac_wine_try_cflags_saved_exeext=$ac_exeext
10190 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10191 CC="$CROSSCC"
10192 ac_exeext=".exe"
10193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10195 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10196 _ACEOF
10197 if ac_fn_c_try_link "$LINENO"; then :
10198 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10199 else
10200 ac_cv_crosscflags__Wunused_but_set_parameter=no
10202 rm -f core conftest.err conftest.$ac_objext \
10203 conftest$ac_exeext conftest.$ac_ext
10204 CFLAGS=$ac_wine_try_cflags_saved
10205 CC=$ac_wine_try_cflags_saved_cc
10206 ac_exeext=$ac_wine_try_cflags_saved_exeext
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10209 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10210 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10211 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10214 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10215 if ${ac_cv_crosscflags__Wvla+:} false; then :
10216 $as_echo_n "(cached) " >&6
10217 else
10218 ac_wine_try_cflags_saved=$CFLAGS
10219 ac_wine_try_cflags_saved_cc=$CC
10220 ac_wine_try_cflags_saved_exeext=$ac_exeext
10221 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10222 CC="$CROSSCC"
10223 ac_exeext=".exe"
10224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10225 /* end confdefs.h. */
10226 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10227 _ACEOF
10228 if ac_fn_c_try_link "$LINENO"; then :
10229 ac_cv_crosscflags__Wvla=yes
10230 else
10231 ac_cv_crosscflags__Wvla=no
10233 rm -f core conftest.err conftest.$ac_objext \
10234 conftest$ac_exeext conftest.$ac_ext
10235 CFLAGS=$ac_wine_try_cflags_saved
10236 CC=$ac_wine_try_cflags_saved_cc
10237 ac_exeext=$ac_wine_try_cflags_saved_exeext
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10240 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10241 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10242 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10245 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10246 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10247 $as_echo_n "(cached) " >&6
10248 else
10249 ac_wine_try_cflags_saved=$CFLAGS
10250 ac_wine_try_cflags_saved_cc=$CC
10251 ac_wine_try_cflags_saved_exeext=$ac_exeext
10252 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10253 CC="$CROSSCC"
10254 ac_exeext=".exe"
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10257 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10258 _ACEOF
10259 if ac_fn_c_try_link "$LINENO"; then :
10260 ac_cv_crosscflags__Wwrite_strings=yes
10261 else
10262 ac_cv_crosscflags__Wwrite_strings=no
10264 rm -f core conftest.err conftest.$ac_objext \
10265 conftest$ac_exeext conftest.$ac_ext
10266 CFLAGS=$ac_wine_try_cflags_saved
10267 CC=$ac_wine_try_cflags_saved_cc
10268 ac_exeext=$ac_wine_try_cflags_saved_exeext
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10271 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10272 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10273 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10276 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10277 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10278 $as_echo_n "(cached) " >&6
10279 else
10280 ac_wine_try_cflags_saved=$CFLAGS
10281 ac_wine_try_cflags_saved_cc=$CC
10282 ac_wine_try_cflags_saved_exeext=$ac_exeext
10283 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10284 CC="$CROSSCC"
10285 ac_exeext=".exe"
10286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10288 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10289 _ACEOF
10290 if ac_fn_c_try_link "$LINENO"; then :
10291 ac_cv_crosscflags__Wpointer_arith=yes
10292 else
10293 ac_cv_crosscflags__Wpointer_arith=no
10295 rm -f core conftest.err conftest.$ac_objext \
10296 conftest$ac_exeext conftest.$ac_ext
10297 CFLAGS=$ac_wine_try_cflags_saved
10298 CC=$ac_wine_try_cflags_saved_cc
10299 ac_exeext=$ac_wine_try_cflags_saved_exeext
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10302 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10303 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10304 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10307 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10308 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10309 $as_echo_n "(cached) " >&6
10310 else
10311 ac_wine_try_cflags_saved=$CFLAGS
10312 ac_wine_try_cflags_saved_cc=$CC
10313 ac_wine_try_cflags_saved_exeext=$ac_exeext
10314 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10315 CC="$CROSSCC"
10316 ac_exeext=".exe"
10317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10319 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10320 _ACEOF
10321 if ac_fn_c_try_link "$LINENO"; then :
10322 ac_cv_crosscflags__Wlogical_op=yes
10323 else
10324 ac_cv_crosscflags__Wlogical_op=no
10326 rm -f core conftest.err conftest.$ac_objext \
10327 conftest$ac_exeext conftest.$ac_ext
10328 CFLAGS=$ac_wine_try_cflags_saved
10329 CC=$ac_wine_try_cflags_saved_cc
10330 ac_exeext=$ac_wine_try_cflags_saved_exeext
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10333 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10334 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10335 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10338 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10339 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10340 $as_echo_n "(cached) " >&6
10341 else
10342 ac_wine_try_cflags_saved=$CFLAGS
10343 ac_wine_try_cflags_saved_cc=$CC
10344 ac_wine_try_cflags_saved_exeext=$ac_exeext
10345 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
10346 CC="$CROSSCC"
10347 ac_exeext=".exe"
10348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10349 /* end confdefs.h. */
10350 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10351 _ACEOF
10352 if ac_fn_c_try_link "$LINENO"; then :
10353 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10354 else
10355 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10357 rm -f core conftest.err conftest.$ac_objext \
10358 conftest$ac_exeext conftest.$ac_ext
10359 CFLAGS=$ac_wine_try_cflags_saved
10360 CC=$ac_wine_try_cflags_saved_cc
10361 ac_exeext=$ac_wine_try_cflags_saved_exeext
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10364 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10365 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10366 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10369 case $host_cpu in
10370 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10371 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10372 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10373 $as_echo_n "(cached) " >&6
10374 else
10375 ac_wine_try_cflags_saved=$CFLAGS
10376 ac_wine_try_cflags_saved_cc=$CC
10377 ac_wine_try_cflags_saved_exeext=$ac_exeext
10378 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10379 CC="$CROSSCC"
10380 ac_exeext=".exe"
10381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10382 /* end confdefs.h. */
10383 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10384 _ACEOF
10385 if ac_fn_c_try_link "$LINENO"; then :
10386 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10387 else
10388 ac_cv_crosscflags__fno_omit_frame_pointer=no
10390 rm -f core conftest.err conftest.$ac_objext \
10391 conftest$ac_exeext conftest.$ac_ext
10392 CFLAGS=$ac_wine_try_cflags_saved
10393 CC=$ac_wine_try_cflags_saved_cc
10394 ac_exeext=$ac_wine_try_cflags_saved_exeext
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10397 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10398 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10399 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10400 fi ;;
10401 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10402 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10403 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10404 $as_echo_n "(cached) " >&6
10405 else
10406 ac_wine_try_cflags_saved=$CFLAGS
10407 ac_wine_try_cflags_saved_cc=$CC
10408 ac_wine_try_cflags_saved_exeext=$ac_exeext
10409 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10410 CC="$CROSSCC"
10411 ac_exeext=".exe"
10412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h. */
10414 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10415 _ACEOF
10416 if ac_fn_c_try_link "$LINENO"; then :
10417 ac_cv_crosscflags__Wno_format=yes
10418 else
10419 ac_cv_crosscflags__Wno_format=no
10421 rm -f core conftest.err conftest.$ac_objext \
10422 conftest$ac_exeext conftest.$ac_ext
10423 CFLAGS=$ac_wine_try_cflags_saved
10424 CC=$ac_wine_try_cflags_saved_cc
10425 ac_exeext=$ac_wine_try_cflags_saved_exeext
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10428 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10429 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10430 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10433 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10434 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10435 $as_echo_n "(cached) " >&6
10436 else
10437 ac_wine_try_cflags_saved=$CFLAGS
10438 ac_wine_try_cflags_saved_cc=$CC
10439 ac_wine_try_cflags_saved_exeext=$ac_exeext
10440 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10441 CC="$CROSSCC"
10442 ac_exeext=".exe"
10443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10444 /* end confdefs.h. */
10445 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10446 _ACEOF
10447 if ac_fn_c_try_link "$LINENO"; then :
10448 ac_cv_crosscflags__Wformat_overflow=yes
10449 else
10450 ac_cv_crosscflags__Wformat_overflow=no
10452 rm -f core conftest.err conftest.$ac_objext \
10453 conftest$ac_exeext conftest.$ac_ext
10454 CFLAGS=$ac_wine_try_cflags_saved
10455 CC=$ac_wine_try_cflags_saved_cc
10456 ac_exeext=$ac_wine_try_cflags_saved_exeext
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10459 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10460 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10461 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10464 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10465 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10466 $as_echo_n "(cached) " >&6
10467 else
10468 ac_wine_try_cflags_saved=$CFLAGS
10469 ac_wine_try_cflags_saved_cc=$CC
10470 ac_wine_try_cflags_saved_exeext=$ac_exeext
10471 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10472 CC="$CROSSCC"
10473 ac_exeext=".exe"
10474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10475 /* end confdefs.h. */
10476 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10477 _ACEOF
10478 if ac_fn_c_try_link "$LINENO"; then :
10479 ac_cv_crosscflags__Wnonnull=yes
10480 else
10481 ac_cv_crosscflags__Wnonnull=no
10483 rm -f core conftest.err conftest.$ac_objext \
10484 conftest$ac_exeext conftest.$ac_ext
10485 CFLAGS=$ac_wine_try_cflags_saved
10486 CC=$ac_wine_try_cflags_saved_cc
10487 ac_exeext=$ac_wine_try_cflags_saved_exeext
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10490 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10491 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10492 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10493 fi ;;
10494 esac
10496 for ac_flag in $CROSSCFLAGS; do
10497 case $ac_flag in
10498 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10499 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10500 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10501 $as_echo_n "(cached) " >&6
10502 else
10503 ac_wine_try_cflags_saved=$CFLAGS
10504 ac_wine_try_cflags_saved_cc=$CC
10505 ac_wine_try_cflags_saved_exeext=$ac_exeext
10506 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10507 CC="$CROSSCC"
10508 ac_exeext=".exe"
10509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10510 /* end confdefs.h. */
10511 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10512 _ACEOF
10513 if ac_fn_c_try_link "$LINENO"; then :
10514 ac_cv_crosscflags__gdwarf_2=yes
10515 else
10516 ac_cv_crosscflags__gdwarf_2=no
10518 rm -f core conftest.err conftest.$ac_objext \
10519 conftest$ac_exeext conftest.$ac_ext
10520 CFLAGS=$ac_wine_try_cflags_saved
10521 CC=$ac_wine_try_cflags_saved_cc
10522 ac_exeext=$ac_wine_try_cflags_saved_exeext
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10525 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10526 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10527 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10530 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10531 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10532 $as_echo_n "(cached) " >&6
10533 else
10534 ac_wine_try_cflags_saved=$CFLAGS
10535 ac_wine_try_cflags_saved_cc=$CC
10536 ac_wine_try_cflags_saved_exeext=$ac_exeext
10537 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10538 CC="$CROSSCC"
10539 ac_exeext=".exe"
10540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10541 /* end confdefs.h. */
10542 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10543 _ACEOF
10544 if ac_fn_c_try_link "$LINENO"; then :
10545 ac_cv_crosscflags__gstrict_dwarf=yes
10546 else
10547 ac_cv_crosscflags__gstrict_dwarf=no
10549 rm -f core conftest.err conftest.$ac_objext \
10550 conftest$ac_exeext conftest.$ac_ext
10551 CFLAGS=$ac_wine_try_cflags_saved
10552 CC=$ac_wine_try_cflags_saved_cc
10553 ac_exeext=$ac_wine_try_cflags_saved_exeext
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10556 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10557 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10558 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10559 fi ;;
10560 esac
10561 done
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll" >&5
10564 $as_echo_n "checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10565 if ${ac_cv_crosscflags__Wl__delayload_autoconftest_dll+:} false; then :
10566 $as_echo_n "(cached) " >&6
10567 else
10568 ac_wine_try_cflags_saved=$CFLAGS
10569 ac_wine_try_cflags_saved_cc=$CC
10570 ac_wine_try_cflags_saved_exeext=$ac_exeext
10571 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,-delayload,autoconftest.dll"
10572 CC="$CROSSCC"
10573 ac_exeext=".exe"
10574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10575 /* end confdefs.h. */
10576 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10577 _ACEOF
10578 if ac_fn_c_try_link "$LINENO"; then :
10579 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=yes
10580 else
10581 ac_cv_crosscflags__Wl__delayload_autoconftest_dll=no
10583 rm -f core conftest.err conftest.$ac_objext \
10584 conftest$ac_exeext conftest.$ac_ext
10585 CFLAGS=$ac_wine_try_cflags_saved
10586 CC=$ac_wine_try_cflags_saved_cc
10587 ac_exeext=$ac_wine_try_cflags_saved_exeext
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&5
10590 $as_echo "$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&6; }
10591 if test "x$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" = xyes; then :
10592 DELAYLOADFLAG="-Wl,-delayload,"
10596 if test "x$enable_werror" = "xyes"
10597 then
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10599 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10600 if ${ac_cv_crosscflags__Werror+:} false; then :
10601 $as_echo_n "(cached) " >&6
10602 else
10603 ac_wine_try_cflags_saved=$CFLAGS
10604 ac_wine_try_cflags_saved_cc=$CC
10605 ac_wine_try_cflags_saved_exeext=$ac_exeext
10606 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10607 CC="$CROSSCC"
10608 ac_exeext=".exe"
10609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10610 /* end confdefs.h. */
10611 void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
10612 _ACEOF
10613 if ac_fn_c_try_link "$LINENO"; then :
10614 ac_cv_crosscflags__Werror=yes
10615 else
10616 ac_cv_crosscflags__Werror=no
10618 rm -f core conftest.err conftest.$ac_objext \
10619 conftest$ac_exeext conftest.$ac_ext
10620 CFLAGS=$ac_wine_try_cflags_saved
10621 CC=$ac_wine_try_cflags_saved_cc
10622 ac_exeext=$ac_wine_try_cflags_saved_exeext
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10625 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10626 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10627 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10631 CFLAGS=$saved_CFLAGS
10632 CC="$ac_save_CC"
10635 if test "x$CROSSTARGET" = "x"; then :
10636 case "x$with_mingw" in
10637 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10638 xno) ;;
10639 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10640 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10641 esac
10646 if test "$ac_cv_header_pthread_h" = "yes"
10647 then
10648 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10649 if test "x$ac_cv_func_pthread_create" = xyes; then :
10651 else
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10653 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10654 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10655 $as_echo_n "(cached) " >&6
10656 else
10657 ac_check_lib_save_LIBS=$LIBS
10658 LIBS="-lpthread $LIBS"
10659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10662 /* Override any GCC internal prototype to avoid an error.
10663 Use char because int might match the return type of a GCC
10664 builtin and then its argument prototype would still apply. */
10665 #ifdef __cplusplus
10666 extern "C"
10667 #endif
10668 char pthread_create ();
10670 main ()
10672 return pthread_create ();
10674 return 0;
10676 _ACEOF
10677 if ac_fn_c_try_link "$LINENO"; then :
10678 ac_cv_lib_pthread_pthread_create=yes
10679 else
10680 ac_cv_lib_pthread_pthread_create=no
10682 rm -f core conftest.err conftest.$ac_objext \
10683 conftest$ac_exeext conftest.$ac_ext
10684 LIBS=$ac_check_lib_save_LIBS
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10687 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10688 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10689 PTHREAD_LIBS="-lpthread"
10696 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10697 case "x$with_pthread" in
10698 xno) ;;
10699 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10700 Wine cannot support threads without libpthread.
10701 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10702 esac
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10708 $as_echo_n "checking for X... " >&6; }
10711 # Check whether --with-x was given.
10712 if test "${with_x+set}" = set; then :
10713 withval=$with_x;
10716 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10717 if test "x$with_x" = xno; then
10718 # The user explicitly disabled X.
10719 have_x=disabled
10720 else
10721 case $x_includes,$x_libraries in #(
10722 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10723 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10724 $as_echo_n "(cached) " >&6
10725 else
10726 # One or both of the vars are not set, and there is no cached value.
10727 ac_x_includes=no ac_x_libraries=no
10728 rm -f -r conftest.dir
10729 if mkdir conftest.dir; then
10730 cd conftest.dir
10731 cat >Imakefile <<'_ACEOF'
10732 incroot:
10733 @echo incroot='${INCROOT}'
10734 usrlibdir:
10735 @echo usrlibdir='${USRLIBDIR}'
10736 libdir:
10737 @echo libdir='${LIBDIR}'
10738 _ACEOF
10739 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10740 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10741 for ac_var in incroot usrlibdir libdir; do
10742 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10743 done
10744 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10745 for ac_extension in a so sl dylib la dll; do
10746 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10747 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10748 ac_im_usrlibdir=$ac_im_libdir; break
10750 done
10751 # Screen out bogus values from the imake configuration. They are
10752 # bogus both because they are the default anyway, and because
10753 # using them would break gcc on systems where it needs fixed includes.
10754 case $ac_im_incroot in
10755 /usr/include) ac_x_includes= ;;
10756 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10757 esac
10758 case $ac_im_usrlibdir in
10759 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10760 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10761 esac
10763 cd ..
10764 rm -f -r conftest.dir
10767 # Standard set of common directories for X headers.
10768 # Check X11 before X11Rn because it is often a symlink to the current release.
10769 ac_x_header_dirs='
10770 /usr/X11/include
10771 /usr/X11R7/include
10772 /usr/X11R6/include
10773 /usr/X11R5/include
10774 /usr/X11R4/include
10776 /usr/include/X11
10777 /usr/include/X11R7
10778 /usr/include/X11R6
10779 /usr/include/X11R5
10780 /usr/include/X11R4
10782 /usr/local/X11/include
10783 /usr/local/X11R7/include
10784 /usr/local/X11R6/include
10785 /usr/local/X11R5/include
10786 /usr/local/X11R4/include
10788 /usr/local/include/X11
10789 /usr/local/include/X11R7
10790 /usr/local/include/X11R6
10791 /usr/local/include/X11R5
10792 /usr/local/include/X11R4
10794 /usr/X386/include
10795 /usr/x386/include
10796 /usr/XFree86/include/X11
10798 /usr/include
10799 /usr/local/include
10800 /usr/unsupported/include
10801 /usr/athena/include
10802 /usr/local/x11r5/include
10803 /usr/lpp/Xamples/include
10805 /usr/openwin/include
10806 /usr/openwin/share/include'
10808 if test "$ac_x_includes" = no; then
10809 # Guess where to find include files, by looking for Xlib.h.
10810 # First, try using that file with no special directory specified.
10811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10812 /* end confdefs.h. */
10813 #include <X11/Xlib.h>
10814 _ACEOF
10815 if ac_fn_c_try_cpp "$LINENO"; then :
10816 # We can compile using X headers with no special include directory.
10817 ac_x_includes=
10818 else
10819 for ac_dir in $ac_x_header_dirs; do
10820 if test -r "$ac_dir/X11/Xlib.h"; then
10821 ac_x_includes=$ac_dir
10822 break
10824 done
10826 rm -f conftest.err conftest.i conftest.$ac_ext
10827 fi # $ac_x_includes = no
10829 if test "$ac_x_libraries" = no; then
10830 # Check for the libraries.
10831 # See if we find them without any special options.
10832 # Don't add to $LIBS permanently.
10833 ac_save_LIBS=$LIBS
10834 LIBS="-lX11 $LIBS"
10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10837 #include <X11/Xlib.h>
10839 main ()
10841 XrmInitialize ()
10843 return 0;
10845 _ACEOF
10846 if ac_fn_c_try_link "$LINENO"; then :
10847 LIBS=$ac_save_LIBS
10848 # We can link X programs with no special library path.
10849 ac_x_libraries=
10850 else
10851 LIBS=$ac_save_LIBS
10852 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10854 # Don't even attempt the hair of trying to link an X program!
10855 for ac_extension in a so sl dylib la dll; do
10856 if test -r "$ac_dir/libX11.$ac_extension"; then
10857 ac_x_libraries=$ac_dir
10858 break 2
10860 done
10861 done
10863 rm -f core conftest.err conftest.$ac_objext \
10864 conftest$ac_exeext conftest.$ac_ext
10865 fi # $ac_x_libraries = no
10867 case $ac_x_includes,$ac_x_libraries in #(
10868 no,* | *,no | *\'*)
10869 # Didn't find X, or a directory has "'" in its name.
10870 ac_cv_have_x="have_x=no";; #(
10872 # Record where we found X for the cache.
10873 ac_cv_have_x="have_x=yes\
10874 ac_x_includes='$ac_x_includes'\
10875 ac_x_libraries='$ac_x_libraries'"
10876 esac
10878 ;; #(
10879 *) have_x=yes;;
10880 esac
10881 eval "$ac_cv_have_x"
10882 fi # $with_x != no
10884 if test "$have_x" != yes; then
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10886 $as_echo "$have_x" >&6; }
10887 no_x=yes
10888 else
10889 # If each of the values was on the command line, it overrides each guess.
10890 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10891 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10892 # Update the cache value to reflect the command line values.
10893 ac_cv_have_x="have_x=yes\
10894 ac_x_includes='$x_includes'\
10895 ac_x_libraries='$x_libraries'"
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10897 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10900 if test "$no_x" = yes; then
10901 # Not all programs may use this symbol, but it does not hurt to define it.
10903 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10905 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10906 else
10907 if test -n "$x_includes"; then
10908 X_CFLAGS="$X_CFLAGS -I$x_includes"
10911 # It would also be nice to do this for all -L options, not just this one.
10912 if test -n "$x_libraries"; then
10913 X_LIBS="$X_LIBS -L$x_libraries"
10914 # For Solaris; some versions of Sun CC require a space after -R and
10915 # others require no space. Words are not sufficient . . . .
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10917 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10918 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10919 ac_xsave_c_werror_flag=$ac_c_werror_flag
10920 ac_c_werror_flag=yes
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10925 main ()
10929 return 0;
10931 _ACEOF
10932 if ac_fn_c_try_link "$LINENO"; then :
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10934 $as_echo "no" >&6; }
10935 X_LIBS="$X_LIBS -R$x_libraries"
10936 else
10937 LIBS="$ac_xsave_LIBS -R $x_libraries"
10938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10939 /* end confdefs.h. */
10942 main ()
10946 return 0;
10948 _ACEOF
10949 if ac_fn_c_try_link "$LINENO"; then :
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10951 $as_echo "yes" >&6; }
10952 X_LIBS="$X_LIBS -R $x_libraries"
10953 else
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10955 $as_echo "neither works" >&6; }
10957 rm -f core conftest.err conftest.$ac_objext \
10958 conftest$ac_exeext conftest.$ac_ext
10960 rm -f core conftest.err conftest.$ac_objext \
10961 conftest$ac_exeext conftest.$ac_ext
10962 ac_c_werror_flag=$ac_xsave_c_werror_flag
10963 LIBS=$ac_xsave_LIBS
10966 # Check for system-dependent libraries X programs must link with.
10967 # Do this before checking for the system-independent R6 libraries
10968 # (-lICE), since we may need -lsocket or whatever for X linking.
10970 if test "$ISC" = yes; then
10971 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10972 else
10973 # Martyn Johnson says this is needed for Ultrix, if the X
10974 # libraries were built with DECnet support. And Karl Berry says
10975 # the Alpha needs dnet_stub (dnet does not exist).
10976 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10978 /* end confdefs.h. */
10980 /* Override any GCC internal prototype to avoid an error.
10981 Use char because int might match the return type of a GCC
10982 builtin and then its argument prototype would still apply. */
10983 #ifdef __cplusplus
10984 extern "C"
10985 #endif
10986 char XOpenDisplay ();
10988 main ()
10990 return XOpenDisplay ();
10992 return 0;
10994 _ACEOF
10995 if ac_fn_c_try_link "$LINENO"; then :
10997 else
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10999 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11000 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11001 $as_echo_n "(cached) " >&6
11002 else
11003 ac_check_lib_save_LIBS=$LIBS
11004 LIBS="-ldnet $LIBS"
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11011 #ifdef __cplusplus
11012 extern "C"
11013 #endif
11014 char dnet_ntoa ();
11016 main ()
11018 return dnet_ntoa ();
11020 return 0;
11022 _ACEOF
11023 if ac_fn_c_try_link "$LINENO"; then :
11024 ac_cv_lib_dnet_dnet_ntoa=yes
11025 else
11026 ac_cv_lib_dnet_dnet_ntoa=no
11028 rm -f core conftest.err conftest.$ac_objext \
11029 conftest$ac_exeext conftest.$ac_ext
11030 LIBS=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11033 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11034 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11035 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11038 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11040 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11041 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11042 $as_echo_n "(cached) " >&6
11043 else
11044 ac_check_lib_save_LIBS=$LIBS
11045 LIBS="-ldnet_stub $LIBS"
11046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11047 /* end confdefs.h. */
11049 /* Override any GCC internal prototype to avoid an error.
11050 Use char because int might match the return type of a GCC
11051 builtin and then its argument prototype would still apply. */
11052 #ifdef __cplusplus
11053 extern "C"
11054 #endif
11055 char dnet_ntoa ();
11057 main ()
11059 return dnet_ntoa ();
11061 return 0;
11063 _ACEOF
11064 if ac_fn_c_try_link "$LINENO"; then :
11065 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11066 else
11067 ac_cv_lib_dnet_stub_dnet_ntoa=no
11069 rm -f core conftest.err conftest.$ac_objext \
11070 conftest$ac_exeext conftest.$ac_ext
11071 LIBS=$ac_check_lib_save_LIBS
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11074 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11075 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11076 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11081 rm -f core conftest.err conftest.$ac_objext \
11082 conftest$ac_exeext conftest.$ac_ext
11083 LIBS="$ac_xsave_LIBS"
11085 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11086 # to get the SysV transport functions.
11087 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11088 # needs -lnsl.
11089 # The nsl library prevents programs from opening the X display
11090 # on Irix 5.2, according to T.E. Dickey.
11091 # The functions gethostbyname, getservbyname, and inet_addr are
11092 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11093 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11094 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11098 if test $ac_cv_func_gethostbyname = no; then
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11100 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11101 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11102 $as_echo_n "(cached) " >&6
11103 else
11104 ac_check_lib_save_LIBS=$LIBS
11105 LIBS="-lnsl $LIBS"
11106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11107 /* end confdefs.h. */
11109 /* Override any GCC internal prototype to avoid an error.
11110 Use char because int might match the return type of a GCC
11111 builtin and then its argument prototype would still apply. */
11112 #ifdef __cplusplus
11113 extern "C"
11114 #endif
11115 char gethostbyname ();
11117 main ()
11119 return gethostbyname ();
11121 return 0;
11123 _ACEOF
11124 if ac_fn_c_try_link "$LINENO"; then :
11125 ac_cv_lib_nsl_gethostbyname=yes
11126 else
11127 ac_cv_lib_nsl_gethostbyname=no
11129 rm -f core conftest.err conftest.$ac_objext \
11130 conftest$ac_exeext conftest.$ac_ext
11131 LIBS=$ac_check_lib_save_LIBS
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11134 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11135 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11136 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11139 if test $ac_cv_lib_nsl_gethostbyname = no; then
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11141 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11142 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11143 $as_echo_n "(cached) " >&6
11144 else
11145 ac_check_lib_save_LIBS=$LIBS
11146 LIBS="-lbsd $LIBS"
11147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11148 /* end confdefs.h. */
11150 /* Override any GCC internal prototype to avoid an error.
11151 Use char because int might match the return type of a GCC
11152 builtin and then its argument prototype would still apply. */
11153 #ifdef __cplusplus
11154 extern "C"
11155 #endif
11156 char gethostbyname ();
11158 main ()
11160 return gethostbyname ();
11162 return 0;
11164 _ACEOF
11165 if ac_fn_c_try_link "$LINENO"; then :
11166 ac_cv_lib_bsd_gethostbyname=yes
11167 else
11168 ac_cv_lib_bsd_gethostbyname=no
11170 rm -f core conftest.err conftest.$ac_objext \
11171 conftest$ac_exeext conftest.$ac_ext
11172 LIBS=$ac_check_lib_save_LIBS
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11175 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11176 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11177 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11183 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11184 # socket/setsockopt and other routines are undefined under SCO ODT
11185 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11186 # on later versions), says Simon Leinen: it contains gethostby*
11187 # variants that don't use the name server (or something). -lsocket
11188 # must be given before -lnsl if both are needed. We assume that
11189 # if connect needs -lnsl, so does gethostbyname.
11190 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11191 if test "x$ac_cv_func_connect" = xyes; then :
11195 if test $ac_cv_func_connect = no; then
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11197 $as_echo_n "checking for connect in -lsocket... " >&6; }
11198 if ${ac_cv_lib_socket_connect+:} false; then :
11199 $as_echo_n "(cached) " >&6
11200 else
11201 ac_check_lib_save_LIBS=$LIBS
11202 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h. */
11206 /* Override any GCC internal prototype to avoid an error.
11207 Use char because int might match the return type of a GCC
11208 builtin and then its argument prototype would still apply. */
11209 #ifdef __cplusplus
11210 extern "C"
11211 #endif
11212 char connect ();
11214 main ()
11216 return connect ();
11218 return 0;
11220 _ACEOF
11221 if ac_fn_c_try_link "$LINENO"; then :
11222 ac_cv_lib_socket_connect=yes
11223 else
11224 ac_cv_lib_socket_connect=no
11226 rm -f core conftest.err conftest.$ac_objext \
11227 conftest$ac_exeext conftest.$ac_ext
11228 LIBS=$ac_check_lib_save_LIBS
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11231 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11232 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11233 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11238 # Guillermo Gomez says -lposix is necessary on A/UX.
11239 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11240 if test "x$ac_cv_func_remove" = xyes; then :
11244 if test $ac_cv_func_remove = no; then
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11246 $as_echo_n "checking for remove in -lposix... " >&6; }
11247 if ${ac_cv_lib_posix_remove+:} false; then :
11248 $as_echo_n "(cached) " >&6
11249 else
11250 ac_check_lib_save_LIBS=$LIBS
11251 LIBS="-lposix $LIBS"
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11258 #ifdef __cplusplus
11259 extern "C"
11260 #endif
11261 char remove ();
11263 main ()
11265 return remove ();
11267 return 0;
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"; then :
11271 ac_cv_lib_posix_remove=yes
11272 else
11273 ac_cv_lib_posix_remove=no
11275 rm -f core conftest.err conftest.$ac_objext \
11276 conftest$ac_exeext conftest.$ac_ext
11277 LIBS=$ac_check_lib_save_LIBS
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11280 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11281 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11282 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11287 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11288 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11289 if test "x$ac_cv_func_shmat" = xyes; then :
11293 if test $ac_cv_func_shmat = no; then
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11295 $as_echo_n "checking for shmat in -lipc... " >&6; }
11296 if ${ac_cv_lib_ipc_shmat+:} false; then :
11297 $as_echo_n "(cached) " >&6
11298 else
11299 ac_check_lib_save_LIBS=$LIBS
11300 LIBS="-lipc $LIBS"
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11304 /* Override any GCC internal prototype to avoid an error.
11305 Use char because int might match the return type of a GCC
11306 builtin and then its argument prototype would still apply. */
11307 #ifdef __cplusplus
11308 extern "C"
11309 #endif
11310 char shmat ();
11312 main ()
11314 return shmat ();
11316 return 0;
11318 _ACEOF
11319 if ac_fn_c_try_link "$LINENO"; then :
11320 ac_cv_lib_ipc_shmat=yes
11321 else
11322 ac_cv_lib_ipc_shmat=no
11324 rm -f core conftest.err conftest.$ac_objext \
11325 conftest$ac_exeext conftest.$ac_ext
11326 LIBS=$ac_check_lib_save_LIBS
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11329 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11330 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11331 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11337 # Check for libraries that X11R6 Xt/Xaw programs need.
11338 ac_save_LDFLAGS=$LDFLAGS
11339 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11340 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11341 # check for ICE first), but we must link in the order -lSM -lICE or
11342 # we get undefined symbols. So assume we have SM if we have ICE.
11343 # These have to be linked with before -lX11, unlike the other
11344 # libraries we check for below, so use a different variable.
11345 # John Interrante, Karl Berry
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11347 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11348 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11349 $as_echo_n "(cached) " >&6
11350 else
11351 ac_check_lib_save_LIBS=$LIBS
11352 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char IceConnectionNumber ();
11364 main ()
11366 return IceConnectionNumber ();
11368 return 0;
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372 ac_cv_lib_ICE_IceConnectionNumber=yes
11373 else
11374 ac_cv_lib_ICE_IceConnectionNumber=no
11376 rm -f core conftest.err conftest.$ac_objext \
11377 conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11381 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11382 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11383 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11386 LDFLAGS=$ac_save_LDFLAGS
11391 if test "$have_x" = "yes"
11392 then
11393 ac_save_CPPFLAGS="$CPPFLAGS"
11394 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11397 $as_echo_n "checking for -lX11... " >&6; }
11398 if ${ac_cv_lib_soname_X11+:} false; then :
11399 $as_echo_n "(cached) " >&6
11400 else
11401 ac_check_soname_save_LIBS=$LIBS
11402 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11406 /* Override any GCC internal prototype to avoid an error.
11407 Use char because int might match the return type of a GCC
11408 builtin and then its argument prototype would still apply. */
11409 #ifdef __cplusplus
11410 extern "C"
11411 #endif
11412 char XCreateWindow ();
11414 main ()
11416 return XCreateWindow ();
11418 return 0;
11420 _ACEOF
11421 if ac_fn_c_try_link "$LINENO"; then :
11422 case "$LIBEXT" in
11423 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11424 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'` ;;
11425 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11426 if ${ac_cv_lib_soname_X11:+false} :; then :
11427 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11428 fi ;;
11429 esac
11430 else
11431 ac_cv_lib_soname_X11=
11433 rm -f core conftest.err conftest.$ac_objext \
11434 conftest$ac_exeext conftest.$ac_ext
11435 LIBS=$ac_check_soname_save_LIBS
11437 if ${ac_cv_lib_soname_X11:+false} :; then :
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11439 $as_echo "not found" >&6; }
11441 else
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11443 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11445 cat >>confdefs.h <<_ACEOF
11446 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11447 _ACEOF
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11452 $as_echo_n "checking for -lXext... " >&6; }
11453 if ${ac_cv_lib_soname_Xext+:} false; then :
11454 $as_echo_n "(cached) " >&6
11455 else
11456 ac_check_soname_save_LIBS=$LIBS
11457 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11459 /* end confdefs.h. */
11461 /* Override any GCC internal prototype to avoid an error.
11462 Use char because int might match the return type of a GCC
11463 builtin and then its argument prototype would still apply. */
11464 #ifdef __cplusplus
11465 extern "C"
11466 #endif
11467 char XextCreateExtension ();
11469 main ()
11471 return XextCreateExtension ();
11473 return 0;
11475 _ACEOF
11476 if ac_fn_c_try_link "$LINENO"; then :
11477 case "$LIBEXT" in
11478 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11479 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'` ;;
11480 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11481 if ${ac_cv_lib_soname_Xext:+false} :; then :
11482 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11483 fi ;;
11484 esac
11485 else
11486 ac_cv_lib_soname_Xext=
11488 rm -f core conftest.err conftest.$ac_objext \
11489 conftest$ac_exeext conftest.$ac_ext
11490 LIBS=$ac_check_soname_save_LIBS
11492 if ${ac_cv_lib_soname_Xext:+false} :; then :
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11494 $as_echo "not found" >&6; }
11496 else
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11498 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11500 cat >>confdefs.h <<_ACEOF
11501 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11502 _ACEOF
11504 X_LIBS="$X_LIBS -lXext"
11506 X_LIBS="$X_LIBS -lX11"
11508 for ac_header in X11/Xlib.h \
11509 X11/XKBlib.h \
11510 X11/Xutil.h \
11511 X11/Xcursor/Xcursor.h \
11512 X11/extensions/shape.h \
11513 X11/extensions/XInput.h \
11514 X11/extensions/XInput2.h \
11515 X11/extensions/XShm.h \
11516 X11/extensions/Xcomposite.h \
11517 X11/extensions/Xfixes.h \
11518 X11/extensions/Xinerama.h \
11519 X11/extensions/Xrandr.h \
11520 X11/extensions/Xrender.h \
11521 X11/extensions/xf86vmode.h \
11522 X11/extensions/xf86vmproto.h
11523 do :
11524 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11525 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11526 # include <X11/Xlib.h>
11527 #endif
11528 #ifdef HAVE_X11_XUTIL_H
11529 # include <X11/Xutil.h>
11530 #endif
11532 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11533 cat >>confdefs.h <<_ACEOF
11534 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11535 _ACEOF
11539 done
11542 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11543 then
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11545 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11546 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11547 $as_echo_n "(cached) " >&6
11548 else
11549 ac_check_lib_save_LIBS=$LIBS
11550 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11552 /* end confdefs.h. */
11554 /* Override any GCC internal prototype to avoid an error.
11555 Use char because int might match the return type of a GCC
11556 builtin and then its argument prototype would still apply. */
11557 #ifdef __cplusplus
11558 extern "C"
11559 #endif
11560 char XkbQueryExtension ();
11562 main ()
11564 return XkbQueryExtension ();
11566 return 0;
11568 _ACEOF
11569 if ac_fn_c_try_link "$LINENO"; then :
11570 ac_cv_lib_X11_XkbQueryExtension=yes
11571 else
11572 ac_cv_lib_X11_XkbQueryExtension=no
11574 rm -f core conftest.err conftest.$ac_objext \
11575 conftest$ac_exeext conftest.$ac_ext
11576 LIBS=$ac_check_lib_save_LIBS
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11579 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11580 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11582 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11588 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11589 then
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11591 $as_echo_n "checking for -lXcursor... " >&6; }
11592 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11593 $as_echo_n "(cached) " >&6
11594 else
11595 ac_check_soname_save_LIBS=$LIBS
11596 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11598 /* end confdefs.h. */
11600 /* Override any GCC internal prototype to avoid an error.
11601 Use char because int might match the return type of a GCC
11602 builtin and then its argument prototype would still apply. */
11603 #ifdef __cplusplus
11604 extern "C"
11605 #endif
11606 char XcursorImageLoadCursor ();
11608 main ()
11610 return XcursorImageLoadCursor ();
11612 return 0;
11614 _ACEOF
11615 if ac_fn_c_try_link "$LINENO"; then :
11616 case "$LIBEXT" in
11617 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11618 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'` ;;
11619 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11620 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11621 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11622 fi ;;
11623 esac
11624 else
11625 ac_cv_lib_soname_Xcursor=
11627 rm -f core conftest.err conftest.$ac_objext \
11628 conftest$ac_exeext conftest.$ac_ext
11629 LIBS=$ac_check_soname_save_LIBS
11631 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11633 $as_echo "not found" >&6; }
11635 else
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11637 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11639 cat >>confdefs.h <<_ACEOF
11640 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11641 _ACEOF
11646 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11647 case "x$with_xcursor" in
11648 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11649 xno) ;;
11650 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11651 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11652 esac
11656 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11657 then
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11659 $as_echo_n "checking for -lXi... " >&6; }
11660 if ${ac_cv_lib_soname_Xi+:} false; then :
11661 $as_echo_n "(cached) " >&6
11662 else
11663 ac_check_soname_save_LIBS=$LIBS
11664 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11666 /* end confdefs.h. */
11668 /* Override any GCC internal prototype to avoid an error.
11669 Use char because int might match the return type of a GCC
11670 builtin and then its argument prototype would still apply. */
11671 #ifdef __cplusplus
11672 extern "C"
11673 #endif
11674 char XOpenDevice ();
11676 main ()
11678 return XOpenDevice ();
11680 return 0;
11682 _ACEOF
11683 if ac_fn_c_try_link "$LINENO"; then :
11684 case "$LIBEXT" in
11685 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11686 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'` ;;
11687 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11688 if ${ac_cv_lib_soname_Xi:+false} :; then :
11689 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11690 fi ;;
11691 esac
11692 else
11693 ac_cv_lib_soname_Xi=
11695 rm -f core conftest.err conftest.$ac_objext \
11696 conftest$ac_exeext conftest.$ac_ext
11697 LIBS=$ac_check_soname_save_LIBS
11699 if ${ac_cv_lib_soname_Xi:+false} :; then :
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11701 $as_echo "not found" >&6; }
11703 else
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11705 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11707 cat >>confdefs.h <<_ACEOF
11708 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11709 _ACEOF
11714 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11715 case "x$with_xinput" in
11716 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11717 xno) ;;
11718 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11719 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11720 esac
11724 if test "x$ac_cv_lib_soname_Xi" != x
11725 then
11726 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11727 case "x$with_xinput2" in
11728 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11729 xno) ;;
11730 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11731 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11732 esac
11737 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11738 then
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11740 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11741 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11742 $as_echo_n "(cached) " >&6
11743 else
11744 ac_check_lib_save_LIBS=$LIBS
11745 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11749 /* Override any GCC internal prototype to avoid an error.
11750 Use char because int might match the return type of a GCC
11751 builtin and then its argument prototype would still apply. */
11752 #ifdef __cplusplus
11753 extern "C"
11754 #endif
11755 char XShmQueryExtension ();
11757 main ()
11759 return XShmQueryExtension ();
11761 return 0;
11763 _ACEOF
11764 if ac_fn_c_try_link "$LINENO"; then :
11765 ac_cv_lib_Xext_XShmQueryExtension=yes
11766 else
11767 ac_cv_lib_Xext_XShmQueryExtension=no
11769 rm -f core conftest.err conftest.$ac_objext \
11770 conftest$ac_exeext conftest.$ac_ext
11771 LIBS=$ac_check_lib_save_LIBS
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11774 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11775 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11777 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11782 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11783 case "x$with_xshm" in
11784 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11785 xno) ;;
11786 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11787 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11788 esac
11792 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11793 then
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11795 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11796 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11797 $as_echo_n "(cached) " >&6
11798 else
11799 ac_check_lib_save_LIBS=$LIBS
11800 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11802 /* end confdefs.h. */
11804 /* Override any GCC internal prototype to avoid an error.
11805 Use char because int might match the return type of a GCC
11806 builtin and then its argument prototype would still apply. */
11807 #ifdef __cplusplus
11808 extern "C"
11809 #endif
11810 char XShapeQueryExtension ();
11812 main ()
11814 return XShapeQueryExtension ();
11816 return 0;
11818 _ACEOF
11819 if ac_fn_c_try_link "$LINENO"; then :
11820 ac_cv_lib_Xext_XShapeQueryExtension=yes
11821 else
11822 ac_cv_lib_Xext_XShapeQueryExtension=no
11824 rm -f core conftest.err conftest.$ac_objext \
11825 conftest$ac_exeext conftest.$ac_ext
11826 LIBS=$ac_check_lib_save_LIBS
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11829 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11830 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11832 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11837 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11838 case "x$with_xshape" in
11839 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11840 xno) ;;
11841 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11842 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11843 esac
11847 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11848 then
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11850 $as_echo_n "checking for -lXxf86vm... " >&6; }
11851 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11852 $as_echo_n "(cached) " >&6
11853 else
11854 ac_check_soname_save_LIBS=$LIBS
11855 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11859 /* Override any GCC internal prototype to avoid an error.
11860 Use char because int might match the return type of a GCC
11861 builtin and then its argument prototype would still apply. */
11862 #ifdef __cplusplus
11863 extern "C"
11864 #endif
11865 char XF86VidModeQueryExtension ();
11867 main ()
11869 return XF86VidModeQueryExtension ();
11871 return 0;
11873 _ACEOF
11874 if ac_fn_c_try_link "$LINENO"; then :
11875 case "$LIBEXT" in
11876 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11877 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'` ;;
11878 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11879 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11880 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11881 fi ;;
11882 esac
11883 else
11884 ac_cv_lib_soname_Xxf86vm=
11886 rm -f core conftest.err conftest.$ac_objext \
11887 conftest$ac_exeext conftest.$ac_ext
11888 LIBS=$ac_check_soname_save_LIBS
11890 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11892 $as_echo "not found" >&6; }
11894 else
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11896 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11898 cat >>confdefs.h <<_ACEOF
11899 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11900 _ACEOF
11905 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11906 case "x$with_xxf86vm" in
11907 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11908 xno) ;;
11909 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11910 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11911 esac
11915 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11916 then
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11918 $as_echo_n "checking for -lXrender... " >&6; }
11919 if ${ac_cv_lib_soname_Xrender+:} false; then :
11920 $as_echo_n "(cached) " >&6
11921 else
11922 ac_check_soname_save_LIBS=$LIBS
11923 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11927 /* Override any GCC internal prototype to avoid an error.
11928 Use char because int might match the return type of a GCC
11929 builtin and then its argument prototype would still apply. */
11930 #ifdef __cplusplus
11931 extern "C"
11932 #endif
11933 char XRenderQueryExtension ();
11935 main ()
11937 return XRenderQueryExtension ();
11939 return 0;
11941 _ACEOF
11942 if ac_fn_c_try_link "$LINENO"; then :
11943 case "$LIBEXT" in
11944 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11945 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'` ;;
11946 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11947 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11948 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11949 fi ;;
11950 esac
11951 else
11952 ac_cv_lib_soname_Xrender=
11954 rm -f core conftest.err conftest.$ac_objext \
11955 conftest$ac_exeext conftest.$ac_ext
11956 LIBS=$ac_check_soname_save_LIBS
11958 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11960 $as_echo "not found" >&6; }
11962 else
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11964 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11966 cat >>confdefs.h <<_ACEOF
11967 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11968 _ACEOF
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11971 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11972 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11973 $as_echo_n "(cached) " >&6
11974 else
11975 ac_check_lib_save_LIBS=$LIBS
11976 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11978 /* end confdefs.h. */
11980 /* Override any GCC internal prototype to avoid an error.
11981 Use char because int might match the return type of a GCC
11982 builtin and then its argument prototype would still apply. */
11983 #ifdef __cplusplus
11984 extern "C"
11985 #endif
11986 char XRenderSetPictureTransform ();
11988 main ()
11990 return XRenderSetPictureTransform ();
11992 return 0;
11994 _ACEOF
11995 if ac_fn_c_try_link "$LINENO"; then :
11996 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11997 else
11998 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12000 rm -f core conftest.err conftest.$ac_objext \
12001 conftest$ac_exeext conftest.$ac_ext
12002 LIBS=$ac_check_lib_save_LIBS
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12005 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12006 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12008 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12013 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12014 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12015 $as_echo_n "(cached) " >&6
12016 else
12017 ac_check_lib_save_LIBS=$LIBS
12018 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12025 #ifdef __cplusplus
12026 extern "C"
12027 #endif
12028 char XRenderCreateLinearGradient ();
12030 main ()
12032 return XRenderCreateLinearGradient ();
12034 return 0;
12036 _ACEOF
12037 if ac_fn_c_try_link "$LINENO"; then :
12038 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12039 else
12040 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12042 rm -f core conftest.err conftest.$ac_objext \
12043 conftest$ac_exeext conftest.$ac_ext
12044 LIBS=$ac_check_lib_save_LIBS
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12047 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12048 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12050 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12057 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12058 case "x$with_xrender" in
12059 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12060 xno) ;;
12061 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12062 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12063 esac
12067 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12068 then
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12071 #include <X11/Xlib.h>
12072 #include <X11/extensions/Xrandr.h>
12074 main ()
12076 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12078 return 0;
12080 _ACEOF
12081 if ac_fn_c_try_compile "$LINENO"; then :
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12083 $as_echo_n "checking for -lXrandr... " >&6; }
12084 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12085 $as_echo_n "(cached) " >&6
12086 else
12087 ac_check_soname_save_LIBS=$LIBS
12088 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12090 /* end confdefs.h. */
12092 /* Override any GCC internal prototype to avoid an error.
12093 Use char because int might match the return type of a GCC
12094 builtin and then its argument prototype would still apply. */
12095 #ifdef __cplusplus
12096 extern "C"
12097 #endif
12098 char XRRQueryExtension ();
12100 main ()
12102 return XRRQueryExtension ();
12104 return 0;
12106 _ACEOF
12107 if ac_fn_c_try_link "$LINENO"; then :
12108 case "$LIBEXT" in
12109 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12110 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'` ;;
12111 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12112 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12113 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12114 fi ;;
12115 esac
12116 else
12117 ac_cv_lib_soname_Xrandr=
12119 rm -f core conftest.err conftest.$ac_objext \
12120 conftest$ac_exeext conftest.$ac_ext
12121 LIBS=$ac_check_soname_save_LIBS
12123 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12125 $as_echo "not found" >&6; }
12127 else
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12129 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12131 cat >>confdefs.h <<_ACEOF
12132 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12133 _ACEOF
12135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12136 /* end confdefs.h. */
12137 #include <X11/Xlib.h>
12138 #include <X11/extensions/Xrandr.h>
12140 main ()
12142 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12144 return 0;
12146 _ACEOF
12147 if ac_fn_c_try_compile "$LINENO"; then :
12149 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12154 /* end confdefs.h. */
12155 #include <X11/Xlib.h>
12156 #include <X11/extensions/Xrandr.h>
12158 main ()
12160 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12162 return 0;
12164 _ACEOF
12165 if ac_fn_c_try_compile "$LINENO"; then :
12167 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12169 else
12170 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12177 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12178 case "x$with_xrandr" in
12179 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12180 xno) ;;
12181 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12182 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12183 esac
12187 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12188 then
12189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12191 #include <X11/Xlib.h>
12192 #include <X11/extensions/Xfixes.h>
12194 main ()
12196 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12198 return 0;
12200 _ACEOF
12201 if ac_fn_c_try_compile "$LINENO"; then :
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12203 $as_echo_n "checking for -lXfixes... " >&6; }
12204 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12205 $as_echo_n "(cached) " >&6
12206 else
12207 ac_check_soname_save_LIBS=$LIBS
12208 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h. */
12212 /* Override any GCC internal prototype to avoid an error.
12213 Use char because int might match the return type of a GCC
12214 builtin and then its argument prototype would still apply. */
12215 #ifdef __cplusplus
12216 extern "C"
12217 #endif
12218 char XFixesQueryVersion ();
12220 main ()
12222 return XFixesQueryVersion ();
12224 return 0;
12226 _ACEOF
12227 if ac_fn_c_try_link "$LINENO"; then :
12228 case "$LIBEXT" in
12229 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12230 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'` ;;
12231 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12232 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12233 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12234 fi ;;
12235 esac
12236 else
12237 ac_cv_lib_soname_Xfixes=
12239 rm -f core conftest.err conftest.$ac_objext \
12240 conftest$ac_exeext conftest.$ac_ext
12241 LIBS=$ac_check_soname_save_LIBS
12243 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12245 $as_echo "not found" >&6; }
12247 else
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12249 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12251 cat >>confdefs.h <<_ACEOF
12252 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12253 _ACEOF
12258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12260 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12261 case "x$with_xfixes" in
12262 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12263 xno) ;;
12264 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12265 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12266 esac
12270 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12271 then
12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h. */
12274 #include <X11/Xlib.h>
12275 #include <X11/extensions/Xinerama.h>
12277 main ()
12279 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12281 return 0;
12283 _ACEOF
12284 if ac_fn_c_try_compile "$LINENO"; then :
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12286 $as_echo_n "checking for -lXinerama... " >&6; }
12287 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12288 $as_echo_n "(cached) " >&6
12289 else
12290 ac_check_soname_save_LIBS=$LIBS
12291 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12298 #ifdef __cplusplus
12299 extern "C"
12300 #endif
12301 char XineramaQueryScreens ();
12303 main ()
12305 return XineramaQueryScreens ();
12307 return 0;
12309 _ACEOF
12310 if ac_fn_c_try_link "$LINENO"; then :
12311 case "$LIBEXT" in
12312 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12313 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'` ;;
12314 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12315 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12316 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12317 fi ;;
12318 esac
12319 else
12320 ac_cv_lib_soname_Xinerama=
12322 rm -f core conftest.err conftest.$ac_objext \
12323 conftest$ac_exeext conftest.$ac_ext
12324 LIBS=$ac_check_soname_save_LIBS
12326 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12328 $as_echo "not found" >&6; }
12330 else
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12332 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12334 cat >>confdefs.h <<_ACEOF
12335 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12336 _ACEOF
12341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12343 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12344 case "x$with_xinerama" in
12345 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12346 xno) ;;
12347 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12348 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12349 esac
12353 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12354 then
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12356 $as_echo_n "checking for -lXcomposite... " >&6; }
12357 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12358 $as_echo_n "(cached) " >&6
12359 else
12360 ac_check_soname_save_LIBS=$LIBS
12361 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12365 /* Override any GCC internal prototype to avoid an error.
12366 Use char because int might match the return type of a GCC
12367 builtin and then its argument prototype would still apply. */
12368 #ifdef __cplusplus
12369 extern "C"
12370 #endif
12371 char XCompositeRedirectWindow ();
12373 main ()
12375 return XCompositeRedirectWindow ();
12377 return 0;
12379 _ACEOF
12380 if ac_fn_c_try_link "$LINENO"; then :
12381 case "$LIBEXT" in
12382 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12383 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'` ;;
12384 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12385 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12386 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12387 fi ;;
12388 esac
12389 else
12390 ac_cv_lib_soname_Xcomposite=
12392 rm -f core conftest.err conftest.$ac_objext \
12393 conftest$ac_exeext conftest.$ac_ext
12394 LIBS=$ac_check_soname_save_LIBS
12396 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12398 $as_echo "not found" >&6; }
12400 else
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12402 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12404 cat >>confdefs.h <<_ACEOF
12405 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12406 _ACEOF
12411 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12412 case "x$with_xcomposite" in
12413 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12414 xno) ;;
12415 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12416 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12417 esac
12421 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12422 #include <X11/Xlib.h>
12423 #endif
12425 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12427 cat >>confdefs.h <<_ACEOF
12428 #define HAVE_XICCALLBACK_CALLBACK 1
12429 _ACEOF
12433 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12434 #include <X11/Xlib.h>
12435 #endif
12437 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12439 cat >>confdefs.h <<_ACEOF
12440 #define HAVE_XEVENT_XCOOKIE 1
12441 _ACEOF
12448 opengl_msg=""
12449 if test "x$with_opengl" != "xno"
12450 then
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12452 $as_echo_n "checking for -lGL... " >&6; }
12453 if ${ac_cv_lib_soname_GL+:} false; then :
12454 $as_echo_n "(cached) " >&6
12455 else
12456 ac_check_soname_save_LIBS=$LIBS
12457 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12464 #ifdef __cplusplus
12465 extern "C"
12466 #endif
12467 char glXCreateContext ();
12469 main ()
12471 return glXCreateContext ();
12473 return 0;
12475 _ACEOF
12476 if ac_fn_c_try_link "$LINENO"; then :
12477 case "$LIBEXT" in
12478 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12479 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'` ;;
12480 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12481 if ${ac_cv_lib_soname_GL:+false} :; then :
12482 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12483 fi ;;
12484 esac
12485 else
12486 ac_cv_lib_soname_GL=
12488 rm -f core conftest.err conftest.$ac_objext \
12489 conftest$ac_exeext conftest.$ac_ext
12490 LIBS=$ac_check_soname_save_LIBS
12492 if ${ac_cv_lib_soname_GL:+false} :; then :
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12494 $as_echo "not found" >&6; }
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12496 $as_echo_n "checking for -lGL... " >&6; }
12497 if ${ac_cv_lib_soname_GL+:} false; then :
12498 $as_echo_n "(cached) " >&6
12499 else
12500 ac_check_soname_save_LIBS=$LIBS
12501 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"
12502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12505 /* Override any GCC internal prototype to avoid an error.
12506 Use char because int might match the return type of a GCC
12507 builtin and then its argument prototype would still apply. */
12508 #ifdef __cplusplus
12509 extern "C"
12510 #endif
12511 char glXCreateContext ();
12513 main ()
12515 return glXCreateContext ();
12517 return 0;
12519 _ACEOF
12520 if ac_fn_c_try_link "$LINENO"; then :
12521 case "$LIBEXT" in
12522 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12523 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'` ;;
12524 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12525 if ${ac_cv_lib_soname_GL:+false} :; then :
12526 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12527 fi ;;
12528 esac
12529 else
12530 ac_cv_lib_soname_GL=
12532 rm -f core conftest.err conftest.$ac_objext \
12533 conftest$ac_exeext conftest.$ac_ext
12534 LIBS=$ac_check_soname_save_LIBS
12536 if ${ac_cv_lib_soname_GL:+false} :; then :
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12538 $as_echo "not found" >&6; }
12539 if test -f /usr/X11R6/lib/libGL.a
12540 then
12541 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12542 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12543 else
12544 opengl_msg="No OpenGL library found on this system."
12546 else
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12548 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12550 cat >>confdefs.h <<_ACEOF
12551 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12552 _ACEOF
12554 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"
12556 else
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12558 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12560 cat >>confdefs.h <<_ACEOF
12561 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12562 _ACEOF
12564 OPENGL_LIBS="-lGL"
12566 if test "x$with_glu" != "xno"
12567 then
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12569 $as_echo_n "checking for -lGLU... " >&6; }
12570 if ${ac_cv_lib_soname_GLU+:} false; then :
12571 $as_echo_n "(cached) " >&6
12572 else
12573 ac_check_soname_save_LIBS=$LIBS
12574 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12576 /* end confdefs.h. */
12578 /* Override any GCC internal prototype to avoid an error.
12579 Use char because int might match the return type of a GCC
12580 builtin and then its argument prototype would still apply. */
12581 #ifdef __cplusplus
12582 extern "C"
12583 #endif
12584 char gluLookAt ();
12586 main ()
12588 return gluLookAt ();
12590 return 0;
12592 _ACEOF
12593 if ac_fn_c_try_link "$LINENO"; then :
12594 case "$LIBEXT" in
12595 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12596 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'` ;;
12597 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12598 if ${ac_cv_lib_soname_GLU:+false} :; then :
12599 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12600 fi ;;
12601 esac
12602 else
12603 ac_cv_lib_soname_GLU=
12605 rm -f core conftest.err conftest.$ac_objext \
12606 conftest$ac_exeext conftest.$ac_ext
12607 LIBS=$ac_check_soname_save_LIBS
12609 if ${ac_cv_lib_soname_GLU:+false} :; then :
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12611 $as_echo "not found" >&6; }
12613 else
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12615 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12617 cat >>confdefs.h <<_ACEOF
12618 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12619 _ACEOF
12623 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12624 case "x$with_glu" in
12625 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12626 xno) ;;
12627 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12628 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12629 esac
12634 if test "x$with_osmesa" != "xno"
12635 then
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12637 $as_echo_n "checking for -lOSMesa... " >&6; }
12638 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12639 $as_echo_n "(cached) " >&6
12640 else
12641 ac_check_soname_save_LIBS=$LIBS
12642 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12646 /* Override any GCC internal prototype to avoid an error.
12647 Use char because int might match the return type of a GCC
12648 builtin and then its argument prototype would still apply. */
12649 #ifdef __cplusplus
12650 extern "C"
12651 #endif
12652 char OSMesaGetProcAddress ();
12654 main ()
12656 return OSMesaGetProcAddress ();
12658 return 0;
12660 _ACEOF
12661 if ac_fn_c_try_link "$LINENO"; then :
12662 case "$LIBEXT" in
12663 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12664 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'` ;;
12665 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12666 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12667 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12668 fi ;;
12669 esac
12670 else
12671 ac_cv_lib_soname_OSMesa=
12673 rm -f core conftest.err conftest.$ac_objext \
12674 conftest$ac_exeext conftest.$ac_ext
12675 LIBS=$ac_check_soname_save_LIBS
12677 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12679 $as_echo "not found" >&6; }
12681 else
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12683 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12685 cat >>confdefs.h <<_ACEOF
12686 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12687 _ACEOF
12691 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12692 case "x$with_osmesa" in
12693 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12694 xno) ;;
12695 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12696 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12697 esac
12702 if test -n "$opengl_msg"; then :
12703 case "x$with_opengl" in
12704 x) as_fn_append wine_warnings "|$opengl_msg
12705 OpenGL and Direct3D won't be supported." ;;
12706 xno) ;;
12707 *) as_fn_error $? "$opengl_msg
12708 OpenGL and Direct3D won't be supported.
12709 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12710 esac
12714 CPPFLAGS="$ac_save_CPPFLAGS"
12715 else
12716 X_CFLAGS=""
12717 X_LIBS=""
12720 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12721 then
12722 if test "x$X_LIBS" = "x"; then :
12723 case "x$with_x" in
12724 xno) ;;
12725 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12726 without X support, which probably isn't what you want. You will need
12727 to install ${notice_platform}development packages of Xlib at the very least.
12728 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12729 esac
12730 enable_winex11_drv=${enable_winex11_drv:-no}
12732 else
12733 if test "x$X_LIBS" = "x"; then :
12734 case "x$with_x" in
12735 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12736 xno) ;;
12737 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12738 This is an error since --with-x was requested." "$LINENO" 5 ;;
12739 esac
12740 enable_winex11_drv=${enable_winex11_drv:-no}
12744 if test "$ac_cv_header_CL_cl_h" = "yes"
12745 then
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12747 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12748 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12749 $as_echo_n "(cached) " >&6
12750 else
12751 ac_check_lib_save_LIBS=$LIBS
12752 LIBS="-lOpenCL $LIBS"
12753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12756 /* Override any GCC internal prototype to avoid an error.
12757 Use char because int might match the return type of a GCC
12758 builtin and then its argument prototype would still apply. */
12759 #ifdef __cplusplus
12760 extern "C"
12761 #endif
12762 char clGetPlatformInfo ();
12764 main ()
12766 return clGetPlatformInfo ();
12768 return 0;
12770 _ACEOF
12771 if ac_fn_c_try_link "$LINENO"; then :
12772 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12773 else
12774 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12776 rm -f core conftest.err conftest.$ac_objext \
12777 conftest$ac_exeext conftest.$ac_ext
12778 LIBS=$ac_check_lib_save_LIBS
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12781 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12782 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12783 OPENCL_LIBS="-lOpenCL"
12788 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12789 case "x$with_opencl" in
12790 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12791 xno) ;;
12792 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12793 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12794 esac
12795 enable_opencl=${enable_opencl:-no}
12798 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12799 then
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12801 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12802 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12803 $as_echo_n "(cached) " >&6
12804 else
12805 ac_check_lib_save_LIBS=$LIBS
12806 LIBS="-lpcap $LIBS"
12807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12810 /* Override any GCC internal prototype to avoid an error.
12811 Use char because int might match the return type of a GCC
12812 builtin and then its argument prototype would still apply. */
12813 #ifdef __cplusplus
12814 extern "C"
12815 #endif
12816 char pcap_create ();
12818 main ()
12820 return pcap_create ();
12822 return 0;
12824 _ACEOF
12825 if ac_fn_c_try_link "$LINENO"; then :
12826 ac_cv_lib_pcap_pcap_create=yes
12827 else
12828 ac_cv_lib_pcap_pcap_create=no
12830 rm -f core conftest.err conftest.$ac_objext \
12831 conftest$ac_exeext conftest.$ac_ext
12832 LIBS=$ac_check_lib_save_LIBS
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12835 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12836 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12837 PCAP_LIBS="-lpcap"
12842 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12843 case "x$with_pcap" in
12844 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12845 xno) ;;
12846 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12847 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12848 esac
12849 enable_wpcap=${enable_wpcap:-no}
12853 if test "x$with_xml" != "xno"
12854 then
12855 if ${XML2_CFLAGS:+false} :; then :
12856 if ${PKG_CONFIG+:} false; then :
12857 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12860 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12861 if ${XML2_LIBS:+false} :; then :
12862 if ${PKG_CONFIG+:} false; then :
12863 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12866 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12867 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12868 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12869 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12870 ac_save_CPPFLAGS=$CPPFLAGS
12871 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12872 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12873 do :
12874 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12875 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12876 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12877 cat >>confdefs.h <<_ACEOF
12878 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12879 _ACEOF
12883 done
12885 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"
12886 then
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12888 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12889 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12890 $as_echo_n "(cached) " >&6
12891 else
12892 ac_check_lib_save_LIBS=$LIBS
12893 LIBS="-lxml2 $XML2_LIBS $LIBS"
12894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12897 /* Override any GCC internal prototype to avoid an error.
12898 Use char because int might match the return type of a GCC
12899 builtin and then its argument prototype would still apply. */
12900 #ifdef __cplusplus
12901 extern "C"
12902 #endif
12903 char xmlParseMemory ();
12905 main ()
12907 return xmlParseMemory ();
12909 return 0;
12911 _ACEOF
12912 if ac_fn_c_try_link "$LINENO"; then :
12913 ac_cv_lib_xml2_xmlParseMemory=yes
12914 else
12915 ac_cv_lib_xml2_xmlParseMemory=no
12917 rm -f core conftest.err conftest.$ac_objext \
12918 conftest$ac_exeext conftest.$ac_ext
12919 LIBS=$ac_check_lib_save_LIBS
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12922 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12923 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12925 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12927 else
12928 XML2_LIBS=""
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12932 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12933 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12934 $as_echo_n "(cached) " >&6
12935 else
12936 ac_check_lib_save_LIBS=$LIBS
12937 LIBS="-lxml2 $XML2_LIBS $LIBS"
12938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12941 /* Override any GCC internal prototype to avoid an error.
12942 Use char because int might match the return type of a GCC
12943 builtin and then its argument prototype would still apply. */
12944 #ifdef __cplusplus
12945 extern "C"
12946 #endif
12947 char xmlReadMemory ();
12949 main ()
12951 return xmlReadMemory ();
12953 return 0;
12955 _ACEOF
12956 if ac_fn_c_try_link "$LINENO"; then :
12957 ac_cv_lib_xml2_xmlReadMemory=yes
12958 else
12959 ac_cv_lib_xml2_xmlReadMemory=no
12961 rm -f core conftest.err conftest.$ac_objext \
12962 conftest$ac_exeext conftest.$ac_ext
12963 LIBS=$ac_check_lib_save_LIBS
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12966 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12967 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12969 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12974 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12975 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12976 $as_echo_n "(cached) " >&6
12977 else
12978 ac_check_lib_save_LIBS=$LIBS
12979 LIBS="-lxml2 $XML2_LIBS $LIBS"
12980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12983 /* Override any GCC internal prototype to avoid an error.
12984 Use char because int might match the return type of a GCC
12985 builtin and then its argument prototype would still apply. */
12986 #ifdef __cplusplus
12987 extern "C"
12988 #endif
12989 char xmlNewDocPI ();
12991 main ()
12993 return xmlNewDocPI ();
12995 return 0;
12997 _ACEOF
12998 if ac_fn_c_try_link "$LINENO"; then :
12999 ac_cv_lib_xml2_xmlNewDocPI=yes
13000 else
13001 ac_cv_lib_xml2_xmlNewDocPI=no
13003 rm -f core conftest.err conftest.$ac_objext \
13004 conftest$ac_exeext conftest.$ac_ext
13005 LIBS=$ac_check_lib_save_LIBS
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13008 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13009 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13011 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13016 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13017 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13018 $as_echo_n "(cached) " >&6
13019 else
13020 ac_check_lib_save_LIBS=$LIBS
13021 LIBS="-lxml2 $XML2_LIBS $LIBS"
13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13025 /* Override any GCC internal prototype to avoid an error.
13026 Use char because int might match the return type of a GCC
13027 builtin and then its argument prototype would still apply. */
13028 #ifdef __cplusplus
13029 extern "C"
13030 #endif
13031 char xmlSchemaSetParserStructuredErrors ();
13033 main ()
13035 return xmlSchemaSetParserStructuredErrors ();
13037 return 0;
13039 _ACEOF
13040 if ac_fn_c_try_link "$LINENO"; then :
13041 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13042 else
13043 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13045 rm -f core conftest.err conftest.$ac_objext \
13046 conftest$ac_exeext conftest.$ac_ext
13047 LIBS=$ac_check_lib_save_LIBS
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13050 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13051 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13053 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13058 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13059 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13060 $as_echo_n "(cached) " >&6
13061 else
13062 ac_check_lib_save_LIBS=$LIBS
13063 LIBS="-lxml2 $XML2_LIBS $LIBS"
13064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h. */
13067 /* Override any GCC internal prototype to avoid an error.
13068 Use char because int might match the return type of a GCC
13069 builtin and then its argument prototype would still apply. */
13070 #ifdef __cplusplus
13071 extern "C"
13072 #endif
13073 char xmlSchemaSetValidStructuredErrors ();
13075 main ()
13077 return xmlSchemaSetValidStructuredErrors ();
13079 return 0;
13081 _ACEOF
13082 if ac_fn_c_try_link "$LINENO"; then :
13083 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13084 else
13085 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13087 rm -f core conftest.err conftest.$ac_objext \
13088 conftest$ac_exeext conftest.$ac_ext
13089 LIBS=$ac_check_lib_save_LIBS
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13092 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13093 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13095 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13100 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13101 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13102 $as_echo_n "(cached) " >&6
13103 else
13104 ac_check_lib_save_LIBS=$LIBS
13105 LIBS="-lxml2 $XML2_LIBS $LIBS"
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13112 #ifdef __cplusplus
13113 extern "C"
13114 #endif
13115 char xmlFirstElementChild ();
13117 main ()
13119 return xmlFirstElementChild ();
13121 return 0;
13123 _ACEOF
13124 if ac_fn_c_try_link "$LINENO"; then :
13125 ac_cv_lib_xml2_xmlFirstElementChild=yes
13126 else
13127 ac_cv_lib_xml2_xmlFirstElementChild=no
13129 rm -f core conftest.err conftest.$ac_objext \
13130 conftest$ac_exeext conftest.$ac_ext
13131 LIBS=$ac_check_lib_save_LIBS
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13134 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13135 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13137 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13141 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13143 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13145 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13149 else
13150 XML2_CFLAGS=""
13151 XML2_LIBS=""
13153 CPPFLAGS=$ac_save_CPPFLAGS
13154 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13155 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13158 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13159 case "x$with_xml" in
13160 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13161 xno) ;;
13162 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13163 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13164 esac
13168 if test "x$with_xslt" != "xno"
13169 then
13170 if ${XSLT_CFLAGS:+false} :; then :
13171 if ${PKG_CONFIG+:} false; then :
13172 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13175 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13176 if ${XSLT_LIBS:+false} :; then :
13177 if ${PKG_CONFIG+:} false; then :
13178 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13181 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13182 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13183 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13184 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13185 ac_save_CPPFLAGS=$CPPFLAGS
13186 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13187 for ac_header in libxslt/pattern.h libxslt/transform.h
13188 do :
13189 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13190 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13191 # include <libxslt/pattern.h>
13192 #endif
13194 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13195 cat >>confdefs.h <<_ACEOF
13196 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13197 _ACEOF
13201 done
13203 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13204 then
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13206 $as_echo_n "checking for -lxslt... " >&6; }
13207 if ${ac_cv_lib_soname_xslt+:} false; then :
13208 $as_echo_n "(cached) " >&6
13209 else
13210 ac_check_soname_save_LIBS=$LIBS
13211 LIBS="-lxslt $XSLT_LIBS $LIBS"
13212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13213 /* end confdefs.h. */
13215 /* Override any GCC internal prototype to avoid an error.
13216 Use char because int might match the return type of a GCC
13217 builtin and then its argument prototype would still apply. */
13218 #ifdef __cplusplus
13219 extern "C"
13220 #endif
13221 char xsltCompilePattern ();
13223 main ()
13225 return xsltCompilePattern ();
13227 return 0;
13229 _ACEOF
13230 if ac_fn_c_try_link "$LINENO"; then :
13231 case "$LIBEXT" in
13232 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13233 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'` ;;
13234 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13235 if ${ac_cv_lib_soname_xslt:+false} :; then :
13236 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13237 fi ;;
13238 esac
13239 else
13240 ac_cv_lib_soname_xslt=
13242 rm -f core conftest.err conftest.$ac_objext \
13243 conftest$ac_exeext conftest.$ac_ext
13244 LIBS=$ac_check_soname_save_LIBS
13246 if ${ac_cv_lib_soname_xslt:+false} :; then :
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13248 $as_echo "not found" >&6; }
13250 else
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13252 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13254 cat >>confdefs.h <<_ACEOF
13255 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13256 _ACEOF
13260 else
13261 XSLT_CFLAGS=""
13263 CPPFLAGS=$ac_save_CPPFLAGS
13264 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13265 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13268 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13269 case "x$with_xslt" in
13270 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13271 xno) ;;
13272 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13273 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13274 esac
13278 if test "x$with_inotify" != "xno"
13279 then
13280 if ${INOTIFY_CFLAGS:+false} :; then :
13281 if ${PKG_CONFIG+:} false; then :
13282 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13286 if ${INOTIFY_LIBS:+false} :; then :
13287 if ${PKG_CONFIG+:} false; then :
13288 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13293 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13294 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13295 ac_save_CPPFLAGS=$CPPFLAGS
13296 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13297 for ac_header in sys/inotify.h
13298 do :
13299 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13300 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13301 cat >>confdefs.h <<_ACEOF
13302 #define HAVE_SYS_INOTIFY_H 1
13303 _ACEOF
13307 done
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13310 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13311 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13312 $as_echo_n "(cached) " >&6
13313 else
13314 ac_check_lib_save_LIBS=$LIBS
13315 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13317 /* end confdefs.h. */
13319 /* Override any GCC internal prototype to avoid an error.
13320 Use char because int might match the return type of a GCC
13321 builtin and then its argument prototype would still apply. */
13322 #ifdef __cplusplus
13323 extern "C"
13324 #endif
13325 char inotify_add_watch ();
13327 main ()
13329 return inotify_add_watch ();
13331 return 0;
13333 _ACEOF
13334 if ac_fn_c_try_link "$LINENO"; then :
13335 ac_cv_lib_inotify_inotify_add_watch=yes
13336 else
13337 ac_cv_lib_inotify_inotify_add_watch=no
13339 rm -f core conftest.err conftest.$ac_objext \
13340 conftest$ac_exeext conftest.$ac_ext
13341 LIBS=$ac_check_lib_save_LIBS
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13344 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13345 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13347 else
13348 INOTIFY_LIBS=""
13351 CPPFLAGS=$ac_save_CPPFLAGS
13352 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13353 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13356 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13357 case "x$with_inotify" in
13358 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13359 xno) ;;
13360 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13361 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13362 esac
13366 if test "x$with_dbus" != "xno"
13367 then
13368 if ${DBUS_CFLAGS:+false} :; then :
13369 if ${PKG_CONFIG+:} false; then :
13370 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13374 if ${DBUS_LIBS:+false} :; then :
13375 if ${PKG_CONFIG+:} false; then :
13376 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13381 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13382 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13383 ac_save_CPPFLAGS=$CPPFLAGS
13384 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13385 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13386 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13388 $as_echo_n "checking for -ldbus-1... " >&6; }
13389 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13390 $as_echo_n "(cached) " >&6
13391 else
13392 ac_check_soname_save_LIBS=$LIBS
13393 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13395 /* end confdefs.h. */
13397 /* Override any GCC internal prototype to avoid an error.
13398 Use char because int might match the return type of a GCC
13399 builtin and then its argument prototype would still apply. */
13400 #ifdef __cplusplus
13401 extern "C"
13402 #endif
13403 char dbus_connection_close ();
13405 main ()
13407 return dbus_connection_close ();
13409 return 0;
13411 _ACEOF
13412 if ac_fn_c_try_link "$LINENO"; then :
13413 case "$LIBEXT" in
13414 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13415 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'` ;;
13416 *) 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'`
13417 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13418 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13419 fi ;;
13420 esac
13421 else
13422 ac_cv_lib_soname_dbus_1=
13424 rm -f core conftest.err conftest.$ac_objext \
13425 conftest$ac_exeext conftest.$ac_ext
13426 LIBS=$ac_check_soname_save_LIBS
13428 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13430 $as_echo "not found" >&6; }
13431 DBUS_CFLAGS=""
13432 else
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13434 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13436 cat >>confdefs.h <<_ACEOF
13437 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13438 _ACEOF
13442 else
13443 DBUS_CFLAGS=""
13447 CPPFLAGS=$ac_save_CPPFLAGS
13448 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13449 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13452 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13453 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13454 case "x$with_dbus" in
13455 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13456 xno) ;;
13457 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13458 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13459 esac
13463 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13464 then
13465 if ${HAL_CFLAGS:+false} :; then :
13466 if ${PKG_CONFIG+:} false; then :
13467 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13471 if ${HAL_LIBS:+false} :; then :
13472 if ${PKG_CONFIG+:} false; then :
13473 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13477 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13478 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13479 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13480 ac_save_CPPFLAGS=$CPPFLAGS
13481 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13482 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13483 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13485 $as_echo_n "checking for -lhal... " >&6; }
13486 if ${ac_cv_lib_soname_hal+:} false; then :
13487 $as_echo_n "(cached) " >&6
13488 else
13489 ac_check_soname_save_LIBS=$LIBS
13490 LIBS="-lhal $HAL_LIBS $LIBS"
13491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13492 /* end confdefs.h. */
13494 /* Override any GCC internal prototype to avoid an error.
13495 Use char because int might match the return type of a GCC
13496 builtin and then its argument prototype would still apply. */
13497 #ifdef __cplusplus
13498 extern "C"
13499 #endif
13500 char libhal_ctx_new ();
13502 main ()
13504 return libhal_ctx_new ();
13506 return 0;
13508 _ACEOF
13509 if ac_fn_c_try_link "$LINENO"; then :
13510 case "$LIBEXT" in
13511 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13512 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'` ;;
13513 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13514 if ${ac_cv_lib_soname_hal:+false} :; then :
13515 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13516 fi ;;
13517 esac
13518 else
13519 ac_cv_lib_soname_hal=
13521 rm -f core conftest.err conftest.$ac_objext \
13522 conftest$ac_exeext conftest.$ac_ext
13523 LIBS=$ac_check_soname_save_LIBS
13525 if ${ac_cv_lib_soname_hal:+false} :; then :
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13527 $as_echo "not found" >&6; }
13528 HAL_CFLAGS=""
13529 else
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13531 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13533 cat >>confdefs.h <<_ACEOF
13534 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13535 _ACEOF
13539 else
13540 HAL_CFLAGS=""
13544 CPPFLAGS=$ac_save_CPPFLAGS
13545 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13546 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13548 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13549 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13550 case "x$with_hal" in
13551 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13552 xno) ;;
13553 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13554 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13555 esac
13560 if test "x$with_gnutls" != "xno"
13561 then
13562 if ${GNUTLS_CFLAGS:+false} :; then :
13563 if ${PKG_CONFIG+:} false; then :
13564 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13568 if ${GNUTLS_LIBS:+false} :; then :
13569 if ${PKG_CONFIG+:} false; then :
13570 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13575 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13576 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13577 ac_save_CPPFLAGS=$CPPFLAGS
13578 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13579 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13580 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13582 /* end confdefs.h. */
13583 #include <gnutls/gnutls.h>
13584 #include <gnutls/crypto.h>
13586 main ()
13588 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13590 return 0;
13592 _ACEOF
13593 if ac_fn_c_try_compile "$LINENO"; then :
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13595 $as_echo_n "checking for -lgnutls... " >&6; }
13596 if ${ac_cv_lib_soname_gnutls+:} false; then :
13597 $as_echo_n "(cached) " >&6
13598 else
13599 ac_check_soname_save_LIBS=$LIBS
13600 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13602 /* end confdefs.h. */
13604 /* Override any GCC internal prototype to avoid an error.
13605 Use char because int might match the return type of a GCC
13606 builtin and then its argument prototype would still apply. */
13607 #ifdef __cplusplus
13608 extern "C"
13609 #endif
13610 char gnutls_global_init ();
13612 main ()
13614 return gnutls_global_init ();
13616 return 0;
13618 _ACEOF
13619 if ac_fn_c_try_link "$LINENO"; then :
13620 case "$LIBEXT" in
13621 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13622 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'` ;;
13623 *) 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'`
13624 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13625 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'`
13626 fi ;;
13627 esac
13628 else
13629 ac_cv_lib_soname_gnutls=
13631 rm -f core conftest.err conftest.$ac_objext \
13632 conftest$ac_exeext conftest.$ac_ext
13633 LIBS=$ac_check_soname_save_LIBS
13635 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13637 $as_echo "not found" >&6; }
13638 GNUTLS_CFLAGS=""
13639 else
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13641 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13643 cat >>confdefs.h <<_ACEOF
13644 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13645 _ACEOF
13649 ac_wine_check_funcs_save_LIBS="$LIBS"
13650 LIBS="$LIBS $GNUTLS_LIBS"
13651 for ac_func in gnutls_cipher_init
13652 do :
13653 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13654 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13655 cat >>confdefs.h <<_ACEOF
13656 #define HAVE_GNUTLS_CIPHER_INIT 1
13657 _ACEOF
13659 else
13660 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13662 done
13664 LIBS="$ac_wine_check_funcs_save_LIBS"
13666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13667 else
13668 GNUTLS_CFLAGS=""
13672 CPPFLAGS=$ac_save_CPPFLAGS
13673 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13674 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13677 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13678 case "x$with_gnutls" in
13679 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13680 xno) ;;
13681 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13682 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13683 esac
13687 CURSES_LIBS=""
13688 if test "$ac_cv_header_ncurses_h" = "yes"
13689 then
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13691 $as_echo_n "checking for -lncurses... " >&6; }
13692 if ${ac_cv_lib_soname_ncurses+:} false; then :
13693 $as_echo_n "(cached) " >&6
13694 else
13695 ac_check_soname_save_LIBS=$LIBS
13696 LIBS="-lncurses $LIBS"
13697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13700 /* Override any GCC internal prototype to avoid an error.
13701 Use char because int might match the return type of a GCC
13702 builtin and then its argument prototype would still apply. */
13703 #ifdef __cplusplus
13704 extern "C"
13705 #endif
13706 char waddch ();
13708 main ()
13710 return waddch ();
13712 return 0;
13714 _ACEOF
13715 if ac_fn_c_try_link "$LINENO"; then :
13716 case "$LIBEXT" in
13717 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13718 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'` ;;
13719 *) 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'`
13720 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13721 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13722 fi ;;
13723 esac
13724 else
13725 ac_cv_lib_soname_ncurses=
13727 rm -f core conftest.err conftest.$ac_objext \
13728 conftest$ac_exeext conftest.$ac_ext
13729 LIBS=$ac_check_soname_save_LIBS
13731 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13733 $as_echo "not found" >&6; }
13735 else
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13737 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13739 cat >>confdefs.h <<_ACEOF
13740 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13741 _ACEOF
13743 CURSES_LIBS="-lncurses"
13745 elif test "$ac_cv_header_curses_h" = "yes"
13746 then
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13748 $as_echo_n "checking for -lcurses... " >&6; }
13749 if ${ac_cv_lib_soname_curses+:} false; then :
13750 $as_echo_n "(cached) " >&6
13751 else
13752 ac_check_soname_save_LIBS=$LIBS
13753 LIBS="-lcurses $LIBS"
13754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13757 /* Override any GCC internal prototype to avoid an error.
13758 Use char because int might match the return type of a GCC
13759 builtin and then its argument prototype would still apply. */
13760 #ifdef __cplusplus
13761 extern "C"
13762 #endif
13763 char waddch ();
13765 main ()
13767 return waddch ();
13769 return 0;
13771 _ACEOF
13772 if ac_fn_c_try_link "$LINENO"; then :
13773 case "$LIBEXT" in
13774 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13775 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'` ;;
13776 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13777 if ${ac_cv_lib_soname_curses:+false} :; then :
13778 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13779 fi ;;
13780 esac
13781 else
13782 ac_cv_lib_soname_curses=
13784 rm -f core conftest.err conftest.$ac_objext \
13785 conftest$ac_exeext conftest.$ac_ext
13786 LIBS=$ac_check_soname_save_LIBS
13788 if ${ac_cv_lib_soname_curses:+false} :; then :
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13790 $as_echo "not found" >&6; }
13792 else
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13794 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13796 cat >>confdefs.h <<_ACEOF
13797 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13798 _ACEOF
13800 CURSES_LIBS="-lcurses"
13803 ac_save_LIBS="$LIBS"
13804 LIBS="$LIBS $CURSES_LIBS"
13805 for ac_func in mousemask
13806 do :
13807 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13808 if test "x$ac_cv_func_mousemask" = xyes; then :
13809 cat >>confdefs.h <<_ACEOF
13810 #define HAVE_MOUSEMASK 1
13811 _ACEOF
13814 done
13816 LIBS="$ac_save_LIBS"
13817 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13818 case "x$with_curses" in
13819 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13820 xno) ;;
13821 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13822 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13823 esac
13827 if test "x$with_sane" != "xno"
13828 then
13829 if ${SANE_CFLAGS:+false} :; then :
13830 if ${PKG_CONFIG+:} false; then :
13831 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13834 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13835 if ${SANE_LIBS:+false} :; then :
13836 if ${PKG_CONFIG+:} false; then :
13837 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13840 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13842 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13843 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13844 ac_save_CPPFLAGS=$CPPFLAGS
13845 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13846 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13847 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13849 $as_echo_n "checking for -lsane... " >&6; }
13850 if ${ac_cv_lib_soname_sane+:} false; then :
13851 $as_echo_n "(cached) " >&6
13852 else
13853 ac_check_soname_save_LIBS=$LIBS
13854 LIBS="-lsane $SANE_LIBS $LIBS"
13855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13856 /* end confdefs.h. */
13858 /* Override any GCC internal prototype to avoid an error.
13859 Use char because int might match the return type of a GCC
13860 builtin and then its argument prototype would still apply. */
13861 #ifdef __cplusplus
13862 extern "C"
13863 #endif
13864 char sane_init ();
13866 main ()
13868 return sane_init ();
13870 return 0;
13872 _ACEOF
13873 if ac_fn_c_try_link "$LINENO"; then :
13874 case "$LIBEXT" in
13875 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13876 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'` ;;
13877 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13878 if ${ac_cv_lib_soname_sane:+false} :; then :
13879 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13880 fi ;;
13881 esac
13882 else
13883 ac_cv_lib_soname_sane=
13885 rm -f core conftest.err conftest.$ac_objext \
13886 conftest$ac_exeext conftest.$ac_ext
13887 LIBS=$ac_check_soname_save_LIBS
13889 if ${ac_cv_lib_soname_sane:+false} :; then :
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13891 $as_echo "not found" >&6; }
13892 SANE_CFLAGS=""
13893 else
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13895 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13897 cat >>confdefs.h <<_ACEOF
13898 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13899 _ACEOF
13903 else
13904 SANE_CFLAGS=""
13908 CPPFLAGS=$ac_save_CPPFLAGS
13909 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13910 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13913 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13914 case "x$with_sane" in
13915 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13916 xno) ;;
13917 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13918 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13919 esac
13923 if test "x$with_usb" != "xno"
13924 then
13925 if ${USB_CFLAGS:+false} :; then :
13926 if ${PKG_CONFIG+:} false; then :
13927 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13931 if ${USB_LIBS:+false} :; then :
13932 if ${PKG_CONFIG+:} false; then :
13933 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13937 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13938 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13939 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13940 ac_save_CPPFLAGS=$CPPFLAGS
13941 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13942 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13943 if test "x$ac_cv_header_libusb_h" = xyes; then :
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13945 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13946 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13947 $as_echo_n "(cached) " >&6
13948 else
13949 ac_check_lib_save_LIBS=$LIBS
13950 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13954 /* Override any GCC internal prototype to avoid an error.
13955 Use char because int might match the return type of a GCC
13956 builtin and then its argument prototype would still apply. */
13957 #ifdef __cplusplus
13958 extern "C"
13959 #endif
13960 char libusb_interrupt_event_handler ();
13962 main ()
13964 return libusb_interrupt_event_handler ();
13966 return 0;
13968 _ACEOF
13969 if ac_fn_c_try_link "$LINENO"; then :
13970 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13971 else
13972 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13974 rm -f core conftest.err conftest.$ac_objext \
13975 conftest$ac_exeext conftest.$ac_ext
13976 LIBS=$ac_check_lib_save_LIBS
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13979 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13980 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13982 else
13983 USB_LIBS=""
13986 else
13987 USB_LIBS=""
13991 CPPFLAGS=$ac_save_CPPFLAGS
13992 test -z "$USB_CFLAGS" || USB_CFLAGS=`echo " $USB_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13993 test -z "$USB_LIBS" || USB_LIBS=`echo " $USB_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13996 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13997 case "x$with_usb" in
13998 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13999 xno) ;;
14000 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
14001 This is an error since --with-usb was requested." "$LINENO" 5 ;;
14002 esac
14003 enable_wineusb_sys=${enable_wineusb_sys:-no}
14006 if test "x$with_v4l2" != "xno"
14007 then
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
14009 $as_echo_n "checking for -lv4l2... " >&6; }
14010 if ${ac_cv_lib_soname_v4l2+:} false; then :
14011 $as_echo_n "(cached) " >&6
14012 else
14013 ac_check_soname_save_LIBS=$LIBS
14014 LIBS="-lv4l2 $LIBS"
14015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14016 /* end confdefs.h. */
14018 /* Override any GCC internal prototype to avoid an error.
14019 Use char because int might match the return type of a GCC
14020 builtin and then its argument prototype would still apply. */
14021 #ifdef __cplusplus
14022 extern "C"
14023 #endif
14024 char v4l2_open ();
14026 main ()
14028 return v4l2_open ();
14030 return 0;
14032 _ACEOF
14033 if ac_fn_c_try_link "$LINENO"; then :
14034 case "$LIBEXT" in
14035 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14036 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'` ;;
14037 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14038 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14039 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14040 fi ;;
14041 esac
14042 else
14043 ac_cv_lib_soname_v4l2=
14045 rm -f core conftest.err conftest.$ac_objext \
14046 conftest$ac_exeext conftest.$ac_ext
14047 LIBS=$ac_check_soname_save_LIBS
14049 if ${ac_cv_lib_soname_v4l2:+false} :; then :
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14051 $as_echo "not found" >&6; }
14053 else
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
14055 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
14057 cat >>confdefs.h <<_ACEOF
14058 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
14059 _ACEOF
14064 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
14065 case "x$with_v4l2" in
14066 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
14067 xno) ;;
14068 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
14069 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
14070 esac
14074 if test "x$with_gphoto" != "xno"
14075 then
14076 if ${GPHOTO2_CFLAGS:+false} :; then :
14077 if ${PKG_CONFIG+:} false; then :
14078 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
14081 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
14082 if ${GPHOTO2_LIBS:+false} :; then :
14083 if ${PKG_CONFIG+:} false; then :
14084 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
14087 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
14088 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
14089 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
14090 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
14091 ac_save_CPPFLAGS=$CPPFLAGS
14092 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14093 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14094 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14096 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14097 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14098 $as_echo_n "(cached) " >&6
14099 else
14100 ac_check_lib_save_LIBS=$LIBS
14101 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14103 /* end confdefs.h. */
14105 /* Override any GCC internal prototype to avoid an error.
14106 Use char because int might match the return type of a GCC
14107 builtin and then its argument prototype would still apply. */
14108 #ifdef __cplusplus
14109 extern "C"
14110 #endif
14111 char gp_camera_new ();
14113 main ()
14115 return gp_camera_new ();
14117 return 0;
14119 _ACEOF
14120 if ac_fn_c_try_link "$LINENO"; then :
14121 ac_cv_lib_gphoto2_gp_camera_new=yes
14122 else
14123 ac_cv_lib_gphoto2_gp_camera_new=no
14125 rm -f core conftest.err conftest.$ac_objext \
14126 conftest$ac_exeext conftest.$ac_ext
14127 LIBS=$ac_check_lib_save_LIBS
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14130 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14131 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14133 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14135 else
14136 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14139 else
14140 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14144 CPPFLAGS=$ac_save_CPPFLAGS
14145 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14146 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14148 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14149 if ${PKG_CONFIG+:} false; then :
14150 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14153 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14154 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14155 if ${PKG_CONFIG+:} false; then :
14156 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14159 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14160 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14161 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14162 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14163 ac_save_CPPFLAGS=$CPPFLAGS
14164 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14165 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14166 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14168 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14169 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14170 $as_echo_n "(cached) " >&6
14171 else
14172 ac_check_lib_save_LIBS=$LIBS
14173 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14175 /* end confdefs.h. */
14177 /* Override any GCC internal prototype to avoid an error.
14178 Use char because int might match the return type of a GCC
14179 builtin and then its argument prototype would still apply. */
14180 #ifdef __cplusplus
14181 extern "C"
14182 #endif
14183 char gp_port_info_list_new ();
14185 main ()
14187 return gp_port_info_list_new ();
14189 return 0;
14191 _ACEOF
14192 if ac_fn_c_try_link "$LINENO"; then :
14193 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14194 else
14195 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14197 rm -f core conftest.err conftest.$ac_objext \
14198 conftest$ac_exeext conftest.$ac_ext
14199 LIBS=$ac_check_lib_save_LIBS
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14202 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14203 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14205 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14207 else
14208 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14211 else
14212 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14216 CPPFLAGS=$ac_save_CPPFLAGS
14217 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14218 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14221 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14222 case "x$with_gphoto" in
14223 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14224 xno) ;;
14225 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14226 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14227 esac
14230 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14231 case "x$with_gphoto" in
14232 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14233 xno) ;;
14234 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14235 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14236 esac
14241 if test "$ac_cv_header_resolv_h" = "yes"
14242 then
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14244 $as_echo_n "checking for resolver library... " >&6; }
14245 if ${ac_cv_have_resolv+:} false; then :
14246 $as_echo_n "(cached) " >&6
14247 else
14248 ac_save_LIBS="$LIBS"
14249 for lib in '' -lresolv
14251 LIBS="$lib $ac_save_LIBS"
14252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14254 #ifdef HAVE_NETINET_IN_H
14255 #include <netinet/in.h>
14256 #endif
14257 #include <resolv.h>
14259 main ()
14261 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14263 return 0;
14265 _ACEOF
14266 if ac_fn_c_try_link "$LINENO"; then :
14267 ac_cv_have_resolv=${lib:-"none required"}
14268 else
14269 ac_cv_have_resolv="not found"
14271 rm -f core conftest.err conftest.$ac_objext \
14272 conftest$ac_exeext conftest.$ac_ext
14273 test "x$ac_cv_have_resolv" = "xnot found" || break
14274 done
14275 LIBS="$ac_save_LIBS"
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14278 $as_echo "$ac_cv_have_resolv" >&6; }
14280 case "$ac_cv_have_resolv" in
14281 "not found") ;;
14282 "none required")
14284 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14287 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14289 RESOLV_LIBS=$ac_cv_have_resolv
14291 esac
14293 if test "x$ac_cv_have_resolv" != "xnot found"
14294 then
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14296 $as_echo_n "checking for res_getservers... " >&6; }
14297 if ${ac_cv_have_res_getservers+:} false; then :
14298 $as_echo_n "(cached) " >&6
14299 else
14300 ac_save_LIBS="$LIBS"
14301 LIBS="$RESOLV_LIBS $LIBS"
14302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14303 /* end confdefs.h. */
14304 #include <resolv.h>
14306 main ()
14308 res_getservers(NULL, NULL, 0);
14310 return 0;
14312 _ACEOF
14313 if ac_fn_c_try_link "$LINENO"; then :
14314 ac_cv_have_res_getservers=yes
14315 else
14316 ac_cv_have_res_getservers=no
14318 rm -f core conftest.err conftest.$ac_objext \
14319 conftest$ac_exeext conftest.$ac_ext
14320 LIBS="$ac_save_LIBS"
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14323 $as_echo "$ac_cv_have_res_getservers" >&6; }
14324 if test "$ac_cv_have_res_getservers" = "yes"
14325 then
14327 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14333 if test "x$with_cms" != "xno"
14334 then
14335 if ${LCMS2_CFLAGS:+false} :; then :
14336 if ${PKG_CONFIG+:} false; then :
14337 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14341 if ${LCMS2_LIBS:+false} :; then :
14342 if ${PKG_CONFIG+:} false; then :
14343 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14347 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14348 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14349 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14350 ac_save_CPPFLAGS=$CPPFLAGS
14351 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14352 for ac_header in lcms2.h
14353 do :
14354 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14355 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14356 cat >>confdefs.h <<_ACEOF
14357 #define HAVE_LCMS2_H 1
14358 _ACEOF
14362 done
14364 if test "$ac_cv_header_lcms2_h" = "yes"
14365 then
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14367 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14368 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14369 $as_echo_n "(cached) " >&6
14370 else
14371 ac_check_lib_save_LIBS=$LIBS
14372 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14376 /* Override any GCC internal prototype to avoid an error.
14377 Use char because int might match the return type of a GCC
14378 builtin and then its argument prototype would still apply. */
14379 #ifdef __cplusplus
14380 extern "C"
14381 #endif
14382 char cmsOpenProfileFromFile ();
14384 main ()
14386 return cmsOpenProfileFromFile ();
14388 return 0;
14390 _ACEOF
14391 if ac_fn_c_try_link "$LINENO"; then :
14392 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14393 else
14394 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14396 rm -f core conftest.err conftest.$ac_objext \
14397 conftest$ac_exeext conftest.$ac_ext
14398 LIBS=$ac_check_lib_save_LIBS
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14401 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14402 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14404 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14406 else
14407 LCMS2_LIBS=""
14410 else
14411 LCMS2_CFLAGS=""
14412 LCMS2_LIBS=""
14414 CPPFLAGS=$ac_save_CPPFLAGS
14415 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14416 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14419 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14420 case "x$with_cms" in
14421 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14422 xno) ;;
14423 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14424 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14425 esac
14429 if test "x$with_freetype" != "xno"
14430 then
14431 if ${FREETYPE_CFLAGS:+false} :; then :
14432 if ${PKG_CONFIG+:} false; then :
14433 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14436 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14437 if ${FREETYPE_LIBS:+false} :; then :
14438 if ${PKG_CONFIG+:} false; then :
14439 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14442 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14443 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14444 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14445 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14446 ac_save_CPPFLAGS=$CPPFLAGS
14447 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14448 for ac_header in ft2build.h
14449 do :
14450 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14451 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14452 cat >>confdefs.h <<_ACEOF
14453 #define HAVE_FT2BUILD_H 1
14454 _ACEOF
14458 done
14460 if test "$ac_cv_header_ft2build_h" = "yes"
14461 then
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14463 $as_echo_n "checking for -lfreetype... " >&6; }
14464 if ${ac_cv_lib_soname_freetype+:} false; then :
14465 $as_echo_n "(cached) " >&6
14466 else
14467 ac_check_soname_save_LIBS=$LIBS
14468 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14470 /* end confdefs.h. */
14472 /* Override any GCC internal prototype to avoid an error.
14473 Use char because int might match the return type of a GCC
14474 builtin and then its argument prototype would still apply. */
14475 #ifdef __cplusplus
14476 extern "C"
14477 #endif
14478 char FT_Init_FreeType ();
14480 main ()
14482 return FT_Init_FreeType ();
14484 return 0;
14486 _ACEOF
14487 if ac_fn_c_try_link "$LINENO"; then :
14488 case "$LIBEXT" in
14489 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14490 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'` ;;
14491 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14492 if ${ac_cv_lib_soname_freetype:+false} :; then :
14493 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14494 fi ;;
14495 esac
14496 else
14497 ac_cv_lib_soname_freetype=
14499 rm -f core conftest.err conftest.$ac_objext \
14500 conftest$ac_exeext conftest.$ac_ext
14501 LIBS=$ac_check_soname_save_LIBS
14503 if ${ac_cv_lib_soname_freetype:+false} :; then :
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14505 $as_echo "not found" >&6; }
14506 FREETYPE_LIBS=""
14507 else
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14509 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14511 cat >>confdefs.h <<_ACEOF
14512 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14513 _ACEOF
14516 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14518 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14519 #include FT_MODULE_H
14521 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14523 cat >>confdefs.h <<_ACEOF
14524 #define HAVE_FT_TRUETYPEENGINETYPE 1
14525 _ACEOF
14531 else
14532 FREETYPE_CFLAGS=""
14533 FREETYPE_LIBS=""
14535 CPPFLAGS=$ac_save_CPPFLAGS
14536 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14537 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14540 if test "x$ac_cv_lib_soname_freetype" = x; then :
14541 case "x$with_freetype" in
14542 xno) ;;
14543 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14544 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14545 esac
14546 enable_fonts=${enable_fonts:-no}
14549 ac_wine_check_funcs_save_LIBS="$LIBS"
14550 LIBS="$LIBS $PTHREAD_LIBS"
14551 for ac_func in \
14552 pthread_getthreadid_np
14553 do :
14554 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14556 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14557 cat >>confdefs.h <<_ACEOF
14558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14559 _ACEOF
14562 done
14564 LIBS="$ac_wine_check_funcs_save_LIBS"
14566 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14567 then
14568 if test "$ac_cv_header_gettext_po_h" = "yes"
14569 then
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14571 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14572 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14573 $as_echo_n "(cached) " >&6
14574 else
14575 ac_check_lib_save_LIBS=$LIBS
14576 LIBS="-lgettextpo $LIBS"
14577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14578 /* end confdefs.h. */
14580 /* Override any GCC internal prototype to avoid an error.
14581 Use char because int might match the return type of a GCC
14582 builtin and then its argument prototype would still apply. */
14583 #ifdef __cplusplus
14584 extern "C"
14585 #endif
14586 char po_message_msgctxt ();
14588 main ()
14590 return po_message_msgctxt ();
14592 return 0;
14594 _ACEOF
14595 if ac_fn_c_try_link "$LINENO"; then :
14596 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14597 else
14598 ac_cv_lib_gettextpo_po_message_msgctxt=no
14600 rm -f core conftest.err conftest.$ac_objext \
14601 conftest$ac_exeext conftest.$ac_ext
14602 LIBS=$ac_check_lib_save_LIBS
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14605 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14606 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14608 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14610 GETTEXTPO_LIBS="-lgettextpo"
14615 if test "x$GETTEXTPO_LIBS" = "x"; then :
14616 case "x$with_gettextpo" in
14617 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14618 xno) ;;
14619 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14620 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14621 esac
14624 if test "$srcdir" != .; then :
14625 case "x$with_gettextpo" in
14626 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14627 xno) ;;
14628 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14629 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14630 esac
14635 if test "x$with_pulse" != "xno";
14636 then
14637 if ${PULSE_CFLAGS:+false} :; then :
14638 if ${PKG_CONFIG+:} false; then :
14639 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14643 if ${PULSE_LIBS:+false} :; then :
14644 if ${PKG_CONFIG+:} false; then :
14645 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14650 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14651 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14652 ac_save_CPPFLAGS=$CPPFLAGS
14653 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14654 for ac_header in pulse/pulseaudio.h
14655 do :
14656 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14657 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14658 cat >>confdefs.h <<_ACEOF
14659 #define HAVE_PULSE_PULSEAUDIO_H 1
14660 _ACEOF
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14662 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14663 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14664 $as_echo_n "(cached) " >&6
14665 else
14666 ac_check_lib_save_LIBS=$LIBS
14667 LIBS="-lpulse $PULSE_LIBS $LIBS"
14668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14669 /* end confdefs.h. */
14671 /* Override any GCC internal prototype to avoid an error.
14672 Use char because int might match the return type of a GCC
14673 builtin and then its argument prototype would still apply. */
14674 #ifdef __cplusplus
14675 extern "C"
14676 #endif
14677 char pa_stream_is_corked ();
14679 main ()
14681 return pa_stream_is_corked ();
14683 return 0;
14685 _ACEOF
14686 if ac_fn_c_try_link "$LINENO"; then :
14687 ac_cv_lib_pulse_pa_stream_is_corked=yes
14688 else
14689 ac_cv_lib_pulse_pa_stream_is_corked=no
14691 rm -f core conftest.err conftest.$ac_objext \
14692 conftest$ac_exeext conftest.$ac_ext
14693 LIBS=$ac_check_lib_save_LIBS
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14696 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14697 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14699 else
14700 PULSE_LIBS=""
14703 else
14704 PULSE_LIBS=""
14707 done
14709 CPPFLAGS=$ac_save_CPPFLAGS
14710 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14711 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14714 if test -z "$PULSE_LIBS"; then :
14715 case "x$with_pulse" in
14716 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14717 xno) ;;
14718 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14719 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14720 esac
14721 enable_winepulse_drv=${enable_winepulse_drv:-no}
14724 if test "x$with_gstreamer" != "xno"
14725 then
14726 if ${GSTREAMER_CFLAGS:+false} :; then :
14727 if ${PKG_CONFIG+:} false; then :
14728 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14732 if ${GSTREAMER_LIBS:+false} :; then :
14733 if ${PKG_CONFIG+:} false; then :
14734 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14739 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14740 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14741 ac_save_CPPFLAGS=$CPPFLAGS
14742 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14743 ac_gst_incl=""
14744 for i in $GSTREAMER_CFLAGS
14746 case "$i" in
14747 -I*) ac_gst_incl="$ac_gst_incl $i";;
14748 esac
14749 done
14750 GSTREAMER_CFLAGS=$ac_gst_incl
14751 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14752 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14753 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14755 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14758 #include <gst/gst.h>
14760 main ()
14762 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14764 return 0;
14766 _ACEOF
14767 if ac_fn_c_try_compile "$LINENO"; then :
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14769 $as_echo "yes" >&6; }
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14771 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14772 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14773 $as_echo_n "(cached) " >&6
14774 else
14775 ac_check_lib_save_LIBS=$LIBS
14776 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778 /* end confdefs.h. */
14780 /* Override any GCC internal prototype to avoid an error.
14781 Use char because int might match the return type of a GCC
14782 builtin and then its argument prototype would still apply. */
14783 #ifdef __cplusplus
14784 extern "C"
14785 #endif
14786 char gst_pad_new ();
14788 main ()
14790 return gst_pad_new ();
14792 return 0;
14794 _ACEOF
14795 if ac_fn_c_try_link "$LINENO"; then :
14796 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14797 else
14798 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14800 rm -f core conftest.err conftest.$ac_objext \
14801 conftest$ac_exeext conftest.$ac_ext
14802 LIBS=$ac_check_lib_save_LIBS
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14805 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14806 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14810 else
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14812 $as_echo "no" >&6; }
14813 ac_glib2_broken=yes
14814 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14820 CPPFLAGS=$ac_save_CPPFLAGS
14821 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14822 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14825 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 :
14826 case "x$with_gstreamer" in
14827 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14828 xno) ;;
14829 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14830 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14831 esac
14834 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14836 ALSA_LIBS=""
14838 if test "x$with_alsa" != "xno"
14839 then
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14841 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14842 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14843 $as_echo_n "(cached) " >&6
14844 else
14845 ac_check_lib_save_LIBS=$LIBS
14846 LIBS="-lasound $LIBS"
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14850 /* Override any GCC internal prototype to avoid an error.
14851 Use char because int might match the return type of a GCC
14852 builtin and then its argument prototype would still apply. */
14853 #ifdef __cplusplus
14854 extern "C"
14855 #endif
14856 char snd_pcm_hw_params_get_access_mask ();
14858 main ()
14860 return snd_pcm_hw_params_get_access_mask ();
14862 return 0;
14864 _ACEOF
14865 if ac_fn_c_try_link "$LINENO"; then :
14866 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14867 else
14868 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14870 rm -f core conftest.err conftest.$ac_objext \
14871 conftest$ac_exeext conftest.$ac_ext
14872 LIBS=$ac_check_lib_save_LIBS
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14875 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14876 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14879 #include <alsa/asoundlib.h>
14881 main ()
14883 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14885 return 0;
14887 _ACEOF
14888 if ac_fn_c_try_compile "$LINENO"; then :
14889 ALSA_LIBS="-lasound"
14891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14895 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14897 if test "x$with_oss" != xno
14898 then
14899 ac_save_CPPFLAGS="$CPPFLAGS"
14900 if test -f /etc/oss.conf
14901 then
14902 . /etc/oss.conf
14904 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14905 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14906 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14907 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14908 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14910 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14912 cat >>confdefs.h <<_ACEOF
14913 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14914 _ACEOF
14916 OSS4_CFLAGS="$ac_oss_incl"
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14919 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14920 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14921 $as_echo_n "(cached) " >&6
14922 else
14923 ac_check_lib_save_LIBS=$LIBS
14924 LIBS="-lossaudio $LIBS"
14925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14926 /* end confdefs.h. */
14928 /* Override any GCC internal prototype to avoid an error.
14929 Use char because int might match the return type of a GCC
14930 builtin and then its argument prototype would still apply. */
14931 #ifdef __cplusplus
14932 extern "C"
14933 #endif
14934 char _oss_ioctl ();
14936 main ()
14938 return _oss_ioctl ();
14940 return 0;
14942 _ACEOF
14943 if ac_fn_c_try_link "$LINENO"; then :
14944 ac_cv_lib_ossaudio__oss_ioctl=yes
14945 else
14946 ac_cv_lib_ossaudio__oss_ioctl=no
14948 rm -f core conftest.err conftest.$ac_objext \
14949 conftest$ac_exeext conftest.$ac_ext
14950 LIBS=$ac_check_lib_save_LIBS
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14953 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14954 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14955 OSS4_LIBS="-lossaudio"
14964 CPPFLAGS="$ac_save_CPPFLAGS"
14966 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14967 case "x$with_oss" in
14968 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14969 xno) ;;
14970 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14971 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14972 esac
14973 enable_wineoss_drv=${enable_wineoss_drv:-no}
14976 if test "x$with_udev" != "xno"
14977 then
14978 if ${UDEV_CFLAGS:+false} :; then :
14979 if ${PKG_CONFIG+:} false; then :
14980 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14984 if ${UDEV_LIBS:+false} :; then :
14985 if ${PKG_CONFIG+:} false; then :
14986 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14990 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14991 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14992 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14993 ac_save_CPPFLAGS=$CPPFLAGS
14994 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14995 for ac_header in libudev.h
14996 do :
14997 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14998 if test "x$ac_cv_header_libudev_h" = xyes; then :
14999 cat >>confdefs.h <<_ACEOF
15000 #define HAVE_LIBUDEV_H 1
15001 _ACEOF
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
15003 $as_echo_n "checking for udev_new in -ludev... " >&6; }
15004 if ${ac_cv_lib_udev_udev_new+:} false; then :
15005 $as_echo_n "(cached) " >&6
15006 else
15007 ac_check_lib_save_LIBS=$LIBS
15008 LIBS="-ludev $UDEV_LIBS $LIBS"
15009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15012 /* Override any GCC internal prototype to avoid an error.
15013 Use char because int might match the return type of a GCC
15014 builtin and then its argument prototype would still apply. */
15015 #ifdef __cplusplus
15016 extern "C"
15017 #endif
15018 char udev_new ();
15020 main ()
15022 return udev_new ();
15024 return 0;
15026 _ACEOF
15027 if ac_fn_c_try_link "$LINENO"; then :
15028 ac_cv_lib_udev_udev_new=yes
15029 else
15030 ac_cv_lib_udev_udev_new=no
15032 rm -f core conftest.err conftest.$ac_objext \
15033 conftest$ac_exeext conftest.$ac_ext
15034 LIBS=$ac_check_lib_save_LIBS
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
15037 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
15038 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
15040 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
15042 else
15043 UDEV_LIBS=""
15046 else
15047 UDEV_LIBS=""
15050 done
15052 CPPFLAGS=$ac_save_CPPFLAGS
15053 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15054 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15057 if test "x$UDEV_LIBS" = "x"; then :
15058 case "x$with_udev" in
15059 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
15060 xno) ;;
15061 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
15062 This is an error since --with-udev was requested." "$LINENO" 5 ;;
15063 esac
15067 if test "x$with_unwind" != xno
15068 then
15069 if ${UNWIND_CFLAGS:+false} :; then :
15070 if ${PKG_CONFIG+:} false; then :
15071 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
15075 if ${UNWIND_LIBS:+false} :; then :
15076 if ${PKG_CONFIG+:} false; then :
15077 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
15081 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
15082 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
15083 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
15084 ac_save_CPPFLAGS=$CPPFLAGS
15085 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
15087 $as_echo_n "checking for unw_step... " >&6; }
15088 if ${wine_cv_have_unw_step+:} false; then :
15089 $as_echo_n "(cached) " >&6
15090 else
15091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15092 /* end confdefs.h. */
15093 #define UNW_LOCAL_ONLY
15094 #include <libunwind.h>
15096 main ()
15098 unw_cursor_t cursor; unw_step( &cursor );
15100 return 0;
15102 _ACEOF
15103 if ac_fn_c_try_link "$LINENO"; then :
15104 wine_cv_have_unw_step="yes"
15105 else
15106 wine_cv_have_unw_step="no"
15108 rm -f core conftest.err conftest.$ac_objext \
15109 conftest$ac_exeext conftest.$ac_ext
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15112 $as_echo "$wine_cv_have_unw_step" >&6; }
15113 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15114 then
15115 save_libs=$LIBS
15116 LIBS="$UNWIND_LIBS $LIBS"
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15118 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15119 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15120 $as_echo_n "(cached) " >&6
15121 else
15122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15123 /* end confdefs.h. */
15124 #define UNW_LOCAL_ONLY
15125 #include <libunwind.h>
15127 main ()
15129 unw_cursor_t cursor; unw_step( &cursor );
15131 return 0;
15133 _ACEOF
15134 if ac_fn_c_try_link "$LINENO"; then :
15135 wine_cv_have_libunwind_unw_step="yes"
15136 else
15137 wine_cv_have_libunwind_unw_step="no"
15139 rm -f core conftest.err conftest.$ac_objext \
15140 conftest$ac_exeext conftest.$ac_ext
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15143 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15144 LIBS=$save_libs
15146 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15147 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15148 then
15150 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15153 CPPFLAGS=$ac_save_CPPFLAGS
15154 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15155 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15158 case $host in
15159 aarch64*|*-darwin*)
15160 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15161 case "x$with_unwind" in
15162 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15163 xno) ;;
15164 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15165 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15166 esac
15168 fi ;;
15169 esac
15171 if test "x$with_sdl" != "xno"
15172 then
15173 if ${SDL2_CFLAGS:+false} :; then :
15174 if ${PKG_CONFIG+:} false; then :
15175 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15179 if ${SDL2_LIBS:+false} :; then :
15180 if ${PKG_CONFIG+:} false; then :
15181 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15185 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15186 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15187 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15188 ac_save_CPPFLAGS=$CPPFLAGS
15189 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15190 for ac_header in SDL2/SDL.h
15191 do :
15192 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15193 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15194 cat >>confdefs.h <<_ACEOF
15195 #define HAVE_SDL2_SDL_H 1
15196 _ACEOF
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15198 $as_echo_n "checking for -lSDL2... " >&6; }
15199 if ${ac_cv_lib_soname_SDL2+:} false; then :
15200 $as_echo_n "(cached) " >&6
15201 else
15202 ac_check_soname_save_LIBS=$LIBS
15203 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15205 /* end confdefs.h. */
15207 /* Override any GCC internal prototype to avoid an error.
15208 Use char because int might match the return type of a GCC
15209 builtin and then its argument prototype would still apply. */
15210 #ifdef __cplusplus
15211 extern "C"
15212 #endif
15213 char SDL_Init ();
15215 main ()
15217 return SDL_Init ();
15219 return 0;
15221 _ACEOF
15222 if ac_fn_c_try_link "$LINENO"; then :
15223 case "$LIBEXT" in
15224 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15225 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'` ;;
15226 *) 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'`
15227 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15228 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15229 fi ;;
15230 esac
15231 else
15232 ac_cv_lib_soname_SDL2=
15234 rm -f core conftest.err conftest.$ac_objext \
15235 conftest$ac_exeext conftest.$ac_ext
15236 LIBS=$ac_check_soname_save_LIBS
15238 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15240 $as_echo "not found" >&6; }
15242 else
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15244 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15246 cat >>confdefs.h <<_ACEOF
15247 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15248 _ACEOF
15254 done
15256 CPPFLAGS=$ac_save_CPPFLAGS
15257 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15258 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15261 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15262 case "x$with_sdl" in
15263 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15264 xno) ;;
15265 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15266 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15267 esac
15271 if test "x$with_faudio" != "xno"
15272 then
15273 if ${FAUDIO_CFLAGS:+false} :; then :
15274 if ${PKG_CONFIG+:} false; then :
15275 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15279 if ${FAUDIO_LIBS:+false} :; then :
15280 if ${PKG_CONFIG+:} false; then :
15281 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15285 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15286 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15287 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15288 ac_save_CPPFLAGS=$CPPFLAGS
15289 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15290 for ac_header in FAudio.h
15291 do :
15292 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15293 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15294 cat >>confdefs.h <<_ACEOF
15295 #define HAVE_FAUDIO_H 1
15296 _ACEOF
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15298 $as_echo_n "checking for -lFAudio... " >&6; }
15299 if ${ac_cv_lib_soname_FAudio+:} false; then :
15300 $as_echo_n "(cached) " >&6
15301 else
15302 ac_check_soname_save_LIBS=$LIBS
15303 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15307 /* Override any GCC internal prototype to avoid an error.
15308 Use char because int might match the return type of a GCC
15309 builtin and then its argument prototype would still apply. */
15310 #ifdef __cplusplus
15311 extern "C"
15312 #endif
15313 char FAudioCreate ();
15315 main ()
15317 return FAudioCreate ();
15319 return 0;
15321 _ACEOF
15322 if ac_fn_c_try_link "$LINENO"; then :
15323 case "$LIBEXT" in
15324 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15325 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'` ;;
15326 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15327 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15328 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15329 fi ;;
15330 esac
15331 else
15332 ac_cv_lib_soname_FAudio=
15334 rm -f core conftest.err conftest.$ac_objext \
15335 conftest$ac_exeext conftest.$ac_ext
15336 LIBS=$ac_check_soname_save_LIBS
15338 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15340 $as_echo "not found" >&6; }
15342 else
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15344 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15346 cat >>confdefs.h <<_ACEOF
15347 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15348 _ACEOF
15354 done
15356 ac_wine_check_funcs_save_LIBS="$LIBS"
15357 LIBS="$LIBS $FAUDIO_LIBS"
15358 for ac_func in FAudio_CommitOperationSet \
15359 F3DAudioInitialize8 \
15360 FAudioLinkedVersion
15361 do :
15362 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15363 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15364 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15365 cat >>confdefs.h <<_ACEOF
15366 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15367 _ACEOF
15370 done
15372 LIBS="$ac_wine_check_funcs_save_LIBS"
15374 CPPFLAGS=$ac_save_CPPFLAGS
15375 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15376 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15379 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15380 case "x$with_faudio" in
15381 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15382 xno) ;;
15383 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15384 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15385 esac
15389 if test "x$with_capi" != "xno"
15390 then
15391 if ${CAPI20_CFLAGS:+false} :; then :
15392 if ${PKG_CONFIG+:} false; then :
15393 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15397 if ${CAPI20_LIBS:+false} :; then :
15398 if ${PKG_CONFIG+:} false; then :
15399 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15404 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15405 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15406 ac_save_CPPFLAGS=$CPPFLAGS
15407 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15408 for ac_header in capi20.h linux/capi.h
15409 do :
15410 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15411 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15413 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15414 cat >>confdefs.h <<_ACEOF
15415 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15416 _ACEOF
15420 done
15422 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15423 then
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15425 $as_echo_n "checking for -lcapi20... " >&6; }
15426 if ${ac_cv_lib_soname_capi20+:} false; then :
15427 $as_echo_n "(cached) " >&6
15428 else
15429 ac_check_soname_save_LIBS=$LIBS
15430 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15432 /* end confdefs.h. */
15434 /* Override any GCC internal prototype to avoid an error.
15435 Use char because int might match the return type of a GCC
15436 builtin and then its argument prototype would still apply. */
15437 #ifdef __cplusplus
15438 extern "C"
15439 #endif
15440 char capi20_register ();
15442 main ()
15444 return capi20_register ();
15446 return 0;
15448 _ACEOF
15449 if ac_fn_c_try_link "$LINENO"; then :
15450 case "$LIBEXT" in
15451 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15452 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'` ;;
15453 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15454 if ${ac_cv_lib_soname_capi20:+false} :; then :
15455 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15456 fi ;;
15457 esac
15458 else
15459 ac_cv_lib_soname_capi20=
15461 rm -f core conftest.err conftest.$ac_objext \
15462 conftest$ac_exeext conftest.$ac_ext
15463 LIBS=$ac_check_soname_save_LIBS
15465 if ${ac_cv_lib_soname_capi20:+false} :; then :
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15467 $as_echo "not found" >&6; }
15469 else
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15471 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15473 cat >>confdefs.h <<_ACEOF
15474 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15475 _ACEOF
15480 CPPFLAGS=$ac_save_CPPFLAGS
15481 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15482 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15485 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15486 case "x$with_capi" in
15487 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15488 xno) ;;
15489 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15490 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15491 esac
15495 if test "x$with_cups" != "xno"
15496 then
15497 if ${CUPS_CFLAGS:+false} :; then :
15498 if ${PKG_CONFIG+:} false; then :
15499 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15502 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15503 if ${CUPS_LIBS:+false} :; then :
15504 if ${PKG_CONFIG+:} false; then :
15505 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15508 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15509 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15510 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15511 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15512 ac_save_CPPFLAGS=$CPPFLAGS
15513 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15514 for ac_header in cups/cups.h cups/ppd.h
15515 do :
15516 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15517 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15518 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15519 cat >>confdefs.h <<_ACEOF
15520 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15521 _ACEOF
15525 done
15527 if test "$ac_cv_header_cups_cups_h" = "yes"
15528 then
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15530 $as_echo_n "checking for -lcups... " >&6; }
15531 if ${ac_cv_lib_soname_cups+:} false; then :
15532 $as_echo_n "(cached) " >&6
15533 else
15534 ac_check_soname_save_LIBS=$LIBS
15535 LIBS="-lcups $CUPS_LIBS $LIBS"
15536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15537 /* end confdefs.h. */
15539 /* Override any GCC internal prototype to avoid an error.
15540 Use char because int might match the return type of a GCC
15541 builtin and then its argument prototype would still apply. */
15542 #ifdef __cplusplus
15543 extern "C"
15544 #endif
15545 char cupsGetDefault ();
15547 main ()
15549 return cupsGetDefault ();
15551 return 0;
15553 _ACEOF
15554 if ac_fn_c_try_link "$LINENO"; then :
15555 case "$LIBEXT" in
15556 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15557 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'` ;;
15558 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15559 if ${ac_cv_lib_soname_cups:+false} :; then :
15560 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15561 fi ;;
15562 esac
15563 else
15564 ac_cv_lib_soname_cups=
15566 rm -f core conftest.err conftest.$ac_objext \
15567 conftest$ac_exeext conftest.$ac_ext
15568 LIBS=$ac_check_soname_save_LIBS
15570 if ${ac_cv_lib_soname_cups:+false} :; then :
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15572 $as_echo "not found" >&6; }
15573 CUPS_LIBS=""
15574 else
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15576 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15578 cat >>confdefs.h <<_ACEOF
15579 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15580 _ACEOF
15584 else
15585 CUPS_CFLAGS=""
15586 CUPS_LIBS=""
15588 CPPFLAGS=$ac_save_CPPFLAGS
15589 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15590 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15593 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15594 case "x$with_cups" in
15595 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15596 xno) ;;
15597 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15598 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15599 esac
15603 if test "x$with_fontconfig" != "xno"
15604 then
15605 if ${FONTCONFIG_CFLAGS:+false} :; then :
15606 if ${PKG_CONFIG+:} false; then :
15607 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15610 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15611 if ${FONTCONFIG_LIBS:+false} :; then :
15612 if ${PKG_CONFIG+:} false; then :
15613 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15616 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15618 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15619 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15620 ac_save_CPPFLAGS=$CPPFLAGS
15621 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15622 for ac_header in fontconfig/fontconfig.h
15623 do :
15624 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15625 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15626 cat >>confdefs.h <<_ACEOF
15627 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15628 _ACEOF
15632 done
15634 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15635 then
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15637 $as_echo_n "checking for -lfontconfig... " >&6; }
15638 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15639 $as_echo_n "(cached) " >&6
15640 else
15641 ac_check_soname_save_LIBS=$LIBS
15642 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15644 /* end confdefs.h. */
15646 /* Override any GCC internal prototype to avoid an error.
15647 Use char because int might match the return type of a GCC
15648 builtin and then its argument prototype would still apply. */
15649 #ifdef __cplusplus
15650 extern "C"
15651 #endif
15652 char FcInit ();
15654 main ()
15656 return FcInit ();
15658 return 0;
15660 _ACEOF
15661 if ac_fn_c_try_link "$LINENO"; then :
15662 case "$LIBEXT" in
15663 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15664 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'` ;;
15665 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15666 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15667 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15668 fi ;;
15669 esac
15670 else
15671 ac_cv_lib_soname_fontconfig=
15673 rm -f core conftest.err conftest.$ac_objext \
15674 conftest$ac_exeext conftest.$ac_ext
15675 LIBS=$ac_check_soname_save_LIBS
15677 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15679 $as_echo "not found" >&6; }
15680 FONTCONFIG_CFLAGS=""
15681 else
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15683 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15685 cat >>confdefs.h <<_ACEOF
15686 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15687 _ACEOF
15691 else
15692 FONTCONFIG_CFLAGS=""
15694 CPPFLAGS=$ac_save_CPPFLAGS
15695 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15696 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15699 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15700 case "x$with_fontconfig" in
15701 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15702 xno) ;;
15703 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15704 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15705 esac
15709 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15710 then
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15712 $as_echo_n "checking for -lgsm... " >&6; }
15713 if ${ac_cv_lib_soname_gsm+:} false; then :
15714 $as_echo_n "(cached) " >&6
15715 else
15716 ac_check_soname_save_LIBS=$LIBS
15717 LIBS="-lgsm $LIBS"
15718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15719 /* end confdefs.h. */
15721 /* Override any GCC internal prototype to avoid an error.
15722 Use char because int might match the return type of a GCC
15723 builtin and then its argument prototype would still apply. */
15724 #ifdef __cplusplus
15725 extern "C"
15726 #endif
15727 char gsm_create ();
15729 main ()
15731 return gsm_create ();
15733 return 0;
15735 _ACEOF
15736 if ac_fn_c_try_link "$LINENO"; then :
15737 case "$LIBEXT" in
15738 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15739 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'` ;;
15740 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15741 if ${ac_cv_lib_soname_gsm:+false} :; then :
15742 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15743 fi ;;
15744 esac
15745 else
15746 ac_cv_lib_soname_gsm=
15748 rm -f core conftest.err conftest.$ac_objext \
15749 conftest$ac_exeext conftest.$ac_ext
15750 LIBS=$ac_check_soname_save_LIBS
15752 if ${ac_cv_lib_soname_gsm:+false} :; then :
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15754 $as_echo "not found" >&6; }
15756 else
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15758 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15760 cat >>confdefs.h <<_ACEOF
15761 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15762 _ACEOF
15767 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15768 case "x$with_gsm" in
15769 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15770 xno) ;;
15771 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15772 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15773 esac
15777 if test "x$with_krb5" != "xno"
15778 then
15779 if ${KRB5_CFLAGS:+false} :; then :
15780 if ${PKG_CONFIG+:} false; then :
15781 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15784 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15785 if ${KRB5_LIBS:+false} :; then :
15786 if ${PKG_CONFIG+:} false; then :
15787 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15790 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15792 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15793 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15794 ac_save_CPPFLAGS=$CPPFLAGS
15795 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15796 for ac_header in krb5/krb5.h
15797 do :
15798 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15799 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15800 cat >>confdefs.h <<_ACEOF
15801 #define HAVE_KRB5_KRB5_H 1
15802 _ACEOF
15806 done
15808 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15809 then
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15811 $as_echo_n "checking for -lkrb5... " >&6; }
15812 if ${ac_cv_lib_soname_krb5+:} false; then :
15813 $as_echo_n "(cached) " >&6
15814 else
15815 ac_check_soname_save_LIBS=$LIBS
15816 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15818 /* end confdefs.h. */
15820 /* Override any GCC internal prototype to avoid an error.
15821 Use char because int might match the return type of a GCC
15822 builtin and then its argument prototype would still apply. */
15823 #ifdef __cplusplus
15824 extern "C"
15825 #endif
15826 char krb5_is_config_principal ();
15828 main ()
15830 return krb5_is_config_principal ();
15832 return 0;
15834 _ACEOF
15835 if ac_fn_c_try_link "$LINENO"; then :
15836 case "$LIBEXT" in
15837 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15838 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'` ;;
15839 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15840 if ${ac_cv_lib_soname_krb5:+false} :; then :
15841 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15842 fi ;;
15843 esac
15844 else
15845 ac_cv_lib_soname_krb5=
15847 rm -f core conftest.err conftest.$ac_objext \
15848 conftest$ac_exeext conftest.$ac_ext
15849 LIBS=$ac_check_soname_save_LIBS
15851 if ${ac_cv_lib_soname_krb5:+false} :; then :
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15853 $as_echo "not found" >&6; }
15854 KRB5_CFLAGS=""
15855 else
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15857 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15859 cat >>confdefs.h <<_ACEOF
15860 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15861 _ACEOF
15865 else
15866 KRB5_CFLAGS=""
15868 CPPFLAGS=$ac_save_CPPFLAGS
15869 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15870 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15873 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15874 case "x$with_krb5" in
15875 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15876 xno) ;;
15877 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15878 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15879 esac
15882 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15884 if test "x$with_gssapi" != "xno"
15885 then
15886 if ${GSSAPI_CFLAGS:+false} :; then :
15887 if ${PKG_CONFIG+:} false; then :
15888 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15891 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15892 if ${GSSAPI_LIBS:+false} :; then :
15893 if ${PKG_CONFIG+:} false; then :
15894 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15897 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15899 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15900 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15901 ac_save_CPPFLAGS=$CPPFLAGS
15902 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15903 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15904 do :
15905 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15906 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15907 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15908 cat >>confdefs.h <<_ACEOF
15909 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15910 _ACEOF
15914 done
15916 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15917 then
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15919 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15920 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15921 $as_echo_n "(cached) " >&6
15922 else
15923 ac_check_soname_save_LIBS=$LIBS
15924 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15928 /* Override any GCC internal prototype to avoid an error.
15929 Use char because int might match the return type of a GCC
15930 builtin and then its argument prototype would still apply. */
15931 #ifdef __cplusplus
15932 extern "C"
15933 #endif
15934 char gss_init_sec_context ();
15936 main ()
15938 return gss_init_sec_context ();
15940 return 0;
15942 _ACEOF
15943 if ac_fn_c_try_link "$LINENO"; then :
15944 case "$LIBEXT" in
15945 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15946 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'` ;;
15947 *) 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'`
15948 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15949 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15950 fi ;;
15951 esac
15952 else
15953 ac_cv_lib_soname_gssapi_krb5=
15955 rm -f core conftest.err conftest.$ac_objext \
15956 conftest$ac_exeext conftest.$ac_ext
15957 LIBS=$ac_check_soname_save_LIBS
15959 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15961 $as_echo "not found" >&6; }
15962 GSSAPI_CFLAGS=""
15963 else
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15965 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15967 cat >>confdefs.h <<_ACEOF
15968 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15969 _ACEOF
15973 else
15974 GSSAPI_CFLAGS=""
15976 CPPFLAGS=$ac_save_CPPFLAGS
15977 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15978 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15981 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15982 case "x$with_gssapi" in
15983 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15984 xno) ;;
15985 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15986 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15987 esac
15991 if test "x$with_jpeg" != "xno"
15992 then
15993 if ${JPEG_CFLAGS:+false} :; then :
15994 if ${PKG_CONFIG+:} false; then :
15995 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15999 if ${JPEG_LIBS:+false} :; then :
16000 if ${PKG_CONFIG+:} false; then :
16001 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
16006 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
16007 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
16008 ac_save_CPPFLAGS=$CPPFLAGS
16009 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
16010 for ac_header in jpeglib.h
16011 do :
16012 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
16013 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
16014 cat >>confdefs.h <<_ACEOF
16015 #define HAVE_JPEGLIB_H 1
16016 _ACEOF
16020 done
16022 if test "$ac_cv_header_jpeglib_h" = "yes"
16023 then
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
16025 $as_echo_n "checking for -ljpeg... " >&6; }
16026 if ${ac_cv_lib_soname_jpeg+:} false; then :
16027 $as_echo_n "(cached) " >&6
16028 else
16029 ac_check_soname_save_LIBS=$LIBS
16030 LIBS="-ljpeg $JPEG_LIBS $LIBS"
16031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16032 /* end confdefs.h. */
16034 /* Override any GCC internal prototype to avoid an error.
16035 Use char because int might match the return type of a GCC
16036 builtin and then its argument prototype would still apply. */
16037 #ifdef __cplusplus
16038 extern "C"
16039 #endif
16040 char jpeg_start_decompress ();
16042 main ()
16044 return jpeg_start_decompress ();
16046 return 0;
16048 _ACEOF
16049 if ac_fn_c_try_link "$LINENO"; then :
16050 case "$LIBEXT" in
16051 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16052 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'` ;;
16053 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16054 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16055 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16056 fi ;;
16057 esac
16058 else
16059 ac_cv_lib_soname_jpeg=
16061 rm -f core conftest.err conftest.$ac_objext \
16062 conftest$ac_exeext conftest.$ac_ext
16063 LIBS=$ac_check_soname_save_LIBS
16065 if ${ac_cv_lib_soname_jpeg:+false} :; then :
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16067 $as_echo "not found" >&6; }
16068 JPEG_CFLAGS=""
16069 else
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
16071 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
16073 cat >>confdefs.h <<_ACEOF
16074 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16075 _ACEOF
16079 else
16080 JPEG_CFLAGS=""
16082 CPPFLAGS=$ac_save_CPPFLAGS
16083 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16084 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16087 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
16088 case "x$with_jpeg" in
16089 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
16090 xno) ;;
16091 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
16092 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
16093 esac
16097 if test "x$with_png" != "xno"
16098 then
16099 if ${PNG_CFLAGS:+false} :; then :
16100 if ${PKG_CONFIG+:} false; then :
16101 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16104 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16105 if ${PNG_LIBS:+false} :; then :
16106 if ${PKG_CONFIG+:} false; then :
16107 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16110 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16112 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16113 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16114 ac_save_CPPFLAGS=$CPPFLAGS
16115 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16116 for ac_header in png.h
16117 do :
16118 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16119 if test "x$ac_cv_header_png_h" = xyes; then :
16120 cat >>confdefs.h <<_ACEOF
16121 #define HAVE_PNG_H 1
16122 _ACEOF
16126 done
16128 if test "$ac_cv_header_png_h" = "yes"
16129 then
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16131 $as_echo_n "checking for -lpng... " >&6; }
16132 if ${ac_cv_lib_soname_png+:} false; then :
16133 $as_echo_n "(cached) " >&6
16134 else
16135 ac_check_soname_save_LIBS=$LIBS
16136 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16138 /* end confdefs.h. */
16140 /* Override any GCC internal prototype to avoid an error.
16141 Use char because int might match the return type of a GCC
16142 builtin and then its argument prototype would still apply. */
16143 #ifdef __cplusplus
16144 extern "C"
16145 #endif
16146 char png_create_read_struct ();
16148 main ()
16150 return png_create_read_struct ();
16152 return 0;
16154 _ACEOF
16155 if ac_fn_c_try_link "$LINENO"; then :
16156 case "$LIBEXT" in
16157 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16158 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'` ;;
16159 *) 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'`
16160 if ${ac_cv_lib_soname_png:+false} :; then :
16161 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16162 fi ;;
16163 esac
16164 else
16165 ac_cv_lib_soname_png=
16167 rm -f core conftest.err conftest.$ac_objext \
16168 conftest$ac_exeext conftest.$ac_ext
16169 LIBS=$ac_check_soname_save_LIBS
16171 if ${ac_cv_lib_soname_png:+false} :; then :
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16173 $as_echo "not found" >&6; }
16174 PNG_CFLAGS=""
16175 else
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16177 $as_echo "$ac_cv_lib_soname_png" >&6; }
16179 cat >>confdefs.h <<_ACEOF
16180 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16181 _ACEOF
16185 else
16186 PNG_CFLAGS=""
16188 CPPFLAGS=$ac_save_CPPFLAGS
16189 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16190 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16193 if test "x$ac_cv_lib_soname_png" = "x"; then :
16194 case "x$with_png" in
16195 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16196 xno) ;;
16197 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16198 This is an error since --with-png was requested." "$LINENO" 5 ;;
16199 esac
16203 if test "x$with_tiff" != "xno"
16204 then
16205 if ${TIFF_CFLAGS:+false} :; then :
16206 if ${PKG_CONFIG+:} false; then :
16207 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16211 if ${TIFF_LIBS:+false} :; then :
16212 if ${PKG_CONFIG+:} false; then :
16213 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16218 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16219 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16220 ac_save_CPPFLAGS=$CPPFLAGS
16221 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16222 for ac_header in tiffio.h
16223 do :
16224 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16225 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16226 cat >>confdefs.h <<_ACEOF
16227 #define HAVE_TIFFIO_H 1
16228 _ACEOF
16232 done
16234 if test "$ac_cv_header_tiffio_h" = "yes"
16235 then
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16237 $as_echo_n "checking for -ltiff... " >&6; }
16238 if ${ac_cv_lib_soname_tiff+:} false; then :
16239 $as_echo_n "(cached) " >&6
16240 else
16241 ac_check_soname_save_LIBS=$LIBS
16242 LIBS="-ltiff $TIFF_LIBS $LIBS"
16243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16244 /* end confdefs.h. */
16246 /* Override any GCC internal prototype to avoid an error.
16247 Use char because int might match the return type of a GCC
16248 builtin and then its argument prototype would still apply. */
16249 #ifdef __cplusplus
16250 extern "C"
16251 #endif
16252 char TIFFClientOpen ();
16254 main ()
16256 return TIFFClientOpen ();
16258 return 0;
16260 _ACEOF
16261 if ac_fn_c_try_link "$LINENO"; then :
16262 case "$LIBEXT" in
16263 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16264 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'` ;;
16265 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16266 if ${ac_cv_lib_soname_tiff:+false} :; then :
16267 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16268 fi ;;
16269 esac
16270 else
16271 ac_cv_lib_soname_tiff=
16273 rm -f core conftest.err conftest.$ac_objext \
16274 conftest$ac_exeext conftest.$ac_ext
16275 LIBS=$ac_check_soname_save_LIBS
16277 if ${ac_cv_lib_soname_tiff:+false} :; then :
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16279 $as_echo "not found" >&6; }
16281 else
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16283 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16285 cat >>confdefs.h <<_ACEOF
16286 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16287 _ACEOF
16292 CPPFLAGS=$ac_save_CPPFLAGS
16293 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16294 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16297 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16298 case "x$with_tiff" in
16299 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16300 xno) ;;
16301 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16302 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16303 esac
16307 if test "x$with_mpg123" != "xno"
16308 then
16309 if ${MPG123_CFLAGS:+false} :; then :
16310 if ${PKG_CONFIG+:} false; then :
16311 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16315 if ${MPG123_LIBS:+false} :; then :
16316 if ${PKG_CONFIG+:} false; then :
16317 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16321 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16322 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16323 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16324 ac_save_CPPFLAGS=$CPPFLAGS
16325 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16326 for ac_header in mpg123.h
16327 do :
16328 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16329 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16330 cat >>confdefs.h <<_ACEOF
16331 #define HAVE_MPG123_H 1
16332 _ACEOF
16336 done
16338 if test "$ac_cv_header_mpg123_h" = "yes"
16339 then
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16341 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16342 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16343 $as_echo_n "(cached) " >&6
16344 else
16345 ac_check_lib_save_LIBS=$LIBS
16346 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16348 /* end confdefs.h. */
16350 /* Override any GCC internal prototype to avoid an error.
16351 Use char because int might match the return type of a GCC
16352 builtin and then its argument prototype would still apply. */
16353 #ifdef __cplusplus
16354 extern "C"
16355 #endif
16356 char mpg123_feed ();
16358 main ()
16360 return mpg123_feed ();
16362 return 0;
16364 _ACEOF
16365 if ac_fn_c_try_link "$LINENO"; then :
16366 ac_cv_lib_mpg123_mpg123_feed=yes
16367 else
16368 ac_cv_lib_mpg123_mpg123_feed=no
16370 rm -f core conftest.err conftest.$ac_objext \
16371 conftest$ac_exeext conftest.$ac_ext
16372 LIBS=$ac_check_lib_save_LIBS
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16375 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16376 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16378 else
16379 MPG123_LIBS=""
16382 else
16383 MPG123_CFLAGS=""
16384 MPG123_LIBS=""
16386 CPPFLAGS=$ac_save_CPPFLAGS
16387 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16388 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16391 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16392 case "x$with_mpg123" in
16393 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16394 xno) ;;
16395 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16396 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16397 esac
16398 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16400 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16402 if test "$ac_cv_header_AL_al_h" = "yes"
16403 then
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16405 $as_echo_n "checking for -lopenal... " >&6; }
16406 if ${ac_cv_lib_soname_openal+:} false; then :
16407 $as_echo_n "(cached) " >&6
16408 else
16409 ac_check_soname_save_LIBS=$LIBS
16410 LIBS="-lopenal $LIBS"
16411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16412 /* end confdefs.h. */
16414 /* Override any GCC internal prototype to avoid an error.
16415 Use char because int might match the return type of a GCC
16416 builtin and then its argument prototype would still apply. */
16417 #ifdef __cplusplus
16418 extern "C"
16419 #endif
16420 char alGetSource3i ();
16422 main ()
16424 return alGetSource3i ();
16426 return 0;
16428 _ACEOF
16429 if ac_fn_c_try_link "$LINENO"; then :
16430 case "$LIBEXT" in
16431 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16432 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'` ;;
16433 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16434 if ${ac_cv_lib_soname_openal:+false} :; then :
16435 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16436 fi ;;
16437 esac
16438 else
16439 ac_cv_lib_soname_openal=
16441 rm -f core conftest.err conftest.$ac_objext \
16442 conftest$ac_exeext conftest.$ac_ext
16443 LIBS=$ac_check_soname_save_LIBS
16445 if ${ac_cv_lib_soname_openal:+false} :; then :
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16447 $as_echo "not found" >&6; }
16449 else
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16451 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16453 cat >>confdefs.h <<_ACEOF
16454 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16455 _ACEOF
16457 OPENAL_LIBS="-lopenal"
16459 ac_cv_lib_openal=yes
16461 cat >>confdefs.h <<_ACEOF
16462 #define HAVE_OPENAL 1
16463 _ACEOF
16467 if test "x$ac_cv_lib_openal" != xyes; then :
16468 case "x$with_openal" in
16469 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16470 xno) ;;
16471 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16472 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16473 esac
16474 enable_openal32=${enable_openal32:-no}
16477 if test "x$ac_cv_lib_soname_FAudio" = "x"
16478 then
16479 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16480 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16481 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16482 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16483 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16484 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16485 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16486 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16487 enable_xapofx1_1=${enable_xapofx1_1:-no}
16488 enable_xapofx1_2=${enable_xapofx1_2:-no}
16489 enable_xapofx1_3=${enable_xapofx1_3:-no}
16490 enable_xapofx1_4=${enable_xapofx1_4:-no}
16491 enable_xapofx1_5=${enable_xapofx1_5:-no}
16492 enable_xaudio2_0=${enable_xaudio2_0:-no}
16493 enable_xaudio2_1=${enable_xaudio2_1:-no}
16494 enable_xaudio2_2=${enable_xaudio2_2:-no}
16495 enable_xaudio2_3=${enable_xaudio2_3:-no}
16496 enable_xaudio2_4=${enable_xaudio2_4:-no}
16497 enable_xaudio2_5=${enable_xaudio2_5:-no}
16498 enable_xaudio2_6=${enable_xaudio2_6:-no}
16499 enable_xaudio2_7=${enable_xaudio2_7:-no}
16500 enable_xaudio2_8=${enable_xaudio2_8:-no}
16501 enable_xaudio2_9=${enable_xaudio2_9:-no}
16504 if test "$ac_cv_header_kstat_h" = "yes"
16505 then
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16507 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16508 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16509 $as_echo_n "(cached) " >&6
16510 else
16511 ac_check_lib_save_LIBS=$LIBS
16512 LIBS="-lkstat $LIBS"
16513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h. */
16516 /* Override any GCC internal prototype to avoid an error.
16517 Use char because int might match the return type of a GCC
16518 builtin and then its argument prototype would still apply. */
16519 #ifdef __cplusplus
16520 extern "C"
16521 #endif
16522 char kstat_open ();
16524 main ()
16526 return kstat_open ();
16528 return 0;
16530 _ACEOF
16531 if ac_fn_c_try_link "$LINENO"; then :
16532 ac_cv_lib_kstat_kstat_open=yes
16533 else
16534 ac_cv_lib_kstat_kstat_open=no
16536 rm -f core conftest.err conftest.$ac_objext \
16537 conftest$ac_exeext conftest.$ac_ext
16538 LIBS=$ac_check_lib_save_LIBS
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16541 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16542 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16544 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16546 KSTAT_LIBS="-lkstat"
16552 if test "$ac_cv_header_libprocstat_h" = "yes"
16553 then
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16555 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16556 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16557 $as_echo_n "(cached) " >&6
16558 else
16559 ac_check_lib_save_LIBS=$LIBS
16560 LIBS="-lprocstat $LIBS"
16561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16562 /* end confdefs.h. */
16564 /* Override any GCC internal prototype to avoid an error.
16565 Use char because int might match the return type of a GCC
16566 builtin and then its argument prototype would still apply. */
16567 #ifdef __cplusplus
16568 extern "C"
16569 #endif
16570 char procstat_open_sysctl ();
16572 main ()
16574 return procstat_open_sysctl ();
16576 return 0;
16578 _ACEOF
16579 if ac_fn_c_try_link "$LINENO"; then :
16580 ac_cv_lib_procstat_procstat_open_sysctl=yes
16581 else
16582 ac_cv_lib_procstat_procstat_open_sysctl=no
16584 rm -f core conftest.err conftest.$ac_objext \
16585 conftest$ac_exeext conftest.$ac_ext
16586 LIBS=$ac_check_lib_save_LIBS
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16589 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16590 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16592 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16594 PROCSTAT_LIBS="-lprocstat"
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16601 $as_echo_n "checking for -lodbc... " >&6; }
16602 if ${ac_cv_lib_soname_odbc+:} false; then :
16603 $as_echo_n "(cached) " >&6
16604 else
16605 ac_check_soname_save_LIBS=$LIBS
16606 LIBS="-lodbc $LIBS"
16607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16608 /* end confdefs.h. */
16610 /* Override any GCC internal prototype to avoid an error.
16611 Use char because int might match the return type of a GCC
16612 builtin and then its argument prototype would still apply. */
16613 #ifdef __cplusplus
16614 extern "C"
16615 #endif
16616 char SQLConnect ();
16618 main ()
16620 return SQLConnect ();
16622 return 0;
16624 _ACEOF
16625 if ac_fn_c_try_link "$LINENO"; then :
16626 case "$LIBEXT" in
16627 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16628 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'` ;;
16629 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16630 if ${ac_cv_lib_soname_odbc:+false} :; then :
16631 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16632 fi ;;
16633 esac
16634 else
16635 ac_cv_lib_soname_odbc=
16637 rm -f core conftest.err conftest.$ac_objext \
16638 conftest$ac_exeext conftest.$ac_ext
16639 LIBS=$ac_check_soname_save_LIBS
16641 if ${ac_cv_lib_soname_odbc:+false} :; then :
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16643 $as_echo "not found" >&6; }
16644 cat >>confdefs.h <<_ACEOF
16645 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16646 _ACEOF
16648 else
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16650 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16652 cat >>confdefs.h <<_ACEOF
16653 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16654 _ACEOF
16659 if test "x$with_netapi" != "xno"
16660 then
16661 if ${NETAPI_CFLAGS:+false} :; then :
16662 if ${PKG_CONFIG+:} false; then :
16663 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16667 if ${NETAPI_LIBS:+false} :; then :
16668 if ${PKG_CONFIG+:} false; then :
16669 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16674 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16675 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16676 ac_save_CPPFLAGS=$CPPFLAGS
16677 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16679 $as_echo_n "checking for -lnetapi... " >&6; }
16680 if ${ac_cv_lib_soname_netapi+:} false; then :
16681 $as_echo_n "(cached) " >&6
16682 else
16683 ac_check_soname_save_LIBS=$LIBS
16684 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16686 /* end confdefs.h. */
16688 /* Override any GCC internal prototype to avoid an error.
16689 Use char because int might match the return type of a GCC
16690 builtin and then its argument prototype would still apply. */
16691 #ifdef __cplusplus
16692 extern "C"
16693 #endif
16694 char libnetapi_init ();
16696 main ()
16698 return libnetapi_init ();
16700 return 0;
16702 _ACEOF
16703 if ac_fn_c_try_link "$LINENO"; then :
16704 case "$LIBEXT" in
16705 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16706 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'` ;;
16707 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16708 if ${ac_cv_lib_soname_netapi:+false} :; then :
16709 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16710 fi ;;
16711 esac
16712 else
16713 ac_cv_lib_soname_netapi=
16715 rm -f core conftest.err conftest.$ac_objext \
16716 conftest$ac_exeext conftest.$ac_ext
16717 LIBS=$ac_check_soname_save_LIBS
16719 if ${ac_cv_lib_soname_netapi:+false} :; then :
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16721 $as_echo "not found" >&6; }
16722 cat >>confdefs.h <<_ACEOF
16723 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16724 _ACEOF
16726 else
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16728 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16730 cat >>confdefs.h <<_ACEOF
16731 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16732 _ACEOF
16736 CPPFLAGS=$ac_save_CPPFLAGS
16737 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16738 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16742 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16743 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16744 then
16745 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16748 if test "x$with_vulkan" != "xno"
16749 then
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16751 $as_echo_n "checking for -lvulkan... " >&6; }
16752 if ${ac_cv_lib_soname_vulkan+:} false; then :
16753 $as_echo_n "(cached) " >&6
16754 else
16755 ac_check_soname_save_LIBS=$LIBS
16756 LIBS="-lvulkan $LIBS"
16757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16758 /* end confdefs.h. */
16760 /* Override any GCC internal prototype to avoid an error.
16761 Use char because int might match the return type of a GCC
16762 builtin and then its argument prototype would still apply. */
16763 #ifdef __cplusplus
16764 extern "C"
16765 #endif
16766 char vkGetInstanceProcAddr ();
16768 main ()
16770 return vkGetInstanceProcAddr ();
16772 return 0;
16774 _ACEOF
16775 if ac_fn_c_try_link "$LINENO"; then :
16776 case "$LIBEXT" in
16777 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16778 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'` ;;
16779 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16780 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16781 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16782 fi ;;
16783 esac
16784 else
16785 ac_cv_lib_soname_vulkan=
16787 rm -f core conftest.err conftest.$ac_objext \
16788 conftest$ac_exeext conftest.$ac_ext
16789 LIBS=$ac_check_soname_save_LIBS
16791 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16793 $as_echo "not found" >&6; }
16795 else
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16797 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16799 cat >>confdefs.h <<_ACEOF
16800 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16801 _ACEOF
16805 if test "x$ac_cv_lib_soname_vulkan" = "x"
16806 then
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16808 $as_echo_n "checking for -lMoltenVK... " >&6; }
16809 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16810 $as_echo_n "(cached) " >&6
16811 else
16812 ac_check_soname_save_LIBS=$LIBS
16813 LIBS="-lMoltenVK $LIBS"
16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815 /* end confdefs.h. */
16817 /* Override any GCC internal prototype to avoid an error.
16818 Use char because int might match the return type of a GCC
16819 builtin and then its argument prototype would still apply. */
16820 #ifdef __cplusplus
16821 extern "C"
16822 #endif
16823 char vkGetInstanceProcAddr ();
16825 main ()
16827 return vkGetInstanceProcAddr ();
16829 return 0;
16831 _ACEOF
16832 if ac_fn_c_try_link "$LINENO"; then :
16833 case "$LIBEXT" in
16834 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16835 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'` ;;
16836 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16837 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16838 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16839 fi ;;
16840 esac
16841 else
16842 ac_cv_lib_soname_MoltenVK=
16844 rm -f core conftest.err conftest.$ac_objext \
16845 conftest$ac_exeext conftest.$ac_ext
16846 LIBS=$ac_check_soname_save_LIBS
16848 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16850 $as_echo "not found" >&6; }
16852 else
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16854 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16856 cat >>confdefs.h <<_ACEOF
16857 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16858 _ACEOF
16864 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16865 case "x$with_vulkan" in
16866 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16867 xno) ;;
16868 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16869 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16870 esac
16874 if test "x$with_vkd3d" != "xno"
16875 then
16876 if ${VKD3D_CFLAGS:+false} :; then :
16877 if ${PKG_CONFIG+:} false; then :
16878 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16882 if ${VKD3D_LIBS:+false} :; then :
16883 if ${PKG_CONFIG+:} false; then :
16884 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16889 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16890 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16891 ac_save_CPPFLAGS=$CPPFLAGS
16892 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16894 $as_echo_n "checking for -lvkd3d... " >&6; }
16895 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16896 $as_echo_n "(cached) " >&6
16897 else
16898 ac_check_soname_save_LIBS=$LIBS
16899 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16901 /* end confdefs.h. */
16903 /* Override any GCC internal prototype to avoid an error.
16904 Use char because int might match the return type of a GCC
16905 builtin and then its argument prototype would still apply. */
16906 #ifdef __cplusplus
16907 extern "C"
16908 #endif
16909 char vkd3d_get_dxgi_format ();
16911 main ()
16913 return vkd3d_get_dxgi_format ();
16915 return 0;
16917 _ACEOF
16918 if ac_fn_c_try_link "$LINENO"; then :
16919 case "$LIBEXT" in
16920 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16921 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'` ;;
16922 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16923 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16924 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16925 fi ;;
16926 esac
16927 else
16928 ac_cv_lib_soname_vkd3d=
16930 rm -f core conftest.err conftest.$ac_objext \
16931 conftest$ac_exeext conftest.$ac_ext
16932 LIBS=$ac_check_soname_save_LIBS
16934 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16936 $as_echo "not found" >&6; }
16938 else
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16940 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16942 cat >>confdefs.h <<_ACEOF
16943 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16944 _ACEOF
16948 CPPFLAGS=$ac_save_CPPFLAGS
16949 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16950 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16953 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16954 case "x$with_vkd3d" in
16955 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16956 xno) ;;
16957 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16958 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16959 esac
16962 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16965 EXTRACFLAGS=""
16967 if test "x${GCC}" = "xyes"
16968 then
16969 EXTRACFLAGS="-Wall -pipe"
16971 saved_CFLAGS=$CFLAGS
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16973 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16974 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16975 $as_echo_n "(cached) " >&6
16976 else
16977 ac_wine_try_cflags_saved=$CFLAGS
16978 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16981 int main(int argc, char **argv) { return 0; }
16982 _ACEOF
16983 if ac_fn_c_try_link "$LINENO"; then :
16984 ac_cv_cflags__Werror_unknown_warning_option=yes
16985 else
16986 ac_cv_cflags__Werror_unknown_warning_option=no
16988 rm -f core conftest.err conftest.$ac_objext \
16989 conftest$ac_exeext conftest.$ac_ext
16990 CFLAGS=$ac_wine_try_cflags_saved
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16993 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16994 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16995 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16998 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16999 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17000 $as_echo_n "(cached) " >&6
17001 else
17002 ac_wine_try_cflags_saved=$CFLAGS
17003 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17005 /* end confdefs.h. */
17006 int main(int argc, char **argv) { return 0; }
17007 _ACEOF
17008 if ac_fn_c_try_link "$LINENO"; then :
17009 ac_cv_cflags__Werror_unused_command_line_argument=yes
17010 else
17011 ac_cv_cflags__Werror_unused_command_line_argument=no
17013 rm -f core conftest.err conftest.$ac_objext \
17014 conftest$ac_exeext conftest.$ac_ext
17015 CFLAGS=$ac_wine_try_cflags_saved
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17018 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17019 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17020 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17023 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17024 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17025 $as_echo_n "(cached) " >&6
17026 else
17027 ac_wine_try_cflags_saved=$CFLAGS
17028 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17030 /* end confdefs.h. */
17031 int main(int argc, char **argv) { return 0; }
17032 _ACEOF
17033 if ac_fn_c_try_link "$LINENO"; then :
17034 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17035 else
17036 ac_cv_cflags__Werror_ignored_optimization_argument=no
17038 rm -f core conftest.err conftest.$ac_objext \
17039 conftest$ac_exeext conftest.$ac_ext
17040 CFLAGS=$ac_wine_try_cflags_saved
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17043 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17044 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17045 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17048 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17049 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17050 $as_echo_n "(cached) " >&6
17051 else
17052 ac_wine_try_cflags_saved=$CFLAGS
17053 CFLAGS="$CFLAGS -fcf-protection=none"
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 int main(int argc, char **argv) { return 0; }
17057 _ACEOF
17058 if ac_fn_c_try_link "$LINENO"; then :
17059 ac_cv_cflags__fcf_protection_none=yes
17060 else
17061 ac_cv_cflags__fcf_protection_none=no
17063 rm -f core conftest.err conftest.$ac_objext \
17064 conftest$ac_exeext conftest.$ac_ext
17065 CFLAGS=$ac_wine_try_cflags_saved
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17068 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17069 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17070 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17073 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17074 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17075 $as_echo_n "(cached) " >&6
17076 else
17077 ac_wine_try_cflags_saved=$CFLAGS
17078 CFLAGS="$CFLAGS -fno-stack-protector"
17079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17080 /* end confdefs.h. */
17081 int main(int argc, char **argv) { return 0; }
17082 _ACEOF
17083 if ac_fn_c_try_link "$LINENO"; then :
17084 ac_cv_cflags__fno_stack_protector=yes
17085 else
17086 ac_cv_cflags__fno_stack_protector=no
17088 rm -f core conftest.err conftest.$ac_objext \
17089 conftest$ac_exeext conftest.$ac_ext
17090 CFLAGS=$ac_wine_try_cflags_saved
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17093 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17094 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17095 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17098 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17099 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17100 $as_echo_n "(cached) " >&6
17101 else
17102 ac_wine_try_cflags_saved=$CFLAGS
17103 CFLAGS="$CFLAGS -fno-strict-aliasing"
17104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17105 /* end confdefs.h. */
17106 int main(int argc, char **argv) { return 0; }
17107 _ACEOF
17108 if ac_fn_c_try_link "$LINENO"; then :
17109 ac_cv_cflags__fno_strict_aliasing=yes
17110 else
17111 ac_cv_cflags__fno_strict_aliasing=no
17113 rm -f core conftest.err conftest.$ac_objext \
17114 conftest$ac_exeext conftest.$ac_ext
17115 CFLAGS=$ac_wine_try_cflags_saved
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17118 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17119 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17120 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17123 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17124 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17125 $as_echo_n "(cached) " >&6
17126 else
17127 ac_wine_try_cflags_saved=$CFLAGS
17128 CFLAGS="$CFLAGS -fexcess-precision=standard"
17129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130 /* end confdefs.h. */
17131 int main(int argc, char **argv) { return 0; }
17132 _ACEOF
17133 if ac_fn_c_try_link "$LINENO"; then :
17134 ac_cv_cflags__fexcess_precision_standard=yes
17135 else
17136 ac_cv_cflags__fexcess_precision_standard=no
17138 rm -f core conftest.err conftest.$ac_objext \
17139 conftest$ac_exeext conftest.$ac_ext
17140 CFLAGS=$ac_wine_try_cflags_saved
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17143 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17144 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17145 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17149 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17150 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17151 $as_echo_n "(cached) " >&6
17152 else
17153 ac_wine_try_cflags_saved=$CFLAGS
17154 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17157 int main(int argc, char **argv) { return 0; }
17158 _ACEOF
17159 if ac_fn_c_try_link "$LINENO"; then :
17160 ac_cv_cflags__Wdeclaration_after_statement=yes
17161 else
17162 ac_cv_cflags__Wdeclaration_after_statement=no
17164 rm -f core conftest.err conftest.$ac_objext \
17165 conftest$ac_exeext conftest.$ac_ext
17166 CFLAGS=$ac_wine_try_cflags_saved
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17169 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17170 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17171 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17174 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17175 if ${ac_cv_cflags__Wempty_body+:} false; then :
17176 $as_echo_n "(cached) " >&6
17177 else
17178 ac_wine_try_cflags_saved=$CFLAGS
17179 CFLAGS="$CFLAGS -Wempty-body"
17180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17181 /* end confdefs.h. */
17182 int main(int argc, char **argv) { return 0; }
17183 _ACEOF
17184 if ac_fn_c_try_link "$LINENO"; then :
17185 ac_cv_cflags__Wempty_body=yes
17186 else
17187 ac_cv_cflags__Wempty_body=no
17189 rm -f core conftest.err conftest.$ac_objext \
17190 conftest$ac_exeext conftest.$ac_ext
17191 CFLAGS=$ac_wine_try_cflags_saved
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17194 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17195 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17196 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17199 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17200 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17201 $as_echo_n "(cached) " >&6
17202 else
17203 ac_wine_try_cflags_saved=$CFLAGS
17204 CFLAGS="$CFLAGS -Wignored-qualifiers"
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17207 int main(int argc, char **argv) { return 0; }
17208 _ACEOF
17209 if ac_fn_c_try_link "$LINENO"; then :
17210 ac_cv_cflags__Wignored_qualifiers=yes
17211 else
17212 ac_cv_cflags__Wignored_qualifiers=no
17214 rm -f core conftest.err conftest.$ac_objext \
17215 conftest$ac_exeext conftest.$ac_ext
17216 CFLAGS=$ac_wine_try_cflags_saved
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17219 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17220 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17221 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17224 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17225 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17226 $as_echo_n "(cached) " >&6
17227 else
17228 ac_wine_try_cflags_saved=$CFLAGS
17229 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17231 /* end confdefs.h. */
17232 int main(int argc, char **argv) { return 0; }
17233 _ACEOF
17234 if ac_fn_c_try_link "$LINENO"; then :
17235 ac_cv_cflags__Wpacked_not_aligned=yes
17236 else
17237 ac_cv_cflags__Wpacked_not_aligned=no
17239 rm -f core conftest.err conftest.$ac_objext \
17240 conftest$ac_exeext conftest.$ac_ext
17241 CFLAGS=$ac_wine_try_cflags_saved
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17244 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17245 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17246 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17249 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17250 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17251 $as_echo_n "(cached) " >&6
17252 else
17253 ac_wine_try_cflags_saved=$CFLAGS
17254 CFLAGS="$CFLAGS -Wpragma-pack"
17255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h. */
17257 int main(int argc, char **argv) { return 0; }
17258 _ACEOF
17259 if ac_fn_c_try_link "$LINENO"; then :
17260 ac_cv_cflags__Wpragma_pack=yes
17261 else
17262 ac_cv_cflags__Wpragma_pack=no
17264 rm -f core conftest.err conftest.$ac_objext \
17265 conftest$ac_exeext conftest.$ac_ext
17266 CFLAGS=$ac_wine_try_cflags_saved
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17269 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17270 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17271 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17274 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17275 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17276 $as_echo_n "(cached) " >&6
17277 else
17278 ac_wine_try_cflags_saved=$CFLAGS
17279 CFLAGS="$CFLAGS -Wshift-overflow=2"
17280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17281 /* end confdefs.h. */
17282 int main(int argc, char **argv) { return 0; }
17283 _ACEOF
17284 if ac_fn_c_try_link "$LINENO"; then :
17285 ac_cv_cflags__Wshift_overflow_2=yes
17286 else
17287 ac_cv_cflags__Wshift_overflow_2=no
17289 rm -f core conftest.err conftest.$ac_objext \
17290 conftest$ac_exeext conftest.$ac_ext
17291 CFLAGS=$ac_wine_try_cflags_saved
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17294 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17295 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17296 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17299 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17300 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17301 $as_echo_n "(cached) " >&6
17302 else
17303 ac_wine_try_cflags_saved=$CFLAGS
17304 CFLAGS="$CFLAGS -Wstrict-prototypes"
17305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17307 int main(int argc, char **argv) { return 0; }
17308 _ACEOF
17309 if ac_fn_c_try_link "$LINENO"; then :
17310 ac_cv_cflags__Wstrict_prototypes=yes
17311 else
17312 ac_cv_cflags__Wstrict_prototypes=no
17314 rm -f core conftest.err conftest.$ac_objext \
17315 conftest$ac_exeext conftest.$ac_ext
17316 CFLAGS=$ac_wine_try_cflags_saved
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17319 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17320 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17321 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17324 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17325 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17326 $as_echo_n "(cached) " >&6
17327 else
17328 ac_wine_try_cflags_saved=$CFLAGS
17329 CFLAGS="$CFLAGS -Wtype-limits"
17330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17332 int main(int argc, char **argv) { return 0; }
17333 _ACEOF
17334 if ac_fn_c_try_link "$LINENO"; then :
17335 ac_cv_cflags__Wtype_limits=yes
17336 else
17337 ac_cv_cflags__Wtype_limits=no
17339 rm -f core conftest.err conftest.$ac_objext \
17340 conftest$ac_exeext conftest.$ac_ext
17341 CFLAGS=$ac_wine_try_cflags_saved
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17344 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17345 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17346 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17349 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17350 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17351 $as_echo_n "(cached) " >&6
17352 else
17353 ac_wine_try_cflags_saved=$CFLAGS
17354 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17357 int main(int argc, char **argv) { return 0; }
17358 _ACEOF
17359 if ac_fn_c_try_link "$LINENO"; then :
17360 ac_cv_cflags__Wunused_but_set_parameter=yes
17361 else
17362 ac_cv_cflags__Wunused_but_set_parameter=no
17364 rm -f core conftest.err conftest.$ac_objext \
17365 conftest$ac_exeext conftest.$ac_ext
17366 CFLAGS=$ac_wine_try_cflags_saved
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17369 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17370 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17371 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17374 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17375 if ${ac_cv_cflags__Wvla+:} false; then :
17376 $as_echo_n "(cached) " >&6
17377 else
17378 ac_wine_try_cflags_saved=$CFLAGS
17379 CFLAGS="$CFLAGS -Wvla"
17380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17382 int main(int argc, char **argv) { return 0; }
17383 _ACEOF
17384 if ac_fn_c_try_link "$LINENO"; then :
17385 ac_cv_cflags__Wvla=yes
17386 else
17387 ac_cv_cflags__Wvla=no
17389 rm -f core conftest.err conftest.$ac_objext \
17390 conftest$ac_exeext conftest.$ac_ext
17391 CFLAGS=$ac_wine_try_cflags_saved
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17394 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17395 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17396 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17399 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17400 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17401 $as_echo_n "(cached) " >&6
17402 else
17403 ac_wine_try_cflags_saved=$CFLAGS
17404 CFLAGS="$CFLAGS -Wwrite-strings"
17405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17406 /* end confdefs.h. */
17407 int main(int argc, char **argv) { return 0; }
17408 _ACEOF
17409 if ac_fn_c_try_link "$LINENO"; then :
17410 ac_cv_cflags__Wwrite_strings=yes
17411 else
17412 ac_cv_cflags__Wwrite_strings=no
17414 rm -f core conftest.err conftest.$ac_objext \
17415 conftest$ac_exeext conftest.$ac_ext
17416 CFLAGS=$ac_wine_try_cflags_saved
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17419 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17420 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17421 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17425 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17426 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17427 $as_echo_n "(cached) " >&6
17428 else
17429 ac_wine_try_cflags_saved=$CFLAGS
17430 CFLAGS="$CFLAGS -Wpointer-arith"
17431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h. */
17433 int main(int argc, char **argv) { return 0; }
17434 _ACEOF
17435 if ac_fn_c_try_link "$LINENO"; then :
17436 ac_cv_cflags__Wpointer_arith=yes
17437 else
17438 ac_cv_cflags__Wpointer_arith=no
17440 rm -f core conftest.err conftest.$ac_objext \
17441 conftest$ac_exeext conftest.$ac_ext
17442 CFLAGS=$ac_wine_try_cflags_saved
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17445 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17446 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17447 saved_string_h_CFLAGS=$CFLAGS
17448 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17450 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17451 if ${ac_cv_c_string_h_warnings+:} false; then :
17452 $as_echo_n "(cached) " >&6
17453 else
17454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17455 /* end confdefs.h. */
17456 #include <string.h>
17458 main ()
17462 return 0;
17464 _ACEOF
17465 if ac_fn_c_try_compile "$LINENO"; then :
17466 ac_cv_c_string_h_warnings=no
17467 else
17468 ac_cv_c_string_h_warnings=yes
17470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17473 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17474 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17475 CFLAGS=$saved_string_h_CFLAGS
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17479 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17480 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17481 $as_echo_n "(cached) " >&6
17482 else
17483 ac_wine_try_cflags_saved=$CFLAGS
17484 CFLAGS="$CFLAGS -Wlogical-op"
17485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17486 /* end confdefs.h. */
17487 int main(int argc, char **argv) { return 0; }
17488 _ACEOF
17489 if ac_fn_c_try_link "$LINENO"; then :
17490 ac_cv_cflags__Wlogical_op=yes
17491 else
17492 ac_cv_cflags__Wlogical_op=no
17494 rm -f core conftest.err conftest.$ac_objext \
17495 conftest$ac_exeext conftest.$ac_ext
17496 CFLAGS=$ac_wine_try_cflags_saved
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17499 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17500 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17501 saved_string_h_CFLAGS=$CFLAGS
17502 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17504 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17505 if ${ac_cv_c_logicalop_noisy+:} false; then :
17506 $as_echo_n "(cached) " >&6
17507 else
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17510 #include <string.h>
17511 char*f(const char *h,char n) {return strchr(h,n);}
17513 main ()
17517 return 0;
17519 _ACEOF
17520 if ac_fn_c_try_compile "$LINENO"; then :
17521 ac_cv_c_logicalop_noisy=no
17522 else
17523 ac_cv_c_logicalop_noisy=yes
17525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17528 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17529 CFLAGS=$saved_string_h_CFLAGS
17530 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17533 for ac_flag in $CFLAGS; do
17534 case $ac_flag in
17535 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17536 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17537 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17538 $as_echo_n "(cached) " >&6
17539 else
17540 ac_wine_try_cflags_saved=$CFLAGS
17541 CFLAGS="$CFLAGS -gdwarf-2"
17542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17543 /* end confdefs.h. */
17544 int main(int argc, char **argv) { return 0; }
17545 _ACEOF
17546 if ac_fn_c_try_link "$LINENO"; then :
17547 ac_cv_cflags__gdwarf_2=yes
17548 else
17549 ac_cv_cflags__gdwarf_2=no
17551 rm -f core conftest.err conftest.$ac_objext \
17552 conftest$ac_exeext conftest.$ac_ext
17553 CFLAGS=$ac_wine_try_cflags_saved
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17556 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17557 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17558 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17561 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17562 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17563 $as_echo_n "(cached) " >&6
17564 else
17565 ac_wine_try_cflags_saved=$CFLAGS
17566 CFLAGS="$CFLAGS -gstrict-dwarf"
17567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h. */
17569 int main(int argc, char **argv) { return 0; }
17570 _ACEOF
17571 if ac_fn_c_try_link "$LINENO"; then :
17572 ac_cv_cflags__gstrict_dwarf=yes
17573 else
17574 ac_cv_cflags__gstrict_dwarf=no
17576 rm -f core conftest.err conftest.$ac_objext \
17577 conftest$ac_exeext conftest.$ac_ext
17578 CFLAGS=$ac_wine_try_cflags_saved
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17581 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17582 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17583 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17584 fi ;;
17585 esac
17586 done
17588 MSVCRTFLAGS=""
17590 case $host_os in
17591 mingw32*) ;;
17592 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17593 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17594 if ${ac_cv_cflags__fno_builtin+:} false; then :
17595 $as_echo_n "(cached) " >&6
17596 else
17597 ac_wine_try_cflags_saved=$CFLAGS
17598 CFLAGS="$CFLAGS -fno-builtin"
17599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17600 /* end confdefs.h. */
17601 int main(int argc, char **argv) { return 0; }
17602 _ACEOF
17603 if ac_fn_c_try_link "$LINENO"; then :
17604 ac_cv_cflags__fno_builtin=yes
17605 else
17606 ac_cv_cflags__fno_builtin=no
17608 rm -f core conftest.err conftest.$ac_objext \
17609 conftest$ac_exeext conftest.$ac_ext
17610 CFLAGS=$ac_wine_try_cflags_saved
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17613 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17614 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17615 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17618 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17619 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17620 $as_echo_n "(cached) " >&6
17621 else
17622 ac_wine_try_cflags_saved=$CFLAGS
17623 CFLAGS="$CFLAGS -fshort-wchar"
17624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17625 /* end confdefs.h. */
17626 int main(int argc, char **argv) { return 0; }
17627 _ACEOF
17628 if ac_fn_c_try_link "$LINENO"; then :
17629 ac_cv_cflags__fshort_wchar=yes
17630 else
17631 ac_cv_cflags__fshort_wchar=no
17633 rm -f core conftest.err conftest.$ac_objext \
17634 conftest$ac_exeext conftest.$ac_ext
17635 CFLAGS=$ac_wine_try_cflags_saved
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17638 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17639 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17640 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17641 fi ;;
17642 esac
17644 case $host_cpu in
17645 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17646 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17647 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17648 $as_echo_n "(cached) " >&6
17649 else
17650 ac_wine_try_cflags_saved=$CFLAGS
17651 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17653 /* end confdefs.h. */
17654 int main(int argc, char **argv) { return 0; }
17655 _ACEOF
17656 if ac_fn_c_try_link "$LINENO"; then :
17657 ac_cv_cflags__fno_omit_frame_pointer=yes
17658 else
17659 ac_cv_cflags__fno_omit_frame_pointer=no
17661 rm -f core conftest.err conftest.$ac_objext \
17662 conftest$ac_exeext conftest.$ac_ext
17663 CFLAGS=$ac_wine_try_cflags_saved
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17666 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17667 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17668 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17669 fi ;;
17670 *x86_64*)
17671 case $host_os in
17672 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17673 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17674 if ${ac_cv_cflags__Wno_format+:} false; then :
17675 $as_echo_n "(cached) " >&6
17676 else
17677 ac_wine_try_cflags_saved=$CFLAGS
17678 CFLAGS="$CFLAGS -Wno-format"
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17681 int main(int argc, char **argv) { return 0; }
17682 _ACEOF
17683 if ac_fn_c_try_link "$LINENO"; then :
17684 ac_cv_cflags__Wno_format=yes
17685 else
17686 ac_cv_cflags__Wno_format=no
17688 rm -f core conftest.err conftest.$ac_objext \
17689 conftest$ac_exeext conftest.$ac_ext
17690 CFLAGS=$ac_wine_try_cflags_saved
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17693 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17694 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17695 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17696 fi ;;
17697 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17698 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17699 if ${ac_cv_cflags__mabi_ms+:} false; then :
17700 $as_echo_n "(cached) " >&6
17701 else
17702 ac_wine_try_cflags_saved=$CFLAGS
17703 CFLAGS="$CFLAGS -mabi=ms"
17704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17706 int main(int argc, char **argv) { return 0; }
17707 _ACEOF
17708 if ac_fn_c_try_link "$LINENO"; then :
17709 ac_cv_cflags__mabi_ms=yes
17710 else
17711 ac_cv_cflags__mabi_ms=no
17713 rm -f core conftest.err conftest.$ac_objext \
17714 conftest$ac_exeext conftest.$ac_ext
17715 CFLAGS=$ac_wine_try_cflags_saved
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17718 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17719 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17720 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17721 fi ;;
17722 esac ;;
17723 esac
17725 CFLAGS=$saved_CFLAGS
17727 if test "x$enable_werror" = "xyes"
17728 then
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17730 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17731 if ${ac_cv_cflags__Werror+:} false; then :
17732 $as_echo_n "(cached) " >&6
17733 else
17734 ac_wine_try_cflags_saved=$CFLAGS
17735 CFLAGS="$CFLAGS -Werror"
17736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17737 /* end confdefs.h. */
17738 int main(int argc, char **argv) { return 0; }
17739 _ACEOF
17740 if ac_fn_c_try_link "$LINENO"; then :
17741 ac_cv_cflags__Werror=yes
17742 else
17743 ac_cv_cflags__Werror=no
17745 rm -f core conftest.err conftest.$ac_objext \
17746 conftest$ac_exeext conftest.$ac_ext
17747 CFLAGS=$ac_wine_try_cflags_saved
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17750 $as_echo "$ac_cv_cflags__Werror" >&6; }
17751 if test "x$ac_cv_cflags__Werror" = xyes; then :
17752 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17759 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17760 if ${ac_cv_c_fortify_enabled+:} false; then :
17761 $as_echo_n "(cached) " >&6
17762 else
17763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17764 /* end confdefs.h. */
17765 #include <string.h>
17767 main ()
17769 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17770 #error Fortify enabled
17771 #endif
17773 return 0;
17775 _ACEOF
17776 if ac_fn_c_try_compile "$LINENO"; then :
17777 ac_cv_c_fortify_enabled=no
17778 else
17779 ac_cv_c_fortify_enabled=yes
17781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17784 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17785 if test "$ac_cv_c_fortify_enabled" = yes
17786 then
17787 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17792 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17793 if ${ac_cv_c_cfi_support+:} false; then :
17794 $as_echo_n "(cached) " >&6
17795 else
17796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17797 /* end confdefs.h. */
17798 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17800 main ()
17804 return 0;
17806 _ACEOF
17807 if ac_fn_c_try_compile "$LINENO"; then :
17808 ac_cv_c_cfi_support="yes"
17809 else
17810 ac_cv_c_cfi_support="no"
17812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17815 $as_echo "$ac_cv_c_cfi_support" >&6; }
17816 if test "$ac_cv_c_cfi_support" = "yes"
17817 then
17818 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17819 else
17820 if test "x$enable_win64" = "xyes"
17821 then
17822 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17827 case $build_os in
17828 cygwin*|mingw32*) TOOLSEXT=".exe"
17830 esac
17832 case $host_os in
17833 linux*)
17834 case $host_cpu in
17835 *i[3456789]86*|x86_64*|*aarch64*)
17836 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17837 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17839 esac
17841 esac
17844 ac_save_CFLAGS="$CFLAGS"
17845 CFLAGS="$CFLAGS $BUILTINFLAG"
17846 for ac_func in \
17847 __res_get_state \
17848 __res_getservers \
17849 _spawnvp \
17850 epoll_create \
17851 ffs \
17852 finitef \
17853 fnmatch \
17854 fork \
17855 fpclass \
17856 fstatfs \
17857 fstatvfs \
17858 futimens \
17859 futimes \
17860 futimesat \
17861 getattrlist \
17862 getauxval \
17863 getifaddrs \
17864 getopt_long_only \
17865 kqueue \
17866 lstat \
17867 mach_continuous_time \
17868 pipe2 \
17869 poll \
17870 port_create \
17871 prctl \
17872 pread \
17873 proc_pidinfo \
17874 pwrite \
17875 readdir \
17876 readlink \
17877 sched_yield \
17878 select \
17879 setproctitle \
17880 setprogname \
17881 settimeofday \
17882 sigprocmask \
17883 statfs \
17884 statvfs \
17885 strnlen \
17886 strtold \
17887 symlink \
17888 sysinfo \
17889 tcdrain \
17890 thr_kill2 \
17891 timegm \
17892 usleep
17894 do :
17895 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17896 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17897 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17898 cat >>confdefs.h <<_ACEOF
17899 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17900 _ACEOF
17903 done
17905 CFLAGS="$ac_save_CFLAGS"
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17908 $as_echo_n "checking for library containing dlopen... " >&6; }
17909 if ${ac_cv_search_dlopen+:} false; then :
17910 $as_echo_n "(cached) " >&6
17911 else
17912 ac_func_search_save_LIBS=$LIBS
17913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17914 /* end confdefs.h. */
17916 /* Override any GCC internal prototype to avoid an error.
17917 Use char because int might match the return type of a GCC
17918 builtin and then its argument prototype would still apply. */
17919 #ifdef __cplusplus
17920 extern "C"
17921 #endif
17922 char dlopen ();
17924 main ()
17926 return dlopen ();
17928 return 0;
17930 _ACEOF
17931 for ac_lib in '' dl; do
17932 if test -z "$ac_lib"; then
17933 ac_res="none required"
17934 else
17935 ac_res=-l$ac_lib
17936 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17938 if ac_fn_c_try_link "$LINENO"; then :
17939 ac_cv_search_dlopen=$ac_res
17941 rm -f core conftest.err conftest.$ac_objext \
17942 conftest$ac_exeext
17943 if ${ac_cv_search_dlopen+:} false; then :
17944 break
17946 done
17947 if ${ac_cv_search_dlopen+:} false; then :
17949 else
17950 ac_cv_search_dlopen=no
17952 rm conftest.$ac_ext
17953 LIBS=$ac_func_search_save_LIBS
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17956 $as_echo "$ac_cv_search_dlopen" >&6; }
17957 ac_res=$ac_cv_search_dlopen
17958 if test "$ac_res" != no; then :
17959 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17963 ac_wine_check_funcs_save_LIBS="$LIBS"
17964 LIBS="$LIBS $DL_LIBS"
17965 for ac_func in dladdr dlinfo
17966 do :
17967 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17968 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17969 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17970 cat >>confdefs.h <<_ACEOF
17971 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17972 _ACEOF
17975 done
17977 LIBS="$ac_wine_check_funcs_save_LIBS"
17979 if test "$ac_cv_func_poll" = no
17980 then
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17982 $as_echo_n "checking for poll in -lpoll... " >&6; }
17983 if ${ac_cv_lib_poll_poll+:} false; then :
17984 $as_echo_n "(cached) " >&6
17985 else
17986 ac_check_lib_save_LIBS=$LIBS
17987 LIBS="-lpoll $LIBS"
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17991 /* Override any GCC internal prototype to avoid an error.
17992 Use char because int might match the return type of a GCC
17993 builtin and then its argument prototype would still apply. */
17994 #ifdef __cplusplus
17995 extern "C"
17996 #endif
17997 char poll ();
17999 main ()
18001 return poll ();
18003 return 0;
18005 _ACEOF
18006 if ac_fn_c_try_link "$LINENO"; then :
18007 ac_cv_lib_poll_poll=yes
18008 else
18009 ac_cv_lib_poll_poll=no
18011 rm -f core conftest.err conftest.$ac_objext \
18012 conftest$ac_exeext conftest.$ac_ext
18013 LIBS=$ac_check_lib_save_LIBS
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18016 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18017 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18018 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18019 POLL_LIBS="-lpoll"
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18026 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18027 if ${ac_cv_search_gethostbyname+:} false; then :
18028 $as_echo_n "(cached) " >&6
18029 else
18030 ac_func_search_save_LIBS=$LIBS
18031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18032 /* end confdefs.h. */
18034 /* Override any GCC internal prototype to avoid an error.
18035 Use char because int might match the return type of a GCC
18036 builtin and then its argument prototype would still apply. */
18037 #ifdef __cplusplus
18038 extern "C"
18039 #endif
18040 char gethostbyname ();
18042 main ()
18044 return gethostbyname ();
18046 return 0;
18048 _ACEOF
18049 for ac_lib in '' nsl; do
18050 if test -z "$ac_lib"; then
18051 ac_res="none required"
18052 else
18053 ac_res=-l$ac_lib
18054 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18056 if ac_fn_c_try_link "$LINENO"; then :
18057 ac_cv_search_gethostbyname=$ac_res
18059 rm -f core conftest.err conftest.$ac_objext \
18060 conftest$ac_exeext
18061 if ${ac_cv_search_gethostbyname+:} false; then :
18062 break
18064 done
18065 if ${ac_cv_search_gethostbyname+:} false; then :
18067 else
18068 ac_cv_search_gethostbyname=no
18070 rm conftest.$ac_ext
18071 LIBS=$ac_func_search_save_LIBS
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18074 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18075 ac_res=$ac_cv_search_gethostbyname
18076 if test "$ac_res" != no; then :
18077 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18083 $as_echo_n "checking for library containing connect... " >&6; }
18084 if ${ac_cv_search_connect+:} false; then :
18085 $as_echo_n "(cached) " >&6
18086 else
18087 ac_func_search_save_LIBS=$LIBS
18088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h. */
18091 /* Override any GCC internal prototype to avoid an error.
18092 Use char because int might match the return type of a GCC
18093 builtin and then its argument prototype would still apply. */
18094 #ifdef __cplusplus
18095 extern "C"
18096 #endif
18097 char connect ();
18099 main ()
18101 return connect ();
18103 return 0;
18105 _ACEOF
18106 for ac_lib in '' socket; do
18107 if test -z "$ac_lib"; then
18108 ac_res="none required"
18109 else
18110 ac_res=-l$ac_lib
18111 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18113 if ac_fn_c_try_link "$LINENO"; then :
18114 ac_cv_search_connect=$ac_res
18116 rm -f core conftest.err conftest.$ac_objext \
18117 conftest$ac_exeext
18118 if ${ac_cv_search_connect+:} false; then :
18119 break
18121 done
18122 if ${ac_cv_search_connect+:} false; then :
18124 else
18125 ac_cv_search_connect=no
18127 rm conftest.$ac_ext
18128 LIBS=$ac_func_search_save_LIBS
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18131 $as_echo "$ac_cv_search_connect" >&6; }
18132 ac_res=$ac_cv_search_connect
18133 if test "$ac_res" != no; then :
18134 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18140 $as_echo_n "checking for library containing inet_aton... " >&6; }
18141 if ${ac_cv_search_inet_aton+:} false; then :
18142 $as_echo_n "(cached) " >&6
18143 else
18144 ac_func_search_save_LIBS=$LIBS
18145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18146 /* end confdefs.h. */
18148 /* Override any GCC internal prototype to avoid an error.
18149 Use char because int might match the return type of a GCC
18150 builtin and then its argument prototype would still apply. */
18151 #ifdef __cplusplus
18152 extern "C"
18153 #endif
18154 char inet_aton ();
18156 main ()
18158 return inet_aton ();
18160 return 0;
18162 _ACEOF
18163 for ac_lib in '' resolv; do
18164 if test -z "$ac_lib"; then
18165 ac_res="none required"
18166 else
18167 ac_res=-l$ac_lib
18168 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18170 if ac_fn_c_try_link "$LINENO"; then :
18171 ac_cv_search_inet_aton=$ac_res
18173 rm -f core conftest.err conftest.$ac_objext \
18174 conftest$ac_exeext
18175 if ${ac_cv_search_inet_aton+:} false; then :
18176 break
18178 done
18179 if ${ac_cv_search_inet_aton+:} false; then :
18181 else
18182 ac_cv_search_inet_aton=no
18184 rm conftest.$ac_ext
18185 LIBS=$ac_func_search_save_LIBS
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18188 $as_echo "$ac_cv_search_inet_aton" >&6; }
18189 ac_res=$ac_cv_search_inet_aton
18190 if test "$ac_res" != no; then :
18191 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18196 for ac_func in \
18197 getaddrinfo \
18198 getnameinfo \
18199 getnetbyname \
18200 getprotobyname \
18201 getprotobynumber \
18202 getservbyport \
18203 inet_addr \
18204 inet_network \
18205 inet_ntop \
18206 inet_pton \
18208 do :
18209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18211 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18212 cat >>confdefs.h <<_ACEOF
18213 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18214 _ACEOF
18217 done
18220 case $host_os in
18221 darwin*|macosx*) ;;
18222 *) ac_save_LIBS=$LIBS
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18224 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18225 if ${ac_cv_search_clock_gettime+:} false; then :
18226 $as_echo_n "(cached) " >&6
18227 else
18228 ac_func_search_save_LIBS=$LIBS
18229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18230 /* end confdefs.h. */
18232 /* Override any GCC internal prototype to avoid an error.
18233 Use char because int might match the return type of a GCC
18234 builtin and then its argument prototype would still apply. */
18235 #ifdef __cplusplus
18236 extern "C"
18237 #endif
18238 char clock_gettime ();
18240 main ()
18242 return clock_gettime ();
18244 return 0;
18246 _ACEOF
18247 for ac_lib in '' rt; do
18248 if test -z "$ac_lib"; then
18249 ac_res="none required"
18250 else
18251 ac_res=-l$ac_lib
18252 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18254 if ac_fn_c_try_link "$LINENO"; then :
18255 ac_cv_search_clock_gettime=$ac_res
18257 rm -f core conftest.err conftest.$ac_objext \
18258 conftest$ac_exeext
18259 if ${ac_cv_search_clock_gettime+:} false; then :
18260 break
18262 done
18263 if ${ac_cv_search_clock_gettime+:} false; then :
18265 else
18266 ac_cv_search_clock_gettime=no
18268 rm conftest.$ac_ext
18269 LIBS=$ac_func_search_save_LIBS
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18272 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18273 ac_res=$ac_cv_search_clock_gettime
18274 if test "$ac_res" != no; then :
18275 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18277 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18279 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18283 LIBS=$ac_save_LIBS
18285 esac
18287 if test "x$with_ldap" != "xno"
18288 then
18289 if ${LDAP_CFLAGS:+false} :; then :
18290 if ${PKG_CONFIG+:} false; then :
18291 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18295 if ${LDAP_LIBS:+false} :; then :
18296 if ${PKG_CONFIG+:} false; then :
18297 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18301 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18302 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18303 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18304 ac_save_CPPFLAGS=$CPPFLAGS
18305 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18306 for ac_header in ldap.h lber.h
18307 do :
18308 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18309 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18310 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18311 cat >>confdefs.h <<_ACEOF
18312 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18313 _ACEOF
18317 done
18319 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18320 then
18321 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18323 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18325 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18326 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18327 $as_echo_n "(cached) " >&6
18328 else
18329 ac_check_lib_save_LIBS=$LIBS
18330 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18332 /* end confdefs.h. */
18334 /* Override any GCC internal prototype to avoid an error.
18335 Use char because int might match the return type of a GCC
18336 builtin and then its argument prototype would still apply. */
18337 #ifdef __cplusplus
18338 extern "C"
18339 #endif
18340 char ldap_initialize ();
18342 main ()
18344 return ldap_initialize ();
18346 return 0;
18348 _ACEOF
18349 if ac_fn_c_try_link "$LINENO"; then :
18350 ac_cv_lib_ldap_r_ldap_initialize=yes
18351 else
18352 ac_cv_lib_ldap_r_ldap_initialize=no
18354 rm -f core conftest.err conftest.$ac_objext \
18355 conftest$ac_exeext conftest.$ac_ext
18356 LIBS=$ac_check_lib_save_LIBS
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18359 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18360 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18362 $as_echo_n "checking for ber_init in -llber... " >&6; }
18363 if ${ac_cv_lib_lber_ber_init+:} false; then :
18364 $as_echo_n "(cached) " >&6
18365 else
18366 ac_check_lib_save_LIBS=$LIBS
18367 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18369 /* end confdefs.h. */
18371 /* Override any GCC internal prototype to avoid an error.
18372 Use char because int might match the return type of a GCC
18373 builtin and then its argument prototype would still apply. */
18374 #ifdef __cplusplus
18375 extern "C"
18376 #endif
18377 char ber_init ();
18379 main ()
18381 return ber_init ();
18383 return 0;
18385 _ACEOF
18386 if ac_fn_c_try_link "$LINENO"; then :
18387 ac_cv_lib_lber_ber_init=yes
18388 else
18389 ac_cv_lib_lber_ber_init=no
18391 rm -f core conftest.err conftest.$ac_objext \
18392 conftest$ac_exeext conftest.$ac_ext
18393 LIBS=$ac_check_lib_save_LIBS
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18396 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18397 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18399 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18401 else
18402 LDAP_LIBS=""
18405 else
18406 LDAP_LIBS=""
18409 else
18410 LDAP_LIBS=""
18413 ac_wine_check_funcs_save_LIBS="$LIBS"
18414 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18415 for ac_func in \
18416 ldap_count_references \
18417 ldap_first_reference \
18418 ldap_next_reference \
18419 ldap_parse_reference \
18420 ldap_parse_sort_control \
18421 ldap_parse_sortresponse_control \
18422 ldap_parse_vlv_control \
18423 ldap_parse_vlvresponse_control
18424 do :
18425 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18426 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18427 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18428 cat >>confdefs.h <<_ACEOF
18429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18430 _ACEOF
18433 done
18435 LIBS="$ac_wine_check_funcs_save_LIBS"
18436 else
18437 LDAP_LIBS=""
18439 CPPFLAGS=$ac_save_CPPFLAGS
18440 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18441 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18444 if test "x$LDAP_LIBS" = "x"; then :
18445 case "x$with_ldap" in
18446 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18447 xno) ;;
18448 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18449 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18450 esac
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18455 $as_echo_n "checking for sched_setaffinity... " >&6; }
18456 if ${wine_cv_have_sched_setaffinity+:} false; then :
18457 $as_echo_n "(cached) " >&6
18458 else
18459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18460 /* end confdefs.h. */
18461 #define _GNU_SOURCE
18462 #include <sched.h>
18464 main ()
18466 sched_setaffinity(0, 0, 0);
18468 return 0;
18470 _ACEOF
18471 if ac_fn_c_try_link "$LINENO"; then :
18472 wine_cv_have_sched_setaffinity=yes
18473 else
18474 wine_cv_have_sched_setaffinity=no
18476 rm -f core conftest.err conftest.$ac_objext \
18477 conftest$ac_exeext conftest.$ac_ext
18479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18480 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18481 if test "$wine_cv_have_sched_setaffinity" = "yes"
18482 then
18484 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18489 $as_echo_n "checking for fallocate... " >&6; }
18490 if ${wine_cv_have_fallocate+:} false; then :
18491 $as_echo_n "(cached) " >&6
18492 else
18493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h. */
18495 #define _GNU_SOURCE
18496 #include <fcntl.h>
18498 main ()
18500 fallocate(-1, 0, 0, 0);
18502 return 0;
18504 _ACEOF
18505 if ac_fn_c_try_link "$LINENO"; then :
18506 wine_cv_have_fallocate=yes
18507 else
18508 wine_cv_have_fallocate=no
18510 rm -f core conftest.err conftest.$ac_objext \
18511 conftest$ac_exeext conftest.$ac_ext
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18514 $as_echo "$wine_cv_have_fallocate" >&6; }
18515 if test "$wine_cv_have_fallocate" = "yes"
18516 then
18518 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18524 $as_echo_n "checking for inline... " >&6; }
18525 if ${ac_cv_c_inline+:} false; then :
18526 $as_echo_n "(cached) " >&6
18527 else
18528 ac_cv_c_inline=no
18529 for ac_kw in inline __inline__ __inline; do
18530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18531 /* end confdefs.h. */
18532 #ifndef __cplusplus
18533 typedef int foo_t;
18534 static $ac_kw foo_t static_foo () {return 0; }
18535 $ac_kw foo_t foo () {return 0; }
18536 #endif
18538 _ACEOF
18539 if ac_fn_c_try_compile "$LINENO"; then :
18540 ac_cv_c_inline=$ac_kw
18542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18543 test "$ac_cv_c_inline" != no && break
18544 done
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18548 $as_echo "$ac_cv_c_inline" >&6; }
18550 case $ac_cv_c_inline in
18551 inline | yes) ;;
18553 case $ac_cv_c_inline in
18554 no) ac_val=;;
18555 *) ac_val=$ac_cv_c_inline;;
18556 esac
18557 cat >>confdefs.h <<_ACEOF
18558 #ifndef __cplusplus
18559 #define inline $ac_val
18560 #endif
18561 _ACEOF
18563 esac
18565 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18566 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18568 cat >>confdefs.h <<_ACEOF
18569 #define HAVE_FSBLKCNT_T 1
18570 _ACEOF
18574 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18575 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18577 cat >>confdefs.h <<_ACEOF
18578 #define HAVE_FSFILCNT_T 1
18579 _ACEOF
18584 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18585 #include <signal.h>
18587 if test "x$ac_cv_type_sigset_t" = xyes; then :
18589 cat >>confdefs.h <<_ACEOF
18590 #define HAVE_SIGSET_T 1
18591 _ACEOF
18596 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18598 if test "x$ac_cv_type_request_sense" = xyes; then :
18600 cat >>confdefs.h <<_ACEOF
18601 #define HAVE_REQUEST_SENSE 1
18602 _ACEOF
18608 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18609 #ifdef HAVE_SYS_SOCKET_H
18610 #include <sys/socket.h>
18611 #endif
18612 #ifdef HAVE_SYS_SOCKETVAR_H
18613 #include <sys/socketvar.h>
18614 #endif
18615 #ifdef HAVE_NET_ROUTE_H
18616 #include <net/route.h>
18617 #endif
18618 #ifdef HAVE_NETINET_IN_H
18619 #include <netinet/in.h>
18620 #endif
18621 #ifdef HAVE_NETINET_IN_SYSTM_H
18622 #include <netinet/in_systm.h>
18623 #endif
18624 #ifdef HAVE_NETINET_IP_H
18625 #include <netinet/ip.h>
18626 #endif
18627 #ifdef HAVE_NETINET_IN_PCB_H
18628 #include <netinet/in_pcb.h>
18629 #endif
18631 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18633 cat >>confdefs.h <<_ACEOF
18634 #define HAVE_STRUCT_XINPGEN 1
18635 _ACEOF
18641 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18642 #include <linux/input.h>
18643 #endif
18645 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18647 cat >>confdefs.h <<_ACEOF
18648 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18649 _ACEOF
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18656 $as_echo_n "checking for if_nameindex... " >&6; }
18657 if ${wine_cv_have_if_nameindex+:} false; then :
18658 $as_echo_n "(cached) " >&6
18659 else
18660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18662 #ifdef HAVE_SYS_TYPES_H
18663 #include <sys/types.h>
18664 #endif
18665 #ifdef HAVE_SYS_SOCKET_H
18666 #include <sys/socket.h>
18667 #endif
18668 #ifdef HAVE_NET_IF_H
18669 # include <net/if.h>
18670 #endif
18672 main ()
18674 struct if_nameindex *p = if_nameindex(); return p->if_index;
18676 return 0;
18678 _ACEOF
18679 if ac_fn_c_try_link "$LINENO"; then :
18680 wine_cv_have_if_nameindex=yes
18681 else
18682 wine_cv_have_if_nameindex=no
18684 rm -f core conftest.err conftest.$ac_objext \
18685 conftest$ac_exeext conftest.$ac_ext
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18688 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18689 if test "$wine_cv_have_if_nameindex" = "yes"
18690 then
18692 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18697 $as_echo_n "checking for sigaddset... " >&6; }
18698 if ${wine_cv_have_sigaddset+:} false; then :
18699 $as_echo_n "(cached) " >&6
18700 else
18701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18702 /* end confdefs.h. */
18703 #include <signal.h>
18705 main ()
18707 sigset_t set; sigaddset(&set,SIGTERM);
18709 return 0;
18711 _ACEOF
18712 if ac_fn_c_try_link "$LINENO"; then :
18713 wine_cv_have_sigaddset=yes
18714 else
18715 wine_cv_have_sigaddset=no
18717 rm -f core conftest.err conftest.$ac_objext \
18718 conftest$ac_exeext conftest.$ac_ext
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18721 $as_echo "$wine_cv_have_sigaddset" >&6; }
18722 if test "$wine_cv_have_sigaddset" = "yes"
18723 then
18725 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18731 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18732 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18733 $as_echo_n "(cached) " >&6
18734 else
18735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18737 #include <netdb.h>
18739 main ()
18742 char *name=0;
18743 struct hostent he;
18744 struct hostent *result;
18745 char *buf=0;
18746 int bufsize=0;
18747 int errnr;
18748 char *addr=0;
18749 int addrlen=0;
18750 int addrtype=0;
18751 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18752 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18755 return 0;
18757 _ACEOF
18758 if ac_fn_c_try_link "$LINENO"; then :
18759 wine_cv_linux_gethostbyname_r_6=yes
18760 else
18761 wine_cv_linux_gethostbyname_r_6=no
18764 rm -f core conftest.err conftest.$ac_objext \
18765 conftest$ac_exeext conftest.$ac_ext
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18769 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18770 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18771 then
18773 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18777 if test "$ac_cv_header_linux_joystick_h" = "yes"
18778 then
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18780 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18781 if ${wine_cv_linux_joystick_22_api+:} false; then :
18782 $as_echo_n "(cached) " >&6
18783 else
18784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18785 /* end confdefs.h. */
18787 #include <sys/ioctl.h>
18788 #include <sys/types.h>
18789 #include <linux/joystick.h>
18791 struct js_event blub;
18792 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18793 #error "no 2.2 header"
18794 #endif
18797 main ()
18799 /*empty*/
18801 return 0;
18803 _ACEOF
18804 if ac_fn_c_try_compile "$LINENO"; then :
18805 wine_cv_linux_joystick_22_api=yes
18806 else
18807 wine_cv_linux_joystick_22_api=no
18809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18813 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18814 if test "$wine_cv_linux_joystick_22_api" = "yes"
18815 then
18817 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18823 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18824 #ifdef HAVE_SYS_PARAM_H
18825 # include <sys/param.h>
18826 #endif
18827 #ifdef HAVE_SYS_MOUNT_H
18828 # include <sys/mount.h>
18829 #endif
18830 #ifdef HAVE_SYS_VFS_H
18831 # include <sys/vfs.h>
18832 #endif
18833 #ifdef HAVE_SYS_STATFS_H
18834 # include <sys/statfs.h>
18835 #endif
18837 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18839 cat >>confdefs.h <<_ACEOF
18840 #define HAVE_STRUCT_STATFS_F_BFREE 1
18841 _ACEOF
18845 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#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_bavail" = xyes; then :
18861 cat >>confdefs.h <<_ACEOF
18862 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18863 _ACEOF
18867 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#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_frsize" = xyes; then :
18883 cat >>confdefs.h <<_ACEOF
18884 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18885 _ACEOF
18889 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#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_ffree" = xyes; then :
18905 cat >>confdefs.h <<_ACEOF
18906 #define HAVE_STRUCT_STATFS_F_FFREE 1
18907 _ACEOF
18911 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#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_favail" = xyes; then :
18927 cat >>confdefs.h <<_ACEOF
18928 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18929 _ACEOF
18933 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#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_namelen" = xyes; then :
18949 cat >>confdefs.h <<_ACEOF
18950 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18951 _ACEOF
18957 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18958 #include <sys/statvfs.h>
18959 #endif
18961 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18963 cat >>confdefs.h <<_ACEOF
18964 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18965 _ACEOF
18971 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18972 #include <dirent.h>
18973 #endif
18975 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18977 cat >>confdefs.h <<_ACEOF
18978 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18979 _ACEOF
18985 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18986 #ifdef HAVE_SYS_SOCKET_H
18987 # include <sys/socket.h>
18988 #endif
18989 #ifdef HAVE_SYS_UN_H
18990 # include <sys/un.h>
18991 #endif
18993 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18995 cat >>confdefs.h <<_ACEOF
18996 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18997 _ACEOF
19001 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
19002 #ifdef HAVE_SYS_SOCKET_H
19003 # include <sys/socket.h>
19004 #endif
19005 #ifdef HAVE_SYS_UN_H
19006 # include <sys/un.h>
19007 #endif
19009 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19011 cat >>confdefs.h <<_ACEOF
19012 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19013 _ACEOF
19017 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19018 #ifdef HAVE_SYS_SOCKET_H
19019 # include <sys/socket.h>
19020 #endif
19021 #ifdef HAVE_SYS_UN_H
19022 # include <sys/un.h>
19023 #endif
19025 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19027 cat >>confdefs.h <<_ACEOF
19028 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19029 _ACEOF
19035 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19036 #ifdef HAVE_SCSI_SG_H
19037 #include <scsi/sg.h>
19038 #endif
19040 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19042 cat >>confdefs.h <<_ACEOF
19043 #define HAVE_SCSIREQ_T_CMD 1
19044 _ACEOF
19048 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>
19049 #ifdef HAVE_SCSI_SG_H
19050 #include <scsi/sg.h>
19051 #endif
19053 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19055 cat >>confdefs.h <<_ACEOF
19056 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19057 _ACEOF
19063 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19065 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19067 cat >>confdefs.h <<_ACEOF
19068 #define HAVE_SIGINFO_T_SI_FD 1
19069 _ACEOF
19075 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19076 #ifdef HAVE_SYS_MTIO_H
19077 #include <sys/mtio.h>
19078 #endif
19080 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19082 cat >>confdefs.h <<_ACEOF
19083 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19084 _ACEOF
19088 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19089 #ifdef HAVE_SYS_MTIO_H
19090 #include <sys/mtio.h>
19091 #endif
19093 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19095 cat >>confdefs.h <<_ACEOF
19096 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19097 _ACEOF
19101 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19102 #ifdef HAVE_SYS_MTIO_H
19103 #include <sys/mtio.h>
19104 #endif
19106 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19108 cat >>confdefs.h <<_ACEOF
19109 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19110 _ACEOF
19116 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19117 #include <getopt.h>
19118 #endif
19120 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19122 cat >>confdefs.h <<_ACEOF
19123 #define HAVE_STRUCT_OPTION_NAME 1
19124 _ACEOF
19130 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19131 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19133 cat >>confdefs.h <<_ACEOF
19134 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19135 _ACEOF
19139 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19140 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19142 cat >>confdefs.h <<_ACEOF
19143 #define HAVE_STRUCT_STAT_ST_MTIM 1
19144 _ACEOF
19148 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19149 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19151 cat >>confdefs.h <<_ACEOF
19152 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19153 _ACEOF
19157 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19158 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19160 cat >>confdefs.h <<_ACEOF
19161 #define HAVE_STRUCT_STAT_ST_CTIM 1
19162 _ACEOF
19166 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19167 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19169 cat >>confdefs.h <<_ACEOF
19170 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19171 _ACEOF
19175 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19176 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19178 cat >>confdefs.h <<_ACEOF
19179 #define HAVE_STRUCT_STAT_ST_ATIM 1
19180 _ACEOF
19184 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19185 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19187 cat >>confdefs.h <<_ACEOF
19188 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19189 _ACEOF
19193 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19194 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19196 cat >>confdefs.h <<_ACEOF
19197 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19198 _ACEOF
19202 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19203 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19205 cat >>confdefs.h <<_ACEOF
19206 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19207 _ACEOF
19211 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19212 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19214 cat >>confdefs.h <<_ACEOF
19215 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19216 _ACEOF
19220 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19221 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19225 _ACEOF
19229 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19230 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19232 cat >>confdefs.h <<_ACEOF
19233 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19234 _ACEOF
19240 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
19241 #include <sys/types.h>
19242 #endif
19243 #ifdef HAVE_NETINET_IN_H
19244 #include <netinet/in.h>
19245 #endif
19247 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19249 cat >>confdefs.h <<_ACEOF
19250 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19251 _ACEOF
19257 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19258 #include <sys/types.h>
19259 #endif
19260 #ifdef HAVE_NETINET_IN_H
19261 #include <netinet/in.h>
19262 #endif
19263 #ifdef HAVE_RESOLV_H
19264 #include <resolv.h>
19265 #endif
19267 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19269 cat >>confdefs.h <<_ACEOF
19270 #define HAVE_STRUCT___RES_STATE 1
19271 _ACEOF
19277 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
19278 #include <resolv.h>
19279 #endif
19281 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19283 cat >>confdefs.h <<_ACEOF
19284 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19285 _ACEOF
19291 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19292 #include <sys/types.h>
19293 #endif
19294 #ifdef HAVE_NETINET_IN_H
19295 # include <netinet/in.h>
19296 #endif
19297 #ifdef HAVE_ARPA_NAMESER_H
19298 # include <arpa/nameser.h>
19299 #endif
19301 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19303 cat >>confdefs.h <<_ACEOF
19304 #define HAVE_NS_MSG__MSG_PTR 1
19305 _ACEOF
19311 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19312 #include <sys/types.h>
19313 #endif
19314 #ifdef HAVE_NETINET_IN_H
19315 #include <netinet/in.h>
19316 #endif
19317 #ifdef HAVE_NETINET_IP_H
19318 #include <netinet/ip.h>
19319 #endif
19320 #ifdef HAVE_NETINET_IP_ICMP_H
19321 #include <netinet/ip_icmp.h>
19322 #endif
19323 #ifdef HAVE_NETINET_ICMP_VAR_H
19324 #include <netinet/icmp_var.h>
19325 #endif
19327 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19329 cat >>confdefs.h <<_ACEOF
19330 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19331 _ACEOF
19337 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19338 #include <sys/types.h>
19339 #endif
19340 #ifdef HAVE_ALIAS_H
19341 #include <alias.h>
19342 #endif
19343 #ifdef HAVE_SYS_SOCKET_H
19344 #include <sys/socket.h>
19345 #endif
19346 #ifdef HAVE_SYS_SOCKETVAR_H
19347 #include <sys/socketvar.h>
19348 #endif
19349 #ifdef HAVE_SYS_TIMEOUT_H
19350 #include <sys/timeout.h>
19351 #endif
19352 #ifdef HAVE_NETINET_IN_H
19353 #include <netinet/in.h>
19354 #endif
19355 #ifdef HAVE_NETINET_IN_SYSTM_H
19356 #include <netinet/in_systm.h>
19357 #endif
19358 #ifdef HAVE_NETINET_IP_H
19359 #include <netinet/ip.h>
19360 #endif
19361 #ifdef HAVE_NETINET_IP_VAR_H
19362 #include <netinet/ip_var.h>
19363 #endif
19364 #ifdef HAVE_NETINET_IP_ICMP_H
19365 #include <netinet/ip_icmp.h>
19366 #endif
19367 #ifdef HAVE_NETINET_ICMP_VAR_H
19368 #include <netinet/icmp_var.h>
19369 #endif
19371 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19373 cat >>confdefs.h <<_ACEOF
19374 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19375 _ACEOF
19381 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19382 #include <sys/types.h>
19383 #endif
19384 #ifdef HAVE_SYS_SOCKETVAR_H
19385 #include <sys/socketvar.h>
19386 #endif
19387 #ifdef HAVE_NETINET_IN_H
19388 #include <netinet/in.h>
19389 #endif
19390 #ifdef HAVE_NETINET_IP_VAR_H
19391 #include <netinet/ip_var.h>
19392 #endif
19394 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19396 cat >>confdefs.h <<_ACEOF
19397 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19398 _ACEOF
19404 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
19405 #include <netinet/ip_var.h>
19406 #endif
19408 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19410 cat >>confdefs.h <<_ACEOF
19411 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19412 _ACEOF
19418 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19419 #include <sys/types.h>
19420 #endif
19421 #ifdef HAVE_SYS_SOCKETVAR_H
19422 #include <sys/socketvar.h>
19423 #endif
19424 #ifdef HAVE_NETINET_IN_H
19425 #include <netinet/in.h>
19426 #endif
19427 #ifdef HAVE_NETINET_TCP_H
19428 #include <netinet/tcp.h>
19429 #endif
19430 #ifdef HAVE_NETINET_TCP_VAR_H
19431 #include <netinet/tcp_var.h>
19432 #endif
19434 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19436 cat >>confdefs.h <<_ACEOF
19437 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19438 _ACEOF
19444 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
19445 #include <netinet/tcp_var.h>
19446 #endif
19448 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19450 cat >>confdefs.h <<_ACEOF
19451 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19452 _ACEOF
19458 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19459 #include <sys/types.h>
19460 #endif
19461 #ifdef HAVE_NETINET_IN_H
19462 #include <netinet/in.h>
19463 #endif
19464 #ifdef HAVE_NETINET_IP_VAR_H
19465 #include <netinet/ip_var.h>
19466 #endif
19467 #ifdef HAVE_NETINET_UDP_H
19468 #include <netinet/udp.h>
19469 #endif
19470 #ifdef HAVE_NETINET_UDP_VAR_H
19471 #include <netinet/udp_var.h>
19472 #endif
19474 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19476 cat >>confdefs.h <<_ACEOF
19477 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19478 _ACEOF
19484 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19485 #include <sys/types.h>
19486 #endif
19487 #ifdef HAVE_NET_IF_H
19488 # include <net/if.h>
19489 #endif
19491 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19493 cat >>confdefs.h <<_ACEOF
19494 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19495 _ACEOF
19501 ac_save_LIBS="$LIBS"
19502 LIBS="$LIBS -lm"
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19504 $as_echo_n "checking for isfinite... " >&6; }
19505 if ${ac_cv_have_isfinite+:} false; then :
19506 $as_echo_n "(cached) " >&6
19507 else
19508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19509 /* end confdefs.h. */
19510 #define _GNU_SOURCE
19511 #include <math.h>
19513 main ()
19515 float f = 0.0; return isfinite(f)
19517 return 0;
19519 _ACEOF
19520 if ac_fn_c_try_link "$LINENO"; then :
19521 ac_cv_have_isfinite="yes"
19522 else
19523 ac_cv_have_isfinite="no"
19525 rm -f core conftest.err conftest.$ac_objext \
19526 conftest$ac_exeext conftest.$ac_ext
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19529 $as_echo "$ac_cv_have_isfinite" >&6; }
19530 if test "$ac_cv_have_isfinite" = "yes"
19531 then
19533 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19538 $as_echo_n "checking for isinf... " >&6; }
19539 if ${ac_cv_have_isinf+:} false; then :
19540 $as_echo_n "(cached) " >&6
19541 else
19542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19543 /* end confdefs.h. */
19544 #include <math.h>
19546 main ()
19548 float f = 0.0; return isinf(f)
19550 return 0;
19552 _ACEOF
19553 if ac_fn_c_try_link "$LINENO"; then :
19554 ac_cv_have_isinf="yes"
19555 else
19556 ac_cv_have_isinf="no"
19558 rm -f core conftest.err conftest.$ac_objext \
19559 conftest$ac_exeext conftest.$ac_ext
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19562 $as_echo "$ac_cv_have_isinf" >&6; }
19563 if test "$ac_cv_have_isinf" = "yes"
19564 then
19566 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19571 $as_echo_n "checking for isnan... " >&6; }
19572 if ${ac_cv_have_isnan+:} false; then :
19573 $as_echo_n "(cached) " >&6
19574 else
19575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19576 /* end confdefs.h. */
19577 #include <math.h>
19579 main ()
19581 float f = 0.0; return isnan(f)
19583 return 0;
19585 _ACEOF
19586 if ac_fn_c_try_link "$LINENO"; then :
19587 ac_cv_have_isnan="yes"
19588 else
19589 ac_cv_have_isnan="no"
19591 rm -f core conftest.err conftest.$ac_objext \
19592 conftest$ac_exeext conftest.$ac_ext
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19595 $as_echo "$ac_cv_have_isnan" >&6; }
19596 if test "$ac_cv_have_isnan" = "yes"
19597 then
19599 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19603 for ac_func in \
19604 acosh \
19605 acoshf \
19606 asinh \
19607 asinhf \
19608 atanh \
19609 atanhf \
19610 cbrt \
19611 cbrtf \
19612 erf \
19613 erfc \
19614 erfcf \
19615 erff \
19616 exp2 \
19617 exp2f \
19618 expm1 \
19619 expm1f \
19620 fma \
19621 fmaf \
19622 ilogb \
19623 ilogbf \
19624 j0 \
19625 j1 \
19626 jn \
19627 lgamma \
19628 lgammaf \
19629 llrint \
19630 llrintf \
19631 llround \
19632 llroundf \
19633 log1p \
19634 log1pf \
19635 log2 \
19636 log2f \
19637 lrint \
19638 lrintf \
19639 lround \
19640 lroundf \
19641 nearbyint \
19642 nearbyintf \
19643 nexttoward \
19644 nexttowardf \
19645 remainder \
19646 remainderf \
19647 remquo \
19648 remquof \
19649 rint \
19650 rintf \
19651 round \
19652 roundf \
19653 tgamma \
19654 tgammaf \
19655 trunc \
19656 truncf \
19657 y0 \
19658 y1 \
19661 do :
19662 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19664 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19665 cat >>confdefs.h <<_ACEOF
19666 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19667 _ACEOF
19670 done
19672 LIBS="$ac_save_LIBS"
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19675 $as_echo_n "checking for __builtin_popcount... " >&6; }
19676 if ${ac_cv_have___builtin_popcount+:} false; then :
19677 $as_echo_n "(cached) " >&6
19678 else
19679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19680 /* end confdefs.h. */
19683 main ()
19685 return __builtin_popcount(1)
19687 return 0;
19689 _ACEOF
19690 if ac_fn_c_try_link "$LINENO"; then :
19691 ac_cv_have___builtin_popcount="yes"
19692 else
19693 ac_cv_have___builtin_popcount="no"
19695 rm -f core conftest.err conftest.$ac_objext \
19696 conftest$ac_exeext conftest.$ac_ext
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19699 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19700 if test "$ac_cv_have___builtin_popcount" = "yes"
19701 then
19703 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19708 $as_echo_n "checking for __clear_cache... " >&6; }
19709 if ${ac_cv_have___clear_cache+:} false; then :
19710 $as_echo_n "(cached) " >&6
19711 else
19712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19713 /* end confdefs.h. */
19716 main ()
19718 __clear_cache((void*)0, (void*)0); return 0;
19720 return 0;
19722 _ACEOF
19723 if ac_fn_c_try_link "$LINENO"; then :
19724 ac_cv_have___clear_cache="yes"
19725 else
19726 ac_cv_have___clear_cache="no"
19728 rm -f core conftest.err conftest.$ac_objext \
19729 conftest$ac_exeext conftest.$ac_ext
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19732 $as_echo "$ac_cv_have___clear_cache" >&6; }
19733 if test "$ac_cv_have___clear_cache" = "yes"
19734 then
19736 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19741 case $host_cpu in
19742 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19743 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19744 if ${ac_cv_cpp_def___i386__+:} false; then :
19745 $as_echo_n "(cached) " >&6
19746 else
19747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19748 /* end confdefs.h. */
19749 #ifndef __i386__
19751 #endif
19752 _ACEOF
19753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19754 $EGREP "yes" >/dev/null 2>&1; then :
19755 ac_cv_cpp_def___i386__=yes
19756 else
19757 ac_cv_cpp_def___i386__=no
19759 rm -f conftest*
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19763 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19764 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19765 CFLAGS="$CFLAGS -D__i386__"
19766 LINTFLAGS="$LINTFLAGS -D__i386__"
19767 fi ;;
19768 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19769 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19770 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19771 $as_echo_n "(cached) " >&6
19772 else
19773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19774 /* end confdefs.h. */
19775 #ifndef __x86_64__
19777 #endif
19778 _ACEOF
19779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19780 $EGREP "yes" >/dev/null 2>&1; then :
19781 ac_cv_cpp_def___x86_64__=yes
19782 else
19783 ac_cv_cpp_def___x86_64__=no
19785 rm -f conftest*
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19789 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19790 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19791 CFLAGS="$CFLAGS -D__x86_64__"
19792 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19793 fi ;;
19794 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19795 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19796 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19797 $as_echo_n "(cached) " >&6
19798 else
19799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19800 /* end confdefs.h. */
19801 #ifndef __sparc64__
19803 #endif
19804 _ACEOF
19805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19806 $EGREP "yes" >/dev/null 2>&1; then :
19807 ac_cv_cpp_def___sparc64__=yes
19808 else
19809 ac_cv_cpp_def___sparc64__=no
19811 rm -f conftest*
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19815 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19816 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19817 CFLAGS="$CFLAGS -D__sparc64__"
19818 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19819 fi ;;
19820 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19821 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19822 if ${ac_cv_cpp_def___sparc__+:} false; then :
19823 $as_echo_n "(cached) " >&6
19824 else
19825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19826 /* end confdefs.h. */
19827 #ifndef __sparc__
19829 #endif
19830 _ACEOF
19831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19832 $EGREP "yes" >/dev/null 2>&1; then :
19833 ac_cv_cpp_def___sparc__=yes
19834 else
19835 ac_cv_cpp_def___sparc__=no
19837 rm -f conftest*
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19841 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19842 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19843 CFLAGS="$CFLAGS -D__sparc__"
19844 LINTFLAGS="$LINTFLAGS -D__sparc__"
19845 fi ;;
19846 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19847 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19848 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19849 $as_echo_n "(cached) " >&6
19850 else
19851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19852 /* end confdefs.h. */
19853 #ifndef __powerpc64__
19855 #endif
19856 _ACEOF
19857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19858 $EGREP "yes" >/dev/null 2>&1; then :
19859 ac_cv_cpp_def___powerpc64__=yes
19860 else
19861 ac_cv_cpp_def___powerpc64__=no
19863 rm -f conftest*
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19867 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19868 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19869 CFLAGS="$CFLAGS -D__powerpc64__"
19870 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19871 fi ;;
19872 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19873 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19874 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19875 $as_echo_n "(cached) " >&6
19876 else
19877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19878 /* end confdefs.h. */
19879 #ifndef __powerpc__
19881 #endif
19882 _ACEOF
19883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19884 $EGREP "yes" >/dev/null 2>&1; then :
19885 ac_cv_cpp_def___powerpc__=yes
19886 else
19887 ac_cv_cpp_def___powerpc__=no
19889 rm -f conftest*
19892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19893 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19894 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19895 CFLAGS="$CFLAGS -D__powerpc__"
19896 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19897 fi ;;
19898 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19899 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19900 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19901 $as_echo_n "(cached) " >&6
19902 else
19903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19904 /* end confdefs.h. */
19905 #ifndef __aarch64__
19907 #endif
19908 _ACEOF
19909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19910 $EGREP "yes" >/dev/null 2>&1; then :
19911 ac_cv_cpp_def___aarch64__=yes
19912 else
19913 ac_cv_cpp_def___aarch64__=no
19915 rm -f conftest*
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19919 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19920 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19921 CFLAGS="$CFLAGS -D__aarch64__"
19922 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19923 fi ;;
19924 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19925 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19926 if ${ac_cv_cpp_def___arm__+:} false; then :
19927 $as_echo_n "(cached) " >&6
19928 else
19929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19930 /* end confdefs.h. */
19931 #ifndef __arm__
19933 #endif
19934 _ACEOF
19935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19936 $EGREP "yes" >/dev/null 2>&1; then :
19937 ac_cv_cpp_def___arm__=yes
19938 else
19939 ac_cv_cpp_def___arm__=no
19941 rm -f conftest*
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19945 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19946 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19947 CFLAGS="$CFLAGS -D__arm__"
19948 LINTFLAGS="$LINTFLAGS -D__arm__"
19949 fi ;;
19950 esac
19952 case $host_vendor in
19953 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19954 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19955 if ${ac_cv_cpp_def___sun__+:} false; then :
19956 $as_echo_n "(cached) " >&6
19957 else
19958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19959 /* end confdefs.h. */
19960 #ifndef __sun__
19962 #endif
19963 _ACEOF
19964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19965 $EGREP "yes" >/dev/null 2>&1; then :
19966 ac_cv_cpp_def___sun__=yes
19967 else
19968 ac_cv_cpp_def___sun__=no
19970 rm -f conftest*
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19974 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19975 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19976 CFLAGS="$CFLAGS -D__sun__"
19977 LINTFLAGS="$LINTFLAGS -D__sun__"
19978 fi ;;
19979 esac
19985 ac_config_commands="$ac_config_commands include/stamp-h"
19987 $as_echo_n "creating Makefile rules..." >&6
19989 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19990 OPENGL_LIBS = $OPENGL_LIBS
19991 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19992 IOKIT_LIBS = $IOKIT_LIBS
19993 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19994 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19995 CORESERVICES_LIBS = $CORESERVICES_LIBS
19996 APPKIT_LIBS = $APPKIT_LIBS
19997 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19998 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19999 SECURITY_LIBS = $SECURITY_LIBS
20000 COREAUDIO_LIBS = $COREAUDIO_LIBS
20001 OPENAL_LIBS = $OPENAL_LIBS
20002 OPENCL_LIBS = $OPENCL_LIBS
20003 QUICKTIME_LIBS = $QUICKTIME_LIBS
20004 CARBON_LIBS = $CARBON_LIBS
20005 METAL_LIBS = $METAL_LIBS
20006 PTHREAD_LIBS = $PTHREAD_LIBS
20007 X_CFLAGS = $X_CFLAGS
20008 X_PRE_LIBS = $X_PRE_LIBS
20009 X_LIBS = $X_LIBS
20010 X_EXTRA_LIBS = $X_EXTRA_LIBS
20011 PCAP_LIBS = $PCAP_LIBS
20012 XML2_CFLAGS = $XML2_CFLAGS
20013 XML2_LIBS = $XML2_LIBS
20014 XSLT_CFLAGS = $XSLT_CFLAGS
20015 XSLT_LIBS = $XSLT_LIBS
20016 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20017 INOTIFY_LIBS = $INOTIFY_LIBS
20018 DBUS_CFLAGS = $DBUS_CFLAGS
20019 DBUS_LIBS = $DBUS_LIBS
20020 HAL_CFLAGS = $HAL_CFLAGS
20021 HAL_LIBS = $HAL_LIBS
20022 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20023 GNUTLS_LIBS = $GNUTLS_LIBS
20024 SANE_CFLAGS = $SANE_CFLAGS
20025 SANE_LIBS = $SANE_LIBS
20026 USB_CFLAGS = $USB_CFLAGS
20027 USB_LIBS = $USB_LIBS
20028 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20029 GPHOTO2_LIBS = $GPHOTO2_LIBS
20030 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20031 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20032 RESOLV_LIBS = $RESOLV_LIBS
20033 LCMS2_CFLAGS = $LCMS2_CFLAGS
20034 LCMS2_LIBS = $LCMS2_LIBS
20035 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20036 FREETYPE_LIBS = $FREETYPE_LIBS
20037 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20038 PULSE_CFLAGS = $PULSE_CFLAGS
20039 PULSE_LIBS = $PULSE_LIBS
20040 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20041 GSTREAMER_LIBS = $GSTREAMER_LIBS
20042 ALSA_LIBS = $ALSA_LIBS
20043 OSS4_CFLAGS = $OSS4_CFLAGS
20044 OSS4_LIBS = $OSS4_LIBS
20045 UDEV_CFLAGS = $UDEV_CFLAGS
20046 UDEV_LIBS = $UDEV_LIBS
20047 UNWIND_CFLAGS = $UNWIND_CFLAGS
20048 UNWIND_LIBS = $UNWIND_LIBS
20049 SDL2_CFLAGS = $SDL2_CFLAGS
20050 SDL2_LIBS = $SDL2_LIBS
20051 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20052 FAUDIO_LIBS = $FAUDIO_LIBS
20053 CAPI20_CFLAGS = $CAPI20_CFLAGS
20054 CAPI20_LIBS = $CAPI20_LIBS
20055 CUPS_CFLAGS = $CUPS_CFLAGS
20056 CUPS_LIBS = $CUPS_LIBS
20057 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20058 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20059 KRB5_CFLAGS = $KRB5_CFLAGS
20060 KRB5_LIBS = $KRB5_LIBS
20061 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20062 GSSAPI_LIBS = $GSSAPI_LIBS
20063 JPEG_CFLAGS = $JPEG_CFLAGS
20064 JPEG_LIBS = $JPEG_LIBS
20065 PNG_CFLAGS = $PNG_CFLAGS
20066 PNG_LIBS = $PNG_LIBS
20067 TIFF_CFLAGS = $TIFF_CFLAGS
20068 TIFF_LIBS = $TIFF_LIBS
20069 MPG123_CFLAGS = $MPG123_CFLAGS
20070 MPG123_LIBS = $MPG123_LIBS
20071 KSTAT_LIBS = $KSTAT_LIBS
20072 PROCSTAT_LIBS = $PROCSTAT_LIBS
20073 NETAPI_CFLAGS = $NETAPI_CFLAGS
20074 NETAPI_LIBS = $NETAPI_LIBS
20075 VKD3D_CFLAGS = $VKD3D_CFLAGS
20076 VKD3D_LIBS = $VKD3D_LIBS
20077 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20078 POLL_LIBS = $POLL_LIBS
20079 RT_LIBS = $RT_LIBS
20080 LDAP_CFLAGS = $LDAP_CFLAGS
20081 LDAP_LIBS = $LDAP_LIBS
20086 wine_fn_append_rule "
20087 # Rules automatically generated by configure
20089 .INIT: Makefile
20090 .MAKEFILEDEPS:
20091 all: Makefile
20092 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20093 @./config.status Make.tmp Makefile
20094 depend: \$(MAKEDEP) dummy
20095 \$(MAKEDEP)"
20097 ac_config_links="$ac_config_links wine:tools/winewrapper"
20098 wine_fn_config_symlink wine
20099 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20100 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20101 wine_fn_config_symlink wine64
20104 wine_fn_config_makefile dlls/acledit enable_acledit
20105 wine_fn_config_makefile dlls/aclui enable_aclui
20106 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20107 wine_fn_config_makefile dlls/activeds enable_activeds
20108 wine_fn_config_makefile dlls/activeds/tests enable_tests
20109 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20110 wine_fn_config_makefile dlls/adsiid enable_adsiid
20111 wine_fn_config_makefile dlls/adsldp enable_adsldp
20112 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20113 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20114 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20115 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20116 wine_fn_config_makefile dlls/advpack enable_advpack
20117 wine_fn_config_makefile dlls/advpack/tests enable_tests
20118 wine_fn_config_makefile dlls/amsi enable_amsi
20119 wine_fn_config_makefile dlls/amstream enable_amstream
20120 wine_fn_config_makefile dlls/amstream/tests enable_tests
20121 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20123 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20124 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20126 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20131 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20139 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20141 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20143 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20145 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20146 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20147 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20149 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20152 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20153 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20155 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20156 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20165 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20169 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20170 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20173 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20175 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20176 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20179 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20187 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20188 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20195 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20199 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20200 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20201 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20224 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20228 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20231 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20241 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20246 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20247 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20252 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20254 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20273 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20274 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20293 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20304 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20308 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20310 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20312 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20313 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20318 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20320 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20326 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20329 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20331 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20333 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20337 wine_fn_config_makefile dlls/apphelp enable_apphelp
20338 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20339 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20340 wine_fn_config_makefile dlls/atl enable_atl
20341 wine_fn_config_makefile dlls/atl/tests enable_tests
20342 wine_fn_config_makefile dlls/atl100 enable_atl100
20343 wine_fn_config_makefile dlls/atl100/tests enable_tests
20344 wine_fn_config_makefile dlls/atl110 enable_atl110
20345 wine_fn_config_makefile dlls/atl80 enable_atl80
20346 wine_fn_config_makefile dlls/atl80/tests enable_tests
20347 wine_fn_config_makefile dlls/atl90 enable_atl90
20348 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20349 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20350 wine_fn_config_makefile dlls/atmlib enable_atmlib
20351 wine_fn_config_makefile dlls/authz enable_authz
20352 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20353 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20354 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20355 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20356 wine_fn_config_makefile dlls/avrt enable_avrt
20357 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20358 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20359 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20360 wine_fn_config_makefile dlls/browseui enable_browseui
20361 wine_fn_config_makefile dlls/browseui/tests enable_tests
20362 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20363 wine_fn_config_makefile dlls/cabinet enable_cabinet
20364 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20365 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20366 wine_fn_config_makefile dlls/cards enable_cards
20367 wine_fn_config_makefile dlls/cdosys enable_cdosys
20368 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20369 wine_fn_config_makefile dlls/clusapi enable_clusapi
20370 wine_fn_config_makefile dlls/combase enable_combase
20371 wine_fn_config_makefile dlls/combase/tests enable_tests
20372 wine_fn_config_makefile dlls/comcat enable_comcat
20373 wine_fn_config_makefile dlls/comcat/tests enable_tests
20374 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20375 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20376 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20377 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20378 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20379 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20380 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20381 wine_fn_config_makefile dlls/compstui enable_compstui
20382 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20383 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20384 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20385 wine_fn_config_makefile dlls/connect enable_connect
20386 wine_fn_config_makefile dlls/credui enable_credui
20387 wine_fn_config_makefile dlls/credui/tests enable_tests
20388 wine_fn_config_makefile dlls/crtdll enable_crtdll
20389 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20390 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20391 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20392 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20393 wine_fn_config_makefile dlls/cryptext enable_cryptext
20394 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20395 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20396 wine_fn_config_makefile dlls/cryptui enable_cryptui
20397 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20398 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20399 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20400 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20401 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20402 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20403 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20404 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20405 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20406 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20407 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20408 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20409 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20410 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20411 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20412 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20413 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20414 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20415 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20416 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20417 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20418 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20419 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20420 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20421 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20422 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20423 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20424 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20425 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20426 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20427 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20428 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20429 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20430 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20431 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20432 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20433 wine_fn_config_makefile dlls/d3dim enable_d3dim
20434 wine_fn_config_makefile dlls/d3drm enable_d3drm
20435 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20436 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20437 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20438 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20439 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20440 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20441 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20442 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20443 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20444 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20445 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20446 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20447 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20448 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20449 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20450 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20451 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20452 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20453 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20454 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20455 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20456 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20457 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20458 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20459 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20460 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20461 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20462 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20463 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20464 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20465 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20466 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20467 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20468 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20469 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20470 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20471 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20472 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20473 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20474 wine_fn_config_makefile dlls/davclnt enable_davclnt
20475 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20476 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20477 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20478 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20479 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20480 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20481 wine_fn_config_makefile dlls/ddraw enable_ddraw
20482 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20483 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20484 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20485 wine_fn_config_makefile dlls/devenum enable_devenum
20486 wine_fn_config_makefile dlls/devenum/tests enable_tests
20487 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20488 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20489 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20490 wine_fn_config_makefile dlls/difxapi enable_difxapi
20491 wine_fn_config_makefile dlls/dinput enable_dinput
20492 wine_fn_config_makefile dlls/dinput/tests enable_tests
20493 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20494 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20495 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20496 wine_fn_config_makefile dlls/dispex enable_dispex
20497 wine_fn_config_makefile dlls/dispex/tests enable_tests
20498 wine_fn_config_makefile dlls/display.drv16 enable_win16
20499 wine_fn_config_makefile dlls/dmband enable_dmband
20500 wine_fn_config_makefile dlls/dmband/tests enable_tests
20501 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20502 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20503 wine_fn_config_makefile dlls/dmime enable_dmime
20504 wine_fn_config_makefile dlls/dmime/tests enable_tests
20505 wine_fn_config_makefile dlls/dmloader enable_dmloader
20506 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20507 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20508 wine_fn_config_makefile dlls/dmscript enable_dmscript
20509 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20510 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20511 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20512 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20513 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20514 wine_fn_config_makefile dlls/dmusic enable_dmusic
20515 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20516 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20517 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20518 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20519 wine_fn_config_makefile dlls/dplay enable_dplay
20520 wine_fn_config_makefile dlls/dplayx enable_dplayx
20521 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20522 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20523 wine_fn_config_makefile dlls/dpnet enable_dpnet
20524 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20525 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20526 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20527 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20528 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20529 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20530 wine_fn_config_makefile dlls/drmclien enable_drmclien
20531 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20532 wine_fn_config_makefile dlls/dsound enable_dsound
20533 wine_fn_config_makefile dlls/dsound/tests enable_tests
20534 wine_fn_config_makefile dlls/dsquery enable_dsquery
20535 wine_fn_config_makefile dlls/dssenh enable_dssenh
20536 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20537 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20538 wine_fn_config_makefile dlls/dswave enable_dswave
20539 wine_fn_config_makefile dlls/dswave/tests enable_tests
20540 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20541 wine_fn_config_makefile dlls/dwrite enable_dwrite
20542 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20543 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20544 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20545 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20546 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20547 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20548 wine_fn_config_makefile dlls/dxgi enable_dxgi
20549 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20550 wine_fn_config_makefile dlls/dxguid enable_dxguid
20551 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20552 wine_fn_config_makefile dlls/esent enable_esent
20553 wine_fn_config_makefile dlls/evr enable_evr
20554 wine_fn_config_makefile dlls/evr/tests enable_tests
20555 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20556 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20557 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20560 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20562 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20563 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20565 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20566 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20567 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20568 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20569 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20571 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20572 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20573 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20574 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20575 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20576 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20577 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20578 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20579 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20580 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20581 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20582 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20583 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20584 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20585 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20588 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20589 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20591 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20595 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20596 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20597 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
20598 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20599 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20600 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20601 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20602 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20603 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20604 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20605 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20606 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20607 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20608 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20609 wine_fn_config_makefile dlls/faultrep enable_faultrep
20610 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20611 wine_fn_config_makefile dlls/feclient enable_feclient
20612 wine_fn_config_makefile dlls/fltlib enable_fltlib
20613 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20614 wine_fn_config_makefile dlls/fntcache enable_fntcache
20615 wine_fn_config_makefile dlls/fontsub enable_fontsub
20616 wine_fn_config_makefile dlls/fusion enable_fusion
20617 wine_fn_config_makefile dlls/fusion/tests enable_tests
20618 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20619 wine_fn_config_makefile dlls/gameux enable_gameux
20620 wine_fn_config_makefile dlls/gameux/tests enable_tests
20621 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20622 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20623 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20624 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20625 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20626 wine_fn_config_makefile dlls/glu32 enable_glu32
20627 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20628 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20629 wine_fn_config_makefile dlls/hal enable_hal
20630 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20631 wine_fn_config_makefile dlls/hid enable_hid
20632 wine_fn_config_makefile dlls/hid/tests enable_tests
20633 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20634 wine_fn_config_makefile dlls/hlink enable_hlink
20635 wine_fn_config_makefile dlls/hlink/tests enable_tests
20636 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20637 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20638 wine_fn_config_makefile dlls/http.sys enable_http_sys
20639 wine_fn_config_makefile dlls/httpapi enable_httpapi
20640 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20641 wine_fn_config_makefile dlls/iccvid enable_iccvid
20642 wine_fn_config_makefile dlls/icmp enable_icmp
20643 wine_fn_config_makefile dlls/ieframe enable_ieframe
20644 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20645 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20646 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20647 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20648 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20649 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20650 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20651 wine_fn_config_makefile dlls/imm32 enable_imm32
20652 wine_fn_config_makefile dlls/imm32/tests enable_tests
20653 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20654 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20655 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20656 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20657 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20658 wine_fn_config_makefile dlls/infosoft enable_infosoft
20659 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20660 wine_fn_config_makefile dlls/initpki enable_initpki
20661 wine_fn_config_makefile dlls/inkobj enable_inkobj
20662 wine_fn_config_makefile dlls/inseng enable_inseng
20663 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20664 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20665 wine_fn_config_makefile dlls/iprop enable_iprop
20666 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20667 wine_fn_config_makefile dlls/itircl enable_itircl
20668 wine_fn_config_makefile dlls/itss enable_itss
20669 wine_fn_config_makefile dlls/itss/tests enable_tests
20670 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20671 wine_fn_config_makefile dlls/jscript enable_jscript
20672 wine_fn_config_makefile dlls/jscript/tests enable_tests
20673 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20674 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20675 wine_fn_config_makefile dlls/kerberos enable_kerberos
20676 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20677 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20678 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20679 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20680 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20681 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20682 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20683 wine_fn_config_makefile dlls/ksuser enable_ksuser
20684 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20685 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20686 wine_fn_config_makefile dlls/loadperf enable_loadperf
20687 wine_fn_config_makefile dlls/localspl enable_localspl
20688 wine_fn_config_makefile dlls/localspl/tests enable_tests
20689 wine_fn_config_makefile dlls/localui enable_localui
20690 wine_fn_config_makefile dlls/localui/tests enable_tests
20691 wine_fn_config_makefile dlls/lz32 enable_lz32
20692 wine_fn_config_makefile dlls/lz32/tests enable_tests
20693 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20694 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20695 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20696 wine_fn_config_makefile dlls/mapistub enable_mapistub
20697 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20698 wine_fn_config_makefile dlls/mcicda enable_mcicda
20699 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20700 wine_fn_config_makefile dlls/mciseq enable_mciseq
20701 wine_fn_config_makefile dlls/mciwave enable_mciwave
20702 wine_fn_config_makefile dlls/mf enable_mf
20703 wine_fn_config_makefile dlls/mf/tests enable_tests
20704 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20705 wine_fn_config_makefile dlls/mferror enable_mferror
20706 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20707 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20708 wine_fn_config_makefile dlls/mfplat enable_mfplat
20709 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20710 wine_fn_config_makefile dlls/mfplay enable_mfplay
20711 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20712 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20713 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20714 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20715 wine_fn_config_makefile dlls/midimap enable_midimap
20716 wine_fn_config_makefile dlls/mlang enable_mlang
20717 wine_fn_config_makefile dlls/mlang/tests enable_tests
20718 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20719 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20720 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20721 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20722 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20723 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20724 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20725 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20726 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20727 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20728 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20729 wine_fn_config_makefile dlls/mpr enable_mpr
20730 wine_fn_config_makefile dlls/mpr/tests enable_tests
20731 wine_fn_config_makefile dlls/mprapi enable_mprapi
20732 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20733 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20734 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20735 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20736 wine_fn_config_makefile dlls/msado15 enable_msado15
20737 wine_fn_config_makefile dlls/msado15/tests enable_tests
20738 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20739 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20740 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20741 wine_fn_config_makefile dlls/mscms enable_mscms
20742 wine_fn_config_makefile dlls/mscms/tests enable_tests
20743 wine_fn_config_makefile dlls/mscoree enable_mscoree
20744 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20745 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20746 wine_fn_config_makefile dlls/msctf enable_msctf
20747 wine_fn_config_makefile dlls/msctf/tests enable_tests
20748 wine_fn_config_makefile dlls/msctfp enable_msctfp
20749 wine_fn_config_makefile dlls/msdaps enable_msdaps
20750 wine_fn_config_makefile dlls/msdelta enable_msdelta
20751 wine_fn_config_makefile dlls/msdmo enable_msdmo
20752 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20753 wine_fn_config_makefile dlls/msdrm enable_msdrm
20754 wine_fn_config_makefile dlls/msftedit enable_msftedit
20755 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20756 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20757 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20758 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20759 wine_fn_config_makefile dlls/mshtml enable_mshtml
20760 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20761 wine_fn_config_makefile dlls/msi enable_msi
20762 wine_fn_config_makefile dlls/msi/tests enable_tests
20763 wine_fn_config_makefile dlls/msident enable_msident
20764 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20765 wine_fn_config_makefile dlls/msimsg enable_msimsg
20766 wine_fn_config_makefile dlls/msimtf enable_msimtf
20767 wine_fn_config_makefile dlls/msisip enable_msisip
20768 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20769 wine_fn_config_makefile dlls/msls31 enable_msls31
20770 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20771 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20772 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20773 wine_fn_config_makefile dlls/msports enable_msports
20774 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20775 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20776 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20777 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20778 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20779 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20780 wine_fn_config_makefile dlls/mstask enable_mstask
20781 wine_fn_config_makefile dlls/mstask/tests enable_tests
20782 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20783 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20784 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20785 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20786 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20787 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20788 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20789 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20790 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20791 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20792 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20793 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20794 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20795 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20796 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20797 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20798 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20799 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20800 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20801 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20802 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20803 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20804 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20805 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20806 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20807 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20808 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20809 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20810 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20811 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20812 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20813 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20814 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20815 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20816 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20817 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20818 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20819 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20820 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20821 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20822 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20823 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20824 wine_fn_config_makefile dlls/mswsock enable_mswsock
20825 wine_fn_config_makefile dlls/msxml enable_msxml
20826 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20827 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20828 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20829 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20830 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20831 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20832 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20833 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20834 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20835 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20836 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20837 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20838 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20839 wine_fn_config_makefile dlls/netprofm enable_netprofm
20840 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20841 wine_fn_config_makefile dlls/newdev enable_newdev
20842 wine_fn_config_makefile dlls/ninput enable_ninput
20843 wine_fn_config_makefile dlls/ninput/tests enable_tests
20844 wine_fn_config_makefile dlls/normaliz enable_normaliz
20845 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20846 wine_fn_config_makefile dlls/npptools enable_npptools
20847 wine_fn_config_makefile dlls/ntdll enable_ntdll
20848 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20849 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20850 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20851 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20852 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20853 wine_fn_config_makefile dlls/ntprint enable_ntprint
20854 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20855 wine_fn_config_makefile dlls/objsel enable_objsel
20856 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20857 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20858 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20859 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20860 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20861 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20862 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20863 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20864 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20865 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20866 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20867 wine_fn_config_makefile dlls/ole32 enable_ole32
20868 wine_fn_config_makefile dlls/ole32/tests enable_tests
20869 wine_fn_config_makefile dlls/oleacc enable_oleacc
20870 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20871 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20872 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20873 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20874 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20875 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20876 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20877 wine_fn_config_makefile dlls/oledlg enable_oledlg
20878 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20879 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20880 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20881 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20882 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20883 wine_fn_config_makefile dlls/opcservices enable_opcservices
20884 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20885 wine_fn_config_makefile dlls/openal32 enable_openal32
20886 wine_fn_config_makefile dlls/opencl enable_opencl
20887 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20888 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20889 wine_fn_config_makefile dlls/packager enable_packager
20890 wine_fn_config_makefile dlls/packager/tests enable_tests
20891 wine_fn_config_makefile dlls/pdh enable_pdh
20892 wine_fn_config_makefile dlls/pdh/tests enable_tests
20893 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20894 wine_fn_config_makefile dlls/pidgen enable_pidgen
20895 wine_fn_config_makefile dlls/powrprof enable_powrprof
20896 wine_fn_config_makefile dlls/printui enable_printui
20897 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20898 wine_fn_config_makefile dlls/propsys enable_propsys
20899 wine_fn_config_makefile dlls/propsys/tests enable_tests
20900 wine_fn_config_makefile dlls/psapi enable_psapi
20901 wine_fn_config_makefile dlls/psapi/tests enable_tests
20902 wine_fn_config_makefile dlls/pstorec enable_pstorec
20903 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20904 wine_fn_config_makefile dlls/qasf enable_qasf
20905 wine_fn_config_makefile dlls/qasf/tests enable_tests
20906 wine_fn_config_makefile dlls/qcap enable_qcap
20907 wine_fn_config_makefile dlls/qcap/tests enable_tests
20908 wine_fn_config_makefile dlls/qdvd enable_qdvd
20909 wine_fn_config_makefile dlls/qedit enable_qedit
20910 wine_fn_config_makefile dlls/qedit/tests enable_tests
20911 wine_fn_config_makefile dlls/qmgr enable_qmgr
20912 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20913 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20914 wine_fn_config_makefile dlls/quartz enable_quartz
20915 wine_fn_config_makefile dlls/quartz/tests enable_tests
20916 wine_fn_config_makefile dlls/query enable_query
20917 wine_fn_config_makefile dlls/qwave enable_qwave
20918 wine_fn_config_makefile dlls/qwave/tests enable_tests
20919 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20920 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20921 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20922 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20923 wine_fn_config_makefile dlls/regapi enable_regapi
20924 wine_fn_config_makefile dlls/resutils enable_resutils
20925 wine_fn_config_makefile dlls/riched20 enable_riched20
20926 wine_fn_config_makefile dlls/riched20/tests enable_tests
20927 wine_fn_config_makefile dlls/riched32 enable_riched32
20928 wine_fn_config_makefile dlls/riched32/tests enable_tests
20929 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20930 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20931 wine_fn_config_makefile dlls/rsabase enable_rsabase
20932 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20933 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20934 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20935 wine_fn_config_makefile dlls/rtutils enable_rtutils
20936 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20937 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20938 wine_fn_config_makefile dlls/samlib enable_samlib
20939 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20940 wine_fn_config_makefile dlls/sapi enable_sapi
20941 wine_fn_config_makefile dlls/sapi/tests enable_tests
20942 wine_fn_config_makefile dlls/sas enable_sas
20943 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20944 wine_fn_config_makefile dlls/sccbase enable_sccbase
20945 wine_fn_config_makefile dlls/schannel enable_schannel
20946 wine_fn_config_makefile dlls/schannel/tests enable_tests
20947 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20948 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20949 wine_fn_config_makefile dlls/scrobj enable_scrobj
20950 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20951 wine_fn_config_makefile dlls/scrrun enable_scrrun
20952 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20953 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20954 wine_fn_config_makefile dlls/secur32 enable_secur32
20955 wine_fn_config_makefile dlls/secur32/tests enable_tests
20956 wine_fn_config_makefile dlls/security enable_security
20957 wine_fn_config_makefile dlls/sensapi enable_sensapi
20958 wine_fn_config_makefile dlls/serialui enable_serialui
20959 wine_fn_config_makefile dlls/serialui/tests enable_tests
20960 wine_fn_config_makefile dlls/setupapi enable_setupapi
20961 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20962 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20963 wine_fn_config_makefile dlls/sfc enable_sfc
20964 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20965 wine_fn_config_makefile dlls/shcore enable_shcore
20966 wine_fn_config_makefile dlls/shcore/tests enable_tests
20967 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20968 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20969 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20970 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20971 wine_fn_config_makefile dlls/shell32 enable_shell32
20972 wine_fn_config_makefile dlls/shell32/tests enable_tests
20973 wine_fn_config_makefile dlls/shfolder enable_shfolder
20974 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20975 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20976 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20977 wine_fn_config_makefile dlls/slc enable_slc
20978 wine_fn_config_makefile dlls/slc/tests enable_tests
20979 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20980 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20981 wine_fn_config_makefile dlls/softpub enable_softpub
20982 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20983 wine_fn_config_makefile dlls/spoolss enable_spoolss
20984 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20985 wine_fn_config_makefile dlls/srclient enable_srclient
20986 wine_fn_config_makefile dlls/sspicli enable_sspicli
20987 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20988 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20989 wine_fn_config_makefile dlls/sti enable_sti
20990 wine_fn_config_makefile dlls/sti/tests enable_tests
20991 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20992 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20993 wine_fn_config_makefile dlls/strmbase enable_strmbase
20994 wine_fn_config_makefile dlls/strmdll enable_strmdll
20995 wine_fn_config_makefile dlls/strmiids enable_strmiids
20996 wine_fn_config_makefile dlls/svrapi enable_svrapi
20997 wine_fn_config_makefile dlls/sxs enable_sxs
20998 wine_fn_config_makefile dlls/sxs/tests enable_tests
20999 wine_fn_config_makefile dlls/system.drv16 enable_win16
21000 wine_fn_config_makefile dlls/t2embed enable_t2embed
21001 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21002 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21003 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21004 wine_fn_config_makefile dlls/taskschd enable_taskschd
21005 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21006 wine_fn_config_makefile dlls/tdh enable_tdh
21007 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21008 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21009 wine_fn_config_makefile dlls/traffic enable_traffic
21010 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21011 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21012 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21013 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21014 wine_fn_config_makefile dlls/tzres enable_tzres
21015 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21016 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21017 wine_fn_config_makefile dlls/uianimation enable_uianimation
21018 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21019 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21020 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21021 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21022 wine_fn_config_makefile dlls/unicows enable_unicows
21023 wine_fn_config_makefile dlls/updspapi enable_updspapi
21024 wine_fn_config_makefile dlls/url enable_url
21025 wine_fn_config_makefile dlls/urlmon enable_urlmon
21026 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21027 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21028 wine_fn_config_makefile dlls/user.exe16 enable_win16
21029 wine_fn_config_makefile dlls/user32 enable_user32
21030 wine_fn_config_makefile dlls/user32/tests enable_tests
21031 wine_fn_config_makefile dlls/userenv enable_userenv
21032 wine_fn_config_makefile dlls/userenv/tests enable_tests
21033 wine_fn_config_makefile dlls/usp10 enable_usp10
21034 wine_fn_config_makefile dlls/usp10/tests enable_tests
21035 wine_fn_config_makefile dlls/utildll enable_utildll
21036 wine_fn_config_makefile dlls/uuid enable_uuid
21037 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21038 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21039 wine_fn_config_makefile dlls/vbscript enable_vbscript
21040 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21041 wine_fn_config_makefile dlls/vcomp enable_vcomp
21042 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21043 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21044 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21045 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21046 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21047 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21048 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21049 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21050 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21051 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21052 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21053 wine_fn_config_makefile dlls/version enable_version
21054 wine_fn_config_makefile dlls/version/tests enable_tests
21055 wine_fn_config_makefile dlls/vga enable_vga
21056 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21057 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21058 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21059 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21060 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21061 wine_fn_config_makefile dlls/vssapi enable_vssapi
21062 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21063 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21064 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21065 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21066 wine_fn_config_makefile dlls/w32skrnl enable_win16
21067 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21068 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21069 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21070 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21071 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21072 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21073 wine_fn_config_makefile dlls/wdscore enable_wdscore
21074 wine_fn_config_makefile dlls/webservices enable_webservices
21075 wine_fn_config_makefile dlls/webservices/tests enable_tests
21076 wine_fn_config_makefile dlls/wer enable_wer
21077 wine_fn_config_makefile dlls/wer/tests enable_tests
21078 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21079 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21080 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21081 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21082 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21083 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21084 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21085 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21086 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21087 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21088 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21089 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21090 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21091 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21092 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21093 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21094 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21095 wine_fn_config_makefile dlls/wined3d enable_wined3d
21096 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21097 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21098 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21099 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21100 wine_fn_config_makefile dlls/winemapi enable_winemapi
21101 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21102 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21103 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21104 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21105 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21106 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21107 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21108 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21109 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21110 wine_fn_config_makefile dlls/wing32 enable_wing32
21111 wine_fn_config_makefile dlls/winhttp enable_winhttp
21112 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21113 wine_fn_config_makefile dlls/wininet enable_wininet
21114 wine_fn_config_makefile dlls/wininet/tests enable_tests
21115 wine_fn_config_makefile dlls/winmm enable_winmm
21116 wine_fn_config_makefile dlls/winmm/tests enable_tests
21117 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21118 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21119 wine_fn_config_makefile dlls/winscard enable_winscard
21120 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21121 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21122 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21123 wine_fn_config_makefile dlls/winsta enable_winsta
21124 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21125 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21126 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21127 wine_fn_config_makefile dlls/wintrust enable_wintrust
21128 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21129 wine_fn_config_makefile dlls/winusb enable_winusb
21130 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21131 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21132 wine_fn_config_makefile dlls/wlanui enable_wlanui
21133 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21134 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21135 wine_fn_config_makefile dlls/wmasf enable_wmasf
21136 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21137 wine_fn_config_makefile dlls/wmi enable_wmi
21138 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21139 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21140 wine_fn_config_makefile dlls/wmp enable_wmp
21141 wine_fn_config_makefile dlls/wmp/tests enable_tests
21142 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21143 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21144 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21145 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21146 wine_fn_config_makefile dlls/wow32 enable_win16
21147 wine_fn_config_makefile dlls/wpc enable_wpc
21148 wine_fn_config_makefile dlls/wpc/tests enable_tests
21149 wine_fn_config_makefile dlls/wpcap enable_wpcap
21150 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21151 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21152 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21153 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21154 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21155 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21156 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21157 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21158 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21159 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21160 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21161 wine_fn_config_makefile dlls/wuapi enable_wuapi
21162 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21163 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21164 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21165 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21166 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21167 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21168 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21169 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21170 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21171 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21172 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21173 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21174 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21175 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21176 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21177 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21178 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21179 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21180 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21181 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21182 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21183 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21184 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21185 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21186 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21187 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21188 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21189 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21190 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21191 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21192 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21193 wine_fn_config_makefile dlls/xmllite enable_xmllite
21194 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21195 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21196 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21197 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21198 wine_fn_config_makefile fonts enable_fonts
21199 wine_fn_config_makefile include enable_include
21200 wine_fn_config_makefile libs/port enable_port
21201 wine_fn_config_makefile libs/wine enable_wine
21202 wine_fn_config_makefile libs/wpp enable_wpp
21203 wine_fn_config_makefile loader enable_loader
21204 wine_fn_config_makefile nls enable_nls
21205 wine_fn_config_makefile po enable_po
21206 wine_fn_config_makefile programs/arp enable_arp
21207 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21208 wine_fn_config_makefile programs/attrib enable_attrib
21209 wine_fn_config_makefile programs/cabarc enable_cabarc
21210 wine_fn_config_makefile programs/cacls enable_cacls
21211 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21212 wine_fn_config_makefile programs/clock enable_clock
21213 wine_fn_config_makefile programs/cmd enable_cmd
21214 wine_fn_config_makefile programs/cmd/tests enable_tests
21215 wine_fn_config_makefile programs/conhost enable_conhost
21216 wine_fn_config_makefile programs/control enable_control
21217 wine_fn_config_makefile programs/cscript enable_cscript
21218 wine_fn_config_makefile programs/dism enable_dism
21219 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21220 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21221 wine_fn_config_makefile programs/eject enable_eject
21222 wine_fn_config_makefile programs/expand enable_expand
21223 wine_fn_config_makefile programs/explorer enable_explorer
21224 wine_fn_config_makefile programs/extrac32 enable_extrac32
21225 wine_fn_config_makefile programs/fc enable_fc
21226 wine_fn_config_makefile programs/find enable_find
21227 wine_fn_config_makefile programs/find/tests enable_tests
21228 wine_fn_config_makefile programs/findstr enable_findstr
21229 wine_fn_config_makefile programs/fsutil enable_fsutil
21230 wine_fn_config_makefile programs/hh enable_hh
21231 wine_fn_config_makefile programs/hostname enable_hostname
21232 wine_fn_config_makefile programs/icacls enable_icacls
21233 wine_fn_config_makefile programs/icinfo enable_icinfo
21234 wine_fn_config_makefile programs/iexplore enable_iexplore
21235 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21236 wine_fn_config_makefile programs/lodctr enable_lodctr
21237 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21238 wine_fn_config_makefile programs/mshta enable_mshta
21239 wine_fn_config_makefile programs/msidb enable_msidb
21240 wine_fn_config_makefile programs/msiexec enable_msiexec
21241 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21242 wine_fn_config_makefile programs/net enable_net
21243 wine_fn_config_makefile programs/netsh enable_netsh
21244 wine_fn_config_makefile programs/netstat enable_netstat
21245 wine_fn_config_makefile programs/ngen enable_ngen
21246 wine_fn_config_makefile programs/notepad enable_notepad
21247 wine_fn_config_makefile programs/oleview enable_oleview
21248 wine_fn_config_makefile programs/ping enable_ping
21249 wine_fn_config_makefile programs/plugplay enable_plugplay
21250 wine_fn_config_makefile programs/powershell enable_powershell
21251 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21252 wine_fn_config_makefile programs/progman enable_progman
21253 wine_fn_config_makefile programs/reg enable_reg
21254 wine_fn_config_makefile programs/reg/tests enable_tests
21255 wine_fn_config_makefile programs/regasm enable_regasm
21256 wine_fn_config_makefile programs/regedit enable_regedit
21257 wine_fn_config_makefile programs/regedit/tests enable_tests
21258 wine_fn_config_makefile programs/regini enable_regini
21259 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21260 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21261 wine_fn_config_makefile programs/rpcss enable_rpcss
21262 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21263 wine_fn_config_makefile programs/rundll32 enable_rundll32
21264 wine_fn_config_makefile programs/sc enable_sc
21265 wine_fn_config_makefile programs/schtasks enable_schtasks
21266 wine_fn_config_makefile programs/schtasks/tests enable_tests
21267 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21268 wine_fn_config_makefile programs/secedit enable_secedit
21269 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21270 wine_fn_config_makefile programs/services enable_services
21271 wine_fn_config_makefile programs/services/tests enable_tests
21272 wine_fn_config_makefile programs/shutdown enable_shutdown
21273 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21274 wine_fn_config_makefile programs/start enable_start
21275 wine_fn_config_makefile programs/subst enable_subst
21276 wine_fn_config_makefile programs/svchost enable_svchost
21277 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21278 wine_fn_config_makefile programs/taskkill enable_taskkill
21279 wine_fn_config_makefile programs/tasklist enable_tasklist
21280 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21281 wine_fn_config_makefile programs/termsv enable_termsv
21282 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21283 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21284 wine_fn_config_makefile programs/view enable_view
21285 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21286 wine_fn_config_makefile programs/whoami enable_whoami
21287 wine_fn_config_makefile programs/wineboot enable_wineboot
21288 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21289 wine_fn_config_makefile programs/winecfg enable_winecfg
21290 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21291 wine_fn_config_makefile programs/winedbg enable_winedbg
21292 wine_fn_config_makefile programs/winedevice enable_winedevice
21293 wine_fn_config_makefile programs/winefile enable_winefile
21294 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21295 wine_fn_config_makefile programs/winemine enable_winemine
21296 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21297 wine_fn_config_makefile programs/winepath enable_winepath
21298 wine_fn_config_makefile programs/winetest enable_winetest
21299 wine_fn_config_makefile programs/winevdm enable_win16
21300 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21301 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21302 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21303 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21304 wine_fn_config_makefile programs/winver enable_winver
21305 wine_fn_config_makefile programs/wmic enable_wmic
21306 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21307 wine_fn_config_makefile programs/wordpad enable_wordpad
21308 wine_fn_config_makefile programs/write enable_write
21309 wine_fn_config_makefile programs/wscript enable_wscript
21310 wine_fn_config_makefile programs/wscript/tests enable_tests
21311 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21312 wine_fn_config_makefile programs/wusa enable_wusa
21313 wine_fn_config_makefile programs/xcopy enable_xcopy
21314 wine_fn_config_makefile programs/xcopy/tests enable_tests
21315 wine_fn_config_makefile server enable_server
21316 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21317 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21318 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21319 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21320 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21321 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21322 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21323 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21324 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21327 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21328 wine_fn_append_file CONFIGURE_TARGETS "tags"
21329 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21330 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21331 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21332 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21333 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21334 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21336 if test "x$enable_tools" != xno
21337 then
21338 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21339 ac_config_commands="$ac_config_commands tools/makedep"
21343 ac_config_commands="$ac_config_commands Makefile"
21346 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21350 if test "x$enable_maintainer_mode" = xyes
21351 then
21352 wine_fn_append_rule "configure: configure.ac aclocal.m4
21353 autoconf --warnings=all
21354 include/config.h.in: include/stamp-h.in
21355 include/stamp-h.in: configure.ac aclocal.m4
21356 autoheader --warnings=all
21357 @echo timestamp > \$@"
21360 if test "x$enable_tools" != xno
21361 then
21362 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21363 @./config.status tools/makedep
21364 Makefile: tools/makedep$ac_exeext
21365 fonts: tools/sfnt2fon
21366 include: tools tools/widl"
21367 else
21368 wine_fn_append_rule "\$(MAKEDEP):
21369 @echo \"You need to run make in $TOOLSDIR first\" && false"
21372 if test -n "$with_wine64"
21373 then
21374 case "$with_wine64" in
21375 /*) reldir="" ;;
21376 *) reldir="../" ;;
21377 esac
21378 rm -f fonts server 2>/dev/null
21379 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21380 loader/wine64 loader/wine64-preloader:
21381 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21382 $with_wine64/loader/wine:
21383 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21384 $with_wine64/loader/wine-preloader:
21385 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21386 clean::
21387 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21388 else
21389 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21390 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21391 fonts \
21392 loader/wine.inf \
21393 loader/winebus.inf \
21394 loader/winehid.inf \
21395 loader/wineusb.inf \
21396 nls \
21397 programs/msidb/msidb \
21398 programs/msiexec/msiexec \
21399 programs/notepad/notepad \
21400 programs/regedit/regedit \
21401 programs/regsvr32/regsvr32 \
21402 programs/wineboot/wineboot \
21403 programs/winecfg/winecfg \
21404 programs/wineconsole/wineconsole \
21405 programs/winedbg/winedbg \
21406 programs/winefile/winefile \
21407 programs/winemine/winemine \
21408 programs/winepath/winepath \
21409 server/wineserver"
21411 case $host_os in
21412 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21413 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21414 esac
21417 $as_echo " done" >&6
21418 cat >confcache <<\_ACEOF
21419 # This file is a shell script that caches the results of configure
21420 # tests run on this system so they can be shared between configure
21421 # scripts and configure runs, see configure's option --config-cache.
21422 # It is not useful on other systems. If it contains results you don't
21423 # want to keep, you may remove or edit it.
21425 # config.status only pays attention to the cache file if you give it
21426 # the --recheck option to rerun configure.
21428 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21429 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21430 # following values.
21432 _ACEOF
21434 # The following way of writing the cache mishandles newlines in values,
21435 # but we know of no workaround that is simple, portable, and efficient.
21436 # So, we kill variables containing newlines.
21437 # Ultrix sh set writes to stderr and can't be redirected directly,
21438 # and sets the high bit in the cache file unless we assign to the vars.
21440 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21441 eval ac_val=\$$ac_var
21442 case $ac_val in #(
21443 *${as_nl}*)
21444 case $ac_var in #(
21445 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21446 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21447 esac
21448 case $ac_var in #(
21449 _ | IFS | as_nl) ;; #(
21450 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21451 *) { eval $ac_var=; unset $ac_var;} ;;
21452 esac ;;
21453 esac
21454 done
21456 (set) 2>&1 |
21457 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21458 *${as_nl}ac_space=\ *)
21459 # `set' does not quote correctly, so add quotes: double-quote
21460 # substitution turns \\\\ into \\, and sed turns \\ into \.
21461 sed -n \
21462 "s/'/'\\\\''/g;
21463 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21464 ;; #(
21466 # `set' quotes correctly as required by POSIX, so do not add quotes.
21467 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21469 esac |
21470 sort
21472 sed '
21473 /^ac_cv_env_/b end
21474 t clear
21475 :clear
21476 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21477 t end
21478 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21479 :end' >>confcache
21480 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21481 if test -w "$cache_file"; then
21482 if test "x$cache_file" != "x/dev/null"; then
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21484 $as_echo "$as_me: updating cache $cache_file" >&6;}
21485 if test ! -f "$cache_file" || test -h "$cache_file"; then
21486 cat confcache >"$cache_file"
21487 else
21488 case $cache_file in #(
21489 */* | ?:*)
21490 mv -f confcache "$cache_file"$$ &&
21491 mv -f "$cache_file"$$ "$cache_file" ;; #(
21493 mv -f confcache "$cache_file" ;;
21494 esac
21497 else
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21499 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21502 rm -f confcache
21504 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21505 # Let make expand exec_prefix.
21506 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21508 DEFS=-DHAVE_CONFIG_H
21510 ac_libobjs=
21511 ac_ltlibobjs=
21513 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21514 # 1. Remove the extension, and $U if already installed.
21515 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21516 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21517 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21518 # will be set to the directory where LIBOBJS objects are built.
21519 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21520 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21521 done
21522 LIBOBJS=$ac_libobjs
21524 LTLIBOBJS=$ac_ltlibobjs
21528 : "${CONFIG_STATUS=./config.status}"
21529 ac_write_fail=0
21530 ac_clean_files_save=$ac_clean_files
21531 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21532 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21533 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21534 as_write_fail=0
21535 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21536 #! $SHELL
21537 # Generated by $as_me.
21538 # Run this file to recreate the current configuration.
21539 # Compiler output produced by configure, useful for debugging
21540 # configure, is in config.log if it exists.
21542 debug=false
21543 ac_cs_recheck=false
21544 ac_cs_silent=false
21546 SHELL=\${CONFIG_SHELL-$SHELL}
21547 export SHELL
21548 _ASEOF
21549 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21550 ## -------------------- ##
21551 ## M4sh Initialization. ##
21552 ## -------------------- ##
21554 # Be more Bourne compatible
21555 DUALCASE=1; export DUALCASE # for MKS sh
21556 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21557 emulate sh
21558 NULLCMD=:
21559 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21560 # is contrary to our usage. Disable this feature.
21561 alias -g '${1+"$@"}'='"$@"'
21562 setopt NO_GLOB_SUBST
21563 else
21564 case `(set -o) 2>/dev/null` in #(
21565 *posix*) :
21566 set -o posix ;; #(
21567 *) :
21569 esac
21573 as_nl='
21575 export as_nl
21576 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21577 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21578 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21579 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21580 # Prefer a ksh shell builtin over an external printf program on Solaris,
21581 # but without wasting forks for bash or zsh.
21582 if test -z "$BASH_VERSION$ZSH_VERSION" \
21583 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21584 as_echo='print -r --'
21585 as_echo_n='print -rn --'
21586 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21587 as_echo='printf %s\n'
21588 as_echo_n='printf %s'
21589 else
21590 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21591 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21592 as_echo_n='/usr/ucb/echo -n'
21593 else
21594 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21595 as_echo_n_body='eval
21596 arg=$1;
21597 case $arg in #(
21598 *"$as_nl"*)
21599 expr "X$arg" : "X\\(.*\\)$as_nl";
21600 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21601 esac;
21602 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21604 export as_echo_n_body
21605 as_echo_n='sh -c $as_echo_n_body as_echo'
21607 export as_echo_body
21608 as_echo='sh -c $as_echo_body as_echo'
21611 # The user is always right.
21612 if test "${PATH_SEPARATOR+set}" != set; then
21613 PATH_SEPARATOR=:
21614 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21615 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21616 PATH_SEPARATOR=';'
21621 # IFS
21622 # We need space, tab and new line, in precisely that order. Quoting is
21623 # there to prevent editors from complaining about space-tab.
21624 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21625 # splitting by setting IFS to empty value.)
21626 IFS=" "" $as_nl"
21628 # Find who we are. Look in the path if we contain no directory separator.
21629 as_myself=
21630 case $0 in #((
21631 *[\\/]* ) as_myself=$0 ;;
21632 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21633 for as_dir in $PATH
21635 IFS=$as_save_IFS
21636 test -z "$as_dir" && as_dir=.
21637 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21638 done
21639 IFS=$as_save_IFS
21642 esac
21643 # We did not find ourselves, most probably we were run as `sh COMMAND'
21644 # in which case we are not to be found in the path.
21645 if test "x$as_myself" = x; then
21646 as_myself=$0
21648 if test ! -f "$as_myself"; then
21649 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21650 exit 1
21653 # Unset variables that we do not need and which cause bugs (e.g. in
21654 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21655 # suppresses any "Segmentation fault" message there. '((' could
21656 # trigger a bug in pdksh 5.2.14.
21657 for as_var in BASH_ENV ENV MAIL MAILPATH
21658 do eval test x\${$as_var+set} = xset \
21659 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21660 done
21661 PS1='$ '
21662 PS2='> '
21663 PS4='+ '
21665 # NLS nuisances.
21666 LC_ALL=C
21667 export LC_ALL
21668 LANGUAGE=C
21669 export LANGUAGE
21671 # CDPATH.
21672 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21675 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21676 # ----------------------------------------
21677 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21678 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21679 # script with STATUS, using 1 if that was 0.
21680 as_fn_error ()
21682 as_status=$1; test $as_status -eq 0 && as_status=1
21683 if test "$4"; then
21684 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21685 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21687 $as_echo "$as_me: error: $2" >&2
21688 as_fn_exit $as_status
21689 } # as_fn_error
21692 # as_fn_set_status STATUS
21693 # -----------------------
21694 # Set $? to STATUS, without forking.
21695 as_fn_set_status ()
21697 return $1
21698 } # as_fn_set_status
21700 # as_fn_exit STATUS
21701 # -----------------
21702 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21703 as_fn_exit ()
21705 set +e
21706 as_fn_set_status $1
21707 exit $1
21708 } # as_fn_exit
21710 # as_fn_unset VAR
21711 # ---------------
21712 # Portably unset VAR.
21713 as_fn_unset ()
21715 { eval $1=; unset $1;}
21717 as_unset=as_fn_unset
21718 # as_fn_append VAR VALUE
21719 # ----------------------
21720 # Append the text in VALUE to the end of the definition contained in VAR. Take
21721 # advantage of any shell optimizations that allow amortized linear growth over
21722 # repeated appends, instead of the typical quadratic growth present in naive
21723 # implementations.
21724 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21725 eval 'as_fn_append ()
21727 eval $1+=\$2
21729 else
21730 as_fn_append ()
21732 eval $1=\$$1\$2
21734 fi # as_fn_append
21736 # as_fn_arith ARG...
21737 # ------------------
21738 # Perform arithmetic evaluation on the ARGs, and store the result in the
21739 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21740 # must be portable across $(()) and expr.
21741 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21742 eval 'as_fn_arith ()
21744 as_val=$(( $* ))
21746 else
21747 as_fn_arith ()
21749 as_val=`expr "$@" || test $? -eq 1`
21751 fi # as_fn_arith
21754 if expr a : '\(a\)' >/dev/null 2>&1 &&
21755 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21756 as_expr=expr
21757 else
21758 as_expr=false
21761 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21762 as_basename=basename
21763 else
21764 as_basename=false
21767 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21768 as_dirname=dirname
21769 else
21770 as_dirname=false
21773 as_me=`$as_basename -- "$0" ||
21774 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21775 X"$0" : 'X\(//\)$' \| \
21776 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21777 $as_echo X/"$0" |
21778 sed '/^.*\/\([^/][^/]*\)\/*$/{
21779 s//\1/
21782 /^X\/\(\/\/\)$/{
21783 s//\1/
21786 /^X\/\(\/\).*/{
21787 s//\1/
21790 s/.*/./; q'`
21792 # Avoid depending upon Character Ranges.
21793 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21794 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21795 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21796 as_cr_digits='0123456789'
21797 as_cr_alnum=$as_cr_Letters$as_cr_digits
21799 ECHO_C= ECHO_N= ECHO_T=
21800 case `echo -n x` in #(((((
21801 -n*)
21802 case `echo 'xy\c'` in
21803 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21804 xy) ECHO_C='\c';;
21805 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21806 ECHO_T=' ';;
21807 esac;;
21809 ECHO_N='-n';;
21810 esac
21812 rm -f conf$$ conf$$.exe conf$$.file
21813 if test -d conf$$.dir; then
21814 rm -f conf$$.dir/conf$$.file
21815 else
21816 rm -f conf$$.dir
21817 mkdir conf$$.dir 2>/dev/null
21819 if (echo >conf$$.file) 2>/dev/null; then
21820 if ln -s conf$$.file conf$$ 2>/dev/null; then
21821 as_ln_s='ln -s'
21822 # ... but there are two gotchas:
21823 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21824 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21825 # In both cases, we have to default to `cp -pR'.
21826 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21827 as_ln_s='cp -pR'
21828 elif ln conf$$.file conf$$ 2>/dev/null; then
21829 as_ln_s=ln
21830 else
21831 as_ln_s='cp -pR'
21833 else
21834 as_ln_s='cp -pR'
21836 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21837 rmdir conf$$.dir 2>/dev/null
21840 # as_fn_mkdir_p
21841 # -------------
21842 # Create "$as_dir" as a directory, including parents if necessary.
21843 as_fn_mkdir_p ()
21846 case $as_dir in #(
21847 -*) as_dir=./$as_dir;;
21848 esac
21849 test -d "$as_dir" || eval $as_mkdir_p || {
21850 as_dirs=
21851 while :; do
21852 case $as_dir in #(
21853 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21854 *) as_qdir=$as_dir;;
21855 esac
21856 as_dirs="'$as_qdir' $as_dirs"
21857 as_dir=`$as_dirname -- "$as_dir" ||
21858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21859 X"$as_dir" : 'X\(//\)[^/]' \| \
21860 X"$as_dir" : 'X\(//\)$' \| \
21861 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21862 $as_echo X"$as_dir" |
21863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21864 s//\1/
21867 /^X\(\/\/\)[^/].*/{
21868 s//\1/
21871 /^X\(\/\/\)$/{
21872 s//\1/
21875 /^X\(\/\).*/{
21876 s//\1/
21879 s/.*/./; q'`
21880 test -d "$as_dir" && break
21881 done
21882 test -z "$as_dirs" || eval "mkdir $as_dirs"
21883 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21886 } # as_fn_mkdir_p
21887 if mkdir -p . 2>/dev/null; then
21888 as_mkdir_p='mkdir -p "$as_dir"'
21889 else
21890 test -d ./-p && rmdir ./-p
21891 as_mkdir_p=false
21895 # as_fn_executable_p FILE
21896 # -----------------------
21897 # Test if FILE is an executable regular file.
21898 as_fn_executable_p ()
21900 test -f "$1" && test -x "$1"
21901 } # as_fn_executable_p
21902 as_test_x='test -x'
21903 as_executable_p=as_fn_executable_p
21905 # Sed expression to map a string onto a valid CPP name.
21906 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21908 # Sed expression to map a string onto a valid variable name.
21909 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21912 exec 6>&1
21913 ## ----------------------------------- ##
21914 ## Main body of $CONFIG_STATUS script. ##
21915 ## ----------------------------------- ##
21916 _ASEOF
21917 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21920 # Save the log message, to keep $0 and so on meaningful, and to
21921 # report actual input values of CONFIG_FILES etc. instead of their
21922 # values after options handling.
21923 ac_log="
21924 This file was extended by Wine $as_me 5.6, which was
21925 generated by GNU Autoconf 2.69. Invocation command line was
21927 CONFIG_FILES = $CONFIG_FILES
21928 CONFIG_HEADERS = $CONFIG_HEADERS
21929 CONFIG_LINKS = $CONFIG_LINKS
21930 CONFIG_COMMANDS = $CONFIG_COMMANDS
21931 $ $0 $@
21933 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21936 _ACEOF
21938 case $ac_config_files in *"
21939 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21940 esac
21942 case $ac_config_headers in *"
21943 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21944 esac
21947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21948 # Files that config.status was made for.
21949 config_files="$ac_config_files"
21950 config_headers="$ac_config_headers"
21951 config_links="$ac_config_links"
21952 config_commands="$ac_config_commands"
21954 _ACEOF
21956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21957 ac_cs_usage="\
21958 \`$as_me' instantiates files and other configuration actions
21959 from templates according to the current configuration. Unless the files
21960 and actions are specified as TAGs, all are instantiated by default.
21962 Usage: $0 [OPTION]... [TAG]...
21964 -h, --help print this help, then exit
21965 -V, --version print version number and configuration settings, then exit
21966 --config print configuration, then exit
21967 -q, --quiet, --silent
21968 do not print progress messages
21969 -d, --debug don't remove temporary files
21970 --recheck update $as_me by reconfiguring in the same conditions
21971 --file=FILE[:TEMPLATE]
21972 instantiate the configuration file FILE
21973 --header=FILE[:TEMPLATE]
21974 instantiate the configuration header FILE
21976 Configuration files:
21977 $config_files
21979 Configuration headers:
21980 $config_headers
21982 Configuration links:
21983 $config_links
21985 Configuration commands:
21986 $config_commands
21988 Report bugs to <wine-devel@winehq.org>.
21989 Wine home page: <https://www.winehq.org>."
21991 _ACEOF
21992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21993 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21994 ac_cs_version="\\
21995 Wine config.status 5.6
21996 configured by $0, generated by GNU Autoconf 2.69,
21997 with options \\"\$ac_cs_config\\"
21999 Copyright (C) 2012 Free Software Foundation, Inc.
22000 This config.status script is free software; the Free Software Foundation
22001 gives unlimited permission to copy, distribute and modify it."
22003 ac_pwd='$ac_pwd'
22004 srcdir='$srcdir'
22005 test -n "\$AWK" || AWK=awk
22006 _ACEOF
22008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22009 # The default lists apply if the user does not specify any file.
22010 ac_need_defaults=:
22011 while test $# != 0
22013 case $1 in
22014 --*=?*)
22015 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22016 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22017 ac_shift=:
22019 --*=)
22020 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22021 ac_optarg=
22022 ac_shift=:
22025 ac_option=$1
22026 ac_optarg=$2
22027 ac_shift=shift
22029 esac
22031 case $ac_option in
22032 # Handling of the options.
22033 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22034 ac_cs_recheck=: ;;
22035 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22036 $as_echo "$ac_cs_version"; exit ;;
22037 --config | --confi | --conf | --con | --co | --c )
22038 $as_echo "$ac_cs_config"; exit ;;
22039 --debug | --debu | --deb | --de | --d | -d )
22040 debug=: ;;
22041 --file | --fil | --fi | --f )
22042 $ac_shift
22043 case $ac_optarg in
22044 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22045 '') as_fn_error $? "missing file argument" ;;
22046 esac
22047 as_fn_append CONFIG_FILES " '$ac_optarg'"
22048 ac_need_defaults=false;;
22049 --header | --heade | --head | --hea )
22050 $ac_shift
22051 case $ac_optarg in
22052 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22053 esac
22054 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22055 ac_need_defaults=false;;
22056 --he | --h)
22057 # Conflict between --help and --header
22058 as_fn_error $? "ambiguous option: \`$1'
22059 Try \`$0 --help' for more information.";;
22060 --help | --hel | -h )
22061 $as_echo "$ac_cs_usage"; exit ;;
22062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22063 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22064 ac_cs_silent=: ;;
22066 # This is an error.
22067 -*) as_fn_error $? "unrecognized option: \`$1'
22068 Try \`$0 --help' for more information." ;;
22070 *) as_fn_append ac_config_targets " $1"
22071 ac_need_defaults=false ;;
22073 esac
22074 shift
22075 done
22077 ac_configure_extra_args=
22079 if $ac_cs_silent; then
22080 exec 6>/dev/null
22081 ac_configure_extra_args="$ac_configure_extra_args --silent"
22084 _ACEOF
22085 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22086 if \$ac_cs_recheck; then
22087 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22088 shift
22089 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22090 CONFIG_SHELL='$SHELL'
22091 export CONFIG_SHELL
22092 exec "\$@"
22095 _ACEOF
22096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22097 exec 5>>config.log
22099 echo
22100 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22101 ## Running $as_me. ##
22102 _ASBOX
22103 $as_echo "$ac_log"
22104 } >&5
22106 _ACEOF
22107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22109 # INIT-COMMANDS
22111 wine_fn_output_makedep ()
22113 as_dir=tools; as_fn_mkdir_p
22114 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22116 wine_fn_output_makefile ()
22118 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
22119 `cat $wine_rules_file`
22120 _WINE_EOF
22121 as_fn_error $? "could not create Makefile" "$LINENO" 5
22124 _ACEOF
22126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22128 # Handling of arguments.
22129 for ac_config_target in $ac_config_targets
22131 case $ac_config_target in
22132 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22133 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22134 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22135 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22136 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22137 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22138 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22140 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22141 esac
22142 done
22145 # If the user did not use the arguments to specify the items to instantiate,
22146 # then the envvar interface is used. Set only those that are not.
22147 # We use the long form for the default assignment because of an extremely
22148 # bizarre bug on SunOS 4.1.3.
22149 if $ac_need_defaults; then
22150 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22151 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22152 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22153 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22156 # Have a temporary directory for convenience. Make it in the build tree
22157 # simply because there is no reason against having it here, and in addition,
22158 # creating and moving files from /tmp can sometimes cause problems.
22159 # Hook for its removal unless debugging.
22160 # Note that there is a small window in which the directory will not be cleaned:
22161 # after its creation but before its name has been assigned to `$tmp'.
22162 $debug ||
22164 tmp= ac_tmp=
22165 trap 'exit_status=$?
22166 : "${ac_tmp:=$tmp}"
22167 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22169 trap 'as_fn_exit 1' 1 2 13 15
22171 # Create a (secure) tmp directory for tmp files.
22174 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22175 test -d "$tmp"
22176 } ||
22178 tmp=./conf$$-$RANDOM
22179 (umask 077 && mkdir "$tmp")
22180 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22181 ac_tmp=$tmp
22183 # Set up the scripts for CONFIG_FILES section.
22184 # No need to generate them if there are no CONFIG_FILES.
22185 # This happens for instance with `./config.status config.h'.
22186 if test -n "$CONFIG_FILES"; then
22189 ac_cr=`echo X | tr X '\015'`
22190 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22191 # But we know of no other shell where ac_cr would be empty at this
22192 # point, so we can use a bashism as a fallback.
22193 if test "x$ac_cr" = x; then
22194 eval ac_cr=\$\'\\r\'
22196 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22197 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22198 ac_cs_awk_cr='\\r'
22199 else
22200 ac_cs_awk_cr=$ac_cr
22203 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22204 _ACEOF
22208 echo "cat >conf$$subs.awk <<_ACEOF" &&
22209 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22210 echo "_ACEOF"
22211 } >conf$$subs.sh ||
22212 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22213 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22214 ac_delim='%!_!# '
22215 for ac_last_try in false false false false false :; do
22216 . ./conf$$subs.sh ||
22217 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22219 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22220 if test $ac_delim_n = $ac_delim_num; then
22221 break
22222 elif $ac_last_try; then
22223 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22224 else
22225 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22227 done
22228 rm -f conf$$subs.sh
22230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22231 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22232 _ACEOF
22233 sed -n '
22235 s/^/S["/; s/!.*/"]=/
22238 s/^[^!]*!//
22239 :repl
22240 t repl
22241 s/'"$ac_delim"'$//
22242 t delim
22245 s/\(.\{148\}\)..*/\1/
22246 t more1
22247 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22250 b repl
22251 :more1
22252 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22255 s/.\{148\}//
22256 t nl
22257 :delim
22259 s/\(.\{148\}\)..*/\1/
22260 t more2
22261 s/["\\]/\\&/g; s/^/"/; s/$/"/
22264 :more2
22265 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22268 s/.\{148\}//
22269 t delim
22270 ' <conf$$subs.awk | sed '
22271 /^[^""]/{
22273 s/\n//
22275 ' >>$CONFIG_STATUS || ac_write_fail=1
22276 rm -f conf$$subs.awk
22277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22278 _ACAWK
22279 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22280 for (key in S) S_is_set[key] = 1
22281 FS = "\a"
22285 line = $ 0
22286 nfields = split(line, field, "@")
22287 substed = 0
22288 len = length(field[1])
22289 for (i = 2; i < nfields; i++) {
22290 key = field[i]
22291 keylen = length(key)
22292 if (S_is_set[key]) {
22293 value = S[key]
22294 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22295 len += length(value) + length(field[++i])
22296 substed = 1
22297 } else
22298 len += 1 + keylen
22301 print line
22304 _ACAWK
22305 _ACEOF
22306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22307 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22308 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22309 else
22311 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22312 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22313 _ACEOF
22315 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22316 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22317 # trailing colons and then remove the whole line if VPATH becomes empty
22318 # (actually we leave an empty line to preserve line numbers).
22319 if test "x$srcdir" = x.; then
22320 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22322 s///
22323 s/^/:/
22324 s/[ ]*$/:/
22325 s/:\$(srcdir):/:/g
22326 s/:\${srcdir}:/:/g
22327 s/:@srcdir@:/:/g
22328 s/^:*//
22329 s/:*$//
22331 s/\(=[ ]*\).*/\1/
22333 s/\n//
22334 s/^[^=]*=[ ]*$//
22338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22339 fi # test -n "$CONFIG_FILES"
22341 # Set up the scripts for CONFIG_HEADERS section.
22342 # No need to generate them if there are no CONFIG_HEADERS.
22343 # This happens for instance with `./config.status Makefile'.
22344 if test -n "$CONFIG_HEADERS"; then
22345 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22346 BEGIN {
22347 _ACEOF
22349 # Transform confdefs.h into an awk script `defines.awk', embedded as
22350 # here-document in config.status, that substitutes the proper values into
22351 # config.h.in to produce config.h.
22353 # Create a delimiter string that does not exist in confdefs.h, to ease
22354 # handling of long lines.
22355 ac_delim='%!_!# '
22356 for ac_last_try in false false :; do
22357 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22358 if test -z "$ac_tt"; then
22359 break
22360 elif $ac_last_try; then
22361 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22362 else
22363 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22365 done
22367 # For the awk script, D is an array of macro values keyed by name,
22368 # likewise P contains macro parameters if any. Preserve backslash
22369 # newline sequences.
22371 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22372 sed -n '
22373 s/.\{148\}/&'"$ac_delim"'/g
22374 t rset
22375 :rset
22376 s/^[ ]*#[ ]*define[ ][ ]*/ /
22377 t def
22379 :def
22380 s/\\$//
22381 t bsnl
22382 s/["\\]/\\&/g
22383 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22384 D["\1"]=" \3"/p
22385 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22387 :bsnl
22388 s/["\\]/\\&/g
22389 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22390 D["\1"]=" \3\\\\\\n"\\/p
22391 t cont
22392 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22393 t cont
22395 :cont
22397 s/.\{148\}/&'"$ac_delim"'/g
22398 t clear
22399 :clear
22400 s/\\$//
22401 t bsnlc
22402 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22404 :bsnlc
22405 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22406 b cont
22407 ' <confdefs.h | sed '
22408 s/'"$ac_delim"'/"\\\
22409 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22412 for (key in D) D_is_set[key] = 1
22413 FS = "\a"
22415 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22416 line = \$ 0
22417 split(line, arg, " ")
22418 if (arg[1] == "#") {
22419 defundef = arg[2]
22420 mac1 = arg[3]
22421 } else {
22422 defundef = substr(arg[1], 2)
22423 mac1 = arg[2]
22425 split(mac1, mac2, "(") #)
22426 macro = mac2[1]
22427 prefix = substr(line, 1, index(line, defundef) - 1)
22428 if (D_is_set[macro]) {
22429 # Preserve the white space surrounding the "#".
22430 print prefix "define", macro P[macro] D[macro]
22431 next
22432 } else {
22433 # Replace #undef with comments. This is necessary, for example,
22434 # in the case of _POSIX_SOURCE, which is predefined and required
22435 # on some systems where configure will not decide to define it.
22436 if (defundef == "undef") {
22437 print "/*", prefix defundef, macro, "*/"
22438 next
22442 { print }
22443 _ACAWK
22444 _ACEOF
22445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22446 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22447 fi # test -n "$CONFIG_HEADERS"
22450 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22451 shift
22452 for ac_tag
22454 case $ac_tag in
22455 :[FHLC]) ac_mode=$ac_tag; continue;;
22456 esac
22457 case $ac_mode$ac_tag in
22458 :[FHL]*:*);;
22459 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22460 :[FH]-) ac_tag=-:-;;
22461 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22462 esac
22463 ac_save_IFS=$IFS
22464 IFS=:
22465 set x $ac_tag
22466 IFS=$ac_save_IFS
22467 shift
22468 ac_file=$1
22469 shift
22471 case $ac_mode in
22472 :L) ac_source=$1;;
22473 :[FH])
22474 ac_file_inputs=
22475 for ac_f
22477 case $ac_f in
22478 -) ac_f="$ac_tmp/stdin";;
22479 *) # Look for the file first in the build tree, then in the source tree
22480 # (if the path is not absolute). The absolute path cannot be DOS-style,
22481 # because $ac_f cannot contain `:'.
22482 test -f "$ac_f" ||
22483 case $ac_f in
22484 [\\/$]*) false;;
22485 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22486 esac ||
22487 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22488 esac
22489 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22490 as_fn_append ac_file_inputs " '$ac_f'"
22491 done
22493 # Let's still pretend it is `configure' which instantiates (i.e., don't
22494 # use $as_me), people would be surprised to read:
22495 # /* config.h. Generated by config.status. */
22496 configure_input='Generated from '`
22497 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22498 `' by configure.'
22499 if test x"$ac_file" != x-; then
22500 configure_input="$ac_file. $configure_input"
22501 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22502 $as_echo "$as_me: creating $ac_file" >&6;}
22504 # Neutralize special characters interpreted by sed in replacement strings.
22505 case $configure_input in #(
22506 *\&* | *\|* | *\\* )
22507 ac_sed_conf_input=`$as_echo "$configure_input" |
22508 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22509 *) ac_sed_conf_input=$configure_input;;
22510 esac
22512 case $ac_tag in
22513 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22514 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22515 esac
22517 esac
22519 ac_dir=`$as_dirname -- "$ac_file" ||
22520 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22521 X"$ac_file" : 'X\(//\)[^/]' \| \
22522 X"$ac_file" : 'X\(//\)$' \| \
22523 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22524 $as_echo X"$ac_file" |
22525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22526 s//\1/
22529 /^X\(\/\/\)[^/].*/{
22530 s//\1/
22533 /^X\(\/\/\)$/{
22534 s//\1/
22537 /^X\(\/\).*/{
22538 s//\1/
22541 s/.*/./; q'`
22542 as_dir="$ac_dir"; as_fn_mkdir_p
22543 ac_builddir=.
22545 case "$ac_dir" in
22546 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22548 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22549 # A ".." for each directory in $ac_dir_suffix.
22550 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22551 case $ac_top_builddir_sub in
22552 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22553 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22554 esac ;;
22555 esac
22556 ac_abs_top_builddir=$ac_pwd
22557 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22558 # for backward compatibility:
22559 ac_top_builddir=$ac_top_build_prefix
22561 case $srcdir in
22562 .) # We are building in place.
22563 ac_srcdir=.
22564 ac_top_srcdir=$ac_top_builddir_sub
22565 ac_abs_top_srcdir=$ac_pwd ;;
22566 [\\/]* | ?:[\\/]* ) # Absolute name.
22567 ac_srcdir=$srcdir$ac_dir_suffix;
22568 ac_top_srcdir=$srcdir
22569 ac_abs_top_srcdir=$srcdir ;;
22570 *) # Relative name.
22571 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22572 ac_top_srcdir=$ac_top_build_prefix$srcdir
22573 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22574 esac
22575 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22578 case $ac_mode in
22581 # CONFIG_FILE
22584 _ACEOF
22586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22587 # If the template does not know about datarootdir, expand it.
22588 # FIXME: This hack should be removed a few years after 2.60.
22589 ac_datarootdir_hack=; ac_datarootdir_seen=
22590 ac_sed_dataroot='
22591 /datarootdir/ {
22595 /@datadir@/p
22596 /@docdir@/p
22597 /@infodir@/p
22598 /@localedir@/p
22599 /@mandir@/p'
22600 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22601 *datarootdir*) ac_datarootdir_seen=yes;;
22602 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22604 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22605 _ACEOF
22606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22607 ac_datarootdir_hack='
22608 s&@datadir@&$datadir&g
22609 s&@docdir@&$docdir&g
22610 s&@infodir@&$infodir&g
22611 s&@localedir@&$localedir&g
22612 s&@mandir@&$mandir&g
22613 s&\\\${datarootdir}&$datarootdir&g' ;;
22614 esac
22615 _ACEOF
22617 # Neutralize VPATH when `$srcdir' = `.'.
22618 # Shell code in configure.ac might set extrasub.
22619 # FIXME: do we really want to maintain this feature?
22620 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22621 ac_sed_extra="$ac_vpsub
22622 $extrasub
22623 _ACEOF
22624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22626 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22627 s|@configure_input@|$ac_sed_conf_input|;t t
22628 s&@top_builddir@&$ac_top_builddir_sub&;t t
22629 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22630 s&@srcdir@&$ac_srcdir&;t t
22631 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22632 s&@top_srcdir@&$ac_top_srcdir&;t t
22633 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22634 s&@builddir@&$ac_builddir&;t t
22635 s&@abs_builddir@&$ac_abs_builddir&;t t
22636 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22637 $ac_datarootdir_hack
22639 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22640 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22642 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22643 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22644 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22645 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22647 which seems to be undefined. Please make sure it is defined" >&5
22648 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22649 which seems to be undefined. Please make sure it is defined" >&2;}
22651 rm -f "$ac_tmp/stdin"
22652 case $ac_file in
22653 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22654 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22655 esac \
22656 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22660 # CONFIG_HEADER
22662 if test x"$ac_file" != x-; then
22664 $as_echo "/* $configure_input */" \
22665 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22666 } >"$ac_tmp/config.h" \
22667 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22668 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22670 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22671 else
22672 rm -f "$ac_file"
22673 mv "$ac_tmp/config.h" "$ac_file" \
22674 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22676 else
22677 $as_echo "/* $configure_input */" \
22678 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22679 || as_fn_error $? "could not create -" "$LINENO" 5
22684 # CONFIG_LINK
22687 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22689 else
22690 # Prefer the file from the source tree if names are identical.
22691 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22692 ac_source=$srcdir/$ac_source
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22696 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22698 if test ! -r "$ac_source"; then
22699 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22701 rm -f "$ac_file"
22703 # Try a relative symlink, then a hard link, then a copy.
22704 case $ac_source in
22705 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22706 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22707 esac
22708 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22709 ln "$ac_source" "$ac_file" 2>/dev/null ||
22710 cp -p "$ac_source" "$ac_file" ||
22711 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22714 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22715 $as_echo "$as_me: executing $ac_file commands" >&6;}
22717 esac
22720 case $ac_file$ac_mode in
22721 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22722 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22723 "Makefile":C) wine_fn_output_makefile Makefile ;;
22725 esac
22726 done # for ac_tag
22729 as_fn_exit 0
22730 _ACEOF
22731 ac_clean_files=$ac_clean_files_save
22733 test $ac_write_fail = 0 ||
22734 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22737 # configure is writing to config.log, and then calls config.status.
22738 # config.status does its own redirection, appending to config.log.
22739 # Unfortunately, on DOS this fails, as config.log is still kept open
22740 # by configure, so config.status won't be able to write to it; its
22741 # output is simply discarded. So we exec the FD to /dev/null,
22742 # effectively closing config.log, so it can be properly (re)opened and
22743 # appended to by config.status. When coming back to configure, we
22744 # need to make the FD available again.
22745 if test "$no_create" != yes; then
22746 ac_cs_success=:
22747 ac_config_status_args=
22748 test "$silent" = yes &&
22749 ac_config_status_args="$ac_config_status_args --quiet"
22750 exec 5>/dev/null
22751 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22752 exec 5>>config.log
22753 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22754 # would make configure fail if this is the last instruction.
22755 $ac_cs_success || as_fn_exit 1
22757 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22759 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22763 if test "$no_create" = "yes"
22764 then
22765 exit 0
22768 ac_save_IFS="$IFS"
22769 if test "x$wine_notices" != x; then
22770 echo >&6
22771 IFS="|"
22772 for msg in $wine_notices; do
22773 IFS="$ac_save_IFS"
22774 if ${msg:+false} :; then :
22776 else
22777 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22778 $as_echo "$as_me: $msg" >&6;}
22780 done
22782 IFS="|"
22783 for msg in $wine_warnings; do
22784 IFS="$ac_save_IFS"
22785 if ${msg:+false} :; then :
22787 else
22788 echo >&2
22789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22790 $as_echo "$as_me: WARNING: $msg" >&2;}
22792 done
22793 IFS="$ac_save_IFS"
22795 $as_echo "
22796 $as_me: Finished. Do '${ac_make}' to compile Wine.
22797 " >&6