quartz: Fix the name of a type in a comment.
[wine.git] / configure
blobaca74c16adf6a127069d8c64e7b0e65930b77dc7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.21.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='4.21'
584 PACKAGE_STRING='Wine 4.21'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 MSVCRTFLAGS
635 EXCESS_PRECISION_CFLAGS
636 EXTRACFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 Z_LIBS
678 Z_CFLAGS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 DELAYLOADFLAG
710 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 with_alsa
844 with_capi
845 with_cms
846 with_coreaudio
847 with_cups
848 with_curses
849 with_dbus
850 with_faudio
851 with_float_abi
852 with_fontconfig
853 with_freetype
854 with_gettext
855 with_gettextpo
856 with_gphoto
857 with_glu
858 with_gnutls
859 with_gsm
860 with_gssapi
861 with_gstreamer
862 with_hal
863 with_inotify
864 with_jpeg
865 with_krb5
866 with_ldap
867 with_mingw
868 with_mpg123
869 with_netapi
870 with_openal
871 with_opencl
872 with_opengl
873 with_osmesa
874 with_oss
875 with_pcap
876 with_png
877 with_pthread
878 with_pulse
879 with_sane
880 with_sdl
881 with_tiff
882 with_udev
883 with_unwind
884 with_v4l2
885 with_vkd3d
886 with_vulkan
887 with_xcomposite
888 with_xcursor
889 with_xfixes
890 with_xinerama
891 with_xinput
892 with_xinput2
893 with_xml
894 with_xrandr
895 with_xrender
896 with_xshape
897 with_xshm
898 with_xslt
899 with_xxf86vm
900 with_zlib
901 with_wine_tools
902 with_wine64
903 enable_largefile
904 with_x
905 enable_acledit
906 enable_aclui
907 enable_activeds
908 enable_actxprxy
909 enable_adsiid
910 enable_adsldp
911 enable_adsldpc
912 enable_advapi32
913 enable_advpack
914 enable_amsi
915 enable_amstream
916 enable_api_ms_win_appmodel_identity_l1_1_0
917 enable_api_ms_win_appmodel_runtime_l1_1_1
918 enable_api_ms_win_appmodel_runtime_l1_1_2
919 enable_api_ms_win_core_apiquery_l1_1_0
920 enable_api_ms_win_core_appcompat_l1_1_1
921 enable_api_ms_win_core_appinit_l1_1_0
922 enable_api_ms_win_core_atoms_l1_1_0
923 enable_api_ms_win_core_bem_l1_1_0
924 enable_api_ms_win_core_com_l1_1_0
925 enable_api_ms_win_core_com_l1_1_1
926 enable_api_ms_win_core_com_private_l1_1_0
927 enable_api_ms_win_core_comm_l1_1_0
928 enable_api_ms_win_core_console_l1_1_0
929 enable_api_ms_win_core_console_l2_1_0
930 enable_api_ms_win_core_crt_l1_1_0
931 enable_api_ms_win_core_crt_l2_1_0
932 enable_api_ms_win_core_datetime_l1_1_0
933 enable_api_ms_win_core_datetime_l1_1_1
934 enable_api_ms_win_core_debug_l1_1_0
935 enable_api_ms_win_core_debug_l1_1_1
936 enable_api_ms_win_core_delayload_l1_1_0
937 enable_api_ms_win_core_delayload_l1_1_1
938 enable_api_ms_win_core_errorhandling_l1_1_0
939 enable_api_ms_win_core_errorhandling_l1_1_1
940 enable_api_ms_win_core_errorhandling_l1_1_2
941 enable_api_ms_win_core_errorhandling_l1_1_3
942 enable_api_ms_win_core_fibers_l1_1_0
943 enable_api_ms_win_core_fibers_l1_1_1
944 enable_api_ms_win_core_file_l1_1_0
945 enable_api_ms_win_core_file_l1_2_0
946 enable_api_ms_win_core_file_l1_2_1
947 enable_api_ms_win_core_file_l1_2_2
948 enable_api_ms_win_core_file_l2_1_0
949 enable_api_ms_win_core_file_l2_1_1
950 enable_api_ms_win_core_file_l2_1_2
951 enable_api_ms_win_core_handle_l1_1_0
952 enable_api_ms_win_core_heap_l1_1_0
953 enable_api_ms_win_core_heap_l1_2_0
954 enable_api_ms_win_core_heap_l2_1_0
955 enable_api_ms_win_core_heap_obsolete_l1_1_0
956 enable_api_ms_win_core_interlocked_l1_1_0
957 enable_api_ms_win_core_interlocked_l1_2_0
958 enable_api_ms_win_core_io_l1_1_0
959 enable_api_ms_win_core_io_l1_1_1
960 enable_api_ms_win_core_job_l1_1_0
961 enable_api_ms_win_core_job_l2_1_0
962 enable_api_ms_win_core_kernel32_legacy_l1_1_0
963 enable_api_ms_win_core_kernel32_legacy_l1_1_1
964 enable_api_ms_win_core_kernel32_private_l1_1_1
965 enable_api_ms_win_core_largeinteger_l1_1_0
966 enable_api_ms_win_core_libraryloader_l1_1_0
967 enable_api_ms_win_core_libraryloader_l1_1_1
968 enable_api_ms_win_core_libraryloader_l1_2_0
969 enable_api_ms_win_core_libraryloader_l1_2_1
970 enable_api_ms_win_core_libraryloader_l1_2_2
971 enable_api_ms_win_core_localization_l1_1_0
972 enable_api_ms_win_core_localization_l1_2_0
973 enable_api_ms_win_core_localization_l1_2_1
974 enable_api_ms_win_core_localization_l2_1_0
975 enable_api_ms_win_core_localization_obsolete_l1_1_0
976 enable_api_ms_win_core_localization_obsolete_l1_2_0
977 enable_api_ms_win_core_localization_obsolete_l1_3_0
978 enable_api_ms_win_core_localization_private_l1_1_0
979 enable_api_ms_win_core_localregistry_l1_1_0
980 enable_api_ms_win_core_memory_l1_1_0
981 enable_api_ms_win_core_memory_l1_1_1
982 enable_api_ms_win_core_memory_l1_1_2
983 enable_api_ms_win_core_misc_l1_1_0
984 enable_api_ms_win_core_namedpipe_l1_1_0
985 enable_api_ms_win_core_namedpipe_l1_2_0
986 enable_api_ms_win_core_namespace_l1_1_0
987 enable_api_ms_win_core_normalization_l1_1_0
988 enable_api_ms_win_core_path_l1_1_0
989 enable_api_ms_win_core_privateprofile_l1_1_1
990 enable_api_ms_win_core_processenvironment_l1_1_0
991 enable_api_ms_win_core_processenvironment_l1_2_0
992 enable_api_ms_win_core_processthreads_l1_1_0
993 enable_api_ms_win_core_processthreads_l1_1_1
994 enable_api_ms_win_core_processthreads_l1_1_2
995 enable_api_ms_win_core_processthreads_l1_1_3
996 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
997 enable_api_ms_win_core_profile_l1_1_0
998 enable_api_ms_win_core_psapi_ansi_l1_1_0
999 enable_api_ms_win_core_psapi_l1_1_0
1000 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1001 enable_api_ms_win_core_quirks_l1_1_0
1002 enable_api_ms_win_core_realtime_l1_1_0
1003 enable_api_ms_win_core_registry_l1_1_0
1004 enable_api_ms_win_core_registry_l2_1_0
1005 enable_api_ms_win_core_registryuserspecific_l1_1_0
1006 enable_api_ms_win_core_rtlsupport_l1_1_0
1007 enable_api_ms_win_core_rtlsupport_l1_2_0
1008 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1009 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1010 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1011 enable_api_ms_win_core_shutdown_l1_1_0
1012 enable_api_ms_win_core_sidebyside_l1_1_0
1013 enable_api_ms_win_core_string_l1_1_0
1014 enable_api_ms_win_core_string_l2_1_0
1015 enable_api_ms_win_core_string_obsolete_l1_1_0
1016 enable_api_ms_win_core_stringansi_l1_1_0
1017 enable_api_ms_win_core_stringloader_l1_1_1
1018 enable_api_ms_win_core_synch_ansi_l1_1_0
1019 enable_api_ms_win_core_synch_l1_1_0
1020 enable_api_ms_win_core_synch_l1_2_0
1021 enable_api_ms_win_core_synch_l1_2_1
1022 enable_api_ms_win_core_sysinfo_l1_1_0
1023 enable_api_ms_win_core_sysinfo_l1_2_0
1024 enable_api_ms_win_core_sysinfo_l1_2_1
1025 enable_api_ms_win_core_threadpool_l1_1_0
1026 enable_api_ms_win_core_threadpool_l1_2_0
1027 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1028 enable_api_ms_win_core_threadpool_private_l1_1_0
1029 enable_api_ms_win_core_timezone_l1_1_0
1030 enable_api_ms_win_core_toolhelp_l1_1_0
1031 enable_api_ms_win_core_url_l1_1_0
1032 enable_api_ms_win_core_util_l1_1_0
1033 enable_api_ms_win_core_version_l1_1_0
1034 enable_api_ms_win_core_version_l1_1_1
1035 enable_api_ms_win_core_version_private_l1_1_0
1036 enable_api_ms_win_core_versionansi_l1_1_0
1037 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1038 enable_api_ms_win_core_winrt_error_l1_1_0
1039 enable_api_ms_win_core_winrt_error_l1_1_1
1040 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1041 enable_api_ms_win_core_winrt_l1_1_0
1042 enable_api_ms_win_core_winrt_registration_l1_1_0
1043 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1044 enable_api_ms_win_core_winrt_string_l1_1_0
1045 enable_api_ms_win_core_winrt_string_l1_1_1
1046 enable_api_ms_win_core_wow64_l1_1_0
1047 enable_api_ms_win_core_wow64_l1_1_1
1048 enable_api_ms_win_core_xstate_l1_1_0
1049 enable_api_ms_win_core_xstate_l2_1_0
1050 enable_api_ms_win_crt_conio_l1_1_0
1051 enable_api_ms_win_crt_convert_l1_1_0
1052 enable_api_ms_win_crt_environment_l1_1_0
1053 enable_api_ms_win_crt_filesystem_l1_1_0
1054 enable_api_ms_win_crt_heap_l1_1_0
1055 enable_api_ms_win_crt_locale_l1_1_0
1056 enable_api_ms_win_crt_math_l1_1_0
1057 enable_api_ms_win_crt_multibyte_l1_1_0
1058 enable_api_ms_win_crt_private_l1_1_0
1059 enable_api_ms_win_crt_process_l1_1_0
1060 enable_api_ms_win_crt_runtime_l1_1_0
1061 enable_api_ms_win_crt_stdio_l1_1_0
1062 enable_api_ms_win_crt_string_l1_1_0
1063 enable_api_ms_win_crt_time_l1_1_0
1064 enable_api_ms_win_crt_utility_l1_1_0
1065 enable_api_ms_win_devices_config_l1_1_0
1066 enable_api_ms_win_devices_config_l1_1_1
1067 enable_api_ms_win_devices_query_l1_1_1
1068 enable_api_ms_win_downlevel_advapi32_l1_1_0
1069 enable_api_ms_win_downlevel_advapi32_l2_1_0
1070 enable_api_ms_win_downlevel_normaliz_l1_1_0
1071 enable_api_ms_win_downlevel_ole32_l1_1_0
1072 enable_api_ms_win_downlevel_shell32_l1_1_0
1073 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1074 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1075 enable_api_ms_win_downlevel_user32_l1_1_0
1076 enable_api_ms_win_downlevel_version_l1_1_0
1077 enable_api_ms_win_dx_d3dkmt_l1_1_0
1078 enable_api_ms_win_eventing_classicprovider_l1_1_0
1079 enable_api_ms_win_eventing_consumer_l1_1_0
1080 enable_api_ms_win_eventing_controller_l1_1_0
1081 enable_api_ms_win_eventing_legacy_l1_1_0
1082 enable_api_ms_win_eventing_provider_l1_1_0
1083 enable_api_ms_win_eventlog_legacy_l1_1_0
1084 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1085 enable_api_ms_win_mm_joystick_l1_1_0
1086 enable_api_ms_win_mm_misc_l1_1_1
1087 enable_api_ms_win_mm_mme_l1_1_0
1088 enable_api_ms_win_mm_time_l1_1_0
1089 enable_api_ms_win_ntuser_dc_access_l1_1_0
1090 enable_api_ms_win_ntuser_rectangle_l1_1_0
1091 enable_api_ms_win_ntuser_sysparams_l1_1_0
1092 enable_api_ms_win_perf_legacy_l1_1_0
1093 enable_api_ms_win_power_base_l1_1_0
1094 enable_api_ms_win_power_setting_l1_1_0
1095 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1096 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1097 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1098 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1102 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1103 enable_api_ms_win_security_audit_l1_1_1
1104 enable_api_ms_win_security_base_l1_1_0
1105 enable_api_ms_win_security_base_l1_2_0
1106 enable_api_ms_win_security_base_private_l1_1_1
1107 enable_api_ms_win_security_credentials_l1_1_0
1108 enable_api_ms_win_security_cryptoapi_l1_1_0
1109 enable_api_ms_win_security_grouppolicy_l1_1_0
1110 enable_api_ms_win_security_lsalookup_l1_1_0
1111 enable_api_ms_win_security_lsalookup_l1_1_1
1112 enable_api_ms_win_security_lsalookup_l2_1_0
1113 enable_api_ms_win_security_lsalookup_l2_1_1
1114 enable_api_ms_win_security_lsapolicy_l1_1_0
1115 enable_api_ms_win_security_provider_l1_1_0
1116 enable_api_ms_win_security_sddl_l1_1_0
1117 enable_api_ms_win_security_systemfunctions_l1_1_0
1118 enable_api_ms_win_service_core_l1_1_0
1119 enable_api_ms_win_service_core_l1_1_1
1120 enable_api_ms_win_service_management_l1_1_0
1121 enable_api_ms_win_service_management_l2_1_0
1122 enable_api_ms_win_service_private_l1_1_1
1123 enable_api_ms_win_service_winsvc_l1_1_0
1124 enable_api_ms_win_service_winsvc_l1_2_0
1125 enable_api_ms_win_shcore_obsolete_l1_1_0
1126 enable_api_ms_win_shcore_scaling_l1_1_1
1127 enable_api_ms_win_shcore_stream_l1_1_0
1128 enable_api_ms_win_shcore_thread_l1_1_0
1129 enable_api_ms_win_shell_shellcom_l1_1_0
1130 enable_api_ms_win_shell_shellfolders_l1_1_0
1131 enable_apphelp
1132 enable_appwiz_cpl
1133 enable_atl
1134 enable_atl100
1135 enable_atl110
1136 enable_atl80
1137 enable_atl90
1138 enable_atlthunk
1139 enable_atmlib
1140 enable_authz
1141 enable_avicap32
1142 enable_avifil32
1143 enable_avrt
1144 enable_bcrypt
1145 enable_bluetoothapis
1146 enable_browseui
1147 enable_bthprops_cpl
1148 enable_cabinet
1149 enable_capi2032
1150 enable_cards
1151 enable_cdosys
1152 enable_cfgmgr32
1153 enable_clusapi
1154 enable_combase
1155 enable_comcat
1156 enable_comctl32
1157 enable_comdlg32
1158 enable_compstui
1159 enable_comsvcs
1160 enable_concrt140
1161 enable_connect
1162 enable_credui
1163 enable_crtdll
1164 enable_crypt32
1165 enable_cryptdlg
1166 enable_cryptdll
1167 enable_cryptext
1168 enable_cryptnet
1169 enable_cryptui
1170 enable_ctapi32
1171 enable_ctl3d32
1172 enable_d2d1
1173 enable_d3d10
1174 enable_d3d10_1
1175 enable_d3d10core
1176 enable_d3d11
1177 enable_d3d12
1178 enable_d3d8
1179 enable_d3d9
1180 enable_d3dcompiler_33
1181 enable_d3dcompiler_34
1182 enable_d3dcompiler_35
1183 enable_d3dcompiler_36
1184 enable_d3dcompiler_37
1185 enable_d3dcompiler_38
1186 enable_d3dcompiler_39
1187 enable_d3dcompiler_40
1188 enable_d3dcompiler_41
1189 enable_d3dcompiler_42
1190 enable_d3dcompiler_43
1191 enable_d3dcompiler_46
1192 enable_d3dcompiler_47
1193 enable_d3dim
1194 enable_d3drm
1195 enable_d3dx10_33
1196 enable_d3dx10_34
1197 enable_d3dx10_35
1198 enable_d3dx10_36
1199 enable_d3dx10_37
1200 enable_d3dx10_38
1201 enable_d3dx10_39
1202 enable_d3dx10_40
1203 enable_d3dx10_41
1204 enable_d3dx10_42
1205 enable_d3dx10_43
1206 enable_d3dx11_42
1207 enable_d3dx11_43
1208 enable_d3dx9_24
1209 enable_d3dx9_25
1210 enable_d3dx9_26
1211 enable_d3dx9_27
1212 enable_d3dx9_28
1213 enable_d3dx9_29
1214 enable_d3dx9_30
1215 enable_d3dx9_31
1216 enable_d3dx9_32
1217 enable_d3dx9_33
1218 enable_d3dx9_34
1219 enable_d3dx9_35
1220 enable_d3dx9_36
1221 enable_d3dx9_37
1222 enable_d3dx9_38
1223 enable_d3dx9_39
1224 enable_d3dx9_40
1225 enable_d3dx9_41
1226 enable_d3dx9_42
1227 enable_d3dx9_43
1228 enable_d3dxof
1229 enable_davclnt
1230 enable_dbgeng
1231 enable_dbghelp
1232 enable_dciman32
1233 enable_ddraw
1234 enable_ddrawex
1235 enable_devenum
1236 enable_dhcpcsvc
1237 enable_dhtmled_ocx
1238 enable_difxapi
1239 enable_dinput
1240 enable_dinput8
1241 enable_dispex
1242 enable_dmband
1243 enable_dmcompos
1244 enable_dmime
1245 enable_dmloader
1246 enable_dmoguids
1247 enable_dmscript
1248 enable_dmstyle
1249 enable_dmsynth
1250 enable_dmusic
1251 enable_dmusic32
1252 enable_dnsapi
1253 enable_dplay
1254 enable_dplayx
1255 enable_dpnaddr
1256 enable_dpnet
1257 enable_dpnhpast
1258 enable_dpnlobby
1259 enable_dpvoice
1260 enable_dpwsockx
1261 enable_drmclien
1262 enable_dsdmo
1263 enable_dsound
1264 enable_dsquery
1265 enable_dssenh
1266 enable_dswave
1267 enable_dwmapi
1268 enable_dwrite
1269 enable_dx8vb
1270 enable_dxdiagn
1271 enable_dxerr8
1272 enable_dxerr9
1273 enable_dxgi
1274 enable_dxguid
1275 enable_dxva2
1276 enable_esent
1277 enable_evr
1278 enable_explorerframe
1279 enable_ext_ms_win_authz_context_l1_1_0
1280 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1281 enable_ext_ms_win_dwmapi_ext_l1_1_0
1282 enable_ext_ms_win_gdi_dc_create_l1_1_0
1283 enable_ext_ms_win_gdi_dc_create_l1_1_1
1284 enable_ext_ms_win_gdi_dc_l1_2_0
1285 enable_ext_ms_win_gdi_devcaps_l1_1_0
1286 enable_ext_ms_win_gdi_draw_l1_1_0
1287 enable_ext_ms_win_gdi_draw_l1_1_1
1288 enable_ext_ms_win_gdi_font_l1_1_0
1289 enable_ext_ms_win_gdi_font_l1_1_1
1290 enable_ext_ms_win_gdi_render_l1_1_0
1291 enable_ext_ms_win_kernel32_package_current_l1_1_0
1292 enable_ext_ms_win_kernel32_package_l1_1_1
1293 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1294 enable_ext_ms_win_ntuser_draw_l1_1_0
1295 enable_ext_ms_win_ntuser_gui_l1_1_0
1296 enable_ext_ms_win_ntuser_gui_l1_3_0
1297 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1298 enable_ext_ms_win_ntuser_message_l1_1_0
1299 enable_ext_ms_win_ntuser_message_l1_1_1
1300 enable_ext_ms_win_ntuser_misc_l1_1_0
1301 enable_ext_ms_win_ntuser_misc_l1_2_0
1302 enable_ext_ms_win_ntuser_misc_l1_5_1
1303 enable_ext_ms_win_ntuser_mouse_l1_1_0
1304 enable_ext_ms_win_ntuser_private_l1_1_1
1305 enable_ext_ms_win_ntuser_private_l1_3_1
1306 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1307 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1308 enable_ext_ms_win_ntuser_window_l1_1_0
1309 enable_ext_ms_win_ntuser_window_l1_1_1
1310 enable_ext_ms_win_ntuser_window_l1_1_4
1311 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1312 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1313 enable_ext_ms_win_oleacc_l1_1_0
1314 enable_ext_ms_win_ras_rasapi32_l1_1_0
1315 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1316 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1317 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1318 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1319 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1322 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1325 enable_ext_ms_win_security_credui_l1_1_0
1326 enable_ext_ms_win_security_cryptui_l1_1_0
1327 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1328 enable_ext_ms_win_shell_comdlg32_l1_1_0
1329 enable_ext_ms_win_shell_shell32_l1_2_0
1330 enable_ext_ms_win_uxtheme_themes_l1_1_0
1331 enable_faultrep
1332 enable_feclient
1333 enable_fltlib
1334 enable_fltmgr_sys
1335 enable_fntcache
1336 enable_fontsub
1337 enable_fusion
1338 enable_fwpuclnt
1339 enable_gameux
1340 enable_gdi32
1341 enable_gdiplus
1342 enable_glu32
1343 enable_gphoto2_ds
1344 enable_gpkcsp
1345 enable_hal
1346 enable_hhctrl_ocx
1347 enable_hid
1348 enable_hidclass_sys
1349 enable_hlink
1350 enable_hnetcfg
1351 enable_http_sys
1352 enable_httpapi
1353 enable_iccvid
1354 enable_icmp
1355 enable_ieframe
1356 enable_ieproxy
1357 enable_imaadp32_acm
1358 enable_imagehlp
1359 enable_imm32
1360 enable_inetcomm
1361 enable_inetcpl_cpl
1362 enable_inetmib1
1363 enable_infosoft
1364 enable_initpki
1365 enable_inkobj
1366 enable_inseng
1367 enable_iphlpapi
1368 enable_iprop
1369 enable_irprops_cpl
1370 enable_itircl
1371 enable_itss
1372 enable_joy_cpl
1373 enable_jscript
1374 enable_jsproxy
1375 enable_kerberos
1376 enable_kernel32
1377 enable_kernelbase
1378 enable_ksecdd_sys
1379 enable_ksuser
1380 enable_ktmw32
1381 enable_l3codeca_acm
1382 enable_loadperf
1383 enable_localspl
1384 enable_localui
1385 enable_lz32
1386 enable_mapi32
1387 enable_mapistub
1388 enable_mciavi32
1389 enable_mcicda
1390 enable_mciqtz32
1391 enable_mciseq
1392 enable_mciwave
1393 enable_mf
1394 enable_mf3216
1395 enable_mferror
1396 enable_mfmediaengine
1397 enable_mfplat
1398 enable_mfplay
1399 enable_mfreadwrite
1400 enable_mfuuid
1401 enable_mgmtapi
1402 enable_midimap
1403 enable_mlang
1404 enable_mmcndmgr
1405 enable_mmdevapi
1406 enable_mountmgr_sys
1407 enable_mp3dmod
1408 enable_mpr
1409 enable_mprapi
1410 enable_msacm32_drv
1411 enable_msacm32
1412 enable_msado15
1413 enable_msadp32_acm
1414 enable_msasn1
1415 enable_mscat32
1416 enable_mscms
1417 enable_mscoree
1418 enable_mscorwks
1419 enable_msctf
1420 enable_msctfp
1421 enable_msdaps
1422 enable_msdelta
1423 enable_msdmo
1424 enable_msdrm
1425 enable_msftedit
1426 enable_msg711_acm
1427 enable_msgsm32_acm
1428 enable_mshtml_tlb
1429 enable_mshtml
1430 enable_msi
1431 enable_msident
1432 enable_msimg32
1433 enable_msimsg
1434 enable_msimtf
1435 enable_msisip
1436 enable_msisys_ocx
1437 enable_msls31
1438 enable_msnet32
1439 enable_mspatcha
1440 enable_msports
1441 enable_msrle32
1442 enable_msscript_ocx
1443 enable_mssign32
1444 enable_mssip32
1445 enable_mstask
1446 enable_msvcirt
1447 enable_msvcm80
1448 enable_msvcm90
1449 enable_msvcp100
1450 enable_msvcp110
1451 enable_msvcp120
1452 enable_msvcp120_app
1453 enable_msvcp140
1454 enable_msvcp60
1455 enable_msvcp70
1456 enable_msvcp71
1457 enable_msvcp80
1458 enable_msvcp90
1459 enable_msvcr100
1460 enable_msvcr110
1461 enable_msvcr120
1462 enable_msvcr120_app
1463 enable_msvcr70
1464 enable_msvcr71
1465 enable_msvcr80
1466 enable_msvcr90
1467 enable_msvcrt
1468 enable_msvcrt20
1469 enable_msvcrt40
1470 enable_msvcrtd
1471 enable_msvfw32
1472 enable_msvidc32
1473 enable_mswsock
1474 enable_msxml
1475 enable_msxml2
1476 enable_msxml3
1477 enable_msxml4
1478 enable_msxml6
1479 enable_mtxdm
1480 enable_ncrypt
1481 enable_nddeapi
1482 enable_ndis_sys
1483 enable_netapi32
1484 enable_netcfgx
1485 enable_netprofm
1486 enable_newdev
1487 enable_ninput
1488 enable_normaliz
1489 enable_npmshtml
1490 enable_npptools
1491 enable_ntdll
1492 enable_ntdsapi
1493 enable_ntoskrnl_exe
1494 enable_ntprint
1495 enable_objsel
1496 enable_odbc32
1497 enable_odbcbcp
1498 enable_odbccp32
1499 enable_odbccu32
1500 enable_ole32
1501 enable_oleacc
1502 enable_oleaut32
1503 enable_olecli32
1504 enable_oledb32
1505 enable_oledlg
1506 enable_olepro32
1507 enable_olesvr32
1508 enable_olethk32
1509 enable_opcservices
1510 enable_openal32
1511 enable_opencl
1512 enable_opengl32
1513 enable_packager
1514 enable_pdh
1515 enable_photometadatahandler
1516 enable_pidgen
1517 enable_powrprof
1518 enable_printui
1519 enable_prntvpt
1520 enable_propsys
1521 enable_psapi
1522 enable_pstorec
1523 enable_qcap
1524 enable_qedit
1525 enable_qmgr
1526 enable_qmgrprxy
1527 enable_quartz
1528 enable_query
1529 enable_qwave
1530 enable_rasapi32
1531 enable_rasdlg
1532 enable_regapi
1533 enable_resutils
1534 enable_riched20
1535 enable_riched32
1536 enable_rpcrt4
1537 enable_rsabase
1538 enable_rsaenh
1539 enable_rstrtmgr
1540 enable_rtutils
1541 enable_samlib
1542 enable_sane_ds
1543 enable_sapi
1544 enable_sas
1545 enable_scarddlg
1546 enable_sccbase
1547 enable_schannel
1548 enable_schedsvc
1549 enable_scrobj
1550 enable_scrrun
1551 enable_scsiport_sys
1552 enable_secur32
1553 enable_security
1554 enable_sensapi
1555 enable_serialui
1556 enable_setupapi
1557 enable_sfc
1558 enable_sfc_os
1559 enable_shcore
1560 enable_shdoclc
1561 enable_shdocvw
1562 enable_shell32
1563 enable_shfolder
1564 enable_shlwapi
1565 enable_slbcsp
1566 enable_slc
1567 enable_snmpapi
1568 enable_softpub
1569 enable_spoolss
1570 enable_srclient
1571 enable_sspicli
1572 enable_stdole2_tlb
1573 enable_stdole32_tlb
1574 enable_sti
1575 enable_strmbase
1576 enable_strmdll
1577 enable_strmiids
1578 enable_svrapi
1579 enable_sxs
1580 enable_t2embed
1581 enable_tapi32
1582 enable_taskschd
1583 enable_tdh
1584 enable_tdi_sys
1585 enable_traffic
1586 enable_twain_32
1587 enable_tzres
1588 enable_ucrtbase
1589 enable_uianimation
1590 enable_uiautomationcore
1591 enable_uiribbon
1592 enable_unicows
1593 enable_updspapi
1594 enable_url
1595 enable_urlmon
1596 enable_usbd_sys
1597 enable_user32
1598 enable_userenv
1599 enable_usp10
1600 enable_utildll
1601 enable_uuid
1602 enable_uxtheme
1603 enable_vbscript
1604 enable_vcomp
1605 enable_vcomp100
1606 enable_vcomp110
1607 enable_vcomp120
1608 enable_vcomp140
1609 enable_vcomp90
1610 enable_vcruntime140
1611 enable_vdmdbg
1612 enable_version
1613 enable_virtdisk
1614 enable_vssapi
1615 enable_vulkan_1
1616 enable_wbemdisp
1617 enable_wbemprox
1618 enable_wdscore
1619 enable_webservices
1620 enable_wer
1621 enable_wevtapi
1622 enable_wiaservc
1623 enable_wimgapi
1624 enable_windowscodecs
1625 enable_windowscodecsext
1626 enable_winealsa_drv
1627 enable_wineandroid_drv
1628 enable_winebus_sys
1629 enable_winecoreaudio_drv
1630 enable_winecrt0
1631 enable_wined3d
1632 enable_winegstreamer
1633 enable_winehid_sys
1634 enable_winejoystick_drv
1635 enable_winemac_drv
1636 enable_winemapi
1637 enable_wineoss_drv
1638 enable_wineps_drv
1639 enable_winepulse_drv
1640 enable_wineqtdecoder
1641 enable_winevulkan
1642 enable_winex11_drv
1643 enable_wing32
1644 enable_winhttp
1645 enable_wininet
1646 enable_winmm
1647 enable_winnls32
1648 enable_winscard
1649 enable_winspool_drv
1650 enable_winsta
1651 enable_wintab32
1652 enable_wintrust
1653 enable_winusb
1654 enable_wlanapi
1655 enable_wlanui
1656 enable_wldap32
1657 enable_wmasf
1658 enable_wmcodecdspuuid
1659 enable_wmi
1660 enable_wmiutils
1661 enable_wmp
1662 enable_wmphoto
1663 enable_wmvcore
1664 enable_wnaspi32
1665 enable_wpc
1666 enable_wpcap
1667 enable_ws2_32
1668 enable_wsdapi
1669 enable_wshom_ocx
1670 enable_wsnmp32
1671 enable_wsock32
1672 enable_wtsapi32
1673 enable_wuapi
1674 enable_wuaueng
1675 enable_x3daudio1_0
1676 enable_x3daudio1_1
1677 enable_x3daudio1_2
1678 enable_x3daudio1_3
1679 enable_x3daudio1_4
1680 enable_x3daudio1_5
1681 enable_x3daudio1_6
1682 enable_x3daudio1_7
1683 enable_xapofx1_1
1684 enable_xapofx1_2
1685 enable_xapofx1_3
1686 enable_xapofx1_4
1687 enable_xapofx1_5
1688 enable_xaudio2_0
1689 enable_xaudio2_1
1690 enable_xaudio2_2
1691 enable_xaudio2_3
1692 enable_xaudio2_4
1693 enable_xaudio2_5
1694 enable_xaudio2_6
1695 enable_xaudio2_7
1696 enable_xaudio2_8
1697 enable_xaudio2_9
1698 enable_xinput1_1
1699 enable_xinput1_2
1700 enable_xinput1_3
1701 enable_xinput1_4
1702 enable_xinput9_1_0
1703 enable_xmllite
1704 enable_xolehlp
1705 enable_xpsprint
1706 enable_xpssvcs
1707 enable_fonts
1708 enable_include
1709 enable_port
1710 enable_wine
1711 enable_wpp
1712 enable_loader
1713 enable_po
1714 enable_arp
1715 enable_aspnet_regiis
1716 enable_attrib
1717 enable_cabarc
1718 enable_cacls
1719 enable_chcp_com
1720 enable_clock
1721 enable_cmd
1722 enable_conhost
1723 enable_control
1724 enable_cscript
1725 enable_dism
1726 enable_dpnsvr
1727 enable_dxdiag
1728 enable_eject
1729 enable_expand
1730 enable_explorer
1731 enable_extrac32
1732 enable_fc
1733 enable_find
1734 enable_findstr
1735 enable_fsutil
1736 enable_hh
1737 enable_hostname
1738 enable_icacls
1739 enable_icinfo
1740 enable_iexplore
1741 enable_ipconfig
1742 enable_lodctr
1743 enable_mofcomp
1744 enable_mshta
1745 enable_msidb
1746 enable_msiexec
1747 enable_msinfo32
1748 enable_net
1749 enable_netsh
1750 enable_netstat
1751 enable_ngen
1752 enable_notepad
1753 enable_oleview
1754 enable_ping
1755 enable_plugplay
1756 enable_powershell
1757 enable_presentationfontcache
1758 enable_progman
1759 enable_reg
1760 enable_regasm
1761 enable_regedit
1762 enable_regini
1763 enable_regsvcs
1764 enable_regsvr32
1765 enable_rpcss
1766 enable_rundll32
1767 enable_sc
1768 enable_schtasks
1769 enable_sdbinst
1770 enable_secedit
1771 enable_servicemodelreg
1772 enable_services
1773 enable_shutdown
1774 enable_spoolsv
1775 enable_start
1776 enable_subst
1777 enable_svchost
1778 enable_systeminfo
1779 enable_taskkill
1780 enable_tasklist
1781 enable_taskmgr
1782 enable_termsv
1783 enable_uninstaller
1784 enable_unlodctr
1785 enable_view
1786 enable_wevtutil
1787 enable_wineboot
1788 enable_winebrowser
1789 enable_winecfg
1790 enable_wineconsole
1791 enable_winedbg
1792 enable_winedevice
1793 enable_winefile
1794 enable_winemenubuilder
1795 enable_winemine
1796 enable_winemsibuilder
1797 enable_winepath
1798 enable_winetest
1799 enable_winhlp32
1800 enable_winmgmt
1801 enable_winver
1802 enable_wmic
1803 enable_wmplayer
1804 enable_wordpad
1805 enable_write
1806 enable_wscript
1807 enable_wuauserv
1808 enable_wusa
1809 enable_xcopy
1810 enable_server
1811 enable_tools
1812 enable_sfnt2fon
1813 enable_widl
1814 enable_winebuild
1815 enable_winedump
1816 enable_winegcc
1817 enable_winemaker
1818 enable_wmc
1819 enable_wrc
1821 ac_precious_vars='build_alias
1822 host_alias
1823 target_alias
1825 CFLAGS
1826 LDFLAGS
1827 LIBS
1828 CPPFLAGS
1830 CXXFLAGS
1833 OBJC
1834 OBJCFLAGS
1835 OBJCPP
1836 XMKMF
1837 XML2_CFLAGS
1838 XML2_LIBS
1839 XSLT_CFLAGS
1840 XSLT_LIBS
1841 INOTIFY_CFLAGS
1842 INOTIFY_LIBS
1843 DBUS_CFLAGS
1844 DBUS_LIBS
1845 HAL_CFLAGS
1846 HAL_LIBS
1847 GNUTLS_CFLAGS
1848 GNUTLS_LIBS
1849 SANE_CFLAGS
1850 SANE_LIBS
1851 GPHOTO2_CFLAGS
1852 GPHOTO2_LIBS
1853 GPHOTO2_PORT_CFLAGS
1854 GPHOTO2_PORT_LIBS
1855 LCMS2_CFLAGS
1856 LCMS2_LIBS
1857 FREETYPE_CFLAGS
1858 FREETYPE_LIBS
1859 Z_CFLAGS
1860 Z_LIBS
1861 PULSE_CFLAGS
1862 PULSE_LIBS
1863 GSTREAMER_CFLAGS
1864 GSTREAMER_LIBS
1865 UDEV_CFLAGS
1866 UDEV_LIBS
1867 UNWIND_CFLAGS
1868 UNWIND_LIBS
1869 SDL2_CFLAGS
1870 SDL2_LIBS
1871 FAUDIO_CFLAGS
1872 FAUDIO_LIBS
1873 CAPI20_CFLAGS
1874 CAPI20_LIBS
1875 CUPS_CFLAGS
1876 CUPS_LIBS
1877 FONTCONFIG_CFLAGS
1878 FONTCONFIG_LIBS
1879 KRB5_CFLAGS
1880 KRB5_LIBS
1881 GSSAPI_CFLAGS
1882 GSSAPI_LIBS
1883 JPEG_CFLAGS
1884 JPEG_LIBS
1885 PNG_CFLAGS
1886 PNG_LIBS
1887 TIFF_CFLAGS
1888 TIFF_LIBS
1889 MPG123_CFLAGS
1890 MPG123_LIBS
1891 NETAPI_CFLAGS
1892 NETAPI_LIBS
1893 VKD3D_CFLAGS
1894 VKD3D_LIBS
1895 LDAP_CFLAGS
1896 LDAP_LIBS'
1899 # Initialize some variables set by options.
1900 ac_init_help=
1901 ac_init_version=false
1902 ac_unrecognized_opts=
1903 ac_unrecognized_sep=
1904 # The variables have the same names as the options, with
1905 # dashes changed to underlines.
1906 cache_file=/dev/null
1907 exec_prefix=NONE
1908 no_create=
1909 no_recursion=
1910 prefix=NONE
1911 program_prefix=NONE
1912 program_suffix=NONE
1913 program_transform_name=s,x,x,
1914 silent=
1915 site=
1916 srcdir=
1917 verbose=
1918 x_includes=NONE
1919 x_libraries=NONE
1921 # Installation directory options.
1922 # These are left unexpanded so users can "make install exec_prefix=/foo"
1923 # and all the variables that are supposed to be based on exec_prefix
1924 # by default will actually change.
1925 # Use braces instead of parens because sh, perl, etc. also accept them.
1926 # (The list follows the same order as the GNU Coding Standards.)
1927 bindir='${exec_prefix}/bin'
1928 sbindir='${exec_prefix}/sbin'
1929 libexecdir='${exec_prefix}/libexec'
1930 datarootdir='${prefix}/share'
1931 datadir='${datarootdir}'
1932 sysconfdir='${prefix}/etc'
1933 sharedstatedir='${prefix}/com'
1934 localstatedir='${prefix}/var'
1935 runstatedir='${localstatedir}/run'
1936 includedir='${prefix}/include'
1937 oldincludedir='/usr/include'
1938 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1939 infodir='${datarootdir}/info'
1940 htmldir='${docdir}'
1941 dvidir='${docdir}'
1942 pdfdir='${docdir}'
1943 psdir='${docdir}'
1944 libdir='${exec_prefix}/lib'
1945 localedir='${datarootdir}/locale'
1946 mandir='${datarootdir}/man'
1948 ac_prev=
1949 ac_dashdash=
1950 for ac_option
1952 # If the previous option needs an argument, assign it.
1953 if test -n "$ac_prev"; then
1954 eval $ac_prev=\$ac_option
1955 ac_prev=
1956 continue
1959 case $ac_option in
1960 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1961 *=) ac_optarg= ;;
1962 *) ac_optarg=yes ;;
1963 esac
1965 # Accept the important Cygnus configure options, so we can diagnose typos.
1967 case $ac_dashdash$ac_option in
1969 ac_dashdash=yes ;;
1971 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1972 ac_prev=bindir ;;
1973 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1974 bindir=$ac_optarg ;;
1976 -build | --build | --buil | --bui | --bu)
1977 ac_prev=build_alias ;;
1978 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1979 build_alias=$ac_optarg ;;
1981 -cache-file | --cache-file | --cache-fil | --cache-fi \
1982 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1983 ac_prev=cache_file ;;
1984 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1985 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1986 cache_file=$ac_optarg ;;
1988 --config-cache | -C)
1989 cache_file=config.cache ;;
1991 -datadir | --datadir | --datadi | --datad)
1992 ac_prev=datadir ;;
1993 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1994 datadir=$ac_optarg ;;
1996 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1997 | --dataroo | --dataro | --datar)
1998 ac_prev=datarootdir ;;
1999 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2000 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2001 datarootdir=$ac_optarg ;;
2003 -disable-* | --disable-*)
2004 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2005 # Reject names that are not valid shell variable names.
2006 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2007 as_fn_error $? "invalid feature name: $ac_useropt"
2008 ac_useropt_orig=$ac_useropt
2009 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2010 case $ac_user_opts in
2012 "enable_$ac_useropt"
2013 "*) ;;
2014 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2015 ac_unrecognized_sep=', ';;
2016 esac
2017 eval enable_$ac_useropt=no ;;
2019 -docdir | --docdir | --docdi | --doc | --do)
2020 ac_prev=docdir ;;
2021 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2022 docdir=$ac_optarg ;;
2024 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2025 ac_prev=dvidir ;;
2026 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2027 dvidir=$ac_optarg ;;
2029 -enable-* | --enable-*)
2030 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2031 # Reject names that are not valid shell variable names.
2032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2033 as_fn_error $? "invalid feature name: $ac_useropt"
2034 ac_useropt_orig=$ac_useropt
2035 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2036 case $ac_user_opts in
2038 "enable_$ac_useropt"
2039 "*) ;;
2040 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2041 ac_unrecognized_sep=', ';;
2042 esac
2043 eval enable_$ac_useropt=\$ac_optarg ;;
2045 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2046 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2047 | --exec | --exe | --ex)
2048 ac_prev=exec_prefix ;;
2049 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2050 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2051 | --exec=* | --exe=* | --ex=*)
2052 exec_prefix=$ac_optarg ;;
2054 -gas | --gas | --ga | --g)
2055 # Obsolete; use --with-gas.
2056 with_gas=yes ;;
2058 -help | --help | --hel | --he | -h)
2059 ac_init_help=long ;;
2060 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2061 ac_init_help=recursive ;;
2062 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2063 ac_init_help=short ;;
2065 -host | --host | --hos | --ho)
2066 ac_prev=host_alias ;;
2067 -host=* | --host=* | --hos=* | --ho=*)
2068 host_alias=$ac_optarg ;;
2070 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2071 ac_prev=htmldir ;;
2072 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2073 | --ht=*)
2074 htmldir=$ac_optarg ;;
2076 -includedir | --includedir | --includedi | --included | --include \
2077 | --includ | --inclu | --incl | --inc)
2078 ac_prev=includedir ;;
2079 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2080 | --includ=* | --inclu=* | --incl=* | --inc=*)
2081 includedir=$ac_optarg ;;
2083 -infodir | --infodir | --infodi | --infod | --info | --inf)
2084 ac_prev=infodir ;;
2085 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2086 infodir=$ac_optarg ;;
2088 -libdir | --libdir | --libdi | --libd)
2089 ac_prev=libdir ;;
2090 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2091 libdir=$ac_optarg ;;
2093 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2094 | --libexe | --libex | --libe)
2095 ac_prev=libexecdir ;;
2096 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2097 | --libexe=* | --libex=* | --libe=*)
2098 libexecdir=$ac_optarg ;;
2100 -localedir | --localedir | --localedi | --localed | --locale)
2101 ac_prev=localedir ;;
2102 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2103 localedir=$ac_optarg ;;
2105 -localstatedir | --localstatedir | --localstatedi | --localstated \
2106 | --localstate | --localstat | --localsta | --localst | --locals)
2107 ac_prev=localstatedir ;;
2108 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2109 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2110 localstatedir=$ac_optarg ;;
2112 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2113 ac_prev=mandir ;;
2114 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2115 mandir=$ac_optarg ;;
2117 -nfp | --nfp | --nf)
2118 # Obsolete; use --without-fp.
2119 with_fp=no ;;
2121 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2122 | --no-cr | --no-c | -n)
2123 no_create=yes ;;
2125 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2126 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2127 no_recursion=yes ;;
2129 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2130 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2131 | --oldin | --oldi | --old | --ol | --o)
2132 ac_prev=oldincludedir ;;
2133 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2134 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2135 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2136 oldincludedir=$ac_optarg ;;
2138 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2139 ac_prev=prefix ;;
2140 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2141 prefix=$ac_optarg ;;
2143 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2144 | --program-pre | --program-pr | --program-p)
2145 ac_prev=program_prefix ;;
2146 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2147 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2148 program_prefix=$ac_optarg ;;
2150 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2151 | --program-suf | --program-su | --program-s)
2152 ac_prev=program_suffix ;;
2153 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2154 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2155 program_suffix=$ac_optarg ;;
2157 -program-transform-name | --program-transform-name \
2158 | --program-transform-nam | --program-transform-na \
2159 | --program-transform-n | --program-transform- \
2160 | --program-transform | --program-transfor \
2161 | --program-transfo | --program-transf \
2162 | --program-trans | --program-tran \
2163 | --progr-tra | --program-tr | --program-t)
2164 ac_prev=program_transform_name ;;
2165 -program-transform-name=* | --program-transform-name=* \
2166 | --program-transform-nam=* | --program-transform-na=* \
2167 | --program-transform-n=* | --program-transform-=* \
2168 | --program-transform=* | --program-transfor=* \
2169 | --program-transfo=* | --program-transf=* \
2170 | --program-trans=* | --program-tran=* \
2171 | --progr-tra=* | --program-tr=* | --program-t=*)
2172 program_transform_name=$ac_optarg ;;
2174 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2175 ac_prev=pdfdir ;;
2176 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2177 pdfdir=$ac_optarg ;;
2179 -psdir | --psdir | --psdi | --psd | --ps)
2180 ac_prev=psdir ;;
2181 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2182 psdir=$ac_optarg ;;
2184 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2185 | -silent | --silent | --silen | --sile | --sil)
2186 silent=yes ;;
2188 -runstatedir | --runstatedir | --runstatedi | --runstated \
2189 | --runstate | --runstat | --runsta | --runst | --runs \
2190 | --run | --ru | --r)
2191 ac_prev=runstatedir ;;
2192 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2193 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2194 | --run=* | --ru=* | --r=*)
2195 runstatedir=$ac_optarg ;;
2197 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2198 ac_prev=sbindir ;;
2199 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2200 | --sbi=* | --sb=*)
2201 sbindir=$ac_optarg ;;
2203 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2204 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2205 | --sharedst | --shareds | --shared | --share | --shar \
2206 | --sha | --sh)
2207 ac_prev=sharedstatedir ;;
2208 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2209 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2210 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2211 | --sha=* | --sh=*)
2212 sharedstatedir=$ac_optarg ;;
2214 -site | --site | --sit)
2215 ac_prev=site ;;
2216 -site=* | --site=* | --sit=*)
2217 site=$ac_optarg ;;
2219 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2220 ac_prev=srcdir ;;
2221 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2222 srcdir=$ac_optarg ;;
2224 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2225 | --syscon | --sysco | --sysc | --sys | --sy)
2226 ac_prev=sysconfdir ;;
2227 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2228 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2229 sysconfdir=$ac_optarg ;;
2231 -target | --target | --targe | --targ | --tar | --ta | --t)
2232 ac_prev=target_alias ;;
2233 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2234 target_alias=$ac_optarg ;;
2236 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2237 verbose=yes ;;
2239 -version | --version | --versio | --versi | --vers | -V)
2240 ac_init_version=: ;;
2242 -with-* | --with-*)
2243 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2244 # Reject names that are not valid shell variable names.
2245 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2246 as_fn_error $? "invalid package name: $ac_useropt"
2247 ac_useropt_orig=$ac_useropt
2248 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2249 case $ac_user_opts in
2251 "with_$ac_useropt"
2252 "*) ;;
2253 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2254 ac_unrecognized_sep=', ';;
2255 esac
2256 eval with_$ac_useropt=\$ac_optarg ;;
2258 -without-* | --without-*)
2259 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2260 # Reject names that are not valid shell variable names.
2261 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2262 as_fn_error $? "invalid package name: $ac_useropt"
2263 ac_useropt_orig=$ac_useropt
2264 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2265 case $ac_user_opts in
2267 "with_$ac_useropt"
2268 "*) ;;
2269 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2270 ac_unrecognized_sep=', ';;
2271 esac
2272 eval with_$ac_useropt=no ;;
2274 --x)
2275 # Obsolete; use --with-x.
2276 with_x=yes ;;
2278 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2279 | --x-incl | --x-inc | --x-in | --x-i)
2280 ac_prev=x_includes ;;
2281 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2282 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2283 x_includes=$ac_optarg ;;
2285 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2286 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2287 ac_prev=x_libraries ;;
2288 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2289 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2290 x_libraries=$ac_optarg ;;
2292 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2293 Try \`$0 --help' for more information"
2296 *=*)
2297 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2298 # Reject names that are not valid shell variable names.
2299 case $ac_envvar in #(
2300 '' | [0-9]* | *[!_$as_cr_alnum]* )
2301 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2302 esac
2303 eval $ac_envvar=\$ac_optarg
2304 export $ac_envvar ;;
2307 # FIXME: should be removed in autoconf 3.0.
2308 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2309 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2310 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2311 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2314 esac
2315 done
2317 if test -n "$ac_prev"; then
2318 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2319 as_fn_error $? "missing argument to $ac_option"
2322 if test -n "$ac_unrecognized_opts"; then
2323 case $enable_option_checking in
2324 no) ;;
2325 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2326 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2327 esac
2330 # Check all directory arguments for consistency.
2331 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2332 datadir sysconfdir sharedstatedir localstatedir includedir \
2333 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2334 libdir localedir mandir runstatedir
2336 eval ac_val=\$$ac_var
2337 # Remove trailing slashes.
2338 case $ac_val in
2339 */ )
2340 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2341 eval $ac_var=\$ac_val;;
2342 esac
2343 # Be sure to have absolute directory names.
2344 case $ac_val in
2345 [\\/$]* | ?:[\\/]* ) continue;;
2346 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2347 esac
2348 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2349 done
2351 # There might be people who depend on the old broken behavior: `$host'
2352 # used to hold the argument of --host etc.
2353 # FIXME: To remove some day.
2354 build=$build_alias
2355 host=$host_alias
2356 target=$target_alias
2358 # FIXME: To remove some day.
2359 if test "x$host_alias" != x; then
2360 if test "x$build_alias" = x; then
2361 cross_compiling=maybe
2362 elif test "x$build_alias" != "x$host_alias"; then
2363 cross_compiling=yes
2367 ac_tool_prefix=
2368 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2370 test "$silent" = yes && exec 6>/dev/null
2373 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2374 ac_ls_di=`ls -di .` &&
2375 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2376 as_fn_error $? "working directory cannot be determined"
2377 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2378 as_fn_error $? "pwd does not report name of working directory"
2381 # Find the source files, if location was not specified.
2382 if test -z "$srcdir"; then
2383 ac_srcdir_defaulted=yes
2384 # Try the directory containing this script, then the parent directory.
2385 ac_confdir=`$as_dirname -- "$as_myself" ||
2386 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2387 X"$as_myself" : 'X\(//\)[^/]' \| \
2388 X"$as_myself" : 'X\(//\)$' \| \
2389 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2390 $as_echo X"$as_myself" |
2391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2392 s//\1/
2395 /^X\(\/\/\)[^/].*/{
2396 s//\1/
2399 /^X\(\/\/\)$/{
2400 s//\1/
2403 /^X\(\/\).*/{
2404 s//\1/
2407 s/.*/./; q'`
2408 srcdir=$ac_confdir
2409 if test ! -r "$srcdir/$ac_unique_file"; then
2410 srcdir=..
2412 else
2413 ac_srcdir_defaulted=no
2415 if test ! -r "$srcdir/$ac_unique_file"; then
2416 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2417 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2419 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2420 ac_abs_confdir=`(
2421 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2422 pwd)`
2423 # When building in place, set srcdir=.
2424 if test "$ac_abs_confdir" = "$ac_pwd"; then
2425 srcdir=.
2427 # Remove unnecessary trailing slashes from srcdir.
2428 # Double slashes in file names in object file debugging info
2429 # mess up M-x gdb in Emacs.
2430 case $srcdir in
2431 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2432 esac
2433 for ac_var in $ac_precious_vars; do
2434 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2435 eval ac_env_${ac_var}_value=\$${ac_var}
2436 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2437 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2438 done
2441 # Report the --help message.
2443 if test "$ac_init_help" = "long"; then
2444 # Omit some internal or obsolete options to make the list less imposing.
2445 # This message is too long to be a string in the A/UX 3.1 sh.
2446 cat <<_ACEOF
2447 \`configure' configures Wine 4.21 to adapt to many kinds of systems.
2449 Usage: $0 [OPTION]... [VAR=VALUE]...
2451 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2452 VAR=VALUE. See below for descriptions of some of the useful variables.
2454 Defaults for the options are specified in brackets.
2456 Configuration:
2457 -h, --help display this help and exit
2458 --help=short display options specific to this package
2459 --help=recursive display the short help of all the included packages
2460 -V, --version display version information and exit
2461 -q, --quiet, --silent do not print \`checking ...' messages
2462 --cache-file=FILE cache test results in FILE [disabled]
2463 -C, --config-cache alias for \`--cache-file=config.cache'
2464 -n, --no-create do not create output files
2465 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2467 Installation directories:
2468 --prefix=PREFIX install architecture-independent files in PREFIX
2469 [$ac_default_prefix]
2470 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2471 [PREFIX]
2473 By default, \`make install' will install all the files in
2474 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2475 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2476 for instance \`--prefix=\$HOME'.
2478 For better control, use the options below.
2480 Fine tuning of the installation directories:
2481 --bindir=DIR user executables [EPREFIX/bin]
2482 --sbindir=DIR system admin executables [EPREFIX/sbin]
2483 --libexecdir=DIR program executables [EPREFIX/libexec]
2484 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2485 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2486 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2487 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2488 --libdir=DIR object code libraries [EPREFIX/lib]
2489 --includedir=DIR C header files [PREFIX/include]
2490 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2491 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2492 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2493 --infodir=DIR info documentation [DATAROOTDIR/info]
2494 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2495 --mandir=DIR man documentation [DATAROOTDIR/man]
2496 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2497 --htmldir=DIR html documentation [DOCDIR]
2498 --dvidir=DIR dvi documentation [DOCDIR]
2499 --pdfdir=DIR pdf documentation [DOCDIR]
2500 --psdir=DIR ps documentation [DOCDIR]
2501 _ACEOF
2503 cat <<\_ACEOF
2505 X features:
2506 --x-includes=DIR X include files are in DIR
2507 --x-libraries=DIR X library files are in DIR
2509 System types:
2510 --build=BUILD configure for building on BUILD [guessed]
2511 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2512 _ACEOF
2515 if test -n "$ac_init_help"; then
2516 case $ac_init_help in
2517 short | recursive ) echo "Configuration of Wine 4.21:";;
2518 esac
2519 cat <<\_ACEOF
2521 Optional Features:
2522 --disable-option-checking ignore unrecognized --enable/--with options
2523 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2524 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2525 --disable-win16 do not include Win16 support
2526 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2527 binaries)
2528 --disable-tests do not build the regression tests
2529 --enable-maintainer-mode
2530 enable maintainer-specific build rules
2531 --disable-largefile omit support for large files
2533 Optional Packages:
2534 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2535 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2536 --without-alsa do not use the Alsa sound support
2537 --without-capi do not use CAPI (ISDN support)
2538 --without-cms do not use CMS (color management support)
2539 --without-coreaudio do not use the CoreAudio sound support
2540 --without-cups do not use CUPS
2541 --without-curses do not use (n)curses
2542 --without-dbus do not use DBus (dynamic device support)
2543 --without-faudio do not use FAudio (XAudio2 support)
2544 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2545 --without-fontconfig do not use fontconfig
2546 --without-freetype do not use the FreeType library
2547 --without-gettext do not use gettext
2548 --with-gettextpo use the GetTextPO library to rebuild po files
2549 --without-gphoto do not use gphoto (Digital Camera support)
2550 --without-glu do not use the GLU library
2551 --without-gnutls do not use GnuTLS (schannel support)
2552 --without-gsm do not use libgsm (GSM 06.10 codec support)
2553 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2554 --without-gstreamer do not use GStreamer (codecs support)
2555 --without-hal do not use HAL (dynamic device support)
2556 --without-inotify do not use inotify (filesystem change notifications)
2557 --without-jpeg do not use JPEG
2558 --without-krb5 do not use krb5 (Kerberos)
2559 --without-ldap do not use LDAP
2560 --without-mingw do not use the MinGW cross-compiler
2561 --without-mpg123 do not use the mpg123 library
2562 --without-netapi do not use the Samba NetAPI library
2563 --without-openal do not use OpenAL
2564 --without-opencl do not use OpenCL
2565 --without-opengl do not use OpenGL
2566 --without-osmesa do not use the OSMesa library
2567 --without-oss do not use the OSS sound support
2568 --without-pcap do not use the Packet Capture library
2569 --without-png do not use PNG
2570 --without-pthread do not use the pthread library
2571 --without-pulse do not use PulseAudio sound support
2572 --without-sane do not use SANE (scanner support)
2573 --without-sdl do not use SDL
2574 --without-tiff do not use TIFF
2575 --without-udev do not use udev (plug and play support)
2576 --without-unwind do not use the libunwind library (exception
2577 handling)
2578 --without-v4l2 do not use v4l2 (video capture)
2579 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2580 --without-vulkan do not use Vulkan
2581 --without-xcomposite do not use the Xcomposite extension
2582 --without-xcursor do not use the Xcursor extension
2583 --without-xfixes do not use Xfixes for clipboard change notifications
2584 --without-xinerama do not use Xinerama (multi-monitor support)
2585 --without-xinput do not use the Xinput extension
2586 --without-xinput2 do not use the Xinput 2 extension
2587 --without-xml do not use XML
2588 --without-xrandr do not use Xrandr (resolution changes)
2589 --without-xrender do not use the Xrender extension
2590 --without-xshape do not use the Xshape extension
2591 --without-xshm do not use XShm (shared memory extension)
2592 --without-xslt do not use XSLT
2593 --without-xxf86vm do not use XFree video mode extension
2594 --without-zlib do not use Zlib (data compression)
2595 --with-wine-tools=DIR use Wine tools from directory DIR
2596 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2597 --with-x use the X Window System
2599 Some influential environment variables:
2600 CC C compiler command
2601 CFLAGS C compiler flags
2602 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2603 nonstandard directory <lib dir>
2604 LIBS libraries to pass to the linker, e.g. -l<library>
2605 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2606 you have headers in a nonstandard directory <include dir>
2607 CXX C++ compiler command
2608 CXXFLAGS C++ compiler flags
2609 CPP C preprocessor
2610 OBJC Objective C compiler command
2611 OBJCFLAGS Objective C compiler flags
2612 OBJCPP Objective C preprocessor
2613 XMKMF Path to xmkmf, Makefile generator for X Window System
2614 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2615 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2616 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2617 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2618 INOTIFY_CFLAGS
2619 C compiler flags for libinotify, overriding pkg-config
2620 INOTIFY_LIBS
2621 Linker flags for libinotify, overriding pkg-config
2622 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2623 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2624 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2625 HAL_LIBS Linker flags for hal, overriding pkg-config
2626 GNUTLS_CFLAGS
2627 C compiler flags for gnutls, overriding pkg-config
2628 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2629 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2630 SANE_LIBS Linker flags for libsane, overriding pkg-config
2631 GPHOTO2_CFLAGS
2632 C compiler flags for libgphoto2, overriding pkg-config
2633 GPHOTO2_LIBS
2634 Linker flags for libgphoto2, overriding pkg-config
2635 GPHOTO2_PORT_CFLAGS
2636 C compiler flags for libgphoto2_port, overriding pkg-config
2637 GPHOTO2_PORT_LIBS
2638 Linker flags for libgphoto2_port, overriding pkg-config
2639 LCMS2_CFLAGS
2640 C compiler flags for lcms2, overriding pkg-config
2641 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2642 FREETYPE_CFLAGS
2643 C compiler flags for freetype2, overriding pkg-config
2644 FREETYPE_LIBS
2645 Linker flags for freetype2, overriding pkg-config
2646 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2647 Z_LIBS Linker flags for libz, overriding pkg-config
2648 PULSE_CFLAGS
2649 C compiler flags for libpulse, overriding pkg-config
2650 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2651 GSTREAMER_CFLAGS
2652 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2653 gstreamer-audio-1.0, overriding pkg-config
2654 GSTREAMER_LIBS
2655 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2656 gstreamer-audio-1.0, overriding pkg-config
2657 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2658 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2659 UNWIND_CFLAGS
2660 C compiler flags for libunwind, overriding pkg-config
2661 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2662 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2663 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2664 FAUDIO_CFLAGS
2665 C compiler flags for faudio, overriding pkg-config
2666 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2667 CAPI20_CFLAGS
2668 C compiler flags for capi20, overriding pkg-config
2669 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2670 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2671 CUPS_LIBS Linker flags for cups, overriding pkg-config
2672 FONTCONFIG_CFLAGS
2673 C compiler flags for fontconfig, overriding pkg-config
2674 FONTCONFIG_LIBS
2675 Linker flags for fontconfig, overriding pkg-config
2676 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2677 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2678 GSSAPI_CFLAGS
2679 C compiler flags for krb5-gssapi, overriding pkg-config
2680 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2681 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2682 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2683 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2684 PNG_LIBS Linker flags for libpng, overriding pkg-config
2685 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2686 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2687 MPG123_CFLAGS
2688 C compiler flags for libmpg123, overriding pkg-config
2689 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2690 NETAPI_CFLAGS
2691 C compiler flags for netapi, overriding pkg-config
2692 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2693 VKD3D_CFLAGS
2694 C compiler flags for libvkd3d, overriding pkg-config
2695 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2696 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2697 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2699 Use these variables to override the choices made by `configure' or to help
2700 it to find libraries and programs with nonstandard names/locations.
2702 Report bugs to <wine-devel@winehq.org>.
2703 Wine home page: <https://www.winehq.org>.
2704 _ACEOF
2705 ac_status=$?
2708 if test "$ac_init_help" = "recursive"; then
2709 # If there are subdirs, report their specific --help.
2710 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2711 test -d "$ac_dir" ||
2712 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2713 continue
2714 ac_builddir=.
2716 case "$ac_dir" in
2717 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2719 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2720 # A ".." for each directory in $ac_dir_suffix.
2721 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2722 case $ac_top_builddir_sub in
2723 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2724 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2725 esac ;;
2726 esac
2727 ac_abs_top_builddir=$ac_pwd
2728 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2729 # for backward compatibility:
2730 ac_top_builddir=$ac_top_build_prefix
2732 case $srcdir in
2733 .) # We are building in place.
2734 ac_srcdir=.
2735 ac_top_srcdir=$ac_top_builddir_sub
2736 ac_abs_top_srcdir=$ac_pwd ;;
2737 [\\/]* | ?:[\\/]* ) # Absolute name.
2738 ac_srcdir=$srcdir$ac_dir_suffix;
2739 ac_top_srcdir=$srcdir
2740 ac_abs_top_srcdir=$srcdir ;;
2741 *) # Relative name.
2742 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2743 ac_top_srcdir=$ac_top_build_prefix$srcdir
2744 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2745 esac
2746 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2748 cd "$ac_dir" || { ac_status=$?; continue; }
2749 # Check for guested configure.
2750 if test -f "$ac_srcdir/configure.gnu"; then
2751 echo &&
2752 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2753 elif test -f "$ac_srcdir/configure"; then
2754 echo &&
2755 $SHELL "$ac_srcdir/configure" --help=recursive
2756 else
2757 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2758 fi || ac_status=$?
2759 cd "$ac_pwd" || { ac_status=$?; break; }
2760 done
2763 test -n "$ac_init_help" && exit $ac_status
2764 if $ac_init_version; then
2765 cat <<\_ACEOF
2766 Wine configure 4.21
2767 generated by GNU Autoconf 2.69
2769 Copyright (C) 2012 Free Software Foundation, Inc.
2770 This configure script is free software; the Free Software Foundation
2771 gives unlimited permission to copy, distribute and modify it.
2772 _ACEOF
2773 exit
2776 ## ------------------------ ##
2777 ## Autoconf initialization. ##
2778 ## ------------------------ ##
2780 # ac_fn_c_try_compile LINENO
2781 # --------------------------
2782 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2783 ac_fn_c_try_compile ()
2785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2786 rm -f conftest.$ac_objext
2787 if { { ac_try="$ac_compile"
2788 case "(($ac_try" in
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2791 esac
2792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2793 $as_echo "$ac_try_echo"; } >&5
2794 (eval "$ac_compile") 2>conftest.err
2795 ac_status=$?
2796 if test -s conftest.err; then
2797 grep -v '^ *+' conftest.err >conftest.er1
2798 cat conftest.er1 >&5
2799 mv -f conftest.er1 conftest.err
2801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2802 test $ac_status = 0; } && {
2803 test -z "$ac_c_werror_flag" ||
2804 test ! -s conftest.err
2805 } && test -s conftest.$ac_objext; then :
2806 ac_retval=0
2807 else
2808 $as_echo "$as_me: failed program was:" >&5
2809 sed 's/^/| /' conftest.$ac_ext >&5
2811 ac_retval=1
2813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2814 as_fn_set_status $ac_retval
2816 } # ac_fn_c_try_compile
2818 # ac_fn_cxx_try_compile LINENO
2819 # ----------------------------
2820 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2821 ac_fn_cxx_try_compile ()
2823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2824 rm -f conftest.$ac_objext
2825 if { { ac_try="$ac_compile"
2826 case "(($ac_try" in
2827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2828 *) ac_try_echo=$ac_try;;
2829 esac
2830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2831 $as_echo "$ac_try_echo"; } >&5
2832 (eval "$ac_compile") 2>conftest.err
2833 ac_status=$?
2834 if test -s conftest.err; then
2835 grep -v '^ *+' conftest.err >conftest.er1
2836 cat conftest.er1 >&5
2837 mv -f conftest.er1 conftest.err
2839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2840 test $ac_status = 0; } && {
2841 test -z "$ac_cxx_werror_flag" ||
2842 test ! -s conftest.err
2843 } && test -s conftest.$ac_objext; then :
2844 ac_retval=0
2845 else
2846 $as_echo "$as_me: failed program was:" >&5
2847 sed 's/^/| /' conftest.$ac_ext >&5
2849 ac_retval=1
2851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2852 as_fn_set_status $ac_retval
2854 } # ac_fn_cxx_try_compile
2856 # ac_fn_c_try_link LINENO
2857 # -----------------------
2858 # Try to link conftest.$ac_ext, and return whether this succeeded.
2859 ac_fn_c_try_link ()
2861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2862 rm -f conftest.$ac_objext conftest$ac_exeext
2863 if { { ac_try="$ac_link"
2864 case "(($ac_try" in
2865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2866 *) ac_try_echo=$ac_try;;
2867 esac
2868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2869 $as_echo "$ac_try_echo"; } >&5
2870 (eval "$ac_link") 2>conftest.err
2871 ac_status=$?
2872 if test -s conftest.err; then
2873 grep -v '^ *+' conftest.err >conftest.er1
2874 cat conftest.er1 >&5
2875 mv -f conftest.er1 conftest.err
2877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2878 test $ac_status = 0; } && {
2879 test -z "$ac_c_werror_flag" ||
2880 test ! -s conftest.err
2881 } && test -s conftest$ac_exeext && {
2882 test "$cross_compiling" = yes ||
2883 test -x conftest$ac_exeext
2884 }; then :
2885 ac_retval=0
2886 else
2887 $as_echo "$as_me: failed program was:" >&5
2888 sed 's/^/| /' conftest.$ac_ext >&5
2890 ac_retval=1
2892 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2893 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2894 # interfere with the next link command; also delete a directory that is
2895 # left behind by Apple's compiler. We do this before executing the actions.
2896 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2897 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2898 as_fn_set_status $ac_retval
2900 } # ac_fn_c_try_link
2902 # ac_fn_c_try_cpp LINENO
2903 # ----------------------
2904 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2905 ac_fn_c_try_cpp ()
2907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2908 if { { ac_try="$ac_cpp conftest.$ac_ext"
2909 case "(($ac_try" in
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2912 esac
2913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2914 $as_echo "$ac_try_echo"; } >&5
2915 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2916 ac_status=$?
2917 if test -s conftest.err; then
2918 grep -v '^ *+' conftest.err >conftest.er1
2919 cat conftest.er1 >&5
2920 mv -f conftest.er1 conftest.err
2922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2923 test $ac_status = 0; } > conftest.i && {
2924 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2925 test ! -s conftest.err
2926 }; then :
2927 ac_retval=0
2928 else
2929 $as_echo "$as_me: failed program was:" >&5
2930 sed 's/^/| /' conftest.$ac_ext >&5
2932 ac_retval=1
2934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2935 as_fn_set_status $ac_retval
2937 } # ac_fn_c_try_cpp
2939 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2940 # -------------------------------------------------------
2941 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2942 # the include files in INCLUDES and setting the cache variable VAR
2943 # accordingly.
2944 ac_fn_c_check_header_mongrel ()
2946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2947 if eval \${$3+:} false; then :
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2949 $as_echo_n "checking for $2... " >&6; }
2950 if eval \${$3+:} false; then :
2951 $as_echo_n "(cached) " >&6
2953 eval ac_res=\$$3
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2955 $as_echo "$ac_res" >&6; }
2956 else
2957 # Is the header compilable?
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2959 $as_echo_n "checking $2 usability... " >&6; }
2960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2961 /* end confdefs.h. */
2963 #include <$2>
2964 _ACEOF
2965 if ac_fn_c_try_compile "$LINENO"; then :
2966 ac_header_compiler=yes
2967 else
2968 ac_header_compiler=no
2970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2972 $as_echo "$ac_header_compiler" >&6; }
2974 # Is the header present?
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2976 $as_echo_n "checking $2 presence... " >&6; }
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2979 #include <$2>
2980 _ACEOF
2981 if ac_fn_c_try_cpp "$LINENO"; then :
2982 ac_header_preproc=yes
2983 else
2984 ac_header_preproc=no
2986 rm -f conftest.err conftest.i conftest.$ac_ext
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2988 $as_echo "$ac_header_preproc" >&6; }
2990 # So? What about this header?
2991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2992 yes:no: )
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2994 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2996 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2998 no:yes:* )
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3000 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3002 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3004 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3006 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3008 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3009 ( $as_echo "## ------------------------------------ ##
3010 ## Report this to wine-devel@winehq.org ##
3011 ## ------------------------------------ ##"
3012 ) | sed "s/^/$as_me: WARNING: /" >&2
3014 esac
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3016 $as_echo_n "checking for $2... " >&6; }
3017 if eval \${$3+:} false; then :
3018 $as_echo_n "(cached) " >&6
3019 else
3020 eval "$3=\$ac_header_compiler"
3022 eval ac_res=\$$3
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3024 $as_echo "$ac_res" >&6; }
3026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3028 } # ac_fn_c_check_header_mongrel
3030 # ac_fn_c_try_run LINENO
3031 # ----------------------
3032 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3033 # that executables *can* be run.
3034 ac_fn_c_try_run ()
3036 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3037 if { { ac_try="$ac_link"
3038 case "(($ac_try" in
3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3040 *) ac_try_echo=$ac_try;;
3041 esac
3042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3043 $as_echo "$ac_try_echo"; } >&5
3044 (eval "$ac_link") 2>&5
3045 ac_status=$?
3046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3047 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3048 { { case "(($ac_try" in
3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3050 *) ac_try_echo=$ac_try;;
3051 esac
3052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3053 $as_echo "$ac_try_echo"; } >&5
3054 (eval "$ac_try") 2>&5
3055 ac_status=$?
3056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3057 test $ac_status = 0; }; }; then :
3058 ac_retval=0
3059 else
3060 $as_echo "$as_me: program exited with status $ac_status" >&5
3061 $as_echo "$as_me: failed program was:" >&5
3062 sed 's/^/| /' conftest.$ac_ext >&5
3064 ac_retval=$ac_status
3066 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3068 as_fn_set_status $ac_retval
3070 } # ac_fn_c_try_run
3072 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3073 # -------------------------------------------------------
3074 # Tests whether HEADER exists and can be compiled using the include files in
3075 # INCLUDES, setting the cache variable VAR accordingly.
3076 ac_fn_c_check_header_compile ()
3078 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3080 $as_echo_n "checking for $2... " >&6; }
3081 if eval \${$3+:} false; then :
3082 $as_echo_n "(cached) " >&6
3083 else
3084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3085 /* end confdefs.h. */
3087 #include <$2>
3088 _ACEOF
3089 if ac_fn_c_try_compile "$LINENO"; then :
3090 eval "$3=yes"
3091 else
3092 eval "$3=no"
3094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3096 eval ac_res=\$$3
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3098 $as_echo "$ac_res" >&6; }
3099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3101 } # ac_fn_c_check_header_compile
3103 # ac_fn_objc_try_compile LINENO
3104 # -----------------------------
3105 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3106 ac_fn_objc_try_compile ()
3108 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3109 rm -f conftest.$ac_objext
3110 if { { ac_try="$ac_compile"
3111 case "(($ac_try" in
3112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3114 esac
3115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3116 $as_echo "$ac_try_echo"; } >&5
3117 (eval "$ac_compile") 2>conftest.err
3118 ac_status=$?
3119 if test -s conftest.err; then
3120 grep -v '^ *+' conftest.err >conftest.er1
3121 cat conftest.er1 >&5
3122 mv -f conftest.er1 conftest.err
3124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3125 test $ac_status = 0; } && {
3126 test -z "$ac_objc_werror_flag" ||
3127 test ! -s conftest.err
3128 } && test -s conftest.$ac_objext; then :
3129 ac_retval=0
3130 else
3131 $as_echo "$as_me: failed program was:" >&5
3132 sed 's/^/| /' conftest.$ac_ext >&5
3134 ac_retval=1
3136 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3137 as_fn_set_status $ac_retval
3139 } # ac_fn_objc_try_compile
3141 # ac_fn_objc_try_cpp LINENO
3142 # -------------------------
3143 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3144 ac_fn_objc_try_cpp ()
3146 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3147 if { { ac_try="$ac_cpp conftest.$ac_ext"
3148 case "(($ac_try" in
3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3151 esac
3152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3153 $as_echo "$ac_try_echo"; } >&5
3154 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3155 ac_status=$?
3156 if test -s conftest.err; then
3157 grep -v '^ *+' conftest.err >conftest.er1
3158 cat conftest.er1 >&5
3159 mv -f conftest.er1 conftest.err
3161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3162 test $ac_status = 0; } > conftest.i && {
3163 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3164 test ! -s conftest.err
3165 }; then :
3166 ac_retval=0
3167 else
3168 $as_echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.$ac_ext >&5
3171 ac_retval=1
3173 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3174 as_fn_set_status $ac_retval
3176 } # ac_fn_objc_try_cpp
3178 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3179 # ----------------------------------------------------------
3180 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3181 # the include files in INCLUDES and setting the cache variable VAR
3182 # accordingly.
3183 ac_fn_objc_check_header_mongrel ()
3185 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3186 if eval \${$3+:} false; then :
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3188 $as_echo_n "checking for $2... " >&6; }
3189 if eval \${$3+:} false; then :
3190 $as_echo_n "(cached) " >&6
3192 eval ac_res=\$$3
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3194 $as_echo "$ac_res" >&6; }
3195 else
3196 # Is the header compilable?
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3198 $as_echo_n "checking $2 usability... " >&6; }
3199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3200 /* end confdefs.h. */
3202 #include <$2>
3203 _ACEOF
3204 if ac_fn_objc_try_compile "$LINENO"; then :
3205 ac_header_compiler=yes
3206 else
3207 ac_header_compiler=no
3209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3211 $as_echo "$ac_header_compiler" >&6; }
3213 # Is the header present?
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3215 $as_echo_n "checking $2 presence... " >&6; }
3216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217 /* end confdefs.h. */
3218 #include <$2>
3219 _ACEOF
3220 if ac_fn_objc_try_cpp "$LINENO"; then :
3221 ac_header_preproc=yes
3222 else
3223 ac_header_preproc=no
3225 rm -f conftest.err conftest.i conftest.$ac_ext
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3227 $as_echo "$ac_header_preproc" >&6; }
3229 # So? What about this header?
3230 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3231 yes:no: )
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3233 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3235 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3237 no:yes:* )
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3239 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3241 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3243 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3245 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3247 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3248 ( $as_echo "## ------------------------------------ ##
3249 ## Report this to wine-devel@winehq.org ##
3250 ## ------------------------------------ ##"
3251 ) | sed "s/^/$as_me: WARNING: /" >&2
3253 esac
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3255 $as_echo_n "checking for $2... " >&6; }
3256 if eval \${$3+:} false; then :
3257 $as_echo_n "(cached) " >&6
3258 else
3259 eval "$3=\$ac_header_compiler"
3261 eval ac_res=\$$3
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3263 $as_echo "$ac_res" >&6; }
3265 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3267 } # ac_fn_objc_check_header_mongrel
3269 # ac_fn_c_check_func LINENO FUNC VAR
3270 # ----------------------------------
3271 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3272 ac_fn_c_check_func ()
3274 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3276 $as_echo_n "checking for $2... " >&6; }
3277 if eval \${$3+:} false; then :
3278 $as_echo_n "(cached) " >&6
3279 else
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3282 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3284 #define $2 innocuous_$2
3286 /* System header to define __stub macros and hopefully few prototypes,
3287 which can conflict with char $2 (); below.
3288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3289 <limits.h> exists even on freestanding compilers. */
3291 #ifdef __STDC__
3292 # include <limits.h>
3293 #else
3294 # include <assert.h>
3295 #endif
3297 #undef $2
3299 /* Override any GCC internal prototype to avoid an error.
3300 Use char because int might match the return type of a GCC
3301 builtin and then its argument prototype would still apply. */
3302 #ifdef __cplusplus
3303 extern "C"
3304 #endif
3305 char $2 ();
3306 /* The GNU C library defines this for functions which it implements
3307 to always fail with ENOSYS. Some functions are actually named
3308 something starting with __ and the normal name is an alias. */
3309 #if defined __stub_$2 || defined __stub___$2
3310 choke me
3311 #endif
3314 main ()
3316 return $2 ();
3318 return 0;
3320 _ACEOF
3321 if ac_fn_c_try_link "$LINENO"; then :
3322 eval "$3=yes"
3323 else
3324 eval "$3=no"
3326 rm -f core conftest.err conftest.$ac_objext \
3327 conftest$ac_exeext conftest.$ac_ext
3329 eval ac_res=\$$3
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3331 $as_echo "$ac_res" >&6; }
3332 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3334 } # ac_fn_c_check_func
3336 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3337 # ----------------------------------------------------
3338 # Tries to find if the field MEMBER exists in type AGGR, after including
3339 # INCLUDES, setting cache variable VAR accordingly.
3340 ac_fn_c_check_member ()
3342 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3344 $as_echo_n "checking for $2.$3... " >&6; }
3345 if eval \${$4+:} false; then :
3346 $as_echo_n "(cached) " >&6
3347 else
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3352 main ()
3354 static $2 ac_aggr;
3355 if (ac_aggr.$3)
3356 return 0;
3358 return 0;
3360 _ACEOF
3361 if ac_fn_c_try_compile "$LINENO"; then :
3362 eval "$4=yes"
3363 else
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3368 main ()
3370 static $2 ac_aggr;
3371 if (sizeof ac_aggr.$3)
3372 return 0;
3374 return 0;
3376 _ACEOF
3377 if ac_fn_c_try_compile "$LINENO"; then :
3378 eval "$4=yes"
3379 else
3380 eval "$4=no"
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3386 eval ac_res=\$$4
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3388 $as_echo "$ac_res" >&6; }
3389 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3391 } # ac_fn_c_check_member
3393 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3394 # -------------------------------------------
3395 # Tests whether TYPE exists after having included INCLUDES, setting cache
3396 # variable VAR accordingly.
3397 ac_fn_c_check_type ()
3399 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3401 $as_echo_n "checking for $2... " >&6; }
3402 if eval \${$3+:} false; then :
3403 $as_echo_n "(cached) " >&6
3404 else
3405 eval "$3=no"
3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3407 /* end confdefs.h. */
3410 main ()
3412 if (sizeof ($2))
3413 return 0;
3415 return 0;
3417 _ACEOF
3418 if ac_fn_c_try_compile "$LINENO"; then :
3419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3423 main ()
3425 if (sizeof (($2)))
3426 return 0;
3428 return 0;
3430 _ACEOF
3431 if ac_fn_c_try_compile "$LINENO"; then :
3433 else
3434 eval "$3=yes"
3436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3440 eval ac_res=\$$3
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3442 $as_echo "$ac_res" >&6; }
3443 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3445 } # ac_fn_c_check_type
3446 cat >config.log <<_ACEOF
3447 This file contains any messages produced by compilers while
3448 running configure, to aid debugging if configure makes a mistake.
3450 It was created by Wine $as_me 4.21, which was
3451 generated by GNU Autoconf 2.69. Invocation command line was
3453 $ $0 $@
3455 _ACEOF
3456 exec 5>>config.log
3458 cat <<_ASUNAME
3459 ## --------- ##
3460 ## Platform. ##
3461 ## --------- ##
3463 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3464 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3465 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3466 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3467 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3469 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3470 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3472 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3473 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3474 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3475 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3476 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3477 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3478 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3480 _ASUNAME
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483 for as_dir in $PATH
3485 IFS=$as_save_IFS
3486 test -z "$as_dir" && as_dir=.
3487 $as_echo "PATH: $as_dir"
3488 done
3489 IFS=$as_save_IFS
3491 } >&5
3493 cat >&5 <<_ACEOF
3496 ## ----------- ##
3497 ## Core tests. ##
3498 ## ----------- ##
3500 _ACEOF
3503 # Keep a trace of the command line.
3504 # Strip out --no-create and --no-recursion so they do not pile up.
3505 # Strip out --silent because we don't want to record it for future runs.
3506 # Also quote any args containing shell meta-characters.
3507 # Make two passes to allow for proper duplicate-argument suppression.
3508 ac_configure_args=
3509 ac_configure_args0=
3510 ac_configure_args1=
3511 ac_must_keep_next=false
3512 for ac_pass in 1 2
3514 for ac_arg
3516 case $ac_arg in
3517 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3518 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3519 | -silent | --silent | --silen | --sile | --sil)
3520 continue ;;
3521 *\'*)
3522 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3523 esac
3524 case $ac_pass in
3525 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3527 as_fn_append ac_configure_args1 " '$ac_arg'"
3528 if test $ac_must_keep_next = true; then
3529 ac_must_keep_next=false # Got value, back to normal.
3530 else
3531 case $ac_arg in
3532 *=* | --config-cache | -C | -disable-* | --disable-* \
3533 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3534 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3535 | -with-* | --with-* | -without-* | --without-* | --x)
3536 case "$ac_configure_args0 " in
3537 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3538 esac
3540 -* ) ac_must_keep_next=true ;;
3541 esac
3543 as_fn_append ac_configure_args " '$ac_arg'"
3545 esac
3546 done
3547 done
3548 { ac_configure_args0=; unset ac_configure_args0;}
3549 { ac_configure_args1=; unset ac_configure_args1;}
3551 # When interrupted or exit'd, cleanup temporary files, and complete
3552 # config.log. We remove comments because anyway the quotes in there
3553 # would cause problems or look ugly.
3554 # WARNING: Use '\'' to represent an apostrophe within the trap.
3555 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3556 trap 'exit_status=$?
3557 # Save into config.log some information that might help in debugging.
3559 echo
3561 $as_echo "## ---------------- ##
3562 ## Cache variables. ##
3563 ## ---------------- ##"
3564 echo
3565 # The following way of writing the cache mishandles newlines in values,
3567 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3568 eval ac_val=\$$ac_var
3569 case $ac_val in #(
3570 *${as_nl}*)
3571 case $ac_var in #(
3572 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3573 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3574 esac
3575 case $ac_var in #(
3576 _ | IFS | as_nl) ;; #(
3577 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3578 *) { eval $ac_var=; unset $ac_var;} ;;
3579 esac ;;
3580 esac
3581 done
3582 (set) 2>&1 |
3583 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3584 *${as_nl}ac_space=\ *)
3585 sed -n \
3586 "s/'\''/'\''\\\\'\'''\''/g;
3587 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3588 ;; #(
3590 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3592 esac |
3593 sort
3595 echo
3597 $as_echo "## ----------------- ##
3598 ## Output variables. ##
3599 ## ----------------- ##"
3600 echo
3601 for ac_var in $ac_subst_vars
3603 eval ac_val=\$$ac_var
3604 case $ac_val in
3605 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3606 esac
3607 $as_echo "$ac_var='\''$ac_val'\''"
3608 done | sort
3609 echo
3611 if test -n "$ac_subst_files"; then
3612 $as_echo "## ------------------- ##
3613 ## File substitutions. ##
3614 ## ------------------- ##"
3615 echo
3616 for ac_var in $ac_subst_files
3618 eval ac_val=\$$ac_var
3619 case $ac_val in
3620 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3621 esac
3622 $as_echo "$ac_var='\''$ac_val'\''"
3623 done | sort
3624 echo
3627 if test -s confdefs.h; then
3628 $as_echo "## ----------- ##
3629 ## confdefs.h. ##
3630 ## ----------- ##"
3631 echo
3632 cat confdefs.h
3633 echo
3635 test "$ac_signal" != 0 &&
3636 $as_echo "$as_me: caught signal $ac_signal"
3637 $as_echo "$as_me: exit $exit_status"
3638 } >&5
3639 rm -f core *.core core.conftest.* &&
3640 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3641 exit $exit_status
3643 for ac_signal in 1 2 13 15; do
3644 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3645 done
3646 ac_signal=0
3648 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3649 rm -f -r conftest* confdefs.h
3651 $as_echo "/* confdefs.h */" > confdefs.h
3653 # Predefined preprocessor variables.
3655 cat >>confdefs.h <<_ACEOF
3656 #define PACKAGE_NAME "$PACKAGE_NAME"
3657 _ACEOF
3659 cat >>confdefs.h <<_ACEOF
3660 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3661 _ACEOF
3663 cat >>confdefs.h <<_ACEOF
3664 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3665 _ACEOF
3667 cat >>confdefs.h <<_ACEOF
3668 #define PACKAGE_STRING "$PACKAGE_STRING"
3669 _ACEOF
3671 cat >>confdefs.h <<_ACEOF
3672 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3673 _ACEOF
3675 cat >>confdefs.h <<_ACEOF
3676 #define PACKAGE_URL "$PACKAGE_URL"
3677 _ACEOF
3680 # Let the site file select an alternate cache file if it wants to.
3681 # Prefer an explicitly selected file to automatically selected ones.
3682 ac_site_file1=NONE
3683 ac_site_file2=NONE
3684 if test -n "$CONFIG_SITE"; then
3685 # We do not want a PATH search for config.site.
3686 case $CONFIG_SITE in #((
3687 -*) ac_site_file1=./$CONFIG_SITE;;
3688 */*) ac_site_file1=$CONFIG_SITE;;
3689 *) ac_site_file1=./$CONFIG_SITE;;
3690 esac
3691 elif test "x$prefix" != xNONE; then
3692 ac_site_file1=$prefix/share/config.site
3693 ac_site_file2=$prefix/etc/config.site
3694 else
3695 ac_site_file1=$ac_default_prefix/share/config.site
3696 ac_site_file2=$ac_default_prefix/etc/config.site
3698 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3700 test "x$ac_site_file" = xNONE && continue
3701 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3703 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3704 sed 's/^/| /' "$ac_site_file" >&5
3705 . "$ac_site_file" \
3706 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3708 as_fn_error $? "failed to load site script $ac_site_file
3709 See \`config.log' for more details" "$LINENO" 5; }
3711 done
3713 if test -r "$cache_file"; then
3714 # Some versions of bash will fail to source /dev/null (special files
3715 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3716 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3718 $as_echo "$as_me: loading cache $cache_file" >&6;}
3719 case $cache_file in
3720 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3721 *) . "./$cache_file";;
3722 esac
3724 else
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3726 $as_echo "$as_me: creating cache $cache_file" >&6;}
3727 >$cache_file
3730 # Check that the precious variables saved in the cache have kept the same
3731 # value.
3732 ac_cache_corrupted=false
3733 for ac_var in $ac_precious_vars; do
3734 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3735 eval ac_new_set=\$ac_env_${ac_var}_set
3736 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3737 eval ac_new_val=\$ac_env_${ac_var}_value
3738 case $ac_old_set,$ac_new_set in
3739 set,)
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3741 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3742 ac_cache_corrupted=: ;;
3743 ,set)
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3745 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3746 ac_cache_corrupted=: ;;
3747 ,);;
3749 if test "x$ac_old_val" != "x$ac_new_val"; then
3750 # differences in whitespace do not lead to failure.
3751 ac_old_val_w=`echo x $ac_old_val`
3752 ac_new_val_w=`echo x $ac_new_val`
3753 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3755 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3756 ac_cache_corrupted=:
3757 else
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3759 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3760 eval $ac_var=\$ac_old_val
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3763 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3765 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3766 fi;;
3767 esac
3768 # Pass precious variables to config.status.
3769 if test "$ac_new_set" = set; then
3770 case $ac_new_val in
3771 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3772 *) ac_arg=$ac_var=$ac_new_val ;;
3773 esac
3774 case " $ac_configure_args " in
3775 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3776 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3777 esac
3779 done
3780 if $ac_cache_corrupted; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3784 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3785 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3787 ## -------------------- ##
3788 ## Main body of script. ##
3789 ## -------------------- ##
3791 ac_ext=c
3792 ac_cpp='$CPP $CPPFLAGS'
3793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3799 ac_config_headers="$ac_config_headers include/config.h"
3801 ac_aux_dir=
3802 for ac_dir in tools "$srcdir"/tools; do
3803 if test -f "$ac_dir/install-sh"; then
3804 ac_aux_dir=$ac_dir
3805 ac_install_sh="$ac_aux_dir/install-sh -c"
3806 break
3807 elif test -f "$ac_dir/install.sh"; then
3808 ac_aux_dir=$ac_dir
3809 ac_install_sh="$ac_aux_dir/install.sh -c"
3810 break
3811 elif test -f "$ac_dir/shtool"; then
3812 ac_aux_dir=$ac_dir
3813 ac_install_sh="$ac_aux_dir/shtool install -c"
3814 break
3816 done
3817 if test -z "$ac_aux_dir"; then
3818 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3821 # These three variables are undocumented and unsupported,
3822 # and are intended to be withdrawn in a future Autoconf release.
3823 # They can cause serious problems if a builder's source tree is in a directory
3824 # whose full name contains unusual characters.
3825 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3826 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3827 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3831 libwine_version="1.0"
3835 # Check whether --enable-win16 was given.
3836 if test "${enable_win16+set}" = set; then :
3837 enableval=$enable_win16;
3840 # Check whether --enable-win64 was given.
3841 if test "${enable_win64+set}" = set; then :
3842 enableval=$enable_win64;
3845 # Check whether --enable-tests was given.
3846 if test "${enable_tests+set}" = set; then :
3847 enableval=$enable_tests;
3850 # Check whether --enable-maintainer-mode was given.
3851 if test "${enable_maintainer_mode+set}" = set; then :
3852 enableval=$enable_maintainer_mode;
3857 # Check whether --with-alsa was given.
3858 if test "${with_alsa+set}" = set; then :
3859 withval=$with_alsa;
3863 # Check whether --with-capi was given.
3864 if test "${with_capi+set}" = set; then :
3865 withval=$with_capi;
3869 # Check whether --with-cms was given.
3870 if test "${with_cms+set}" = set; then :
3871 withval=$with_cms;
3875 # Check whether --with-coreaudio was given.
3876 if test "${with_coreaudio+set}" = set; then :
3877 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3881 # Check whether --with-cups was given.
3882 if test "${with_cups+set}" = set; then :
3883 withval=$with_cups;
3887 # Check whether --with-curses was given.
3888 if test "${with_curses+set}" = set; then :
3889 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3893 # Check whether --with-dbus was given.
3894 if test "${with_dbus+set}" = set; then :
3895 withval=$with_dbus;
3899 # Check whether --with-faudio was given.
3900 if test "${with_faudio+set}" = set; then :
3901 withval=$with_faudio;
3905 # Check whether --with-float-abi was given.
3906 if test "${with_float_abi+set}" = set; then :
3907 withval=$with_float_abi;
3911 # Check whether --with-fontconfig was given.
3912 if test "${with_fontconfig+set}" = set; then :
3913 withval=$with_fontconfig;
3917 # Check whether --with-freetype was given.
3918 if test "${with_freetype+set}" = set; then :
3919 withval=$with_freetype;
3923 # Check whether --with-gettext was given.
3924 if test "${with_gettext+set}" = set; then :
3925 withval=$with_gettext;
3929 # Check whether --with-gettextpo was given.
3930 if test "${with_gettextpo+set}" = set; then :
3931 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3935 # Check whether --with-gphoto was given.
3936 if test "${with_gphoto+set}" = set; then :
3937 withval=$with_gphoto;
3941 # Check whether --with-glu was given.
3942 if test "${with_glu+set}" = set; then :
3943 withval=$with_glu;
3947 # Check whether --with-gnutls was given.
3948 if test "${with_gnutls+set}" = set; then :
3949 withval=$with_gnutls;
3953 # Check whether --with-gsm was given.
3954 if test "${with_gsm+set}" = set; then :
3955 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3959 # Check whether --with-gssapi was given.
3960 if test "${with_gssapi+set}" = set; then :
3961 withval=$with_gssapi;
3965 # Check whether --with-gstreamer was given.
3966 if test "${with_gstreamer+set}" = set; then :
3967 withval=$with_gstreamer;
3971 # Check whether --with-hal was given.
3972 if test "${with_hal+set}" = set; then :
3973 withval=$with_hal;
3977 # Check whether --with-inotify was given.
3978 if test "${with_inotify+set}" = set; then :
3979 withval=$with_inotify;
3983 # Check whether --with-jpeg was given.
3984 if test "${with_jpeg+set}" = set; then :
3985 withval=$with_jpeg;
3989 # Check whether --with-krb5 was given.
3990 if test "${with_krb5+set}" = set; then :
3991 withval=$with_krb5;
3995 # Check whether --with-ldap was given.
3996 if test "${with_ldap+set}" = set; then :
3997 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4001 # Check whether --with-mingw was given.
4002 if test "${with_mingw+set}" = set; then :
4003 withval=$with_mingw;
4007 # Check whether --with-mpg123 was given.
4008 if test "${with_mpg123+set}" = set; then :
4009 withval=$with_mpg123;
4013 # Check whether --with-netapi was given.
4014 if test "${with_netapi+set}" = set; then :
4015 withval=$with_netapi;
4019 # Check whether --with-openal was given.
4020 if test "${with_openal+set}" = set; then :
4021 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4025 # Check whether --with-opencl was given.
4026 if test "${with_opencl+set}" = set; then :
4027 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4031 # Check whether --with-opengl was given.
4032 if test "${with_opengl+set}" = set; then :
4033 withval=$with_opengl;
4037 # Check whether --with-osmesa was given.
4038 if test "${with_osmesa+set}" = set; then :
4039 withval=$with_osmesa;
4043 # Check whether --with-oss was given.
4044 if test "${with_oss+set}" = set; then :
4045 withval=$with_oss;
4049 # Check whether --with-pcap was given.
4050 if test "${with_pcap+set}" = set; then :
4051 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4055 # Check whether --with-png was given.
4056 if test "${with_png+set}" = set; then :
4057 withval=$with_png;
4061 # Check whether --with-pthread was given.
4062 if test "${with_pthread+set}" = set; then :
4063 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4067 # Check whether --with-pulse was given.
4068 if test "${with_pulse+set}" = set; then :
4069 withval=$with_pulse;
4073 # Check whether --with-sane was given.
4074 if test "${with_sane+set}" = set; then :
4075 withval=$with_sane;
4079 # Check whether --with-sdl was given.
4080 if test "${with_sdl+set}" = set; then :
4081 withval=$with_sdl;
4085 # Check whether --with-tiff was given.
4086 if test "${with_tiff+set}" = set; then :
4087 withval=$with_tiff;
4091 # Check whether --with-udev was given.
4092 if test "${with_udev+set}" = set; then :
4093 withval=$with_udev;
4097 # Check whether --with-unwind was given.
4098 if test "${with_unwind+set}" = set; then :
4099 withval=$with_unwind;
4103 # Check whether --with-v4l2 was given.
4104 if test "${with_v4l2+set}" = set; then :
4105 withval=$with_v4l2;
4109 # Check whether --with-vkd3d was given.
4110 if test "${with_vkd3d+set}" = set; then :
4111 withval=$with_vkd3d;
4115 # Check whether --with-vulkan was given.
4116 if test "${with_vulkan+set}" = set; then :
4117 withval=$with_vulkan;
4121 # Check whether --with-xcomposite was given.
4122 if test "${with_xcomposite+set}" = set; then :
4123 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4127 # Check whether --with-xcursor was given.
4128 if test "${with_xcursor+set}" = set; then :
4129 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4133 # Check whether --with-xfixes was given.
4134 if test "${with_xfixes+set}" = set; then :
4135 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4139 # Check whether --with-xinerama was given.
4140 if test "${with_xinerama+set}" = set; then :
4141 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4145 # Check whether --with-xinput was given.
4146 if test "${with_xinput+set}" = set; then :
4147 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4151 # Check whether --with-xinput2 was given.
4152 if test "${with_xinput2+set}" = set; then :
4153 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4157 # Check whether --with-xml was given.
4158 if test "${with_xml+set}" = set; then :
4159 withval=$with_xml;
4163 # Check whether --with-xrandr was given.
4164 if test "${with_xrandr+set}" = set; then :
4165 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4169 # Check whether --with-xrender was given.
4170 if test "${with_xrender+set}" = set; then :
4171 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4175 # Check whether --with-xshape was given.
4176 if test "${with_xshape+set}" = set; then :
4177 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4181 # Check whether --with-xshm was given.
4182 if test "${with_xshm+set}" = set; then :
4183 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4187 # Check whether --with-xslt was given.
4188 if test "${with_xslt+set}" = set; then :
4189 withval=$with_xslt;
4193 # Check whether --with-xxf86vm was given.
4194 if test "${with_xxf86vm+set}" = set; then :
4195 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
4199 # Check whether --with-zlib was given.
4200 if test "${with_zlib+set}" = set; then :
4201 withval=$with_zlib;
4206 # Check whether --with-wine-tools was given.
4207 if test "${with_wine_tools+set}" = set; then :
4208 withval=$with_wine_tools;
4212 # Check whether --with-wine64 was given.
4213 if test "${with_wine64+set}" = set; then :
4214 withval=$with_wine64;
4218 # Make sure we can run config.sub.
4219 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4220 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4223 $as_echo_n "checking build system type... " >&6; }
4224 if ${ac_cv_build+:} false; then :
4225 $as_echo_n "(cached) " >&6
4226 else
4227 ac_build_alias=$build_alias
4228 test "x$ac_build_alias" = x &&
4229 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4230 test "x$ac_build_alias" = x &&
4231 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4232 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4233 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4237 $as_echo "$ac_cv_build" >&6; }
4238 case $ac_cv_build in
4239 *-*-*) ;;
4240 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4241 esac
4242 build=$ac_cv_build
4243 ac_save_IFS=$IFS; IFS='-'
4244 set x $ac_cv_build
4245 shift
4246 build_cpu=$1
4247 build_vendor=$2
4248 shift; shift
4249 # Remember, the first character of IFS is used to create $*,
4250 # except with old shells:
4251 build_os=$*
4252 IFS=$ac_save_IFS
4253 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4257 $as_echo_n "checking host system type... " >&6; }
4258 if ${ac_cv_host+:} false; then :
4259 $as_echo_n "(cached) " >&6
4260 else
4261 if test "x$host_alias" = x; then
4262 ac_cv_host=$ac_cv_build
4263 else
4264 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4265 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4270 $as_echo "$ac_cv_host" >&6; }
4271 case $ac_cv_host in
4272 *-*-*) ;;
4273 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4274 esac
4275 host=$ac_cv_host
4276 ac_save_IFS=$IFS; IFS='-'
4277 set x $ac_cv_host
4278 shift
4279 host_cpu=$1
4280 host_vendor=$2
4281 shift; shift
4282 # Remember, the first character of IFS is used to create $*,
4283 # except with old shells:
4284 host_os=$*
4285 IFS=$ac_save_IFS
4286 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4290 case "$srcdir" in
4291 .) ;;
4292 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4293 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4294 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4295 fi ;;
4296 esac
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4300 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4301 set x ${MAKE-make}
4302 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4303 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4304 $as_echo_n "(cached) " >&6
4305 else
4306 cat >conftest.make <<\_ACEOF
4307 SHELL = /bin/sh
4308 all:
4309 @echo '@@@%%%=$(MAKE)=@@@%%%'
4310 _ACEOF
4311 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4312 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4313 *@@@%%%=?*=@@@%%%*)
4314 eval ac_cv_prog_make_${ac_make}_set=yes;;
4316 eval ac_cv_prog_make_${ac_make}_set=no;;
4317 esac
4318 rm -f conftest.make
4320 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4322 $as_echo "yes" >&6; }
4323 SET_MAKE=
4324 else
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326 $as_echo "no" >&6; }
4327 SET_MAKE="MAKE=${MAKE-make}"
4330 ac_ext=c
4331 ac_cpp='$CPP $CPPFLAGS'
4332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4335 if test -n "$ac_tool_prefix"; then
4336 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4337 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4339 $as_echo_n "checking for $ac_word... " >&6; }
4340 if ${ac_cv_prog_CC+:} false; then :
4341 $as_echo_n "(cached) " >&6
4342 else
4343 if test -n "$CC"; then
4344 ac_cv_prog_CC="$CC" # Let the user override the test.
4345 else
4346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4347 for as_dir in $PATH
4349 IFS=$as_save_IFS
4350 test -z "$as_dir" && as_dir=.
4351 for ac_exec_ext in '' $ac_executable_extensions; do
4352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4353 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4355 break 2
4357 done
4358 done
4359 IFS=$as_save_IFS
4363 CC=$ac_cv_prog_CC
4364 if test -n "$CC"; then
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4366 $as_echo "$CC" >&6; }
4367 else
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4369 $as_echo "no" >&6; }
4374 if test -z "$ac_cv_prog_CC"; then
4375 ac_ct_CC=$CC
4376 # Extract the first word of "gcc", so it can be a program name with args.
4377 set dummy gcc; ac_word=$2
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4379 $as_echo_n "checking for $ac_word... " >&6; }
4380 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4381 $as_echo_n "(cached) " >&6
4382 else
4383 if test -n "$ac_ct_CC"; then
4384 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4385 else
4386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387 for as_dir in $PATH
4389 IFS=$as_save_IFS
4390 test -z "$as_dir" && as_dir=.
4391 for ac_exec_ext in '' $ac_executable_extensions; do
4392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4393 ac_cv_prog_ac_ct_CC="gcc"
4394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4395 break 2
4397 done
4398 done
4399 IFS=$as_save_IFS
4403 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4404 if test -n "$ac_ct_CC"; then
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4406 $as_echo "$ac_ct_CC" >&6; }
4407 else
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4409 $as_echo "no" >&6; }
4412 if test "x$ac_ct_CC" = x; then
4413 CC=""
4414 else
4415 case $cross_compiling:$ac_tool_warned in
4416 yes:)
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4419 ac_tool_warned=yes ;;
4420 esac
4421 CC=$ac_ct_CC
4423 else
4424 CC="$ac_cv_prog_CC"
4427 if test -z "$CC"; then
4428 if test -n "$ac_tool_prefix"; then
4429 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4430 set dummy ${ac_tool_prefix}cc; ac_word=$2
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4432 $as_echo_n "checking for $ac_word... " >&6; }
4433 if ${ac_cv_prog_CC+:} false; then :
4434 $as_echo_n "(cached) " >&6
4435 else
4436 if test -n "$CC"; then
4437 ac_cv_prog_CC="$CC" # Let the user override the test.
4438 else
4439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440 for as_dir in $PATH
4442 IFS=$as_save_IFS
4443 test -z "$as_dir" && as_dir=.
4444 for ac_exec_ext in '' $ac_executable_extensions; do
4445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4446 ac_cv_prog_CC="${ac_tool_prefix}cc"
4447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 break 2
4450 done
4451 done
4452 IFS=$as_save_IFS
4456 CC=$ac_cv_prog_CC
4457 if test -n "$CC"; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4459 $as_echo "$CC" >&6; }
4460 else
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462 $as_echo "no" >&6; }
4468 if test -z "$CC"; then
4469 # Extract the first word of "cc", so it can be a program name with args.
4470 set dummy cc; ac_word=$2
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if ${ac_cv_prog_CC+:} false; then :
4474 $as_echo_n "(cached) " >&6
4475 else
4476 if test -n "$CC"; then
4477 ac_cv_prog_CC="$CC" # Let the user override the test.
4478 else
4479 ac_prog_rejected=no
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH
4483 IFS=$as_save_IFS
4484 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4488 ac_prog_rejected=yes
4489 continue
4491 ac_cv_prog_CC="cc"
4492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 break 2
4495 done
4496 done
4497 IFS=$as_save_IFS
4499 if test $ac_prog_rejected = yes; then
4500 # We found a bogon in the path, so make sure we never use it.
4501 set dummy $ac_cv_prog_CC
4502 shift
4503 if test $# != 0; then
4504 # We chose a different compiler from the bogus one.
4505 # However, it has the same basename, so the bogon will be chosen
4506 # first if we set CC to just the basename; use the full file name.
4507 shift
4508 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4513 CC=$ac_cv_prog_CC
4514 if test -n "$CC"; then
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4516 $as_echo "$CC" >&6; }
4517 else
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4519 $as_echo "no" >&6; }
4524 if test -z "$CC"; then
4525 if test -n "$ac_tool_prefix"; then
4526 for ac_prog in cl.exe
4528 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4529 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4531 $as_echo_n "checking for $ac_word... " >&6; }
4532 if ${ac_cv_prog_CC+:} false; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 if test -n "$CC"; then
4536 ac_cv_prog_CC="$CC" # Let the user override the test.
4537 else
4538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4539 for as_dir in $PATH
4541 IFS=$as_save_IFS
4542 test -z "$as_dir" && as_dir=.
4543 for ac_exec_ext in '' $ac_executable_extensions; do
4544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4545 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4547 break 2
4549 done
4550 done
4551 IFS=$as_save_IFS
4555 CC=$ac_cv_prog_CC
4556 if test -n "$CC"; then
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4558 $as_echo "$CC" >&6; }
4559 else
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4561 $as_echo "no" >&6; }
4565 test -n "$CC" && break
4566 done
4568 if test -z "$CC"; then
4569 ac_ct_CC=$CC
4570 for ac_prog in cl.exe
4572 # Extract the first word of "$ac_prog", so it can be a program name with args.
4573 set dummy $ac_prog; ac_word=$2
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4575 $as_echo_n "checking for $ac_word... " >&6; }
4576 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4577 $as_echo_n "(cached) " >&6
4578 else
4579 if test -n "$ac_ct_CC"; then
4580 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4581 else
4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4583 for as_dir in $PATH
4585 IFS=$as_save_IFS
4586 test -z "$as_dir" && as_dir=.
4587 for ac_exec_ext in '' $ac_executable_extensions; do
4588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4589 ac_cv_prog_ac_ct_CC="$ac_prog"
4590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4591 break 2
4593 done
4594 done
4595 IFS=$as_save_IFS
4599 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4600 if test -n "$ac_ct_CC"; then
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4602 $as_echo "$ac_ct_CC" >&6; }
4603 else
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4605 $as_echo "no" >&6; }
4609 test -n "$ac_ct_CC" && break
4610 done
4612 if test "x$ac_ct_CC" = x; then
4613 CC=""
4614 else
4615 case $cross_compiling:$ac_tool_warned in
4616 yes:)
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4619 ac_tool_warned=yes ;;
4620 esac
4621 CC=$ac_ct_CC
4628 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4630 as_fn_error $? "no acceptable C compiler found in \$PATH
4631 See \`config.log' for more details" "$LINENO" 5; }
4633 # Provide some information about the compiler.
4634 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4635 set X $ac_compile
4636 ac_compiler=$2
4637 for ac_option in --version -v -V -qversion; do
4638 { { ac_try="$ac_compiler $ac_option >&5"
4639 case "(($ac_try" in
4640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4641 *) ac_try_echo=$ac_try;;
4642 esac
4643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4644 $as_echo "$ac_try_echo"; } >&5
4645 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4646 ac_status=$?
4647 if test -s conftest.err; then
4648 sed '10a\
4649 ... rest of stderr output deleted ...
4650 10q' conftest.err >conftest.er1
4651 cat conftest.er1 >&5
4653 rm -f conftest.er1 conftest.err
4654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4655 test $ac_status = 0; }
4656 done
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4662 main ()
4666 return 0;
4668 _ACEOF
4669 ac_clean_files_save=$ac_clean_files
4670 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4671 # Try to create an executable without -o first, disregard a.out.
4672 # It will help us diagnose broken compilers, and finding out an intuition
4673 # of exeext.
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4675 $as_echo_n "checking whether the C compiler works... " >&6; }
4676 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4678 # The possible output files:
4679 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4681 ac_rmfiles=
4682 for ac_file in $ac_files
4684 case $ac_file in
4685 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4686 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4687 esac
4688 done
4689 rm -f $ac_rmfiles
4691 if { { ac_try="$ac_link_default"
4692 case "(($ac_try" in
4693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4694 *) ac_try_echo=$ac_try;;
4695 esac
4696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4697 $as_echo "$ac_try_echo"; } >&5
4698 (eval "$ac_link_default") 2>&5
4699 ac_status=$?
4700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4701 test $ac_status = 0; }; then :
4702 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4703 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4704 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4705 # so that the user can short-circuit this test for compilers unknown to
4706 # Autoconf.
4707 for ac_file in $ac_files ''
4709 test -f "$ac_file" || continue
4710 case $ac_file in
4711 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4713 [ab].out )
4714 # We found the default executable, but exeext='' is most
4715 # certainly right.
4716 break;;
4717 *.* )
4718 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4719 then :; else
4720 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4722 # We set ac_cv_exeext here because the later test for it is not
4723 # safe: cross compilers may not add the suffix if given an `-o'
4724 # argument, so we may need to know it at that point already.
4725 # Even if this section looks crufty: it has the advantage of
4726 # actually working.
4727 break;;
4729 break;;
4730 esac
4731 done
4732 test "$ac_cv_exeext" = no && ac_cv_exeext=
4734 else
4735 ac_file=''
4737 if test -z "$ac_file"; then :
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4740 $as_echo "$as_me: failed program was:" >&5
4741 sed 's/^/| /' conftest.$ac_ext >&5
4743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4745 as_fn_error 77 "C compiler cannot create executables
4746 See \`config.log' for more details" "$LINENO" 5; }
4747 else
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4749 $as_echo "yes" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4752 $as_echo_n "checking for C compiler default output file name... " >&6; }
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4754 $as_echo "$ac_file" >&6; }
4755 ac_exeext=$ac_cv_exeext
4757 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4758 ac_clean_files=$ac_clean_files_save
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4760 $as_echo_n "checking for suffix of executables... " >&6; }
4761 if { { ac_try="$ac_link"
4762 case "(($ac_try" in
4763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4764 *) ac_try_echo=$ac_try;;
4765 esac
4766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4767 $as_echo "$ac_try_echo"; } >&5
4768 (eval "$ac_link") 2>&5
4769 ac_status=$?
4770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4771 test $ac_status = 0; }; then :
4772 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4773 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4774 # work properly (i.e., refer to `conftest.exe'), while it won't with
4775 # `rm'.
4776 for ac_file in conftest.exe conftest conftest.*; do
4777 test -f "$ac_file" || continue
4778 case $ac_file in
4779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4780 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4781 break;;
4782 * ) break;;
4783 esac
4784 done
4785 else
4786 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4788 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4789 See \`config.log' for more details" "$LINENO" 5; }
4791 rm -f conftest conftest$ac_cv_exeext
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4793 $as_echo "$ac_cv_exeext" >&6; }
4795 rm -f conftest.$ac_ext
4796 EXEEXT=$ac_cv_exeext
4797 ac_exeext=$EXEEXT
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4800 #include <stdio.h>
4802 main ()
4804 FILE *f = fopen ("conftest.out", "w");
4805 return ferror (f) || fclose (f) != 0;
4808 return 0;
4810 _ACEOF
4811 ac_clean_files="$ac_clean_files conftest.out"
4812 # Check that the compiler produces executables we can run. If not, either
4813 # the compiler is broken, or we cross compile.
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4815 $as_echo_n "checking whether we are cross compiling... " >&6; }
4816 if test "$cross_compiling" != yes; then
4817 { { ac_try="$ac_link"
4818 case "(($ac_try" in
4819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4820 *) ac_try_echo=$ac_try;;
4821 esac
4822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4823 $as_echo "$ac_try_echo"; } >&5
4824 (eval "$ac_link") 2>&5
4825 ac_status=$?
4826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4827 test $ac_status = 0; }
4828 if { ac_try='./conftest$ac_cv_exeext'
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_try") 2>&5
4836 ac_status=$?
4837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4838 test $ac_status = 0; }; }; then
4839 cross_compiling=no
4840 else
4841 if test "$cross_compiling" = maybe; then
4842 cross_compiling=yes
4843 else
4844 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4846 as_fn_error $? "cannot run C compiled programs.
4847 If you meant to cross compile, use \`--host'.
4848 See \`config.log' for more details" "$LINENO" 5; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4853 $as_echo "$cross_compiling" >&6; }
4855 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4856 ac_clean_files=$ac_clean_files_save
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4858 $as_echo_n "checking for suffix of object files... " >&6; }
4859 if ${ac_cv_objext+:} false; then :
4860 $as_echo_n "(cached) " >&6
4861 else
4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4866 main ()
4870 return 0;
4872 _ACEOF
4873 rm -f conftest.o conftest.obj
4874 if { { ac_try="$ac_compile"
4875 case "(($ac_try" in
4876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4877 *) ac_try_echo=$ac_try;;
4878 esac
4879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4880 $as_echo "$ac_try_echo"; } >&5
4881 (eval "$ac_compile") 2>&5
4882 ac_status=$?
4883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4884 test $ac_status = 0; }; then :
4885 for ac_file in conftest.o conftest.obj conftest.*; do
4886 test -f "$ac_file" || continue;
4887 case $ac_file in
4888 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4889 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4890 break;;
4891 esac
4892 done
4893 else
4894 $as_echo "$as_me: failed program was:" >&5
4895 sed 's/^/| /' conftest.$ac_ext >&5
4897 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4899 as_fn_error $? "cannot compute suffix of object files: cannot compile
4900 See \`config.log' for more details" "$LINENO" 5; }
4902 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4905 $as_echo "$ac_cv_objext" >&6; }
4906 OBJEXT=$ac_cv_objext
4907 ac_objext=$OBJEXT
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4909 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4910 if ${ac_cv_c_compiler_gnu+:} false; then :
4911 $as_echo_n "(cached) " >&6
4912 else
4913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h. */
4917 main ()
4919 #ifndef __GNUC__
4920 choke me
4921 #endif
4924 return 0;
4926 _ACEOF
4927 if ac_fn_c_try_compile "$LINENO"; then :
4928 ac_compiler_gnu=yes
4929 else
4930 ac_compiler_gnu=no
4932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4933 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4937 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4938 if test $ac_compiler_gnu = yes; then
4939 GCC=yes
4940 else
4941 GCC=
4943 ac_test_CFLAGS=${CFLAGS+set}
4944 ac_save_CFLAGS=$CFLAGS
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4946 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4947 if ${ac_cv_prog_cc_g+:} false; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 ac_save_c_werror_flag=$ac_c_werror_flag
4951 ac_c_werror_flag=yes
4952 ac_cv_prog_cc_g=no
4953 CFLAGS="-g"
4954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4958 main ()
4962 return 0;
4964 _ACEOF
4965 if ac_fn_c_try_compile "$LINENO"; then :
4966 ac_cv_prog_cc_g=yes
4967 else
4968 CFLAGS=""
4969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4973 main ()
4977 return 0;
4979 _ACEOF
4980 if ac_fn_c_try_compile "$LINENO"; then :
4982 else
4983 ac_c_werror_flag=$ac_save_c_werror_flag
4984 CFLAGS="-g"
4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4986 /* end confdefs.h. */
4989 main ()
4993 return 0;
4995 _ACEOF
4996 if ac_fn_c_try_compile "$LINENO"; then :
4997 ac_cv_prog_cc_g=yes
4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5004 ac_c_werror_flag=$ac_save_c_werror_flag
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5007 $as_echo "$ac_cv_prog_cc_g" >&6; }
5008 if test "$ac_test_CFLAGS" = set; then
5009 CFLAGS=$ac_save_CFLAGS
5010 elif test $ac_cv_prog_cc_g = yes; then
5011 if test "$GCC" = yes; then
5012 CFLAGS="-g -O2"
5013 else
5014 CFLAGS="-g"
5016 else
5017 if test "$GCC" = yes; then
5018 CFLAGS="-O2"
5019 else
5020 CFLAGS=
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5024 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5025 if ${ac_cv_prog_cc_c89+:} false; then :
5026 $as_echo_n "(cached) " >&6
5027 else
5028 ac_cv_prog_cc_c89=no
5029 ac_save_CC=$CC
5030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5031 /* end confdefs.h. */
5032 #include <stdarg.h>
5033 #include <stdio.h>
5034 struct stat;
5035 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5036 struct buf { int x; };
5037 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5038 static char *e (p, i)
5039 char **p;
5040 int i;
5042 return p[i];
5044 static char *f (char * (*g) (char **, int), char **p, ...)
5046 char *s;
5047 va_list v;
5048 va_start (v,p);
5049 s = g (p, va_arg (v,int));
5050 va_end (v);
5051 return s;
5054 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5055 function prototypes and stuff, but not '\xHH' hex character constants.
5056 These don't provoke an error unfortunately, instead are silently treated
5057 as 'x'. The following induces an error, until -std is added to get
5058 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5059 array size at least. It's necessary to write '\x00'==0 to get something
5060 that's true only with -std. */
5061 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5063 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5064 inside strings and character constants. */
5065 #define FOO(x) 'x'
5066 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5068 int test (int i, double x);
5069 struct s1 {int (*f) (int a);};
5070 struct s2 {int (*f) (double a);};
5071 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5072 int argc;
5073 char **argv;
5075 main ()
5077 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5079 return 0;
5081 _ACEOF
5082 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5083 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5085 CC="$ac_save_CC $ac_arg"
5086 if ac_fn_c_try_compile "$LINENO"; then :
5087 ac_cv_prog_cc_c89=$ac_arg
5089 rm -f core conftest.err conftest.$ac_objext
5090 test "x$ac_cv_prog_cc_c89" != "xno" && break
5091 done
5092 rm -f conftest.$ac_ext
5093 CC=$ac_save_CC
5096 # AC_CACHE_VAL
5097 case "x$ac_cv_prog_cc_c89" in
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5100 $as_echo "none needed" >&6; } ;;
5101 xno)
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5103 $as_echo "unsupported" >&6; } ;;
5105 CC="$CC $ac_cv_prog_cc_c89"
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5107 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5108 esac
5109 if test "x$ac_cv_prog_cc_c89" != xno; then :
5113 ac_ext=c
5114 ac_cpp='$CPP $CPPFLAGS'
5115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5119 ac_ext=cpp
5120 ac_cpp='$CXXCPP $CPPFLAGS'
5121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5124 if test -z "$CXX"; then
5125 if test -n "$CCC"; then
5126 CXX=$CCC
5127 else
5128 if test -n "$ac_tool_prefix"; then
5129 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_CXX+:} false; then :
5136 $as_echo_n "(cached) " >&6
5137 else
5138 if test -n "$CXX"; then
5139 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5140 else
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142 for as_dir in $PATH
5144 IFS=$as_save_IFS
5145 test -z "$as_dir" && as_dir=.
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 break 2
5152 done
5153 done
5154 IFS=$as_save_IFS
5158 CXX=$ac_cv_prog_CXX
5159 if test -n "$CXX"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5161 $as_echo "$CXX" >&6; }
5162 else
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5168 test -n "$CXX" && break
5169 done
5171 if test -z "$CXX"; then
5172 ac_ct_CXX=$CXX
5173 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5175 # Extract the first word of "$ac_prog", so it can be a program name with args.
5176 set dummy $ac_prog; ac_word=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5180 $as_echo_n "(cached) " >&6
5181 else
5182 if test -n "$ac_ct_CXX"; then
5183 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5184 else
5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5186 for as_dir in $PATH
5188 IFS=$as_save_IFS
5189 test -z "$as_dir" && as_dir=.
5190 for ac_exec_ext in '' $ac_executable_extensions; do
5191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5192 ac_cv_prog_ac_ct_CXX="$ac_prog"
5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5194 break 2
5196 done
5197 done
5198 IFS=$as_save_IFS
5202 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5203 if test -n "$ac_ct_CXX"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5205 $as_echo "$ac_ct_CXX" >&6; }
5206 else
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5212 test -n "$ac_ct_CXX" && break
5213 done
5215 if test "x$ac_ct_CXX" = x; then
5216 CXX="g++"
5217 else
5218 case $cross_compiling:$ac_tool_warned in
5219 yes:)
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5222 ac_tool_warned=yes ;;
5223 esac
5224 CXX=$ac_ct_CXX
5230 # Provide some information about the compiler.
5231 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5232 set X $ac_compile
5233 ac_compiler=$2
5234 for ac_option in --version -v -V -qversion; do
5235 { { ac_try="$ac_compiler $ac_option >&5"
5236 case "(($ac_try" in
5237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5238 *) ac_try_echo=$ac_try;;
5239 esac
5240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5241 $as_echo "$ac_try_echo"; } >&5
5242 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5243 ac_status=$?
5244 if test -s conftest.err; then
5245 sed '10a\
5246 ... rest of stderr output deleted ...
5247 10q' conftest.err >conftest.er1
5248 cat conftest.er1 >&5
5250 rm -f conftest.er1 conftest.err
5251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5252 test $ac_status = 0; }
5253 done
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5256 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5257 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5258 $as_echo_n "(cached) " >&6
5259 else
5260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5261 /* end confdefs.h. */
5264 main ()
5266 #ifndef __GNUC__
5267 choke me
5268 #endif
5271 return 0;
5273 _ACEOF
5274 if ac_fn_cxx_try_compile "$LINENO"; then :
5275 ac_compiler_gnu=yes
5276 else
5277 ac_compiler_gnu=no
5279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5280 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5284 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5285 if test $ac_compiler_gnu = yes; then
5286 GXX=yes
5287 else
5288 GXX=
5290 ac_test_CXXFLAGS=${CXXFLAGS+set}
5291 ac_save_CXXFLAGS=$CXXFLAGS
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5293 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5294 if ${ac_cv_prog_cxx_g+:} false; then :
5295 $as_echo_n "(cached) " >&6
5296 else
5297 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5298 ac_cxx_werror_flag=yes
5299 ac_cv_prog_cxx_g=no
5300 CXXFLAGS="-g"
5301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5302 /* end confdefs.h. */
5305 main ()
5309 return 0;
5311 _ACEOF
5312 if ac_fn_cxx_try_compile "$LINENO"; then :
5313 ac_cv_prog_cxx_g=yes
5314 else
5315 CXXFLAGS=""
5316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5320 main ()
5324 return 0;
5326 _ACEOF
5327 if ac_fn_cxx_try_compile "$LINENO"; then :
5329 else
5330 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5331 CXXFLAGS="-g"
5332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333 /* end confdefs.h. */
5336 main ()
5340 return 0;
5342 _ACEOF
5343 if ac_fn_cxx_try_compile "$LINENO"; then :
5344 ac_cv_prog_cxx_g=yes
5346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5351 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5354 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5355 if test "$ac_test_CXXFLAGS" = set; then
5356 CXXFLAGS=$ac_save_CXXFLAGS
5357 elif test $ac_cv_prog_cxx_g = yes; then
5358 if test "$GXX" = yes; then
5359 CXXFLAGS="-g -O2"
5360 else
5361 CXXFLAGS="-g"
5363 else
5364 if test "$GXX" = yes; then
5365 CXXFLAGS="-O2"
5366 else
5367 CXXFLAGS=
5370 ac_ext=c
5371 ac_cpp='$CPP $CPPFLAGS'
5372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5376 if test -n "$ac_tool_prefix"; then
5377 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5378 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if ${ac_cv_prog_CPPBIN+:} false; then :
5382 $as_echo_n "(cached) " >&6
5383 else
5384 if test -n "$CPPBIN"; then
5385 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5386 else
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 for as_dir in $PATH
5390 IFS=$as_save_IFS
5391 test -z "$as_dir" && as_dir=.
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5394 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 break 2
5398 done
5399 done
5400 IFS=$as_save_IFS
5404 CPPBIN=$ac_cv_prog_CPPBIN
5405 if test -n "$CPPBIN"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5407 $as_echo "$CPPBIN" >&6; }
5408 else
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5415 if test -z "$ac_cv_prog_CPPBIN"; then
5416 ac_ct_CPPBIN=$CPPBIN
5417 # Extract the first word of "cpp", so it can be a program name with args.
5418 set dummy cpp; ac_word=$2
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5420 $as_echo_n "checking for $ac_word... " >&6; }
5421 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 if test -n "$ac_ct_CPPBIN"; then
5425 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5426 else
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 for ac_exec_ext in '' $ac_executable_extensions; do
5433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5434 ac_cv_prog_ac_ct_CPPBIN="cpp"
5435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 break 2
5438 done
5439 done
5440 IFS=$as_save_IFS
5444 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5445 if test -n "$ac_ct_CPPBIN"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5447 $as_echo "$ac_ct_CPPBIN" >&6; }
5448 else
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5453 if test "x$ac_ct_CPPBIN" = x; then
5454 CPPBIN="cpp"
5455 else
5456 case $cross_compiling:$ac_tool_warned in
5457 yes:)
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5460 ac_tool_warned=yes ;;
5461 esac
5462 CPPBIN=$ac_ct_CPPBIN
5464 else
5465 CPPBIN="$ac_cv_prog_CPPBIN"
5469 cat >>confdefs.h <<_ACEOF
5470 #define EXEEXT "$ac_exeext"
5471 _ACEOF
5473 if test -n "$ac_tool_prefix"; then
5474 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5475 set dummy ${ac_tool_prefix}ld; ac_word=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if ${ac_cv_prog_LD+:} false; then :
5479 $as_echo_n "(cached) " >&6
5480 else
5481 if test -n "$LD"; then
5482 ac_cv_prog_LD="$LD" # Let the user override the test.
5483 else
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5491 ac_cv_prog_LD="${ac_tool_prefix}ld"
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 break 2
5495 done
5496 done
5497 IFS=$as_save_IFS
5501 LD=$ac_cv_prog_LD
5502 if test -n "$LD"; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5504 $as_echo "$LD" >&6; }
5505 else
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5512 if test -z "$ac_cv_prog_LD"; then
5513 ac_ct_LD=$LD
5514 # Extract the first word of "ld", so it can be a program name with args.
5515 set dummy ld; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5519 $as_echo_n "(cached) " >&6
5520 else
5521 if test -n "$ac_ct_LD"; then
5522 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5523 else
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 for as_dir in $PATH
5527 IFS=$as_save_IFS
5528 test -z "$as_dir" && as_dir=.
5529 for ac_exec_ext in '' $ac_executable_extensions; do
5530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5531 ac_cv_prog_ac_ct_LD="ld"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533 break 2
5535 done
5536 done
5537 IFS=$as_save_IFS
5541 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5542 if test -n "$ac_ct_LD"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5544 $as_echo "$ac_ct_LD" >&6; }
5545 else
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5550 if test "x$ac_ct_LD" = x; then
5551 LD=""
5552 else
5553 case $cross_compiling:$ac_tool_warned in
5554 yes:)
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5557 ac_tool_warned=yes ;;
5558 esac
5559 LD=$ac_ct_LD
5561 else
5562 LD="$ac_cv_prog_LD"
5566 case $host in
5567 *-darwin*)
5568 with_fontconfig=${with_fontconfig:-no}
5570 *-mingw32*|*-cygwin*)
5571 enable_win16=${enable_win16:-no}
5572 with_mingw=${with_mingw:-no}
5573 CFLAGS="$CFLAGS -D_WIN32"
5575 esac
5577 case $host in
5578 x86_64*|amd64*)
5579 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5580 then
5581 CC="$CC -m32"
5582 CXX="$CXX -m32"
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5585 $as_echo_n "checking whether $CC works... " >&6; }
5586 if ${wine_cv_cc_m32+:} false; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5590 /* end confdefs.h. */
5593 main ()
5597 return 0;
5599 _ACEOF
5600 if ac_fn_c_try_link "$LINENO"; then :
5601 wine_cv_cc_m32=yes
5602 else
5603 wine_cv_cc_m32=no
5605 rm -f core conftest.err conftest.$ac_objext \
5606 conftest$ac_exeext conftest.$ac_ext
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5609 $as_echo "$wine_cv_cc_m32" >&6; }
5610 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
5611 host_cpu="i386"
5612 notice_platform="32-bit "
5613 TARGETFLAGS="-m32"
5615 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5616 export PKG_CONFIG_PATH
5617 enable_win16=${enable_win16:-yes}
5618 with_unwind=${with_unwind:-no}
5619 else
5620 if test "x${GCC}" = "xyes"
5621 then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5623 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5624 if ${wine_cv_builtin_ms_va_list+:} false; then :
5625 $as_echo_n "(cached) " >&6
5626 else
5627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5628 /* end confdefs.h. */
5629 #include <stdarg.h>
5631 main ()
5633 void func(__builtin_ms_va_list *args);
5635 return 0;
5637 _ACEOF
5638 if ac_fn_c_try_compile "$LINENO"; then :
5639 wine_cv_builtin_ms_va_list=yes
5640 else
5641 wine_cv_builtin_ms_va_list=no
5643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5646 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5647 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
5649 CC="$CC -m64"
5650 CXX="$CXX -m64"
5651 host_cpu="x86_64"
5652 notice_platform="64-bit "
5653 TARGETFLAGS="-m64"
5657 arm*)
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5659 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5660 if ${wine_cv_thumb+:} false; then :
5661 $as_echo_n "(cached) " >&6
5662 else
5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5665 int ac_test(int i) { return i; }
5667 main ()
5669 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5671 return 0;
5673 _ACEOF
5674 if ac_fn_c_try_link "$LINENO"; then :
5675 wine_cv_thumb=yes
5676 else
5677 wine_cv_thumb=no
5679 rm -f core conftest.err conftest.$ac_objext \
5680 conftest$ac_exeext conftest.$ac_ext
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5683 $as_echo "$wine_cv_thumb" >&6; }
5684 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5685 case $with_float_abi in
5686 soft|softfp|hard)
5687 float_abi=$with_float_abi ;;
5689 case $host_os in
5690 *eabihf)
5691 float_abi=hard ;;
5693 float_abi=softfp
5694 saved_CFLAGS=$CFLAGS
5695 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5697 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5698 if ${wine_cv_float_abi+:} false; then :
5699 $as_echo_n "(cached) " >&6
5700 else
5701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5702 /* end confdefs.h. */
5705 main ()
5707 asm("vmrs r2,fpscr");
5709 return 0;
5711 _ACEOF
5712 if ac_fn_c_try_link "$LINENO"; then :
5713 wine_cv_float_abi=yes
5714 else
5715 wine_cv_float_abi=no
5717 rm -f core conftest.err conftest.$ac_objext \
5718 conftest$ac_exeext conftest.$ac_ext
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5721 $as_echo "$wine_cv_float_abi" >&6; }
5722 if test $wine_cv_float_abi = no
5723 then
5724 float_abi=soft
5725 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5727 CFLAGS=$saved_CFLAGS
5728 esac
5730 esac
5731 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5732 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5735 aarch64*)
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5737 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5738 if ${wine_cv_builtin_ms_va_list+:} false; then :
5739 $as_echo_n "(cached) " >&6
5740 else
5741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5743 #include <stdarg.h>
5745 main ()
5747 void func(__builtin_ms_va_list *args);
5749 return 0;
5751 _ACEOF
5752 if ac_fn_c_try_compile "$LINENO"; then :
5753 wine_cv_builtin_ms_va_list=yes
5754 else
5755 wine_cv_builtin_ms_va_list=no
5757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5760 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5761 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5763 i[3456789]86*)
5764 enable_win16=${enable_win16:-yes}
5765 with_unwind=${with_unwind:-no}
5767 esac
5769 enable_win16=${enable_win16:-no}
5770 enable_win64=${enable_win64:-no}
5772 enable_winetest=${enable_winetest:-$enable_tests}
5774 if test "x$enable_win64" = "xyes"
5775 then
5776 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5777 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5778 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5782 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5783 if ${wine_cv_toolsdir+:} false; then :
5784 $as_echo_n "(cached) " >&6
5785 else
5786 wine_cv_toolsdir="$with_wine_tools"
5787 if test -z "$with_wine_tools"; then
5788 if test "$cross_compiling" = "yes"; then
5789 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5790 elif test -n "$with_wine64"; then
5791 wine_cv_toolsdir="$with_wine64"
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5796 $as_echo "$wine_cv_toolsdir" >&6; }
5797 if test -z "$wine_cv_toolsdir"; then
5798 wine_makedep=tools/makedep
5799 TOOLSDIR="\$(top_builddir)"
5801 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5802 wine_makedep=$wine_cv_toolsdir/tools/makedep
5803 case "$wine_cv_toolsdir" in
5804 /*) TOOLSDIR=$wine_cv_toolsdir
5806 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5808 esac
5809 enable_tools=${enable_tools:-no}
5810 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5811 else
5812 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5814 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5815 then
5816 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5820 for ac_prog in flex
5822 # Extract the first word of "$ac_prog", so it can be a program name with args.
5823 set dummy $ac_prog; ac_word=$2
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5825 $as_echo_n "checking for $ac_word... " >&6; }
5826 if ${ac_cv_prog_FLEX+:} false; then :
5827 $as_echo_n "(cached) " >&6
5828 else
5829 if test -n "$FLEX"; then
5830 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5831 else
5832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833 for as_dir in $PATH
5835 IFS=$as_save_IFS
5836 test -z "$as_dir" && as_dir=.
5837 for ac_exec_ext in '' $ac_executable_extensions; do
5838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5839 ac_cv_prog_FLEX="$ac_prog"
5840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5841 break 2
5843 done
5844 done
5845 IFS=$as_save_IFS
5849 FLEX=$ac_cv_prog_FLEX
5850 if test -n "$FLEX"; then
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5852 $as_echo "$FLEX" >&6; }
5853 else
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5855 $as_echo "no" >&6; }
5859 test -n "$FLEX" && break
5860 done
5861 test -n "$FLEX" || FLEX="none"
5863 if test "$FLEX" = "none"
5864 then
5865 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5868 $as_echo_n "checking whether flex is recent enough... " >&6; }
5869 if ${wine_cv_recent_flex+:} false; then :
5870 $as_echo_n "(cached) " >&6
5871 else
5872 cat >conftest.l <<EOF
5873 %top{
5874 #include "prediluvian.h"
5878 if $FLEX -t conftest.l >/dev/null 2>&5
5879 then
5880 wine_cv_recent_flex=yes
5881 else
5882 wine_cv_recent_flex=no
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5886 $as_echo "$wine_cv_recent_flex" >&6; }
5887 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
5889 for ac_prog in bison
5891 # Extract the first word of "$ac_prog", so it can be a program name with args.
5892 set dummy $ac_prog; ac_word=$2
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894 $as_echo_n "checking for $ac_word... " >&6; }
5895 if ${ac_cv_prog_BISON+:} false; then :
5896 $as_echo_n "(cached) " >&6
5897 else
5898 if test -n "$BISON"; then
5899 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5900 else
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 for as_dir in $PATH
5904 IFS=$as_save_IFS
5905 test -z "$as_dir" && as_dir=.
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5908 ac_cv_prog_BISON="$ac_prog"
5909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 break 2
5912 done
5913 done
5914 IFS=$as_save_IFS
5918 BISON=$ac_cv_prog_BISON
5919 if test -n "$BISON"; then
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5921 $as_echo "$BISON" >&6; }
5922 else
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924 $as_echo "no" >&6; }
5928 test -n "$BISON" && break
5929 done
5930 test -n "$BISON" || BISON="none"
5932 if test "$BISON" = "none"
5933 then
5934 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5937 $as_echo_n "checking whether bison is recent enough... " >&6; }
5938 if ${wine_cv_recent_bison+:} false; then :
5939 $as_echo_n "(cached) " >&6
5940 else
5941 cat >conftest.y <<EOF
5942 %define parse.error verbose
5944 empty: ;
5946 if $BISON conftest.y >/dev/null 2>&5
5947 then
5948 wine_cv_recent_bison=yes
5949 else
5950 wine_cv_recent_bison=no
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5954 $as_echo "$wine_cv_recent_bison" >&6; }
5955 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
5957 if test -n "$ac_tool_prefix"; then
5958 for ac_prog in ar gar
5960 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5961 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 $as_echo_n "checking for $ac_word... " >&6; }
5964 if ${ac_cv_prog_AR+:} false; then :
5965 $as_echo_n "(cached) " >&6
5966 else
5967 if test -n "$AR"; then
5968 ac_cv_prog_AR="$AR" # Let the user override the test.
5969 else
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 for as_dir in $PATH
5973 IFS=$as_save_IFS
5974 test -z "$as_dir" && as_dir=.
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5977 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5979 break 2
5981 done
5982 done
5983 IFS=$as_save_IFS
5987 AR=$ac_cv_prog_AR
5988 if test -n "$AR"; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5990 $as_echo "$AR" >&6; }
5991 else
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 $as_echo "no" >&6; }
5997 test -n "$AR" && break
5998 done
6000 if test -z "$AR"; then
6001 ac_ct_AR=$AR
6002 for ac_prog in ar gar
6004 # Extract the first word of "$ac_prog", so it can be a program name with args.
6005 set dummy $ac_prog; ac_word=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 if test -n "$ac_ct_AR"; then
6012 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6013 else
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH
6017 IFS=$as_save_IFS
6018 test -z "$as_dir" && as_dir=.
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_ac_ct_AR="$ac_prog"
6022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 break 2
6025 done
6026 done
6027 IFS=$as_save_IFS
6031 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6032 if test -n "$ac_ct_AR"; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6034 $as_echo "$ac_ct_AR" >&6; }
6035 else
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 $as_echo "no" >&6; }
6041 test -n "$ac_ct_AR" && break
6042 done
6044 if test "x$ac_ct_AR" = x; then
6045 AR="ar"
6046 else
6047 case $cross_compiling:$ac_tool_warned in
6048 yes:)
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6051 ac_tool_warned=yes ;;
6052 esac
6053 AR=$ac_ct_AR
6057 if test -n "$ac_tool_prefix"; then
6058 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6059 set dummy ${ac_tool_prefix}strip; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if ${ac_cv_prog_STRIP+:} false; then :
6063 $as_echo_n "(cached) " >&6
6064 else
6065 if test -n "$STRIP"; then
6066 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6071 IFS=$as_save_IFS
6072 test -z "$as_dir" && as_dir=.
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6075 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 break 2
6079 done
6080 done
6081 IFS=$as_save_IFS
6085 STRIP=$ac_cv_prog_STRIP
6086 if test -n "$STRIP"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6088 $as_echo "$STRIP" >&6; }
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6096 if test -z "$ac_cv_prog_STRIP"; then
6097 ac_ct_STRIP=$STRIP
6098 # Extract the first word of "strip", so it can be a program name with args.
6099 set dummy strip; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6103 $as_echo_n "(cached) " >&6
6104 else
6105 if test -n "$ac_ct_STRIP"; then
6106 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6107 else
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in $PATH
6111 IFS=$as_save_IFS
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_ac_ct_STRIP="strip"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 break 2
6119 done
6120 done
6121 IFS=$as_save_IFS
6125 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6126 if test -n "$ac_ct_STRIP"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6128 $as_echo "$ac_ct_STRIP" >&6; }
6129 else
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6134 if test "x$ac_ct_STRIP" = x; then
6135 STRIP="strip"
6136 else
6137 case $cross_compiling:$ac_tool_warned in
6138 yes:)
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6141 ac_tool_warned=yes ;;
6142 esac
6143 STRIP=$ac_ct_STRIP
6145 else
6146 STRIP="$ac_cv_prog_STRIP"
6149 if test -n "$ac_tool_prefix"; then
6150 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6151 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153 $as_echo_n "checking for $ac_word... " >&6; }
6154 if ${ac_cv_prog_RANLIB+:} false; then :
6155 $as_echo_n "(cached) " >&6
6156 else
6157 if test -n "$RANLIB"; then
6158 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6159 else
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 for as_dir in $PATH
6163 IFS=$as_save_IFS
6164 test -z "$as_dir" && as_dir=.
6165 for ac_exec_ext in '' $ac_executable_extensions; do
6166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6167 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 break 2
6171 done
6172 done
6173 IFS=$as_save_IFS
6177 RANLIB=$ac_cv_prog_RANLIB
6178 if test -n "$RANLIB"; then
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6180 $as_echo "$RANLIB" >&6; }
6181 else
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 $as_echo "no" >&6; }
6188 if test -z "$ac_cv_prog_RANLIB"; then
6189 ac_ct_RANLIB=$RANLIB
6190 # Extract the first word of "ranlib", so it can be a program name with args.
6191 set dummy ranlib; ac_word=$2
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6193 $as_echo_n "checking for $ac_word... " >&6; }
6194 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6195 $as_echo_n "(cached) " >&6
6196 else
6197 if test -n "$ac_ct_RANLIB"; then
6198 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6199 else
6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 for as_dir in $PATH
6203 IFS=$as_save_IFS
6204 test -z "$as_dir" && as_dir=.
6205 for ac_exec_ext in '' $ac_executable_extensions; do
6206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6207 ac_cv_prog_ac_ct_RANLIB="ranlib"
6208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6209 break 2
6211 done
6212 done
6213 IFS=$as_save_IFS
6217 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6218 if test -n "$ac_ct_RANLIB"; then
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6220 $as_echo "$ac_ct_RANLIB" >&6; }
6221 else
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6223 $as_echo "no" >&6; }
6226 if test "x$ac_ct_RANLIB" = x; then
6227 RANLIB=":"
6228 else
6229 case $cross_compiling:$ac_tool_warned in
6230 yes:)
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6233 ac_tool_warned=yes ;;
6234 esac
6235 RANLIB=$ac_ct_RANLIB
6237 else
6238 RANLIB="$ac_cv_prog_RANLIB"
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6242 $as_echo_n "checking whether ln -s works... " >&6; }
6243 LN_S=$as_ln_s
6244 if test "$LN_S" = "ln -s"; then
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6246 $as_echo "yes" >&6; }
6247 else
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6249 $as_echo "no, using $LN_S" >&6; }
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6253 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6254 if ${ac_cv_path_GREP+:} false; then :
6255 $as_echo_n "(cached) " >&6
6256 else
6257 if test -z "$GREP"; then
6258 ac_path_GREP_found=false
6259 # Loop through the user's path and test for each of PROGNAME-LIST
6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6263 IFS=$as_save_IFS
6264 test -z "$as_dir" && as_dir=.
6265 for ac_prog in grep ggrep; do
6266 for ac_exec_ext in '' $ac_executable_extensions; do
6267 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6268 as_fn_executable_p "$ac_path_GREP" || continue
6269 # Check for GNU ac_path_GREP and select it if it is found.
6270 # Check for GNU $ac_path_GREP
6271 case `"$ac_path_GREP" --version 2>&1` in
6272 *GNU*)
6273 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6275 ac_count=0
6276 $as_echo_n 0123456789 >"conftest.in"
6277 while :
6279 cat "conftest.in" "conftest.in" >"conftest.tmp"
6280 mv "conftest.tmp" "conftest.in"
6281 cp "conftest.in" "conftest.nl"
6282 $as_echo 'GREP' >> "conftest.nl"
6283 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6284 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6285 as_fn_arith $ac_count + 1 && ac_count=$as_val
6286 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6287 # Best one so far, save it but keep looking for a better one
6288 ac_cv_path_GREP="$ac_path_GREP"
6289 ac_path_GREP_max=$ac_count
6291 # 10*(2^10) chars as input seems more than enough
6292 test $ac_count -gt 10 && break
6293 done
6294 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6295 esac
6297 $ac_path_GREP_found && break 3
6298 done
6299 done
6300 done
6301 IFS=$as_save_IFS
6302 if test -z "$ac_cv_path_GREP"; then
6303 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6305 else
6306 ac_cv_path_GREP=$GREP
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6311 $as_echo "$ac_cv_path_GREP" >&6; }
6312 GREP="$ac_cv_path_GREP"
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6316 $as_echo_n "checking for egrep... " >&6; }
6317 if ${ac_cv_path_EGREP+:} false; then :
6318 $as_echo_n "(cached) " >&6
6319 else
6320 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6321 then ac_cv_path_EGREP="$GREP -E"
6322 else
6323 if test -z "$EGREP"; then
6324 ac_path_EGREP_found=false
6325 # Loop through the user's path and test for each of PROGNAME-LIST
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6329 IFS=$as_save_IFS
6330 test -z "$as_dir" && as_dir=.
6331 for ac_prog in egrep; do
6332 for ac_exec_ext in '' $ac_executable_extensions; do
6333 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6334 as_fn_executable_p "$ac_path_EGREP" || continue
6335 # Check for GNU ac_path_EGREP and select it if it is found.
6336 # Check for GNU $ac_path_EGREP
6337 case `"$ac_path_EGREP" --version 2>&1` in
6338 *GNU*)
6339 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6341 ac_count=0
6342 $as_echo_n 0123456789 >"conftest.in"
6343 while :
6345 cat "conftest.in" "conftest.in" >"conftest.tmp"
6346 mv "conftest.tmp" "conftest.in"
6347 cp "conftest.in" "conftest.nl"
6348 $as_echo 'EGREP' >> "conftest.nl"
6349 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6350 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6351 as_fn_arith $ac_count + 1 && ac_count=$as_val
6352 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6353 # Best one so far, save it but keep looking for a better one
6354 ac_cv_path_EGREP="$ac_path_EGREP"
6355 ac_path_EGREP_max=$ac_count
6357 # 10*(2^10) chars as input seems more than enough
6358 test $ac_count -gt 10 && break
6359 done
6360 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6361 esac
6363 $ac_path_EGREP_found && break 3
6364 done
6365 done
6366 done
6367 IFS=$as_save_IFS
6368 if test -z "$ac_cv_path_EGREP"; then
6369 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6371 else
6372 ac_cv_path_EGREP=$EGREP
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6378 $as_echo "$ac_cv_path_EGREP" >&6; }
6379 EGREP="$ac_cv_path_EGREP"
6382 # Extract the first word of "ldconfig", so it can be a program name with args.
6383 set dummy ldconfig; ac_word=$2
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6385 $as_echo_n "checking for $ac_word... " >&6; }
6386 if ${ac_cv_path_LDCONFIG+:} false; then :
6387 $as_echo_n "(cached) " >&6
6388 else
6389 case $LDCONFIG in
6390 [\\/]* | ?:[\\/]*)
6391 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6395 for as_dir in /sbin /usr/sbin $PATH
6397 IFS=$as_save_IFS
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6401 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6403 break 2
6405 done
6406 done
6407 IFS=$as_save_IFS
6409 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6411 esac
6413 LDCONFIG=$ac_cv_path_LDCONFIG
6414 if test -n "$LDCONFIG"; then
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6416 $as_echo "$LDCONFIG" >&6; }
6417 else
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6419 $as_echo "no" >&6; }
6423 for ac_prog in msgfmt
6425 # Extract the first word of "$ac_prog", so it can be a program name with args.
6426 set dummy $ac_prog; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if ${ac_cv_prog_MSGFMT+:} false; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 if test -n "$MSGFMT"; then
6433 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6442 ac_cv_prog_MSGFMT="$ac_prog"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 break 2
6446 done
6447 done
6448 IFS=$as_save_IFS
6452 MSGFMT=$ac_cv_prog_MSGFMT
6453 if test -n "$MSGFMT"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6455 $as_echo "$MSGFMT" >&6; }
6456 else
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6462 test -n "$MSGFMT" && break
6463 done
6464 test -n "$MSGFMT" || MSGFMT="false"
6466 if ${ac_tool_prefix+:} false; then :
6467 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6468 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6472 $as_echo_n "(cached) " >&6
6473 else
6474 if test -n "$PKG_CONFIG"; then
6475 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6476 else
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6478 for as_dir in $PATH
6480 IFS=$as_save_IFS
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 break 2
6488 done
6489 done
6490 IFS=$as_save_IFS
6494 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6495 if test -n "$PKG_CONFIG"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6497 $as_echo "$PKG_CONFIG" >&6; }
6498 else
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6505 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6506 if test "x$cross_compiling" = xyes; then :
6508 else
6509 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6510 # Extract the first word of "pkg-config", so it can be a program name with args.
6511 set dummy pkg-config; ac_word=$2
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513 $as_echo_n "checking for $ac_word... " >&6; }
6514 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6515 $as_echo_n "(cached) " >&6
6516 else
6517 if test -n "$PKG_CONFIG"; then
6518 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6519 else
6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 for as_dir in $PATH
6523 IFS=$as_save_IFS
6524 test -z "$as_dir" && as_dir=.
6525 for ac_exec_ext in '' $ac_executable_extensions; do
6526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6527 ac_cv_prog_PKG_CONFIG="pkg-config"
6528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6529 break 2
6531 done
6532 done
6533 IFS=$as_save_IFS
6537 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6538 if test -n "$PKG_CONFIG"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6540 $as_echo "$PKG_CONFIG" >&6; }
6541 else
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6548 else
6549 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6552 if test "x$enable_maintainer_mode" != "xyes"
6553 then
6554 FONTFORGE=""
6555 RSVG=""
6556 CONVERT=""
6557 ICOTOOL=""
6558 else
6559 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6560 for ac_prog in fontforge
6562 # Extract the first word of "$ac_prog", so it can be a program name with args.
6563 set dummy $ac_prog; ac_word=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if ${ac_cv_prog_FONTFORGE+:} false; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 if test -n "$FONTFORGE"; then
6570 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6571 else
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 for as_dir in $PATH
6575 IFS=$as_save_IFS
6576 test -z "$as_dir" && as_dir=.
6577 for ac_exec_ext in '' $ac_executable_extensions; do
6578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6579 ac_cv_prog_FONTFORGE="$ac_prog"
6580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581 break 2
6583 done
6584 done
6585 IFS=$as_save_IFS
6589 FONTFORGE=$ac_cv_prog_FONTFORGE
6590 if test -n "$FONTFORGE"; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6592 $as_echo "$FONTFORGE" >&6; }
6593 else
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6599 test -n "$FONTFORGE" && break
6600 done
6601 test -n "$FONTFORGE" || FONTFORGE="false"
6603 for ac_prog in rsvg-convert rsvg
6605 # Extract the first word of "$ac_prog", so it can be a program name with args.
6606 set dummy $ac_prog; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if ${ac_cv_prog_RSVG+:} false; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 if test -n "$RSVG"; then
6613 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6614 else
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 for as_dir in $PATH
6618 IFS=$as_save_IFS
6619 test -z "$as_dir" && as_dir=.
6620 for ac_exec_ext in '' $ac_executable_extensions; do
6621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6622 ac_cv_prog_RSVG="$ac_prog"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624 break 2
6626 done
6627 done
6628 IFS=$as_save_IFS
6632 RSVG=$ac_cv_prog_RSVG
6633 if test -n "$RSVG"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6635 $as_echo "$RSVG" >&6; }
6636 else
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6642 test -n "$RSVG" && break
6643 done
6644 test -n "$RSVG" || RSVG="false"
6646 for ac_prog in convert
6648 # Extract the first word of "$ac_prog", so it can be a program name with args.
6649 set dummy $ac_prog; ac_word=$2
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 $as_echo_n "checking for $ac_word... " >&6; }
6652 if ${ac_cv_prog_CONVERT+:} false; then :
6653 $as_echo_n "(cached) " >&6
6654 else
6655 if test -n "$CONVERT"; then
6656 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6657 else
6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659 for as_dir in $PATH
6661 IFS=$as_save_IFS
6662 test -z "$as_dir" && as_dir=.
6663 for ac_exec_ext in '' $ac_executable_extensions; do
6664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6665 ac_cv_prog_CONVERT="$ac_prog"
6666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667 break 2
6669 done
6670 done
6671 IFS=$as_save_IFS
6675 CONVERT=$ac_cv_prog_CONVERT
6676 if test -n "$CONVERT"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6678 $as_echo "$CONVERT" >&6; }
6679 else
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6681 $as_echo "no" >&6; }
6685 test -n "$CONVERT" && break
6686 done
6687 test -n "$CONVERT" || CONVERT="false"
6689 for ac_prog in icotool
6691 # Extract the first word of "$ac_prog", so it can be a program name with args.
6692 set dummy $ac_prog; ac_word=$2
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 $as_echo_n "checking for $ac_word... " >&6; }
6695 if ${ac_cv_prog_ICOTOOL+:} false; then :
6696 $as_echo_n "(cached) " >&6
6697 else
6698 if test -n "$ICOTOOL"; then
6699 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6700 else
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702 for as_dir in $PATH
6704 IFS=$as_save_IFS
6705 test -z "$as_dir" && as_dir=.
6706 for ac_exec_ext in '' $ac_executable_extensions; do
6707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6708 ac_cv_prog_ICOTOOL="$ac_prog"
6709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6710 break 2
6712 done
6713 done
6714 IFS=$as_save_IFS
6718 ICOTOOL=$ac_cv_prog_ICOTOOL
6719 if test -n "$ICOTOOL"; then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6721 $as_echo "$ICOTOOL" >&6; }
6722 else
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 $as_echo "no" >&6; }
6728 test -n "$ICOTOOL" && break
6729 done
6730 test -n "$ICOTOOL" || ICOTOOL="false"
6732 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6733 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6735 if test "$CONVERT" = false
6736 then
6737 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6738 else
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6740 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6741 convert_version=`convert --version | head -n1`
6742 if test "x$convert_version" != "x"
6743 then
6744 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6745 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6746 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6747 then
6748 CONVERT=false
6751 if test "$CONVERT" = false
6752 then
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6754 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6755 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6756 else
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6758 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6762 if test "$ICOTOOL" = false
6763 then
6764 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6765 else
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6767 $as_echo_n "checking for recent enough icotool... " >&6; }
6768 icotool_version=`icotool --version | head -n1`
6769 if test "x$icotool_version" != "x"
6770 then
6771 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6772 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6773 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6774 then
6775 ICOTOOL=false
6776 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6779 if test "$ICOTOOL" = false
6780 then
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6782 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6783 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6784 else
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6786 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6790 with_gettext=yes
6791 with_gettextpo=yes
6794 test "x$with_gettext" != xno || MSGFMT=false
6795 if test "$MSGFMT" != "false"
6796 then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6798 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6799 if ${wine_cv_msgfmt_contexts+:} false; then :
6800 $as_echo_n "(cached) " >&6
6801 else
6802 cat >conftest.po <<EOF
6803 # comment
6804 msgctxt "ctxt"
6805 msgid "id"
6806 msgstr "str"
6808 if $MSGFMT -o /dev/null conftest.po 2>&5
6809 then
6810 wine_cv_msgfmt_contexts=yes
6811 else
6812 wine_cv_msgfmt_contexts=no
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6816 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6817 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6819 if test "$MSGFMT" = false; then :
6820 case "x$with_gettext" in
6821 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6822 xno) ;;
6823 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6824 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6825 esac
6826 enable_po=${enable_po:-no}
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6831 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6832 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6833 $as_echo_n "(cached) " >&6
6834 else
6835 ac_check_lib_save_LIBS=$LIBS
6836 LIBS="-li386 $LIBS"
6837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6838 /* end confdefs.h. */
6840 /* Override any GCC internal prototype to avoid an error.
6841 Use char because int might match the return type of a GCC
6842 builtin and then its argument prototype would still apply. */
6843 #ifdef __cplusplus
6844 extern "C"
6845 #endif
6846 char i386_set_ldt ();
6848 main ()
6850 return i386_set_ldt ();
6852 return 0;
6854 _ACEOF
6855 if ac_fn_c_try_link "$LINENO"; then :
6856 ac_cv_lib_i386_i386_set_ldt=yes
6857 else
6858 ac_cv_lib_i386_i386_set_ldt=no
6860 rm -f core conftest.err conftest.$ac_objext \
6861 conftest$ac_exeext conftest.$ac_ext
6862 LIBS=$ac_check_lib_save_LIBS
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6865 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6866 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6867 I386_LIBS="-li386"
6872 OPENGL_LIBS=""
6876 # Check whether --enable-largefile was given.
6877 if test "${enable_largefile+set}" = set; then :
6878 enableval=$enable_largefile;
6881 if test "$enable_largefile" != no; then
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6884 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6885 if ${ac_cv_sys_largefile_CC+:} false; then :
6886 $as_echo_n "(cached) " >&6
6887 else
6888 ac_cv_sys_largefile_CC=no
6889 if test "$GCC" != yes; then
6890 ac_save_CC=$CC
6891 while :; do
6892 # IRIX 6.2 and later do not support large files by default,
6893 # so use the C compiler's -n32 option if that helps.
6894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6895 /* end confdefs.h. */
6896 #include <sys/types.h>
6897 /* Check that off_t can represent 2**63 - 1 correctly.
6898 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6899 since some C++ compilers masquerading as C compilers
6900 incorrectly reject 9223372036854775807. */
6901 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6902 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6903 && LARGE_OFF_T % 2147483647 == 1)
6904 ? 1 : -1];
6906 main ()
6910 return 0;
6912 _ACEOF
6913 if ac_fn_c_try_compile "$LINENO"; then :
6914 break
6916 rm -f core conftest.err conftest.$ac_objext
6917 CC="$CC -n32"
6918 if ac_fn_c_try_compile "$LINENO"; then :
6919 ac_cv_sys_largefile_CC=' -n32'; break
6921 rm -f core conftest.err conftest.$ac_objext
6922 break
6923 done
6924 CC=$ac_save_CC
6925 rm -f conftest.$ac_ext
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6929 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6930 if test "$ac_cv_sys_largefile_CC" != no; then
6931 CC=$CC$ac_cv_sys_largefile_CC
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6935 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6936 if ${ac_cv_sys_file_offset_bits+:} false; then :
6937 $as_echo_n "(cached) " >&6
6938 else
6939 while :; do
6940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6941 /* end confdefs.h. */
6942 #include <sys/types.h>
6943 /* Check that off_t can represent 2**63 - 1 correctly.
6944 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6945 since some C++ compilers masquerading as C compilers
6946 incorrectly reject 9223372036854775807. */
6947 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6948 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6949 && LARGE_OFF_T % 2147483647 == 1)
6950 ? 1 : -1];
6952 main ()
6956 return 0;
6958 _ACEOF
6959 if ac_fn_c_try_compile "$LINENO"; then :
6960 ac_cv_sys_file_offset_bits=no; break
6962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6965 #define _FILE_OFFSET_BITS 64
6966 #include <sys/types.h>
6967 /* Check that off_t can represent 2**63 - 1 correctly.
6968 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6969 since some C++ compilers masquerading as C compilers
6970 incorrectly reject 9223372036854775807. */
6971 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6972 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6973 && LARGE_OFF_T % 2147483647 == 1)
6974 ? 1 : -1];
6976 main ()
6980 return 0;
6982 _ACEOF
6983 if ac_fn_c_try_compile "$LINENO"; then :
6984 ac_cv_sys_file_offset_bits=64; break
6986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6987 ac_cv_sys_file_offset_bits=unknown
6988 break
6989 done
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6992 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6993 case $ac_cv_sys_file_offset_bits in #(
6994 no | unknown) ;;
6996 cat >>confdefs.h <<_ACEOF
6997 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6998 _ACEOF
7000 esac
7001 rm -rf conftest*
7002 if test $ac_cv_sys_file_offset_bits = unknown; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7004 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7005 if ${ac_cv_sys_large_files+:} false; then :
7006 $as_echo_n "(cached) " >&6
7007 else
7008 while :; do
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010 /* end confdefs.h. */
7011 #include <sys/types.h>
7012 /* Check that off_t can represent 2**63 - 1 correctly.
7013 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7014 since some C++ compilers masquerading as C compilers
7015 incorrectly reject 9223372036854775807. */
7016 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7017 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7018 && LARGE_OFF_T % 2147483647 == 1)
7019 ? 1 : -1];
7021 main ()
7025 return 0;
7027 _ACEOF
7028 if ac_fn_c_try_compile "$LINENO"; then :
7029 ac_cv_sys_large_files=no; break
7031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7033 /* end confdefs.h. */
7034 #define _LARGE_FILES 1
7035 #include <sys/types.h>
7036 /* Check that off_t can represent 2**63 - 1 correctly.
7037 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7038 since some C++ compilers masquerading as C compilers
7039 incorrectly reject 9223372036854775807. */
7040 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7041 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7042 && LARGE_OFF_T % 2147483647 == 1)
7043 ? 1 : -1];
7045 main ()
7049 return 0;
7051 _ACEOF
7052 if ac_fn_c_try_compile "$LINENO"; then :
7053 ac_cv_sys_large_files=1; break
7055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7056 ac_cv_sys_large_files=unknown
7057 break
7058 done
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7061 $as_echo "$ac_cv_sys_large_files" >&6; }
7062 case $ac_cv_sys_large_files in #(
7063 no | unknown) ;;
7065 cat >>confdefs.h <<_ACEOF
7066 #define _LARGE_FILES $ac_cv_sys_large_files
7067 _ACEOF
7069 esac
7070 rm -rf conftest*
7077 ac_ext=c
7078 ac_cpp='$CPP $CPPFLAGS'
7079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7083 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7084 # On Suns, sometimes $CPP names a directory.
7085 if test -n "$CPP" && test -d "$CPP"; then
7086 CPP=
7088 if test -z "$CPP"; then
7089 if ${ac_cv_prog_CPP+:} false; then :
7090 $as_echo_n "(cached) " >&6
7091 else
7092 # Double quotes because CPP needs to be expanded
7093 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7095 ac_preproc_ok=false
7096 for ac_c_preproc_warn_flag in '' yes
7098 # Use a header file that comes with gcc, so configuring glibc
7099 # with a fresh cross-compiler works.
7100 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7101 # <limits.h> exists even on freestanding compilers.
7102 # On the NeXT, cc -E runs the code through the compiler's parser,
7103 # not just through cpp. "Syntax error" is here to catch this case.
7104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7105 /* end confdefs.h. */
7106 #ifdef __STDC__
7107 # include <limits.h>
7108 #else
7109 # include <assert.h>
7110 #endif
7111 Syntax error
7112 _ACEOF
7113 if ac_fn_c_try_cpp "$LINENO"; then :
7115 else
7116 # Broken: fails on valid input.
7117 continue
7119 rm -f conftest.err conftest.i conftest.$ac_ext
7121 # OK, works on sane cases. Now check whether nonexistent headers
7122 # can be detected and how.
7123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7124 /* end confdefs.h. */
7125 #include <ac_nonexistent.h>
7126 _ACEOF
7127 if ac_fn_c_try_cpp "$LINENO"; then :
7128 # Broken: success on invalid input.
7129 continue
7130 else
7131 # Passes both tests.
7132 ac_preproc_ok=:
7133 break
7135 rm -f conftest.err conftest.i conftest.$ac_ext
7137 done
7138 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7139 rm -f conftest.i conftest.err conftest.$ac_ext
7140 if $ac_preproc_ok; then :
7141 break
7144 done
7145 ac_cv_prog_CPP=$CPP
7148 CPP=$ac_cv_prog_CPP
7149 else
7150 ac_cv_prog_CPP=$CPP
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7153 $as_echo "$CPP" >&6; }
7154 ac_preproc_ok=false
7155 for ac_c_preproc_warn_flag in '' yes
7157 # Use a header file that comes with gcc, so configuring glibc
7158 # with a fresh cross-compiler works.
7159 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7160 # <limits.h> exists even on freestanding compilers.
7161 # On the NeXT, cc -E runs the code through the compiler's parser,
7162 # not just through cpp. "Syntax error" is here to catch this case.
7163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7164 /* end confdefs.h. */
7165 #ifdef __STDC__
7166 # include <limits.h>
7167 #else
7168 # include <assert.h>
7169 #endif
7170 Syntax error
7171 _ACEOF
7172 if ac_fn_c_try_cpp "$LINENO"; then :
7174 else
7175 # Broken: fails on valid input.
7176 continue
7178 rm -f conftest.err conftest.i conftest.$ac_ext
7180 # OK, works on sane cases. Now check whether nonexistent headers
7181 # can be detected and how.
7182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7183 /* end confdefs.h. */
7184 #include <ac_nonexistent.h>
7185 _ACEOF
7186 if ac_fn_c_try_cpp "$LINENO"; then :
7187 # Broken: success on invalid input.
7188 continue
7189 else
7190 # Passes both tests.
7191 ac_preproc_ok=:
7192 break
7194 rm -f conftest.err conftest.i conftest.$ac_ext
7196 done
7197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7198 rm -f conftest.i conftest.err conftest.$ac_ext
7199 if $ac_preproc_ok; then :
7201 else
7202 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7204 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7205 See \`config.log' for more details" "$LINENO" 5; }
7208 ac_ext=c
7209 ac_cpp='$CPP $CPPFLAGS'
7210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7216 $as_echo_n "checking for ANSI C header files... " >&6; }
7217 if ${ac_cv_header_stdc+:} false; then :
7218 $as_echo_n "(cached) " >&6
7219 else
7220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7221 /* end confdefs.h. */
7222 #include <stdlib.h>
7223 #include <stdarg.h>
7224 #include <string.h>
7225 #include <float.h>
7228 main ()
7232 return 0;
7234 _ACEOF
7235 if ac_fn_c_try_compile "$LINENO"; then :
7236 ac_cv_header_stdc=yes
7237 else
7238 ac_cv_header_stdc=no
7240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7242 if test $ac_cv_header_stdc = yes; then
7243 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245 /* end confdefs.h. */
7246 #include <string.h>
7248 _ACEOF
7249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7250 $EGREP "memchr" >/dev/null 2>&1; then :
7252 else
7253 ac_cv_header_stdc=no
7255 rm -f conftest*
7259 if test $ac_cv_header_stdc = yes; then
7260 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7262 /* end confdefs.h. */
7263 #include <stdlib.h>
7265 _ACEOF
7266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7267 $EGREP "free" >/dev/null 2>&1; then :
7269 else
7270 ac_cv_header_stdc=no
7272 rm -f conftest*
7276 if test $ac_cv_header_stdc = yes; then
7277 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7278 if test "$cross_compiling" = yes; then :
7280 else
7281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7282 /* end confdefs.h. */
7283 #include <ctype.h>
7284 #include <stdlib.h>
7285 #if ((' ' & 0x0FF) == 0x020)
7286 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7287 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7288 #else
7289 # define ISLOWER(c) \
7290 (('a' <= (c) && (c) <= 'i') \
7291 || ('j' <= (c) && (c) <= 'r') \
7292 || ('s' <= (c) && (c) <= 'z'))
7293 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7294 #endif
7296 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7298 main ()
7300 int i;
7301 for (i = 0; i < 256; i++)
7302 if (XOR (islower (i), ISLOWER (i))
7303 || toupper (i) != TOUPPER (i))
7304 return 2;
7305 return 0;
7307 _ACEOF
7308 if ac_fn_c_try_run "$LINENO"; then :
7310 else
7311 ac_cv_header_stdc=no
7313 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7314 conftest.$ac_objext conftest.beam conftest.$ac_ext
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7320 $as_echo "$ac_cv_header_stdc" >&6; }
7321 if test $ac_cv_header_stdc = yes; then
7323 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7327 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7328 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7329 inttypes.h stdint.h unistd.h
7330 do :
7331 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7332 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7334 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7335 cat >>confdefs.h <<_ACEOF
7336 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7337 _ACEOF
7341 done
7344 for ac_header in \
7345 AL/al.h \
7346 ApplicationServices/ApplicationServices.h \
7347 AudioToolbox/AudioConverter.h \
7348 AudioUnit/AudioUnit.h \
7349 AudioUnit/AudioComponent.h \
7350 CL/cl.h \
7351 Carbon/Carbon.h \
7352 CommonCrypto/CommonCryptor.h \
7353 CoreAudio/CoreAudio.h \
7354 CoreServices/CoreServices.h \
7355 DiskArbitration/DiskArbitration.h \
7356 EGL/egl.h \
7357 IOKit/IOKitLib.h \
7358 IOKit/hid/IOHIDLib.h \
7359 OpenAL/al.h \
7360 OpenCL/opencl.h \
7361 QuickTime/ImageCompression.h \
7362 Security/Security.h \
7363 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7364 SystemConfiguration/SCNetworkConfiguration.h \
7365 alias.h \
7366 arpa/inet.h \
7367 arpa/nameser.h \
7368 asm/types.h \
7369 asm/user.h \
7370 curses.h \
7371 dirent.h \
7372 dlfcn.h \
7373 elf.h \
7374 float.h \
7375 fnmatch.h \
7376 getopt.h \
7377 gettext-po.h \
7378 grp.h \
7379 gsm.h \
7380 gsm/gsm.h \
7381 ieeefp.h \
7382 inet/mib2.h \
7383 kstat.h \
7384 libproc.h \
7385 link.h \
7386 linux/cdrom.h \
7387 linux/compiler.h \
7388 linux/filter.h \
7389 linux/hdreg.h \
7390 linux/hidraw.h \
7391 linux/input.h \
7392 linux/ioctl.h \
7393 linux/joystick.h \
7394 linux/major.h \
7395 linux/param.h \
7396 linux/serial.h \
7397 linux/types.h \
7398 linux/ucdrom.h \
7399 lwp.h \
7400 mach-o/nlist.h \
7401 mach-o/loader.h \
7402 mach/mach.h \
7403 mach/machine.h \
7404 machine/cpu.h \
7405 machine/limits.h \
7406 machine/sysarch.h \
7407 mntent.h \
7408 ncurses.h \
7409 netdb.h \
7410 netinet/in.h \
7411 netinet/in_systm.h \
7412 netinet/tcp.h \
7413 netinet/tcp_fsm.h \
7414 pcap/pcap.h \
7415 poll.h \
7416 port.h \
7417 pthread.h \
7418 pwd.h \
7419 sched.h \
7420 scsi/scsi.h \
7421 scsi/scsi_ioctl.h \
7422 scsi/sg.h \
7423 stdbool.h \
7424 stdint.h \
7425 stropts.h \
7426 sys/attr.h \
7427 sys/auxv.h \
7428 sys/cdio.h \
7429 sys/elf32.h \
7430 sys/epoll.h \
7431 sys/event.h \
7432 sys/exec_elf.h \
7433 sys/filio.h \
7434 sys/ioctl.h \
7435 sys/ipc.h \
7436 sys/limits.h \
7437 sys/link.h \
7438 sys/mman.h \
7439 sys/modem.h \
7440 sys/msg.h \
7441 sys/mtio.h \
7442 sys/param.h \
7443 sys/poll.h \
7444 sys/prctl.h \
7445 sys/protosw.h \
7446 sys/ptrace.h \
7447 sys/queue.h \
7448 sys/resource.h \
7449 sys/scsiio.h \
7450 sys/shm.h \
7451 sys/signal.h \
7452 sys/socket.h \
7453 sys/socketvar.h \
7454 sys/sockio.h \
7455 sys/statvfs.h \
7456 sys/strtio.h \
7457 sys/syscall.h \
7458 sys/sysinfo.h \
7459 sys/tihdr.h \
7460 sys/time.h \
7461 sys/timeout.h \
7462 sys/times.h \
7463 sys/uio.h \
7464 sys/user.h \
7465 sys/utsname.h \
7466 sys/vnode.h \
7467 sys/wait.h \
7468 syscall.h \
7469 termios.h \
7470 unistd.h \
7471 utime.h \
7472 valgrind/memcheck.h \
7473 valgrind/valgrind.h
7475 do :
7476 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7477 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7478 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7479 cat >>confdefs.h <<_ACEOF
7480 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7481 _ACEOF
7485 done
7487 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7488 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7490 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7495 if test $ac_cv_header_sys_mkdev_h = no; then
7496 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7497 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7499 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7506 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7507 if ${ac_cv_header_stat_broken+:} false; then :
7508 $as_echo_n "(cached) " >&6
7509 else
7510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7511 /* end confdefs.h. */
7512 #include <sys/types.h>
7513 #include <sys/stat.h>
7515 #if defined S_ISBLK && defined S_IFDIR
7516 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7517 #endif
7519 #if defined S_ISBLK && defined S_IFCHR
7520 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7521 #endif
7523 #if defined S_ISLNK && defined S_IFREG
7524 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7525 #endif
7527 #if defined S_ISSOCK && defined S_IFREG
7528 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7529 #endif
7531 _ACEOF
7532 if ac_fn_c_try_compile "$LINENO"; then :
7533 ac_cv_header_stat_broken=no
7534 else
7535 ac_cv_header_stat_broken=yes
7537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7540 $as_echo "$ac_cv_header_stat_broken" >&6; }
7541 if test $ac_cv_header_stat_broken = yes; then
7543 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7549 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7550 do :
7551 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7552 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7553 #ifdef HAVE_SYS_PARAM_H
7554 # include <sys/param.h>
7555 #endif
7557 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7558 cat >>confdefs.h <<_ACEOF
7559 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7560 _ACEOF
7564 done
7567 for ac_header in \
7568 netinet/ip.h \
7569 net/if.h \
7570 net/if_arp.h \
7571 net/if_dl.h \
7572 net/if_types.h \
7573 net/route.h \
7574 netinet/if_ether.h \
7575 netinet/if_inarp.h \
7576 netinet/in_pcb.h \
7577 netinet/ip_icmp.h \
7578 netinet/ip_var.h \
7579 netinet/udp.h \
7580 netipx/ipx.h \
7581 sys/un.h \
7583 do :
7584 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7585 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7586 #ifdef HAVE_SYS_SOCKET_H
7587 # include <sys/socket.h>
7588 #endif
7589 #ifdef HAVE_SYS_SOCKETVAR_H
7590 # include <sys/socketvar.h>
7591 #endif
7592 #ifdef HAVE_NET_ROUTE_H
7593 # include <net/route.h>
7594 #endif
7595 #ifdef HAVE_NETINET_IN_H
7596 # include <netinet/in.h>
7597 #endif
7598 #ifdef HAVE_NETINET_IN_SYSTM_H
7599 # include <netinet/in_systm.h>
7600 #endif
7601 #ifdef HAVE_NET_IF_H
7602 # include <net/if.h>
7603 #endif
7604 #ifdef HAVE_NETINET_IP_H
7605 # include <netinet/ip.h>
7606 #endif
7608 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7609 cat >>confdefs.h <<_ACEOF
7610 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7611 _ACEOF
7615 done
7618 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7619 do :
7620 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7621 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7622 #ifdef HAVE_ALIAS_H
7623 # include <alias.h>
7624 #endif
7625 #ifdef HAVE_SYS_SOCKET_H
7626 # include <sys/socket.h>
7627 #endif
7628 #ifdef HAVE_SYS_SOCKETVAR_H
7629 # include <sys/socketvar.h>
7630 #endif
7631 #ifdef HAVE_SYS_TIMEOUT_H
7632 # include <sys/timeout.h>
7633 #endif
7634 #ifdef HAVE_NETINET_IN_H
7635 # include <netinet/in.h>
7636 #endif
7637 #ifdef HAVE_NETINET_IN_SYSTM_H
7638 # include <netinet/in_systm.h>
7639 #endif
7640 #ifdef HAVE_NETINET_IP_H
7641 # include <netinet/ip.h>
7642 #endif
7643 #ifdef HAVE_NETINET_IP_VAR_H
7644 # include <netinet/ip_var.h>
7645 #endif
7646 #ifdef HAVE_NETINET_IP_ICMP_H
7647 # include <netinet/ip_icmp.h>
7648 #endif
7649 #ifdef HAVE_NETINET_UDP_H
7650 # include <netinet/udp.h>
7651 #endif
7652 #ifdef HAVE_NETINET_TCP_H
7653 # include <netinet/tcp.h>
7654 #endif
7655 #ifdef HAVE_NETINET_TCP_TIMER_H
7656 #include <netinet/tcp_timer.h>
7657 #endif
7659 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7660 cat >>confdefs.h <<_ACEOF
7661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7662 _ACEOF
7666 done
7669 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7670 do :
7671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7672 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7673 #ifdef HAVE_ASM_TYPES_H
7674 # include <asm/types.h>
7675 #endif
7676 #ifdef HAVE_SYS_SOCKET_H
7677 # include <sys/socket.h>
7678 #endif
7679 #ifdef HAVE_LINUX_TYPES_H
7680 # include <linux/types.h>
7681 #endif
7683 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7684 cat >>confdefs.h <<_ACEOF
7685 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7686 _ACEOF
7690 done
7693 for ac_header in resolv.h
7694 do :
7695 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7696 #ifdef HAVE_SYS_SOCKET_H
7697 # include <sys/socket.h>
7698 #endif
7699 #ifdef HAVE_NETINET_IN_H
7700 # include <netinet/in.h>
7701 #endif
7702 #ifdef HAVE_ARPA_NAMESER_H
7703 # include <arpa/nameser.h>
7704 #endif
7706 if test "x$ac_cv_header_resolv_h" = xyes; then :
7707 cat >>confdefs.h <<_ACEOF
7708 #define HAVE_RESOLV_H 1
7709 _ACEOF
7713 done
7716 for ac_header in ifaddrs.h
7717 do :
7718 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7720 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7721 cat >>confdefs.h <<_ACEOF
7722 #define HAVE_IFADDRS_H 1
7723 _ACEOF
7727 done
7730 for ac_header in sys/ucontext.h
7731 do :
7732 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7734 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7735 cat >>confdefs.h <<_ACEOF
7736 #define HAVE_SYS_UCONTEXT_H 1
7737 _ACEOF
7741 done
7744 for ac_header in sys/thr.h
7745 do :
7746 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7747 #ifdef HAVE_SYS_UCONTEXT_H
7748 #include <sys/ucontext.h>
7749 #endif
7751 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7752 cat >>confdefs.h <<_ACEOF
7753 #define HAVE_SYS_THR_H 1
7754 _ACEOF
7758 done
7761 for ac_header in pthread_np.h
7762 do :
7763 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7764 #include <pthread.h>
7765 #endif
7767 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7768 cat >>confdefs.h <<_ACEOF
7769 #define HAVE_PTHREAD_NP_H 1
7770 _ACEOF
7774 done
7777 for ac_header in linux/videodev2.h
7778 do :
7779 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7780 #include <sys/time.h>
7781 #endif
7782 #include <sys/types.h>
7783 #ifdef HAVE_ASM_TYPES_H
7784 #include <asm/types.h>
7785 #endif
7787 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7788 cat >>confdefs.h <<_ACEOF
7789 #define HAVE_LINUX_VIDEODEV2_H 1
7790 _ACEOF
7794 done
7797 for ac_header in libprocstat.h
7798 do :
7799 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7800 #include <sys/param.h>
7801 #endif
7802 #ifdef HAVE_SYS_QUEUE_H
7803 #include <sys/queue.h>
7804 #endif
7805 #ifdef HAVE_SYS_SOCKET_H
7806 #include <sys/socket.h>
7807 #endif
7809 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7810 cat >>confdefs.h <<_ACEOF
7811 #define HAVE_LIBPROCSTAT_H 1
7812 _ACEOF
7816 done
7820 DLLFLAGS="-D_REENTRANT"
7822 LDRPATH_INSTALL=""
7824 LDRPATH_LOCAL=""
7826 LDDLLFLAGS=""
7828 LDEXECFLAGS=""
7830 TOP_INSTALL_LIB=""
7832 TOP_INSTALL_DEV=""
7834 WINELOADER_LDFLAGS=""
7836 WINEPRELOADER_LDFLAGS=""
7838 LIBEXT="so"
7839 DLLEXT=".so"
7840 # Extract the first word of "ldd", so it can be a program name with args.
7841 set dummy ldd; ac_word=$2
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7843 $as_echo_n "checking for $ac_word... " >&6; }
7844 if ${ac_cv_path_LDD+:} false; then :
7845 $as_echo_n "(cached) " >&6
7846 else
7847 case $LDD in
7848 [\\/]* | ?:[\\/]*)
7849 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7853 as_dummy="/sbin:/usr/sbin:$PATH"
7854 for as_dir in $as_dummy
7856 IFS=$as_save_IFS
7857 test -z "$as_dir" && as_dir=.
7858 for ac_exec_ext in '' $ac_executable_extensions; do
7859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7860 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7862 break 2
7864 done
7865 done
7866 IFS=$as_save_IFS
7868 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7870 esac
7872 LDD=$ac_cv_path_LDD
7873 if test -n "$LDD"; then
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7875 $as_echo "$LDD" >&6; }
7876 else
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7878 $as_echo "no" >&6; }
7882 if test -n "$ac_tool_prefix"; then
7883 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7884 set dummy ${ac_tool_prefix}otool; ac_word=$2
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886 $as_echo_n "checking for $ac_word... " >&6; }
7887 if ${ac_cv_prog_OTOOL+:} false; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 if test -n "$OTOOL"; then
7891 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7892 else
7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894 for as_dir in $PATH
7896 IFS=$as_save_IFS
7897 test -z "$as_dir" && as_dir=.
7898 for ac_exec_ext in '' $ac_executable_extensions; do
7899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7900 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902 break 2
7904 done
7905 done
7906 IFS=$as_save_IFS
7910 OTOOL=$ac_cv_prog_OTOOL
7911 if test -n "$OTOOL"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7913 $as_echo "$OTOOL" >&6; }
7914 else
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916 $as_echo "no" >&6; }
7921 if test -z "$ac_cv_prog_OTOOL"; then
7922 ac_ct_OTOOL=$OTOOL
7923 # Extract the first word of "otool", so it can be a program name with args.
7924 set dummy otool; ac_word=$2
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7926 $as_echo_n "checking for $ac_word... " >&6; }
7927 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7928 $as_echo_n "(cached) " >&6
7929 else
7930 if test -n "$ac_ct_OTOOL"; then
7931 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7932 else
7933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7934 for as_dir in $PATH
7936 IFS=$as_save_IFS
7937 test -z "$as_dir" && as_dir=.
7938 for ac_exec_ext in '' $ac_executable_extensions; do
7939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7940 ac_cv_prog_ac_ct_OTOOL="otool"
7941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7942 break 2
7944 done
7945 done
7946 IFS=$as_save_IFS
7950 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7951 if test -n "$ac_ct_OTOOL"; then
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7953 $as_echo "$ac_ct_OTOOL" >&6; }
7954 else
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7956 $as_echo "no" >&6; }
7959 if test "x$ac_ct_OTOOL" = x; then
7960 OTOOL="otool"
7961 else
7962 case $cross_compiling:$ac_tool_warned in
7963 yes:)
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7966 ac_tool_warned=yes ;;
7967 esac
7968 OTOOL=$ac_ct_OTOOL
7970 else
7971 OTOOL="$ac_cv_prog_OTOOL"
7974 if test -n "$ac_tool_prefix"; then
7975 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7976 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7978 $as_echo_n "checking for $ac_word... " >&6; }
7979 if ${ac_cv_prog_READELF+:} false; then :
7980 $as_echo_n "(cached) " >&6
7981 else
7982 if test -n "$READELF"; then
7983 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7984 else
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 for as_dir in $PATH
7988 IFS=$as_save_IFS
7989 test -z "$as_dir" && as_dir=.
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7994 break 2
7996 done
7997 done
7998 IFS=$as_save_IFS
8002 READELF=$ac_cv_prog_READELF
8003 if test -n "$READELF"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8005 $as_echo "$READELF" >&6; }
8006 else
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008 $as_echo "no" >&6; }
8013 if test -z "$ac_cv_prog_READELF"; then
8014 ac_ct_READELF=$READELF
8015 # Extract the first word of "readelf", so it can be a program name with args.
8016 set dummy readelf; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018 $as_echo_n "checking for $ac_word... " >&6; }
8019 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8020 $as_echo_n "(cached) " >&6
8021 else
8022 if test -n "$ac_ct_READELF"; then
8023 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8024 else
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 for as_dir in $PATH
8028 IFS=$as_save_IFS
8029 test -z "$as_dir" && as_dir=.
8030 for ac_exec_ext in '' $ac_executable_extensions; do
8031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032 ac_cv_prog_ac_ct_READELF="readelf"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8034 break 2
8036 done
8037 done
8038 IFS=$as_save_IFS
8042 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8043 if test -n "$ac_ct_READELF"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8045 $as_echo "$ac_ct_READELF" >&6; }
8046 else
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8051 if test "x$ac_ct_READELF" = x; then
8052 READELF="true"
8053 else
8054 case $cross_compiling:$ac_tool_warned in
8055 yes:)
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8058 ac_tool_warned=yes ;;
8059 esac
8060 READELF=$ac_ct_READELF
8062 else
8063 READELF="$ac_cv_prog_READELF"
8066 wine_rules_file=conf$$rules.make
8067 rm -f $wine_rules_file
8068 SUBDIRS=""
8070 DISABLED_SUBDIRS=""
8072 CONFIGURE_TARGETS=""
8075 wine_fn_append_file ()
8077 as_fn_append $1 " \\$as_nl $2"
8080 wine_fn_append_rule ()
8082 $as_echo "$1" >>$wine_rules_file
8085 wine_fn_config_makefile ()
8087 wine_fn_append_file SUBDIRS $1
8088 if eval test \"x\$"$2"\" = x"no"; then :
8089 wine_fn_append_file DISABLED_SUBDIRS $1
8093 wine_fn_config_symlink ()
8095 ac_links=$@
8096 wine_fn_append_rule \
8097 "$ac_links:
8098 @./config.status \$@"
8099 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8102 wine_binary="wine"
8103 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8104 WINELOADER_PROGRAMS="$wine_binary"
8106 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8108 case $host_os in
8109 cygwin*|mingw32*)
8110 if test -n "$ac_tool_prefix"; then
8111 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8112 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8114 $as_echo_n "checking for $ac_word... " >&6; }
8115 if ${ac_cv_prog_DLLTOOL+:} false; then :
8116 $as_echo_n "(cached) " >&6
8117 else
8118 if test -n "$DLLTOOL"; then
8119 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8120 else
8121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8122 for as_dir in $PATH
8124 IFS=$as_save_IFS
8125 test -z "$as_dir" && as_dir=.
8126 for ac_exec_ext in '' $ac_executable_extensions; do
8127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8128 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8130 break 2
8132 done
8133 done
8134 IFS=$as_save_IFS
8138 DLLTOOL=$ac_cv_prog_DLLTOOL
8139 if test -n "$DLLTOOL"; then
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8141 $as_echo "$DLLTOOL" >&6; }
8142 else
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8144 $as_echo "no" >&6; }
8149 if test -z "$ac_cv_prog_DLLTOOL"; then
8150 ac_ct_DLLTOOL=$DLLTOOL
8151 # Extract the first word of "dlltool", so it can be a program name with args.
8152 set dummy dlltool; ac_word=$2
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8154 $as_echo_n "checking for $ac_word... " >&6; }
8155 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8156 $as_echo_n "(cached) " >&6
8157 else
8158 if test -n "$ac_ct_DLLTOOL"; then
8159 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8160 else
8161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8162 for as_dir in $PATH
8164 IFS=$as_save_IFS
8165 test -z "$as_dir" && as_dir=.
8166 for ac_exec_ext in '' $ac_executable_extensions; do
8167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8168 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8170 break 2
8172 done
8173 done
8174 IFS=$as_save_IFS
8178 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8179 if test -n "$ac_ct_DLLTOOL"; then
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8181 $as_echo "$ac_ct_DLLTOOL" >&6; }
8182 else
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8184 $as_echo "no" >&6; }
8187 if test "x$ac_ct_DLLTOOL" = x; then
8188 DLLTOOL="false"
8189 else
8190 case $cross_compiling:$ac_tool_warned in
8191 yes:)
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8194 ac_tool_warned=yes ;;
8195 esac
8196 DLLTOOL=$ac_ct_DLLTOOL
8198 else
8199 DLLTOOL="$ac_cv_prog_DLLTOOL"
8202 LIBEXT="dll"
8203 DLLEXT=""
8204 case $host_cpu in
8205 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8206 esac
8207 enable_iphlpapi=${enable_iphlpapi:-no}
8208 enable_kernel32=${enable_kernel32:-no}
8209 enable_ntdll=${enable_ntdll:-no}
8210 enable_ws2_32=${enable_ws2_32:-no}
8211 enable_loader=${enable_loader:-no}
8212 enable_server=${enable_server:-no}
8213 with_x=${with_x:-no}
8214 with_pthread=${with_pthread:-no}
8217 darwin*|macosx*)
8218 ac_ext=m
8219 ac_cpp='$OBJCPP $CPPFLAGS'
8220 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8221 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8222 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8224 ac_ext=m
8225 ac_cpp='$OBJCPP $CPPFLAGS'
8226 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8227 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8228 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8229 if test -n "$ac_tool_prefix"; then
8230 for ac_prog in gcc objcc objc cc CC
8232 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8233 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8235 $as_echo_n "checking for $ac_word... " >&6; }
8236 if ${ac_cv_prog_OBJC+:} false; then :
8237 $as_echo_n "(cached) " >&6
8238 else
8239 if test -n "$OBJC"; then
8240 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8241 else
8242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8243 for as_dir in $PATH
8245 IFS=$as_save_IFS
8246 test -z "$as_dir" && as_dir=.
8247 for ac_exec_ext in '' $ac_executable_extensions; do
8248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8249 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8251 break 2
8253 done
8254 done
8255 IFS=$as_save_IFS
8259 OBJC=$ac_cv_prog_OBJC
8260 if test -n "$OBJC"; then
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8262 $as_echo "$OBJC" >&6; }
8263 else
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8265 $as_echo "no" >&6; }
8269 test -n "$OBJC" && break
8270 done
8272 if test -z "$OBJC"; then
8273 ac_ct_OBJC=$OBJC
8274 for ac_prog in gcc objcc objc cc CC
8276 # Extract the first word of "$ac_prog", so it can be a program name with args.
8277 set dummy $ac_prog; ac_word=$2
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8279 $as_echo_n "checking for $ac_word... " >&6; }
8280 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 if test -n "$ac_ct_OBJC"; then
8284 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8285 else
8286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8287 for as_dir in $PATH
8289 IFS=$as_save_IFS
8290 test -z "$as_dir" && as_dir=.
8291 for ac_exec_ext in '' $ac_executable_extensions; do
8292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8293 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8295 break 2
8297 done
8298 done
8299 IFS=$as_save_IFS
8303 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8304 if test -n "$ac_ct_OBJC"; then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8306 $as_echo "$ac_ct_OBJC" >&6; }
8307 else
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8309 $as_echo "no" >&6; }
8313 test -n "$ac_ct_OBJC" && break
8314 done
8316 if test "x$ac_ct_OBJC" = x; then
8317 OBJC="gcc"
8318 else
8319 case $cross_compiling:$ac_tool_warned in
8320 yes:)
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8323 ac_tool_warned=yes ;;
8324 esac
8325 OBJC=$ac_ct_OBJC
8329 # Provide some information about the compiler.
8330 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8331 set X $ac_compile
8332 ac_compiler=$2
8333 for ac_option in --version -v -V -qversion; do
8334 { { ac_try="$ac_compiler $ac_option >&5"
8335 case "(($ac_try" in
8336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8337 *) ac_try_echo=$ac_try;;
8338 esac
8339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8340 $as_echo "$ac_try_echo"; } >&5
8341 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8342 ac_status=$?
8343 if test -s conftest.err; then
8344 sed '10a\
8345 ... rest of stderr output deleted ...
8346 10q' conftest.err >conftest.er1
8347 cat conftest.er1 >&5
8349 rm -f conftest.er1 conftest.err
8350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8351 test $ac_status = 0; }
8352 done
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8355 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8356 if ${ac_cv_objc_compiler_gnu+:} false; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8360 /* end confdefs.h. */
8363 main ()
8365 #ifndef __GNUC__
8366 choke me
8367 #endif
8370 return 0;
8372 _ACEOF
8373 if ac_fn_objc_try_compile "$LINENO"; then :
8374 ac_compiler_gnu=yes
8375 else
8376 ac_compiler_gnu=no
8378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8379 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8383 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8384 if test $ac_compiler_gnu = yes; then
8385 GOBJC=yes
8386 else
8387 GOBJC=
8389 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8390 ac_save_OBJCFLAGS=$OBJCFLAGS
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8392 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8393 if ${ac_cv_prog_objc_g+:} false; then :
8394 $as_echo_n "(cached) " >&6
8395 else
8396 ac_save_objc_werror_flag=$ac_objc_werror_flag
8397 ac_objc_werror_flag=yes
8398 ac_cv_prog_objc_g=no
8399 OBJCFLAGS="-g"
8400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8401 /* end confdefs.h. */
8404 main ()
8408 return 0;
8410 _ACEOF
8411 if ac_fn_objc_try_compile "$LINENO"; then :
8412 ac_cv_prog_objc_g=yes
8413 else
8414 OBJCFLAGS=""
8415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8416 /* end confdefs.h. */
8419 main ()
8423 return 0;
8425 _ACEOF
8426 if ac_fn_objc_try_compile "$LINENO"; then :
8428 else
8429 ac_objc_werror_flag=$ac_save_objc_werror_flag
8430 OBJCFLAGS="-g"
8431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8432 /* end confdefs.h. */
8435 main ()
8439 return 0;
8441 _ACEOF
8442 if ac_fn_objc_try_compile "$LINENO"; then :
8443 ac_cv_prog_objc_g=yes
8445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8450 ac_objc_werror_flag=$ac_save_objc_werror_flag
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8453 $as_echo "$ac_cv_prog_objc_g" >&6; }
8454 if test "$ac_test_OBJCFLAGS" = set; then
8455 OBJCFLAGS=$ac_save_OBJCFLAGS
8456 elif test $ac_cv_prog_objc_g = yes; then
8457 if test "$GOBJC" = yes; then
8458 OBJCFLAGS="-g -O2"
8459 else
8460 OBJCFLAGS="-g"
8462 else
8463 if test "$GOBJC" = yes; then
8464 OBJCFLAGS="-O2"
8465 else
8466 OBJCFLAGS=
8469 ac_ext=m
8470 ac_cpp='$OBJCPP $CPPFLAGS'
8471 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8472 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8473 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8476 ac_ext=m
8477 ac_cpp='$OBJCPP $CPPFLAGS'
8478 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8479 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8480 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8482 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8483 if test -z "$OBJCPP"; then
8484 if ${ac_cv_prog_OBJCPP+:} false; then :
8485 $as_echo_n "(cached) " >&6
8486 else
8487 # Double quotes because OBJCPP needs to be expanded
8488 for OBJCPP in "$OBJC -E" "/lib/cpp"
8490 ac_preproc_ok=false
8491 for ac_objc_preproc_warn_flag in '' yes
8493 # Use a header file that comes with gcc, so configuring glibc
8494 # with a fresh cross-compiler works.
8495 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8496 # <limits.h> exists even on freestanding compilers.
8497 # On the NeXT, cc -E runs the code through the compiler's parser,
8498 # not just through cpp. "Syntax error" is here to catch this case.
8499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8500 /* end confdefs.h. */
8501 #ifdef __STDC__
8502 # include <limits.h>
8503 #else
8504 # include <assert.h>
8505 #endif
8506 Syntax error
8507 _ACEOF
8508 if ac_fn_objc_try_cpp "$LINENO"; then :
8510 else
8511 # Broken: fails on valid input.
8512 continue
8514 rm -f conftest.err conftest.i conftest.$ac_ext
8516 # OK, works on sane cases. Now check whether nonexistent headers
8517 # can be detected and how.
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8520 #include <ac_nonexistent.h>
8521 _ACEOF
8522 if ac_fn_objc_try_cpp "$LINENO"; then :
8523 # Broken: success on invalid input.
8524 continue
8525 else
8526 # Passes both tests.
8527 ac_preproc_ok=:
8528 break
8530 rm -f conftest.err conftest.i conftest.$ac_ext
8532 done
8533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8534 rm -f conftest.i conftest.err conftest.$ac_ext
8535 if $ac_preproc_ok; then :
8536 break
8539 done
8540 ac_cv_prog_OBJCPP=$OBJCPP
8543 OBJCPP=$ac_cv_prog_OBJCPP
8544 else
8545 ac_cv_prog_OBJCPP=$OBJCPP
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8548 $as_echo "$OBJCPP" >&6; }
8549 ac_preproc_ok=false
8550 for ac_objc_preproc_warn_flag in '' yes
8552 # Use a header file that comes with gcc, so configuring glibc
8553 # with a fresh cross-compiler works.
8554 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8555 # <limits.h> exists even on freestanding compilers.
8556 # On the NeXT, cc -E runs the code through the compiler's parser,
8557 # not just through cpp. "Syntax error" is here to catch this case.
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 #ifdef __STDC__
8561 # include <limits.h>
8562 #else
8563 # include <assert.h>
8564 #endif
8565 Syntax error
8566 _ACEOF
8567 if ac_fn_objc_try_cpp "$LINENO"; then :
8569 else
8570 # Broken: fails on valid input.
8571 continue
8573 rm -f conftest.err conftest.i conftest.$ac_ext
8575 # OK, works on sane cases. Now check whether nonexistent headers
8576 # can be detected and how.
8577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8579 #include <ac_nonexistent.h>
8580 _ACEOF
8581 if ac_fn_objc_try_cpp "$LINENO"; then :
8582 # Broken: success on invalid input.
8583 continue
8584 else
8585 # Passes both tests.
8586 ac_preproc_ok=:
8587 break
8589 rm -f conftest.err conftest.i conftest.$ac_ext
8591 done
8592 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8593 rm -f conftest.i conftest.err conftest.$ac_ext
8594 if $ac_preproc_ok; then :
8596 else
8597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8599 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8600 See \`config.log' for more details" "$LINENO" 5; }
8603 ac_ext=m
8604 ac_cpp='$OBJCPP $CPPFLAGS'
8605 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8606 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8607 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8610 for ac_header in Metal/Metal.h
8611 do :
8612 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8613 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8614 cat >>confdefs.h <<_ACEOF
8615 #define HAVE_METAL_METAL_H 1
8616 _ACEOF
8620 done
8622 ac_ext=c
8623 ac_cpp='$CPP $CPPFLAGS'
8624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8628 LIBEXT="dylib"
8629 DLLFLAGS="$DLLFLAGS -fPIC"
8630 LDDLLFLAGS="-fPIC"
8631 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8632 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8633 COREFOUNDATION_LIBS="-framework CoreFoundation"
8635 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8637 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8639 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8641 CORESERVICES_LIBS="-framework CoreServices"
8643 APPKIT_LIBS="-framework AppKit"
8645 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8648 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8650 wine_can_build_preloader=yes
8651 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8653 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8654 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8655 $as_echo_n "(cached) " >&6
8656 else
8657 ac_wine_try_cflags_saved=$CFLAGS
8658 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8660 /* end confdefs.h. */
8661 int main(int argc, char **argv) { return 0; }
8662 _ACEOF
8663 if ac_fn_c_try_link "$LINENO"; then :
8664 ac_cv_cflags__Wl__no_new_main__e__main=yes
8665 else
8666 ac_cv_cflags__Wl__no_new_main__e__main=no
8668 rm -f core conftest.err conftest.$ac_objext \
8669 conftest$ac_exeext conftest.$ac_ext
8670 CFLAGS=$ac_wine_try_cflags_saved
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8673 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8674 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8675 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8677 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8678 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8679 $as_echo_n "(cached) " >&6
8680 else
8681 ac_wine_try_cflags_saved=$CFLAGS
8682 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8684 /* end confdefs.h. */
8685 int main(int argc, char **argv) { return 0; }
8686 _ACEOF
8687 if ac_fn_c_try_link "$LINENO"; then :
8688 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8689 else
8690 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8692 rm -f core conftest.err conftest.$ac_objext \
8693 conftest$ac_exeext conftest.$ac_ext
8694 CFLAGS=$ac_wine_try_cflags_saved
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8697 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8698 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8699 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8700 else
8701 { $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
8702 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8703 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8704 $as_echo_n "(cached) " >&6
8705 else
8706 ac_wine_try_cflags_saved=$CFLAGS
8707 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8709 /* end confdefs.h. */
8710 int main(int argc, char **argv) { return 0; }
8711 _ACEOF
8712 if ac_fn_c_try_link "$LINENO"; then :
8713 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8714 else
8715 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8717 rm -f core conftest.err conftest.$ac_objext \
8718 conftest$ac_exeext conftest.$ac_ext
8719 CFLAGS=$ac_wine_try_cflags_saved
8721 { $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
8722 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8723 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8724 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8725 else
8726 wine_can_build_preloader=no
8729 else
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8731 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8732 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8733 $as_echo_n "(cached) " >&6
8734 else
8735 ac_wine_try_cflags_saved=$CFLAGS
8736 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8738 /* end confdefs.h. */
8739 int main(int argc, char **argv) { return 0; }
8740 _ACEOF
8741 if ac_fn_c_try_link "$LINENO"; then :
8742 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8743 else
8744 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8746 rm -f core conftest.err conftest.$ac_objext \
8747 conftest$ac_exeext conftest.$ac_ext
8748 CFLAGS=$ac_wine_try_cflags_saved
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8751 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8752 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8753 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8754 else
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8756 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8757 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8758 $as_echo_n "(cached) " >&6
8759 else
8760 ac_wine_try_cflags_saved=$CFLAGS
8761 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8763 /* end confdefs.h. */
8764 int main(int argc, char **argv) { return 0; }
8765 _ACEOF
8766 if ac_fn_c_try_link "$LINENO"; then :
8767 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8768 else
8769 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8771 rm -f core conftest.err conftest.$ac_objext \
8772 conftest$ac_exeext conftest.$ac_ext
8773 CFLAGS=$ac_wine_try_cflags_saved
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8776 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8777 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8778 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8779 else
8780 wine_can_build_preloader=no
8784 if test "$wine_can_build_preloader" = "yes"
8785 then
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8787 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8788 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8789 $as_echo_n "(cached) " >&6
8790 else
8791 ac_wine_try_cflags_saved=$CFLAGS
8792 CFLAGS="$CFLAGS -Wl,-no_pie"
8793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8794 /* end confdefs.h. */
8795 int main(int argc, char **argv) { return 0; }
8796 _ACEOF
8797 if ac_fn_c_try_link "$LINENO"; then :
8798 ac_cv_cflags__Wl__no_pie=yes
8799 else
8800 ac_cv_cflags__Wl__no_pie=no
8802 rm -f core conftest.err conftest.$ac_objext \
8803 conftest$ac_exeext conftest.$ac_ext
8804 CFLAGS=$ac_wine_try_cflags_saved
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8807 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8808 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8809 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8811 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8812 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8813 else
8814 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8817 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8818 then
8819 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8822 if test "$ac_cv_header_Security_Security_h" = "yes"
8823 then
8824 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8826 ac_save_LIBS="$LIBS"
8827 LIBS="$LIBS $SECURITY_LIBS"
8828 for ac_func in SSLCopyPeerCertificates
8829 do :
8830 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8831 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8832 cat >>confdefs.h <<_ACEOF
8833 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8834 _ACEOF
8837 done
8839 LIBS="$ac_save_LIBS"
8841 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8842 then
8843 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8844 then
8845 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8847 else
8848 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8851 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8852 ac_save_LIBS="$LIBS"
8853 LIBS="$LIBS $COREAUDIO_LIBS"
8854 for ac_func in AUGraphAddNode
8855 do :
8856 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8857 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8858 cat >>confdefs.h <<_ACEOF
8859 #define HAVE_AUGRAPHADDNODE 1
8860 _ACEOF
8863 done
8865 LIBS="$ac_save_LIBS"
8867 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8868 then
8869 OPENAL_LIBS="-framework OpenAL"
8872 cat >>confdefs.h <<_ACEOF
8873 #define HAVE_OPENAL 1
8874 _ACEOF
8876 ac_cv_lib_openal=yes
8878 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8879 then
8880 OPENCL_LIBS="-framework OpenCL"
8882 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8884 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8885 then
8886 ac_save_LIBS="$LIBS"
8887 LIBS="$LIBS $IOKIT_LIBS"
8888 for ac_func in IOHIDManagerCreate
8889 do :
8890 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8891 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8892 cat >>confdefs.h <<_ACEOF
8893 #define HAVE_IOHIDMANAGERCREATE 1
8894 _ACEOF
8897 done
8899 LIBS="$ac_save_LIBS"
8901 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8902 then
8903 ac_save_LIBS="$LIBS"
8904 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8906 $as_echo_n "checking for the QuickTime framework... " >&6; }
8907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8908 /* end confdefs.h. */
8909 #include <QuickTime/ImageCompression.h>
8911 main ()
8913 CodecManagerVersion(NULL);
8915 return 0;
8917 _ACEOF
8918 if ac_fn_c_try_link "$LINENO"; then :
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8920 $as_echo "yes" >&6; }
8921 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8923 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8924 else
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8926 $as_echo "no" >&6; }
8927 ac_cv_header_QuickTime_ImageCompression_h=no
8929 rm -f core conftest.err conftest.$ac_objext \
8930 conftest$ac_exeext conftest.$ac_ext
8931 LIBS="$ac_save_LIBS"
8933 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8934 then
8935 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8937 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8938 then
8939 CARBON_LIBS="-framework Carbon"
8942 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8943 then
8944 METAL_LIBS="-framework Metal -framework QuartzCore"
8948 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8949 then
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8951 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8952 ac_ext=m
8953 ac_cpp='$OBJCPP $CPPFLAGS'
8954 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8955 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8956 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8959 /* end confdefs.h. */
8960 #include <Metal/Metal.h>
8962 main ()
8964 id<MTLDevice> device; device.registryID;
8966 return 0;
8968 _ACEOF
8969 if ac_fn_objc_try_compile "$LINENO"; then :
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8971 $as_echo "yes" >&6; }
8973 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8975 else
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8977 $as_echo "no" >&6; }
8979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8980 ac_ext=c
8981 ac_cpp='$CPP $CPPFLAGS'
8982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8988 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8989 then
8990 ac_save_LIBS="$LIBS"
8991 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8992 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8993 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8994 enable_winemac_drv=${enable_winemac_drv:-yes}
8997 LIBS="$ac_save_LIBS"
9000 if test "x$enable_win16" = "xyes"
9001 then
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9003 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9004 if test "$cross_compiling" = yes; then :
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9006 $as_echo "cross-compiling, assuming yes" >&6; }
9007 else
9008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9009 /* end confdefs.h. */
9010 asm(".text\n"
9011 "bad:\tnop;nop\n"
9012 "good:\tnop;nop\n\t"
9013 ".globl _testfunc\n"
9014 "_testfunc:\tcallw good");
9015 extern void testfunc();
9017 main ()
9019 unsigned short *p = (unsigned short *)testfunc;
9020 return p[0] != 0xe866 || p[1] != 0xfffa
9022 return 0;
9024 _ACEOF
9025 if ac_fn_c_try_run "$LINENO"; then :
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9027 $as_echo "yes" >&6; }
9028 else
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9030 $as_echo "no" >&6; }
9031 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
9033 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9034 conftest.$ac_objext conftest.beam conftest.$ac_ext
9039 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9041 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9043 WINELOADER_DEPENDS="wine_info.plist"
9045 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9046 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9049 linux-android*)
9050 DLLFLAGS="$DLLFLAGS -fPIC"
9051 LDDLLFLAGS="-fPIC"
9052 LDEXECFLAGS="-Wl,-pie"
9053 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9055 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9056 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9057 $as_echo_n "(cached) " >&6
9058 else
9059 ac_wine_try_cflags_saved=$CFLAGS
9060 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9062 /* end confdefs.h. */
9063 int main(int argc, char **argv) { return 0; }
9064 _ACEOF
9065 if ac_fn_c_try_link "$LINENO"; then :
9066 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9067 else
9068 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9070 rm -f core conftest.err conftest.$ac_objext \
9071 conftest$ac_exeext conftest.$ac_ext
9072 CFLAGS=$ac_wine_try_cflags_saved
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9075 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9076 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9077 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9079 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9080 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9082 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9083 if eval \${$as_ac_var+:} false; then :
9084 $as_echo_n "(cached) " >&6
9085 else
9086 ac_wine_try_cflags_saved=$CFLAGS
9087 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9089 /* end confdefs.h. */
9090 int main(int argc, char **argv) { return 0; }
9091 _ACEOF
9092 if ac_fn_c_try_link "$LINENO"; then :
9093 eval "$as_ac_var=yes"
9094 else
9095 eval "$as_ac_var=no"
9097 rm -f core conftest.err conftest.$ac_objext \
9098 conftest$ac_exeext conftest.$ac_ext
9099 CFLAGS=$ac_wine_try_cflags_saved
9101 eval ac_res=\$$as_ac_var
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9103 $as_echo "$ac_res" >&6; }
9104 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9105 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9106 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9107 else
9108 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9110 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9111 if eval \${$as_ac_var+:} false; then :
9112 $as_echo_n "(cached) " >&6
9113 else
9114 ac_wine_try_cflags_saved=$CFLAGS
9115 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9117 /* end confdefs.h. */
9118 int main(int argc, char **argv) { return 0; }
9119 _ACEOF
9120 if ac_fn_c_try_link "$LINENO"; then :
9121 eval "$as_ac_var=yes"
9122 else
9123 eval "$as_ac_var=no"
9125 rm -f core conftest.err conftest.$ac_objext \
9126 conftest$ac_exeext conftest.$ac_ext
9127 CFLAGS=$ac_wine_try_cflags_saved
9129 eval ac_res=\$$as_ac_var
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9131 $as_echo "$ac_res" >&6; }
9132 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9133 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9134 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9138 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9139 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9140 $as_echo_n "(cached) " >&6
9141 else
9142 ac_wine_try_cflags_saved=$CFLAGS
9143 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9146 int main(int argc, char **argv) { return 0; }
9147 _ACEOF
9148 if ac_fn_c_try_link "$LINENO"; then :
9149 ac_cv_cflags__Wl___enable_new_dtags=yes
9150 else
9151 ac_cv_cflags__Wl___enable_new_dtags=no
9153 rm -f core conftest.err conftest.$ac_objext \
9154 conftest$ac_exeext conftest.$ac_ext
9155 CFLAGS=$ac_wine_try_cflags_saved
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9158 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9159 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9160 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9163 LIBWINE_SHAREDLIB="libwine.so"
9165 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9167 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9170 $as_echo_n "checking for -lEGL... " >&6; }
9171 if ${ac_cv_lib_soname_EGL+:} false; then :
9172 $as_echo_n "(cached) " >&6
9173 else
9174 ac_check_soname_save_LIBS=$LIBS
9175 LIBS="-lEGL $LIBS"
9176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9177 /* end confdefs.h. */
9179 /* Override any GCC internal prototype to avoid an error.
9180 Use char because int might match the return type of a GCC
9181 builtin and then its argument prototype would still apply. */
9182 #ifdef __cplusplus
9183 extern "C"
9184 #endif
9185 char eglGetProcAddress ();
9187 main ()
9189 return eglGetProcAddress ();
9191 return 0;
9193 _ACEOF
9194 if ac_fn_c_try_link "$LINENO"; then :
9195 case "$LIBEXT" in
9196 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9197 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'` ;;
9198 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9199 if ${ac_cv_lib_soname_EGL:+false} :; then :
9200 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9201 fi ;;
9202 esac
9203 else
9204 ac_cv_lib_soname_EGL=
9206 rm -f core conftest.err conftest.$ac_objext \
9207 conftest$ac_exeext conftest.$ac_ext
9208 LIBS=$ac_check_soname_save_LIBS
9210 if ${ac_cv_lib_soname_EGL:+false} :; then :
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9212 $as_echo "not found" >&6; }
9214 else
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9216 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9218 cat >>confdefs.h <<_ACEOF
9219 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9220 _ACEOF
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9225 $as_echo_n "checking for -lGLESv2... " >&6; }
9226 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9227 $as_echo_n "(cached) " >&6
9228 else
9229 ac_check_soname_save_LIBS=$LIBS
9230 LIBS="-lGLESv2 $LIBS"
9231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9232 /* end confdefs.h. */
9234 /* Override any GCC internal prototype to avoid an error.
9235 Use char because int might match the return type of a GCC
9236 builtin and then its argument prototype would still apply. */
9237 #ifdef __cplusplus
9238 extern "C"
9239 #endif
9240 char glFlush ();
9242 main ()
9244 return glFlush ();
9246 return 0;
9248 _ACEOF
9249 if ac_fn_c_try_link "$LINENO"; then :
9250 case "$LIBEXT" in
9251 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9252 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'` ;;
9253 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9254 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9255 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9256 fi ;;
9257 esac
9258 else
9259 ac_cv_lib_soname_GLESv2=
9261 rm -f core conftest.err conftest.$ac_objext \
9262 conftest$ac_exeext conftest.$ac_ext
9263 LIBS=$ac_check_soname_save_LIBS
9265 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9267 $as_echo "not found" >&6; }
9269 else
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9271 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9273 cat >>confdefs.h <<_ACEOF
9274 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9275 _ACEOF
9280 if test "x$exec_prefix" = xNONE
9281 then
9282 case $host_cpu in
9283 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9284 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9285 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9286 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9287 esac
9292 case $host_cpu in
9293 *i[3456789]86*)
9294 DLLFLAGS="$DLLFLAGS -fno-PIC"
9295 LDDLLFLAGS="-fno-PIC" ;;
9297 DLLFLAGS="$DLLFLAGS -fPIC"
9298 LDDLLFLAGS="-fPIC" ;;
9299 esac
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9301 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9302 if ${ac_cv_c_dll_gnuelf+:} false; then :
9303 $as_echo_n "(cached) " >&6
9304 else
9305 ac_wine_try_cflags_saved=$CFLAGS
9306 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9308 /* end confdefs.h. */
9309 void myfunc() {}
9310 _ACEOF
9311 if ac_fn_c_try_link "$LINENO"; then :
9312 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9313 else
9314 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9316 rm -f core conftest.err conftest.$ac_objext \
9317 conftest$ac_exeext conftest.$ac_ext
9318 CFLAGS=$ac_wine_try_cflags_saved
9319 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9320 ac_cv_c_dll_gnuelf="yes"
9321 else
9322 ac_cv_c_dll_gnuelf="no"
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9326 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9327 if test "$ac_cv_c_dll_gnuelf" = "yes"
9328 then
9329 LIBWINE_LDFLAGS="-shared"
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9331 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9332 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9333 $as_echo_n "(cached) " >&6
9334 else
9335 ac_wine_try_cflags_saved=$CFLAGS
9336 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9338 /* end confdefs.h. */
9339 int main(int argc, char **argv) { return 0; }
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9342 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9343 else
9344 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9346 rm -f core conftest.err conftest.$ac_objext \
9347 conftest$ac_exeext conftest.$ac_ext
9348 CFLAGS=$ac_wine_try_cflags_saved
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9351 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9352 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9353 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9354 else
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9356 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9357 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9358 $as_echo_n "(cached) " >&6
9359 else
9360 ac_wine_try_cflags_saved=$CFLAGS
9361 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9363 /* end confdefs.h. */
9364 int main(int argc, char **argv) { return 0; }
9365 _ACEOF
9366 if ac_fn_c_try_link "$LINENO"; then :
9367 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9368 else
9369 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9371 rm -f core conftest.err conftest.$ac_objext \
9372 conftest$ac_exeext conftest.$ac_ext
9373 CFLAGS=$ac_wine_try_cflags_saved
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9376 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9377 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9378 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9382 echo '{ global: *; };' >conftest.map
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9384 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9385 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9386 $as_echo_n "(cached) " >&6
9387 else
9388 ac_wine_try_cflags_saved=$CFLAGS
9389 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9392 int main(int argc, char **argv) { return 0; }
9393 _ACEOF
9394 if ac_fn_c_try_link "$LINENO"; then :
9395 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9396 else
9397 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9399 rm -f core conftest.err conftest.$ac_objext \
9400 conftest$ac_exeext conftest.$ac_ext
9401 CFLAGS=$ac_wine_try_cflags_saved
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9404 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9405 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9406 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9408 rm -f conftest.map
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9411 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9412 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9413 $as_echo_n "(cached) " >&6
9414 else
9415 ac_wine_try_cflags_saved=$CFLAGS
9416 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9418 /* end confdefs.h. */
9419 int main(int argc, char **argv) { return 0; }
9420 _ACEOF
9421 if ac_fn_c_try_link "$LINENO"; then :
9422 ac_cv_cflags__Wl___export_dynamic=yes
9423 else
9424 ac_cv_cflags__Wl___export_dynamic=no
9426 rm -f core conftest.err conftest.$ac_objext \
9427 conftest$ac_exeext conftest.$ac_ext
9428 CFLAGS=$ac_wine_try_cflags_saved
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9431 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9432 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9433 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9435 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9437 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9439 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9440 if eval \${$as_ac_var+:} false; then :
9441 $as_echo_n "(cached) " >&6
9442 else
9443 ac_wine_try_cflags_saved=$CFLAGS
9444 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9446 /* end confdefs.h. */
9447 int main(int argc, char **argv) { return 0; }
9448 _ACEOF
9449 if ac_fn_c_try_link "$LINENO"; then :
9450 eval "$as_ac_var=yes"
9451 else
9452 eval "$as_ac_var=no"
9454 rm -f core conftest.err conftest.$ac_objext \
9455 conftest$ac_exeext conftest.$ac_ext
9456 CFLAGS=$ac_wine_try_cflags_saved
9458 eval ac_res=\$$as_ac_var
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9460 $as_echo "$ac_res" >&6; }
9461 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9462 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9463 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9464 else
9465 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9467 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9468 if eval \${$as_ac_var+:} false; then :
9469 $as_echo_n "(cached) " >&6
9470 else
9471 ac_wine_try_cflags_saved=$CFLAGS
9472 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9474 /* end confdefs.h. */
9475 int main(int argc, char **argv) { return 0; }
9476 _ACEOF
9477 if ac_fn_c_try_link "$LINENO"; then :
9478 eval "$as_ac_var=yes"
9479 else
9480 eval "$as_ac_var=no"
9482 rm -f core conftest.err conftest.$ac_objext \
9483 conftest$ac_exeext conftest.$ac_ext
9484 CFLAGS=$ac_wine_try_cflags_saved
9486 eval ac_res=\$$as_ac_var
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9488 $as_echo "$ac_res" >&6; }
9489 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9490 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9491 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9496 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9497 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9498 $as_echo_n "(cached) " >&6
9499 else
9500 ac_wine_try_cflags_saved=$CFLAGS
9501 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9503 /* end confdefs.h. */
9504 int main(int argc, char **argv) { return 0; }
9505 _ACEOF
9506 if ac_fn_c_try_link "$LINENO"; then :
9507 ac_cv_cflags__Wl___enable_new_dtags=yes
9508 else
9509 ac_cv_cflags__Wl___enable_new_dtags=no
9511 rm -f core conftest.err conftest.$ac_objext \
9512 conftest$ac_exeext conftest.$ac_ext
9513 CFLAGS=$ac_wine_try_cflags_saved
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9516 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9517 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9518 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9521 case $host_cpu in
9522 *i[3456789]86* | x86_64 | *aarch64*)
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9524 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9525 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9526 $as_echo_n "(cached) " >&6
9527 else
9528 ac_wine_try_cflags_saved=$CFLAGS
9529 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9532 int main(int argc, char **argv) { return 0; }
9533 _ACEOF
9534 if ac_fn_c_try_link "$LINENO"; then :
9535 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9536 else
9537 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9539 rm -f core conftest.err conftest.$ac_objext \
9540 conftest$ac_exeext conftest.$ac_ext
9541 CFLAGS=$ac_wine_try_cflags_saved
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9544 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9545 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9546 case $host_os in
9547 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9548 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9549 esac
9550 else
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9552 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9553 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9554 $as_echo_n "(cached) " >&6
9555 else
9556 ac_wine_try_cflags_saved=$CFLAGS
9557 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9559 /* end confdefs.h. */
9560 int main(int argc, char **argv) { return 0; }
9561 _ACEOF
9562 if ac_fn_c_try_link "$LINENO"; then :
9563 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9564 else
9565 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9567 rm -f core conftest.err conftest.$ac_objext \
9568 conftest$ac_exeext conftest.$ac_ext
9569 CFLAGS=$ac_wine_try_cflags_saved
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9572 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9573 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9574 case $host_os in
9575 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9576 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9577 esac
9579 # Extract the first word of "prelink", so it can be a program name with args.
9580 set dummy prelink; ac_word=$2
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9582 $as_echo_n "checking for $ac_word... " >&6; }
9583 if ${ac_cv_path_PRELINK+:} false; then :
9584 $as_echo_n "(cached) " >&6
9585 else
9586 case $PRELINK in
9587 [\\/]* | ?:[\\/]*)
9588 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9592 for as_dir in /sbin /usr/sbin $PATH
9594 IFS=$as_save_IFS
9595 test -z "$as_dir" && as_dir=.
9596 for ac_exec_ext in '' $ac_executable_extensions; do
9597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9598 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9600 break 2
9602 done
9603 done
9604 IFS=$as_save_IFS
9606 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9608 esac
9610 PRELINK=$ac_cv_path_PRELINK
9611 if test -n "$PRELINK"; then
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9613 $as_echo "$PRELINK" >&6; }
9614 else
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9616 $as_echo "no" >&6; }
9620 if test "x$PRELINK" = xfalse
9621 then
9622 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9626 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9627 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9628 $as_echo_n "(cached) " >&6
9629 else
9630 ac_wine_try_cflags_saved=$CFLAGS
9631 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9634 int main(int argc, char **argv) { return 0; }
9635 _ACEOF
9636 if ac_fn_c_try_link "$LINENO"; then :
9637 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9638 else
9639 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9641 rm -f core conftest.err conftest.$ac_objext \
9642 conftest$ac_exeext conftest.$ac_ext
9643 CFLAGS=$ac_wine_try_cflags_saved
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9646 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9647 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9648 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9651 esac
9653 else
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9655 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9656 if ${ac_cv_c_dll_unixware+:} false; then :
9657 $as_echo_n "(cached) " >&6
9658 else
9659 ac_wine_try_cflags_saved=$CFLAGS
9660 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9662 /* end confdefs.h. */
9663 void myfunc() {}
9664 _ACEOF
9665 if ac_fn_c_try_link "$LINENO"; then :
9666 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9667 else
9668 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9670 rm -f core conftest.err conftest.$ac_objext \
9671 conftest$ac_exeext conftest.$ac_ext
9672 CFLAGS=$ac_wine_try_cflags_saved
9673 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9674 ac_cv_c_dll_unixware="yes"
9675 else
9676 ac_cv_c_dll_unixware="no"
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9680 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9681 if test "$ac_cv_c_dll_unixware" = "yes"
9682 then
9683 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9686 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9688 LIBWINE_DEPENDS="wine.map"
9690 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9691 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9693 esac
9695 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9696 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9697 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9698 enable_winemac_drv=${enable_winemac_drv:-no}
9699 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9701 CROSSTARGET=""
9703 if test "x$with_mingw" != xno
9704 then
9705 case "x$with_mingw" in
9706 x|xyes) case "$host_cpu" in
9707 aarch64*)
9708 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9709 arm*)
9710 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9711 i[3456789]86*)
9712 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
9713 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9714 mingw32-gcc" ;;
9715 x86_64)
9716 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
9717 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9719 ac_prefix_list="" ;;
9720 esac
9721 for ac_prog in $ac_prefix_list
9723 # Extract the first word of "$ac_prog", so it can be a program name with args.
9724 set dummy $ac_prog; ac_word=$2
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9726 $as_echo_n "checking for $ac_word... " >&6; }
9727 if ${ac_cv_prog_CROSSCC+:} false; then :
9728 $as_echo_n "(cached) " >&6
9729 else
9730 if test -n "$CROSSCC"; then
9731 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9732 else
9733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9734 for as_dir in $PATH
9736 IFS=$as_save_IFS
9737 test -z "$as_dir" && as_dir=.
9738 for ac_exec_ext in '' $ac_executable_extensions; do
9739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9740 ac_cv_prog_CROSSCC="$ac_prog"
9741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9742 break 2
9744 done
9745 done
9746 IFS=$as_save_IFS
9750 CROSSCC=$ac_cv_prog_CROSSCC
9751 if test -n "$CROSSCC"; then
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9753 $as_echo "$CROSSCC" >&6; }
9754 else
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9756 $as_echo "no" >&6; }
9760 test -n "$CROSSCC" && break
9761 done
9762 test -n "$CROSSCC" || CROSSCC="false"
9764 *) CROSSCC=$with_mingw ;;
9765 esac
9766 if test "$CROSSCC" != "false"
9767 then
9768 ac_save_CC="$CC"
9769 saved_CFLAGS=$CFLAGS
9770 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9772 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9775 CC="$CROSSCC"
9776 CFLAGS=$CROSSCFLAGS
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9778 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9779 if ${wine_cv_crosscc+:} false; then :
9780 $as_echo_n "(cached) " >&6
9781 else
9782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9783 /* end confdefs.h. */
9786 main ()
9790 return 0;
9792 _ACEOF
9793 if ac_fn_c_try_compile "$LINENO"; then :
9794 wine_cv_crosscc=yes
9795 else
9796 wine_cv_crosscc=no
9798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9801 $as_echo "$wine_cv_crosscc" >&6; }
9802 if test $wine_cv_crosscc = yes
9803 then
9804 set x $CROSSCC
9805 shift
9806 while test $# -ge 1
9808 case "$1" in
9809 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9810 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9811 esac
9812 shift
9813 done
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9816 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9817 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9818 $as_echo_n "(cached) " >&6
9819 else
9820 ac_wine_try_cflags_saved=$CFLAGS
9821 ac_wine_try_cflags_saved_cc=$CC
9822 ac_wine_try_cflags_saved_exeext=$ac_exeext
9823 CFLAGS="$CFLAGS -fno-strict-aliasing"
9824 CC="$CROSSCC"
9825 ac_exeext=".exe"
9826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9827 /* end confdefs.h. */
9828 int main(int argc, char **argv) { return 0; }
9829 _ACEOF
9830 if ac_fn_c_try_link "$LINENO"; then :
9831 ac_cv_crosscflags__fno_strict_aliasing=yes
9832 else
9833 ac_cv_crosscflags__fno_strict_aliasing=no
9835 rm -f core conftest.err conftest.$ac_objext \
9836 conftest$ac_exeext conftest.$ac_ext
9837 CFLAGS=$ac_wine_try_cflags_saved
9838 CC=$ac_wine_try_cflags_saved_cc
9839 ac_exeext=$ac_wine_try_cflags_saved_exeext
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9842 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9843 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9844 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9847 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9848 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9849 $as_echo_n "(cached) " >&6
9850 else
9851 ac_wine_try_cflags_saved=$CFLAGS
9852 ac_wine_try_cflags_saved_cc=$CC
9853 ac_wine_try_cflags_saved_exeext=$ac_exeext
9854 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9855 CC="$CROSSCC"
9856 ac_exeext=".exe"
9857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9858 /* end confdefs.h. */
9859 int main(int argc, char **argv) { return 0; }
9860 _ACEOF
9861 if ac_fn_c_try_link "$LINENO"; then :
9862 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9863 else
9864 ac_cv_crosscflags__Werror_unknown_warning_option=no
9866 rm -f core conftest.err conftest.$ac_objext \
9867 conftest$ac_exeext conftest.$ac_ext
9868 CFLAGS=$ac_wine_try_cflags_saved
9869 CC=$ac_wine_try_cflags_saved_cc
9870 ac_exeext=$ac_wine_try_cflags_saved_exeext
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9873 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9874 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9875 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9878 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9879 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9880 $as_echo_n "(cached) " >&6
9881 else
9882 ac_wine_try_cflags_saved=$CFLAGS
9883 ac_wine_try_cflags_saved_cc=$CC
9884 ac_wine_try_cflags_saved_exeext=$ac_exeext
9885 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9886 CC="$CROSSCC"
9887 ac_exeext=".exe"
9888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9889 /* end confdefs.h. */
9890 int main(int argc, char **argv) { return 0; }
9891 _ACEOF
9892 if ac_fn_c_try_link "$LINENO"; then :
9893 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9894 else
9895 ac_cv_crosscflags__Wdeclaration_after_statement=no
9897 rm -f core conftest.err conftest.$ac_objext \
9898 conftest$ac_exeext conftest.$ac_ext
9899 CFLAGS=$ac_wine_try_cflags_saved
9900 CC=$ac_wine_try_cflags_saved_cc
9901 ac_exeext=$ac_wine_try_cflags_saved_exeext
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9904 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9905 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9906 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9909 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9910 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9911 $as_echo_n "(cached) " >&6
9912 else
9913 ac_wine_try_cflags_saved=$CFLAGS
9914 ac_wine_try_cflags_saved_cc=$CC
9915 ac_wine_try_cflags_saved_exeext=$ac_exeext
9916 CFLAGS="$CFLAGS -Wempty-body"
9917 CC="$CROSSCC"
9918 ac_exeext=".exe"
9919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9920 /* end confdefs.h. */
9921 int main(int argc, char **argv) { return 0; }
9922 _ACEOF
9923 if ac_fn_c_try_link "$LINENO"; then :
9924 ac_cv_crosscflags__Wempty_body=yes
9925 else
9926 ac_cv_crosscflags__Wempty_body=no
9928 rm -f core conftest.err conftest.$ac_objext \
9929 conftest$ac_exeext conftest.$ac_ext
9930 CFLAGS=$ac_wine_try_cflags_saved
9931 CC=$ac_wine_try_cflags_saved_cc
9932 ac_exeext=$ac_wine_try_cflags_saved_exeext
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9935 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9936 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9937 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9940 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9941 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9942 $as_echo_n "(cached) " >&6
9943 else
9944 ac_wine_try_cflags_saved=$CFLAGS
9945 ac_wine_try_cflags_saved_cc=$CC
9946 ac_wine_try_cflags_saved_exeext=$ac_exeext
9947 CFLAGS="$CFLAGS -Wignored-qualifiers"
9948 CC="$CROSSCC"
9949 ac_exeext=".exe"
9950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9951 /* end confdefs.h. */
9952 int main(int argc, char **argv) { return 0; }
9953 _ACEOF
9954 if ac_fn_c_try_link "$LINENO"; then :
9955 ac_cv_crosscflags__Wignored_qualifiers=yes
9956 else
9957 ac_cv_crosscflags__Wignored_qualifiers=no
9959 rm -f core conftest.err conftest.$ac_objext \
9960 conftest$ac_exeext conftest.$ac_ext
9961 CFLAGS=$ac_wine_try_cflags_saved
9962 CC=$ac_wine_try_cflags_saved_cc
9963 ac_exeext=$ac_wine_try_cflags_saved_exeext
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9966 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9967 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9968 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9971 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9972 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9973 $as_echo_n "(cached) " >&6
9974 else
9975 ac_wine_try_cflags_saved=$CFLAGS
9976 ac_wine_try_cflags_saved_cc=$CC
9977 ac_wine_try_cflags_saved_exeext=$ac_exeext
9978 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9979 CC="$CROSSCC"
9980 ac_exeext=".exe"
9981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9982 /* end confdefs.h. */
9983 int main(int argc, char **argv) { return 0; }
9984 _ACEOF
9985 if ac_fn_c_try_link "$LINENO"; then :
9986 ac_cv_crosscflags__Wpacked_not_aligned=yes
9987 else
9988 ac_cv_crosscflags__Wpacked_not_aligned=no
9990 rm -f core conftest.err conftest.$ac_objext \
9991 conftest$ac_exeext conftest.$ac_ext
9992 CFLAGS=$ac_wine_try_cflags_saved
9993 CC=$ac_wine_try_cflags_saved_cc
9994 ac_exeext=$ac_wine_try_cflags_saved_exeext
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9997 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9998 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9999 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10002 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10003 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10004 $as_echo_n "(cached) " >&6
10005 else
10006 ac_wine_try_cflags_saved=$CFLAGS
10007 ac_wine_try_cflags_saved_cc=$CC
10008 ac_wine_try_cflags_saved_exeext=$ac_exeext
10009 CFLAGS="$CFLAGS -Wpragma-pack"
10010 CC="$CROSSCC"
10011 ac_exeext=".exe"
10012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10013 /* end confdefs.h. */
10014 int main(int argc, char **argv) { return 0; }
10015 _ACEOF
10016 if ac_fn_c_try_link "$LINENO"; then :
10017 ac_cv_crosscflags__Wpragma_pack=yes
10018 else
10019 ac_cv_crosscflags__Wpragma_pack=no
10021 rm -f core conftest.err conftest.$ac_objext \
10022 conftest$ac_exeext conftest.$ac_ext
10023 CFLAGS=$ac_wine_try_cflags_saved
10024 CC=$ac_wine_try_cflags_saved_cc
10025 ac_exeext=$ac_wine_try_cflags_saved_exeext
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10028 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10029 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10030 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10033 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10034 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10035 $as_echo_n "(cached) " >&6
10036 else
10037 ac_wine_try_cflags_saved=$CFLAGS
10038 ac_wine_try_cflags_saved_cc=$CC
10039 ac_wine_try_cflags_saved_exeext=$ac_exeext
10040 CFLAGS="$CFLAGS -Wshift-overflow=2"
10041 CC="$CROSSCC"
10042 ac_exeext=".exe"
10043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10044 /* end confdefs.h. */
10045 int main(int argc, char **argv) { return 0; }
10046 _ACEOF
10047 if ac_fn_c_try_link "$LINENO"; then :
10048 ac_cv_crosscflags__Wshift_overflow_2=yes
10049 else
10050 ac_cv_crosscflags__Wshift_overflow_2=no
10052 rm -f core conftest.err conftest.$ac_objext \
10053 conftest$ac_exeext conftest.$ac_ext
10054 CFLAGS=$ac_wine_try_cflags_saved
10055 CC=$ac_wine_try_cflags_saved_cc
10056 ac_exeext=$ac_wine_try_cflags_saved_exeext
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10059 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10060 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10061 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10064 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10065 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10066 $as_echo_n "(cached) " >&6
10067 else
10068 ac_wine_try_cflags_saved=$CFLAGS
10069 ac_wine_try_cflags_saved_cc=$CC
10070 ac_wine_try_cflags_saved_exeext=$ac_exeext
10071 CFLAGS="$CFLAGS -Wstrict-prototypes"
10072 CC="$CROSSCC"
10073 ac_exeext=".exe"
10074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10076 int main(int argc, char **argv) { return 0; }
10077 _ACEOF
10078 if ac_fn_c_try_link "$LINENO"; then :
10079 ac_cv_crosscflags__Wstrict_prototypes=yes
10080 else
10081 ac_cv_crosscflags__Wstrict_prototypes=no
10083 rm -f core conftest.err conftest.$ac_objext \
10084 conftest$ac_exeext conftest.$ac_ext
10085 CFLAGS=$ac_wine_try_cflags_saved
10086 CC=$ac_wine_try_cflags_saved_cc
10087 ac_exeext=$ac_wine_try_cflags_saved_exeext
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10090 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10091 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10092 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10095 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10096 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10097 $as_echo_n "(cached) " >&6
10098 else
10099 ac_wine_try_cflags_saved=$CFLAGS
10100 ac_wine_try_cflags_saved_cc=$CC
10101 ac_wine_try_cflags_saved_exeext=$ac_exeext
10102 CFLAGS="$CFLAGS -Wtype-limits"
10103 CC="$CROSSCC"
10104 ac_exeext=".exe"
10105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10106 /* end confdefs.h. */
10107 int main(int argc, char **argv) { return 0; }
10108 _ACEOF
10109 if ac_fn_c_try_link "$LINENO"; then :
10110 ac_cv_crosscflags__Wtype_limits=yes
10111 else
10112 ac_cv_crosscflags__Wtype_limits=no
10114 rm -f core conftest.err conftest.$ac_objext \
10115 conftest$ac_exeext conftest.$ac_ext
10116 CFLAGS=$ac_wine_try_cflags_saved
10117 CC=$ac_wine_try_cflags_saved_cc
10118 ac_exeext=$ac_wine_try_cflags_saved_exeext
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10121 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10122 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10123 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10126 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10127 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10128 $as_echo_n "(cached) " >&6
10129 else
10130 ac_wine_try_cflags_saved=$CFLAGS
10131 ac_wine_try_cflags_saved_cc=$CC
10132 ac_wine_try_cflags_saved_exeext=$ac_exeext
10133 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10134 CC="$CROSSCC"
10135 ac_exeext=".exe"
10136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10138 int main(int argc, char **argv) { return 0; }
10139 _ACEOF
10140 if ac_fn_c_try_link "$LINENO"; then :
10141 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10142 else
10143 ac_cv_crosscflags__Wunused_but_set_parameter=no
10145 rm -f core conftest.err conftest.$ac_objext \
10146 conftest$ac_exeext conftest.$ac_ext
10147 CFLAGS=$ac_wine_try_cflags_saved
10148 CC=$ac_wine_try_cflags_saved_cc
10149 ac_exeext=$ac_wine_try_cflags_saved_exeext
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10152 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10153 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10154 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10157 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10158 if ${ac_cv_crosscflags__Wvla+:} false; then :
10159 $as_echo_n "(cached) " >&6
10160 else
10161 ac_wine_try_cflags_saved=$CFLAGS
10162 ac_wine_try_cflags_saved_cc=$CC
10163 ac_wine_try_cflags_saved_exeext=$ac_exeext
10164 CFLAGS="$CFLAGS -Wvla"
10165 CC="$CROSSCC"
10166 ac_exeext=".exe"
10167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10168 /* end confdefs.h. */
10169 int main(int argc, char **argv) { return 0; }
10170 _ACEOF
10171 if ac_fn_c_try_link "$LINENO"; then :
10172 ac_cv_crosscflags__Wvla=yes
10173 else
10174 ac_cv_crosscflags__Wvla=no
10176 rm -f core conftest.err conftest.$ac_objext \
10177 conftest$ac_exeext conftest.$ac_ext
10178 CFLAGS=$ac_wine_try_cflags_saved
10179 CC=$ac_wine_try_cflags_saved_cc
10180 ac_exeext=$ac_wine_try_cflags_saved_exeext
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10183 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10184 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10185 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10188 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10189 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10190 $as_echo_n "(cached) " >&6
10191 else
10192 ac_wine_try_cflags_saved=$CFLAGS
10193 ac_wine_try_cflags_saved_cc=$CC
10194 ac_wine_try_cflags_saved_exeext=$ac_exeext
10195 CFLAGS="$CFLAGS -Wwrite-strings"
10196 CC="$CROSSCC"
10197 ac_exeext=".exe"
10198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10199 /* end confdefs.h. */
10200 int main(int argc, char **argv) { return 0; }
10201 _ACEOF
10202 if ac_fn_c_try_link "$LINENO"; then :
10203 ac_cv_crosscflags__Wwrite_strings=yes
10204 else
10205 ac_cv_crosscflags__Wwrite_strings=no
10207 rm -f core conftest.err conftest.$ac_objext \
10208 conftest$ac_exeext conftest.$ac_ext
10209 CFLAGS=$ac_wine_try_cflags_saved
10210 CC=$ac_wine_try_cflags_saved_cc
10211 ac_exeext=$ac_wine_try_cflags_saved_exeext
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10214 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10215 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10216 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10219 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10220 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10221 $as_echo_n "(cached) " >&6
10222 else
10223 ac_wine_try_cflags_saved=$CFLAGS
10224 ac_wine_try_cflags_saved_cc=$CC
10225 ac_wine_try_cflags_saved_exeext=$ac_exeext
10226 CFLAGS="$CFLAGS -Wpointer-arith"
10227 CC="$CROSSCC"
10228 ac_exeext=".exe"
10229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10230 /* end confdefs.h. */
10231 int main(int argc, char **argv) { return 0; }
10232 _ACEOF
10233 if ac_fn_c_try_link "$LINENO"; then :
10234 ac_cv_crosscflags__Wpointer_arith=yes
10235 else
10236 ac_cv_crosscflags__Wpointer_arith=no
10238 rm -f core conftest.err conftest.$ac_objext \
10239 conftest$ac_exeext conftest.$ac_ext
10240 CFLAGS=$ac_wine_try_cflags_saved
10241 CC=$ac_wine_try_cflags_saved_cc
10242 ac_exeext=$ac_wine_try_cflags_saved_exeext
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10245 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10246 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10247 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10250 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10251 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10252 $as_echo_n "(cached) " >&6
10253 else
10254 ac_wine_try_cflags_saved=$CFLAGS
10255 ac_wine_try_cflags_saved_cc=$CC
10256 ac_wine_try_cflags_saved_exeext=$ac_exeext
10257 CFLAGS="$CFLAGS -Wlogical-op"
10258 CC="$CROSSCC"
10259 ac_exeext=".exe"
10260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10261 /* end confdefs.h. */
10262 int main(int argc, char **argv) { return 0; }
10263 _ACEOF
10264 if ac_fn_c_try_link "$LINENO"; then :
10265 ac_cv_crosscflags__Wlogical_op=yes
10266 else
10267 ac_cv_crosscflags__Wlogical_op=no
10269 rm -f core conftest.err conftest.$ac_objext \
10270 conftest$ac_exeext conftest.$ac_ext
10271 CFLAGS=$ac_wine_try_cflags_saved
10272 CC=$ac_wine_try_cflags_saved_cc
10273 ac_exeext=$ac_wine_try_cflags_saved_exeext
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10276 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10277 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10278 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10281 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10282 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10283 $as_echo_n "(cached) " >&6
10284 else
10285 ac_wine_try_cflags_saved=$CFLAGS
10286 ac_wine_try_cflags_saved_cc=$CC
10287 ac_wine_try_cflags_saved_exeext=$ac_exeext
10288 CFLAGS="$CFLAGS -Wincompatible-library-redeclaration"
10289 CC="$CROSSCC"
10290 ac_exeext=".exe"
10291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10292 /* end confdefs.h. */
10293 int main(int argc, char **argv) { return 0; }
10294 _ACEOF
10295 if ac_fn_c_try_link "$LINENO"; then :
10296 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10297 else
10298 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10300 rm -f core conftest.err conftest.$ac_objext \
10301 conftest$ac_exeext conftest.$ac_ext
10302 CFLAGS=$ac_wine_try_cflags_saved
10303 CC=$ac_wine_try_cflags_saved_cc
10304 ac_exeext=$ac_wine_try_cflags_saved_exeext
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10307 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10308 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10309 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10312 case $host_cpu in
10313 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10314 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10315 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10316 $as_echo_n "(cached) " >&6
10317 else
10318 ac_wine_try_cflags_saved=$CFLAGS
10319 ac_wine_try_cflags_saved_cc=$CC
10320 ac_wine_try_cflags_saved_exeext=$ac_exeext
10321 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10322 CC="$CROSSCC"
10323 ac_exeext=".exe"
10324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10326 int main(int argc, char **argv) { return 0; }
10327 _ACEOF
10328 if ac_fn_c_try_link "$LINENO"; then :
10329 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10330 else
10331 ac_cv_crosscflags__fno_omit_frame_pointer=no
10333 rm -f core conftest.err conftest.$ac_objext \
10334 conftest$ac_exeext conftest.$ac_ext
10335 CFLAGS=$ac_wine_try_cflags_saved
10336 CC=$ac_wine_try_cflags_saved_cc
10337 ac_exeext=$ac_wine_try_cflags_saved_exeext
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10340 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10341 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10342 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10343 fi ;;
10344 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10345 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10346 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10347 $as_echo_n "(cached) " >&6
10348 else
10349 ac_wine_try_cflags_saved=$CFLAGS
10350 ac_wine_try_cflags_saved_cc=$CC
10351 ac_wine_try_cflags_saved_exeext=$ac_exeext
10352 CFLAGS="$CFLAGS -Wno-format"
10353 CC="$CROSSCC"
10354 ac_exeext=".exe"
10355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10357 int main(int argc, char **argv) { return 0; }
10358 _ACEOF
10359 if ac_fn_c_try_link "$LINENO"; then :
10360 ac_cv_crosscflags__Wno_format=yes
10361 else
10362 ac_cv_crosscflags__Wno_format=no
10364 rm -f core conftest.err conftest.$ac_objext \
10365 conftest$ac_exeext conftest.$ac_ext
10366 CFLAGS=$ac_wine_try_cflags_saved
10367 CC=$ac_wine_try_cflags_saved_cc
10368 ac_exeext=$ac_wine_try_cflags_saved_exeext
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10371 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10372 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10373 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10374 fi ;;
10375 esac
10377 for ac_flag in $CROSSCFLAGS; do
10378 case $ac_flag in
10379 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10380 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10381 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10382 $as_echo_n "(cached) " >&6
10383 else
10384 ac_wine_try_cflags_saved=$CFLAGS
10385 ac_wine_try_cflags_saved_cc=$CC
10386 ac_wine_try_cflags_saved_exeext=$ac_exeext
10387 CFLAGS="$CFLAGS -gdwarf-2"
10388 CC="$CROSSCC"
10389 ac_exeext=".exe"
10390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10391 /* end confdefs.h. */
10392 int main(int argc, char **argv) { return 0; }
10393 _ACEOF
10394 if ac_fn_c_try_link "$LINENO"; then :
10395 ac_cv_crosscflags__gdwarf_2=yes
10396 else
10397 ac_cv_crosscflags__gdwarf_2=no
10399 rm -f core conftest.err conftest.$ac_objext \
10400 conftest$ac_exeext conftest.$ac_ext
10401 CFLAGS=$ac_wine_try_cflags_saved
10402 CC=$ac_wine_try_cflags_saved_cc
10403 ac_exeext=$ac_wine_try_cflags_saved_exeext
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10406 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10407 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10408 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10411 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10412 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10413 $as_echo_n "(cached) " >&6
10414 else
10415 ac_wine_try_cflags_saved=$CFLAGS
10416 ac_wine_try_cflags_saved_cc=$CC
10417 ac_wine_try_cflags_saved_exeext=$ac_exeext
10418 CFLAGS="$CFLAGS -gstrict-dwarf"
10419 CC="$CROSSCC"
10420 ac_exeext=".exe"
10421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10422 /* end confdefs.h. */
10423 int main(int argc, char **argv) { return 0; }
10424 _ACEOF
10425 if ac_fn_c_try_link "$LINENO"; then :
10426 ac_cv_crosscflags__gstrict_dwarf=yes
10427 else
10428 ac_cv_crosscflags__gstrict_dwarf=no
10430 rm -f core conftest.err conftest.$ac_objext \
10431 conftest$ac_exeext conftest.$ac_ext
10432 CFLAGS=$ac_wine_try_cflags_saved
10433 CC=$ac_wine_try_cflags_saved_cc
10434 ac_exeext=$ac_wine_try_cflags_saved_exeext
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10437 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10438 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10439 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10440 fi ;;
10441 esac
10442 done
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
10445 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10446 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
10447 $as_echo_n "(cached) " >&6
10448 else
10449 ac_wine_try_cflags_saved=$CFLAGS
10450 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
10451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10453 int main(int argc, char **argv) { return 0; }
10454 _ACEOF
10455 if ac_fn_c_try_link "$LINENO"; then :
10456 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
10457 else
10458 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
10460 rm -f core conftest.err conftest.$ac_objext \
10461 conftest$ac_exeext conftest.$ac_ext
10462 CFLAGS=$ac_wine_try_cflags_saved
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
10465 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
10466 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
10467 DELAYLOADFLAG="-Wl,-delayload,"
10471 if test "x$enable_maintainer_mode" = xyes
10472 then
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10474 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10475 if ${ac_cv_crosscflags__Werror+:} false; then :
10476 $as_echo_n "(cached) " >&6
10477 else
10478 ac_wine_try_cflags_saved=$CFLAGS
10479 ac_wine_try_cflags_saved_cc=$CC
10480 ac_wine_try_cflags_saved_exeext=$ac_exeext
10481 CFLAGS="$CFLAGS -Werror"
10482 CC="$CROSSCC"
10483 ac_exeext=".exe"
10484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10485 /* end confdefs.h. */
10486 int main(int argc, char **argv) { return 0; }
10487 _ACEOF
10488 if ac_fn_c_try_link "$LINENO"; then :
10489 ac_cv_crosscflags__Werror=yes
10490 else
10491 ac_cv_crosscflags__Werror=no
10493 rm -f core conftest.err conftest.$ac_objext \
10494 conftest$ac_exeext conftest.$ac_ext
10495 CFLAGS=$ac_wine_try_cflags_saved
10496 CC=$ac_wine_try_cflags_saved_cc
10497 ac_exeext=$ac_wine_try_cflags_saved_exeext
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10500 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10501 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10502 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10506 CFLAGS=$saved_CFLAGS
10507 CC="$ac_save_CC"
10510 if test "x$CROSSTARGET" = "x"; then :
10511 case "x$with_mingw" in
10512 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10513 xno) ;;
10514 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10515 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10516 esac
10521 if test "$ac_cv_header_pthread_h" = "yes"
10522 then
10523 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10524 if test "x$ac_cv_func_pthread_create" = xyes; then :
10526 else
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10528 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10529 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10530 $as_echo_n "(cached) " >&6
10531 else
10532 ac_check_lib_save_LIBS=$LIBS
10533 LIBS="-lpthread $LIBS"
10534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10535 /* end confdefs.h. */
10537 /* Override any GCC internal prototype to avoid an error.
10538 Use char because int might match the return type of a GCC
10539 builtin and then its argument prototype would still apply. */
10540 #ifdef __cplusplus
10541 extern "C"
10542 #endif
10543 char pthread_create ();
10545 main ()
10547 return pthread_create ();
10549 return 0;
10551 _ACEOF
10552 if ac_fn_c_try_link "$LINENO"; then :
10553 ac_cv_lib_pthread_pthread_create=yes
10554 else
10555 ac_cv_lib_pthread_pthread_create=no
10557 rm -f core conftest.err conftest.$ac_objext \
10558 conftest$ac_exeext conftest.$ac_ext
10559 LIBS=$ac_check_lib_save_LIBS
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10562 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10563 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10564 PTHREAD_LIBS="-lpthread"
10571 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10572 case "x$with_pthread" in
10573 xno) ;;
10574 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10575 Wine cannot support threads without libpthread.
10576 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10577 esac
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10583 $as_echo_n "checking for X... " >&6; }
10586 # Check whether --with-x was given.
10587 if test "${with_x+set}" = set; then :
10588 withval=$with_x;
10591 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10592 if test "x$with_x" = xno; then
10593 # The user explicitly disabled X.
10594 have_x=disabled
10595 else
10596 case $x_includes,$x_libraries in #(
10597 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10598 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10599 $as_echo_n "(cached) " >&6
10600 else
10601 # One or both of the vars are not set, and there is no cached value.
10602 ac_x_includes=no ac_x_libraries=no
10603 rm -f -r conftest.dir
10604 if mkdir conftest.dir; then
10605 cd conftest.dir
10606 cat >Imakefile <<'_ACEOF'
10607 incroot:
10608 @echo incroot='${INCROOT}'
10609 usrlibdir:
10610 @echo usrlibdir='${USRLIBDIR}'
10611 libdir:
10612 @echo libdir='${LIBDIR}'
10613 _ACEOF
10614 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10615 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10616 for ac_var in incroot usrlibdir libdir; do
10617 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10618 done
10619 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10620 for ac_extension in a so sl dylib la dll; do
10621 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10622 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10623 ac_im_usrlibdir=$ac_im_libdir; break
10625 done
10626 # Screen out bogus values from the imake configuration. They are
10627 # bogus both because they are the default anyway, and because
10628 # using them would break gcc on systems where it needs fixed includes.
10629 case $ac_im_incroot in
10630 /usr/include) ac_x_includes= ;;
10631 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10632 esac
10633 case $ac_im_usrlibdir in
10634 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10635 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10636 esac
10638 cd ..
10639 rm -f -r conftest.dir
10642 # Standard set of common directories for X headers.
10643 # Check X11 before X11Rn because it is often a symlink to the current release.
10644 ac_x_header_dirs='
10645 /usr/X11/include
10646 /usr/X11R7/include
10647 /usr/X11R6/include
10648 /usr/X11R5/include
10649 /usr/X11R4/include
10651 /usr/include/X11
10652 /usr/include/X11R7
10653 /usr/include/X11R6
10654 /usr/include/X11R5
10655 /usr/include/X11R4
10657 /usr/local/X11/include
10658 /usr/local/X11R7/include
10659 /usr/local/X11R6/include
10660 /usr/local/X11R5/include
10661 /usr/local/X11R4/include
10663 /usr/local/include/X11
10664 /usr/local/include/X11R7
10665 /usr/local/include/X11R6
10666 /usr/local/include/X11R5
10667 /usr/local/include/X11R4
10669 /usr/X386/include
10670 /usr/x386/include
10671 /usr/XFree86/include/X11
10673 /usr/include
10674 /usr/local/include
10675 /usr/unsupported/include
10676 /usr/athena/include
10677 /usr/local/x11r5/include
10678 /usr/lpp/Xamples/include
10680 /usr/openwin/include
10681 /usr/openwin/share/include'
10683 if test "$ac_x_includes" = no; then
10684 # Guess where to find include files, by looking for Xlib.h.
10685 # First, try using that file with no special directory specified.
10686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10688 #include <X11/Xlib.h>
10689 _ACEOF
10690 if ac_fn_c_try_cpp "$LINENO"; then :
10691 # We can compile using X headers with no special include directory.
10692 ac_x_includes=
10693 else
10694 for ac_dir in $ac_x_header_dirs; do
10695 if test -r "$ac_dir/X11/Xlib.h"; then
10696 ac_x_includes=$ac_dir
10697 break
10699 done
10701 rm -f conftest.err conftest.i conftest.$ac_ext
10702 fi # $ac_x_includes = no
10704 if test "$ac_x_libraries" = no; then
10705 # Check for the libraries.
10706 # See if we find them without any special options.
10707 # Don't add to $LIBS permanently.
10708 ac_save_LIBS=$LIBS
10709 LIBS="-lX11 $LIBS"
10710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10711 /* end confdefs.h. */
10712 #include <X11/Xlib.h>
10714 main ()
10716 XrmInitialize ()
10718 return 0;
10720 _ACEOF
10721 if ac_fn_c_try_link "$LINENO"; then :
10722 LIBS=$ac_save_LIBS
10723 # We can link X programs with no special library path.
10724 ac_x_libraries=
10725 else
10726 LIBS=$ac_save_LIBS
10727 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10729 # Don't even attempt the hair of trying to link an X program!
10730 for ac_extension in a so sl dylib la dll; do
10731 if test -r "$ac_dir/libX11.$ac_extension"; then
10732 ac_x_libraries=$ac_dir
10733 break 2
10735 done
10736 done
10738 rm -f core conftest.err conftest.$ac_objext \
10739 conftest$ac_exeext conftest.$ac_ext
10740 fi # $ac_x_libraries = no
10742 case $ac_x_includes,$ac_x_libraries in #(
10743 no,* | *,no | *\'*)
10744 # Didn't find X, or a directory has "'" in its name.
10745 ac_cv_have_x="have_x=no";; #(
10747 # Record where we found X for the cache.
10748 ac_cv_have_x="have_x=yes\
10749 ac_x_includes='$ac_x_includes'\
10750 ac_x_libraries='$ac_x_libraries'"
10751 esac
10753 ;; #(
10754 *) have_x=yes;;
10755 esac
10756 eval "$ac_cv_have_x"
10757 fi # $with_x != no
10759 if test "$have_x" != yes; then
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10761 $as_echo "$have_x" >&6; }
10762 no_x=yes
10763 else
10764 # If each of the values was on the command line, it overrides each guess.
10765 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10766 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10767 # Update the cache value to reflect the command line values.
10768 ac_cv_have_x="have_x=yes\
10769 ac_x_includes='$x_includes'\
10770 ac_x_libraries='$x_libraries'"
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10772 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10775 if test "$no_x" = yes; then
10776 # Not all programs may use this symbol, but it does not hurt to define it.
10778 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10780 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10781 else
10782 if test -n "$x_includes"; then
10783 X_CFLAGS="$X_CFLAGS -I$x_includes"
10786 # It would also be nice to do this for all -L options, not just this one.
10787 if test -n "$x_libraries"; then
10788 X_LIBS="$X_LIBS -L$x_libraries"
10789 # For Solaris; some versions of Sun CC require a space after -R and
10790 # others require no space. Words are not sufficient . . . .
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10792 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10793 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10794 ac_xsave_c_werror_flag=$ac_c_werror_flag
10795 ac_c_werror_flag=yes
10796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10800 main ()
10804 return 0;
10806 _ACEOF
10807 if ac_fn_c_try_link "$LINENO"; then :
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10809 $as_echo "no" >&6; }
10810 X_LIBS="$X_LIBS -R$x_libraries"
10811 else
10812 LIBS="$ac_xsave_LIBS -R $x_libraries"
10813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10814 /* end confdefs.h. */
10817 main ()
10821 return 0;
10823 _ACEOF
10824 if ac_fn_c_try_link "$LINENO"; then :
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10826 $as_echo "yes" >&6; }
10827 X_LIBS="$X_LIBS -R $x_libraries"
10828 else
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10830 $as_echo "neither works" >&6; }
10832 rm -f core conftest.err conftest.$ac_objext \
10833 conftest$ac_exeext conftest.$ac_ext
10835 rm -f core conftest.err conftest.$ac_objext \
10836 conftest$ac_exeext conftest.$ac_ext
10837 ac_c_werror_flag=$ac_xsave_c_werror_flag
10838 LIBS=$ac_xsave_LIBS
10841 # Check for system-dependent libraries X programs must link with.
10842 # Do this before checking for the system-independent R6 libraries
10843 # (-lICE), since we may need -lsocket or whatever for X linking.
10845 if test "$ISC" = yes; then
10846 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10847 else
10848 # Martyn Johnson says this is needed for Ultrix, if the X
10849 # libraries were built with DECnet support. And Karl Berry says
10850 # the Alpha needs dnet_stub (dnet does not exist).
10851 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10853 /* end confdefs.h. */
10855 /* Override any GCC internal prototype to avoid an error.
10856 Use char because int might match the return type of a GCC
10857 builtin and then its argument prototype would still apply. */
10858 #ifdef __cplusplus
10859 extern "C"
10860 #endif
10861 char XOpenDisplay ();
10863 main ()
10865 return XOpenDisplay ();
10867 return 0;
10869 _ACEOF
10870 if ac_fn_c_try_link "$LINENO"; then :
10872 else
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10874 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10875 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10876 $as_echo_n "(cached) " >&6
10877 else
10878 ac_check_lib_save_LIBS=$LIBS
10879 LIBS="-ldnet $LIBS"
10880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10881 /* end confdefs.h. */
10883 /* Override any GCC internal prototype to avoid an error.
10884 Use char because int might match the return type of a GCC
10885 builtin and then its argument prototype would still apply. */
10886 #ifdef __cplusplus
10887 extern "C"
10888 #endif
10889 char dnet_ntoa ();
10891 main ()
10893 return dnet_ntoa ();
10895 return 0;
10897 _ACEOF
10898 if ac_fn_c_try_link "$LINENO"; then :
10899 ac_cv_lib_dnet_dnet_ntoa=yes
10900 else
10901 ac_cv_lib_dnet_dnet_ntoa=no
10903 rm -f core conftest.err conftest.$ac_objext \
10904 conftest$ac_exeext conftest.$ac_ext
10905 LIBS=$ac_check_lib_save_LIBS
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10908 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10909 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10910 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10913 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10915 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10916 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10917 $as_echo_n "(cached) " >&6
10918 else
10919 ac_check_lib_save_LIBS=$LIBS
10920 LIBS="-ldnet_stub $LIBS"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10924 /* Override any GCC internal prototype to avoid an error.
10925 Use char because int might match the return type of a GCC
10926 builtin and then its argument prototype would still apply. */
10927 #ifdef __cplusplus
10928 extern "C"
10929 #endif
10930 char dnet_ntoa ();
10932 main ()
10934 return dnet_ntoa ();
10936 return 0;
10938 _ACEOF
10939 if ac_fn_c_try_link "$LINENO"; then :
10940 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10941 else
10942 ac_cv_lib_dnet_stub_dnet_ntoa=no
10944 rm -f core conftest.err conftest.$ac_objext \
10945 conftest$ac_exeext conftest.$ac_ext
10946 LIBS=$ac_check_lib_save_LIBS
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10949 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10950 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10951 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10956 rm -f core conftest.err conftest.$ac_objext \
10957 conftest$ac_exeext conftest.$ac_ext
10958 LIBS="$ac_xsave_LIBS"
10960 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10961 # to get the SysV transport functions.
10962 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10963 # needs -lnsl.
10964 # The nsl library prevents programs from opening the X display
10965 # on Irix 5.2, according to T.E. Dickey.
10966 # The functions gethostbyname, getservbyname, and inet_addr are
10967 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10968 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10969 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10973 if test $ac_cv_func_gethostbyname = no; then
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10975 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10976 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10977 $as_echo_n "(cached) " >&6
10978 else
10979 ac_check_lib_save_LIBS=$LIBS
10980 LIBS="-lnsl $LIBS"
10981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10982 /* end confdefs.h. */
10984 /* Override any GCC internal prototype to avoid an error.
10985 Use char because int might match the return type of a GCC
10986 builtin and then its argument prototype would still apply. */
10987 #ifdef __cplusplus
10988 extern "C"
10989 #endif
10990 char gethostbyname ();
10992 main ()
10994 return gethostbyname ();
10996 return 0;
10998 _ACEOF
10999 if ac_fn_c_try_link "$LINENO"; then :
11000 ac_cv_lib_nsl_gethostbyname=yes
11001 else
11002 ac_cv_lib_nsl_gethostbyname=no
11004 rm -f core conftest.err conftest.$ac_objext \
11005 conftest$ac_exeext conftest.$ac_ext
11006 LIBS=$ac_check_lib_save_LIBS
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11009 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11010 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11011 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11014 if test $ac_cv_lib_nsl_gethostbyname = no; then
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11016 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11017 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11018 $as_echo_n "(cached) " >&6
11019 else
11020 ac_check_lib_save_LIBS=$LIBS
11021 LIBS="-lbsd $LIBS"
11022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11023 /* end confdefs.h. */
11025 /* Override any GCC internal prototype to avoid an error.
11026 Use char because int might match the return type of a GCC
11027 builtin and then its argument prototype would still apply. */
11028 #ifdef __cplusplus
11029 extern "C"
11030 #endif
11031 char gethostbyname ();
11033 main ()
11035 return gethostbyname ();
11037 return 0;
11039 _ACEOF
11040 if ac_fn_c_try_link "$LINENO"; then :
11041 ac_cv_lib_bsd_gethostbyname=yes
11042 else
11043 ac_cv_lib_bsd_gethostbyname=no
11045 rm -f core conftest.err conftest.$ac_objext \
11046 conftest$ac_exeext conftest.$ac_ext
11047 LIBS=$ac_check_lib_save_LIBS
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11050 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11051 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11052 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11058 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11059 # socket/setsockopt and other routines are undefined under SCO ODT
11060 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11061 # on later versions), says Simon Leinen: it contains gethostby*
11062 # variants that don't use the name server (or something). -lsocket
11063 # must be given before -lnsl if both are needed. We assume that
11064 # if connect needs -lnsl, so does gethostbyname.
11065 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11066 if test "x$ac_cv_func_connect" = xyes; then :
11070 if test $ac_cv_func_connect = no; then
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11072 $as_echo_n "checking for connect in -lsocket... " >&6; }
11073 if ${ac_cv_lib_socket_connect+:} false; then :
11074 $as_echo_n "(cached) " >&6
11075 else
11076 ac_check_lib_save_LIBS=$LIBS
11077 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11081 /* Override any GCC internal prototype to avoid an error.
11082 Use char because int might match the return type of a GCC
11083 builtin and then its argument prototype would still apply. */
11084 #ifdef __cplusplus
11085 extern "C"
11086 #endif
11087 char connect ();
11089 main ()
11091 return connect ();
11093 return 0;
11095 _ACEOF
11096 if ac_fn_c_try_link "$LINENO"; then :
11097 ac_cv_lib_socket_connect=yes
11098 else
11099 ac_cv_lib_socket_connect=no
11101 rm -f core conftest.err conftest.$ac_objext \
11102 conftest$ac_exeext conftest.$ac_ext
11103 LIBS=$ac_check_lib_save_LIBS
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11106 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11107 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11108 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11113 # Guillermo Gomez says -lposix is necessary on A/UX.
11114 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11115 if test "x$ac_cv_func_remove" = xyes; then :
11119 if test $ac_cv_func_remove = no; then
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11121 $as_echo_n "checking for remove in -lposix... " >&6; }
11122 if ${ac_cv_lib_posix_remove+:} false; then :
11123 $as_echo_n "(cached) " >&6
11124 else
11125 ac_check_lib_save_LIBS=$LIBS
11126 LIBS="-lposix $LIBS"
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11130 /* Override any GCC internal prototype to avoid an error.
11131 Use char because int might match the return type of a GCC
11132 builtin and then its argument prototype would still apply. */
11133 #ifdef __cplusplus
11134 extern "C"
11135 #endif
11136 char remove ();
11138 main ()
11140 return remove ();
11142 return 0;
11144 _ACEOF
11145 if ac_fn_c_try_link "$LINENO"; then :
11146 ac_cv_lib_posix_remove=yes
11147 else
11148 ac_cv_lib_posix_remove=no
11150 rm -f core conftest.err conftest.$ac_objext \
11151 conftest$ac_exeext conftest.$ac_ext
11152 LIBS=$ac_check_lib_save_LIBS
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11155 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11156 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11162 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11163 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11164 if test "x$ac_cv_func_shmat" = xyes; then :
11168 if test $ac_cv_func_shmat = no; then
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11170 $as_echo_n "checking for shmat in -lipc... " >&6; }
11171 if ${ac_cv_lib_ipc_shmat+:} false; then :
11172 $as_echo_n "(cached) " >&6
11173 else
11174 ac_check_lib_save_LIBS=$LIBS
11175 LIBS="-lipc $LIBS"
11176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11177 /* end confdefs.h. */
11179 /* Override any GCC internal prototype to avoid an error.
11180 Use char because int might match the return type of a GCC
11181 builtin and then its argument prototype would still apply. */
11182 #ifdef __cplusplus
11183 extern "C"
11184 #endif
11185 char shmat ();
11187 main ()
11189 return shmat ();
11191 return 0;
11193 _ACEOF
11194 if ac_fn_c_try_link "$LINENO"; then :
11195 ac_cv_lib_ipc_shmat=yes
11196 else
11197 ac_cv_lib_ipc_shmat=no
11199 rm -f core conftest.err conftest.$ac_objext \
11200 conftest$ac_exeext conftest.$ac_ext
11201 LIBS=$ac_check_lib_save_LIBS
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11204 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11205 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11206 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11212 # Check for libraries that X11R6 Xt/Xaw programs need.
11213 ac_save_LDFLAGS=$LDFLAGS
11214 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11215 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11216 # check for ICE first), but we must link in the order -lSM -lICE or
11217 # we get undefined symbols. So assume we have SM if we have ICE.
11218 # These have to be linked with before -lX11, unlike the other
11219 # libraries we check for below, so use a different variable.
11220 # John Interrante, Karl Berry
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11222 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11223 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11224 $as_echo_n "(cached) " >&6
11225 else
11226 ac_check_lib_save_LIBS=$LIBS
11227 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11231 /* Override any GCC internal prototype to avoid an error.
11232 Use char because int might match the return type of a GCC
11233 builtin and then its argument prototype would still apply. */
11234 #ifdef __cplusplus
11235 extern "C"
11236 #endif
11237 char IceConnectionNumber ();
11239 main ()
11241 return IceConnectionNumber ();
11243 return 0;
11245 _ACEOF
11246 if ac_fn_c_try_link "$LINENO"; then :
11247 ac_cv_lib_ICE_IceConnectionNumber=yes
11248 else
11249 ac_cv_lib_ICE_IceConnectionNumber=no
11251 rm -f core conftest.err conftest.$ac_objext \
11252 conftest$ac_exeext conftest.$ac_ext
11253 LIBS=$ac_check_lib_save_LIBS
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11256 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11257 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11258 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11261 LDFLAGS=$ac_save_LDFLAGS
11266 if test "$have_x" = "yes"
11267 then
11268 ac_save_CPPFLAGS="$CPPFLAGS"
11269 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11272 $as_echo_n "checking for -lX11... " >&6; }
11273 if ${ac_cv_lib_soname_X11+:} false; then :
11274 $as_echo_n "(cached) " >&6
11275 else
11276 ac_check_soname_save_LIBS=$LIBS
11277 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11284 #ifdef __cplusplus
11285 extern "C"
11286 #endif
11287 char XCreateWindow ();
11289 main ()
11291 return XCreateWindow ();
11293 return 0;
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"; then :
11297 case "$LIBEXT" in
11298 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11299 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'` ;;
11300 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11301 if ${ac_cv_lib_soname_X11:+false} :; then :
11302 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11303 fi ;;
11304 esac
11305 else
11306 ac_cv_lib_soname_X11=
11308 rm -f core conftest.err conftest.$ac_objext \
11309 conftest$ac_exeext conftest.$ac_ext
11310 LIBS=$ac_check_soname_save_LIBS
11312 if ${ac_cv_lib_soname_X11:+false} :; then :
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11314 $as_echo "not found" >&6; }
11316 else
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11318 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11320 cat >>confdefs.h <<_ACEOF
11321 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11322 _ACEOF
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11327 $as_echo_n "checking for -lXext... " >&6; }
11328 if ${ac_cv_lib_soname_Xext+:} false; then :
11329 $as_echo_n "(cached) " >&6
11330 else
11331 ac_check_soname_save_LIBS=$LIBS
11332 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11336 /* Override any GCC internal prototype to avoid an error.
11337 Use char because int might match the return type of a GCC
11338 builtin and then its argument prototype would still apply. */
11339 #ifdef __cplusplus
11340 extern "C"
11341 #endif
11342 char XextCreateExtension ();
11344 main ()
11346 return XextCreateExtension ();
11348 return 0;
11350 _ACEOF
11351 if ac_fn_c_try_link "$LINENO"; then :
11352 case "$LIBEXT" in
11353 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11354 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'` ;;
11355 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11356 if ${ac_cv_lib_soname_Xext:+false} :; then :
11357 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11358 fi ;;
11359 esac
11360 else
11361 ac_cv_lib_soname_Xext=
11363 rm -f core conftest.err conftest.$ac_objext \
11364 conftest$ac_exeext conftest.$ac_ext
11365 LIBS=$ac_check_soname_save_LIBS
11367 if ${ac_cv_lib_soname_Xext:+false} :; then :
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11369 $as_echo "not found" >&6; }
11371 else
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11373 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11375 cat >>confdefs.h <<_ACEOF
11376 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11377 _ACEOF
11379 X_LIBS="$X_LIBS -lXext"
11381 X_LIBS="$X_LIBS -lX11"
11383 for ac_header in X11/Xlib.h \
11384 X11/XKBlib.h \
11385 X11/Xutil.h \
11386 X11/Xcursor/Xcursor.h \
11387 X11/extensions/shape.h \
11388 X11/extensions/XInput.h \
11389 X11/extensions/XInput2.h \
11390 X11/extensions/XShm.h \
11391 X11/extensions/Xcomposite.h \
11392 X11/extensions/Xfixes.h \
11393 X11/extensions/Xinerama.h \
11394 X11/extensions/Xrandr.h \
11395 X11/extensions/Xrender.h \
11396 X11/extensions/xf86vmode.h \
11397 X11/extensions/xf86vmproto.h
11398 do :
11399 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11400 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11401 # include <X11/Xlib.h>
11402 #endif
11403 #ifdef HAVE_X11_XUTIL_H
11404 # include <X11/Xutil.h>
11405 #endif
11407 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11408 cat >>confdefs.h <<_ACEOF
11409 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11410 _ACEOF
11414 done
11417 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11418 then
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11420 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11421 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11422 $as_echo_n "(cached) " >&6
11423 else
11424 ac_check_lib_save_LIBS=$LIBS
11425 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11427 /* end confdefs.h. */
11429 /* Override any GCC internal prototype to avoid an error.
11430 Use char because int might match the return type of a GCC
11431 builtin and then its argument prototype would still apply. */
11432 #ifdef __cplusplus
11433 extern "C"
11434 #endif
11435 char XkbQueryExtension ();
11437 main ()
11439 return XkbQueryExtension ();
11441 return 0;
11443 _ACEOF
11444 if ac_fn_c_try_link "$LINENO"; then :
11445 ac_cv_lib_X11_XkbQueryExtension=yes
11446 else
11447 ac_cv_lib_X11_XkbQueryExtension=no
11449 rm -f core conftest.err conftest.$ac_objext \
11450 conftest$ac_exeext conftest.$ac_ext
11451 LIBS=$ac_check_lib_save_LIBS
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11454 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11455 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11457 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11463 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11464 then
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11466 $as_echo_n "checking for -lXcursor... " >&6; }
11467 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11468 $as_echo_n "(cached) " >&6
11469 else
11470 ac_check_soname_save_LIBS=$LIBS
11471 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11473 /* end confdefs.h. */
11475 /* Override any GCC internal prototype to avoid an error.
11476 Use char because int might match the return type of a GCC
11477 builtin and then its argument prototype would still apply. */
11478 #ifdef __cplusplus
11479 extern "C"
11480 #endif
11481 char XcursorImageLoadCursor ();
11483 main ()
11485 return XcursorImageLoadCursor ();
11487 return 0;
11489 _ACEOF
11490 if ac_fn_c_try_link "$LINENO"; then :
11491 case "$LIBEXT" in
11492 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11493 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'` ;;
11494 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11495 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11496 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11497 fi ;;
11498 esac
11499 else
11500 ac_cv_lib_soname_Xcursor=
11502 rm -f core conftest.err conftest.$ac_objext \
11503 conftest$ac_exeext conftest.$ac_ext
11504 LIBS=$ac_check_soname_save_LIBS
11506 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11508 $as_echo "not found" >&6; }
11510 else
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11512 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11514 cat >>confdefs.h <<_ACEOF
11515 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11516 _ACEOF
11521 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11522 case "x$with_xcursor" in
11523 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11524 xno) ;;
11525 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11526 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11527 esac
11531 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11532 then
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11534 $as_echo_n "checking for -lXi... " >&6; }
11535 if ${ac_cv_lib_soname_Xi+:} false; then :
11536 $as_echo_n "(cached) " >&6
11537 else
11538 ac_check_soname_save_LIBS=$LIBS
11539 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11546 #ifdef __cplusplus
11547 extern "C"
11548 #endif
11549 char XOpenDevice ();
11551 main ()
11553 return XOpenDevice ();
11555 return 0;
11557 _ACEOF
11558 if ac_fn_c_try_link "$LINENO"; then :
11559 case "$LIBEXT" in
11560 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11561 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'` ;;
11562 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11563 if ${ac_cv_lib_soname_Xi:+false} :; then :
11564 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11565 fi ;;
11566 esac
11567 else
11568 ac_cv_lib_soname_Xi=
11570 rm -f core conftest.err conftest.$ac_objext \
11571 conftest$ac_exeext conftest.$ac_ext
11572 LIBS=$ac_check_soname_save_LIBS
11574 if ${ac_cv_lib_soname_Xi:+false} :; then :
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11576 $as_echo "not found" >&6; }
11578 else
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11580 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11582 cat >>confdefs.h <<_ACEOF
11583 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11584 _ACEOF
11589 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11590 case "x$with_xinput" in
11591 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11592 xno) ;;
11593 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11594 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11595 esac
11599 if test "x$ac_cv_lib_soname_Xi" != x
11600 then
11601 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11602 case "x$with_xinput2" in
11603 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11604 xno) ;;
11605 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11606 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11607 esac
11612 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11613 then
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11615 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11616 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11617 $as_echo_n "(cached) " >&6
11618 else
11619 ac_check_lib_save_LIBS=$LIBS
11620 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11622 /* end confdefs.h. */
11624 /* Override any GCC internal prototype to avoid an error.
11625 Use char because int might match the return type of a GCC
11626 builtin and then its argument prototype would still apply. */
11627 #ifdef __cplusplus
11628 extern "C"
11629 #endif
11630 char XShmQueryExtension ();
11632 main ()
11634 return XShmQueryExtension ();
11636 return 0;
11638 _ACEOF
11639 if ac_fn_c_try_link "$LINENO"; then :
11640 ac_cv_lib_Xext_XShmQueryExtension=yes
11641 else
11642 ac_cv_lib_Xext_XShmQueryExtension=no
11644 rm -f core conftest.err conftest.$ac_objext \
11645 conftest$ac_exeext conftest.$ac_ext
11646 LIBS=$ac_check_lib_save_LIBS
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11649 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11650 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11652 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11657 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11658 case "x$with_xshm" in
11659 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11660 xno) ;;
11661 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11662 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11663 esac
11667 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11668 then
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11670 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11671 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11672 $as_echo_n "(cached) " >&6
11673 else
11674 ac_check_lib_save_LIBS=$LIBS
11675 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11679 /* Override any GCC internal prototype to avoid an error.
11680 Use char because int might match the return type of a GCC
11681 builtin and then its argument prototype would still apply. */
11682 #ifdef __cplusplus
11683 extern "C"
11684 #endif
11685 char XShapeQueryExtension ();
11687 main ()
11689 return XShapeQueryExtension ();
11691 return 0;
11693 _ACEOF
11694 if ac_fn_c_try_link "$LINENO"; then :
11695 ac_cv_lib_Xext_XShapeQueryExtension=yes
11696 else
11697 ac_cv_lib_Xext_XShapeQueryExtension=no
11699 rm -f core conftest.err conftest.$ac_objext \
11700 conftest$ac_exeext conftest.$ac_ext
11701 LIBS=$ac_check_lib_save_LIBS
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11704 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11705 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11707 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11712 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11713 case "x$with_xshape" in
11714 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11715 xno) ;;
11716 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11717 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11718 esac
11722 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11723 then
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11725 $as_echo_n "checking for -lXxf86vm... " >&6; }
11726 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11727 $as_echo_n "(cached) " >&6
11728 else
11729 ac_check_soname_save_LIBS=$LIBS
11730 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11732 /* end confdefs.h. */
11734 /* Override any GCC internal prototype to avoid an error.
11735 Use char because int might match the return type of a GCC
11736 builtin and then its argument prototype would still apply. */
11737 #ifdef __cplusplus
11738 extern "C"
11739 #endif
11740 char XF86VidModeQueryExtension ();
11742 main ()
11744 return XF86VidModeQueryExtension ();
11746 return 0;
11748 _ACEOF
11749 if ac_fn_c_try_link "$LINENO"; then :
11750 case "$LIBEXT" in
11751 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11752 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'` ;;
11753 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11754 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11755 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11756 fi ;;
11757 esac
11758 else
11759 ac_cv_lib_soname_Xxf86vm=
11761 rm -f core conftest.err conftest.$ac_objext \
11762 conftest$ac_exeext conftest.$ac_ext
11763 LIBS=$ac_check_soname_save_LIBS
11765 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11767 $as_echo "not found" >&6; }
11769 else
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11771 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11773 cat >>confdefs.h <<_ACEOF
11774 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11775 _ACEOF
11780 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11781 case "x$with_xxf86vm" in
11782 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11783 xno) ;;
11784 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11785 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11786 esac
11790 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11791 then
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11793 $as_echo_n "checking for -lXrender... " >&6; }
11794 if ${ac_cv_lib_soname_Xrender+:} false; then :
11795 $as_echo_n "(cached) " >&6
11796 else
11797 ac_check_soname_save_LIBS=$LIBS
11798 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11800 /* end confdefs.h. */
11802 /* Override any GCC internal prototype to avoid an error.
11803 Use char because int might match the return type of a GCC
11804 builtin and then its argument prototype would still apply. */
11805 #ifdef __cplusplus
11806 extern "C"
11807 #endif
11808 char XRenderQueryExtension ();
11810 main ()
11812 return XRenderQueryExtension ();
11814 return 0;
11816 _ACEOF
11817 if ac_fn_c_try_link "$LINENO"; then :
11818 case "$LIBEXT" in
11819 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11820 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'` ;;
11821 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11822 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11823 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11824 fi ;;
11825 esac
11826 else
11827 ac_cv_lib_soname_Xrender=
11829 rm -f core conftest.err conftest.$ac_objext \
11830 conftest$ac_exeext conftest.$ac_ext
11831 LIBS=$ac_check_soname_save_LIBS
11833 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11835 $as_echo "not found" >&6; }
11837 else
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11839 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11841 cat >>confdefs.h <<_ACEOF
11842 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11843 _ACEOF
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11846 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11847 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11848 $as_echo_n "(cached) " >&6
11849 else
11850 ac_check_lib_save_LIBS=$LIBS
11851 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11853 /* end confdefs.h. */
11855 /* Override any GCC internal prototype to avoid an error.
11856 Use char because int might match the return type of a GCC
11857 builtin and then its argument prototype would still apply. */
11858 #ifdef __cplusplus
11859 extern "C"
11860 #endif
11861 char XRenderSetPictureTransform ();
11863 main ()
11865 return XRenderSetPictureTransform ();
11867 return 0;
11869 _ACEOF
11870 if ac_fn_c_try_link "$LINENO"; then :
11871 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11872 else
11873 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11875 rm -f core conftest.err conftest.$ac_objext \
11876 conftest$ac_exeext conftest.$ac_ext
11877 LIBS=$ac_check_lib_save_LIBS
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11880 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11881 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11883 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11888 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11889 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11890 $as_echo_n "(cached) " >&6
11891 else
11892 ac_check_lib_save_LIBS=$LIBS
11893 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11895 /* end confdefs.h. */
11897 /* Override any GCC internal prototype to avoid an error.
11898 Use char because int might match the return type of a GCC
11899 builtin and then its argument prototype would still apply. */
11900 #ifdef __cplusplus
11901 extern "C"
11902 #endif
11903 char XRenderCreateLinearGradient ();
11905 main ()
11907 return XRenderCreateLinearGradient ();
11909 return 0;
11911 _ACEOF
11912 if ac_fn_c_try_link "$LINENO"; then :
11913 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11914 else
11915 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11917 rm -f core conftest.err conftest.$ac_objext \
11918 conftest$ac_exeext conftest.$ac_ext
11919 LIBS=$ac_check_lib_save_LIBS
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11922 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11923 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11925 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11932 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11933 case "x$with_xrender" in
11934 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11935 xno) ;;
11936 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11937 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11938 esac
11942 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11943 then
11944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11946 #include <X11/Xlib.h>
11947 #include <X11/extensions/Xrandr.h>
11949 main ()
11951 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11953 return 0;
11955 _ACEOF
11956 if ac_fn_c_try_compile "$LINENO"; then :
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11958 $as_echo_n "checking for -lXrandr... " >&6; }
11959 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11960 $as_echo_n "(cached) " >&6
11961 else
11962 ac_check_soname_save_LIBS=$LIBS
11963 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11965 /* end confdefs.h. */
11967 /* Override any GCC internal prototype to avoid an error.
11968 Use char because int might match the return type of a GCC
11969 builtin and then its argument prototype would still apply. */
11970 #ifdef __cplusplus
11971 extern "C"
11972 #endif
11973 char XRRQueryExtension ();
11975 main ()
11977 return XRRQueryExtension ();
11979 return 0;
11981 _ACEOF
11982 if ac_fn_c_try_link "$LINENO"; then :
11983 case "$LIBEXT" in
11984 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11985 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'` ;;
11986 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11987 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11988 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11989 fi ;;
11990 esac
11991 else
11992 ac_cv_lib_soname_Xrandr=
11994 rm -f core conftest.err conftest.$ac_objext \
11995 conftest$ac_exeext conftest.$ac_ext
11996 LIBS=$ac_check_soname_save_LIBS
11998 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12000 $as_echo "not found" >&6; }
12002 else
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12004 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12006 cat >>confdefs.h <<_ACEOF
12007 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12008 _ACEOF
12010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12011 /* end confdefs.h. */
12012 #include <X11/Xlib.h>
12013 #include <X11/extensions/Xrandr.h>
12015 main ()
12017 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12019 return 0;
12021 _ACEOF
12022 if ac_fn_c_try_compile "$LINENO"; then :
12024 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12029 /* end confdefs.h. */
12030 #include <X11/Xlib.h>
12031 #include <X11/extensions/Xrandr.h>
12033 main ()
12035 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12037 return 0;
12039 _ACEOF
12040 if ac_fn_c_try_compile "$LINENO"; then :
12042 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12044 else
12045 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12052 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12053 case "x$with_xrandr" in
12054 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12055 xno) ;;
12056 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12057 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12058 esac
12062 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12063 then
12064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12065 /* end confdefs.h. */
12066 #include <X11/Xlib.h>
12067 #include <X11/extensions/Xfixes.h>
12069 main ()
12071 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12073 return 0;
12075 _ACEOF
12076 if ac_fn_c_try_compile "$LINENO"; then :
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12078 $as_echo_n "checking for -lXfixes... " >&6; }
12079 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12080 $as_echo_n "(cached) " >&6
12081 else
12082 ac_check_soname_save_LIBS=$LIBS
12083 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12087 /* Override any GCC internal prototype to avoid an error.
12088 Use char because int might match the return type of a GCC
12089 builtin and then its argument prototype would still apply. */
12090 #ifdef __cplusplus
12091 extern "C"
12092 #endif
12093 char XFixesQueryVersion ();
12095 main ()
12097 return XFixesQueryVersion ();
12099 return 0;
12101 _ACEOF
12102 if ac_fn_c_try_link "$LINENO"; then :
12103 case "$LIBEXT" in
12104 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12105 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'` ;;
12106 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12107 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12108 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12109 fi ;;
12110 esac
12111 else
12112 ac_cv_lib_soname_Xfixes=
12114 rm -f core conftest.err conftest.$ac_objext \
12115 conftest$ac_exeext conftest.$ac_ext
12116 LIBS=$ac_check_soname_save_LIBS
12118 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12120 $as_echo "not found" >&6; }
12122 else
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12124 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12126 cat >>confdefs.h <<_ACEOF
12127 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12128 _ACEOF
12133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12135 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12136 case "x$with_xfixes" in
12137 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12138 xno) ;;
12139 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12140 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12141 esac
12145 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12146 then
12147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12149 #include <X11/Xlib.h>
12150 #include <X11/extensions/Xinerama.h>
12152 main ()
12154 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12156 return 0;
12158 _ACEOF
12159 if ac_fn_c_try_compile "$LINENO"; then :
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12161 $as_echo_n "checking for -lXinerama... " >&6; }
12162 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12163 $as_echo_n "(cached) " >&6
12164 else
12165 ac_check_soname_save_LIBS=$LIBS
12166 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12170 /* Override any GCC internal prototype to avoid an error.
12171 Use char because int might match the return type of a GCC
12172 builtin and then its argument prototype would still apply. */
12173 #ifdef __cplusplus
12174 extern "C"
12175 #endif
12176 char XineramaQueryScreens ();
12178 main ()
12180 return XineramaQueryScreens ();
12182 return 0;
12184 _ACEOF
12185 if ac_fn_c_try_link "$LINENO"; then :
12186 case "$LIBEXT" in
12187 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12188 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'` ;;
12189 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12190 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12191 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12192 fi ;;
12193 esac
12194 else
12195 ac_cv_lib_soname_Xinerama=
12197 rm -f core conftest.err conftest.$ac_objext \
12198 conftest$ac_exeext conftest.$ac_ext
12199 LIBS=$ac_check_soname_save_LIBS
12201 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12203 $as_echo "not found" >&6; }
12205 else
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12207 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12209 cat >>confdefs.h <<_ACEOF
12210 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12211 _ACEOF
12216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12218 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12219 case "x$with_xinerama" in
12220 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12221 xno) ;;
12222 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12223 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12224 esac
12228 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12229 then
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12231 $as_echo_n "checking for -lXcomposite... " >&6; }
12232 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12233 $as_echo_n "(cached) " >&6
12234 else
12235 ac_check_soname_save_LIBS=$LIBS
12236 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12238 /* end confdefs.h. */
12240 /* Override any GCC internal prototype to avoid an error.
12241 Use char because int might match the return type of a GCC
12242 builtin and then its argument prototype would still apply. */
12243 #ifdef __cplusplus
12244 extern "C"
12245 #endif
12246 char XCompositeRedirectWindow ();
12248 main ()
12250 return XCompositeRedirectWindow ();
12252 return 0;
12254 _ACEOF
12255 if ac_fn_c_try_link "$LINENO"; then :
12256 case "$LIBEXT" in
12257 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12258 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'` ;;
12259 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12260 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12261 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12262 fi ;;
12263 esac
12264 else
12265 ac_cv_lib_soname_Xcomposite=
12267 rm -f core conftest.err conftest.$ac_objext \
12268 conftest$ac_exeext conftest.$ac_ext
12269 LIBS=$ac_check_soname_save_LIBS
12271 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12273 $as_echo "not found" >&6; }
12275 else
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12277 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12279 cat >>confdefs.h <<_ACEOF
12280 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12281 _ACEOF
12286 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12287 case "x$with_xcomposite" in
12288 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12289 xno) ;;
12290 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12291 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12292 esac
12296 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12297 #include <X11/Xlib.h>
12298 #endif
12300 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12302 cat >>confdefs.h <<_ACEOF
12303 #define HAVE_XICCALLBACK_CALLBACK 1
12304 _ACEOF
12308 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12309 #include <X11/Xlib.h>
12310 #endif
12312 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12314 cat >>confdefs.h <<_ACEOF
12315 #define HAVE_XEVENT_XCOOKIE 1
12316 _ACEOF
12323 opengl_msg=""
12324 if test "x$with_opengl" != "xno"
12325 then
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12327 $as_echo_n "checking for -lGL... " >&6; }
12328 if ${ac_cv_lib_soname_GL+:} false; then :
12329 $as_echo_n "(cached) " >&6
12330 else
12331 ac_check_soname_save_LIBS=$LIBS
12332 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12334 /* end confdefs.h. */
12336 /* Override any GCC internal prototype to avoid an error.
12337 Use char because int might match the return type of a GCC
12338 builtin and then its argument prototype would still apply. */
12339 #ifdef __cplusplus
12340 extern "C"
12341 #endif
12342 char glXCreateContext ();
12344 main ()
12346 return glXCreateContext ();
12348 return 0;
12350 _ACEOF
12351 if ac_fn_c_try_link "$LINENO"; then :
12352 case "$LIBEXT" in
12353 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12354 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'` ;;
12355 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12356 if ${ac_cv_lib_soname_GL:+false} :; then :
12357 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12358 fi ;;
12359 esac
12360 else
12361 ac_cv_lib_soname_GL=
12363 rm -f core conftest.err conftest.$ac_objext \
12364 conftest$ac_exeext conftest.$ac_ext
12365 LIBS=$ac_check_soname_save_LIBS
12367 if ${ac_cv_lib_soname_GL:+false} :; then :
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12369 $as_echo "not found" >&6; }
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12371 $as_echo_n "checking for -lGL... " >&6; }
12372 if ${ac_cv_lib_soname_GL+:} false; then :
12373 $as_echo_n "(cached) " >&6
12374 else
12375 ac_check_soname_save_LIBS=$LIBS
12376 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"
12377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12378 /* end confdefs.h. */
12380 /* Override any GCC internal prototype to avoid an error.
12381 Use char because int might match the return type of a GCC
12382 builtin and then its argument prototype would still apply. */
12383 #ifdef __cplusplus
12384 extern "C"
12385 #endif
12386 char glXCreateContext ();
12388 main ()
12390 return glXCreateContext ();
12392 return 0;
12394 _ACEOF
12395 if ac_fn_c_try_link "$LINENO"; then :
12396 case "$LIBEXT" in
12397 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12398 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'` ;;
12399 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12400 if ${ac_cv_lib_soname_GL:+false} :; then :
12401 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12402 fi ;;
12403 esac
12404 else
12405 ac_cv_lib_soname_GL=
12407 rm -f core conftest.err conftest.$ac_objext \
12408 conftest$ac_exeext conftest.$ac_ext
12409 LIBS=$ac_check_soname_save_LIBS
12411 if ${ac_cv_lib_soname_GL:+false} :; then :
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12413 $as_echo "not found" >&6; }
12414 if test -f /usr/X11R6/lib/libGL.a
12415 then
12416 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12417 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12418 else
12419 opengl_msg="No OpenGL library found on this system."
12421 else
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12423 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12425 cat >>confdefs.h <<_ACEOF
12426 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12427 _ACEOF
12429 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"
12431 else
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12433 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12435 cat >>confdefs.h <<_ACEOF
12436 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12437 _ACEOF
12439 OPENGL_LIBS="-lGL"
12441 if test "x$with_glu" != "xno"
12442 then
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12444 $as_echo_n "checking for -lGLU... " >&6; }
12445 if ${ac_cv_lib_soname_GLU+:} false; then :
12446 $as_echo_n "(cached) " >&6
12447 else
12448 ac_check_soname_save_LIBS=$LIBS
12449 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12451 /* end confdefs.h. */
12453 /* Override any GCC internal prototype to avoid an error.
12454 Use char because int might match the return type of a GCC
12455 builtin and then its argument prototype would still apply. */
12456 #ifdef __cplusplus
12457 extern "C"
12458 #endif
12459 char gluLookAt ();
12461 main ()
12463 return gluLookAt ();
12465 return 0;
12467 _ACEOF
12468 if ac_fn_c_try_link "$LINENO"; then :
12469 case "$LIBEXT" in
12470 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12471 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'` ;;
12472 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12473 if ${ac_cv_lib_soname_GLU:+false} :; then :
12474 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12475 fi ;;
12476 esac
12477 else
12478 ac_cv_lib_soname_GLU=
12480 rm -f core conftest.err conftest.$ac_objext \
12481 conftest$ac_exeext conftest.$ac_ext
12482 LIBS=$ac_check_soname_save_LIBS
12484 if ${ac_cv_lib_soname_GLU:+false} :; then :
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12486 $as_echo "not found" >&6; }
12488 else
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12490 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12492 cat >>confdefs.h <<_ACEOF
12493 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12494 _ACEOF
12498 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12499 case "x$with_glu" in
12500 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12501 xno) ;;
12502 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12503 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12504 esac
12509 if test "x$with_osmesa" != "xno"
12510 then
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12512 $as_echo_n "checking for -lOSMesa... " >&6; }
12513 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12514 $as_echo_n "(cached) " >&6
12515 else
12516 ac_check_soname_save_LIBS=$LIBS
12517 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12519 /* end confdefs.h. */
12521 /* Override any GCC internal prototype to avoid an error.
12522 Use char because int might match the return type of a GCC
12523 builtin and then its argument prototype would still apply. */
12524 #ifdef __cplusplus
12525 extern "C"
12526 #endif
12527 char OSMesaGetProcAddress ();
12529 main ()
12531 return OSMesaGetProcAddress ();
12533 return 0;
12535 _ACEOF
12536 if ac_fn_c_try_link "$LINENO"; then :
12537 case "$LIBEXT" in
12538 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12539 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'` ;;
12540 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12541 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12542 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12543 fi ;;
12544 esac
12545 else
12546 ac_cv_lib_soname_OSMesa=
12548 rm -f core conftest.err conftest.$ac_objext \
12549 conftest$ac_exeext conftest.$ac_ext
12550 LIBS=$ac_check_soname_save_LIBS
12552 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12554 $as_echo "not found" >&6; }
12556 else
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12558 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12560 cat >>confdefs.h <<_ACEOF
12561 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12562 _ACEOF
12566 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12567 case "x$with_osmesa" in
12568 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12569 xno) ;;
12570 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12571 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12572 esac
12577 if test -n "$opengl_msg"; then :
12578 case "x$with_opengl" in
12579 x) as_fn_append wine_warnings "|$opengl_msg
12580 OpenGL and Direct3D won't be supported." ;;
12581 xno) ;;
12582 *) as_fn_error $? "$opengl_msg
12583 OpenGL and Direct3D won't be supported.
12584 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12585 esac
12589 CPPFLAGS="$ac_save_CPPFLAGS"
12590 else
12591 X_CFLAGS=""
12592 X_LIBS=""
12595 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12596 then
12597 if test "x$X_LIBS" = "x"; then :
12598 case "x$with_x" in
12599 xno) ;;
12600 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12601 without X support, which probably isn't what you want. You will need
12602 to install ${notice_platform}development packages of Xlib at the very least.
12603 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12604 esac
12605 enable_winex11_drv=${enable_winex11_drv:-no}
12607 else
12608 if test "x$X_LIBS" = "x"; then :
12609 case "x$with_x" in
12610 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12611 xno) ;;
12612 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12613 This is an error since --with-x was requested." "$LINENO" 5 ;;
12614 esac
12615 enable_winex11_drv=${enable_winex11_drv:-no}
12619 if test "$ac_cv_header_CL_cl_h" = "yes"
12620 then
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12622 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12623 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12624 $as_echo_n "(cached) " >&6
12625 else
12626 ac_check_lib_save_LIBS=$LIBS
12627 LIBS="-lOpenCL $LIBS"
12628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12631 /* Override any GCC internal prototype to avoid an error.
12632 Use char because int might match the return type of a GCC
12633 builtin and then its argument prototype would still apply. */
12634 #ifdef __cplusplus
12635 extern "C"
12636 #endif
12637 char clGetPlatformInfo ();
12639 main ()
12641 return clGetPlatformInfo ();
12643 return 0;
12645 _ACEOF
12646 if ac_fn_c_try_link "$LINENO"; then :
12647 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12648 else
12649 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12651 rm -f core conftest.err conftest.$ac_objext \
12652 conftest$ac_exeext conftest.$ac_ext
12653 LIBS=$ac_check_lib_save_LIBS
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12656 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12657 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12658 OPENCL_LIBS="-lOpenCL"
12663 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12664 case "x$with_opencl" in
12665 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12666 xno) ;;
12667 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12668 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12669 esac
12670 enable_opencl=${enable_opencl:-no}
12673 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12674 then
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12676 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12677 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12678 $as_echo_n "(cached) " >&6
12679 else
12680 ac_check_lib_save_LIBS=$LIBS
12681 LIBS="-lpcap $LIBS"
12682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12683 /* end confdefs.h. */
12685 /* Override any GCC internal prototype to avoid an error.
12686 Use char because int might match the return type of a GCC
12687 builtin and then its argument prototype would still apply. */
12688 #ifdef __cplusplus
12689 extern "C"
12690 #endif
12691 char pcap_create ();
12693 main ()
12695 return pcap_create ();
12697 return 0;
12699 _ACEOF
12700 if ac_fn_c_try_link "$LINENO"; then :
12701 ac_cv_lib_pcap_pcap_create=yes
12702 else
12703 ac_cv_lib_pcap_pcap_create=no
12705 rm -f core conftest.err conftest.$ac_objext \
12706 conftest$ac_exeext conftest.$ac_ext
12707 LIBS=$ac_check_lib_save_LIBS
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12710 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12711 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12712 PCAP_LIBS="-lpcap"
12717 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12718 case "x$with_pcap" in
12719 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12720 xno) ;;
12721 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12722 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12723 esac
12724 enable_wpcap=${enable_wpcap:-no}
12728 if test "x$with_xml" != "xno"
12729 then
12730 if ${XML2_CFLAGS:+false} :; then :
12731 if ${PKG_CONFIG+:} false; then :
12732 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12735 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12736 if ${XML2_LIBS:+false} :; then :
12737 if ${PKG_CONFIG+:} false; then :
12738 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12741 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12742 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12743 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12744 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12745 ac_save_CPPFLAGS=$CPPFLAGS
12746 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12747 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12748 do :
12749 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12750 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12751 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12752 cat >>confdefs.h <<_ACEOF
12753 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12754 _ACEOF
12758 done
12760 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"
12761 then
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12763 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12764 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12765 $as_echo_n "(cached) " >&6
12766 else
12767 ac_check_lib_save_LIBS=$LIBS
12768 LIBS="-lxml2 $XML2_LIBS $LIBS"
12769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12770 /* end confdefs.h. */
12772 /* Override any GCC internal prototype to avoid an error.
12773 Use char because int might match the return type of a GCC
12774 builtin and then its argument prototype would still apply. */
12775 #ifdef __cplusplus
12776 extern "C"
12777 #endif
12778 char xmlParseMemory ();
12780 main ()
12782 return xmlParseMemory ();
12784 return 0;
12786 _ACEOF
12787 if ac_fn_c_try_link "$LINENO"; then :
12788 ac_cv_lib_xml2_xmlParseMemory=yes
12789 else
12790 ac_cv_lib_xml2_xmlParseMemory=no
12792 rm -f core conftest.err conftest.$ac_objext \
12793 conftest$ac_exeext conftest.$ac_ext
12794 LIBS=$ac_check_lib_save_LIBS
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12797 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12798 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12800 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12802 else
12803 XML2_LIBS=""
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12807 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12808 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12809 $as_echo_n "(cached) " >&6
12810 else
12811 ac_check_lib_save_LIBS=$LIBS
12812 LIBS="-lxml2 $XML2_LIBS $LIBS"
12813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12816 /* Override any GCC internal prototype to avoid an error.
12817 Use char because int might match the return type of a GCC
12818 builtin and then its argument prototype would still apply. */
12819 #ifdef __cplusplus
12820 extern "C"
12821 #endif
12822 char xmlReadMemory ();
12824 main ()
12826 return xmlReadMemory ();
12828 return 0;
12830 _ACEOF
12831 if ac_fn_c_try_link "$LINENO"; then :
12832 ac_cv_lib_xml2_xmlReadMemory=yes
12833 else
12834 ac_cv_lib_xml2_xmlReadMemory=no
12836 rm -f core conftest.err conftest.$ac_objext \
12837 conftest$ac_exeext conftest.$ac_ext
12838 LIBS=$ac_check_lib_save_LIBS
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12841 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12842 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12844 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12849 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12850 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12851 $as_echo_n "(cached) " >&6
12852 else
12853 ac_check_lib_save_LIBS=$LIBS
12854 LIBS="-lxml2 $XML2_LIBS $LIBS"
12855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856 /* end confdefs.h. */
12858 /* Override any GCC internal prototype to avoid an error.
12859 Use char because int might match the return type of a GCC
12860 builtin and then its argument prototype would still apply. */
12861 #ifdef __cplusplus
12862 extern "C"
12863 #endif
12864 char xmlNewDocPI ();
12866 main ()
12868 return xmlNewDocPI ();
12870 return 0;
12872 _ACEOF
12873 if ac_fn_c_try_link "$LINENO"; then :
12874 ac_cv_lib_xml2_xmlNewDocPI=yes
12875 else
12876 ac_cv_lib_xml2_xmlNewDocPI=no
12878 rm -f core conftest.err conftest.$ac_objext \
12879 conftest$ac_exeext conftest.$ac_ext
12880 LIBS=$ac_check_lib_save_LIBS
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12883 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12884 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12886 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12891 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12892 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12893 $as_echo_n "(cached) " >&6
12894 else
12895 ac_check_lib_save_LIBS=$LIBS
12896 LIBS="-lxml2 $XML2_LIBS $LIBS"
12897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12898 /* end confdefs.h. */
12900 /* Override any GCC internal prototype to avoid an error.
12901 Use char because int might match the return type of a GCC
12902 builtin and then its argument prototype would still apply. */
12903 #ifdef __cplusplus
12904 extern "C"
12905 #endif
12906 char xmlSchemaSetParserStructuredErrors ();
12908 main ()
12910 return xmlSchemaSetParserStructuredErrors ();
12912 return 0;
12914 _ACEOF
12915 if ac_fn_c_try_link "$LINENO"; then :
12916 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12917 else
12918 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12920 rm -f core conftest.err conftest.$ac_objext \
12921 conftest$ac_exeext conftest.$ac_ext
12922 LIBS=$ac_check_lib_save_LIBS
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12925 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12926 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12928 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12933 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12934 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12935 $as_echo_n "(cached) " >&6
12936 else
12937 ac_check_lib_save_LIBS=$LIBS
12938 LIBS="-lxml2 $XML2_LIBS $LIBS"
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12942 /* Override any GCC internal prototype to avoid an error.
12943 Use char because int might match the return type of a GCC
12944 builtin and then its argument prototype would still apply. */
12945 #ifdef __cplusplus
12946 extern "C"
12947 #endif
12948 char xmlSchemaSetValidStructuredErrors ();
12950 main ()
12952 return xmlSchemaSetValidStructuredErrors ();
12954 return 0;
12956 _ACEOF
12957 if ac_fn_c_try_link "$LINENO"; then :
12958 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12959 else
12960 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12962 rm -f core conftest.err conftest.$ac_objext \
12963 conftest$ac_exeext conftest.$ac_ext
12964 LIBS=$ac_check_lib_save_LIBS
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12967 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12968 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12970 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12975 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12976 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12977 $as_echo_n "(cached) " >&6
12978 else
12979 ac_check_lib_save_LIBS=$LIBS
12980 LIBS="-lxml2 $XML2_LIBS $LIBS"
12981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12987 #ifdef __cplusplus
12988 extern "C"
12989 #endif
12990 char xmlFirstElementChild ();
12992 main ()
12994 return xmlFirstElementChild ();
12996 return 0;
12998 _ACEOF
12999 if ac_fn_c_try_link "$LINENO"; then :
13000 ac_cv_lib_xml2_xmlFirstElementChild=yes
13001 else
13002 ac_cv_lib_xml2_xmlFirstElementChild=no
13004 rm -f core conftest.err conftest.$ac_objext \
13005 conftest$ac_exeext conftest.$ac_ext
13006 LIBS=$ac_check_lib_save_LIBS
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13009 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13010 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13012 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13016 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13018 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13020 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13024 else
13025 XML2_CFLAGS=""
13026 XML2_LIBS=""
13028 CPPFLAGS=$ac_save_CPPFLAGS
13029 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13030 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13033 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13034 case "x$with_xml" in
13035 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13036 xno) ;;
13037 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13038 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13039 esac
13043 if test "x$with_xslt" != "xno"
13044 then
13045 if ${XSLT_CFLAGS:+false} :; then :
13046 if ${PKG_CONFIG+:} false; then :
13047 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13050 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13051 if ${XSLT_LIBS:+false} :; then :
13052 if ${PKG_CONFIG+:} false; then :
13053 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13056 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13057 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13058 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13059 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13060 ac_save_CPPFLAGS=$CPPFLAGS
13061 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13062 for ac_header in libxslt/pattern.h libxslt/transform.h
13063 do :
13064 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13065 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13066 # include <libxslt/pattern.h>
13067 #endif
13069 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13070 cat >>confdefs.h <<_ACEOF
13071 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13072 _ACEOF
13076 done
13078 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13079 then
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13081 $as_echo_n "checking for -lxslt... " >&6; }
13082 if ${ac_cv_lib_soname_xslt+:} false; then :
13083 $as_echo_n "(cached) " >&6
13084 else
13085 ac_check_soname_save_LIBS=$LIBS
13086 LIBS="-lxslt $XSLT_LIBS $LIBS"
13087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13088 /* end confdefs.h. */
13090 /* Override any GCC internal prototype to avoid an error.
13091 Use char because int might match the return type of a GCC
13092 builtin and then its argument prototype would still apply. */
13093 #ifdef __cplusplus
13094 extern "C"
13095 #endif
13096 char xsltCompilePattern ();
13098 main ()
13100 return xsltCompilePattern ();
13102 return 0;
13104 _ACEOF
13105 if ac_fn_c_try_link "$LINENO"; then :
13106 case "$LIBEXT" in
13107 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13108 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'` ;;
13109 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13110 if ${ac_cv_lib_soname_xslt:+false} :; then :
13111 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13112 fi ;;
13113 esac
13114 else
13115 ac_cv_lib_soname_xslt=
13117 rm -f core conftest.err conftest.$ac_objext \
13118 conftest$ac_exeext conftest.$ac_ext
13119 LIBS=$ac_check_soname_save_LIBS
13121 if ${ac_cv_lib_soname_xslt:+false} :; then :
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13123 $as_echo "not found" >&6; }
13125 else
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13127 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13129 cat >>confdefs.h <<_ACEOF
13130 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13131 _ACEOF
13135 else
13136 XSLT_CFLAGS=""
13138 CPPFLAGS=$ac_save_CPPFLAGS
13139 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13140 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13143 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13144 case "x$with_xslt" in
13145 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13146 xno) ;;
13147 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13148 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13149 esac
13153 if test "x$with_inotify" != "xno"
13154 then
13155 if ${INOTIFY_CFLAGS:+false} :; then :
13156 if ${PKG_CONFIG+:} false; then :
13157 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13161 if ${INOTIFY_LIBS:+false} :; then :
13162 if ${PKG_CONFIG+:} false; then :
13163 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13168 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13169 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13170 ac_save_CPPFLAGS=$CPPFLAGS
13171 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13172 for ac_header in sys/inotify.h
13173 do :
13174 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13175 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13176 cat >>confdefs.h <<_ACEOF
13177 #define HAVE_SYS_INOTIFY_H 1
13178 _ACEOF
13182 done
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13185 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13186 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13187 $as_echo_n "(cached) " >&6
13188 else
13189 ac_check_lib_save_LIBS=$LIBS
13190 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13192 /* end confdefs.h. */
13194 /* Override any GCC internal prototype to avoid an error.
13195 Use char because int might match the return type of a GCC
13196 builtin and then its argument prototype would still apply. */
13197 #ifdef __cplusplus
13198 extern "C"
13199 #endif
13200 char inotify_add_watch ();
13202 main ()
13204 return inotify_add_watch ();
13206 return 0;
13208 _ACEOF
13209 if ac_fn_c_try_link "$LINENO"; then :
13210 ac_cv_lib_inotify_inotify_add_watch=yes
13211 else
13212 ac_cv_lib_inotify_inotify_add_watch=no
13214 rm -f core conftest.err conftest.$ac_objext \
13215 conftest$ac_exeext conftest.$ac_ext
13216 LIBS=$ac_check_lib_save_LIBS
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13219 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13220 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13222 else
13223 INOTIFY_LIBS=""
13226 CPPFLAGS=$ac_save_CPPFLAGS
13227 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13228 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13231 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13232 case "x$with_inotify" in
13233 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13234 xno) ;;
13235 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13236 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13237 esac
13241 if test "x$with_dbus" != "xno"
13242 then
13243 if ${DBUS_CFLAGS:+false} :; then :
13244 if ${PKG_CONFIG+:} false; then :
13245 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13249 if ${DBUS_LIBS:+false} :; then :
13250 if ${PKG_CONFIG+:} false; then :
13251 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13256 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13257 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13258 ac_save_CPPFLAGS=$CPPFLAGS
13259 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13260 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13261 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13263 $as_echo_n "checking for -ldbus-1... " >&6; }
13264 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13265 $as_echo_n "(cached) " >&6
13266 else
13267 ac_check_soname_save_LIBS=$LIBS
13268 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13270 /* end confdefs.h. */
13272 /* Override any GCC internal prototype to avoid an error.
13273 Use char because int might match the return type of a GCC
13274 builtin and then its argument prototype would still apply. */
13275 #ifdef __cplusplus
13276 extern "C"
13277 #endif
13278 char dbus_connection_close ();
13280 main ()
13282 return dbus_connection_close ();
13284 return 0;
13286 _ACEOF
13287 if ac_fn_c_try_link "$LINENO"; then :
13288 case "$LIBEXT" in
13289 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13290 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'` ;;
13291 *) 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'`
13292 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13293 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13294 fi ;;
13295 esac
13296 else
13297 ac_cv_lib_soname_dbus_1=
13299 rm -f core conftest.err conftest.$ac_objext \
13300 conftest$ac_exeext conftest.$ac_ext
13301 LIBS=$ac_check_soname_save_LIBS
13303 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13305 $as_echo "not found" >&6; }
13306 DBUS_CFLAGS=""
13307 else
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13309 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13311 cat >>confdefs.h <<_ACEOF
13312 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13313 _ACEOF
13317 else
13318 DBUS_CFLAGS=""
13322 CPPFLAGS=$ac_save_CPPFLAGS
13323 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13324 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13327 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13328 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13329 case "x$with_dbus" in
13330 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13331 xno) ;;
13332 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13333 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13334 esac
13338 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13339 then
13340 if ${HAL_CFLAGS:+false} :; then :
13341 if ${PKG_CONFIG+:} false; then :
13342 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13346 if ${HAL_LIBS:+false} :; then :
13347 if ${PKG_CONFIG+:} false; then :
13348 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13352 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13353 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13354 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13355 ac_save_CPPFLAGS=$CPPFLAGS
13356 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13357 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13358 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13360 $as_echo_n "checking for -lhal... " >&6; }
13361 if ${ac_cv_lib_soname_hal+:} false; then :
13362 $as_echo_n "(cached) " >&6
13363 else
13364 ac_check_soname_save_LIBS=$LIBS
13365 LIBS="-lhal $HAL_LIBS $LIBS"
13366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13367 /* end confdefs.h. */
13369 /* Override any GCC internal prototype to avoid an error.
13370 Use char because int might match the return type of a GCC
13371 builtin and then its argument prototype would still apply. */
13372 #ifdef __cplusplus
13373 extern "C"
13374 #endif
13375 char libhal_ctx_new ();
13377 main ()
13379 return libhal_ctx_new ();
13381 return 0;
13383 _ACEOF
13384 if ac_fn_c_try_link "$LINENO"; then :
13385 case "$LIBEXT" in
13386 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13387 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'` ;;
13388 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13389 if ${ac_cv_lib_soname_hal:+false} :; then :
13390 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13391 fi ;;
13392 esac
13393 else
13394 ac_cv_lib_soname_hal=
13396 rm -f core conftest.err conftest.$ac_objext \
13397 conftest$ac_exeext conftest.$ac_ext
13398 LIBS=$ac_check_soname_save_LIBS
13400 if ${ac_cv_lib_soname_hal:+false} :; then :
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13402 $as_echo "not found" >&6; }
13403 HAL_CFLAGS=""
13404 else
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13406 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13408 cat >>confdefs.h <<_ACEOF
13409 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13410 _ACEOF
13414 else
13415 HAL_CFLAGS=""
13419 CPPFLAGS=$ac_save_CPPFLAGS
13420 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13421 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13423 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13424 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13425 case "x$with_hal" in
13426 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13427 xno) ;;
13428 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13429 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13430 esac
13435 if test "x$with_gnutls" != "xno"
13436 then
13437 if ${GNUTLS_CFLAGS:+false} :; then :
13438 if ${PKG_CONFIG+:} false; then :
13439 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13443 if ${GNUTLS_LIBS:+false} :; then :
13444 if ${PKG_CONFIG+:} false; then :
13445 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13450 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13451 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13452 ac_save_CPPFLAGS=$CPPFLAGS
13453 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13454 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13455 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13457 /* end confdefs.h. */
13458 #include <gnutls/gnutls.h>
13459 #include <gnutls/crypto.h>
13461 main ()
13463 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13465 return 0;
13467 _ACEOF
13468 if ac_fn_c_try_compile "$LINENO"; then :
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13470 $as_echo_n "checking for -lgnutls... " >&6; }
13471 if ${ac_cv_lib_soname_gnutls+:} false; then :
13472 $as_echo_n "(cached) " >&6
13473 else
13474 ac_check_soname_save_LIBS=$LIBS
13475 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13477 /* end confdefs.h. */
13479 /* Override any GCC internal prototype to avoid an error.
13480 Use char because int might match the return type of a GCC
13481 builtin and then its argument prototype would still apply. */
13482 #ifdef __cplusplus
13483 extern "C"
13484 #endif
13485 char gnutls_global_init ();
13487 main ()
13489 return gnutls_global_init ();
13491 return 0;
13493 _ACEOF
13494 if ac_fn_c_try_link "$LINENO"; then :
13495 case "$LIBEXT" in
13496 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13497 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'` ;;
13498 *) 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'`
13499 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13500 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'`
13501 fi ;;
13502 esac
13503 else
13504 ac_cv_lib_soname_gnutls=
13506 rm -f core conftest.err conftest.$ac_objext \
13507 conftest$ac_exeext conftest.$ac_ext
13508 LIBS=$ac_check_soname_save_LIBS
13510 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13512 $as_echo "not found" >&6; }
13513 GNUTLS_CFLAGS=""
13514 else
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13516 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13518 cat >>confdefs.h <<_ACEOF
13519 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13520 _ACEOF
13524 ac_wine_check_funcs_save_LIBS="$LIBS"
13525 LIBS="$LIBS $GNUTLS_LIBS"
13526 for ac_func in gnutls_cipher_init
13527 do :
13528 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13529 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13530 cat >>confdefs.h <<_ACEOF
13531 #define HAVE_GNUTLS_CIPHER_INIT 1
13532 _ACEOF
13534 else
13535 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13537 done
13539 LIBS="$ac_wine_check_funcs_save_LIBS"
13541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13542 else
13543 GNUTLS_CFLAGS=""
13547 CPPFLAGS=$ac_save_CPPFLAGS
13548 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13549 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13552 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13553 case "x$with_gnutls" in
13554 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13555 xno) ;;
13556 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13557 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13558 esac
13562 CURSES_LIBS=""
13563 if test "$ac_cv_header_ncurses_h" = "yes"
13564 then
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13566 $as_echo_n "checking for -lncurses... " >&6; }
13567 if ${ac_cv_lib_soname_ncurses+:} false; then :
13568 $as_echo_n "(cached) " >&6
13569 else
13570 ac_check_soname_save_LIBS=$LIBS
13571 LIBS="-lncurses $LIBS"
13572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13575 /* Override any GCC internal prototype to avoid an error.
13576 Use char because int might match the return type of a GCC
13577 builtin and then its argument prototype would still apply. */
13578 #ifdef __cplusplus
13579 extern "C"
13580 #endif
13581 char waddch ();
13583 main ()
13585 return waddch ();
13587 return 0;
13589 _ACEOF
13590 if ac_fn_c_try_link "$LINENO"; then :
13591 case "$LIBEXT" in
13592 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13593 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'` ;;
13594 *) 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'`
13595 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13596 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13597 fi ;;
13598 esac
13599 else
13600 ac_cv_lib_soname_ncurses=
13602 rm -f core conftest.err conftest.$ac_objext \
13603 conftest$ac_exeext conftest.$ac_ext
13604 LIBS=$ac_check_soname_save_LIBS
13606 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13608 $as_echo "not found" >&6; }
13610 else
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13612 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13614 cat >>confdefs.h <<_ACEOF
13615 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13616 _ACEOF
13618 CURSES_LIBS="-lncurses"
13620 elif test "$ac_cv_header_curses_h" = "yes"
13621 then
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13623 $as_echo_n "checking for -lcurses... " >&6; }
13624 if ${ac_cv_lib_soname_curses+:} false; then :
13625 $as_echo_n "(cached) " >&6
13626 else
13627 ac_check_soname_save_LIBS=$LIBS
13628 LIBS="-lcurses $LIBS"
13629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13632 /* Override any GCC internal prototype to avoid an error.
13633 Use char because int might match the return type of a GCC
13634 builtin and then its argument prototype would still apply. */
13635 #ifdef __cplusplus
13636 extern "C"
13637 #endif
13638 char waddch ();
13640 main ()
13642 return waddch ();
13644 return 0;
13646 _ACEOF
13647 if ac_fn_c_try_link "$LINENO"; then :
13648 case "$LIBEXT" in
13649 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13650 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'` ;;
13651 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13652 if ${ac_cv_lib_soname_curses:+false} :; then :
13653 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13654 fi ;;
13655 esac
13656 else
13657 ac_cv_lib_soname_curses=
13659 rm -f core conftest.err conftest.$ac_objext \
13660 conftest$ac_exeext conftest.$ac_ext
13661 LIBS=$ac_check_soname_save_LIBS
13663 if ${ac_cv_lib_soname_curses:+false} :; then :
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13665 $as_echo "not found" >&6; }
13667 else
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13669 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13671 cat >>confdefs.h <<_ACEOF
13672 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13673 _ACEOF
13675 CURSES_LIBS="-lcurses"
13678 ac_save_LIBS="$LIBS"
13679 LIBS="$LIBS $CURSES_LIBS"
13680 for ac_func in mousemask
13681 do :
13682 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13683 if test "x$ac_cv_func_mousemask" = xyes; then :
13684 cat >>confdefs.h <<_ACEOF
13685 #define HAVE_MOUSEMASK 1
13686 _ACEOF
13689 done
13691 LIBS="$ac_save_LIBS"
13692 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13693 case "x$with_curses" in
13694 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13695 xno) ;;
13696 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13697 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13698 esac
13702 if test "x$with_sane" != "xno"
13703 then
13704 if ${SANE_CFLAGS:+false} :; then :
13705 if ${PKG_CONFIG+:} false; then :
13706 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13709 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13710 if ${SANE_LIBS:+false} :; then :
13711 if ${PKG_CONFIG+:} false; then :
13712 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13715 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13717 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13718 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13719 ac_save_CPPFLAGS=$CPPFLAGS
13720 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13721 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13722 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13724 $as_echo_n "checking for -lsane... " >&6; }
13725 if ${ac_cv_lib_soname_sane+:} false; then :
13726 $as_echo_n "(cached) " >&6
13727 else
13728 ac_check_soname_save_LIBS=$LIBS
13729 LIBS="-lsane $SANE_LIBS $LIBS"
13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13733 /* Override any GCC internal prototype to avoid an error.
13734 Use char because int might match the return type of a GCC
13735 builtin and then its argument prototype would still apply. */
13736 #ifdef __cplusplus
13737 extern "C"
13738 #endif
13739 char sane_init ();
13741 main ()
13743 return sane_init ();
13745 return 0;
13747 _ACEOF
13748 if ac_fn_c_try_link "$LINENO"; then :
13749 case "$LIBEXT" in
13750 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13751 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'` ;;
13752 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13753 if ${ac_cv_lib_soname_sane:+false} :; then :
13754 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13755 fi ;;
13756 esac
13757 else
13758 ac_cv_lib_soname_sane=
13760 rm -f core conftest.err conftest.$ac_objext \
13761 conftest$ac_exeext conftest.$ac_ext
13762 LIBS=$ac_check_soname_save_LIBS
13764 if ${ac_cv_lib_soname_sane:+false} :; then :
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13766 $as_echo "not found" >&6; }
13767 SANE_CFLAGS=""
13768 else
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13770 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13772 cat >>confdefs.h <<_ACEOF
13773 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13774 _ACEOF
13778 else
13779 SANE_CFLAGS=""
13783 CPPFLAGS=$ac_save_CPPFLAGS
13784 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13785 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13788 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13789 case "x$with_sane" in
13790 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13791 xno) ;;
13792 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13793 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13794 esac
13798 if test "x$with_v4l2" != "xno"
13799 then
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13801 $as_echo_n "checking for -lv4l2... " >&6; }
13802 if ${ac_cv_lib_soname_v4l2+:} false; then :
13803 $as_echo_n "(cached) " >&6
13804 else
13805 ac_check_soname_save_LIBS=$LIBS
13806 LIBS="-lv4l2 $LIBS"
13807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13808 /* end confdefs.h. */
13810 /* Override any GCC internal prototype to avoid an error.
13811 Use char because int might match the return type of a GCC
13812 builtin and then its argument prototype would still apply. */
13813 #ifdef __cplusplus
13814 extern "C"
13815 #endif
13816 char v4l2_open ();
13818 main ()
13820 return v4l2_open ();
13822 return 0;
13824 _ACEOF
13825 if ac_fn_c_try_link "$LINENO"; then :
13826 case "$LIBEXT" in
13827 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13828 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'` ;;
13829 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13830 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13831 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13832 fi ;;
13833 esac
13834 else
13835 ac_cv_lib_soname_v4l2=
13837 rm -f core conftest.err conftest.$ac_objext \
13838 conftest$ac_exeext conftest.$ac_ext
13839 LIBS=$ac_check_soname_save_LIBS
13841 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13843 $as_echo "not found" >&6; }
13845 else
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13847 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13849 cat >>confdefs.h <<_ACEOF
13850 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13851 _ACEOF
13856 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13857 case "x$with_v4l2" in
13858 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13859 xno) ;;
13860 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13861 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13862 esac
13866 if test "x$with_gphoto" != "xno"
13867 then
13868 if ${GPHOTO2_CFLAGS:+false} :; then :
13869 if ${PKG_CONFIG+:} false; then :
13870 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13873 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13874 if ${GPHOTO2_LIBS:+false} :; then :
13875 if ${PKG_CONFIG+:} false; then :
13876 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13879 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13880 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13881 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13882 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13883 ac_save_CPPFLAGS=$CPPFLAGS
13884 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13885 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13886 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13888 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13889 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13890 $as_echo_n "(cached) " >&6
13891 else
13892 ac_check_lib_save_LIBS=$LIBS
13893 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13895 /* end confdefs.h. */
13897 /* Override any GCC internal prototype to avoid an error.
13898 Use char because int might match the return type of a GCC
13899 builtin and then its argument prototype would still apply. */
13900 #ifdef __cplusplus
13901 extern "C"
13902 #endif
13903 char gp_camera_new ();
13905 main ()
13907 return gp_camera_new ();
13909 return 0;
13911 _ACEOF
13912 if ac_fn_c_try_link "$LINENO"; then :
13913 ac_cv_lib_gphoto2_gp_camera_new=yes
13914 else
13915 ac_cv_lib_gphoto2_gp_camera_new=no
13917 rm -f core conftest.err conftest.$ac_objext \
13918 conftest$ac_exeext conftest.$ac_ext
13919 LIBS=$ac_check_lib_save_LIBS
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13922 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13923 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13925 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13927 else
13928 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13931 else
13932 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13936 CPPFLAGS=$ac_save_CPPFLAGS
13937 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13938 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13940 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13941 if ${PKG_CONFIG+:} false; then :
13942 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13945 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13946 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13947 if ${PKG_CONFIG+:} false; then :
13948 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13951 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13952 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13953 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13954 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13955 ac_save_CPPFLAGS=$CPPFLAGS
13956 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13957 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13958 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13960 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13961 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13962 $as_echo_n "(cached) " >&6
13963 else
13964 ac_check_lib_save_LIBS=$LIBS
13965 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13967 /* end confdefs.h. */
13969 /* Override any GCC internal prototype to avoid an error.
13970 Use char because int might match the return type of a GCC
13971 builtin and then its argument prototype would still apply. */
13972 #ifdef __cplusplus
13973 extern "C"
13974 #endif
13975 char gp_port_info_list_new ();
13977 main ()
13979 return gp_port_info_list_new ();
13981 return 0;
13983 _ACEOF
13984 if ac_fn_c_try_link "$LINENO"; then :
13985 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13986 else
13987 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13989 rm -f core conftest.err conftest.$ac_objext \
13990 conftest$ac_exeext conftest.$ac_ext
13991 LIBS=$ac_check_lib_save_LIBS
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13994 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13995 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13997 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13999 else
14000 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14003 else
14004 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14008 CPPFLAGS=$ac_save_CPPFLAGS
14009 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14010 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14013 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14014 case "x$with_gphoto" in
14015 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14016 xno) ;;
14017 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14018 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14019 esac
14022 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14023 case "x$with_gphoto" in
14024 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14025 xno) ;;
14026 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14027 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14028 esac
14033 if test "$ac_cv_header_resolv_h" = "yes"
14034 then
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14036 $as_echo_n "checking for resolver library... " >&6; }
14037 if ${ac_cv_have_resolv+:} false; then :
14038 $as_echo_n "(cached) " >&6
14039 else
14040 ac_save_LIBS="$LIBS"
14041 for lib in '' -lresolv
14043 LIBS="$lib $ac_save_LIBS"
14044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14046 #ifdef HAVE_NETINET_IN_H
14047 #include <netinet/in.h>
14048 #endif
14049 #include <resolv.h>
14051 main ()
14053 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14055 return 0;
14057 _ACEOF
14058 if ac_fn_c_try_link "$LINENO"; then :
14059 ac_cv_have_resolv=${lib:-"none required"}
14060 else
14061 ac_cv_have_resolv="not found"
14063 rm -f core conftest.err conftest.$ac_objext \
14064 conftest$ac_exeext conftest.$ac_ext
14065 test "x$ac_cv_have_resolv" = "xnot found" || break
14066 done
14067 LIBS="$ac_save_LIBS"
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14070 $as_echo "$ac_cv_have_resolv" >&6; }
14072 case "$ac_cv_have_resolv" in
14073 "not found") ;;
14074 "none required")
14076 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14079 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14081 RESOLV_LIBS=$ac_cv_have_resolv
14083 esac
14086 if test "x$with_cms" != "xno"
14087 then
14088 if ${LCMS2_CFLAGS:+false} :; then :
14089 if ${PKG_CONFIG+:} false; then :
14090 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14094 if ${LCMS2_LIBS:+false} :; then :
14095 if ${PKG_CONFIG+:} false; then :
14096 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14100 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14101 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14102 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14103 ac_save_CPPFLAGS=$CPPFLAGS
14104 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14105 for ac_header in lcms2.h
14106 do :
14107 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14108 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14109 cat >>confdefs.h <<_ACEOF
14110 #define HAVE_LCMS2_H 1
14111 _ACEOF
14115 done
14117 if test "$ac_cv_header_lcms2_h" = "yes"
14118 then
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14120 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14121 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14122 $as_echo_n "(cached) " >&6
14123 else
14124 ac_check_lib_save_LIBS=$LIBS
14125 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14127 /* end confdefs.h. */
14129 /* Override any GCC internal prototype to avoid an error.
14130 Use char because int might match the return type of a GCC
14131 builtin and then its argument prototype would still apply. */
14132 #ifdef __cplusplus
14133 extern "C"
14134 #endif
14135 char cmsOpenProfileFromFile ();
14137 main ()
14139 return cmsOpenProfileFromFile ();
14141 return 0;
14143 _ACEOF
14144 if ac_fn_c_try_link "$LINENO"; then :
14145 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14146 else
14147 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14149 rm -f core conftest.err conftest.$ac_objext \
14150 conftest$ac_exeext conftest.$ac_ext
14151 LIBS=$ac_check_lib_save_LIBS
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14154 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14155 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14157 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14159 else
14160 LCMS2_LIBS=""
14163 else
14164 LCMS2_CFLAGS=""
14165 LCMS2_LIBS=""
14167 CPPFLAGS=$ac_save_CPPFLAGS
14168 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14169 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14172 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14173 case "x$with_cms" in
14174 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14175 xno) ;;
14176 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14177 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14178 esac
14182 if test "x$with_freetype" != "xno"
14183 then
14184 if ${FREETYPE_CFLAGS:+false} :; then :
14185 if ${PKG_CONFIG+:} false; then :
14186 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14189 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14190 if ${FREETYPE_LIBS:+false} :; then :
14191 if ${PKG_CONFIG+:} false; then :
14192 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14195 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14196 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14197 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14198 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14199 ac_save_CPPFLAGS=$CPPFLAGS
14200 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14201 for ac_header in ft2build.h
14202 do :
14203 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14204 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14205 cat >>confdefs.h <<_ACEOF
14206 #define HAVE_FT2BUILD_H 1
14207 _ACEOF
14211 done
14213 if test "$ac_cv_header_ft2build_h" = "yes"
14214 then
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14216 $as_echo_n "checking for -lfreetype... " >&6; }
14217 if ${ac_cv_lib_soname_freetype+:} false; then :
14218 $as_echo_n "(cached) " >&6
14219 else
14220 ac_check_soname_save_LIBS=$LIBS
14221 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14225 /* Override any GCC internal prototype to avoid an error.
14226 Use char because int might match the return type of a GCC
14227 builtin and then its argument prototype would still apply. */
14228 #ifdef __cplusplus
14229 extern "C"
14230 #endif
14231 char FT_Init_FreeType ();
14233 main ()
14235 return FT_Init_FreeType ();
14237 return 0;
14239 _ACEOF
14240 if ac_fn_c_try_link "$LINENO"; then :
14241 case "$LIBEXT" in
14242 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14243 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'` ;;
14244 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14245 if ${ac_cv_lib_soname_freetype:+false} :; then :
14246 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14247 fi ;;
14248 esac
14249 else
14250 ac_cv_lib_soname_freetype=
14252 rm -f core conftest.err conftest.$ac_objext \
14253 conftest$ac_exeext conftest.$ac_ext
14254 LIBS=$ac_check_soname_save_LIBS
14256 if ${ac_cv_lib_soname_freetype:+false} :; then :
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14258 $as_echo "not found" >&6; }
14259 FREETYPE_LIBS=""
14260 else
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14262 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14264 cat >>confdefs.h <<_ACEOF
14265 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14266 _ACEOF
14269 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14271 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14272 #include FT_MODULE_H
14274 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14276 cat >>confdefs.h <<_ACEOF
14277 #define HAVE_FT_TRUETYPEENGINETYPE 1
14278 _ACEOF
14284 else
14285 FREETYPE_CFLAGS=""
14286 FREETYPE_LIBS=""
14288 CPPFLAGS=$ac_save_CPPFLAGS
14289 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14290 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14293 if test "x$ac_cv_lib_soname_freetype" = x; then :
14294 case "x$with_freetype" in
14295 xno) ;;
14296 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14297 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14298 esac
14299 enable_fonts=${enable_fonts:-no}
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14303 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14304 if ${ac_cv_c_ppdev+:} false; then :
14305 $as_echo_n "(cached) " >&6
14306 else
14307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14309 #ifdef HAVE_SYS_IOCTL_H
14310 # include <sys/ioctl.h>
14311 #endif
14312 #include <linux/ppdev.h>
14314 main ()
14316 ioctl (1,PPCLAIM,0)
14318 return 0;
14320 _ACEOF
14321 if ac_fn_c_try_compile "$LINENO"; then :
14322 ac_cv_c_ppdev="yes"
14323 else
14324 ac_cv_c_ppdev="no"
14326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14329 $as_echo "$ac_cv_c_ppdev" >&6; }
14330 if test "$ac_cv_c_ppdev" = "yes"
14331 then
14333 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14337 ac_wine_check_funcs_save_LIBS="$LIBS"
14338 LIBS="$LIBS $PTHREAD_LIBS"
14339 for ac_func in \
14340 pthread_getthreadid_np
14341 do :
14342 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14343 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14344 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14345 cat >>confdefs.h <<_ACEOF
14346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14347 _ACEOF
14350 done
14352 LIBS="$ac_wine_check_funcs_save_LIBS"
14354 if test "x$with_zlib" != "xno"
14355 then
14356 if ${Z_CFLAGS:+false} :; then :
14357 if ${PKG_CONFIG+:} false; then :
14358 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14362 if ${Z_LIBS:+false} :; then :
14363 if ${PKG_CONFIG+:} false; then :
14364 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14368 Z_LIBS=${Z_LIBS:-"-lz"}
14369 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14370 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14371 ac_save_CPPFLAGS=$CPPFLAGS
14372 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14373 for ac_header in zlib.h
14374 do :
14375 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14376 if test "x$ac_cv_header_zlib_h" = xyes; then :
14377 cat >>confdefs.h <<_ACEOF
14378 #define HAVE_ZLIB_H 1
14379 _ACEOF
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14381 $as_echo_n "checking for inflate in -lz... " >&6; }
14382 if ${ac_cv_lib_z_inflate+:} false; then :
14383 $as_echo_n "(cached) " >&6
14384 else
14385 ac_check_lib_save_LIBS=$LIBS
14386 LIBS="-lz $Z_LIBS $LIBS"
14387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14390 /* Override any GCC internal prototype to avoid an error.
14391 Use char because int might match the return type of a GCC
14392 builtin and then its argument prototype would still apply. */
14393 #ifdef __cplusplus
14394 extern "C"
14395 #endif
14396 char inflate ();
14398 main ()
14400 return inflate ();
14402 return 0;
14404 _ACEOF
14405 if ac_fn_c_try_link "$LINENO"; then :
14406 ac_cv_lib_z_inflate=yes
14407 else
14408 ac_cv_lib_z_inflate=no
14410 rm -f core conftest.err conftest.$ac_objext \
14411 conftest$ac_exeext conftest.$ac_ext
14412 LIBS=$ac_check_lib_save_LIBS
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14415 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14416 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14418 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14420 else
14421 Z_LIBS=""
14424 else
14425 Z_LIBS=""
14428 done
14430 CPPFLAGS=$ac_save_CPPFLAGS
14431 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14432 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14435 if test "x$Z_LIBS" = "x"; then :
14436 case "x$with_zlib" in
14437 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14438 xno) ;;
14439 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14440 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14441 esac
14445 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14446 then
14447 if test "$ac_cv_header_gettext_po_h" = "yes"
14448 then
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14450 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14451 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14452 $as_echo_n "(cached) " >&6
14453 else
14454 ac_check_lib_save_LIBS=$LIBS
14455 LIBS="-lgettextpo $LIBS"
14456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14457 /* end confdefs.h. */
14459 /* Override any GCC internal prototype to avoid an error.
14460 Use char because int might match the return type of a GCC
14461 builtin and then its argument prototype would still apply. */
14462 #ifdef __cplusplus
14463 extern "C"
14464 #endif
14465 char po_message_msgctxt ();
14467 main ()
14469 return po_message_msgctxt ();
14471 return 0;
14473 _ACEOF
14474 if ac_fn_c_try_link "$LINENO"; then :
14475 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14476 else
14477 ac_cv_lib_gettextpo_po_message_msgctxt=no
14479 rm -f core conftest.err conftest.$ac_objext \
14480 conftest$ac_exeext conftest.$ac_ext
14481 LIBS=$ac_check_lib_save_LIBS
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14484 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14485 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14487 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14489 GETTEXTPO_LIBS="-lgettextpo"
14494 if test "x$GETTEXTPO_LIBS" = "x"; then :
14495 case "x$with_gettextpo" in
14496 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14497 xno) ;;
14498 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14499 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14500 esac
14503 if test "$srcdir" != .; then :
14504 case "x$with_gettextpo" in
14505 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14506 xno) ;;
14507 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14508 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14509 esac
14514 if test "x$with_pulse" != "xno";
14515 then
14516 if ${PULSE_CFLAGS:+false} :; then :
14517 if ${PKG_CONFIG+:} false; then :
14518 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14522 if ${PULSE_LIBS:+false} :; then :
14523 if ${PKG_CONFIG+:} false; then :
14524 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14529 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14530 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14531 ac_save_CPPFLAGS=$CPPFLAGS
14532 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14533 for ac_header in pulse/pulseaudio.h
14534 do :
14535 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14536 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14537 cat >>confdefs.h <<_ACEOF
14538 #define HAVE_PULSE_PULSEAUDIO_H 1
14539 _ACEOF
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14541 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14542 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14543 $as_echo_n "(cached) " >&6
14544 else
14545 ac_check_lib_save_LIBS=$LIBS
14546 LIBS="-lpulse $PULSE_LIBS $LIBS"
14547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14548 /* end confdefs.h. */
14550 /* Override any GCC internal prototype to avoid an error.
14551 Use char because int might match the return type of a GCC
14552 builtin and then its argument prototype would still apply. */
14553 #ifdef __cplusplus
14554 extern "C"
14555 #endif
14556 char pa_stream_is_corked ();
14558 main ()
14560 return pa_stream_is_corked ();
14562 return 0;
14564 _ACEOF
14565 if ac_fn_c_try_link "$LINENO"; then :
14566 ac_cv_lib_pulse_pa_stream_is_corked=yes
14567 else
14568 ac_cv_lib_pulse_pa_stream_is_corked=no
14570 rm -f core conftest.err conftest.$ac_objext \
14571 conftest$ac_exeext conftest.$ac_ext
14572 LIBS=$ac_check_lib_save_LIBS
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14575 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14576 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14578 else
14579 PULSE_LIBS=""
14582 else
14583 PULSE_LIBS=""
14586 done
14588 CPPFLAGS=$ac_save_CPPFLAGS
14589 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14590 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14593 if test -z "$PULSE_LIBS"; then :
14594 case "x$with_pulse" in
14595 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14596 xno) ;;
14597 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14598 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14599 esac
14600 enable_winepulse_drv=${enable_winepulse_drv:-no}
14603 if test "x$with_gstreamer" != "xno"
14604 then
14605 if ${GSTREAMER_CFLAGS:+false} :; then :
14606 if ${PKG_CONFIG+:} false; then :
14607 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14611 if ${GSTREAMER_LIBS:+false} :; then :
14612 if ${PKG_CONFIG+:} false; then :
14613 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14618 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14619 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14620 ac_save_CPPFLAGS=$CPPFLAGS
14621 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14622 ac_gst_incl=""
14623 for i in $GSTREAMER_CFLAGS
14625 case "$i" in
14626 -I*) ac_gst_incl="$ac_gst_incl $i";;
14627 esac
14628 done
14629 GSTREAMER_CFLAGS=$ac_gst_incl
14630 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14631 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14632 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14634 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14637 #include <gst/gst.h>
14639 main ()
14641 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14643 return 0;
14645 _ACEOF
14646 if ac_fn_c_try_compile "$LINENO"; then :
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14648 $as_echo "yes" >&6; }
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14650 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14651 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14652 $as_echo_n "(cached) " >&6
14653 else
14654 ac_check_lib_save_LIBS=$LIBS
14655 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14659 /* Override any GCC internal prototype to avoid an error.
14660 Use char because int might match the return type of a GCC
14661 builtin and then its argument prototype would still apply. */
14662 #ifdef __cplusplus
14663 extern "C"
14664 #endif
14665 char gst_pad_new ();
14667 main ()
14669 return gst_pad_new ();
14671 return 0;
14673 _ACEOF
14674 if ac_fn_c_try_link "$LINENO"; then :
14675 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14676 else
14677 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14679 rm -f core conftest.err conftest.$ac_objext \
14680 conftest$ac_exeext conftest.$ac_ext
14681 LIBS=$ac_check_lib_save_LIBS
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14684 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14685 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14689 else
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14691 $as_echo "no" >&6; }
14692 ac_glib2_broken=yes
14693 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14699 CPPFLAGS=$ac_save_CPPFLAGS
14700 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14701 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14704 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 :
14705 case "x$with_gstreamer" in
14706 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14707 xno) ;;
14708 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14709 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14710 esac
14713 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14715 ALSA_LIBS=""
14717 if test "x$with_alsa" != "xno"
14718 then
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14720 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14721 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14722 $as_echo_n "(cached) " >&6
14723 else
14724 ac_check_lib_save_LIBS=$LIBS
14725 LIBS="-lasound $LIBS"
14726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h. */
14729 /* Override any GCC internal prototype to avoid an error.
14730 Use char because int might match the return type of a GCC
14731 builtin and then its argument prototype would still apply. */
14732 #ifdef __cplusplus
14733 extern "C"
14734 #endif
14735 char snd_pcm_hw_params_get_access_mask ();
14737 main ()
14739 return snd_pcm_hw_params_get_access_mask ();
14741 return 0;
14743 _ACEOF
14744 if ac_fn_c_try_link "$LINENO"; then :
14745 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14746 else
14747 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14749 rm -f core conftest.err conftest.$ac_objext \
14750 conftest$ac_exeext conftest.$ac_ext
14751 LIBS=$ac_check_lib_save_LIBS
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14754 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14755 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14758 #include <alsa/asoundlib.h>
14760 main ()
14762 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14764 return 0;
14766 _ACEOF
14767 if ac_fn_c_try_compile "$LINENO"; then :
14768 ALSA_LIBS="-lasound"
14770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14774 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14776 if test "x$with_oss" != xno
14777 then
14778 ac_save_CPPFLAGS="$CPPFLAGS"
14779 if test -f /etc/oss.conf
14780 then
14781 . /etc/oss.conf
14783 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14784 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14785 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14786 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14787 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14789 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14791 cat >>confdefs.h <<_ACEOF
14792 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14793 _ACEOF
14795 OSS4_CFLAGS="$ac_oss_incl"
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14798 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14799 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14800 $as_echo_n "(cached) " >&6
14801 else
14802 ac_check_lib_save_LIBS=$LIBS
14803 LIBS="-lossaudio $LIBS"
14804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14805 /* end confdefs.h. */
14807 /* Override any GCC internal prototype to avoid an error.
14808 Use char because int might match the return type of a GCC
14809 builtin and then its argument prototype would still apply. */
14810 #ifdef __cplusplus
14811 extern "C"
14812 #endif
14813 char _oss_ioctl ();
14815 main ()
14817 return _oss_ioctl ();
14819 return 0;
14821 _ACEOF
14822 if ac_fn_c_try_link "$LINENO"; then :
14823 ac_cv_lib_ossaudio__oss_ioctl=yes
14824 else
14825 ac_cv_lib_ossaudio__oss_ioctl=no
14827 rm -f core conftest.err conftest.$ac_objext \
14828 conftest$ac_exeext conftest.$ac_ext
14829 LIBS=$ac_check_lib_save_LIBS
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14832 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14833 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14834 OSS4_LIBS="-lossaudio"
14843 CPPFLAGS="$ac_save_CPPFLAGS"
14845 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14846 case "x$with_oss" in
14847 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14848 xno) ;;
14849 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14850 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14851 esac
14852 enable_wineoss_drv=${enable_wineoss_drv:-no}
14855 if test "x$with_udev" != "xno"
14856 then
14857 if ${UDEV_CFLAGS:+false} :; then :
14858 if ${PKG_CONFIG+:} false; then :
14859 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14863 if ${UDEV_LIBS:+false} :; then :
14864 if ${PKG_CONFIG+:} false; then :
14865 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14869 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14870 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14871 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14872 ac_save_CPPFLAGS=$CPPFLAGS
14873 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14874 for ac_header in libudev.h
14875 do :
14876 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14877 if test "x$ac_cv_header_libudev_h" = xyes; then :
14878 cat >>confdefs.h <<_ACEOF
14879 #define HAVE_LIBUDEV_H 1
14880 _ACEOF
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14882 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14883 if ${ac_cv_lib_udev_udev_new+:} false; then :
14884 $as_echo_n "(cached) " >&6
14885 else
14886 ac_check_lib_save_LIBS=$LIBS
14887 LIBS="-ludev $UDEV_LIBS $LIBS"
14888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14889 /* end confdefs.h. */
14891 /* Override any GCC internal prototype to avoid an error.
14892 Use char because int might match the return type of a GCC
14893 builtin and then its argument prototype would still apply. */
14894 #ifdef __cplusplus
14895 extern "C"
14896 #endif
14897 char udev_new ();
14899 main ()
14901 return udev_new ();
14903 return 0;
14905 _ACEOF
14906 if ac_fn_c_try_link "$LINENO"; then :
14907 ac_cv_lib_udev_udev_new=yes
14908 else
14909 ac_cv_lib_udev_udev_new=no
14911 rm -f core conftest.err conftest.$ac_objext \
14912 conftest$ac_exeext conftest.$ac_ext
14913 LIBS=$ac_check_lib_save_LIBS
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14916 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14917 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14919 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14921 else
14922 UDEV_LIBS=""
14925 else
14926 UDEV_LIBS=""
14929 done
14931 CPPFLAGS=$ac_save_CPPFLAGS
14932 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14933 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14936 if test "x$UDEV_LIBS" = "x"; then :
14937 case "x$with_udev" in
14938 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14939 xno) ;;
14940 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14941 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14942 esac
14946 if test "x$with_unwind" != xno
14947 then
14948 if ${UNWIND_CFLAGS:+false} :; then :
14949 if ${PKG_CONFIG+:} false; then :
14950 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14954 if ${UNWIND_LIBS:+false} :; then :
14955 if ${PKG_CONFIG+:} false; then :
14956 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14960 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14961 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14962 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14963 ac_save_CPPFLAGS=$CPPFLAGS
14964 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14966 $as_echo_n "checking for unw_step... " >&6; }
14967 if ${wine_cv_have_unw_step+:} false; then :
14968 $as_echo_n "(cached) " >&6
14969 else
14970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14972 #define UNW_LOCAL_ONLY
14973 #include <libunwind.h>
14975 main ()
14977 unw_cursor_t cursor; unw_step( &cursor );
14979 return 0;
14981 _ACEOF
14982 if ac_fn_c_try_link "$LINENO"; then :
14983 wine_cv_have_unw_step="yes"
14984 else
14985 wine_cv_have_unw_step="no"
14987 rm -f core conftest.err conftest.$ac_objext \
14988 conftest$ac_exeext conftest.$ac_ext
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14991 $as_echo "$wine_cv_have_unw_step" >&6; }
14992 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14993 then
14994 save_libs=$LIBS
14995 LIBS="$UNWIND_LIBS $LIBS"
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14997 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14998 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14999 $as_echo_n "(cached) " >&6
15000 else
15001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h. */
15003 #define UNW_LOCAL_ONLY
15004 #include <libunwind.h>
15006 main ()
15008 unw_cursor_t cursor; unw_step( &cursor );
15010 return 0;
15012 _ACEOF
15013 if ac_fn_c_try_link "$LINENO"; then :
15014 wine_cv_have_libunwind_unw_step="yes"
15015 else
15016 wine_cv_have_libunwind_unw_step="no"
15018 rm -f core conftest.err conftest.$ac_objext \
15019 conftest$ac_exeext conftest.$ac_ext
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15022 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15023 LIBS=$save_libs
15025 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15026 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15027 then
15029 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15032 CPPFLAGS=$ac_save_CPPFLAGS
15033 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15034 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15037 case $host in
15038 aarch64*|*-darwin*)
15039 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15040 case "x$with_unwind" in
15041 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15042 xno) ;;
15043 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15044 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15045 esac
15047 fi ;;
15048 esac
15050 if test "x$with_sdl" != "xno"
15051 then
15052 if ${SDL2_CFLAGS:+false} :; then :
15053 if ${PKG_CONFIG+:} false; then :
15054 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15058 if ${SDL2_LIBS:+false} :; then :
15059 if ${PKG_CONFIG+:} false; then :
15060 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15064 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15065 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15066 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15067 ac_save_CPPFLAGS=$CPPFLAGS
15068 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15069 for ac_header in SDL2/SDL.h
15070 do :
15071 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15072 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15073 cat >>confdefs.h <<_ACEOF
15074 #define HAVE_SDL2_SDL_H 1
15075 _ACEOF
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15077 $as_echo_n "checking for -lSDL2... " >&6; }
15078 if ${ac_cv_lib_soname_SDL2+:} false; then :
15079 $as_echo_n "(cached) " >&6
15080 else
15081 ac_check_soname_save_LIBS=$LIBS
15082 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15084 /* end confdefs.h. */
15086 /* Override any GCC internal prototype to avoid an error.
15087 Use char because int might match the return type of a GCC
15088 builtin and then its argument prototype would still apply. */
15089 #ifdef __cplusplus
15090 extern "C"
15091 #endif
15092 char SDL_Init ();
15094 main ()
15096 return SDL_Init ();
15098 return 0;
15100 _ACEOF
15101 if ac_fn_c_try_link "$LINENO"; then :
15102 case "$LIBEXT" in
15103 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15104 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'` ;;
15105 *) 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'`
15106 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15107 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15108 fi ;;
15109 esac
15110 else
15111 ac_cv_lib_soname_SDL2=
15113 rm -f core conftest.err conftest.$ac_objext \
15114 conftest$ac_exeext conftest.$ac_ext
15115 LIBS=$ac_check_soname_save_LIBS
15117 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15119 $as_echo "not found" >&6; }
15121 else
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15123 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15125 cat >>confdefs.h <<_ACEOF
15126 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15127 _ACEOF
15133 done
15135 CPPFLAGS=$ac_save_CPPFLAGS
15136 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15137 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15140 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15141 case "x$with_sdl" in
15142 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15143 xno) ;;
15144 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15145 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15146 esac
15150 if test "x$with_faudio" != "xno"
15151 then
15152 if ${FAUDIO_CFLAGS:+false} :; then :
15153 if ${PKG_CONFIG+:} false; then :
15154 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15158 if ${FAUDIO_LIBS:+false} :; then :
15159 if ${PKG_CONFIG+:} false; then :
15160 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15164 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15165 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15166 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15167 ac_save_CPPFLAGS=$CPPFLAGS
15168 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15169 for ac_header in FAudio.h
15170 do :
15171 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15172 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15173 cat >>confdefs.h <<_ACEOF
15174 #define HAVE_FAUDIO_H 1
15175 _ACEOF
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15177 $as_echo_n "checking for -lFAudio... " >&6; }
15178 if ${ac_cv_lib_soname_FAudio+:} false; then :
15179 $as_echo_n "(cached) " >&6
15180 else
15181 ac_check_soname_save_LIBS=$LIBS
15182 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15184 /* end confdefs.h. */
15186 /* Override any GCC internal prototype to avoid an error.
15187 Use char because int might match the return type of a GCC
15188 builtin and then its argument prototype would still apply. */
15189 #ifdef __cplusplus
15190 extern "C"
15191 #endif
15192 char FAudioCreate ();
15194 main ()
15196 return FAudioCreate ();
15198 return 0;
15200 _ACEOF
15201 if ac_fn_c_try_link "$LINENO"; then :
15202 case "$LIBEXT" in
15203 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15204 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'` ;;
15205 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15206 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15207 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15208 fi ;;
15209 esac
15210 else
15211 ac_cv_lib_soname_FAudio=
15213 rm -f core conftest.err conftest.$ac_objext \
15214 conftest$ac_exeext conftest.$ac_ext
15215 LIBS=$ac_check_soname_save_LIBS
15217 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15219 $as_echo "not found" >&6; }
15221 else
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15223 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15225 cat >>confdefs.h <<_ACEOF
15226 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15227 _ACEOF
15233 done
15235 ac_wine_check_funcs_save_LIBS="$LIBS"
15236 LIBS="$LIBS $FAUDIO_LIBS"
15237 for ac_func in FAudio_CommitOperationSet \
15238 F3DAudioInitialize8
15239 do :
15240 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15241 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15242 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15243 cat >>confdefs.h <<_ACEOF
15244 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15245 _ACEOF
15248 done
15250 LIBS="$ac_wine_check_funcs_save_LIBS"
15252 CPPFLAGS=$ac_save_CPPFLAGS
15253 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15254 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15257 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15258 case "x$with_faudio" in
15259 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15260 xno) ;;
15261 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15262 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15263 esac
15267 if test "x$with_capi" != "xno"
15268 then
15269 if ${CAPI20_CFLAGS:+false} :; then :
15270 if ${PKG_CONFIG+:} false; then :
15271 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15275 if ${CAPI20_LIBS:+false} :; then :
15276 if ${PKG_CONFIG+:} false; then :
15277 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15282 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15283 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15284 ac_save_CPPFLAGS=$CPPFLAGS
15285 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15286 for ac_header in capi20.h linux/capi.h
15287 do :
15288 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15289 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15291 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15292 cat >>confdefs.h <<_ACEOF
15293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15294 _ACEOF
15298 done
15300 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15301 then
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15303 $as_echo_n "checking for -lcapi20... " >&6; }
15304 if ${ac_cv_lib_soname_capi20+:} false; then :
15305 $as_echo_n "(cached) " >&6
15306 else
15307 ac_check_soname_save_LIBS=$LIBS
15308 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15310 /* end confdefs.h. */
15312 /* Override any GCC internal prototype to avoid an error.
15313 Use char because int might match the return type of a GCC
15314 builtin and then its argument prototype would still apply. */
15315 #ifdef __cplusplus
15316 extern "C"
15317 #endif
15318 char capi20_register ();
15320 main ()
15322 return capi20_register ();
15324 return 0;
15326 _ACEOF
15327 if ac_fn_c_try_link "$LINENO"; then :
15328 case "$LIBEXT" in
15329 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15330 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'` ;;
15331 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15332 if ${ac_cv_lib_soname_capi20:+false} :; then :
15333 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15334 fi ;;
15335 esac
15336 else
15337 ac_cv_lib_soname_capi20=
15339 rm -f core conftest.err conftest.$ac_objext \
15340 conftest$ac_exeext conftest.$ac_ext
15341 LIBS=$ac_check_soname_save_LIBS
15343 if ${ac_cv_lib_soname_capi20:+false} :; then :
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15345 $as_echo "not found" >&6; }
15347 else
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15349 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15351 cat >>confdefs.h <<_ACEOF
15352 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15353 _ACEOF
15358 CPPFLAGS=$ac_save_CPPFLAGS
15359 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15360 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15363 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15364 case "x$with_capi" in
15365 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15366 xno) ;;
15367 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15368 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15369 esac
15373 if test "x$with_cups" != "xno"
15374 then
15375 if ${CUPS_CFLAGS:+false} :; then :
15376 if ${PKG_CONFIG+:} false; then :
15377 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15380 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15381 if ${CUPS_LIBS:+false} :; then :
15382 if ${PKG_CONFIG+:} false; then :
15383 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15386 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15387 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15388 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15389 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15390 ac_save_CPPFLAGS=$CPPFLAGS
15391 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15392 for ac_header in cups/cups.h cups/ppd.h
15393 do :
15394 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15395 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15396 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15397 cat >>confdefs.h <<_ACEOF
15398 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15399 _ACEOF
15403 done
15405 if test "$ac_cv_header_cups_cups_h" = "yes"
15406 then
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15408 $as_echo_n "checking for -lcups... " >&6; }
15409 if ${ac_cv_lib_soname_cups+:} false; then :
15410 $as_echo_n "(cached) " >&6
15411 else
15412 ac_check_soname_save_LIBS=$LIBS
15413 LIBS="-lcups $CUPS_LIBS $LIBS"
15414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15415 /* end confdefs.h. */
15417 /* Override any GCC internal prototype to avoid an error.
15418 Use char because int might match the return type of a GCC
15419 builtin and then its argument prototype would still apply. */
15420 #ifdef __cplusplus
15421 extern "C"
15422 #endif
15423 char cupsGetDefault ();
15425 main ()
15427 return cupsGetDefault ();
15429 return 0;
15431 _ACEOF
15432 if ac_fn_c_try_link "$LINENO"; then :
15433 case "$LIBEXT" in
15434 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15435 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'` ;;
15436 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15437 if ${ac_cv_lib_soname_cups:+false} :; then :
15438 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15439 fi ;;
15440 esac
15441 else
15442 ac_cv_lib_soname_cups=
15444 rm -f core conftest.err conftest.$ac_objext \
15445 conftest$ac_exeext conftest.$ac_ext
15446 LIBS=$ac_check_soname_save_LIBS
15448 if ${ac_cv_lib_soname_cups:+false} :; then :
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15450 $as_echo "not found" >&6; }
15451 CUPS_LIBS=""
15452 else
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15454 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15456 cat >>confdefs.h <<_ACEOF
15457 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15458 _ACEOF
15462 else
15463 CUPS_CFLAGS=""
15464 CUPS_LIBS=""
15466 CPPFLAGS=$ac_save_CPPFLAGS
15467 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15468 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15471 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15472 case "x$with_cups" in
15473 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15474 xno) ;;
15475 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15476 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15477 esac
15481 if test "x$with_fontconfig" != "xno"
15482 then
15483 if ${FONTCONFIG_CFLAGS:+false} :; then :
15484 if ${PKG_CONFIG+:} false; then :
15485 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15488 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15489 if ${FONTCONFIG_LIBS:+false} :; then :
15490 if ${PKG_CONFIG+:} false; then :
15491 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15494 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15496 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15497 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15498 ac_save_CPPFLAGS=$CPPFLAGS
15499 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15500 for ac_header in fontconfig/fontconfig.h
15501 do :
15502 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15503 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15504 cat >>confdefs.h <<_ACEOF
15505 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15506 _ACEOF
15510 done
15512 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15513 then
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15515 $as_echo_n "checking for -lfontconfig... " >&6; }
15516 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15517 $as_echo_n "(cached) " >&6
15518 else
15519 ac_check_soname_save_LIBS=$LIBS
15520 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15522 /* end confdefs.h. */
15524 /* Override any GCC internal prototype to avoid an error.
15525 Use char because int might match the return type of a GCC
15526 builtin and then its argument prototype would still apply. */
15527 #ifdef __cplusplus
15528 extern "C"
15529 #endif
15530 char FcInit ();
15532 main ()
15534 return FcInit ();
15536 return 0;
15538 _ACEOF
15539 if ac_fn_c_try_link "$LINENO"; then :
15540 case "$LIBEXT" in
15541 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15542 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'` ;;
15543 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15544 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15545 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15546 fi ;;
15547 esac
15548 else
15549 ac_cv_lib_soname_fontconfig=
15551 rm -f core conftest.err conftest.$ac_objext \
15552 conftest$ac_exeext conftest.$ac_ext
15553 LIBS=$ac_check_soname_save_LIBS
15555 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15557 $as_echo "not found" >&6; }
15558 FONTCONFIG_CFLAGS=""
15559 else
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15561 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15563 cat >>confdefs.h <<_ACEOF
15564 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15565 _ACEOF
15569 else
15570 FONTCONFIG_CFLAGS=""
15572 CPPFLAGS=$ac_save_CPPFLAGS
15573 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15574 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15577 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15578 case "x$with_fontconfig" in
15579 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15580 xno) ;;
15581 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15582 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15583 esac
15587 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15588 then
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15590 $as_echo_n "checking for -lgsm... " >&6; }
15591 if ${ac_cv_lib_soname_gsm+:} false; then :
15592 $as_echo_n "(cached) " >&6
15593 else
15594 ac_check_soname_save_LIBS=$LIBS
15595 LIBS="-lgsm $LIBS"
15596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15597 /* end confdefs.h. */
15599 /* Override any GCC internal prototype to avoid an error.
15600 Use char because int might match the return type of a GCC
15601 builtin and then its argument prototype would still apply. */
15602 #ifdef __cplusplus
15603 extern "C"
15604 #endif
15605 char gsm_create ();
15607 main ()
15609 return gsm_create ();
15611 return 0;
15613 _ACEOF
15614 if ac_fn_c_try_link "$LINENO"; then :
15615 case "$LIBEXT" in
15616 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15617 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'` ;;
15618 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15619 if ${ac_cv_lib_soname_gsm:+false} :; then :
15620 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15621 fi ;;
15622 esac
15623 else
15624 ac_cv_lib_soname_gsm=
15626 rm -f core conftest.err conftest.$ac_objext \
15627 conftest$ac_exeext conftest.$ac_ext
15628 LIBS=$ac_check_soname_save_LIBS
15630 if ${ac_cv_lib_soname_gsm:+false} :; then :
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15632 $as_echo "not found" >&6; }
15634 else
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15636 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15638 cat >>confdefs.h <<_ACEOF
15639 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15640 _ACEOF
15645 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15646 case "x$with_gsm" in
15647 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15648 xno) ;;
15649 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15650 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15651 esac
15655 if test "x$with_krb5" != "xno"
15656 then
15657 if ${KRB5_CFLAGS:+false} :; then :
15658 if ${PKG_CONFIG+:} false; then :
15659 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15662 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15663 if ${KRB5_LIBS:+false} :; then :
15664 if ${PKG_CONFIG+:} false; then :
15665 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15668 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15670 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15671 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15672 ac_save_CPPFLAGS=$CPPFLAGS
15673 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15674 for ac_header in krb5/krb5.h
15675 do :
15676 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15677 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15678 cat >>confdefs.h <<_ACEOF
15679 #define HAVE_KRB5_KRB5_H 1
15680 _ACEOF
15684 done
15686 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15687 then
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15689 $as_echo_n "checking for -lkrb5... " >&6; }
15690 if ${ac_cv_lib_soname_krb5+:} false; then :
15691 $as_echo_n "(cached) " >&6
15692 else
15693 ac_check_soname_save_LIBS=$LIBS
15694 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15696 /* end confdefs.h. */
15698 /* Override any GCC internal prototype to avoid an error.
15699 Use char because int might match the return type of a GCC
15700 builtin and then its argument prototype would still apply. */
15701 #ifdef __cplusplus
15702 extern "C"
15703 #endif
15704 char krb5_is_config_principal ();
15706 main ()
15708 return krb5_is_config_principal ();
15710 return 0;
15712 _ACEOF
15713 if ac_fn_c_try_link "$LINENO"; then :
15714 case "$LIBEXT" in
15715 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15716 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'` ;;
15717 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15718 if ${ac_cv_lib_soname_krb5:+false} :; then :
15719 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15720 fi ;;
15721 esac
15722 else
15723 ac_cv_lib_soname_krb5=
15725 rm -f core conftest.err conftest.$ac_objext \
15726 conftest$ac_exeext conftest.$ac_ext
15727 LIBS=$ac_check_soname_save_LIBS
15729 if ${ac_cv_lib_soname_krb5:+false} :; then :
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15731 $as_echo "not found" >&6; }
15732 KRB5_CFLAGS=""
15733 else
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15735 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15737 cat >>confdefs.h <<_ACEOF
15738 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15739 _ACEOF
15743 else
15744 KRB5_CFLAGS=""
15746 CPPFLAGS=$ac_save_CPPFLAGS
15747 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15748 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15750 else
15751 with_gssapi=${with_gssapi:-no}
15753 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15754 case "x$with_krb5" in
15755 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15756 xno) ;;
15757 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15758 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15759 esac
15763 if test "x$with_gssapi" != "xno"
15764 then
15765 if ${GSSAPI_CFLAGS:+false} :; then :
15766 if ${PKG_CONFIG+:} false; then :
15767 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15770 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15771 if ${GSSAPI_LIBS:+false} :; then :
15772 if ${PKG_CONFIG+:} false; then :
15773 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15776 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15778 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15779 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15780 ac_save_CPPFLAGS=$CPPFLAGS
15781 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15782 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15783 do :
15784 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15785 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15786 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15787 cat >>confdefs.h <<_ACEOF
15788 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15789 _ACEOF
15793 done
15795 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15796 then
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15798 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15799 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15800 $as_echo_n "(cached) " >&6
15801 else
15802 ac_check_soname_save_LIBS=$LIBS
15803 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15805 /* end confdefs.h. */
15807 /* Override any GCC internal prototype to avoid an error.
15808 Use char because int might match the return type of a GCC
15809 builtin and then its argument prototype would still apply. */
15810 #ifdef __cplusplus
15811 extern "C"
15812 #endif
15813 char gss_init_sec_context ();
15815 main ()
15817 return gss_init_sec_context ();
15819 return 0;
15821 _ACEOF
15822 if ac_fn_c_try_link "$LINENO"; then :
15823 case "$LIBEXT" in
15824 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15825 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'` ;;
15826 *) 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'`
15827 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15828 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15829 fi ;;
15830 esac
15831 else
15832 ac_cv_lib_soname_gssapi_krb5=
15834 rm -f core conftest.err conftest.$ac_objext \
15835 conftest$ac_exeext conftest.$ac_ext
15836 LIBS=$ac_check_soname_save_LIBS
15838 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15840 $as_echo "not found" >&6; }
15841 GSSAPI_CFLAGS=""
15842 else
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15844 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15846 cat >>confdefs.h <<_ACEOF
15847 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15848 _ACEOF
15852 else
15853 GSSAPI_CFLAGS=""
15855 CPPFLAGS=$ac_save_CPPFLAGS
15856 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15857 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15860 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15861 case "x$with_gssapi" in
15862 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15863 xno) ;;
15864 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15865 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15866 esac
15870 if test "x$with_jpeg" != "xno"
15871 then
15872 if ${JPEG_CFLAGS:+false} :; then :
15873 if ${PKG_CONFIG+:} false; then :
15874 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15878 if ${JPEG_LIBS:+false} :; then :
15879 if ${PKG_CONFIG+:} false; then :
15880 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15885 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15886 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15887 ac_save_CPPFLAGS=$CPPFLAGS
15888 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15889 for ac_header in jpeglib.h
15890 do :
15891 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15892 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15893 cat >>confdefs.h <<_ACEOF
15894 #define HAVE_JPEGLIB_H 1
15895 _ACEOF
15899 done
15901 if test "$ac_cv_header_jpeglib_h" = "yes"
15902 then
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15904 $as_echo_n "checking for -ljpeg... " >&6; }
15905 if ${ac_cv_lib_soname_jpeg+:} false; then :
15906 $as_echo_n "(cached) " >&6
15907 else
15908 ac_check_soname_save_LIBS=$LIBS
15909 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15911 /* end confdefs.h. */
15913 /* Override any GCC internal prototype to avoid an error.
15914 Use char because int might match the return type of a GCC
15915 builtin and then its argument prototype would still apply. */
15916 #ifdef __cplusplus
15917 extern "C"
15918 #endif
15919 char jpeg_start_decompress ();
15921 main ()
15923 return jpeg_start_decompress ();
15925 return 0;
15927 _ACEOF
15928 if ac_fn_c_try_link "$LINENO"; then :
15929 case "$LIBEXT" in
15930 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15931 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'` ;;
15932 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15933 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15934 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15935 fi ;;
15936 esac
15937 else
15938 ac_cv_lib_soname_jpeg=
15940 rm -f core conftest.err conftest.$ac_objext \
15941 conftest$ac_exeext conftest.$ac_ext
15942 LIBS=$ac_check_soname_save_LIBS
15944 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15946 $as_echo "not found" >&6; }
15947 JPEG_CFLAGS=""
15948 else
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15950 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15952 cat >>confdefs.h <<_ACEOF
15953 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15954 _ACEOF
15958 else
15959 JPEG_CFLAGS=""
15961 CPPFLAGS=$ac_save_CPPFLAGS
15962 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15963 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15966 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15967 case "x$with_jpeg" in
15968 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15969 xno) ;;
15970 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15971 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15972 esac
15976 if test "x$with_png" != "xno"
15977 then
15978 if ${PNG_CFLAGS:+false} :; then :
15979 if ${PKG_CONFIG+:} false; then :
15980 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15983 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15984 if ${PNG_LIBS:+false} :; then :
15985 if ${PKG_CONFIG+:} false; then :
15986 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15989 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15991 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15992 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15993 ac_save_CPPFLAGS=$CPPFLAGS
15994 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15995 for ac_header in png.h
15996 do :
15997 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15998 if test "x$ac_cv_header_png_h" = xyes; then :
15999 cat >>confdefs.h <<_ACEOF
16000 #define HAVE_PNG_H 1
16001 _ACEOF
16005 done
16007 if test "$ac_cv_header_png_h" = "yes"
16008 then
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16010 $as_echo_n "checking for -lpng... " >&6; }
16011 if ${ac_cv_lib_soname_png+:} false; then :
16012 $as_echo_n "(cached) " >&6
16013 else
16014 ac_check_soname_save_LIBS=$LIBS
16015 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16017 /* end confdefs.h. */
16019 /* Override any GCC internal prototype to avoid an error.
16020 Use char because int might match the return type of a GCC
16021 builtin and then its argument prototype would still apply. */
16022 #ifdef __cplusplus
16023 extern "C"
16024 #endif
16025 char png_create_read_struct ();
16027 main ()
16029 return png_create_read_struct ();
16031 return 0;
16033 _ACEOF
16034 if ac_fn_c_try_link "$LINENO"; then :
16035 case "$LIBEXT" in
16036 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16037 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'` ;;
16038 *) 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'`
16039 if ${ac_cv_lib_soname_png:+false} :; then :
16040 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16041 fi ;;
16042 esac
16043 else
16044 ac_cv_lib_soname_png=
16046 rm -f core conftest.err conftest.$ac_objext \
16047 conftest$ac_exeext conftest.$ac_ext
16048 LIBS=$ac_check_soname_save_LIBS
16050 if ${ac_cv_lib_soname_png:+false} :; then :
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16052 $as_echo "not found" >&6; }
16053 PNG_CFLAGS=""
16054 else
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16056 $as_echo "$ac_cv_lib_soname_png" >&6; }
16058 cat >>confdefs.h <<_ACEOF
16059 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16060 _ACEOF
16064 else
16065 PNG_CFLAGS=""
16067 CPPFLAGS=$ac_save_CPPFLAGS
16068 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16069 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16072 if test "x$ac_cv_lib_soname_png" = "x"; then :
16073 case "x$with_png" in
16074 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16075 xno) ;;
16076 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16077 This is an error since --with-png was requested." "$LINENO" 5 ;;
16078 esac
16082 if test "x$with_tiff" != "xno"
16083 then
16084 if ${TIFF_CFLAGS:+false} :; then :
16085 if ${PKG_CONFIG+:} false; then :
16086 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16090 if ${TIFF_LIBS:+false} :; then :
16091 if ${PKG_CONFIG+:} false; then :
16092 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16097 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16098 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16099 ac_save_CPPFLAGS=$CPPFLAGS
16100 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16101 for ac_header in tiffio.h
16102 do :
16103 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16104 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16105 cat >>confdefs.h <<_ACEOF
16106 #define HAVE_TIFFIO_H 1
16107 _ACEOF
16111 done
16113 if test "$ac_cv_header_tiffio_h" = "yes"
16114 then
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16116 $as_echo_n "checking for -ltiff... " >&6; }
16117 if ${ac_cv_lib_soname_tiff+:} false; then :
16118 $as_echo_n "(cached) " >&6
16119 else
16120 ac_check_soname_save_LIBS=$LIBS
16121 LIBS="-ltiff $TIFF_LIBS $LIBS"
16122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16123 /* end confdefs.h. */
16125 /* Override any GCC internal prototype to avoid an error.
16126 Use char because int might match the return type of a GCC
16127 builtin and then its argument prototype would still apply. */
16128 #ifdef __cplusplus
16129 extern "C"
16130 #endif
16131 char TIFFClientOpen ();
16133 main ()
16135 return TIFFClientOpen ();
16137 return 0;
16139 _ACEOF
16140 if ac_fn_c_try_link "$LINENO"; then :
16141 case "$LIBEXT" in
16142 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16143 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'` ;;
16144 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16145 if ${ac_cv_lib_soname_tiff:+false} :; then :
16146 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16147 fi ;;
16148 esac
16149 else
16150 ac_cv_lib_soname_tiff=
16152 rm -f core conftest.err conftest.$ac_objext \
16153 conftest$ac_exeext conftest.$ac_ext
16154 LIBS=$ac_check_soname_save_LIBS
16156 if ${ac_cv_lib_soname_tiff:+false} :; then :
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16158 $as_echo "not found" >&6; }
16160 else
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16162 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16164 cat >>confdefs.h <<_ACEOF
16165 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16166 _ACEOF
16171 CPPFLAGS=$ac_save_CPPFLAGS
16172 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16173 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16176 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16177 case "x$with_tiff" in
16178 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16179 xno) ;;
16180 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16181 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16182 esac
16186 if test "x$with_mpg123" != "xno"
16187 then
16188 if ${MPG123_CFLAGS:+false} :; then :
16189 if ${PKG_CONFIG+:} false; then :
16190 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16194 if ${MPG123_LIBS:+false} :; then :
16195 if ${PKG_CONFIG+:} false; then :
16196 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16200 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16201 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16202 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16203 ac_save_CPPFLAGS=$CPPFLAGS
16204 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16205 for ac_header in mpg123.h
16206 do :
16207 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16208 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16209 cat >>confdefs.h <<_ACEOF
16210 #define HAVE_MPG123_H 1
16211 _ACEOF
16215 done
16217 if test "$ac_cv_header_mpg123_h" = "yes"
16218 then
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16220 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16221 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16222 $as_echo_n "(cached) " >&6
16223 else
16224 ac_check_lib_save_LIBS=$LIBS
16225 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16227 /* end confdefs.h. */
16229 /* Override any GCC internal prototype to avoid an error.
16230 Use char because int might match the return type of a GCC
16231 builtin and then its argument prototype would still apply. */
16232 #ifdef __cplusplus
16233 extern "C"
16234 #endif
16235 char mpg123_feed ();
16237 main ()
16239 return mpg123_feed ();
16241 return 0;
16243 _ACEOF
16244 if ac_fn_c_try_link "$LINENO"; then :
16245 ac_cv_lib_mpg123_mpg123_feed=yes
16246 else
16247 ac_cv_lib_mpg123_mpg123_feed=no
16249 rm -f core conftest.err conftest.$ac_objext \
16250 conftest$ac_exeext conftest.$ac_ext
16251 LIBS=$ac_check_lib_save_LIBS
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16254 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16255 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16257 else
16258 MPG123_LIBS=""
16261 else
16262 MPG123_CFLAGS=""
16263 MPG123_LIBS=""
16265 CPPFLAGS=$ac_save_CPPFLAGS
16266 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16267 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16270 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16271 case "x$with_mpg123" in
16272 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16273 xno) ;;
16274 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16275 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16276 esac
16277 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16279 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16281 if test "$ac_cv_header_AL_al_h" = "yes"
16282 then
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16284 $as_echo_n "checking for -lopenal... " >&6; }
16285 if ${ac_cv_lib_soname_openal+:} false; then :
16286 $as_echo_n "(cached) " >&6
16287 else
16288 ac_check_soname_save_LIBS=$LIBS
16289 LIBS="-lopenal $LIBS"
16290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16293 /* Override any GCC internal prototype to avoid an error.
16294 Use char because int might match the return type of a GCC
16295 builtin and then its argument prototype would still apply. */
16296 #ifdef __cplusplus
16297 extern "C"
16298 #endif
16299 char alGetSource3i ();
16301 main ()
16303 return alGetSource3i ();
16305 return 0;
16307 _ACEOF
16308 if ac_fn_c_try_link "$LINENO"; then :
16309 case "$LIBEXT" in
16310 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16311 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'` ;;
16312 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16313 if ${ac_cv_lib_soname_openal:+false} :; then :
16314 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16315 fi ;;
16316 esac
16317 else
16318 ac_cv_lib_soname_openal=
16320 rm -f core conftest.err conftest.$ac_objext \
16321 conftest$ac_exeext conftest.$ac_ext
16322 LIBS=$ac_check_soname_save_LIBS
16324 if ${ac_cv_lib_soname_openal:+false} :; then :
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16326 $as_echo "not found" >&6; }
16328 else
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16330 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16332 cat >>confdefs.h <<_ACEOF
16333 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16334 _ACEOF
16336 OPENAL_LIBS="-lopenal"
16338 ac_cv_lib_openal=yes
16340 cat >>confdefs.h <<_ACEOF
16341 #define HAVE_OPENAL 1
16342 _ACEOF
16346 if test "x$ac_cv_lib_openal" != xyes; then :
16347 case "x$with_openal" in
16348 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16349 xno) ;;
16350 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16351 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16352 esac
16353 enable_openal32=${enable_openal32:-no}
16356 if test "x$ac_cv_lib_soname_FAudio" = "x"
16357 then
16358 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16359 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16360 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16361 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16362 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16363 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16364 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16365 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16366 enable_xapofx1_1=${enable_xapofx1_1:-no}
16367 enable_xapofx1_2=${enable_xapofx1_2:-no}
16368 enable_xapofx1_3=${enable_xapofx1_3:-no}
16369 enable_xapofx1_4=${enable_xapofx1_4:-no}
16370 enable_xapofx1_5=${enable_xapofx1_5:-no}
16371 enable_xaudio2_0=${enable_xaudio2_0:-no}
16372 enable_xaudio2_1=${enable_xaudio2_1:-no}
16373 enable_xaudio2_2=${enable_xaudio2_2:-no}
16374 enable_xaudio2_3=${enable_xaudio2_3:-no}
16375 enable_xaudio2_4=${enable_xaudio2_4:-no}
16376 enable_xaudio2_5=${enable_xaudio2_5:-no}
16377 enable_xaudio2_6=${enable_xaudio2_6:-no}
16378 enable_xaudio2_7=${enable_xaudio2_7:-no}
16379 enable_xaudio2_8=${enable_xaudio2_8:-no}
16380 enable_xaudio2_9=${enable_xaudio2_9:-no}
16383 if test "$ac_cv_header_kstat_h" = "yes"
16384 then
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16386 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16387 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16388 $as_echo_n "(cached) " >&6
16389 else
16390 ac_check_lib_save_LIBS=$LIBS
16391 LIBS="-lkstat $LIBS"
16392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16395 /* Override any GCC internal prototype to avoid an error.
16396 Use char because int might match the return type of a GCC
16397 builtin and then its argument prototype would still apply. */
16398 #ifdef __cplusplus
16399 extern "C"
16400 #endif
16401 char kstat_open ();
16403 main ()
16405 return kstat_open ();
16407 return 0;
16409 _ACEOF
16410 if ac_fn_c_try_link "$LINENO"; then :
16411 ac_cv_lib_kstat_kstat_open=yes
16412 else
16413 ac_cv_lib_kstat_kstat_open=no
16415 rm -f core conftest.err conftest.$ac_objext \
16416 conftest$ac_exeext conftest.$ac_ext
16417 LIBS=$ac_check_lib_save_LIBS
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16420 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16421 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16423 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16425 KSTAT_LIBS="-lkstat"
16431 if test "$ac_cv_header_libprocstat_h" = "yes"
16432 then
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16434 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16435 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16436 $as_echo_n "(cached) " >&6
16437 else
16438 ac_check_lib_save_LIBS=$LIBS
16439 LIBS="-lprocstat $LIBS"
16440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16441 /* end confdefs.h. */
16443 /* Override any GCC internal prototype to avoid an error.
16444 Use char because int might match the return type of a GCC
16445 builtin and then its argument prototype would still apply. */
16446 #ifdef __cplusplus
16447 extern "C"
16448 #endif
16449 char procstat_open_sysctl ();
16451 main ()
16453 return procstat_open_sysctl ();
16455 return 0;
16457 _ACEOF
16458 if ac_fn_c_try_link "$LINENO"; then :
16459 ac_cv_lib_procstat_procstat_open_sysctl=yes
16460 else
16461 ac_cv_lib_procstat_procstat_open_sysctl=no
16463 rm -f core conftest.err conftest.$ac_objext \
16464 conftest$ac_exeext conftest.$ac_ext
16465 LIBS=$ac_check_lib_save_LIBS
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16468 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16469 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16471 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16473 PROCSTAT_LIBS="-lprocstat"
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16480 $as_echo_n "checking for -lodbc... " >&6; }
16481 if ${ac_cv_lib_soname_odbc+:} false; then :
16482 $as_echo_n "(cached) " >&6
16483 else
16484 ac_check_soname_save_LIBS=$LIBS
16485 LIBS="-lodbc $LIBS"
16486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16487 /* end confdefs.h. */
16489 /* Override any GCC internal prototype to avoid an error.
16490 Use char because int might match the return type of a GCC
16491 builtin and then its argument prototype would still apply. */
16492 #ifdef __cplusplus
16493 extern "C"
16494 #endif
16495 char SQLConnect ();
16497 main ()
16499 return SQLConnect ();
16501 return 0;
16503 _ACEOF
16504 if ac_fn_c_try_link "$LINENO"; then :
16505 case "$LIBEXT" in
16506 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16507 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'` ;;
16508 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16509 if ${ac_cv_lib_soname_odbc:+false} :; then :
16510 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16511 fi ;;
16512 esac
16513 else
16514 ac_cv_lib_soname_odbc=
16516 rm -f core conftest.err conftest.$ac_objext \
16517 conftest$ac_exeext conftest.$ac_ext
16518 LIBS=$ac_check_soname_save_LIBS
16520 if ${ac_cv_lib_soname_odbc:+false} :; then :
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16522 $as_echo "not found" >&6; }
16523 cat >>confdefs.h <<_ACEOF
16524 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16525 _ACEOF
16527 else
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16529 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16531 cat >>confdefs.h <<_ACEOF
16532 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16533 _ACEOF
16538 if test "x$with_netapi" != "xno"
16539 then
16540 if ${NETAPI_CFLAGS:+false} :; then :
16541 if ${PKG_CONFIG+:} false; then :
16542 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16546 if ${NETAPI_LIBS:+false} :; then :
16547 if ${PKG_CONFIG+:} false; then :
16548 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16553 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16554 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16555 ac_save_CPPFLAGS=$CPPFLAGS
16556 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16558 $as_echo_n "checking for -lnetapi... " >&6; }
16559 if ${ac_cv_lib_soname_netapi+:} false; then :
16560 $as_echo_n "(cached) " >&6
16561 else
16562 ac_check_soname_save_LIBS=$LIBS
16563 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16565 /* end confdefs.h. */
16567 /* Override any GCC internal prototype to avoid an error.
16568 Use char because int might match the return type of a GCC
16569 builtin and then its argument prototype would still apply. */
16570 #ifdef __cplusplus
16571 extern "C"
16572 #endif
16573 char libnetapi_init ();
16575 main ()
16577 return libnetapi_init ();
16579 return 0;
16581 _ACEOF
16582 if ac_fn_c_try_link "$LINENO"; then :
16583 case "$LIBEXT" in
16584 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16585 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'` ;;
16586 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16587 if ${ac_cv_lib_soname_netapi:+false} :; then :
16588 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16589 fi ;;
16590 esac
16591 else
16592 ac_cv_lib_soname_netapi=
16594 rm -f core conftest.err conftest.$ac_objext \
16595 conftest$ac_exeext conftest.$ac_ext
16596 LIBS=$ac_check_soname_save_LIBS
16598 if ${ac_cv_lib_soname_netapi:+false} :; then :
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16600 $as_echo "not found" >&6; }
16601 cat >>confdefs.h <<_ACEOF
16602 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16603 _ACEOF
16605 else
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16607 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16609 cat >>confdefs.h <<_ACEOF
16610 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16611 _ACEOF
16615 CPPFLAGS=$ac_save_CPPFLAGS
16616 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16617 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16621 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16622 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16623 then
16624 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16627 if test "x$with_vulkan" != "xno"
16628 then
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16630 $as_echo_n "checking for -lvulkan... " >&6; }
16631 if ${ac_cv_lib_soname_vulkan+:} false; then :
16632 $as_echo_n "(cached) " >&6
16633 else
16634 ac_check_soname_save_LIBS=$LIBS
16635 LIBS="-lvulkan $LIBS"
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h. */
16639 /* Override any GCC internal prototype to avoid an error.
16640 Use char because int might match the return type of a GCC
16641 builtin and then its argument prototype would still apply. */
16642 #ifdef __cplusplus
16643 extern "C"
16644 #endif
16645 char vkGetInstanceProcAddr ();
16647 main ()
16649 return vkGetInstanceProcAddr ();
16651 return 0;
16653 _ACEOF
16654 if ac_fn_c_try_link "$LINENO"; then :
16655 case "$LIBEXT" in
16656 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16657 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'` ;;
16658 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16659 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16660 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16661 fi ;;
16662 esac
16663 else
16664 ac_cv_lib_soname_vulkan=
16666 rm -f core conftest.err conftest.$ac_objext \
16667 conftest$ac_exeext conftest.$ac_ext
16668 LIBS=$ac_check_soname_save_LIBS
16670 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16672 $as_echo "not found" >&6; }
16674 else
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16676 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16678 cat >>confdefs.h <<_ACEOF
16679 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16680 _ACEOF
16684 if test "x$ac_cv_lib_soname_vulkan" = "x"
16685 then
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16687 $as_echo_n "checking for -lMoltenVK... " >&6; }
16688 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16689 $as_echo_n "(cached) " >&6
16690 else
16691 ac_check_soname_save_LIBS=$LIBS
16692 LIBS="-lMoltenVK $LIBS"
16693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h. */
16696 /* Override any GCC internal prototype to avoid an error.
16697 Use char because int might match the return type of a GCC
16698 builtin and then its argument prototype would still apply. */
16699 #ifdef __cplusplus
16700 extern "C"
16701 #endif
16702 char vkGetInstanceProcAddr ();
16704 main ()
16706 return vkGetInstanceProcAddr ();
16708 return 0;
16710 _ACEOF
16711 if ac_fn_c_try_link "$LINENO"; then :
16712 case "$LIBEXT" in
16713 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16714 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'` ;;
16715 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16716 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16717 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16718 fi ;;
16719 esac
16720 else
16721 ac_cv_lib_soname_MoltenVK=
16723 rm -f core conftest.err conftest.$ac_objext \
16724 conftest$ac_exeext conftest.$ac_ext
16725 LIBS=$ac_check_soname_save_LIBS
16727 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16729 $as_echo "not found" >&6; }
16731 else
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16733 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16735 cat >>confdefs.h <<_ACEOF
16736 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16737 _ACEOF
16743 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16744 case "x$with_vulkan" in
16745 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16746 xno) ;;
16747 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16748 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16749 esac
16753 if test "x$with_vkd3d" != "xno"
16754 then
16755 if ${VKD3D_CFLAGS:+false} :; then :
16756 if ${PKG_CONFIG+:} false; then :
16757 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16761 if ${VKD3D_LIBS:+false} :; then :
16762 if ${PKG_CONFIG+:} false; then :
16763 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16768 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16769 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16770 ac_save_CPPFLAGS=$CPPFLAGS
16771 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16773 $as_echo_n "checking for -lvkd3d... " >&6; }
16774 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16775 $as_echo_n "(cached) " >&6
16776 else
16777 ac_check_soname_save_LIBS=$LIBS
16778 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16780 /* end confdefs.h. */
16782 /* Override any GCC internal prototype to avoid an error.
16783 Use char because int might match the return type of a GCC
16784 builtin and then its argument prototype would still apply. */
16785 #ifdef __cplusplus
16786 extern "C"
16787 #endif
16788 char vkd3d_get_dxgi_format ();
16790 main ()
16792 return vkd3d_get_dxgi_format ();
16794 return 0;
16796 _ACEOF
16797 if ac_fn_c_try_link "$LINENO"; then :
16798 case "$LIBEXT" in
16799 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16800 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'` ;;
16801 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16802 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16803 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16804 fi ;;
16805 esac
16806 else
16807 ac_cv_lib_soname_vkd3d=
16809 rm -f core conftest.err conftest.$ac_objext \
16810 conftest$ac_exeext conftest.$ac_ext
16811 LIBS=$ac_check_soname_save_LIBS
16813 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16815 $as_echo "not found" >&6; }
16817 else
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16819 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16821 cat >>confdefs.h <<_ACEOF
16822 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16823 _ACEOF
16827 CPPFLAGS=$ac_save_CPPFLAGS
16828 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16829 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16832 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16833 case "x$with_vkd3d" in
16834 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16835 xno) ;;
16836 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16837 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16838 esac
16841 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16844 EXTRACFLAGS=""
16846 if test "x${GCC}" = "xyes"
16847 then
16848 EXTRACFLAGS="-Wall -pipe"
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16851 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16852 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16853 $as_echo_n "(cached) " >&6
16854 else
16855 ac_wine_try_cflags_saved=$CFLAGS
16856 CFLAGS="$CFLAGS -fcf-protection=none"
16857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16858 /* end confdefs.h. */
16859 int main(int argc, char **argv) { return 0; }
16860 _ACEOF
16861 if ac_fn_c_try_link "$LINENO"; then :
16862 ac_cv_cflags__fcf_protection_none=yes
16863 else
16864 ac_cv_cflags__fcf_protection_none=no
16866 rm -f core conftest.err conftest.$ac_objext \
16867 conftest$ac_exeext conftest.$ac_ext
16868 CFLAGS=$ac_wine_try_cflags_saved
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16871 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16872 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16873 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16876 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16877 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16878 $as_echo_n "(cached) " >&6
16879 else
16880 ac_wine_try_cflags_saved=$CFLAGS
16881 CFLAGS="$CFLAGS -fno-stack-protector"
16882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h. */
16884 int main(int argc, char **argv) { return 0; }
16885 _ACEOF
16886 if ac_fn_c_try_link "$LINENO"; then :
16887 ac_cv_cflags__fno_stack_protector=yes
16888 else
16889 ac_cv_cflags__fno_stack_protector=no
16891 rm -f core conftest.err conftest.$ac_objext \
16892 conftest$ac_exeext conftest.$ac_ext
16893 CFLAGS=$ac_wine_try_cflags_saved
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16896 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16897 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16898 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16901 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16902 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16903 $as_echo_n "(cached) " >&6
16904 else
16905 ac_wine_try_cflags_saved=$CFLAGS
16906 CFLAGS="$CFLAGS -fno-strict-aliasing"
16907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16908 /* end confdefs.h. */
16909 int main(int argc, char **argv) { return 0; }
16910 _ACEOF
16911 if ac_fn_c_try_link "$LINENO"; then :
16912 ac_cv_cflags__fno_strict_aliasing=yes
16913 else
16914 ac_cv_cflags__fno_strict_aliasing=no
16916 rm -f core conftest.err conftest.$ac_objext \
16917 conftest$ac_exeext conftest.$ac_ext
16918 CFLAGS=$ac_wine_try_cflags_saved
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16921 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16922 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16923 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16926 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16927 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16928 $as_echo_n "(cached) " >&6
16929 else
16930 ac_wine_try_cflags_saved=$CFLAGS
16931 CFLAGS="$CFLAGS -fexcess-precision=standard"
16932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16933 /* end confdefs.h. */
16934 int main(int argc, char **argv) { return 0; }
16935 _ACEOF
16936 if ac_fn_c_try_link "$LINENO"; then :
16937 ac_cv_cflags__fexcess_precision_standard=yes
16938 else
16939 ac_cv_cflags__fexcess_precision_standard=no
16941 rm -f core conftest.err conftest.$ac_objext \
16942 conftest$ac_exeext conftest.$ac_ext
16943 CFLAGS=$ac_wine_try_cflags_saved
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16946 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16947 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16948 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16951 saved_CFLAGS=$CFLAGS
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16953 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16954 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16955 $as_echo_n "(cached) " >&6
16956 else
16957 ac_wine_try_cflags_saved=$CFLAGS
16958 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16960 /* end confdefs.h. */
16961 int main(int argc, char **argv) { return 0; }
16962 _ACEOF
16963 if ac_fn_c_try_link "$LINENO"; then :
16964 ac_cv_cflags__Werror_unknown_warning_option=yes
16965 else
16966 ac_cv_cflags__Werror_unknown_warning_option=no
16968 rm -f core conftest.err conftest.$ac_objext \
16969 conftest$ac_exeext conftest.$ac_ext
16970 CFLAGS=$ac_wine_try_cflags_saved
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16973 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16974 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16975 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16978 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16979 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16980 $as_echo_n "(cached) " >&6
16981 else
16982 ac_wine_try_cflags_saved=$CFLAGS
16983 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986 int main(int argc, char **argv) { return 0; }
16987 _ACEOF
16988 if ac_fn_c_try_link "$LINENO"; then :
16989 ac_cv_cflags__Werror_unused_command_line_argument=yes
16990 else
16991 ac_cv_cflags__Werror_unused_command_line_argument=no
16993 rm -f core conftest.err conftest.$ac_objext \
16994 conftest$ac_exeext conftest.$ac_ext
16995 CFLAGS=$ac_wine_try_cflags_saved
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16998 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16999 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17000 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17003 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17004 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17005 $as_echo_n "(cached) " >&6
17006 else
17007 ac_wine_try_cflags_saved=$CFLAGS
17008 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17010 /* end confdefs.h. */
17011 int main(int argc, char **argv) { return 0; }
17012 _ACEOF
17013 if ac_fn_c_try_link "$LINENO"; then :
17014 ac_cv_cflags__Wdeclaration_after_statement=yes
17015 else
17016 ac_cv_cflags__Wdeclaration_after_statement=no
17018 rm -f core conftest.err conftest.$ac_objext \
17019 conftest$ac_exeext conftest.$ac_ext
17020 CFLAGS=$ac_wine_try_cflags_saved
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17023 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17024 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17025 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17028 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17029 if ${ac_cv_cflags__Wempty_body+:} false; then :
17030 $as_echo_n "(cached) " >&6
17031 else
17032 ac_wine_try_cflags_saved=$CFLAGS
17033 CFLAGS="$CFLAGS -Wempty-body"
17034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17035 /* end confdefs.h. */
17036 int main(int argc, char **argv) { return 0; }
17037 _ACEOF
17038 if ac_fn_c_try_link "$LINENO"; then :
17039 ac_cv_cflags__Wempty_body=yes
17040 else
17041 ac_cv_cflags__Wempty_body=no
17043 rm -f core conftest.err conftest.$ac_objext \
17044 conftest$ac_exeext conftest.$ac_ext
17045 CFLAGS=$ac_wine_try_cflags_saved
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17048 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17049 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17050 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17053 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17054 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17055 $as_echo_n "(cached) " >&6
17056 else
17057 ac_wine_try_cflags_saved=$CFLAGS
17058 CFLAGS="$CFLAGS -Wignored-qualifiers"
17059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17060 /* end confdefs.h. */
17061 int main(int argc, char **argv) { return 0; }
17062 _ACEOF
17063 if ac_fn_c_try_link "$LINENO"; then :
17064 ac_cv_cflags__Wignored_qualifiers=yes
17065 else
17066 ac_cv_cflags__Wignored_qualifiers=no
17068 rm -f core conftest.err conftest.$ac_objext \
17069 conftest$ac_exeext conftest.$ac_ext
17070 CFLAGS=$ac_wine_try_cflags_saved
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17073 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17074 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17075 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17078 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17079 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17080 $as_echo_n "(cached) " >&6
17081 else
17082 ac_wine_try_cflags_saved=$CFLAGS
17083 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17085 /* end confdefs.h. */
17086 int main(int argc, char **argv) { return 0; }
17087 _ACEOF
17088 if ac_fn_c_try_link "$LINENO"; then :
17089 ac_cv_cflags__Wpacked_not_aligned=yes
17090 else
17091 ac_cv_cflags__Wpacked_not_aligned=no
17093 rm -f core conftest.err conftest.$ac_objext \
17094 conftest$ac_exeext conftest.$ac_ext
17095 CFLAGS=$ac_wine_try_cflags_saved
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17098 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17099 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17100 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17103 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17104 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17105 $as_echo_n "(cached) " >&6
17106 else
17107 ac_wine_try_cflags_saved=$CFLAGS
17108 CFLAGS="$CFLAGS -Wpragma-pack"
17109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17110 /* end confdefs.h. */
17111 int main(int argc, char **argv) { return 0; }
17112 _ACEOF
17113 if ac_fn_c_try_link "$LINENO"; then :
17114 ac_cv_cflags__Wpragma_pack=yes
17115 else
17116 ac_cv_cflags__Wpragma_pack=no
17118 rm -f core conftest.err conftest.$ac_objext \
17119 conftest$ac_exeext conftest.$ac_ext
17120 CFLAGS=$ac_wine_try_cflags_saved
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17123 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17124 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17125 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17128 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17129 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17130 $as_echo_n "(cached) " >&6
17131 else
17132 ac_wine_try_cflags_saved=$CFLAGS
17133 CFLAGS="$CFLAGS -Wshift-overflow=2"
17134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17135 /* end confdefs.h. */
17136 int main(int argc, char **argv) { return 0; }
17137 _ACEOF
17138 if ac_fn_c_try_link "$LINENO"; then :
17139 ac_cv_cflags__Wshift_overflow_2=yes
17140 else
17141 ac_cv_cflags__Wshift_overflow_2=no
17143 rm -f core conftest.err conftest.$ac_objext \
17144 conftest$ac_exeext conftest.$ac_ext
17145 CFLAGS=$ac_wine_try_cflags_saved
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17148 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17149 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17150 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17153 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17154 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17155 $as_echo_n "(cached) " >&6
17156 else
17157 ac_wine_try_cflags_saved=$CFLAGS
17158 CFLAGS="$CFLAGS -Wstrict-prototypes"
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17161 int main(int argc, char **argv) { return 0; }
17162 _ACEOF
17163 if ac_fn_c_try_link "$LINENO"; then :
17164 ac_cv_cflags__Wstrict_prototypes=yes
17165 else
17166 ac_cv_cflags__Wstrict_prototypes=no
17168 rm -f core conftest.err conftest.$ac_objext \
17169 conftest$ac_exeext conftest.$ac_ext
17170 CFLAGS=$ac_wine_try_cflags_saved
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17173 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17174 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17175 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17178 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17179 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17180 $as_echo_n "(cached) " >&6
17181 else
17182 ac_wine_try_cflags_saved=$CFLAGS
17183 CFLAGS="$CFLAGS -Wtype-limits"
17184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17185 /* end confdefs.h. */
17186 int main(int argc, char **argv) { return 0; }
17187 _ACEOF
17188 if ac_fn_c_try_link "$LINENO"; then :
17189 ac_cv_cflags__Wtype_limits=yes
17190 else
17191 ac_cv_cflags__Wtype_limits=no
17193 rm -f core conftest.err conftest.$ac_objext \
17194 conftest$ac_exeext conftest.$ac_ext
17195 CFLAGS=$ac_wine_try_cflags_saved
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17198 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17199 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17200 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17203 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17204 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17205 $as_echo_n "(cached) " >&6
17206 else
17207 ac_wine_try_cflags_saved=$CFLAGS
17208 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17210 /* end confdefs.h. */
17211 int main(int argc, char **argv) { return 0; }
17212 _ACEOF
17213 if ac_fn_c_try_link "$LINENO"; then :
17214 ac_cv_cflags__Wunused_but_set_parameter=yes
17215 else
17216 ac_cv_cflags__Wunused_but_set_parameter=no
17218 rm -f core conftest.err conftest.$ac_objext \
17219 conftest$ac_exeext conftest.$ac_ext
17220 CFLAGS=$ac_wine_try_cflags_saved
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17223 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17224 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17225 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17228 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17229 if ${ac_cv_cflags__Wvla+:} false; then :
17230 $as_echo_n "(cached) " >&6
17231 else
17232 ac_wine_try_cflags_saved=$CFLAGS
17233 CFLAGS="$CFLAGS -Wvla"
17234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17236 int main(int argc, char **argv) { return 0; }
17237 _ACEOF
17238 if ac_fn_c_try_link "$LINENO"; then :
17239 ac_cv_cflags__Wvla=yes
17240 else
17241 ac_cv_cflags__Wvla=no
17243 rm -f core conftest.err conftest.$ac_objext \
17244 conftest$ac_exeext conftest.$ac_ext
17245 CFLAGS=$ac_wine_try_cflags_saved
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17248 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17249 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17250 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17253 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17254 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17255 $as_echo_n "(cached) " >&6
17256 else
17257 ac_wine_try_cflags_saved=$CFLAGS
17258 CFLAGS="$CFLAGS -Wwrite-strings"
17259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17261 int main(int argc, char **argv) { return 0; }
17262 _ACEOF
17263 if ac_fn_c_try_link "$LINENO"; then :
17264 ac_cv_cflags__Wwrite_strings=yes
17265 else
17266 ac_cv_cflags__Wwrite_strings=no
17268 rm -f core conftest.err conftest.$ac_objext \
17269 conftest$ac_exeext conftest.$ac_ext
17270 CFLAGS=$ac_wine_try_cflags_saved
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17273 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17274 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17275 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17279 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17280 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17281 $as_echo_n "(cached) " >&6
17282 else
17283 ac_wine_try_cflags_saved=$CFLAGS
17284 CFLAGS="$CFLAGS -Wpointer-arith"
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17287 int main(int argc, char **argv) { return 0; }
17288 _ACEOF
17289 if ac_fn_c_try_link "$LINENO"; then :
17290 ac_cv_cflags__Wpointer_arith=yes
17291 else
17292 ac_cv_cflags__Wpointer_arith=no
17294 rm -f core conftest.err conftest.$ac_objext \
17295 conftest$ac_exeext conftest.$ac_ext
17296 CFLAGS=$ac_wine_try_cflags_saved
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17299 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17300 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17301 saved_string_h_CFLAGS=$CFLAGS
17302 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17304 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17305 if ${ac_cv_c_string_h_warnings+:} false; then :
17306 $as_echo_n "(cached) " >&6
17307 else
17308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309 /* end confdefs.h. */
17310 #include <string.h>
17312 main ()
17316 return 0;
17318 _ACEOF
17319 if ac_fn_c_try_compile "$LINENO"; then :
17320 ac_cv_c_string_h_warnings=no
17321 else
17322 ac_cv_c_string_h_warnings=yes
17324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17327 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17328 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17329 CFLAGS=$saved_string_h_CFLAGS
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17333 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17334 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17335 $as_echo_n "(cached) " >&6
17336 else
17337 ac_wine_try_cflags_saved=$CFLAGS
17338 CFLAGS="$CFLAGS -Wlogical-op"
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17341 int main(int argc, char **argv) { return 0; }
17342 _ACEOF
17343 if ac_fn_c_try_link "$LINENO"; then :
17344 ac_cv_cflags__Wlogical_op=yes
17345 else
17346 ac_cv_cflags__Wlogical_op=no
17348 rm -f core conftest.err conftest.$ac_objext \
17349 conftest$ac_exeext conftest.$ac_ext
17350 CFLAGS=$ac_wine_try_cflags_saved
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17353 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17354 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17355 saved_string_h_CFLAGS=$CFLAGS
17356 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17358 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17359 if ${ac_cv_c_logicalop_noisy+:} false; then :
17360 $as_echo_n "(cached) " >&6
17361 else
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #include <string.h>
17365 char*f(const char *h,char n) {return strchr(h,n);}
17367 main ()
17371 return 0;
17373 _ACEOF
17374 if ac_fn_c_try_compile "$LINENO"; then :
17375 ac_cv_c_logicalop_noisy=no
17376 else
17377 ac_cv_c_logicalop_noisy=yes
17379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17382 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17383 CFLAGS=$saved_string_h_CFLAGS
17384 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17387 for ac_flag in $CFLAGS; do
17388 case $ac_flag in
17389 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17390 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17391 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17392 $as_echo_n "(cached) " >&6
17393 else
17394 ac_wine_try_cflags_saved=$CFLAGS
17395 CFLAGS="$CFLAGS -gdwarf-2"
17396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h. */
17398 int main(int argc, char **argv) { return 0; }
17399 _ACEOF
17400 if ac_fn_c_try_link "$LINENO"; then :
17401 ac_cv_cflags__gdwarf_2=yes
17402 else
17403 ac_cv_cflags__gdwarf_2=no
17405 rm -f core conftest.err conftest.$ac_objext \
17406 conftest$ac_exeext conftest.$ac_ext
17407 CFLAGS=$ac_wine_try_cflags_saved
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17410 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17411 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17412 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17415 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17416 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17417 $as_echo_n "(cached) " >&6
17418 else
17419 ac_wine_try_cflags_saved=$CFLAGS
17420 CFLAGS="$CFLAGS -gstrict-dwarf"
17421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17422 /* end confdefs.h. */
17423 int main(int argc, char **argv) { return 0; }
17424 _ACEOF
17425 if ac_fn_c_try_link "$LINENO"; then :
17426 ac_cv_cflags__gstrict_dwarf=yes
17427 else
17428 ac_cv_cflags__gstrict_dwarf=no
17430 rm -f core conftest.err conftest.$ac_objext \
17431 conftest$ac_exeext conftest.$ac_ext
17432 CFLAGS=$ac_wine_try_cflags_saved
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17435 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17436 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17437 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17438 fi ;;
17439 esac
17440 done
17442 MSVCRTFLAGS=""
17444 case $host_os in
17445 cygwin*|mingw32*) ;;
17446 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17447 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17448 if ${ac_cv_cflags__fno_builtin+:} false; then :
17449 $as_echo_n "(cached) " >&6
17450 else
17451 ac_wine_try_cflags_saved=$CFLAGS
17452 CFLAGS="$CFLAGS -fno-builtin"
17453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17454 /* end confdefs.h. */
17455 int main(int argc, char **argv) { return 0; }
17456 _ACEOF
17457 if ac_fn_c_try_link "$LINENO"; then :
17458 ac_cv_cflags__fno_builtin=yes
17459 else
17460 ac_cv_cflags__fno_builtin=no
17462 rm -f core conftest.err conftest.$ac_objext \
17463 conftest$ac_exeext conftest.$ac_ext
17464 CFLAGS=$ac_wine_try_cflags_saved
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17467 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17468 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17469 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17472 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17473 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17474 $as_echo_n "(cached) " >&6
17475 else
17476 ac_wine_try_cflags_saved=$CFLAGS
17477 CFLAGS="$CFLAGS -fshort-wchar"
17478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17479 /* end confdefs.h. */
17480 int main(int argc, char **argv) { return 0; }
17481 _ACEOF
17482 if ac_fn_c_try_link "$LINENO"; then :
17483 ac_cv_cflags__fshort_wchar=yes
17484 else
17485 ac_cv_cflags__fshort_wchar=no
17487 rm -f core conftest.err conftest.$ac_objext \
17488 conftest$ac_exeext conftest.$ac_ext
17489 CFLAGS=$ac_wine_try_cflags_saved
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17492 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17493 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17494 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17495 fi ;;
17496 esac
17498 case $host_cpu in
17499 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17500 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17501 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17502 $as_echo_n "(cached) " >&6
17503 else
17504 ac_wine_try_cflags_saved=$CFLAGS
17505 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17507 /* end confdefs.h. */
17508 int main(int argc, char **argv) { return 0; }
17509 _ACEOF
17510 if ac_fn_c_try_link "$LINENO"; then :
17511 ac_cv_cflags__fno_omit_frame_pointer=yes
17512 else
17513 ac_cv_cflags__fno_omit_frame_pointer=no
17515 rm -f core conftest.err conftest.$ac_objext \
17516 conftest$ac_exeext conftest.$ac_ext
17517 CFLAGS=$ac_wine_try_cflags_saved
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17520 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17521 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17522 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17523 fi ;;
17524 *x86_64*)
17525 case $host_os in
17526 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17527 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17528 if ${ac_cv_cflags__Wno_format+:} false; then :
17529 $as_echo_n "(cached) " >&6
17530 else
17531 ac_wine_try_cflags_saved=$CFLAGS
17532 CFLAGS="$CFLAGS -Wno-format"
17533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17534 /* end confdefs.h. */
17535 int main(int argc, char **argv) { return 0; }
17536 _ACEOF
17537 if ac_fn_c_try_link "$LINENO"; then :
17538 ac_cv_cflags__Wno_format=yes
17539 else
17540 ac_cv_cflags__Wno_format=no
17542 rm -f core conftest.err conftest.$ac_objext \
17543 conftest$ac_exeext conftest.$ac_ext
17544 CFLAGS=$ac_wine_try_cflags_saved
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17547 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17548 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17549 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17550 fi ;;
17551 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17552 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17553 if ${ac_cv_cflags__mabi_ms+:} false; then :
17554 $as_echo_n "(cached) " >&6
17555 else
17556 ac_wine_try_cflags_saved=$CFLAGS
17557 CFLAGS="$CFLAGS -mabi=ms"
17558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17559 /* end confdefs.h. */
17560 int main(int argc, char **argv) { return 0; }
17561 _ACEOF
17562 if ac_fn_c_try_link "$LINENO"; then :
17563 ac_cv_cflags__mabi_ms=yes
17564 else
17565 ac_cv_cflags__mabi_ms=no
17567 rm -f core conftest.err conftest.$ac_objext \
17568 conftest$ac_exeext conftest.$ac_ext
17569 CFLAGS=$ac_wine_try_cflags_saved
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17572 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17573 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17574 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17575 fi ;;
17576 esac ;;
17577 esac
17579 CFLAGS=$saved_CFLAGS
17581 if test "x$enable_maintainer_mode" = "xyes"
17582 then
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17584 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17585 if ${ac_cv_cflags__Werror+:} false; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17588 ac_wine_try_cflags_saved=$CFLAGS
17589 CFLAGS="$CFLAGS -Werror"
17590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17591 /* end confdefs.h. */
17592 int main(int argc, char **argv) { return 0; }
17593 _ACEOF
17594 if ac_fn_c_try_link "$LINENO"; then :
17595 ac_cv_cflags__Werror=yes
17596 else
17597 ac_cv_cflags__Werror=no
17599 rm -f core conftest.err conftest.$ac_objext \
17600 conftest$ac_exeext conftest.$ac_ext
17601 CFLAGS=$ac_wine_try_cflags_saved
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17604 $as_echo "$ac_cv_cflags__Werror" >&6; }
17605 if test "x$ac_cv_cflags__Werror" = xyes; then :
17606 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17613 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17614 if ${ac_cv_c_fortify_enabled+:} false; then :
17615 $as_echo_n "(cached) " >&6
17616 else
17617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17619 #include <string.h>
17621 main ()
17623 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17624 #error Fortify enabled
17625 #endif
17627 return 0;
17629 _ACEOF
17630 if ac_fn_c_try_compile "$LINENO"; then :
17631 ac_cv_c_fortify_enabled=no
17632 else
17633 ac_cv_c_fortify_enabled=yes
17635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17638 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17639 if test "$ac_cv_c_fortify_enabled" = yes
17640 then
17641 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17646 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17647 if ${ac_cv_c_cfi_support+:} false; then :
17648 $as_echo_n "(cached) " >&6
17649 else
17650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17651 /* end confdefs.h. */
17652 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17654 main ()
17658 return 0;
17660 _ACEOF
17661 if ac_fn_c_try_compile "$LINENO"; then :
17662 ac_cv_c_cfi_support="yes"
17663 else
17664 ac_cv_c_cfi_support="no"
17666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17669 $as_echo "$ac_cv_c_cfi_support" >&6; }
17670 if test "$ac_cv_c_cfi_support" = "yes"
17671 then
17672 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17673 else
17674 if test "x$enable_win64" = "xyes"
17675 then
17676 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17681 case $build_os in
17682 cygwin*|mingw32*) TOOLSEXT=".exe"
17684 esac
17686 case $host_os in
17687 linux*)
17688 case $host_cpu in
17689 *i[3456789]86*|x86_64*|*aarch64*)
17690 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17691 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17693 esac
17695 esac
17698 ac_save_CFLAGS="$CFLAGS"
17699 CFLAGS="$CFLAGS $BUILTINFLAG"
17700 for ac_func in \
17701 __res_get_state \
17702 __res_getservers \
17703 _spawnvp \
17704 dlopen \
17705 epoll_create \
17706 ffs \
17707 finitef \
17708 fnmatch \
17709 fork \
17710 fpclass \
17711 fstatfs \
17712 fstatvfs \
17713 futimens \
17714 futimes \
17715 futimesat \
17716 getattrlist \
17717 getauxval \
17718 getifaddrs \
17719 getopt_long_only \
17720 kqueue \
17721 lstat \
17722 mach_continuous_time \
17723 pipe2 \
17724 poll \
17725 port_create \
17726 prctl \
17727 pread \
17728 proc_pidinfo \
17729 pwrite \
17730 readdir \
17731 readlink \
17732 sched_yield \
17733 select \
17734 setproctitle \
17735 setprogname \
17736 settimeofday \
17737 sigprocmask \
17738 statfs \
17739 statvfs \
17740 strnlen \
17741 strtold \
17742 symlink \
17743 sysinfo \
17744 tcdrain \
17745 thr_kill2 \
17746 timegm \
17747 usleep
17749 do :
17750 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17751 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17752 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17753 cat >>confdefs.h <<_ACEOF
17754 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17755 _ACEOF
17758 done
17760 CFLAGS="$ac_save_CFLAGS"
17762 if test "$ac_cv_func_dlopen" = no
17763 then
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17765 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17766 if ${ac_cv_lib_dl_dlopen+:} false; then :
17767 $as_echo_n "(cached) " >&6
17768 else
17769 ac_check_lib_save_LIBS=$LIBS
17770 LIBS="-ldl $LIBS"
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17774 /* Override any GCC internal prototype to avoid an error.
17775 Use char because int might match the return type of a GCC
17776 builtin and then its argument prototype would still apply. */
17777 #ifdef __cplusplus
17778 extern "C"
17779 #endif
17780 char dlopen ();
17782 main ()
17784 return dlopen ();
17786 return 0;
17788 _ACEOF
17789 if ac_fn_c_try_link "$LINENO"; then :
17790 ac_cv_lib_dl_dlopen=yes
17791 else
17792 ac_cv_lib_dl_dlopen=no
17794 rm -f core conftest.err conftest.$ac_objext \
17795 conftest$ac_exeext conftest.$ac_ext
17796 LIBS=$ac_check_lib_save_LIBS
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17799 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17800 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17801 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17802 DL_LIBS="-ldl"
17807 ac_wine_check_funcs_save_LIBS="$LIBS"
17808 LIBS="$LIBS $DL_LIBS"
17809 for ac_func in dladdr
17810 do :
17811 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17812 if test "x$ac_cv_func_dladdr" = xyes; then :
17813 cat >>confdefs.h <<_ACEOF
17814 #define HAVE_DLADDR 1
17815 _ACEOF
17818 done
17820 LIBS="$ac_wine_check_funcs_save_LIBS"
17822 if test "$ac_cv_func_poll" = no
17823 then
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17825 $as_echo_n "checking for poll in -lpoll... " >&6; }
17826 if ${ac_cv_lib_poll_poll+:} false; then :
17827 $as_echo_n "(cached) " >&6
17828 else
17829 ac_check_lib_save_LIBS=$LIBS
17830 LIBS="-lpoll $LIBS"
17831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17832 /* end confdefs.h. */
17834 /* Override any GCC internal prototype to avoid an error.
17835 Use char because int might match the return type of a GCC
17836 builtin and then its argument prototype would still apply. */
17837 #ifdef __cplusplus
17838 extern "C"
17839 #endif
17840 char poll ();
17842 main ()
17844 return poll ();
17846 return 0;
17848 _ACEOF
17849 if ac_fn_c_try_link "$LINENO"; then :
17850 ac_cv_lib_poll_poll=yes
17851 else
17852 ac_cv_lib_poll_poll=no
17854 rm -f core conftest.err conftest.$ac_objext \
17855 conftest$ac_exeext conftest.$ac_ext
17856 LIBS=$ac_check_lib_save_LIBS
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17859 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17860 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17861 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17862 POLL_LIBS="-lpoll"
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17869 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17870 if ${ac_cv_search_gethostbyname+:} false; then :
17871 $as_echo_n "(cached) " >&6
17872 else
17873 ac_func_search_save_LIBS=$LIBS
17874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17875 /* end confdefs.h. */
17877 /* Override any GCC internal prototype to avoid an error.
17878 Use char because int might match the return type of a GCC
17879 builtin and then its argument prototype would still apply. */
17880 #ifdef __cplusplus
17881 extern "C"
17882 #endif
17883 char gethostbyname ();
17885 main ()
17887 return gethostbyname ();
17889 return 0;
17891 _ACEOF
17892 for ac_lib in '' nsl; do
17893 if test -z "$ac_lib"; then
17894 ac_res="none required"
17895 else
17896 ac_res=-l$ac_lib
17897 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17899 if ac_fn_c_try_link "$LINENO"; then :
17900 ac_cv_search_gethostbyname=$ac_res
17902 rm -f core conftest.err conftest.$ac_objext \
17903 conftest$ac_exeext
17904 if ${ac_cv_search_gethostbyname+:} false; then :
17905 break
17907 done
17908 if ${ac_cv_search_gethostbyname+:} false; then :
17910 else
17911 ac_cv_search_gethostbyname=no
17913 rm conftest.$ac_ext
17914 LIBS=$ac_func_search_save_LIBS
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17917 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17918 ac_res=$ac_cv_search_gethostbyname
17919 if test "$ac_res" != no; then :
17920 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17926 $as_echo_n "checking for library containing connect... " >&6; }
17927 if ${ac_cv_search_connect+:} false; then :
17928 $as_echo_n "(cached) " >&6
17929 else
17930 ac_func_search_save_LIBS=$LIBS
17931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17932 /* end confdefs.h. */
17934 /* Override any GCC internal prototype to avoid an error.
17935 Use char because int might match the return type of a GCC
17936 builtin and then its argument prototype would still apply. */
17937 #ifdef __cplusplus
17938 extern "C"
17939 #endif
17940 char connect ();
17942 main ()
17944 return connect ();
17946 return 0;
17948 _ACEOF
17949 for ac_lib in '' socket; do
17950 if test -z "$ac_lib"; then
17951 ac_res="none required"
17952 else
17953 ac_res=-l$ac_lib
17954 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17956 if ac_fn_c_try_link "$LINENO"; then :
17957 ac_cv_search_connect=$ac_res
17959 rm -f core conftest.err conftest.$ac_objext \
17960 conftest$ac_exeext
17961 if ${ac_cv_search_connect+:} false; then :
17962 break
17964 done
17965 if ${ac_cv_search_connect+:} false; then :
17967 else
17968 ac_cv_search_connect=no
17970 rm conftest.$ac_ext
17971 LIBS=$ac_func_search_save_LIBS
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17974 $as_echo "$ac_cv_search_connect" >&6; }
17975 ac_res=$ac_cv_search_connect
17976 if test "$ac_res" != no; then :
17977 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17983 $as_echo_n "checking for library containing inet_aton... " >&6; }
17984 if ${ac_cv_search_inet_aton+:} false; then :
17985 $as_echo_n "(cached) " >&6
17986 else
17987 ac_func_search_save_LIBS=$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 inet_aton ();
17999 main ()
18001 return inet_aton ();
18003 return 0;
18005 _ACEOF
18006 for ac_lib in '' resolv; do
18007 if test -z "$ac_lib"; then
18008 ac_res="none required"
18009 else
18010 ac_res=-l$ac_lib
18011 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18013 if ac_fn_c_try_link "$LINENO"; then :
18014 ac_cv_search_inet_aton=$ac_res
18016 rm -f core conftest.err conftest.$ac_objext \
18017 conftest$ac_exeext
18018 if ${ac_cv_search_inet_aton+:} false; then :
18019 break
18021 done
18022 if ${ac_cv_search_inet_aton+:} false; then :
18024 else
18025 ac_cv_search_inet_aton=no
18027 rm conftest.$ac_ext
18028 LIBS=$ac_func_search_save_LIBS
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18031 $as_echo "$ac_cv_search_inet_aton" >&6; }
18032 ac_res=$ac_cv_search_inet_aton
18033 if test "$ac_res" != no; then :
18034 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18039 for ac_func in \
18040 getaddrinfo \
18041 getnameinfo \
18042 getnetbyname \
18043 getprotobyname \
18044 getprotobynumber \
18045 getservbyport \
18046 inet_addr \
18047 inet_network \
18048 inet_ntop \
18049 inet_pton \
18051 do :
18052 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18053 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18054 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18055 cat >>confdefs.h <<_ACEOF
18056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18057 _ACEOF
18060 done
18063 case $host_os in
18064 darwin*|macosx*) ;;
18065 *) ac_save_LIBS=$LIBS
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18067 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18068 if ${ac_cv_search_clock_gettime+:} false; then :
18069 $as_echo_n "(cached) " >&6
18070 else
18071 ac_func_search_save_LIBS=$LIBS
18072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18073 /* end confdefs.h. */
18075 /* Override any GCC internal prototype to avoid an error.
18076 Use char because int might match the return type of a GCC
18077 builtin and then its argument prototype would still apply. */
18078 #ifdef __cplusplus
18079 extern "C"
18080 #endif
18081 char clock_gettime ();
18083 main ()
18085 return clock_gettime ();
18087 return 0;
18089 _ACEOF
18090 for ac_lib in '' rt; do
18091 if test -z "$ac_lib"; then
18092 ac_res="none required"
18093 else
18094 ac_res=-l$ac_lib
18095 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18097 if ac_fn_c_try_link "$LINENO"; then :
18098 ac_cv_search_clock_gettime=$ac_res
18100 rm -f core conftest.err conftest.$ac_objext \
18101 conftest$ac_exeext
18102 if ${ac_cv_search_clock_gettime+:} false; then :
18103 break
18105 done
18106 if ${ac_cv_search_clock_gettime+:} false; then :
18108 else
18109 ac_cv_search_clock_gettime=no
18111 rm conftest.$ac_ext
18112 LIBS=$ac_func_search_save_LIBS
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18115 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18116 ac_res=$ac_cv_search_clock_gettime
18117 if test "$ac_res" != no; then :
18118 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18120 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18122 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18126 LIBS=$ac_save_LIBS
18128 esac
18130 if test "x$with_ldap" != "xno"
18131 then
18132 if ${LDAP_CFLAGS:+false} :; then :
18133 if ${PKG_CONFIG+:} false; then :
18134 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18138 if ${LDAP_LIBS:+false} :; then :
18139 if ${PKG_CONFIG+:} false; then :
18140 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18144 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18145 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18146 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18147 ac_save_CPPFLAGS=$CPPFLAGS
18148 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18149 for ac_header in ldap.h lber.h
18150 do :
18151 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18152 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18153 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18154 cat >>confdefs.h <<_ACEOF
18155 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18156 _ACEOF
18160 done
18162 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18163 then
18164 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18166 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18168 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18169 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18170 $as_echo_n "(cached) " >&6
18171 else
18172 ac_check_lib_save_LIBS=$LIBS
18173 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18175 /* end confdefs.h. */
18177 /* Override any GCC internal prototype to avoid an error.
18178 Use char because int might match the return type of a GCC
18179 builtin and then its argument prototype would still apply. */
18180 #ifdef __cplusplus
18181 extern "C"
18182 #endif
18183 char ldap_initialize ();
18185 main ()
18187 return ldap_initialize ();
18189 return 0;
18191 _ACEOF
18192 if ac_fn_c_try_link "$LINENO"; then :
18193 ac_cv_lib_ldap_r_ldap_initialize=yes
18194 else
18195 ac_cv_lib_ldap_r_ldap_initialize=no
18197 rm -f core conftest.err conftest.$ac_objext \
18198 conftest$ac_exeext conftest.$ac_ext
18199 LIBS=$ac_check_lib_save_LIBS
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18202 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18203 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18205 $as_echo_n "checking for ber_init in -llber... " >&6; }
18206 if ${ac_cv_lib_lber_ber_init+:} false; then :
18207 $as_echo_n "(cached) " >&6
18208 else
18209 ac_check_lib_save_LIBS=$LIBS
18210 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h. */
18214 /* Override any GCC internal prototype to avoid an error.
18215 Use char because int might match the return type of a GCC
18216 builtin and then its argument prototype would still apply. */
18217 #ifdef __cplusplus
18218 extern "C"
18219 #endif
18220 char ber_init ();
18222 main ()
18224 return ber_init ();
18226 return 0;
18228 _ACEOF
18229 if ac_fn_c_try_link "$LINENO"; then :
18230 ac_cv_lib_lber_ber_init=yes
18231 else
18232 ac_cv_lib_lber_ber_init=no
18234 rm -f core conftest.err conftest.$ac_objext \
18235 conftest$ac_exeext conftest.$ac_ext
18236 LIBS=$ac_check_lib_save_LIBS
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18239 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18240 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18242 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18244 else
18245 LDAP_LIBS=""
18248 else
18249 LDAP_LIBS=""
18252 else
18253 LDAP_LIBS=""
18256 ac_wine_check_funcs_save_LIBS="$LIBS"
18257 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18258 for ac_func in \
18259 ldap_count_references \
18260 ldap_first_reference \
18261 ldap_next_reference \
18262 ldap_parse_reference \
18263 ldap_parse_sort_control \
18264 ldap_parse_sortresponse_control \
18265 ldap_parse_vlv_control \
18266 ldap_parse_vlvresponse_control
18267 do :
18268 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18270 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18271 cat >>confdefs.h <<_ACEOF
18272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18273 _ACEOF
18276 done
18278 LIBS="$ac_wine_check_funcs_save_LIBS"
18279 else
18280 LDAP_LIBS=""
18282 CPPFLAGS=$ac_save_CPPFLAGS
18283 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18284 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18287 if test "x$LDAP_LIBS" = "x"; then :
18288 case "x$with_ldap" in
18289 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18290 xno) ;;
18291 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18292 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18293 esac
18297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18298 $as_echo_n "checking for sched_setaffinity... " >&6; }
18299 if ${wine_cv_have_sched_setaffinity+:} false; then :
18300 $as_echo_n "(cached) " >&6
18301 else
18302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18303 /* end confdefs.h. */
18304 #define _GNU_SOURCE
18305 #include <sched.h>
18307 main ()
18309 sched_setaffinity(0, 0, 0);
18311 return 0;
18313 _ACEOF
18314 if ac_fn_c_try_link "$LINENO"; then :
18315 wine_cv_have_sched_setaffinity=yes
18316 else
18317 wine_cv_have_sched_setaffinity=no
18319 rm -f core conftest.err conftest.$ac_objext \
18320 conftest$ac_exeext conftest.$ac_ext
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18323 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18324 if test "$wine_cv_have_sched_setaffinity" = "yes"
18325 then
18327 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18332 $as_echo_n "checking for fallocate... " >&6; }
18333 if ${wine_cv_have_fallocate+:} false; then :
18334 $as_echo_n "(cached) " >&6
18335 else
18336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18337 /* end confdefs.h. */
18338 #define _GNU_SOURCE
18339 #include <fcntl.h>
18341 main ()
18343 fallocate(-1, 0, 0, 0);
18345 return 0;
18347 _ACEOF
18348 if ac_fn_c_try_link "$LINENO"; then :
18349 wine_cv_have_fallocate=yes
18350 else
18351 wine_cv_have_fallocate=no
18353 rm -f core conftest.err conftest.$ac_objext \
18354 conftest$ac_exeext conftest.$ac_ext
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18357 $as_echo "$wine_cv_have_fallocate" >&6; }
18358 if test "$wine_cv_have_fallocate" = "yes"
18359 then
18361 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18367 $as_echo_n "checking for inline... " >&6; }
18368 if ${ac_cv_c_inline+:} false; then :
18369 $as_echo_n "(cached) " >&6
18370 else
18371 ac_cv_c_inline=no
18372 for ac_kw in inline __inline__ __inline; do
18373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18374 /* end confdefs.h. */
18375 #ifndef __cplusplus
18376 typedef int foo_t;
18377 static $ac_kw foo_t static_foo () {return 0; }
18378 $ac_kw foo_t foo () {return 0; }
18379 #endif
18381 _ACEOF
18382 if ac_fn_c_try_compile "$LINENO"; then :
18383 ac_cv_c_inline=$ac_kw
18385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18386 test "$ac_cv_c_inline" != no && break
18387 done
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18391 $as_echo "$ac_cv_c_inline" >&6; }
18393 case $ac_cv_c_inline in
18394 inline | yes) ;;
18396 case $ac_cv_c_inline in
18397 no) ac_val=;;
18398 *) ac_val=$ac_cv_c_inline;;
18399 esac
18400 cat >>confdefs.h <<_ACEOF
18401 #ifndef __cplusplus
18402 #define inline $ac_val
18403 #endif
18404 _ACEOF
18406 esac
18408 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18409 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18411 cat >>confdefs.h <<_ACEOF
18412 #define HAVE_FSBLKCNT_T 1
18413 _ACEOF
18417 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18418 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18420 cat >>confdefs.h <<_ACEOF
18421 #define HAVE_FSFILCNT_T 1
18422 _ACEOF
18427 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18428 #include <signal.h>
18430 if test "x$ac_cv_type_sigset_t" = xyes; then :
18432 cat >>confdefs.h <<_ACEOF
18433 #define HAVE_SIGSET_T 1
18434 _ACEOF
18439 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18441 if test "x$ac_cv_type_request_sense" = xyes; then :
18443 cat >>confdefs.h <<_ACEOF
18444 #define HAVE_REQUEST_SENSE 1
18445 _ACEOF
18451 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18452 #ifdef HAVE_SYS_SOCKET_H
18453 #include <sys/socket.h>
18454 #endif
18455 #ifdef HAVE_SYS_SOCKETVAR_H
18456 #include <sys/socketvar.h>
18457 #endif
18458 #ifdef HAVE_NET_ROUTE_H
18459 #include <net/route.h>
18460 #endif
18461 #ifdef HAVE_NETINET_IN_H
18462 #include <netinet/in.h>
18463 #endif
18464 #ifdef HAVE_NETINET_IN_SYSTM_H
18465 #include <netinet/in_systm.h>
18466 #endif
18467 #ifdef HAVE_NETINET_IP_H
18468 #include <netinet/ip.h>
18469 #endif
18470 #ifdef HAVE_NETINET_IN_PCB_H
18471 #include <netinet/in_pcb.h>
18472 #endif
18474 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18476 cat >>confdefs.h <<_ACEOF
18477 #define HAVE_STRUCT_XINPGEN 1
18478 _ACEOF
18484 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18485 #include <link.h>
18486 #endif
18487 #ifdef HAVE_SYS_LINK_H
18488 #include <sys/link.h>
18489 #endif
18491 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18493 cat >>confdefs.h <<_ACEOF
18494 #define HAVE_STRUCT_R_DEBUG 1
18495 _ACEOF
18499 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18500 #include <link.h>
18501 #endif
18502 #ifdef HAVE_SYS_LINK_H
18503 #include <sys/link.h>
18504 #endif
18506 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18508 cat >>confdefs.h <<_ACEOF
18509 #define HAVE_STRUCT_LINK_MAP 1
18510 _ACEOF
18516 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18517 #include <linux/input.h>
18518 #endif
18520 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18522 cat >>confdefs.h <<_ACEOF
18523 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18524 _ACEOF
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18531 $as_echo_n "checking for if_nameindex... " >&6; }
18532 if ${wine_cv_have_if_nameindex+:} false; then :
18533 $as_echo_n "(cached) " >&6
18534 else
18535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 #ifdef HAVE_SYS_TYPES_H
18538 #include <sys/types.h>
18539 #endif
18540 #ifdef HAVE_SYS_SOCKET_H
18541 #include <sys/socket.h>
18542 #endif
18543 #ifdef HAVE_NET_IF_H
18544 # include <net/if.h>
18545 #endif
18547 main ()
18549 struct if_nameindex *p = if_nameindex(); return p->if_index;
18551 return 0;
18553 _ACEOF
18554 if ac_fn_c_try_link "$LINENO"; then :
18555 wine_cv_have_if_nameindex=yes
18556 else
18557 wine_cv_have_if_nameindex=no
18559 rm -f core conftest.err conftest.$ac_objext \
18560 conftest$ac_exeext conftest.$ac_ext
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18563 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18564 if test "$wine_cv_have_if_nameindex" = "yes"
18565 then
18567 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18572 $as_echo_n "checking for sigaddset... " >&6; }
18573 if ${wine_cv_have_sigaddset+:} false; then :
18574 $as_echo_n "(cached) " >&6
18575 else
18576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18578 #include <signal.h>
18580 main ()
18582 sigset_t set; sigaddset(&set,SIGTERM);
18584 return 0;
18586 _ACEOF
18587 if ac_fn_c_try_link "$LINENO"; then :
18588 wine_cv_have_sigaddset=yes
18589 else
18590 wine_cv_have_sigaddset=no
18592 rm -f core conftest.err conftest.$ac_objext \
18593 conftest$ac_exeext conftest.$ac_ext
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18596 $as_echo "$wine_cv_have_sigaddset" >&6; }
18597 if test "$wine_cv_have_sigaddset" = "yes"
18598 then
18600 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18606 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18607 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18608 $as_echo_n "(cached) " >&6
18609 else
18610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18611 /* end confdefs.h. */
18612 #include <netdb.h>
18614 main ()
18617 char *name=0;
18618 struct hostent he;
18619 struct hostent *result;
18620 char *buf=0;
18621 int bufsize=0;
18622 int errnr;
18623 char *addr=0;
18624 int addrlen=0;
18625 int addrtype=0;
18626 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18627 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18630 return 0;
18632 _ACEOF
18633 if ac_fn_c_try_link "$LINENO"; then :
18634 wine_cv_linux_gethostbyname_r_6=yes
18635 else
18636 wine_cv_linux_gethostbyname_r_6=no
18639 rm -f core conftest.err conftest.$ac_objext \
18640 conftest$ac_exeext conftest.$ac_ext
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18644 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18645 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18646 then
18648 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18652 if test "$ac_cv_header_linux_joystick_h" = "yes"
18653 then
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18655 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18656 if ${wine_cv_linux_joystick_22_api+:} false; then :
18657 $as_echo_n "(cached) " >&6
18658 else
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18662 #include <sys/ioctl.h>
18663 #include <sys/types.h>
18664 #include <linux/joystick.h>
18666 struct js_event blub;
18667 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18668 #error "no 2.2 header"
18669 #endif
18672 main ()
18674 /*empty*/
18676 return 0;
18678 _ACEOF
18679 if ac_fn_c_try_compile "$LINENO"; then :
18680 wine_cv_linux_joystick_22_api=yes
18681 else
18682 wine_cv_linux_joystick_22_api=no
18684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18688 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18689 if test "$wine_cv_linux_joystick_22_api" = "yes"
18690 then
18692 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18698 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18699 #ifdef HAVE_SYS_PARAM_H
18700 # include <sys/param.h>
18701 #endif
18702 #ifdef HAVE_SYS_MOUNT_H
18703 # include <sys/mount.h>
18704 #endif
18705 #ifdef HAVE_SYS_VFS_H
18706 # include <sys/vfs.h>
18707 #endif
18708 #ifdef HAVE_SYS_STATFS_H
18709 # include <sys/statfs.h>
18710 #endif
18712 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18714 cat >>confdefs.h <<_ACEOF
18715 #define HAVE_STRUCT_STATFS_F_BFREE 1
18716 _ACEOF
18720 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18721 #ifdef HAVE_SYS_PARAM_H
18722 # include <sys/param.h>
18723 #endif
18724 #ifdef HAVE_SYS_MOUNT_H
18725 # include <sys/mount.h>
18726 #endif
18727 #ifdef HAVE_SYS_VFS_H
18728 # include <sys/vfs.h>
18729 #endif
18730 #ifdef HAVE_SYS_STATFS_H
18731 # include <sys/statfs.h>
18732 #endif
18734 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18736 cat >>confdefs.h <<_ACEOF
18737 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18738 _ACEOF
18742 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18743 #ifdef HAVE_SYS_PARAM_H
18744 # include <sys/param.h>
18745 #endif
18746 #ifdef HAVE_SYS_MOUNT_H
18747 # include <sys/mount.h>
18748 #endif
18749 #ifdef HAVE_SYS_VFS_H
18750 # include <sys/vfs.h>
18751 #endif
18752 #ifdef HAVE_SYS_STATFS_H
18753 # include <sys/statfs.h>
18754 #endif
18756 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18758 cat >>confdefs.h <<_ACEOF
18759 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18760 _ACEOF
18764 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18765 #ifdef HAVE_SYS_PARAM_H
18766 # include <sys/param.h>
18767 #endif
18768 #ifdef HAVE_SYS_MOUNT_H
18769 # include <sys/mount.h>
18770 #endif
18771 #ifdef HAVE_SYS_VFS_H
18772 # include <sys/vfs.h>
18773 #endif
18774 #ifdef HAVE_SYS_STATFS_H
18775 # include <sys/statfs.h>
18776 #endif
18778 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18780 cat >>confdefs.h <<_ACEOF
18781 #define HAVE_STRUCT_STATFS_F_FFREE 1
18782 _ACEOF
18786 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18787 #ifdef HAVE_SYS_PARAM_H
18788 # include <sys/param.h>
18789 #endif
18790 #ifdef HAVE_SYS_MOUNT_H
18791 # include <sys/mount.h>
18792 #endif
18793 #ifdef HAVE_SYS_VFS_H
18794 # include <sys/vfs.h>
18795 #endif
18796 #ifdef HAVE_SYS_STATFS_H
18797 # include <sys/statfs.h>
18798 #endif
18800 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18802 cat >>confdefs.h <<_ACEOF
18803 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18804 _ACEOF
18808 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18809 #ifdef HAVE_SYS_PARAM_H
18810 # include <sys/param.h>
18811 #endif
18812 #ifdef HAVE_SYS_MOUNT_H
18813 # include <sys/mount.h>
18814 #endif
18815 #ifdef HAVE_SYS_VFS_H
18816 # include <sys/vfs.h>
18817 #endif
18818 #ifdef HAVE_SYS_STATFS_H
18819 # include <sys/statfs.h>
18820 #endif
18822 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18824 cat >>confdefs.h <<_ACEOF
18825 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18826 _ACEOF
18832 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18833 #include <sys/statvfs.h>
18834 #endif
18836 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18838 cat >>confdefs.h <<_ACEOF
18839 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18840 _ACEOF
18846 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18847 #include <dirent.h>
18848 #endif
18850 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18852 cat >>confdefs.h <<_ACEOF
18853 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18854 _ACEOF
18860 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18861 #ifdef HAVE_SYS_SOCKET_H
18862 # include <sys/socket.h>
18863 #endif
18864 #ifdef HAVE_SYS_UN_H
18865 # include <sys/un.h>
18866 #endif
18868 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18870 cat >>confdefs.h <<_ACEOF
18871 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18872 _ACEOF
18876 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18877 #ifdef HAVE_SYS_SOCKET_H
18878 # include <sys/socket.h>
18879 #endif
18880 #ifdef HAVE_SYS_UN_H
18881 # include <sys/un.h>
18882 #endif
18884 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18886 cat >>confdefs.h <<_ACEOF
18887 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18888 _ACEOF
18892 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18893 #ifdef HAVE_SYS_SOCKET_H
18894 # include <sys/socket.h>
18895 #endif
18896 #ifdef HAVE_SYS_UN_H
18897 # include <sys/un.h>
18898 #endif
18900 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18902 cat >>confdefs.h <<_ACEOF
18903 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18904 _ACEOF
18910 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18911 #ifdef HAVE_SCSI_SG_H
18912 #include <scsi/sg.h>
18913 #endif
18915 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18917 cat >>confdefs.h <<_ACEOF
18918 #define HAVE_SCSIREQ_T_CMD 1
18919 _ACEOF
18923 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>
18924 #ifdef HAVE_SCSI_SG_H
18925 #include <scsi/sg.h>
18926 #endif
18928 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18930 cat >>confdefs.h <<_ACEOF
18931 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18932 _ACEOF
18938 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18940 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18942 cat >>confdefs.h <<_ACEOF
18943 #define HAVE_SIGINFO_T_SI_FD 1
18944 _ACEOF
18950 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18951 #ifdef HAVE_SYS_MTIO_H
18952 #include <sys/mtio.h>
18953 #endif
18955 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18957 cat >>confdefs.h <<_ACEOF
18958 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18959 _ACEOF
18963 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18964 #ifdef HAVE_SYS_MTIO_H
18965 #include <sys/mtio.h>
18966 #endif
18968 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18970 cat >>confdefs.h <<_ACEOF
18971 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18972 _ACEOF
18976 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18977 #ifdef HAVE_SYS_MTIO_H
18978 #include <sys/mtio.h>
18979 #endif
18981 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18983 cat >>confdefs.h <<_ACEOF
18984 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18985 _ACEOF
18991 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18992 #include <getopt.h>
18993 #endif
18995 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18997 cat >>confdefs.h <<_ACEOF
18998 #define HAVE_STRUCT_OPTION_NAME 1
18999 _ACEOF
19005 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19006 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19008 cat >>confdefs.h <<_ACEOF
19009 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19010 _ACEOF
19014 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19015 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19017 cat >>confdefs.h <<_ACEOF
19018 #define HAVE_STRUCT_STAT_ST_MTIM 1
19019 _ACEOF
19023 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19024 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19026 cat >>confdefs.h <<_ACEOF
19027 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19028 _ACEOF
19032 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19033 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19035 cat >>confdefs.h <<_ACEOF
19036 #define HAVE_STRUCT_STAT_ST_CTIM 1
19037 _ACEOF
19041 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19042 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19044 cat >>confdefs.h <<_ACEOF
19045 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19046 _ACEOF
19050 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19051 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19053 cat >>confdefs.h <<_ACEOF
19054 #define HAVE_STRUCT_STAT_ST_ATIM 1
19055 _ACEOF
19059 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19060 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19062 cat >>confdefs.h <<_ACEOF
19063 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19064 _ACEOF
19068 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19069 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19071 cat >>confdefs.h <<_ACEOF
19072 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19073 _ACEOF
19077 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19078 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19080 cat >>confdefs.h <<_ACEOF
19081 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19082 _ACEOF
19086 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19087 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19089 cat >>confdefs.h <<_ACEOF
19090 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19091 _ACEOF
19095 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19096 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19098 cat >>confdefs.h <<_ACEOF
19099 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19100 _ACEOF
19104 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19105 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19107 cat >>confdefs.h <<_ACEOF
19108 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19109 _ACEOF
19115 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
19116 #include <sys/types.h>
19117 #endif
19118 #ifdef HAVE_NETINET_IN_H
19119 #include <netinet/in.h>
19120 #endif
19122 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19124 cat >>confdefs.h <<_ACEOF
19125 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19126 _ACEOF
19132 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19133 #include <sys/types.h>
19134 #endif
19135 #ifdef HAVE_NETINET_IN_H
19136 #include <netinet/in.h>
19137 #endif
19138 #ifdef HAVE_RESOLV_H
19139 #include <resolv.h>
19140 #endif
19142 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19144 cat >>confdefs.h <<_ACEOF
19145 #define HAVE_STRUCT___RES_STATE 1
19146 _ACEOF
19152 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
19153 #include <resolv.h>
19154 #endif
19156 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19158 cat >>confdefs.h <<_ACEOF
19159 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19160 _ACEOF
19166 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19167 #include <sys/types.h>
19168 #endif
19169 #ifdef HAVE_NETINET_IN_H
19170 # include <netinet/in.h>
19171 #endif
19172 #ifdef HAVE_ARPA_NAMESER_H
19173 # include <arpa/nameser.h>
19174 #endif
19176 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19178 cat >>confdefs.h <<_ACEOF
19179 #define HAVE_NS_MSG__MSG_PTR 1
19180 _ACEOF
19186 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19187 #include <sys/types.h>
19188 #endif
19189 #ifdef HAVE_NETINET_IN_H
19190 #include <netinet/in.h>
19191 #endif
19192 #ifdef HAVE_NETINET_IP_H
19193 #include <netinet/ip.h>
19194 #endif
19195 #ifdef HAVE_NETINET_IP_ICMP_H
19196 #include <netinet/ip_icmp.h>
19197 #endif
19198 #ifdef HAVE_NETINET_ICMP_VAR_H
19199 #include <netinet/icmp_var.h>
19200 #endif
19202 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19204 cat >>confdefs.h <<_ACEOF
19205 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19206 _ACEOF
19212 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19213 #include <sys/types.h>
19214 #endif
19215 #ifdef HAVE_ALIAS_H
19216 #include <alias.h>
19217 #endif
19218 #ifdef HAVE_SYS_SOCKET_H
19219 #include <sys/socket.h>
19220 #endif
19221 #ifdef HAVE_SYS_SOCKETVAR_H
19222 #include <sys/socketvar.h>
19223 #endif
19224 #ifdef HAVE_SYS_TIMEOUT_H
19225 #include <sys/timeout.h>
19226 #endif
19227 #ifdef HAVE_NETINET_IN_H
19228 #include <netinet/in.h>
19229 #endif
19230 #ifdef HAVE_NETINET_IN_SYSTM_H
19231 #include <netinet/in_systm.h>
19232 #endif
19233 #ifdef HAVE_NETINET_IP_H
19234 #include <netinet/ip.h>
19235 #endif
19236 #ifdef HAVE_NETINET_IP_VAR_H
19237 #include <netinet/ip_var.h>
19238 #endif
19239 #ifdef HAVE_NETINET_IP_ICMP_H
19240 #include <netinet/ip_icmp.h>
19241 #endif
19242 #ifdef HAVE_NETINET_ICMP_VAR_H
19243 #include <netinet/icmp_var.h>
19244 #endif
19246 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19248 cat >>confdefs.h <<_ACEOF
19249 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19250 _ACEOF
19256 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19257 #include <sys/types.h>
19258 #endif
19259 #ifdef HAVE_SYS_SOCKETVAR_H
19260 #include <sys/socketvar.h>
19261 #endif
19262 #ifdef HAVE_NETINET_IN_H
19263 #include <netinet/in.h>
19264 #endif
19265 #ifdef HAVE_NETINET_IP_VAR_H
19266 #include <netinet/ip_var.h>
19267 #endif
19269 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19273 _ACEOF
19279 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
19280 #include <netinet/ip_var.h>
19281 #endif
19283 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19285 cat >>confdefs.h <<_ACEOF
19286 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19287 _ACEOF
19293 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19294 #include <sys/types.h>
19295 #endif
19296 #ifdef HAVE_SYS_SOCKETVAR_H
19297 #include <sys/socketvar.h>
19298 #endif
19299 #ifdef HAVE_NETINET_IN_H
19300 #include <netinet/in.h>
19301 #endif
19302 #ifdef HAVE_NETINET_TCP_H
19303 #include <netinet/tcp.h>
19304 #endif
19305 #ifdef HAVE_NETINET_TCP_VAR_H
19306 #include <netinet/tcp_var.h>
19307 #endif
19309 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19311 cat >>confdefs.h <<_ACEOF
19312 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19313 _ACEOF
19319 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
19320 #include <netinet/tcp_var.h>
19321 #endif
19323 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19325 cat >>confdefs.h <<_ACEOF
19326 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19327 _ACEOF
19333 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19334 #include <sys/types.h>
19335 #endif
19336 #ifdef HAVE_NETINET_IN_H
19337 #include <netinet/in.h>
19338 #endif
19339 #ifdef HAVE_NETINET_IP_VAR_H
19340 #include <netinet/ip_var.h>
19341 #endif
19342 #ifdef HAVE_NETINET_UDP_H
19343 #include <netinet/udp.h>
19344 #endif
19345 #ifdef HAVE_NETINET_UDP_VAR_H
19346 #include <netinet/udp_var.h>
19347 #endif
19349 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19351 cat >>confdefs.h <<_ACEOF
19352 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19353 _ACEOF
19359 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19360 #include <sys/types.h>
19361 #endif
19362 #ifdef HAVE_NET_IF_H
19363 # include <net/if.h>
19364 #endif
19366 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19368 cat >>confdefs.h <<_ACEOF
19369 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19370 _ACEOF
19376 ac_save_LIBS="$LIBS"
19377 LIBS="$LIBS -lm"
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19379 $as_echo_n "checking for isfinite... " >&6; }
19380 if ${ac_cv_have_isfinite+:} false; then :
19381 $as_echo_n "(cached) " >&6
19382 else
19383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19384 /* end confdefs.h. */
19385 #define _GNU_SOURCE
19386 #include <math.h>
19388 main ()
19390 float f = 0.0; return isfinite(f)
19392 return 0;
19394 _ACEOF
19395 if ac_fn_c_try_link "$LINENO"; then :
19396 ac_cv_have_isfinite="yes"
19397 else
19398 ac_cv_have_isfinite="no"
19400 rm -f core conftest.err conftest.$ac_objext \
19401 conftest$ac_exeext conftest.$ac_ext
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19404 $as_echo "$ac_cv_have_isfinite" >&6; }
19405 if test "$ac_cv_have_isfinite" = "yes"
19406 then
19408 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19413 $as_echo_n "checking for isinf... " >&6; }
19414 if ${ac_cv_have_isinf+:} false; then :
19415 $as_echo_n "(cached) " >&6
19416 else
19417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19418 /* end confdefs.h. */
19419 #include <math.h>
19421 main ()
19423 float f = 0.0; return isinf(f)
19425 return 0;
19427 _ACEOF
19428 if ac_fn_c_try_link "$LINENO"; then :
19429 ac_cv_have_isinf="yes"
19430 else
19431 ac_cv_have_isinf="no"
19433 rm -f core conftest.err conftest.$ac_objext \
19434 conftest$ac_exeext conftest.$ac_ext
19436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19437 $as_echo "$ac_cv_have_isinf" >&6; }
19438 if test "$ac_cv_have_isinf" = "yes"
19439 then
19441 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19446 $as_echo_n "checking for isnan... " >&6; }
19447 if ${ac_cv_have_isnan+:} false; then :
19448 $as_echo_n "(cached) " >&6
19449 else
19450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19451 /* end confdefs.h. */
19452 #include <math.h>
19454 main ()
19456 float f = 0.0; return isnan(f)
19458 return 0;
19460 _ACEOF
19461 if ac_fn_c_try_link "$LINENO"; then :
19462 ac_cv_have_isnan="yes"
19463 else
19464 ac_cv_have_isnan="no"
19466 rm -f core conftest.err conftest.$ac_objext \
19467 conftest$ac_exeext conftest.$ac_ext
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19470 $as_echo "$ac_cv_have_isnan" >&6; }
19471 if test "$ac_cv_have_isnan" = "yes"
19472 then
19474 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19478 for ac_func in \
19479 acosh \
19480 acoshf \
19481 asinh \
19482 asinhf \
19483 atanh \
19484 atanhf \
19485 cbrt \
19486 cbrtf \
19487 erf \
19488 erfc \
19489 erfcf \
19490 erff \
19491 exp2 \
19492 exp2f \
19493 expm1 \
19494 expm1f \
19495 fma \
19496 fmaf \
19497 ilogb \
19498 ilogbf \
19499 j0 \
19500 j1 \
19501 jn \
19502 lgamma \
19503 lgammaf \
19504 llrint \
19505 llrintf \
19506 llround \
19507 llroundf \
19508 log1p \
19509 log1pf \
19510 log2 \
19511 log2f \
19512 lrint \
19513 lrintf \
19514 lround \
19515 lroundf \
19516 nearbyint \
19517 nearbyintf \
19518 nexttoward \
19519 nexttowardf \
19520 powl \
19521 remainder \
19522 remainderf \
19523 remquo \
19524 remquof \
19525 rint \
19526 rintf \
19527 round \
19528 roundf \
19529 tgamma \
19530 tgammaf \
19531 trunc \
19532 truncf \
19533 y0 \
19534 y1 \
19537 do :
19538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19540 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19541 cat >>confdefs.h <<_ACEOF
19542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19543 _ACEOF
19546 done
19548 LIBS="$ac_save_LIBS"
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19551 $as_echo_n "checking for __builtin_popcount... " >&6; }
19552 if ${ac_cv_have___builtin_popcount+:} false; then :
19553 $as_echo_n "(cached) " >&6
19554 else
19555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19556 /* end confdefs.h. */
19559 main ()
19561 return __builtin_popcount(1)
19563 return 0;
19565 _ACEOF
19566 if ac_fn_c_try_link "$LINENO"; then :
19567 ac_cv_have___builtin_popcount="yes"
19568 else
19569 ac_cv_have___builtin_popcount="no"
19571 rm -f core conftest.err conftest.$ac_objext \
19572 conftest$ac_exeext conftest.$ac_ext
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19575 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19576 if test "$ac_cv_have___builtin_popcount" = "yes"
19577 then
19579 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19584 $as_echo_n "checking for __clear_cache... " >&6; }
19585 if ${ac_cv_have___clear_cache+:} false; then :
19586 $as_echo_n "(cached) " >&6
19587 else
19588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19589 /* end confdefs.h. */
19592 main ()
19594 __clear_cache((void*)0, (void*)0); return 0;
19596 return 0;
19598 _ACEOF
19599 if ac_fn_c_try_link "$LINENO"; then :
19600 ac_cv_have___clear_cache="yes"
19601 else
19602 ac_cv_have___clear_cache="no"
19604 rm -f core conftest.err conftest.$ac_objext \
19605 conftest$ac_exeext conftest.$ac_ext
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19608 $as_echo "$ac_cv_have___clear_cache" >&6; }
19609 if test "$ac_cv_have___clear_cache" = "yes"
19610 then
19612 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19617 case $host_cpu in
19618 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19619 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19620 if ${ac_cv_cpp_def___i386__+:} false; then :
19621 $as_echo_n "(cached) " >&6
19622 else
19623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19624 /* end confdefs.h. */
19625 #ifndef __i386__
19627 #endif
19628 _ACEOF
19629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19630 $EGREP "yes" >/dev/null 2>&1; then :
19631 ac_cv_cpp_def___i386__=yes
19632 else
19633 ac_cv_cpp_def___i386__=no
19635 rm -f conftest*
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19639 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19640 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19641 CFLAGS="$CFLAGS -D__i386__"
19642 LINTFLAGS="$LINTFLAGS -D__i386__"
19643 fi ;;
19644 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19645 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19646 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19647 $as_echo_n "(cached) " >&6
19648 else
19649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19650 /* end confdefs.h. */
19651 #ifndef __x86_64__
19653 #endif
19654 _ACEOF
19655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19656 $EGREP "yes" >/dev/null 2>&1; then :
19657 ac_cv_cpp_def___x86_64__=yes
19658 else
19659 ac_cv_cpp_def___x86_64__=no
19661 rm -f conftest*
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19665 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19666 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19667 CFLAGS="$CFLAGS -D__x86_64__"
19668 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19669 fi ;;
19670 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19671 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19672 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19673 $as_echo_n "(cached) " >&6
19674 else
19675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19676 /* end confdefs.h. */
19677 #ifndef __sparc64__
19679 #endif
19680 _ACEOF
19681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19682 $EGREP "yes" >/dev/null 2>&1; then :
19683 ac_cv_cpp_def___sparc64__=yes
19684 else
19685 ac_cv_cpp_def___sparc64__=no
19687 rm -f conftest*
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19691 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19692 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19693 CFLAGS="$CFLAGS -D__sparc64__"
19694 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19695 fi ;;
19696 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19697 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19698 if ${ac_cv_cpp_def___sparc__+:} false; then :
19699 $as_echo_n "(cached) " >&6
19700 else
19701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19702 /* end confdefs.h. */
19703 #ifndef __sparc__
19705 #endif
19706 _ACEOF
19707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19708 $EGREP "yes" >/dev/null 2>&1; then :
19709 ac_cv_cpp_def___sparc__=yes
19710 else
19711 ac_cv_cpp_def___sparc__=no
19713 rm -f conftest*
19716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19717 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19718 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19719 CFLAGS="$CFLAGS -D__sparc__"
19720 LINTFLAGS="$LINTFLAGS -D__sparc__"
19721 fi ;;
19722 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19723 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19724 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19725 $as_echo_n "(cached) " >&6
19726 else
19727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19728 /* end confdefs.h. */
19729 #ifndef __powerpc64__
19731 #endif
19732 _ACEOF
19733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19734 $EGREP "yes" >/dev/null 2>&1; then :
19735 ac_cv_cpp_def___powerpc64__=yes
19736 else
19737 ac_cv_cpp_def___powerpc64__=no
19739 rm -f conftest*
19742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19743 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19744 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19745 CFLAGS="$CFLAGS -D__powerpc64__"
19746 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19747 fi ;;
19748 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19749 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19750 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19751 $as_echo_n "(cached) " >&6
19752 else
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h. */
19755 #ifndef __powerpc__
19757 #endif
19758 _ACEOF
19759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19760 $EGREP "yes" >/dev/null 2>&1; then :
19761 ac_cv_cpp_def___powerpc__=yes
19762 else
19763 ac_cv_cpp_def___powerpc__=no
19765 rm -f conftest*
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19769 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19770 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19771 CFLAGS="$CFLAGS -D__powerpc__"
19772 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19773 fi ;;
19774 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19775 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19776 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19777 $as_echo_n "(cached) " >&6
19778 else
19779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19780 /* end confdefs.h. */
19781 #ifndef __aarch64__
19783 #endif
19784 _ACEOF
19785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19786 $EGREP "yes" >/dev/null 2>&1; then :
19787 ac_cv_cpp_def___aarch64__=yes
19788 else
19789 ac_cv_cpp_def___aarch64__=no
19791 rm -f conftest*
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19795 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19796 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19797 CFLAGS="$CFLAGS -D__aarch64__"
19798 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19799 fi ;;
19800 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19801 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19802 if ${ac_cv_cpp_def___arm__+:} false; then :
19803 $as_echo_n "(cached) " >&6
19804 else
19805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19806 /* end confdefs.h. */
19807 #ifndef __arm__
19809 #endif
19810 _ACEOF
19811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19812 $EGREP "yes" >/dev/null 2>&1; then :
19813 ac_cv_cpp_def___arm__=yes
19814 else
19815 ac_cv_cpp_def___arm__=no
19817 rm -f conftest*
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19821 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19822 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19823 CFLAGS="$CFLAGS -D__arm__"
19824 LINTFLAGS="$LINTFLAGS -D__arm__"
19825 fi ;;
19826 esac
19828 case $host_vendor in
19829 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19830 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19831 if ${ac_cv_cpp_def___sun__+:} false; then :
19832 $as_echo_n "(cached) " >&6
19833 else
19834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19835 /* end confdefs.h. */
19836 #ifndef __sun__
19838 #endif
19839 _ACEOF
19840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19841 $EGREP "yes" >/dev/null 2>&1; then :
19842 ac_cv_cpp_def___sun__=yes
19843 else
19844 ac_cv_cpp_def___sun__=no
19846 rm -f conftest*
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19850 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19851 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19852 CFLAGS="$CFLAGS -D__sun__"
19853 LINTFLAGS="$LINTFLAGS -D__sun__"
19854 fi ;;
19855 esac
19861 ac_config_commands="$ac_config_commands include/stamp-h"
19863 $as_echo_n "creating Makefile rules..." >&6
19865 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19866 OPENGL_LIBS = $OPENGL_LIBS
19867 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19868 IOKIT_LIBS = $IOKIT_LIBS
19869 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19870 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19871 CORESERVICES_LIBS = $CORESERVICES_LIBS
19872 APPKIT_LIBS = $APPKIT_LIBS
19873 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19874 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19875 SECURITY_LIBS = $SECURITY_LIBS
19876 COREAUDIO_LIBS = $COREAUDIO_LIBS
19877 OPENAL_LIBS = $OPENAL_LIBS
19878 OPENCL_LIBS = $OPENCL_LIBS
19879 QUICKTIME_LIBS = $QUICKTIME_LIBS
19880 CARBON_LIBS = $CARBON_LIBS
19881 METAL_LIBS = $METAL_LIBS
19882 PTHREAD_LIBS = $PTHREAD_LIBS
19883 X_CFLAGS = $X_CFLAGS
19884 X_PRE_LIBS = $X_PRE_LIBS
19885 X_LIBS = $X_LIBS
19886 X_EXTRA_LIBS = $X_EXTRA_LIBS
19887 PCAP_LIBS = $PCAP_LIBS
19888 XML2_CFLAGS = $XML2_CFLAGS
19889 XML2_LIBS = $XML2_LIBS
19890 XSLT_CFLAGS = $XSLT_CFLAGS
19891 XSLT_LIBS = $XSLT_LIBS
19892 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19893 INOTIFY_LIBS = $INOTIFY_LIBS
19894 DBUS_CFLAGS = $DBUS_CFLAGS
19895 DBUS_LIBS = $DBUS_LIBS
19896 HAL_CFLAGS = $HAL_CFLAGS
19897 HAL_LIBS = $HAL_LIBS
19898 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19899 GNUTLS_LIBS = $GNUTLS_LIBS
19900 SANE_CFLAGS = $SANE_CFLAGS
19901 SANE_LIBS = $SANE_LIBS
19902 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19903 GPHOTO2_LIBS = $GPHOTO2_LIBS
19904 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19905 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19906 RESOLV_LIBS = $RESOLV_LIBS
19907 LCMS2_CFLAGS = $LCMS2_CFLAGS
19908 LCMS2_LIBS = $LCMS2_LIBS
19909 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19910 FREETYPE_LIBS = $FREETYPE_LIBS
19911 Z_CFLAGS = $Z_CFLAGS
19912 Z_LIBS = $Z_LIBS
19913 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19914 PULSE_CFLAGS = $PULSE_CFLAGS
19915 PULSE_LIBS = $PULSE_LIBS
19916 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19917 GSTREAMER_LIBS = $GSTREAMER_LIBS
19918 ALSA_LIBS = $ALSA_LIBS
19919 OSS4_CFLAGS = $OSS4_CFLAGS
19920 OSS4_LIBS = $OSS4_LIBS
19921 UDEV_CFLAGS = $UDEV_CFLAGS
19922 UDEV_LIBS = $UDEV_LIBS
19923 UNWIND_CFLAGS = $UNWIND_CFLAGS
19924 UNWIND_LIBS = $UNWIND_LIBS
19925 SDL2_CFLAGS = $SDL2_CFLAGS
19926 SDL2_LIBS = $SDL2_LIBS
19927 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19928 FAUDIO_LIBS = $FAUDIO_LIBS
19929 CAPI20_CFLAGS = $CAPI20_CFLAGS
19930 CAPI20_LIBS = $CAPI20_LIBS
19931 CUPS_CFLAGS = $CUPS_CFLAGS
19932 CUPS_LIBS = $CUPS_LIBS
19933 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19934 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19935 KRB5_CFLAGS = $KRB5_CFLAGS
19936 KRB5_LIBS = $KRB5_LIBS
19937 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19938 GSSAPI_LIBS = $GSSAPI_LIBS
19939 JPEG_CFLAGS = $JPEG_CFLAGS
19940 JPEG_LIBS = $JPEG_LIBS
19941 PNG_CFLAGS = $PNG_CFLAGS
19942 PNG_LIBS = $PNG_LIBS
19943 TIFF_CFLAGS = $TIFF_CFLAGS
19944 TIFF_LIBS = $TIFF_LIBS
19945 MPG123_CFLAGS = $MPG123_CFLAGS
19946 MPG123_LIBS = $MPG123_LIBS
19947 KSTAT_LIBS = $KSTAT_LIBS
19948 PROCSTAT_LIBS = $PROCSTAT_LIBS
19949 NETAPI_CFLAGS = $NETAPI_CFLAGS
19950 NETAPI_LIBS = $NETAPI_LIBS
19951 VKD3D_CFLAGS = $VKD3D_CFLAGS
19952 VKD3D_LIBS = $VKD3D_LIBS
19953 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19954 DL_LIBS = $DL_LIBS
19955 POLL_LIBS = $POLL_LIBS
19956 RT_LIBS = $RT_LIBS
19957 LDAP_CFLAGS = $LDAP_CFLAGS
19958 LDAP_LIBS = $LDAP_LIBS
19963 wine_fn_append_rule "
19964 # Rules automatically generated by configure
19966 .INIT: Makefile
19967 .MAKEFILEDEPS:
19968 all: Makefile
19969 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19970 @./config.status Make.tmp Makefile
19971 depend: \$(MAKEDEP) dummy
19972 \$(MAKEDEP)"
19974 ac_config_links="$ac_config_links wine:tools/winewrapper"
19975 wine_fn_config_symlink wine
19976 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19977 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19978 wine_fn_config_symlink wine64
19981 wine_fn_config_makefile dlls/acledit enable_acledit
19982 wine_fn_config_makefile dlls/aclui enable_aclui
19983 wine_fn_config_makefile dlls/activeds enable_activeds
19984 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19985 wine_fn_config_makefile dlls/adsiid enable_adsiid
19986 wine_fn_config_makefile dlls/adsldp enable_adsldp
19987 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19988 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19989 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19990 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19991 wine_fn_config_makefile dlls/advpack enable_advpack
19992 wine_fn_config_makefile dlls/advpack/tests enable_tests
19993 wine_fn_config_makefile dlls/amsi enable_amsi
19994 wine_fn_config_makefile dlls/amstream enable_amstream
19995 wine_fn_config_makefile dlls/amstream/tests enable_tests
19996 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19998 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19999 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20001 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20006 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20014 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20016 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20018 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20020 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20021 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20022 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20024 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20027 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20028 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20030 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20031 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20040 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20044 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20045 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20048 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20050 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20051 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20054 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20062 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20063 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20070 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20074 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20075 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20076 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20098 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20102 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20105 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20115 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20120 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20121 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20126 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20128 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20147 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20148 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20167 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20178 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20182 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20184 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20186 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20187 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20192 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20194 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20200 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20203 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20205 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20207 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20211 wine_fn_config_makefile dlls/apphelp enable_apphelp
20212 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20213 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20214 wine_fn_config_makefile dlls/atl enable_atl
20215 wine_fn_config_makefile dlls/atl/tests enable_tests
20216 wine_fn_config_makefile dlls/atl100 enable_atl100
20217 wine_fn_config_makefile dlls/atl100/tests enable_tests
20218 wine_fn_config_makefile dlls/atl110 enable_atl110
20219 wine_fn_config_makefile dlls/atl80 enable_atl80
20220 wine_fn_config_makefile dlls/atl80/tests enable_tests
20221 wine_fn_config_makefile dlls/atl90 enable_atl90
20222 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20223 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20224 wine_fn_config_makefile dlls/atmlib enable_atmlib
20225 wine_fn_config_makefile dlls/authz enable_authz
20226 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20227 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20228 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20229 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20230 wine_fn_config_makefile dlls/avrt enable_avrt
20231 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20232 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20233 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20234 wine_fn_config_makefile dlls/browseui enable_browseui
20235 wine_fn_config_makefile dlls/browseui/tests enable_tests
20236 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20237 wine_fn_config_makefile dlls/cabinet enable_cabinet
20238 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20239 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20240 wine_fn_config_makefile dlls/cards enable_cards
20241 wine_fn_config_makefile dlls/cdosys enable_cdosys
20242 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20243 wine_fn_config_makefile dlls/clusapi enable_clusapi
20244 wine_fn_config_makefile dlls/combase enable_combase
20245 wine_fn_config_makefile dlls/combase/tests enable_tests
20246 wine_fn_config_makefile dlls/comcat enable_comcat
20247 wine_fn_config_makefile dlls/comcat/tests enable_tests
20248 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20249 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20250 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20251 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20252 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20253 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20254 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20255 wine_fn_config_makefile dlls/compstui enable_compstui
20256 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20257 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20258 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20259 wine_fn_config_makefile dlls/connect enable_connect
20260 wine_fn_config_makefile dlls/credui enable_credui
20261 wine_fn_config_makefile dlls/credui/tests enable_tests
20262 wine_fn_config_makefile dlls/crtdll enable_crtdll
20263 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20264 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20265 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20266 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20267 wine_fn_config_makefile dlls/cryptext enable_cryptext
20268 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20269 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20270 wine_fn_config_makefile dlls/cryptui enable_cryptui
20271 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20272 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20273 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20274 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20275 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20276 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20277 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20278 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20279 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20280 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20281 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20282 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20283 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20284 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20285 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20286 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20287 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20288 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20289 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20290 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20291 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20292 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20293 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20294 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20295 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20296 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20297 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20298 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20299 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20300 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20301 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20302 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20303 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20304 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20305 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20306 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20307 wine_fn_config_makefile dlls/d3dim enable_d3dim
20308 wine_fn_config_makefile dlls/d3drm enable_d3drm
20309 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20310 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20311 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20312 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20313 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20314 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20315 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20316 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20317 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20318 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20319 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20320 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20321 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20322 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20323 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20324 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20325 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20326 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20327 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20328 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20329 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20330 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20331 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20332 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20333 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20334 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20335 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20336 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20337 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20338 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20339 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20340 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20341 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20342 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20343 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20344 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20345 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20346 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20347 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20348 wine_fn_config_makefile dlls/davclnt enable_davclnt
20349 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20350 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20351 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20352 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20353 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20354 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20355 wine_fn_config_makefile dlls/ddraw enable_ddraw
20356 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20357 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20358 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20359 wine_fn_config_makefile dlls/devenum enable_devenum
20360 wine_fn_config_makefile dlls/devenum/tests enable_tests
20361 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20362 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20363 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20364 wine_fn_config_makefile dlls/difxapi enable_difxapi
20365 wine_fn_config_makefile dlls/dinput enable_dinput
20366 wine_fn_config_makefile dlls/dinput/tests enable_tests
20367 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20368 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20369 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20370 wine_fn_config_makefile dlls/dispex enable_dispex
20371 wine_fn_config_makefile dlls/dispex/tests enable_tests
20372 wine_fn_config_makefile dlls/display.drv16 enable_win16
20373 wine_fn_config_makefile dlls/dmband enable_dmband
20374 wine_fn_config_makefile dlls/dmband/tests enable_tests
20375 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20376 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20377 wine_fn_config_makefile dlls/dmime enable_dmime
20378 wine_fn_config_makefile dlls/dmime/tests enable_tests
20379 wine_fn_config_makefile dlls/dmloader enable_dmloader
20380 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20381 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20382 wine_fn_config_makefile dlls/dmscript enable_dmscript
20383 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20384 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20385 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20386 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20387 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20388 wine_fn_config_makefile dlls/dmusic enable_dmusic
20389 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20390 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20391 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20392 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20393 wine_fn_config_makefile dlls/dplay enable_dplay
20394 wine_fn_config_makefile dlls/dplayx enable_dplayx
20395 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20396 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20397 wine_fn_config_makefile dlls/dpnet enable_dpnet
20398 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20399 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20400 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20401 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20402 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20403 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20404 wine_fn_config_makefile dlls/drmclien enable_drmclien
20405 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20406 wine_fn_config_makefile dlls/dsound enable_dsound
20407 wine_fn_config_makefile dlls/dsound/tests enable_tests
20408 wine_fn_config_makefile dlls/dsquery enable_dsquery
20409 wine_fn_config_makefile dlls/dssenh enable_dssenh
20410 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20411 wine_fn_config_makefile dlls/dswave enable_dswave
20412 wine_fn_config_makefile dlls/dswave/tests enable_tests
20413 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20414 wine_fn_config_makefile dlls/dwrite enable_dwrite
20415 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20416 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20417 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20418 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20419 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20420 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20421 wine_fn_config_makefile dlls/dxgi enable_dxgi
20422 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20423 wine_fn_config_makefile dlls/dxguid enable_dxguid
20424 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20425 wine_fn_config_makefile dlls/esent enable_esent
20426 wine_fn_config_makefile dlls/evr enable_evr
20427 wine_fn_config_makefile dlls/evr/tests enable_tests
20428 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20429 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20430 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20431 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20432 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20433 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20434 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20435 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20436 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20437 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20438 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20439 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20440 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20441 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20442 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20443 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20444 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20445 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20446 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20447 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20448 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20449 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20450 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20451 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20452 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20453 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20454 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20455 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20456 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20457 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20458 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20459 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20460 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20461 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20462 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20463 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20464 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20465 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20466 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20467 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20468 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20469 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20470 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
20471 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20472 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20473 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20474 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20475 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20476 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20477 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20478 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20479 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20480 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20481 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20482 wine_fn_config_makefile dlls/faultrep enable_faultrep
20483 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20484 wine_fn_config_makefile dlls/feclient enable_feclient
20485 wine_fn_config_makefile dlls/fltlib enable_fltlib
20486 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20487 wine_fn_config_makefile dlls/fntcache enable_fntcache
20488 wine_fn_config_makefile dlls/fontsub enable_fontsub
20489 wine_fn_config_makefile dlls/fusion enable_fusion
20490 wine_fn_config_makefile dlls/fusion/tests enable_tests
20491 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20492 wine_fn_config_makefile dlls/gameux enable_gameux
20493 wine_fn_config_makefile dlls/gameux/tests enable_tests
20494 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20495 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20496 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20497 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20498 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20499 wine_fn_config_makefile dlls/glu32 enable_glu32
20500 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20501 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20502 wine_fn_config_makefile dlls/hal enable_hal
20503 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20504 wine_fn_config_makefile dlls/hid enable_hid
20505 wine_fn_config_makefile dlls/hid/tests enable_tests
20506 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20507 wine_fn_config_makefile dlls/hlink enable_hlink
20508 wine_fn_config_makefile dlls/hlink/tests enable_tests
20509 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20510 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20511 wine_fn_config_makefile dlls/http.sys enable_http_sys
20512 wine_fn_config_makefile dlls/httpapi enable_httpapi
20513 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20514 wine_fn_config_makefile dlls/iccvid enable_iccvid
20515 wine_fn_config_makefile dlls/icmp enable_icmp
20516 wine_fn_config_makefile dlls/ieframe enable_ieframe
20517 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20518 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20519 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20520 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20521 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20522 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20523 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20524 wine_fn_config_makefile dlls/imm32 enable_imm32
20525 wine_fn_config_makefile dlls/imm32/tests enable_tests
20526 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20527 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20528 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20529 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20530 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20531 wine_fn_config_makefile dlls/infosoft enable_infosoft
20532 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20533 wine_fn_config_makefile dlls/initpki enable_initpki
20534 wine_fn_config_makefile dlls/inkobj enable_inkobj
20535 wine_fn_config_makefile dlls/inseng enable_inseng
20536 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20537 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20538 wine_fn_config_makefile dlls/iprop enable_iprop
20539 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20540 wine_fn_config_makefile dlls/itircl enable_itircl
20541 wine_fn_config_makefile dlls/itss enable_itss
20542 wine_fn_config_makefile dlls/itss/tests enable_tests
20543 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20544 wine_fn_config_makefile dlls/jscript enable_jscript
20545 wine_fn_config_makefile dlls/jscript/tests enable_tests
20546 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20547 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20548 wine_fn_config_makefile dlls/kerberos enable_kerberos
20549 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20550 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20551 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20552 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20553 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20554 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20555 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20556 wine_fn_config_makefile dlls/ksuser enable_ksuser
20557 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20558 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20559 wine_fn_config_makefile dlls/loadperf enable_loadperf
20560 wine_fn_config_makefile dlls/localspl enable_localspl
20561 wine_fn_config_makefile dlls/localspl/tests enable_tests
20562 wine_fn_config_makefile dlls/localui enable_localui
20563 wine_fn_config_makefile dlls/localui/tests enable_tests
20564 wine_fn_config_makefile dlls/lz32 enable_lz32
20565 wine_fn_config_makefile dlls/lz32/tests enable_tests
20566 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20567 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20568 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20569 wine_fn_config_makefile dlls/mapistub enable_mapistub
20570 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20571 wine_fn_config_makefile dlls/mcicda enable_mcicda
20572 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20573 wine_fn_config_makefile dlls/mciseq enable_mciseq
20574 wine_fn_config_makefile dlls/mciwave enable_mciwave
20575 wine_fn_config_makefile dlls/mf enable_mf
20576 wine_fn_config_makefile dlls/mf/tests enable_tests
20577 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20578 wine_fn_config_makefile dlls/mferror enable_mferror
20579 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20580 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20581 wine_fn_config_makefile dlls/mfplat enable_mfplat
20582 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20583 wine_fn_config_makefile dlls/mfplay enable_mfplay
20584 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20585 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20586 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20587 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20588 wine_fn_config_makefile dlls/midimap enable_midimap
20589 wine_fn_config_makefile dlls/mlang enable_mlang
20590 wine_fn_config_makefile dlls/mlang/tests enable_tests
20591 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20592 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20593 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20594 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20595 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20596 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20597 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20598 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20599 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20600 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20601 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20602 wine_fn_config_makefile dlls/mpr enable_mpr
20603 wine_fn_config_makefile dlls/mpr/tests enable_tests
20604 wine_fn_config_makefile dlls/mprapi enable_mprapi
20605 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20606 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20607 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20608 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20609 wine_fn_config_makefile dlls/msado15 enable_msado15
20610 wine_fn_config_makefile dlls/msado15/tests enable_tests
20611 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20612 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20613 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20614 wine_fn_config_makefile dlls/mscms enable_mscms
20615 wine_fn_config_makefile dlls/mscms/tests enable_tests
20616 wine_fn_config_makefile dlls/mscoree enable_mscoree
20617 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20618 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20619 wine_fn_config_makefile dlls/msctf enable_msctf
20620 wine_fn_config_makefile dlls/msctf/tests enable_tests
20621 wine_fn_config_makefile dlls/msctfp enable_msctfp
20622 wine_fn_config_makefile dlls/msdaps enable_msdaps
20623 wine_fn_config_makefile dlls/msdelta enable_msdelta
20624 wine_fn_config_makefile dlls/msdmo enable_msdmo
20625 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20626 wine_fn_config_makefile dlls/msdrm enable_msdrm
20627 wine_fn_config_makefile dlls/msftedit enable_msftedit
20628 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20629 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20630 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20631 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20632 wine_fn_config_makefile dlls/mshtml enable_mshtml
20633 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20634 wine_fn_config_makefile dlls/msi enable_msi
20635 wine_fn_config_makefile dlls/msi/tests enable_tests
20636 wine_fn_config_makefile dlls/msident enable_msident
20637 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20638 wine_fn_config_makefile dlls/msimsg enable_msimsg
20639 wine_fn_config_makefile dlls/msimtf enable_msimtf
20640 wine_fn_config_makefile dlls/msisip enable_msisip
20641 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20642 wine_fn_config_makefile dlls/msls31 enable_msls31
20643 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20644 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20645 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20646 wine_fn_config_makefile dlls/msports enable_msports
20647 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20648 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20649 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20650 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20651 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20652 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20653 wine_fn_config_makefile dlls/mstask enable_mstask
20654 wine_fn_config_makefile dlls/mstask/tests enable_tests
20655 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20656 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20657 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20658 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20659 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20660 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20661 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20662 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20663 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20664 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20665 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20666 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20667 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20668 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20669 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20670 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20671 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20672 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20673 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20674 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20675 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20676 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20677 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20678 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20679 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20680 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20681 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20682 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20683 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20684 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20685 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20686 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20687 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20688 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20689 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20690 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20691 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20692 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20693 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20694 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20695 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20696 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20697 wine_fn_config_makefile dlls/mswsock enable_mswsock
20698 wine_fn_config_makefile dlls/msxml enable_msxml
20699 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20700 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20701 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20702 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20703 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20704 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20705 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20706 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20707 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20708 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20709 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20710 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20711 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20712 wine_fn_config_makefile dlls/netprofm enable_netprofm
20713 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20714 wine_fn_config_makefile dlls/newdev enable_newdev
20715 wine_fn_config_makefile dlls/ninput enable_ninput
20716 wine_fn_config_makefile dlls/ninput/tests enable_tests
20717 wine_fn_config_makefile dlls/normaliz enable_normaliz
20718 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20719 wine_fn_config_makefile dlls/npptools enable_npptools
20720 wine_fn_config_makefile dlls/ntdll enable_ntdll
20721 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20722 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20723 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20724 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20725 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20726 wine_fn_config_makefile dlls/ntprint enable_ntprint
20727 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20728 wine_fn_config_makefile dlls/objsel enable_objsel
20729 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20730 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20731 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20732 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20733 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20734 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20735 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20736 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20737 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20738 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20739 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20740 wine_fn_config_makefile dlls/ole32 enable_ole32
20741 wine_fn_config_makefile dlls/ole32/tests enable_tests
20742 wine_fn_config_makefile dlls/oleacc enable_oleacc
20743 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20744 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20745 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20746 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20747 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20748 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20749 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20750 wine_fn_config_makefile dlls/oledlg enable_oledlg
20751 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20752 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20753 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20754 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20755 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20756 wine_fn_config_makefile dlls/opcservices enable_opcservices
20757 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20758 wine_fn_config_makefile dlls/openal32 enable_openal32
20759 wine_fn_config_makefile dlls/opencl enable_opencl
20760 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20761 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20762 wine_fn_config_makefile dlls/packager enable_packager
20763 wine_fn_config_makefile dlls/packager/tests enable_tests
20764 wine_fn_config_makefile dlls/pdh enable_pdh
20765 wine_fn_config_makefile dlls/pdh/tests enable_tests
20766 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20767 wine_fn_config_makefile dlls/pidgen enable_pidgen
20768 wine_fn_config_makefile dlls/powrprof enable_powrprof
20769 wine_fn_config_makefile dlls/printui enable_printui
20770 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20771 wine_fn_config_makefile dlls/propsys enable_propsys
20772 wine_fn_config_makefile dlls/propsys/tests enable_tests
20773 wine_fn_config_makefile dlls/psapi enable_psapi
20774 wine_fn_config_makefile dlls/psapi/tests enable_tests
20775 wine_fn_config_makefile dlls/pstorec enable_pstorec
20776 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20777 wine_fn_config_makefile dlls/qcap enable_qcap
20778 wine_fn_config_makefile dlls/qcap/tests enable_tests
20779 wine_fn_config_makefile dlls/qedit enable_qedit
20780 wine_fn_config_makefile dlls/qedit/tests enable_tests
20781 wine_fn_config_makefile dlls/qmgr enable_qmgr
20782 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20783 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20784 wine_fn_config_makefile dlls/quartz enable_quartz
20785 wine_fn_config_makefile dlls/quartz/tests enable_tests
20786 wine_fn_config_makefile dlls/query enable_query
20787 wine_fn_config_makefile dlls/qwave enable_qwave
20788 wine_fn_config_makefile dlls/qwave/tests enable_tests
20789 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20790 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20791 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20792 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20793 wine_fn_config_makefile dlls/regapi enable_regapi
20794 wine_fn_config_makefile dlls/resutils enable_resutils
20795 wine_fn_config_makefile dlls/riched20 enable_riched20
20796 wine_fn_config_makefile dlls/riched20/tests enable_tests
20797 wine_fn_config_makefile dlls/riched32 enable_riched32
20798 wine_fn_config_makefile dlls/riched32/tests enable_tests
20799 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20800 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20801 wine_fn_config_makefile dlls/rsabase enable_rsabase
20802 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20803 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20804 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20805 wine_fn_config_makefile dlls/rtutils enable_rtutils
20806 wine_fn_config_makefile dlls/samlib enable_samlib
20807 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20808 wine_fn_config_makefile dlls/sapi enable_sapi
20809 wine_fn_config_makefile dlls/sapi/tests enable_tests
20810 wine_fn_config_makefile dlls/sas enable_sas
20811 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20812 wine_fn_config_makefile dlls/sccbase enable_sccbase
20813 wine_fn_config_makefile dlls/schannel enable_schannel
20814 wine_fn_config_makefile dlls/schannel/tests enable_tests
20815 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20816 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20817 wine_fn_config_makefile dlls/scrobj enable_scrobj
20818 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20819 wine_fn_config_makefile dlls/scrrun enable_scrrun
20820 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20821 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20822 wine_fn_config_makefile dlls/secur32 enable_secur32
20823 wine_fn_config_makefile dlls/secur32/tests enable_tests
20824 wine_fn_config_makefile dlls/security enable_security
20825 wine_fn_config_makefile dlls/sensapi enable_sensapi
20826 wine_fn_config_makefile dlls/serialui enable_serialui
20827 wine_fn_config_makefile dlls/serialui/tests enable_tests
20828 wine_fn_config_makefile dlls/setupapi enable_setupapi
20829 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20830 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20831 wine_fn_config_makefile dlls/sfc enable_sfc
20832 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20833 wine_fn_config_makefile dlls/shcore enable_shcore
20834 wine_fn_config_makefile dlls/shcore/tests enable_tests
20835 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20836 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20837 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20838 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20839 wine_fn_config_makefile dlls/shell32 enable_shell32
20840 wine_fn_config_makefile dlls/shell32/tests enable_tests
20841 wine_fn_config_makefile dlls/shfolder enable_shfolder
20842 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20843 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20844 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20845 wine_fn_config_makefile dlls/slc enable_slc
20846 wine_fn_config_makefile dlls/slc/tests enable_tests
20847 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20848 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20849 wine_fn_config_makefile dlls/softpub enable_softpub
20850 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20851 wine_fn_config_makefile dlls/spoolss enable_spoolss
20852 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20853 wine_fn_config_makefile dlls/srclient enable_srclient
20854 wine_fn_config_makefile dlls/sspicli enable_sspicli
20855 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20856 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20857 wine_fn_config_makefile dlls/sti enable_sti
20858 wine_fn_config_makefile dlls/sti/tests enable_tests
20859 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20860 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20861 wine_fn_config_makefile dlls/strmbase enable_strmbase
20862 wine_fn_config_makefile dlls/strmdll enable_strmdll
20863 wine_fn_config_makefile dlls/strmiids enable_strmiids
20864 wine_fn_config_makefile dlls/svrapi enable_svrapi
20865 wine_fn_config_makefile dlls/sxs enable_sxs
20866 wine_fn_config_makefile dlls/sxs/tests enable_tests
20867 wine_fn_config_makefile dlls/system.drv16 enable_win16
20868 wine_fn_config_makefile dlls/t2embed enable_t2embed
20869 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20870 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20871 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20872 wine_fn_config_makefile dlls/taskschd enable_taskschd
20873 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20874 wine_fn_config_makefile dlls/tdh enable_tdh
20875 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20876 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20877 wine_fn_config_makefile dlls/traffic enable_traffic
20878 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20879 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20880 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20881 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20882 wine_fn_config_makefile dlls/tzres enable_tzres
20883 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20884 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20885 wine_fn_config_makefile dlls/uianimation enable_uianimation
20886 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20887 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20888 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20889 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20890 wine_fn_config_makefile dlls/unicows enable_unicows
20891 wine_fn_config_makefile dlls/updspapi enable_updspapi
20892 wine_fn_config_makefile dlls/url enable_url
20893 wine_fn_config_makefile dlls/urlmon enable_urlmon
20894 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20895 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20896 wine_fn_config_makefile dlls/user.exe16 enable_win16
20897 wine_fn_config_makefile dlls/user32 enable_user32
20898 wine_fn_config_makefile dlls/user32/tests enable_tests
20899 wine_fn_config_makefile dlls/userenv enable_userenv
20900 wine_fn_config_makefile dlls/userenv/tests enable_tests
20901 wine_fn_config_makefile dlls/usp10 enable_usp10
20902 wine_fn_config_makefile dlls/usp10/tests enable_tests
20903 wine_fn_config_makefile dlls/utildll enable_utildll
20904 wine_fn_config_makefile dlls/uuid enable_uuid
20905 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20906 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20907 wine_fn_config_makefile dlls/vbscript enable_vbscript
20908 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20909 wine_fn_config_makefile dlls/vcomp enable_vcomp
20910 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20911 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20912 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20913 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20914 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20915 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20916 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20917 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20918 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20919 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20920 wine_fn_config_makefile dlls/version enable_version
20921 wine_fn_config_makefile dlls/version/tests enable_tests
20922 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20923 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20924 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20925 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20926 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20927 wine_fn_config_makefile dlls/vssapi enable_vssapi
20928 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20929 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20930 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20931 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20932 wine_fn_config_makefile dlls/w32skrnl enable_win16
20933 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20934 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20935 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20936 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20937 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20938 wine_fn_config_makefile dlls/wdscore enable_wdscore
20939 wine_fn_config_makefile dlls/webservices enable_webservices
20940 wine_fn_config_makefile dlls/webservices/tests enable_tests
20941 wine_fn_config_makefile dlls/wer enable_wer
20942 wine_fn_config_makefile dlls/wer/tests enable_tests
20943 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20944 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20945 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20946 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20947 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20948 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20949 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20950 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20951 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20952 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20953 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20954 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20955 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20956 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20957 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20958 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20959 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20960 wine_fn_config_makefile dlls/wined3d enable_wined3d
20961 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20962 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20963 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20964 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20965 wine_fn_config_makefile dlls/winemapi enable_winemapi
20966 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20967 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20968 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20969 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20970 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20971 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20972 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20973 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20974 wine_fn_config_makefile dlls/wing32 enable_wing32
20975 wine_fn_config_makefile dlls/winhttp enable_winhttp
20976 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20977 wine_fn_config_makefile dlls/wininet enable_wininet
20978 wine_fn_config_makefile dlls/wininet/tests enable_tests
20979 wine_fn_config_makefile dlls/winmm enable_winmm
20980 wine_fn_config_makefile dlls/winmm/tests enable_tests
20981 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20982 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20983 wine_fn_config_makefile dlls/winscard enable_winscard
20984 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20985 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20986 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20987 wine_fn_config_makefile dlls/winsta enable_winsta
20988 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20989 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20990 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20991 wine_fn_config_makefile dlls/wintrust enable_wintrust
20992 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20993 wine_fn_config_makefile dlls/winusb enable_winusb
20994 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20995 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20996 wine_fn_config_makefile dlls/wlanui enable_wlanui
20997 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20998 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20999 wine_fn_config_makefile dlls/wmasf enable_wmasf
21000 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21001 wine_fn_config_makefile dlls/wmi enable_wmi
21002 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21003 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21004 wine_fn_config_makefile dlls/wmp enable_wmp
21005 wine_fn_config_makefile dlls/wmp/tests enable_tests
21006 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21007 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21008 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21009 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21010 wine_fn_config_makefile dlls/wow32 enable_win16
21011 wine_fn_config_makefile dlls/wpc enable_wpc
21012 wine_fn_config_makefile dlls/wpc/tests enable_tests
21013 wine_fn_config_makefile dlls/wpcap enable_wpcap
21014 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21015 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21016 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21017 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21018 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21019 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21020 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21021 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21022 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21023 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21024 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21025 wine_fn_config_makefile dlls/wuapi enable_wuapi
21026 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21027 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21028 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21029 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21030 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21031 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21032 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21033 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21034 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21035 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21036 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21037 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21038 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21039 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21040 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21041 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21042 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21043 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21044 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21045 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21046 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21047 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21048 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21049 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21050 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21051 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21052 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21053 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21054 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21055 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21056 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21057 wine_fn_config_makefile dlls/xmllite enable_xmllite
21058 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21059 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21060 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21061 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21062 wine_fn_config_makefile fonts enable_fonts
21063 wine_fn_config_makefile include enable_include
21064 wine_fn_config_makefile libs/port enable_port
21065 wine_fn_config_makefile libs/wine enable_wine
21066 wine_fn_config_makefile libs/wpp enable_wpp
21067 wine_fn_config_makefile loader enable_loader
21068 wine_fn_config_makefile po enable_po
21069 wine_fn_config_makefile programs/arp enable_arp
21070 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21071 wine_fn_config_makefile programs/attrib enable_attrib
21072 wine_fn_config_makefile programs/cabarc enable_cabarc
21073 wine_fn_config_makefile programs/cacls enable_cacls
21074 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21075 wine_fn_config_makefile programs/clock enable_clock
21076 wine_fn_config_makefile programs/cmd enable_cmd
21077 wine_fn_config_makefile programs/cmd/tests enable_tests
21078 wine_fn_config_makefile programs/conhost enable_conhost
21079 wine_fn_config_makefile programs/control enable_control
21080 wine_fn_config_makefile programs/cscript enable_cscript
21081 wine_fn_config_makefile programs/dism enable_dism
21082 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21083 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21084 wine_fn_config_makefile programs/eject enable_eject
21085 wine_fn_config_makefile programs/expand enable_expand
21086 wine_fn_config_makefile programs/explorer enable_explorer
21087 wine_fn_config_makefile programs/extrac32 enable_extrac32
21088 wine_fn_config_makefile programs/fc enable_fc
21089 wine_fn_config_makefile programs/find enable_find
21090 wine_fn_config_makefile programs/find/tests enable_tests
21091 wine_fn_config_makefile programs/findstr enable_findstr
21092 wine_fn_config_makefile programs/fsutil enable_fsutil
21093 wine_fn_config_makefile programs/hh enable_hh
21094 wine_fn_config_makefile programs/hostname enable_hostname
21095 wine_fn_config_makefile programs/icacls enable_icacls
21096 wine_fn_config_makefile programs/icinfo enable_icinfo
21097 wine_fn_config_makefile programs/iexplore enable_iexplore
21098 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21099 wine_fn_config_makefile programs/lodctr enable_lodctr
21100 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21101 wine_fn_config_makefile programs/mshta enable_mshta
21102 wine_fn_config_makefile programs/msidb enable_msidb
21103 wine_fn_config_makefile programs/msiexec enable_msiexec
21104 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21105 wine_fn_config_makefile programs/net enable_net
21106 wine_fn_config_makefile programs/netsh enable_netsh
21107 wine_fn_config_makefile programs/netstat enable_netstat
21108 wine_fn_config_makefile programs/ngen enable_ngen
21109 wine_fn_config_makefile programs/notepad enable_notepad
21110 wine_fn_config_makefile programs/oleview enable_oleview
21111 wine_fn_config_makefile programs/ping enable_ping
21112 wine_fn_config_makefile programs/plugplay enable_plugplay
21113 wine_fn_config_makefile programs/powershell enable_powershell
21114 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21115 wine_fn_config_makefile programs/progman enable_progman
21116 wine_fn_config_makefile programs/reg enable_reg
21117 wine_fn_config_makefile programs/reg/tests enable_tests
21118 wine_fn_config_makefile programs/regasm enable_regasm
21119 wine_fn_config_makefile programs/regedit enable_regedit
21120 wine_fn_config_makefile programs/regedit/tests enable_tests
21121 wine_fn_config_makefile programs/regini enable_regini
21122 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21123 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21124 wine_fn_config_makefile programs/rpcss enable_rpcss
21125 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21126 wine_fn_config_makefile programs/rundll32 enable_rundll32
21127 wine_fn_config_makefile programs/sc enable_sc
21128 wine_fn_config_makefile programs/schtasks enable_schtasks
21129 wine_fn_config_makefile programs/schtasks/tests enable_tests
21130 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21131 wine_fn_config_makefile programs/secedit enable_secedit
21132 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21133 wine_fn_config_makefile programs/services enable_services
21134 wine_fn_config_makefile programs/services/tests enable_tests
21135 wine_fn_config_makefile programs/shutdown enable_shutdown
21136 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21137 wine_fn_config_makefile programs/start enable_start
21138 wine_fn_config_makefile programs/subst enable_subst
21139 wine_fn_config_makefile programs/svchost enable_svchost
21140 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21141 wine_fn_config_makefile programs/taskkill enable_taskkill
21142 wine_fn_config_makefile programs/tasklist enable_tasklist
21143 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21144 wine_fn_config_makefile programs/termsv enable_termsv
21145 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21146 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21147 wine_fn_config_makefile programs/view enable_view
21148 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21149 wine_fn_config_makefile programs/wineboot enable_wineboot
21150 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21151 wine_fn_config_makefile programs/winecfg enable_winecfg
21152 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21153 wine_fn_config_makefile programs/winedbg enable_winedbg
21154 wine_fn_config_makefile programs/winedevice enable_winedevice
21155 wine_fn_config_makefile programs/winefile enable_winefile
21156 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21157 wine_fn_config_makefile programs/winemine enable_winemine
21158 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21159 wine_fn_config_makefile programs/winepath enable_winepath
21160 wine_fn_config_makefile programs/winetest enable_winetest
21161 wine_fn_config_makefile programs/winevdm enable_win16
21162 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21163 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21164 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21165 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21166 wine_fn_config_makefile programs/winver enable_winver
21167 wine_fn_config_makefile programs/wmic enable_wmic
21168 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21169 wine_fn_config_makefile programs/wordpad enable_wordpad
21170 wine_fn_config_makefile programs/write enable_write
21171 wine_fn_config_makefile programs/wscript enable_wscript
21172 wine_fn_config_makefile programs/wscript/tests enable_tests
21173 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21174 wine_fn_config_makefile programs/wusa enable_wusa
21175 wine_fn_config_makefile programs/xcopy enable_xcopy
21176 wine_fn_config_makefile programs/xcopy/tests enable_tests
21177 wine_fn_config_makefile server enable_server
21178 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21179 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21180 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21181 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21182 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21183 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21184 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21185 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21186 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21189 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21190 wine_fn_append_file CONFIGURE_TARGETS "tags"
21191 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21192 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21193 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21194 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21195 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21196 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21198 if test "x$enable_tools" != xno
21199 then
21200 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21201 ac_config_commands="$ac_config_commands tools/makedep"
21205 ac_config_commands="$ac_config_commands Makefile"
21208 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21212 if test "x$enable_maintainer_mode" = xyes
21213 then
21214 wine_fn_append_rule "configure: configure.ac aclocal.m4
21215 autoconf --warnings=all
21216 include/config.h.in: include/stamp-h.in
21217 include/stamp-h.in: configure.ac aclocal.m4
21218 autoheader --warnings=all
21219 @echo timestamp > \$@"
21222 if test "x$enable_tools" != xno
21223 then
21224 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21225 @./config.status tools/makedep
21226 Makefile: tools/makedep$ac_exeext
21227 fonts: tools/sfnt2fon
21228 include: tools tools/widl"
21229 else
21230 wine_fn_append_rule "\$(MAKEDEP):
21231 @echo \"You need to run make in $TOOLSDIR first\" && false"
21234 if test -n "$with_wine64"
21235 then
21236 case "$with_wine64" in
21237 /*) reldir="" ;;
21238 *) reldir="../" ;;
21239 esac
21240 rm -f fonts server 2>/dev/null
21241 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21242 loader/wine64 loader/wine64-preloader:
21243 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21244 $with_wine64/loader/wine:
21245 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21246 $with_wine64/loader/wine-preloader:
21247 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21248 clean::
21249 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21250 else
21251 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21252 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21253 fonts \
21254 loader/l_intl.nls \
21255 loader/wine.inf \
21256 loader/winebus.inf \
21257 loader/winehid.inf \
21258 programs/msidb/msidb \
21259 programs/msiexec/msiexec \
21260 programs/notepad/notepad \
21261 programs/regedit/regedit \
21262 programs/regsvr32/regsvr32 \
21263 programs/wineboot/wineboot \
21264 programs/winecfg/winecfg \
21265 programs/wineconsole/wineconsole \
21266 programs/winedbg/winedbg \
21267 programs/winefile/winefile \
21268 programs/winemine/winemine \
21269 programs/winepath/winepath \
21270 server/wineserver"
21272 case $host_os in
21273 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21274 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21275 esac
21278 $as_echo " done" >&6
21279 cat >confcache <<\_ACEOF
21280 # This file is a shell script that caches the results of configure
21281 # tests run on this system so they can be shared between configure
21282 # scripts and configure runs, see configure's option --config-cache.
21283 # It is not useful on other systems. If it contains results you don't
21284 # want to keep, you may remove or edit it.
21286 # config.status only pays attention to the cache file if you give it
21287 # the --recheck option to rerun configure.
21289 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21290 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21291 # following values.
21293 _ACEOF
21295 # The following way of writing the cache mishandles newlines in values,
21296 # but we know of no workaround that is simple, portable, and efficient.
21297 # So, we kill variables containing newlines.
21298 # Ultrix sh set writes to stderr and can't be redirected directly,
21299 # and sets the high bit in the cache file unless we assign to the vars.
21301 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21302 eval ac_val=\$$ac_var
21303 case $ac_val in #(
21304 *${as_nl}*)
21305 case $ac_var in #(
21306 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21307 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21308 esac
21309 case $ac_var in #(
21310 _ | IFS | as_nl) ;; #(
21311 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21312 *) { eval $ac_var=; unset $ac_var;} ;;
21313 esac ;;
21314 esac
21315 done
21317 (set) 2>&1 |
21318 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21319 *${as_nl}ac_space=\ *)
21320 # `set' does not quote correctly, so add quotes: double-quote
21321 # substitution turns \\\\ into \\, and sed turns \\ into \.
21322 sed -n \
21323 "s/'/'\\\\''/g;
21324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21325 ;; #(
21327 # `set' quotes correctly as required by POSIX, so do not add quotes.
21328 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21330 esac |
21331 sort
21333 sed '
21334 /^ac_cv_env_/b end
21335 t clear
21336 :clear
21337 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21338 t end
21339 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21340 :end' >>confcache
21341 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21342 if test -w "$cache_file"; then
21343 if test "x$cache_file" != "x/dev/null"; then
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21345 $as_echo "$as_me: updating cache $cache_file" >&6;}
21346 if test ! -f "$cache_file" || test -h "$cache_file"; then
21347 cat confcache >"$cache_file"
21348 else
21349 case $cache_file in #(
21350 */* | ?:*)
21351 mv -f confcache "$cache_file"$$ &&
21352 mv -f "$cache_file"$$ "$cache_file" ;; #(
21354 mv -f confcache "$cache_file" ;;
21355 esac
21358 else
21359 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21360 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21363 rm -f confcache
21365 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21366 # Let make expand exec_prefix.
21367 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21369 DEFS=-DHAVE_CONFIG_H
21371 ac_libobjs=
21372 ac_ltlibobjs=
21374 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21375 # 1. Remove the extension, and $U if already installed.
21376 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21377 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21378 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21379 # will be set to the directory where LIBOBJS objects are built.
21380 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21381 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21382 done
21383 LIBOBJS=$ac_libobjs
21385 LTLIBOBJS=$ac_ltlibobjs
21389 : "${CONFIG_STATUS=./config.status}"
21390 ac_write_fail=0
21391 ac_clean_files_save=$ac_clean_files
21392 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21393 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21394 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21395 as_write_fail=0
21396 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21397 #! $SHELL
21398 # Generated by $as_me.
21399 # Run this file to recreate the current configuration.
21400 # Compiler output produced by configure, useful for debugging
21401 # configure, is in config.log if it exists.
21403 debug=false
21404 ac_cs_recheck=false
21405 ac_cs_silent=false
21407 SHELL=\${CONFIG_SHELL-$SHELL}
21408 export SHELL
21409 _ASEOF
21410 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21411 ## -------------------- ##
21412 ## M4sh Initialization. ##
21413 ## -------------------- ##
21415 # Be more Bourne compatible
21416 DUALCASE=1; export DUALCASE # for MKS sh
21417 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21418 emulate sh
21419 NULLCMD=:
21420 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21421 # is contrary to our usage. Disable this feature.
21422 alias -g '${1+"$@"}'='"$@"'
21423 setopt NO_GLOB_SUBST
21424 else
21425 case `(set -o) 2>/dev/null` in #(
21426 *posix*) :
21427 set -o posix ;; #(
21428 *) :
21430 esac
21434 as_nl='
21436 export as_nl
21437 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21438 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21439 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21440 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21441 # Prefer a ksh shell builtin over an external printf program on Solaris,
21442 # but without wasting forks for bash or zsh.
21443 if test -z "$BASH_VERSION$ZSH_VERSION" \
21444 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21445 as_echo='print -r --'
21446 as_echo_n='print -rn --'
21447 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21448 as_echo='printf %s\n'
21449 as_echo_n='printf %s'
21450 else
21451 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21452 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21453 as_echo_n='/usr/ucb/echo -n'
21454 else
21455 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21456 as_echo_n_body='eval
21457 arg=$1;
21458 case $arg in #(
21459 *"$as_nl"*)
21460 expr "X$arg" : "X\\(.*\\)$as_nl";
21461 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21462 esac;
21463 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21465 export as_echo_n_body
21466 as_echo_n='sh -c $as_echo_n_body as_echo'
21468 export as_echo_body
21469 as_echo='sh -c $as_echo_body as_echo'
21472 # The user is always right.
21473 if test "${PATH_SEPARATOR+set}" != set; then
21474 PATH_SEPARATOR=:
21475 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21476 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21477 PATH_SEPARATOR=';'
21482 # IFS
21483 # We need space, tab and new line, in precisely that order. Quoting is
21484 # there to prevent editors from complaining about space-tab.
21485 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21486 # splitting by setting IFS to empty value.)
21487 IFS=" "" $as_nl"
21489 # Find who we are. Look in the path if we contain no directory separator.
21490 as_myself=
21491 case $0 in #((
21492 *[\\/]* ) as_myself=$0 ;;
21493 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21494 for as_dir in $PATH
21496 IFS=$as_save_IFS
21497 test -z "$as_dir" && as_dir=.
21498 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21499 done
21500 IFS=$as_save_IFS
21503 esac
21504 # We did not find ourselves, most probably we were run as `sh COMMAND'
21505 # in which case we are not to be found in the path.
21506 if test "x$as_myself" = x; then
21507 as_myself=$0
21509 if test ! -f "$as_myself"; then
21510 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21511 exit 1
21514 # Unset variables that we do not need and which cause bugs (e.g. in
21515 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21516 # suppresses any "Segmentation fault" message there. '((' could
21517 # trigger a bug in pdksh 5.2.14.
21518 for as_var in BASH_ENV ENV MAIL MAILPATH
21519 do eval test x\${$as_var+set} = xset \
21520 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21521 done
21522 PS1='$ '
21523 PS2='> '
21524 PS4='+ '
21526 # NLS nuisances.
21527 LC_ALL=C
21528 export LC_ALL
21529 LANGUAGE=C
21530 export LANGUAGE
21532 # CDPATH.
21533 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21536 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21537 # ----------------------------------------
21538 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21539 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21540 # script with STATUS, using 1 if that was 0.
21541 as_fn_error ()
21543 as_status=$1; test $as_status -eq 0 && as_status=1
21544 if test "$4"; then
21545 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21546 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21548 $as_echo "$as_me: error: $2" >&2
21549 as_fn_exit $as_status
21550 } # as_fn_error
21553 # as_fn_set_status STATUS
21554 # -----------------------
21555 # Set $? to STATUS, without forking.
21556 as_fn_set_status ()
21558 return $1
21559 } # as_fn_set_status
21561 # as_fn_exit STATUS
21562 # -----------------
21563 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21564 as_fn_exit ()
21566 set +e
21567 as_fn_set_status $1
21568 exit $1
21569 } # as_fn_exit
21571 # as_fn_unset VAR
21572 # ---------------
21573 # Portably unset VAR.
21574 as_fn_unset ()
21576 { eval $1=; unset $1;}
21578 as_unset=as_fn_unset
21579 # as_fn_append VAR VALUE
21580 # ----------------------
21581 # Append the text in VALUE to the end of the definition contained in VAR. Take
21582 # advantage of any shell optimizations that allow amortized linear growth over
21583 # repeated appends, instead of the typical quadratic growth present in naive
21584 # implementations.
21585 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21586 eval 'as_fn_append ()
21588 eval $1+=\$2
21590 else
21591 as_fn_append ()
21593 eval $1=\$$1\$2
21595 fi # as_fn_append
21597 # as_fn_arith ARG...
21598 # ------------------
21599 # Perform arithmetic evaluation on the ARGs, and store the result in the
21600 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21601 # must be portable across $(()) and expr.
21602 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21603 eval 'as_fn_arith ()
21605 as_val=$(( $* ))
21607 else
21608 as_fn_arith ()
21610 as_val=`expr "$@" || test $? -eq 1`
21612 fi # as_fn_arith
21615 if expr a : '\(a\)' >/dev/null 2>&1 &&
21616 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21617 as_expr=expr
21618 else
21619 as_expr=false
21622 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21623 as_basename=basename
21624 else
21625 as_basename=false
21628 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21629 as_dirname=dirname
21630 else
21631 as_dirname=false
21634 as_me=`$as_basename -- "$0" ||
21635 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21636 X"$0" : 'X\(//\)$' \| \
21637 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21638 $as_echo X/"$0" |
21639 sed '/^.*\/\([^/][^/]*\)\/*$/{
21640 s//\1/
21643 /^X\/\(\/\/\)$/{
21644 s//\1/
21647 /^X\/\(\/\).*/{
21648 s//\1/
21651 s/.*/./; q'`
21653 # Avoid depending upon Character Ranges.
21654 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21655 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21656 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21657 as_cr_digits='0123456789'
21658 as_cr_alnum=$as_cr_Letters$as_cr_digits
21660 ECHO_C= ECHO_N= ECHO_T=
21661 case `echo -n x` in #(((((
21662 -n*)
21663 case `echo 'xy\c'` in
21664 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21665 xy) ECHO_C='\c';;
21666 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21667 ECHO_T=' ';;
21668 esac;;
21670 ECHO_N='-n';;
21671 esac
21673 rm -f conf$$ conf$$.exe conf$$.file
21674 if test -d conf$$.dir; then
21675 rm -f conf$$.dir/conf$$.file
21676 else
21677 rm -f conf$$.dir
21678 mkdir conf$$.dir 2>/dev/null
21680 if (echo >conf$$.file) 2>/dev/null; then
21681 if ln -s conf$$.file conf$$ 2>/dev/null; then
21682 as_ln_s='ln -s'
21683 # ... but there are two gotchas:
21684 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21685 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21686 # In both cases, we have to default to `cp -pR'.
21687 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21688 as_ln_s='cp -pR'
21689 elif ln conf$$.file conf$$ 2>/dev/null; then
21690 as_ln_s=ln
21691 else
21692 as_ln_s='cp -pR'
21694 else
21695 as_ln_s='cp -pR'
21697 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21698 rmdir conf$$.dir 2>/dev/null
21701 # as_fn_mkdir_p
21702 # -------------
21703 # Create "$as_dir" as a directory, including parents if necessary.
21704 as_fn_mkdir_p ()
21707 case $as_dir in #(
21708 -*) as_dir=./$as_dir;;
21709 esac
21710 test -d "$as_dir" || eval $as_mkdir_p || {
21711 as_dirs=
21712 while :; do
21713 case $as_dir in #(
21714 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21715 *) as_qdir=$as_dir;;
21716 esac
21717 as_dirs="'$as_qdir' $as_dirs"
21718 as_dir=`$as_dirname -- "$as_dir" ||
21719 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21720 X"$as_dir" : 'X\(//\)[^/]' \| \
21721 X"$as_dir" : 'X\(//\)$' \| \
21722 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21723 $as_echo X"$as_dir" |
21724 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21725 s//\1/
21728 /^X\(\/\/\)[^/].*/{
21729 s//\1/
21732 /^X\(\/\/\)$/{
21733 s//\1/
21736 /^X\(\/\).*/{
21737 s//\1/
21740 s/.*/./; q'`
21741 test -d "$as_dir" && break
21742 done
21743 test -z "$as_dirs" || eval "mkdir $as_dirs"
21744 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21747 } # as_fn_mkdir_p
21748 if mkdir -p . 2>/dev/null; then
21749 as_mkdir_p='mkdir -p "$as_dir"'
21750 else
21751 test -d ./-p && rmdir ./-p
21752 as_mkdir_p=false
21756 # as_fn_executable_p FILE
21757 # -----------------------
21758 # Test if FILE is an executable regular file.
21759 as_fn_executable_p ()
21761 test -f "$1" && test -x "$1"
21762 } # as_fn_executable_p
21763 as_test_x='test -x'
21764 as_executable_p=as_fn_executable_p
21766 # Sed expression to map a string onto a valid CPP name.
21767 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21769 # Sed expression to map a string onto a valid variable name.
21770 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21773 exec 6>&1
21774 ## ----------------------------------- ##
21775 ## Main body of $CONFIG_STATUS script. ##
21776 ## ----------------------------------- ##
21777 _ASEOF
21778 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21781 # Save the log message, to keep $0 and so on meaningful, and to
21782 # report actual input values of CONFIG_FILES etc. instead of their
21783 # values after options handling.
21784 ac_log="
21785 This file was extended by Wine $as_me 4.21, which was
21786 generated by GNU Autoconf 2.69. Invocation command line was
21788 CONFIG_FILES = $CONFIG_FILES
21789 CONFIG_HEADERS = $CONFIG_HEADERS
21790 CONFIG_LINKS = $CONFIG_LINKS
21791 CONFIG_COMMANDS = $CONFIG_COMMANDS
21792 $ $0 $@
21794 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21797 _ACEOF
21799 case $ac_config_files in *"
21800 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21801 esac
21803 case $ac_config_headers in *"
21804 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21805 esac
21808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21809 # Files that config.status was made for.
21810 config_files="$ac_config_files"
21811 config_headers="$ac_config_headers"
21812 config_links="$ac_config_links"
21813 config_commands="$ac_config_commands"
21815 _ACEOF
21817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21818 ac_cs_usage="\
21819 \`$as_me' instantiates files and other configuration actions
21820 from templates according to the current configuration. Unless the files
21821 and actions are specified as TAGs, all are instantiated by default.
21823 Usage: $0 [OPTION]... [TAG]...
21825 -h, --help print this help, then exit
21826 -V, --version print version number and configuration settings, then exit
21827 --config print configuration, then exit
21828 -q, --quiet, --silent
21829 do not print progress messages
21830 -d, --debug don't remove temporary files
21831 --recheck update $as_me by reconfiguring in the same conditions
21832 --file=FILE[:TEMPLATE]
21833 instantiate the configuration file FILE
21834 --header=FILE[:TEMPLATE]
21835 instantiate the configuration header FILE
21837 Configuration files:
21838 $config_files
21840 Configuration headers:
21841 $config_headers
21843 Configuration links:
21844 $config_links
21846 Configuration commands:
21847 $config_commands
21849 Report bugs to <wine-devel@winehq.org>.
21850 Wine home page: <https://www.winehq.org>."
21852 _ACEOF
21853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21854 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21855 ac_cs_version="\\
21856 Wine config.status 4.21
21857 configured by $0, generated by GNU Autoconf 2.69,
21858 with options \\"\$ac_cs_config\\"
21860 Copyright (C) 2012 Free Software Foundation, Inc.
21861 This config.status script is free software; the Free Software Foundation
21862 gives unlimited permission to copy, distribute and modify it."
21864 ac_pwd='$ac_pwd'
21865 srcdir='$srcdir'
21866 test -n "\$AWK" || AWK=awk
21867 _ACEOF
21869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21870 # The default lists apply if the user does not specify any file.
21871 ac_need_defaults=:
21872 while test $# != 0
21874 case $1 in
21875 --*=?*)
21876 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21877 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21878 ac_shift=:
21880 --*=)
21881 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21882 ac_optarg=
21883 ac_shift=:
21886 ac_option=$1
21887 ac_optarg=$2
21888 ac_shift=shift
21890 esac
21892 case $ac_option in
21893 # Handling of the options.
21894 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21895 ac_cs_recheck=: ;;
21896 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21897 $as_echo "$ac_cs_version"; exit ;;
21898 --config | --confi | --conf | --con | --co | --c )
21899 $as_echo "$ac_cs_config"; exit ;;
21900 --debug | --debu | --deb | --de | --d | -d )
21901 debug=: ;;
21902 --file | --fil | --fi | --f )
21903 $ac_shift
21904 case $ac_optarg in
21905 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21906 '') as_fn_error $? "missing file argument" ;;
21907 esac
21908 as_fn_append CONFIG_FILES " '$ac_optarg'"
21909 ac_need_defaults=false;;
21910 --header | --heade | --head | --hea )
21911 $ac_shift
21912 case $ac_optarg in
21913 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21914 esac
21915 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21916 ac_need_defaults=false;;
21917 --he | --h)
21918 # Conflict between --help and --header
21919 as_fn_error $? "ambiguous option: \`$1'
21920 Try \`$0 --help' for more information.";;
21921 --help | --hel | -h )
21922 $as_echo "$ac_cs_usage"; exit ;;
21923 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21924 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21925 ac_cs_silent=: ;;
21927 # This is an error.
21928 -*) as_fn_error $? "unrecognized option: \`$1'
21929 Try \`$0 --help' for more information." ;;
21931 *) as_fn_append ac_config_targets " $1"
21932 ac_need_defaults=false ;;
21934 esac
21935 shift
21936 done
21938 ac_configure_extra_args=
21940 if $ac_cs_silent; then
21941 exec 6>/dev/null
21942 ac_configure_extra_args="$ac_configure_extra_args --silent"
21945 _ACEOF
21946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21947 if \$ac_cs_recheck; then
21948 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21949 shift
21950 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21951 CONFIG_SHELL='$SHELL'
21952 export CONFIG_SHELL
21953 exec "\$@"
21956 _ACEOF
21957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21958 exec 5>>config.log
21960 echo
21961 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21962 ## Running $as_me. ##
21963 _ASBOX
21964 $as_echo "$ac_log"
21965 } >&5
21967 _ACEOF
21968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21970 # INIT-COMMANDS
21972 wine_fn_output_makedep ()
21974 as_dir=tools; as_fn_mkdir_p
21975 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21977 wine_fn_output_makefile ()
21979 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21980 `cat $wine_rules_file`
21981 _WINE_EOF
21982 as_fn_error $? "could not create Makefile" "$LINENO" 5
21985 _ACEOF
21987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21989 # Handling of arguments.
21990 for ac_config_target in $ac_config_targets
21992 case $ac_config_target in
21993 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21994 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21995 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21996 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21997 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21998 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21999 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22001 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22002 esac
22003 done
22006 # If the user did not use the arguments to specify the items to instantiate,
22007 # then the envvar interface is used. Set only those that are not.
22008 # We use the long form for the default assignment because of an extremely
22009 # bizarre bug on SunOS 4.1.3.
22010 if $ac_need_defaults; then
22011 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22012 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22013 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22014 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22017 # Have a temporary directory for convenience. Make it in the build tree
22018 # simply because there is no reason against having it here, and in addition,
22019 # creating and moving files from /tmp can sometimes cause problems.
22020 # Hook for its removal unless debugging.
22021 # Note that there is a small window in which the directory will not be cleaned:
22022 # after its creation but before its name has been assigned to `$tmp'.
22023 $debug ||
22025 tmp= ac_tmp=
22026 trap 'exit_status=$?
22027 : "${ac_tmp:=$tmp}"
22028 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22030 trap 'as_fn_exit 1' 1 2 13 15
22032 # Create a (secure) tmp directory for tmp files.
22035 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22036 test -d "$tmp"
22037 } ||
22039 tmp=./conf$$-$RANDOM
22040 (umask 077 && mkdir "$tmp")
22041 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22042 ac_tmp=$tmp
22044 # Set up the scripts for CONFIG_FILES section.
22045 # No need to generate them if there are no CONFIG_FILES.
22046 # This happens for instance with `./config.status config.h'.
22047 if test -n "$CONFIG_FILES"; then
22050 ac_cr=`echo X | tr X '\015'`
22051 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22052 # But we know of no other shell where ac_cr would be empty at this
22053 # point, so we can use a bashism as a fallback.
22054 if test "x$ac_cr" = x; then
22055 eval ac_cr=\$\'\\r\'
22057 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22058 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22059 ac_cs_awk_cr='\\r'
22060 else
22061 ac_cs_awk_cr=$ac_cr
22064 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22065 _ACEOF
22069 echo "cat >conf$$subs.awk <<_ACEOF" &&
22070 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22071 echo "_ACEOF"
22072 } >conf$$subs.sh ||
22073 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22074 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22075 ac_delim='%!_!# '
22076 for ac_last_try in false false false false false :; do
22077 . ./conf$$subs.sh ||
22078 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22080 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22081 if test $ac_delim_n = $ac_delim_num; then
22082 break
22083 elif $ac_last_try; then
22084 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22085 else
22086 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22088 done
22089 rm -f conf$$subs.sh
22091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22092 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22093 _ACEOF
22094 sed -n '
22096 s/^/S["/; s/!.*/"]=/
22099 s/^[^!]*!//
22100 :repl
22101 t repl
22102 s/'"$ac_delim"'$//
22103 t delim
22106 s/\(.\{148\}\)..*/\1/
22107 t more1
22108 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22111 b repl
22112 :more1
22113 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22116 s/.\{148\}//
22117 t nl
22118 :delim
22120 s/\(.\{148\}\)..*/\1/
22121 t more2
22122 s/["\\]/\\&/g; s/^/"/; s/$/"/
22125 :more2
22126 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22129 s/.\{148\}//
22130 t delim
22131 ' <conf$$subs.awk | sed '
22132 /^[^""]/{
22134 s/\n//
22136 ' >>$CONFIG_STATUS || ac_write_fail=1
22137 rm -f conf$$subs.awk
22138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22139 _ACAWK
22140 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22141 for (key in S) S_is_set[key] = 1
22142 FS = "\a"
22146 line = $ 0
22147 nfields = split(line, field, "@")
22148 substed = 0
22149 len = length(field[1])
22150 for (i = 2; i < nfields; i++) {
22151 key = field[i]
22152 keylen = length(key)
22153 if (S_is_set[key]) {
22154 value = S[key]
22155 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22156 len += length(value) + length(field[++i])
22157 substed = 1
22158 } else
22159 len += 1 + keylen
22162 print line
22165 _ACAWK
22166 _ACEOF
22167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22168 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22169 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22170 else
22172 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22173 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22174 _ACEOF
22176 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22177 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22178 # trailing colons and then remove the whole line if VPATH becomes empty
22179 # (actually we leave an empty line to preserve line numbers).
22180 if test "x$srcdir" = x.; then
22181 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22183 s///
22184 s/^/:/
22185 s/[ ]*$/:/
22186 s/:\$(srcdir):/:/g
22187 s/:\${srcdir}:/:/g
22188 s/:@srcdir@:/:/g
22189 s/^:*//
22190 s/:*$//
22192 s/\(=[ ]*\).*/\1/
22194 s/\n//
22195 s/^[^=]*=[ ]*$//
22199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22200 fi # test -n "$CONFIG_FILES"
22202 # Set up the scripts for CONFIG_HEADERS section.
22203 # No need to generate them if there are no CONFIG_HEADERS.
22204 # This happens for instance with `./config.status Makefile'.
22205 if test -n "$CONFIG_HEADERS"; then
22206 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22207 BEGIN {
22208 _ACEOF
22210 # Transform confdefs.h into an awk script `defines.awk', embedded as
22211 # here-document in config.status, that substitutes the proper values into
22212 # config.h.in to produce config.h.
22214 # Create a delimiter string that does not exist in confdefs.h, to ease
22215 # handling of long lines.
22216 ac_delim='%!_!# '
22217 for ac_last_try in false false :; do
22218 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22219 if test -z "$ac_tt"; then
22220 break
22221 elif $ac_last_try; then
22222 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22223 else
22224 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22226 done
22228 # For the awk script, D is an array of macro values keyed by name,
22229 # likewise P contains macro parameters if any. Preserve backslash
22230 # newline sequences.
22232 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22233 sed -n '
22234 s/.\{148\}/&'"$ac_delim"'/g
22235 t rset
22236 :rset
22237 s/^[ ]*#[ ]*define[ ][ ]*/ /
22238 t def
22240 :def
22241 s/\\$//
22242 t bsnl
22243 s/["\\]/\\&/g
22244 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22245 D["\1"]=" \3"/p
22246 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22248 :bsnl
22249 s/["\\]/\\&/g
22250 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22251 D["\1"]=" \3\\\\\\n"\\/p
22252 t cont
22253 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22254 t cont
22256 :cont
22258 s/.\{148\}/&'"$ac_delim"'/g
22259 t clear
22260 :clear
22261 s/\\$//
22262 t bsnlc
22263 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22265 :bsnlc
22266 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22267 b cont
22268 ' <confdefs.h | sed '
22269 s/'"$ac_delim"'/"\\\
22270 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22273 for (key in D) D_is_set[key] = 1
22274 FS = "\a"
22276 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22277 line = \$ 0
22278 split(line, arg, " ")
22279 if (arg[1] == "#") {
22280 defundef = arg[2]
22281 mac1 = arg[3]
22282 } else {
22283 defundef = substr(arg[1], 2)
22284 mac1 = arg[2]
22286 split(mac1, mac2, "(") #)
22287 macro = mac2[1]
22288 prefix = substr(line, 1, index(line, defundef) - 1)
22289 if (D_is_set[macro]) {
22290 # Preserve the white space surrounding the "#".
22291 print prefix "define", macro P[macro] D[macro]
22292 next
22293 } else {
22294 # Replace #undef with comments. This is necessary, for example,
22295 # in the case of _POSIX_SOURCE, which is predefined and required
22296 # on some systems where configure will not decide to define it.
22297 if (defundef == "undef") {
22298 print "/*", prefix defundef, macro, "*/"
22299 next
22303 { print }
22304 _ACAWK
22305 _ACEOF
22306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22307 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22308 fi # test -n "$CONFIG_HEADERS"
22311 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22312 shift
22313 for ac_tag
22315 case $ac_tag in
22316 :[FHLC]) ac_mode=$ac_tag; continue;;
22317 esac
22318 case $ac_mode$ac_tag in
22319 :[FHL]*:*);;
22320 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22321 :[FH]-) ac_tag=-:-;;
22322 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22323 esac
22324 ac_save_IFS=$IFS
22325 IFS=:
22326 set x $ac_tag
22327 IFS=$ac_save_IFS
22328 shift
22329 ac_file=$1
22330 shift
22332 case $ac_mode in
22333 :L) ac_source=$1;;
22334 :[FH])
22335 ac_file_inputs=
22336 for ac_f
22338 case $ac_f in
22339 -) ac_f="$ac_tmp/stdin";;
22340 *) # Look for the file first in the build tree, then in the source tree
22341 # (if the path is not absolute). The absolute path cannot be DOS-style,
22342 # because $ac_f cannot contain `:'.
22343 test -f "$ac_f" ||
22344 case $ac_f in
22345 [\\/$]*) false;;
22346 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22347 esac ||
22348 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22349 esac
22350 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22351 as_fn_append ac_file_inputs " '$ac_f'"
22352 done
22354 # Let's still pretend it is `configure' which instantiates (i.e., don't
22355 # use $as_me), people would be surprised to read:
22356 # /* config.h. Generated by config.status. */
22357 configure_input='Generated from '`
22358 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22359 `' by configure.'
22360 if test x"$ac_file" != x-; then
22361 configure_input="$ac_file. $configure_input"
22362 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22363 $as_echo "$as_me: creating $ac_file" >&6;}
22365 # Neutralize special characters interpreted by sed in replacement strings.
22366 case $configure_input in #(
22367 *\&* | *\|* | *\\* )
22368 ac_sed_conf_input=`$as_echo "$configure_input" |
22369 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22370 *) ac_sed_conf_input=$configure_input;;
22371 esac
22373 case $ac_tag in
22374 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22375 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22376 esac
22378 esac
22380 ac_dir=`$as_dirname -- "$ac_file" ||
22381 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22382 X"$ac_file" : 'X\(//\)[^/]' \| \
22383 X"$ac_file" : 'X\(//\)$' \| \
22384 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22385 $as_echo X"$ac_file" |
22386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22387 s//\1/
22390 /^X\(\/\/\)[^/].*/{
22391 s//\1/
22394 /^X\(\/\/\)$/{
22395 s//\1/
22398 /^X\(\/\).*/{
22399 s//\1/
22402 s/.*/./; q'`
22403 as_dir="$ac_dir"; as_fn_mkdir_p
22404 ac_builddir=.
22406 case "$ac_dir" in
22407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22409 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22410 # A ".." for each directory in $ac_dir_suffix.
22411 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22412 case $ac_top_builddir_sub in
22413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22415 esac ;;
22416 esac
22417 ac_abs_top_builddir=$ac_pwd
22418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22419 # for backward compatibility:
22420 ac_top_builddir=$ac_top_build_prefix
22422 case $srcdir in
22423 .) # We are building in place.
22424 ac_srcdir=.
22425 ac_top_srcdir=$ac_top_builddir_sub
22426 ac_abs_top_srcdir=$ac_pwd ;;
22427 [\\/]* | ?:[\\/]* ) # Absolute name.
22428 ac_srcdir=$srcdir$ac_dir_suffix;
22429 ac_top_srcdir=$srcdir
22430 ac_abs_top_srcdir=$srcdir ;;
22431 *) # Relative name.
22432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22433 ac_top_srcdir=$ac_top_build_prefix$srcdir
22434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22435 esac
22436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22439 case $ac_mode in
22442 # CONFIG_FILE
22445 _ACEOF
22447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22448 # If the template does not know about datarootdir, expand it.
22449 # FIXME: This hack should be removed a few years after 2.60.
22450 ac_datarootdir_hack=; ac_datarootdir_seen=
22451 ac_sed_dataroot='
22452 /datarootdir/ {
22456 /@datadir@/p
22457 /@docdir@/p
22458 /@infodir@/p
22459 /@localedir@/p
22460 /@mandir@/p'
22461 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22462 *datarootdir*) ac_datarootdir_seen=yes;;
22463 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22465 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22466 _ACEOF
22467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22468 ac_datarootdir_hack='
22469 s&@datadir@&$datadir&g
22470 s&@docdir@&$docdir&g
22471 s&@infodir@&$infodir&g
22472 s&@localedir@&$localedir&g
22473 s&@mandir@&$mandir&g
22474 s&\\\${datarootdir}&$datarootdir&g' ;;
22475 esac
22476 _ACEOF
22478 # Neutralize VPATH when `$srcdir' = `.'.
22479 # Shell code in configure.ac might set extrasub.
22480 # FIXME: do we really want to maintain this feature?
22481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22482 ac_sed_extra="$ac_vpsub
22483 $extrasub
22484 _ACEOF
22485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22487 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22488 s|@configure_input@|$ac_sed_conf_input|;t t
22489 s&@top_builddir@&$ac_top_builddir_sub&;t t
22490 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22491 s&@srcdir@&$ac_srcdir&;t t
22492 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22493 s&@top_srcdir@&$ac_top_srcdir&;t t
22494 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22495 s&@builddir@&$ac_builddir&;t t
22496 s&@abs_builddir@&$ac_abs_builddir&;t t
22497 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22498 $ac_datarootdir_hack
22500 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22501 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22503 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22504 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22505 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22506 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22508 which seems to be undefined. Please make sure it is defined" >&5
22509 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22510 which seems to be undefined. Please make sure it is defined" >&2;}
22512 rm -f "$ac_tmp/stdin"
22513 case $ac_file in
22514 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22515 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22516 esac \
22517 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22521 # CONFIG_HEADER
22523 if test x"$ac_file" != x-; then
22525 $as_echo "/* $configure_input */" \
22526 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22527 } >"$ac_tmp/config.h" \
22528 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22529 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22531 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22532 else
22533 rm -f "$ac_file"
22534 mv "$ac_tmp/config.h" "$ac_file" \
22535 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22537 else
22538 $as_echo "/* $configure_input */" \
22539 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22540 || as_fn_error $? "could not create -" "$LINENO" 5
22545 # CONFIG_LINK
22548 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22550 else
22551 # Prefer the file from the source tree if names are identical.
22552 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22553 ac_source=$srcdir/$ac_source
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22557 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22559 if test ! -r "$ac_source"; then
22560 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22562 rm -f "$ac_file"
22564 # Try a relative symlink, then a hard link, then a copy.
22565 case $ac_source in
22566 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22567 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22568 esac
22569 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22570 ln "$ac_source" "$ac_file" 2>/dev/null ||
22571 cp -p "$ac_source" "$ac_file" ||
22572 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22575 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22576 $as_echo "$as_me: executing $ac_file commands" >&6;}
22578 esac
22581 case $ac_file$ac_mode in
22582 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22583 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22584 "Makefile":C) wine_fn_output_makefile Makefile ;;
22586 esac
22587 done # for ac_tag
22590 as_fn_exit 0
22591 _ACEOF
22592 ac_clean_files=$ac_clean_files_save
22594 test $ac_write_fail = 0 ||
22595 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22598 # configure is writing to config.log, and then calls config.status.
22599 # config.status does its own redirection, appending to config.log.
22600 # Unfortunately, on DOS this fails, as config.log is still kept open
22601 # by configure, so config.status won't be able to write to it; its
22602 # output is simply discarded. So we exec the FD to /dev/null,
22603 # effectively closing config.log, so it can be properly (re)opened and
22604 # appended to by config.status. When coming back to configure, we
22605 # need to make the FD available again.
22606 if test "$no_create" != yes; then
22607 ac_cs_success=:
22608 ac_config_status_args=
22609 test "$silent" = yes &&
22610 ac_config_status_args="$ac_config_status_args --quiet"
22611 exec 5>/dev/null
22612 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22613 exec 5>>config.log
22614 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22615 # would make configure fail if this is the last instruction.
22616 $ac_cs_success || as_fn_exit 1
22618 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22620 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22624 if test "$no_create" = "yes"
22625 then
22626 exit 0
22629 ac_save_IFS="$IFS"
22630 if test "x$wine_notices" != x; then
22631 echo >&6
22632 IFS="|"
22633 for msg in $wine_notices; do
22634 IFS="$ac_save_IFS"
22635 if ${msg:+false} :; then :
22637 else
22638 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22639 $as_echo "$as_me: $msg" >&6;}
22641 done
22643 IFS="|"
22644 for msg in $wine_warnings; do
22645 IFS="$ac_save_IFS"
22646 if ${msg:+false} :; then :
22648 else
22649 echo >&2
22650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22651 $as_echo "$as_me: WARNING: $msg" >&2;}
22653 done
22654 IFS="$ac_save_IFS"
22656 $as_echo "
22657 $as_me: Finished. Do '${ac_make}' to compile Wine.
22658 " >&6